# HG changeset patch # User Christopher Rogers # Date 1343622243 0 # Node ID aa9d73cf312d27c6bfc4ea554ac107ee798386eb # Parent 01a07ddd852f02e3ac3c50741c3ccf4f169e2657 aircrack-ng: Add WANTED package called aircrack-ng-scripts. diff -r 01a07ddd852f -r aa9d73cf312d aircrack-ng-scripts/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aircrack-ng-scripts/receipt Mon Jul 30 04:24:03 2012 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="aircrack-ng-scripts" +VERSION="1.1" +CATEGORY="network" +SHORT_DESC="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://aircrack-ng.org" +DEPENDS="aircrack-ng python graphviz pylorcan" +WANTED="aircrack-ng" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # add airdrop-ng + mkdir -p $fs/usr/sbin $fs/usr/lib $fs/usr/share + cp -a $src/scripts/airdrop-ng/airdrop-ng.py $fs/usr/sbin/airdrop-ng + cp -a $src/scripts/airdrop-ng/lib $fs/usr/lib/airdrop-ng + cp -a $src/scripts/airdrop-ng/docs $fs/usr/share/airdrop-ng + chmod +x $fs/usr/sbin/airdrop-ng + + # add airgraph-ng + mkdir -p $fs/usr/lib/airgraph-ng/ + cp -a $src/scripts/airgraph-ng/lib/lib_Airgraphviz.py \ + $fs/usr/lib/airgraph-ng/ + cp -a $src/scripts/airgraph-ng/airgraph-ng.py $fs/usr/sbin/airgraph-ng + sed -i 's|/usr/local||g' $fs/usr/sbin/airgraph-ng + chmod +x $fs/usr/sbin/airgraph-ng + + # add dump-join.py + cp -a $src/scripts/airgraph-ng/dump-join.py $fs/usr/sbin/dump-join.py + chmod +x $fs/usr/sbin/dump-join.py +} diff -r 01a07ddd852f -r aa9d73cf312d aircrack-ng/receipt --- a/aircrack-ng/receipt Mon Jul 30 04:22:48 2012 +0000 +++ b/aircrack-ng/receipt Mon Jul 30 04:24:03 2012 +0000 @@ -8,8 +8,8 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.aircrack-ng.org/" WGET_URL="http://download.aircrack-ng.org/$TARBALL" -DEPENDS="iw openssl zlib" -BUILD_DEPENDS="openssl-dev" +DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon" +BUILD_DEPENDS="sqlite-dev pylorcon openssl-dev" # Rules to configure and make the package. compile_rules() @@ -21,8 +21,9 @@ # fix build with gcc45 sed -i s/-Werror// common.mak || return 1 - make && - make DESTDIR=$PWD/_pkg install + make SQLITE=true unstable=true && + make SQLITE=true unstable=true DESTDIR=$DESTDIR install + sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update } # Rules to gen a SliTaz package suitable for Tazpkg.