summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-02-13 11:46:58 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-02-13 11:46:58 +0000
commitbeb3754bcc2b3fe56e4a62efb58e9f9e08f18db9 (patch)
tree939d554c482608b5f083e90381479eee6b2fc7ae /net-wireless
parentStable on alpha. (diff)
downloadgentoo-2-beb3754bcc2b3fe56e4a62efb58e9f9e08f18db9.tar.gz
gentoo-2-beb3754bcc2b3fe56e4a62efb58e9f9e08f18db9.tar.bz2
gentoo-2-beb3754bcc2b3fe56e4a62efb58e9f9e08f18db9.zip
New stable version from upstream.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-wireless')
-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.76
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.7-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.7.ebuild107
5 files changed, 135 insertions, 1 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 5a44c6140040..d8ab9ba9ef1b 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.32 2005/02/07 10:58:16 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.33 2005/02/13 11:46:58 brix Exp $
+
+*hostap-driver-0.3.7 (13 Feb 2005)
+
+ 13 Feb 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/hostap-driver-0.3.7-firmware.patch, +hostap-driver-0.3.7.ebuild:
+ New stable version from upstream.
*hostap-driver-0.3.7_pre (07 Feb 2005)
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index b5b385dd105f..8cb5602cf415 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -1,3 +1,4 @@
+MD5 0429e5f65124288b0cd2a78146d683a2 hostap-driver-0.3.7.ebuild 2763
MD5 e07067013550cc1d44ba949484adfdbe hostap-driver-0.2.6-r1.ebuild 2867
MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607
MD5 42aa3ecf95b383b035f3153bb787c7e2 hostap-driver-0.3.5.ebuild 2699
@@ -10,5 +11,7 @@ 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
+MD5 176b7133187acc58466f505d727149ac files/digest-hostap-driver-0.3.7 441
MD5 d76aa90f71a4ef13a49ccca8863b66ba files/hostap-driver-0.2.6-firmware.patch 739
MD5 9451f65d0b1724a60a07b9310d9ebc52 files/hostap-driver-0.2.5.firmware.diff.bz2 472
+MD5 4e679442c5b3b53a929b470fdccef35e files/hostap-driver-0.3.7-firmware.patch 739
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7
new file mode 100644
index 000000000000..2353eac59d3b
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.7
@@ -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 9d56a65386fd8e688f039ef927ac2ccb hostap-driver-0.3.7.tar.gz 200649
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.7-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-firmware.patch
new file mode 100644
index 000000000000..67899c5c1989
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.7-firmware.patch
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.3.7/driver/modules/hostap_config.h hostap-driver-0.3.7-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.3.7/driver/modules/hostap_config.h 2005-02-12 17:12:56.000000000 +0100
++++ hostap-driver-0.3.7-firmware/driver/modules/hostap_config.h 2005-02-13 12:41:32.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.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.7.ebuild
new file mode 100644
index 000000000000..c5151e1fcd60
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.3.7.ebuild
@@ -0,0 +1,107 @@
+# 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.ebuild,v 1.1 2005/02/13 11:46:58 brix Exp $
+
+inherit toolchain-funcs eutils pcmcia 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() {
+ 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
+}