diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-02-13 11:53:44 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-02-13 11:53:44 +0000 |
commit | 17cb37e9e8eb0a09c5d3365ec5d4eb1266919da0 (patch) | |
tree | bf100586430f67fc0cdca337de1d211d60168b70 /net-wireless/hostapd | |
parent | Stable on alpha. (diff) | |
download | gentoo-2-17cb37e9e8eb0a09c5d3365ec5d4eb1266919da0.tar.gz gentoo-2-17cb37e9e8eb0a09c5d3365ec5d4eb1266919da0.tar.bz2 gentoo-2-17cb37e9e8eb0a09c5d3365ec5d4eb1266919da0.zip |
New stable version from upstream.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-wireless/hostapd')
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/hostapd/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.3.7 | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.3.7.ebuild | 79 |
4 files changed, 89 insertions, 1 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index deba5760f742..3f1c7a3a5055 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,11 @@ # 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.22 2005/02/07 11:00:16 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.23 2005/02/13 11:49:17 brix Exp $ + +*hostapd-0.3.7 (13 Feb 2005) + + 13 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> +hostapd-0.3.7.ebuild: + New stable version from upstream. *hostapd-0.3.7_pre (07 Feb 2005) diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest index c88f972b5d52..2fc674911131 100644 --- a/net-wireless/hostapd/Manifest +++ b/net-wireless/hostapd/Manifest @@ -1,11 +1,13 @@ MD5 ffda06509787f2a0d4d8687072ab000d hostapd-0.2.5.ebuild 1020 MD5 0159ad0552936a39ea8b1a7fdb285b10 hostapd-0.3.7_pre.ebuild 2186 MD5 a49f282de21859e37bcbbcec7b0cb692 hostapd-0.3.5.ebuild 2135 +MD5 9e3648c6137997f3e6fff52380fe93ae hostapd-0.3.7.ebuild 2120 MD5 e1948d4ae3d8cd344d53ecb6166d2192 hostapd-0.2.6.ebuild 1021 MD5 3e38cfa983bfb2444e874eeb236a8b2f ChangeLog 3384 MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462 MD5 ba14f3282c1fe345b2b9bc3233bc2f6d files/digest-hostapd-0.2.5 65 MD5 9cbbd29bd90ddbddaa1abe1e726e2fd1 files/digest-hostapd-0.2.6 65 MD5 057577db7f5bc827f3866eb1160986ee files/digest-hostapd-0.3.5 150 +MD5 3cb68569c34f2c059da88220513d9af4 files/digest-hostapd-0.3.7 150 MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858 MD5 9ba4669db28a45857fb031e88e0f55bc files/digest-hostapd-0.3.7_pre 154 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.7 b/net-wireless/hostapd/files/digest-hostapd-0.3.7 new file mode 100644 index 000000000000..d8563e7c2ee9 --- /dev/null +++ b/net-wireless/hostapd/files/digest-hostapd-0.3.7 @@ -0,0 +1,2 @@ +MD5 12ad3a43bf4a774f347b129c973bbe57 hostapd-0.3.7.tar.gz 246195 +MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914 diff --git a/net-wireless/hostapd/hostapd-0.3.7.ebuild b/net-wireless/hostapd/hostapd-0.3.7.ebuild new file mode 100644 index 000000000000..6d478bb18007 --- /dev/null +++ b/net-wireless/hostapd/hostapd-0.3.7.ebuild @@ -0,0 +1,79 @@ +# 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.3.7.ebuild,v 1.1 2005/02/13 11:49:17 brix Exp $ + +inherit toolchain-funcs + +MADWIFI_VERSION="2005-01-07" + +DESCRIPTION="HostAP wireless daemon" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz + mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" + +IUSE="ssl" + +DEPEND="ssl? ( dev-libs/openssl )" + +src_unpack() { + local CONFIG=${S}/.config + + unpack ${A} + + # 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 + + # Linux specific drivers + echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG} + echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} + echo "CONFIG_DRIVER_PRISM54=y" >> ${CONFIG} + + # Add include path for madwifi-driver headers + echo "CFLAGS += -I${WORKDIR}/madwifi" >> ${CONFIG} + echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + insinto /etc/hostapd + doins hostapd.conf hostapd.accept hostapd.deny + + dosed 's:\(accept_mac_file=\)/etc/hostapd.accept:\1/etc/hostapd/hostapd.accept:g' \ + /etc/hostapd/hostapd.conf + dosed 's:\(deny_mac_file=\)/etc/hostapd.deny:\1/etc/hostapd/hostapd.deny:g' \ + /etc/hostapd/hostapd.conf + + dosbin hostapd + + newinitd ${FILESDIR}/hostapd.init.d hostapd + + dodoc ChangeLog developer.txt README + + docinto examples + dodoc madwifi.conf wired.conf +} |