summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-05-27 19:55:00 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-05-27 19:55:00 +0000
commit464fff95930a7b21313d7cef5d032a916e7ab99d (patch)
tree538888ce8db96956f0178f06199380c5ebbeb713 /net-wireless/hostap-driver
parentremoved obsolete ebuild, was moved to v4l-dvb-hg, see Bug #128407 (diff)
downloadgentoo-2-464fff95930a7b21313d7cef5d032a916e7ab99d.tar.gz
gentoo-2-464fff95930a7b21313d7cef5d032a916e7ab99d.tar.bz2
gentoo-2-464fff95930a7b21313d7cef5d032a916e7ab99d.zip
Version bump, but only for people using kernels older than linux-2.6.14.
(Portage version: 2.0.54-r2)
Diffstat (limited to 'net-wireless/hostap-driver')
-rw-r--r--net-wireless/hostap-driver/ChangeLog8
-rw-r--r--net-wireless/hostap-driver/Manifest5
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.4.91
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.4.9-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.4.9.ebuild109
5 files changed, 133 insertions, 2 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 71276b39afcf..b78a7339a02f 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.53 2006/03/26 16:06:24 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.54 2006/05/27 19:55:00 brix Exp $
+
+*hostap-driver-0.4.9 (27 May 2006)
+
+ 27 May 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +files/hostap-driver-0.4.9-firmware.patch, +hostap-driver-0.4.9.ebuild:
+ Version bump, but only for people using kernels older than linux-2.6.14.
26 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
hostap-driver-0.4.7.ebuild:
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index cf1bf9cff090..1bd8c331302a 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -1,5 +1,8 @@
-MD5 2f11ef44cc240fef00ccf388afcb3b42 ChangeLog 9816
+MD5 0acc9a3e09576b909907e02285081be7 ChangeLog 10056
MD5 c5800b90593d3826c5cef81cca46526a files/digest-hostap-driver-0.4.7 71
+MD5 b7a0ab3af34f51bdaa93f5a8d9b2ec66 files/digest-hostap-driver-0.4.9 71
MD5 3b2078eb6aa3c5754d282f6537ecd771 files/hostap-driver-0.4.7-firmware.patch 739
+MD5 3b2078eb6aa3c5754d282f6537ecd771 files/hostap-driver-0.4.9-firmware.patch 739
MD5 934bdf885e6f3a37723bf711c61cdb7a hostap-driver-0.4.7.ebuild 3186
+MD5 f87f0810b648865cf8760e0ea6c869d7 hostap-driver-0.4.9.ebuild 2881
MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.9 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.9
new file mode 100644
index 000000000000..397918c176be
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.9
@@ -0,0 +1 @@
+MD5 c7534dc040ab90218257a78488ecd378 hostap-driver-0.4.9.tar.gz 202959
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.9-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.9-firmware.patch
new file mode 100644
index 000000000000..c7d5741e8fae
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.9-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.9.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.9.ebuild
new file mode 100644
index 000000000000..657b8d75dfac
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.4.9.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2006 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.9.ebuild,v 1.1 2006/05/27 19:55:00 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 14; then
+ eerror
+ eerror "This version of hostap-driver is incompatible with linux-2.6.14 and above."
+ eerror "Please use the more recent in-kernel version of the hostap module when using"
+ eerror "linux-2.6.14 or above."
+ eerror
+ die "Incompatible kernel version"
+ 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
+}