summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-09-04 22:12:43 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-09-04 22:12:43 +0000
commit8fa9742d03b08c11e407f05ffe01735cfedaf06e (patch)
tree1e49d6bd2db09eaf3db2aca4eb4e5c6e13a2a862 /net-wireless
parentremove old, mention as-is in license, bug 146319, remove brix from metadata (diff)
downloadgentoo-2-8fa9742d03b08c11e407f05ffe01735cfedaf06e.tar.gz
gentoo-2-8fa9742d03b08c11e407f05ffe01735cfedaf06e.tar.bz2
gentoo-2-8fa9742d03b08c11e407f05ffe01735cfedaf06e.zip
remove old, mention as-is in license, bug 146319, remove brix from metadata
(Portage version: 2.1.1_rc1-r2) (Unsigned Manifest commit)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-ng/Manifest40
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.13
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2_rc16923
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.9.1.ebuild127
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.9.2_rc1692.ebuild127
5 files changed, 12 insertions, 288 deletions
diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest
index 75dfc435b1f3..44b04af18d91 100644
--- a/net-wireless/madwifi-ng/Manifest
+++ b/net-wireless/madwifi-ng/Manifest
@@ -6,11 +6,9 @@ AUX madwifi-ng-uudecode-gcda-fix.patch 328 RMD160 c68566dc426c1ca15b3f858e269673
MD5 a0e4e3918e720015a4416efc14431c47 files/madwifi-ng-uudecode-gcda-fix.patch 328
RMD160 c68566dc426c1ca15b3f858e2696735db8c3fb9e files/madwifi-ng-uudecode-gcda-fix.patch 328
SHA256 f1a4293ba3235b312d9048cff1f79695c16dd19210e68d0fe07fa1819de21f9d files/madwifi-ng-uudecode-gcda-fix.patch 328
-DIST madwifi-0.9.1.tar.bz2 3477471 RMD160 63cac5d982c70ef7c3c9afc859ebc6585b26ba8b SHA1 35b56855f52ec5b4d2bfa373361cd3f2492f3046 SHA256 d0a7f68898dd9a211278e55009d7aeeefdda68f48e7ac8e8ccf0ceee7d26643e
DIST madwifi-0.9.2.tar.bz2 3476735 RMD160 e24ce96ab7ebcd12e71755c89882a90161a6a15a SHA1 6d6b9d2419e45a940d156b928401b5c688c40844 SHA256 b6edd998fa5e5927f9e42e0470f6f4e0bec1b8a41658eec5595ceea01c787153
DIST madwifi-ng-r1443-20060207.tar.gz 3249472 RMD160 b0223dfb98917165fbe068ae01c1bd6c7985cfec SHA1 9b674a81107d9d8091c9876d2ea9ad06b57b18ef SHA256 5b9b396df3a93f597016a117a2d3a3869bacba4b417e9435709bfd03fd6dbe99
DIST madwifi-ng-r1531-20060427.tar.gz 3117258 RMD160 823936efefeda2556c96184bc35daedd80922675 SHA1 eda264ff86772dd6b4f089efaa842a2bd51ecdc9 SHA256 5989216539f4c7188737c7e23e4c78e0765347d37e12df6d7e0e9cd2e22a087a
-DIST madwifi-ng-r1692-20060723.tar.gz 3672564 RMD160 2302daf379ec6c2cb74e66842f0216d6c4a0d18f SHA1 d659471818781041f9808892ec6d93362ec7d1de SHA256 047303a0e682db0d21be21a3cc736a8c8bd4794964c4eedada869ee95cdcf2fc
EBUILD madwifi-ng-0.0.1443.20060207.ebuild 3816 RMD160 75eaf7a1b1edbd955c74b684917087c1813417cf SHA1 cb63a313fdd74d9e5a5f98a76ffafd6fe185fa58 SHA256 976549a6a565721f047d9227102691fe6f862139fae144f4af51eecaa6852912
MD5 2f87b2ef0da6a0158723535114094e5d madwifi-ng-0.0.1443.20060207.ebuild 3816
RMD160 75eaf7a1b1edbd955c74b684917087c1813417cf madwifi-ng-0.0.1443.20060207.ebuild 3816
@@ -19,38 +17,24 @@ EBUILD madwifi-ng-0.0.1531.20060427.ebuild 3833 RMD160 67faea5002ea4b0c66839347e
MD5 ab3aaecb8e5e2e6441ac700489ea11b3 madwifi-ng-0.0.1531.20060427.ebuild 3833
RMD160 67faea5002ea4b0c66839347e9f496e0de554042 madwifi-ng-0.0.1531.20060427.ebuild 3833
SHA256 c39fa01684c2eadb1dc1985d821b672cc97c8d20b5ede36b4cf49b3769174dc1 madwifi-ng-0.0.1531.20060427.ebuild 3833
-EBUILD madwifi-ng-0.9.1.ebuild 3846 RMD160 7090b23af84459450b575d8835bc63e54ec1f349 SHA1 36230485b400d2500013c55ddcf7c5a16d9864b3 SHA256 c31fa361071b015bc8ba92ef4631da4b62ed687b01fdd337f68effcf1bc9c262
-MD5 c7da7692b7a6ce3c43c00271df548743 madwifi-ng-0.9.1.ebuild 3846
-RMD160 7090b23af84459450b575d8835bc63e54ec1f349 madwifi-ng-0.9.1.ebuild 3846
-SHA256 c31fa361071b015bc8ba92ef4631da4b62ed687b01fdd337f68effcf1bc9c262 madwifi-ng-0.9.1.ebuild 3846
-EBUILD madwifi-ng-0.9.2.ebuild 3897 RMD160 34240d139ab2927bcda61256ad77a771db35f319 SHA1 a7a8af219701370ebbbc1e054b4c13fe5ff230ac SHA256 c5bced062ed7ec9ff822f986001ba706d2a848738a1573a4f829de0cd9337e05
-MD5 e9293268596af9829cd89ffceffea48b madwifi-ng-0.9.2.ebuild 3897
-RMD160 34240d139ab2927bcda61256ad77a771db35f319 madwifi-ng-0.9.2.ebuild 3897
-SHA256 c5bced062ed7ec9ff822f986001ba706d2a848738a1573a4f829de0cd9337e05 madwifi-ng-0.9.2.ebuild 3897
-EBUILD madwifi-ng-0.9.2_rc1692.ebuild 3867 RMD160 ebb5723e16aa17cf4724108c1d900e92964a50ef SHA1 ca36f9b0d8ca2796f9e2a4a8a60fd54514b100d0 SHA256 4e43d954bb633edc7afff84a00cfb142a656f66c7b71e5173b30f13307a517a7
-MD5 d0d14b29bab0eed480d5215ba696bf93 madwifi-ng-0.9.2_rc1692.ebuild 3867
-RMD160 ebb5723e16aa17cf4724108c1d900e92964a50ef madwifi-ng-0.9.2_rc1692.ebuild 3867
-SHA256 4e43d954bb633edc7afff84a00cfb142a656f66c7b71e5173b30f13307a517a7 madwifi-ng-0.9.2_rc1692.ebuild 3867
-MISC ChangeLog 11570 RMD160 92f0a304e0b10103a1102741e7abcb9d2d840028 SHA1 52c608177ea70427402aab19acae748a4febc064 SHA256 589bbe7826aed125dad9f8001acdf00d5e44a05c3920f617fd36364e099cd07d
-MD5 01ddea5ba9e8194d93a5d0a274472bfe ChangeLog 11570
-RMD160 92f0a304e0b10103a1102741e7abcb9d2d840028 ChangeLog 11570
-SHA256 589bbe7826aed125dad9f8001acdf00d5e44a05c3920f617fd36364e099cd07d ChangeLog 11570
-MISC metadata.xml 255 RMD160 e6f6333d659d443f0290a257c2b23772ab1cf526 SHA1 1258e0419f1fe7839c4db37602b5999d0e196bca SHA256 255c7b73ddde5e979b6b53de0f9f5b858e22e602e0495f484b2a33cd2987edf9
-MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
-RMD160 e6f6333d659d443f0290a257c2b23772ab1cf526 metadata.xml 255
-SHA256 255c7b73ddde5e979b6b53de0f9f5b858e22e602e0495f484b2a33cd2987edf9 metadata.xml 255
+EBUILD madwifi-ng-0.9.2.ebuild 3905 RMD160 c5a159a41a76a5dd5180bd0663ecb75d9c5fa70f SHA1 431c810db4b41645b1970eedb581ca1cbbe44e43 SHA256 b8fc415872148fe80f330d05734d193f9c6160f6e75f931ade4d0020e362c736
+MD5 f8daee8bc6d9b7edfbf807d75ce3afba madwifi-ng-0.9.2.ebuild 3905
+RMD160 c5a159a41a76a5dd5180bd0663ecb75d9c5fa70f madwifi-ng-0.9.2.ebuild 3905
+SHA256 b8fc415872148fe80f330d05734d193f9c6160f6e75f931ade4d0020e362c736 madwifi-ng-0.9.2.ebuild 3905
+MISC ChangeLog 11805 RMD160 800535c1d59cc0538c687874161e67de82c94c09 SHA1 a06e041420409c1a38f93303d3918eb5b96d0eef SHA256 db35b9476c10072213e2d7a3357f33a4dedff72b224e833628760846c901fd82
+MD5 fe9297ed5c5588e1056f52da426028ba ChangeLog 11805
+RMD160 800535c1d59cc0538c687874161e67de82c94c09 ChangeLog 11805
+SHA256 db35b9476c10072213e2d7a3357f33a4dedff72b224e833628760846c901fd82 ChangeLog 11805
+MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f
+MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
+RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159
+SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f metadata.xml 159
MD5 e4319dacce2ac0110349d8cb565825a7 files/digest-madwifi-ng-0.0.1443.20060207 280
RMD160 f9ef6ea6a73bfc352e546344d31d4f2830bbcc70 files/digest-madwifi-ng-0.0.1443.20060207 280
SHA256 34fc1448e3ed8a8ffdac71513128d25c0938e97b498c2f3f09cd34a9f1a92f20 files/digest-madwifi-ng-0.0.1443.20060207 280
MD5 28c9a95778241e4c3a73c1e9b15e8d8f files/digest-madwifi-ng-0.0.1531.20060427 280
RMD160 db9eab5e04a53c5fbeb76f00d59de0dd7d28320f files/digest-madwifi-ng-0.0.1531.20060427 280
SHA256 bd8b772f3517f64508d610243e70fba53120ce64058b2c652d21d93b8194a787 files/digest-madwifi-ng-0.0.1531.20060427 280
-MD5 acb8a8ff9ed042868ed2d0d9e83c4b7d files/digest-madwifi-ng-0.9.1 247
-RMD160 a72736afd6fb1b1ff9d8ac61075670a54bc16d14 files/digest-madwifi-ng-0.9.1 247
-SHA256 f08747bd8b9335a45edc4a33f7c3a245ac32018465c4e25325cae54c47124022 files/digest-madwifi-ng-0.9.1 247
MD5 7e0926b81a64cb55b6c383e1fd1517d7 files/digest-madwifi-ng-0.9.2 247
RMD160 b224312908c05b4a2456a0aab96559052e49b7be files/digest-madwifi-ng-0.9.2 247
SHA256 21c57d899d4e2d74e3c820476f60b36c356764e54fe6f3be3acc69d663a0eb8d files/digest-madwifi-ng-0.9.2 247
-MD5 6e3072139dc34b3a71be6890b198c1ff files/digest-madwifi-ng-0.9.2_rc1692 280
-RMD160 7aec175b0d0f11f6b19f1a1408ef56fe42815baf files/digest-madwifi-ng-0.9.2_rc1692 280
-SHA256 480e4346a6af2b0cdd2bfd929091d69d90468aeb53ad86ec05b769d1adf9d52c files/digest-madwifi-ng-0.9.2_rc1692 280
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.1 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.1
deleted file mode 100644
index b073299dc889..000000000000
--- a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3a95620582baca060372401df33a9845 madwifi-0.9.1.tar.bz2 3477471
-RMD160 63cac5d982c70ef7c3c9afc859ebc6585b26ba8b madwifi-0.9.1.tar.bz2 3477471
-SHA256 d0a7f68898dd9a211278e55009d7aeeefdda68f48e7ac8e8ccf0ceee7d26643e madwifi-0.9.1.tar.bz2 3477471
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2_rc1692 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2_rc1692
deleted file mode 100644
index cbb5823c72ff..000000000000
--- a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.9.2_rc1692
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3ad382748ac725bfec3e64229d15e55a madwifi-ng-r1692-20060723.tar.gz 3672564
-RMD160 2302daf379ec6c2cb74e66842f0216d6c4a0d18f madwifi-ng-r1692-20060723.tar.gz 3672564
-SHA256 047303a0e682db0d21be21a3cc736a8c8bd4794964c4eedada869ee95cdcf2fc madwifi-ng-r1692-20060723.tar.gz 3672564
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.1.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.1.ebuild
deleted file mode 100644
index 058b9e5de690..000000000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.9.1.ebuild,v 1.1 2006/07/23 03:51:23 steev Exp $
-
-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.org/"
-SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
-
-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)
- 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 net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
- convert_to_m ${S}/${dir}/Makefile
- done
-}
-
-src_compile() {
- epatch ${FILESDIR}/madwifi-ng-uudecode-gcda-fix.patch
-
- # 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.9.2_rc1692.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.2_rc1692.ebuild
deleted file mode 100644
index 24898218ac2f..000000000000
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.2_rc1692.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# 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.9.2_rc1692.ebuild,v 1.1 2006/07/26 18:44:56 genstef Exp $
-
-inherit linux-mod
-
-MY_P=${P/0.9.2_rc/r}-20060723
-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)
- 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 net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
- convert_to_m ${S}/${dir}/Makefile
- done
-}
-
-src_compile() {
- epatch ${FILESDIR}/madwifi-ng-uudecode-gcda-fix.patch
-
- # 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
-}