wok rev 24445

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 14:14:23 2022 +0000 (2022-02-14)
parents 92bbd9147f9b
children 70cb1291f70b
files firefox-official-da/receipt gajim/receipt gammu/receipt gcompris/receipt geany/receipt gentorrent/receipt geoip/receipt geos/receipt gftp/receipt ghex/receipt gnutls/receipt gobby/receipt gogglesmm/receipt gpa/receipt gpgme/receipt gpick/receipt gpm/receipt grooms/receipt grsync/receipt gsmartcontrol/receipt gsynaptics/receipt gtick/receipt gtk-sharp/receipt gtkballs/receipt gtklife/receipt gvim/receipt gxneur/receipt hal-info/receipt hal/receipt harfbuzz-icu/receipt hd2u/receipt hexchat-plugin/receipt hexchat/receipt hfsprescue/receipt hfsutils/receipt homebank/receipt hostapd/receipt html2text/receipt httping/receipt httrack/receipt hubbub/receipt hylafax/receipt iasl/receipt icon-naming-utils/receipt icu/receipt ii/receipt ijs/receipt inkscape/receipt input-utils/receipt ipcalc/receipt iptables/receipt iptraf/receipt itstool/receipt jack-audio-connection-kit/receipt jdk6-jaf/receipt jdk6-jaxp/receipt jdk6-jaxws/receipt jdk7-corba/receipt jdk7-hotspot/receipt jdk7-jaf/receipt jdk7-jaxp/receipt jdk7-jaxws/receipt jdk7-langtools/receipt jed/receipt kismet/receipt kobodeluxe/receipt
line diff
     1.1 --- a/firefox-official-da/receipt	Mon Feb 14 10:09:02 2022 +0100
     1.2 +++ b/firefox-official-da/receipt	Mon Feb 14 14:14:23 2022 +0000
     1.3 @@ -19,6 +19,13 @@
     1.4  
     1.5  HOST_ARCH="i486"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
    1.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/gajim/receipt	Mon Feb 14 10:09:02 2022 +0100
     2.2 +++ b/gajim/receipt	Mon Feb 14 14:14:23 2022 +0000
     2.3 @@ -15,6 +15,13 @@
     2.4  BUILD_DEPENDS="gettext xcb-util-dev enchant-dev xorg-scrnsaverproto \
     2.5  xorg-xextproto python-dev libffi-dev intltool pygtk-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.11 +	sed '/Gajim [0-9]/!d;s|.*ajim ||;s| .*||;q'
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/gammu/receipt	Mon Feb 14 10:09:02 2022 +0100
     3.2 +++ b/gammu/receipt	Mon Feb 14 14:14:23 2022 +0000
     3.3 @@ -15,6 +15,13 @@
     3.4  DEPENDS="bluez libcurl libusb-compat sqlite"
     3.5  BUILD_DEPENDS="$DEPENDS cmake"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    3.11 +	sed '/gammu-[0-9]/!d;s|.*gammu-||;s|/.*||;s|-|.|g;q'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/gcompris/receipt	Mon Feb 14 10:09:02 2022 +0100
     4.2 +++ b/gcompris/receipt	Mon Feb 14 14:14:23 2022 +0000
     4.3 @@ -16,6 +16,13 @@
     4.4  BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
     4.5          gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    4.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/geany/receipt	Mon Feb 14 10:09:02 2022 +0100
     5.2 +++ b/geany/receipt	Mon Feb 14 14:14:23 2022 +0000
     5.3 @@ -28,6 +28,13 @@
     5.4  	arm*) ARCH_ARGS="--disable-vte" ;;
     5.5  esac
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    5.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/gentorrent/receipt	Mon Feb 14 10:09:02 2022 +0100
     6.2 +++ b/gentorrent/receipt	Mon Feb 14 14:14:23 2022 +0000
     6.3 @@ -13,6 +13,13 @@
     6.4  DEPENDS="py3k"
     6.5  BUILD_DEPENDS=""
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \
    6.11 +	sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed 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/geoip/receipt	Mon Feb 14 10:09:02 2022 +0100
     7.2 +++ b/geoip/receipt	Mon Feb 14 14:14:23 2022 +0000
     7.3 @@ -14,6 +14,13 @@
     7.4  DEPENDS="zlib"
     7.5  BUILD_DEPENDS="zlib-dev automake autoconf libtool"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://github.com/maxmind/geoip-api-c/releases 2>/dev/null | \
    7.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/geos/receipt	Mon Feb 14 10:09:02 2022 +0100
     8.2 +++ b/geos/receipt	Mon Feb 14 14:14:23 2022 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  DEPENDS="gcc83-lib-base"
     8.5  BUILD_DEPENDS="gcc83"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    8.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/gftp/receipt	Mon Feb 14 10:09:02 2022 +0100
     9.2 +++ b/gftp/receipt	Mon Feb 14 14:14:23 2022 +0000
     9.3 @@ -13,6 +13,13 @@
     9.4  DEPENDS="gtk+ xorg-libXdamage"
     9.5  BUILD_DEPENDS="pkg-config gtk+-dev gtk+"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://github.com/masneyb/gftp/releases 2>/dev/null | \
    9.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/ghex/receipt	Mon Feb 14 10:09:02 2022 +0100
    10.2 +++ b/ghex/receipt	Mon Feb 14 14:14:23 2022 +0000
    10.3 @@ -15,6 +15,13 @@
    10.4  libgnome-dev libbonobo-dev libbonoboui-dev libgnome-keyring-dev \
    10.5  libgnomeprintui-dev intltool"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   10.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/gnutls/receipt	Mon Feb 14 10:09:02 2022 +0100
    11.2 +++ b/gnutls/receipt	Mon Feb 14 14:14:23 2022 +0000
    11.3 @@ -33,6 +33,13 @@
    11.4  		--without-p11-kit --disable-rpath" ;;
    11.5  esac
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   11.11 +	sed '/GnuTLS [0-9]/!d;s|.*TLS ||;s|<.*||' | sort -Vr | sed q
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/gobby/receipt	Mon Feb 14 10:09:02 2022 +0100
    12.2 +++ b/gobby/receipt	Mon Feb 14 14:14:23 2022 +0000
    12.3 @@ -15,6 +15,13 @@
    12.4  BUILD_DEPENDS="intltool libxml++-dev cairomm-dev glibmm-dev gtkmm-dev net6-dev \
    12.5  obby-dev gtksourceview-dev gnutls-dev libsigc++-dev gtk+-dev libgnutls"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://github.com/gobby/gobby/releases 2>/dev/null | \
   12.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/gogglesmm/receipt	Mon Feb 14 10:09:02 2022 +0100
    13.2 +++ b/gogglesmm/receipt	Mon Feb 14 14:14:23 2022 +0000
    13.3 @@ -16,6 +16,13 @@
    13.4  sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \
    13.5  xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://github.com/gogglesmm/gogglesmm/releases 2>/dev/null | \
   13.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package. 
   13.15  compile_rules()
   13.16  {
    14.1 --- a/gpa/receipt	Mon Feb 14 10:09:02 2022 +0100
    14.2 +++ b/gpa/receipt	Mon Feb 14 14:14:23 2022 +0000
    14.3 @@ -15,6 +15,13 @@
    14.4  BUILD_DEPENDS="gpgme-dev gtk+-dev libassuan-dev libgpg-error-dev"
    14.5  SPLIT="gpa-langpack"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   14.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/gpgme/receipt	Mon Feb 14 10:09:02 2022 +0100
    15.2 +++ b/gpgme/receipt	Mon Feb 14 14:14:23 2022 +0000
    15.3 @@ -14,6 +14,13 @@
    15.4  DEPENDS="gcc83-lib-base gnupg libassuan"
    15.5  BUILD_DEPENDS="gcc83 gnupg libassuan-dev libgpg-error-dev"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   15.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/gpick/receipt	Mon Feb 14 10:09:02 2022 +0100
    16.2 +++ b/gpick/receipt	Mon Feb 14 14:14:23 2022 +0000
    16.3 @@ -15,6 +15,13 @@
    16.4  BUILD_DEPENDS="scons gettext lemon flex gtk+-dev expat-dev libboost-dev \
    16.5  dbus-glib-dev lua-dev"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://github.com/thezbyg/gpick/tags 2>/dev/null | \
   16.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/gpm/receipt	Mon Feb 14 10:09:02 2022 +0100
    17.2 +++ b/gpm/receipt	Mon Feb 14 14:14:23 2022 +0000
    17.3 @@ -19,6 +19,13 @@
    17.4  	arm) BUILD_DEPENDS="" ;;
    17.5  esac
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   17.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/grooms/receipt	Mon Feb 14 10:09:02 2022 +0100
    18.2 +++ b/grooms/receipt	Mon Feb 14 14:14:23 2022 +0000
    18.3 @@ -13,6 +13,13 @@
    18.4  
    18.5  DEPENDS="php"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   18.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\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/grsync/receipt	Mon Feb 14 10:09:02 2022 +0100
    19.2 +++ b/grsync/receipt	Mon Feb 14 14:14:23 2022 +0000
    19.3 @@ -14,6 +14,13 @@
    19.4  DEPENDS="acl gtk+ rsync xorg-libXdamage"
    19.5  BUILD_DEPENDS="gtk+-dev intltool perl-xml-parser xorg-xproto"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - http://www.opbyte.it/grsync/download.html 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/gsmartcontrol/receipt	Mon Feb 14 10:09:02 2022 +0100
    20.2 +++ b/gsmartcontrol/receipt	Mon Feb 14 14:14:23 2022 +0000
    20.3 @@ -13,6 +13,13 @@
    20.4  DEPENDS="pcre glib gtk+ cairomm gtkmm smartmontools"
    20.5  BUILD_DEPENDS="pcre-dev glib-dev gtk+-dev cairomm-dev gtkmm-dev"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://github.com/ashaduri/gsmartcontrol/releases 2>/dev/null | \
   20.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/gsynaptics/receipt	Mon Feb 14 10:09:02 2022 +0100
    21.2 +++ b/gsynaptics/receipt	Mon Feb 14 14:14:23 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  DEPENDS="dbus-glib GConf gtk+ libglade ORBit2"
    21.5  BUILD_DEPENDS="dbus-glib-dev gtk+-dev libglade-dev GConf-dev gnome-doc-utils-dev"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://osdn.net/projects/gsynaptics/releases/ 2>/dev/null | \
   21.11 +	sed '/GSynaptics-[0-9]/!d;s|.*GSynaptics-||;s|. .*||' | sort -Vr | sed q
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/gtick/receipt	Mon Feb 14 10:09:02 2022 +0100
    22.2 +++ b/gtick/receipt	Mon Feb 14 14:14:23 2022 +0000
    22.3 @@ -14,6 +14,13 @@
    22.4  DEPENDS="gtk+ xorg-libXdamage libsndfile libogg"
    22.5  BUILD_DEPENDS="gtk+-dev pkg-config pulseaudio-dev xorg-xproto"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   22.11 +	sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s| rel.*||" | sort -Vr | sed q
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/gtk-sharp/receipt	Mon Feb 14 10:09:02 2022 +0100
    23.2 +++ b/gtk-sharp/receipt	Mon Feb 14 14:14:23 2022 +0000
    23.3 @@ -18,6 +18,13 @@
    23.4  xorg-libXrender zlib"
    23.5  BUILD_DEPENDS="gtk+-dev mono-dev libglade-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://download.mono-project.com/sources/gtk-sharp212/ 2>/dev/null | \
   23.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/gtkballs/receipt	Mon Feb 14 10:09:02 2022 +0100
    24.2 +++ b/gtkballs/receipt	Mon Feb 14 14:14:23 2022 +0000
    24.3 @@ -14,6 +14,13 @@
    24.4  DEPENDS="gtk+ xorg-libXdamage"
    24.5  BUILD_DEPENDS="gtk+-dev"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   24.11 +	sed 's|>|>\n|g' | sed '/^gtkballs-/!d;/tar/!d;s|gtkballs-||;s|.tar.*||;q'
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/gtklife/receipt	Mon Feb 14 10:09:02 2022 +0100
    25.2 +++ b/gtklife/receipt	Mon Feb 14 14:14:23 2022 +0000
    25.3 @@ -14,6 +14,13 @@
    25.4  DEPENDS="gtk+ xorg-libXdamage"
    25.5  BUILD_DEPENDS="gtk+-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   25.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/gvim/receipt	Mon Feb 14 10:09:02 2022 +0100
    26.2 +++ b/gvim/receipt	Mon Feb 14 14:14:23 2022 +0000
    26.3 @@ -18,6 +18,13 @@
    26.4  BUILD_DEPENDS="gtk+-dev"
    26.5  CONFIG_FILES="/etc/vim/vimrc"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   26.11 +	sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q
   26.12 +}
   26.13 +
   26.14  # Rules to configure and make the package.
   26.15  compile_rules()
   26.16  {
    27.1 --- a/gxneur/receipt	Mon Feb 14 10:09:02 2022 +0100
    27.2 +++ b/gxneur/receipt	Mon Feb 14 14:14:23 2022 +0000
    27.3 @@ -15,6 +15,13 @@
    27.4  DEPENDS="xneur GConf gtk+"
    27.5  BUILD_DEPENDS="xorg-libX11-dev intltool gettext perl xneur-dev gtk+-dev GConf-dev"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://xneur.ru/downloads/ 2>/dev/null | \
   27.11 +	sed '/gxneur_[0-9]/!d;/tar/!d;s|.*/gxneur_||;s|.[ot].*||;q'
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/hal-info/receipt	Mon Feb 14 10:09:02 2022 +0100
    28.2 +++ b/hal-info/receipt	Mon Feb 14 14:14:23 2022 +0000
    28.3 @@ -13,6 +13,13 @@
    28.4  DEPENDS="hal hal-extra"
    28.5  BUILD_DEPENDS="hal-dev pkg-config"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   28.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   28.12 +}
   28.13 +
   28.14  # Rules to configure and make the package.
   28.15  compile_rules()
   28.16  {
    29.1 --- a/hal/receipt	Mon Feb 14 10:09:02 2022 +0100
    29.2 +++ b/hal/receipt	Mon Feb 14 14:14:23 2022 +0000
    29.3 @@ -27,6 +27,13 @@
    29.4  hald-probe-pc-floppy
    29.5  hald-probe-printer"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   29.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/harfbuzz-icu/receipt	Mon Feb 14 10:09:02 2022 +0100
    30.2 +++ b/harfbuzz-icu/receipt	Mon Feb 14 14:14:23 2022 +0000
    30.3 @@ -16,6 +16,13 @@
    30.4  DEPENDS="freetype gcc83-lib-base glib icu"
    30.5  BUILD_DEPENDS="freetype-dev gcc83 glib-dev icu-dev"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   30.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/hd2u/receipt	Mon Feb 14 10:09:02 2022 +0100
    31.2 +++ b/hd2u/receipt	Mon Feb 14 14:14:23 2022 +0000
    31.3 @@ -14,6 +14,13 @@
    31.4  DEPENDS="popt"
    31.5  BUILD_DEPENDS="popt-dev"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   31.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/hexchat-plugin/receipt	Mon Feb 14 10:09:02 2022 +0100
    32.2 +++ b/hexchat-plugin/receipt	Mon Feb 14 14:14:23 2022 +0000
    32.3 @@ -15,6 +15,13 @@
    32.4  DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage python"
    32.5  BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info python-dev"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   32.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/hexchat/receipt	Mon Feb 14 10:09:02 2022 +0100
    33.2 +++ b/hexchat/receipt	Mon Feb 14 14:14:23 2022 +0000
    33.3 @@ -14,6 +14,13 @@
    33.4  harfbuzz"
    33.5  BUILD_DEPENDS="gtk+-dev openssl-dev shared-mime-info"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   33.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   33.12 +}
   33.13 +
   33.14  # Rules to configure and make the package.
   33.15  compile_rules()
   33.16  {
    34.1 --- a/hfsprescue/receipt	Mon Feb 14 10:09:02 2022 +0100
    34.2 +++ b/hfsprescue/receipt	Mon Feb 14 14:14:23 2022 +0000
    34.3 @@ -13,6 +13,13 @@
    34.4  DEPENDS="gcc-lib-base libcrypto zlib"
    34.5  BUILD_DEPENDS="openssl-dev"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - https://www.plop.at/en/hfsprescue/download.html 2>/dev/null | \
   34.11 +	sed '/hfsprescue-[0-9]/!d;/tar/!d;/precompiled/d;s|.*hfsprescue-||;s|.tar.*||;q'
   34.12 +}
   34.13 +
   34.14  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/hfsutils/receipt	Mon Feb 14 10:09:02 2022 +0100
    35.2 +++ b/hfsutils/receipt	Mon Feb 14 14:14:23 2022 +0000
    35.3 @@ -10,6 +10,13 @@
    35.4  WEB_SITE="https://www.mars.org/home/rob/proj/hfs/"
    35.5  WGET_URL="ftp://ftp.mars.org/pub/hfs/$TARBALL"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   35.11 +	sed '/hfsutils-[0-9]/!d;/tar/!d;s|.*hfsutils-||;s|.tar.*||;q'
   35.12 +}
   35.13 +
   35.14  # Rules to configure and make the package.
   35.15  compile_rules()
   35.16  {
    36.1 --- a/homebank/receipt	Mon Feb 14 10:09:02 2022 +0100
    36.2 +++ b/homebank/receipt	Mon Feb 14 14:14:23 2022 +0000
    36.3 @@ -14,6 +14,13 @@
    36.4  DEPENDS="gtk+ xorg-libXdamage"
    36.5  BUILD_DEPENDS="intltool gtk+-dev"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   36.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   36.12 +}
   36.13 +
   36.14  # Rules to configure and make the package.
   36.15  compile_rules()
   36.16  {
    37.1 --- a/hostapd/receipt	Mon Feb 14 10:09:02 2022 +0100
    37.2 +++ b/hostapd/receipt	Mon Feb 14 14:14:23 2022 +0000
    37.3 @@ -14,6 +14,13 @@
    37.4  DEPENDS="openssl libnl"
    37.5  BUILD_DEPENDS="openssl-dev libnl-dev"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   37.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/html2text/receipt	Mon Feb 14 10:09:02 2022 +0100
    38.2 +++ b/html2text/receipt	Mon Feb 14 14:14:23 2022 +0000
    38.3 @@ -13,6 +13,13 @@
    38.4  DEPENDS=""
    38.5  BUILD_DEPENDS=""
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - https://github.com/grobian/html2text/tags 2>/dev/null | \
   38.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/httping/receipt	Mon Feb 14 10:09:02 2022 +0100
    39.2 +++ b/httping/receipt	Mon Feb 14 14:14:23 2022 +0000
    39.3 @@ -13,6 +13,13 @@
    39.4  DEPENDS="ncurses fftw openssl"
    39.5  BUILD_DEPENDS="ncurses-dev fftw-dev gettext openssl-dev"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   39.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
   39.12 +}
   39.13 +
   39.14  # Rules to configure and make the package.
   39.15  compile_rules()
   39.16  {
    40.1 --- a/httrack/receipt	Mon Feb 14 10:09:02 2022 +0100
    40.2 +++ b/httrack/receipt	Mon Feb 14 14:14:23 2022 +0000
    40.3 @@ -13,6 +13,13 @@
    40.4  DEPENDS="bash zlib libssl"
    40.5  BUILD_DEPENDS="zlib-dev openssl-dev"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - http://www.httrack.com/page/2/ 2>/dev/null | \
   40.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/hubbub/receipt	Mon Feb 14 10:09:02 2022 +0100
    41.2 +++ b/hubbub/receipt	Mon Feb 14 14:14:23 2022 +0000
    41.3 @@ -15,6 +15,13 @@
    41.4  DEPENDS="libparserutils"
    41.5  BUILD_DEPENDS="libparserutils-dev"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   41.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
   41.12 +}
   41.13 +
   41.14  # Rules to configure and make the package.
   41.15  compile_rules()
   41.16  {
    42.1 --- a/hylafax/receipt	Mon Feb 14 10:09:02 2022 +0100
    42.2 +++ b/hylafax/receipt	Mon Feb 14 14:14:23 2022 +0000
    42.3 @@ -14,6 +14,13 @@
    42.4  DEPENDS="ghostscript jpeg mgetty postfix tiff tiff-apps zlib"
    42.5  BUILD_DEPENDS="ghostscript mgetty tiff-apps tiff-dev zlib-dev"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   42.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   42.12 +}
   42.13 +
   42.14  # Rules to configure and make the package.
   42.15  compile_rules()
   42.16  {
    43.1 --- a/iasl/receipt	Mon Feb 14 10:09:02 2022 +0100
    43.2 +++ b/iasl/receipt	Mon Feb 14 14:14:23 2022 +0000
    43.3 @@ -14,6 +14,13 @@
    43.4  
    43.5  BUILD_DEPENDS="bison flex"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://acpica.org/downloads 2>/dev/null | \
   43.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/icon-naming-utils/receipt	Mon Feb 14 10:09:02 2022 +0100
    44.2 +++ b/icon-naming-utils/receipt	Mon Feb 14 14:14:23 2022 +0000
    44.3 @@ -13,6 +13,20 @@
    44.4  DEPENDS="perl perl-xml-simple"
    44.5  BUILD_DEPENDS="perl perl-xml-simple"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   44.11 +	sed '/icecast-/!d;/tar/!d;/-beta/d;s|.*icecast-||;s|.tar.*||' | sort -Vr | sed q
   44.12 +}
   44.13 +
   44.14 +# What is the latest version available today?
   44.15 +current_version()
   44.16 +{
   44.17 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   44.18 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   44.19 +}
   44.20 +
   44.21  # Rules to configure and make the package.
   44.22  compile_rules()
   44.23  {
    45.1 --- a/icu/receipt	Mon Feb 14 10:09:02 2022 +0100
    45.2 +++ b/icu/receipt	Mon Feb 14 14:14:23 2022 +0000
    45.3 @@ -12,6 +12,13 @@
    45.4  WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
    45.5  #WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - https://icu.unicode.org/download 2>/dev/null | \
   45.11 +	sed '/ is now available/!d;s| is now available.*||;s|ICU ||;q'
   45.12 +}
   45.13 +
   45.14  # Rules to configure and make the package.
   45.15  compile_rules()
   45.16  {
    46.1 --- a/ii/receipt	Mon Feb 14 10:09:02 2022 +0100
    46.2 +++ b/ii/receipt	Mon Feb 14 14:14:23 2022 +0000
    46.3 @@ -10,6 +10,13 @@
    46.4  WEB_SITE="http://tools.suckless.org/ii"
    46.5  WGET_URL="http://dl.suckless.org/tools/$TARBALL"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   46.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   46.12 +}
   46.13 +
   46.14  # Rules to configure and make the package.
   46.15  compile_rules()
   46.16  {
    47.1 --- a/ijs/receipt	Mon Feb 14 10:09:02 2022 +0100
    47.2 +++ b/ijs/receipt	Mon Feb 14 14:14:23 2022 +0000
    47.3 @@ -13,6 +13,13 @@
    47.4  DEPENDS=""
    47.5  BUILD_DEPENDS="wget"
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   47.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   47.12 +}
   47.13 +
   47.14  # Rules to configure and make the package.
   47.15  compile_rules()
   47.16  {
    48.1 --- a/inkscape/receipt	Mon Feb 14 10:09:02 2022 +0100
    48.2 +++ b/inkscape/receipt	Mon Feb 14 14:14:23 2022 +0000
    48.3 @@ -23,6 +23,13 @@
    48.4  
    48.5  COOKOPTS="!svgz !fixdesktops"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - https://inkscape.org/release/ 2>/dev/null | \
   48.11 +	sed '/Inkscape [0-9]/!d;s|.*Inkscape ||;s| .*||;q'
   48.12 +}
   48.13 +
   48.14  # Rules to configure and make the package.
   48.15  compile_rules()
   48.16  {
    49.1 --- a/input-utils/receipt	Mon Feb 14 10:09:02 2022 +0100
    49.2 +++ b/input-utils/receipt	Mon Feb 14 14:14:23 2022 +0000
    49.3 @@ -15,6 +15,13 @@
    49.4  
    49.5  DEPENDS=""
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://git.kraxel.org/cgit/input/ 2>/dev/null | \
   49.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | 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/ipcalc/receipt	Mon Feb 14 10:09:02 2022 +0100
    50.2 +++ b/ipcalc/receipt	Mon Feb 14 14:14:23 2022 +0000
    50.3 @@ -13,6 +13,13 @@
    50.4  DEPENDS="perl"
    50.5  BUILD_DEPENDS=""
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   50.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   50.12 +}
   50.13 +
   50.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   50.15  genpkg_rules()
   50.16  {
    51.1 --- a/iptables/receipt	Mon Feb 14 10:09:02 2022 +0100
    51.2 +++ b/iptables/receipt	Mon Feb 14 14:14:23 2022 +0000
    51.3 @@ -15,6 +15,13 @@
    51.4  DEPENDS="linux-netfilter"
    51.5  BUILD_DEPENDS="libmnl-dev linux-module-headers"
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   51.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   51.12 +}
   51.13 +
   51.14  # Rules to configure and make the package.
   51.15  compile_rules()
   51.16  {
    52.1 --- a/iptraf/receipt	Mon Feb 14 10:09:02 2022 +0100
    52.2 +++ b/iptraf/receipt	Mon Feb 14 14:14:23 2022 +0000
    52.3 @@ -14,6 +14,13 @@
    52.4  DEPENDS="ncurses"
    52.5  BUILD_DEPENDS="ncurses-dev"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - http://iptraf.seul.org/download.html 2>/dev/null | \
   52.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {
    53.1 --- a/itstool/receipt	Mon Feb 14 10:09:02 2022 +0100
    53.2 +++ b/itstool/receipt	Mon Feb 14 14:14:23 2022 +0000
    53.3 @@ -14,6 +14,13 @@
    53.4  DEPENDS="libxml2-python python"
    53.5  BUILD_DEPENDS="libxml2-python"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   53.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   53.12 +}
   53.13 +
   53.14  # Rules to configure and make the package.
   53.15  compile_rules()
   53.16  {
    54.1 --- a/jack-audio-connection-kit/receipt	Mon Feb 14 10:09:02 2022 +0100
    54.2 +++ b/jack-audio-connection-kit/receipt	Mon Feb 14 14:14:23 2022 +0000
    54.3 @@ -16,6 +16,13 @@
    54.4  BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev db-dev util-linux-uuid-dev"
    54.5  HOST_ARCH="i486 arm"
    54.6  
    54.7 +# What is the latest version available today?
    54.8 +current_version()
    54.9 +{
   54.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   54.11 +	sed '/archive\/v[0-9]/!d;/tar/!d;s|.*archive/v||;s|.tar.*||;q'
   54.12 +}
   54.13 +
   54.14  # Rules to configure and make the package.
   54.15  compile_rules()
   54.16  {
    55.1 --- a/jdk6-jaf/receipt	Mon Feb 14 10:09:02 2022 +0100
    55.2 +++ b/jdk6-jaf/receipt	Mon Feb 14 14:14:23 2022 +0000
    55.3 @@ -11,6 +11,13 @@
    55.4  WGET_URL="http://icedtea.wildebeest.org/download/drops/$TARBALL"
    55.5  COOK_OPT="!unpack !repack_src !fs"
    55.6  
    55.7 +# What is the latest version available today?
    55.8 +current_version()
    55.9 +{
   55.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   55.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   55.12 +}
   55.13 +
   55.14  BUILD_DEPENDS="wget"
   55.15  
   55.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    56.1 --- a/jdk6-jaxp/receipt	Mon Feb 14 10:09:02 2022 +0100
    56.2 +++ b/jdk6-jaxp/receipt	Mon Feb 14 14:14:23 2022 +0000
    56.3 @@ -13,6 +13,13 @@
    56.4  
    56.5  BUILD_DEPENDS="wget"
    56.6  
    56.7 +# What is the latest version available today?
    56.8 +current_version()
    56.9 +{
   56.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   56.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   56.12 +}
   56.13 +
   56.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   56.15  compile_rules()
   56.16  {
    57.1 --- a/jdk6-jaxws/receipt	Mon Feb 14 10:09:02 2022 +0100
    57.2 +++ b/jdk6-jaxws/receipt	Mon Feb 14 14:14:23 2022 +0000
    57.3 @@ -13,6 +13,13 @@
    57.4  
    57.5  BUILD_DEPENDS="wget"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   57.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   57.12 +}
   57.13 +
   57.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   57.15  compile_rules()
   57.16  {
    58.1 --- a/jdk7-corba/receipt	Mon Feb 14 10:09:02 2022 +0100
    58.2 +++ b/jdk7-corba/receipt	Mon Feb 14 14:14:23 2022 +0000
    58.3 @@ -14,6 +14,13 @@
    58.4  
    58.5  BUILD_DEPENDS="wget"
    58.6  
    58.7 +# What is the latest version available today?
    58.8 +current_version()
    58.9 +{
   58.10 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   58.11 +	sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   58.12 +}
   58.13 +
   58.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   58.15  compile_rules()
   58.16  {
    59.1 --- a/jdk7-hotspot/receipt	Mon Feb 14 10:09:02 2022 +0100
    59.2 +++ b/jdk7-hotspot/receipt	Mon Feb 14 14:14:23 2022 +0000
    59.3 @@ -14,6 +14,13 @@
    59.4  
    59.5  BUILD_DEPENDS="wget"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   59.11 +	sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   59.12 +}
   59.13 +
   59.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   59.15  compile_rules()
   59.16  {
    60.1 --- a/jdk7-jaf/receipt	Mon Feb 14 10:09:02 2022 +0100
    60.2 +++ b/jdk7-jaf/receipt	Mon Feb 14 14:14:23 2022 +0000
    60.3 @@ -13,6 +13,13 @@
    60.4  
    60.5  BUILD_DEPENDS="wget"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   60.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   60.12 +}
   60.13 +
   60.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/jdk7-jaxp/receipt	Mon Feb 14 10:09:02 2022 +0100
    61.2 +++ b/jdk7-jaxp/receipt	Mon Feb 14 14:14:23 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  
    61.5  BUILD_DEPENDS="wget"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   61.11 +	sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   61.12 +}
   61.13 +
   61.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/jdk7-jaxws/receipt	Mon Feb 14 10:09:02 2022 +0100
    62.2 +++ b/jdk7-jaxws/receipt	Mon Feb 14 14:14:23 2022 +0000
    62.3 @@ -14,6 +14,13 @@
    62.4  
    62.5  BUILD_DEPENDS="wget"
    62.6  
    62.7 +# What is the latest version available today?
    62.8 +current_version()
    62.9 +{
   62.10 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   62.11 +	sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   62.12 +}
   62.13 +
   62.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   62.15  compile_rules()
   62.16  {
    63.1 --- a/jdk7-langtools/receipt	Mon Feb 14 10:09:02 2022 +0100
    63.2 +++ b/jdk7-langtools/receipt	Mon Feb 14 14:14:23 2022 +0000
    63.3 @@ -14,6 +14,13 @@
    63.4  
    63.5  BUILD_DEPENDS="wget"
    63.6  
    63.7 +# What is the latest version available today?
    63.8 +current_version()
    63.9 +{
   63.10 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   63.11 +	sed '/\[DIR/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   63.12 +}
   63.13 +
   63.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   63.15  compile_rules()
   63.16  {
    64.1 --- a/jed/receipt	Mon Feb 14 10:09:02 2022 +0100
    64.2 +++ b/jed/receipt	Mon Feb 14 14:14:23 2022 +0000
    64.3 @@ -15,6 +15,13 @@
    64.4  DEPENDS="slang"
    64.5  BUILD_DEPENDS="slang-dev"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - https://www.jedsoft.org/releases/jed/ 2>/dev/null | \
   64.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   64.12 +}
   64.13 +
   64.14  # Rules to configure and make the package.
   64.15  compile_rules()
   64.16  {
    65.1 --- a/kismet/receipt	Mon Feb 14 10:09:02 2022 +0100
    65.2 +++ b/kismet/receipt	Mon Feb 14 14:14:23 2022 +0000
    65.3 @@ -14,6 +14,13 @@
    65.4  DEPENDS="dbus libnl libpcap ncurses pcre libcap attr"
    65.5  BUILD_DEPENDS="pkg-config libpcap-dev ncurses-dev libnl-dev"
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   65.11 +	sed '/kismet-[0-9]/!d;/tar/!d;s|.*kismet-||;s|.tar.*||' | sort -Vr | sed q
   65.12 +}
   65.13 +
   65.14  # Rules to configure and make the package.
   65.15  compile_rules()
   65.16  {
    66.1 --- a/kobodeluxe/receipt	Mon Feb 14 10:09:02 2022 +0100
    66.2 +++ b/kobodeluxe/receipt	Mon Feb 14 14:14:23 2022 +0000
    66.3 @@ -19,6 +19,13 @@
    66.4  DEPENDS="libsdl libsdl-image gcc-lib-base"
    66.5  BUILD_DEPENDS="libsdl-dev libsdl-image-dev "
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - http://www.olofson.net/kobodl/download.html 2>/dev/null | \
   66.11 +	sed 's|>|>\n|g' | sed '/KoboDeluxe-/!d;/tar/!d;s|.*KoboDeluxe-||;s|.tar.*||;q'
   66.12 +}
   66.13 +
   66.14  # Rules to configure and make the package.
   66.15  compile_rules()
   66.16  {