wok diff icmptx/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
parents b569b85b0fb9
children a66f312c374b
line diff
     1.1 --- a/icmptx/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/icmptx/receipt	Thu May 26 14:53:15 2022 +0000
     1.3 @@ -1,21 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icmptx"
     1.7 -VERSION="0.2"
     1.8 +GITHASH="52df90f374b7d0ae1debee0c1fe1acd74f5e793f"
     1.9 +VERSION="20190501"
    1.10  CATEGORY="network"
    1.11  SHORT_DESC="Tunnel IP connections using ICMP echo request."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -SOURCE="jakkarth-icmptx-0386ff2"
    1.15 -TARBALL="$SOURCE.tar.gz"
    1.16 +TARBALL="$PACKAGE-$PACKAGE.zip"
    1.17  WEB_SITE="https://github.com/jakkarth/icmptx"
    1.18 -WGET_URL="http://download.github.com/$TARBALL"
    1.19 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    1.20  
    1.21  # What is the latest version available today?
    1.22  current_version()
    1.23  {
    1.24 -	wget -O - $WEB_SITE/tags 2>/dev/null | \
    1.25 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.26 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    1.27 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    1.28  }
    1.29  
    1.30  # Rules to configure and make the package.