summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-06-11 09:41:00 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-06-11 09:41:00 +0000
commitb9a68c1f30239fd1a55b4510cdb99d83f32fefba (patch)
treebc4ff204ad460f82ac73b1e76b0affc7f2eea2c3 /net-wireless/hostap-driver
parentAdd ~sparc keyword, mostly for bookkeeping. Works fine for me (U60(SMP), ffb... (diff)
downloadhistorical-b9a68c1f30239fd1a55b4510cdb99d83f32fefba.tar.gz
historical-b9a68c1f30239fd1a55b4510cdb99d83f32fefba.tar.bz2
historical-b9a68c1f30239fd1a55b4510cdb99d83f32fefba.zip
New stable release.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-wireless/hostap-driver')
-rw-r--r--net-wireless/hostap-driver/ChangeLog8
-rw-r--r--net-wireless/hostap-driver/Manifest3
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.91
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.9-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.9.ebuild94
5 files changed, 117 insertions, 1 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 4ba6f083ad2d..5239c83116de 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.37 2005/05/23 11:44:02 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.38 2005/06/11 09:36:31 brix Exp $
+
+*hostap-driver-0.3.9 (11 Jun 2005)
+
+ 11 Jun 2005; <brix@gentoo.org> +files/hostap-driver-0.3.9-firmware.patch,
+ +hostap-driver-0.3.9.ebuild:
+ New stable release.
*hostap-driver-0.4.1 (23 May 2005)
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index ba4dc81215fe..85f44cb1990c 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -1,14 +1,17 @@
MD5 7a12001557f4b22aeb53aec8c27dc87f hostap-driver-0.3.7.ebuild 2758
MD5 d9d8da6b47513f08b48995b7e52453f9 hostap-driver-0.4.0.ebuild 2485
+MD5 18aed928d17d09b2f5a124e0d7460608 hostap-driver-0.3.9.ebuild 2380
MD5 e07067013550cc1d44ba949484adfdbe hostap-driver-0.2.6-r1.ebuild 2867
MD5 220066ab65b8d58927fe7083ec1b7870 hostap-driver-0.4.1.ebuild 2485
MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607
MD5 d9bd5ee0790bec1e0174e3a483bf55c6 ChangeLog 7124
MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
MD5 2d9db693839a9fb5d88d8e5c1fa13170 files/hostap-driver-0.4.0-firmware.patch 739
+MD5 8214baf7253070b31cf2d9f976229bec files/hostap-driver-0.3.9-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 d56a1f3da96fc43c6a4a13838b71d3f6 files/digest-hostap-driver-0.3.9 71
MD5 2b82d64ebc2aa9b711920761843b7368 files/digest-hostap-driver-0.4.0 71
MD5 4ddbfa2123a5985cf0494985b1d7414f files/digest-hostap-driver-0.4.1 71
MD5 d76aa90f71a4ef13a49ccca8863b66ba files/hostap-driver-0.2.6-firmware.patch 739
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.9 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.9
new file mode 100644
index 000000000000..1f4d9d4d5523
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.9
@@ -0,0 +1 @@
+MD5 6eac8910802c5535bc5248eae259b228 hostap-driver-0.3.9.tar.gz 200847
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.9-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.9-firmware.patch
new file mode 100644
index 000000000000..2d966b691ec7
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.9-firmware.patch
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.3.9/driver/modules/hostap_config.h hostap-driver-0.3.9-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.3.9/driver/modules/hostap_config.h 2005-06-11 05:03:36.000000000 +0200
++++ hostap-driver-0.3.9-firmware/driver/modules/hostap_config.h 2005-06-11 11:24:45.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.3.9.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.9.ebuild
new file mode 100644
index 000000000000..47509c8772bc
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.3.9.ebuild
@@ -0,0 +1,94 @@
+# 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.9.ebuild,v 1.1 2005/06/11 09:36: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="${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_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
+}