wok-6.x view airgeddon/receipt @ rev 24308

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 18:18:17 2022 +0000 (2022-01-17)
parents 9d26ae79ba48
children
line source
1 # SliTaz package receipt.
3 PACKAGE="airgeddon"
4 VERSION="8.12"
5 HASH="5d18ec5583c8870fd92e7e60bd50af3e6175b6b5"
6 CATEGORY="network"
7 SHORT_DESC="Multi-use bash script for Linux systems to audit wireless networks."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$HASH.sh"
11 WEB_SITE="https://github.com/v1s1t0r1sh3r3/airgeddon"
12 WGET_URL="$WEB_SITE/raw/$HASH/$PACKAGE.sh"
14 DEPENDS="bash iw aircrack-ng curl crunch mdk3"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin
27 cp -a $src/$TARBALL $fs/usr/sbin/$PACKAGE
28 chmod +x $fs/usr/sbin/$PACKAGE
29 }