diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-30 11:47:06 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-12-30 11:47:06 +0000 |
commit | 51bfa054d96845d027fcb0bbd966991ce83e18d6 (patch) | |
tree | ea007f5884146cde7b666e890dcef58077906178 /net-wireless/hostapd | |
parent | Stable on x86. (diff) | |
download | gentoo-2-51bfa054d96845d027fcb0bbd966991ce83e18d6.tar.gz gentoo-2-51bfa054d96845d027fcb0bbd966991ce83e18d6.tar.bz2 gentoo-2-51bfa054d96845d027fcb0bbd966991ce83e18d6.zip |
Added version without madwifi support in preparation for marking it stable on x86.
(Portage version: 2.0.53)
Diffstat (limited to 'net-wireless/hostapd')
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/hostapd/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.4.7-r1 | 1 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.4.7-r1.ebuild | 104 |
4 files changed, 116 insertions, 2 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index 7f5ab8fb2399..3211e256ae77 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/hostapd # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.47 2005/12/24 16:03:03 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.48 2005/12/30 11:47:06 brix Exp $ + +*hostapd-0.4.7-r1 (30 Dec 2005) + + 30 Dec 2005; Henrik Brix Andersen <brix@gentoo.org> + +hostapd-0.4.7-r1.ebuild: + Added version without madwifi support in preparation for marking it stable + on x86. 24 Dec 2005; Michael Hanselmann <hansmi@gentoo.org> hostapd-0.3.9-r1.ebuild: diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest index 39a5da4cf0e9..153b663afbc8 100644 --- a/net-wireless/hostapd/Manifest +++ b/net-wireless/hostapd/Manifest @@ -1,9 +1,10 @@ -MD5 51bb6af7bfa34ae70e7ef04fc8da77a1 ChangeLog 7580 +MD5 b8ceac9bc4960c25f4e01b40c074ea15 ChangeLog 7783 MD5 3cb68569c34f2c059da88220513d9af4 files/digest-hostapd-0.3.7 150 MD5 1a5ea229c1f23346e39a4af2abd08add files/digest-hostapd-0.3.9-r1 150 MD5 9de6de9d2454760956b6b8684f530ca5 files/digest-hostapd-0.4.5 65 MD5 eed11bccc899301f270328d35d8cdc9f files/digest-hostapd-0.4.6 65 MD5 b0b607a1e367c39a3b14a50fd66d89b1 files/digest-hostapd-0.4.7 65 +MD5 b0b607a1e367c39a3b14a50fd66d89b1 files/digest-hostapd-0.4.7-r1 65 MD5 c19ab8edc7e308271d2d635a18cfa222 files/digest-hostapd-0.5.0 65 MD5 e4b30b5fade1fe4a257be477129ae36d files/hostapd-0.3.9-conf.d 425 MD5 9f51596dd3a60ecf3aebee6f82f750f8 files/hostapd-0.3.9-init.d 982 @@ -21,6 +22,7 @@ MD5 3d4f2d29f55f0ee2f8117fa90423bff9 hostapd-0.3.7.ebuild 2131 MD5 57fa2d7578148cbc15ea6873e4656e7a hostapd-0.3.9-r1.ebuild 2126 MD5 6a5242726313ccf8ba14d591c8056f0f hostapd-0.4.5.ebuild 2954 MD5 5a79c617921133c3fb3028340573acef hostapd-0.4.6.ebuild 3066 +MD5 b69f244be86fb44d1908303aa9e41687 hostapd-0.4.7-r1.ebuild 2486 MD5 dd28ecdc7f79c2fbb21b037ab945b621 hostapd-0.4.7.ebuild 3066 MD5 4ab8f41f52b693dadcf7d8f77cc90d20 hostapd-0.5.0.ebuild 3219 MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.7-r1 b/net-wireless/hostapd/files/digest-hostapd-0.4.7-r1 new file mode 100644 index 000000000000..4680e1c2c50f --- /dev/null +++ b/net-wireless/hostapd/files/digest-hostapd-0.4.7-r1 @@ -0,0 +1 @@ +MD5 b299211691fe8a6840e7adafda351d2b hostapd-0.4.7.tar.gz 288016 diff --git a/net-wireless/hostapd/hostapd-0.4.7-r1.ebuild b/net-wireless/hostapd/hostapd-0.4.7-r1.ebuild new file mode 100644 index 000000000000..aade05eea48e --- /dev/null +++ b/net-wireless/hostapd/hostapd-0.4.7-r1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.4.7-r1.ebuild,v 1.1 2005/12/30 11:47:06 brix Exp $ + +inherit toolchain-funcs + +DESCRIPTION="IEEE 802.11 wireless LAN Host AP daemon" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" + +LICENSE="|| ( GPL-2 BSD )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="ipv6 logwatch ssl" + +RDEPEND="ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-apps/sed" + +src_unpack() { + local CONFIG=${S}/.config + + unpack ${A} + + sed -i -e "s:/etc/hostapd:/etc/hostapd/hostapd:g" \ + ${S}/hostapd.conf + + # toolchain setup + echo "CC = $(tc-getCC)" > ${CONFIG} + + # authentication methods + echo "CONFIG_EAP=y" >> ${CONFIG} + echo "CONFIG_EAP_MD5=y" >> ${CONFIG} + echo "CONFIG_EAP_GTC=y" >> ${CONFIG} + echo "CONFIG_IAPP=y" >> ${CONFIG} + echo "CONFIG_PKCS12=y" >> ${CONFIG} + echo "CONFIG_RADIUS_SERVER=y" >> ${CONFIG} + echo "CONFIG_RSN_PREAUTH=y" >> ${CONFIG} + echo "CONFIG_EAP_SIM=y" >> ${CONFIG} + + if use ssl; then + # SSL authentication methods + echo "CONFIG_EAP_MSCHAPV2=y" >> ${CONFIG} + echo "CONFIG_EAP_PEAP=y" >> ${CONFIG} + echo "CONFIG_EAP_TLS=y" >> ${CONFIG} + echo "CONFIG_EAP_TTLS=y" >> ${CONFIG} + fi + + if use ipv6; then + echo "CONFIG_IPV6=y" >> ${CONFIG} + fi + + # Linux specific drivers + echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG} + echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} + echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /etc/hostapd + doins hostapd.conf hostapd.accept hostapd.deny \ + hostapd.eap_user hostapd.radius_clients hostapd.sim_db hostapd.wpa_psk + + dosbin hostapd + dobin hostapd_cli + + newinitd ${FILESDIR}/${P}-init.d hostapd + newconfd ${FILESDIR}/${P}-conf.d hostapd + + doman hostapd.8 hostapd_cli.1 + + dodoc ChangeLog developer.txt README + + docinto examples + dodoc madwifi.conf wired.conf + + if use logwatch; then + insinto /etc/log.d/conf/services/ + doins logwatch/hostapd.conf + + exeinto /etc/log.d/scripts/services/ + doexe logwatch/hostapd + fi +} + +pkg_postinst() { + einfo + einfo "In order to use ${PN} you need to set up your wireless card" + einfo "for master mode in /etc/conf.d/net or /etc/conf.d/wireless" + einfo "and then start /etc/init.d/hostapd." + einfo + einfo "Example configuration:" + einfo + einfo "config_wlan0=( \"192.168.1.1/24\" )" + einfo "channel_wlan0=\"6\"" + einfo "essid_wlan0=\"test\"" + einfo "mode_wlan0=\"master\"" + einfo +} |