# HG changeset patch # User Pascal Bellard # Date 1689672469 0 # Node ID a5e183d53960bab85ed39bbdfc5dbbb584edbea2 # Parent 0262035dc1e77dd7329da82d00fb0124f4902b4b Update some current_version diff -r 0262035dc1e7 -r a5e183d53960 aria2/receipt --- a/aria2/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/aria2/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ - sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 dciutil/receipt --- a/dciutil/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/dciutil/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s| .*||' + sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s|\.* .*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 dokuwiki/receipt --- a/dokuwiki/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/dokuwiki/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \ - sed '/archive.*tar/!d;/candidate/d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q' + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0262035dc1e7 -r a5e183d53960 eudev/receipt --- a/eudev/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/eudev/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -14,7 +14,7 @@ PROVIDE="udev" DEPENDS="acl dbus kmod pciids usbids util-linux-blkid eudev-lib" BUILD_DEPENDS="acl-dev automake dbus-dev gperf kmod-dev libtool libxslt - pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev" + pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev docbook-xsl" # What is the latest version available today? current_version() diff -r 0262035dc1e7 -r a5e183d53960 frogatto/receipt --- a/frogatto/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/frogatto/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -20,10 +20,11 @@ libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev mesa-dev \ xorg-server-dev" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 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 0262035dc1e7 -r a5e183d53960 gentorrent/receipt --- a/gentorrent/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/gentorrent/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -17,7 +17,7 @@ current_version() { wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \ - sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q + sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||;s|.tar.*||' | sort -Vr | sed q } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0262035dc1e7 -r a5e183d53960 geos/receipt --- a/geos/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/geos/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -18,7 +18,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 "/beta/d;/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 icecast/receipt --- a/icecast/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/icecast/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - 'https://gitlab.xiph.org/xiph/icecast-server/-/tags?sort=updated_desc' 2>/dev/null | \ - sed '/item-title/!d;s|.*">v||;s|<.*||;q' + sed '/beta/d;/item-title/!d;s|.*">v||;s|<.*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 jasper/receipt --- a/jasper/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/jasper/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ - sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' + sed '/-rc[1-9]/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 lmms/receipt --- a/lmms/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/lmms/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \ - sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' + sed '/-alpha/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 openobex/receipt --- a/openobex/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/openobex/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,10 +15,11 @@ DEPENDS="bluez libusb" BUILD_DEPENDS="bluez-dev cmake libusb-dev" +# What is the latest version available today? current_version() { wget -O - $WEB_SITE/-/tags 2>/dev/null | \ - sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q + sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|;/^tar.gz/d' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 perl-test-compile/receipt --- a/perl-test-compile/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/perl-test-compile/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -11,11 +11,12 @@ SOURCE="Test-Compile" TARBALL="$SOURCE-v$VERSION.tar.gz" -WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" +WGET_URL="https://cpan.metacpan.org/authors/id/E/EG/EGILES/$TARBALL" DEPENDS="perl perl-universal-require" BUILD_DEPENDS="perl perl-universal-require" +# What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ diff -r 0262035dc1e7 -r a5e183d53960 s3ql/receipt --- a/s3ql/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/s3ql/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,10 +15,11 @@ python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \ python-pytest python-py python-unittest2" +# What is the latest version available today? current_version() { - wget -O - $WEB_SITE 2>/dev/null | \ - sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q' + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/tag\//!d;s|.*tag/s3ql-*||;s|".*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 sshguard/receipt --- a/sshguard/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/sshguard/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,10 +15,11 @@ DEPENDS="iptables" BUILD_DEPENDS="" +# What is the latest version available today? current_version() { wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \ - sed '/tar..z/!d;s|.*/v||;s|.tar.*||;q' + sed '/td class="name"/!d;s|.*v||;s|<.*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 task/receipt --- a/task/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/task/receipt Tue Jul 18 09:27:49 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|;q" + wget -O - https://github.com/GothenburgBitFactory/taskwarrior/releases 2>/dev/null | \ + sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q' } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 tint2/receipt --- a/tint2/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/tint2/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - $WEB_SITE/-/tags 2>/dev/null | \ - sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|' | sort -Vr | sed q + sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|;/tar.gz/d' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 tnylpo/receipt --- a/tnylpo/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/tnylpo/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -16,7 +16,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q + sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|;/tar.gz/d' | sort -Vr | sed q } # Rules to configure and make the package. diff -r 0262035dc1e7 -r a5e183d53960 ttf-inconsolata-dz/receipt --- a/ttf-inconsolata-dz/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/ttf-inconsolata-dz/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://nodnod.net/posts/inconsolata-dz/ 2>/dev/null | \ - sed '/Update/!d;s|.*Update |"|;s|:.*|"|;q' | xargs date +%Y%m%d -d + sed '/Update/!d;s|.*Update |"|;s|[:<].*|"|;q' | xargs date +%Y%m%d -d } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0262035dc1e7 -r a5e183d53960 ubuntu-font-family/receipt --- a/ubuntu-font-family/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/ubuntu-font-family/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://design.ubuntu.com/font/ 2>/dev/null | \ - gunzip | sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q' + sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 0262035dc1e7 -r a5e183d53960 weechat/receipt --- a/weechat/receipt Sun Jul 16 18:06:38 2023 +0000 +++ b/weechat/receipt Tue Jul 18 09:27:49 2023 +0000 @@ -19,8 +19,8 @@ # What is the latest version available today? current_version() { - wget -O - https://weechat.org/download/ 2>/dev/null | \ - sed '/weechat-/!d;s|.*weechat-||;s|.tar.*||;q' + wget -O - https://weechat.org/dev/info/ 2>/dev/null | \ + sed '/stable:/!d;s|.*stable:||;s|<.*||;q' } # Rules to configure and make the package.