1 |
commit: db2a0a269158f31b1b9661f9bbb2109ac68a8448 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 24 21:44:59 2021 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 25 00:02:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db2a0a26 |
7 |
|
8 |
net-wireless/aircrack-ng: drop 1.6_p20200722 |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
.../aircrack-ng/aircrack-ng-1.6_p20200722.ebuild | 118 --------------------- |
13 |
1 file changed, 118 deletions(-) |
14 |
|
15 |
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722.ebuild |
16 |
deleted file mode 100644 |
17 |
index e3c69ec22df6..000000000000 |
18 |
--- a/net-wireless/aircrack-ng/aircrack-ng-1.6_p20200722.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,118 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=7 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
27 |
-DISTUTILS_OPTIONAL=1 |
28 |
- |
29 |
-inherit toolchain-funcs distutils-r1 flag-o-matic autotools |
30 |
- |
31 |
-DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" |
32 |
-HOMEPAGE="http://www.aircrack-ng.org" |
33 |
- |
34 |
-if [[ ${PV} == "9999" ]] ; then |
35 |
- inherit git-r3 |
36 |
- EGIT_REPO_URI="https://github.com/aircrack-ng/aircrack-ng.git" |
37 |
-else |
38 |
- #SRC_URI="https://download.aircrack-ng.org/${P}.tar.gz" |
39 |
- COMMIT="5a02ac4818b30d2e87b3e18e497a5f9e5319394f" |
40 |
- SRC_URI="https://github.com/aircrack-ng/aircrack-ng/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
- S="${WORKDIR}/${PN}-${COMMIT}" |
42 |
- KEYWORDS="amd64 arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux" |
43 |
-fi |
44 |
- |
45 |
-LICENSE="GPL-2" |
46 |
-SLOT="0" |
47 |
- |
48 |
-IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD +netlink +pcre +sqlite +experimental" |
49 |
- |
50 |
-DEPEND="net-libs/libpcap |
51 |
- sys-apps/hwloc:0= |
52 |
- dev-libs/openssl:0= |
53 |
- netlink? ( dev-libs/libnl:3 ) |
54 |
- pcre? ( dev-libs/libpcre ) |
55 |
- airdrop-ng? ( ${PYTHON_DEPS} ) |
56 |
- airgraph-ng? ( ${PYTHON_DEPS} ) |
57 |
- experimental? ( sys-libs/zlib ) |
58 |
- sqlite? ( >=dev-db/sqlite-3.4 )" |
59 |
-RDEPEND="${DEPEND} |
60 |
- kernel_linux? ( |
61 |
- net-wireless/iw |
62 |
- net-wireless/wireless-tools |
63 |
- sys-apps/ethtool |
64 |
- sys-apps/usbutils |
65 |
- sys-apps/pciutils ) |
66 |
- sys-apps/hwids |
67 |
- airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )" |
68 |
- |
69 |
-REQUIRED_USE=" |
70 |
- airdrop-ng? ( ${PYTHON_REQUIRED_USE} ) |
71 |
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )" |
72 |
- |
73 |
-src_prepare() { |
74 |
- default |
75 |
- eautoreconf |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- econf \ |
80 |
- STATIC_LIBDIR_NAME="$(get_libdir)" \ |
81 |
- --disable-asan \ |
82 |
- --enable-shared \ |
83 |
- --disable-static \ |
84 |
- --without-opt \ |
85 |
- $(use_enable netlink libnl) \ |
86 |
- $(use_with experimental) \ |
87 |
- $(use_with sqlite sqlite3) |
88 |
-} |
89 |
- |
90 |
-src_compile() { |
91 |
- if [[ $($(tc-getCC) --version) == clang* ]] ; then |
92 |
- #https://bugs.gentoo.org/show_bug.cgi?id=472890 |
93 |
- filter-flags -frecord-gcc-switches |
94 |
- fi |
95 |
- |
96 |
- default |
97 |
- |
98 |
- if use airgraph-ng; then |
99 |
- cd "${S}/scripts/airgraph-ng" |
100 |
- distutils-r1_src_compile |
101 |
- fi |
102 |
- if use airdrop-ng; then |
103 |
- cd "${S}/scripts/airdrop-ng" |
104 |
- distutils-r1_src_compile |
105 |
- fi |
106 |
-} |
107 |
- |
108 |
-src_install() { |
109 |
- default |
110 |
- |
111 |
- if use airgraph-ng; then |
112 |
- cd "${S}/scripts/airgraph-ng" |
113 |
- distutils-r1_src_install |
114 |
- fi |
115 |
- if use airdrop-ng; then |
116 |
- cd "${S}/scripts/airdrop-ng" |
117 |
- distutils-r1_src_install |
118 |
- fi |
119 |
- |
120 |
- # we don't need aircrack-ng's oui updater, we have our own |
121 |
- rm "${ED}"/usr/sbin/airodump-ng-oui-update |
122 |
- find "${D}" -xtype f -name '*.la' -delete || die |
123 |
-} |
124 |
- |
125 |
-pkg_postinst() { |
126 |
- # Message is (c) FreeBSD |
127 |
- # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 |
128 |
- if use kernel_FreeBSD ; then |
129 |
- einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" |
130 |
- einfo "mode of your wireless card. So do not care about what the manpages say about" |
131 |
- einfo "airmon-ng, airodump-ng sets monitor mode automatically." |
132 |
- echo |
133 |
- einfo "To return from monitor mode, issue the following command:" |
134 |
- einfo " ifconfig \${INTERFACE} -mediaopt monitor" |
135 |
- einfo |
136 |
- einfo "For aireplay-ng you need FreeBSD >= 7.0." |
137 |
- fi |
138 |
-} |