# HG changeset patch # User Pascal Bellard # Date 1645368083 0 # Node ID 8f37db468deb18c7ccd9430cbe82523b3e38201f # Parent 669f61f44760cee7e4f95a6bdb7f139bb45d4469 Update some current_version diff -r 669f61f44760 -r 8f37db468deb checker_online/receipt --- a/checker_online/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/checker_online/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - $WEB_SITE/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d } # Rules to configure and make the package. diff -r 669f61f44760 -r 8f37db468deb daloradius/receipt --- a/daloradius/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/daloradius/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - https://sourceforge.net/projects/daloradius/files/daloradius/ 2>/dev/null | \ - sed '/scope="row/!d;/daloradius\/daloradius/!d;s|.*/daloradius/daloradius-*||;s|/.*||;q' + sed '/scope="row/!d;/daloradius\/daloradius/!d;/zip/!d;s|.*/daloradius/daloradius-*||;s|.zip.*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 669f61f44760 -r 8f37db468deb dcfldd/receipt --- a/dcfldd/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/dcfldd/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/dcfldd/files/dcfldd/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/dcfldd/||;s|/.*||;q' + wget -O - https://github.com/resurrecting-open-source-projects/dcfldd/releases/ 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 669f61f44760 -r 8f37db468deb dnstop/receipt --- a/dnstop/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/dnstop/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/measurement-factory/$PACKAGE/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to configure and make the package. diff -r 669f61f44760 -r 8f37db468deb fpc-bootstrap/receipt --- a/fpc-bootstrap/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/fpc-bootstrap/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -28,7 +28,7 @@ current_version() { wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \ - sed '/-\/tags\/[a-z_]*[0-9]/!d;/_rc/d;s|.*tags/[a-z_]*||;s|".*||;s|_|.|g;q' + 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 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 669f61f44760 -r 8f37db468deb fpc-src/receipt --- a/fpc-src/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/fpc-src/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -16,7 +16,7 @@ current_version() { wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \ - sed '/-\/tags\/[a-z_]*[0-9]/!d;/_rc/d;s|.*tags/[a-z_]*||;s|".*||;s|_|.|g;q' + 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 } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 669f61f44760 -r 8f37db468deb fpc/receipt --- a/fpc/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/fpc/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -19,10 +19,11 @@ DEPENDS="ncurses" BUILD_DEPENDS="fpc-bootstrap" +# What is the latest version available today? current_version() { wget -O - https://gitlab.com/freepascal.org/fpc/source/-/tags 2>/dev/null | \ - sed '/source-/!d;s|.*/source-\([\.0-9]*\)\..*|\1|;q' + 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 } # Handle cross compilation. ARM: fpc-bootstrap build host must be installed diff -r 669f61f44760 -r 8f37db468deb logfsprogs/receipt --- a/logfsprogs/receipt Sun Feb 20 12:07:59 2022 +0000 +++ b/logfsprogs/receipt Sun Feb 20 14:41:23 2022 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://github.com/prasad-joshi/logfsprogs/commits/master 2>/dev/null | \ - sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to configure and make the package.