wok diff reaver/receipt @ rev 14894
libbsd: fill license
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 26 11:16:42 2013 +0000 (2013-07-26) |
parents | |
children | de49f29b101e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/reaver/receipt Fri Jul 26 11:16:42 2013 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="reaver" 1.7 +VERSION="1.4" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Brute force attack against Wifi Protected Setup." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://code.google.com/p/reaver-wps/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://reaver-wps.googlecode.com/files/$TARBALL" 1.14 +CONFIG_FILES="/etc/reaver" 1.15 + 1.16 +DEPENDS="libpcap libsqlite" 1.17 +BUILD_DEPENDS="libpcap-dev sqlite-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src/src 1.23 + ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && 1.24 + make && make cleanbin && { 1.25 + mkdir -p $DESTDIR/etc/reaver $DESTDIR/usr/bin 1.26 + cp reaver.db $DESTDIR/etc/reaver 1.27 + cp wash reaver $DESTDIR/usr/bin 1.28 + } 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $install/* $fs 1.35 +}