wok-current diff pwauth/receipt @ rev 24948

updated nagios-nrpe again (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:47:12 2022 +0100 (2022-04-22)
parents 6135577f4d08
children 1805f71c5d9f
line diff
     1.1 --- a/pwauth/receipt	Sat Jan 26 12:26:47 2019 +0100
     1.2 +++ b/pwauth/receipt	Fri Apr 22 17:47:12 2022 +0100
     1.3 @@ -7,12 +7,19 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="BSD"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="https://github.com/phokz/pwauth/"
     1.8 +WEB_SITE="https://github.com/phokz/pwauth"
     1.9  WGET_URL="https://pwauth.googlecode.com/files/$TARBALL"
    1.10  
    1.11  DEPENDS=""
    1.12  BUILD_DEPENDS="wget"
    1.13  
    1.14 +# What is the latest version available today?
    1.15 +current_version()
    1.16 +{
    1.17 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.18 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.19 +}
    1.20 +
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {