diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-01-24 19:17:52 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-01-24 19:17:52 +0000 |
commit | 41beef00d091800c1431327e7c7e3e3e23558dab (patch) | |
tree | 98e7cd1b53e526fbeca6f27ef6ec4157106d3221 /net-wireless/hostapd | |
parent | initial commit - ebuild submitted by MaratIK via bug #63212 (diff) | |
download | historical-41beef00d091800c1431327e7c7e3e3e23558dab.tar.gz historical-41beef00d091800c1431327e7c7e3e3e23558dab.tar.bz2 historical-41beef00d091800c1431327e7c7e3e3e23558dab.zip |
New development snapshot.
Package-Manager: portage-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.5 | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.3.5.ebuild | 80 |
4 files changed, 90 insertions, 1 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog index a665e842f7cd..b20d9fd30b20 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.19 2005/01/18 11:21:36 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.20 2005/01/24 19:14:42 brix Exp $ + +*hostapd-0.3.5 (24 Jan 2005) + + 24 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> +hostapd-0.3.5.ebuild: + New development snapshot. 18 Jan 2005; Henrik Brix Andersen <brix@gentoo.org> hostapd-0.2.4.ebuild, hostapd-0.2.5.ebuild, hostapd-0.2.6.ebuild, hostapd-0.3.0.ebuild, diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest index fc5983a2d7ff..7ea9689eb40f 100644 --- a/net-wireless/hostapd/Manifest +++ b/net-wireless/hostapd/Manifest @@ -1,5 +1,6 @@ MD5 ffda06509787f2a0d4d8687072ab000d hostapd-0.2.5.ebuild 1020 MD5 feb89da2edf4b93eade9e0047ac0b00a hostapd-0.3.3.ebuild 2120 +MD5 e9e9fc7dfe0c05796b31d733d0a9b637 hostapd-0.3.5.ebuild 2034 MD5 b733acbe99189b72d6990d7b189cabd4 hostapd-0.3.0.ebuild 1690 MD5 09e2d9ad85fb49139f417b838bbd4280 hostapd-0.2.4.ebuild 1031 MD5 74003a0d736b70612e159e99f38ace6d hostapd-0.3.2.ebuild 1895 @@ -16,4 +17,5 @@ MD5 3545835b787224800fe3423a60f29808 files/digest-hostapd-0.3.1 149 MD5 30d8ea24bfd552e0638487411450495e files/digest-hostapd-0.3.2 149 MD5 f713d9fe7806353e0d9a06dd39d389c4 files/digest-hostapd-0.3.3 149 MD5 7b6b425aae76d68299b011725e1de3b7 files/digest-hostapd-0.3.4 150 +MD5 057577db7f5bc827f3866eb1160986ee files/digest-hostapd-0.3.5 150 MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858 diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.5 b/net-wireless/hostapd/files/digest-hostapd-0.3.5 new file mode 100644 index 000000000000..5710a9c1d600 --- /dev/null +++ b/net-wireless/hostapd/files/digest-hostapd-0.3.5 @@ -0,0 +1,2 @@ +MD5 1e3c1ba18f2138f21b0fcccedacf5562 hostapd-0.3.5.tar.gz 246010 +MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914 diff --git a/net-wireless/hostapd/hostapd-0.3.5.ebuild b/net-wireless/hostapd/hostapd-0.3.5.ebuild new file mode 100644 index 000000000000..c2516f3b93e3 --- /dev/null +++ b/net-wireless/hostapd/hostapd-0.3.5.ebuild @@ -0,0 +1,80 @@ +# 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.5.ebuild,v 1.1 2005/01/24 19:14:42 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 + + exeinto /etc/init.d + newexe ${FILESDIR}/hostapd.init.d hostapd + + dodoc ChangeLog developer.txt README + + docinto examples + dodoc madwifi.conf wired.conf +} |