# HG changeset patch # User Pascal Bellard # Date 1643285760 0 # Node ID 095836df71b72f1f403d05c34a8aceebc6857040 # Parent 099a66084bd85c0cf61b4cdb0adeda10bb6fce15 Update some current_version diff -r 099a66084bd8 -r 095836df71b7 alarm-clock/receipt --- a/alarm-clock/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/alarm-clock/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -8,7 +8,7 @@ MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" #WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/" -WEB_SITE="https://github.com/shaggytwodope/alarm-clock" +WEB_SITE="https://github.com/nick-s-b/alarm-clock" TARBALL="$PACKAGE-$VERSION.tar.gz" #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL" @@ -19,9 +19,10 @@ BUILD_DEPENDS="$DEPENDS autoconf automake file gstreamer-1.0-dev gtk+-dev \ intltool libnotify-dev libtool libunique-dev" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } diff -r 099a66084bd8 -r 095836df71b7 aqualung/receipt --- a/aqualung/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aqualung/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -18,6 +18,13 @@ BUILD_DEPENDS="alsa-lib-dev automake bzip2-dev flac-dev gtk+-dev lame-dev libmad-dev libogg-dev libsamplerate-dev libsndfile-dev libvorbis-dev libxml2-dev" +# 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|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-cs/receipt --- a/aspell-cs/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-cs/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,10 +14,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } @@ -28,4 +34,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/* $fs/usr/lib } - diff -r 099a66084bd8 -r 095836df71b7 aspell-da/receipt --- a/aspell-da/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-da/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-de/receipt --- a/aspell-de/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-de/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-en/receipt --- a/aspell-en/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-en/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-es/receipt --- a/aspell-es/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-es/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-fr/receipt --- a/aspell-fr/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-fr/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-hu/receipt --- a/aspell-hu/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-hu/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,10 +14,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } @@ -28,5 +34,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/* $fs/usr/lib } - - diff -r 099a66084bd8 -r 095836df71b7 aspell-id/receipt --- a/aspell-id/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-id/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,10 +14,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } @@ -28,5 +34,3 @@ mkdir -p $fs/usr/lib cp -a $install/usr/lib/* $fs/usr/lib } - - diff -r 099a66084bd8 -r 095836df71b7 aspell-it/receipt --- a/aspell-it/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-it/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Italian aspell dictionary." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://aspell.net/" +WEB_SITE="ftp://ftp.gnu.org/gnu/aspell/dict/0index.html" SOURCE="aspell6-it" TARBALL="$SOURCE-$VERSION.tar.bz2" @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-nl/receipt --- a/aspell-nl/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-nl/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,10 +13,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } @@ -27,4 +33,3 @@ mkdir -p $fs/usr cp -a $install/usr/lib $fs/usr } - diff -r 099a66084bd8 -r 095836df71b7 aspell-pl/receipt --- a/aspell-pl/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-pl/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*} 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-pt_BR/receipt --- a/aspell-pt_BR/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-pt_BR/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-pt_PT/receipt --- a/aspell-pt_PT/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-pt_PT/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 aspell-ru/receipt --- a/aspell-ru/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-ru/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,10 +14,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } diff -r 099a66084bd8 -r 095836df71b7 aspell-sl/receipt --- a/aspell-sl/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell-sl/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,10 +13,16 @@ DEPENDS="aspell" BUILD_DEPENDS="aspell aspell-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure && \ make && make DESTDIR=$DESTDIR install } diff -r 099a66084bd8 -r 095836df71b7 aspell/receipt --- a/aspell/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/aspell/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 caprice32/receipt --- a/caprice32/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/caprice32/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsdl freetype zlib libpng gcc83-lib-base" BUILD_DEPENDS="gcc83 libsdl-dev freetype-dev zlib-dev libpng-dev gcc83-lib-base" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ + sed '/latest/d;/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 ctypes.sh/receipt --- a/ctypes.sh/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/ctypes.sh/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,6 +17,13 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/down*} 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 e2fsprogs/receipt --- a/e2fsprogs/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/e2fsprogs/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -22,10 +22,11 @@ arm) BUILD_DEPENDS="" ;; esac +# What is the latest version available today? current_version() { wget -O - https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git 2>/dev/null | \ - sed '1,/Download/d;s|.*h=v||;s|.>.*||;q' + sed '1,/Download/d;/h=v/!d;s|.*h=v||;s|.>.*||;q' } # Rules to configure and make the package. diff -r 099a66084bd8 -r 095836df71b7 ecryptfs-simple/receipt --- a/ecryptfs-simple/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/ecryptfs-simple/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -16,10 +16,11 @@ BUILD_DEPENDS="cmake libgcrypt-dev pkg-config \ ecryptfs-utils-dev util-linux-mount-dev keyutils-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 - https://github.com/mhogomchungu/ecryptfs-simple/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. diff -r 099a66084bd8 -r 095836df71b7 flac/receipt --- a/flac/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/flac/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,10 +17,11 @@ HOST_ARCH="i486 arm" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ - sed '/flac-/!d;/tar/!d;s|.*"flac-||;s|.tar.*||' | sort -V | sed '$!d' + wget -O - ${WEB_SITE}feeds/feed.xml 2>/dev/null | \ + sed '/released/!d;s|.*FLAC ||;s| rel.*||;q' } # Rules to configure and make the package. diff -r 099a66084bd8 -r 095836df71b7 libav/receipt --- a/libav/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/libav/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -20,6 +20,13 @@ libvpx-dev netatalk-dev nut opencore-amr-dev openjpeg-dev schroedinger-dev speex-dev x264 xvidcore-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/andoma/libav/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 libogg/receipt --- a/libogg/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/libogg/receipt Thu Jan 27 12:16:00 2022 +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://www.xiph.org/downloads/ 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 099a66084bd8 -r 095836df71b7 libvorbis/receipt --- a/libvorbis/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/libvorbis/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -16,9 +16,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://www.xiph.org/downloads/ 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } diff -r 099a66084bd8 -r 095836df71b7 opentyrian/receipt --- a/opentyrian/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/opentyrian/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libsdl libsdl-mixer libsdl-net tyrian" BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 opus-tools/receipt --- a/opus-tools/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/opus-tools/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,6 +14,7 @@ BUILD_DEPENDS="libogg libogg-dev opus-dev pkg-config flac-dev \ opusfile-dev libopusenc-dev" +# What is the latest version available today? current_version() { wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ diff -r 099a66084bd8 -r 095836df71b7 opus/receipt --- a/opus/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/opus/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,6 +13,7 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? current_version() { wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ diff -r 099a66084bd8 -r 095836df71b7 opusfile/receipt --- a/opusfile/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/opusfile/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,6 +13,7 @@ DEPENDS="libssl libogg opus" BUILD_DEPENDS="openssl-dev libogg libogg-dev opus-dev pkg-config" +# What is the latest version available today? current_version() { wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ diff -r 099a66084bd8 -r 095836df71b7 palemoon/receipt --- a/palemoon/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/palemoon/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -18,6 +18,13 @@ libvpx-dev mesa-dev python-setuptools virtualenv zlib-dev bzip2-dev python-dev \ pixman pixman-dev libffi libffi-dev" # sqlite sqlite-dev libevent libevent-dev +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/released/!d;s|.*oon ||;s| has.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 perl-compress-raw-bzip2/receipt --- a/perl-compress-raw-bzip2/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/perl-compress-raw-bzip2/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -19,7 +19,7 @@ current_version() { wget -O - $WEB_SITE 2>/dev/null | \ - sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;q' + sed '/ompress-Raw-Bzip2-/!d;s|.*zip2-||;s| -.*||;s|"||;q' } # Rules to configure and make the package. diff -r 099a66084bd8 -r 095836df71b7 pyhn/receipt --- a/pyhn/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/pyhn/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python python-urwid" BUILD_DEPENDS="python-dev python-urwid git bzip2" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/Release/!d;s|.*>Release ||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 pylorcon/receipt --- a/pylorcon/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/pylorcon/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python lorcon-old" BUILD_DEPENDS="python-dev lorcon-old-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 pymux/receipt --- a/pymux/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/pymux/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="python-dev python-docopt python-prompt-toolkit python-pyte python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 python-ipy/receipt --- a/python-ipy/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/python-ipy/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Python class and tools for IPv4 and IPv6 addresses and networks." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -WEB_SITE="https://pypi.org/project/$SOURCE/" +WEB_SITE="https://pypi.org/project/IPy/" SOURCE="IPy" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -15,6 +15,7 @@ DEPENDS="python" BUILD_DEPENDS="python" +# What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||' diff -r 099a66084bd8 -r 095836df71b7 qarma/receipt --- a/qarma/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/qarma/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libQtDBus libQtGui" BUILD_DEPENDS="Qt4-dev qmake xorg-libX11-dev wget" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 soundtouch/receipt --- a/soundtouch/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/soundtouch/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -14,10 +14,11 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="automake libtool" +# What is the latest version available today? current_version() { - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ - sed '/tar.gz/!d;s|.*/soundtouch-\(.*\).tar.gz".*|\1|;q' + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release/!d;s|.* is ||;s| .*||;q' } # Rules to configure and make the package. diff -r 099a66084bd8 -r 095836df71b7 tree/receipt --- a/tree/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/tree/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -11,6 +11,13 @@ TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="ftp://mama.indstate.edu/linux/tree/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 uget/receipt --- a/uget/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/uget/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -17,7 +17,7 @@ # What is the latest version available today? current_version() { - wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \ + wget --no-check-certificate -O - ${WEB_SITE}downloads/ 2>/dev/null | \ sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||' } diff -r 099a66084bd8 -r 095836df71b7 vorbis-tools/receipt --- a/vorbis-tools/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/vorbis-tools/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -16,12 +16,14 @@ BUILD_DEPENDS="libogg-dev libvorbis-dev flac-dev libao-dev curl-dev speex-dev \ libcrypto-dev" +# What is the latest version available today? current_version() { - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \ sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } + # Rules to configure and make the package. compile_rules() { diff -r 099a66084bd8 -r 095836df71b7 vym/receipt --- a/vym/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/vym/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -13,10 +13,11 @@ DEPENDS="libQtCore libQtNetwork libQtXml libQtSql libQtGui libQt3Support zip" BUILD_DEPENDS="qmake Qt4-dev" +# 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 '/Development/d;/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" } diff -r 099a66084bd8 -r 095836df71b7 xtrkcad/receipt --- a/xtrkcad/receipt Thu Jan 27 10:35:34 2022 +0100 +++ b/xtrkcad/receipt Thu Jan 27 12:16:00 2022 +0000 @@ -21,10 +21,11 @@ pkg-config xorg-kbproto xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-renderproto xorg-xproto zlib-dev" +# What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/xtrkcad-fork/files/ 2>/dev/null | \ - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/Development/d;/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed 's| |\n|g' | sed '/Version%/!d;s|%20| |g;s|.*sion ||;s|/.*||;q' }