wok annotate aircrack-ng-scripts/receipt @ rev 19703
Up newt-dev (0.52.19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 14:54:28 2017 +0100 (2017-02-14) |
parents | f4c22f009037 |
children | 6e8b1bcb30e2 |
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" |
pascal@15201 | 8 LICENSE="GPL2" |
slaxemulator@13169 | 9 WEB_SITE="http://aircrack-ng.org" |
pascal@15201 | 10 WANTED="aircrack-ng" |
pascal@15201 | 11 |
pascal@17481 | 12 DEPENDS="aircrack-ng python graphviz pylorcon" |
slaxemulator@13169 | 13 |
slaxemulator@13169 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@13169 | 15 genpkg_rules() |
slaxemulator@13169 | 16 { |
slaxemulator@13169 | 17 # add airdrop-ng |
slaxemulator@13169 | 18 mkdir -p $fs/usr/sbin $fs/usr/lib $fs/usr/share |
slaxemulator@13169 | 19 cp -a $src/scripts/airdrop-ng/airdrop-ng.py $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 20 cp -a $src/scripts/airdrop-ng/lib $fs/usr/lib/airdrop-ng |
slaxemulator@13169 | 21 cp -a $src/scripts/airdrop-ng/docs $fs/usr/share/airdrop-ng |
slaxemulator@13169 | 22 chmod +x $fs/usr/sbin/airdrop-ng |
slaxemulator@13169 | 23 |
slaxemulator@13169 | 24 # add airgraph-ng |
slaxemulator@13169 | 25 mkdir -p $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 26 cp -a $src/scripts/airgraph-ng/lib/lib_Airgraphviz.py \ |
slaxemulator@13169 | 27 $fs/usr/lib/airgraph-ng/ |
slaxemulator@13169 | 28 cp -a $src/scripts/airgraph-ng/airgraph-ng.py $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 29 sed -i 's|/usr/local||g' $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 30 chmod +x $fs/usr/sbin/airgraph-ng |
slaxemulator@13169 | 31 |
slaxemulator@13169 | 32 # add dump-join.py |
slaxemulator@13169 | 33 cp -a $src/scripts/airgraph-ng/dump-join.py $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 34 chmod +x $fs/usr/sbin/dump-join.py |
slaxemulator@13169 | 35 } |