wok-next annotate aircrack-ng-scripts/receipt @ 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 | |
children | f4c22f009037 |
rev | line source |
---|---|
slaxemulator@13169 | 1 # SliTaz package receipt. |
slaxemulator@13169 | 2 |
slaxemulator@13169 | 3 PACKAGE="aircrack-ng-scripts" |
slaxemulator@13169 | 4 VERSION="1.1" |
slaxemulator@13169 | 5 CATEGORY="network" |
slaxemulator@13169 | 6 SHORT_DESC="Included scripts for a key cracker for the 802.11 WEP and WPA-PSK protocols" |
slaxemulator@13169 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@13169 | 8 WEB_SITE="http://aircrack-ng.org" |
slaxemulator@13169 | 9 DEPENDS="aircrack-ng python graphviz pylorcan" |
slaxemulator@13169 | 10 WANTED="aircrack-ng" |
slaxemulator@13169 | 11 |
slaxemulator@13169 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@13169 | 13 genpkg_rules() |
slaxemulator@13169 | 14 { |
slaxemulator@13169 | 15 # add airdrop-ng |
slaxemulator@13169 | 16 mkdir -p $fs/usr/sbin $fs/usr/lib $fs/usr/share |
slaxemulator@13169 | 17 cp -a $src/scripts/airdrop-ng/airdrop-ng.py $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 18 cp -a $src/scripts/airdrop-ng/lib $fs/usr/lib/airdrop-ng |
slaxemulator@13169 | 19 cp -a $src/scripts/airdrop-ng/docs $fs/usr/share/airdrop-ng |
slaxemulator@13169 | 20 chmod +x $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 21 |
slaxemulator@13169 | 22 # add airgraph-ng |
slaxemulator@13169 | 23 mkdir -p $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 24 cp -a $src/scripts/airgraph-ng/lib/lib_Airgraphviz.py \ |
slaxemulator@13169 | 25 $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 26 cp -a $src/scripts/airgraph-ng/airgraph-ng.py $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 27 sed -i 's|/usr/local||g' $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 28 chmod +x $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 29 |
slaxemulator@13169 | 30 # add dump-join.py |
slaxemulator@13169 | 31 cp -a $src/scripts/airgraph-ng/dump-join.py $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 32 chmod +x $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 33 } |