diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-21 10:38:03 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-11-21 10:38:03 +0000 |
commit | a50e9e31fb3427afb30865193e3ebd64782f6b82 (patch) | |
tree | 4bca318b4217b6d6801e7ec3cac972837086bb9f /net-wireless/hostap-driver | |
parent | Marked ~amd64. (diff) | |
download | gentoo-2-a50e9e31fb3427afb30865193e3ebd64782f6b82.tar.gz gentoo-2-a50e9e31fb3427afb30865193e3ebd64782f6b82.tar.bz2 gentoo-2-a50e9e31fb3427afb30865193e3ebd64782f6b82.zip |
First release of new stable branch.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-wireless/hostap-driver')
5 files changed, 132 insertions, 2 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog index 2bc73f2159d1..76fadf69d7b2 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.48 2005/10/29 12:53:55 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.49 2005/11/21 10:34:31 brix Exp $ + +*hostap-driver-0.4.7 (21 Nov 2005) + + 21 Nov 2005; Henrik Brix Andersen <brix@gentoo.org> + +files/hostap-driver-0.4.7-firmware.patch, +hostap-driver-0.4.7.ebuild: + First release of new stable branch. 29 Oct 2005; Henrik Brix Andersen <brix@gentoo.org> hostap-driver-0.3.7.ebuild, hostap-driver-0.3.9.ebuild, diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest index 0d09bc55a1e9..5e76333b1a22 100644 --- a/net-wireless/hostap-driver/Manifest +++ b/net-wireless/hostap-driver/Manifest @@ -1,11 +1,14 @@ MD5 9266805cc29763534c288adeffa52552 hostap-driver-0.3.7.ebuild 2827 MD5 e7c4fa99cedd513a9e78eeff7ef9bbaa hostap-driver-0.4.5.ebuild 2697 MD5 fa0cd400901b4e1e598f9ff47ebd2f02 hostap-driver-0.3.9.ebuild 2579 -MD5 1a4422da2140c76a680116784e807069 ChangeLog 8925 +MD5 addba8e10a0a7a6a0ca1eaa3c5eec53c hostap-driver-0.4.7.ebuild 2819 +MD5 d3203a8cfa51bb8ce8a85d63c2928934 ChangeLog 9128 MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722 +MD5 3b2078eb6aa3c5754d282f6537ecd771 files/hostap-driver-0.4.7-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 82eda6411d5c161f573545f0edc56a74 files/digest-hostap-driver-0.4.5 71 +MD5 c5800b90593d3826c5cef81cca46526a files/digest-hostap-driver-0.4.7 71 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.7 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.7 new file mode 100644 index 000000000000..d62d5338fed2 --- /dev/null +++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.7 @@ -0,0 +1 @@ +MD5 ee495686cf27011b4e401963c2c7f62a hostap-driver-0.4.7.tar.gz 202602 diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch new file mode 100644 index 000000000000..c7d5741e8fae --- /dev/null +++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.7-firmware.patch @@ -0,0 +1,12 @@ +diff -urp hostap-driver-0.4.7/driver/modules/hostap_config.h hostap-driver-0.4.7-firmware/driver/modules/hostap_config.h +--- hostap-driver-0.4.7/driver/modules/hostap_config.h 2005-11-21 02:42:12.000000000 +0100 ++++ hostap-driver-0.4.7-firmware/driver/modules/hostap_config.h 2005-11-21 10:27:54.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.4.7.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild new file mode 100644 index 000000000000..a74cf2ec6569 --- /dev/null +++ b/net-wireless/hostap-driver/hostap-driver-0.4.7.ebuild @@ -0,0 +1,108 @@ +# 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.7.ebuild,v 1.1 2005/11/21 10:34:31 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="!HOSTAP NET_RADIO" +ERROR_HOSTAP="${P} requires the in-kernel version of the hostap driver to be disabled (CONFIG_HOSTAP)" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is ge 2 6 15; then + ewarn + ewarn "Linux kernel 2.6.15 and above contains a more recent version of this" + ewarn "module. Please consider using the in-kernel module when using" + ewarn "linux-2.6.15 or above." + ewarn + fi + + 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 +} |