diff options
author | Peter Volkov <pva@gentoo.org> | 2009-06-01 13:56:56 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-06-01 13:56:56 +0000 |
commit | 4d71cada37719772a3db8bf09c11ab5b804355cd (patch) | |
tree | 49eeb7bf3f2c969c7302829604fa1153c8c9ecb9 /net-wireless | |
parent | Add ~sparc for testing, part of Bug #272046. (diff) | |
download | historical-4d71cada37719772a3db8bf09c11ab5b804355cd.tar.gz historical-4d71cada37719772a3db8bf09c11ab5b804355cd.tar.bz2 historical-4d71cada37719772a3db8bf09c11ab5b804355cd.zip |
Remove old and vulnerable versions, bug #271697, thank Robert Buchholz for report.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/madwifi-ng-tools/Manifest | 10 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/Manifest | 7 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/files/madwifi-2.6.22.patch | 105 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild | 86 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild | 84 |
6 files changed, 9 insertions, 292 deletions
diff --git a/net-wireless/madwifi-ng-tools/Manifest b/net-wireless/madwifi-ng-tools/Manifest index e7081c67d9c2..8c0e4bb3c3d4 100644 --- a/net-wireless/madwifi-ng-tools/Manifest +++ b/net-wireless/madwifi-ng-tools/Manifest @@ -1,14 +1,6 @@ -DIST madwifi-0.9.2.tar.bz2 3476735 RMD160 e24ce96ab7ebcd12e71755c89882a90161a6a15a SHA1 6d6b9d2419e45a940d156b928401b5c688c40844 SHA256 b6edd998fa5e5927f9e42e0470f6f4e0bec1b8a41658eec5595ceea01c787153 -DIST madwifi-0.9.3.1.tar.bz2 3488269 RMD160 5daad5c17d42ee0b5618d46213293c4d6289130b SHA1 96647476b70ec80c83a13e3d381776416f6ccbff SHA256 623aa90dd9da9c0140ae71d205c6e8cb32f8a555f0f12d873494df05a07945ec -DIST madwifi-0.9.3.2.tar.bz2 3489208 RMD160 f20b7d954d7d3b4bda03ebb762868ed378514c8d SHA1 ccd8f4ba267df75ca002d8dbf66b09347e1bc0b6 SHA256 34ec9fc871edadf1742057152c0253484d95a534e51a48dbb2e11801e87a0a13 DIST madwifi-0.9.3.3.tar.bz2 3489995 RMD160 ed4b5267171bb11801817b7ba358fe3b08377329 SHA1 13df0e407de0f5b733e5ff1b660ce2fac048b206 SHA256 7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 -DIST madwifi-0.9.3.tar.bz2 3488332 RMD160 52eb553669ab83a9c594afd4eb1e297bea07089c SHA1 3f8a78264491dcb4bc98d40f971af546e86f8710 SHA256 847596646417abbdce9cfd0e1dca2cced29c6a8b814d1bd28d0c7301e9e4e9d8 DIST madwifi-0.9.4.tar.bz2 3485142 RMD160 a493addc2f566e07f29033b671fea1b7143a90a4 SHA1 5de5842a662fbca17507003c3b09956c37fa4d79 SHA256 2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 -EBUILD madwifi-ng-tools-0.9.2.ebuild 1593 RMD160 c0394dd71836ff2c89e380cac98dff498b554114 SHA1 9a4f9ff0909d73b3abe1d4e3c6a849bd8c03efb9 SHA256 fe1eceaad8ba08ca7fcb8d1bdacc1b2dc73b55cca806183a6a78a1f814ddc655 -EBUILD madwifi-ng-tools-0.9.3.1.ebuild 1950 RMD160 142c7667bee15be290b04d42fc9b5cd2b25b807c SHA1 6de600ddf3b50b9c6872140e298604c223d20223 SHA256 328d31f572a0e33a2355b4877d5f41ed441cddf861bc2cfaed85200f2149a7a6 -EBUILD madwifi-ng-tools-0.9.3.2.ebuild 1950 RMD160 20bac46c2bd971fd063d7cf2c769e1a9c534b93d SHA1 f849b475ce66483fe36be9b1acaf0ba5394e7759 SHA256 bd241b0a87738beea1a963d09de0de9bb84ed5a48858396f3b3e85dde4d35ee2 EBUILD madwifi-ng-tools-0.9.3.3.ebuild 1950 RMD160 d4001365ca2e67df145376fe8812cba9ad30fd81 SHA1 18958c0cab6da2683ee6de2eea3258e04ceaaf19 SHA256 174301c1379c53c7ae09714b9270d39415fcd529adbee4d33dd7927834c3a6ae -EBUILD madwifi-ng-tools-0.9.3.ebuild 1593 RMD160 5c1d1b5b63f3a512d6e57168328a32e13481307b SHA1 c82ddb24f66afb5cc64ac0e746a6184aab7db75f SHA256 bd7e59dfd1de34ddb89791de7363a0e6d78bc854a98ad6d7bda0f4f47744883e EBUILD madwifi-ng-tools-0.9.4.ebuild 1948 RMD160 1a442aa0b80f5b9602febbaa7a0b7aff8a06dd41 SHA1 125752a05cc8d3ce19de0fb9893c71b4152eefd2 SHA256 933525fe0a786889db38e848fcc0983575c3ddebc723879a959fa177549c4d61 -MISC ChangeLog 10482 RMD160 238b3fd78ec0b0bff0ad17c217ad63d6343f7d81 SHA1 b3e091e6996aa1f93c3497b67a7dce435504aa13 SHA256 701a956d8ed135f01e5f6deb99d09f9f7770e176b51f002c875e6256c5634532 +MISC ChangeLog 10686 RMD160 6c9f39473de96d93b8695883d810633aca54129e SHA1 ea3885dd28ea78f163e1711195ea845cef174808 SHA256 d8fe2362e19888f6152546e442e90a8233c8d525bb213ba435f43ea1fa9d19d2 MISC metadata.xml 244 RMD160 7adc35ffcad8a9e66c9f213c57117c406957c0ac SHA1 bae7782bf6bf8549273a8138bf1f9be10374ff29 SHA256 ba79a636fe9ffed1c1d625f609c7c8f251a36fbd5e32138c45aa763ebd9a141a diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog index 35ccae1cf058..0ef66d62bcd0 100644 --- a/net-wireless/madwifi-ng/ChangeLog +++ b/net-wireless/madwifi-ng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/madwifi-ng -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.65 2009/01/31 16:15:06 pva Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.66 2009/06/01 13:56:56 pva Exp $ + + 01 Jun 2009; Peter Volkov <pva@gentoo.org> -madwifi-ng-0.9.3.1.ebuild, + -madwifi-ng-0.9.3.2.ebuild, -files/madwifi-2.6.22.patch: + Remove old and vulnerable versions, bug #271697, thank Robert Buchholz for + report. 31 Jan 2009; Peter Volkov <pva@gentoo.org> +files/madwifi-ng-0.9.4-request_module-build.patch, diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest index 5b3a345d002d..47973550a06f 100644 --- a/net-wireless/madwifi-ng/Manifest +++ b/net-wireless/madwifi-ng/Manifest @@ -1,17 +1,12 @@ -AUX madwifi-2.6.22.patch 3591 RMD160 f895c5766eb51369e376cf22674b08f8a6125972 SHA1 41c740a96e46d3c3c0934c1d6b668df4bca0a14f SHA256 a2755a11c630b53d6bb4f3eaf6a641e8edfa6585d86f3fd3c918e26397c20386 AUX madwifi-dfs-ieee80211-skb-update.patch 453 RMD160 856e6931da9bf96bc993a6f568933d6742f81719 SHA1 41928bbfdbb4e1c1fa5c1ed93fb673542c18bbc3 SHA256 25c4d782cdaac53ae4bf36253b93e27c475fec785043e4d080c83e61eb9c809f AUX madwifi-ng-0.9.3-uudecode-gcda-fix.patch 340 RMD160 2a18fc4f9e66aa131e901e7e46930e08e2ece7ea SHA1 3c84bf4e203ab3c810c734816dd1291ba19b0005 SHA256 be6e7a66acad56044c25ab56d9cbd7d5326c4ba21f5d9ed25caef56a9577bdc8 AUX madwifi-ng-0.9.4-2.6.27-r3811.patch 6515 RMD160 6d52c90f5afad8c225a2d23d90af593e4f00b666 SHA1 0f49938eb9a9b523ebb8925a446018010454184b SHA256 d98fc130d1588b599119eda5d3d723f6e7b83201a89ca9c1bac8760042308e41 AUX madwifi-ng-0.9.4-request_module-build.patch 860 RMD160 d34c08fe10e21226e1593098cf23edc98275d907 SHA1 4a3c9894a8272aefe5be4c718753ead8c4277858 SHA256 5a9ade8f6d5c86ef7e80085c55983a6cf7269d367d383f175f3b88974ddd47aa AUX madwifi-ng-r1886.patch 965 RMD160 86389659efbd846c12153c7e11043f0fb3c7fd8b SHA1 cda44aff6e99ade85b736cc2f31b13cfee6c3721 SHA256 e068fbfaf9c2f27ac9670b6fc43939ceade0e6c40df88d5e23006be640ca0fbe -DIST madwifi-0.9.3.1.tar.bz2 3488269 RMD160 5daad5c17d42ee0b5618d46213293c4d6289130b SHA1 96647476b70ec80c83a13e3d381776416f6ccbff SHA256 623aa90dd9da9c0140ae71d205c6e8cb32f8a555f0f12d873494df05a07945ec -DIST madwifi-0.9.3.2.tar.bz2 3489208 RMD160 f20b7d954d7d3b4bda03ebb762868ed378514c8d SHA1 ccd8f4ba267df75ca002d8dbf66b09347e1bc0b6 SHA256 34ec9fc871edadf1742057152c0253484d95a534e51a48dbb2e11801e87a0a13 DIST madwifi-0.9.3.3.tar.bz2 3489995 RMD160 ed4b5267171bb11801817b7ba358fe3b08377329 SHA1 13df0e407de0f5b733e5ff1b660ce2fac048b206 SHA256 7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 DIST madwifi-0.9.4.tar.bz2 3485142 RMD160 a493addc2f566e07f29033b671fea1b7143a90a4 SHA1 5de5842a662fbca17507003c3b09956c37fa4d79 SHA256 2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 -EBUILD madwifi-ng-0.9.3.1.ebuild 2651 RMD160 5174766ea6574266b78ac8ac6b0bb9117975e4a1 SHA1 81ed42fb9feac3c17d60b01361335748bada47cc SHA256 aa9543b2dd5c15de944547550d3c0439f7c8b6bc8d7e3f5b24e73368906e7d99 -EBUILD madwifi-ng-0.9.3.2.ebuild 2582 RMD160 dd346833d3f9e9632c34914f4188f1c4154ca40c SHA1 c3d41e3344e414d9f67517a489288f7fac1c5d5d SHA256 9d3bbcd485a4f83ecb5fd3ac0952154acb8f2a11c31c574b469753794bad29c5 EBUILD madwifi-ng-0.9.3.3.ebuild 2648 RMD160 532e75561cd39cc9a9ae7a8e1f4227576e2a2006 SHA1 67d3a07ff48ce784411a61043bff1d0c490d1c70 SHA256 b3e2bc6ae66249b260550765deed32d90b6fcabc2f105721012fe90b28d97111 EBUILD madwifi-ng-0.9.4-r1.ebuild 3294 RMD160 0b69dcc263804bb1653b2e75ea21c598763197f9 SHA1 d7078b04880005c9b86557fe42e80d9be7aded91 SHA256 652ebafeec6f90e7a9c58f6587487bb063c6eccf72af2a0aaeab00154c5033ee EBUILD madwifi-ng-0.9.4.ebuild 3289 RMD160 70eca4576408be39af87c7fcc11ab8e720127eec SHA1 272d04e2c2970c8708743d3f4396b5c3d22bdc44 SHA256 2a48e40103e97b355271ef25a0f5ac34b14718f4c8f149f178feeaee833a52f7 -MISC ChangeLog 21604 RMD160 0addfc5ad77674cdc551860d3b943987007bbd19 SHA1 ac6dfd97b0ff90544760a1c1151fb0deb17ad373 SHA256 87b983501179f3f5d9e82bb086878b7421c5fcaeffe3af39a99f8acfb76e5e24 +MISC ChangeLog 21824 RMD160 65dcb4a31adf0d6e5b7aefe01877bdcc10f135c1 SHA1 38b4986296a26fed47eecdcb0293d03cdd59cfb6 SHA256 d715cf10c7ae631ab5dadd666c74a1d6bb0e15515376c59cf1314d062475b224 MISC metadata.xml 474 RMD160 f4c1656da66f1c8d67b3ba7f5d796c42a28a1ea0 SHA1 0405e39b7aa5373d1e2ee8b47f015f009947738e SHA256 72b875566747e831cbd7faff930a0c3ca7d48d28b5ec0662b36b57e37d91c54f diff --git a/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch b/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch deleted file mode 100644 index 3918f6810ac7..000000000000 --- a/net-wireless/madwifi-ng/files/madwifi-2.6.22.patch +++ /dev/null @@ -1,105 +0,0 @@ ---- madwifi-0.9.3.1/ath/if_ath_pci.c.orig 2007-07-10 01:01:07.000000000 -0700 -+++ madwifi-0.9.3.1/ath/if_ath_pci.c 2007-07-10 01:01:54.000000000 -0700 -@@ -207,7 +207,7 @@ - - pci_set_drvdata(pdev, dev); - -- if (request_irq(dev->irq, ath_intr, SA_SHIRQ, dev->name, dev)) { -+ if (request_irq(dev->irq, ath_intr, IRQF_SHARED, dev->name, dev)) { - printk(KERN_WARNING "%s: request_irq failed\n", dev->name); - goto bad3; - } ---- madwifi-0.9.3.1/net80211/ieee80211_input.c.orig 2007-07-10 00:51:24.000000000 -0700 -+++ madwifi-0.9.3.1/net80211/ieee80211_input.c 2007-07-10 00:51:29.000000000 -0700 -@@ -1048,11 +1048,11 @@ - * incoming fragments - * XXX 4-address/QoS frames? - */ -- else if (skb->end - skb->head < ni->ni_vap->iv_dev->mtu + -+ else if (skb_end_pointer(skb) - skb->head < ni->ni_vap->iv_dev->mtu + - hdrlen) { - ni->ni_rxfrag = skb_copy_expand(skb, 0, - (ni->ni_vap->iv_dev->mtu + hdrlen) - -- (skb->end - skb->head), GFP_ATOMIC); -+ (skb_end_pointer(skb) - skb->head), GFP_ATOMIC); - dev_kfree_skb(skb); - } - } -@@ -1066,7 +1066,7 @@ - * we've verified that before - */ - /* Copy current fragment at end of previous one */ -- memcpy(ni->ni_rxfrag->tail, -+ memcpy(skb_tail_pointer(ni->ni_rxfrag), - skb->data + hdrlen, skb->len - hdrlen); - /* Update tail and length */ - skb_put(ni->ni_rxfrag, skb->len - hdrlen); -@@ -1136,8 +1136,8 @@ - } - if (skb1 != NULL) { - skb1->dev = dev; -- skb1->mac.raw = skb1->data; -- skb1->nh.raw = skb1->data + sizeof(struct ether_header); -+ skb_reset_mac_header(skb1); -+ skb_set_network_header(skb1, sizeof(struct ether_header)); - skb1->protocol = __constant_htons(ETH_P_802_2); - /* XXX insert vlan tag before queue it? */ - dev_queue_xmit(skb1); -@@ -2259,7 +2259,7 @@ - if (skb1 == NULL) - return; - skb1->dev = dev; -- skb1->mac.raw = skb1->data; -+ skb_reset_mac_header(skb1); - skb1->ip_summed = CHECKSUM_NONE; - skb1->pkt_type = PACKET_OTHERHOST; - skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */ -@@ -2533,8 +2533,9 @@ - l2uf->xid[2] = 0x00; - - skb->dev = dev; -- skb->protocol = eth_type_trans(skb, dev); -- skb->mac.raw = skb->data; -+ skb->pkt_type = PACKET_BROADCAST; -+ skb->protocol = htons(ETH_P_802_2); -+ skb_reset_mac_header(skb); - ieee80211_deliver_data(ni, skb); - return; - } -@@ -3713,14 +3714,14 @@ - { - struct ethhdr *eth; - -- skb->mac.raw=skb->data; -+ skb_reset_mac_header(skb); - skb_pull(skb, ETH_HLEN); - /* - * NB: mac.ethernet is replaced in 2.6.9 by eth_hdr but - * since that's an inline and not a define there's - * no easy way to do this cleanly. - */ -- eth = (struct ethhdr *)skb->mac.raw; -+ eth = (struct ethhdr *)skb_mac_header(skb); - - if (*eth->h_dest & 1) - if (memcmp(eth->h_dest, dev->broadcast, ETH_ALEN) == 0) ---- madwifi-0.9.3.1/net80211/ieee80211_monitor.c.orig 2007-07-10 00:52:51.000000000 -0700 -+++ madwifi-0.9.3.1/net80211/ieee80211_monitor.c 2007-07-10 00:54:29.000000000 -0700 -@@ -373,7 +373,7 @@ - if (vap->iv_monitor_txf_len && tx) { - /* truncate transmit feedback packets */ - skb_trim(skb1, vap->iv_monitor_txf_len); -- skb1->nh.raw = skb1->data; -+ skb_reset_network_header(skb1); - } - switch (vap->iv_dev->type) { - case ARPHRD_IEEE80211: -@@ -555,7 +555,7 @@ - skb_trim(skb1, skb1->len - IEEE80211_CRC_LEN); - } - skb1->dev = dev; /* NB: deliver to wlanX */ -- skb1->mac.raw = skb1->data; -+ skb_reset_mac_header(skb1); - skb1->ip_summed = CHECKSUM_NONE; - skb1->pkt_type = pkttype; - skb1->protocol = __constant_htons(0x0019); /* ETH_P_80211_RAW */ diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild deleted file mode 100644 index f935e133dd4f..000000000000 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2008 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.3.1.ebuild,v 1.9 2008/11/15 16:19:47 pva 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-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" -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)." -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 - - kernel_is ge 2 6 22 && epatch "${FILESDIR}"/madwifi-2.6.22.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." -} diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild deleted file mode 100644 index 1f03fbc86d37..000000000000 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2008 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.3.2.ebuild,v 1.8 2008/11/15 16:19:47 pva 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-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" -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)." -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." -} |