# HG changeset patch # User Pascal Bellard # Date 1689680612 0 # Node ID 5db54634559960cc98056e2dd532303c1d883ca4 # Parent a5e183d53960bab85ed39bbdfc5dbbb584edbea2 Update some current_version diff -r a5e183d53960 -r 5db546345599 asterisk/receipt --- a/asterisk/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/asterisk/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -35,7 +35,7 @@ current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - sed '/Available/!d;s|.*Asterisk ||;s|,* .*||;q' + sed '/ecurity/d;/Available/!d;s|.*Asterisk ||;s|,* .*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 backup-manager/receipt --- a/backup-manager/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/backup-manager/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,10 +18,11 @@ CONFIG_FILES="/etc/backup-manager.conf" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|' | sort -Vr | sed q + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 blas/receipt --- a/blas/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/blas/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -8,7 +8,6 @@ LICENSE="BSD" SOURCE="lapack" TARBALL="$SOURCE-$VERSION.tgz" -#WEB_SITE="http://www.netlib.org/lapack" WEB_SITE="https://github.com/xianyi/OpenBLAS" WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" @@ -18,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/LAPACK, version/!d;s|.*version ||;s|<.*||;q' + wget -O - https://github.com/xianyi/OpenBLAS 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 cherrytree/receipt --- a/cherrytree/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/cherrytree/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -14,10 +14,11 @@ DEPENDS="p7zip-full pygtk pygtksourceview python" BUILD_DEPENDS="desktop-file-utils pygtksourceview-dev python" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 diffuse/receipt --- a/diffuse/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/diffuse/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/diffuse/files/diffuse/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/diffuse/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 enet/receipt --- a/enet/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/enet/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/projectnumber/!d;s|.*>v||;s|<.*||' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 faad2/receipt --- a/faad2/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/faad2/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - $WEB_SITE/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 facter/receipt --- a/facter/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/facter/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 fontconfig-infinality/receipt --- a/fontconfig-infinality/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/fontconfig-infinality/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://github.com/bohoomil/fontconfig-ultimate/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-||g;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-||g;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r a5e183d53960 -r 5db546345599 freeradius/receipt --- a/freeradius/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/freeradius/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -24,7 +24,7 @@ current_version() { wget -O - https://github.com/FreeRADIUS/freeradius-server/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 ftgl/receipt --- a/ftgl/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/ftgl/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,9 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/ftgl/files/FTGL%20Source/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*ource/||;s|/.*||;s|~|-|;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 geany/receipt --- a/geany/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/geany/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -31,8 +31,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 gnustep-base/receipt --- a/gnustep-base/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/gnustep-base/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 gtk-gnutella/receipt --- a/gtk-gnutella/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/gtk-gnutella/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -22,7 +22,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' + sed '/tag\/v/!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 gvim/receipt --- a/gvim/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/gvim/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -23,8 +23,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 icu/receipt --- a/icu/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/icu/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -14,8 +14,8 @@ # What is the latest version available today? current_version() { - wget -O - https://icu.unicode.org/download 2>/dev/null | \ - sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-|.|g;q' } DEPENDS="gcc83-lib-base" diff -r a5e183d53960 -r 5db546345599 incron/receipt --- a/incron/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/incron/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/doc/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/doc/d;/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 jack-audio-connection-kit/receipt --- a/jack-audio-connection-kit/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/jack-audio-connection-kit/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 jack1/receipt --- a/jack1/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/jack1/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -23,7 +23,7 @@ current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ - sed '/tags\/[0-9]/!d;/tar/!d;s|.*tags/||;s|.tar.*||;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 jhead/receipt --- a/jhead/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/jhead/receipt Tue Jul 18 11:43:32 2023 +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 - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 jpeg-turbo/receipt --- a/jpeg-turbo/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/jpeg-turbo/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -22,9 +22,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/libjpeg-turbo/files/ 2>/dev/null | \ - sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 lapack/receipt --- a/lapack/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/lapack/receipt Tue Jul 18 11:43:32 2023 +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 - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 lcms2/receipt --- a/lcms2/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/lcms2/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -15,11 +15,11 @@ BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev" SPLIT="lcms2-apps" +# What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 lensfun/receipt --- a/lensfun/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/lensfun/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/lensfun/files/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 leocad-pieces/receipt --- a/leocad-pieces/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/leocad-pieces/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \ - sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q' + sed '/LeoCAD/!d;/tag\//!d;s|.*tag/[A-Za-z ]*||;s|".*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r a5e183d53960 -r 5db546345599 libcaca/receipt --- a/libcaca/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libcaca/receipt Tue Jul 18 11:43:32 2023 +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-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libcdio-paranoia/receipt --- a/libcdio-paranoia/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libcdio-paranoia/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - $WEB_SITE/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|\+|.|;q' + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|%2B|.|;q' } compile_rules() diff -r a5e183d53960 -r 5db546345599 libexif-gtk/receipt --- a/libexif-gtk/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libexif-gtk/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,9 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q' + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libexif/receipt --- a/libexif/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libexif/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -13,10 +13,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ - sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libluv/receipt --- a/libluv/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libluv/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-|.|;q' + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[A-Za-z ]*||;s|".*||;s|-|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libnids/receipt --- a/libnids/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libnids/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,9 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/libnids/files/libnids/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/libnids/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libnl/receipt --- a/libnl/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libnl/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,10 +18,11 @@ # Cross compile needs host flex BUILD_DEPENDS="flex" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/libnl\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libsdl2-ttf/receipt --- a/libsdl2-ttf/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libsdl2-ttf/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -20,8 +20,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libsndfile/receipt --- a/libsndfile/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libsndfile/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -29,8 +29,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/test/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libstatgrab/receipt --- a/libstatgrab/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libstatgrab/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 libunibreak/receipt --- a/libunibreak/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/libunibreak/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,9 +17,10 @@ current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } +# Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && @@ -27,6 +28,7 @@ make install } +# Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* diff -r a5e183d53960 -r 5db546345599 matio/receipt --- a/matio/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/matio/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,9 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/matio/files/matio/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/matio/||;s|/.*||;q' + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 memtest/receipt --- a/memtest/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/memtest/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/tar.gz"/!d;s|.*memtest86.-||;s|.tar.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } asm() diff -r a5e183d53960 -r 5db546345599 miniupnpc/receipt --- a/miniupnpc/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/miniupnpc/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -14,10 +14,11 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;/miniupnpc/!d;s|.*/miniupnpc_\(.*\).tar.*|\1|;s|_|.|g;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 muparser/receipt --- a/muparser/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/muparser/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -14,10 +14,11 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="cmake gcc83" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;s|-|.|g;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 nagios-nsca/receipt --- a/nagios-nsca/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/nagios-nsca/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,10 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \ - sed '/scope="row/!d;/nsca-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/nsca-||;s|.tar.*||;q' + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. compile_rules() diff -r a5e183d53960 -r 5db546345599 nagios-plugins/receipt --- a/nagios-plugins/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/nagios-plugins/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,10 +16,11 @@ BUILD_DEPENDS="automake file libmysqlclient mysql-dev openldap-dev openssl-dev procps radiusclient-ng radiusclient-ng-dev" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 neovim/receipt --- a/neovim/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/neovim/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -25,7 +25,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' + sed '/ightly/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 ninvaders/receipt --- a/ninvaders/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/ninvaders/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,9 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/ninvaders/files/ninvaders/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/ninvaders/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 pcre2/receipt --- a/pcre2/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/pcre2/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,9 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/pcre/files/pcre2/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/pcre2/||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/pcre2-*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 phppgadmin/receipt --- a/phppgadmin/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/phppgadmin/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,10 +17,11 @@ HOST_ARCH="any" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/REL_\(.*\).tar.*|\1|;s|-|.|g;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|-|.|g;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r a5e183d53960 -r 5db546345599 phpvirtualbox/receipt --- a/phpvirtualbox/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/phpvirtualbox/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -13,10 +13,11 @@ DEPENDS="php-soap virtualbox" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r a5e183d53960 -r 5db546345599 popt/receipt --- a/popt/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/popt/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,10 +16,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-release||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 portaudio/receipt --- a/portaudio/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/portaudio/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 proxytunnel/receipt --- a/proxytunnel/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/proxytunnel/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q' + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 puppet/receipt --- a/puppet/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/puppet/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -13,10 +13,11 @@ DEPENDS="ruby facter" BUILD_DEPENDS="ruby-dev facter" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 py3k-cython/receipt --- a/py3k-cython/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/py3k-cython/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,10 +16,11 @@ DEPENDS="py3k" BUILD_DEPENDS="py3k py3k-dev" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 python-cython/receipt --- a/python-cython/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/python-cython/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,10 +16,11 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 qbittorrent/receipt --- a/qbittorrent/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/qbittorrent/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,11 +17,11 @@ geoip openssl-dev" GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" +# What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/rc[&-9]/d;/beta/d;/alpha/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 qjackctl/receipt --- a/qjackctl/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/qjackctl/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -21,9 +21,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q' + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 qtwebkit/receipt --- a/qtwebkit/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/qtwebkit/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -22,7 +22,7 @@ current_version() { wget -O - https://github.com/qtwebkit/qtwebkit/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } compile_rules() diff -r a5e183d53960 -r 5db546345599 recordmydesktop/receipt --- a/recordmydesktop/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/recordmydesktop/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -22,9 +22,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q' + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 rhino/receipt --- a/rhino/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/rhino/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - https://github.com/mozilla/rhino/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/Rhino\(.*\)_Release.tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[A-Za-z_]*||;s|".*||;s|_|.|g;s|.Release||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 rubyripper/receipt --- a/rubyripper/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/rubyripper/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - $WEB_SITE/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 snort/receipt --- a/snort/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/snort/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/snort3/snort3/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 spectrwm/receipt --- a/spectrwm/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/spectrwm/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -21,10 +21,11 @@ CONFIG_FILES="/etc/spectrwm.conf" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/SPECTRWM_\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 sslh/receipt --- a/sslh/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/sslh/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -16,10 +16,11 @@ BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev libcap-dev" SUGGESTED="iptables" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/tags.*tar.gz/!d;s|.*tags/v\(.*\).tar.*|\1|;q' + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 tahoe-lafs/receipt --- a/tahoe-lafs/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/tahoe-lafs/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -19,8 +19,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 - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 tilda/receipt --- a/tilda/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/tilda/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,9 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/tilda/files/tilda/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/tilda-||;s|.tar.*||;q' + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 tree/receipt --- a/tree/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/tree/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 ttf-dejavu/receipt --- a/ttf-dejavu/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/ttf-dejavu/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,10 +17,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { wget -O - https://github.com/dejavu-fonts/dejavu-fonts/releases 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/version_\(.*\).tar.*|\1|;s|_|.|g;q' + sed '/tag\//!d;s|.*tag/[a-z_-]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 vde2/receipt --- a/vde2/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/vde2/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -18,9 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/vde/files/vde2 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/\/vde2/!d;/tar/!d;s|.*/vde2-||;s|.tar.*||;q' + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r a5e183d53960 -r 5db546345599 xalan-c/receipt --- a/xalan-c/receipt Tue Jul 18 09:27:49 2023 +0000 +++ b/xalan-c/receipt Tue Jul 18 11:43:32 2023 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ - sed "/latest/d;/xalan_c-[0-9]/!d;/tar/!d;s|.*xalan_c-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package.