wok rev 20015

Up reaver (1.6.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 11 12:10:52 2017 +0200 (2 months ago)
parents e6537fd120f9
children d4b5aa4ee51c
files reaver/receipt
line diff
     1.1 --- a/reaver/receipt	Mon Aug 07 05:59:22 2017 -0300
     1.2 +++ b/reaver/receipt	Fri Aug 11 12:10:52 2017 +0200
     1.3 @@ -1,14 +1,14 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="reaver"
     1.7 -VERSION="1.4"
     1.8 +VERSION="1.6.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Brute force attack against Wifi Protected Setup."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://code.google.com/p/reaver-wps/"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL"
    1.16 +WEB_SITE="https://github.com/t6x/reaver-wps-fork-t6x"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 +WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    1.19  CONFIG_FILES="/etc/reaver"
    1.20  
    1.21  DEPENDS="libpcap libsqlite"
    1.22 @@ -19,15 +19,16 @@
    1.23  {
    1.24  	cd $src/src
    1.25  	./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS &&
    1.26 -	make && make cleanbin && {
    1.27 -		mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin
    1.28 -		cp reaver.db $DESTDIR/etc/reaver
    1.29 -		cp wash reaver $DESTDIR/usr/bin
    1.30 -	}
    1.31 +	make && make cleanbin
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	cp -a $install/* $fs
    1.38 +	mkdir -p $fs/etc/reaver $fs/usr/bin
    1.39 +	mkdir -p $install/usr/share/doc $install/usr/share/man
    1.40 +	cp -a $src/src/wash $fs
    1.41 +	cp -a $src/src/reaver $fs
    1.42 +	cp -a $src/README.md $src/docs/* $install/usr/share/doc
    1.43 +	mv $install/usr/share/doc/reaver.1.gz $install/usr/share/man
    1.44  }