summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-02-13 11:53:44 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-02-13 11:53:44 +0000
commit17cb37e9e8eb0a09c5d3365ec5d4eb1266919da0 (patch)
treebf100586430f67fc0cdca337de1d211d60168b70 /net-wireless
parentStable on alpha. (diff)
downloadgentoo-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')
-rw-r--r--net-wireless/hostap-utils/ChangeLog8
-rw-r--r--net-wireless/hostap-utils/Manifest2
-rw-r--r--net-wireless/hostap-utils/files/digest-hostap-utils-0.3.71
-rw-r--r--net-wireless/hostap-utils/hostap-utils-0.3.7.ebuild31
-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.72
-rw-r--r--net-wireless/hostapd/hostapd-0.3.7.ebuild79
-rw-r--r--net-wireless/wpa_supplicant/ChangeLog9
-rw-r--r--net-wireless/wpa_supplicant/Manifest4
-rw-r--r--net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.72
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-conf.d12
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-init.d42
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.3.7.ebuild111
14 files changed, 309 insertions, 3 deletions
diff --git a/net-wireless/hostap-utils/ChangeLog b/net-wireless/hostap-utils/ChangeLog
index 51aef733f5d2..c4cb2a7cef87 100644
--- a/net-wireless/hostap-utils/ChangeLog
+++ b/net-wireless/hostap-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/hostap-utils
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.20 2005/02/07 11:05:02 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.21 2005/02/13 11:51:22 brix Exp $
+
+*hostap-utils-0.3.7 (13 Feb 2005)
+
+ 13 Feb 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +hostap-utils-0.3.7.ebuild:
+ New stable version from upstream.
*hostap-utils-0.3.7_pre (07 Feb 2005)
diff --git a/net-wireless/hostap-utils/Manifest b/net-wireless/hostap-utils/Manifest
index 96272456afcb..71dd24e08a85 100644
--- a/net-wireless/hostap-utils/Manifest
+++ b/net-wireless/hostap-utils/Manifest
@@ -1,4 +1,5 @@
MD5 f266bab830757c79968697a1c0eb9a17 hostap-utils-0.2.4.ebuild 726
+MD5 f10033b31fa34f675fb2dfa2244c0d34 hostap-utils-0.3.7.ebuild 698
MD5 e2ca0b0fbef37c3454708dc3d03ac0d6 hostap-utils-0.3.2.ebuild 694
MD5 2c53d4316c073382d1f23a6955f95990 hostap-utils-0.2.6.ebuild 693
MD5 c9e08440289ea627754138f92dfd7b27 hostap-utils-0.3.7_pre.ebuild 745
@@ -7,4 +8,5 @@ MD5 0d08d740672bf3b41532938b6f9c0a19 metadata.xml 337
MD5 b31ab184e34a7e5d3443d51d91c5008f files/digest-hostap-utils-0.2.4 69
MD5 8fe4afb5fcbb29a994a4fa244b962665 files/digest-hostap-utils-0.2.6 69
MD5 66bac96f1cd07eff01bee01597a115d3 files/digest-hostap-utils-0.3.2 69
+MD5 eb77fca21ee97178487299633c12fdd8 files/digest-hostap-utils-0.3.7 69
MD5 5d2474d251315d7a2652499b1bb9d088 files/digest-hostap-utils-0.3.7_pre 73
diff --git a/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7 b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7
new file mode 100644
index 000000000000..17ecbed86685
--- /dev/null
+++ b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7
@@ -0,0 +1 @@
+MD5 529a31e987924116b8c7409dbf5794f2 hostap-utils-0.3.7.tar.gz 59659
diff --git a/net-wireless/hostap-utils/hostap-utils-0.3.7.ebuild b/net-wireless/hostap-utils/hostap-utils-0.3.7.ebuild
new file mode 100644
index 000000000000..dbcc8470b94d
--- /dev/null
+++ b/net-wireless/hostap-utils/hostap-utils-0.3.7.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2005 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.7.ebuild,v 1.1 2005/02/13 11:51:22 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=""
+
+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
+}
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
+}
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog
index 8b070aae6b7e..3b9708b4b56e 100644
--- a/net-wireless/wpa_supplicant/ChangeLog
+++ b/net-wireless/wpa_supplicant/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-wireless/wpa_supplicant
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.16 2005/02/07 11:42:55 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.17 2005/02/13 11:53:44 brix Exp $
+
+*wpa_supplicant-0.3.7 (13 Feb 2005)
+
+ 13 Feb 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/wpa_supplicant-0.3.7-conf.d, +files/wpa_supplicant-0.3.7-init.d,
+ +wpa_supplicant-0.3.7.ebuild:
+ New stable version from upstream.
*wpa_supplicant-0.3.7_pre (07 Feb 2005)
diff --git a/net-wireless/wpa_supplicant/Manifest b/net-wireless/wpa_supplicant/Manifest
index 6b6f3ec3353b..dd44edb335e9 100644
--- a/net-wireless/wpa_supplicant/Manifest
+++ b/net-wireless/wpa_supplicant/Manifest
@@ -2,13 +2,17 @@ MD5 d970c44db030e64224e111746c7800a6 wpa_supplicant-0.2.6.ebuild 2722
MD5 246655055b1f8a0ec25d5698b8280348 wpa_supplicant-0.3.7_pre.ebuild 3225
MD5 992cc004a0f07e7952f6cb96d0382b16 wpa_supplicant-0.3.6.ebuild 3031
MD5 7e344d8ae7da7ccf22de0b8c1e8ecea3 ChangeLog 5436
+MD5 7c98655b8a4fe5792fd8df72e13a8f2b wpa_supplicant-0.3.7.ebuild 3052
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
MD5 59e97dc96f722cb2e00a25601d5e1fd5 files/wpa_supplicant-0.3.7_pre-init.d 979
MD5 ea2a22d419d7894cb53366410ec812cc files/wpa_supplicant-0.3.6-conf.d 398
MD5 458f271b7f50509448ee82cac0605428 files/wpa_supplicant-0.3.6-init.d 975
MD5 ea1906e324ec931c5a70f344d516dca7 files/digest-wpa_supplicant-0.2.6 156
MD5 c6c90373d03489557cb9077c964d64ac files/digest-wpa_supplicant-0.3.6 157
+MD5 4917102a0402ade8ebe4ae9917908ae2 files/digest-wpa_supplicant-0.3.7 157
MD5 b6de7c7e0a8eaf16020235a532745537 files/digest-wpa_supplicant-0.3.7_pre 161
+MD5 83fd0df4da0ab91542d03062dc62a69b files/wpa_supplicant-0.3.7-conf.d 398
+MD5 59e97dc96f722cb2e00a25601d5e1fd5 files/wpa_supplicant-0.3.7-init.d 979
MD5 85f5f0949d17e5513602360ba202149c files/wpa_supplicant-0.2.6-conf.d 398
MD5 a75b4655a25978797324051b552a363b files/wpa_supplicant-0.2.6-init.d 975
MD5 83fd0df4da0ab91542d03062dc62a69b files/wpa_supplicant-0.3.7_pre-conf.d 398
diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7
new file mode 100644
index 000000000000..013ee1c956eb
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7
@@ -0,0 +1,2 @@
+MD5 2b7e25a12078788c7d952d1403a3798d wpa_supplicant-0.3.7.tar.gz 301069
+MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-conf.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-conf.d
new file mode 100644
index 000000000000..c727604ee465
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-conf.d
@@ -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.7-conf.d,v 1.1 2005/02/13 11:53:44 brix Exp $
+
+# List of interfaces
+INTERFACES="eth1"
+
+# Common arguments to all wpa_supplicant instances
+ARGS="-w"
+
+# Interface specific arguments
+#ARGS_eth1="-Dipw"
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-init.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-init.d
new file mode 100644
index 000000000000..a52b191283f5
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7-init.d
@@ -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.7-init.d,v 1.1 2005/02/13 11:53:44 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.7.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.7.ebuild
new file mode 100644
index 000000000000..743e9d7f4210
--- /dev/null
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.7.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2005 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.7.ebuild,v 1.1 2005/02/13 11:53:44 brix Exp $
+
+inherit toolchain-funcs
+
+MADWIFI_VERSION="2005-01-07"
+
+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-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="gsm readline ssl"
+
+DEPEND="gsm? ( sys-apps/pcsc-lite )
+ readline? ( sys-libs/ncurses
+ sys-libs/readline )
+ ssl? ( dev-libs/openssl )"
+
+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 gsm; then
+ # smart card authentication
+ echo "CONFIG_EAP_SIM=y" >> ${CONFIG}
+ echo "CONFIG_EAP_AKA=y" >> ${CONFIG}
+ echo "CONFIG_PCSC=y" >> ${CONFIG}
+ fi
+
+ if use readline; then
+ # readline/history support for wpa_cli
+ echo "CONFIG_READLINE=y" >> ${CONFIG}
+ fi
+
+ 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
+
+ # Linux specific drivers
+ echo "CONFIG_WIRELESS_EXTENSION=y" >> ${CONFIG}
+ echo "CONFIG_DRIVER_ATMEL=y" >> ${CONFIG}
+ echo "CONFIG_DRIVER_HOSTAP=y" >> ${CONFIG}
+ echo "CONFIG_DRIVER_IPW=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}/madwifi" >> ${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 "Please notice that the ipw2100 driver has changed name"
+ einfo "to ipw, meaning you will need to specify -Dipw to ${PN}"
+ einfo
+ einfo "An example configuration file has been installed as"
+ einfo "/etc/wpa_supplicant.conf.example"
+ einfo
+}