wok rev 24436

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 13 13:09:42 2022 +0000 (2022-02-13)
parents 5f0a41dd58c1
children 3b252eb4d26a
files caps/receipt cd-discid/receipt cddetect/receipt chmlib/receipt chocolate-doom/receipt ckermit/receipt clonezilla/receipt cmake/receipt cmix/receipt collectd-bind/receipt compface/receipt conky-theme-onsea/receipt connman/receipt coova-chilli/receipt cpige/receipt cppunit/receipt cpuspeed/receipt cromfs/receipt cups-filters/receipt cyrus-imapd/receipt cyrus-sasl-pam/receipt cyrus-sasl/receipt dciutil/receipt exiv2/receipt fping/receipt frozen-bubble/receipt geany-plugins/receipt kamailio/receipt krb5/receipt libedit/receipt libpthread-stubs/receipt logsurfer/receipt megatools/receipt mpfr/receipt nathive/receipt nmap/receipt nut/receipt openal/receipt openttd-opengfx/receipt pan/receipt perdition-pam/receipt perdition/receipt radvd/receipt samba/receipt scilab/receipt unifont/receipt usb-modeswitch/receipt vanessa_adt/receipt vanessa_logger/receipt wmctrl/receipt xa/receipt xcircuit/receipt
line diff
     1.1 --- a/caps/receipt	Sun Feb 13 07:06:09 2022 +0100
     1.2 +++ b/caps/receipt	Sun Feb 13 13:09:42 2022 +0000
     1.3 @@ -14,6 +14,13 @@
     1.4  DEPENDS=""
     1.5  BUILD_DEPENDS="python"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - http://quitte.de/dsp/caps.html 2>/dev/null | \
    1.11 +	sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_||;s|.tar.*||;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/cd-discid/receipt	Sun Feb 13 07:06:09 2022 +0100
     2.2 +++ b/cd-discid/receipt	Sun Feb 13 13:09:42 2022 +0000
     2.3 @@ -14,6 +14,13 @@
     2.4  
     2.5  DEPENDS=""
     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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/cddetect/receipt	Sun Feb 13 07:06:09 2022 +0100
     3.2 +++ b/cddetect/receipt	Sun Feb 13 13:09:42 2022 +0000
     3.3 @@ -11,6 +11,13 @@
     3.4  WGET_URL="http://www.bellut.net/files/$TARBALL"
     3.5  TAGS="CD DVD"
     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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/chmlib/receipt	Sun Feb 13 07:06:09 2022 +0100
     4.2 +++ b/chmlib/receipt	Sun Feb 13 13:09:42 2022 +0000
     4.3 @@ -13,6 +13,13 @@
     4.4  
     4.5  DEPENDS=""
     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/chocolate-doom/receipt	Sun Feb 13 07:06:09 2022 +0100
     5.2 +++ b/chocolate-doom/receipt	Sun Feb 13 13:09:42 2022 +0000
     5.3 @@ -14,6 +14,13 @@
     5.4  DEPENDS="libsamplerate libsdl2 libsdl2-mixer libsdl2-net"
     5.5  BUILD_DEPENDS="libsdl2-dev libsdl2-mixer-dev  libsdl2-net-dev"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://github.com/chocolate-doom/chocolate-doom/tags 2>/dev/null | \
    5.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/ckermit/receipt	Sun Feb 13 07:06:09 2022 +0100
     6.2 +++ b/ckermit/receipt	Sun Feb 13 13:09:42 2022 +0000
     6.3 @@ -13,6 +13,13 @@
     6.4  DEPENDS="ncurses"
     6.5  BUILD_DEPENDS="ncurses-dev"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    6.11 +	sed '/^<td>[0-9]/!d;s|<td>||;s|<.*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/clonezilla/receipt	Sun Feb 13 07:06:09 2022 +0100
     7.2 +++ b/clonezilla/receipt	Sun Feb 13 13:09:42 2022 +0000
     7.3 @@ -15,6 +15,13 @@
     7.4  coreutils-disk coreutils-redirection util-linux-setterm parted"
     7.5  BUILD_DEPENDS=""
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    7.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/cmake/receipt	Sun Feb 13 07:06:09 2022 +0100
     8.2 +++ b/cmake/receipt	Sun Feb 13 13:09:42 2022 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  DEPENDS="gcc83-lib-base libidn openssl"
     8.5  BUILD_DEPENDS="gcc83 gcc83-lib-base ncurses-dev openssl-dev"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    8.11 +	sed "/latest/d;/-rc/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-av.*\".*|\\1|;s|-|.|g" | 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/cmix/receipt	Sun Feb 13 07:06:09 2022 +0100
     9.2 +++ b/cmix/receipt	Sun Feb 13 13:09:42 2022 +0000
     9.3 @@ -12,6 +12,13 @@
     9.4  
     9.5  DEPENDS="gcc83-lib-base"
     9.6  BUILD_DEPENDS="gcc83"
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://github.com/byronknoll/cmix/releases 2>/dev/null | \
    9.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    9.12 +}
    9.13 +
    9.14  
    9.15  # Rules to configure and make the package.
    9.16  compile_rules()
    10.1 --- a/collectd-bind/receipt	Sun Feb 13 07:06:09 2022 +0100
    10.2 +++ b/collectd-bind/receipt	Sun Feb 13 13:09:42 2022 +0000
    10.3 @@ -16,6 +16,13 @@
    10.4  DEPENDS="libcurl libxml2"
    10.5  BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   10.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/compface/receipt	Sun Feb 13 07:06:09 2022 +0100
    11.2 +++ b/compface/receipt	Sun Feb 13 13:09:42 2022 +0000
    11.3 @@ -12,6 +12,13 @@
    11.4  
    11.5  DEPENDS="glibc-base"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   11.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/conky-theme-onsea/receipt	Sun Feb 13 07:06:09 2022 +0100
    12.2 +++ b/conky-theme-onsea/receipt	Sun Feb 13 13:09:42 2022 +0000
    12.3 @@ -20,6 +20,13 @@
    12.4  BAK_DIR=".conky-backup"
    12.5  BAK_FILE="old_conkyrc"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   12.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/connman/receipt	Sun Feb 13 07:06:09 2022 +0100
    13.2 +++ b/connman/receipt	Sun Feb 13 13:09:42 2022 +0000
    13.3 @@ -18,6 +18,13 @@
    13.4  	iptables-dev libgnutls libnl-dev ncursesw-dev openconnect 
    13.5  	openvpn	ppp-dev readline-dev udev-dev wpa_supplicant"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   13.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/coova-chilli/receipt	Sun Feb 13 07:06:09 2022 +0100
    14.2 +++ b/coova-chilli/receipt	Sun Feb 13 13:09:42 2022 +0000
    14.3 @@ -13,6 +13,13 @@
    14.4  DEPENDS="libssl curl libidn"
    14.5  BUILD_DEPENDS="openssl-dev curl-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://github.com/coova/coova-chilli/releases 2>/dev/null | \
   14.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/cpige/receipt	Sun Feb 13 07:06:09 2022 +0100
    15.2 +++ b/cpige/receipt	Sun Feb 13 13:09:42 2022 +0000
    15.3 @@ -15,7 +15,6 @@
    15.4  DEPENDS="gtk+"
    15.5  BUILD_DEPENDS="gdk-pixbuf-dev gettext-tools gtk+-dev"
    15.6  
    15.7 -
    15.8  # Rules to configure and make the package.
    15.9  compile_rules()
   15.10  {
    16.1 --- a/cppunit/receipt	Sun Feb 13 07:06:09 2022 +0100
    16.2 +++ b/cppunit/receipt	Sun Feb 13 13:09:42 2022 +0000
    16.3 @@ -14,6 +14,13 @@
    16.4  DEPENDS="gcc83-lib-base"
    16.5  BUILD_DEPENDS="gcc83"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   16.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/cpuspeed/receipt	Sun Feb 13 07:06:09 2022 +0100
    17.2 +++ b/cpuspeed/receipt	Sun Feb 13 13:09:42 2022 +0000
    17.3 @@ -12,11 +12,18 @@
    17.4  WGET_URL="https://www.carlthompson.net/downloads/$PACKAGE/$TARBALL"
    17.5  TAGS="power-management"
    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 -
   17.16 -compile_rules() {
   17.17 -  cd $src  
   17.18 -  make 
   17.19 +compile_rules()
   17.20 +{
   17.21 +	cd $src  
   17.22 +	make 
   17.23  }
   17.24  	
   17.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    18.1 --- a/cromfs/receipt	Sun Feb 13 07:06:09 2022 +0100
    18.2 +++ b/cromfs/receipt	Sun Feb 13 13:09:42 2022 +0000
    18.3 @@ -13,6 +13,13 @@
    18.4  DEPENDS="fuse lzma lzo libgomp"
    18.5  BUILD_DEPENDS="$DEPENDS fuse-dev lzo-dev pkg-config coreutils-file-format perl"
    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;/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/cups-filters/receipt	Sun Feb 13 07:06:09 2022 +0100
    19.2 +++ b/cups-filters/receipt	Sun Feb 13 13:09:42 2022 +0000
    19.3 @@ -16,6 +16,13 @@
    19.4  BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \
    19.5  cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev"
    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/cyrus-imapd/receipt	Sun Feb 13 07:06:09 2022 +0100
    20.2 +++ b/cyrus-imapd/receipt	Sun Feb 13 13:09:42 2022 +0000
    20.3 @@ -18,6 +18,13 @@
    20.4  
    20.5  CONFIG_FILES="/etc/imapd.conf /etc/cyrus.conf"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://github.com/cyrusimap/cyrus-imapd/releases 2>/dev/null | \
   20.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).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/cyrus-sasl-pam/receipt	Sun Feb 13 07:06:09 2022 +0100
    21.2 +++ b/cyrus-sasl-pam/receipt	Sun Feb 13 13:09:42 2022 +0000
    21.3 @@ -16,6 +16,13 @@
    21.4  DEPENDS="libcomerr3 libdb libkrb5 libldap openssl pam"
    21.5  BUILD_DEPENDS="openldap-dev openssl-dev pam pam-dev"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
   21.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/cyrus-sasl/receipt	Sun Feb 13 07:06:09 2022 +0100
    22.2 +++ b/cyrus-sasl/receipt	Sun Feb 13 13:09:42 2022 +0000
    22.3 @@ -15,6 +15,13 @@
    22.4  DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
    22.5  BUILD_DEPENDS="db-dev openldap-dev openssl-dev"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
   22.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/dciutil/receipt	Sun Feb 13 07:06:09 2022 +0100
    23.2 +++ b/dciutil/receipt	Sun Feb 13 13:09:42 2022 +0000
    23.3 @@ -15,6 +15,13 @@
    23.4  BUILD_DEPENDS="file glib-dev libdrm-dev libtool libusb-dev 
    23.5  	pkg-config python-dev udev-dev xorg-dev xorg-xrandr"
    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 '/ddcutil.*release [0-9]/!d;s|.*release ||;s| .*||'
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/exiv2/receipt	Sun Feb 13 07:06:09 2022 +0100
    24.2 +++ b/exiv2/receipt	Sun Feb 13 13:09:42 2022 +0000
    24.3 @@ -16,6 +16,13 @@
    24.4  
    24.5  HOST_ARCH="i486 arm"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - https://exiv2.org/download.html 2>/dev/null | \
   24.11 +	sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q'
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/fping/receipt	Sun Feb 13 07:06:09 2022 +0100
    25.2 +++ b/fping/receipt	Sun Feb 13 13:09:42 2022 +0000
    25.3 @@ -11,6 +11,13 @@
    25.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    25.5  WGET_URL="${WEB_SITE}dist/$TARBALL"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://github.com/schweikert/fping/releases 2>/dev/null | \
   25.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/frozen-bubble/receipt	Sun Feb 13 07:06:09 2022 +0100
    26.2 +++ b/frozen-bubble/receipt	Sun Feb 13 13:09:42 2022 +0000
    26.3 @@ -13,6 +13,13 @@
    26.4  DEPENDS="perl-locale-gettext libsdl-mixer libsdl-pango libsdl-perl"
    26.5  BUILD_DEPENDS="perl-locale-gettext gettext glib-dev libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-net-dev freetype-dev libsdl-ttf-dev libsdl-mixer-dev libsdl-pango-dev libsmpeg-dev pkg-config libsdl-perl mesa-dev glibc-locale"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - http://www.frozen-bubble.org/downloads/ 2>/dev/null | \
   26.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/beta/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/geany-plugins/receipt	Sun Feb 13 07:06:09 2022 +0100
    27.2 +++ b/geany-plugins/receipt	Sun Feb 13 13:09:42 2022 +0000
    27.3 @@ -21,6 +21,13 @@
    27.4  		BUILD_DEPENDS="gtkspell-dev geany-dev lua-dev libxml2-dev vte-dev"
    27.5  esac
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   27.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/kamailio/receipt	Sun Feb 13 07:06:09 2022 +0100
    28.2 +++ b/kamailio/receipt	Sun Feb 13 13:09:42 2022 +0000
    28.3 @@ -19,6 +19,13 @@
    28.4  
    28.5  CONFIG_FILES="/etc/kamailio"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - https://www.kamailio.org/pub/kamailio/latest/src/ 2>/dev/null | \
   28.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)_src.*|\\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/krb5/receipt	Sun Feb 13 07:06:09 2022 +0100
    29.2 +++ b/krb5/receipt	Sun Feb 13 13:09:42 2022 +0000
    29.3 @@ -16,6 +16,13 @@
    29.4  
    29.5  CONFIG_FILES="/etc/krb5"
    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 | \
   29.11 +	sed '/Current release/!d;/.*krb5-[0-9]/!d;s|.*>krb5-||;s|<.*||'
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/libedit/receipt	Sun Feb 13 07:06:09 2022 +0100
    30.2 +++ b/libedit/receipt	Sun Feb 13 13:09:42 2022 +0000
    30.3 @@ -15,6 +15,13 @@
    30.4  
    30.5  BUILD_DEPENDS="gettext ncurses-dev"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   30.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-[0-9]*-\\(.*\\).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/libpthread-stubs/receipt	Sun Feb 13 07:06:09 2022 +0100
    31.2 +++ b/libpthread-stubs/receipt	Sun Feb 13 13:09:42 2022 +0000
    31.3 @@ -11,6 +11,13 @@
    31.4  WGET_URL="$WEB_SITE/dist/$TARBALL"
    31.5  HOST_ARCH="i486 arm"
    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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\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/logsurfer/receipt	Sun Feb 13 07:06:09 2022 +0100
    32.2 +++ b/logsurfer/receipt	Sun Feb 13 13:09:42 2022 +0000
    32.3 @@ -10,6 +10,13 @@
    32.4  WEB_SITE="https://www.crypt.gen.nz/logsurfer/"
    32.5  WGET_URL="$WEB_SITE/$TARBALL"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   32.11 +	sed '/Logsurfer .* Features/!d;/div/d;s|.*Logsurfer ||;s| Features.*||;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/megatools/receipt	Sun Feb 13 07:06:09 2022 +0100
    33.2 +++ b/megatools/receipt	Sun Feb 13 13:09:42 2022 +0000
    33.3 @@ -13,6 +13,13 @@
    33.4  DEPENDS="glib libcurl openssl gmp"
    33.5  BUILD_DEPENDS="glib-dev curl-dev openssl-dev gmp-dev"
    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/mpfr/receipt	Sun Feb 13 07:06:09 2022 +0100
    34.2 +++ b/mpfr/receipt	Sun Feb 13 13:09:42 2022 +0000
    34.3 @@ -16,6 +16,13 @@
    34.4  
    34.5  HOST_ARCH="i486 arm"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - https://www.mpfr.org/mpfr-current/ 2>/dev/null | \
   34.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   34.12 +}
   34.13 +
   34.14  #--with-gmp-lib=/cross/$ARCH/sysroot/usr/lib
   34.15  #--with-gmp-include=/cross/$ARCH/sysroot/usr/include
   34.16  
    35.1 --- a/nathive/receipt	Sun Feb 13 07:06:09 2022 +0100
    35.2 +++ b/nathive/receipt	Sun Feb 13 13:09:42 2022 +0000
    35.3 @@ -14,6 +14,13 @@
    35.4  DEPENDS="gtk+ python"
    35.5  BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - http://www.nathive.org/download 2>/dev/null | \
   35.11 +	sed '/ource tarball/d;/.*nathive-[0-9]/!d;/tgz/!d;s|.*nathive-||;s|.tgz.*||;/-/d;q'
   35.12 +}
   35.13 +
   35.14  # Rules to configure and make the package.
   35.15  compile_rules()
   35.16  {
    36.1 --- a/nmap/receipt	Sun Feb 13 07:06:09 2022 +0100
    36.2 +++ b/nmap/receipt	Sun Feb 13 13:09:42 2022 +0000
    36.3 @@ -17,6 +17,13 @@
    36.4  
    36.5  HOST_ARCH="i486 arm"
    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/nut/receipt	Sun Feb 13 07:06:09 2022 +0100
    37.2 +++ b/nut/receipt	Sun Feb 13 13:09:42 2022 +0000
    37.3 @@ -17,6 +17,13 @@
    37.4  BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \
    37.5  	neon-dev openssl-dev zlib-dev"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - https://github.com/networkupstools/nut/releases 2>/dev/null | \
   37.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/openal/receipt	Sun Feb 13 07:06:09 2022 +0100
    38.2 +++ b/openal/receipt	Sun Feb 13 13:09:42 2022 +0000
    38.3 @@ -16,6 +16,13 @@
    38.4  DEPENDS="gcc83-lib-base libatomic"
    38.5  BUILD_DEPENDS="cmake gcc83 libatomic"
    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 '/OpenAL Soft [0-9]/!d;s|.*OpenAL Soft ||;s| is.*||;q'
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/openttd-opengfx/receipt	Sun Feb 13 07:06:09 2022 +0100
    39.2 +++ b/openttd-opengfx/receipt	Sun Feb 13 13:09:42 2022 +0000
    39.3 @@ -12,6 +12,13 @@
    39.4  WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
    39.5  PROVIDE="opengfx"
    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 '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/pan/receipt	Sun Feb 13 07:06:09 2022 +0100
    40.2 +++ b/pan/receipt	Sun Feb 13 13:09:42 2022 +0000
    40.3 @@ -14,6 +14,13 @@
    40.4  DEPENDS="cairo gcc-lib-base glibc-base gmime gtk+ gtkspell pcre"
    40.5  BUILD_DEPENDS="gettext glib-dev gmime-dev gtk+-dev gtkspell-dev intltool itstool"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   40.11 +	sed '/\/releases\//!d;s|.*releases/||;s|/source.*||;q'
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/perdition-pam/receipt	Sun Feb 13 07:06:09 2022 +0100
    41.2 +++ b/perdition-pam/receipt	Sun Feb 13 13:09:42 2022 +0000
    41.3 @@ -6,7 +6,7 @@
    41.4  SHORT_DESC="Fully featured POP3 and IMAP4 proxy server."
    41.5  MAINTAINER="pascal.bellard@slitaz.org"
    41.6  LICENSE="GPL2"
    41.7 -WEB_SITE="http://www.vergenet.net/linux/perdition"
    41.8 +WEB_SITE="https://projects.horms.net/projects/perdition"
    41.9  
   41.10  SOURCE="perdition"
   41.11  TARBALL="$SOURCE-$VERSION.tar.gz"
   41.12 @@ -19,6 +19,13 @@
   41.13  	openldap-dev pam pam-dev popt-dev cyrus-sasl-dev openssl-dev libidn-dev"
   41.14  CONFIG_FILES="/etc/perdition"
   41.15  
   41.16 +# What is the latest version available today?
   41.17 +current_version()
   41.18 +{
   41.19 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   41.20 +	sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   41.21 +}
   41.22 +
   41.23  # Rules to configure and make the package.
   41.24  compile_rules()
   41.25  {
    42.1 --- a/perdition/receipt	Sun Feb 13 07:06:09 2022 +0100
    42.2 +++ b/perdition/receipt	Sun Feb 13 13:09:42 2022 +0000
    42.3 @@ -6,7 +6,7 @@
    42.4  SHORT_DESC="Fully featured POP3 and IMAP4 proxy server."
    42.5  MAINTAINER="pascal.bellard@slitaz.org"
    42.6  LICENSE="GPL2"
    42.7 -WEB_SITE="http://www.vergenet.net/linux/$PACKAGE"
    42.8 +WEB_SITE="https://projects.horms.net/projects/perdition"
    42.9  
   42.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
   42.11  WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
   42.12 @@ -18,6 +18,13 @@
   42.13  CONFIG_FILES="/etc/perdition"
   42.14  BUGS="Very slow: more than 10 seconds for login with squirrelmail, why ?"
   42.15  
   42.16 +# What is the latest version available today?
   42.17 +current_version()
   42.18 +{
   42.19 +	wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   42.20 +	sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
   42.21 +}
   42.22 +
   42.23  # Rules to configure and make the package.
   42.24  compile_rules()
   42.25  {
    43.1 --- a/radvd/receipt	Sun Feb 13 07:06:09 2022 +0100
    43.2 +++ b/radvd/receipt	Sun Feb 13 13:09:42 2022 +0000
    43.3 @@ -16,6 +16,13 @@
    43.4  
    43.5  CONFIG_FILES="/etc/radvd.conf"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://github.com/radvd-project/radvd/releases 2>/dev/null | \
   43.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/samba/receipt	Sun Feb 13 07:06:09 2022 +0100
    44.2 +++ b/samba/receipt	Sun Feb 13 13:09:42 2022 +0000
    44.3 @@ -19,6 +19,13 @@
    44.4  DEPENDS="libldap samba-common glibc-base ncursesw popt zlib cifs-utils acl \
    44.5  krb5 libcups"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   44.12 +}
   44.13 +
   44.14  # Rules to configure and make the package.
   44.15  compile_rules()
   44.16  {
    45.1 --- a/scilab/receipt	Sun Feb 13 07:06:09 2022 +0100
    45.2 +++ b/scilab/receipt	Sun Feb 13 13:09:42 2022 +0000
    45.3 @@ -17,6 +17,13 @@
    45.4  	hdf5-dev lapack libxml2-dev matio-dev ncursesw-dev ocaml pcre-dev \
    45.5  	pkg-config tcl-dev tk-dev xorg-dev"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   45.11 +	sed 's|>|>\n|g' | sed '/\/download\//!d;s|.*scilab-||;s|".*||;q'
   45.12 +}
   45.13 +
   45.14  # Rules to configure and make the package.
   45.15  compile_rules()
   45.16  {
    46.1 --- a/unifont/receipt	Sun Feb 13 07:06:09 2022 +0100
    46.2 +++ b/unifont/receipt	Sun Feb 13 13:09:42 2022 +0000
    46.3 @@ -11,6 +11,13 @@
    46.4  TARBALL="$PACKAGE-$VERSION.ttf"
    46.5  WGET_URL="${WEB_SITE}pub/$PACKAGE/$PACKAGE-$VERSION/font-builds/$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 '/href="unifont-[0-9]/!d;s|.*href="unifont-||;s|/.*||' | 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/usb-modeswitch/receipt	Sun Feb 13 07:06:09 2022 +0100
    47.2 +++ b/usb-modeswitch/receipt	Sun Feb 13 13:09:42 2022 +0000
    47.3 @@ -17,6 +17,13 @@
    47.4  DEPENDS="libusb"
    47.5  BUILD_DEPENDS="libusb-dev"
    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/vanessa_adt/receipt	Sun Feb 13 07:06:09 2022 +0100
    48.2 +++ b/vanessa_adt/receipt	Sun Feb 13 13:09:42 2022 +0000
    48.3 @@ -13,6 +13,13 @@
    48.4  DEPENDS="vanessa_logger"
    48.5  BUILD_DEPENDS="vanessa_logger-dev vanessa_logger"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   48.11 +	sed '/\/vanessa_adt\//!d;s|.*vanessa_adt/||;s|/.*||;q'
   48.12 +}
   48.13 +
   48.14  # Rules to configure and make the package.
   48.15  compile_rules()
   48.16  {
    49.1 --- a/vanessa_logger/receipt	Sun Feb 13 07:06:09 2022 +0100
    49.2 +++ b/vanessa_logger/receipt	Sun Feb 13 13:09:42 2022 +0000
    49.3 @@ -12,6 +12,13 @@
    49.4  
    49.5  BUILD_DEPENDS="file"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   49.11 +	sed '/\/vanessa_logger\//!d;s|.*vanessa_logger/||;s|/.*||;q'
   49.12 +}
   49.13 +
   49.14  # Rules to configure and make the package.
   49.15  compile_rules()
   49.16  {
    50.1 --- a/wmctrl/receipt	Sun Feb 13 07:06:09 2022 +0100
    50.2 +++ b/wmctrl/receipt	Sun Feb 13 13:09:42 2022 +0000
    50.3 @@ -14,6 +14,13 @@
    50.4  DEPENDS="glib"
    50.5  BUILD_DEPENDS="glib-dev"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - $WEB_SITE 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 configure and make the package.
   50.15  compile_rules()
   50.16  {
    51.1 --- a/xa/receipt	Sun Feb 13 07:06:09 2022 +0100
    51.2 +++ b/xa/receipt	Sun Feb 13 13:09:42 2022 +0000
    51.3 @@ -12,6 +12,13 @@
    51.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    51.5  WGET_URL="${WEB_SITE}dists/$TARBALL"
    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/xcircuit/receipt	Sun Feb 13 07:06:09 2022 +0100
    52.2 +++ b/xcircuit/receipt	Sun Feb 13 13:09:42 2022 +0000
    52.3 @@ -14,6 +14,13 @@
    52.4  DEPENDS="cairo tcl tk xorg-libXpm zlib"
    52.5  BUILD_DEPENDS="automake cairo-dev tcl-dev tk-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   52.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.t.*||" | sort -Vr | sed q
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {