diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-02-07 11:05:03 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-02-07 11:05:03 +0000 |
commit | 190498bbbfcd15ae236490daf83e4f859614a235 (patch) | |
tree | 40cc597e136f94256189e8c25f51711132649bcd /net-wireless | |
parent | New dep for app-misc/smsm. Also provides /usr/bin/yahooquote. (diff) | |
download | historical-190498bbbfcd15ae236490daf83e4f859614a235.tar.gz historical-190498bbbfcd15ae236490daf83e4f859614a235.tar.bz2 historical-190498bbbfcd15ae236490daf83e4f859614a235.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/hostap-driver/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/hostap-driver/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre | 6 | ||||
-rw-r--r-- | net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch | 12 | ||||
-rw-r--r-- | net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild | 110 | ||||
-rw-r--r-- | net-wireless/hostap-utils/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/hostap-utils/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7_pre | 1 | ||||
-rw-r--r-- | net-wireless/hostap-utils/hostap-utils-0.3.7_pre.ebuild | 34 | ||||
-rw-r--r-- | net-wireless/hostapd/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/hostapd/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/files/digest-hostapd-0.3.7_pre | 2 | ||||
-rw-r--r-- | net-wireless/hostapd/hostapd-0.3.7_pre.ebuild | 83 |
13 files changed, 278 insertions, 3 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index 8e5a7156e41c..5a44c6140040 100644 --- a/net-wireless/hostap-driver/ChangeLog +++ b/net-wireless/hostap-driver/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/hostap-driver # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.31 2005/01/25 18:56:42 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.32 2005/02/07 10:58:16 brix Exp $ + +*hostap-driver-0.3.7_pre (07 Feb 2005) + + 07 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/hostap-driver-0.3.7-pre-firmware.patch, + +hostap-driver-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/hostap-driver-0.3.0-firmware.patch, diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index cef5c3c8a9e3..947844027ac2 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -3,7 +3,10 @@ MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607 MD5 42aa3ecf95b383b035f3153bb787c7e2 hostap-driver-0.3.5.ebuild 2699 MD5 51096ae53e0172c943c3e69b5e02f4fd ChangeLog 6007 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 +MD5 7cd6f8add006b83e257673ce11c0b9e3 hostap-driver-0.3.7_pre.ebuild 2696 +MD5 c1cae3b48ae4a971e11f458998f374e1 files/hostap-driver-0.3.7-pre-firmware.patch 755 MD5 6990675b20aab8dbcda3b2cd082cbd9a files/hostap-driver-0.3.5-firmware.patch 739 +MD5 945888121214f57eab655b6f1bdd9e64 files/digest-hostap-driver-0.3.7_pre 445 MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441 MD5 2867dcc26d843b380c5c6be06a89a9af files/digest-hostap-driver-0.2.6-r1 441 MD5 074dc33c1415026d4491a0008ecbc883 files/digest-hostap-driver-0.3.5 441 diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre new file mode 100644 index 000000000000..e85d2715d15c --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre @@ -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 c6e19f9a277c1d9cfe9d2e9cc58b8705 hostap-driver-0.3.7-pre.tar.gz 200658 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch new file mode 100644 index 000000000000..8881b6611d29 --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.3.7-pre/driver/modules/hostap_config.h hostap-driver-0.3.7-pre-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.3.7-pre/driver/modules/hostap_config.h 2005-02-07 04:38:07.000000000 +0100 ++++ hostap-driver-0.3.7-pre-firmware/driver/modules/hostap_config.h 2005-02-07 10:25:31.000000000 +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.7_pre.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild new file mode 100644 index 000000000000..fd7254122e3f --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2005 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.7_pre.ebuild,v 1.1 2005/02/07 10:58:16 brix Exp $ + +inherit toolchain-funcs eutils pcmcia linux-mod + +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="HostAP wireless drivers" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="${SRC_URI} http://hostap.epitest.fi/releases/testing/${MY_P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~x86 ~ppc" +IUSE="pcmcia" +SLOT="0" + +RDEPEND=">=net-wireless/wireless-tools-25" + +BUILD_PARAMS="KERNEL_PATH=${KV_DIR}" +BUILD_TARGETS="all" +MODULESD_HOSTAP_DOCS="README" + +CONFIG_CHECK="NET_RADIO" +NET_RADIO_ERROR="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + +pkg_setup() { + MODULE_NAMES="hostap(net::${S}/driver/modules) + hostap_pci(net::${S}/driver/modules) + hostap_plx(net::${S}/driver/modules) + hostap_crypt_wep(net::${S}/driver/modules) + hostap_crypt_ccmp(net::${S}/driver/modules) + hostap_crypt_tkip(net::${S}/driver/modules)" + + if use pcmcia; then + MODULE_NAMES="${MODULE_NAMES} hostap_cs(net::${S}/driver/modules)" + fi + + linux-mod_pkg_setup +} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${MY_P}-firmware.patch + + # set compiler + sed -i "s:gcc:$(tc-getCC):" ${S}/Makefile + + # unpack the pcmcia-cs sources if needed + pcmcia_src_unpack + + # 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 + + convert_to_m ${S}/Makefile +} + +src_compile() { + pcmcia_configure + linux-mod_src_compile +} + +src_install() { + if use pcmcia; then + insinto /etc/pcmcia + doins driver/etc/hostap_cs.conf + fi + + dodoc ChangeLog + + linux-mod_src_install +} + +pkg_postinst() { + 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 "" + + linux-mod_pkg_postinst +} diff --git a/net-wireless/hostap-utils/ChangeLog b/net-wireless/hostap-utils/ChangeLog index 592a28d856ca..51aef733f5d2 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.19 2005/01/25 18:46:58 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-utils/ChangeLog,v 1.20 2005/02/07 11:05:02 brix Exp $ + +*hostap-utils-0.3.7_pre (07 Feb 2005) + + 07 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> + +hostap-utils-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> -hostap-utils-0.3.0.ebuild: diff --git a/net-wireless/hostap-utils/Manifest b/net-wireless/hostap-utils/Manifest index 3cea1d89c741..ebcdfe155448 100644 --- a/net-wireless/hostap-utils/Manifest +++ b/net-wireless/hostap-utils/Manifest @@ -1,8 +1,11 @@ MD5 f266bab830757c79968697a1c0eb9a17 hostap-utils-0.2.4.ebuild 726 MD5 e2ca0b0fbef37c3454708dc3d03ac0d6 hostap-utils-0.3.2.ebuild 694 MD5 2c53d4316c073382d1f23a6955f95990 hostap-utils-0.2.6.ebuild 693 +MD5 a5418439bcbdd3f21b977e029cf265c7 hostapd-0.3.7_pre.ebuild 2182 +MD5 3f523016205e0b2aad977f7e96879046 hostap-utils-0.3.7_pre.ebuild 630 MD5 1d95df13db8bb66b83f59af038ddba5f ChangeLog 2923 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 5d2474d251315d7a2652499b1bb9d088 files/digest-hostap-utils-0.3.7_pre 73 diff --git a/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7_pre b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7_pre new file mode 100644 index 000000000000..1a83930a25fb --- /dev/null +++ b/net-wireless/hostap-utils/files/digest-hostap-utils-0.3.7_pre @@ -0,0 +1 @@ +MD5 fbb5af1475d5b3ed20cb1f3afd9805ed hostap-utils-0.3.7-pre.tar.gz 59664 diff --git a/net-wireless/hostap-utils/hostap-utils-0.3.7_pre.ebuild b/net-wireless/hostap-utils/hostap-utils-0.3.7_pre.ebuild new file mode 100644 index 000000000000..d83729a6e110 --- /dev/null +++ b/net-wireless/hostap-utils/hostap-utils-0.3.7_pre.ebuild @@ -0,0 +1,34 @@ +# 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_pre.ebuild,v 1.1 2005/02/07 11:05:02 brix Exp $ + +inherit toolchain-funcs + +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="HostAP wireless utils" + +HOMEPAGE="http://hostap.epitest.fi/" +SRC_URI="http://hostap.epitest.fi/releases/testing/${MY_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 201207a2537f..deba5760f742 100644 --- a/net-wireless/hostapd/ChangeLog +++ b/net-wireless/hostapd/ChangeLog @@ -1,6 +1,12 @@ # 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.21 2005/01/25 18:50:35 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostapd/ChangeLog,v 1.22 2005/02/07 11:00:16 brix Exp $ + +*hostapd-0.3.7_pre (07 Feb 2005) + + 07 Feb 2005; Henrik Brix Andersen <brix@gentoo.org> + +hostapd-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> -hostapd-0.2.4.ebuild, -hostapd-0.3.0.ebuild, -hostapd-0.3.1.ebuild, -hostapd-0.3.2.ebuild, diff --git a/net-wireless/hostapd/Manifest b/net-wireless/hostapd/Manifest index 65d5444778c4..9a6dce79ae2d 100644 --- a/net-wireless/hostapd/Manifest +++ b/net-wireless/hostapd/Manifest @@ -1,4 +1,5 @@ MD5 ffda06509787f2a0d4d8687072ab000d hostapd-0.2.5.ebuild 1020 +MD5 a5418439bcbdd3f21b977e029cf265c7 hostapd-0.3.7_pre.ebuild 2182 MD5 a49f282de21859e37bcbbcec7b0cb692 hostapd-0.3.5.ebuild 2135 MD5 e1948d4ae3d8cd344d53ecb6166d2192 hostapd-0.2.6.ebuild 1021 MD5 885a6c87989e4c96b7c6fac76d5b02d9 ChangeLog 3187 @@ -7,3 +8,4 @@ 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 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_pre b/net-wireless/hostapd/files/digest-hostapd-0.3.7_pre new file mode 100644 index 000000000000..da3ee2cfd5f1 --- /dev/null +++ b/net-wireless/hostapd/files/digest-hostapd-0.3.7_pre @@ -0,0 +1,2 @@ +MD5 5784332ccf76f7fb23fe652e75ac63c4 hostapd-0.3.7-pre.tar.gz 246203 +MD5 8237d57be31464ddd7a710704e6755f0 madwifi-cvs-snapshot-2005-01-07.tar.bz2 1586914 diff --git a/net-wireless/hostapd/hostapd-0.3.7_pre.ebuild b/net-wireless/hostapd/hostapd-0.3.7_pre.ebuild new file mode 100644 index 000000000000..a25bdc9fbefd --- /dev/null +++ b/net-wireless/hostapd/hostapd-0.3.7_pre.ebuild @@ -0,0 +1,83 @@ +# 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_pre.ebuild,v 1.1 2005/02/07 11:00:18 brix Exp $ + +inherit toolchain-funcs + +MY_P=${P/_/-} +S=${WORKDIR}/${MY_P} + +MADWIFI_VERSION="2005-01-07" + +DESCRIPTION="HostAP wireless daemon" +HOMEPAGE="http://hostap.epitest.fi" +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" + +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 + + exeinto /etc/init.d + newexe ${FILESDIR}/hostapd.init.d hostapd + + dodoc ChangeLog developer.txt README + + docinto examples + dodoc madwifi.conf wired.conf +} |