1 |
commit: 6a85f6cb40f7537594f48759a82f9a618727a478 |
2 |
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
3 |
AuthorDate: Sun Jan 31 13:23:14 2021 +0000 |
4 |
Commit: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
5 |
CommitDate: Sun Jan 31 13:23:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=6a85f6cb |
7 |
|
8 |
net-wireless/aircrack-ng: drop package |
9 |
|
10 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
11 |
|
12 |
net-wireless/aircrack-ng/Manifest | 2 - |
13 |
.../aircrack-ng/aircrack-ng-1.2_rc1-r1.ebuild | 138 --------------------- |
14 |
.../aircrack-ng/aircrack-ng-1.2_rc4-r1.ebuild | 118 ------------------ |
15 |
net-wireless/aircrack-ng/aircrack-ng-9999.ebuild | 123 ------------------ |
16 |
.../files/aircrack-ng-1.2_rc4-openssl.patch | 49 -------- |
17 |
net-wireless/aircrack-ng/metadata.xml | 29 ----- |
18 |
6 files changed, 459 deletions(-) |
19 |
|
20 |
diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest |
21 |
deleted file mode 100644 |
22 |
index 694a11c..0000000 |
23 |
--- a/net-wireless/aircrack-ng/Manifest |
24 |
+++ /dev/null |
25 |
@@ -1,2 +0,0 @@ |
26 |
-DIST aircrack-ng-1.2-rc1.tar.gz 2046476 SHA256 cf3134521e1c3d7aed4e384e3e5e7b6959e2d485bd1554474608a3a9328e35fd SHA512 897427c535846c0ede58b2f99ed469bc01f50f9b38fc70d5711261fca7342339192cc0c71a724fc04c99114db7534d825a44f09e7bc5754286ec44933a33e40d WHIRLPOOL 2f8df161c61b8dfa6f4bd5f4af677273f255f01ae84853a80fcde4c07f03e51dcad9dcf007afa5a1120521c641d35c23d07b1edfc51c90d7b8b216b179d27ea9 |
27 |
-DIST aircrack-ng-1.2-rc4.tar.gz 4379880 SHA256 d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 SHA512 f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c WHIRLPOOL f06d87911492e83c48ea062c8451c2380a8d721795aa875133076e8b81d6a88d68aba354a4150890db3bf1b41d56f9715b595c2eb71f2b7232061be4a9ffd815 |
28 |
|
29 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc1-r1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_rc1-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 1caf883..0000000 |
32 |
--- a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc1-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,138 +0,0 @@ |
35 |
-# Copyright 1999-2015 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI="5" |
39 |
- |
40 |
-PYTHON_COMPAT=( python2_7 ) |
41 |
-DISTUTILS_OPTIONAL=1 |
42 |
- |
43 |
-inherit toolchain-funcs distutils-r1 flag-o-matic |
44 |
- |
45 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
46 |
-HOMEPAGE="http://www.aircrack-ng.org" |
47 |
- |
48 |
-if [[ ${PV} == "9999" ]] ; then |
49 |
- inherit subversion |
50 |
- ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" |
51 |
- KEYWORDS="" |
52 |
- S="${WORKDIR}/${PN}" |
53 |
-else |
54 |
- MY_PV=${PV/_/-} |
55 |
- SRC_URI="http://download.${PN}.org/${PN}-${MY_PV}.tar.gz" |
56 |
- KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux" |
57 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
58 |
-fi |
59 |
- |
60 |
-LICENSE="GPL-2" |
61 |
-SLOT="0" |
62 |
- |
63 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD libressl +netlink +pcre +sqlite +unstable" |
64 |
- |
65 |
-DEPEND="net-libs/libpcap |
66 |
- !libressl? ( dev-libs/openssl:0= ) |
67 |
- libressl? ( dev-libs/libressl:0= ) |
68 |
- netlink? ( dev-libs/libnl:3 ) |
69 |
- pcre? ( dev-libs/libpcre ) |
70 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
71 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
72 |
- sqlite? ( >=dev-db/sqlite-3.4 ) |
73 |
- unstable? ( sys-libs/zlib )" |
74 |
-RDEPEND="${DEPEND} |
75 |
- kernel_linux? ( |
76 |
- net-wireless/iw |
77 |
- net-wireless/wireless-tools |
78 |
- sys-apps/ethtool |
79 |
- sys-apps/usbutils |
80 |
- sys-apps/pciutils ) |
81 |
- sys-apps/hwids |
82 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
83 |
- |
84 |
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
85 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
86 |
- |
87 |
-src_compile() { |
88 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
89 |
- die "Please use gcc, upstream bug http://trac.aircrack-ng.org/ticket/1144" |
90 |
- fi |
91 |
- |
92 |
- if [[ ${PV} == "9999" ]] ; then |
93 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
94 |
- fi |
95 |
- |
96 |
- emake \ |
97 |
- CC="$(tc-getCC)" \ |
98 |
- AR="$(tc-getAR)" \ |
99 |
- LD="$(tc-getLD)" \ |
100 |
- RANLIB="$(tc-getRANLIB)" \ |
101 |
- libnl=$(usex netlink true false) \ |
102 |
- pcre=$(usex pcre true false) \ |
103 |
- sqlite=$(usex sqlite true false) \ |
104 |
- unstable=$(usex unstable true false) \ |
105 |
- ${liveflags} |
106 |
- |
107 |
- if use airgraph-ng; then |
108 |
- cd "${S}/scripts/airgraph-ng" |
109 |
- distutils-r1_src_compile |
110 |
- fi |
111 |
- if use airdrop-ng; then |
112 |
- cd "${S}/scripts/airdrop-ng" |
113 |
- distutils-r1_src_compile |
114 |
- fi |
115 |
-} |
116 |
- |
117 |
-src_test() { |
118 |
- if [[ ${PV} == "9999" ]] ; then |
119 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
120 |
- fi |
121 |
- |
122 |
- emake check \ |
123 |
- libnl=$(usex netlink true false) \ |
124 |
- pcre=$(usex pcre true false) \ |
125 |
- sqlite=$(usex sqlite true false) \ |
126 |
- unstable=$(usex unstable true false) \ |
127 |
- ${liveflags} |
128 |
-} |
129 |
- |
130 |
-src_install() { |
131 |
- if [[ ${PV} == "9999" ]] ; then |
132 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
133 |
- fi |
134 |
- |
135 |
- emake \ |
136 |
- prefix="${ED}/usr" \ |
137 |
- libnl=$(usex netlink true false) \ |
138 |
- pcre=$(usex pcre true false) \ |
139 |
- sqlite=$(usex sqlite true false) \ |
140 |
- unstable=$(usex unstable true false) \ |
141 |
- ${liveflags} \ |
142 |
- install |
143 |
- |
144 |
- dodoc AUTHORS ChangeLog INSTALLING README |
145 |
- |
146 |
- if use airgraph-ng; then |
147 |
- cd "${S}/scripts/airgraph-ng" |
148 |
- distutils-r1_src_install |
149 |
- fi |
150 |
- if use airdrop-ng; then |
151 |
- cd "${S}/scripts/airdrop-ng" |
152 |
- distutils-r1_src_install |
153 |
- fi |
154 |
- |
155 |
- #we don't need aircrack-ng's oui updater, we have our own |
156 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
157 |
-} |
158 |
- |
159 |
-pkg_postinst() { |
160 |
- # Message is (c) FreeBSD |
161 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
162 |
- if use kernel_FreeBSD ; then |
163 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
164 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
165 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
166 |
- echo |
167 |
- einfo "To return from monitor mode, issue the following command:" |
168 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
169 |
- einfo |
170 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
171 |
- fi |
172 |
-} |
173 |
|
174 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4-r1.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4-r1.ebuild |
175 |
deleted file mode 100644 |
176 |
index 9bfac5c..0000000 |
177 |
--- a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4-r1.ebuild |
178 |
+++ /dev/null |
179 |
@@ -1,118 +0,0 @@ |
180 |
-# Copyright 1999-2017 Gentoo Foundation |
181 |
-# Distributed under the terms of the GNU General Public License v2 |
182 |
- |
183 |
-EAPI="6" |
184 |
- |
185 |
-PYTHON_COMPAT=( python2_7 ) |
186 |
-DISTUTILS_OPTIONAL=1 |
187 |
- |
188 |
-inherit toolchain-funcs distutils-r1 flag-o-matic |
189 |
- |
190 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
191 |
-HOMEPAGE="http://www.aircrack-ng.org" |
192 |
- |
193 |
-MY_PV=${PV/_/-} |
194 |
-SRC_URI="http://download.${PN}.org/${PN}-${MY_PV}.tar.gz" |
195 |
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux" |
196 |
- |
197 |
-LICENSE="GPL-2" |
198 |
-SLOT="0" |
199 |
- |
200 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD libressl +netlink +pcre +sqlite +experimental" |
201 |
- |
202 |
-DEPEND="net-libs/libpcap |
203 |
- !libressl? ( dev-libs/openssl:0= ) |
204 |
- libressl? ( dev-libs/libressl:0= ) |
205 |
- netlink? ( dev-libs/libnl:3 ) |
206 |
- pcre? ( dev-libs/libpcre ) |
207 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
208 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
209 |
- experimental? ( sys-libs/zlib ) |
210 |
- sqlite? ( >=dev-db/sqlite-3.4 )" |
211 |
-RDEPEND="${DEPEND} |
212 |
- kernel_linux? ( |
213 |
- net-wireless/iw |
214 |
- net-wireless/wireless-tools |
215 |
- sys-apps/ethtool |
216 |
- sys-apps/usbutils |
217 |
- sys-apps/pciutils ) |
218 |
- sys-apps/hwids |
219 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
220 |
- |
221 |
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
222 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
223 |
- |
224 |
-PATCHES=( |
225 |
- "${FILESDIR}/${P}-openssl.patch" |
226 |
-) |
227 |
- |
228 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
229 |
- |
230 |
-pkg_setup() { |
231 |
- MAKE_COMMON=( |
232 |
- CC="$(tc-getCC)" \ |
233 |
- CXX="$(tc-getCXX)" \ |
234 |
- AR="$(tc-getAR)" \ |
235 |
- LD="$(tc-getLD)" \ |
236 |
- RANLIB="$(tc-getRANLIB)" \ |
237 |
- libnl=$(usex netlink true false) \ |
238 |
- pcre=$(usex pcre true false) \ |
239 |
- sqlite=$(usex sqlite true false) \ |
240 |
- experimental=$(usex experimental true false) |
241 |
- prefix="${ED}/usr" \ |
242 |
- ) |
243 |
-} |
244 |
- |
245 |
-src_compile() { |
246 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
247 |
- #https://bugs.gentoo.org/show_bug.cgi?id=472890 |
248 |
- filter-flags -frecord-gcc-switches |
249 |
- fi |
250 |
- |
251 |
- emake "${MAKE_COMMON[@]}" |
252 |
- |
253 |
- if use airgraph-ng; then |
254 |
- cd "${S}/scripts/airgraph-ng" |
255 |
- distutils-r1_src_compile |
256 |
- fi |
257 |
- if use airdrop-ng; then |
258 |
- cd "${S}/scripts/airdrop-ng" |
259 |
- distutils-r1_src_compile |
260 |
- fi |
261 |
-} |
262 |
- |
263 |
-src_test() { |
264 |
- emake "${MAKE_COMMON[@]}" check |
265 |
-} |
266 |
- |
267 |
-src_install() { |
268 |
- einstalldocs |
269 |
- emake "${MAKE_COMMON[@]}" install |
270 |
- |
271 |
- if use airgraph-ng; then |
272 |
- cd "${S}/scripts/airgraph-ng" |
273 |
- distutils-r1_src_install |
274 |
- fi |
275 |
- if use airdrop-ng; then |
276 |
- cd "${S}/scripts/airdrop-ng" |
277 |
- distutils-r1_src_install |
278 |
- fi |
279 |
- |
280 |
- #we don't need aircrack-ng's oui updater, we have our own |
281 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
282 |
-} |
283 |
- |
284 |
-pkg_postinst() { |
285 |
- # Message is (c) FreeBSD |
286 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
287 |
- if use kernel_FreeBSD ; then |
288 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
289 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
290 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
291 |
- echo |
292 |
- einfo "To return from monitor mode, issue the following command:" |
293 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
294 |
- einfo |
295 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
296 |
- fi |
297 |
-} |
298 |
|
299 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild |
300 |
deleted file mode 100644 |
301 |
index 3fceab7..0000000 |
302 |
--- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild |
303 |
+++ /dev/null |
304 |
@@ -1,123 +0,0 @@ |
305 |
-# Copyright 1999-2017 Gentoo Foundation |
306 |
-# Distributed under the terms of the GNU General Public License v2 |
307 |
- |
308 |
-EAPI="6" |
309 |
- |
310 |
-PYTHON_COMPAT=( python2_7 ) |
311 |
-DISTUTILS_OPTIONAL=1 |
312 |
- |
313 |
-inherit toolchain-funcs distutils-r1 flag-o-matic |
314 |
- |
315 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
316 |
-HOMEPAGE="http://www.aircrack-ng.org" |
317 |
- |
318 |
-if [[ ${PV} == "9999" ]] ; then |
319 |
- inherit subversion |
320 |
- ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" |
321 |
- KEYWORDS="" |
322 |
- S="${WORKDIR}/${PN}" |
323 |
-else |
324 |
- MY_PV=${PV/_/-} |
325 |
- SRC_URI="http://download.${PN}.org/${PN}-${MY_PV}.tar.gz" |
326 |
- KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
327 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
328 |
-fi |
329 |
- |
330 |
-LICENSE="GPL-2" |
331 |
-SLOT="0" |
332 |
- |
333 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD libressl +netlink +pcre +sqlite +experimental" |
334 |
- |
335 |
-DEPEND="net-libs/libpcap |
336 |
- !libressl? ( dev-libs/openssl:0= ) |
337 |
- libressl? ( dev-libs/libressl:0= ) |
338 |
- netlink? ( dev-libs/libnl:3 ) |
339 |
- pcre? ( dev-libs/libpcre ) |
340 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
341 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
342 |
- experimental? ( sys-libs/zlib ) |
343 |
- sqlite? ( >=dev-db/sqlite-3.4 )" |
344 |
-RDEPEND="${DEPEND} |
345 |
- kernel_linux? ( |
346 |
- net-wireless/iw |
347 |
- net-wireless/wireless-tools |
348 |
- sys-apps/ethtool |
349 |
- sys-apps/usbutils |
350 |
- sys-apps/pciutils ) |
351 |
- sys-apps/hwids |
352 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
353 |
- |
354 |
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
355 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
356 |
- |
357 |
-pkg_setup() { |
358 |
- MAKE_COMMON=( |
359 |
- CC="$(tc-getCC)" \ |
360 |
- CXX="$(tc-getCXX)" \ |
361 |
- AR="$(tc-getAR)" \ |
362 |
- LD="$(tc-getLD)" \ |
363 |
- RANLIB="$(tc-getRANLIB)" \ |
364 |
- libnl=$(usex netlink true false) \ |
365 |
- pcre=$(usex pcre true false) \ |
366 |
- sqlite=$(usex sqlite true false) \ |
367 |
- experimental=$(usex experimental true false) |
368 |
- prefix="${ED}/usr" \ |
369 |
- ) |
370 |
- [[ ${PV} == "9999" ]] && MAKE_COMMON+=( |
371 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
372 |
- ) |
373 |
-} |
374 |
- |
375 |
-src_compile() { |
376 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
377 |
- #https://bugs.gentoo.org/show_bug.cgi?id=472890 |
378 |
- filter-flags -frecord-gcc-switches |
379 |
- fi |
380 |
- |
381 |
- emake "${MAKE_COMMON[@]}" |
382 |
- |
383 |
- if use airgraph-ng; then |
384 |
- cd "${S}/scripts/airgraph-ng" |
385 |
- distutils-r1_src_compile |
386 |
- fi |
387 |
- if use airdrop-ng; then |
388 |
- cd "${S}/scripts/airdrop-ng" |
389 |
- distutils-r1_src_compile |
390 |
- fi |
391 |
-} |
392 |
- |
393 |
-src_test() { |
394 |
- emake "${MAKE_COMMON[@]}" check |
395 |
-} |
396 |
- |
397 |
-src_install() { |
398 |
- einstalldocs |
399 |
- emake "${MAKE_COMMON[@]}" install |
400 |
- |
401 |
- if use airgraph-ng; then |
402 |
- cd "${S}/scripts/airgraph-ng" |
403 |
- distutils-r1_src_install |
404 |
- fi |
405 |
- if use airdrop-ng; then |
406 |
- cd "${S}/scripts/airdrop-ng" |
407 |
- distutils-r1_src_install |
408 |
- fi |
409 |
- |
410 |
- #we don't need aircrack-ng's oui updater, we have our own |
411 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
412 |
-} |
413 |
- |
414 |
-pkg_postinst() { |
415 |
- # Message is (c) FreeBSD |
416 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
417 |
- if use kernel_FreeBSD ; then |
418 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
419 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
420 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
421 |
- echo |
422 |
- einfo "To return from monitor mode, issue the following command:" |
423 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
424 |
- einfo |
425 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
426 |
- fi |
427 |
-} |
428 |
|
429 |
diff --git a/net-wireless/aircrack-ng/files/aircrack-ng-1.2_rc4-openssl.patch b/net-wireless/aircrack-ng/files/aircrack-ng-1.2_rc4-openssl.patch |
430 |
deleted file mode 100644 |
431 |
index a83f622..0000000 |
432 |
--- a/net-wireless/aircrack-ng/files/aircrack-ng-1.2_rc4-openssl.patch |
433 |
+++ /dev/null |
434 |
@@ -1,49 +0,0 @@ |
435 |
-Index: a/src/crypto.c |
436 |
-=================================================================== |
437 |
---- a/src/crypto.c (revision 2881) |
438 |
-+++ b/src/crypto.c (revision 2882) |
439 |
-@@ -288,7 +288,15 @@ |
440 |
- void calc_mic (struct AP_info *ap, unsigned char pmk[32], unsigned char ptk[80], unsigned char mic[20]) { |
441 |
- int i; |
442 |
- unsigned char pke[100]; |
443 |
-+ #if defined(USE_GCRYPT) || OPENSSL_VERSION_NUMBER < 0x10100000L |
444 |
-+ #define HMAC_USE_NO_PTR |
445 |
-+ #endif |
446 |
-+ |
447 |
-+ #ifdef HMAC_USE_NO_PTR |
448 |
- HMAC_CTX ctx; |
449 |
-+ #else |
450 |
-+ HMAC_CTX * ctx; |
451 |
-+ #endif |
452 |
- |
453 |
- memcpy( pke, "Pairwise key expansion", 23 ); |
454 |
- |
455 |
-@@ -314,6 +322,7 @@ |
456 |
- memcpy( pke + 67, ap->wpa.snonce, 32 ); |
457 |
- } |
458 |
- |
459 |
-+ #ifdef HMAC_USE_NO_PTR |
460 |
- HMAC_CTX_init(&ctx); |
461 |
- HMAC_Init_ex(&ctx, pmk, 32, EVP_sha1(), NULL); |
462 |
- for(i = 0; i < 4; i++ ) |
463 |
-@@ -325,6 +334,20 @@ |
464 |
- HMAC_Final(&ctx, ptk + i*20, NULL); |
465 |
- } |
466 |
- HMAC_CTX_cleanup(&ctx); |
467 |
-+ #else |
468 |
-+ ctx = HMAC_CTX_new(); |
469 |
-+ HMAC_Init_ex(ctx, pmk, 32, EVP_sha1(), NULL); |
470 |
-+ for(i = 0; i < 4; i++ ) |
471 |
-+ { |
472 |
-+ pke[99] = i; |
473 |
-+ //HMAC(EVP_sha1(), values[0], 32, pke, 100, ptk + i * 20, NULL); |
474 |
-+ HMAC_Init_ex(ctx, 0, 0, 0, 0); |
475 |
-+ HMAC_Update(ctx, pke, 100); |
476 |
-+ HMAC_Final(ctx, ptk + i*20, NULL); |
477 |
-+ } |
478 |
-+ HMAC_CTX_free(ctx); |
479 |
-+ #endif |
480 |
-+ #undef HMAC_USE_NO_PTR |
481 |
- |
482 |
- if( ap->wpa.keyver == 1 ) |
483 |
- { |
484 |
|
485 |
diff --git a/net-wireless/aircrack-ng/metadata.xml b/net-wireless/aircrack-ng/metadata.xml |
486 |
deleted file mode 100644 |
487 |
index 7e8481f..0000000 |
488 |
--- a/net-wireless/aircrack-ng/metadata.xml |
489 |
+++ /dev/null |
490 |
@@ -1,29 +0,0 @@ |
491 |
-<?xml version="1.0" encoding="UTF-8"?> |
492 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
493 |
-<pkgmetadata> |
494 |
-<maintainer type="person"> |
495 |
- <email>zerochaos@g.o</email> |
496 |
- <name>Rick Farina</name> |
497 |
- <description>Also on the upstream team</description> |
498 |
-</maintainer> |
499 |
-<maintainer type="project"> |
500 |
- <email>netmon@g.o</email> |
501 |
- <name>Gentoo network monitoring and analysis project</name> |
502 |
-</maintainer> |
503 |
-<maintainer type="project"> |
504 |
- <email>crypto@g.o</email> |
505 |
- <name>Crypto</name> |
506 |
-</maintainer> |
507 |
-<longdescription> |
508 |
- aircrack is a set of tools for auditing wireless networks. |
509 |
- aircrack-ng is the next generation of aircrack with lots of new features. |
510 |
- (from http://www.aircrack-ng.org) |
511 |
-</longdescription> |
512 |
-<use> |
513 |
- <flag name="airdrop-ng">Build airdrop-ng</flag> |
514 |
- <flag name="airgraph-ng">Build airgraph-ng</flag> |
515 |
- <flag name="experimental">Build the "experimental" tools which may randomly fail to run properly</flag> |
516 |
- <flag name="netlink">Use netlink for channel control instead of WEXT</flag> |
517 |
- <flag name="unstable">Build the "unstable" tools which may randomly fail to run properly</flag> |
518 |
-</use> |
519 |
-</pkgmetadata> |