summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/hostap-driver/ChangeLog9
-rw-r--r--net-wireless/hostap-driver/Manifest3
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre6
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild110
5 files changed, 139 insertions, 1 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 8e5a7156e41c..5a44c6140040 100644
--- a/net-wireless/hostap-driver/ChangeLog
+++ b/net-wireless/hostap-driver/ChangeLog
@@ -1,6 +1,13 @@
# 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.31 2005/01/25 18:56:42 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.32 2005/02/07 10:58:16 brix Exp $
+
+*hostap-driver-0.3.7_pre (07 Feb 2005)
+
+ 07 Feb 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/hostap-driver-0.3.7-pre-firmware.patch,
+ +hostap-driver-0.3.7_pre.ebuild:
+ Added pre-release of 0.3.7 which is supposed to go stable soon, please test.
25 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
-files/hostap-driver-0.3.0-firmware.patch,
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index cef5c3c8a9e3..947844027ac2 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -3,7 +3,10 @@ MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607
MD5 42aa3ecf95b383b035f3153bb787c7e2 hostap-driver-0.3.5.ebuild 2699
MD5 51096ae53e0172c943c3e69b5e02f4fd ChangeLog 6007
MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
+MD5 7cd6f8add006b83e257673ce11c0b9e3 hostap-driver-0.3.7_pre.ebuild 2696
+MD5 c1cae3b48ae4a971e11f458998f374e1 files/hostap-driver-0.3.7-pre-firmware.patch 755
MD5 6990675b20aab8dbcda3b2cd082cbd9a files/hostap-driver-0.3.5-firmware.patch 739
+MD5 945888121214f57eab655b6f1bdd9e64 files/digest-hostap-driver-0.3.7_pre 445
MD5 702e5e315551f06833fde599816fd65a files/digest-hostap-driver-0.2.5-r1 441
MD5 2867dcc26d843b380c5c6be06a89a9af files/digest-hostap-driver-0.2.6-r1 441
MD5 074dc33c1415026d4491a0008ecbc883 files/digest-hostap-driver-0.3.5 441
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre
new file mode 100644
index 000000000000..e85d2715d15c
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7_pre
@@ -0,0 +1,6 @@
+MD5 44dbc0a8978fe618eee242b0bd25392c pcmcia-cs-3.2.5.tar.gz 1266494
+MD5 33325ed642b5277a9695d10bd19b3d7a pcmcia-cs-3.2.5-module-init-tools.diff.gz 460
+MD5 ee4f8227cc28f9a29a609f6e9561ef54 pcmcia-cs-3.2.5-SMP-fix.diff.gz 320
+MD5 2b2cba3fdd498b001ea3c27d8b2da31b pcmcia-cs-3.2.5-3.2.6.diff.gz 23034
+MD5 f2feda5eb46c1a2b99ae9db274879afc pcmcia-cs-3.2.5-3.2.7.diff.gz 28244
+MD5 c6e19f9a277c1d9cfe9d2e9cc58b8705 hostap-driver-0.3.7-pre.tar.gz 200658
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch
new file mode 100644
index 000000000000..8881b6611d29
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-pre-firmware.patch
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.3.7-pre/driver/modules/hostap_config.h hostap-driver-0.3.7-pre-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.3.7-pre/driver/modules/hostap_config.h 2005-02-07 04:38:07.000000000 +0100
++++ hostap-driver-0.3.7-pre-firmware/driver/modules/hostap_config.h 2005-02-07 10:25:31.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.3.7_pre.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild
new file mode 100644
index 000000000000..fd7254122e3f
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.3.7_pre.ebuild
@@ -0,0 +1,110 @@
+# 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.7_pre.ebuild,v 1.1 2005/02/07 10:58:16 brix Exp $
+
+inherit toolchain-funcs eutils pcmcia linux-mod
+
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="HostAP wireless drivers"
+HOMEPAGE="http://hostap.epitest.fi"
+SRC_URI="${SRC_URI} http://hostap.epitest.fi/releases/testing/${MY_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}/${MY_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() {
+ pcmcia_configure
+ 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
+
+ einfo ""
+ einfo "Please notice that all ${PN} modules are now installed to"
+ einfo "/lib/modules/${KV}/net/."
+ einfo ""
+ einfo "You may have to manually delete the old modules if upgrading from from"
+ einfo "<=net-wireless/${PN}-0.2.4."
+ einfo ""
+
+ 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
+}