wok-6.x diff nagisk/receipt @ rev 24575
updated fsarchiver (0.8.5 -> 0.8.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:36:21 2022 +0100 (2022-02-27) |
parents | bc37a1a08055 |
children | e717a4953b0e |
line diff
1.1 --- a/nagisk/receipt Fri May 03 13:11:28 2019 +0100 1.2 +++ b/nagisk/receipt Sun Feb 27 10:36:21 2022 +0100 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="Simple tool to monitor Asterisk from a Nagios server." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="GPL3" 1.7 -WEB_SITE="https://github.com/nicolargo/nagisk/" 1.8 +WEB_SITE="https://github.com/nicolargo/nagisk" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" 1.12 @@ -14,6 +14,13 @@ 1.13 DEPENDS="nagios-nrpe perl sudo" 1.14 BUILD_DEPENDS="" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 1.20 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.21 +} 1.22 + 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 genpkg_rules() 1.25 {