summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.11
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.4.1-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.4.1.ebuild98
5 files changed, 122 insertions, 2 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 2976f2942355..4ba6f083ad2d 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.36 2005/04/27 09:57:27 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.37 2005/05/23 11:44:02 brix Exp $
+
+*hostap-driver-0.4.1 (23 May 2005)
+
+ 23 May 2005; <brix@gentoo.org> +files/hostap-driver-0.4.1-firmware.patch,
+ +hostap-driver-0.4.1.ebuild:
+ New development release.
*hostap-driver-0.4.0 (27 Apr 2005)
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index e4746fcf3e99..414d48435da1 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 e07067013550cc1d44ba949484adfdbe hostap-driver-0.2.6-r1.ebuild 2867
+MD5 d504d00e06b8726117f2bc48f78734ae hostap-driver-0.4.1.ebuild 2372
MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607
-MD5 5231340f487226dc74d5d71253bd9a78 ChangeLog 6953
+MD5 efec3b582103eceac7d3bb8153509b10 ChangeLog 7124
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 4ddbfa2123a5985cf0494985b1d7414f files/digest-hostap-driver-0.4.1 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 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.1 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.1
new file mode 100644
index 000000000000..fca2b30786a9
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.4.1
@@ -0,0 +1 @@
+MD5 4d216fd8eb031eac1d1738646a0654bd hostap-driver-0.4.1.tar.gz 201143
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.4.1-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.4.1-firmware.patch
new file mode 100644
index 000000000000..ec1c6ea3c8a5
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.4.1-firmware.patch
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.4.1/driver/modules/hostap_config.h hostap-driver-0.4.1-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.4.1/driver/modules/hostap_config.h 2005-05-23 05:36:11.000000000 +0200
++++ hostap-driver-0.4.1-firmware/driver/modules/hostap_config.h 2005-05-23 11:23:09.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.1.ebuild b/net-wireless/hostap-driver/hostap-driver-0.4.1.ebuild
new file mode 100644
index 000000000000..d0106af0e513
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.4.1.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.1.ebuild,v 1.1 2005/05/23 11:44:02 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
+}