wok rev 21837

updated reaver (1.6.1 -> 1.6.5)
author Hans-G?nter Theisgen
date Sat Sep 14 10:59:47 2019 +0100 (2019-09-14)
parents f2e985474c6d
children cf4b0d959281
files reaver/receipt
line diff
     1.1 --- a/reaver/receipt	Sat Sep 14 10:37:34 2019 +0100
     1.2 +++ b/reaver/receipt	Sat Sep 14 10:59:47 2019 +0100
     1.3 @@ -1,33 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="reaver"
     1.7 -VERSION="1.6.1"
     1.8 +VERSION="1.6.5"
     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="https://github.com/t6x/reaver-wps-fork-t6x"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WGET_URL="$WEB_SITE/releases/download/v$VERSION/$TARBALL"
    1.17  
    1.18 -DEPENDS="libpcap aircrack-ng pixiewps"
    1.19 +DEPENDS="aircrack-ng libpcap pixiewps"
    1.20  BUILD_DEPENDS="libpcap-dev"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src/src
    1.26 -	./configure --prefix=/usr --localstatedir=/var $CONFIGURE_ARGS &&
    1.27 -	make && make cleanbin
    1.28 +	./configure			\
    1.29 +		--prefix=/usr		\
    1.30 +		--localstatedir=/var	\
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	make install
    1.34 +#	make cleanbin
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/var/lib/reaver $fs/usr/bin
    1.41 -	mkdir -p $install/usr/share/doc $install/usr/share/man
    1.42 -	cp -a $src/src/wash $fs/usr/bin
    1.43 -	cp -a $src/src/reaver $fs/usr/bin
    1.44 -	cp -a $src/README.md $src/docs/* $install/usr/share/doc
    1.45 -	mv $install/usr/share/doc/reaver.1.gz $install/usr/share/man
    1.46 +	mkdir -p $fs/var/lib/reaver
    1.47 +	mkdir -p $fs/usr/bin
    1.48 +	mkdir -p $install/usr/share/doc
    1.49 +	mkdir -p $install/usr/share/man
    1.50 +
    1.51 +	cp -a $src/src/wash			$fs/usr/bin
    1.52 +	cp -a $src/src/reaver			$fs/usr/bin
    1.53 +	cp -a $src/README.md			$install/usr/share/doc
    1.54 +	cp -a $src/docs/*			$install/usr/share/doc
    1.55 +	mv $install/usr/share/doc/reaver.1	$install/usr/share/man
    1.56  }