summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2004-12-13 09:26:11 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2004-12-13 09:26:11 +0000
commit31a16e95f3100259e4d1da2e55c36494c0ef37d7 (patch)
treec61b97691ac452b1df98326a41c6fe5ac1b1da1c /net-wireless/hostapd
parentBumped to version 3.0.16. Removed older ebuild. (Manifest recommit) (diff)
downloadgentoo-2-31a16e95f3100259e4d1da2e55c36494c0ef37d7.tar.gz
gentoo-2-31a16e95f3100259e4d1da2e55c36494c0ef37d7.tar.bz2
gentoo-2-31a16e95f3100259e4d1da2e55c36494c0ef37d7.zip
Version bump (development snapshot)
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.3.12
-rw-r--r--net-wireless/hostapd/hostapd-0.3.1.ebuild70
4 files changed, 80 insertions, 1 deletions
diff --git a/net-wireless/hostapd/ChangeLog b/net-wireless/hostapd/ChangeLog
index 7f5a837800a6..54c8655ecd4c 100644
--- a/net-wireless/hostapd/ChangeLog
+++ b/net-wireless/hostapd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-wireless/hostapd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.12 2004/12/12 11:32:43 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.13 2004/12/13 09:26:11 brix Exp $
+
+*hostapd-0.3.1 (13 Dec 2004)
+
+ 13 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> +hostapd-0.3.1.ebuild:
+ Version bump (development snapshot)
*hostapd-0.3.0 (12 Dec 2004)
diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest
index 65321cd57ce5..bf7a2ed6f62f 100644
--- a/net-wireless/hostapd/Manifest
+++ b/net-wireless/hostapd/Manifest
@@ -3,7 +3,9 @@ MD5 7416e361c8dc181f353a4bd936d7844c hostapd-0.3.0.ebuild 1735
MD5 73fcafdf3db141b6061f35c727a9e5db hostapd-0.2.4.ebuild 1075
MD5 b65b3a3d777b7e4d2ed689511da99e76 ChangeLog 1731
MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462
+MD5 d9fcdafb8919761bdce362f47aec8e95 hostapd-0.3.1.ebuild 1676
MD5 44285ed8dadd7473eb41d3b67f318120 files/digest-hostapd-0.2.4 65
MD5 ba14f3282c1fe345b2b9bc3233bc2f6d files/digest-hostapd-0.2.5 65
MD5 1ba76b2b1bb9b838b8b72d9d99348f46 files/digest-hostapd-0.3.0 149
+MD5 3545835b787224800fe3423a60f29808 files/digest-hostapd-0.3.1 149
MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.1 b/net-wireless/hostapd/files/digest-hostapd-0.3.1
new file mode 100644
index 000000000000..544f6f9dfe17
--- /dev/null
+++ b/net-wireless/hostapd/files/digest-hostapd-0.3.1
@@ -0,0 +1,2 @@
+MD5 d4aa9ed2677c7f59496a0b1385842600 hostapd-0.3.1.tar.gz 209202
+MD5 3dc7bcc46ade7ab9ff7ea25fb7377366 madwifi-driver-0.1_pre20041019.tar.bz2 1570237
diff --git a/net-wireless/hostapd/hostapd-0.3.1.ebuild b/net-wireless/hostapd/hostapd-0.3.1.ebuild
new file mode 100644
index 000000000000..662eacee3bd6
--- /dev/null
+++ b/net-wireless/hostapd/hostapd-0.3.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/hostapd-0.3.1.ebuild,v 1.1 2004/12/13 09:26:11 brix Exp $
+
+inherit toolchain-funcs
+
+MADWIFI_VERSION="0.1_pre20041019"
+
+DESCRIPTION="HostAP wireless daemon"
+HOMEPAGE="http://hostap.epitest.fi"
+SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz
+ mirror://gentoo/madwifi-driver-${MADWIFI_VERSION}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+IUSE=""
+
+RDEPEND=">=net-wireless/hostap-driver-0.3.0"
+DEPEND="virtual/libc"
+
+src_unpack() {
+ local CONFIG=${S}/.config
+
+ unpack ${A}
+
+ # toolchain setup
+ echo "CC = $(tc-getCC)" > ${CONFIG}
+
+ # authentication methods
+ echo "CONFIG_IAPP=y" >> ${CONFIG}
+ echo "CONFIG_RSN_PREAUTH=y" >> ${CONFIG}
+ echo "CONFIG_EAP=y" >> ${CONFIG}
+ echo "CONFIG_EAP_MD5=y" >> ${CONFIG}
+ echo "CONFIG_PKCS12=y" >> ${CONFIG}
+
+ # 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}" >> ${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
+}