wok-current rev 13169
aircrack-ng: Add WANTED package called aircrack-ng-scripts.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jul 30 04:24:03 2012 +0000 (2012-07-30) |
parents | 01a07ddd852f |
children | fd292e30db28 |
files | aircrack-ng-scripts/receipt aircrack-ng/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/aircrack-ng-scripts/receipt Mon Jul 30 04:24:03 2012 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="aircrack-ng-scripts" 1.7 +VERSION="1.1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://aircrack-ng.org" 1.12 +DEPENDS="aircrack-ng python graphviz pylorcan" 1.13 +WANTED="aircrack-ng" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + # add airdrop-ng 1.19 + mkdir -p $fs/usr/sbin $fs/usr/lib $fs/usr/share 1.20 + cp -a $src/scripts/airdrop-ng/airdrop-ng.py $fs/usr/sbin/airdrop-ng 1.21 + cp -a $src/scripts/airdrop-ng/lib $fs/usr/lib/airdrop-ng 1.22 + cp -a $src/scripts/airdrop-ng/docs $fs/usr/share/airdrop-ng 1.23 + chmod +x $fs/usr/sbin/airdrop-ng 1.24 + 1.25 + # add airgraph-ng 1.26 + mkdir -p $fs/usr/lib/airgraph-ng/ 1.27 + cp -a $src/scripts/airgraph-ng/lib/lib_Airgraphviz.py \ 1.28 + $fs/usr/lib/airgraph-ng/ 1.29 + cp -a $src/scripts/airgraph-ng/airgraph-ng.py $fs/usr/sbin/airgraph-ng 1.30 + sed -i 's|/usr/local||g' $fs/usr/sbin/airgraph-ng 1.31 + chmod +x $fs/usr/sbin/airgraph-ng 1.32 + 1.33 + # add dump-join.py 1.34 + cp -a $src/scripts/airgraph-ng/dump-join.py $fs/usr/sbin/dump-join.py 1.35 + chmod +x $fs/usr/sbin/dump-join.py 1.36 +}
2.1 --- a/aircrack-ng/receipt Mon Jul 30 04:22:48 2012 +0000 2.2 +++ b/aircrack-ng/receipt Mon Jul 30 04:24:03 2012 +0000 2.3 @@ -8,8 +8,8 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WEB_SITE="http://www.aircrack-ng.org/" 2.6 WGET_URL="http://download.aircrack-ng.org/$TARBALL" 2.7 -DEPENDS="iw openssl zlib" 2.8 -BUILD_DEPENDS="openssl-dev" 2.9 +DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon" 2.10 +BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev" 2.11 2.12 # Rules to configure and make the package. 2.13 compile_rules() 2.14 @@ -21,8 +21,9 @@ 2.15 # fix build with gcc45 2.16 sed -i s/-Werror// common.mak || return 1 2.17 2.18 - make && 2.19 - make DESTDIR=$PWD/_pkg install 2.20 + make SQLITE=true unstable=true && 2.21 + make SQLITE=true unstable=true DESTDIR=$DESTDIR install 2.22 + sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update 2.23 } 2.24 2.25 # Rules to gen a SliTaz package suitable for Tazpkg.