mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/pixiewps: upgrade to 1.4.2
This commit is contained in:
parent
a523d84de6
commit
8d02d099f5
@ -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"
|
||||
|
@ -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
|
||||
BINDIR = $(PREFIX)/bin
|
||||
-LOCDIR = $(PREFIX)/local/bin
|
||||
+LOCDIR = /usr/bin
|
||||
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
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
|
||||
all:
|
||||
$(CC) $(CCFLAGS) -o $(TARGET) $(SOURCE)
|
||||
|
Loading…
Reference in New Issue
Block a user