diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-27 09:57:27 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-04-27 09:57:27 +0000 |
commit | 3d0cf1639835d8e8adcb624e8db1067a04f81ce3 (patch) | |
tree | 037b5142f64e808a5470ec36a8b3c1ca1f61cfee /net-wireless | |
parent | alpha stable (diff) | |
download | gentoo-2-3d0cf1639835d8e8adcb624e8db1067a04f81ce3.tar.gz gentoo-2-3d0cf1639835d8e8adcb624e8db1067a04f81ce3.tar.bz2 gentoo-2-3d0cf1639835d8e8adcb624e8db1067a04f81ce3.zip |
New development snapshot.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'net-wireless')
5 files changed, 121 insertions, 1 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index ae0bc5b986c3..2976f2942355 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.35 2005/04/16 09:05:40 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.36 2005/04/27 09:57:27 brix Exp $ + +*hostap-driver-0.4.0 (27 Apr 2005) + + 27 Apr 2005; <brix@gentoo.org> +files/hostap-driver-0.4.0-firmware.patch, + +hostap-driver-0.4.0.ebuild: + New development snapshot. 16 Apr 2005; <brix@gentoo.org> hostap-driver-0.3.7.ebuild: Stable on x86. diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index 312580a42e4a..fe557527d93f 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -1,11 +1,14 @@ MD5 7a12001557f4b22aeb53aec8c27dc87f hostap-driver-0.3.7.ebuild 2758 +MD5 d504d00e06b8726117f2bc48f78734ae hostap-driver-0.4.0.ebuild 2372 MD5 e07067013550cc1d44ba949484adfdbe hostap-driver-0.2.6-r1.ebuild 2867 MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607 MD5 e8380ad0cbeba12d931c419137d912c3 ChangeLog 6781 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 +MD5 2d9db693839a9fb5d88d8e5c1fa13170 files/hostap-driver-0.4.0-firmware.patch 739 MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441 MD5 2867dcc26d843b380c5c6be06a89a9af files/digest-hostap-driver-0.2.6-r1 441 MD5 176b7133187acc58466f505d727149ac files/digest-hostap-driver-0.3.7 441 +MD5 2b82d64ebc2aa9b711920761843b7368 files/digest-hostap-driver-0.4.0 71 MD5 d76aa90f71a4ef13a49ccca8863b66ba files/hostap-driver-0.2.6-firmware.patch 739 MD5 9451f65d0b1724a60a07b9310d9ebc52 files/hostap-driver-0.2.5.firmware.diff.bz2 472 MD5 4e679442c5b3b53a929b470fdccef35e files/hostap-driver-0.3.7-firmware.patch 739 diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.0 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.0 new file mode 100644 index 000000000000..63c596abfd1b --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.0 @@ -0,0 +1 @@ +MD5 aceb13fcdbe7c59b36318c2444346a27 hostap-driver-0.4.0.tar.gz 201080 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.0-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.0-firmware.patch new file mode 100644 index 000000000000..e279f0c60d50 --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.0-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.4.0/driver/modules/hostap_config.h hostap-driver-0.4.0-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.4.0/driver/modules/hostap_config.h 2005-04-26 04:47:23.000000000 +0200 ++++ hostap-driver-0.4.0-firmware/driver/modules/hostap_config.h 2005-04-26 11:16:33.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.0.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.0.ebuild new file mode 100644 index 000000000000..2165cb6882f9 --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.4.0.ebuild @@ -0,0 +1,98 @@ +# 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.0.ebuild,v 1.1 2005/04/27 09:57:27 brix Exp $ + +inherit toolchain-funcs eutils linux-mod + +DESCRIPTION="HostAP wireless drivers" +HOMEPAGE="http://hostap.epitest.fi" +SRC_URI="${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_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}/${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() { + 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 + + 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 +} |