diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-22 12:48:06 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-08-22 12:48:06 +0000 |
commit | ba26b877581678bb414daf857a896c1acee76ae2 (patch) | |
tree | 0f2ac9f47f7f7b8f76de2406cc56975a6a13d0a2 /net-wireless/hostap-driver | |
parent | Make apm and acpid dependency conditional on Linux kernel as per bug #103123. (diff) | |
download | historical-ba26b877581678bb414daf857a896c1acee76ae2.tar.gz historical-ba26b877581678bb414daf857a896c1acee76ae2.tar.bz2 historical-ba26b877581678bb414daf857a896c1acee76ae2.zip |
Version bump.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-wireless/hostap-driver')
5 files changed, 123 insertions, 2 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index f9d3148355e4..0cb8dc286870 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.42 2005/08/16 12:34:58 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.43 2005/08/22 12:48:06 brix Exp $ + +*hostap-driver-0.4.4 (22 Aug 2005) + + 22 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/hostap-driver-0.4.4-firmware.patch, +hostap-driver-0.4.4.ebuild: + Version bump. 16 Aug 2005; Henrik Brix Andersen <brix@gentoo.org> hostap-driver-0.3.9.ebuild: diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index ca9f5859c129..00eaed34b0fb 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -1,11 +1,14 @@ MD5 47085a6a44c13e4ca6a2599fe6585cb5 hostap-driver-0.3.7.ebuild 2716 MD5 f493ca27e9bc7ac772ba021782faaee9 hostap-driver-0.3.9.ebuild 2468 +MD5 86234871226a830ae2ad80bff82f4c9d hostap-driver-0.4.4.ebuild 2579 MD5 c3989ef4829c2cd4e35017d1cb755e9f hostap-driver-0.4.1.ebuild 2469 -MD5 2c9e11196c068bd06b98c0a476e014a5 ChangeLog 7976 +MD5 e20ca644c19083ba3d6ddc70c029962e ChangeLog 8157 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 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 b414820b5fa133ecc86165c83e3bff5b files/hostap-driver-0.4.1-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.4 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.4 new file mode 100644 index 000000000000..276df4a56a97 --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.4 @@ -0,0 +1 @@ +MD5 e9b4a5cb992e06c3c6bf2bc99eca6625 hostap-driver-0.4.4.tar.gz 202307 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.4-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.4-firmware.patch new file mode 100644 index 000000000000..7302938a14ff --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.4-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.4.4/driver/modules/hostap_config.h hostap-driver-0.4.4-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.4.4/driver/modules/hostap_config.h 2005-08-21 21:24:43.000000000 +0200 ++++ hostap-driver-0.4.4-firmware/driver/modules/hostap_config.h 2005-08-22 00:18:56.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.4.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.4.ebuild new file mode 100644 index 000000000000..79851792cc04 --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.4.4.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.4.ebuild,v 1.1 2005/08/22 12:48:06 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="~x86 ~ppc" +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 +} |