diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-17 10:19:19 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-10-17 10:19:19 +0000 |
commit | c4b3217db59e3489471eb4ff7ac10bbc4b44acd9 (patch) | |
tree | 4b687d6809820b65811dac264cf2374e2ffc8b41 /net-wireless/hostap-driver | |
parent | version bump. added homepage to 0.0.6 (diff) | |
download | gentoo-2-c4b3217db59e3489471eb4ff7ac10bbc4b44acd9.tar.gz gentoo-2-c4b3217db59e3489471eb4ff7ac10bbc4b44acd9.tar.bz2 gentoo-2-c4b3217db59e3489471eb4ff7ac10bbc4b44acd9.zip |
New development snapshot, bug #108319.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-wireless/hostap-driver')
5 files changed, 130 insertions, 9 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index ff6c0749c1e4..22e93082ec85 100644 --- a/net-wireless/hostap-driver/ChangeLog +++ b/net-wireless/hostap-driver/ChangeLog @@ -1,6 +1,12 @@ # 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.45 2005/09/17 09:57:19 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.46 2005/10/17 10:14:45 brix Exp $ + +*hostap-driver-0.4.5 (17 Oct 2005) + + 17 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/hostap-driver-0.4.5-firmware.patch, +hostap-driver-0.4.5.ebuild: + New development snapshot, bug #108319. 17 Sep 2005; Simon Stelling <blubb@gentoo.org> hostap-driver-0.4.4.ebuild: added ~amd64 keyword diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index 82a9411bb10d..3eb0808fa5c1 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -1,14 +1,17 @@ -MD5 01853f68a95c129791f46dc26e109ca0 ChangeLog 8271 -MD5 5f5fb4615d0045ffe9727824ef14b131 hostap-driver-0.4.4.ebuild 2587 MD5 47085a6a44c13e4ca6a2599fe6585cb5 hostap-driver-0.3.7.ebuild 2716 -MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 -MD5 c3989ef4829c2cd4e35017d1cb755e9f hostap-driver-0.4.1.ebuild 2469 +MD5 4d0c55d310ccd2beaedb04a05f2d3a57 hostap-driver-0.4.5.ebuild 2473 MD5 f493ca27e9bc7ac772ba021782faaee9 hostap-driver-0.3.9.ebuild 2468 -MD5 73554113a858ba75db45b9c53ff1863a files/digest-hostap-driver-0.4.4 71 +MD5 5f5fb4615d0045ffe9727824ef14b131 hostap-driver-0.4.4.ebuild 2587 +MD5 c3989ef4829c2cd4e35017d1cb755e9f hostap-driver-0.4.1.ebuild 2469 +MD5 bcd9262d44609f00f6ed730dffcb875c ChangeLog 8477 +MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 MD5 2ada7ac885f4fa87c2b3c4a6ad443a34 files/hostap-driver-0.4.4-firmware.patch 739 +MD5 8214baf7253070b31cf2d9f976229bec files/hostap-driver-0.3.9-firmware.patch 739 MD5 c28ccef49868cb855e9832c66e146318 files/digest-hostap-driver-0.3.7 71 -MD5 4e679442c5b3b53a929b470fdccef35e files/hostap-driver-0.3.7-firmware.patch 739 +MD5 d56a1f3da96fc43c6a4a13838b71d3f6 files/digest-hostap-driver-0.3.9 71 MD5 4ddbfa2123a5985cf0494985b1d7414f files/digest-hostap-driver-0.4.1 71 +MD5 73554113a858ba75db45b9c53ff1863a files/digest-hostap-driver-0.4.4 71 +MD5 82eda6411d5c161f573545f0edc56a74 files/digest-hostap-driver-0.4.5 71 MD5 b414820b5fa133ecc86165c83e3bff5b files/hostap-driver-0.4.1-firmware.patch 739 -MD5 d56a1f3da96fc43c6a4a13838b71d3f6 files/digest-hostap-driver-0.3.9 71 -MD5 8214baf7253070b31cf2d9f976229bec files/hostap-driver-0.3.9-firmware.patch 739 +MD5 58a1e32c0e120c634d7c3fa813fcc7f9 files/hostap-driver-0.4.5-firmware.patch 739 +MD5 4e679442c5b3b53a929b470fdccef35e files/hostap-driver-0.3.7-firmware.patch 739 diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.5 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.5 new file mode 100644 index 000000000000..63d2c23e7b76 --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.5 @@ -0,0 +1 @@ +MD5 8ee17f206e035075b20fcba96b168234 hostap-driver-0.4.5.tar.gz 202539 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.5-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.5-firmware.patch new file mode 100644 index 000000000000..c660fc7a9b15 --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.5-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.4.5/driver/modules/hostap_config.h hostap-driver-0.4.5-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.4.5/driver/modules/hostap_config.h 2005-09-26 03:42:30.000000000 +0200 ++++ hostap-driver-0.4.5-firmware/driver/modules/hostap_config.h 2005-10-17 10:43:22.000000000 +0200 +@@ -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.4.5.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.5.ebuild new file mode 100644 index 000000000000..bc06eeb207e4 --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.4.5.ebuild @@ -0,0 +1,99 @@ +# 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.4.5.ebuild,v 1.1 2005/10/17 10:14:45 brix Exp $ + +inherit toolchain-funcs eutils linux-mod + +DESCRIPTION="Driver for Intersil Prism2/2.5/3 based IEEE 802.11b wireless LAN products" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="http://hostap.epitest.fi/releases/${P}.tar.gz" +LICENSE="GPL-2" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="pcmcia" +SLOT="0" + +RDEPEND=">=net-wireless/wireless-tools-25" + +BUILD_TARGETS="all" +MODULESD_HOSTAP_DOCS="README" +MODULESD_HOSTAP_CRYPT_WEP_ENABLED="no" +MODULESD_HOSTAP_CRYPT_TKIP_ENABLED="no" +MODULESD_HOSTAP_CRYPT_CCMP_ENABLED="no" + +CONFIG_CHECK="NET_RADIO" +NET_RADIO_ERROR="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + +pkg_setup() { + linux-mod_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 + + BUILD_PARAMS="KERNEL_PATH=${KV_DIR}" +} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-firmware.patch + + sed -i \ + -e "s:gcc:$(tc-getCC):" \ + -e "s:tail -1:tail -n 1:" \ + ${S}/Makefile + + if use pcmcia; then + # unpack the pcmcia-cs sources if needed + pcmcia_src_unpack + + # 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 + fi + + convert_to_m ${S}/Makefile +} + +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 + + 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 +} |