# HG changeset patch # User Pascal Bellard # Date 1645280342 0 # Node ID 34e801e0eb52b301790f1735e80cdee0f3a36e8c # Parent bc06829bd4f24536bc8ba04d7661d0a8f8c23b79 Add some current_version diff -r bc06829bd4f2 -r 34e801e0eb52 2048/receipt --- a/2048/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/2048/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 Arkanoid/receipt --- a/Arkanoid/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/Arkanoid/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -11,6 +11,13 @@ WEB_SITE="https://github.com/shiningdragon/Arkanoid" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 Connect-Four/receipt --- a/Connect-Four/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/Connect-Four/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 Qt4-qca-ossl/receipt --- a/Qt4-qca-ossl/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/Qt4-qca-ossl/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ libQtOpenGL libQtSql libQtWebkit qca openssl" BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev openssl-dev Qt4-dev qca-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \ + sed '/ version /!d;s|.*ersion ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 ajaxterm/receipt --- a/ajaxterm/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/ajaxterm/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="python" SUGGESTED="apache lighttpd-ssl lighttpd-modules" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/antonylesuisse/qweb/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 alieninvasion/receipt --- a/alieninvasion/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/alieninvasion/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 cdf/receipt --- a/cdf/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/cdf/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/novel/cdf/master/ChangeLog 2>/dev/null | \ + sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 cortex/receipt --- a/cortex/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/cortex/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,12 @@ DEPENDS="py3k cacerts" BUILD_DEPENDS="git bzip2" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/GGLucas/cortex/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r bc06829bd4f2 -r 34e801e0eb52 dummynet/receipt --- a/dummynet/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/dummynet/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ BUILD_DEPENDS="linux-module-headers" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/luigirizzo/dummynet/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 dummynet64/receipt --- a/dummynet64/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/dummynet64/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ # Aufs enable chroot AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/luigirizzo/dummynet/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 dvgrab/receipt --- a/dvgrab/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/dvgrab/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="pkg-config libdv-dev libraw1394-dev libavc1394-dev \ libiec61883-dev jpeg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/ddennedy/dvgrab/master/ChangeLog 2>/dev/null | \ + sed '/released/!d;s|.*v||;s| rel.*||;q' +} + # Rules to configure and make the package. compile_rules() diff -r bc06829bd4f2 -r 34e801e0eb52 eggwm/receipt --- a/eggwm/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/eggwm/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libX11 libQtCore libQtGui" BUILD_DEPENDS="qmake Qt4-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 gejengel/receipt --- a/gejengel/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/gejengel/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev libgnutls \ util-linux-uuid-dev libogg-dev intltool libcroco sqlite-dev gtk+-dev libtool" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/dirkvdb/gejengel/master/ChangeLog 2>/dev/null | \ + sed '/^Version /!d;s|.*ersion ||;s| .*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 gitso/receipt --- a/gitso/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/gitso/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="x11vnc vncviewer wxpython" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 gtkdialog/receipt --- a/gtkdialog/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/gtkdialog/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib" BUILD_DEPENDS="gtk+-dev libglade-dev vte-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/released/!d;s|.*Version ||;s| released.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 httptunnel/receipt --- a/httptunnel/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/httptunnel/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://github.com/larsbrinkhoff/httptunnel" WGET_URL="$WEB_SITE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 ladspa/receipt --- a/ladspa/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/ladspa/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gcc-lib-base" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - ${WEB_SITE}download/index.html 2>/dev/null | \ + sed '/latest/d;/ladspa_sdk_[0-9]/!d;/tgz/!d;s|.*ladspa_sdk_||;s|.tgz.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libiec61883/receipt --- a/libiec61883/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libiec61883/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libraw1394" BUILD_DEPENDS="libraw1394 libraw1394-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libmpdclient/receipt --- a/libmpdclient/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libmpdclient/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libopusenc/receipt --- a/libopusenc/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libopusenc/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="opus" BUILD_DEPENDS="opus-dev pkg-config" +# 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 +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libsde-utils-gtk/receipt --- a/libsde-utils-gtk/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libsde-utils-gtk/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ libsde-utils" BUILD_DEPENDS="cmake gtk+-dev gdk-pixbuf-dev libsde-utils" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libsde-utils/receipt --- a/libsde-utils/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libsde-utils/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="git cmake glib-dev libtool automake file" # glib-2.0>=2.36 +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libsdl-gfx/receipt --- a/libsdl-gfx/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libsdl-gfx/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libsdl" BUILD_DEPENDS="libsdl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[a-z].*||" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libsdl2-dev/receipt --- a/libsdl2-dev/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libsdl2-dev/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -8,9 +8,6 @@ LICENSE="zlib/libpng" WEB_SITE="http://libsdl.org" -TARBALL="SDL2-$VERSION.tar.gz" -WGET_URL="${WEB_SITE}/release/${TARBALL}" - DEPENDS="libsdl2 pkg-config" WANTED="libsdl2" diff -r bc06829bd4f2 -r 34e801e0eb52 libsieve/receipt --- a/libsieve/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libsieve/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/sodabrew/libsieve/commits/libsieve-2.3 2>/dev/null | \ + sed '/Version/!d;s|.* \([0-9]\)|\1|;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libstatgrab/receipt --- a/libstatgrab/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libstatgrab/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="ncursesw" BUILD_DEPENDS="file ncursesw-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 libxklavier/receipt --- a/libxklavier/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/libxklavier/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="automake file glib-dev gtk-doc iso-codes \ xz gettext-tools libtool libxml2-dev xorg-xkbcomp" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://gitlab.freedesktop.org/archived-projects/libxklavier/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/libxklavier-[0-9]/!d;s|.*libxklavier-||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 linux-api-headers/receipt --- a/linux-api-headers/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/linux-api-headers/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -19,6 +19,13 @@ PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" && EXTRA_SOURCE_FILES="$(basename $PATCH)" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2> /dev/null | grep -A 1 longterm | \ + sed '/strong/!d;s|.*||;s| /dev/null | grep -A 1 longterm | \ + sed '/strong/!d;s|.*||;s|/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 lua-readline/receipt --- a/lua-readline/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/lua-readline/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ SUGGESTED="lua" BUILD_DEPENDS="lua-dev readline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 lxc/receipt --- a/lxc/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/lxc/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ linux-netfilter perl util-linux-getopt" BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt" +# What is the latest version available today? +current_version() +{ + wget -O - https://linuxcontainers.org/lxc/downloads/ 2>/dev/null | \ + sed '/\/lxc-[0-9]/!d;s|.*lxc-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 marble/receipt --- a/marble/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/marble/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libQtWebkit libQtDeclarative libQtDBus" BUILD_DEPENDS="git Qt4-dev cmake libQtDeclarative qmake" +# What is the latest version available today? +current_version() +{ + wget -O - 'https://invent.kde.org/education/marble/-/tags?sort=updated_desc' 2>/dev/null | \ + sed '/-\/tags\/v/!d;s|.*/v|v|;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 mate-session-manager/receipt --- a/mate-session-manager/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/mate-session-manager/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -18,6 +18,13 @@ pangox-compat-dev xorg-libSM-dev xorg-libXtst-dev xmlto \ util-linux-uuid-dev docbook-xml docbook-xsl" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/mate-desktop/mate-session-manager/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 metacity/receipt --- a/metacity/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/metacity/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -7,9 +7,8 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" -HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|') WEB_SITE="http://blogs.gnome.org/metacity/" -WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL" +WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/${VERSION%.*}/$TARBALL" DEPENDS="gsettings-desktop-schemas libgio glib gtk+ xorg-libXcomposite \ xorg-libXdamage zenity xorg-libXinerama xorg-libXrandr xorg-libXcursor \ @@ -20,6 +19,15 @@ libogg-dev libtool gnome-doc-utils-dev GConf-dev util-linux-uuid-dev \ dbus-glib-dev file" +# What is the latest version available today? +current_version() +{ + wget -O - ${WGET_URL%/*/*}/$( \ + wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ + sed '/href="[0-9]/!d;s|.*href="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \ + sed '/metacity-[0-9]/!d;/tar/!d;s|.*metacity-||;s|.tar.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 mgetty/receipt --- a/mgetty/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/mgetty/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ CONFIG_FILES="/etc/mgetty+sendfax" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/mgetty-[0-9]/!d;s|.*mgetty-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 minesweeper/receipt --- a/minesweeper/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/minesweeper/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 minitube/receipt --- a/minitube/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/minitube/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts" # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon" +# What is the latest version available today? +current_version() +{ + wget -O - ${WEB_SITE%/*}/ 2>/dev/null | \ + sed '/Minitube /!d;s|.*>Minitube ||;s|[^0-9\.].*||;q' +} + # Rules to configure and make the package. #deb#compile_rules() #deb#{ diff -r bc06829bd4f2 -r 34e801e0eb52 mk-livestatus/receipt --- a/mk-livestatus/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/mk-livestatus/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="nagios" BUILD_DEPENDS="gcc83 nagios-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/tribe29/checkmk/tags 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 mrxvt-unicode/receipt --- a/mrxvt-unicode/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/mrxvt-unicode/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -16,6 +16,13 @@ xorg-libXau xorg-libXdmcp xorg-libXft xorg-libXpm xorg-libXrender zlib" BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev libtool xorg-dev xorg-libXft-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + compile_rules() { ./bootstrap.sh && diff -r bc06829bd4f2 -r 34e801e0eb52 obshutdown/receipt --- a/obshutdown/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/obshutdown/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="gtk+ cairo openbox" BUILD_DEPENDS="gtk+-dev cairo-dev wget" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/maciej-lech/obshutdown/master/ChangeLog 2>/dev/null | \ + sed '1!d;s|:||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 pacman/receipt --- a/pacman/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/pacman/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 pam_ldap/receipt --- a/pam_ldap/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/pam_ldap/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="libldap openldap-dev pam-dev perl" DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 pcsxr-svn/receipt --- a/pcsxr-svn/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/pcsxr-svn/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \ autoconf automake libtool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 pybootchartgui/receipt --- a/pybootchartgui/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/pybootchartgui/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="python pygtk bootchart" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/kraj/poky/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 python-attr/receipt --- a/python-attr/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/python-attr/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="python" BUILD_DEPENDS="python-setuptools" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/attr version/!d;s|.*version ||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 qiviewer/receipt --- a/qiviewer/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/qiviewer/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="xorg-libX11 libQtCore libQtGui" BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/samkpo/qiviewer/master/ChangeLog 2>/dev/null | \ + sed '/Version/!d;s|.*ersion ||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 racer10k/receipt --- a/racer10k/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/racer10k/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 rinetd/receipt --- a/rinetd/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/rinetd/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://github.com/boutell/rinetd" WGET_URL="http://www.boutell.com/rinetd/http/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \ + sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 shell-detector/receipt --- a/shell-detector/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/shell-detector/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="php" BUILD_DEPENDS="git" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/emposha/PHP-Shell-Detector/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 shiki-colors-murrine/receipt --- a/shiki-colors-murrine/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/shiki-colors-murrine/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk2-engine-murrine" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 shiki-colors/receipt --- a/shiki-colors/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/shiki-colors/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="gtk-clearlooks" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 slim-theme-esperanza/receipt --- a/slim-theme-esperanza/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/slim-theme-esperanza/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="slim" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 slim-theme-leaves/receipt --- a/slim-theme-leaves/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/slim-theme-leaves/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="slim" BUILD_DEPENDS="imagemagick" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 slim-theme-montanhoso/receipt --- a/slim-theme-montanhoso/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/slim-theme-montanhoso/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="slim" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 spaceinvaders/receipt --- a/spaceinvaders/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/spaceinvaders/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 sshrc/receipt --- a/sshrc/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/sshrc/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="bash openssl" SUGGESTED="mosh" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 stegdetect/receipt --- a/stegdetect/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/stegdetect/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -11,6 +11,13 @@ WGET_URL="$WEB_SITE/$TARBALL" TAGS="stenography" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 stm8flash/receipt --- a/stm8flash/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/stm8flash/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -12,6 +12,13 @@ WEB_SITE="https://github.com/vdudouyt/stm8flash" WGET_URL="$WEB_SITE/archive/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d +} + DEPENDS="libusb" BUILD_DEPENDS="libusb-dev" diff -r bc06829bd4f2 -r 34e801e0eb52 sundown/receipt --- a/sundown/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/sundown/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 superswitcher/receipt --- a/superswitcher/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/superswitcher/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev \ autoconf automake" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/nigeltao/superswitcher/master/ChangeLog 2>/dev/null | \ + sed '1!d;s| .*||;s|-||g' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 swfdec/receipt --- a/swfdec/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/swfdec/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \ cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/mltframework/swfdec/master/NEWS 2>/dev/null | \ + sed '/[0-9]/!d;s|^ *||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 trickle/receipt --- a/trickle/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/trickle/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="libevent" BUILD_DEPENDS="libevent-dev wget automake autoconf libtool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 vmware-view-open-client/receipt --- a/vmware-view-open-client/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/vmware-view-open-client/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gtk+-dev openssl-dev libxml2-dev curl-dev libboost-dev \ libboost-signals-dev icu-dev icu intltool" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 vpnc-cert/receipt --- a/vpnc-cert/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/vpnc-cert/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto" BUILD_DEPENDS="libgcrypt-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 vpnc/receipt --- a/vpnc/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/vpnc/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="libgcrypt libgpg-error glibc-base perl" BUILD_DEPENDS="libgcrypt-dev openssl-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 waterline-plugin-multiload/receipt --- a/waterline-plugin-multiload/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/waterline-plugin-multiload/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \ libgtop-dev lxpanel-dev waterline-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 waterline/receipt --- a/waterline/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/waterline/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -17,6 +17,13 @@ xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev" # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 wbar/receipt --- a/wbar/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/wbar/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="imlib2 ttf-dejavu gcc-lib-base" BUILD_DEPENDS="imlib2-dev" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/dev-3.0 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 wbar2/receipt --- a/wbar2/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/wbar2/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -23,6 +23,13 @@ arm*) ARCH_ARGS="--disable-wbar-config" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/dev-3.0 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 wepbuster/receipt --- a/wepbuster/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/wepbuster/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -14,6 +14,13 @@ perl-getopt-long perl-term-readkey macchanger aircrack-ng dhcp-client \ wireless_tools" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/google-code-export/wepbuster/master/README.TXT 2>/dev/null | \ + sed '/WEPBuster/!d;s|.*ter ||;s| .*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 yaffs2utils/receipt --- a/yaffs2utils/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/yaffs2utils/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://raw.githubusercontent.com/justsoso8/yaffs2utils/master/CHANGES 2>/dev/null | \ + sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r bc06829bd4f2 -r 34e801e0eb52 yuyo-gtk-theme/receipt --- a/yuyo-gtk-theme/receipt Sat Feb 19 14:05:47 2022 +0100 +++ b/yuyo-gtk-theme/receipt Sat Feb 19 14:19:02 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="gdk-pixbuf gtk2-engine-murrine" BUILD_DEPENDS="wget" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE/commits/master 2>/dev/null | \ + sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() {