1 |
commit: 74380456a0bdb8018fdd0e5b914c16a02950ac4e |
2 |
Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 25 20:46:30 2019 +0000 |
4 |
Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 25 21:13:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74380456 |
7 |
|
8 |
net-wireless/reaver: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
11 |
Signed-off-by: Maxim Koltsov <maksbotan <AT> gentoo.org> |
12 |
|
13 |
net-wireless/reaver/Manifest | 1 - |
14 |
net-wireless/reaver/files/reaver-1.4_cflags.patch | 47 -------------------- |
15 |
net-wireless/reaver/files/reaver-1.4_memset.patch | 11 ----- |
16 |
.../reaver/files/reaver-1.4_parallel-make.patch | 50 ---------------------- |
17 |
net-wireless/reaver/files/reaver-1.4_var_db.patch | 11 ----- |
18 |
.../reaver/files/reaver-1.4_wps_registrar.patch | 11 ----- |
19 |
net-wireless/reaver/reaver-1.4-r3.ebuild | 49 --------------------- |
20 |
7 files changed, 180 deletions(-) |
21 |
|
22 |
diff --git a/net-wireless/reaver/Manifest b/net-wireless/reaver/Manifest |
23 |
index 1404ddcf15b..f6277009986 100644 |
24 |
--- a/net-wireless/reaver/Manifest |
25 |
+++ b/net-wireless/reaver/Manifest |
26 |
@@ -1,2 +1 @@ |
27 |
-DIST reaver-1.4.tar.gz 766603 BLAKE2B 4a488364718a17ec29c1d8da4bc7032b65e4597b89c2949e7108d625276e60d0b424f3b87a3d6baa30d5909ac206d6f7793f5e4514c307cc54784386ce5ce422 SHA512 59f2d6f8aa6228988ce5d1c102d9a48b2a23e582ff3d9afe39d7c9717b7e4be059362fdd21a3e5f5d59948df1a7616acdaa6df20f139e9c5aa9bd673f764dfbc |
28 |
DIST reaver-1.6.5.tar.gz 479441 BLAKE2B 21a1c54da559be4346b0c874947e982ea49ec6f20e612e3699d25524d49681a197a2a8cad0a31dd8dba919d065de48082572a471aa4f736397066edf7f7d8a43 SHA512 3e70d9fffefee3f6d60e72d7d7b1da91032e184c7d27f94b9f26e2260b7274d491f2e41f8056b386a211b9838d21afc6b65a8a826d310b51fc1065fa9e135dc0 |
29 |
|
30 |
diff --git a/net-wireless/reaver/files/reaver-1.4_cflags.patch b/net-wireless/reaver/files/reaver-1.4_cflags.patch |
31 |
deleted file mode 100644 |
32 |
index e4e1da718d6..00000000000 |
33 |
--- a/net-wireless/reaver/files/reaver-1.4_cflags.patch |
34 |
+++ /dev/null |
35 |
@@ -1,47 +0,0 @@ |
36 |
---- a/src/wps/Makefile |
37 |
-+++ b/src/wps/Makefile |
38 |
-@@ -1,34 +1,34 @@ |
39 |
--CC=gcc |
40 |
-+CC?=gcc |
41 |
- INC=-I../utils -I ../ |
42 |
- |
43 |
- all: wps_attr_build.o wps_attr_parse.o wps_attr_process.o wps.o wps_common.o wps_dev_attr.o wps_enrollee.o wps_registrar.o wps_ufd.o |
44 |
- |
45 |
- wps_attr_build.o: |
46 |
-- $(CC) $(INC) wps_attr_build.c -c |
47 |
-+ $(CC) $(CFLAGS) $(INC) wps_attr_build.c -c |
48 |
- |
49 |
- wps_attr_parse.o: |
50 |
-- $(CC) $(INC) wps_attr_parse.c -c |
51 |
-+ $(CC) $(CFLAGS) $(INC) wps_attr_parse.c -c |
52 |
- |
53 |
- wps_attr_process.o: |
54 |
-- $(CC) $(INC) wps_attr_process.c -c |
55 |
-+ $(CC) $(CFLAGS) $(INC) wps_attr_process.c -c |
56 |
- |
57 |
- wps.o: |
58 |
-- $(CC) $(INC) wps.c -c |
59 |
-+ $(CC) $(CFLAGS) $(INC) wps.c -c |
60 |
- |
61 |
- wps_common.o: |
62 |
-- $(CC) $(INC) wps_common.c -c |
63 |
-+ $(CC) $(CFLAGS) $(INC) wps_common.c -c |
64 |
- |
65 |
- wps_dev_attr.o: |
66 |
-- $(CC) $(INC) wps_dev_attr.c -c |
67 |
-+ $(CC) $(CFLAGS) $(INC) wps_dev_attr.c -c |
68 |
- |
69 |
- wps_enrollee.o: |
70 |
-- $(CC) $(INC) wps_enrollee.c -c |
71 |
-+ $(CC) $(CFLAGS) $(INC) wps_enrollee.c -c |
72 |
- |
73 |
- wps_registrar.o: |
74 |
-- $(CC) $(INC) wps_registrar.c -c |
75 |
-+ $(CC) $(CFLAGS) $(INC) wps_registrar.c -c |
76 |
- |
77 |
- wps_ufd.o: |
78 |
-- $(CC) $(INC) wps_ufd.c -c |
79 |
-+ $(CC) $(CFLAGS) $(INC) wps_ufd.c -c |
80 |
- |
81 |
- clean: |
82 |
- rm -f *.o |
83 |
|
84 |
diff --git a/net-wireless/reaver/files/reaver-1.4_memset.patch b/net-wireless/reaver/files/reaver-1.4_memset.patch |
85 |
deleted file mode 100644 |
86 |
index 782910a3f0f..00000000000 |
87 |
--- a/net-wireless/reaver/files/reaver-1.4_memset.patch |
88 |
+++ /dev/null |
89 |
@@ -1,11 +0,0 @@ |
90 |
---- a/src/crypto/md5-internal.c |
91 |
-+++ b/src/crypto/md5-internal.c |
92 |
-@@ -188,7 +188,7 @@ |
93 |
- MD5Transform(ctx->buf, (u32 *) ctx->in); |
94 |
- byteReverse((unsigned char *) ctx->buf, 4); |
95 |
- os_memcpy(digest, ctx->buf, 16); |
96 |
-- os_memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ |
97 |
-+ os_memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */ |
98 |
- } |
99 |
- |
100 |
- /* The four core functions - F1 is optimized somewhat */ |
101 |
|
102 |
diff --git a/net-wireless/reaver/files/reaver-1.4_parallel-make.patch b/net-wireless/reaver/files/reaver-1.4_parallel-make.patch |
103 |
deleted file mode 100644 |
104 |
index f880cd7562b..00000000000 |
105 |
--- a/net-wireless/reaver/files/reaver-1.4_parallel-make.patch |
106 |
+++ /dev/null |
107 |
@@ -1,50 +0,0 @@ |
108 |
---- a/src/Makefile.in |
109 |
-+++ b/src/Makefile.in |
110 |
-@@ -16,22 +16,22 @@ |
111 |
- $(CC) $(CFLAGS) $(INC) wpscrack.c *.o $(LDFLAGS) -o reaver |
112 |
- |
113 |
- libwps.o: |
114 |
-- (cd $(LIBWPS_DIR) && make) |
115 |
-+ (cd $(LIBWPS_DIR) && $(MAKE)) |
116 |
- |
117 |
- wps: libutils libcrypto |
118 |
-- (cd wps && make) |
119 |
-+ (cd wps && $(MAKE)) |
120 |
- |
121 |
- libutils: |
122 |
-- (cd utils && make) |
123 |
-+ (cd utils && $(MAKE)) |
124 |
- |
125 |
- libcrypto: libtls |
126 |
-- (cd crypto && make) |
127 |
-+ (cd crypto && $(MAKE)) |
128 |
- |
129 |
- libtls: |
130 |
-- (cd tls && make) |
131 |
-+ (cd tls && $(MAKE)) |
132 |
- |
133 |
- libiw: |
134 |
-- (cd lwe && make BUILD_STATIC=y libiw.a) |
135 |
-+ (cd lwe && $(MAKE) BUILD_STATIC=y libiw.a) |
136 |
- |
137 |
- init.o: |
138 |
- $(CC) $(CFLAGS) init.c -c |
139 |
-@@ -93,12 +93,12 @@ |
140 |
- clean: |
141 |
- rm -f *~ *.o reaver wash |
142 |
- rm -rf *.cache config.status config.log |
143 |
-- (cd utils && make clean) |
144 |
-- (cd tls && make clean) |
145 |
-- (cd crypto && make clean) |
146 |
-- (cd wps && make clean) |
147 |
-- (cd lwe && make realclean) |
148 |
-- (cd $(LIBWPS_DIR) && make clean) |
149 |
-+ (cd utils && $(MAKE) clean) |
150 |
-+ (cd tls && $(MAKE) clean) |
151 |
-+ (cd crypto && $(MAKE) clean) |
152 |
-+ (cd wps && $(MAKE) clean) |
153 |
-+ (cd lwe && $(MAKE) realclean) |
154 |
-+ (cd $(LIBWPS_DIR) && $(MAKE) clean) |
155 |
- rm -f Makefile config.h |
156 |
- |
157 |
- cleanbin: |
158 |
|
159 |
diff --git a/net-wireless/reaver/files/reaver-1.4_var_db.patch b/net-wireless/reaver/files/reaver-1.4_var_db.patch |
160 |
deleted file mode 100644 |
161 |
index de4317b59ff..00000000000 |
162 |
--- a/net-wireless/reaver/files/reaver-1.4_var_db.patch |
163 |
+++ /dev/null |
164 |
@@ -1,11 +0,0 @@ |
165 |
---- a/src/Makefile.in |
166 |
-+++ b/src/Makefile.in |
167 |
-@@ -3,7 +3,7 @@ LIBWPS_DIR=libwps |
168 |
- INC=-I$(LIBWPS_DIR) |
169 |
- prefix=@prefix@ |
170 |
- exec_prefix=@exec_prefix@ |
171 |
--CONFDIR=@sysconfdir@/@target@ |
172 |
-+CONFDIR=/var/db/reaver |
173 |
- CFLAGS=-DCONF_DIR='"$(CONFDIR)"' -DREAVER_DATABASE='"$(CONFDIR)/reaver.db"' @CFLAGS@ |
174 |
- LDFLAGS=$(LIBWPS_DIR)/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a @LDFLAGS@ |
175 |
- |
176 |
|
177 |
diff --git a/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch b/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch |
178 |
deleted file mode 100644 |
179 |
index cc9fe6b774e..00000000000 |
180 |
--- a/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch |
181 |
+++ /dev/null |
182 |
@@ -1,11 +0,0 @@ |
183 |
---- a/wps/wps_registrar.c |
184 |
-+++ b/wps/wps_registrar.c |
185 |
-@@ -1469,7 +1469,7 @@ |
186 |
- |
187 |
- wpa_printf(MSG_DEBUG, "WPS: Building Message M4"); |
188 |
- |
189 |
-- wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %d", wps->dev_password_len); |
190 |
-+ wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %zd", wps->dev_password_len); |
191 |
- wpa_printf(MSG_DEBUG, "WPS: Dev Password: %s", wps->dev_password); |
192 |
- |
193 |
- wps_derive_psk(wps, wps->dev_password, wps->dev_password_len); |
194 |
|
195 |
diff --git a/net-wireless/reaver/reaver-1.4-r3.ebuild b/net-wireless/reaver/reaver-1.4-r3.ebuild |
196 |
deleted file mode 100644 |
197 |
index 2769fa2548f..00000000000 |
198 |
--- a/net-wireless/reaver/reaver-1.4-r3.ebuild |
199 |
+++ /dev/null |
200 |
@@ -1,49 +0,0 @@ |
201 |
-# Copyright 1999-2014 Gentoo Foundation |
202 |
-# Distributed under the terms of the GNU General Public License v2 |
203 |
- |
204 |
-EAPI=5 |
205 |
- |
206 |
-AUTOTOOLS_IN_SOURCE_BUILD="1" |
207 |
- |
208 |
-inherit autotools-utils |
209 |
- |
210 |
-DESCRIPTION="Brute force attack against Wifi Protected Setup" |
211 |
-HOMEPAGE="https://code.google.com/p/reaver-wps/" |
212 |
-SRC_URI="https://reaver-wps.googlecode.com/files/${P}.tar.gz" |
213 |
- |
214 |
-LICENSE="GPL-2" |
215 |
-SLOT="0" |
216 |
-KEYWORDS="~amd64 ~x86" |
217 |
- |
218 |
-DEPEND=" |
219 |
- net-libs/libpcap |
220 |
- dev-db/sqlite:3 |
221 |
-" |
222 |
-RDEPEND="${DEPEND}" |
223 |
- |
224 |
-S="${WORKDIR}/${P}/src" |
225 |
- |
226 |
-PATCHES=( |
227 |
- "${FILESDIR}"/${P}_cflags.patch |
228 |
- "${FILESDIR}"/${P}_memset.patch |
229 |
- "${FILESDIR}"/${P}_parallel-make.patch |
230 |
- "${FILESDIR}"/${P}_var_db.patch |
231 |
- "${FILESDIR}"/${P}_wps_registrar.patch |
232 |
-) |
233 |
- |
234 |
-src_compile() { |
235 |
- emake V=1 |
236 |
- |
237 |
- # doman accept only uncompressed files #619966 |
238 |
- gzip -d ../docs/reaver.1.gz || die |
239 |
-} |
240 |
- |
241 |
-src_install() { |
242 |
- dobin wash reaver |
243 |
- |
244 |
- insinto "/var/db/reaver" |
245 |
- doins reaver.db |
246 |
- |
247 |
- doman ../docs/reaver.1 |
248 |
- dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH |
249 |
-} |