summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-01-25 18:56:43 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-01-25 18:56:43 +0000
commit43a25436c47ec2f7015ab1f56ee6f34a6063ac78 (patch)
tree89de09182253f9debdaa95e63ca2248d9ec6929f /net-wireless
parentPruned old versions. (diff)
downloadgentoo-2-43a25436c47ec2f7015ab1f56ee6f34a6063ac78.tar.gz
gentoo-2-43a25436c47ec2f7015ab1f56ee6f34a6063ac78.tar.bz2
gentoo-2-43a25436c47ec2f7015ab1f56ee6f34a6063ac78.zip
Pruned old versions.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/hostap-driver/ChangeLog11
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.2.46
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.2.56
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.2.66
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.06
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.26
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.36
-rw-r--r--net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3-r16
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/files/hostap-driver-0.3.3-firmware.patch12
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild109
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.2.5.ebuild122
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.2.6.ebuild136
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild136
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild136
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.3-r1.ebuild108
-rw-r--r--net-wireless/hostap-driver/hostap-driver-0.3.3.ebuild135
18 files changed, 10 insertions, 961 deletions
diff --git a/net-wireless/hostap-driver/ChangeLog b/net-wireless/hostap-driver/ChangeLog
index e35f114f8383..8e5a7156e41c 100644
--- a/net-wireless/hostap-driver/ChangeLog
+++ b/net-wireless/hostap-driver/ChangeLog
@@ -1,6 +1,15 @@
# 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.30 2005/01/24 19:12:40 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/hostap-driver/ChangeLog,v 1.31 2005/01/25 18:56:42 brix Exp $
+
+ 25 Jan 2005; Henrik Brix Andersen <brix@gentoo.org>
+ -files/hostap-driver-0.3.0-firmware.patch,
+ -files/hostap-driver-0.3.2-firmware.patch,
+ -files/hostap-driver-0.3.3-firmware.patch, -hostap-driver-0.2.4.ebuild,
+ -hostap-driver-0.2.5.ebuild, -hostap-driver-0.2.6.ebuild,
+ -hostap-driver-0.3.0.ebuild, -hostap-driver-0.3.2.ebuild,
+ -hostap-driver-0.3.3-r1.ebuild, -hostap-driver-0.3.3.ebuild:
+ Pruned old versions.
*hostap-driver-0.3.5 (24 Jan 2005)
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4
deleted file mode 100644
index bb5255b4b6c3..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.4
+++ /dev/null
@@ -1,6 +0,0 @@
-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 342f0c94072e90c9a5d775f6e68532af hostap-driver-0.2.4.tar.gz 195640
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.5 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.5
deleted file mode 100644
index cbb75bc1293e..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.5
+++ /dev/null
@@ -1,6 +0,0 @@
-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 6afe257b11554b17c228f7ca8c7ce0d4 hostap-driver-0.2.5.tar.gz 195923
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.6 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.6
deleted file mode 100644
index f5cd35b6b549..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.2.6
+++ /dev/null
@@ -1,6 +0,0 @@
-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 1815e82419cb83d32d6e416f090e9330 hostap-driver-0.2.6.tar.gz 196183
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0
deleted file mode 100644
index ee3e11e9e35d..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.0
+++ /dev/null
@@ -1,6 +0,0 @@
-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 0484ad8c0ff8188acda051938aa8a9e7 hostap-driver-0.3.0.tar.gz 199045
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2
deleted file mode 100644
index e4064fa86975..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.2
+++ /dev/null
@@ -1,6 +0,0 @@
-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 8f65bade336ed208d6655dd2ff9a1ed0 hostap-driver-0.3.2.tar.gz 200111
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3
deleted file mode 100644
index 1b13d3e0e360..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3
+++ /dev/null
@@ -1,6 +0,0 @@
-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 5a3d50df56cad3151339b05eacabeea0 hostap-driver-0.3.3.tar.gz 200123
diff --git a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3-r1 b/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3-r1
deleted file mode 100644
index 1b13d3e0e360..000000000000
--- a/net-wireless/hostap-driver/files/digest-hostap-driver-0.3.3-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-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 5a3d50df56cad3151339b05eacabeea0 hostap-driver-0.3.3.tar.gz 200123
diff --git a/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch
deleted file mode 100644
index 1fb47e88312f..000000000000
--- a/net-wireless/hostap-driver/files/hostap-driver-0.3.0-firmware.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urp hostap-driver-0.3.0/driver/modules/hostap_config.h hostap-driver-0.3.0-firmware/driver/modules/hostap_config.h
---- hostap-driver-0.3.0/driver/modules/hostap_config.h 2004-12-06 07:17:45.000000000 +0100
-+++ hostap-driver-0.3.0-firmware/driver/modules/hostap_config.h 2004-12-11 16:08:14.424484184 +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/files/hostap-driver-0.3.2-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch
deleted file mode 100644
index 0cfaff23f984..000000000000
--- a/net-wireless/hostap-driver/files/hostap-driver-0.3.2-firmware.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urp hostap-driver-0.3.2/driver/modules/hostap_config.h hostap-driver-0.3.2-firmware/driver/modules/hostap_config.h
---- hostap-driver-0.3.2/driver/modules/hostap_config.h 2004-12-20 07:26:58.000000000 +0100
-+++ hostap-driver-0.3.2-firmware/driver/modules/hostap_config.h 2004-12-20 09:43:19.845904392 +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/files/hostap-driver-0.3.3-firmware.patch b/net-wireless/hostap-driver/files/hostap-driver-0.3.3-firmware.patch
deleted file mode 100644
index 67f863b83cb0..000000000000
--- a/net-wireless/hostap-driver/files/hostap-driver-0.3.3-firmware.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urp hostap-driver-0.3.3/driver/modules/hostap_config.h hostap-driver-0.3.3-firmware/driver/modules/hostap_config.h
---- hostap-driver-0.3.3/driver/modules/hostap_config.h 2005-01-03 04:07:24.000000000 +0100
-+++ hostap-driver-0.3.3-firmware/driver/modules/hostap_config.h 2005-01-03 11:35:10.859216776 +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.2.4.ebuild b/net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild
deleted file mode 100644
index 7605c7119ecc..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.2.4.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# 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.2.4.ebuild,v 1.3 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-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"
-IUSE="${IUSE} hostap-nopci hostap-noplx"
-DEPEND=">=net-wireless/wireless-tools-25"
-RDEPEND="!net-wireless/hostap"
-SLOT="0"
-
-KMOD_PATH="/lib/modules/${KV}"
-
-src_unpack() {
- kernel-mod_getversion
- unpack ${A}
- ## unpack the pcmcia-cs sources if needed
- pcmcia_src_unpack
-
- cd ${S}
-
- ## set compiler options
- sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
-
- ## fix for new coreutils (#31801)
- sed -i -e "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 -e "s:^PCMCIA_PATH=:PCMCIA_PATH=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile
- fi
-
- if kernel-mod_is_2_6_kernel && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i -e "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- ## configure pcmcia
- pcmcia_configure
-
- cd ${S}
-
- einfo "Building hostap-driver for kernel version: ${KV}"
- case ${KV_MINOR} in
- [34])
- local mydrivers
-
- use pcmcia && mydrivers="${mydrivers} pccard"
- use hostap-nopci || mydrivers="${mydrivers} pci"
- use hostap-noplx || mydrivers="${mydrivers} plx"
-
- einfo "Building the following drivers: ${mydrivers}"
- emake ${mydrivers} || die "make failed"
- ;;
- [56])
- unset ARCH
- emake all || die "make failed"
- ;;
- *)
- eerror "Unsupported kernel version: ${KV}"
- die
- ;;
- esac
-}
-
-src_install() {
- if [ ${KV_MINOR} -gt 4 ]
- then
- KV_OBJ=ko
- else
- KV_OBJ=o
- fi
-
- ## kernel 2.6 has a different module file name suffix
- dodir ${KMOD_PATH}/net
- cp ${S}/driver/modules/{hostap,hostap_crypt_{wep,tkip,ccmp}}.${KV_OBJ} \
- ${D}${KMOD_PATH}/net/
-
- if use pcmcia >&/dev/null; then
- dodir ${KMOD_PATH}/pcmcia
- dodir /etc/pcmcia
- cp ${S}/driver/modules/hostap_cs.${KV_OBJ} ${D}/${KMOD_PATH}/pcmcia/
- cp ${S}/driver/etc/hostap_cs.conf ${D}/etc/pcmcia/
- if [ -r /etc/pcmcia/prism2.conf ]; then
- einfo "You may need to edit or remove /etc/pcmcia/prism2.conf"
- einfo "This is usually a result of conflicts with the"
- einfo "linux-wlan-ng drivers."
- fi
- fi
-
- if ! use hostap-nopci >&/dev/null; then
- cp ${S}/driver/modules/hostap_pci.${KV_OBJ} \
- ${D}${KMOD_PATH}/net/
- fi
-
- if ! use hostap-noplx >&/dev/null; then
- cp ${S}/driver/modules/hostap_plx.${KV_OBJ} \
- ${D}${KMOD_PATH}/net/
- fi
- dodoc README ChangeLog
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.2.5.ebuild b/net-wireless/hostap-driver/hostap-driver-0.2.5.ebuild
deleted file mode 100644
index 231b2c4ff1b7..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.2.5.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# 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.2.5.ebuild,v 1.4 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-mod eutils
-
-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"
-IUSE=""
-SLOT="0"
-
-DEPEND="!net-wireless/hostap
- virtual/linux-sources
- sys-apps/sed"
-RDEPEND=">=net-wireless/wireless-tools-25"
-
-src_unpack() {
- if ! kernel-mod_configoption_present NET_RADIO
- then
- eerror ""
- eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
- eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
- eerror ""
- die "CONFIG_NET_RADIO support not detected."
- fi
-
- kernel-mod_check_modules_supported
-
- unpack ${A}
-
- ## set compiler
- sed -i -e "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=:PCMCIA_PATH=${PCMCIA_SOURCE_DIR}:" ${S}/Makefile
- fi
-
- # install to /lib/modules/${KV}/net
- sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
- sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
-
- # let pkg_postinst() handle depmod
- sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
- sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
-
- if ! use pcmcia &> /dev/null
- then
- # remove install_pccard dependency from install_2.4 target
- sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
- fi
-
- kernel-mod_getversion
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- pcmcia_configure
-
- set_arch_to_kernel
- emake all || die "emake failed"
- set_arch_to_portage
-}
-
-src_install() {
- # Makefile relies on existing /lib/modules/${KV}
- dodir /lib/modules/${KV}
-
- if use pcmcia &> /dev/null
- then
- # pcmcia configuration file is only installed if /etc/pcmcia exist
- dodir /etc/pcmcia
- else
- # make sure we do not install the hostap_cs module
- rm -rf ${S}/driver/modules/hostap_cs.*o
- fi
-
- set_arch_to_kernel
- emake DESTDIR=${D} install || die "emake install failed"
- set_arch_to_portage
-
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- 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 ""
-
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.2.6.ebuild b/net-wireless/hostap-driver/hostap-driver-0.2.6.ebuild
deleted file mode 100644
index 084287afac3a..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.2.6.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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.2.6.ebuild,v 1.2 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-mod eutils
-
-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=""
-SLOT="0"
-
-DEPEND="!net-wireless/hostap
- virtual/linux-sources
- sys-apps/sed"
-RDEPEND=">=net-wireless/wireless-tools-25"
-
-pkg_setup() {
- if ! kernel-mod_configoption_present NET_RADIO
- then
- eerror ""
- eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
- eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
- eerror ""
- die "CONFIG_NET_RADIO support not detected."
- fi
-
- kernel-mod_check_modules_supported
-}
-
-src_unpack() {
- unpack ${A}
-
- # set compiler
- sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
-
- # unpack the pcmcia-cs sources if needed
- pcmcia_src_unpack
-
- cd ${S}
- epatch ${FILESDIR}/${P}-firmware.patch
-
- # 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
-
- # install to /lib/modules/${KV}/net
- sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
- sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
-
- # let pkg_postinst() handle depmod
- sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
- sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
-
- if ! use pcmcia &> /dev/null
- then
- # remove install_pccard dependency from install_2.4 target
- sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
- fi
-
- kernel-mod_getversion
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- pcmcia_configure
-
- set_arch_to_kernel
- emake all || die "emake failed"
- set_arch_to_portage
-}
-
-src_install() {
- # Makefile relies on existing /lib/modules/${KV}
- dodir /lib/modules/${KV}
-
- if use pcmcia &> /dev/null
- then
- # pcmcia configuration file is only installed if /etc/pcmcia exist
- dodir /etc/pcmcia
- else
- # make sure we do not install the hostap_cs module
- rm -rf ${S}/driver/modules/hostap_cs.*o
- fi
-
- set_arch_to_kernel
- emake DESTDIR=${D} install || die "emake install failed"
- set_arch_to_portage
-
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- 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 ""
-
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild
deleted file mode 100644
index 3e6e7c2fc992..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.3.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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.0.ebuild,v 1.2 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-mod eutils
-
-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=""
-SLOT="0"
-
-DEPEND="!net-wireless/hostap
- virtual/linux-sources
- sys-apps/sed"
-RDEPEND=">=net-wireless/wireless-tools-25"
-
-pkg_setup() {
- if ! kernel-mod_configoption_present NET_RADIO
- then
- eerror ""
- eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
- eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
- eerror ""
- die "CONFIG_NET_RADIO support not detected."
- fi
-
- kernel-mod_check_modules_supported
-}
-
-src_unpack() {
- unpack ${A}
-
- # set compiler
- sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
-
- # unpack the pcmcia-cs sources if needed
- pcmcia_src_unpack
-
- cd ${S}
- epatch ${FILESDIR}/${P}-firmware.patch
-
- # 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
-
- # install to /lib/modules/${KV}/net
- sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
- sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
-
- # let pkg_postinst() handle depmod
- sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
- sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
-
- if ! use pcmcia &> /dev/null
- then
- # remove install_pccard dependency from install_2.4 target
- sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
- fi
-
- kernel-mod_getversion
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- pcmcia_configure
-
- set_arch_to_kernel
- emake all || die "emake failed"
- set_arch_to_portage
-}
-
-src_install() {
- # Makefile relies on existing /lib/modules/${KV}
- dodir /lib/modules/${KV}
-
- if use pcmcia &> /dev/null
- then
- # pcmcia configuration file is only installed if /etc/pcmcia exist
- dodir /etc/pcmcia
- else
- # make sure we do not install the hostap_cs module
- rm -rf ${S}/driver/modules/hostap_cs.*o
- fi
-
- set_arch_to_kernel
- emake DESTDIR=${D} install || die "emake install failed"
- set_arch_to_portage
-
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- 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 ""
-
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild
deleted file mode 100644
index f0af2d869201..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.3.2.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# 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.2.ebuild,v 1.2 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-mod eutils
-
-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=""
-SLOT="0"
-
-DEPEND="!net-wireless/hostap
- virtual/linux-sources
- sys-apps/sed"
-RDEPEND=">=net-wireless/wireless-tools-25"
-
-pkg_setup() {
- if ! kernel-mod_configoption_present NET_RADIO
- then
- eerror ""
- eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
- eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
- eerror ""
- die "CONFIG_NET_RADIO support not detected."
- fi
-
- kernel-mod_check_modules_supported
-}
-
-src_unpack() {
- unpack ${A}
-
- # set compiler
- sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
-
- # unpack the pcmcia-cs sources if needed
- pcmcia_src_unpack
-
- cd ${S}
- epatch ${FILESDIR}/${P}-firmware.patch
-
- # 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
-
- # install to /lib/modules/${KV}/net
- sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
- sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
-
- # let pkg_postinst() handle depmod
- sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
- sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
-
- if ! use pcmcia &> /dev/null
- then
- # remove install_pccard dependency from install_2.4 target
- sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
- fi
-
- kernel-mod_getversion
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- pcmcia_configure
-
- set_arch_to_kernel
- emake all || die "emake failed"
- set_arch_to_portage
-}
-
-src_install() {
- # Makefile relies on existing /lib/modules/${KV}
- dodir /lib/modules/${KV}
-
- if use pcmcia &> /dev/null
- then
- # pcmcia configuration file is only installed if /etc/pcmcia exist
- dodir /etc/pcmcia
- else
- # make sure we do not install the hostap_cs module
- rm -rf ${S}/driver/modules/hostap_cs.*o
- fi
-
- set_arch_to_kernel
- emake DESTDIR=${D} install || die "emake install failed"
- set_arch_to_portage
-
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- 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 ""
-
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.3-r1.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.3-r1.ebuild
deleted file mode 100644
index be79d6d15769..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.3.3-r1.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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.3-r1.ebuild,v 1.1 2005/01/04 00:13:10 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"
-
-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
-
- # hostap-driver expects 'make' to be called in the top-level directory
- # linux-mod_src_compile() currently can not honor that (2005-01-04 brix)
- set_arch_to_kernel
- emake || die "emake failed"
- set_arch_to_portage
-}
-
-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
-}
diff --git a/net-wireless/hostap-driver/hostap-driver-0.3.3.ebuild b/net-wireless/hostap-driver/hostap-driver-0.3.3.ebuild
deleted file mode 100644
index adaca595961e..000000000000
--- a/net-wireless/hostap-driver/hostap-driver-0.3.3.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# 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.3.ebuild,v 1.1 2005/01/03 11:04:49 brix Exp $
-
-inherit toolchain-funcs pcmcia kernel-mod eutils
-
-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=""
-SLOT="0"
-
-DEPEND="virtual/linux-sources
- sys-apps/sed"
-RDEPEND=">=net-wireless/wireless-tools-25"
-
-pkg_setup() {
- if ! kernel-mod_configoption_present NET_RADIO
- then
- eerror ""
- eerror "${P} requires support for Wireless LAN drivers (non-hamradio) &"
- eerror "Wireless Extensions (CONFIG_NET_RADIO) in the kernel."
- eerror ""
- die "CONFIG_NET_RADIO support not detected."
- fi
-
- kernel-mod_check_modules_supported
-}
-
-src_unpack() {
- unpack ${A}
-
- # set compiler
- sed -i -e "s:gcc:$(tc-getCC):" ${S}/Makefile
-
- # unpack the pcmcia-cs sources if needed
- pcmcia_src_unpack
-
- cd ${S}
- epatch ${FILESDIR}/${P}-firmware.patch
-
- # 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
-
- # install to /lib/modules/${KV}/net
- sed -i "s:\$(MODPATH)/kernel/drivers/net/wireless:\$(MODPATH)/net:g" ${S}/Makefile
- sed -i "s:MODPATH_CS \:= \$(MODPATH)/pcmcia:MODPATH_CS \:= \$(MODPATH)/net:" ${S}/Makefile
-
- # let pkg_postinst() handle depmod
- sed -i "s:/sbin/depmod -ae; \\\:\\\:" ${S}/Makefile
- sed -i "s:/sbin/depmod -ae::" ${S}/Makefile
-
- if ! use pcmcia &> /dev/null
- then
- # remove install_pccard dependency from install_2.4 target
- sed -i "s#^\(install_2.4:.*\)install_pccard#\1#" ${S}/Makefile
- fi
-
- kernel-mod_getversion
-
- if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
- then
- sed -i "s:SUBDIRS=:M=:" ${S}/Makefile
- fi
-}
-
-src_compile() {
- pcmcia_configure
-
- set_arch_to_kernel
- emake all || die "emake failed"
- set_arch_to_portage
-}
-
-src_install() {
- # Makefile relies on existing /lib/modules/${KV}
- dodir /lib/modules/${KV}
-
- if use pcmcia &> /dev/null
- then
- # pcmcia configuration file is only installed if /etc/pcmcia exist
- dodir /etc/pcmcia
- else
- # make sure we do not install the hostap_cs module
- rm -rf ${S}/driver/modules/hostap_cs.*o
- fi
-
- set_arch_to_kernel
- emake DESTDIR=${D} install || die "emake install failed"
- set_arch_to_portage
-
- dodoc README ChangeLog
-}
-
-pkg_postinst() {
- einfo "Checking kernel module dependencies"
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- 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 ""
-
-}