wok-current diff sagan-rules/receipt @ rev 25312

updated smartmontools (7.2 -> 7.3)
author Hans-G?nter Theisgen
date Wed Jul 20 17:27:26 2022 +0100 (2022-07-20)
parents 453c249b6219
children 9600878fc758
line diff
     1.1 --- a/sagan-rules/receipt	Fri Feb 11 17:50:36 2022 +0000
     1.2 +++ b/sagan-rules/receipt	Wed Jul 20 17:27:26 2022 +0100
     1.3 @@ -1,20 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="sagan-rules"
     1.7 -VERSION="08222011"
     1.8 +VERSION="2.0.2"
     1.9  CATEGORY="security"
    1.10  SHORT_DESC="sagan rules"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="http://sagan.softwink.com/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://sagan.softwink.com/rules/$TARBALL"
    1.16 +WGET_URL="https://github.com/quadrantsec/sagan-rules/archive/refs/tags/v$VERSION.tar.gz"
    1.17  
    1.18  # What is the latest version available today?
    1.19  current_version()
    1.20  {
    1.21 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.22 -	sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.23 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.24 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.