wok rev 24497

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 19 14:19:02 2022 +0000 (2022-02-19)
parents bc06829bd4f2
children 1c049ccf6c26
files 2048/receipt Arkanoid/receipt Connect-Four/receipt Qt4-qca-ossl/receipt ajaxterm/receipt alieninvasion/receipt cdf/receipt cortex/receipt dummynet/receipt dummynet64/receipt dvgrab/receipt eggwm/receipt gejengel/receipt gitso/receipt gtkdialog/receipt httptunnel/receipt ladspa/receipt libiec61883/receipt libmpdclient/receipt libopusenc/receipt libsde-utils-gtk/receipt libsde-utils/receipt libsdl-gfx/receipt libsdl2-dev/receipt libsieve/receipt libstatgrab/receipt libxklavier/receipt linux-api-headers/receipt linux-uml/receipt logfsprogs/receipt lua-readline/receipt lxc/receipt marble/receipt mate-session-manager/receipt metacity/receipt mgetty/receipt minesweeper/receipt minitube/receipt mk-livestatus/receipt mrxvt-unicode/receipt obshutdown/receipt pacman/receipt pam_ldap/receipt pcsxr-svn/receipt pybootchartgui/receipt python-attr/receipt qiviewer/receipt racer10k/receipt rinetd/receipt shell-detector/receipt shiki-colors-murrine/receipt shiki-colors/receipt slim-theme-esperanza/receipt slim-theme-leaves/receipt slim-theme-montanhoso/receipt spaceinvaders/receipt sshrc/receipt stegdetect/receipt stm8flash/receipt sundown/receipt superswitcher/receipt swfdec/receipt trickle/receipt vmware-view-open-client/receipt vpnc-cert/receipt vpnc/receipt waterline-plugin-multiload/receipt waterline/receipt wbar/receipt wbar2/receipt wepbuster/receipt yaffs2utils/receipt yuyo-gtk-theme/receipt
line diff
     1.1 --- a/2048/receipt	Sat Feb 19 14:05:47 2022 +0100
     1.2 +++ b/2048/receipt	Sat Feb 19 14:19:02 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
     1.5  HOST_ARCH="any"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    1.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
     2.1 --- a/Arkanoid/receipt	Sat Feb 19 14:05:47 2022 +0100
     2.2 +++ b/Arkanoid/receipt	Sat Feb 19 14:19:02 2022 +0000
     2.3 @@ -11,6 +11,13 @@
     2.4  WEB_SITE="https://github.com/shiningdragon/Arkanoid"
     2.5  WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    2.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d
    2.12 +}
    2.13 +
    2.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.15  genpkg_rules()
    2.16  {
     3.1 --- a/Connect-Four/receipt	Sat Feb 19 14:05:47 2022 +0100
     3.2 +++ b/Connect-Four/receipt	Sat Feb 19 14:19:02 2022 +0000
     3.3 @@ -12,6 +12,13 @@
     3.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
     3.5  HOST_ARCH="any"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    3.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    3.12 +}
    3.13 +
    3.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.15  genpkg_rules()
    3.16  {
     4.1 --- a/Qt4-qca-ossl/receipt	Sat Feb 19 14:05:47 2022 +0100
     4.2 +++ b/Qt4-qca-ossl/receipt	Sat Feb 19 14:19:02 2022 +0000
     4.3 @@ -17,6 +17,13 @@
     4.4  libQtOpenGL libQtSql libQtWebkit qca openssl"
     4.5  BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev openssl-dev Qt4-dev qca-dev"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://raw.githubusercontent.com/highfidelity/qca/master/README 2>/dev/null | \
    4.11 +	sed '/ version /!d;s|.*ersion ||;q'
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/ajaxterm/receipt	Sat Feb 19 14:05:47 2022 +0100
     5.2 +++ b/ajaxterm/receipt	Sat Feb 19 14:19:02 2022 +0000
     5.3 @@ -15,6 +15,13 @@
     5.4  DEPENDS="python"
     5.5  SUGGESTED="apache lighttpd-ssl lighttpd-modules"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://github.com/antonylesuisse/qweb/commits/master 2>/dev/null | \
    5.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/alieninvasion/receipt	Sat Feb 19 14:05:47 2022 +0100
     6.2 +++ b/alieninvasion/receipt	Sat Feb 19 14:19:02 2022 +0000
     6.3 @@ -12,6 +12,13 @@
     6.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
     6.5  HOST_ARCH="any"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    6.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    6.12 +}
    6.13 +
    6.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.15  genpkg_rules()
    6.16  {
     7.1 --- a/cdf/receipt	Sat Feb 19 14:05:47 2022 +0100
     7.2 +++ b/cdf/receipt	Sat Feb 19 14:19:02 2022 +0000
     7.3 @@ -13,6 +13,13 @@
     7.4  
     7.5  DEPENDS=""
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://raw.githubusercontent.com/novel/cdf/master/ChangeLog 2>/dev/null | \
    7.11 +	sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/cortex/receipt	Sat Feb 19 14:05:47 2022 +0100
     8.2 +++ b/cortex/receipt	Sat Feb 19 14:19:02 2022 +0000
     8.3 @@ -13,6 +13,12 @@
     8.4  DEPENDS="py3k cacerts"
     8.5  BUILD_DEPENDS="git bzip2"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://github.com/GGLucas/cortex/commits/master 2>/dev/null | \
    8.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
    8.12 +}
    8.13  
    8.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.15  genpkg_rules()
     9.1 --- a/dummynet/receipt	Sat Feb 19 14:05:47 2022 +0100
     9.2 +++ b/dummynet/receipt	Sat Feb 19 14:19:02 2022 +0000
     9.3 @@ -13,6 +13,13 @@
     9.4  
     9.5  BUILD_DEPENDS="linux-module-headers"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://github.com/luigirizzo/dummynet/commits/master 2>/dev/null | \
    9.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/dummynet64/receipt	Sat Feb 19 14:05:47 2022 +0100
    10.2 +++ b/dummynet64/receipt	Sat Feb 19 14:19:02 2022 +0000
    10.3 @@ -17,6 +17,13 @@
    10.4  # Aufs enable chroot
    10.5  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://github.com/luigirizzo/dummynet/commits/master 2>/dev/null | \
   10.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/dvgrab/receipt	Sat Feb 19 14:05:47 2022 +0100
    11.2 +++ b/dvgrab/receipt	Sat Feb 19 14:19:02 2022 +0000
    11.3 @@ -15,6 +15,13 @@
    11.4  BUILD_DEPENDS="pkg-config libdv-dev libraw1394-dev libavc1394-dev \
    11.5  libiec61883-dev jpeg-dev"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - https://raw.githubusercontent.com/ddennedy/dvgrab/master/ChangeLog 2>/dev/null | \
   11.11 +	sed '/released/!d;s|.*v||;s| rel.*||;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  
   11.16  compile_rules()
    12.1 --- a/eggwm/receipt	Sat Feb 19 14:05:47 2022 +0100
    12.2 +++ b/eggwm/receipt	Sat Feb 19 14:19:02 2022 +0000
    12.3 @@ -13,6 +13,13 @@
    12.4  DEPENDS="xorg-libX11 libQtCore libQtGui"
    12.5  BUILD_DEPENDS="qmake Qt4-dev"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   12.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/gejengel/receipt	Sat Feb 19 14:05:47 2022 +0100
    13.2 +++ b/gejengel/receipt	Sat Feb 19 14:19:02 2022 +0000
    13.3 @@ -17,6 +17,13 @@
    13.4  ffmpeg-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev libgnutls \
    13.5  util-linux-uuid-dev libogg-dev intltool libcroco sqlite-dev gtk+-dev libtool"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://raw.githubusercontent.com/dirkvdb/gejengel/master/ChangeLog 2>/dev/null | \
   13.11 +	sed '/^Version /!d;s|.*ersion ||;s| .*||' | sort -Vr | sed q
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/gitso/receipt	Sat Feb 19 14:05:47 2022 +0100
    14.2 +++ b/gitso/receipt	Sat Feb 19 14:19:02 2022 +0000
    14.3 @@ -13,6 +13,13 @@
    14.4  
    14.5  DEPENDS="x11vnc vncviewer wxpython"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   14.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   14.12 +}
   14.13 +
   14.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.15  genpkg_rules()
   14.16  {
    15.1 --- a/gtkdialog/receipt	Sat Feb 19 14:05:47 2022 +0100
    15.2 +++ b/gtkdialog/receipt	Sat Feb 19 14:19:02 2022 +0000
    15.3 @@ -17,6 +17,13 @@
    15.4  xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender zlib"
    15.5  BUILD_DEPENDS="gtk+-dev libglade-dev vte-dev"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   15.11 +	sed '/released/!d;s|.*Version ||;s| released.*||;q'
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/httptunnel/receipt	Sat Feb 19 14:05:47 2022 +0100
    16.2 +++ b/httptunnel/receipt	Sat Feb 19 14:19:02 2022 +0000
    16.3 @@ -10,6 +10,13 @@
    16.4  WEB_SITE="https://github.com/larsbrinkhoff/httptunnel"
    16.5  WGET_URL="$WEB_SITE/$TARBALL"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   16.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/ladspa/receipt	Sat Feb 19 14:05:47 2022 +0100
    17.2 +++ b/ladspa/receipt	Sat Feb 19 14:19:02 2022 +0000
    17.3 @@ -15,6 +15,13 @@
    17.4  DEPENDS="gcc-lib-base"
    17.5  BUILD_DEPENDS=""
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - ${WEB_SITE}download/index.html 2>/dev/null | \
   17.11 +	sed '/latest/d;/ladspa_sdk_[0-9]/!d;/tgz/!d;s|.*ladspa_sdk_||;s|.tgz.*||' | sort -Vr | sed q
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/libiec61883/receipt	Sat Feb 19 14:05:47 2022 +0100
    18.2 +++ b/libiec61883/receipt	Sat Feb 19 14:19:02 2022 +0000
    18.3 @@ -15,6 +15,13 @@
    18.4  DEPENDS="libraw1394"
    18.5  BUILD_DEPENDS="libraw1394 libraw1394-dev"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \
   18.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   18.12 +}
   18.13 +
   18.14  # Rules to configure and make the package.
   18.15  compile_rules()
   18.16  {
    19.1 --- a/libmpdclient/receipt	Sat Feb 19 14:05:47 2022 +0100
    19.2 +++ b/libmpdclient/receipt	Sat Feb 19 14:19:02 2022 +0000
    19.3 @@ -13,6 +13,13 @@
    19.4  
    19.5  DEPENDS=""
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   19.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/libopusenc/receipt	Sat Feb 19 14:05:47 2022 +0100
    20.2 +++ b/libopusenc/receipt	Sat Feb 19 14:19:02 2022 +0000
    20.3 @@ -13,6 +13,13 @@
    20.4  DEPENDS="opus"
    20.5  BUILD_DEPENDS="opus-dev pkg-config"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   20.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/libsde-utils-gtk/receipt	Sat Feb 19 14:05:47 2022 +0100
    21.2 +++ b/libsde-utils-gtk/receipt	Sat Feb 19 14:19:02 2022 +0000
    21.3 @@ -13,6 +13,13 @@
    21.4  DEPENDS="gtk+ libsde-utils"
    21.5  BUILD_DEPENDS="cmake gtk+-dev gdk-pixbuf-dev libsde-utils"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   21.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/libsde-utils/receipt	Sat Feb 19 14:05:47 2022 +0100
    22.2 +++ b/libsde-utils/receipt	Sat Feb 19 14:19:02 2022 +0000
    22.3 @@ -16,6 +16,13 @@
    22.4  BUILD_DEPENDS="git cmake glib-dev libtool automake file"
    22.5  # glib-2.0>=2.36
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   22.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/libsdl-gfx/receipt	Sat Feb 19 14:05:47 2022 +0100
    23.2 +++ b/libsdl-gfx/receipt	Sat Feb 19 14:19:02 2022 +0000
    23.3 @@ -14,6 +14,13 @@
    23.4  DEPENDS="libsdl"
    23.5  BUILD_DEPENDS="libsdl-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   23.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[a-z].*||" | sort -Vr | sed q
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/libsdl2-dev/receipt	Sat Feb 19 14:05:47 2022 +0100
    24.2 +++ b/libsdl2-dev/receipt	Sat Feb 19 14:19:02 2022 +0000
    24.3 @@ -8,9 +8,6 @@
    24.4  LICENSE="zlib/libpng"
    24.5  WEB_SITE="http://libsdl.org"
    24.6  
    24.7 -TARBALL="SDL2-$VERSION.tar.gz"
    24.8 -WGET_URL="${WEB_SITE}/release/${TARBALL}"
    24.9 -
   24.10  DEPENDS="libsdl2 pkg-config"
   24.11  WANTED="libsdl2"
   24.12  
    25.1 --- a/libsieve/receipt	Sat Feb 19 14:05:47 2022 +0100
    25.2 +++ b/libsieve/receipt	Sat Feb 19 14:19:02 2022 +0000
    25.3 @@ -12,6 +12,13 @@
    25.4  
    25.5  BUILD_DEPENDS="wget"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://github.com/sodabrew/libsieve/commits/libsieve-2.3 2>/dev/null | \
   25.11 +	sed '/Version/!d;s|.* \([0-9]\)|\1|;s|<.*||;q'
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/libstatgrab/receipt	Sat Feb 19 14:05:47 2022 +0100
    26.2 +++ b/libstatgrab/receipt	Sat Feb 19 14:19:02 2022 +0000
    26.3 @@ -14,6 +14,13 @@
    26.4  DEPENDS="ncursesw"
    26.5  BUILD_DEPENDS="file ncursesw-dev"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - https://github.com/libstatgrab/libstatgrab/releases 2>/dev/null | \
   26.11 +	sed '/archive.*tar/!d;s|.*/[A-Z_]*\(.*\).tar.*|\1|;s|_|.|g;q'
   26.12 +}
   26.13 +
   26.14  # Rules to configure and make the package.
   26.15  compile_rules()
   26.16  {
    27.1 --- a/libxklavier/receipt	Sat Feb 19 14:05:47 2022 +0100
    27.2 +++ b/libxklavier/receipt	Sat Feb 19 14:19:02 2022 +0000
    27.3 @@ -15,6 +15,13 @@
    27.4  BUILD_DEPENDS="automake file glib-dev gtk-doc iso-codes \
    27.5  	xz gettext-tools libtool libxml2-dev xorg-xkbcomp"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - 'https://gitlab.freedesktop.org/archived-projects/libxklavier/-/tags?sort=updated_desc' 2>/dev/null | \
   27.11 +	sed '/libxklavier-[0-9]/!d;s|.*libxklavier-||;s|<.*||;q'
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/linux-api-headers/receipt	Sat Feb 19 14:05:47 2022 +0100
    28.2 +++ b/linux-api-headers/receipt	Sat Feb 19 14:19:02 2022 +0000
    28.3 @@ -19,6 +19,13 @@
    28.4  PATCH="$(dirname $WGET_URL)/patch-$VERSION.xz" &&
    28.5  EXTRA_SOURCE_FILES="$(basename $PATCH)"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - $WEB_SITE 2> /dev/null | grep -A 1 longterm | \
   28.11 +	sed '/strong/!d;s|.*<strong>||;s|</s.*||;q'
   28.12 +}
   28.13 +
   28.14  # Rules to compile & install the temporary toolchain.
   28.15  cook_tmp_toolchain()
   28.16  {
    29.1 --- a/linux-uml/receipt	Sat Feb 19 14:05:47 2022 +0100
    29.2 +++ b/linux-uml/receipt	Sat Feb 19 14:19:02 2022 +0000
    29.3 @@ -17,6 +17,13 @@
    29.4  
    29.5  BUILD_DEPENDS="wget bash perl"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - $WEB_SITE 2> /dev/null | grep -A 1 longterm | \
   29.11 +	sed '/strong/!d;s|.*<strong>||;s|</s.*||;q'
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/logfsprogs/receipt	Sat Feb 19 14:05:47 2022 +0100
    30.2 +++ b/logfsprogs/receipt	Sat Feb 19 14:19:02 2022 +0000
    30.3 @@ -14,6 +14,13 @@
    30.4  DEPENDS="zlib"
    30.5  BUILD_DEPENDS="zlib-dev"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://github.com/prasad-joshi/logfsprogs/commits/master 2>/dev/null | \
   30.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/lua-readline/receipt	Sat Feb 19 14:05:47 2022 +0100
    31.2 +++ b/lua-readline/receipt	Sat Feb 19 14:19:02 2022 +0000
    31.3 @@ -14,6 +14,13 @@
    31.4  SUGGESTED="lua"
    31.5  BUILD_DEPENDS="lua-dev readline-dev"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://github.com/hleuwer/readline/commits/master 2>/dev/null | \
   31.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/lxc/receipt	Sat Feb 19 14:05:47 2022 +0100
    32.2 +++ b/lxc/receipt	Sat Feb 19 14:19:02 2022 +0000
    32.3 @@ -15,6 +15,13 @@
    32.4  	linux-netfilter perl util-linux-getopt"
    32.5  BUILD_DEPENDS="gcc83 gnutls-dev libcap-dev util-linux-getopt"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://linuxcontainers.org/lxc/downloads/ 2>/dev/null | \
   32.11 +	sed '/\/lxc-[0-9]/!d;s|.*lxc-||;s|.tar.*||;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/marble/receipt	Sat Feb 19 14:05:47 2022 +0100
    33.2 +++ b/marble/receipt	Sat Feb 19 14:19:02 2022 +0000
    33.3 @@ -15,6 +15,13 @@
    33.4  DEPENDS="libQtWebkit libQtDeclarative libQtDBus"
    33.5  BUILD_DEPENDS="git Qt4-dev cmake libQtDeclarative qmake"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - 'https://invent.kde.org/education/marble/-/tags?sort=updated_desc' 2>/dev/null | \
   33.11 +	sed '/-\/tags\/v/!d;s|.*/v|v|;s|".*||;q'
   33.12 +}
   33.13 +
   33.14  # Rules to configure and make the package.
   33.15  compile_rules()
   33.16  {
    34.1 --- a/mate-session-manager/receipt	Sat Feb 19 14:05:47 2022 +0100
    34.2 +++ b/mate-session-manager/receipt	Sat Feb 19 14:19:02 2022 +0000
    34.3 @@ -18,6 +18,13 @@
    34.4  pangox-compat-dev xorg-libSM-dev xorg-libXtst-dev xmlto \
    34.5  util-linux-uuid-dev docbook-xml docbook-xsl"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - https://github.com/mate-desktop/mate-session-manager/releases 2>/dev/null | \
   34.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   34.12 +}
   34.13 +
   34.14  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/metacity/receipt	Sat Feb 19 14:05:47 2022 +0100
    35.2 +++ b/metacity/receipt	Sat Feb 19 14:19:02 2022 +0000
    35.3 @@ -7,9 +7,8 @@
    35.4  MAINTAINER="al.bobylev@gmail.com"
    35.5  LICENSE="GPL2"
    35.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    35.7 -HI_VERSION=$(echo $VERSION | sed 's|\([0-9\.]*\)\.[0-9]*|\1|')
    35.8  WEB_SITE="http://blogs.gnome.org/metacity/"
    35.9 -WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/$HI_VERSION/$TARBALL"
   35.10 +WGET_URL="http://ftp.acc.umu.se/pub/gnome/sources/metacity/${VERSION%.*}/$TARBALL"
   35.11  
   35.12  DEPENDS="gsettings-desktop-schemas libgio glib gtk+ xorg-libXcomposite \
   35.13  xorg-libXdamage zenity xorg-libXinerama xorg-libXrandr xorg-libXcursor \
   35.14 @@ -20,6 +19,15 @@
   35.15  libogg-dev libtool gnome-doc-utils-dev GConf-dev util-linux-uuid-dev \
   35.16  dbus-glib-dev file"
   35.17  
   35.18 +# What is the latest version available today?
   35.19 +current_version()
   35.20 +{
   35.21 +	wget -O - ${WGET_URL%/*/*}/$( \
   35.22 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   35.23 +	sed '/href="[0-9]/!d;s|.*href="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \
   35.24 +	sed '/metacity-[0-9]/!d;/tar/!d;s|.*metacity-||;s|.tar.*||' | sort -Vr | sed q
   35.25 +}
   35.26 +
   35.27  # Rules to configure and make the package.
   35.28  compile_rules()
   35.29  {
    36.1 --- a/mgetty/receipt	Sat Feb 19 14:05:47 2022 +0100
    36.2 +++ b/mgetty/receipt	Sat Feb 19 14:19:02 2022 +0000
    36.3 @@ -15,6 +15,13 @@
    36.4  
    36.5  CONFIG_FILES="/etc/mgetty+sendfax"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   36.11 +	sed '/mgetty-[0-9]/!d;s|.*mgetty-||;s|.tar.*||;q'
   36.12 +}
   36.13 +
   36.14  # Rules to configure and make the package.
   36.15  compile_rules()
   36.16  {
    37.1 --- a/minesweeper/receipt	Sat Feb 19 14:05:47 2022 +0100
    37.2 +++ b/minesweeper/receipt	Sat Feb 19 14:19:02 2022 +0000
    37.3 @@ -12,6 +12,13 @@
    37.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    37.5  HOST_ARCH="any"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   37.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   37.12 +}
   37.13 +
   37.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   37.15  genpkg_rules()
   37.16  {
    38.1 --- a/minitube/receipt	Sat Feb 19 14:05:47 2022 +0100
    38.2 +++ b/minitube/receipt	Sat Feb 19 14:19:02 2022 +0000
    38.3 @@ -17,6 +17,13 @@
    38.4   libQtXml libQtOpenGL phonon phonon-vlc libvlc libgnutls cacerts"
    38.5  # BUILD_DEPENDS="wget cacerts Qt4-dev qmake qt4-phonon"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - ${WEB_SITE%/*}/ 2>/dev/null | \
   38.11 +	sed '/Minitube /!d;s|.*>Minitube ||;s|[^0-9\.].*||;q'
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  #deb#compile_rules()
   38.16  #deb#{
    39.1 --- a/mk-livestatus/receipt	Sat Feb 19 14:05:47 2022 +0100
    39.2 +++ b/mk-livestatus/receipt	Sat Feb 19 14:19:02 2022 +0000
    39.3 @@ -14,6 +14,13 @@
    39.4  DEPENDS="nagios"
    39.5  BUILD_DEPENDS="gcc83 nagios-dev"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - https://github.com/tribe29/checkmk/tags 2>/dev/null | \
   39.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   39.12 +}
   39.13 +
   39.14  # Rules to configure and make the package.
   39.15  compile_rules()
   39.16  {
    40.1 --- a/mrxvt-unicode/receipt	Sat Feb 19 14:05:47 2022 +0100
    40.2 +++ b/mrxvt-unicode/receipt	Sat Feb 19 14:19:02 2022 +0000
    40.3 @@ -16,6 +16,13 @@
    40.4  	xorg-libXau xorg-libXdmcp xorg-libXft xorg-libXpm xorg-libXrender zlib"
    40.5  BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev libtool xorg-dev xorg-libXft-dev"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   40.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   40.12 +}
   40.13 +
   40.14  compile_rules()
   40.15  {
   40.16  	./bootstrap.sh &&
    41.1 --- a/obshutdown/receipt	Sat Feb 19 14:05:47 2022 +0100
    41.2 +++ b/obshutdown/receipt	Sat Feb 19 14:19:02 2022 +0000
    41.3 @@ -13,6 +13,13 @@
    41.4  DEPENDS="gtk+ cairo openbox"
    41.5  BUILD_DEPENDS="gtk+-dev cairo-dev wget"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - https://raw.githubusercontent.com/maciej-lech/obshutdown/master/ChangeLog 2>/dev/null | \
   41.11 +	sed '1!d;s|:||;q'
   41.12 +}
   41.13 +
   41.14  # Rules to configure and make the package.
   41.15  compile_rules()
   41.16  {
    42.1 --- a/pacman/receipt	Sat Feb 19 14:05:47 2022 +0100
    42.2 +++ b/pacman/receipt	Sat Feb 19 14:19:02 2022 +0000
    42.3 @@ -12,6 +12,13 @@
    42.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    42.5  HOST_ARCH="any"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   42.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   42.12 +}
   42.13 +
   42.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   42.15  genpkg_rules()
   42.16  {
    43.1 --- a/pam_ldap/receipt	Sat Feb 19 14:05:47 2022 +0100
    43.2 +++ b/pam_ldap/receipt	Sat Feb 19 14:19:02 2022 +0000
    43.3 @@ -15,6 +15,13 @@
    43.4  BUILD_DEPENDS="libldap openldap-dev pam-dev perl"
    43.5  DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   43.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/pcsxr-svn/receipt	Sat Feb 19 14:05:47 2022 +0100
    44.2 +++ b/pcsxr-svn/receipt	Sat Feb 19 14:19:02 2022 +0000
    44.3 @@ -17,6 +17,13 @@
    44.4  zlib-dev libsdl libsdl-dev subversion nasm gettext intltool sed lzma \
    44.5  autoconf automake libtool"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   44.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   44.12 +}
   44.13 +
   44.14  # Rules to configure and make the package.
   44.15  compile_rules()
   44.16  {
    45.1 --- a/pybootchartgui/receipt	Sat Feb 19 14:05:47 2022 +0100
    45.2 +++ b/pybootchartgui/receipt	Sat Feb 19 14:19:02 2022 +0000
    45.3 @@ -12,6 +12,13 @@
    45.4  
    45.5  DEPENDS="python pygtk bootchart"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - https://github.com/kraj/poky/commits/master 2>/dev/null | \
   45.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   45.12 +}
   45.13 +
   45.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   45.15  genpkg_rules()
   45.16  {
    46.1 --- a/python-attr/receipt	Sat Feb 19 14:05:47 2022 +0100
    46.2 +++ b/python-attr/receipt	Sat Feb 19 14:19:02 2022 +0000
    46.3 @@ -14,6 +14,13 @@
    46.4  DEPENDS="python"
    46.5  BUILD_DEPENDS="python-setuptools"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   46.11 +	sed '/attr version/!d;s|.*version ||;s|<.*||'
   46.12 +}
   46.13 +
   46.14  # Rules to configure and make the package.
   46.15  compile_rules()
   46.16  {
    47.1 --- a/qiviewer/receipt	Sat Feb 19 14:05:47 2022 +0100
    47.2 +++ b/qiviewer/receipt	Sat Feb 19 14:19:02 2022 +0000
    47.3 @@ -13,6 +13,13 @@
    47.4  DEPENDS="xorg-libX11 libQtCore libQtGui"
    47.5  BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev"
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - https://raw.githubusercontent.com/samkpo/qiviewer/master/ChangeLog 2>/dev/null | \
   47.11 +	sed '/Version/!d;s|.*ersion ||;q'
   47.12 +}
   47.13 +
   47.14  # Rules to configure and make the package.
   47.15  compile_rules()
   47.16  {
    48.1 --- a/racer10k/receipt	Sat Feb 19 14:05:47 2022 +0100
    48.2 +++ b/racer10k/receipt	Sat Feb 19 14:19:02 2022 +0000
    48.3 @@ -12,6 +12,13 @@
    48.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    48.5  HOST_ARCH="any"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   48.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   48.12 +}
   48.13 +
   48.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   48.15  genpkg_rules()
   48.16  {
    49.1 --- a/rinetd/receipt	Sat Feb 19 14:05:47 2022 +0100
    49.2 +++ b/rinetd/receipt	Sat Feb 19 14:19:02 2022 +0000
    49.3 @@ -10,6 +10,13 @@
    49.4  WEB_SITE="https://github.com/boutell/rinetd"
    49.5  WGET_URL="http://www.boutell.com/rinetd/http/$TARBALL"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://raw.githubusercontent.com/boutell/rinetd/master/CHANGES 2>/dev/null | \
   49.11 +	sed '/^Version /!d;s|.*ersion ||;s|:.*||' | sort -Vr | sed q
   49.12 +}
   49.13 +
   49.14  # Rules to configure and make the package.
   49.15  compile_rules()
   49.16  {
    50.1 --- a/shell-detector/receipt	Sat Feb 19 14:05:47 2022 +0100
    50.2 +++ b/shell-detector/receipt	Sat Feb 19 14:19:02 2022 +0000
    50.3 @@ -14,6 +14,13 @@
    50.4  DEPENDS="php"
    50.5  BUILD_DEPENDS="git"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - https://github.com/emposha/PHP-Shell-Detector/commits/master 2>/dev/null | \
   50.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   50.12 +}
   50.13 +
   50.14  # Rules to configure and make the package.
   50.15  compile_rules()
   50.16  {
    51.1 --- a/shiki-colors-murrine/receipt	Sat Feb 19 14:05:47 2022 +0100
    51.2 +++ b/shiki-colors-murrine/receipt	Sat Feb 19 14:19:02 2022 +0000
    51.3 @@ -14,6 +14,13 @@
    51.4  DEPENDS="gtk2-engine-murrine"
    51.5  BUILD_DEPENDS=""
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   51.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   51.12 +}
   51.13 +
   51.14  # Rules to configure and make the package.
   51.15  compile_rules()
   51.16  {
    52.1 --- a/shiki-colors/receipt	Sat Feb 19 14:05:47 2022 +0100
    52.2 +++ b/shiki-colors/receipt	Sat Feb 19 14:19:02 2022 +0000
    52.3 @@ -14,6 +14,13 @@
    52.4  DEPENDS="gtk-clearlooks"
    52.5  BUILD_DEPENDS=""
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   52.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {
    53.1 --- a/slim-theme-esperanza/receipt	Sat Feb 19 14:05:47 2022 +0100
    53.2 +++ b/slim-theme-esperanza/receipt	Sat Feb 19 14:19:02 2022 +0000
    53.3 @@ -16,6 +16,13 @@
    53.4  DEPENDS="slim"
    53.5  BUILD_DEPENDS=""
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \
   53.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   53.12 +}
   53.13 +
   53.14  # Rules to configure and make the package.
   53.15  compile_rules()
   53.16  {
    54.1 --- a/slim-theme-leaves/receipt	Sat Feb 19 14:05:47 2022 +0100
    54.2 +++ b/slim-theme-leaves/receipt	Sat Feb 19 14:19:02 2022 +0000
    54.3 @@ -16,6 +16,13 @@
    54.4  DEPENDS="slim"
    54.5  BUILD_DEPENDS="imagemagick"
    54.6  
    54.7 +# What is the latest version available today?
    54.8 +current_version()
    54.9 +{
   54.10 +	wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \
   54.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   54.12 +}
   54.13 +
   54.14  # Rules to configure and make the package.
   54.15  compile_rules()
   54.16  {
    55.1 --- a/slim-theme-montanhoso/receipt	Sat Feb 19 14:05:47 2022 +0100
    55.2 +++ b/slim-theme-montanhoso/receipt	Sat Feb 19 14:19:02 2022 +0000
    55.3 @@ -16,6 +16,13 @@
    55.4  DEPENDS="slim"
    55.5  BUILD_DEPENDS=""
    55.6  
    55.7 +# What is the latest version available today?
    55.8 +current_version()
    55.9 +{
   55.10 +	wget -O - https://github.com/SliTaz-official/hackdorte-artwork/commits/master 2>/dev/null | \
   55.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   55.12 +}
   55.13 +
   55.14  # Rules to configure and make the package.
   55.15  compile_rules()
   55.16  {
    56.1 --- a/spaceinvaders/receipt	Sat Feb 19 14:05:47 2022 +0100
    56.2 +++ b/spaceinvaders/receipt	Sat Feb 19 14:19:02 2022 +0000
    56.3 @@ -12,6 +12,13 @@
    56.4  WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    56.5  HOST_ARCH="any"
    56.6  
    56.7 +# What is the latest version available today?
    56.8 +current_version()
    56.9 +{
   56.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   56.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   56.12 +}
   56.13 +
   56.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   56.15  genpkg_rules()
   56.16  {
    57.1 --- a/sshrc/receipt	Sat Feb 19 14:05:47 2022 +0100
    57.2 +++ b/sshrc/receipt	Sat Feb 19 14:19:02 2022 +0000
    57.3 @@ -15,6 +15,13 @@
    57.4  DEPENDS="bash openssl"
    57.5  SUGGESTED="mosh"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   57.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   57.12 +}
   57.13 +
   57.14  # Rules to gen a SliTaz package suitable for Tazpkg.   
   57.15  genpkg_rules()                                      
   57.16  {
    58.1 --- a/stegdetect/receipt	Sat Feb 19 14:05:47 2022 +0100
    58.2 +++ b/stegdetect/receipt	Sat Feb 19 14:19:02 2022 +0000
    58.3 @@ -11,6 +11,13 @@
    58.4  WGET_URL="$WEB_SITE/$TARBALL"
    58.5  TAGS="stenography"
    58.6  
    58.7 +# What is the latest version available today?
    58.8 +current_version()
    58.9 +{
   58.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   58.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   58.12 +}
   58.13 +
   58.14  # Rules to configure and make the package.
   58.15  compile_rules()
   58.16  {
    59.1 --- a/stm8flash/receipt	Sat Feb 19 14:05:47 2022 +0100
    59.2 +++ b/stm8flash/receipt	Sat Feb 19 14:19:02 2022 +0000
    59.3 @@ -12,6 +12,13 @@
    59.4  WEB_SITE="https://github.com/vdudouyt/stm8flash"
    59.5  WGET_URL="$WEB_SITE/archive/$TARBALL"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   59.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
   59.12 +}
   59.13 +
   59.14  DEPENDS="libusb"
   59.15  BUILD_DEPENDS="libusb-dev"
   59.16  
    60.1 --- a/sundown/receipt	Sat Feb 19 14:05:47 2022 +0100
    60.2 +++ b/sundown/receipt	Sat Feb 19 14:19:02 2022 +0000
    60.3 @@ -14,6 +14,13 @@
    60.4  DEPENDS=""
    60.5  BUILD_DEPENDS=""
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   60.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   60.12 +}
   60.13 +
   60.14  # Rules to configure and make the package.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/superswitcher/receipt	Sat Feb 19 14:05:47 2022 +0100
    61.2 +++ b/superswitcher/receipt	Sat Feb 19 14:19:02 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  BUILD_DEPENDS="perl-xml-parser intltool glib-dev gtk+-dev libwnck-dev \
    61.5  autoconf automake"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - https://raw.githubusercontent.com/nigeltao/superswitcher/master/ChangeLog 2>/dev/null | \
   61.11 +	sed '1!d;s| .*||;s|-||g'
   61.12 +}
   61.13 +
   61.14  # Rules to configure and make the package.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/swfdec/receipt	Sat Feb 19 14:05:47 2022 +0100
    62.2 +++ b/swfdec/receipt	Sat Feb 19 14:19:02 2022 +0000
    62.3 @@ -14,6 +14,13 @@
    62.4  BUILD_DEPENDS="glib-dev liboil-dev pango-dev gtk+-dev libsoup-dev \
    62.5  cairo-dev alsa-lib-dev gstreamer-dev gst-plugins-base-dev sqlite-dev"
    62.6  
    62.7 +# What is the latest version available today?
    62.8 +current_version()
    62.9 +{
   62.10 +	wget -O - https://raw.githubusercontent.com/mltframework/swfdec/master/NEWS 2>/dev/null | \
   62.11 +	sed '/[0-9]/!d;s|^ *||;s| .*||;q'
   62.12 +}
   62.13 +
   62.14  # Rules to configure and make the package.
   62.15  compile_rules()
   62.16  {
    63.1 --- a/trickle/receipt	Sat Feb 19 14:05:47 2022 +0100
    63.2 +++ b/trickle/receipt	Sat Feb 19 14:19:02 2022 +0000
    63.3 @@ -14,6 +14,13 @@
    63.4  DEPENDS="libevent"
    63.5  BUILD_DEPENDS="libevent-dev wget automake autoconf libtool"
    63.6  
    63.7 +# What is the latest version available today?
    63.8 +current_version()
    63.9 +{
   63.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   63.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   63.12 +}
   63.13 +
   63.14  # Rules to configure and make the package.
   63.15  compile_rules()
   63.16  {
    64.1 --- a/vmware-view-open-client/receipt	Sat Feb 19 14:05:47 2022 +0100
    64.2 +++ b/vmware-view-open-client/receipt	Sat Feb 19 14:19:02 2022 +0000
    64.3 @@ -15,6 +15,13 @@
    64.4  BUILD_DEPENDS="gtk+-dev openssl-dev libxml2-dev curl-dev libboost-dev \
    64.5  libboost-signals-dev icu-dev icu intltool"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   64.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   64.12 +}
   64.13 +
   64.14  # Rules to configure and make the package.
   64.15  compile_rules()
   64.16  {
    65.1 --- a/vpnc-cert/receipt	Sat Feb 19 14:05:47 2022 +0100
    65.2 +++ b/vpnc-cert/receipt	Sat Feb 19 14:19:02 2022 +0000
    65.3 @@ -17,6 +17,13 @@
    65.4  DEPENDS="libgcrypt libgpg-error glibc-base perl libcrypto"
    65.5  BUILD_DEPENDS="libgcrypt-dev openssl-dev"
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   65.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   65.12 +}
   65.13 +
   65.14  # Rules to configure and make the package.
   65.15  compile_rules()
   65.16  {
    66.1 --- a/vpnc/receipt	Sat Feb 19 14:05:47 2022 +0100
    66.2 +++ b/vpnc/receipt	Sat Feb 19 14:19:02 2022 +0000
    66.3 @@ -15,6 +15,13 @@
    66.4  DEPENDS="libgcrypt libgpg-error glibc-base perl"
    66.5  BUILD_DEPENDS="libgcrypt-dev openssl-dev"
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   66.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   66.12 +}
   66.13 +
   66.14  # Rules to configure and make the package.
   66.15  compile_rules()
   66.16  {
    67.1 --- a/waterline-plugin-multiload/receipt	Sat Feb 19 14:05:47 2022 +0100
    67.2 +++ b/waterline-plugin-multiload/receipt	Sat Feb 19 14:19:02 2022 +0000
    67.3 @@ -17,6 +17,13 @@
    67.4  xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \
    67.5  libgtop-dev lxpanel-dev waterline-dev"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   67.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   67.12 +}
   67.13 +
   67.14  # Rules to configure and make the package.
   67.15  compile_rules()
   67.16  {
    68.1 --- a/waterline/receipt	Sat Feb 19 14:05:47 2022 +0100
    68.2 +++ b/waterline/receipt	Sat Feb 19 14:19:02 2022 +0000
    68.3 @@ -17,6 +17,13 @@
    68.4  xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev"
    68.5  # libsde-utils-dev libsde-utils-x11-dev libsde-utils-jansson-dev libsde-utils-gtk-dev
    68.6  
    68.7 +# What is the latest version available today?
    68.8 +current_version()
    68.9 +{
   68.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   68.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   68.12 +}
   68.13 +
   68.14  # Rules to configure and make the package.
   68.15  compile_rules()
   68.16  {
    69.1 --- a/wbar/receipt	Sat Feb 19 14:05:47 2022 +0100
    69.2 +++ b/wbar/receipt	Sat Feb 19 14:19:02 2022 +0000
    69.3 @@ -15,6 +15,13 @@
    69.4  DEPENDS="imlib2 ttf-dejavu gcc-lib-base"
    69.5  BUILD_DEPENDS="imlib2-dev"
    69.6  
    69.7 +# What is the latest version available today?
    69.8 +current_version()
    69.9 +{
   69.10 +	wget -O - $WEB_SITE/commits/dev-3.0 2>/dev/null | \
   69.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   69.12 +}
   69.13 +
   69.14  # Rules to configure and make the package.
   69.15  compile_rules()
   69.16  {
    70.1 --- a/wbar2/receipt	Sat Feb 19 14:05:47 2022 +0100
    70.2 +++ b/wbar2/receipt	Sat Feb 19 14:19:02 2022 +0000
    70.3 @@ -23,6 +23,13 @@
    70.4  	arm*) ARCH_ARGS="--disable-wbar-config" ;;
    70.5  esac
    70.6  
    70.7 +# What is the latest version available today?
    70.8 +current_version()
    70.9 +{
   70.10 +	wget -O - $WEB_SITE/commits/dev-3.0 2>/dev/null | \
   70.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   70.12 +}
   70.13 +
   70.14  # Rules to configure and make the package.
   70.15  compile_rules()
   70.16  {
    71.1 --- a/wepbuster/receipt	Sat Feb 19 14:05:47 2022 +0100
    71.2 +++ b/wepbuster/receipt	Sat Feb 19 14:19:02 2022 +0000
    71.3 @@ -14,6 +14,13 @@
    71.4  perl-getopt-long perl-term-readkey macchanger aircrack-ng dhcp-client \
    71.5  wireless_tools"
    71.6  
    71.7 +# What is the latest version available today?
    71.8 +current_version()
    71.9 +{
   71.10 +	wget -O - https://raw.githubusercontent.com/google-code-export/wepbuster/master/README.TXT 2>/dev/null | \
   71.11 +	sed '/WEPBuster/!d;s|.*ter ||;s| .*||;q'
   71.12 +}
   71.13 +
   71.14  # Rules to configure and make the package.
   71.15  compile_rules()
   71.16  {
    72.1 --- a/yaffs2utils/receipt	Sat Feb 19 14:05:47 2022 +0100
    72.2 +++ b/yaffs2utils/receipt	Sat Feb 19 14:19:02 2022 +0000
    72.3 @@ -13,6 +13,13 @@
    72.4  DEPENDS=""
    72.5  BUILD_DEPENDS=""
    72.6  
    72.7 +# What is the latest version available today?
    72.8 +current_version()
    72.9 +{
   72.10 +	wget -O - https://raw.githubusercontent.com/justsoso8/yaffs2utils/master/CHANGES 2>/dev/null | \
   72.11 +	sed '/^Version /!d;s|.*ersion ||' | sort -Vr | sed q
   72.12 +}
   72.13 +
   72.14  # Rules to configure and make the package.
   72.15  compile_rules()
   72.16  {
    73.1 --- a/yuyo-gtk-theme/receipt	Sat Feb 19 14:05:47 2022 +0100
    73.2 +++ b/yuyo-gtk-theme/receipt	Sat Feb 19 14:19:02 2022 +0000
    73.3 @@ -15,6 +15,13 @@
    73.4  DEPENDS="gdk-pixbuf gtk2-engine-murrine"
    73.5  BUILD_DEPENDS="wget"
    73.6  
    73.7 +# What is the latest version available today?
    73.8 +current_version()
    73.9 +{
   73.10 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
   73.11 +	sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
   73.12 +}
   73.13 +
   73.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   73.15  genpkg_rules()
   73.16  {