wok-current annotate wepbuster/receipt @ rev 24982
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:06:36 2022 +0000 (2022-05-08) |
parents | 34e801e0eb52 |
children |
rev | line source |
---|---|
pascal@13353 | 1 # SliTaz package receipt. |
pascal@13353 | 2 |
pascal@13353 | 3 PACKAGE="wepbuster" |
pascal@13353 | 4 VERSION="1.0_beta-0.7" |
pascal@13353 | 5 CATEGORY="network" |
pascal@13353 | 6 SHORT_DESC="A set of tools for auditing wireless networks" |
pascal@13353 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@20689 | 9 WEB_SITE="https://github.com/google-code-export/wepbuster" |
pascal@15601 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@24982 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$TARBALL" |
pascal@15601 | 12 |
pascal@13353 | 13 DEPENDS="perl-number-range perl-expect perl-algorithm-permute perl-file-slurp \ |
pascal@13353 | 14 perl-getopt-long perl-term-readkey macchanger aircrack-ng dhcp-client \ |
pascal@13353 | 15 wireless_tools" |
pascal@13353 | 16 |
pascal@24497 | 17 # What is the latest version available today? |
pascal@24497 | 18 current_version() |
pascal@24497 | 19 { |
pascal@24497 | 20 wget -O - https://raw.githubusercontent.com/google-code-export/wepbuster/master/README.TXT 2>/dev/null | \ |
pascal@24497 | 21 sed '/WEPBuster/!d;s|.*ter ||;s| .*||;q' |
pascal@24497 | 22 } |
pascal@24497 | 23 |
pascal@13353 | 24 # Rules to configure and make the package. |
pascal@13353 | 25 compile_rules() |
pascal@13353 | 26 { |
pascal@13353 | 27 cd $src |
pascal@13353 | 28 } |
pascal@13353 | 29 |
pascal@13353 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13353 | 31 genpkg_rules() |
pascal@13353 | 32 { |
pascal@13353 | 33 mkdir -p $fs/usr/bin |
pascal@13353 | 34 cp -a $src/wepbuster $fs/usr/bin |
pascal@13353 | 35 } |