diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-03 10:23:46 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-03 10:23:46 +0000 |
commit | c7e00b974387523a97f78d0ace78b4caf7823aeb (patch) | |
tree | 90dd80c9a375b1fa1d7bb83b9028b8e9a8cc1bea /net-wireless | |
parent | Pruned old ebuilds. (diff) | |
download | gentoo-2-c7e00b974387523a97f78d0ace78b4caf7823aeb.tar.gz gentoo-2-c7e00b974387523a97f78d0ace78b4caf7823aeb.tar.bz2 gentoo-2-c7e00b974387523a97f78d0ace78b4caf7823aeb.zip |
Pruned old ebuilds.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless')
11 files changed, 8 insertions, 538 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog index e84f3eba0594..569ff9f39a06 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-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.48 2006/01/30 22:37:36 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.49 2006/02/03 10:23:46 brix Exp $ + + 03 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/wpa_supplicant-0.3.8-r1-conf.d, + -files/wpa_supplicant-0.3.8-r1-init.d, -wpa_supplicant-0.3.8-r1.ebuild, + -wpa_supplicant-0.3.9-r1.ebuild, -wpa_supplicant-0.4.5.ebuild, + -wpa_supplicant-0.4.6.ebuild: + Pruned old ebuilds. *wpa_supplicant-0.5.1 (30 Jan 2006) diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.8-r1 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.8-r1 deleted file mode 100644 index 411f97af04d3..000000000000 --- a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.8-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c9ced104f0322f834a84336c293b4b57 wpa_supplicant-0.3.8.tar.gz 301163 -MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914 diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9-r1 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9-r1 deleted file mode 100644 index ad7be5d42221..000000000000 --- a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 113873aafc4fcaa0515841a6f0a17fd0 wpa_supplicant-0.3.9.tar.gz 310421 -MD5 efb9130cf1dcb829caa43af4e0bee2fb madwifi-cvs-snapshot-2005-04-20.tar.bz2 1968548 diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.5 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.5 deleted file mode 100644 index cc9c43ebf6d3..000000000000 --- a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 28347563119f09fc963bcdf9d16265a3 wpa_supplicant-0.4.5.tar.gz 442393 diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.6 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.6 deleted file mode 100644 index 552c21845121..000000000000 --- a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.4.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 ac2034256c258fd9f1d3ffa65940396f wpa_supplicant-0.4.6.tar.gz 487256 diff --git a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.8-r1-conf.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.8-r1-conf.d deleted file mode 100644 index 2be808844cc5..000000000000 --- a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.8-r1-conf.d +++ /dev/null @@ -1,12 +0,0 @@ -# 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.8-r1-conf.d,v 1.1 2005/07/13 18:18:51 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.8-r1-init.d b/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.8-r1-init.d deleted file mode 100644 index 35c214e6e3ba..000000000000 --- a/net-wireless/wpa_supplicant/files/wpa_supplicant-0.3.8-r1-init.d +++ /dev/null @@ -1,41 +0,0 @@ -#!/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.8-r1-init.d,v 1.1 2005/07/13 18:18:51 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 /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 /sbin/wpa_supplicant - eend ${?} -} diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.3.8-r1.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.8-r1.ebuild deleted file mode 100644 index e77ea87f3f23..000000000000 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.3.8-r1.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# 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.8-r1.ebuild,v 1.2 2005/07/19 18:33:55 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="~amd64 ppc x86" -IUSE="gsm readline ssl" - -DEPEND="gsm? ( sys-apps/pcsc-lite ) - readline? ( sys-libs/ncurses - sys-libs/readline ) - ssl? ( dev-libs/openssl ) - >=sys-apps/baselayout-1.11.13" - -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() { - into / - - 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 - - newinitd ${FILESDIR}/${PF}-init.d wpa_supplicant || die - newconfd ${FILESDIR}/${PF}-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 -} diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.3.9-r1.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.9-r1.ebuild deleted file mode 100644 index c6cfb44e1ee3..000000000000 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.3.9-r1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# 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.9-r1.ebuild,v 1.2 2005/08/16 12:37:22 brix Exp $ - -inherit toolchain-funcs - -MY_P=${PN}-${PV/_/-} -S=${WORKDIR}/${MY_P} - -MADWIFI_VERSION="2005-04-20" - -DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" -HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" -SRC_URI="http://hostap.epitest.fi/releases/${MY_P}.tar.gz - mirror://gentoo/madwifi-cvs-snapshot-${MADWIFI_VERSION}.tar.bz2" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="gsm readline ssl" - -DEPEND="gsm? ( sys-apps/pcsc-lite ) - readline? ( sys-libs/ncurses - sys-libs/readline ) - ssl? ( dev-libs/openssl ) - >=sys-apps/baselayout-1.11.13" - -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() { - into / - - 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 -} - -pkg_postinst() { - einfo - einfo "To use ${MY_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 - einfo "Please note that the wpa_supplicant init script has been" - einfo "removed in favor of sys-apps/baselayout-1.11.x" - einfo -} diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.5.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.4.5.ebuild deleted file mode 100644 index 9efc4f4ec6d4..000000000000 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.5.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# 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.4.5.ebuild,v 1.2 2005/11/25 13:26:07 brix Exp $ - -inherit eutils toolchain-funcs - -MY_P=${PN}-${PV/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" -HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" -SRC_URI="http://hostap.epitest.fi/releases/${MY_P}.tar.gz" -LICENSE="|| ( GPL-2 BSD )" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gsm madwifi qt readline ssl" - -DEPEND="gsm? ( sys-apps/pcsc-lite ) - qt? ( =x11-libs/qt-3* ) - readline? ( sys-libs/ncurses - sys-libs/readline ) - ssl? ( dev-libs/openssl ) - madwifi? ( >=net-wireless/madwifi-driver-0.1_pre20050420-r1 ) - >=sys-apps/baselayout-1.11.13" - -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_BACKEND=file" >> ${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} - echo "CONFIG_SMARTCARD=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} - echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} - - if use madwifi; then - # Add include path for madwifi-driver headers - echo "CFLAGS += -I/usr/include/madwifi" >> ${CONFIG} - echo "CONFIG_DRIVER_MADWIFI=y" >> ${CONFIG} - fi -} - -src_compile() { - emake || die "emake failed" - - if use qt; then - [[ -d ${QTDIR}/etc/settings ]] && addwrite ${QTDIR}/etc/settings - emake wpa_gui || die "emake wpa_gui failed" - fi -} - -src_install() { - into / - - dosbin wpa_supplicant - dobin wpa_cli wpa_passphrase - - newsbin ${FILESDIR}/${MY_P}-wpa_cli.action wpa_cli.action - - if use qt; then - into /usr - dobin wpa_gui/wpa_gui - fi - - dodoc ChangeLog COPYING eap_testing.txt README todo.txt - dodoc doc/wpa_supplicant.fig - - insinto /etc - newins wpa_supplicant.conf wpa_supplicant.conf.example - - doman doc/docbook/*.8 - doman doc/docbook/*.5 -} - -pkg_postinst() { - einfo - einfo "To use ${MY_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 - if use madwifi; then - einfo "This package now compiles against the headers installed by" - einfo "net-wireless/madwifi-driver. You should remerge ${PN} after" - einfo "upgrading net-wireless/madwifi-driver." - einfo - fi -} diff --git a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.6.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.4.6.ebuild deleted file mode 100644 index e1ada8193757..000000000000 --- a/net-wireless/wpa_supplicant/wpa_supplicant-0.4.6.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# 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.4.6.ebuild,v 1.3 2005/11/25 13:26:07 brix Exp $ - -inherit eutils toolchain-funcs - -MY_P=${PN}-${PV/_/-} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="IEEE 802.1X/WPA supplicant for secure wireless transfers" -HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/" -SRC_URI="http://hostap.epitest.fi/releases/${MY_P}.tar.gz" -LICENSE="|| ( GPL-2 BSD )" - -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="gsm qt readline ssl" - -DEPEND="gsm? ( sys-apps/pcsc-lite ) - qt? ( =x11-libs/qt-3* ) - 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_BACKEND=file" >> ${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} - echo "CONFIG_SMARTCARD=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} - echo "CONFIG_DRIVER_WIRED=y" >> ${CONFIG} -} - -src_compile() { - emake || die "emake failed" - - if use qt; then - [[ -d ${QTDIR}/etc/settings ]] && addwrite ${QTDIR}/etc/settings - emake wpa_gui || die "emake wpa_gui failed" - fi -} - -src_install() { - into / - - dosbin wpa_supplicant - dobin wpa_cli wpa_passphrase - - newsbin ${FILESDIR}/${MY_P}-wpa_cli.action wpa_cli.action - - if use qt; then - into /usr - dobin wpa_gui/wpa_gui - fi - - dodoc ChangeLog COPYING eap_testing.txt README todo.txt - dodoc doc/wpa_supplicant.fig - - docinto examples - dodoc examples/* - - insinto /etc - newins wpa_supplicant.conf wpa_supplicant.conf.example - - doman doc/docbook/*.8 - doman doc/docbook/*.5 -} - -pkg_postinst() { - einfo - einfo "To use ${MY_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 -} |