summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-02-07 11:42:55 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-02-07 11:42:55 +0000
commit4a964e486d0aad947160fecf1cd847d75669ddfa (patch)
treeb7dc7701fa1c452ecec8fb874b2e55cfa49e6ae8 /net-wireless
parentbug 56541, tests disabled (diff)
downloadhistorical-4a964e486d0aad947160fecf1cd847d75669ddfa.tar.gz
historical-4a964e486d0aad947160fecf1cd847d75669ddfa.tar.bz2
historical-4a964e486d0aad947160fecf1cd847d75669ddfa.zip
Added pre-release of 0.3.7 which is supposed to go stable soon, please test.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/wpa_supplicant/ChangeLog9
-rw-r--r--net-wireless/wpa_supplicant/Manifest6
-rw-r--r--net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7_pre2
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-conf.d12
-rw-r--r--net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-init.d42
-rw-r--r--net-wireless/wpa_supplicant/wpa_supplicant-0.3.7_pre.ebuild114
6 files changed, 183 insertions, 2 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog
index f046e6555ebe..8b070aae6b7e 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.15 2005/01/25 18:43:14 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.16 2005/02/07 11:42:55 brix Exp $
+
+*wpa_supplicant-0.3.7_pre (07 Feb 2005)
+
+ 07 Feb 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/wpa_supplicant-0.3.7_pre-conf.d,
+ +files/wpa_supplicant-0.3.7_pre-init.d, +wpa_supplicant-0.3.7_pre.ebuild:
+ Added pre-release of 0.3.7 which is supposed to go stable soon, please test.
25 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
-files/wpa_supplicant-0.2.5-conf.d, -files/wpa_supplicant-0.2.5-config,
diff --git a/net-wireless/wpa_supplicant/Manifest b/net-wireless/wpa_supplicant/Manifest
index 9cf508a8f5a3..6b6f3ec3353b 100644
--- a/net-wireless/wpa_supplicant/Manifest
+++ b/net-wireless/wpa_supplicant/Manifest
@@ -1,10 +1,14 @@
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 d95528657277ed34b43d1bad03ef932c ChangeLog 5143
+MD5 7e344d8ae7da7ccf22de0b8c1e8ecea3 ChangeLog 5436
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 b6de7c7e0a8eaf16020235a532745537 files/digest-wpa_supplicant-0.3.7_pre 161
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_pre b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7_pre
new file mode 100644
index 000000000000..9e75047dd589
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.7_pre
@@ -0,0 +1,2 @@
+MD5 4b0a4f572f465c1c776e693050bc9bb5 wpa_supplicant-0.3.7-pre.tar.gz 301077
+MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914
diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-conf.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-conf.d
new file mode 100644
index 000000000000..e2d0d9b52560
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-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_pre-conf.d,v 1.1 2005/02/07 11:42:55 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_pre-init.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-init.d
new file mode 100644
index 000000000000..ec22e06df8c3
--- /dev/null
+++ b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.7_pre-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_pre-init.d,v 1.1 2005/02/07 11:42:55 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_pre.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.7_pre.ebuild
new file mode 100644
index 000000000000..f27d4edddd94
--- /dev/null
+++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.7_pre.ebuild
@@ -0,0 +1,114 @@
+# 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_pre.ebuild,v 1.1 2005/02/07 11:42:55 brix Exp $
+
+inherit toolchain-funcs
+
+MY_P=${PN}-${PV/_/-}
+S=${WORKDIR}/${MY_P}
+
+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/testing/${MY_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
+}