Date: Thursday, August 10, 2017 @ 18:42:01
  Author: felixonmars
Revision: 249766

upgpkg: reaver 1.6.1-1

Modified:
  reaver/trunk/PKGBUILD

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-10 18:41:47 UTC (rev 249765)
+++ PKGBUILD    2017-08-10 18:42:01 UTC (rev 249766)
@@ -3,28 +3,28 @@
 # Contributor: Bartosz FeĊ„ski <fe...@debian.org>
 
 pkgname=reaver
-pkgver=1.5.2
+pkgver=1.6.1
 pkgrel=1
 pkgdesc="Brute force attack against Wifi Protected Setup"
 arch=('i686' 'x86_64')
-url="http://code.google.com/p/reaver-wps/";
+url="https://github.com/t6x/reaver-wps-fork-t6x";
 license=('GPL2')
-depends=('libpcap' 'sqlite')
-makedepends=('git')
-backup=('etc/reaver/reaver.db')
-source=("git+https://github.com/t6x/reaver-wps-fork-t6x.git#tag=v$pkgver";)
-md5sums=('SKIP')
+depends=('libpcap')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/t6x/reaver-wps-fork-t6x/archive/v$pkgver.tar.gz";)
+sha512sums=('08f2d37f4375896d28eddc0deca2cf3487bd6c0a75c3d647a9adf3828f530d16b2d87a33f2ca4f56049044f7def5de73759b57bf7492d5ccc45548cd0fecf188')
 
 build() {
-  cd "$srcdir/reaver-wps-fork-t6x/src"
+  cd reaver-wps-fork-t6x-$pkgver/src
   ./configure --prefix=/usr --sysconfdir=/etc
-  make
+  make CONFDIR=/etc/reaver
 }
 
 package() {
-  install -Dm755 "$srcdir/reaver-wps-fork-t6x/src/reaver" 
"$pkgdir/usr/bin/reaver"
-  install -Dm755 "$srcdir/reaver-wps-fork-t6x/src/wash" "$pkgdir/usr/bin/wash"
-  install -Dm644 "$srcdir/reaver-wps-fork-t6x/src/reaver.db" 
"$pkgdir/etc/reaver/reaver.db"
-  install -Dm644 "$srcdir/reaver-wps-fork-t6x/docs/README" 
"$pkgdir/usr/share/doc/reaver/README"
-  install -Dm644 "$srcdir/reaver-wps-fork-t6x/docs/reaver.1.gz" 
"$pkgdir/usr/share/man/man1/reaver.1.gz"
+  cd reaver-wps-fork-t6x-$pkgver
+
+  install -Dm755 src/reaver "$pkgdir"/usr/bin/reaver
+  install -Dm755 src/wash "$pkgdir"/usr/bin/wash
+  install -dm755 "$pkgdir"/etc/reaver
+  install -Dm644 docs/README "$pkgdir"/usr/share/doc/reaver/README
+  install -Dm644 docs/reaver.1.gz "$pkgdir"/usr/share/man/man1/reaver.1.gz
 }

Reply via email to