# HG changeset patch # User Pascal Bellard # Date 1642443497 0 # Node ID b569b85b0fb98d972979b5b3c273fff12f3606ca # Parent d2357c7818f32ea45a3fc4c2f060b59092798827 Add some current_version diff -r d2357c7818f3 -r b569b85b0fb9 QtWeb/receipt --- a/QtWeb/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/QtWeb/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="wget cacerts qmake Qt4-dev" SUGGESTED="libQtWebkit-video" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 afio/receipt --- a/afio/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/afio/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 afuse/receipt --- a/afuse/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/afuse/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/pcarrier/afuse/" +WEB_SITE="https://github.com/pcarrier/afuse" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" DEPENDS="fuse" BUILD_DEPENDS="fuse-dev perl-getopt-long autoconf automake libtool " +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 airgeddon/receipt --- a/airgeddon/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/airgeddon/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="bash iw aircrack-ng curl crunch mdk3" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 androguard/receipt --- a/androguard/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/androguard/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Reverse engineering tool for Android applications." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache2" -WEB_SITE="https://github.com/androguard/androguard/" +WEB_SITE="https://github.com/androguard/androguard" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 bootchart/receipt --- a/bootchart/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/bootchart/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ SUGGESTED="pybootchartgui" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 cowpatty/receipt --- a/cowpatty/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/cowpatty/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="openssl libpcap" BUILD_DEPENDS="openssl-dev libpcap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 crypthook/receipt --- a/crypthook/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/crypthook/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libcrypto" BUILD_DEPENDS="openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 cryptkeeper/receipt --- a/cryptkeeper/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/cryptkeeper/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,13 +6,20 @@ SHORT_DESC="Linux system tray applet that manages EncFS encrypted folders" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" -WEB_SITE="https://github.com/tomm/cryptkeeper/" +WEB_SITE="https://github.com/tomm/cryptkeeper" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="http://tom.noflag.org.uk/cryptkeeper/$TARBALL" DEPENDS="gtk+ GConf encfs" BUILD_DEPENDS="gtk+-dev GConf-dev xorg-libX11-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 dotconf/receipt --- a/dotconf/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/dotconf/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Configuration file parser library." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" -WEB_SITE="https://github.com/williamh/dotconf/" +WEB_SITE="https://github.com/williamh/dotconf" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$[WEB_SITE}archive/v${VERSION%}/$TARBALL" @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="libtool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 emesene/receipt --- a/emesene/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/emesene/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python pygtk pycairo python-pysqlite gst-python" BUILD_DEPENDS="python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 epdfview-cups/receipt --- a/epdfview-cups/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/epdfview-cups/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+ poppler glib libpng cups xorg-libXdamage gcc-lib-base libcomerr3" BUILD_DEPENDS="gtk+-dev poppler-dev poppler cups cups-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 faac/receipt --- a/faac/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/faac/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc83-lib-base" BUILD_DEPENDS="gcc83" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 faad2/receipt --- a/faad2/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/faad2/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="$SF_MIRROR/faac/$TARBALL" TAGS="decoder mp4 mpeg" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 file/receipt --- a/file/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/file/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -23,6 +23,13 @@ arm) BUILD_DEPENDS="" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 firmware-mod-kit/receipt --- a/firmware-mod-kit/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/firmware-mod-kit/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ linux-api-headers" BUILD_DEPENDS="liblzma-dev zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/rampageX/firmware-mod-kit/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 gc/receipt --- a/gc/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/gc/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,10 +7,17 @@ MAINTAINER="pankso@slitaz.org" LICENSE="MIT GPL" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/ivmai/bdwgc/" +WEB_SITE="https://github.com/ivmai/bdwgc" WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL" HOST_ARCH="i486 arm" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 hardinfo/receipt --- a/hardinfo/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/hardinfo/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ pciutils xorg-libXdamage" BUILD_DEPENDS="gtk+ gtk+-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 hydra/receipt --- a/hydra/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/hydra/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \ postgresql-dev subversion-dev libidn-dev mysql-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 ibus-hangul/receipt --- a/ibus-hangul/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/ibus-hangul/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ibus" BUILD_DEPENDS="intltool gettext perl ibus-dev glib-dev libhangul-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ibus/ibus/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 ibus/receipt --- a/ibus/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/ibus/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="gtk+-dev GConf-dev python-dev dbus-python-dev dbus-glib-dev \ intltool gettext perl iso-codes" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/ibus/ibus/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 icmptx/receipt --- a/icmptx/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/icmptx/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -11,6 +11,13 @@ WEB_SITE="https://github.com/jakkarth/icmptx" WGET_URL="http://download.github.com/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 iftopcolor/receipt --- a/iftopcolor/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/iftopcolor/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libpcap ncurses" BUILD_DEPENDS="libpcap-dev ncurses-dev git bzip2" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 iwatch/receipt --- a/iwatch/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/iwatch/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Realtime filesystem monitor." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://github.com/iij/iwatch/" +WEB_SITE="https://github.com/iij/iwatch" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" @@ -14,6 +14,13 @@ DEPENDS="perl-event perl-linux-inotify2 perl-mail-sendmail perl-xml-simple" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 juffed/receipt --- a/juffed/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/juffed/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="libQtGui libQtDBus libQtNetwork libqscintilla" BUILD_DEPENDS="Qt4-dev cmake qmake libqscintilla-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/Mezomish/$PACKAGE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 knock/receipt --- a/knock/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/knock/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="iptables libpcap" BUILD_DEPENDS="libpcap-dev autoconf automake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/jvinet/knock/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 labyrinth/receipt --- a/labyrinth/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/labyrinth/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="bzip2 git python-dev pygtk-dev gtk+-dev pycairo-dev \ pygobject-dev gettext" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 libass/receipt --- a/libass/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libass/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="enca-dev freetype-dev fontconfig-dev libpng-dev \ expat-dev fribidi-dev pkg-config libxml2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 libcdio-paranoia/receipt --- a/libcdio-paranoia/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libcdio-paranoia/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libcdio" BUILD_DEPENDS="libcdio-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|\+|.|;q' +} + compile_rules() { ./configure \ diff -r d2357c7818f3 -r b569b85b0fb9 libdnet/receipt --- a/libdnet/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libdnet/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 libhangul/receipt --- a/libhangul/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libhangul/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 libmcs/receipt --- a/libmcs/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libmcs/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="mimas@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tgz" -WEB_SITE="https://github.com/atheme-legacy/libmcs/" +WEB_SITE="https://github.com/atheme-legacy/libmcs" WGET_URL="http://distfiles.atheme.org/$TARBALL" DEPENDS="libmowgli" BUILD_DEPENDS="libmowgli-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 libt4k_common/receipt --- a/libt4k_common/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/libt4k_common/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev \ libsdl-net-dev librsvg-dev libsdl-pango-dev wget libxml2-dev libcroco-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 lua-posix/receipt --- a/lua-posix/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/lua-posix/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="POSIX Library for the Lua Programming Language." MAINTAINER="maintainer@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/luaposix/luaposix/" +WEB_SITE="https://github.com/luaposix/luaposix" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" @@ -14,6 +14,13 @@ SUGGESTED="lua" BUILD_DEPENDS="lua-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 luafilesystem/receipt --- a/luafilesystem/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/luafilesystem/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,11 +6,18 @@ SHORT_DESC="File System Library for the Lua Programming Language (5.2)." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" -WEB_SITE="https://github.com/keplerproject/luafilesystem/" +WEB_SITE="https://github.com/keplerproject/luafilesystem" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v${VERSION//./_}.tar.gz" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + SUGGESTED="lua" BUILD_DEPENDS="lua-dev" diff -r d2357c7818f3 -r b569b85b0fb9 lucene++/receipt --- a/lucene++/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/lucene++/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -17,6 +17,13 @@ BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \ libboost-regex-dev libboost-thread-dev libboost-iostreams-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 luufs/receipt --- a/luufs/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/luufs/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="fuse" BUILD_DEPENDS="fuse-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 lxqt-appswitcher/receipt --- a/lxqt-appswitcher/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/lxqt-appswitcher/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev liblxqt-dev \ lxqt-globalkeys-dev libqtxdg-dev " +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 lxqt-common/receipt --- a/lxqt-common/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/lxqt-common/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="xorg-xprop dbus " BUILD_DEPENDS="cmake Qt4-dev qmake liblxqt-dev grep libqtxdg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 lxqt-config-randr/receipt --- a/lxqt-config-randr/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/lxqt-config-randr/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev \ xorg-libXrandr-dev libqtxdg-dev liblxqt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 memo/receipt --- a/memo/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/memo/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="paul@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" LICENSE="GPL3" -WEB_SITE="https://github.com/mrVanDalo/memo/" +WEB_SITE="https://github.com/mrVanDalo/memo" WGET_URL="http://www.ideabyte.net/memo/$TARBALL" DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 mfoc/receipt --- a/mfoc/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/mfoc/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libnfc" BUILD_DEPENDS="pkg-config libnfc-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 mktorrent/receipt --- a/mktorrent/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/mktorrent/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Command line utility to create BitTorrent metainfo files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://github.com/Rudde/mktorrent/" +WEB_SITE="https://github.com/Rudde/mktorrent" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" @@ -16,6 +16,13 @@ HOST_ARCH="i486 arm x86_64" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 nagisk/receipt --- a/nagisk/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/nagisk/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Simple tool to monitor Asterisk from a Nagios server." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL3" -WEB_SITE="https://github.com/nicolargo/nagisk/" +WEB_SITE="https://github.com/nicolargo/nagisk" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" @@ -14,6 +14,13 @@ DEPENDS="nagios-nrpe perl sudo" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 noto-mono/receipt --- a/noto-mono/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/noto-mono/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf" TAGS="font" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/googlei18n/noto-fonts/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 noto-sans/receipt --- a/noto-sans/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/noto-sans/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ SIBLINGS="noto-serif" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/googlei18n/noto-fonts/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 noto-serif/receipt --- a/noto-serif/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/noto-serif/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ SIBLINGS="noto-serif" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/googlei18n/noto-fonts/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 phonon-backend-gstreamer/receipt --- a/phonon-backend-gstreamer/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/phonon-backend-gstreamer/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,7 +7,7 @@ SHORT_DESC="gstreamer lib for phonon" MAINTAINER="psychomaniak@xakep.ru" TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="https://github.com/KDE/phonon/" +WEB_SITE="https://github.com/KDE/phonon" WGET_URL="http://download.kde.org/stable/phonon/$PACKAGE/$VERSION/src/$TARBALL" DEPENDS="phonon gst-plugins-base gst-plugins-good gst-ffmpeg" @@ -16,6 +16,13 @@ PROVIDE="qt4-phonon" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + compile_rules() { mkdir build; cd build diff -r d2357c7818f3 -r b569b85b0fb9 phonon/receipt --- a/phonon/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/phonon/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="KDE multimedia framework." MAINTAINER="psychomaniak@xakep.ru" LICENSE="LGPL2.1" -WEB_SITE="https://github.com/KDE/phonon/" +WEB_SITE="https://github.com/KDE/phonon" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL" @@ -14,6 +14,13 @@ DEPENDS="libQtCore libQtDBus libQtGui libQtXml" BUILD_DEPENDS="automoc4 cmake qmake Qt4-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + compile_rules() { mkdir build diff -r d2357c7818f3 -r b569b85b0fb9 pilot-link/receipt --- a/pilot-link/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/pilot-link/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="popt readline" BUILD_DEPENDS="popt-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 pktstat/receipt --- a/pktstat/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/pktstat/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="ncurses libpcap" BUILD_DEPENDS="ncurses-dev libpcap-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 protobuf-python/receipt --- a/protobuf-python/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/protobuf-python/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Protocol buffers - Google's data interchange format (python)." MAINTAINER="slaxemulator@gmail.com" LICENSE="BSD" -WEB_SITE="https://github.com/protocolbuffers/protobuf/" +WEB_SITE="https://github.com/protocolbuffers/protobuf" SOURCE="protobuf" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -15,6 +15,13 @@ DEPENDS="protobuf python" BUILD_DEPENDS="libatomic protobuf-dev python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 protobuf/receipt --- a/protobuf/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/protobuf/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="Protocol buffers - Google's data interchange format." MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WEB_SITE="https://github.com/protocolbuffers/protobuf/" +WEB_SITE="https://github.com/protocolbuffers/protobuf" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" @@ -14,6 +14,13 @@ DEPENDS="gcc83-lib-base libatomic" BUILD_DEPENDS="automake gcc83 libtool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 pwauth/receipt --- a/pwauth/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/pwauth/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -7,12 +7,19 @@ MAINTAINER="pankso@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://github.com/phokz/pwauth/" +WEB_SITE="https://github.com/phokz/pwauth" WGET_URL="https://pwauth.googlecode.com/files/$TARBALL" DEPENDS="" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 py3k-setuptools_scm/receipt --- a/py3k-setuptools_scm/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/py3k-setuptools_scm/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="py3k" BUILD_DEPENDS="py3k-dev py3k" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 python-gevent-psycopg2/receipt --- a/python-gevent-psycopg2/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/python-gevent-psycopg2/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="psycopg2 python-gevent" BUILD_DEPENDS="wget python-distribute python-dev python openssl" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 python-oauth2/receipt --- a/python-oauth2/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/python-oauth2/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="python" BUILD_DEPENDS="python python-dev python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 python-prompt-toolkit/receipt --- a/python-prompt-toolkit/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/python-prompt-toolkit/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python python-pygments python-six python-wcwidth" BUILD_DEPENDS="python-dev python-pygments python-setuptools python-six python-wcwidth" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 pyvim/receipt --- a/pyvim/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/pyvim/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="ptpython python python-dev python-docopt python-prompt-toolkit python-pyflakes python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 qlipper/receipt --- a/qlipper/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/qlipper/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libQtGui libQtDBus libQtNetwork" BUILD_DEPENDS="Qt4-dev cmake qmake" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 qps/receipt --- a/qps/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/qps/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libQtGui libQtDBus libQtXml" BUILD_DEPENDS="Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 qtermwidget/receipt --- a/qtermwidget/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/qtermwidget/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gcc-lib-base glibc-base" BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 quodlibet/receipt --- a/quodlibet/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/quodlibet/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -18,6 +18,13 @@ gst-plugins-good-dev gstreamer-dev gst-plugins-ugly-dev pygtk-dev intltool \ gettext gtk+-dev python-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 qxkb/receipt --- a/qxkb/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/qxkb/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="glibc-base libQtSvg xorg-libxkbfile" BUILD_DEPENDS="cmake Qt4-dev xorg-libxkbfile-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 raspberrypi-vc/receipt --- a/raspberrypi-vc/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/raspberrypi-vc/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/raspberrypi/firmware/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Cross tool PATH is not set in genpkg_rules compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 rlwrap/receipt --- a/rlwrap/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/rlwrap/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,13 +6,20 @@ SHORT_DESC="Input history wrapper using GNU readline." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" -WEB_SITE="https://github.com/hanslub42/rlwrap/" +WEB_SITE="https://github.com/hanslub42/rlwrap" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION/$TARBALL" BUILD_DEPENDS="automake ncurses-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 rubyripper/receipt --- a/rubyripper/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/rubyripper/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="cd-discid cdparanoia-III flac normalize ruby" BUILD_DEPENDS="cd-discid cdparanoia-III lame normalize ruby-dev vorbis-tools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 shell-fm/receipt --- a/shell-fm/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/shell-fm/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libmad libao taglib zlib" BUILD_DEPENDS="libmad-dev libao-dev libao wget pkg-config" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 snownews/receipt --- a/snownews/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/snownews/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="zlib-dev libxml2-dev ncurses-dev gettext perl \ openssl-dev acl libcroco wget" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 sozi/receipt --- a/sozi/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/sozi/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="inkscape python pygtk python-lxml" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 speedcrunch/receipt --- a/speedcrunch/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/speedcrunch/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="glibc-base libQtGui libQtXml" BUILD_DEPENDS="cmake Qt4-dev qmake" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/speedcrunch/SpeedCrunch/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 sunxi-tools/receipt --- a/sunxi-tools/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/sunxi-tools/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libusb" BUILD_DEPENDS="wget pkg-config libusb-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/amery/sunxi-tools/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 tcptrack/receipt --- a/tcptrack/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/tcptrack/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="TCP connection tracker." MAINTAINER="paul@slitaz.org" LICENSE="GPL2.1" -WEB_SITE="https://github.com/bchretien/tcptrack/" +WEB_SITE="https://github.com/bchretien/tcptrack" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" @@ -14,6 +14,13 @@ DEPENDS="libpcap ncurses" BUILD_DEPENDS="libpcap-dev ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 telegram/receipt --- a/telegram/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/telegram/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libconfig libedit ncursesw libcrypto" BUILD_DEPENDS="wget libconfig-dev lua-dev readline-dev openssl-dev libedit" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r d2357c7818f3 -r b569b85b0fb9 wavpack/receipt --- a/wavpack/receipt Mon Jan 17 12:42:24 2022 -0500 +++ b/wavpack/receipt Mon Jan 17 18:18:17 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="glibc-base" BUILD_DEPENDS="autoconf automake libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/dbry/WavPack/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() {