diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-11 09:41:00 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-11 09:41:00 +0000 |
commit | 7297affbf8c0c6b100cb59de36d175d4de2a3de2 (patch) | |
tree | 04cd9a37493837d6f665d07ed01b66a299eba72a /net-wireless/wpa_supplicant | |
parent | Add ~sparc keyword, mostly for bookkeeping. Works fine for me (U60(SMP), ffb... (diff) | |
download | gentoo-2-7297affbf8c0c6b100cb59de36d175d4de2a3de2.tar.gz gentoo-2-7297affbf8c0c6b100cb59de36d175d4de2a3de2.tar.bz2 gentoo-2-7297affbf8c0c6b100cb59de36d175d4de2a3de2.zip |
New stable release.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-wireless/wpa_supplicant')
-rw-r--r-- | net-wireless/wpa_supplicant/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/wpa_supplicant/Manifest | 24 | ||||
-rw-r--r-- | net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9 | 2 | ||||
-rw-r--r-- | net-wireless/wpa_supplicant/wpa_supplicant-0.3.9.ebuild | 111 |
4 files changed, 132 insertions, 12 deletions
diff --git a/net-wireless/wpa_supplicant/ChangeLog b/net-wireless/wpa_supplicant/ChangeLog index b8ff9bc73533..15e3173ede37 100644 --- a/net-wireless/wpa_supplicant/ChangeLog +++ b/net-wireless/wpa_supplicant/ChangeLog @@ -1,6 +1,11 @@ # 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.24 2005/05/27 07:57:34 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wpa_supplicant/ChangeLog,v 1.25 2005/06/11 09:41:00 brix Exp $ + +*wpa_supplicant-0.3.9 (11 Jun 2005) + + 11 Jun 2005; <brix@gentoo.org> +wpa_supplicant-0.3.9.ebuild: + New stable release. 27 May 2005; Lars Weiler <pylon@gentoo.org> wpa_supplicant-0.3.8.ebuild: Stable on ppc. diff --git a/net-wireless/wpa_supplicant/Manifest b/net-wireless/wpa_supplicant/Manifest index b7b1a1754ccf..8d41a0d0e5ac 100644 --- a/net-wireless/wpa_supplicant/Manifest +++ b/net-wireless/wpa_supplicant/Manifest @@ -1,20 +1,22 @@ -MD5 ef04ba020a435b09182559cf64b20f2f ChangeLog 7281 -MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 -MD5 4d2fd49e3994d5cabec6b9c26b92ea11 wpa_supplicant-0.2.7.ebuild 2722 +MD5 1c914826bb810161486a241d047eebc5 wpa_supplicant-0.3.9.ebuild 3078 MD5 5c367e1ee7f780b0d5539c68d1ec1100 wpa_supplicant-0.3.8.ebuild 3127 -MD5 8a525c1c0f9610f81add0b4e6fcf762d wpa_supplicant-0.4.0.ebuild 3291 MD5 7093cee7143930fcf60e66ab0b5df1b1 wpa_supplicant-0.4.1.ebuild 3497 -MD5 45abb8645fc71ba3dec029527af5375a files/wpa_supplicant-0.4.0-wpa_cli.action 1233 -MD5 5f93177414c5f5e6a21efb7aeb83ddb8 files/digest-wpa_supplicant-0.4.1 157 +MD5 4d2fd49e3994d5cabec6b9c26b92ea11 wpa_supplicant-0.2.7.ebuild 2722 +MD5 0ae60487334a1489dcf8f0b90c25e0ee ChangeLog 7404 +MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255 +MD5 8a525c1c0f9610f81add0b4e6fcf762d wpa_supplicant-0.4.0.ebuild 3291 +MD5 78e1b4e6585e53e08ba3210eb53d4258 files/wpa_supplicant-0.3.8-conf.d 394 MD5 1e84620fc5d91acb84e7a280c9adc0ea files/wpa_supplicant-0.4.1-conf.d 394 MD5 461b028eb4103f140fa88d33efbb640a files/digest-wpa_supplicant-0.2.7 156 MD5 6b30dfb43745d57ea0280e9fb1467546 files/digest-wpa_supplicant-0.3.8 157 +MD5 a5d385e515e9989ba56f4c89fd83091a files/digest-wpa_supplicant-0.3.9 157 +MD5 8a187dfdf8f03c84c486378b2b165f06 files/digest-wpa_supplicant-0.4.0 157 +MD5 5f93177414c5f5e6a21efb7aeb83ddb8 files/digest-wpa_supplicant-0.4.1 157 +MD5 95a04705cb8e47f8d4611186cffb6a96 files/wpa_supplicant-0.3.8-init.d 975 +MD5 aa75bd008ca09560a1567034a989b283 files/wpa_supplicant-0.4.1-init.d 975 MD5 38d9ee18b195a6ceb213c1c74a57aab9 files/wpa_supplicant-0.2.7-conf.d 398 MD5 d49276870258f0f4b9f8830e82553e7b files/wpa_supplicant-0.2.7-init.d 975 -MD5 78e1b4e6585e53e08ba3210eb53d4258 files/wpa_supplicant-0.3.8-conf.d 394 -MD5 95a04705cb8e47f8d4611186cffb6a96 files/wpa_supplicant-0.3.8-init.d 975 -MD5 8a187dfdf8f03c84c486378b2b165f06 files/digest-wpa_supplicant-0.4.0 157 +MD5 6ff8ebd7ae71a2838c63f9e7427f297c files/wpa_supplicant-0.4.1-wpa_cli.action 1233 MD5 035f82dc368ff221eb6580fbbf45ce39 files/wpa_supplicant-0.4.0-conf.d 394 +MD5 45abb8645fc71ba3dec029527af5375a files/wpa_supplicant-0.4.0-wpa_cli.action 1233 MD5 76ed26073c863e8f5a59de859c510694 files/wpa_supplicant-0.4.0-init.d 975 -MD5 aa75bd008ca09560a1567034a989b283 files/wpa_supplicant-0.4.1-init.d 975 -MD5 6ff8ebd7ae71a2838c63f9e7427f297c files/wpa_supplicant-0.4.1-wpa_cli.action 1233 diff --git a/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9 b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9 new file mode 100644 index 000000000000..ad7be5d42221 --- /dev/null +++ b/net-wireless/wpa_supplicant/files/digest-wpa_supplicant-0.3.9 @@ -0,0 +1,2 @@ +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/wpa_supplicant-0.3.9.ebuild b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.9.ebuild new file mode 100644 index 000000000000..e64ef5138a51 --- /dev/null +++ b/net-wireless/wpa_supplicant/wpa_supplicant-0.3.9.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.9.ebuild,v 1.1 2005/06/11 09:41:00 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="~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 +} + +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 +} |