Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/madwifi-ng-tools/, net-wireless/madwifi-ng/, profiles/, ...
Date: Sun, 26 Jun 2016 21:11:38
Message-Id: 1466975218.87876c79718b701fd99d23049107c9b4076c7e28.zerochaos@gentoo
1 commit: 87876c79718b701fd99d23049107c9b4076c7e28
2 Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 26 21:06:58 2016 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 26 21:06:58 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87876c79
7
8 net-wireless/madwifi*: remove madwifi-ng and madwifi-ng-tools after years of being masked and deprecated
9
10 net-wireless/madwifi-ng-tools/Manifest | 6 -
11 .../madwifi-ng-tools-0.9.3.3.ebuild | 75 --------
12 .../madwifi-ng-tools-0.9.4.4119.20100201.ebuild | 70 --------
13 .../madwifi-ng-tools-0.9.4.4133.20100621.ebuild | 70 --------
14 .../madwifi-ng-tools-0.9.4.4165.20110816.ebuild | 70 --------
15 .../madwifi-ng-tools-0.9.4.4180.20120502.ebuild | 70 --------
16 .../madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild | 75 --------
17 net-wireless/madwifi-ng-tools/metadata.xml | 11 --
18 net-wireless/madwifi-ng/Manifest | 6 -
19 .../files/madwifi-dfs-ieee80211-skb-update.patch | 12 --
20 .../files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch | 12 --
21 .../files/madwifi-ng-0.9.4-2.6.27-r3811.patch | 190 ---------------------
22 .../madwifi-ng-0.9.4-request_module-build.patch | 31 ----
23 .../files/madwifi-ng-injection-r3925.patch | 32 ----
24 .../madwifi-ng/files/madwifi-ng-r1886.patch | 26 ---
25 net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild | 85 ---------
26 net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild | 95 -----------
27 .../madwifi-ng-0.9.4.4119.20100201.ebuild | 96 -----------
28 .../madwifi-ng-0.9.4.4133.20100621.ebuild | 96 -----------
29 .../madwifi-ng-0.9.4.4165.20110816.ebuild | 96 -----------
30 .../madwifi-ng-0.9.4.4180.20120502.ebuild | 96 -----------
31 net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild | 95 -----------
32 net-wireless/madwifi-ng/metadata.xml | 19 ---
33 profiles/arch/arm/use.mask | 1 -
34 profiles/arch/arm64/use.mask | 1 -
35 profiles/arch/nios2/use.mask | 1 -
36 profiles/arch/powerpc/ppc64/use.mask | 4 -
37 profiles/default/bsd/use.mask | 1 -
38 profiles/hardened/linux/powerpc/ppc64/use.mask | 4 -
39 profiles/package.mask | 7 -
40 30 files changed, 1453 deletions(-)
41
42 diff --git a/net-wireless/madwifi-ng-tools/Manifest b/net-wireless/madwifi-ng-tools/Manifest
43 deleted file mode 100644
44 index cd3adef..0000000
45 --- a/net-wireless/madwifi-ng-tools/Manifest
46 +++ /dev/null
47 @@ -1,6 +0,0 @@
48 -DIST madwifi-0.9.3.3.tar.bz2 3489995 SHA256 7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 SHA512 e3ca8a59fa58d10bd36924a30d1db5570af363887c6d322f2a67bf2a9804d8370b9dc13a4dc340849274d9d43bb801d12151e9c683cf86df2b31e9e48513ff19 WHIRLPOOL dadba40c18ad464574ce27ed59fe13d1b8d3ae423d580da68945677cd903f44973513643dcf81029dabb2f2278b7b0203f925eeba1c967b036c97c0847de05fb
49 -DIST madwifi-0.9.4-r4119-20100201.tar.gz 3534053 SHA256 43d3295209941cad7c75831dc83dcc0d4223987830d2a4d1089b8f5fa6ad79b6 SHA512 0fb421db0016268d52acfc46054a6563f1ff4cdbbf1c5ab8cac1557e97287fbe0db35bce554929ec462647d427df86f10bdaf7911679f2f8a7628773db21ff18 WHIRLPOOL 9f07c48d8369843dc5b0c6005ca4b140b6f14ddbf89283a92181ef884e2c51a83f25c4d6582ce1629479c71d74fc7b73d0178082d3d17974b56812b65d086dd0
50 -DIST madwifi-0.9.4-r4133-20100621.tar.gz 3534852 SHA256 f19f2eea7561a8a50a8731407d959eaafe64cc39fa5a894cac7a62807382d606 SHA512 d013810a28781ce0cd694b505c5257c1f4afcc8364e9c2901d1b33a3e0a323b0de180500dd0a19424a2d4b5d3201b2a6b0faa30fa14e409bc1bb046ba2e65fd3 WHIRLPOOL 78ebf767f4ba4111fc5f42337a2819759bc0e129335371bafeea205a5d2c0322c2fb2b67dbfb2a7953f2832d28af81979e396ba228fd1ac72bca3807c6dc6df4
51 -DIST madwifi-0.9.4-r4165-20110816.tar.gz 3534958 SHA256 4b4081f317013e568169d6d732a6158dbf392f43d3d26e52665f340e80993afc SHA512 86df881ded673c9555263c90b75ce80ef0f338f4bd0726726b60a783d44d5706d3fc3a9178dc310cc283d7ba9fbc7030b6d37794a741cad9fca65945a941f546 WHIRLPOOL c1e01e2bd78dfda076967645caaf7d0a6ea802b4fb995ad4fd167e1ca7b021e48fd75af3c08d7372343aa5d5ee211eaab18090f25f8bc013d19eab940b94d27e
52 -DIST madwifi-0.9.4-r4180-20120502.tar.gz 3534976 SHA256 fe1b9f934f3b01b86170e661565f201c4e18b50e826f86e68578b58aea93d080 SHA512 54dd572dd454997f0f0e462726f0fac9339e883c444cc586ed64a450d1ab314e2912d94f5859c5648f64b663f59caa24be7a1294c06907ca0089877768fbdf9f WHIRLPOOL 18ab6450ed7c7d3b57ec66e7da49aef1822b11f3d0614851d53a834c2581326a80a27b078a05d122d29554dc12369e4be18e3043eb731be633e64293032a7b4b
53 -DIST madwifi-0.9.4.tar.bz2 3485142 SHA256 2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 SHA512 f71aad832e1b14e5fd220a9e47874a4853852381238bfa55705b5480441407796548b6cbe82c6fd334418a0592137ea5d42df75842acda41d419fc0c0dcc157a WHIRLPOOL 087df293b704c4600beaabbcb3e7c3ea6b023eddb4c998207ae342a11ff4ad661c5c3fcecb3a17edb2a0b8a1a2fd0046a135751c09ace2319fae8120bfa279ef
54
55 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
56 deleted file mode 100644
57 index c0f5bc9..0000000
58 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.3.3.ebuild
59 +++ /dev/null
60 @@ -1,75 +0,0 @@
61 -# Copyright 1999-2009 Gentoo Foundation
62 -# Distributed under the terms of the GNU General Public License v2
63 -# $Id$
64 -
65 -inherit toolchain-funcs
66 -
67 -MY_P=${PN/-ng-tools/}-${PV}
68 -S=${WORKDIR}/${MY_P}/tools
69 -
70 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
71 -HOMEPAGE="http://www.madwifi-project.org/"
72 -SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
73 -
74 -LICENSE="|| ( BSD GPL-2 )"
75 -SLOT="0"
76 -KEYWORDS="amd64 ppc x86"
77 -
78 -IUSE=""
79 -DEPEND=""
80 -RDEPEND="!net-wireless/madwifi-old-tools
81 - ${DEPEND}"
82 -
83 -src_unpack() {
84 - unpack ${A}
85 -
86 - # format string fix from solar
87 - #sed -i \
88 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
89 -# ${S}/tools/athstats.c || die
90 -
91 -einfo "S=$S"
92 -einfo "PV=$PV"
93 -
94 - sed -i \
95 - -e "s:CC =.*:CC = $(tc-getCC):" \
96 - -e "s:CFLAGS=:CFLAGS+=:" \
97 - -e "s:LDFLAGS=:LDFLAGS+=:" \
98 - "${S}"/Makefile || die
99 -}
100 -
101 -src_compile() {
102 - emake || die "emake failed"
103 -}
104 -
105 -src_install() {
106 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
107 - install || die "emake install failed"
108 -
109 - dodir /sbin
110 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
111 -
112 - # install headers for use by
113 - # net-wireless/wpa_supplicant and net-wireless/hostapd
114 - cd "${S}"/..
115 - insinto /usr/include/madwifi/include/
116 - doins include/*.h
117 - insinto /usr/include/madwifi/net80211
118 - doins net80211/*.h
119 -}
120 -
121 -pkg_postinst() {
122 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
123 - ewarn
124 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
125 - ewarn
126 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
127 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
128 - ewarn
129 - fi
130 - einfo
131 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with
132 -madwifi"
133 - einfo "you should remerge them now."
134 - einfo
135 -}
136
137 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
138 deleted file mode 100644
139 index a2c6058..0000000
140 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4119.20100201.ebuild
141 +++ /dev/null
142 @@ -1,70 +0,0 @@
143 -# Copyright 1999-2010 Gentoo Foundation
144 -# Distributed under the terms of the GNU General Public License v2
145 -# $Id$
146 -
147 -EAPI="2"
148 -
149 -inherit versionator toolchain-funcs
150 -
151 -MY_PN=${PN/-ng-tools/}
152 -MY_PV=$(get_version_component_range 1-3)
153 -MY_REV=$(get_version_component_range 4)
154 -MY_DATE=$(get_version_component_range 5)
155 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
156 -S=${WORKDIR}/${MY_P}/tools
157 -
158 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
159 -HOMEPAGE="http://www.madwifi-project.org/"
160 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
161 -
162 -LICENSE="|| ( BSD GPL-2 )"
163 -SLOT="0"
164 -KEYWORDS="amd64 ppc x86"
165 -IUSE=""
166 -
167 -DEPEND=""
168 -RDEPEND="!net-wireless/madwifi-old-tools"
169 -
170 -src_prepare() {
171 - # format string fix from solar
172 - #sed -i \
173 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
174 -# ${S}/tools/athstats.c || die
175 -
176 - sed -i \
177 - -e "s:CC =.*:CC = $(tc-getCC):" \
178 - -e "s:CFLAGS=:CFLAGS+=:" \
179 - -e "s:LDFLAGS=:LDFLAGS+=:" \
180 - "${S}"/Makefile || die
181 -}
182 -
183 -src_install() {
184 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
185 - install || die "emake install failed"
186 -
187 - dodir /sbin
188 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
189 -
190 - # install headers for use by
191 - # net-wireless/wpa_supplicant and net-wireless/hostapd
192 - cd "${S}"/..
193 - insinto /usr/include/madwifi/include/
194 - doins include/*.h
195 - insinto /usr/include/madwifi/net80211
196 - doins net80211/*.h
197 -}
198 -
199 -pkg_postinst() {
200 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
201 - ewarn
202 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
203 - ewarn
204 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
205 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
206 - ewarn
207 - fi
208 - einfo
209 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
210 - einfo "you should remerge them now."
211 - einfo
212 -}
213
214 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
215 deleted file mode 100644
216 index a4c401d..0000000
217 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4133.20100621.ebuild
218 +++ /dev/null
219 @@ -1,70 +0,0 @@
220 -# Copyright 1999-2011 Gentoo Foundation
221 -# Distributed under the terms of the GNU General Public License v2
222 -# $Id$
223 -
224 -EAPI="2"
225 -
226 -inherit versionator toolchain-funcs
227 -
228 -MY_PN=${PN/-ng-tools/}
229 -MY_PV=$(get_version_component_range 1-3)
230 -MY_REV=$(get_version_component_range 4)
231 -MY_DATE=$(get_version_component_range 5)
232 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
233 -S=${WORKDIR}/${MY_P}/tools
234 -
235 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
236 -HOMEPAGE="http://www.madwifi-project.org/"
237 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
238 -
239 -LICENSE="|| ( BSD GPL-2 )"
240 -SLOT="0"
241 -KEYWORDS="amd64 ~ppc x86"
242 -IUSE=""
243 -
244 -DEPEND=""
245 -RDEPEND="!net-wireless/madwifi-old-tools"
246 -
247 -src_prepare() {
248 - # format string fix from solar
249 - #sed -i \
250 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
251 -# ${S}/tools/athstats.c || die
252 -
253 - sed -i \
254 - -e "s:CC =.*:CC = $(tc-getCC):" \
255 - -e "s:CFLAGS=:CFLAGS+=:" \
256 - -e "s:LDFLAGS=:LDFLAGS+=:" \
257 - "${S}"/Makefile || die
258 -}
259 -
260 -src_install() {
261 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
262 - install || die "emake install failed"
263 -
264 - dodir /sbin
265 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
266 -
267 - # install headers for use by
268 - # net-wireless/wpa_supplicant and net-wireless/hostapd
269 - cd "${S}"/..
270 - insinto /usr/include/madwifi/include/
271 - doins include/*.h
272 - insinto /usr/include/madwifi/net80211
273 - doins net80211/*.h
274 -}
275 -
276 -pkg_postinst() {
277 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
278 - ewarn
279 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
280 - ewarn
281 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
282 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
283 - ewarn
284 - fi
285 - einfo
286 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
287 - einfo "you should remerge them now."
288 - einfo
289 -}
290
291 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
292 deleted file mode 100644
293 index 8ebaca2..0000000
294 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4165.20110816.ebuild
295 +++ /dev/null
296 @@ -1,70 +0,0 @@
297 -# Copyright 1999-2012 Gentoo Foundation
298 -# Distributed under the terms of the GNU General Public License v2
299 -# $Id$
300 -
301 -EAPI="2"
302 -
303 -inherit versionator toolchain-funcs
304 -
305 -MY_PN=${PN/-ng-tools/}
306 -MY_PV=$(get_version_component_range 1-3)
307 -MY_REV=$(get_version_component_range 4)
308 -MY_DATE=$(get_version_component_range 5)
309 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
310 -S=${WORKDIR}/${MY_P}/tools
311 -
312 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
313 -HOMEPAGE="http://www.madwifi-project.org/"
314 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
315 -
316 -LICENSE="|| ( BSD GPL-2 )"
317 -SLOT="0"
318 -KEYWORDS="amd64 ppc x86"
319 -IUSE=""
320 -
321 -DEPEND=""
322 -RDEPEND="!net-wireless/madwifi-old-tools"
323 -
324 -src_prepare() {
325 - # format string fix from solar
326 - #sed -i \
327 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
328 -# ${S}/tools/athstats.c || die
329 -
330 - sed -i \
331 - -e "s:CC =.*:CC = $(tc-getCC):" \
332 - -e "s:CFLAGS=:CFLAGS+=:" \
333 - -e "s:LDFLAGS=:LDFLAGS+=:" \
334 - "${S}"/Makefile || die
335 -}
336 -
337 -src_install() {
338 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
339 - install || die "emake install failed"
340 -
341 - dodir /sbin
342 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
343 -
344 - # install headers for use by
345 - # net-wireless/wpa_supplicant and net-wireless/hostapd
346 - cd "${S}"/..
347 - insinto /usr/include/madwifi/include/
348 - doins include/*.h
349 - insinto /usr/include/madwifi/net80211
350 - doins net80211/*.h
351 -}
352 -
353 -pkg_postinst() {
354 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
355 - ewarn
356 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
357 - ewarn
358 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
359 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
360 - ewarn
361 - fi
362 - einfo
363 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
364 - einfo "you should remerge them now."
365 - einfo
366 -}
367
368 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
369 deleted file mode 100644
370 index 8ebaca2..0000000
371 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.4180.20120502.ebuild
372 +++ /dev/null
373 @@ -1,70 +0,0 @@
374 -# Copyright 1999-2012 Gentoo Foundation
375 -# Distributed under the terms of the GNU General Public License v2
376 -# $Id$
377 -
378 -EAPI="2"
379 -
380 -inherit versionator toolchain-funcs
381 -
382 -MY_PN=${PN/-ng-tools/}
383 -MY_PV=$(get_version_component_range 1-3)
384 -MY_REV=$(get_version_component_range 4)
385 -MY_DATE=$(get_version_component_range 5)
386 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
387 -S=${WORKDIR}/${MY_P}/tools
388 -
389 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
390 -HOMEPAGE="http://www.madwifi-project.org/"
391 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
392 -
393 -LICENSE="|| ( BSD GPL-2 )"
394 -SLOT="0"
395 -KEYWORDS="amd64 ppc x86"
396 -IUSE=""
397 -
398 -DEPEND=""
399 -RDEPEND="!net-wireless/madwifi-old-tools"
400 -
401 -src_prepare() {
402 - # format string fix from solar
403 - #sed -i \
404 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
405 -# ${S}/tools/athstats.c || die
406 -
407 - sed -i \
408 - -e "s:CC =.*:CC = $(tc-getCC):" \
409 - -e "s:CFLAGS=:CFLAGS+=:" \
410 - -e "s:LDFLAGS=:LDFLAGS+=:" \
411 - "${S}"/Makefile || die
412 -}
413 -
414 -src_install() {
415 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
416 - install || die "emake install failed"
417 -
418 - dodir /sbin
419 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
420 -
421 - # install headers for use by
422 - # net-wireless/wpa_supplicant and net-wireless/hostapd
423 - cd "${S}"/..
424 - insinto /usr/include/madwifi/include/
425 - doins include/*.h
426 - insinto /usr/include/madwifi/net80211
427 - doins net80211/*.h
428 -}
429 -
430 -pkg_postinst() {
431 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
432 - ewarn
433 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
434 - ewarn
435 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
436 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
437 - ewarn
438 - fi
439 - einfo
440 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
441 - einfo "you should remerge them now."
442 - einfo
443 -}
444
445 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
446 deleted file mode 100644
447 index c0f5bc9..0000000
448 --- a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-0.9.4.ebuild
449 +++ /dev/null
450 @@ -1,75 +0,0 @@
451 -# Copyright 1999-2009 Gentoo Foundation
452 -# Distributed under the terms of the GNU General Public License v2
453 -# $Id$
454 -
455 -inherit toolchain-funcs
456 -
457 -MY_P=${PN/-ng-tools/}-${PV}
458 -S=${WORKDIR}/${MY_P}/tools
459 -
460 -DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards"
461 -HOMEPAGE="http://www.madwifi-project.org/"
462 -SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
463 -
464 -LICENSE="|| ( BSD GPL-2 )"
465 -SLOT="0"
466 -KEYWORDS="amd64 ppc x86"
467 -
468 -IUSE=""
469 -DEPEND=""
470 -RDEPEND="!net-wireless/madwifi-old-tools
471 - ${DEPEND}"
472 -
473 -src_unpack() {
474 - unpack ${A}
475 -
476 - # format string fix from solar
477 - #sed -i \
478 -# -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \
479 -# ${S}/tools/athstats.c || die
480 -
481 -einfo "S=$S"
482 -einfo "PV=$PV"
483 -
484 - sed -i \
485 - -e "s:CC =.*:CC = $(tc-getCC):" \
486 - -e "s:CFLAGS=:CFLAGS+=:" \
487 - -e "s:LDFLAGS=:LDFLAGS+=:" \
488 - "${S}"/Makefile || die
489 -}
490 -
491 -src_compile() {
492 - emake || die "emake failed"
493 -}
494 -
495 -src_install() {
496 - emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \
497 - install || die "emake install failed"
498 -
499 - dodir /sbin
500 - mv "${D}"/usr/bin/wlanconfig "${D}"/sbin
501 -
502 - # install headers for use by
503 - # net-wireless/wpa_supplicant and net-wireless/hostapd
504 - cd "${S}"/..
505 - insinto /usr/include/madwifi/include/
506 - doins include/*.h
507 - insinto /usr/include/madwifi/net80211
508 - doins net80211/*.h
509 -}
510 -
511 -pkg_postinst() {
512 - if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then
513 - ewarn
514 - ewarn "The udev rules for creating interfaces (athX) are no longer needed."
515 - ewarn
516 - ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file"
517 - ewarn "and either run 'udevstart' or reboot for the changes to take effect."
518 - ewarn
519 - fi
520 - einfo
521 - einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with
522 -madwifi"
523 - einfo "you should remerge them now."
524 - einfo
525 -}
526
527 diff --git a/net-wireless/madwifi-ng-tools/metadata.xml b/net-wireless/madwifi-ng-tools/metadata.xml
528 deleted file mode 100644
529 index e59bdee..0000000
530 --- a/net-wireless/madwifi-ng-tools/metadata.xml
531 +++ /dev/null
532 @@ -1,11 +0,0 @@
533 -<?xml version="1.0" encoding="UTF-8"?>
534 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
535 -<pkgmetadata>
536 - <maintainer type="person">
537 - <email>zerochaos@g.o</email>
538 - <name>Rick Farina</name>
539 - </maintainer>
540 - <upstream>
541 - <remote-id type="sourceforge">madwifi</remote-id>
542 - </upstream>
543 -</pkgmetadata>
544
545 diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest
546 deleted file mode 100644
547 index cd3adef..0000000
548 --- a/net-wireless/madwifi-ng/Manifest
549 +++ /dev/null
550 @@ -1,6 +0,0 @@
551 -DIST madwifi-0.9.3.3.tar.bz2 3489995 SHA256 7e38cb26d5b001e9fb36f48aaefdeee10d1dc57c83e675e3bbd0f1807a3305b7 SHA512 e3ca8a59fa58d10bd36924a30d1db5570af363887c6d322f2a67bf2a9804d8370b9dc13a4dc340849274d9d43bb801d12151e9c683cf86df2b31e9e48513ff19 WHIRLPOOL dadba40c18ad464574ce27ed59fe13d1b8d3ae423d580da68945677cd903f44973513643dcf81029dabb2f2278b7b0203f925eeba1c967b036c97c0847de05fb
552 -DIST madwifi-0.9.4-r4119-20100201.tar.gz 3534053 SHA256 43d3295209941cad7c75831dc83dcc0d4223987830d2a4d1089b8f5fa6ad79b6 SHA512 0fb421db0016268d52acfc46054a6563f1ff4cdbbf1c5ab8cac1557e97287fbe0db35bce554929ec462647d427df86f10bdaf7911679f2f8a7628773db21ff18 WHIRLPOOL 9f07c48d8369843dc5b0c6005ca4b140b6f14ddbf89283a92181ef884e2c51a83f25c4d6582ce1629479c71d74fc7b73d0178082d3d17974b56812b65d086dd0
553 -DIST madwifi-0.9.4-r4133-20100621.tar.gz 3534852 SHA256 f19f2eea7561a8a50a8731407d959eaafe64cc39fa5a894cac7a62807382d606 SHA512 d013810a28781ce0cd694b505c5257c1f4afcc8364e9c2901d1b33a3e0a323b0de180500dd0a19424a2d4b5d3201b2a6b0faa30fa14e409bc1bb046ba2e65fd3 WHIRLPOOL 78ebf767f4ba4111fc5f42337a2819759bc0e129335371bafeea205a5d2c0322c2fb2b67dbfb2a7953f2832d28af81979e396ba228fd1ac72bca3807c6dc6df4
554 -DIST madwifi-0.9.4-r4165-20110816.tar.gz 3534958 SHA256 4b4081f317013e568169d6d732a6158dbf392f43d3d26e52665f340e80993afc SHA512 86df881ded673c9555263c90b75ce80ef0f338f4bd0726726b60a783d44d5706d3fc3a9178dc310cc283d7ba9fbc7030b6d37794a741cad9fca65945a941f546 WHIRLPOOL c1e01e2bd78dfda076967645caaf7d0a6ea802b4fb995ad4fd167e1ca7b021e48fd75af3c08d7372343aa5d5ee211eaab18090f25f8bc013d19eab940b94d27e
555 -DIST madwifi-0.9.4-r4180-20120502.tar.gz 3534976 SHA256 fe1b9f934f3b01b86170e661565f201c4e18b50e826f86e68578b58aea93d080 SHA512 54dd572dd454997f0f0e462726f0fac9339e883c444cc586ed64a450d1ab314e2912d94f5859c5648f64b663f59caa24be7a1294c06907ca0089877768fbdf9f WHIRLPOOL 18ab6450ed7c7d3b57ec66e7da49aef1822b11f3d0614851d53a834c2581326a80a27b078a05d122d29554dc12369e4be18e3043eb731be633e64293032a7b4b
556 -DIST madwifi-0.9.4.tar.bz2 3485142 SHA256 2356ea8a1a00454c31b8bb9a587a474744c022eca61eae01f37ab3f9ce3186a0 SHA512 f71aad832e1b14e5fd220a9e47874a4853852381238bfa55705b5480441407796548b6cbe82c6fd334418a0592137ea5d42df75842acda41d419fc0c0dcc157a WHIRLPOOL 087df293b704c4600beaabbcb3e7c3ea6b023eddb4c998207ae342a11ff4ad661c5c3fcecb3a17edb2a0b8a1a2fd0046a135751c09ace2319fae8120bfa279ef
557
558 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
559 deleted file mode 100644
560 index af14023..0000000
561 --- a/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch
562 +++ /dev/null
563 @@ -1,12 +0,0 @@
564 ---- a/net80211/ieee80211_linux.h 2008-05-09 01:15:01 +0400
565 -+++ b/net80211/ieee80211_linux.h 2008-05-11 02:26:35 +0400
566 -@@ -315,6 +315,9 @@ typedef spinlock_t acl_lock_t;
567 - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
568 - #define __skb_append(a,b,c) __skb_append(a, b)
569 - #endif
570 -+#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)
571 -+#define __skb_append(a,b,c) __skb_queue_after(c,a,b)
572 -+#endif
573 -
574 - /*
575 - * Per-node power-save queue definitions. Beware of control
576
577 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
578 deleted file mode 100644
579 index 686958c..0000000
580 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.3-uudecode-gcda-fix.patch
581 +++ /dev/null
582 @@ -1,12 +0,0 @@
583 -Index: ath_hal/Makefile
584 -===================================================================
585 ---- ath_hal/Makefile (revision 1648)
586 -+++ ath_hal/Makefile (working copy)
587 -@@ -61,6 +61,7 @@
588 - ath_hal-objs := ah_osdep.o ${TARGET}.hal.o
589 -
590 - hostprogs-y := uudecode
591 -+uudecode-objs := uudecode.o
592 -
593 - # For older 2.6 kernels
594 - host-progs := $(hostprogs-y)
595
596 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
597 deleted file mode 100644
598 index b02795f..0000000
599 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-2.6.27-r3811.patch
600 +++ /dev/null
601 @@ -1,190 +0,0 @@
602 -=== modified file 'net80211/ieee80211_wireless.c'
603 ---- net80211/ieee80211_wireless.c 2008-10-22 18:13:35 +0000
604 -+++ net80211/ieee80211_wireless.c 2008-10-22 18:13:41 +0000
605 -@@ -1551,11 +1551,19 @@
606 -
607 - struct iwscanreq { /* XXX: right place for this declaration? */
608 - struct ieee80211vap *vap;
609 -+ struct iw_request_info *info;
610 - char *current_ev;
611 - char *end_buf;
612 - int mode;
613 - };
614 -
615 -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27) && !defined(IW_REQUEST_FLAG_COMPAT)
616 -+#define iwe_stream_add_event(a, b, c, d, e) iwe_stream_add_event(b, c, d, e)
617 -+#define iwe_stream_add_point(a, b, c, d, e) iwe_stream_add_point(b, c, d, e)
618 -+#define iwe_stream_add_value(a, b, c, d, e, f) \
619 -+ iwe_stream_add_value(b, c, d, e, f)
620 -+#define iwe_stream_lcp_len(a) IW_EV_LCP_LEN
621 -+#endif
622 - static int
623 - giwscan_cb(void *arg, const struct ieee80211_scan_entry *se)
624 - {
625 -@@ -1590,7 +1598,8 @@
626 - IEEE80211_ADDR_COPY(iwe.u.ap_addr.sa_data, se->se_macaddr);
627 - else
628 - IEEE80211_ADDR_COPY(iwe.u.ap_addr.sa_data, se->se_bssid);
629 -- current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, IW_EV_ADDR_LEN);
630 -+ current_ev = iwe_stream_add_event(req->info, current_ev, end_buf,
631 -+ &iwe, IW_EV_ADDR_LEN);
632 -
633 - /* We ran out of space in the buffer. */
634 - if (last_ev == current_ev)
635 -@@ -1603,11 +1612,11 @@
636 - if (vap->iv_opmode == IEEE80211_M_HOSTAP) {
637 - iwe.u.data.length = vap->iv_des_nssid > 0 ?
638 - vap->iv_des_ssid[0].len : 0;
639 -- current_ev = iwe_stream_add_point(current_ev,
640 -+ current_ev = iwe_stream_add_point(req->info, current_ev,
641 - end_buf, &iwe, vap->iv_des_ssid[0].ssid);
642 - } else {
643 - iwe.u.data.length = se->se_ssid[1];
644 -- current_ev = iwe_stream_add_point(current_ev,
645 -+ current_ev = iwe_stream_add_point(req->info, current_ev,
646 - end_buf, &iwe, (char *) se->se_ssid+2);
647 - }
648 -
649 -@@ -1621,8 +1630,8 @@
650 - iwe.cmd = SIOCGIWMODE;
651 - iwe.u.mode = se->se_capinfo & IEEE80211_CAPINFO_ESS ?
652 - IW_MODE_MASTER : IW_MODE_ADHOC;
653 -- current_ev = iwe_stream_add_event(current_ev,
654 -- end_buf, &iwe, IW_EV_UINT_LEN);
655 -+ current_ev = iwe_stream_add_event(req->info, current_ev,
656 -+ end_buf, &iwe, IW_EV_UINT_LEN);
657 -
658 - /* We ran out of space in the buffer. */
659 - if (last_ev == current_ev)
660 -@@ -1634,8 +1643,8 @@
661 - iwe.cmd = SIOCGIWFREQ;
662 - iwe.u.freq.m = se->se_chan->ic_freq * 100000;
663 - iwe.u.freq.e = 1;
664 -- current_ev = iwe_stream_add_event(current_ev,
665 -- end_buf, &iwe, IW_EV_FREQ_LEN);
666 -+ current_ev = iwe_stream_add_event(req->info, current_ev,
667 -+ end_buf, &iwe, IW_EV_FREQ_LEN);
668 -
669 - /* We ran out of space in the buffer. */
670 - if (last_ev == current_ev)
671 -@@ -1645,8 +1654,8 @@
672 - last_ev = current_ev;
673 - iwe.cmd = IWEVQUAL;
674 - set_quality(&iwe.u.qual, se->se_rssi, ATH_DEFAULT_NOISE);
675 -- current_ev = iwe_stream_add_event(current_ev,
676 -- end_buf, &iwe, IW_EV_QUAL_LEN);
677 -+ current_ev = iwe_stream_add_event(req->info, current_ev,
678 -+ end_buf, &iwe, IW_EV_QUAL_LEN);
679 -
680 - /* We ran out of space in the buffer */
681 - if (last_ev == current_ev)
682 -@@ -1660,7 +1669,8 @@
683 - else
684 - iwe.u.data.flags = IW_ENCODE_DISABLED;
685 - iwe.u.data.length = 0;
686 -- current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, "");
687 -+ current_ev = iwe_stream_add_point(req->info, current_ev,
688 -+ end_buf, &iwe, "");
689 -
690 - /* We ran out of space in the buffer. */
691 - if (last_ev == current_ev)
692 -@@ -1669,28 +1679,28 @@
693 - memset(&iwe, 0, sizeof(iwe));
694 - last_ev = current_ev;
695 - iwe.cmd = SIOCGIWRATE;
696 -- current_val = current_ev + IW_EV_LCP_LEN;
697 -+ current_val = current_ev + iwe_stream_lcp_len(req->info);
698 - /* NB: not sorted, does it matter? */
699 - for (j = 0; j < se->se_rates[1]; j++) {
700 - int r = se->se_rates[2 + j] & IEEE80211_RATE_VAL;
701 - if (r != 0) {
702 - iwe.u.bitrate.value = r * (1000000 / 2);
703 -- current_val = iwe_stream_add_value(current_ev,
704 -- current_val, end_buf, &iwe,
705 -- IW_EV_PARAM_LEN);
706 -+ current_val = iwe_stream_add_value(req->info,
707 -+ current_ev, current_val, end_buf,
708 -+ &iwe, IW_EV_PARAM_LEN);
709 - }
710 - }
711 - for (j = 0; j < se->se_xrates[1]; j++) {
712 - int r = se->se_xrates[2+j] & IEEE80211_RATE_VAL;
713 - if (r != 0) {
714 - iwe.u.bitrate.value = r * (1000000 / 2);
715 -- current_val = iwe_stream_add_value(current_ev,
716 -- current_val, end_buf, &iwe,
717 -- IW_EV_PARAM_LEN);
718 -+ current_val = iwe_stream_add_value(req->info,
719 -+ current_ev, current_val, end_buf,
720 -+ &iwe, IW_EV_PARAM_LEN);
721 - }
722 - }
723 - /* remove fixed header if no rates were added */
724 -- if ((current_val - current_ev) > IW_EV_LCP_LEN) {
725 -+ if ((current_val - current_ev) > iwe_stream_lcp_len(req->info)) {
726 - current_ev = current_val;
727 - } else {
728 - /* We ran out of space in the buffer. */
729 -@@ -1704,7 +1714,8 @@
730 - iwe.cmd = IWEVCUSTOM;
731 - snprintf(buf, sizeof(buf), "bcn_int=%d", se->se_intval);
732 - iwe.u.data.length = strlen(buf);
733 -- current_ev = iwe_stream_add_point(current_ev, end_buf, &iwe, buf);
734 -+ current_ev = iwe_stream_add_point(req->info, current_ev,
735 -+ end_buf, &iwe, buf);
736 -
737 - /* We ran out of space in the buffer. */
738 - if (last_ev == current_ev)
739 -@@ -1728,8 +1739,8 @@
740 - rsn_leader, sizeof(rsn_leader) - 1);
741 - #endif
742 - if (iwe.u.data.length != 0) {
743 -- current_ev = iwe_stream_add_point(current_ev, end_buf,
744 -- &iwe, buf);
745 -+ current_ev = iwe_stream_add_point(req->info,
746 -+ current_ev, end_buf, &iwe, buf);
747 -
748 - /* We ran out of space in the buffer */
749 - if (last_ev == current_ev)
750 -@@ -1754,8 +1765,8 @@
751 - wpa_leader, sizeof(wpa_leader) - 1);
752 - #endif
753 - if (iwe.u.data.length != 0) {
754 -- current_ev = iwe_stream_add_point(current_ev, end_buf,
755 -- &iwe, buf);
756 -+ current_ev = iwe_stream_add_point(req->info,
757 -+ current_ev, end_buf, &iwe, buf);
758 -
759 - /* We ran out of space in the buffer. */
760 - if (last_ev == current_ev)
761 -@@ -1773,8 +1784,8 @@
762 - se->se_wme_ie, se->se_wme_ie[1] + 2,
763 - wme_leader, sizeof(wme_leader) - 1);
764 - if (iwe.u.data.length != 0) {
765 -- current_ev = iwe_stream_add_point(current_ev, end_buf,
766 -- &iwe, buf);
767 -+ current_ev = iwe_stream_add_point(req->info,
768 -+ current_ev, end_buf, &iwe, buf);
769 -
770 - /* We ran out of space in the buffer. */
771 - if (last_ev == current_ev)
772 -@@ -1791,8 +1802,8 @@
773 - se->se_ath_ie, se->se_ath_ie[1] + 2,
774 - ath_leader, sizeof(ath_leader) - 1);
775 - if (iwe.u.data.length != 0) {
776 -- current_ev = iwe_stream_add_point(current_ev, end_buf,
777 -- &iwe, buf);
778 -+ current_ev = iwe_stream_add_point(req->info,
779 -+ current_ev, end_buf, &iwe, buf);
780 -
781 - /* We ran out of space in the buffer. */
782 - if (last_ev == current_ev)
783 -@@ -1815,6 +1826,7 @@
784 - int res = 0;
785 -
786 - req.vap = vap;
787 -+ req.info = info;
788 - req.current_ev = extra;
789 - if (data->length == 0) {
790 - req.end_buf = extra + IW_SCAN_MAX_DATA;
791 -
792
793 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
794 deleted file mode 100644
795 index ad338a3..0000000
796 --- a/net-wireless/madwifi-ng/files/madwifi-ng-0.9.4-request_module-build.patch
797 +++ /dev/null
798 @@ -1,31 +0,0 @@
799 -http://bugs.gentoo.org/show_bug.cgi?id=232099
800 -http://madwifi-project.org/changeset/3880
801 -
802 -=== modified file 'include/compat.h'
803 ---- include/compat.h 2009-01-31 16:01:16 +0000
804 -+++ include/compat.h 2009-01-31 16:03:33 +0000
805 -@@ -175,6 +175,10 @@
806 - #define DEV_ATH CTL_UNNUMBERED
807 - #endif
808 -
809 -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)
810 -+#define request_module(_fmt, _modname) request_module(_modname)
811 -+#endif
812 -+
813 - #endif /* __KERNEL__ */
814 -
815 - #endif /* _ATH_COMPAT_H_ */
816 -
817 -=== modified file 'net80211/ieee80211_linux.c'
818 ---- net80211/ieee80211_linux.c 2009-01-31 16:01:16 +0000
819 -+++ net80211/ieee80211_linux.c 2009-01-31 16:03:09 +0000
820 -@@ -335,7 +335,7 @@
821 - {
822 - #ifdef CONFIG_KMOD
823 - int rv;
824 -- rv = request_module(modname);
825 -+ rv = request_module("%s", modname);
826 - if (rv < 0)
827 - printk(KERN_ERR "failed to automatically load module: %s; " \
828 - "errno: %d\n", modname, rv);
829 -
830
831 diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch b/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
832 deleted file mode 100644
833 index 1999184..0000000
834 --- a/net-wireless/madwifi-ng/files/madwifi-ng-injection-r3925.patch
835 +++ /dev/null
836 @@ -1,32 +0,0 @@
837 -=== modified file 'ath/if_ath.c'
838 ---- ath/if_ath.c 2009-06-03 07:46:17 +0000
839 -+++ ath/if_ath.c 2009-06-03 07:53:24 +0000
840 -@@ -2359,6 +2359,7 @@
841 - ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb)
842 - {
843 - struct ath_softc *sc = netdev_priv(dev);
844 -+ struct ieee80211com *ic = &sc->sc_ic;
845 - struct ath_hal *ah = sc->sc_ah;
846 - struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) (skb->cb + sizeof(struct ieee80211_cb));
847 - const HAL_RATE_TABLE *rt;
848 -@@ -2375,7 +2376,8 @@
849 - struct ieee80211_frame *wh;
850 -
851 - wh = (struct ieee80211_frame *) skb->data;
852 -- try0 = ph->try0;
853 -+ //try0 = ph->try0;
854 -+ try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
855 - rt = sc->sc_currates;
856 - txrate = dot11_to_ratecode(sc, rt, ph->rate0);
857 - power = ph->power > 60 ? 60 : ph->power;
858 -@@ -2404,7 +2406,8 @@
859 - KASSERT(rt != NULL, ("no rate table, mode %u", sc->sc_curmode));
860 -
861 -
862 -- if (IEEE80211_IS_MULTICAST(wh->i_addr1)) {
863 -+ if (IEEE80211_IS_MULTICAST(wh->i_addr1) || ((ic->ic_opmode ==
864 -+ IEEE80211_M_MONITOR) && (skb->data[1]&3) != 0x01) ) {
865 - flags |= HAL_TXDESC_NOACK; /* no ack on broad/multicast */
866 - sc->sc_stats.ast_tx_noack++;
867 - try0 = 1;
868 -
869
870 diff --git a/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch b/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch
871 deleted file mode 100644
872 index 1ee11be..0000000
873 --- a/net-wireless/madwifi-ng/files/madwifi-ng-r1886.patch
874 +++ /dev/null
875 @@ -1,26 +0,0 @@
876 -allow to inject packets with aircrack-ng
877 -
878 -diff -ur ath/if_ath.c ath/if_ath.c
879 ---- ath/if_ath.c 2007-01-07 21:22:55.312500000 +0100
880 -+++ ath/if_ath.c 2007-01-07 21:17:09.875000000 +0100
881 -@@ -2289,6 +2289,7 @@
882 - ath_tx_startraw(struct net_device *dev, struct ath_buf *bf, struct sk_buff *skb)
883 - {
884 - struct ath_softc *sc = dev->priv;
885 -+ struct ieee80211com *ic = &sc->sc_ic;
886 - struct ath_hal *ah = sc->sc_ah;
887 - struct ieee80211_phy_params *ph = (struct ieee80211_phy_params *) (skb->cb + sizeof(struct ieee80211_cb));
888 - const HAL_RATE_TABLE *rt;
889 -@@ -2305,7 +2306,11 @@
890 - struct ieee80211_frame *wh;
891 -
892 - wh = (struct ieee80211_frame *) skb->data;
893 -- try0 = ph->try0;
894 -+ try0 = (ic->ic_opmode == IEEE80211_M_MONITOR) ? 1 : ph->try0;
895 -+ /*
896 -+ * The retry value has to be patched to 1 when injecting,
897 -+ * otherwise the sequence number will be overwritten
898 -+ */
899 - rt = sc->sc_currates;
900 - txrate = dot11_to_ratecode(sc, rt, ph->rate0);
901 - power = ph->power > 60 ? 60 : ph->power;
902
903 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
904 deleted file mode 100644
905 index 80186d7..0000000
906 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.3.ebuild
907 +++ /dev/null
908 @@ -1,85 +0,0 @@
909 -# Copyright 1999-2008 Gentoo Foundation
910 -# Distributed under the terms of the GNU General Public License v2
911 -# $Id$
912 -
913 -inherit linux-mod
914 -
915 -MY_P=${PN/-ng/}-${PV}
916 -S="${WORKDIR}"/${MY_P}
917 -
918 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
919 -HOMEPAGE="http://www.madwifi-project.org/"
920 -SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
921 -
922 -LICENSE="atheros-hal
923 - || ( BSD GPL-2 )"
924 -SLOT="0"
925 -KEYWORDS="amd64 ppc x86"
926 -IUSE="injection"
927 -
928 -DEPEND="app-arch/sharutils"
929 -RDEPEND="!net-wireless/madwifi-old
930 - net-wireless/wireless-tools
931 - ~net-wireless/madwifi-ng-tools-${PV}"
932 -
933 -CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
934 -ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
935 -ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
936 -ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
937 -ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
938 -BUILD_TARGETS="all"
939 -MODULESD_ATH_PCI_DOCS="README"
940 -
941 -pkg_setup() {
942 - linux-mod_pkg_setup
943 -
944 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
945 - wlan(net:"${S}"/net80211)
946 - wlan_acl(net:"${S}"/net80211)
947 - wlan_ccmp(net:"${S}"/net80211)
948 - wlan_tkip(net:"${S}"/net80211)
949 - wlan_wep(net:"${S}"/net80211)
950 - wlan_xauth(net:"${S}"/net80211)
951 - wlan_scan_sta(net:"${S}"/net80211)
952 - wlan_scan_ap(net:"${S}"/net80211)
953 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
954 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
955 - ath_rate_sample(net:"${S}"/ath_rate/sample)
956 - ath_pci(net:"${S}"/ath)'
957 -
958 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
959 -}
960 -
961 -src_unpack() {
962 - unpack ${A}
963 -
964 - cd "${S}"
965 - epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
966 - if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
967 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/onoe ath_rate/sample; do
968 - convert_to_m "${S}"/${dir}/Makefile
969 - done
970 -}
971 -
972 -src_install() {
973 - linux-mod_src_install
974 -
975 - dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
976 -}
977 -
978 -pkg_postinst() {
979 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
980 -
981 - linux-mod_pkg_postinst
982 -
983 - einfo
984 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
985 - einfo "module."
986 - einfo
987 - einfo "The type of the created interface can be controlled through the 'autocreate'"
988 - einfo "module parameter."
989 - einfo
990 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
991 - einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
992 - einfo "no longer serve any purpose."
993 -}
994
995 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
996 deleted file mode 100644
997 index 07a296d..0000000
998 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
999 +++ /dev/null
1000 @@ -1,95 +0,0 @@
1001 -# Copyright 1999-2009 Gentoo Foundation
1002 -# Distributed under the terms of the GNU General Public License v2
1003 -# $Id$
1004 -
1005 -inherit linux-mod
1006 -
1007 -MY_P=${PN/-ng/}-${PV}
1008 -S="${WORKDIR}"/${MY_P}
1009 -
1010 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1011 -HOMEPAGE="http://www.madwifi-project.org/"
1012 -SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
1013 -
1014 -LICENSE="atheros-hal
1015 - || ( BSD GPL-2 )"
1016 -SLOT="0"
1017 -KEYWORDS="~amd64 ~ppc ~x86"
1018 -IUSE="injection"
1019 -
1020 -RDEPEND="!net-wireless/madwifi-old
1021 - net-wireless/wireless-tools
1022 - ~net-wireless/madwifi-ng-tools-${PV}"
1023 -
1024 -CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
1025 -ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1026 -ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1027 -ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1028 -ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1029 -BUILD_TARGETS="all"
1030 -MODULESD_ATH_PCI_DOCS="README"
1031 -
1032 -pkg_setup() {
1033 - linux-mod_pkg_setup
1034 -
1035 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1036 - wlan(net:"${S}"/net80211)
1037 - wlan_acl(net:"${S}"/net80211)
1038 - wlan_ccmp(net:"${S}"/net80211)
1039 - wlan_tkip(net:"${S}"/net80211)
1040 - wlan_wep(net:"${S}"/net80211)
1041 - wlan_xauth(net:"${S}"/net80211)
1042 - wlan_scan_sta(net:"${S}"/net80211)
1043 - wlan_scan_ap(net:"${S}"/net80211)
1044 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1045 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1046 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1047 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1048 - ath_pci(net:"${S}"/ath)'
1049 -
1050 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1051 -}
1052 -
1053 -src_unpack() {
1054 - unpack ${A}
1055 -
1056 - cd "${S}"
1057 - epatch "${FILESDIR}/${PN}-0.9.3-uudecode-gcda-fix.patch"
1058 - if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
1059 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1060 - convert_to_m "${S}/${dir}/Makefile"
1061 - done
1062 - epatch "${FILESDIR}/madwifi-dfs-ieee80211-skb-update.patch"
1063 - kernel_is ge 2 6 27 && epatch "${FILESDIR}/${P}-2.6.27-r3811.patch"
1064 - epatch "${FILESDIR}/${P}-request_module-build.patch"
1065 -}
1066 -
1067 -src_install() {
1068 - linux-mod_src_install
1069 -
1070 - dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
1071 -}
1072 -
1073 -pkg_postinst() {
1074 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1075 -
1076 - linux-mod_pkg_postinst
1077 -
1078 - einfo
1079 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1080 - einfo "module."
1081 - einfo
1082 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1083 - einfo "module parameter."
1084 - einfo
1085 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1086 - einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
1087 - einfo "no longer serve any purpose."
1088 -
1089 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1090 - elog "# No AR5007 support in this release;"
1091 - elog "experimental support is available for i386 (32bit) in #1679"
1092 - elog "# No AR5008 support in this release; support is available in trunk "
1093 - elog "No, we will not apply the patch from 1679, if you must, please do so
1094 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1095 -}
1096
1097 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
1098 deleted file mode 100644
1099 index 7cea2f1..0000000
1100 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4119.20100201.ebuild
1101 +++ /dev/null
1102 @@ -1,96 +0,0 @@
1103 -# Copyright 1999-2010 Gentoo Foundation
1104 -# Distributed under the terms of the GNU General Public License v2
1105 -# $Id$
1106 -
1107 -EAPI="2"
1108 -
1109 -inherit linux-mod versionator
1110 -
1111 -MY_PN=${PN/-ng/}
1112 -MY_PV=$(get_version_component_range 1-3)
1113 -MY_REV=$(get_version_component_range 4)
1114 -MY_DATE=$(get_version_component_range 5)
1115 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
1116 -S=${WORKDIR}/${MY_P}
1117 -
1118 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1119 -HOMEPAGE="http://www.madwifi-project.org/"
1120 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
1121 -
1122 -LICENSE="atheros-hal
1123 - || ( BSD GPL-2 )"
1124 -SLOT="0"
1125 -KEYWORDS="amd64 ppc x86"
1126 -IUSE="injection"
1127 -
1128 -RDEPEND="!net-wireless/madwifi-old
1129 - net-wireless/wireless-tools
1130 - ~net-wireless/madwifi-ng-tools-${PV}"
1131 -
1132 -pkg_setup() {
1133 - CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
1134 - kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
1135 - ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1136 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1137 - kernel_is gt 2 6 33 && \
1138 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_IPW2100)"
1139 - ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1140 - ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1141 - BUILD_TARGETS="all"
1142 - MODULESD_ATH_PCI_DOCS="README"
1143 - linux-mod_pkg_setup
1144 -
1145 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1146 - wlan(net:"${S}"/net80211)
1147 - wlan_acl(net:"${S}"/net80211)
1148 - wlan_ccmp(net:"${S}"/net80211)
1149 - wlan_tkip(net:"${S}"/net80211)
1150 - wlan_wep(net:"${S}"/net80211)
1151 - wlan_xauth(net:"${S}"/net80211)
1152 - wlan_scan_sta(net:"${S}"/net80211)
1153 - wlan_scan_ap(net:"${S}"/net80211)
1154 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1155 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1156 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1157 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1158 - ath_pci(net:"${S}"/ath)'
1159 -
1160 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1161 -}
1162 -
1163 -src_prepare() {
1164 - use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
1165 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1166 - convert_to_m "${S}/${dir}/Makefile"
1167 - done
1168 - sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
1169 - make svnversion.h || die
1170 -}
1171 -
1172 -src_install() {
1173 - linux-mod_src_install
1174 - dodoc README THANKS SNAPSHOT || die
1175 -}
1176 -
1177 -pkg_postinst() {
1178 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1179 -
1180 - linux-mod_pkg_postinst
1181 -
1182 - einfo
1183 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1184 - einfo "module."
1185 - einfo
1186 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1187 - einfo "module parameter."
1188 - einfo
1189 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1190 - einfo "module load time via the 'ratectl' module parameter."
1191 -
1192 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1193 - elog "# No AR5007 support in this release;"
1194 - elog "experimental support is available for i386 (32bit) in #1679"
1195 - elog "# No AR5008 support in this release; support is available in trunk "
1196 - elog "No, we will not apply the patch from 1679, if you must, please do so
1197 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1198 -}
1199
1200 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
1201 deleted file mode 100644
1202 index 073c302..0000000
1203 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4133.20100621.ebuild
1204 +++ /dev/null
1205 @@ -1,96 +0,0 @@
1206 -# Copyright 1999-2011 Gentoo Foundation
1207 -# Distributed under the terms of the GNU General Public License v2
1208 -# $Id$
1209 -
1210 -EAPI="2"
1211 -
1212 -inherit linux-mod versionator
1213 -
1214 -MY_PN=${PN/-ng/}
1215 -MY_PV=$(get_version_component_range 1-3)
1216 -MY_REV=$(get_version_component_range 4)
1217 -MY_DATE=$(get_version_component_range 5)
1218 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
1219 -S=${WORKDIR}/${MY_P}
1220 -
1221 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1222 -HOMEPAGE="http://www.madwifi-project.org/"
1223 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
1224 -
1225 -LICENSE="atheros-hal
1226 - || ( BSD GPL-2 )"
1227 -SLOT="0"
1228 -KEYWORDS="amd64 ~ppc x86"
1229 -IUSE="injection"
1230 -
1231 -RDEPEND="!net-wireless/madwifi-old
1232 - net-wireless/wireless-tools
1233 - ~net-wireless/madwifi-ng-tools-${PV}"
1234 -
1235 -pkg_setup() {
1236 - CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
1237 - kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
1238 - ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1239 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1240 - kernel_is gt 2 6 33 && \
1241 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_IPW2100)"
1242 - ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1243 - ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1244 - BUILD_TARGETS="all"
1245 - MODULESD_ATH_PCI_DOCS="README"
1246 - linux-mod_pkg_setup
1247 -
1248 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1249 - wlan(net:"${S}"/net80211)
1250 - wlan_acl(net:"${S}"/net80211)
1251 - wlan_ccmp(net:"${S}"/net80211)
1252 - wlan_tkip(net:"${S}"/net80211)
1253 - wlan_wep(net:"${S}"/net80211)
1254 - wlan_xauth(net:"${S}"/net80211)
1255 - wlan_scan_sta(net:"${S}"/net80211)
1256 - wlan_scan_ap(net:"${S}"/net80211)
1257 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1258 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1259 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1260 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1261 - ath_pci(net:"${S}"/ath)'
1262 -
1263 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1264 -}
1265 -
1266 -src_prepare() {
1267 - use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
1268 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1269 - convert_to_m "${S}/${dir}/Makefile"
1270 - done
1271 - sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
1272 - make svnversion.h || die
1273 -}
1274 -
1275 -src_install() {
1276 - linux-mod_src_install
1277 - dodoc README THANKS SNAPSHOT || die
1278 -}
1279 -
1280 -pkg_postinst() {
1281 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1282 -
1283 - linux-mod_pkg_postinst
1284 -
1285 - einfo
1286 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1287 - einfo "module."
1288 - einfo
1289 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1290 - einfo "module parameter."
1291 - einfo
1292 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1293 - einfo "module load time via the 'ratectl' module parameter."
1294 -
1295 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1296 - elog "# No AR5007 support in this release;"
1297 - elog "experimental support is available for i386 (32bit) in #1679"
1298 - elog "# No AR5008 support in this release; support is available in trunk "
1299 - elog "No, we will not apply the patch from 1679, if you must, please do so
1300 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1301 -}
1302
1303 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
1304 deleted file mode 100644
1305 index 1c5000a..0000000
1306 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4165.20110816.ebuild
1307 +++ /dev/null
1308 @@ -1,96 +0,0 @@
1309 -# Copyright 1999-2012 Gentoo Foundation
1310 -# Distributed under the terms of the GNU General Public License v2
1311 -# $Id$
1312 -
1313 -EAPI="2"
1314 -
1315 -inherit linux-mod versionator
1316 -
1317 -MY_PN=${PN/-ng/}
1318 -MY_PV=$(get_version_component_range 1-3)
1319 -MY_REV=$(get_version_component_range 4)
1320 -MY_DATE=$(get_version_component_range 5)
1321 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
1322 -S=${WORKDIR}/${MY_P}
1323 -
1324 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1325 -HOMEPAGE="http://www.madwifi-project.org/"
1326 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
1327 -
1328 -LICENSE="atheros-hal
1329 - || ( BSD GPL-2 )"
1330 -SLOT="0"
1331 -KEYWORDS="amd64 ppc x86"
1332 -IUSE="injection"
1333 -
1334 -RDEPEND="!net-wireless/madwifi-old
1335 - net-wireless/wireless-tools
1336 - ~net-wireless/madwifi-ng-tools-${PV}"
1337 -
1338 -pkg_setup() {
1339 - CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
1340 - kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
1341 - ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1342 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1343 - kernel_is gt 2 6 33 && \
1344 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_IPW2100)"
1345 - ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1346 - ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1347 - BUILD_TARGETS="all"
1348 - MODULESD_ATH_PCI_DOCS="README"
1349 - linux-mod_pkg_setup
1350 -
1351 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1352 - wlan(net:"${S}"/net80211)
1353 - wlan_acl(net:"${S}"/net80211)
1354 - wlan_ccmp(net:"${S}"/net80211)
1355 - wlan_tkip(net:"${S}"/net80211)
1356 - wlan_wep(net:"${S}"/net80211)
1357 - wlan_xauth(net:"${S}"/net80211)
1358 - wlan_scan_sta(net:"${S}"/net80211)
1359 - wlan_scan_ap(net:"${S}"/net80211)
1360 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1361 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1362 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1363 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1364 - ath_pci(net:"${S}"/ath)'
1365 -
1366 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1367 -}
1368 -
1369 -src_prepare() {
1370 - use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
1371 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1372 - convert_to_m "${S}/${dir}/Makefile"
1373 - done
1374 - sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
1375 - make svnversion.h || die
1376 -}
1377 -
1378 -src_install() {
1379 - linux-mod_src_install
1380 - dodoc README THANKS SNAPSHOT || die
1381 -}
1382 -
1383 -pkg_postinst() {
1384 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1385 -
1386 - linux-mod_pkg_postinst
1387 -
1388 - einfo
1389 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1390 - einfo "module."
1391 - einfo
1392 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1393 - einfo "module parameter."
1394 - einfo
1395 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1396 - einfo "module load time via the 'ratectl' module parameter."
1397 -
1398 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1399 - elog "# No AR5007 support in this release;"
1400 - elog "experimental support is available for i386 (32bit) in #1679"
1401 - elog "# No AR5008 support in this release; support is available in trunk "
1402 - elog "No, we will not apply the patch from 1679, if you must, please do so
1403 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1404 -}
1405
1406 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
1407 deleted file mode 100644
1408 index e02e8ec..0000000
1409 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.4180.20120502.ebuild
1410 +++ /dev/null
1411 @@ -1,96 +0,0 @@
1412 -# Copyright 1999-2012 Gentoo Foundation
1413 -# Distributed under the terms of the GNU General Public License v2
1414 -# $Id$
1415 -
1416 -EAPI="2"
1417 -
1418 -inherit linux-mod versionator
1419 -
1420 -MY_PN=${PN/-ng/}
1421 -MY_PV=$(get_version_component_range 1-3)
1422 -MY_REV=$(get_version_component_range 4)
1423 -MY_DATE=$(get_version_component_range 5)
1424 -MY_P=${MY_PN}-${MY_PV}-r${MY_REV}-${MY_DATE}
1425 -S=${WORKDIR}/${MY_P}
1426 -
1427 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1428 -HOMEPAGE="http://www.madwifi-project.org/"
1429 -SRC_URI="http://snapshots.madwifi-project.org/${MY_PN}-${MY_PV}/${MY_P}.tar.gz"
1430 -
1431 -LICENSE="atheros-hal
1432 - || ( BSD GPL-2 )"
1433 -SLOT="0"
1434 -KEYWORDS="~amd64 ~ppc ~x86"
1435 -IUSE="injection"
1436 -
1437 -RDEPEND="!net-wireless/madwifi-old
1438 - net-wireless/wireless-tools
1439 - ~net-wireless/madwifi-ng-tools-${PV}"
1440 -
1441 -pkg_setup() {
1442 - CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL"
1443 - kernel_is lt 2 6 29 && CONFIG_CHECK="${CONFIG_CHECK} KMOD"
1444 - ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1445 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1446 - kernel_is gt 2 6 33 && \
1447 - ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by some Wireless LAN drivers (e.g CONFIG_IPW2100)"
1448 - ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1449 - ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1450 - BUILD_TARGETS="all"
1451 - MODULESD_ATH_PCI_DOCS="README"
1452 - linux-mod_pkg_setup
1453 -
1454 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1455 - wlan(net:"${S}"/net80211)
1456 - wlan_acl(net:"${S}"/net80211)
1457 - wlan_ccmp(net:"${S}"/net80211)
1458 - wlan_tkip(net:"${S}"/net80211)
1459 - wlan_wep(net:"${S}"/net80211)
1460 - wlan_xauth(net:"${S}"/net80211)
1461 - wlan_scan_sta(net:"${S}"/net80211)
1462 - wlan_scan_ap(net:"${S}"/net80211)
1463 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1464 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1465 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1466 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1467 - ath_pci(net:"${S}"/ath)'
1468 -
1469 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1470 -}
1471 -
1472 -src_prepare() {
1473 - use injection && epatch "${FILESDIR}"/${PN}-injection-r3925.patch
1474 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1475 - convert_to_m "${S}/${dir}/Makefile"
1476 - done
1477 - sed -e 's:-Werror ::' -i Makefile.inc || die "sed -Werror failed"
1478 - make svnversion.h || die
1479 -}
1480 -
1481 -src_install() {
1482 - linux-mod_src_install
1483 - dodoc README THANKS SNAPSHOT || die
1484 -}
1485 -
1486 -pkg_postinst() {
1487 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1488 -
1489 - linux-mod_pkg_postinst
1490 -
1491 - einfo
1492 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1493 - einfo "module."
1494 - einfo
1495 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1496 - einfo "module parameter."
1497 - einfo
1498 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1499 - einfo "module load time via the 'ratectl' module parameter."
1500 -
1501 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1502 - elog "# No AR5007 support in this release;"
1503 - elog "experimental support is available for i386 (32bit) in #1679"
1504 - elog "# No AR5008 support in this release; support is available in trunk "
1505 - elog "No, we will not apply the patch from 1679, if you must, please do so
1506 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1507 -}
1508
1509 diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild
1510 deleted file mode 100644
1511 index 1d8620e..0000000
1512 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild
1513 +++ /dev/null
1514 @@ -1,95 +0,0 @@
1515 -# Copyright 1999-2009 Gentoo Foundation
1516 -# Distributed under the terms of the GNU General Public License v2
1517 -# $Id$
1518 -
1519 -inherit linux-mod
1520 -
1521 -MY_P=${PN/-ng/}-${PV}
1522 -S="${WORKDIR}"/${MY_P}
1523 -
1524 -DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
1525 -HOMEPAGE="http://www.madwifi-project.org/"
1526 -SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
1527 -
1528 -LICENSE="atheros-hal
1529 - || ( BSD GPL-2 )"
1530 -SLOT="0"
1531 -KEYWORDS="amd64 ppc x86"
1532 -IUSE="injection"
1533 -
1534 -RDEPEND="!net-wireless/madwifi-old
1535 - net-wireless/wireless-tools
1536 - ~net-wireless/madwifi-ng-tools-${PV}"
1537 -
1538 -CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
1539 -ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
1540 -ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
1541 -ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
1542 -ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
1543 -BUILD_TARGETS="all"
1544 -MODULESD_ATH_PCI_DOCS="README"
1545 -
1546 -pkg_setup() {
1547 - linux-mod_pkg_setup
1548 -
1549 - MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
1550 - wlan(net:"${S}"/net80211)
1551 - wlan_acl(net:"${S}"/net80211)
1552 - wlan_ccmp(net:"${S}"/net80211)
1553 - wlan_tkip(net:"${S}"/net80211)
1554 - wlan_wep(net:"${S}"/net80211)
1555 - wlan_xauth(net:"${S}"/net80211)
1556 - wlan_scan_sta(net:"${S}"/net80211)
1557 - wlan_scan_ap(net:"${S}"/net80211)
1558 - ath_rate_amrr(net:"${S}"/ath_rate/amrr)
1559 - ath_rate_onoe(net:"${S}"/ath_rate/onoe)
1560 - ath_rate_sample(net:"${S}"/ath_rate/sample)
1561 - ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
1562 - ath_pci(net:"${S}"/ath)'
1563 -
1564 - BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
1565 -}
1566 -
1567 -src_unpack() {
1568 - unpack ${A}
1569 -
1570 - cd "${S}"
1571 - epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
1572 - if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
1573 - for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
1574 - convert_to_m "${S}"/${dir}/Makefile
1575 - done
1576 - epatch "${FILESDIR}"/madwifi-dfs-ieee80211-skb-update.patch
1577 - kernel_is ge 2 6 27 && epatch "${FILESDIR}/${P}-2.6.27-r3811.patch"
1578 - epatch "${FILESDIR}/${P}-request_module-build.patch"
1579 -}
1580 -
1581 -src_install() {
1582 - linux-mod_src_install
1583 -
1584 - dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
1585 -}
1586 -
1587 -pkg_postinst() {
1588 - local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
1589 -
1590 - linux-mod_pkg_postinst
1591 -
1592 - einfo
1593 - einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
1594 - einfo "module."
1595 - einfo
1596 - einfo "The type of the created interface can be controlled through the 'autocreate'"
1597 - einfo "module parameter."
1598 - einfo
1599 - einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
1600 - einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
1601 - einfo "no longer serve any purpose."
1602 -
1603 - elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
1604 - elog "# No AR5007 support in this release;"
1605 - elog "experimental support is available for i386 (32bit) in #1679"
1606 - elog "# No AR5008 support in this release; support is available in trunk "
1607 - elog "No, we will not apply the patch from 1679, if you must, please do so
1608 - in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
1609 -}
1610
1611 diff --git a/net-wireless/madwifi-ng/metadata.xml b/net-wireless/madwifi-ng/metadata.xml
1612 deleted file mode 100644
1613 index 6a8f4fc..0000000
1614 --- a/net-wireless/madwifi-ng/metadata.xml
1615 +++ /dev/null
1616 @@ -1,19 +0,0 @@
1617 -<?xml version="1.0" encoding="UTF-8"?>
1618 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
1619 -<pkgmetadata>
1620 - <maintainer type="person">
1621 - <email>steev@g.o</email>
1622 - <name>Steev Klimaszewski</name>
1623 - </maintainer>
1624 - <maintainer type="person">
1625 - <email>zerochaos@g.o</email>
1626 - <name>Rick Farina</name>
1627 - </maintainer>
1628 - <use>
1629 - <flag name="injection">Adds support for <pkg>net-wireless/aircrack-ng</pkg>
1630 - aireplay-ng packet injection</flag>
1631 - </use>
1632 - <upstream>
1633 - <remote-id type="sourceforge">madwifi</remote-id>
1634 - </upstream>
1635 -</pkgmetadata>
1636
1637 diff --git a/profiles/arch/arm/use.mask b/profiles/arch/arm/use.mask
1638 index a2e4134..066b380 100644
1639 --- a/profiles/arch/arm/use.mask
1640 +++ b/profiles/arch/arm/use.mask
1641 @@ -112,7 +112,6 @@ nvtv
1642 mzscheme
1643 xemacs
1644 scanner
1645 -madwifi
1646 libupnp
1647 zvbi
1648 fluidsynth
1649
1650 diff --git a/profiles/arch/arm64/use.mask b/profiles/arch/arm64/use.mask
1651 index f99d4ec..7e0aa0e 100644
1652 --- a/profiles/arch/arm64/use.mask
1653 +++ b/profiles/arch/arm64/use.mask
1654 @@ -103,7 +103,6 @@ mzscheme
1655 xemacs
1656 rpm
1657 scanner
1658 -madwifi
1659 libupnp
1660 zvbi
1661 ldap
1662
1663 diff --git a/profiles/arch/nios2/use.mask b/profiles/arch/nios2/use.mask
1664 index a170c07..dde1b95 100644
1665 --- a/profiles/arch/nios2/use.mask
1666 +++ b/profiles/arch/nios2/use.mask
1667 @@ -103,7 +103,6 @@ mzscheme
1668 xemacs
1669 rpm
1670 scanner
1671 -madwifi
1672 libupnp
1673 zvbi
1674 ldap
1675
1676 diff --git a/profiles/arch/powerpc/ppc64/use.mask b/profiles/arch/powerpc/ppc64/use.mask
1677 index 91c7ba2..ab80c5c 100644
1678 --- a/profiles/arch/powerpc/ppc64/use.mask
1679 +++ b/profiles/arch/powerpc/ppc64/use.mask
1680 @@ -23,10 +23,6 @@ battery
1681 # Unmask the flag for Playstation 3
1682 -ps3
1683
1684 -# Raúl Porcel <armin76@g.o> (11 Aug 2008)
1685 -# Missing keyword on net-wireless/madwifi
1686 -madwifi
1687 -
1688 # mask custom-cpuopts and cpudetection on ppc64 for mplayer - bug #234629
1689 custom-cpuopts
1690 cpudetection
1691
1692 diff --git a/profiles/default/bsd/use.mask b/profiles/default/bsd/use.mask
1693 index ba2cd7f..f9e9fa4 100644
1694 --- a/profiles/default/bsd/use.mask
1695 +++ b/profiles/default/bsd/use.mask
1696 @@ -24,7 +24,6 @@ lm_sensors
1697 caps
1698 filecaps
1699 vidix
1700 -madwifi
1701 3dfx
1702 nvidia
1703 xvmc
1704
1705 diff --git a/profiles/hardened/linux/powerpc/ppc64/use.mask b/profiles/hardened/linux/powerpc/ppc64/use.mask
1706 index 281b8b1..f3e913e 100644
1707 --- a/profiles/hardened/linux/powerpc/ppc64/use.mask
1708 +++ b/profiles/hardened/linux/powerpc/ppc64/use.mask
1709 @@ -45,10 +45,6 @@ video_cards_via
1710 # Masked p2p for bug #155302 <josejx@g.o>
1711 p2p
1712
1713 -# 02 Dec 2006; Tony Vroon <chainsaw@g.o>
1714 -# Keywording wpa_supplicant, but I don't have madwifi(-ng) hardware to test with, only BCM4306.
1715 -madwifi
1716 -
1717 # USE=audit masked prior to testing on alpha, arm, hppa, ppc64, s390, sh.
1718 # Bug #184563, 18 Sep 2007
1719 # Robin H. Johnson <robbat2@g.o>
1720
1721 diff --git a/profiles/package.mask b/profiles/package.mask
1722 index 90efb1d..7422bd8 100644
1723 --- a/profiles/package.mask
1724 +++ b/profiles/package.mask
1725 @@ -711,13 +711,6 @@ sci-geosciences/googleearth
1726 # Masked to ensure users are aware before they install.
1727 app-text/cuneiform
1728
1729 -# Rick Farina <zerochaos@g.o> (21 Dec 2012)
1730 -# madwifi has been replaced by ath5k and ath9k in kernel
1731 -# drivers and is subject to numerous long standing bugs
1732 -# stable wpa_supplicant sometimes wants madwifi-ng-tools
1733 -#net-wireless/madwifi-ng-tools
1734 -net-wireless/madwifi-ng
1735 -
1736 # Robin H. Johnson <robbat2@g.o> (09 Feb 2012)
1737 # Needs to be slotted better
1738 # Andreas K. Hüttel <dilfridge@g.o> (08 Apr 2016)