commit:     87876c79718b701fd99d23049107c9b4076c7e28
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 26 21:06:58 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Sun Jun 26 21:06:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87876c79

net-wireless/madwifi*: remove madwifi-ng and madwifi-ng-tools after years of 
being masked and deprecated

 net-wireless/madwifi-ng-tools/Manifest             |   6 -
 .../madwifi-ng-tools-0.9.3.3.ebuild                |  75 --------
 .../madwifi-ng-tools-0.9.4.4119.20100201.ebuild    |  70 --------
 .../madwifi-ng-tools-0.9.4.4133.20100621.ebuild    |  70 --------
 .../madwifi-ng-tools-0.9.4.4165.20110816.ebuild    |  70 --------
 .../madwifi-ng-tools-0.9.4.4180.20120502.ebuild    |  70 --------
 .../madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild |  75 --------
 net-wireless/madwifi-ng-tools/metadata.xml         |  11 --
 net-wireless/madwifi-ng/Manifest                   |   6 -
 .../files/madwifi-dfs-ieee80211-skb-update.patch   |  12 --
 .../files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch |  12 --
 .../files/madwifi-ng-0.9.4-2.6.27-r3811.patch      | 190 ---------------------
 .../madwifi-ng-0.9.4-request_module-build.patch    |  31 ----
 .../files/madwifi-ng-injection-r3925.patch         |  32 ----
 .../madwifi-ng/files/madwifi-ng-r1886.patch        |  26 ---
 net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild  |  85 ---------
 net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild |  95 -----------
 .../madwifi-ng-0.9.4.4119.20100201.ebuild          |  96 -----------
 .../madwifi-ng-0.9.4.4133.20100621.ebuild          |  96 -----------
 .../madwifi-ng-0.9.4.4165.20110816.ebuild          |  96 -----------
 .../madwifi-ng-0.9.4.4180.20120502.ebuild          |  96 -----------
 net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild    |  95 -----------
 net-wireless/madwifi-ng/metadata.xml               |  19 ---
 profiles/arch/arm/use.mask                         |   1 -
 profiles/arch/arm64/use.mask                       |   1 -
 profiles/arch/nios2/use.mask                       |   1 -
 profiles/arch/powerpc/ppc64/use.mask               |   4 -
 profiles/default/bsd/use.mask                      |   1 -
 profiles/hardened/linux/powerpc/ppc64/use.mask     |   4 -
 profiles/package.mask                              |   7 -
 30 files changed, 1453 deletions(-)

diff --git a/net-wireless/madwifi-ng-tools/Manifest 
b/net-wireless/madwifi-ng-tools/Manifest
deleted file mode 100644
index cd3adef..0000000
--- a/net-wireless/madwifi-ng-tools/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST madwifi-0.9.3.3.tar.bz2 3489995 SHA256 
7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 SHA512 
e3ca8a59fa58d10bd36924a30d1db5570af363887c6d322f2a67bf2a9804d8370b9dc13a4dc340849274d9d43bb801d12151e9c683cf86df2b31e9e48513ff19
 WHIRLPOOL 
dadba40c18ad464574ce27ed59fe13d1b8d3ae423d580da68945677cd903f44973513643dcf81029dabb2f2278b7b0203f925eeba1c967b036c97c0847de05fb
-DIST madwifi-0.9.4-r4119-20100201.tar.gz 3534053 SHA256 
43d3295209941cad7c75831dc83dcc0d4223987830d2a4d1089b8f5fa6ad79b6 SHA512 
0fb421db0016268d52acfc46054a6563f1ff4cdbbf1c5ab8cac1557e97287fbe0db35bce554929ec462647d427df86f10bdaf7911679f2f8a7628773db21ff18
 WHIRLPOOL 
9f07c48d8369843dc5b0c6005ca4b140b6f14ddbf89283a92181ef884e2c51a83f25c4d6582ce1629479c71d74fc7b73d0178082d3d17974b56812b65d086dd0
-DIST madwifi-0.9.4-r4133-20100621.tar.gz 3534852 SHA256 
f19f2eea7561a8a50a8731407d959eaafe64cc39fa5a894cac7a62807382d606 SHA512 
d013810a28781ce0cd694b505c5257c1f4afcc8364e9c2901d1b33a3e0a323b0de180500dd0a19424a2d4b5d3201b2a6b0faa30fa14e409bc1bb046ba2e65fd3
 WHIRLPOOL 
78ebf767f4ba4111fc5f42337a2819759bc0e129335371bafeea205a5d2c0322c2fb2b67dbfb2a7953f2832d28af81979e396ba228fd1ac72bca3807c6dc6df4
-DIST madwifi-0.9.4-r4165-20110816.tar.gz 3534958 SHA256 
4b4081f317013e568169d6d732a6158dbf392f43d3d26e52665f340e80993afc SHA512 
86df881ded673c9555263c90b75ce80ef0f338f4bd0726726b60a783d44d5706d3fc3a9178dc310cc283d7ba9fbc7030b6d37794a741cad9fca65945a941f546
 WHIRLPOOL 
c1e01e2bd78dfda076967645caaf7d0a6ea802b4fb995ad4fd167e1ca7b021e48fd75af3c08d7372343aa5d5ee211eaab18090f25f8bc013d19eab940b94d27e
-DIST madwifi-0.9.4-r4180-20120502.tar.gz 3534976 SHA256 
fe1b9f934f3b01b86170e661565f201c4e18b50e826f86e68578b58aea93d080 SHA512 
54dd572dd454997f0f0e462726f0fac9339e883c444cc586ed64a450d1ab314e2912d94f5859c5648f64b663f59caa24be7a1294c06907ca0089877768fbdf9f
 WHIRLPOOL 
18ab6450ed7c7d3b57ec66e7da49aef1822b11f3d0614851d53a834c2581326a80a27b078a05d122d29554dc12369e4be18e3043eb731be633e64293032a7b4b
-DIST madwifi-0.9.4.tar.bz2 3485142 SHA256 
2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 SHA512 
f71aad832e1b14e5fd220a9e47874a4853852381238bfa55705b5480441407796548b6cbe82c6fd334418a0592137ea5d42df75842acda41d419fc0c0dcc157a
 WHIRLPOOL 
087df293b704c4600beaabbcb3e7c3ea6b023eddb4c998207ae342a11ff4ad661c5c3fcecb3a17edb2a0b8a1a2fd0046a135751c09ace2319fae8120bfa279ef

diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.3.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.3.ebuild
deleted file mode 100644
index c0f5bc9..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.3.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit toolchain-funcs
-
-MY_P=${PN/-ng-tools/}-${PV}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-
-IUSE=""
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools
-               ${DEPEND}"
-
-src_unpack() {
-       unpack ${A}
-
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-einfo "S=$S"
-einfo "PV=$PV"
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_compile() {
-       emake || die "emake failed"
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/madwifi-ng-tools-0.9.4.4119.20100201.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4119.20100201.ebuild
deleted file mode 100644
index a2c6058..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4119.20100201.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit versionator toolchain-funcs
-
-MY_PN=${PN/-ng-tools/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools"
-
-src_prepare() {
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/madwifi-ng-tools-0.9.4.4133.20100621.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4133.20100621.ebuild
deleted file mode 100644
index a4c401d..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4133.20100621.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit versionator toolchain-funcs
-
-MY_PN=${PN/-ng-tools/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools"
-
-src_prepare() {
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/madwifi-ng-tools-0.9.4.4165.20110816.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4165.20110816.ebuild
deleted file mode 100644
index 8ebaca2..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4165.20110816.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit versionator toolchain-funcs
-
-MY_PN=${PN/-ng-tools/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools"
-
-src_prepare() {
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/madwifi-ng-tools-0.9.4.4180.20120502.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4180.20120502.ebuild
deleted file mode 100644
index 8ebaca2..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4180.20120502.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit versionator toolchain-funcs
-
-MY_PN=${PN/-ng-tools/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools"
-
-src_prepare() {
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/madwifi-ng-tools-0.9.4.ebuild 
b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild
deleted file mode 100644
index c0f5bc9..0000000
--- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit toolchain-funcs
-
-MY_P=${PN/-ng-tools/}-${PV}
-S=${WORKDIR}/${MY_P}/tools
-
-DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 
802.11a/b/g wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-LICENSE="|| ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-
-IUSE=""
-DEPEND=""
-RDEPEND="!net-wireless/madwifi-old-tools
-               ${DEPEND}"
-
-src_unpack() {
-       unpack ${A}
-
-       # format string fix from solar
-       #sed -i \
-#              -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
-#              ${S}/tools/athstats.c || die
-
-einfo "S=$S"
-einfo "PV=$PV"
-
-       sed -i \
-               -e "s:CC =.*:CC = $(tc-getCC):" \
-               -e "s:CFLAGS=:CFLAGS+=:" \
-               -e "s:LDFLAGS=:LDFLAGS+=:" \
-               "${S}"/Makefile || die
-}
-
-src_compile() {
-       emake || die "emake failed"
-}
-
-src_install() {
-       emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
-               install || die "emake install failed"
-
-       dodir /sbin
-       mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
-
-       # install headers for use by
-       # net-wireless/wpa_supplicant and net-wireless/hostapd
-       cd "${S}"/..
-       insinto /usr/include/madwifi/include/
-       doins include/*.h
-       insinto /usr/include/madwifi/net80211
-       doins net80211/*.h
-}
-
-pkg_postinst() {
-       if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
-               ewarn
-               ewarn "The udev rules for creating interfaces (athX) are no 
longer needed."
-               ewarn
-               ewarn "You should manually remove the 
/etc/udev/rules.d/65-madwifi.rules file"
-               ewarn "and either run 'udevstart' or reboot for the changes to 
take effect."
-               ewarn
-       fi
-       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-tools/metadata.xml 
b/net-wireless/madwifi-ng-tools/metadata.xml
deleted file mode 100644
index e59bdee..0000000
--- a/net-wireless/madwifi-ng-tools/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Rick Farina</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="sourceforge">madwifi</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest
deleted file mode 100644
index cd3adef..0000000
--- a/net-wireless/madwifi-ng/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST madwifi-0.9.3.3.tar.bz2 3489995 SHA256 
7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 SHA512 
e3ca8a59fa58d10bd36924a30d1db5570af363887c6d322f2a67bf2a9804d8370b9dc13a4dc340849274d9d43bb801d12151e9c683cf86df2b31e9e48513ff19
 WHIRLPOOL 
dadba40c18ad464574ce27ed59fe13d1b8d3ae423d580da68945677cd903f44973513643dcf81029dabb2f2278b7b0203f925eeba1c967b036c97c0847de05fb
-DIST madwifi-0.9.4-r4119-20100201.tar.gz 3534053 SHA256 
43d3295209941cad7c75831dc83dcc0d4223987830d2a4d1089b8f5fa6ad79b6 SHA512 
0fb421db0016268d52acfc46054a6563f1ff4cdbbf1c5ab8cac1557e97287fbe0db35bce554929ec462647d427df86f10bdaf7911679f2f8a7628773db21ff18
 WHIRLPOOL 
9f07c48d8369843dc5b0c6005ca4b140b6f14ddbf89283a92181ef884e2c51a83f25c4d6582ce1629479c71d74fc7b73d0178082d3d17974b56812b65d086dd0
-DIST madwifi-0.9.4-r4133-20100621.tar.gz 3534852 SHA256 
f19f2eea7561a8a50a8731407d959eaafe64cc39fa5a894cac7a62807382d606 SHA512 
d013810a28781ce0cd694b505c5257c1f4afcc8364e9c2901d1b33a3e0a323b0de180500dd0a19424a2d4b5d3201b2a6b0faa30fa14e409bc1bb046ba2e65fd3
 WHIRLPOOL 
78ebf767f4ba4111fc5f42337a2819759bc0e129335371bafeea205a5d2c0322c2fb2b67dbfb2a7953f2832d28af81979e396ba228fd1ac72bca3807c6dc6df4
-DIST madwifi-0.9.4-r4165-20110816.tar.gz 3534958 SHA256 
4b4081f317013e568169d6d732a6158dbf392f43d3d26e52665f340e80993afc SHA512 
86df881ded673c9555263c90b75ce80ef0f338f4bd0726726b60a783d44d5706d3fc3a9178dc310cc283d7ba9fbc7030b6d37794a741cad9fca65945a941f546
 WHIRLPOOL 
c1e01e2bd78dfda076967645caaf7d0a6ea802b4fb995ad4fd167e1ca7b021e48fd75af3c08d7372343aa5d5ee211eaab18090f25f8bc013d19eab940b94d27e
-DIST madwifi-0.9.4-r4180-20120502.tar.gz 3534976 SHA256 
fe1b9f934f3b01b86170e661565f201c4e18b50e826f86e68578b58aea93d080 SHA512 
54dd572dd454997f0f0e462726f0fac9339e883c444cc586ed64a450d1ab314e2912d94f5859c5648f64b663f59caa24be7a1294c06907ca0089877768fbdf9f
 WHIRLPOOL 
18ab6450ed7c7d3b57ec66e7da49aef1822b11f3d0614851d53a834c2581326a80a27b078a05d122d29554dc12369e4be18e3043eb731be633e64293032a7b4b
-DIST madwifi-0.9.4.tar.bz2 3485142 SHA256 
2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 SHA512 
f71aad832e1b14e5fd220a9e47874a4853852381238bfa55705b5480441407796548b6cbe82c6fd334418a0592137ea5d42df75842acda41d419fc0c0dcc157a
 WHIRLPOOL 
087df293b704c4600beaabbcb3e7c3ea6b023eddb4c998207ae342a11ff4ad661c5c3fcecb3a17edb2a0b8a1a2fd0046a135751c09ace2319fae8120bfa279ef

diff --git 
a/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch 
b/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch
deleted file mode 100644
index af14023..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/net80211/ieee80211_linux.h       2008-05-09 01:15:01 +0400
-+++ b/net80211/ieee80211_linux.h       2008-05-11 02:26:35 +0400
-@@ -315,6 +315,9 @@ typedef spinlock_t acl_lock_t;
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
- #define __skb_append(a,b,c)   __skb_append(a, b)
- #endif
-+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
-+#define __skb_append(a,b,c)   __skb_queue_after(c,a,b)
-+#endif
- 
- /*
-  * Per-node power-save queue definitions.  Beware of control

diff --git 
a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch 
b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch
deleted file mode 100644
index 686958c..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: ath_hal/Makefile
-===================================================================
---- ath_hal/Makefile   (revision 1648)
-+++ ath_hal/Makefile   (working copy)
-@@ -61,6 +61,7 @@
- ath_hal-objs  := ah_osdep.o ${TARGET}.hal.o
- 
- hostprogs-y   := uudecode
-+uudecode-objs := uudecode.o
- 
- # For older 2.6 kernels
- host-progs    := $(hostprogs-y)

diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-2.6.27-r3811.patch 
b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-2.6.27-r3811.patch
deleted file mode 100644
index b02795f..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-2.6.27-r3811.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-=== modified file 'net80211/ieee80211_wireless.c'
---- net80211/ieee80211_wireless.c      2008-10-22 18:13:35 +0000
-+++ net80211/ieee80211_wireless.c      2008-10-22 18:13:41 +0000
-@@ -1551,11 +1551,19 @@
- 
- struct iwscanreq {            /* XXX: right place for this declaration? */
-       struct ieee80211vap *vap;
-+      struct iw_request_info *info;
-       char *current_ev;
-       char *end_buf;
-       int mode;
- };
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) && 
!defined(IW_REQUEST_FLAG_COMPAT)
-+#define       iwe_stream_add_event(a, b, c, d, e)     iwe_stream_add_event(b, 
c, d, e)
-+#define       iwe_stream_add_point(a, b, c, d, e)     iwe_stream_add_point(b, 
c, d, e)
-+#define       iwe_stream_add_value(a, b, c, d, e, f)  \
-+      iwe_stream_add_value(b, c, d, e, f)
-+#define       iwe_stream_lcp_len(a)                   IW_EV_LCP_LEN
-+#endif
- static int
- giwscan_cb(void *arg, const struct ieee80211_scan_entry *se)
- {
-@@ -1590,7 +1598,8 @@
-               IEEE80211_ADDR_COPY(iwe.u.ap_addr.sa_data, se->se_macaddr);
-       else
-               IEEE80211_ADDR_COPY(iwe.u.ap_addr.sa_data, se->se_bssid);
--      current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, 
IW_EV_ADDR_LEN);
-+      current_ev = iwe_stream_add_event(req->info, current_ev, end_buf,
-+                                      &iwe, IW_EV_ADDR_LEN);
- 
-       /* We ran out of space in the buffer. */
-       if (last_ev == current_ev)
-@@ -1603,11 +1612,11 @@
-       if (vap->iv_opmode == IEEE80211_M_HOSTAP) {
-               iwe.u.data.length = vap->iv_des_nssid > 0 ?
-                       vap->iv_des_ssid[0].len : 0;
--              current_ev = iwe_stream_add_point(current_ev,
-+              current_ev = iwe_stream_add_point(req->info, current_ev,
-                       end_buf, &iwe, vap->iv_des_ssid[0].ssid);
-       } else {
-               iwe.u.data.length = se->se_ssid[1];
--              current_ev = iwe_stream_add_point(current_ev,
-+              current_ev = iwe_stream_add_point(req->info, current_ev,
-                       end_buf, &iwe, (char *) se->se_ssid+2);
-       }
- 
-@@ -1621,8 +1630,8 @@
-               iwe.cmd = SIOCGIWMODE;
-               iwe.u.mode = se->se_capinfo & IEEE80211_CAPINFO_ESS ?
-                       IW_MODE_MASTER : IW_MODE_ADHOC;
--              current_ev = iwe_stream_add_event(current_ev,
--                      end_buf, &iwe, IW_EV_UINT_LEN);
-+              current_ev = iwe_stream_add_event(req->info, current_ev,
-+                              end_buf, &iwe, IW_EV_UINT_LEN);
- 
-               /* We ran out of space in the buffer. */
-               if (last_ev == current_ev)
-@@ -1634,8 +1643,8 @@
-       iwe.cmd = SIOCGIWFREQ;
-       iwe.u.freq.m = se->se_chan->ic_freq * 100000;
-       iwe.u.freq.e = 1;
--      current_ev = iwe_stream_add_event(current_ev,
--              end_buf, &iwe, IW_EV_FREQ_LEN);
-+      current_ev = iwe_stream_add_event(req->info, current_ev,
-+                      end_buf, &iwe, IW_EV_FREQ_LEN);
- 
-       /* We ran out of space in the buffer. */
-       if (last_ev == current_ev)
-@@ -1645,8 +1654,8 @@
-       last_ev = current_ev;
-       iwe.cmd = IWEVQUAL;
-       set_quality(&iwe.u.qual, se->se_rssi, ATH_DEFAULT_NOISE);
--      current_ev = iwe_stream_add_event(current_ev,
--              end_buf, &iwe, IW_EV_QUAL_LEN);
-+      current_ev = iwe_stream_add_event(req->info, current_ev,
-+                      end_buf, &iwe, IW_EV_QUAL_LEN);
- 
-       /* We ran out of space in the buffer */
-       if (last_ev == current_ev)
-@@ -1660,7 +1669,8 @@
-       else
-               iwe.u.data.flags = IW_ENCODE_DISABLED;
-       iwe.u.data.length = 0;
--      current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, "");
-+      current_ev = iwe_stream_add_point(req->info, current_ev,
-+                                      end_buf, &iwe, "");
- 
-       /* We ran out of space in the buffer. */
-       if (last_ev == current_ev)
-@@ -1669,28 +1679,28 @@
-       memset(&iwe, 0, sizeof(iwe));
-       last_ev = current_ev;
-       iwe.cmd = SIOCGIWRATE;
--      current_val = current_ev + IW_EV_LCP_LEN;
-+      current_val = current_ev + iwe_stream_lcp_len(req->info);
-       /* NB: not sorted, does it matter? */
-       for (j = 0; j < se->se_rates[1]; j++) {
-               int r = se->se_rates[2 + j] & IEEE80211_RATE_VAL;
-               if (r != 0) {
-                       iwe.u.bitrate.value = r * (1000000 / 2);
--                      current_val = iwe_stream_add_value(current_ev,
--                              current_val, end_buf, &iwe,
--                              IW_EV_PARAM_LEN);
-+                      current_val = iwe_stream_add_value(req->info,
-+                                      current_ev, current_val, end_buf,
-+                                      &iwe, IW_EV_PARAM_LEN);
-               }
-       }
-       for (j = 0; j < se->se_xrates[1]; j++) {
-               int r = se->se_xrates[2+j] & IEEE80211_RATE_VAL;
-               if (r != 0) {
-                       iwe.u.bitrate.value = r * (1000000 / 2);
--                      current_val = iwe_stream_add_value(current_ev,
--                              current_val, end_buf, &iwe,
--                              IW_EV_PARAM_LEN);
-+                      current_val = iwe_stream_add_value(req->info,
-+                                      current_ev, current_val, end_buf,
-+                                      &iwe, IW_EV_PARAM_LEN);
-               }
-       }
-       /* remove fixed header if no rates were added */
--      if ((current_val - current_ev) > IW_EV_LCP_LEN) {
-+      if ((current_val - current_ev) > iwe_stream_lcp_len(req->info)) {
-               current_ev = current_val;
-       } else {
-         /* We ran out of space in the buffer. */
-@@ -1704,7 +1714,8 @@
-       iwe.cmd = IWEVCUSTOM;
-       snprintf(buf, sizeof(buf), "bcn_int=%d", se->se_intval);
-       iwe.u.data.length = strlen(buf);
--      current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, buf);
-+      current_ev = iwe_stream_add_point(req->info, current_ev,
-+                                      end_buf, &iwe, buf);
- 
-       /* We ran out of space in the buffer. */
-       if (last_ev == current_ev)
-@@ -1728,8 +1739,8 @@
-                               rsn_leader, sizeof(rsn_leader) - 1);
- #endif
-               if (iwe.u.data.length != 0) {
--                      current_ev = iwe_stream_add_point(current_ev, end_buf,
--                              &iwe, buf);
-+                      current_ev = iwe_stream_add_point(req->info,
-+                                      current_ev, end_buf, &iwe, buf);
-                       
-                       /* We ran out of space in the buffer */
-                       if (last_ev == current_ev)
-@@ -1754,8 +1765,8 @@
-                       wpa_leader, sizeof(wpa_leader) - 1);
- #endif
-               if (iwe.u.data.length != 0) {
--                      current_ev = iwe_stream_add_point(current_ev, end_buf,
--                              &iwe, buf);
-+                      current_ev = iwe_stream_add_point(req->info,
-+                                      current_ev, end_buf, &iwe, buf);
-                       
-                       /* We ran out of space in the buffer. */
-                       if (last_ev == current_ev)
-@@ -1773,8 +1784,8 @@
-                       se->se_wme_ie, se->se_wme_ie[1] + 2,
-                       wme_leader, sizeof(wme_leader) - 1);
-               if (iwe.u.data.length != 0) {
--                      current_ev = iwe_stream_add_point(current_ev, end_buf,
--                              &iwe, buf);
-+                      current_ev = iwe_stream_add_point(req->info,
-+                                      current_ev, end_buf, &iwe, buf);
- 
-                       /* We ran out of space in the buffer. */
-                       if (last_ev == current_ev)
-@@ -1791,8 +1802,8 @@
-                       se->se_ath_ie, se->se_ath_ie[1] + 2,
-                       ath_leader, sizeof(ath_leader) - 1);
-               if (iwe.u.data.length != 0) {
--                      current_ev = iwe_stream_add_point(current_ev, end_buf,
--                              &iwe, buf);
-+                      current_ev = iwe_stream_add_point(req->info,
-+                                      current_ev, end_buf, &iwe, buf);
- 
-                       /* We ran out of space in the buffer. */
-                       if (last_ev == current_ev)
-@@ -1815,6 +1826,7 @@
-       int res = 0;
- 
-       req.vap = vap;
-+      req.info = info;
-       req.current_ev = extra;
-       if (data->length == 0) {
-         req.end_buf = extra + IW_SCAN_MAX_DATA;
-

diff --git 
a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-request_module-build.patch 
b/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-request_module-build.patch
deleted file mode 100644
index ad338a3..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-request_module-build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-http://bugs.gentoo.org/show_bug.cgi?id=232099
-http://madwifi-project.org/changeset/3880
-
-=== modified file 'include/compat.h'
---- include/compat.h   2009-01-31 16:01:16 +0000
-+++ include/compat.h   2009-01-31 16:03:33 +0000
-@@ -175,6 +175,10 @@
- #define DEV_ATH CTL_UNNUMBERED
- #endif
- 
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
-+#define request_module(_fmt, _modname) request_module(_modname)
-+#endif
-+
- #endif /* __KERNEL__ */
- 
- #endif /* _ATH_COMPAT_H_ */
-
-=== modified file 'net80211/ieee80211_linux.c'
---- net80211/ieee80211_linux.c 2009-01-31 16:01:16 +0000
-+++ net80211/ieee80211_linux.c 2009-01-31 16:03:09 +0000
-@@ -335,7 +335,7 @@
- {
- #ifdef CONFIG_KMOD
-       int rv;
--      rv = request_module(modname);
-+      rv = request_module("%s", modname);
-       if (rv < 0)
-               printk(KERN_ERR "failed to automatically load module: %s; " \
-                       "errno: %d\n", modname, rv);
-

diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch 
b/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
deleted file mode 100644
index 1999184..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-=== modified file 'ath/if_ath.c'
---- ath/if_ath.c       2009-06-03 07:46:17 +0000
-+++ ath/if_ath.c       2009-06-03 07:53:24 +0000
-@@ -2359,6 +2359,7 @@
- ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff 
*skb) 
- {
-       struct ath_softc *sc = netdev_priv(dev);
-+      struct ieee80211com *ic = &sc->sc_ic;
-       struct ath_hal *ah = sc->sc_ah;
-       struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) 
(skb->cb + sizeof(struct ieee80211_cb));
-       const HAL_RATE_TABLE *rt;
-@@ -2375,7 +2376,8 @@
-       struct ieee80211_frame *wh; 
-       
-       wh = (struct ieee80211_frame *) skb->data;
--      try0 = ph->try0;
-+      //try0 = ph->try0;
-+      try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
-       rt = sc->sc_currates;
-       txrate = dot11_to_ratecode(sc, rt, ph->rate0);
-       power = ph->power > 60 ? 60 : ph->power;
-@@ -2404,7 +2406,8 @@
-       KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
-       
-       
--      if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
-+      if (IEEE80211_IS_MULTICAST(wh->i_addr1) || ((ic->ic_opmode ==
-+              IEEE80211_M_MONITOR) && (skb->data[1]&3) != 0x01) ) {
-               flags |= HAL_TXDESC_NOACK;      /* no ack on broad/multicast */
-               sc->sc_stats.ast_tx_noack++;
-               try0 = 1;
-

diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch 
b/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch
deleted file mode 100644
index 1ee11be..0000000
--- a/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-allow to inject packets with aircrack-ng
-
-diff -ur ath/if_ath.c ath/if_ath.c
---- ath/if_ath.c       2007-01-07 21:22:55.312500000 +0100
-+++ ath/if_ath.c       2007-01-07 21:17:09.875000000 +0100
-@@ -2289,6 +2289,7 @@
- ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff 
*skb) 
- {
-       struct ath_softc *sc = dev->priv;
-+      struct ieee80211com *ic = &sc->sc_ic;
-       struct ath_hal *ah = sc->sc_ah;
-       struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) 
(skb->cb + sizeof(struct ieee80211_cb));
-       const HAL_RATE_TABLE *rt;
-@@ -2305,7 +2306,11 @@
-       struct ieee80211_frame *wh; 
-       
-       wh = (struct ieee80211_frame *) skb->data;
--      try0 = ph->try0;
-+      try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
-+      /*
-+       * The retry value has to be patched to 1 when injecting,
-+       * otherwise the sequence number will be overwritten
-+       */
-       rt = sc->sc_currates;
-       txrate = dot11_to_ratecode(sc, rt, ph->rate0);
-       power = ph->power > 60 ? 60 : ph->power;

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild
deleted file mode 100644
index 80186d7..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit linux-mod
-
-MY_P=${PN/-ng/}-${PV}
-S="${WORKDIR}"/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="injection"
-
-DEPEND="app-arch/sharutils"
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
-ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN 
drivers (non-hamradio) & Wireless Extensions"
-ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_unpack() {
-       unpack ${A}
-
-       cd "${S}"
-       epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
-       if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/onoe 
ath_rate/sample; do
-               convert_to_m "${S}"/${dir}/Makefile
-       done
-}
-
-src_install() {
-       linux-mod_src_install
-
-       dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter. USE flags 
amrr and onoe"
-       einfo "no longer serve any purpose."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
deleted file mode 100644
index 07a296d..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit linux-mod
-
-MY_P=${PN/-ng/}-${PV}
-S="${WORKDIR}"/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
-ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN 
drivers (non-hamradio) & Wireless Extensions"
-ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_unpack() {
-       unpack ${A}
-
-       cd "${S}"
-       epatch "${FILESDIR}/${PN}-0.9.3-uudecode-gcda-fix.patch"
-       if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}/${dir}/Makefile"
-       done
-       epatch "${FILESDIR}/madwifi-dfs-ieee80211-skb-update.patch"
-       kernel_is ge 2 6 27 && epatch "${FILESDIR}/${P}-2.6.27-r3811.patch"
-       epatch "${FILESDIR}/${P}-request_module-build.patch"
-}
-
-src_install() {
-       linux-mod_src_install
-
-       dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter. USE flags 
amrr and onoe"
-       einfo "no longer serve any purpose."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4119.20100201.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4119.20100201.ebuild
deleted file mode 100644
index 7cea2f1..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4119.20100201.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit linux-mod versionator
-
-MY_PN=${PN/-ng/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-pkg_setup() {
-       CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
-       kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
-       ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by 
Wireless LAN drivers (non-hamradio) & Wireless Extensions"
-       kernel_is gt 2 6 33 && \
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some 
Wireless LAN drivers (e.g CONFIG_IPW2100)"
-       ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-       ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-       BUILD_TARGETS="all"
-       MODULESD_ATH_PCI_DOCS="README"
-       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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_prepare() {
-       use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}/${dir}/Makefile"
-       done
-       sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
-       make svnversion.h || die
-}
-
-src_install() {
-       linux-mod_src_install
-       dodoc README THANKS SNAPSHOT || die
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4133.20100621.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4133.20100621.ebuild
deleted file mode 100644
index 073c302..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4133.20100621.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit linux-mod versionator
-
-MY_PN=${PN/-ng/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-pkg_setup() {
-       CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
-       kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
-       ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by 
Wireless LAN drivers (non-hamradio) & Wireless Extensions"
-       kernel_is gt 2 6 33 && \
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some 
Wireless LAN drivers (e.g CONFIG_IPW2100)"
-       ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-       ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-       BUILD_TARGETS="all"
-       MODULESD_ATH_PCI_DOCS="README"
-       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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_prepare() {
-       use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}/${dir}/Makefile"
-       done
-       sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
-       make svnversion.h || die
-}
-
-src_install() {
-       linux-mod_src_install
-       dodoc README THANKS SNAPSHOT || die
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4165.20110816.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4165.20110816.ebuild
deleted file mode 100644
index 1c5000a..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4165.20110816.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit linux-mod versionator
-
-MY_PN=${PN/-ng/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-pkg_setup() {
-       CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
-       kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
-       ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by 
Wireless LAN drivers (non-hamradio) & Wireless Extensions"
-       kernel_is gt 2 6 33 && \
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some 
Wireless LAN drivers (e.g CONFIG_IPW2100)"
-       ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-       ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-       BUILD_TARGETS="all"
-       MODULESD_ATH_PCI_DOCS="README"
-       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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_prepare() {
-       use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}/${dir}/Makefile"
-       done
-       sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
-       make svnversion.h || die
-}
-
-src_install() {
-       linux-mod_src_install
-       dodoc README THANKS SNAPSHOT || die
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4180.20120502.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4180.20120502.ebuild
deleted file mode 100644
index e02e8ec..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4180.20120502.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="2"
-
-inherit linux-mod versionator
-
-MY_PN=${PN/-ng/}
-MY_PV=$(get_version_component_range 1-3)
-MY_REV=$(get_version_component_range 4)
-MY_DATE=$(get_version_component_range 5)
-MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
-S=${WORKDIR}/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz";
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-pkg_setup() {
-       CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
-       kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
-       ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by 
Wireless LAN drivers (non-hamradio) & Wireless Extensions"
-       kernel_is gt 2 6 33 && \
-       ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some 
Wireless LAN drivers (e.g CONFIG_IPW2100)"
-       ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-       ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-       BUILD_TARGETS="all"
-       MODULESD_ATH_PCI_DOCS="README"
-       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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_prepare() {
-       use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}/${dir}/Makefile"
-       done
-       sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
-       make svnversion.h || die
-}
-
-src_install() {
-       linux-mod_src_install
-       dodoc README THANKS SNAPSHOT || die
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild 
b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild
deleted file mode 100644
index 1d8620e..0000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit linux-mod
-
-MY_P=${PN/-ng/}-${PV}
-S="${WORKDIR}"/${MY_P}
-
-DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g 
wireless LAN cards"
-HOMEPAGE="http://www.madwifi-project.org/";
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-LICENSE="atheros-hal
-       || ( BSD GPL-2 )"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="injection"
-
-RDEPEND="!net-wireless/madwifi-old
-               net-wireless/wireless-tools
-               ~net-wireless/madwifi-ng-tools-${PV}"
-
-CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
-ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
-ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN 
drivers (non-hamradio) & Wireless Extensions"
-ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
-ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
-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)
-                               ath_rate_amrr(net:"${S}"/ath_rate/amrr)
-                               ath_rate_onoe(net:"${S}"/ath_rate/onoe)
-                               ath_rate_sample(net:"${S}"/ath_rate/sample)
-                               ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
-                               ath_pci(net:"${S}"/ath)'
-
-       BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
-}
-
-src_unpack() {
-       unpack ${A}
-
-       cd "${S}"
-       epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
-       if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
-       for dir in ath ath_hal net80211 ath_rate ath_rate/amrr 
ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
-               convert_to_m "${S}"/${dir}/Makefile
-       done
-       epatch "${FILESDIR}"/madwifi-dfs-ieee80211-skb-update.patch
-       kernel_is ge 2 6 27 && epatch "${FILESDIR}/${P}-2.6.27-r3811.patch"
-       epatch "${FILESDIR}/${P}-request_module-build.patch"
-}
-
-src_install() {
-       linux-mod_src_install
-
-       dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
-}
-
-pkg_postinst() {
-       local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
-
-       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 "As of net-wireless/madwifi-ng-0.9.3 rate control module 
selection is done at"
-       einfo "module load time via the 'ratectl' module parameter. USE flags 
amrr and onoe"
-       einfo "no longer serve any purpose."
-
-       elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
-       elog "# No AR5007 support in this release;"
-       elog "experimental support is available for i386 (32bit) in #1679"
-       elog "# No AR5008 support in this release; support is available in 
trunk "
-       elog "No, we will not apply the patch from 1679, if you must, please do 
so
-       in an overlay on your system. That is upstreams ticket 1679, not 
Gentoo's."
-}

diff --git a/net-wireless/madwifi-ng/metadata.xml 
b/net-wireless/madwifi-ng/metadata.xml
deleted file mode 100644
index 6a8f4fc..0000000
--- a/net-wireless/madwifi-ng/metadata.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Steev Klimaszewski</name>
-       </maintainer>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Rick Farina</name>
-       </maintainer>
-       <use>
-               <flag name="injection">Adds support for 
<pkg>net-wireless/aircrack-ng</pkg>
-                aireplay-ng packet injection</flag>
-       </use>
-       <upstream>
-               <remote-id type="sourceforge">madwifi</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
index a2e4134..066b380 100644
--- a/profiles/arch/arm/use.mask
+++ b/profiles/arch/arm/use.mask
@@ -112,7 +112,6 @@ nvtv
 mzscheme
 xemacs
 scanner
-madwifi
 libupnp
 zvbi
 fluidsynth

diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
index f99d4ec..7e0aa0e 100644
--- a/profiles/arch/arm64/use.mask
+++ b/profiles/arch/arm64/use.mask
@@ -103,7 +103,6 @@ mzscheme
 xemacs
 rpm
 scanner
-madwifi
 libupnp
 zvbi
 ldap

diff --git a/profiles/arch/nios2/use.mask b/profiles/arch/nios2/use.mask
index a170c07..dde1b95 100644
--- a/profiles/arch/nios2/use.mask
+++ b/profiles/arch/nios2/use.mask
@@ -103,7 +103,6 @@ mzscheme
 xemacs
 rpm
 scanner
-madwifi
 libupnp
 zvbi
 ldap

diff --git a/profiles/arch/powerpc/ppc64/use.mask 
b/profiles/arch/powerpc/ppc64/use.mask
index 91c7ba2..ab80c5c 100644
--- a/profiles/arch/powerpc/ppc64/use.mask
+++ b/profiles/arch/powerpc/ppc64/use.mask
@@ -23,10 +23,6 @@ battery
 # Unmask the flag for Playstation 3
 -ps3
 
-# Raúl Porcel <[email protected]> (11 Aug 2008)
-# Missing keyword on net-wireless/madwifi
-madwifi
-
 # mask custom-cpuopts and cpudetection on ppc64 for mplayer - bug #234629
 custom-cpuopts
 cpudetection

diff --git a/profiles/default/bsd/use.mask b/profiles/default/bsd/use.mask
index ba2cd7f..f9e9fa4 100644
--- a/profiles/default/bsd/use.mask
+++ b/profiles/default/bsd/use.mask
@@ -24,7 +24,6 @@ lm_sensors
 caps
 filecaps
 vidix
-madwifi
 3dfx
 nvidia
 xvmc

diff --git a/profiles/hardened/linux/powerpc/ppc64/use.mask 
b/profiles/hardened/linux/powerpc/ppc64/use.mask
index 281b8b1..f3e913e 100644
--- a/profiles/hardened/linux/powerpc/ppc64/use.mask
+++ b/profiles/hardened/linux/powerpc/ppc64/use.mask
@@ -45,10 +45,6 @@ video_cards_via
 # Masked p2p for bug #155302 <[email protected]>
 p2p
 
-# 02 Dec 2006; Tony Vroon <[email protected]> 
-# Keywording wpa_supplicant, but I don't have madwifi(-ng) hardware to test 
with, only BCM4306.
-madwifi
-
 # USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
 # Bug #184563, 18 Sep 2007 
 # Robin H. Johnson <[email protected]>

diff --git a/profiles/package.mask b/profiles/package.mask
index 90efb1d..7422bd8 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -711,13 +711,6 @@ sci-geosciences/googleearth
 # Masked to ensure users are aware before they install.
 app-text/cuneiform
 
-# Rick Farina <[email protected]> (21 Dec 2012)
-# madwifi has been replaced by ath5k and ath9k in kernel
-# drivers and is subject to numerous long standing bugs
-# stable wpa_supplicant sometimes wants madwifi-ng-tools
-#net-wireless/madwifi-ng-tools
-net-wireless/madwifi-ng
-
 # Robin H. Johnson <[email protected]> (09 Feb 2012)
 # Needs to be slotted better
 # Andreas K. Hüttel <[email protected]> (08 Apr 2016)

Reply via email to