aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch27
-rw-r--r--testing/reaver-wps-fork-t6x/0200-makefile-path-fix.patch19
-rw-r--r--testing/reaver-wps-fork-t6x/APKBUILD18
3 files changed, 7 insertions, 57 deletions
diff --git a/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch b/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
deleted file mode 100644
index 541968aec1..0000000000
--- a/testing/reaver-wps-fork-t6x/0100-Include-sys-types.h-for-definition-of-u_char.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 811f5c0b0a226edfbf5aa2f316e083f30ec3cd8d Mon Sep 17 00:00:00 2001
-From: Yousong Zhou <yszhou4tech@gmail.com>
-Date: Tue, 18 Aug 2015 14:34:26 +0800
-Subject: [PATCH] Include <sys/types.h> for definition of u_char.
-
-Fixes build with musl-libc.
-
-Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
----
- src/libwps/libwps.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/libwps/libwps.h b/src/libwps/libwps.h
-index b04dd8b..bdd7b9a 100755
---- a/src/libwps/libwps.h
-+++ b/src/libwps/libwps.h
-@@ -17,6 +17,7 @@
- #include <stdio.h>
- #include <string.h>
- #include <arpa/inet.h>
-+#include <sys/types.h>
-
- #define LIBWPS_MAX_STR_LEN 256
-
---
-1.7.10.4
-
diff --git a/testing/reaver-wps-fork-t6x/0200-makefile-path-fix.patch b/testing/reaver-wps-fork-t6x/0200-makefile-path-fix.patch
deleted file mode 100644
index 842993553d..0000000000
--- a/testing/reaver-wps-fork-t6x/0200-makefile-path-fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/src/Makefile.in b/src/Makefile.in
-index 76ec142..1911ac2 100644
---- a/src/Makefile.in
-+++ b/src/Makefile.in
-@@ -85,10 +85,10 @@ globule.o:
- $(CC) $(CFLAGS) globule.c -c
-
- install: cleanbin
-- if [ ! -d $(CONFDIR) ]; then mkdir -p $(CONFDIR); fi
-- if [ ! -e $(CONFDIR)/reaver.db ]; then cp reaver.db $(CONFDIR)/reaver.db && chmod -R a+rw $(CONFDIR); fi
-- if [ -e wash ]; then cp wash @bindir@/wash; fi
-- if [ -e reaver ]; then cp reaver @bindir@/reaver; fi
-+ if [ ! -d $(CONFDIR) ]; then mkdir -p $(DESTDIR)$(CONFDIR); fi
-+ if [ ! -e $(CONFDIR)/reaver.db ]; then cp reaver.db $(DESTDIR)$(CONFDIR)/reaver.db && chmod -R a+rw $(DESTDIR)$(CONFDIR); fi
-+ if [ -e wash ]; then cp wash $(DESTDIR)@bindir@/wash; fi
-+ if [ -e reaver ]; then cp reaver $(DESTDIR)@bindir@/reaver; fi
-
- clean:
- rm -f *~ *.o reaver wash
diff --git a/testing/reaver-wps-fork-t6x/APKBUILD b/testing/reaver-wps-fork-t6x/APKBUILD
index 26b2cad384..0e519c102c 100644
--- a/testing/reaver-wps-fork-t6x/APKBUILD
+++ b/testing/reaver-wps-fork-t6x/APKBUILD
@@ -1,19 +1,16 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=reaver-wps-fork-t6x
-pkgver=1.6.4
+pkgver=1.6.5
pkgrel=0
pkgdesc="Community forked version of reaver, the WPS password cracker"
url="https://github.com/t6x/reaver-wps-fork-t6x"
arch="all"
-license="GPL-2.0"
-#upstream does not provide check
-options="!check"
-depends="pixiewps sqlite aircrack-ng"
-makedepends="libpcap-dev sqlite-dev linux-headers"
-source="$pkgname-$pkgver.tar.gz::https://github.com/t6x/$pkgname/archive/v$pkgver.tar.gz
-0100-Include-sys-types.h-for-definition-of-u_char.patch"
-builddir="$srcdir/$pkgname-$pkgver"
+license="GPL-2.0-only"
+options="!check" #upstream does not provide check
+depends="aircrack-ng pixiewps sqlite"
+makedepends="libpcap-dev linux-headers sqlite-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/t6x/$pkgname/archive/v$pkgver.tar.gz"
build() {
cd "$builddir"/src
@@ -33,5 +30,4 @@ package() {
chmod 750 "$pkgdir"/etc/reaver
}
-sha512sums="52cb45a4ca716cb4b961820094cb9c13cdebd68471ee04db3b02b8e8f6217dcb64ca6236294e1a2235b338d909770b5449a89a2321d39c9e2c05e0a51e45ada2 reaver-wps-fork-t6x-1.6.4.tar.gz
-1545910bcfcb4c1b920615af70fc2384c9722407edd946789c6103d0c6813a0433d14e75a94acf3b153a4e8cad157ab4f2d440bb6e9763797bba7788a35cfb9d 0100-Include-sys-types.h-for-definition-of-u_char.patch"
+sha512sums="3e70d9fffefee3f6d60e72d7d7b1da91032e184c7d27f94b9f26e2260b7274d491f2e41f8056b386a211b9838d21afc6b65a8a826d310b51fc1065fa9e135dc0 reaver-wps-fork-t6x-1.6.5.tar.gz"