summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-04-27 10:02:48 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-04-27 10:02:48 +0000
commita3f46d9023bc2916f8288a36cbc0930491cbb784 (patch)
tree69f06a01b8d81bff81ab2fcc6c894ec953767ada /net-wireless/hostapd
parentNew development snapshot. (diff)
downloadgentoo-2-a3f46d9023bc2916f8288a36cbc0930491cbb784.tar.gz
gentoo-2-a3f46d9023bc2916f8288a36cbc0930491cbb784.tar.bz2
gentoo-2-a3f46d9023bc2916f8288a36cbc0930491cbb784.zip
New development snapshot.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'net-wireless/hostapd')
-rw-r--r--net-wireless/hostapd/ChangeLog7
-rw-r--r--net-wireless/hostapd/Manifest2
-rw-r--r--net-wireless/hostapd/files/digest-hostapd-0.4.02
-rw-r--r--net-wireless/hostapd/hostapd-0.4.0.ebuild83
4 files changed, 93 insertions, 1 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog
index 42c43aba5de1..7d902f715d3d 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.25 2005/04/16 09:06:45 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.26 2005/04/27 09:59:26 brix Exp $
+
+*hostapd-0.4.0 (27 Apr 2005)
+
+ 27 Apr 2005; <brix@gentoo.org> +hostapd-0.4.0.ebuild:
+ New development snapshot.
16 Apr 2005; <brix@gentoo.org> hostapd-0.3.7.ebuild:
Stable on x86.
diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest
index 0c4412590e32..8d68361d657b 100644
--- a/net-wireless/hostapd/Manifest
+++ b/net-wireless/hostapd/Manifest
@@ -1,9 +1,11 @@
MD5 ffda06509787f2a0d4d8687072ab000d hostapd-0.2.5.ebuild 1020
MD5 32b4c4cf4e25ff18aa6d6592d424bfa4 hostapd-0.3.7.ebuild 2115
+MD5 d039e826a2e38fdbef348abee6065671 hostapd-0.4.0.ebuild 2091
MD5 e1948d4ae3d8cd344d53ecb6166d2192 hostapd-0.2.6.ebuild 1021
MD5 1e2bff55f8d296fbf72620157eb546fd ChangeLog 3731
MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462
MD5 ba14f3282c1fe345b2b9bc3233bc2f6d files/digest-hostapd-0.2.5 65
MD5 9cbbd29bd90ddbddaa1abe1e726e2fd1 files/digest-hostapd-0.2.6 65
MD5 3cb68569c34f2c059da88220513d9af4 files/digest-hostapd-0.3.7 150
+MD5 e3ffdcd25f6e6c941ad878a0f71a7645 files/digest-hostapd-0.4.0 150
MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.4.0 b/net-wireless/hostapd/files/digest-hostapd-0.4.0
new file mode 100644
index 000000000000..cbd70657b20a
--- /dev/null
+++ b/net-wireless/hostapd/files/digest-hostapd-0.4.0
@@ -0,0 +1,2 @@
+MD5 e94731593b492bfad7a6b341c0514266 hostapd-0.4.0.tar.gz 257771
+MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548
diff --git a/net-wireless/hostapd/hostapd-0.4.0.ebuild b/net-wireless/hostapd/hostapd-0.4.0.ebuild
new file mode 100644
index 000000000000..e5aa0b156154
--- /dev/null
+++ b/net-wireless/hostapd/hostapd-0.4.0.ebuild
@@ -0,0 +1,83 @@
+# 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.0.ebuild,v 1.1 2005/04/27 09:59:26 brix Exp $
+
+inherit toolchain-funcs
+
+MADWIFI_VERSION="2005-04-20"
+
+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 BSD )"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+IUSE="ipv6 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
+
+ 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}
+
+ # 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
+}