summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-ng/ChangeLog259
-rw-r--r--net-wireless/madwifi-ng/Manifest16
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1401.200601171
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1420.200602011
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1440.200602061
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1443.200602071
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1473.200603121
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1485.200603251
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1502.200604141
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1401.20060117.ebuild120
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1420.20060201.ebuild115
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1440.20060206.ebuild118
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1443.20060207.ebuild125
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1473.20060312.ebuild125
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1485.20060325.ebuild125
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1502.20060414.ebuild125
-rw-r--r--net-wireless/madwifi-ng/metadata.xml9
17 files changed, 1144 insertions, 0 deletions
diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog
new file mode 100644
index 000000000000..9ebb867a2b65
--- /dev/null
+++ b/net-wireless/madwifi-ng/ChangeLog
@@ -0,0 +1,259 @@
+# ChangeLog for net-wireless/madwifi-ng
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+*madwifi-ng-0.1502.20060414 (14 Apr 2006)
+*madwifi-ng-0.1485.20060325 (14 Apr 2006)
+*madwifi-ng-0.1473.20060312 (14 Apr 2006)
+*madwifi-ng-0.1443.20060207 (14 Apr 2006)
+*madwifi-ng-0.1440.20060206 (14 Apr 2006)
+*madwifi-ng-0.1420.20060201 (14 Apr 2006)
+*madwifi-ng-0.1401.20060117 (14 Apr 2006)
+
+ 14 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> +metadata.xml,
+ +madwifi-ng-0.1401.20060117.ebuild, +madwifi-ng-0.1420.20060201.ebuild,
+ +madwifi-ng-0.1440.20060206.ebuild, +madwifi-ng-0.1443.20060207.ebuild,
+ +madwifi-ng-0.1473.20060312.ebuild, +madwifi-ng-0.1485.20060325.ebuild,
+ +madwifi-ng-0.1502.20060414.ebuild:
+ Renamed from net-wireless/madwifi-driver to net-wireless/madwifi-ng.
+
+*madwifi-driver-0.1485.20060325 (27 Mar 2006)
+
+ 27 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1485.20060325.ebuild:
+ New madwifi-ng snapshot.
+
+*madwifi-driver-0.1473.20060312 (12 Mar 2006)
+
+ 12 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1473.20060312.ebuild:
+ New snapshot, bug #125933.
+
+ 05 Mar 2006; Henrik Brix Andersen <brix@gentoo.org>
+ madwifi-driver-0.1443.20060207.ebuild:
+ Stable on x86.
+
+ 17 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ madwifi-driver-0.1_pre20050420-r1.ebuild,
+ madwifi-driver-0.1401.20060117.ebuild,
+ madwifi-driver-0.1420.20060201.ebuild,
+ madwifi-driver-0.1440.20060206.ebuild,
+ madwifi-driver-0.1443.20060207.ebuild:
+ Added note about remerging wpa_supplicant/hostapd after upgrading
+ madwifi-driver. Thanks to Chris Bainbridge in bug #122553.
+
+*madwifi-driver-0.1443.20060207 (07 Feb 2006)
+
+ 07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1443.20060207.ebuild:
+ New snapshot. The udev rules are no longer needed, bug #121913.
+
+*madwifi-driver-0.1440.20060206 (06 Feb 2006)
+
+ 06 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1440.20060206.ebuild:
+ Version bump, bug #121783.
+
+ 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ -madwifi-driver-0.1_pre20051111.ebuild:
+ Removed broken version.
+
+*madwifi-driver-0.1420.20060201 (01 Feb 2006)
+
+ 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1420.20060201.ebuild:
+ New snapshot. Fixes bug #120290.
+
+ 17 Jan 2006; Roy Marples <uberlord@gentoo.org>
+ madwifi-driver-0.1401.20060117.ebuild:
+ Marked ~amd64.
+
+*madwifi-driver-0.1401.20060117 (17 Jan 2006)
+
+ 17 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1401.20060117.ebuild:
+ New snapshot, changed naming scheme to match upstream. Fixes bug #112853 and
+ bug #102104. Thank you to Sebastian Siewior, Uberlord and cryos for testing.
+
+ 16 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+ madwifi-driver-0.1_pre20051111.ebuild:
+ Remove ath_rate_amrr if it is leftover from an old installation, #112728
+
+ 15 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org>
+ madwifi-driver-0.1_pre20051111.ebuild:
+ Marked -amd64, kernel oops caused by traffic over the interface.
+
+*madwifi-driver-0.1_pre20051111 (13 Nov 2005)
+
+ 13 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+ -files/madwifi-driver-0.1-arp-packets-33958.patch,
+ -files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch,
+ -files/madwifi-multi-ssid-support.patch,
+ -madwifi-driver-0.1_pre20050107.ebuild,
+ -madwifi-driver-0.1_pre20050224.ebuild,
+ -madwifi-driver-0.1_pre20050420.ebuild,
+ -madwifi-driver-0.1_pre20050809.ebuild,
+ -madwifi-driver-0.1_pre20050809-r1.ebuild,
+ -madwifi-driver-0.1_pre20051031.ebuild,
+ +madwifi-driver-0.1_pre20051111.ebuild:
+ Version bump, remove old ebuilds
+
+ 12 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
+ madwifi-driver-0.1_pre20051031.ebuild:
+ Add wlan_scan_sta, wlan_scan_ap, postinst einfo note, new homepage, extra
+ docs, madwifi-tools DEPEND
+
+*madwifi-driver-0.1_pre20051031 (09 Nov 2005)
+
+ 09 Nov 2005; Peter Johanson <latexer@gentoo.org>
+ +madwifi-driver-0.1_pre20051031.ebuild:
+ Bump with new CVS snapshot.
+
+*madwifi-driver-0.1_pre20050809-r1 (22 Aug 2005)
+*madwifi-driver-0.1_pre20050420-r1 (22 Aug 2005)
+
+ 22 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-driver-0.1_pre20050420-r1.ebuild,
+ +madwifi-driver-0.1_pre20050809-r1.ebuild:
+ Install header files for use by net-wireless/hostapd and
+ net-wireless/wpa_supplicant.
+
+*madwifi-driver-0.1_pre20050809 (10 Aug 2005)
+
+ 10 Aug 2005; Stefan Schweizer <genstef@gentoo.org>
+ +madwifi-driver-0.1_pre20050809.ebuild:
+ Version bump thanks to Miles Lubin <miles@lubin.us> in bug 101872
+
+ 30 Jun 2005; Joseph Jezak <josejx@gentoo.org>
+ madwifi-driver-0.1_pre20050420.ebuild:
+ Added ~ppc and PPC target, bug #97001.
+
+*madwifi-driver-0.1_pre20050420 (25 Apr 2005)
+
+ 25 Apr 2005; <solar@gentoo.org> -madwifi-driver-0.1_pre20041019.ebuild,
+ -madwifi-driver-0.1_pre20050106.ebuild,
+ +madwifi-driver-0.1_pre20050420.ebuild:
+ - remove older snapshots that were using kernel-mod.eclass and updated snapshot
+
+*madwifi-driver-0.1_pre20050224 (27 Feb 2005)
+
+ 27 Feb 2005; Stefan Schweizer <genstef@gentoo.org>
+ +madwifi-driver-0.1_pre20050224.ebuild:
+ New madwifi cvs-snapshot, bug 81766, and module build order restructure, bug
+ 82752
+
+ 09 Jan 2005; <solar@gentoo.org> madwifi-driver-0.1_pre20050107.ebuild:
+ - removing masking and put ebuild in ~arch
+
+ 08 Jan 2005; Stefan Schweizer <genstef@gentoo.org>
+ madwifi-driver-0.1_pre20050107.ebuild:
+ S= --> S=/madwifi, thanks to Dominic Battre <dominic.battre@gmx.de> in bug
+ 75654 comment #22
+
+*madwifi-driver-0.1_pre20050107 (07 Jan 2005)
+
+ 07 Jan 2005; <solar@gentoo.org> +madwifi-driver-0.1_pre20050107.ebuild:
+ - linux-mod update from Stefan Schweizer
+
+*madwifi-driver-0.1_pre20050106 (07 Jan 2005)
+
+ 07 Jan 2005; <solar@gentoo.org> -madwifi-driver-0.1_pre20040824-r1.ebuild,
+ -madwifi-driver-0.1_pre20040906.ebuild,
+ +madwifi-driver-0.1_pre20050106.ebuild:
+ - version bump for 2.6.x kernels
+
+ 22 Oct 2004; <solar@gentoo.org> madwifi-driver-0.1_pre20041019.ebuild:
+ added app-arch/sharutils to DEPEND
+
+*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)
+
+ 06 Sep 2004; <solar@gentoo.org> -madwifi-driver-0.1_pre20040824.ebuild,
+ +madwifi-driver-0.1_pre20040906.ebuild:
+ updated the cvs snapshot of madwifi-driver. The WPA branch was merged back
+ into HEAD
+
+*madwifi-driver-0.1_pre20040824-r1 (29 Aug 2004)
+
+ 29 Aug 2004; <solar@gentoo.org>
+ +files/madwifi-driver-2.6.8-20040814-proc_dointvec.patch,
+ +files/madwifi-multi-ssid-support.patch,
+ +madwifi-driver-0.1_pre20040824-r1.ebuild:
+ update for 2.6.8 kernels
+
+ 24 Aug 2004; <solar@gentoo.org> :
+ updated snapshot, pulling from the wpa branch
+
+*madwifi-driver-0.1_pre20040726 (26 Jul 2004)
+
+ 26 Jul 2004; <solar@gentoo.org> madwifi-driver-0.1_pre20040726.ebuild,
+ files/madwifi-driver-0.1-arp-packets-33958.patch:
+ new snapshot and added patch from madwifi mailing list which resolves corrupt
+ frames on wlan0 when ath0 and wlan0 are in the same bridge
+
+ 15 May 2004; Peter Johanson <latexer@gentoo.org>
+ madwifi-driver-0.1_pre20040514.ebuild:
+ Small fix for 2.6 kernels. Silly me.
+
+*madwifi-driver-0.1_pre20040514 (14 May 2004)
+
+ 14 May 2004; Peter Johanson <latexer@gentoo.org>
+ madwifi-driver-0.1_pre20040514.ebuild:
+ Bump with new CVS snapshot. Includes small changes to handing of makefile variables.
+
+*madwifi-driver-0.1_pre20040212 (12 Feb 2004)
+
+ 12 Feb 2004; Stephen Diener <sediener@gentoo.org>
+ madwifi-driver-0.1_pre20030702.ebuild,
+ madwifi-driver-0.1_pre20030802.ebuild,
+ madwifi-driver-0.1_pre20031110.ebuild,
+ madwifi-driver-0.1_pre20031213-r1.ebuild,
+ madwifi-driver-0.1_pre20031213.ebuild,
+ madwifi-driver-0.1_pre20040212.ebuild:
+ Cleared out all but the last three monthly snapshots. Added Febs snap.
+
+*madwifi-driver-0.1_pre20040108 (08 Jan 2004)
+
+ 08 Jan 2004; Stephen Diener <sediener@gentoo.org>
+ madwifi-driver-0.1_pre20040108.ebuild:
+ monthly CVS snapshot for Jan
+
+*madwifi-driver-0.1_pre20031213-r1 (19 Dec 2003)
+
+ 19 Dec 2003; Stephen Diener <sediener@gentoo.org>
+ madwifi-driver-0.1_pre20031213-r1.ebuild:
+ Modified to work with 2.6 kernels: thanks to flokno@gmx.net and Jani Vaarala
+ <flame@pymgyprojects.com> for debugging
+
+*madwifi-driver-0.1_pre20031213 (13 Dec 2003)
+
+ 13 Dec 2003; Stephen Diener <sediener@gentoo.org>
+ madwifi-driver-0.1_pre20031213.ebuild:
+ new monthly snapshot as promised
+
+ 11 Nov 2003; Peter Johanson <latexer@gentoo.org> metadata.xml:
+ Now in the better "mobile" herd
+
+*madwifi-driver-0.1_pre20030802 (03 Aug 2003)
+
+ 03 Aug 2003; Stephen Diener <sediener@gentoo.org>
+ madwifi-driver-0.1_pre20030802.ebuild:
+ New release
+
+*madwifi-driver-0.1_pre20030702 (18 Jul 2003)
+
+ 18 Jul 2003; Peter Johanson <latexer@gentoo.org>
+ madwifi-driver-0.1_pre20030702.ebuild:
+ Initial import. Drivers for the Atheros chipset (a/b/g)
+
diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest
new file mode 100644
index 000000000000..4e7991e99cd2
--- /dev/null
+++ b/net-wireless/madwifi-ng/Manifest
@@ -0,0 +1,16 @@
+MD5 39f91f36fd7e6839e8252e5fc31b92f5 ChangeLog 8769
+MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-ng-0.1401.20060117 78
+MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-ng-0.1420.20060201 78
+MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-ng-0.1440.20060206 78
+MD5 7e62e96505ecb836f9f74c54d448af59 files/digest-madwifi-ng-0.1443.20060207 78
+MD5 a505c0375ea7fdfc85976a0fc0866c6c files/digest-madwifi-ng-0.1473.20060312 78
+MD5 cb9bb227fc8875077d219e7bcae57ba5 files/digest-madwifi-ng-0.1485.20060325 78
+MD5 f97361e3508b06548cb54b3992459d7b files/digest-madwifi-ng-0.1502.20060414 78
+MD5 3e3d99e1364c2355d63e5662920b3ff9 madwifi-ng-0.1401.20060117.ebuild 3479
+MD5 3a1718f223eb3f088d666bd9ba51495c madwifi-ng-0.1420.20060201.ebuild 3395
+MD5 4d82bdbe89135bcc9355601628fd4a4f madwifi-ng-0.1440.20060206.ebuild 3441
+MD5 4f6105558bc356d786f2c5d094154e22 madwifi-ng-0.1443.20060207.ebuild 3697
+MD5 d24eba289c53b86acaa8162e6b6e894e madwifi-ng-0.1473.20060312.ebuild 3698
+MD5 d24eba289c53b86acaa8162e6b6e894e madwifi-ng-0.1485.20060325.ebuild 3698
+MD5 19daf595773ea263aa5ac9090c0fe4d9 madwifi-ng-0.1502.20060414.ebuild 3709
+MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1401.20060117 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1401.20060117
new file mode 100644
index 000000000000..ac1f6c432a45
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1401.20060117
@@ -0,0 +1 @@
+MD5 1a99b4b3c32e41911bc20ca0870f64b0 madwifi-ng-r1401-20060117.tar.gz 3196291
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1420.20060201 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1420.20060201
new file mode 100644
index 000000000000..f2065bf75b64
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1420.20060201
@@ -0,0 +1 @@
+MD5 7aec9b28cc27519d5d58addc81bda290 madwifi-ng-r1420-20060201.tar.gz 3249497
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1440.20060206 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1440.20060206
new file mode 100644
index 000000000000..4d249e405f84
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1440.20060206
@@ -0,0 +1 @@
+MD5 12ee6032818ee5ee5371da5c65f2d5ed madwifi-ng-r1440-20060206.tar.gz 3249614
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1443.20060207 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1443.20060207
new file mode 100644
index 000000000000..6613fad653a7
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1443.20060207
@@ -0,0 +1 @@
+MD5 3695a41cab305c6746c65c80e7b17363 madwifi-ng-r1443-20060207.tar.gz 3249472
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1473.20060312 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1473.20060312
new file mode 100644
index 000000000000..110a69d918b6
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1473.20060312
@@ -0,0 +1 @@
+MD5 f4f057f4b416adc4f517c9bfc209a986 madwifi-ng-r1473-20060312.tar.gz 3107599
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1485.20060325 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1485.20060325
new file mode 100644
index 000000000000..7bf0a487c531
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1485.20060325
@@ -0,0 +1 @@
+MD5 39e321eacb93e84f8a7a72a41dc611fc madwifi-ng-r1485-20060325.tar.gz 3108740
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1502.20060414 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1502.20060414
new file mode 100644
index 000000000000..b340de8b9556
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1502.20060414
@@ -0,0 +1 @@
+MD5 a65dfb227d80dfe23813e481407e115d madwifi-ng-r1502-20060414.tar.gz 3114204
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1401.20060117.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1401.20060117.ebuild
new file mode 100644
index 000000000000..270296893759
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1401.20060117.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1401.20060117.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # make fails to determine TARGET if ARCH is set
+ unset ARCH
+
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ linux-mod_src_compile
+
+ set_arch_to_portage
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1420.20060201.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1420.20060201.ebuild
new file mode 100644
index 000000000000..1242f6e3632b
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1420.20060201.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1420.20060201.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1440.20060206.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1440.20060206.ebuild
new file mode 100644
index 000000000000..c62130dc7890
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1440.20060206.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1440.20060206.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1443.20060207.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1443.20060207.ebuild
new file mode 100644
index 000000000000..053d4cf9c91c
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1443.20060207.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1443.20060207.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+MODULESD_ATH_PCI_DOCS="README"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
+ einfo "module."
+ einfo
+ einfo "The type of the created interface can be controlled through the 'autocreate'"
+ einfo "module parameter."
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1473.20060312.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1473.20060312.ebuild
new file mode 100644
index 000000000000..6f90c8d7ce98
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1473.20060312.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1473.20060312.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+MODULESD_ATH_PCI_DOCS="README"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
+ einfo "module."
+ einfo
+ einfo "The type of the created interface can be controlled through the 'autocreate'"
+ einfo "module parameter."
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1485.20060325.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1485.20060325.ebuild
new file mode 100644
index 000000000000..85b61ce2a2ba
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1485.20060325.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1485.20060325.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+MODULESD_ATH_PCI_DOCS="README"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
+ einfo "module."
+ einfo
+ einfo "The type of the created interface can be controlled through the 'autocreate'"
+ einfo "module parameter."
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1502.20060414.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1502.20060414.ebuild
new file mode 100644
index 000000000000..74497c455296
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1502.20060414.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.1502.20060414.ebuild,v 1.1 2006/04/14 13:52:48 brix Exp $
+
+inherit linux-mod
+
+MY_P=${PN}-r${PV:2:4}-${PV:7:8}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+BUILD_TARGETS="all"
+MODULESD_ATH_PCI_DOCS="README"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES="ath_hal(net:${S}/ath_hal)
+ wlan(net:${S}/net80211)
+ wlan_acl(net:${S}/net80211)
+ wlan_ccmp(net:${S}/net80211)
+ wlan_tkip(net:${S}/net80211)
+ wlan_wep(net:${S}/net80211)
+ wlan_xauth(net:${S}/net80211)
+ wlan_scan_sta(net:${S}/net80211)
+ wlan_scan_ap(net:${S}/net80211)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
+ einfo "module."
+ einfo
+ einfo "The type of the created interface can be controlled through the 'autocreate'"
+ einfo "module parameter."
+ einfo
+ einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}
diff --git a/net-wireless/madwifi-ng/metadata.xml b/net-wireless/madwifi-ng/metadata.xml
new file mode 100644
index 000000000000..cfbdff13bd61
--- /dev/null
+++ b/net-wireless/madwifi-ng/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>mobile</herd>
+<maintainer>
+ <email>brix@gentoo.org</email>
+ <name>Henrik Brix Andersen</name>
+</maintainer>
+</pkgmetadata>