# HG changeset patch # User Pascal Bellard # Date 1689843942 0 # Node ID b81ceff0b056a817bee8e5bd4e75f01ffb7507e6 # Parent 29df00e1e19d7eba82eaf521cfbf7eaf2f910809 Update some current_version diff -r 29df00e1e19d -r b81ceff0b056 alpine/receipt --- a/alpine/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/alpine/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ # What is the latest version available today? current_version() { - wget -O - http://repo.or.cz/alpine.git/snapshot/ 2>/dev/null | \ + wget -O - http://repo.or.cz/alpine.git/refs 2>/dev/null | \ sed '/Release version/!d;s|.*version ||;s|<.*||;q' } diff -r 29df00e1e19d -r b81ceff0b056 alsa-lib/receipt --- a/alsa-lib/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/alsa-lib/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,9 +16,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \ + wget -O - https://www.alsa-project.org/wiki/Download 2>/dev/null | \ sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q' } diff -r 29df00e1e19d -r b81ceff0b056 antiword/receipt --- a/antiword/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/antiword/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -14,7 +14,7 @@ # What is the latest version available today? current_version() { - wget -O - http://www.winfield.demon.nl/ 2>/dev/null | \ + wget -O - $WEB_SITE 2>/dev/null | \ sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" } diff -r 29df00e1e19d -r b81ceff0b056 babl/receipt --- a/babl/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/babl/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | \ + sed "/latest/d;/arent dir/d;/>-/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 binutils223/receipt --- a/binutils223/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/binutils223/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -31,7 +31,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 cadaver/receipt --- a/cadaver/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/cadaver/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -7,7 +7,7 @@ SHORT_DESC="Command-line WEBDAV client." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://www.webdav.org/cadaver" +WEB_SITE="https://notroj.github.io/cadaver/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/$TARBALL" @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" + wget -O - https://github.com/notroj/cadaver/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 catfish/receipt --- a/catfish/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/catfish/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/catfish-[0-9]/!d;s|.*catfish-||;s|.tar.*||;q' + wget -O - https://gitlab.xfce.org/apps/catfish/-/tags?sort=updated_desc 2>/dev/null | \ + sed '/item-title/!d;s|.*fish-||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 chkexploit/receipt --- a/chkexploit/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/chkexploit/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -13,7 +13,7 @@ # What is the latest version available today? current_version() { - wget -O - http://ftp.pangeia.com.br/download.htm 2>/dev/null | \ + wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed '/chkexploit-/!d;/tar/!d;s|.*chkexploit-||;s|.tar.*||' | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 digger/receipt --- a/digger/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/digger/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -23,8 +23,8 @@ { mkdir -p $fs/usr/share/applications $fs/var/www/digger \ $install/usr/share/doc - cp -a $src/digger*/README.md $install/usr/share/doc - cp -a $src/digger*/index.html $fs/var/www/digger + cp -a $src/README.md $install/usr/share/doc + cp -a $src/index.html $fs/var/www/digger dos2unix $fs/var/www/digger/* cat > $fs/usr/share/applications/digger.desktop </dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/latest one/!d;s|.*dillo-||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 gegl/receipt --- a/gegl/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/gegl/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1/|" | \ + sed "/latest/d;/arent dir/d;/>-/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 gimp/receipt --- a/gimp/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/gimp/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -22,7 +22,7 @@ current_version() { wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ - sed "/latest/d;/\[DIR/!d;/v[0-9]/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | \ + sed "/v[0-9]/!d;/>-/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 goldendict/receipt --- a/goldendict/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/goldendict/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -19,7 +19,8 @@ { wget -O - https://sourceforge.net/projects/goldendict/files/goldendict/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;/-src/!d;s|.*/goldendict-||;s|-src.*||;q' + sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*ict-||;s|[_-].*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 httping/receipt --- a/httping/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/httping/receipt Thu Jul 20 09:05:42 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;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/httping-/!d;s|.*httping-||;s|.t.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 iso-codes/receipt --- a/iso-codes/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/iso-codes/receipt Thu Jul 20 09:05:42 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 - https://salsa.debian.org/iso-codes-team/iso-codes/-/tags?sort=updated_desc 2>/dev/null | \ + sed '/item-title/!d;s|.*tags/v||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 itstool/receipt --- a/itstool/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/itstool/receipt Thu Jul 20 09:05:42 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 - ${WEB_SITE}download.html 2>/dev/null | \ + sed '/itstool-/!d;s|.tar.*||;s|.*itstool-||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 jpilot/receipt --- a/jpilot/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/jpilot/receipt Thu Jul 20 09:05:42 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;/release-/!d;s|.*/release-||;s|/.*||' | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/version/!d;s|.*version ||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 keyutils/receipt --- a/keyutils/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/keyutils/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,10 +16,11 @@ CONFIG_FILES="/etc/request-key.conf /etc/request-key.d" +# 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 - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 libgdiplus/receipt --- a/libgdiplus/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/libgdiplus/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -27,9 +27,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + wget -O - https://github.com/mono/libgdiplus/tags 2>/dev/null | \ sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' -# sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 libhx/receipt --- a/libhx/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/libhx/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,8 +18,8 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/libhx/files/libHX/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*/libHX-||;s|.tar.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/atest release/!d;s|.*release: ||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 libidn/receipt --- a/libidn/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/libidn/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -15,9 +15,10 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + wget -O - https://ftp.gnu.org/gnu/libidn/ 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 libmatchbox/receipt --- a/libmatchbox/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/libmatchbox/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://git.yoctoproject.org/libmatchbox/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-||;s|.zip.*||" | sort -Vr | sed q + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 lshw/receipt --- a/lshw/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/lshw/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - https://ezix.org/src/pkg/lshw/tags 2>/dev/null | \ - sed '/src\/tag/!d;s|.*">||;s|<.*||;q' + sed '/src\/pkg/!d;/archive/!d;/tar/!d;s|.*lshw/archive/||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 mariadb/receipt --- a/mariadb/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/mariadb/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -24,8 +24,8 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/Latest M/!d;s|/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 monkey/receipt --- a/monkey/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/monkey/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - http://monkey-project.com/downloads/ 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/releases/!d;s|.*monkey-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 mscore/receipt --- a/mscore/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/mscore/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -21,7 +21,7 @@ { wget -O - https://sourceforge.net/projects/mscore/files/mscore/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*Score-||;s|\.[a-z]*/.*||;q' + sed '/scope="row/!d;s|.*Score-||;s|\.[a-z]*/.*||;s|.[a-z].*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 mtpaint/receipt --- a/mtpaint/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/mtpaint/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ # What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/mtpaint/download.html 2>/dev/null | \ + wget -O - https://mtpaint.sourceforge.net/download.html 2>/dev/null | \ sed '/HERE/!d;s|.*files.mtpaint.||;s|.">.*||' } diff -r 29df00e1e19d -r b81ceff0b056 net-snmp/receipt --- a/net-snmp/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/net-snmp/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ { wget -O - https://sourceforge.net/projects/net-snmp/files/net-snmp/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed '/scope="row/!d;s|.*/net-snmp/||;s|/.*||;q' + sed '/scope="row/!d;s|.*/net-snmp/||;s|/.*||;s|-[a-z].*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 net6/receipt --- a/net6/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/net6/receipt Thu Jul 20 09:05:42 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 - https://github.com/gobby/net6/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 obby/receipt --- a/obby/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/obby/receipt Thu Jul 20 09:05:42 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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/gobby/gobby/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 oldrunner/receipt --- a/oldrunner/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/oldrunner/receipt Thu Jul 20 09:05:42 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 - $WEB_SITE 2>/dev/null | \ + sed '/tar.gz/!d;s|.*oldrunner-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 pam/receipt --- a/pam/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/pam/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -19,7 +19,7 @@ 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 + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 parted/receipt --- a/parted/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/parted/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,10 +17,11 @@ hfsprogs jfsutils util-linux lvm2 nilfs-utils ntfsprogs reiser4progs \ reiserfsprogs xfsprogs" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sed '$!d' + wget -O - https://ftp.gnu.org/gnu/parted/ 2>/dev/null | \ + sed '/parted-/!d;s|.*parted-||;s|.tar.*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 pcsc-tools/receipt --- a/pcsc-tools/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/pcsc-tools/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="PC/SC Architecture smartcard tools." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://ludovic.rousseau.free.fr/softwares/pcsc-tools/" +WEB_SITE="https://pcsc-tools.apdu.fr/" TARBALL="$PACKAGE-$VERSION.tar.bz2" WGET_URL="https://salsa.debian.org/rousseau/$PACKAGE/-/archive/$VERSION/$TARBALL" @@ -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 - $WEB_SITE 2>/dev/null | \ + sed '/pcsc-tools-/!d;s|.*pcsc-tools-||;s|.t.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 procmail/receipt --- a/procmail/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/procmail/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -14,8 +14,8 @@ # What is the latest version available today? current_version() { - wget -O - https://en.wikipedia.org/wiki/Procmail 2>/dev/null | \ - sed '/Final release/!d;s|.*release.*">||' + wget -O - https://github.com/BuGlessRB/procmail/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 pwsafe/receipt --- a/pwsafe/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/pwsafe/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://github.com/nsd20463/pwsafe/releases 2>/dev/null | \ - sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' + wget -O - https://github.com/nsd20463/pwsafe/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[a-z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 pypar2/receipt --- a/pypar2/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/pypar2/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - https://tracker.debian.org/pkg/pypar2 2>/dev/null | \ - sed '/changelog-/!d;s|.*changelog-||;s|-.*||;q' + sed '/Accepted/!d;s|.*pypar2 ||;s| .*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 pyroom/receipt --- a/pyroom/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/pyroom/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,8 +16,8 @@ # What is the latest version available today? current_version() { - wget -O - http://pyroom.org/ 2>/dev/null | \ - sed '/PyRoom [0-9]/!d;s|.*Room ||;s| released.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/atest version/!d;s|.*is ||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 python-cffi/receipt --- a/python-cffi/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/python-cffi/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - sed '/html#v/!d;s|.*>v||;s|<.*||;q' + sed '/cffi-/!d;/tar.gz/!d;s|.*cffi-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 python-mpd/receipt --- a/python-mpd/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/python-mpd/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ - sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" + wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 python-peak-rules/receipt --- a/python-peak-rules/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/python-peak-rules/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -6,6 +6,7 @@ SHORT_DESC="Generic functions and business rules support systems" MAINTAINER="al.bobylev@gmail.com" LICENSE="ZPL2.1" +SOURCE="PEAK-Rules" WEB_SITE="https://pypi.python.org/pypi/PEAK-Rules" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://peak.telecommunity.com/snapshots/PEAK-Rules-$VERSION.tar.gz" @@ -17,7 +18,7 @@ current_version() { wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ - sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" + sed "/$SOURCE\/[0-9]/!d;s|.*$SOURCE/||;s|/.*||;q" } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 python-serial/receipt --- a/python-serial/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/python-serial/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -21,7 +21,7 @@ # What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||" + wget -O - $WEB_SITE 2>/dev/null | sed "/serial [0-9]/!d;s|.*serial ||;s|<.*||" } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 rrdtool-lite/receipt --- a/rrdtool-lite/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/rrdtool-lite/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -21,8 +21,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - https://github.com/oetiker/rrdtool-1.x/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 rrdtool/receipt --- a/rrdtool/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/rrdtool/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -21,8 +21,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/oetiker/rrdtool-1.x/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 ruby/receipt --- a/ruby/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/ruby/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -24,7 +24,7 @@ current_version() { wget -O - $WEB_SITE/en/ 2>/dev/null | \ - sed '/eleased/!d;s|.*Ruby ||;s| .*||;q' + sed '/Released/!d;/preview/d;s|.*Ruby ||;s| .*||;q' } # Handle cross compilation. diff -r 29df00e1e19d -r b81ceff0b056 sed/receipt --- a/sed/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/sed/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*} 2>/dev/null | \ + wget -O - https://ftp.gnu.org/gnu/sed/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 sgmixer/receipt --- a/sgmixer/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/sgmixer/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,8 +17,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}/ 2>/dev/null | sed 's|
  • |\n&|g' | \ - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/sgmixer-/!d;s|.*xer-||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 squid/receipt --- a/squid/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/squid/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,10 +18,11 @@ CONFIG_FILES="/etc/squid" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE/Versions 2>/dev/null | \ - sed '1,/suitable for production use/d;/href/!d;s|.*[0-9]/">||;s|href.*||;s|.*[0-9]||;s|<.*||;q' + wget -O - https://github.com/squid-cache/squid/tags 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[A-Z_]*||;s|".*||;s|_|.|g;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 stunnel/receipt --- a/stunnel/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/stunnel/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/*}.html 2>/dev/null | \ - sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q + wget -O - https://www.stunnel.org/downloads.html 2>/dev/null | \ + sed '/stunnel-/!d;/tar/!d;/latest/d;s|.*stunnel-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 sudo-pam/receipt --- a/sudo-pam/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/sudo-pam/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,10 +16,11 @@ DEPENDS="pam" BUILD_DEPENDS="pam-dev" +# What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - grep -A 1 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q' + grep -C 9 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 sudo/receipt --- a/sudo/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/sudo/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - grep -A 1 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q' + grep -C 9 'The current' | sed '/>sudo/!d;s|.*>sudo *||;s|<.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 supertux/receipt --- a/supertux/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/supertux/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - http://supertux.github.io/index.html 2>/dev/null | \ - sed '/SuperTux [0-9]/!d;s|.*SuperTux ||;s|<.*||;q' + wget -O - https://github.com/SuperTux/supertux/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/[A-Za-z ]*||;s|".*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 tcpreplay/receipt --- a/tcpreplay/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/tcpreplay/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,7 +18,7 @@ { wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed 's| |\n|g' | sed '/^"tcpreplay\//!d;s|^"|https://sourceforge.net/projects/tcpreplay/files/|;s|",||;q' | xargs wget -O - 2>/dev/null | \ + sed '/th scope="row/!d;s|.*a href="|https://sourceforge.net/|;s|".*||;q' | xargs wget -O - 2>/dev/null | \ sed '/tcpreplay-/!d;/asc/!d;s|.*tcpreplay-||;s|.[zt].*||;s|_|.|g;q' } diff -r 29df00e1e19d -r b81ceff0b056 transcode/receipt --- a/transcode/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/transcode/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,7 +18,7 @@ # What is the latest version available today? current_version() { - wget -O - https://sources.archlinux.org/other/community/transcode/ 2>/dev/null | \ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed '/transcode-/!d;s|.*transcode-||;s|.tar.*||' } diff -r 29df00e1e19d -r b81ceff0b056 uget/receipt --- a/uget/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/uget/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,8 +18,9 @@ # What is the latest version available today? current_version() { - wget --no-check-certificate -O - ${WEB_SITE}downloads/ 2>/dev/null | \ - sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||' + wget -O - https://sourceforge.net/projects/urlget/files/uget%20%28stable%29/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/uget-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 ussp-push/receipt --- a/ussp-push/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/ussp-push/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,7 +17,7 @@ # What is the latest version available today? current_version() { - wget -O - http://xmailserver.org/ussp-push.html 2>/dev/null | \ + wget -O - $WEB_SITE 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 vym/receipt --- a/vym/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/vym/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -18,7 +18,7 @@ { wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ sed '/Development/d;/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" + sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|\.[a-z].*||;q" } # Rules to configure and make the package. diff -r 29df00e1e19d -r b81ceff0b056 wqy-bitmapfont/receipt --- a/wqy-bitmapfont/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/wqy-bitmapfont/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,7 +16,7 @@ { wget -O - https://sourceforge.net/projects/wqy/files/ 2>/dev/null | \ sed '/scope="row/!d;/wqy-bitmapfont\//!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",|/|;q' | xargs wget -O - 2>/dev/null | \ + sed 's|,|\n|g' | sed '/http/!d;/download/!d;s|.*:"||;s|/download"|/|;q' | xargs wget -O - 2>/dev/null | \ sed '/tar/!d;/-pcf-/!d;s|.*pcf-||;s|.tar.*||;q' } diff -r 29df00e1e19d -r b81ceff0b056 wqy-microhei/receipt --- a/wqy-microhei/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/wqy-microhei/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -17,7 +17,7 @@ { wget -O - https://sourceforge.net/projects/wqy/files/ 2>/dev/null | \ sed '/scope="row/!d;/wqy-microhei\//!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",|/|;q' | xargs wget -O - 2>/dev/null | \ + sed 's|,|\n|g' | sed '/http/!d;/download/!d;s|.*:"||;s|/download"|/|;q' | xargs wget -O - 2>/dev/null | \ sed '/tar/!d;/wqy-microhei/!d;s|.*wqy-microhei-||;s|.tar.*||;q' } diff -r 29df00e1e19d -r b81ceff0b056 wv/receipt --- a/wv/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/wv/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -16,7 +16,7 @@ # What is the latest version available today? current_version() { - wget -O - http://www.abisource.com/downloads/wv/ 2>/dev/null | \ + wget -O - ${WGET_URL%wv/*}wv/ 2>/dev/null | \ sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | sort -Vr | sed q } diff -r 29df00e1e19d -r b81ceff0b056 wxHexEditor/receipt --- a/wxHexEditor/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/wxHexEditor/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ { wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed 's| |\n|g' | sed '/http/!d;/download/!d;s|^"||;s|/download",||;q' | xargs wget -O - 2>/dev/null | \ + sed 's|,|\n|g' | sed '/http/!d;/download/!d;s|.*:"||;s|/download"|/|;q' | xargs wget -O - 2>/dev/null | \ sed '/src.tar..z/!d;s|.*wxHexEditor-v||;s|-src.*||;q' } diff -r 29df00e1e19d -r b81ceff0b056 xarchive/receipt --- a/xarchive/receipt Wed Jul 19 13:00:59 2023 +0000 +++ b/xarchive/receipt Thu Jul 20 09:05:42 2023 +0000 @@ -20,7 +20,7 @@ { wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ - sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-[a-z-]*\\(.*\\).tar.*|\\1|;s|-i.*||;q" } # Rules to configure and make the package.ls sr