aboutsummaryrefslogtreecommitdiffstats
path: root/testing/reaver-wps-fork-t6x
diff options
context:
space:
mode:
Diffstat (limited to 'testing/reaver-wps-fork-t6x')
-rw-r--r--testing/reaver-wps-fork-t6x/APKBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/testing/reaver-wps-fork-t6x/APKBUILD b/testing/reaver-wps-fork-t6x/APKBUILD
index f94071f88d..26b2cad384 100644
--- a/testing/reaver-wps-fork-t6x/APKBUILD
+++ b/testing/reaver-wps-fork-t6x/APKBUILD
@@ -1,18 +1,18 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=reaver-wps-fork-t6x
-pkgver=1.5.2
+pkgver=1.6.4
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"
-install=""
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
-0200-makefile-path-fix.patch"
+0100-Include-sys-types.h-for-definition-of-u_char.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
@@ -21,24 +21,17 @@ build() {
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
+ --localstatedir=/var \
--sysconfdir=/etc
- make || return 1
+ make
}
package() {
cd "$builddir"/src
- # this is due to buggy makefile
- mkdir -p "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/etc/reaver
make DESTDIR="$pkgdir" install
chmod 750 "$pkgdir"/etc/reaver
}
-md5sums="1738f4e6c2e28eef62de767fb377992b reaver-wps-fork-t6x-1.5.2.tar.gz
-741168053e1f57a5abc5caf364a445ed 0100-Include-sys-types.h-for-definition-of-u_char.patch
-b094e7f5d48d28d2f740621ad34bd897 0200-makefile-path-fix.patch"
-sha256sums="b68d988ba7546949b74f3d89ebf9efbd745806906b717f3db7644ea4b12c63b6 reaver-wps-fork-t6x-1.5.2.tar.gz
-d150e817f734014b4bfc984c9a282b6813ae5253ac81b34c9d76620f13c09795 0100-Include-sys-types.h-for-definition-of-u_char.patch
-7f72aebf252da3ca7ee00554c86e0d3d8bcadfd47cdf71408a495eb1c42f01e6 0200-makefile-path-fix.patch"
-sha512sums="76c2b5b5f77c52a58ff8e8a3ef651ff52696f90ec9e0cdc2e49e009c59267bc16baec4127bf9b3fc1bab8a9d71d4ab8e1a0eb0328494d5f3aebc79538997629f reaver-wps-fork-t6x-1.5.2.tar.gz
-1545910bcfcb4c1b920615af70fc2384c9722407edd946789c6103d0c6813a0433d14e75a94acf3b153a4e8cad157ab4f2d440bb6e9763797bba7788a35cfb9d 0100-Include-sys-types.h-for-definition-of-u_char.patch
-eae3130b612bf11e52911ff1209a92607930a89ab322b560a3599430179cac1c8ac80b5c73d1e827d1d8d80f25c4f5b15bd864a331602e80fde97fd0732bf677 0200-makefile-path-fix.patch"
+sha512sums="52cb45a4ca716cb4b961820094cb9c13cdebd68471ee04db3b02b8e8f6217dcb64ca6236294e1a2235b338d909770b5449a89a2321d39c9e2c05e0a51e45ada2 reaver-wps-fork-t6x-1.6.4.tar.gz
+1545910bcfcb4c1b920615af70fc2384c9722407edd946789c6103d0c6813a0433d14e75a94acf3b153a4e8cad157ab4f2d440bb6e9763797bba7788a35cfb9d 0100-Include-sys-types.h-for-definition-of-u_char.patch"