Added new development snapshot.
authorHenrik Brix Andersen <brix@gentoo.org>
Mon, 20 Dec 2004 09:11:24 +0000 (09:11 +0000)
committerHenrik Brix Andersen <brix@gentoo.org>
Mon, 20 Dec 2004 09:11:24 +0000 (09:11 +0000)
19 files changed:
net-wireless/hostap-driver/ChangeLog
net-wireless/hostap-driver/Manifest
net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2 [new file with mode: 0644]
net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch [new file with mode: 0644]
net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild [new file with mode: 0644]
net-wireless/hostap-utils/ChangeLog
net-wireless/hostap-utils/Manifest
net-wireless/hostap-utils/files/digest-hostap-utils-0.3.2 [new file with mode: 0644]
net-wireless/hostap-utils/hostap-utils-0.3.2.ebuild [new file with mode: 0644]
net-wireless/hostapd/ChangeLog
net-wireless/hostapd/Manifest
net-wireless/hostapd/files/digest-hostapd-0.3.2 [new file with mode: 0644]
net-wireless/hostapd/hostapd-0.3.2.ebuild [new file with mode: 0644]
net-wireless/wpa_supplicant/ChangeLog
net-wireless/wpa_supplicant/Manifest
net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.2 [new file with mode: 0644]
net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-conf.d [new file with mode: 0644]
net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-init.d [new file with mode: 0644]
net-wireless/wpa_supplicant/wpa_supplicant-0.3.2.ebuild [new file with mode: 0644]

index 998c72e41fe326bbc13addc61162f96316cc3328..63773b28600a6bc54b033d8cd7f21fac2431cf1b 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostap-driver
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.24 2004/12/12 11:32:43 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.25 2004/12/20 09:09:12 brix Exp $
+
+*hostap-driver-0.3.2 (20 Dec 2004)
+
+  20 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
+  +files/hostap-driver-0.3.2-firmware.patch, +hostap-driver-0.3.2.ebuild:
+  Added new development snapshot.
 
 *hostap-driver-0.3.0 (12 Dec 2004)
 
index b17bc3ad9d32ae3dfd0863b4a07a4769de093159..31d3081e489b3f54450913e9f3cccc50397f2c5e 100644 (file)
@@ -1,12 +1,15 @@
+MD5 05f7673c403a2988e7328dded4284836 hostap-driver-0.3.2.ebuild 3508
 MD5 08b001ac4fb3ad3de51ef019a8833f6c hostap-driver-0.2.5.ebuild 3201
 MD5 b57d0a31b3dfcc88c5828e116cf20994 hostap-driver-0.2.5-r1.ebuild 3614
 MD5 a7a1a62076c4baa3e507e2a7340af162 hostap-driver-0.3.0.ebuild 3621
 MD5 41ee5985c620b33a4b4e4ba04b1fcd38 ChangeLog 4454
 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
 MD5 d6feaba6faa14fd7f48bfbe13a2309dc hostap-driver-0.2.4.ebuild 2700
+MD5 f7a49c3b2764821383db2a933661eacb files/hostap-driver-0.3.2-firmware.patch 739
 MD5 c45be0cf6326f054520ce15096361e84 files/hostap-driver-0.3.0-firmware.patch 739
 MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441
 MD5 fe9ca923fd63e570f4f47be989fd810f files/digest-hostap-driver-0.2.4 441
 MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5 441
 MD5 31eba7db39a7678ae7619995f6d96370 files/digest-hostap-driver-0.3.0 441
+MD5 b86779810351ad030a68fabc4dda44f8 files/digest-hostap-driver-0.3.2 441
 MD5 9451f65d0b1724a60a07b9310d9ebc52 files/hostap-driver-0.2.5.firmware.diff.bz2 472
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2
new file mode 100644 (file)
index 0000000..e4064fa
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494
+MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
+MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320
+MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
+MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
+MD5 8f65bade336ed208d6655dd2ff9a1ed0 hostap-driver-0.3.2.tar.gz 200111
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch
new file mode 100644 (file)
index 0000000..0cfaff2
--- /dev/null
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.3.2/driver/modules/hostap_config.h hostap-driver-0.3.2-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.3.2/driver/modules/hostap_config.h 2004-12-20 07:26:58.000000000 +0100
++++ hostap-driver-0.3.2-firmware/driver/modules/hostap_config.h        2004-12-20 09:43:19.845904392 +0100
+@@ -59,7 +59,7 @@
+  * In addition, please note that it is possible to kill your card with
+  * non-volatile download if you are using incorrect image. This feature has not
+  * been fully tested, so please be careful with it. */
+-/* #define PRISM2_NON_VOLATILE_DOWNLOAD */
++#define PRISM2_NON_VOLATILE_DOWNLOAD
+ #endif /* PRISM2_DOWNLOAD_SUPPORT */
+ 
+ /* Include wireless extensions sub-ioctl support even if wireless extensions
diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..2b2be48
--- /dev/null
@@ -0,0 +1,136 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild,v 1.1 2004/12/20 09:09:12 brix Exp $
+
+inherit toolchain-funcs pcmcia kernel-mod eutils
+
+DESCRIPTION="HostAP wireless drivers"
+HOMEPAGE="http://hostap.epitest.fi"
+SRC_URI="${SRC_URI} http://hostap.epitest.fi/releases/${P}.tar.gz"
+LICENSE="GPL-2"
+
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+SLOT="0"
+
+DEPEND="!net-wireless/hostap
+               virtual/linux-sources
+               sys-apps/sed"
+RDEPEND=">=net-wireless/wireless-tools-25"
+
+pkg_setup() {
+       if ! kernel-mod_configoption_present NET_RADIO
+       then
+               eerror ""
+               eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
+               eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
+               eerror ""
+               die "CONFIG_NET_RADIO support not detected."
+       fi
+
+       kernel-mod_check_modules_supported
+}
+
+src_unpack() {
+       unpack ${A}
+
+       # set compiler
+       sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
+
+       # unpack the pcmcia-cs sources if needed
+       pcmcia_src_unpack
+
+       cd ${S}
+       epatch ${FILESDIR}/${P}-firmware.patch
+
+       # fix for new coreutils (#31801)
+       sed -i "s:tail -1:tail -n 1:" ${S}/Makefile
+
+       # set correct pcmcia path (PCMCIA_VERSION gets set from pcmcia_src_unpack)
+       if [ -n "${PCMCIA_VERSION}" ]
+       then
+               sed -i "s:^\(PCMCIA_PATH\)=:\1=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile
+       fi
+
+       # install to /lib/modules/${KV}/net
+       sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
+       sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
+
+       # let pkg_postinst() handle depmod
+       sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
+       sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
+
+       if ! use pcmcia &> /dev/null
+       then
+               # remove install_pccard dependency from install_2.4 target
+               sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
+       fi
+
+       kernel-mod_getversion
+
+       if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+       then
+               sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
+       fi
+}
+
+src_compile() {
+       pcmcia_configure
+
+       set_arch_to_kernel
+       emake all || die "emake failed"
+       set_arch_to_portage
+}
+
+src_install() {
+       # Makefile relies on existing /lib/modules/${KV}
+       dodir /lib/modules/${KV}
+
+       if use pcmcia &> /dev/null
+       then
+               # pcmcia configuration file is only installed if /etc/pcmcia exist
+               dodir /etc/pcmcia
+       else
+               # make sure we do not install the hostap_cs module
+               rm -rf ${S}/driver/modules/hostap_cs.*o
+       fi
+
+       set_arch_to_kernel
+       emake DESTDIR=${D} install || die "emake install failed"
+       set_arch_to_portage
+
+       dodoc README ChangeLog
+}
+
+pkg_postinst() {
+       einfo "Checking kernel module dependencies"
+       test -r "${ROOT}/usr/src/linux/System.map" && \
+               depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+
+       if [ -e /etc/pcmcia/prism2.conf ]
+       then
+               einfo ""
+               einfo "You may need to edit or remove /etc/pcmcia/prism2.conf"
+               einfo "This is usually a result of conflicts with the"
+               einfo "net-wireless/linux-wlan-ng drivers."
+               einfo ""
+       fi
+
+       einfo ""
+       einfo "Please notice that all ${PN} modules are now installed to"
+       einfo "/lib/modules/${KV}/net/."
+       einfo ""
+       einfo "You may have to manually delete the old modules if upgrading from from"
+       einfo "<=net-wireless/${PN}-0.2.4."
+       einfo ""
+
+       ewarn ""
+       ewarn "Please note that this installation of HostAP contains support"
+       ewarn "for downloading binary firmware images into the non-volatile"
+       ewarn "(permanent) flash memory of wireless LAN cards."
+       ewarn ""
+       ewarn "Albeit being a great feature, this can lead to A DEAD CARD"
+       ewarn "when inappropriately used (e.g. wrong firmware)."
+       ewarn ""
+
+}
index ba8e8965e9b8107c3ab25de1421dcb7228c40ee4..f97894c293fd0a38b52fa79ca700cc5a1f1ef42f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-wireless/hostap-utils
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.14 2004/12/12 11:32:54 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.15 2004/12/20 09:10:42 brix Exp $
+
+*hostap-utils-0.3.2 (20 Dec 2004)
+
+  20 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
+  +hostap-utils-0.3.2.ebuild:
+  Added new development snapshot.
 
 *hostap-utils-0.3.0 (12 Dec 2004)
 
index c9cff7e30e08b79e1529480a23114be4ebdaf07f..3afa4a7914bc77dd3a2c8e1089e642682f158345 100644 (file)
@@ -1,6 +1,8 @@
 MD5 addf782e18fdfbb92b692304d9d7ce9f hostap-utils-0.2.4.ebuild 778
+MD5 17b9cc34e32e3f6cd8d01dbe89e39dbc hostap-utils-0.3.2.ebuild 628
 MD5 2d037898a248c86772b7f523d1a56f00 ChangeLog 2204
 MD5 0d08d740672bf3b41532938b6f9c0a19 metadata.xml 337
 MD5 3f0e001cdac352dd106e6f63e0f7fc4d hostap-utils-0.3.0.ebuild 739
 MD5 b31ab184e34a7e5d3443d51d91c5008f files/digest-hostap-utils-0.2.4 69
 MD5 bd6d6d04e2ba70a469fa52ec8afaae4b files/digest-hostap-utils-0.3.0 69
+MD5 66bac96f1cd07eff01bee01597a115d3 files/digest-hostap-utils-0.3.2 69
diff --git a/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.2 b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.2
new file mode 100644 (file)
index 0000000..4ce4b98
--- /dev/null
@@ -0,0 +1 @@
+MD5 4af1bbccb6a124b569a1f7b68bd58413 hostap-utils-0.3.2.tar.gz 59629
diff --git a/net-wireless/hostap-utils/hostap-utils-0.3.2.ebuild b/net-wireless/hostap-utils/hostap-utils-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..cc7f131
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/hostap-utils-0.3.2.ebuild,v 1.1 2004/12/20 09:10:42 brix Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="HostAP wireless utils"
+
+HOMEPAGE="http://hostap.epitest.fi/"
+SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+IUSE=""
+
+RDEPEND=">=net-wireless/hostap-driver-0.3.0"
+DEPEND="virtual/libc"
+
+src_compile() {
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+
+       dosbin hostap_{crypt_conf,diag,fw_load,io_debug,rid}
+       dosbin prism2_{param,srec}
+       dosbin split_combined_hex
+
+       dodoc README
+}
index 54c8655ecd4c15141b67a18daf8083cbbeca0179..7cf2cd107aa0062dba43e5bdba77df75be957aaa 100644 (file)
@@ -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.13 2004/12/13 09:26:11 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.14 2004/12/20 09:09:59 brix Exp $
+
+*hostapd-0.3.2 (20 Dec 2004)
+
+  20 Dec 2004; Henrik Brix Andersen <brix@gentoo.org> +hostapd-0.3.2.ebuild:
+  Added new development snapshot.
 
 *hostapd-0.3.1 (13 Dec 2004)
 
index c59832e4d9b644938ffe45c5a2b3b890208e3379..95ac665a272d1322fd2e0cf9b29caa7822a92ee4 100644 (file)
@@ -1,6 +1,7 @@
 MD5 2474cf4180f7290f9e5e8a47f1702e7a hostapd-0.2.5.ebuild 1072
 MD5 7416e361c8dc181f353a4bd936d7844c hostapd-0.3.0.ebuild 1735
 MD5 73fcafdf3db141b6061f35c727a9e5db hostapd-0.2.4.ebuild 1075
+MD5 108a8c8540a1640df5aeb141e2158f37 hostapd-0.3.2.ebuild 1831
 MD5 895225a259cdf788394b019f577793f4 ChangeLog 1877
 MD5 52a4b928b36a98e530ae455b73f868f5 metadata.xml 462
 MD5 addac32c6bc78b481ff2a74864eb1e8d hostapd-0.3.1.ebuild 1777
@@ -8,4 +9,5 @@ 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 30d8ea24bfd552e0638487411450495e files/digest-hostapd-0.3.2 149
 MD5 cf287b50f0ccd832a08fb3031281cd4f files/hostapd.init.d 858
diff --git a/net-wireless/hostapd/files/digest-hostapd-0.3.2 b/net-wireless/hostapd/files/digest-hostapd-0.3.2
new file mode 100644 (file)
index 0000000..3382ece
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 9a2ebd11c6c69b589945a37d3806f248 hostapd-0.3.2.tar.gz 213805
+MD5 3dc7bcc46ade7ab9ff7ea25fb7377366 madwifi-driver-0.1_pre20041019.tar.bz2 1570237
diff --git a/net-wireless/hostapd/hostapd-0.3.2.ebuild b/net-wireless/hostapd/hostapd-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..d6eec69
--- /dev/null
@@ -0,0 +1,76 @@
+# 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.2.ebuild,v 1.1 2004/12/20 09:09:59 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="ssl"
+
+DEPEND=">=net-wireless/hostap-driver-0.3.0
+               ssl? ( dev-libs/openssl )"
+
+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}
+
+       if use ssl; then
+               # SSL authentication methods
+               echo "CONFIG_EAP_TLS=y"      >> ${CONFIG}
+               echo "CONFIG_EAP_MSCHAPV2=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}"  >> ${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
+}
index 7a61a6ef9c15f49fdacf96ea1091f785e8cbeab8..f0339363fa4f09c8df73169c6b86cc335172ff6d 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-wireless/wpa_supplicant
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.6 2004/12/19 15:43:17 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.7 2004/12/20 09:11:24 brix Exp $
+
+*wpa_supplicant-0.3.2 (20 Dec 2004)
+
+  20 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
+  +files/wpa_supplicant-0.3.2-conf.d, +files/wpa_supplicant-0.3.2-init.d,
+  +wpa_supplicant-0.3.2.ebuild:
+  Added new development snapshot.
 
   19 Dec 2004; Henrik Brix Andersen <brix@gentoo.org>
   -wpa_supplicant-0.2.5.ebuild:
index e642f92c388ab85f43a0ef749a7999a4f4d4fe1b..13b782b7f913b7e57e8d070f70b6d85d0f9e5d3d 100644 (file)
@@ -3,6 +3,7 @@ MD5 434a9cf8d7c405f7bfe3dc8b9a1796f8 wpa_supplicant-0.3.1.ebuild 2843
 MD5 c3cec75d7e12b74c46d32639369084e2 wpa_supplicant-0.3.0.ebuild 2872
 MD5 b50e4693df7c66a9e67be451cd2dc972 ChangeLog 2595
 MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
+MD5 5ed40663d916ae51cf7505fbfd338652 wpa_supplicant-0.3.2.ebuild 2727
 MD5 2bc46403d4bf3ae6e68ae82693a23914 files/wpa_supplicant-0.2.5-pkg-config.patch 1669
 MD5 6f5827a2c4a23e44c33018d90ac25829 files/wpa_supplicant-0.3.1-conf.d 398
 MD5 11ecf21202cd23fc4faa511fec21a85e files/wpa_supplicant-0.3.1-init.d 975
@@ -11,6 +12,9 @@ MD5 b2bb8e6d5a1663945c4ce0d9b4c70ba1 files/wpa_supplicant-0.2.5-config 606
 MD5 4bec60e49c33275fa8e21d27c3909cc5 files/wpa_supplicant-0.2.5-init.d 974
 MD5 1b08e42f180b3bee6247776212a5fb4f files/digest-wpa_supplicant-0.3.0 156
 MD5 d6b9d13af0f01e8b7fa70b880b8ecdfe files/digest-wpa_supplicant-0.3.1 156
+MD5 3b2cce8cf6663297d567b4f0a7402776 files/digest-wpa_supplicant-0.3.2 156
 MD5 a9249a7ed61a912ddd1b561317e76f43 files/digest-wpa_supplicant-0.2.5-r1 235
 MD5 6dbdde5c93f286b00afacc10673e4de7 files/wpa_supplicant-0.3.0-conf.d 398
 MD5 4290cd41db8ead604b3096f53d6795e4 files/wpa_supplicant-0.3.0-init.d 975
+MD5 6f5827a2c4a23e44c33018d90ac25829 files/wpa_supplicant-0.3.2-conf.d 398
+MD5 11ecf21202cd23fc4faa511fec21a85e files/wpa_supplicant-0.3.2-init.d 975
diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.2 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.2
new file mode 100644 (file)
index 0000000..6f41cf4
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 72abf53816413929a27cd9889d4a4258 wpa_supplicant-0.3.2.tar.gz 274944
+MD5 3dc7bcc46ade7ab9ff7ea25fb7377366 madwifi-driver-0.1_pre20041019.tar.bz2 1570237
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-conf.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-conf.d
new file mode 100644 (file)
index 0000000..9fb802c
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-conf.d,v 1.1 2004/12/20 09:11:24 brix Exp $
+
+# List of interfaces
+INTERFACES="eth1"
+
+# Common arguments to all wpa_supplicant instances
+ARGS="-w"
+
+# Interface specific arguments
+#ARGS_eth1="-Dipw2100"
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-init.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-init.d
new file mode 100644 (file)
index 0000000..1d5b235
--- /dev/null
@@ -0,0 +1,42 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.2-init.d,v 1.1 2004/12/20 09:11:24 brix Exp $
+
+depend() {
+       before net
+}
+
+start() {
+       ebegin "Starting wpa_supplicant"
+
+       if [ ! -f /etc/wpa_supplicant.conf ]; then
+               eerror "Configuration file /etc/wpa_supplicant.conf not found"
+               return 1
+       fi
+
+       if [ -z "$INTERFACES" ]; then
+               eerror "No interfaces specified in /etc/conf.d/wpa_supplicant"
+               return 1
+       fi
+
+       for IFACE in $INTERFACES; do
+               ebegin "  ${IFACE}"
+
+               eval ARGS_IFACE=\"\$\{ARGS_$IFACE\}\"
+
+               /sbin/ifconfig ${IFACE} up
+
+               start-stop-daemon --start --quiet --exec /usr/sbin/wpa_supplicant \
+                        -- -B -i${IFACE} -c/etc/wpa_supplicant.conf ${ARGS} ${ARGS_IFACE}
+               eend $?
+       done
+}
+
+stop() {
+       ebegin "Stopping wpa_supplicant"
+
+       start-stop-daemon --stop --quiet --exec /usr/sbin/wpa_supplicant
+       eend ${?}
+}
+
diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.3.2.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..31d0952
--- /dev/null
@@ -0,0 +1,101 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/wpa_supplicant-0.3.2.ebuild,v 1.1 2004/12/20 09:11:24 brix Exp $
+
+inherit toolchain-funcs
+
+MADWIFI_VERSION="0.1_pre20041019"
+
+DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers"
+HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/"
+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 ~amd64"
+IUSE="gsm ssl"
+
+DEPEND="ssl? ( dev-libs/openssl )
+               gsm? ( sys-apps/pcsc-lite )"
+
+src_unpack() {
+       local CONFIG=${S}/.config
+
+       unpack ${A}
+
+       # toolchain setup
+       echo "CC = $(tc-getCC)" > ${CONFIG}
+
+       # basic setup
+       echo "CONFIG_CTRL_IFACE=y"        >> ${CONFIG}
+       echo "CONFIG_XSUPPLICANT_IFACE=y" >> ${CONFIG}
+
+       # basic authentication methods
+       echo "CONFIG_EAP_GTC=y"         >> ${CONFIG}
+       echo "CONFIG_EAP_MD5=y"         >> ${CONFIG}
+       echo "CONFIG_EAP_OTP=y"         >> ${CONFIG}
+       echo "CONFIG_EAP_PSK=y"         >> ${CONFIG}
+       echo "CONFIG_IEEE8021X_EAPOL=y" >> ${CONFIG}
+       echo "CONFIG_PKCS12=y"          >> ${CONFIG}
+
+       if use ssl; then
+               # SSL authentication methods
+               echo "CONFIG_EAP_LEAP=y"     >> ${CONFIG}
+               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 gsm; then
+               # Smart card authentication
+               echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
+               echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
+               echo "CONFIG_PCSC=y"    >> ${CONFIG}
+       fi
+
+       # Linux specific drivers
+       echo "CONFIG_WIRELESS_EXTENSION=y" >> ${CONFIG}
+       echo "CONFIG_DRIVER_ATMEL=y"       >> ${CONFIG}
+       echo "CONFIG_DRIVER_HOSTAP=y"      >> ${CONFIG}
+       echo "CONFIG_DRIVER_IPW2100=y"     >> ${CONFIG}
+       echo "CONFIG_DRIVER_NDISWRAPPER=y" >> ${CONFIG}
+       echo "CONFIG_DRIVER_PRISM54=y"     >> ${CONFIG}
+       echo "CONFIG_DRIVER_WEXT=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() {
+       dosbin wpa_supplicant
+       dobin wpa_cli wpa_passphrase
+
+       dodoc ChangeLog COPYING developer.txt eap_testing.txt README todo.txt
+       dodoc doc/wpa_supplicant.fig
+
+       insinto /etc
+       newins wpa_supplicant.conf wpa_supplicant.conf.example
+
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/${P}-init.d wpa_supplicant || die
+
+       insinto /etc/conf.d
+       newins ${FILESDIR}/${P}-conf.d wpa_supplicant || die
+}
+
+pkg_postinst() {
+       einfo
+       einfo "To use ${P} you must create the configuration file"
+       einfo "/etc/wpa_supplicant.conf"
+       einfo
+       einfo "An example configuration file has been installed as"
+       einfo "/etc/wpa_supplicant.conf.example"
+       einfo
+}