1 |
commit: 3233c7c2d77f84fd11abe97cca8abfa7a48524c6 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 12:53:22 2017 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 12:56:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3233c7c2 |
7 |
|
8 |
net-wireless/aircrack-ng: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-wireless/aircrack-ng/Manifest | 1 - |
13 |
.../aircrack-ng/aircrack-ng-1.2_rc3.ebuild | 143 -------------------- |
14 |
.../aircrack-ng/aircrack-ng-1.2_rc4.ebuild | 145 --------------------- |
15 |
3 files changed, 289 deletions(-) |
16 |
|
17 |
diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest |
18 |
index 1850e66f513..694a11cb21e 100644 |
19 |
--- a/net-wireless/aircrack-ng/Manifest |
20 |
+++ b/net-wireless/aircrack-ng/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST aircrack-ng-1.2-rc1.tar.gz 2046476 SHA256 cf3134521e1c3d7aed4e384e3e5e7b6959e2d485bd1554474608a3a9328e35fd SHA512 897427c535846c0ede58b2f99ed469bc01f50f9b38fc70d5711261fca7342339192cc0c71a724fc04c99114db7534d825a44f09e7bc5754286ec44933a33e40d WHIRLPOOL 2f8df161c61b8dfa6f4bd5f4af677273f255f01ae84853a80fcde4c07f03e51dcad9dcf007afa5a1120521c641d35c23d07b1edfc51c90d7b8b216b179d27ea9 |
23 |
-DIST aircrack-ng-1.2-rc3.tar.gz 4303552 SHA256 8e595ccab9fe90fc7c770634ad13e30da2d7fef21497b34d56d7014b991a4585 SHA512 31ebe38bf418431b2ed770a7c8286e4321d2d4b253b2b1e94450de012823d9530dfaa302ae0797dd1a31b93ff4b40e9577bdf9fe3b818650758b5eebc80d67dc WHIRLPOOL a14e21828fa279eecd80ae6ed7341bbda37e44d022f0eca45cd208690dff7fdbbe43b7188d56ccb9be39393d4b412ce0b9534bd662d7fa72f50c03024dd8bccb |
24 |
DIST aircrack-ng-1.2-rc4.tar.gz 4379880 SHA256 d93ac16aade5b4d37ab8cdf6ce4b855835096ccf83deb65ffdeff6d666eaff36 SHA512 f1e1d465813a5f00fd8f8b287353033ea30b657a4c3a9fe81281ab2546d3238690f0659076bff53703fbc796ba40efb16115804d21f8516adca2c774fefea20c WHIRLPOOL f06d87911492e83c48ea062c8451c2380a8d721795aa875133076e8b81d6a88d68aba354a4150890db3bf1b41d56f9715b595c2eb71f2b7232061be4a9ffd815 |
25 |
|
26 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc3.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_rc3.ebuild |
27 |
deleted file mode 100644 |
28 |
index 25fe25f3dfe..00000000000 |
29 |
--- a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc3.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,143 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI="5" |
36 |
- |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
-DISTUTILS_OPTIONAL=1 |
39 |
- |
40 |
-inherit toolchain-funcs distutils-r1 flag-o-matic |
41 |
- |
42 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
43 |
-HOMEPAGE="http://www.aircrack-ng.org" |
44 |
- |
45 |
-if [[ ${PV} == "9999" ]] ; then |
46 |
- inherit subversion |
47 |
- ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" |
48 |
- KEYWORDS="" |
49 |
- S="${WORKDIR}/${PN}" |
50 |
-else |
51 |
- #inherit versionator |
52 |
- #MY_P=${P/\_/-} |
53 |
- #MY_PV="$(replace_version_separator 2 '-')" |
54 |
- #SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz" |
55 |
- #KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
56 |
- #S="${WORKDIR}/${MY_P}" |
57 |
- MY_PV=${PV/_/-} |
58 |
- SRC_URI="http://download.${PN}.org/${PN}-${MY_PV}.tar.gz" |
59 |
- KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
60 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
61 |
-fi |
62 |
- |
63 |
-LICENSE="GPL-2" |
64 |
-SLOT="0" |
65 |
- |
66 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +experimental" |
67 |
- |
68 |
-DEPEND="net-libs/libpcap |
69 |
- dev-libs/openssl:0= |
70 |
- netlink? ( dev-libs/libnl:3 ) |
71 |
- pcre? ( dev-libs/libpcre ) |
72 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
73 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
74 |
- experimental? ( sys-libs/zlib ) |
75 |
- sqlite? ( >=dev-db/sqlite-3.4 )" |
76 |
-RDEPEND="${DEPEND} |
77 |
- kernel_linux? ( |
78 |
- net-wireless/iw |
79 |
- net-wireless/wireless-tools |
80 |
- sys-apps/ethtool |
81 |
- sys-apps/usbutils |
82 |
- sys-apps/pciutils ) |
83 |
- sys-apps/hwids |
84 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
85 |
- |
86 |
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
87 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
88 |
- |
89 |
-src_compile() { |
90 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
91 |
- die "Please use gcc, upstream bug http://trac.aircrack-ng.org/ticket/1144" |
92 |
- fi |
93 |
- |
94 |
- if [[ ${PV} == "9999" ]] ; then |
95 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
96 |
- fi |
97 |
- |
98 |
- emake \ |
99 |
- CC="$(tc-getCC)" \ |
100 |
- AR="$(tc-getAR)" \ |
101 |
- LD="$(tc-getLD)" \ |
102 |
- RANLIB="$(tc-getRANLIB)" \ |
103 |
- libnl=$(usex netlink true false) \ |
104 |
- pcre=$(usex pcre true false) \ |
105 |
- sqlite=$(usex sqlite true false) \ |
106 |
- experimental=$(usex experimental true false) \ |
107 |
- ${liveflags} |
108 |
- |
109 |
- if use airgraph-ng; then |
110 |
- cd "${S}/scripts/airgraph-ng" |
111 |
- distutils-r1_src_compile |
112 |
- fi |
113 |
- if use airdrop-ng; then |
114 |
- cd "${S}/scripts/airdrop-ng" |
115 |
- distutils-r1_src_compile |
116 |
- fi |
117 |
-} |
118 |
- |
119 |
-src_test() { |
120 |
- if [[ ${PV} == "9999" ]] ; then |
121 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
122 |
- fi |
123 |
- |
124 |
- emake check \ |
125 |
- libnl=$(usex netlink true false) \ |
126 |
- pcre=$(usex pcre true false) \ |
127 |
- sqlite=$(usex sqlite true false) \ |
128 |
- experimental=$(usex experimental true false) \ |
129 |
- ${liveflags} |
130 |
-} |
131 |
- |
132 |
-src_install() { |
133 |
- if [[ ${PV} == "9999" ]] ; then |
134 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
135 |
- fi |
136 |
- |
137 |
- emake \ |
138 |
- prefix="${ED}/usr" \ |
139 |
- libnl=$(usex netlink true false) \ |
140 |
- pcre=$(usex pcre true false) \ |
141 |
- sqlite=$(usex sqlite true false) \ |
142 |
- experimental=$(usex experimental true false) \ |
143 |
- ${liveflags} \ |
144 |
- install |
145 |
- |
146 |
- dodoc AUTHORS ChangeLog INSTALLING README |
147 |
- |
148 |
- if use airgraph-ng; then |
149 |
- cd "${S}/scripts/airgraph-ng" |
150 |
- distutils-r1_src_install |
151 |
- fi |
152 |
- if use airdrop-ng; then |
153 |
- cd "${S}/scripts/airdrop-ng" |
154 |
- distutils-r1_src_install |
155 |
- fi |
156 |
- |
157 |
- #we don't need aircrack-ng's oui updater, we have our own |
158 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
159 |
-} |
160 |
- |
161 |
-pkg_postinst() { |
162 |
- # Message is (c) FreeBSD |
163 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
164 |
- if use kernel_FreeBSD ; then |
165 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
166 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
167 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
168 |
- echo |
169 |
- einfo "To return from monitor mode, issue the following command:" |
170 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
171 |
- einfo |
172 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
173 |
- fi |
174 |
-} |
175 |
|
176 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4.ebuild |
177 |
deleted file mode 100644 |
178 |
index ccbffe36612..00000000000 |
179 |
--- a/net-wireless/aircrack-ng/aircrack-ng-1.2_rc4.ebuild |
180 |
+++ /dev/null |
181 |
@@ -1,145 +0,0 @@ |
182 |
-# Copyright 1999-2016 Gentoo Foundation |
183 |
-# Distributed under the terms of the GNU General Public License v2 |
184 |
- |
185 |
-EAPI="5" |
186 |
- |
187 |
-PYTHON_COMPAT=( python2_7 ) |
188 |
-DISTUTILS_OPTIONAL=1 |
189 |
- |
190 |
-inherit toolchain-funcs distutils-r1 flag-o-matic |
191 |
- |
192 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
193 |
-HOMEPAGE="http://www.aircrack-ng.org" |
194 |
- |
195 |
-if [[ ${PV} == "9999" ]] ; then |
196 |
- inherit subversion |
197 |
- ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" |
198 |
- KEYWORDS="" |
199 |
- S="${WORKDIR}/${PN}" |
200 |
-else |
201 |
- #inherit versionator |
202 |
- #MY_P=${P/\_/-} |
203 |
- #MY_PV="$(replace_version_separator 2 '-')" |
204 |
- #SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz" |
205 |
- #KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
206 |
- #S="${WORKDIR}/${MY_P}" |
207 |
- MY_PV=${PV/_/-} |
208 |
- SRC_URI="http://download.${PN}.org/${PN}-${MY_PV}.tar.gz" |
209 |
- KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
210 |
- S="${WORKDIR}/${PN}-${MY_PV}" |
211 |
-fi |
212 |
- |
213 |
-LICENSE="GPL-2" |
214 |
-SLOT="0" |
215 |
- |
216 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +experimental" |
217 |
- |
218 |
-DEPEND="net-libs/libpcap |
219 |
- dev-libs/openssl:0= |
220 |
- netlink? ( dev-libs/libnl:3 ) |
221 |
- pcre? ( dev-libs/libpcre ) |
222 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
223 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
224 |
- experimental? ( sys-libs/zlib ) |
225 |
- sqlite? ( >=dev-db/sqlite-3.4 )" |
226 |
-RDEPEND="${DEPEND} |
227 |
- kernel_linux? ( |
228 |
- net-wireless/iw |
229 |
- net-wireless/wireless-tools |
230 |
- sys-apps/ethtool |
231 |
- sys-apps/usbutils |
232 |
- sys-apps/pciutils ) |
233 |
- sys-apps/hwids |
234 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
235 |
- |
236 |
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
237 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
238 |
- |
239 |
-src_compile() { |
240 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
241 |
- #https://bugs.gentoo.org/show_bug.cgi?id=472890 |
242 |
- filter-flags -frecord-gcc-switches |
243 |
- fi |
244 |
- |
245 |
- if [[ ${PV} == "9999" ]] ; then |
246 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
247 |
- fi |
248 |
- |
249 |
- emake \ |
250 |
- CC="$(tc-getCC)" \ |
251 |
- CXX="$(tc-getCXX)" \ |
252 |
- AR="$(tc-getAR)" \ |
253 |
- LD="$(tc-getLD)" \ |
254 |
- RANLIB="$(tc-getRANLIB)" \ |
255 |
- libnl=$(usex netlink true false) \ |
256 |
- pcre=$(usex pcre true false) \ |
257 |
- sqlite=$(usex sqlite true false) \ |
258 |
- experimental=$(usex experimental true false) \ |
259 |
- ${liveflags} |
260 |
- |
261 |
- if use airgraph-ng; then |
262 |
- cd "${S}/scripts/airgraph-ng" |
263 |
- distutils-r1_src_compile |
264 |
- fi |
265 |
- if use airdrop-ng; then |
266 |
- cd "${S}/scripts/airdrop-ng" |
267 |
- distutils-r1_src_compile |
268 |
- fi |
269 |
-} |
270 |
- |
271 |
-src_test() { |
272 |
- if [[ ${PV} == "9999" ]] ; then |
273 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
274 |
- fi |
275 |
- |
276 |
- emake check \ |
277 |
- libnl=$(usex netlink true false) \ |
278 |
- pcre=$(usex pcre true false) \ |
279 |
- sqlite=$(usex sqlite true false) \ |
280 |
- experimental=$(usex experimental true false) \ |
281 |
- ${liveflags} |
282 |
-} |
283 |
- |
284 |
-src_install() { |
285 |
- if [[ ${PV} == "9999" ]] ; then |
286 |
- liveflags=REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" |
287 |
- fi |
288 |
- |
289 |
- emake \ |
290 |
- prefix="${ED}/usr" \ |
291 |
- libnl=$(usex netlink true false) \ |
292 |
- pcre=$(usex pcre true false) \ |
293 |
- sqlite=$(usex sqlite true false) \ |
294 |
- experimental=$(usex experimental true false) \ |
295 |
- ${liveflags} \ |
296 |
- install |
297 |
- |
298 |
- dodoc AUTHORS ChangeLog INSTALLING README |
299 |
- |
300 |
- if use airgraph-ng; then |
301 |
- cd "${S}/scripts/airgraph-ng" |
302 |
- distutils-r1_src_install |
303 |
- fi |
304 |
- if use airdrop-ng; then |
305 |
- cd "${S}/scripts/airdrop-ng" |
306 |
- distutils-r1_src_install |
307 |
- fi |
308 |
- |
309 |
- #we don't need aircrack-ng's oui updater, we have our own |
310 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
311 |
-} |
312 |
- |
313 |
-pkg_postinst() { |
314 |
- # Message is (c) FreeBSD |
315 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
316 |
- if use kernel_FreeBSD ; then |
317 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
318 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
319 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
320 |
- echo |
321 |
- einfo "To return from monitor mode, issue the following command:" |
322 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
323 |
- einfo |
324 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
325 |
- fi |
326 |
-} |