wok rev 24506

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 20 14:41:23 2022 +0000 (2022-02-20)
parents 669f61f44760
children 26ddfb7b3611
files checker_online/receipt daloradius/receipt dcfldd/receipt dnstop/receipt fpc-bootstrap/receipt fpc-src/receipt fpc/receipt logfsprogs/receipt
line diff
     1.1 --- a/checker_online/receipt	Sun Feb 20 12:07:59 2022 +0000
     1.2 +++ b/checker_online/receipt	Sun Feb 20 14:41:23 2022 +0000
     1.3 @@ -15,7 +15,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
     1.7 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
     1.8 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.
     2.1 --- a/daloradius/receipt	Sun Feb 20 12:07:59 2022 +0000
     2.2 +++ b/daloradius/receipt	Sun Feb 20 14:41:23 2022 +0000
     2.3 @@ -17,7 +17,7 @@
     2.4  current_version()
     2.5  {
     2.6  	wget -O - https://sourceforge.net/projects/daloradius/files/daloradius/ 2>/dev/null | \
     2.7 -	sed '/scope="row/!d;/daloradius\/daloradius/!d;s|.*/daloradius/daloradius-*||;s|/.*||;q'
     2.8 +	sed '/scope="row/!d;/daloradius\/daloradius/!d;/zip/!d;s|.*/daloradius/daloradius-*||;s|.zip.*||;q'
     2.9  }
    2.10  
    2.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/dcfldd/receipt	Sun Feb 20 12:07:59 2022 +0000
     3.2 +++ b/dcfldd/receipt	Sun Feb 20 14:41:23 2022 +0000
     3.3 @@ -17,9 +17,8 @@
     3.4  # What is the latest version available today?
     3.5  current_version()
     3.6  {
     3.7 -	wget -O - https://sourceforge.net/projects/dcfldd/files/dcfldd/ 2>/dev/null | \
     3.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     3.9 -	sed '/scope="row/!d;s|.*/dcfldd/||;s|/.*||;q'
    3.10 +	wget -O - https://github.com/resurrecting-open-source-projects/dcfldd/releases/ 2>/dev/null | \
    3.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    3.12  }
    3.13  
    3.14  # Rules to configure and make the package.
     4.1 --- a/dnstop/receipt	Sun Feb 20 12:07:59 2022 +0000
     4.2 +++ b/dnstop/receipt	Sun Feb 20 14:41:23 2022 +0000
     4.3 @@ -17,8 +17,8 @@
     4.4  # What is the latest version available today?
     4.5  current_version()
     4.6  {
     4.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     4.8 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     4.9 +	wget -O - https://github.com/measurement-factory/$PACKAGE/commits/master 2>/dev/null | \
    4.10 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    4.11  }
    4.12  
    4.13  # Rules to configure and make the package.
     5.1 --- a/fpc-bootstrap/receipt	Sun Feb 20 12:07:59 2022 +0000
     5.2 +++ b/fpc-bootstrap/receipt	Sun Feb 20 14:41:23 2022 +0000
     5.3 @@ -28,7 +28,7 @@
     5.4  current_version()
     5.5  {
     5.6  	wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \
     5.7 -	sed '/-\/tags\/[a-z_]*[0-9]/!d;/_rc/d;s|.*tags/[a-z_]*||;s|".*||;s|_|.|g;q'
     5.8 +	sed '/source-/!d;/tar.gz/!d;/quot;/d;/_rc[0-9]/d;/macos/d;s|.*/source-||;s|.*release.||;s|.tar.*||;s|_|.|g' | sort -Vr | sed q
     5.9  }
    5.10  
    5.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- a/fpc-src/receipt	Sun Feb 20 12:07:59 2022 +0000
     6.2 +++ b/fpc-src/receipt	Sun Feb 20 14:41:23 2022 +0000
     6.3 @@ -16,7 +16,7 @@
     6.4  current_version()
     6.5  {
     6.6  	wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \
     6.7 -	sed '/-\/tags\/[a-z_]*[0-9]/!d;/_rc/d;s|.*tags/[a-z_]*||;s|".*||;s|_|.|g;q'
     6.8 +	sed '/source-/!d;/tar.gz/!d;/quot;/d;/_rc[0-9]/d;/macos/d;s|.*/source-||;s|.*release.||;s|.tar.*||;s|_|.|g' | sort -Vr | sed q
     6.9  }
    6.10  
    6.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- a/fpc/receipt	Sun Feb 20 12:07:59 2022 +0000
     7.2 +++ b/fpc/receipt	Sun Feb 20 14:41:23 2022 +0000
     7.3 @@ -19,10 +19,11 @@
     7.4  DEPENDS="ncurses"
     7.5  BUILD_DEPENDS="fpc-bootstrap"
     7.6  
     7.7 +# What is the latest version available today?
     7.8  current_version()
     7.9  {
    7.10  	wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \
    7.11 -	sed '/source-/!d;s|.*/source-\([\.0-9]*\)\..*|\1|;q'
    7.12 +	sed '/source-/!d;/tar.gz/!d;/quot;/d;/_rc[0-9]/d;/macos/d;s|.*/source-||;s|.*release.||;s|.tar.*||;s|_|.|g' | sort -Vr | sed q
    7.13  }
    7.14  
    7.15  # Handle cross compilation. ARM: fpc-bootstrap build host must be installed
     8.1 --- a/logfsprogs/receipt	Sun Feb 20 12:07:59 2022 +0000
     8.2 +++ b/logfsprogs/receipt	Sun Feb 20 14:41:23 2022 +0000
     8.3 @@ -18,7 +18,7 @@
     8.4  current_version()
     8.5  {
     8.6  	wget -O - https://github.com/prasad-joshi/logfsprogs/commits/master 2>/dev/null | \
     8.7 -	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
     8.8 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
     8.9  }
    8.10  
    8.11  # Rules to configure and make the package.