# HG changeset patch # User Pascal Bellard # Date 1659169806 0 # Node ID fbe88431f963251fbb2c6b27d3b085210d50cfd9 # Parent e375c479e25ecd4199b302edeb426ad4d1af4e9f Update some current_version diff -r e375c479e25e -r fbe88431f963 bittorrent/receipt --- a/bittorrent/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/bittorrent/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ - sed '/BitTorrent/!d;s|.*BitTorrent-||;s|.tar.*||' | sort -Vr | sed q + sed '/BitTorrent-/!d;/Stable/d;s|.*BitTorrent-||;s|.[te].*||' | sort -Vr | sed q } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 dokuwiki/receipt --- a/dokuwiki/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/dokuwiki/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -15,7 +15,7 @@ current_version() { wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q' + sed '/archive.*tar/!d;/candidate/d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r e375c479e25e -r fbe88431f963 fbvnc/receipt --- a/fbvnc/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/fbvnc/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -21,7 +21,7 @@ current_version() { wget -O - $WEB_SITE/shortlog 2>/dev/null | \ - sed '/||;s|]\(20[0-9]\)|\1|;s|["<].*||;s|-||g;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 foo2xqx/receipt --- a/foo2xqx/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/foo2xqx/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -7,7 +7,7 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="foo2zjs.tar.gz" -WEB_SITE="http://foo2xqx.rkkda.com/" +WEB_SITE="https://github.com/koenkooi/foo2zjs/" WGET_URL="http://foo2zjs.rkkda.com/$TARBALL" DEPENDS="ghostscript foo2xqx-data" diff -r e375c479e25e -r fbe88431f963 jpegoptim/receipt --- a/jpegoptim/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/jpegoptim/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -13,10 +13,11 @@ BUILD_DEPENDS="jpeg-dev" DEPENDS="jpeg-dev" +# What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/RELEASE.\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/[A-Z\.v]\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 libgooglepinyin/receipt --- a/libgooglepinyin/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/libgooglepinyin/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 linuxconsoletools/receipt --- a/linuxconsoletools/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/linuxconsoletools/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -18,7 +18,7 @@ current_version() { wget -O - https://sourceforge.net/projects/linuxconsole/files/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*/linuxconsoletools-||;s|.tar.*||;q' + sed '/scope="row/!d;/linuxconsoletools-/!d;s|.*/linuxconsoletools-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 lzip/receipt --- a/lzip/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/lzip/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -15,10 +15,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed '/>lzip-/!d;s|.*lzip-||;s|.tar.*||' | sed '$!d' + sed '/>lzip-/!d;/tar/d;s|.*lzip-||;s|.tar.*||' | sed '$!d' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 shared-mime-info/receipt --- a/shared-mime-info/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/shared-mime-info/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -22,10 +22,11 @@ arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;; esac +# 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' + wget -O - 'https://gitlab.freedesktop.org/xdg/shared-mime-info/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/shared-mime-info-[0-9]/!d;/tar/!d;s|.*shared-mime-info-||;s|.tar.*||;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 uhd/receipt --- a/uhd/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/uhd/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -18,10 +18,11 @@ libboost-system-dev libboost-test-dev libboost-serialization-dev \ libboost-thread-dev libboost-tr1-dev libusb-dev udev-dev" +# 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 '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 xa/receipt --- a/xa/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/xa/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -16,7 +16,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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q } # Rules to configure and make the package. diff -r e375c479e25e -r fbe88431f963 zsnes/receipt --- a/zsnes/receipt Fri Jul 29 15:53:36 2022 +0100 +++ b/zsnes/receipt Sat Jul 30 08:30:06 2022 +0000 @@ -15,11 +15,11 @@ BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \ automake autoconf zlib-dev patch" +# What is the latest version available today? current_version() { - wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ - sed '/zip/!d;s|.*ZSNES v||;s|/.*||;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/atest .ersion/!d;s|.*/b> *||;s|[^0-9\.].*||;q' } # Rules to configure and make the package.