summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/madwifi-driver/ChangeLog14
-rw-r--r--net-wireless/madwifi-driver/Manifest16
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20031213-r11
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre200401081
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre200402121
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre200405141
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre200407261
-rw-r--r--net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre200410191
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213-r1.ebuild73
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild73
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040212.ebuild73
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040514.ebuild59
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040726.ebuild64
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild14
-rw-r--r--net-wireless/madwifi-driver/madwifi-driver-0.1_pre20041019.ebuild77
15 files changed, 102 insertions, 367 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog
index 9b16a2d64fca..d54ce6df154e 100644
--- a/net-wireless/madwifi-driver/ChangeLog
+++ b/net-wireless/madwifi-driver/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for net-wireless/madwifi-driver
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.14 2004/09/06 18:46:51 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.15 2004/10/19 18:49:42 solar Exp $
+
+*madwifi-driver-0.1_pre20041019 (19 Oct 2004)
+
+ 19 Oct 2004; <solar@gentoo.org> -madwifi-driver-0.1_pre20031213-r1.ebuild,
+ -madwifi-driver-0.1_pre20040108.ebuild,
+ -madwifi-driver-0.1_pre20040212.ebuild,
+ -madwifi-driver-0.1_pre20040514.ebuild,
+ -madwifi-driver-0.1_pre20040726.ebuild,
+ madwifi-driver-0.1_pre20040906.ebuild,
+ +madwifi-driver-0.1_pre20041019.ebuild:
+ Flushed a few of the older ebuilds and added a new 20041019 snapshot for
+ kernel 2.6.9 - madwifi-multi-ssid.patch still appears to be needed
*madwifi-driver-0.1_pre20040906 (06 Sep 2004)
diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest
index 3b731e74fef4..0c6e6763c545 100644
--- a/net-wireless/madwifi-driver/Manifest
+++ b/net-wireless/madwifi-driver/Manifest
@@ -1,18 +1,10 @@
-MD5 03ec542fdd146f944e1cb042b2737b2b madwifi-driver-0.1_pre20040514.ebuild 1285
-MD5 e8cc8b03dd0e6004dcaa2ae40a865352 madwifi-driver-0.1_pre20040212.ebuild 1544
-MD5 bc0f5d0eb065e14e1c707944dd81ce38 madwifi-driver-0.1_pre20031213-r1.ebuild 1547
-MD5 82869dab698ac726864aa4b614be0e12 madwifi-driver-0.1_pre20040726.ebuild 1442
-MD5 c9419e007c0201b3a17424bbb7448373 madwifi-driver-0.1_pre20040906.ebuild 1904
-MD5 21d600ab4701f18262587bdd50415aa5 madwifi-driver-0.1_pre20040108.ebuild 1544
-MD5 ed2e2f1f5f3ee291bc1f9e41d50044de ChangeLog 2990
+MD5 ef34b954476cff2badc800bb5ee03dea madwifi-driver-0.1_pre20041019.ebuild 1936
+MD5 f4cbc281db2784d914c8b7f61238b584 madwifi-driver-0.1_pre20040906.ebuild 1909
+MD5 d45bf8a9e159c3f908b23d5b780b5251 ChangeLog 3102
MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
MD5 f232721a5c111d2fec3a8697f67bd886 madwifi-driver-0.1_pre20040824-r1.ebuild 2015
-MD5 e00b943f3c94116d21cae2f156eddb3f files/digest-madwifi-driver-0.1_pre20031213-r1 83
-MD5 87a16f54594ebda97e3ef6a9f64d798b files/digest-madwifi-driver-0.1_pre20040108 83
-MD5 b328239759561fb84caa9430f6d172ef files/digest-madwifi-driver-0.1_pre20040212 83
-MD5 e1ac8645264cff91daf51eb00fe88298 files/digest-madwifi-driver-0.1_pre20040514 84
-MD5 acd6d2fa40bd7e96da1df6529c506a81 files/digest-madwifi-driver-0.1_pre20040726 84
MD5 527d277dc2fea62fb5a3ae7f54c98e33 files/digest-madwifi-driver-0.1_pre20040906 174
+MD5 87299a7ead5bf030018e9fa58f2cdf86 files/digest-madwifi-driver-0.1_pre20041019 84
MD5 807179e31533b4895664bff1421f4381 files/madwifi-multi-ssid-support.patch 3343
MD5 d9ea69973349d71e055b16a64039f1b7 files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch 1749
MD5 444756b2062924ee7e0e631e956d46e9 files/madwifi-driver-0.1-arp-packets-33958.patch 704
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20031213-r1 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20031213-r1
deleted file mode 100644
index b564f9c3933b..000000000000
--- a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20031213-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c4930c0cfbe1136e6f1d930c78325bdb madwifi-driver-0.1_pre20031213.tar.bz2 461152
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108
deleted file mode 100644
index 7608dfa41f11..000000000000
--- a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040108
+++ /dev/null
@@ -1 +0,0 @@
-MD5 08e311d2de0618cd2afafec1ed118bf6 madwifi-driver-0.1_pre20040108.tar.bz2 465247
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040212 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040212
deleted file mode 100644
index 17288ac36156..000000000000
--- a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040212
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8df3f9afb3ce28efe40a4b4851d44c33 madwifi-driver-0.1_pre20040212.tar.bz2 791958
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040514 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040514
deleted file mode 100644
index 927c0f89b2ff..000000000000
--- a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040514
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fcaf43a085c1ff282d00aaa6b489a3b4 madwifi-driver-0.1_pre20040514.tar.bz2 1125098
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040726 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040726
deleted file mode 100644
index 93dd246123aa..000000000000
--- a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20040726
+++ /dev/null
@@ -1 +0,0 @@
-MD5 652469b415e280e82acb49f349260109 madwifi-driver-0.1_pre20040726.tar.bz2 1385453
diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20041019 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20041019
new file mode 100644
index 000000000000..f63882921003
--- /dev/null
+++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1_pre20041019
@@ -0,0 +1 @@
+MD5 3dc7bcc46ade7ab9ff7ea25fb7377366 madwifi-driver-0.1_pre20041019.tar.bz2 1570237
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213-r1.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213-r1.ebuild
deleted file mode 100644
index 667d2b8696af..000000000000
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20031213-r1.ebuild,v 1.3 2004/06/25 00:46:35 agriffis Exp $
-
-DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
-
-# Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
-
- if [[ "${KV}" > "2.5" ]] ; then
- cd /usr/src/linux
- ./scripts/modpost ./vmlinux
- fi
-
-}
-
-src_unpack() {
- check_KV
- unpack ${A}
-
- einfo "${KV}"
-
- cd ${S}
- mv Makefile.inc ${T}
- sed -e "s:\$(shell uname -r):${KV}:" \
- -e "s:\${DEPTH\}/../:/usr/src/:" \
- ${T}/Makefile.inc > Makefile.inc
-}
-
-src_compile() {
- make clean
- make || die
-}
-
-src_install() {
- dodir /lib/modules/${KV}/net
- insinto /lib/modules/${KV}/net
-
- # dealing with 2.6.0 kernel modules .ko naming
- if [[ "${KV}" > "2.5" ]] ; then
-# ewarn "Kernel Version 2.5 or higher"
- doins ${S}/wlan/wlan.ko ${S}/ath_hal/ath_hal.ko ${S}/driver/ath_pci.ko
- else
-# ewarn "Kernel Version under 2.5"
- doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o
- fi
-
- dodoc README
-}
-
-pkg_postinst() {
-
- depmod -a
-
- einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
- einfo ""
-}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild
deleted file mode 100644
index 3e50de459218..000000000000
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040108.ebuild,v 1.2 2004/06/25 00:46:35 agriffis Exp $
-
-DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
-
-# Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
-
- if [[ "${KV}" > "2.5" ]] ; then
- cd /usr/src/linux
- ./scripts/modpost ./vmlinux
- fi
-
-}
-
-src_unpack() {
- check_KV
- unpack ${A}
-
- einfo "${KV}"
-
- cd ${S}
- mv Makefile.inc ${T}
- sed -e "s:\$(shell uname -r):${KV}:" \
- -e "s:\${DEPTH\}/../:/usr/src/:" \
- ${T}/Makefile.inc > Makefile.inc
-}
-
-src_compile() {
- make clean
- make || die
-}
-
-src_install() {
- dodir /lib/modules/${KV}/net
- insinto /lib/modules/${KV}/net
-
- # dealing with 2.6.0 kernel modules .ko naming
- if [[ "${KV}" > "2.5" ]] ; then
-# ewarn "Kernel Version 2.5 or higher"
- doins ${S}/wlan/wlan.ko ${S}/ath_hal/ath_hal.ko ${S}/driver/ath_pci.ko
- else
-# ewarn "Kernel Version under 2.5"
- doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o
- fi
-
- dodoc README
-}
-
-pkg_postinst() {
-
- depmod -a
-
- einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
- einfo ""
-}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040212.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040212.ebuild
deleted file mode 100644
index 2cab8926c8d8..000000000000
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040212.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040212.ebuild,v 1.2 2004/06/25 00:46:35 agriffis Exp $
-
-DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
-
-# Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
-
- if [[ "${KV}" > "2.5" ]] ; then
- cd /usr/src/linux
- ./scripts/modpost ./vmlinux
- fi
-
-}
-
-src_unpack() {
- check_KV
- unpack ${A}
-
- einfo "${KV}"
-
- cd ${S}
- mv Makefile.inc ${T}
- sed -e "s:\$(shell uname -r):${KV}:" \
- -e "s:\${DEPTH\}/../:/usr/src/:" \
- ${T}/Makefile.inc > Makefile.inc
-}
-
-src_compile() {
- make clean
- make || die
-}
-
-src_install() {
- dodir /lib/modules/${KV}/net
- insinto /lib/modules/${KV}/net
-
- # dealing with 2.6.0 kernel modules .ko naming
- if [[ "${KV}" > "2.5" ]] ; then
-# ewarn "Kernel Version 2.5 or higher"
- doins ${S}/wlan/wlan.ko ${S}/ath_hal/ath_hal.ko ${S}/driver/ath_pci.ko
- else
-# ewarn "Kernel Version under 2.5"
- doins ${S}/wlan/wlan.o ${S}/ath_hal/ath_hal.o ${S}/driver/ath_pci.o
- fi
-
- dodoc README
-}
-
-pkg_postinst() {
-
- depmod -a
-
- einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
- einfo ""
-}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040514.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040514.ebuild
deleted file mode 100644
index fb0099798183..000000000000
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040514.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040514.ebuild,v 1.3 2004/06/25 00:46:35 agriffis Exp $
-
-DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
-
-# Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
-
- if [[ "${KV}" > "2.5" ]] ; then
- cd /usr/src/linux
- ./scripts/modpost ./vmlinux
- fi
-
-}
-
-src_unpack() {
- check_KV
- unpack ${A}
-}
-
-src_compile() {
- unset ARCH
- make clean
- make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" || die
-}
-
-src_install() {
- unset ARCH
- make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" \
- DESTDIR="${D}" install || die
-
- dodoc README
-}
-
-pkg_postinst() {
-
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
- einfo ""
-}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040726.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040726.ebuild
deleted file mode 100644
index 39cf59f3930e..000000000000
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040726.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040726.ebuild,v 1.1 2004/07/26 16:12:29 solar Exp $
-
-inherit eutils
-
-DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
-HOMEPAGE="http://madwifi.sourceforge.net/"
-
-# Point to any required sources; these will be automatically downloaded by
-# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-
-KEYWORDS="~x86"
-IUSE=""
-DEPEND=""
-
-S=${WORKDIR}
-
-pkg_setup() {
-
- if [[ "${KV}" > "2.5" ]] ; then
- cd /usr/src/linux
- ./scripts/modpost ./vmlinux
- fi
-
-}
-
-src_unpack() {
- check_KV
- unpack ${A}
- cd ${S}
- # http://sourceforge.net/mailarchive/forum.php?thread_id=5206227&forum_id=33958
- epatch ${FILESDIR}/${PN}-0.1-arp-packets-33958.patch
-}
-
-src_compile() {
- unset ARCH
- make clean
- make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" || die
-}
-
-src_install() {
- unset ARCH
- make KERNELPATH="/usr/src/linux" KERNELRELEASE="${KV}" \
- DESTDIR="${D}" install || die
-
- dodoc README
-}
-
-pkg_postinst() {
-
- test -r "${ROOT}/usr/src/linux/System.map" && \
- depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
-
- einfo ""
- einfo "The madwifi drivers create an interface named 'athX'"
- einfo "Create /etc/init.d/net.ath0 and add a line for athX"
- einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
- einfo ""
-}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild
index e98f2255ba73..a8f05a99cc7e 100644
--- a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild,v 1.1 2004/09/06 18:46:51 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20040906.ebuild,v 1.2 2004/10/19 18:49:42 solar Exp $
# All work on madwifi is pretty much done under the WPA branch. At some
# point in the near future it should be merged back into HEAD.
@@ -13,7 +13,7 @@ HOMEPAGE="http://madwifi.sourceforge.net/"
# Point to any required sources; these will be automatically downloaded by
# Portage.
-SRC_URI="mirror://gentoo/$P.tar.bz2 mirror://gentoo/${PN}-${PV}-gentoo.patch.bz2"
+SRC_URI="mirror://gentoo/${P}.tar.bz2 mirror://gentoo/${PN}-${PV}-gentoo.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -25,12 +25,12 @@ DEPEND=""
S=${WORKDIR}
pkg_setup() {
+ check_KV
if [[ "${KV}" > "2.5" ]] ; then
- cd ${ROOT}/usr/src/linux
- if [[ "${KV}" > "2.6.8" ]] ; then
- ./scripts/mod/modpost ./vmlinux
- else
- ./scripts/modpost ./vmlinux
+ if [[ "${KV}" < "2.6.6" ]] ; then
+ cd ${ROOT}/usr/src/linux
+ [ -x ./scripts/modpost ] \
+ && ./scripts/modpost ./vmlinux
fi
fi
}
diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20041019.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20041019.ebuild
new file mode 100644
index 000000000000..e5b82449bffe
--- /dev/null
+++ b/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20041019.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1_pre20041019.ebuild,v 1.1 2004/10/19 18:49:42 solar Exp $
+
+# All work on madwifi is pretty much done under the WPA branch. At some
+# point in the near future it should be merged back into HEAD.
+# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co -r WPA madwifi
+
+inherit eutils kernel-mod
+
+DESCRIPTION="Wireless driver for Atheros chipset a/b/g cards"
+HOMEPAGE="http://madwifi.sourceforge.net/"
+
+# Point to any required sources; these will be automatically downloaded by
+# Portage.
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+#SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PV}-gentoo.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=""
+
+S=${WORKDIR}
+
+pkg_setup() {
+ check_KV
+ if [[ "${KV}" > "2.5" ]] ; then
+ if [[ "${KV}" < "2.6.6" ]] ; then
+ cd ${ROOT}/usr/src/linux
+ [ -x ./scripts/modpost ] \
+ && ./scripts/modpost ./vmlinux
+ fi
+ fi
+}
+
+src_unpack() {
+ check_KV
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/madwifi-multi-ssid-support.patch
+
+ if kernel-mod_is_2_6_kernel && [ ${KV_PATCH} -gt 5 ]; then
+ for dir in ath ath_hal net80211; do
+ sed -i -e "s:SUBDIRS=:M=:" ${S}/${dir}/Makefile
+ done
+ fi
+}
+
+src_compile() {
+ unset ARCH
+ make clean
+ make KERNELPATH="${ROOT}/usr/src/linux" KERNELRELEASE="${KV}" || die
+}
+
+src_install() {
+ unset ARCH
+ make KERNELPATH="${ROOT}/usr/src/linux" KERNELRELEASE="${KV}" \
+ DESTDIR="${D}" install || die
+
+ dodoc README COPYRIGHT
+}
+
+pkg_postinst() {
+
+ [ -r "${ROOT}/usr/src/linux/System.map" ] && \
+ depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+
+ einfo ""
+ einfo "The madwifi drivers create an interface named 'athX'"
+ einfo "Create /etc/init.d/net.ath0 and add a line for athX"
+ einfo "in /etc/conf.d/net like 'iface_ath0=\"dhcp\"'"
+ einfo ""
+}