summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-01-24 19:12:40 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-01-24 19:12:40 +0000
commit5ed8948c3e957940c3243b1b902faf8619040863 (patch)
treeca76101cb701751eeb6913a07a06f8c695eebe18 /net-wireless/hostap-driver
parentinitial commit - ebuild submitted by MaratIK via bug #63212 (diff)
downloadgentoo-2-5ed8948c3e957940c3243b1b902faf8619040863.tar.gz
gentoo-2-5ed8948c3e957940c3243b1b902faf8619040863.tar.bz2
gentoo-2-5ed8948c3e957940c3243b1b902faf8619040863.zip
New development snapshot.
(Portage version: 2.0.51-r15)
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.3.56
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.5-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.5.ebuild105
5 files changed, 134 insertions, 2 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index 1bc5e9ec805f..e35f114f8383 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.29 2005/01/14 17:16:25 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.30 2005/01/24 19:12:40 brix Exp $
+
+*hostap-driver-0.3.5 (24 Jan 2005)
+
+ 24 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/hostap-driver-0.3.5-firmware.patch, +hostap-driver-0.3.5.ebuild:
+ New development snapshot.
14 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
hostap-driver-0.2.6-r1.ebuild:
diff --git a/net-wireless/hostap-driver/Manifest b/net-wireless/hostap-driver/Manifest
index 89a7aa4596a8..0af4a2cfcf40 100644
--- a/net-wireless/hostap-driver/Manifest
+++ b/net-wireless/hostap-driver/Manifest
@@ -5,11 +5,13 @@ MD5 cc5e31889933e2f4d3509bb6642026de hostap-driver-0.3.3-r1.ebuild 2868
MD5 52632d04c78163775e618e2e1ee37c08 hostap-driver-0.2.5.ebuild 3201
MD5 498b6d437d20985d1f028a3dc001fb84 hostap-driver-0.3.3.ebuild 3598
MD5 c94b7e9fe75e00370db3af612d4b4761 hostap-driver-0.2.5-r1.ebuild 3607
+MD5 63409ea9f357a759ada65caee2411ec8 hostap-driver-0.3.5.ebuild 2586
MD5 19d1f40524a05555c709a81614cdbfc8 hostap-driver-0.3.0.ebuild 3621
-MD5 8a71e51bd4a847f69a625a84007b74f0 ChangeLog 5389
+MD5 cbc8cfcb0ba30258feaa9479771d8037 ChangeLog 5582
MD5 5f6ec5c50fa3a91a429fec8670cf241b metadata.xml 722
MD5 c3a13c9ecb4fb1fb73d88f7040afa5fd hostap-driver-0.2.4.ebuild 2700
MD5 f7a49c3b2764821383db2a933661eacb files/hostap-driver-0.3.2-firmware.patch 739
+MD5 6990675b20aab8dbcda3b2cd082cbd9a files/hostap-driver-0.3.5-firmware.patch 739
MD5 c45be0cf6326f054520ce15096361e84 files/hostap-driver-0.3.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
@@ -20,6 +22,7 @@ MD5 2867dcc26d843b380c5c6be06a89a9af files/digest-hostap-driver-0.2.6 441
MD5 31eba7db39a7678ae7619995f6d96370 files/digest-hostap-driver-0.3.0 441
MD5 b86779810351ad030a68fabc4dda44f8 files/digest-hostap-driver-0.3.2 441
MD5 d9b1b7ab5bfa090d1eca4d8865f5465c files/digest-hostap-driver-0.3.3 441
+MD5 074dc33c1415026d4491a0008ecbc883 files/digest-hostap-driver-0.3.5 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 479a81eda3a37282cf5954f589eb3017 files/hostap-driver-0.3.3-firmware.patch 739
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.5 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.5
new file mode 100644
index 000000000000..0a589eb2326a
--- /dev/null
+++ b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.5
@@ -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 54e61a51c109519124fe80fc728e039b hostap-driver-0.3.5.tar.gz 200243
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.5-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.5-firmware.patch
new file mode 100644
index 000000000000..f281195305e1
--- /dev/null
+++ b/net-wireless/hostap-driver/files/hostap-driver-0.3.5-firmware.patch
@@ -0,0 +1,12 @@
+diff -urp hostap-driver-0.3.5/driver/modules/hostap_config.h hostap-driver-0.3.5-firmware/driver/modules/hostap_config.h
+--- hostap-driver-0.3.5/driver/modules/hostap_config.h 2005-01-24 05:43:17.000000000 +0100
++++ hostap-driver-0.3.5-firmware/driver/modules/hostap_config.h 2005-01-24 15:46:25.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.5.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.5.ebuild
new file mode 100644
index 000000000000..216d048b0d4e
--- /dev/null
+++ b/net-wireless/hostap-driver/hostap-driver-0.3.5.ebuild
@@ -0,0 +1,105 @@
+# 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.5.ebuild,v 1.1 2005/01/24 19:12:40 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_TARGETS="all"
+
+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 README
+
+ 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
+}