wok rev 25603
Update some current_version
line diff
1.1 --- a/asterisk/receipt Tue Jul 18 09:27:49 2023 +0000 1.2 +++ b/asterisk/receipt Tue Jul 18 11:43:32 2023 +0000 1.3 @@ -35,7 +35,7 @@ 1.4 current_version() 1.5 { 1.6 wget -O - $WEB_SITE 2>/dev/null | \ 1.7 - sed '/Available/!d;s|.*Asterisk ||;s|,* .*||;q' 1.8 + sed '/ecurity/d;/Available/!d;s|.*Asterisk ||;s|,* .*||;q' 1.9 } 1.10 1.11 # Rules to configure and make the package.
2.1 --- a/backup-manager/receipt Tue Jul 18 09:27:49 2023 +0000 2.2 +++ b/backup-manager/receipt Tue Jul 18 11:43:32 2023 +0000 2.3 @@ -18,10 +18,11 @@ 2.4 2.5 CONFIG_FILES="/etc/backup-manager.conf" 2.6 2.7 +# What is the latest version available today? 2.8 current_version() 2.9 { 2.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 2.11 - sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|' | sort -Vr | sed q 2.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 2.13 } 2.14 2.15 # Rules to configure and make the package.
3.1 --- a/blas/receipt Tue Jul 18 09:27:49 2023 +0000 3.2 +++ b/blas/receipt Tue Jul 18 11:43:32 2023 +0000 3.3 @@ -8,7 +8,6 @@ 3.4 LICENSE="BSD" 3.5 SOURCE="lapack" 3.6 TARBALL="$SOURCE-$VERSION.tgz" 3.7 -#WEB_SITE="http://www.netlib.org/lapack" 3.8 WEB_SITE="https://github.com/xianyi/OpenBLAS" 3.9 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" 3.10 3.11 @@ -18,8 +17,8 @@ 3.12 # What is the latest version available today? 3.13 current_version() 3.14 { 3.15 - wget -O - $WEB_SITE 2>/dev/null | \ 3.16 - sed '/LAPACK, version/!d;s|.*version ||;s|<.*||;q' 3.17 + wget -O - https://github.com/xianyi/OpenBLAS 2>/dev/null | \ 3.18 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 3.19 } 3.20 3.21 # Rules to configure and make the package.
4.1 --- a/cherrytree/receipt Tue Jul 18 09:27:49 2023 +0000 4.2 +++ b/cherrytree/receipt Tue Jul 18 11:43:32 2023 +0000 4.3 @@ -14,10 +14,11 @@ 4.4 DEPENDS="p7zip-full pygtk pygtksourceview python" 4.5 BUILD_DEPENDS="desktop-file-utils pygtksourceview-dev python" 4.6 4.7 +# What is the latest version available today? 4.8 current_version() 4.9 { 4.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 4.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 4.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 4.13 } 4.14 4.15 # Rules to configure and make the package.
5.1 --- a/diffuse/receipt Tue Jul 18 09:27:49 2023 +0000 5.2 +++ b/diffuse/receipt Tue Jul 18 11:43:32 2023 +0000 5.3 @@ -17,9 +17,8 @@ 5.4 # What is the latest version available today? 5.5 current_version() 5.6 { 5.7 - wget -O - https://sourceforge.net/projects/diffuse/files/diffuse/ 2>/dev/null | \ 5.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 5.9 - sed '/scope="row/!d;s|.*/diffuse/||;s|/.*||;q' 5.10 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 5.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 5.12 } 5.13 5.14 # Rules to configure and make the package.
6.1 --- a/enet/receipt Tue Jul 18 09:27:49 2023 +0000 6.2 +++ b/enet/receipt Tue Jul 18 11:43:32 2023 +0000 6.3 @@ -16,8 +16,8 @@ 6.4 # What is the latest version available today? 6.5 current_version() 6.6 { 6.7 - wget -O - $WEB_SITE 2>/dev/null | \ 6.8 - sed '/projectnumber/!d;s|.*>v||;s|<.*||' 6.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 6.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 6.11 } 6.12 6.13 # Rules to configure and make the package.
7.1 --- a/faad2/receipt Tue Jul 18 09:27:49 2023 +0000 7.2 +++ b/faad2/receipt Tue Jul 18 11:43:32 2023 +0000 7.3 @@ -15,7 +15,7 @@ 7.4 current_version() 7.5 { 7.6 wget -O - $WEB_SITE/releases 2>/dev/null | \ 7.7 - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' 7.8 + sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q' 7.9 } 7.10 7.11 # Rules to configure and make the package.
8.1 --- a/facter/receipt Tue Jul 18 09:27:49 2023 +0000 8.2 +++ b/facter/receipt Tue Jul 18 11:43:32 2023 +0000 8.3 @@ -16,8 +16,8 @@ 8.4 # What is the latest version available today? 8.5 current_version() 8.6 { 8.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 8.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 8.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 8.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 8.11 } 8.12 8.13 # Rules to configure and make the package.
9.1 --- a/fontconfig-infinality/receipt Tue Jul 18 09:27:49 2023 +0000 9.2 +++ b/fontconfig-infinality/receipt Tue Jul 18 11:43:32 2023 +0000 9.3 @@ -18,7 +18,7 @@ 9.4 current_version() 9.5 { 9.6 wget -O - https://github.com/bohoomil/fontconfig-ultimate/releases 2>/dev/null | \ 9.7 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-||g;q' 9.8 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-||g;q' 9.9 } 9.10 9.11 # Rules to gen a SliTaz package suitable for Tazpkg.
10.1 --- a/freeradius/receipt Tue Jul 18 09:27:49 2023 +0000 10.2 +++ b/freeradius/receipt Tue Jul 18 11:43:32 2023 +0000 10.3 @@ -24,7 +24,7 @@ 10.4 current_version() 10.5 { 10.6 wget -O - https://github.com/FreeRADIUS/freeradius-server/releases 2>/dev/null | \ 10.7 - sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' 10.8 + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' 10.9 } 10.10 10.11 # Rules to configure and make the package.
11.1 --- a/ftgl/receipt Tue Jul 18 09:27:49 2023 +0000 11.2 +++ b/ftgl/receipt Tue Jul 18 11:43:32 2023 +0000 11.3 @@ -18,9 +18,8 @@ 11.4 # What is the latest version available today? 11.5 current_version() 11.6 { 11.7 - wget -O - https://sourceforge.net/projects/ftgl/files/FTGL%20Source/ 2>/dev/null | \ 11.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 11.9 - sed '/scope="row/!d;s|.*ource/||;s|/.*||;s|~|-|;q' 11.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 11.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 11.12 } 11.13 11.14 # Rules to configure and make the package.
12.1 --- a/geany/receipt Tue Jul 18 09:27:49 2023 +0000 12.2 +++ b/geany/receipt Tue Jul 18 11:43:32 2023 +0000 12.3 @@ -31,8 +31,8 @@ 12.4 # What is the latest version available today? 12.5 current_version() 12.6 { 12.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 12.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 12.9 + wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ 12.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 12.11 } 12.12 12.13 # Rules to configure and make the package.
13.1 --- a/gnustep-base/receipt Tue Jul 18 09:27:49 2023 +0000 13.2 +++ b/gnustep-base/receipt Tue Jul 18 11:43:32 2023 +0000 13.3 @@ -19,8 +19,8 @@ 13.4 # What is the latest version available today? 13.5 current_version() 13.6 { 13.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 13.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 13.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 13.10 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q' 13.11 } 13.12 13.13 # Rules to configure and make the package.
14.1 --- a/gtk-gnutella/receipt Tue Jul 18 09:27:49 2023 +0000 14.2 +++ b/gtk-gnutella/receipt Tue Jul 18 11:43:32 2023 +0000 14.3 @@ -22,7 +22,7 @@ 14.4 current_version() 14.5 { 14.6 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 14.7 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 14.8 + sed '/tag\/v/!d;s|.*tag/v*||;s|".*||;q' 14.9 } 14.10 14.11 # Rules to configure and make the package.
15.1 --- a/gvim/receipt Tue Jul 18 09:27:49 2023 +0000 15.2 +++ b/gvim/receipt Tue Jul 18 11:43:32 2023 +0000 15.3 @@ -23,8 +23,8 @@ 15.4 # What is the latest version available today? 15.5 current_version() 15.6 { 15.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 15.8 - sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q 15.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 15.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 15.11 } 15.12 15.13 # Rules to configure and make the package.
16.1 --- a/icu/receipt Tue Jul 18 09:27:49 2023 +0000 16.2 +++ b/icu/receipt Tue Jul 18 11:43:32 2023 +0000 16.3 @@ -14,8 +14,8 @@ 16.4 # What is the latest version available today? 16.5 current_version() 16.6 { 16.7 - wget -O - https://icu.unicode.org/download 2>/dev/null | \ 16.8 - sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q' 16.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 16.10 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-|.|g;q' 16.11 } 16.12 16.13 DEPENDS="gcc83-lib-base"
17.1 --- a/incron/receipt Tue Jul 18 09:27:49 2023 +0000 17.2 +++ b/incron/receipt Tue Jul 18 11:43:32 2023 +0000 17.3 @@ -18,8 +18,8 @@ 17.4 # What is the latest version available today? 17.5 current_version() 17.6 { 17.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 17.8 - sed "/doc/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 17.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 17.10 + sed '/doc/d;/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 17.11 } 17.12 17.13 # Rules to configure and make the package.
18.1 --- a/jack-audio-connection-kit/receipt Tue Jul 18 09:27:49 2023 +0000 18.2 +++ b/jack-audio-connection-kit/receipt Tue Jul 18 11:43:32 2023 +0000 18.3 @@ -20,8 +20,8 @@ 18.4 # What is the latest version available today? 18.5 current_version() 18.6 { 18.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 18.8 - sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q' 18.9 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 18.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 18.11 } 18.12 18.13 # Rules to configure and make the package.
19.1 --- a/jack1/receipt Tue Jul 18 09:27:49 2023 +0000 19.2 +++ b/jack1/receipt Tue Jul 18 11:43:32 2023 +0000 19.3 @@ -23,7 +23,7 @@ 19.4 current_version() 19.5 { 19.6 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 19.7 - sed '/tags\/[0-9]/!d;/tar/!d;s|.*tags/||;s|.tar.*||;q' 19.8 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 19.9 } 19.10 19.11 # Rules to configure and make the package.
20.1 --- a/jhead/receipt Tue Jul 18 09:27:49 2023 +0000 20.2 +++ b/jhead/receipt Tue Jul 18 11:43:32 2023 +0000 20.3 @@ -17,8 +17,8 @@ 20.4 # What is the latest version available today? 20.5 current_version() 20.6 { 20.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 20.8 - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 20.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 20.10 + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 20.11 } 20.12 20.13 # Rules to configure and make the package.
21.1 --- a/jpeg-turbo/receipt Tue Jul 18 09:27:49 2023 +0000 21.2 +++ b/jpeg-turbo/receipt Tue Jul 18 11:43:32 2023 +0000 21.3 @@ -22,9 +22,8 @@ 21.4 # What is the latest version available today? 21.5 current_version() 21.6 { 21.7 - wget -O - https://sourceforge.net/projects/libjpeg-turbo/files/ 2>/dev/null | \ 21.8 - sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 21.9 - sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' 21.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 21.11 + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 21.12 } 21.13 21.14 # Rules to configure and make the package.
22.1 --- a/lapack/receipt Tue Jul 18 09:27:49 2023 +0000 22.2 +++ b/lapack/receipt Tue Jul 18 11:43:32 2023 +0000 22.3 @@ -17,8 +17,8 @@ 22.4 # What is the latest version available today? 22.5 current_version() 22.6 { 22.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 22.8 - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 22.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 22.10 + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 22.11 } 22.12 22.13 # Rules to configure and make the package.
23.1 --- a/lcms2/receipt Tue Jul 18 09:27:49 2023 +0000 23.2 +++ b/lcms2/receipt Tue Jul 18 11:43:32 2023 +0000 23.3 @@ -15,11 +15,11 @@ 23.4 BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev" 23.5 SPLIT="lcms2-apps" 23.6 23.7 +# What is the latest version available today? 23.8 current_version() 23.9 { 23.10 - wget -O - https://sourceforge.net/projects/lcms/files/lcms/ 2>/dev/null | \ 23.11 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 23.12 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 23.13 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 23.14 + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 23.15 } 23.16 23.17 # Rules to configure and make the package.
24.1 --- a/lensfun/receipt Tue Jul 18 09:27:49 2023 +0000 24.2 +++ b/lensfun/receipt Tue Jul 18 11:43:32 2023 +0000 24.3 @@ -17,9 +17,8 @@ 24.4 # What is the latest version available today? 24.5 current_version() 24.6 { 24.7 - wget -O - https://sourceforge.net/projects/lensfun/files/ 2>/dev/null | \ 24.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 24.9 - sed '/scope="row/!d;s|.*/files/||;s|/.*||;q' 24.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 24.11 + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 24.12 } 24.13 24.14 # Rules to configure and make the package.
25.1 --- a/leocad-pieces/receipt Tue Jul 18 09:27:49 2023 +0000 25.2 +++ b/leocad-pieces/receipt Tue Jul 18 11:43:32 2023 +0000 25.3 @@ -15,7 +15,7 @@ 25.4 current_version() 25.5 { 25.6 wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \ 25.7 - sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q' 25.8 + sed '/LeoCAD/!d;/tag\//!d;s|.*tag/[A-Za-z ]*||;s|".*||;q' 25.9 } 25.10 25.11 # Rules to gen a SliTaz package suitable for Tazpkg.
26.1 --- a/libcaca/receipt Tue Jul 18 09:27:49 2023 +0000 26.2 +++ b/libcaca/receipt Tue Jul 18 11:43:32 2023 +0000 26.3 @@ -17,8 +17,8 @@ 26.4 # What is the latest version available today? 26.5 current_version() 26.6 { 26.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 26.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 26.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 26.10 + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 26.11 } 26.12 26.13 # Rules to configure and make the package.
27.1 --- a/libcdio-paranoia/receipt Tue Jul 18 09:27:49 2023 +0000 27.2 +++ b/libcdio-paranoia/receipt Tue Jul 18 11:43:32 2023 +0000 27.3 @@ -18,7 +18,7 @@ 27.4 current_version() 27.5 { 27.6 wget -O - $WEB_SITE/releases 2>/dev/null | \ 27.7 - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|\+|.|;q' 27.8 + sed '/latest/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|%2B|.|;q' 27.9 } 27.10 27.11 compile_rules()
28.1 --- a/libexif-gtk/receipt Tue Jul 18 09:27:49 2023 +0000 28.2 +++ b/libexif-gtk/receipt Tue Jul 18 11:43:32 2023 +0000 28.3 @@ -19,9 +19,8 @@ 28.4 # What is the latest version available today? 28.5 current_version() 28.6 { 28.7 - wget -O - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \ 28.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 28.9 - sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q' 28.10 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 28.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 28.12 } 28.13 28.14 # Rules to configure and make the package.
29.1 --- a/libexif/receipt Tue Jul 18 09:27:49 2023 +0000 29.2 +++ b/libexif/receipt Tue Jul 18 11:43:32 2023 +0000 29.3 @@ -13,10 +13,11 @@ 29.4 29.5 HOST_ARCH="i486 arm" 29.6 29.7 +# What is the latest version available today? 29.8 current_version() 29.9 { 29.10 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 29.11 - sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q' 29.12 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|_|.|g;q' 29.13 } 29.14 29.15 # Rules to configure and make the package.
30.1 --- a/libluv/receipt Tue Jul 18 09:27:49 2023 +0000 30.2 +++ b/libluv/receipt Tue Jul 18 11:43:32 2023 +0000 30.3 @@ -18,8 +18,8 @@ 30.4 # What is the latest version available today? 30.5 current_version() 30.6 { 30.7 - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 30.8 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|-|.|;q' 30.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 30.10 + sed '/tag\//!d;s|.*tag/[A-Za-z ]*||;s|".*||;s|-|.|g;q' 30.11 } 30.12 30.13 # Rules to configure and make the package.
31.1 --- a/libnids/receipt Tue Jul 18 09:27:49 2023 +0000 31.2 +++ b/libnids/receipt Tue Jul 18 11:43:32 2023 +0000 31.3 @@ -16,9 +16,8 @@ 31.4 # What is the latest version available today? 31.5 current_version() 31.6 { 31.7 - wget -O - https://sourceforge.net/projects/libnids/files/libnids/ 2>/dev/null | \ 31.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 31.9 - sed '/scope="row/!d;s|.*/libnids/||;s|/.*||;q' 31.10 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 31.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 31.12 } 31.13 31.14 # Rules to configure and make the package.
32.1 --- a/libnl/receipt Tue Jul 18 09:27:49 2023 +0000 32.2 +++ b/libnl/receipt Tue Jul 18 11:43:32 2023 +0000 32.3 @@ -18,10 +18,11 @@ 32.4 # Cross compile needs host flex 32.5 BUILD_DEPENDS="flex" 32.6 32.7 +# What is the latest version available today? 32.8 current_version() 32.9 { 32.10 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 32.11 - sed '/archive.*tar/!d;s|.*/libnl\(.*\).tar.*|\1|;s|_|.|g;q' 32.12 + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' 32.13 } 32.14 32.15 # Rules to configure and make the package.
33.1 --- a/libsdl2-ttf/receipt Tue Jul 18 09:27:49 2023 +0000 33.2 +++ b/libsdl2-ttf/receipt Tue Jul 18 11:43:32 2023 +0000 33.3 @@ -20,8 +20,8 @@ 33.4 # What is the latest version available today? 33.5 current_version() 33.6 { 33.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 33.8 - sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 33.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 33.10 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 33.11 } 33.12 33.13 # Rules to configure and make the package.
34.1 --- a/libsndfile/receipt Tue Jul 18 09:27:49 2023 +0000 34.2 +++ b/libsndfile/receipt Tue Jul 18 11:43:32 2023 +0000 34.3 @@ -29,8 +29,8 @@ 34.4 # What is the latest version available today? 34.5 current_version() 34.6 { 34.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 34.8 - sed "/test/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 34.9 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 34.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 34.11 } 34.12 34.13 # Rules to configure and make the package.
35.1 --- a/libstatgrab/receipt Tue Jul 18 09:27:49 2023 +0000 35.2 +++ b/libstatgrab/receipt Tue Jul 18 11:43:32 2023 +0000 35.3 @@ -18,7 +18,7 @@ 35.4 current_version() 35.5 { 35.6 wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \ 35.7 - sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' 35.8 + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;;q' 35.9 } 35.10 35.11 # Rules to configure and make the package.
36.1 --- a/libunibreak/receipt Tue Jul 18 09:27:49 2023 +0000 36.2 +++ b/libunibreak/receipt Tue Jul 18 11:43:32 2023 +0000 36.3 @@ -17,9 +17,10 @@ 36.4 current_version() 36.5 { 36.6 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 36.7 - sed '/archive.*tar/!d;s|.*/[a-z_]*\(.*\).tar.*|\1|;s|_|.|g;q' 36.8 + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' 36.9 } 36.10 36.11 +# Rules to configure and make the package. 36.12 compile_rules() 36.13 { 36.14 ./configure $CONFIGURE_ARGS && 36.15 @@ -27,6 +28,7 @@ 36.16 make install 36.17 } 36.18 36.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 36.20 genpkg_rules() 36.21 { 36.22 cook_copy_files *.so*
37.1 --- a/matio/receipt Tue Jul 18 09:27:49 2023 +0000 37.2 +++ b/matio/receipt Tue Jul 18 11:43:32 2023 +0000 37.3 @@ -16,9 +16,8 @@ 37.4 # What is the latest version available today? 37.5 current_version() 37.6 { 37.7 - wget -O - https://sourceforge.net/projects/matio/files/matio/ 2>/dev/null | \ 37.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 37.9 - sed '/scope="row/!d;s|.*/matio/||;s|/.*||;q' 37.10 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 37.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 37.12 } 37.13 37.14 # Rules to configure and make the package.
38.1 --- a/memtest/receipt Tue Jul 18 09:27:49 2023 +0000 38.2 +++ b/memtest/receipt Tue Jul 18 11:43:32 2023 +0000 38.3 @@ -16,8 +16,8 @@ 38.4 # What is the latest version available today? 38.5 current_version() 38.6 { 38.7 - wget -O - $WEB_SITE 2>/dev/null | \ 38.8 - sed '/tar.gz"/!d;s|.*memtest86.-||;s|.tar.*||;q' 38.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 38.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 38.11 } 38.12 38.13 asm()
39.1 --- a/miniupnpc/receipt Tue Jul 18 09:27:49 2023 +0000 39.2 +++ b/miniupnpc/receipt Tue Jul 18 11:43:32 2023 +0000 39.3 @@ -14,10 +14,11 @@ 39.4 DEPENDS="" 39.5 BUILD_DEPENDS="" 39.6 39.7 +# What is the latest version available today? 39.8 current_version() 39.9 { 39.10 - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 39.11 - sed '/archive.*tar/!d;/miniupnpc/!d;s|.*/miniupnpc_\(.*\).tar.*|\1|;s|_|.|g;q' 39.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 39.13 + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' 39.14 } 39.15 39.16 # Rules to configure and make the package.
40.1 --- a/muparser/receipt Tue Jul 18 09:27:49 2023 +0000 40.2 +++ b/muparser/receipt Tue Jul 18 11:43:32 2023 +0000 40.3 @@ -14,10 +14,11 @@ 40.4 DEPENDS="gcc83-lib-base" 40.5 BUILD_DEPENDS="cmake gcc83" 40.6 40.7 +# What is the latest version available today? 40.8 current_version() 40.9 { 40.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 40.11 - sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;s|-|.|g;q' 40.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|g;q' 40.13 } 40.14 40.15 # Rules to configure and make the package.
41.1 --- a/nagios-nsca/receipt Tue Jul 18 09:27:49 2023 +0000 41.2 +++ b/nagios-nsca/receipt Tue Jul 18 11:43:32 2023 +0000 41.3 @@ -19,10 +19,8 @@ 41.4 # What is the latest version available today? 41.5 current_version() 41.6 { 41.7 - wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \ 41.8 - sed '/scope="row/!d;/nsca-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 41.9 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 41.10 - sed '/scope="row/!d;s|.*/nsca-||;s|.tar.*||;q' 41.11 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 41.12 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 41.13 } 41.14 # Rules to configure and make the package. 41.15 compile_rules()
42.1 --- a/nagios-plugins/receipt Tue Jul 18 09:27:49 2023 +0000 42.2 +++ b/nagios-plugins/receipt Tue Jul 18 11:43:32 2023 +0000 42.3 @@ -16,10 +16,11 @@ 42.4 BUILD_DEPENDS="automake file libmysqlclient mysql-dev openldap-dev openssl-dev 42.5 procps radiusclient-ng radiusclient-ng-dev" 42.6 42.7 +# What is the latest version available today? 42.8 current_version() 42.9 { 42.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 42.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 42.12 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 42.13 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 42.14 } 42.15 42.16 # Rules to configure and make the package.
43.1 --- a/neovim/receipt Tue Jul 18 09:27:49 2023 +0000 43.2 +++ b/neovim/receipt Tue Jul 18 11:43:32 2023 +0000 43.3 @@ -25,7 +25,7 @@ 43.4 current_version() 43.5 { 43.6 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 43.7 - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 43.8 + sed '/ightly/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' 43.9 } 43.10 43.11 # Rules to configure and make the package.
44.1 --- a/ninvaders/receipt Tue Jul 18 09:27:49 2023 +0000 44.2 +++ b/ninvaders/receipt Tue Jul 18 11:43:32 2023 +0000 44.3 @@ -18,9 +18,8 @@ 44.4 # What is the latest version available today? 44.5 current_version() 44.6 { 44.7 - wget -O - https://sourceforge.net/projects/ninvaders/files/ninvaders/ 2>/dev/null | \ 44.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 44.9 - sed '/scope="row/!d;s|.*/ninvaders/||;s|/.*||;q' 44.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 44.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 44.12 } 44.13 44.14 # Rules to configure and make the package.
45.1 --- a/pcre2/receipt Tue Jul 18 09:27:49 2023 +0000 45.2 +++ b/pcre2/receipt Tue Jul 18 11:43:32 2023 +0000 45.3 @@ -18,9 +18,8 @@ 45.4 # What is the latest version available today? 45.5 current_version() 45.6 { 45.7 - wget -O - https://sourceforge.net/projects/pcre/files/pcre2/ 2>/dev/null | \ 45.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 45.9 - sed '/scope="row/!d;s|.*/pcre2/||;s|/.*||;q' 45.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 45.11 + sed '/tag\//!d;s|.*tag/pcre2-*||;s|".*||;q' 45.12 } 45.13 45.14 # Rules to configure and make the package.
46.1 --- a/phppgadmin/receipt Tue Jul 18 09:27:49 2023 +0000 46.2 +++ b/phppgadmin/receipt Tue Jul 18 11:43:32 2023 +0000 46.3 @@ -17,10 +17,11 @@ 46.4 46.5 HOST_ARCH="any" 46.6 46.7 +# What is the latest version available today? 46.8 current_version() 46.9 { 46.10 - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 46.11 - sed '/archive.*tar/!d;s|.*/REL_\(.*\).tar.*|\1|;s|-|.|g;q' 46.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 46.13 + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|-|.|g;q' 46.14 } 46.15 46.16 # Rules to gen a SliTaz package suitable for Tazpkg.
47.1 --- a/phpvirtualbox/receipt Tue Jul 18 09:27:49 2023 +0000 47.2 +++ b/phpvirtualbox/receipt Tue Jul 18 11:43:32 2023 +0000 47.3 @@ -13,10 +13,11 @@ 47.4 47.5 DEPENDS="php-soap virtualbox" 47.6 47.7 +# What is the latest version available today? 47.8 current_version() 47.9 { 47.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 47.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q' 47.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;s|-|.|;q' 47.13 } 47.14 47.15 # Rules to gen a SliTaz package suitable for Tazpkg.
48.1 --- a/popt/receipt Tue Jul 18 09:27:49 2023 +0000 48.2 +++ b/popt/receipt Tue Jul 18 11:43:32 2023 +0000 48.3 @@ -16,10 +16,11 @@ 48.4 48.5 HOST_ARCH="i486 arm" 48.6 48.7 +# What is the latest version available today? 48.8 current_version() 48.9 { 48.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 48.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 48.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 48.13 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;s|-release||;q' 48.14 } 48.15 48.16 # Rules to configure and make the package.
49.1 --- a/portaudio/receipt Tue Jul 18 09:27:49 2023 +0000 49.2 +++ b/portaudio/receipt Tue Jul 18 11:43:32 2023 +0000 49.3 @@ -19,8 +19,8 @@ 49.4 # What is the latest version available today? 49.5 current_version() 49.6 { 49.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 49.8 - sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q 49.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 49.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 49.11 } 49.12 49.13 # Rules to configure and make the package.
50.1 --- a/proxytunnel/receipt Tue Jul 18 09:27:49 2023 +0000 50.2 +++ b/proxytunnel/receipt Tue Jul 18 11:43:32 2023 +0000 50.3 @@ -17,9 +17,8 @@ 50.4 # What is the latest version available today? 50.5 current_version() 50.6 { 50.7 - wget -O - https://sourceforge.net/projects/proxytunnel/files/proxytunnel%20source%20tarballs/ 2>/dev/null | \ 50.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 50.9 - sed '/scope="row/!d;s|.*/proxytunnel%20||;s|/.*||;q' 50.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 50.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 50.12 } 50.13 50.14 # Rules to configure and make the package.
51.1 --- a/puppet/receipt Tue Jul 18 09:27:49 2023 +0000 51.2 +++ b/puppet/receipt Tue Jul 18 11:43:32 2023 +0000 51.3 @@ -13,10 +13,11 @@ 51.4 DEPENDS="ruby facter" 51.5 BUILD_DEPENDS="ruby-dev facter" 51.6 51.7 +# What is the latest version available today? 51.8 current_version() 51.9 { 51.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 51.11 - sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 51.12 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 51.13 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 51.14 } 51.15 51.16 # Rules to configure and make the package.
52.1 --- a/py3k-cython/receipt Tue Jul 18 09:27:49 2023 +0000 52.2 +++ b/py3k-cython/receipt Tue Jul 18 11:43:32 2023 +0000 52.3 @@ -16,10 +16,11 @@ 52.4 DEPENDS="py3k" 52.5 BUILD_DEPENDS="py3k py3k-dev" 52.6 52.7 +# What is the latest version available today? 52.8 current_version() 52.9 { 52.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 52.11 - sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' 52.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 52.13 } 52.14 52.15 # Rules to configure and make the package.
53.1 --- a/python-cython/receipt Tue Jul 18 09:27:49 2023 +0000 53.2 +++ b/python-cython/receipt Tue Jul 18 11:43:32 2023 +0000 53.3 @@ -16,10 +16,11 @@ 53.4 DEPENDS="python" 53.5 BUILD_DEPENDS="python python-dev" 53.6 53.7 +# What is the latest version available today? 53.8 current_version() 53.9 { 53.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 53.11 - sed '/archive.*tar/!d;/[0-9]a[0-9]/d;s|.*/\(.*\).tar.*|\1|;q' 53.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 53.13 } 53.14 53.15 # Rules to configure and make the package.
54.1 --- a/qbittorrent/receipt Tue Jul 18 09:27:49 2023 +0000 54.2 +++ b/qbittorrent/receipt Tue Jul 18 11:43:32 2023 +0000 54.3 @@ -17,11 +17,11 @@ 54.4 geoip openssl-dev" 54.5 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" 54.6 54.7 +# What is the latest version available today? 54.8 current_version() 54.9 { 54.10 - wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ 54.11 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 54.12 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 54.13 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 54.14 + sed '/rc[&-9]/d;/beta/d;/alpha/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 54.15 } 54.16 54.17 # Rules to configure and make the package.
55.1 --- a/qjackctl/receipt Tue Jul 18 09:27:49 2023 +0000 55.2 +++ b/qjackctl/receipt Tue Jul 18 11:43:32 2023 +0000 55.3 @@ -21,9 +21,8 @@ 55.4 # What is the latest version available today? 55.5 current_version() 55.6 { 55.7 - wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \ 55.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 55.9 - sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q' 55.10 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 55.11 + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' 55.12 } 55.13 55.14 # Rules to configure and make the package.
56.1 --- a/qtwebkit/receipt Tue Jul 18 09:27:49 2023 +0000 56.2 +++ b/qtwebkit/receipt Tue Jul 18 11:43:32 2023 +0000 56.3 @@ -22,7 +22,7 @@ 56.4 current_version() 56.5 { 56.6 wget -O - https://github.com/qtwebkit/qtwebkit/tags 2>/dev/null | \ 56.7 - sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q' 56.8 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 56.9 } 56.10 56.11 compile_rules()
57.1 --- a/recordmydesktop/receipt Tue Jul 18 09:27:49 2023 +0000 57.2 +++ b/recordmydesktop/receipt Tue Jul 18 11:43:32 2023 +0000 57.3 @@ -22,9 +22,8 @@ 57.4 # What is the latest version available today? 57.5 current_version() 57.6 { 57.7 - wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \ 57.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 57.9 - sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q' 57.10 + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 57.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 57.12 } 57.13 57.14 # Rules to configure and make the package.
58.1 --- a/rhino/receipt Tue Jul 18 09:27:49 2023 +0000 58.2 +++ b/rhino/receipt Tue Jul 18 11:43:32 2023 +0000 58.3 @@ -20,7 +20,7 @@ 58.4 current_version() 58.5 { 58.6 wget -O - https://github.com/mozilla/rhino/releases 2>/dev/null | \ 58.7 - sed '/archive.*tar/!d;s|.*/Rhino\(.*\)_Release.tar.*|\1|;s|_|.|g;q' 58.8 + sed '/tag\//!d;s|.*tag/[A-Za-z_]*||;s|".*||;s|_|.|g;s|.Release||;q' 58.9 } 58.10 58.11 # Rules to configure and make the package.
59.1 --- a/rubyripper/receipt Tue Jul 18 09:27:49 2023 +0000 59.2 +++ b/rubyripper/receipt Tue Jul 18 11:43:32 2023 +0000 59.3 @@ -19,7 +19,7 @@ 59.4 current_version() 59.5 { 59.6 wget -O - $WEB_SITE/tags 2>/dev/null | \ 59.7 - sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 59.8 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 59.9 } 59.10 59.11 # Rules to configure and make the package.
60.1 --- a/snort/receipt Tue Jul 18 09:27:49 2023 +0000 60.2 +++ b/snort/receipt Tue Jul 18 11:43:32 2023 +0000 60.3 @@ -18,8 +18,8 @@ 60.4 # What is the latest version available today? 60.5 current_version() 60.6 { 60.7 - wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ 60.8 - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 60.9 + wget -O - https://github.com/snort3/snort3/tags 2>/dev/null | \ 60.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 60.11 } 60.12 60.13 # Rules to configure and make the package.
61.1 --- a/spectrwm/receipt Tue Jul 18 09:27:49 2023 +0000 61.2 +++ b/spectrwm/receipt Tue Jul 18 11:43:32 2023 +0000 61.3 @@ -21,10 +21,11 @@ 61.4 61.5 CONFIG_FILES="/etc/spectrwm.conf" 61.6 61.7 +# What is the latest version available today? 61.8 current_version() 61.9 { 61.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 61.11 - sed '/archive.*tar/!d;s|.*/SPECTRWM_\(.*\).tar.*|\1|;s|_|.|g;q' 61.12 + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;q' 61.13 } 61.14 61.15 # Rules to configure and make the package.
62.1 --- a/sslh/receipt Tue Jul 18 09:27:49 2023 +0000 62.2 +++ b/sslh/receipt Tue Jul 18 11:43:32 2023 +0000 62.3 @@ -16,10 +16,11 @@ 62.4 BUILD_DEPENDS="libwrap-dev libwrap libconfig-dev libcap-dev" 62.5 SUGGESTED="iptables" 62.6 62.7 +# What is the latest version available today? 62.8 current_version() 62.9 { 62.10 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 62.11 - sed '/tags.*tar.gz/!d;s|.*tags/v\(.*\).tar.*|\1|;q' 62.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 62.13 } 62.14 62.15 # Rules to configure and make the package.
63.1 --- a/tahoe-lafs/receipt Tue Jul 18 09:27:49 2023 +0000 63.2 +++ b/tahoe-lafs/receipt Tue Jul 18 11:43:32 2023 +0000 63.3 @@ -19,8 +19,8 @@ 63.4 # What is the latest version available today? 63.5 current_version() 63.6 { 63.7 - wget -O - ${WGET_URL%/*} 2>/dev/null | \ 63.8 - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 63.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 63.10 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 63.11 } 63.12 63.13 # Rules to configure and make the package.
64.1 --- a/tilda/receipt Tue Jul 18 09:27:49 2023 +0000 64.2 +++ b/tilda/receipt Tue Jul 18 11:43:32 2023 +0000 64.3 @@ -17,9 +17,8 @@ 64.4 # What is the latest version available today? 64.5 current_version() 64.6 { 64.7 - wget -O - https://sourceforge.net/projects/tilda/files/tilda/ 2>/dev/null | \ 64.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 64.9 - sed '/scope="row/!d;s|.*/tilda-||;s|.tar.*||;q' 64.10 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 64.11 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 64.12 } 64.13 64.14 # Rules to configure and make the package.
65.1 --- a/tree/receipt Tue Jul 18 09:27:49 2023 +0000 65.2 +++ b/tree/receipt Tue Jul 18 11:43:32 2023 +0000 65.3 @@ -18,8 +18,8 @@ 65.4 # What is the latest version available today? 65.5 current_version() 65.6 { 65.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 65.8 - sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q 65.9 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 65.10 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 65.11 } 65.12 65.13 # Rules to configure and make the package.
66.1 --- a/ttf-dejavu/receipt Tue Jul 18 09:27:49 2023 +0000 66.2 +++ b/ttf-dejavu/receipt Tue Jul 18 11:43:32 2023 +0000 66.3 @@ -17,10 +17,11 @@ 66.4 66.5 HOST_ARCH="i486 arm" 66.6 66.7 +# What is the latest version available today? 66.8 current_version() 66.9 { 66.10 wget -O - https://github.com/dejavu-fonts/dejavu-fonts/releases 2>/dev/null | \ 66.11 - sed '/archive.*tar/!d;s|.*/version_\(.*\).tar.*|\1|;s|_|.|g;q' 66.12 + sed '/tag\//!d;s|.*tag/[a-z_-]*||;s|".*||;s|_|.|g;q' 66.13 } 66.14 66.15 # Rules to configure and make the package.
67.1 --- a/vde2/receipt Tue Jul 18 09:27:49 2023 +0000 67.2 +++ b/vde2/receipt Tue Jul 18 11:43:32 2023 +0000 67.3 @@ -18,9 +18,8 @@ 67.4 # What is the latest version available today? 67.5 current_version() 67.6 { 67.7 - wget -O - https://sourceforge.net/projects/vde/files/vde2 2>/dev/null | \ 67.8 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 67.9 - sed '/\/vde2/!d;/tar/!d;s|.*/vde2-||;s|.tar.*||;q' 67.10 + wget -O - $WEB_SITE/tags 2>/dev/null | \ 67.11 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 67.12 } 67.13 67.14 # Rules to configure and make the package.
68.1 --- a/xalan-c/receipt Tue Jul 18 09:27:49 2023 +0000 68.2 +++ b/xalan-c/receipt Tue Jul 18 11:43:32 2023 +0000 68.3 @@ -17,8 +17,8 @@ 68.4 # What is the latest version available today? 68.5 current_version() 68.6 { 68.7 - wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ 68.8 - sed "/latest/d;/xalan_c-[0-9]/!d;/tar/!d;s|.*xalan_c-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 68.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 68.10 + sed '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;s|_|.|g;q' 68.11 } 68.12 68.13 # Rules to configure and make the package.