diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-08 19:14:57 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-04-08 19:15:08 +0000 |
commit | 8d02d099f54f83778a5d7b5fb2d0d16bf031cb33 (patch) | |
tree | 31c0aaba2a724129587f2637e5ba41122815cd5b /testing/pixiewps | |
parent | a523d84de666c647e49a879d3b9925a99c3bd9d0 (diff) | |
download | aports-8d02d099f54f83778a5d7b5fb2d0d16bf031cb33.tar.bz2 aports-8d02d099f54f83778a5d7b5fb2d0d16bf031cb33.tar.xz |
testing/pixiewps: upgrade to 1.4.2
Diffstat (limited to 'testing/pixiewps')
-rw-r--r-- | testing/pixiewps/APKBUILD | 21 | ||||
-rw-r--r-- | testing/pixiewps/make-bindir.patch | 21 |
2 files changed, 20 insertions, 22 deletions
diff --git a/testing/pixiewps/APKBUILD b/testing/pixiewps/APKBUILD index 6c23728d60..e0158ebc63 100644 --- a/testing/pixiewps/APKBUILD +++ b/testing/pixiewps/APKBUILD @@ -1,29 +1,28 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=pixiewps -pkgver=1.2.2 +pkgver=1.4.2 pkgrel=0 pkgdesc="An offline WPS bruteforce utility" url="https://github.com/wiire/pixiewps" arch="all" +# upstream does not provide check +options="!check" license="GPL-3.0" +subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/wiire/$pkgname/archive/v$pkgver.tar.gz -make-bindir.patch" + make-bindir.patch" builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$builddir"/src - make || return 1 + cd "$builddir" + make } package() { - cd "$builddir"/src + cd "$builddir" make DESTDIR="$pkgdir" install } -md5sums="52c0cd20eff10c5c422980a13fc86730 pixiewps-1.2.2.tar.gz -245b6dd6e447e8a3e2b5dfa632d521ce make-bindir.patch" -sha256sums="6da09b8ac67cd556b901606e5a72548174cd1e6a89cc52a246d49e0a5ff83db8 pixiewps-1.2.2.tar.gz -ec6411fb8acbea863ce89ee4d2ef9178e3d540fc3b256243c6da7557ca4f4ef9 make-bindir.patch" -sha512sums="096d9f9e50aede2a77d70b6a7bcbc6ee3559d65f70577a4669076f1d8f3d153f18ceb7ea1cbfec09d20d76ebffb189ef1f8e5047362f33ff787be20e46d3e33e pixiewps-1.2.2.tar.gz -c317ec3ea8ec68f719e9d957d4edb20312df3783703efadee73ee59c509c63fc5f3002a4b2c7da013c0129c93467b7c59e3f591010531a2a21a5e608c155f2de make-bindir.patch" +sha512sums="e64b29b0ab46a768d7e76904b8be61a6c050ccd97da47dc43406a0247b728a521f88f10c8b3bdddfa87dca30955337782c91b3c128a578cbefdcceba811ad64f pixiewps-1.4.2.tar.gz +85659b44c2a8102b968b5e00290279a0b9c89f358350895c8d873d1600bcb331ad8d401e2176075152fb2cc6cb479320f8add2803c73b93c9529c2ec81405e80 make-bindir.patch" diff --git a/testing/pixiewps/make-bindir.patch b/testing/pixiewps/make-bindir.patch index 8456654c28..ab8d6961a0 100644 --- a/testing/pixiewps/make-bindir.patch +++ b/testing/pixiewps/make-bindir.patch @@ -1,13 +1,12 @@ -diff --git a/src/Makefile b/src/Makefile -index c800ed4..e2f1233 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -5,7 +5,7 @@ CRYPTO = crypto/sha256.c crypto/md.c crypto/md_wrap.c - SOURCE = $(TARGET).c random_r.c $(CRYPTO) - PREFIX = $(DESTDIR)/usr +diff --git a/Makefile b/Makefile +index e42c791..25127cd 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,6 @@ + CFLAGS = -O3 + +-PREFIX ?= /usr/local ++PREFIX ?= /usr BINDIR = $(PREFIX)/bin --LOCDIR = $(PREFIX)/local/bin -+LOCDIR = /usr/bin + MANDIR = $(PREFIX)/share/man - all: - $(CC) $(CCFLAGS) -o $(TARGET) $(SOURCE) |