summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2019-10-25 23:46:30 +0300
committerMaxim Koltsov <maksbotan@gentoo.org>2019-10-26 00:13:46 +0300
commit74380456a0bdb8018fdd0e5b914c16a02950ac4e (patch)
tree2e6b68f3fcd5cc55efdc6e0ad077bcf0f2116a0b /net-wireless/reaver
parentnet-wireless/reaver: bump to 1.6.5 (diff)
downloadgentoo-74380456a0bdb8018fdd0e5b914c16a02950ac4e.tar.gz
gentoo-74380456a0bdb8018fdd0e5b914c16a02950ac4e.tar.bz2
gentoo-74380456a0bdb8018fdd0e5b914c16a02950ac4e.zip
net-wireless/reaver: drop old
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Maxim Koltsov <maksbotan@gentoo.org>
Diffstat (limited to 'net-wireless/reaver')
-rw-r--r--net-wireless/reaver/Manifest1
-rw-r--r--net-wireless/reaver/files/reaver-1.4_cflags.patch47
-rw-r--r--net-wireless/reaver/files/reaver-1.4_memset.patch11
-rw-r--r--net-wireless/reaver/files/reaver-1.4_parallel-make.patch50
-rw-r--r--net-wireless/reaver/files/reaver-1.4_var_db.patch11
-rw-r--r--net-wireless/reaver/files/reaver-1.4_wps_registrar.patch11
-rw-r--r--net-wireless/reaver/reaver-1.4-r3.ebuild49
7 files changed, 0 insertions, 180 deletions
diff --git a/net-wireless/reaver/Manifest b/net-wireless/reaver/Manifest
index 1404ddcf15b4..f62770099869 100644
--- a/net-wireless/reaver/Manifest
+++ b/net-wireless/reaver/Manifest
@@ -1,2 +1 @@
-DIST reaver-1.4.tar.gz 766603 BLAKE2B 4a488364718a17ec29c1d8da4bc7032b65e4597b89c2949e7108d625276e60d0b424f3b87a3d6baa30d5909ac206d6f7793f5e4514c307cc54784386ce5ce422 SHA512 59f2d6f8aa6228988ce5d1c102d9a48b2a23e582ff3d9afe39d7c9717b7e4be059362fdd21a3e5f5d59948df1a7616acdaa6df20f139e9c5aa9bd673f764dfbc
DIST reaver-1.6.5.tar.gz 479441 BLAKE2B 21a1c54da559be4346b0c874947e982ea49ec6f20e612e3699d25524d49681a197a2a8cad0a31dd8dba919d065de48082572a471aa4f736397066edf7f7d8a43 SHA512 3e70d9fffefee3f6d60e72d7d7b1da91032e184c7d27f94b9f26e2260b7274d491f2e41f8056b386a211b9838d21afc6b65a8a826d310b51fc1065fa9e135dc0
diff --git a/net-wireless/reaver/files/reaver-1.4_cflags.patch b/net-wireless/reaver/files/reaver-1.4_cflags.patch
deleted file mode 100644
index e4e1da718d64..000000000000
--- a/net-wireless/reaver/files/reaver-1.4_cflags.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/src/wps/Makefile
-+++ b/src/wps/Makefile
-@@ -1,34 +1,34 @@
--CC=gcc
-+CC?=gcc
- INC=-I../utils -I ../
-
- 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
-
- wps_attr_build.o:
-- $(CC) $(INC) wps_attr_build.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_attr_build.c -c
-
- wps_attr_parse.o:
-- $(CC) $(INC) wps_attr_parse.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_attr_parse.c -c
-
- wps_attr_process.o:
-- $(CC) $(INC) wps_attr_process.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_attr_process.c -c
-
- wps.o:
-- $(CC) $(INC) wps.c -c
-+ $(CC) $(CFLAGS) $(INC) wps.c -c
-
- wps_common.o:
-- $(CC) $(INC) wps_common.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_common.c -c
-
- wps_dev_attr.o:
-- $(CC) $(INC) wps_dev_attr.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_dev_attr.c -c
-
- wps_enrollee.o:
-- $(CC) $(INC) wps_enrollee.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_enrollee.c -c
-
- wps_registrar.o:
-- $(CC) $(INC) wps_registrar.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_registrar.c -c
-
- wps_ufd.o:
-- $(CC) $(INC) wps_ufd.c -c
-+ $(CC) $(CFLAGS) $(INC) wps_ufd.c -c
-
- clean:
- rm -f *.o
diff --git a/net-wireless/reaver/files/reaver-1.4_memset.patch b/net-wireless/reaver/files/reaver-1.4_memset.patch
deleted file mode 100644
index 782910a3f0f5..000000000000
--- a/net-wireless/reaver/files/reaver-1.4_memset.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/crypto/md5-internal.c
-+++ b/src/crypto/md5-internal.c
-@@ -188,7 +188,7 @@
- MD5Transform(ctx->buf, (u32 *) ctx->in);
- byteReverse((unsigned char *) ctx->buf, 4);
- os_memcpy(digest, ctx->buf, 16);
-- os_memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
-+ os_memset(ctx, 0, sizeof(*ctx)); /* In case it's sensitive */
- }
-
- /* The four core functions - F1 is optimized somewhat */
diff --git a/net-wireless/reaver/files/reaver-1.4_parallel-make.patch b/net-wireless/reaver/files/reaver-1.4_parallel-make.patch
deleted file mode 100644
index f880cd7562b4..000000000000
--- a/net-wireless/reaver/files/reaver-1.4_parallel-make.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -16,22 +16,22 @@
- $(CC) $(CFLAGS) $(INC) wpscrack.c *.o $(LDFLAGS) -o reaver
-
- libwps.o:
-- (cd $(LIBWPS_DIR) && make)
-+ (cd $(LIBWPS_DIR) && $(MAKE))
-
- wps: libutils libcrypto
-- (cd wps && make)
-+ (cd wps && $(MAKE))
-
- libutils:
-- (cd utils && make)
-+ (cd utils && $(MAKE))
-
- libcrypto: libtls
-- (cd crypto && make)
-+ (cd crypto && $(MAKE))
-
- libtls:
-- (cd tls && make)
-+ (cd tls && $(MAKE))
-
- libiw:
-- (cd lwe && make BUILD_STATIC=y libiw.a)
-+ (cd lwe && $(MAKE) BUILD_STATIC=y libiw.a)
-
- init.o:
- $(CC) $(CFLAGS) init.c -c
-@@ -93,12 +93,12 @@
- clean:
- rm -f *~ *.o reaver wash
- rm -rf *.cache config.status config.log
-- (cd utils && make clean)
-- (cd tls && make clean)
-- (cd crypto && make clean)
-- (cd wps && make clean)
-- (cd lwe && make realclean)
-- (cd $(LIBWPS_DIR) && make clean)
-+ (cd utils && $(MAKE) clean)
-+ (cd tls && $(MAKE) clean)
-+ (cd crypto && $(MAKE) clean)
-+ (cd wps && $(MAKE) clean)
-+ (cd lwe && $(MAKE) realclean)
-+ (cd $(LIBWPS_DIR) && $(MAKE) clean)
- rm -f Makefile config.h
-
- cleanbin:
diff --git a/net-wireless/reaver/files/reaver-1.4_var_db.patch b/net-wireless/reaver/files/reaver-1.4_var_db.patch
deleted file mode 100644
index de4317b59ffc..000000000000
--- a/net-wireless/reaver/files/reaver-1.4_var_db.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -3,7 +3,7 @@ LIBWPS_DIR=libwps
- INC=-I$(LIBWPS_DIR)
- prefix=@prefix@
- exec_prefix=@exec_prefix@
--CONFDIR=@sysconfdir@/@target@
-+CONFDIR=/var/db/reaver
- CFLAGS=-DCONF_DIR='"$(CONFDIR)"' -DREAVER_DATABASE='"$(CONFDIR)/reaver.db"' @CFLAGS@
- LDFLAGS=$(LIBWPS_DIR)/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a @LDFLAGS@
-
diff --git a/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch b/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch
deleted file mode 100644
index cc9fe6b774e8..000000000000
--- a/net-wireless/reaver/files/reaver-1.4_wps_registrar.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/wps/wps_registrar.c
-+++ b/wps/wps_registrar.c
-@@ -1469,7 +1469,7 @@
-
- wpa_printf(MSG_DEBUG, "WPS: Building Message M4");
-
-- wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %d", wps->dev_password_len);
-+ wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %zd", wps->dev_password_len);
- wpa_printf(MSG_DEBUG, "WPS: Dev Password: %s", wps->dev_password);
-
- wps_derive_psk(wps, wps->dev_password, wps->dev_password_len);
diff --git a/net-wireless/reaver/reaver-1.4-r3.ebuild b/net-wireless/reaver/reaver-1.4-r3.ebuild
deleted file mode 100644
index 2769fa2548fc..000000000000
--- a/net-wireless/reaver/reaver-1.4-r3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-
-inherit autotools-utils
-
-DESCRIPTION="Brute force attack against Wifi Protected Setup"
-HOMEPAGE="https://code.google.com/p/reaver-wps/"
-SRC_URI="https://reaver-wps.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
- net-libs/libpcap
- dev-db/sqlite:3
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-PATCHES=(
- "${FILESDIR}"/${P}_cflags.patch
- "${FILESDIR}"/${P}_memset.patch
- "${FILESDIR}"/${P}_parallel-make.patch
- "${FILESDIR}"/${P}_var_db.patch
- "${FILESDIR}"/${P}_wps_registrar.patch
-)
-
-src_compile() {
- emake V=1
-
- # doman accept only uncompressed files #619966
- gzip -d ../docs/reaver.1.gz || die
-}
-
-src_install() {
- dobin wash reaver
-
- insinto "/var/db/reaver"
- doins reaver.db
-
- doman ../docs/reaver.1
- dodoc ../docs/README ../docs/README.REAVER ../docs/README.WASH
-}