wok-6.x rev 24447

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 14 17:51:14 2022 +0000 (2022-02-14)
parents 70cb1291f70b
children 5b79596c5d14
files ldapvi/receipt ledger/receipt leocad/receipt lfs-book/receipt lftp/receipt lha/receipt libacpi/receipt libassuan/receipt libbcm2835/receipt libbsd/receipt libburn/receipt libcaca/receipt libcss/receipt libdrm-mach64/receipt libdshconfig/receipt libdvdcss/receipt libdvdnav/receipt libdvdread/receipt libestr/receipt libev/receipt libfilezilla/receipt libftdi/receipt libgd/receipt libirman/receipt libisofs/receipt libjreen/receipt libksba/receipt liblognorm/receipt libmatchbox/receipt libmediainfo/receipt libmnl/receipt libmspack/receipt libnice/receipt libnsgif/receipt liboping/receipt libparserutils/receipt libpcap/receipt libplayer/receipt libplist/receipt libraw/receipt libsamplerate/receipt libsasl-without-ldap/receipt libsdl-image/receipt libsdl-mixer/receipt libsdl-net/receipt libsdl-ttf/receipt libsdl/receipt libsdl2-dev/receipt libsdl2-image/receipt libsdl2-mixer/receipt libsdl2-net/receipt libsdl2-ttf/receipt libsexy/receipt libsexymm/receipt libsmpeg/receipt libsodium/receipt libspatialindex/receipt libspectre/receipt libssh/receipt libtar/receipt libtdb/receipt liburcu/receipt libv4l/receipt libvalhalla/receipt libwapcaplet/receipt libwrap/receipt libxkbcommon/receipt libzdb/receipt libzim/receipt lighttpd-ssl/receipt lighttpd/receipt lilv/receipt links-dfb/receipt links/receipt lives/receipt lrzsz/receipt lshw/receipt lsscsi/receipt lsyncd/receipt lua/receipt lua5.1/receipt luajit/receipt luasocket/receipt lv2/receipt lynx/receipt
line diff
     1.1 --- a/ldapvi/receipt	Mon Feb 14 15:32:45 2022 +0100
     1.2 +++ b/ldapvi/receipt	Mon Feb 14 17:51:14 2022 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  BUILD_DEPENDS="openldap-dev glib-dev popt-dev openssl-dev ncurses-dev \
     1.5  readline-dev cyrus-sasl-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/ledger/receipt	Mon Feb 14 15:32:45 2022 +0100
     2.2 +++ b/ledger/receipt	Mon Feb 14 17:51:14 2022 +0000
     2.3 @@ -13,6 +13,13 @@
     2.4  DEPENDS="pcre gmp"
     2.5  BUILD_DEPENDS="pcre-dev gmp-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - ${WGET_URL%/*} 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/leocad/receipt	Mon Feb 14 15:32:45 2022 +0100
     3.2 +++ b/leocad/receipt	Mon Feb 14 17:51:14 2022 +0000
     3.3 @@ -17,6 +17,13 @@
     3.4  xorg-libXrender mesa libglu-mesa"
     3.5  BUILD_DEPENDS="mesa-dev gtk+-dev glib-dev"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \
    3.11 +	sed '/archive.*tar/!d;/continuous/d;s|.*/v*\(.*\).tar.*|\1|;q'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/lfs-book/receipt	Mon Feb 14 15:32:45 2022 +0100
     4.2 +++ b/lfs-book/receipt	Mon Feb 14 17:51:14 2022 +0000
     4.3 @@ -11,6 +11,13 @@
     4.4  TARBALL="LFS-BOOK-$VERSION.tar.bz2"
     4.5  WGET_URL="http://www.linuxfromscratch.org/lfs/downloads/$VERSION/$TARBALL"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://www.linuxfromscratch.org/lfs/downloads/stable/ 2>/dev/null | \
    4.11 +	sed '/LFS-BOOK-[0-9]/!d;/tar/!d;s|.*LFS-BOOK-\(.*\).tar.*|\1|' | sort -Vr | sed q
    4.12 +}
    4.13 +
    4.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.15  genpkg_rules()
    4.16  {
     5.1 --- a/lftp/receipt	Mon Feb 14 15:32:45 2022 +0100
     5.2 +++ b/lftp/receipt	Mon Feb 14 17:51:14 2022 +0000
     5.3 @@ -17,6 +17,13 @@
     5.4  
     5.5  CROSS="bug: failed at test"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://lftp.yar.ru/get.html 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/lha/receipt	Mon Feb 14 15:32:45 2022 +0100
     6.2 +++ b/lha/receipt	Mon Feb 14 17:51:14 2022 +0000
     6.3 @@ -10,6 +10,13 @@
     6.4  WEB_SITE="http://$PACKAGE.sourceforge.jp/"
     6.5  WGET_URL="http://osdn.dl.sourceforge.jp/$PACKAGE/22231/$TARBALL"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://github.com/jca02266/lha/tags 2>/dev/null | \
    6.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/libacpi/receipt	Mon Feb 14 15:32:45 2022 +0100
     7.2 +++ b/libacpi/receipt	Mon Feb 14 17:51:14 2022 +0000
     7.3 @@ -13,6 +13,13 @@
     7.4  DEPENDS=""
     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 - $WEB_SITE 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/libassuan/receipt	Mon Feb 14 15:32:45 2022 +0100
     8.2 +++ b/libassuan/receipt	Mon Feb 14 17:51:14 2022 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  DEPENDS="libgpg-error"
     8.5  BUILD_DEPENDS="libgpg-error-dev"
     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/libbcm2835/receipt	Mon Feb 14 15:32:45 2022 +0100
     9.2 +++ b/libbcm2835/receipt	Mon Feb 14 17:51:14 2022 +0000
     9.3 @@ -12,6 +12,13 @@
     9.4  WGET_URL="http://www.airspayce.com/mikem/bcm2835/$TARBALL"
     9.5  HOST_ARCH="arm"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    9.11 +	sed '/bcm2835-[0-9]/!d;/tar/!d;s|.*bcm2835-||;s|.tar.*||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/libbsd/receipt	Mon Feb 14 15:32:45 2022 +0100
    10.2 +++ b/libbsd/receipt	Mon Feb 14 17:51:14 2022 +0000
    10.3 @@ -13,6 +13,13 @@
    10.4  
    10.5  HOST_ARCH="i486 arm"
    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;/$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/libburn/receipt	Mon Feb 14 15:32:45 2022 +0100
    11.2 +++ b/libburn/receipt	Mon Feb 14 17:51:14 2022 +0000
    11.3 @@ -11,6 +11,13 @@
    11.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    11.5  WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
    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/libcaca/receipt	Mon Feb 14 15:32:45 2022 +0100
    12.2 +++ b/libcaca/receipt	Mon Feb 14 17:51:14 2022 +0000
    12.3 @@ -13,6 +13,13 @@
    12.4  DEPENDS="ncurses imlib2"
    12.5  BUILD_DEPENDS="ncurses-dev imlib2-dev xorg-libX11-dev"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/libcss/receipt	Mon Feb 14 15:32:45 2022 +0100
    13.2 +++ b/libcss/receipt	Mon Feb 14 17:51:14 2022 +0000
    13.3 @@ -14,6 +14,13 @@
    13.4  DEPENDS="libparserutils libwapcaplet"
    13.5  BUILD_DEPENDS="libwapcaplet-dev libparserutils-dev"
    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/libdrm-mach64/receipt	Mon Feb 14 15:32:45 2022 +0100
    14.2 +++ b/libdrm-mach64/receipt	Mon Feb 14 17:51:14 2022 +0000
    14.3 @@ -14,6 +14,13 @@
    14.4  DEPENDS="linux"
    14.5  BUILD_DEPENDS="linux-module-headers"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libdshconfig/receipt	Mon Feb 14 15:32:45 2022 +0100
    15.2 +++ b/libdshconfig/receipt	Mon Feb 14 17:51:14 2022 +0000
    15.3 @@ -10,6 +10,13 @@
    15.4  WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
    15.5  WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL"
    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/libdvdcss/receipt	Mon Feb 14 15:32:45 2022 +0100
    16.2 +++ b/libdvdcss/receipt	Mon Feb 14 17:51:14 2022 +0000
    16.3 @@ -11,6 +11,13 @@
    16.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    16.5  WGET_URL="https://download.videolan.org/pub/videolan/$PACKAGE/$VERSION/$TARBALL"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   16.11 +	sed '/latest version/!d;s|.*<b>||;s|</b>.*||;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/libdvdnav/receipt	Mon Feb 14 15:32:45 2022 +0100
    17.2 +++ b/libdvdnav/receipt	Mon Feb 14 17:51:14 2022 +0000
    17.3 @@ -13,6 +13,13 @@
    17.4  
    17.5  BUILD_DEPENDS="libdvdread libdvdread-dev"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - $WEB_SITE 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/libdvdread/receipt	Mon Feb 14 15:32:45 2022 +0100
    18.2 +++ b/libdvdread/receipt	Mon Feb 14 17:51:14 2022 +0000
    18.3 @@ -13,6 +13,13 @@
    18.4  
    18.5  BUILD_DEPENDS="libdvdcss-dev libtool"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - ${WGET_URL%/*} 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/libestr/receipt	Mon Feb 14 15:32:45 2022 +0100
    19.2 +++ b/libestr/receipt	Mon Feb 14 17:51:14 2022 +0000
    19.3 @@ -11,6 +11,13 @@
    19.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    19.5  WGET_URL="http://libestr.adiscon.com/files/download/$TARBALL"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   19.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|/.*||;s|-|.|g" | 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/libev/receipt	Mon Feb 14 15:32:45 2022 +0100
    20.2 +++ b/libev/receipt	Mon Feb 14 17:51:14 2022 +0000
    20.3 @@ -13,6 +13,13 @@
    20.4  
    20.5  HOST_ARCH="i486 arm"
    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/libfilezilla/receipt	Mon Feb 14 15:32:45 2022 +0100
    21.2 +++ b/libfilezilla/receipt	Mon Feb 14 17:51:14 2022 +0000
    21.3 @@ -15,6 +15,13 @@
    21.4  DEPENDS="gcc83-lib-base libgnutls nettle"
    21.5  BUILD_DEPENDS="gcc83 gettext gnutls-dev nettle-dev libatomic libgnutls"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   21.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/libftdi/receipt	Mon Feb 14 15:32:45 2022 +0100
    22.2 +++ b/libftdi/receipt	Mon Feb 14 17:51:14 2022 +0000
    22.3 @@ -13,6 +13,13 @@
    22.4  DEPENDS="glibc-base libusb libusb-compat gcc-lib-base"
    22.5  BUILD_DEPENDS="slitaz-toolchain libusb-dev libusb libusb-compat"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://www.intra2net.com/en/developer/libftdi/download.php 2>/dev/null | \
   22.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/libgd/receipt	Mon Feb 14 15:32:45 2022 +0100
    23.2 +++ b/libgd/receipt	Mon Feb 14 17:51:14 2022 +0000
    23.3 @@ -23,6 +23,13 @@
    23.4  	arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;;
    23.5  esac
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://bitbucket.org/libgd/gd-libgd/downloads/ 2>/dev/null | \
   23.11 +	sed '/libgd-/!d;/-rc/d;/-alpha/d;s|.*libgd-||;s|.tar.*||;q'
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/libirman/receipt	Mon Feb 14 15:32:45 2022 +0100
    24.2 +++ b/libirman/receipt	Mon Feb 14 17:51:14 2022 +0000
    24.3 @@ -12,6 +12,13 @@
    24.4  CONFIG_FILES="/etc/irman.conf"
    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 - ${WGET_URL%/*} 2>/dev/null | \
   24.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   24.12 +}
   24.13 +
   24.14  # Rules to configure and make the package.
   24.15  compile_rules()
   24.16  {
    25.1 --- a/libisofs/receipt	Mon Feb 14 15:32:45 2022 +0100
    25.2 +++ b/libisofs/receipt	Mon Feb 14 17:51:14 2022 +0000
    25.3 @@ -11,6 +11,13 @@
    25.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    25.5  WGET_URL="http://files.libburnia-project.org/releases/$TARBALL"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - ${WGET_URL%/*} 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/libjreen/receipt	Mon Feb 14 15:32:45 2022 +0100
    26.2 +++ b/libjreen/receipt	Mon Feb 14 17:51:14 2022 +0000
    26.3 @@ -14,6 +14,13 @@
    26.4  DEPENDS="libidn libQtCore libQtNetwork qca"
    26.5  BUILD_DEPENDS="cmake gsasl-dev libidn-dev qca-dev qmake Qt4-dev"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - http://qutim.org/jreen 2>/dev/null | \
   26.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!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/libksba/receipt	Mon Feb 14 15:32:45 2022 +0100
    27.2 +++ b/libksba/receipt	Mon Feb 14 17:51:14 2022 +0000
    27.3 @@ -13,6 +13,13 @@
    27.4  DEPENDS="libgpg-error"
    27.5  BUILD_DEPENDS="libgpg-error-dev"
    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/liblognorm/receipt	Mon Feb 14 15:32:45 2022 +0100
    28.2 +++ b/liblognorm/receipt	Mon Feb 14 17:51:14 2022 +0000
    28.3 @@ -13,6 +13,13 @@
    28.4  DEPENDS="libee libestr"
    28.5  BUILD_DEPENDS="libestr-dev libee-dev automake"
    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 | \
   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/libmatchbox/receipt	Mon Feb 14 15:32:45 2022 +0100
    29.2 +++ b/libmatchbox/receipt	Mon Feb 14 17:51:14 2022 +0000
    29.3 @@ -14,6 +14,13 @@
    29.4  DEPENDS="pango"
    29.5  BUILD_DEPENDS="autoconf automake jpeg-dev libtool libxml2-dev pango-dev"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://git.yoctoproject.org/libmatchbox/ 2>/dev/null | \
   29.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-||;s|.zip.*||" | 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/libmediainfo/receipt	Mon Feb 14 15:32:45 2022 +0100
    30.2 +++ b/libmediainfo/receipt	Mon Feb 14 17:51:14 2022 +0000
    30.3 @@ -14,6 +14,13 @@
    30.4  DEPENDS="libcurl libmms"
    30.5  BUILD_DEPENDS="autoconf automake curl-dev libmms-dev libtool libzen"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2>/dev/null | \
   30.11 +	sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).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/libmnl/receipt	Mon Feb 14 15:32:45 2022 +0100
    31.2 +++ b/libmnl/receipt	Mon Feb 14 17:51:14 2022 +0000
    31.3 @@ -11,6 +11,13 @@
    31.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    31.5  WGET_URL="https://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    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/libmspack/receipt	Mon Feb 14 15:32:45 2022 +0100
    32.2 +++ b/libmspack/receipt	Mon Feb 14 17:51:14 2022 +0000
    32.3 @@ -11,6 +11,13 @@
    32.4  TARBALL="$PACKAGE-${VERSION}alpha.tar.gz"
    32.5  WGET_URL="https://www.cabextract.org.uk/$PACKAGE/$TARBALL"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://github.com/kyz/libmspack/tags 2>/dev/null | \
   32.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/libnice/receipt	Mon Feb 14 15:32:45 2022 +0100
    33.2 +++ b/libnice/receipt	Mon Feb 14 17:51:14 2022 +0000
    33.3 @@ -13,6 +13,13 @@
    33.4  DEPENDS="gstreamer"
    33.5  BUILD_DEPENDS="gstreamer gstreamer-dev pkg-config glib-dev libxml2-dev"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - $WEB_SITE 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/libnsgif/receipt	Mon Feb 14 15:32:45 2022 +0100
    34.2 +++ b/libnsgif/receipt	Mon Feb 14 17:51:14 2022 +0000
    34.3 @@ -11,6 +11,13 @@
    34.4  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
    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 - ${WGET_URL%/*} 2>/dev/null | \
   34.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
   34.12 +}
   34.13 +
   34.14  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/liboping/receipt	Mon Feb 14 15:32:45 2022 +0100
    35.2 +++ b/liboping/receipt	Mon Feb 14 17:51:14 2022 +0000
    35.3 @@ -14,6 +14,13 @@
    35.4  DEPENDS="libcap ncurses"
    35.5  BUILD_DEPENDS="libcap-dev ncurses-dev perl"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   35.12 +}
   35.13 +
   35.14  # Rules to configure and make the package.
   35.15  compile_rules()
   35.16  {
    36.1 --- a/libparserutils/receipt	Mon Feb 14 15:32:45 2022 +0100
    36.2 +++ b/libparserutils/receipt	Mon Feb 14 17:51:14 2022 +0000
    36.3 @@ -11,6 +11,13 @@
    36.4  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
    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-\\(.*\\)-src.*|\\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/libpcap/receipt	Mon Feb 14 15:32:45 2022 +0100
    37.2 +++ b/libpcap/receipt	Mon Feb 14 17:51:14 2022 +0000
    37.3 @@ -24,6 +24,13 @@
    37.4  		export ac_cv_linux_vers=2 ;;
    37.5  esac
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - ${WGET_URL%/*} 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/libplayer/receipt	Mon Feb 14 15:32:45 2022 +0100
    38.2 +++ b/libplayer/receipt	Mon Feb 14 17:51:14 2022 +0000
    38.3 @@ -19,6 +19,13 @@
    38.4  	arm*) ARCH_ARGS="--cross-compile" ;;
    38.5  esac
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/libplist/receipt	Mon Feb 14 15:32:45 2022 +0100
    39.2 +++ b/libplist/receipt	Mon Feb 14 17:51:14 2022 +0000
    39.3 @@ -15,6 +15,13 @@
    39.4  #BUILD_DEPENDS="glib-dev libxml2-dev cmake swig python python-dev "
    39.5  BUILD_DEPENDS="file glib-dev libxml2-dev python python-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/libimobiledevice/libplist/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/libraw/receipt	Mon Feb 14 15:32:45 2022 +0100
    40.2 +++ b/libraw/receipt	Mon Feb 14 17:51:14 2022 +0000
    40.3 @@ -15,6 +15,13 @@
    40.4  DEPENDS="lcms"
    40.5  BUILD_DEPENDS="lcms-dev"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - https://www.libraw.org/download 2>/dev/null | \
   40.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsamplerate/receipt	Mon Feb 14 15:32:45 2022 +0100
    41.2 +++ b/libsamplerate/receipt	Mon Feb 14 17:51:14 2022 +0000
    41.3 @@ -15,6 +15,13 @@
    41.4  
    41.5  HOST_ARCH="i486 arm"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - http://www.mega-nerd.com/SRC/download.html 2>/dev/null | \
   41.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\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/libsasl-without-ldap/receipt	Mon Feb 14 15:32:45 2022 +0100
    42.2 +++ b/libsasl-without-ldap/receipt	Mon Feb 14 17:51:14 2022 +0000
    42.3 @@ -15,6 +15,13 @@
    42.4  DEPENDS="db openssl"
    42.5  BUILD_DEPENDS="db-dev openssl-dev"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
   42.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   42.12 +}
   42.13 +
   42.14  # Rules to configure and make the package.
   42.15  compile_rules()
   42.16  {
    43.1 --- a/libsdl-image/receipt	Mon Feb 14 15:32:45 2022 +0100
    43.2 +++ b/libsdl-image/receipt	Mon Feb 14 17:51:14 2022 +0000
    43.3 @@ -17,6 +17,13 @@
    43.4  
    43.5  HOST_ARCH="i486 arm"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - ${WGET_URL%/*} 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/libsdl-mixer/receipt	Mon Feb 14 15:32:45 2022 +0100
    44.2 +++ b/libsdl-mixer/receipt	Mon Feb 14 17:51:14 2022 +0000
    44.3 @@ -18,6 +18,13 @@
    44.4  
    44.5  HOST_ARCH="i486 arm"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsdl-net/receipt	Mon Feb 14 15:32:45 2022 +0100
    45.2 +++ b/libsdl-net/receipt	Mon Feb 14 17:51:14 2022 +0000
    45.3 @@ -17,6 +17,13 @@
    45.4  
    45.5  HOST_ARCH="i486 arm"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   45.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   45.12 +}
   45.13 +
   45.14  # Rules to configure and make the package.
   45.15  compile_rules()
   45.16  {
    46.1 --- a/libsdl-ttf/receipt	Mon Feb 14 15:32:45 2022 +0100
    46.2 +++ b/libsdl-ttf/receipt	Mon Feb 14 17:51:14 2022 +0000
    46.3 @@ -15,6 +15,13 @@
    46.4  DEPENDS="libsdl freetype zlib"
    46.5  BUILD_DEPENDS="libsdl-dev freetype-dev"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsdl/receipt	Mon Feb 14 15:32:45 2022 +0100
    47.2 +++ b/libsdl/receipt	Mon Feb 14 17:51:14 2022 +0000
    47.3 @@ -24,6 +24,13 @@
    47.4  		xorg-libXt-dev" ;;
    47.5  esac
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsdl2-dev/receipt	Mon Feb 14 15:32:45 2022 +0100
    48.2 +++ b/libsdl2-dev/receipt	Mon Feb 14 17:51:14 2022 +0000
    48.3 @@ -14,6 +14,13 @@
    48.4  DEPENDS="libsdl2 pkg-config"
    48.5  WANTED="libsdl2"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   48.11 +	sed "/latest/d;/SDL-[0-9]/!d;/tar/!d;s|.*SDL-\\(.*\\).tar.*|\\1|" | sort -Vr | sed 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/libsdl2-image/receipt	Mon Feb 14 15:32:45 2022 +0100
    49.2 +++ b/libsdl2-image/receipt	Mon Feb 14 17:51:14 2022 +0000
    49.3 @@ -17,6 +17,13 @@
    49.4  
    49.5  HOST_ARCH="i486 arm"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - ${WGET_URL%/*} 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/libsdl2-mixer/receipt	Mon Feb 14 15:32:45 2022 +0100
    50.2 +++ b/libsdl2-mixer/receipt	Mon Feb 14 17:51:14 2022 +0000
    50.3 @@ -17,6 +17,13 @@
    50.4  
    50.5  HOST_ARCH="i486 arm"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsdl2-net/receipt	Mon Feb 14 15:32:45 2022 +0100
    51.2 +++ b/libsdl2-net/receipt	Mon Feb 14 17:51:14 2022 +0000
    51.3 @@ -17,6 +17,13 @@
    51.4  
    51.5  HOST_ARCH="i486 arm"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsdl2-ttf/receipt	Mon Feb 14 15:32:45 2022 +0100
    52.2 +++ b/libsdl2-ttf/receipt	Mon Feb 14 17:51:14 2022 +0000
    52.3 @@ -17,6 +17,13 @@
    52.4  
    52.5  HOST_ARCH="i486 arm"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/libsexy/receipt	Mon Feb 14 15:32:45 2022 +0100
    53.2 +++ b/libsexy/receipt	Mon Feb 14 17:51:14 2022 +0000
    53.3 @@ -14,6 +14,13 @@
    53.4  DEPENDS="gtk+ xorg-libXdamage"
    53.5  BUILD_DEPENDS="pkg-config gtk+-dev xorg-xproto libxml2-dev"
    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/libsexymm/receipt	Mon Feb 14 15:32:45 2022 +0100
    54.2 +++ b/libsexymm/receipt	Mon Feb 14 17:51:14 2022 +0000
    54.3 @@ -14,6 +14,13 @@
    54.4  BUILD_DEPENDS="glibmm-dev libgiomm-dev cairomm-dev gtkmm-dev libsexy-dev \
    54.5  libsigc++-dev libxml2-dev gtk+-dev"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   54.12 +}
   54.13 +
   54.14  # Rules to configure and make the package.
   54.15  compile_rules()
   54.16  {
    55.1 --- a/libsmpeg/receipt	Mon Feb 14 15:32:45 2022 +0100
    55.2 +++ b/libsmpeg/receipt	Mon Feb 14 17:51:14 2022 +0000
    55.3 @@ -13,6 +13,13 @@
    55.4  DEPENDS="libsdl gcc-lib-base"
    55.5  BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
    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;/smpeg-[0-9]/!d;/tar/!d;s|.*smpeg-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   55.12 +}
   55.13 +
   55.14  # Rules to configure and make the package.
   55.15  compile_rules()
   55.16  {
    56.1 --- a/libsodium/receipt	Mon Feb 14 15:32:45 2022 +0100
    56.2 +++ b/libsodium/receipt	Mon Feb 14 17:51:14 2022 +0000
    56.3 @@ -10,6 +10,13 @@
    56.4  WEB_SITE="https://www.libsodium.org/"
    56.5  WGET_URL="https://download.libsodium.org/libsodium/releases/$TARBALL"
    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;/[0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   56.12 +}
   56.13 +
   56.14  # Rules to configure and make the package.
   56.15  compile_rules()
   56.16  {
    57.1 --- a/libspatialindex/receipt	Mon Feb 14 15:32:45 2022 +0100
    57.2 +++ b/libspatialindex/receipt	Mon Feb 14 17:51:14 2022 +0000
    57.3 @@ -15,6 +15,13 @@
    57.4  DEPENDS=""
    57.5  BUILD_DEPENDS=""
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   57.12 +}
   57.13 +
   57.14  # Rules to configure and make the package.
   57.15  compile_rules()
   57.16  {
    58.1 --- a/libspectre/receipt	Mon Feb 14 15:32:45 2022 +0100
    58.2 +++ b/libspectre/receipt	Mon Feb 14 17:51:14 2022 +0000
    58.3 @@ -13,6 +13,13 @@
    58.4  DEPENDS="ghostscript"
    58.5  BUILD_DEPENDS="ghostscript-dev"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   58.12 +}
   58.13 +
   58.14  # Rules to configure and make the package.
   58.15  compile_rules()
   58.16  {
    59.1 --- a/libssh/receipt	Mon Feb 14 15:32:45 2022 +0100
    59.2 +++ b/libssh/receipt	Mon Feb 14 17:51:14 2022 +0000
    59.3 @@ -15,6 +15,13 @@
    59.4  DEPENDS="libssl"
    59.5  BUILD_DEPENDS="cmake openssl-dev"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - https://git.libssh.org/projects/libssh.git/ 2>/dev/null | \
   59.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/zip/!d;s|.*$PACKAGE-\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   59.12 +}
   59.13 +
   59.14  # Rules to configure and make the package.
   59.15  compile_rules()
   59.16  {
    60.1 --- a/libtar/receipt	Mon Feb 14 15:32:45 2022 +0100
    60.2 +++ b/libtar/receipt	Mon Feb 14 17:51:14 2022 +0000
    60.3 @@ -14,6 +14,13 @@
    60.4  DEPENDS="zlib"
    60.5  BUILD_DEPENDS="automake libtool zlib-dev"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   60.11 +	sed '/libtar-/!d;s|.*/libtar-||;s|[/-].*||;q'
   60.12 +}
   60.13 +
   60.14  # Rules to configure and make the package.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/libtdb/receipt	Mon Feb 14 15:32:45 2022 +0100
    61.2 +++ b/libtdb/receipt	Mon Feb 14 17:51:14 2022 +0000
    61.3 @@ -15,6 +15,13 @@
    61.4  DEPENDS=""
    61.5  BUILD_DEPENDS="docbook-xsl libxslt-dev py3k-dev"
    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 "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   61.12 +}
   61.13 +
   61.14  # Rules to configure and make the package.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/liburcu/receipt	Mon Feb 14 15:32:45 2022 +0100
    62.2 +++ b/liburcu/receipt	Mon Feb 14 17:51:14 2022 +0000
    62.3 @@ -12,6 +12,13 @@
    62.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
    62.5  WGET_URL="https://www.lttng.org/files/urcu/$TARBALL"
    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 "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   62.12 +}
   62.13 +
   62.14  # Rules to configure and make the package.
   62.15  compile_rules()
   62.16  {
    63.1 --- a/libv4l/receipt	Mon Feb 14 15:32:45 2022 +0100
    63.2 +++ b/libv4l/receipt	Mon Feb 14 17:51:14 2022 +0000
    63.3 @@ -15,6 +15,13 @@
    63.4  DEPENDS="libjpeg"
    63.5  BUILD_DEPENDS="jpeg-dev"
    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 "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   63.12 +}
   63.13 +
   63.14  # Rules to configure and make the package.
   63.15  compile_rules()
   63.16  {
    64.1 --- a/libvalhalla/receipt	Mon Feb 14 15:32:45 2022 +0100
    64.2 +++ b/libvalhalla/receipt	Mon Feb 14 17:51:14 2022 +0000
    64.3 @@ -16,6 +16,13 @@
    64.4  BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite sqlite-dev \
    64.5  libxml2-dev libexif-dev curl-dev"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - https://github.com/GeeXboX/libvalhalla/tags 2>/dev/null | \
   64.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   64.12 +}
   64.13 +
   64.14  # Handle cross compilation
   64.15  case "$ARCH" in
   64.16  	i?86)
    65.1 --- a/libwapcaplet/receipt	Mon Feb 14 15:32:45 2022 +0100
    65.2 +++ b/libwapcaplet/receipt	Mon Feb 14 17:51:14 2022 +0000
    65.3 @@ -11,6 +11,13 @@
    65.4  WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
    65.5  HOST_ARCH="i486 arm"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | 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/libwrap/receipt	Mon Feb 14 15:32:45 2022 +0100
    66.2 +++ b/libwrap/receipt	Mon Feb 14 17:51:14 2022 +0000
    66.3 @@ -12,6 +12,13 @@
    66.4  WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
    66.5  HOST_ARCH="i486 arm"
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   66.11 +	sed "/latest/d;/${SOURCE}_[0-9]/!d;/tar/!d;/ipv6/d;s|.*${SOURCE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   66.12 +}
   66.13 +
   66.14  # Rules to configure and make the package.
   66.15  compile_rules()
   66.16  {
    67.1 --- a/libxkbcommon/receipt	Mon Feb 14 15:32:45 2022 +0100
    67.2 +++ b/libxkbcommon/receipt	Mon Feb 14 17:51:14 2022 +0000
    67.3 @@ -14,6 +14,13 @@
    67.4  DEPENDS="libxcb xorg-xkeyboard-config"
    67.5  BUILD_DEPENDS="bison libxcb-dev xorg-util-macros xorg-xkeyboard-config-dev"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   67.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   67.12 +}
   67.13 +
   67.14  # Rules to configure and make the package.
   67.15  compile_rules()
   67.16  {
    68.1 --- a/libzdb/receipt	Mon Feb 14 15:32:45 2022 +0100
    68.2 +++ b/libzdb/receipt	Mon Feb 14 17:51:14 2022 +0000
    68.3 @@ -21,6 +21,13 @@
    68.4  	arm) ;;
    68.5  esac
    68.6  	
    68.7 +# What is the latest version available today?
    68.8 +current_version()
    68.9 +{
   68.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   68.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   68.12 +}
   68.13 +
   68.14  # Rules to configure and make the package.
   68.15  compile_rules()
   68.16  {
    69.1 --- a/libzim/receipt	Mon Feb 14 15:32:45 2022 +0100
    69.2 +++ b/libzim/receipt	Mon Feb 14 17:51:14 2022 +0000
    69.3 @@ -14,6 +14,13 @@
    69.4  DEPENDS="liblzma"
    69.5  BUILD_DEPENDS="xz-dev autoconf automake libtool"
    69.6  
    69.7 +# What is the latest version available today?
    69.8 +current_version()
    69.9 +{
   69.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   69.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   69.12 +}
   69.13 +
   69.14  # Rules to configure and make the package.
   69.15  compile_rules()
   69.16  {
    70.1 --- a/lighttpd-ssl/receipt	Mon Feb 14 15:32:45 2022 +0100
    70.2 +++ b/lighttpd-ssl/receipt	Mon Feb 14 17:51:14 2022 +0000
    70.3 @@ -33,6 +33,13 @@
    70.4  status
    70.5  userdir"
    70.6  
    70.7 +# What is the latest version available today?
    70.8 +current_version()
    70.9 +{
   70.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   70.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   70.12 +}
   70.13 +
   70.14  # Rules to configure and make the package.
   70.15  compile_rules()
   70.16  {
    71.1 --- a/lighttpd/receipt	Mon Feb 14 15:32:45 2022 +0100
    71.2 +++ b/lighttpd/receipt	Mon Feb 14 17:51:14 2022 +0000
    71.3 @@ -33,6 +33,13 @@
    71.4  status
    71.5  userdir"
    71.6  
    71.7 +# What is the latest version available today?
    71.8 +current_version()
    71.9 +{
   71.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   71.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   71.12 +}
   71.13 +
   71.14  # Rules to configure and make the package.
   71.15  compile_rules()
   71.16  {
    72.1 --- a/lilv/receipt	Mon Feb 14 15:32:45 2022 +0100
    72.2 +++ b/lilv/receipt	Mon Feb 14 17:51:14 2022 +0000
    72.3 @@ -14,6 +14,13 @@
    72.4  DEPENDS="serd sord sratom"
    72.5  BUILD_DEPENDS="lv2 pkg-config serd-dev sord-dev sratom"
    72.6  
    72.7 +# What is the latest version available today?
    72.8 +current_version()
    72.9 +{
   72.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   72.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/links-dfb/receipt	Mon Feb 14 15:32:45 2022 +0100
    73.2 +++ b/links-dfb/receipt	Mon Feb 14 17:51:14 2022 +0000
    73.3 @@ -19,6 +19,13 @@
    73.4  
    73.5  HOST_ARCH="i486 arm"
    73.6  
    73.7 +# What is the latest version available today?
    73.8 +current_version()
    73.9 +{
   73.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   73.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   73.12 +}
   73.13 +
   73.14  # Rules to configure and make the package.
   73.15  compile_rules()
   73.16  {
    74.1 --- a/links/receipt	Mon Feb 14 15:32:45 2022 +0100
    74.2 +++ b/links/receipt	Mon Feb 14 17:51:14 2022 +0000
    74.3 @@ -34,6 +34,13 @@
    74.4  	arm*) VERSION="2.7" ;;
    74.5  esac
    74.6  
    74.7 +# What is the latest version available today?
    74.8 +current_version()
    74.9 +{
   74.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   74.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   74.12 +}
   74.13 +
   74.14  # Rules to configure and make the package.
   74.15  compile_rules()
   74.16  {
    75.1 --- a/lives/receipt	Mon Feb 14 15:32:45 2022 +0100
    75.2 +++ b/lives/receipt	Mon Feb 14 17:51:14 2022 +0000
    75.3 @@ -15,6 +15,13 @@
    75.4  DEPENDS="alsa-lib gtk+ libavc1394 liboil libpng libtheora mjpegtools sox"
    75.5  BUILD_DEPENDS="alsa-lib alsa-lib-dev expat-dev gtk+-dev libpng-dev perl procps"
    75.6  
    75.7 +# What is the latest version available today?
    75.8 +current_version()
    75.9 +{
   75.10 +	wget -O - http://lives-video.com/index.php?do=downloads 2>/dev/null | \
   75.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   75.12 +}
   75.13 +
   75.14  # Rules to configure and make the package.
   75.15  #
   75.16  compile_rules()
    76.1 --- a/lrzsz/receipt	Mon Feb 14 15:32:45 2022 +0100
    76.2 +++ b/lrzsz/receipt	Mon Feb 14 17:51:14 2022 +0000
    76.3 @@ -12,6 +12,13 @@
    76.4  
    76.5  BUILD_DEPENDS="wget"
    76.6  
    76.7 +# What is the latest version available today?
    76.8 +current_version()
    76.9 +{
   76.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   76.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   76.12 +}
   76.13 +
   76.14  # Rules to configure and make the package.
   76.15  compile_rules()
   76.16  {
    77.1 --- a/lshw/receipt	Mon Feb 14 15:32:45 2022 +0100
    77.2 +++ b/lshw/receipt	Mon Feb 14 17:51:14 2022 +0000
    77.3 @@ -13,6 +13,13 @@
    77.4  
    77.5  DEPENDS="gcc-lib-base"
    77.6  
    77.7 +# What is the latest version available today?
    77.8 +current_version()
    77.9 +{
   77.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   77.11 +	sed '/lshw-/!d;s|.*lshw-||;s|.tar.*||' | sort -Vr | sed q
   77.12 +}
   77.13 +
   77.14  # Rules to configure and make the package.
   77.15  compile_rules()
   77.16  {
    78.1 --- a/lsscsi/receipt	Mon Feb 14 15:32:45 2022 +0100
    78.2 +++ b/lsscsi/receipt	Mon Feb 14 17:51:14 2022 +0000
    78.3 @@ -11,6 +11,13 @@
    78.4  TARBALL="$PACKAGE-$VERSION.tgz"
    78.5  WGET_URL="http://sg.danny.cz/scsi/$TARBALL"
    78.6  
    78.7 +# What is the latest version available today?
    78.8 +current_version()
    78.9 +{
   78.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   78.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   78.12 +}
   78.13 +
   78.14  # Rules to configure and make the package.
   78.15  compile_rules()
   78.16  {
    79.1 --- a/lsyncd/receipt	Mon Feb 14 15:32:45 2022 +0100
    79.2 +++ b/lsyncd/receipt	Mon Feb 14 17:51:14 2022 +0000
    79.3 @@ -13,6 +13,13 @@
    79.4  DEPENDS="lua"
    79.5  BUILD_DEPENDS="lua-dev"
    79.6  
    79.7 +# What is the latest version available today?
    79.8 +current_version()
    79.9 +{
   79.10 +	wget -O - https://github.com/lsyncd/lsyncd/tags 2>/dev/null | \
   79.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   79.12 +}
   79.13 +
   79.14  # Rules to configure and make the package.
   79.15  compile_rules()
   79.16  {
    80.1 --- a/lua/receipt	Mon Feb 14 15:32:45 2022 +0100
    80.2 +++ b/lua/receipt	Mon Feb 14 17:51:14 2022 +0000
    80.3 @@ -16,6 +16,13 @@
    80.4  
    80.5  HOST_ARCH="i486 arm"
    80.6  
    80.7 +# What is the latest version available today?
    80.8 +current_version()
    80.9 +{
   80.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   80.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   80.12 +}
   80.13 +
   80.14  # Rules to configure and make the package.
   80.15  compile_rules()
   80.16  {
    81.1 --- a/lua5.1/receipt	Mon Feb 14 15:32:45 2022 +0100
    81.2 +++ b/lua5.1/receipt	Mon Feb 14 17:51:14 2022 +0000
    81.3 @@ -15,6 +15,13 @@
    81.4  DEPENDS="readline ncurses"
    81.5  BUILD_DEPENDS="readline-dev"
    81.6  
    81.7 +# What is the latest version available today?
    81.8 +current_version()
    81.9 +{
   81.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   81.11 +	sed "/latest/d;/$SOURCE-5.1/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   81.12 +}
   81.13 +
   81.14  # Rules to configure and make the package.
   81.15  compile_rules()
   81.16  {
    82.1 --- a/luajit/receipt	Mon Feb 14 15:32:45 2022 +0100
    82.2 +++ b/luajit/receipt	Mon Feb 14 17:51:14 2022 +0000
    82.3 @@ -14,6 +14,13 @@
    82.4  
    82.5  #HOST_ARCH="i486 arm"
    82.6  
    82.7 +# What is the latest version available today?
    82.8 +current_version()
    82.9 +{
   82.10 +	wget -O - http://luajit.org/download.html 2>/dev/null | \
   82.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;/beta/d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   82.12 +}
   82.13 +
   82.14  # Rules to configure and make the package.
   82.15  compile_rules()
   82.16  {
    83.1 --- a/luasocket/receipt	Mon Feb 14 15:32:45 2022 +0100
    83.2 +++ b/luasocket/receipt	Mon Feb 14 17:51:14 2022 +0000
    83.3 @@ -13,6 +13,13 @@
    83.4  DEPENDS="lua5.1"
    83.5  BUILD_DEPENDS="lua5.1-dev"
    83.6  
    83.7 +# What is the latest version available today?
    83.8 +current_version()
    83.9 +{
   83.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   83.11 +	sed '/is *now *available/!d;s|.*version ||;s| is.*||;q'
   83.12 +}
   83.13 +
   83.14  # Rules to configure and make the package.
   83.15  compile_rules()
   83.16  {
    84.1 --- a/lv2/receipt	Mon Feb 14 15:32:45 2022 +0100
    84.2 +++ b/lv2/receipt	Mon Feb 14 17:51:14 2022 +0000
    84.3 @@ -14,6 +14,13 @@
    84.4  DEPENDS="libsndfile"
    84.5  BUILD_DEPENDS="pkg-config libsndfile-dev"
    84.6  
    84.7 +# What is the latest version available today?
    84.8 +current_version()
    84.9 +{
   84.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   84.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   84.12 +}
   84.13 +
   84.14  # Rules to configure and make the package.
   84.15  compile_rules()
   84.16  {
    85.1 --- a/lynx/receipt	Mon Feb 14 15:32:45 2022 +0100
    85.2 +++ b/lynx/receipt	Mon Feb 14 17:51:14 2022 +0000
    85.3 @@ -17,6 +17,13 @@
    85.4  
    85.5  HOST_ARCH="i486 arm"
    85.6  
    85.7 +# What is the latest version available today?
    85.8 +current_version()
    85.9 +{
   85.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   85.11 +	sed '/href="lynx/!d;/tar/!d;/dev/d;/pre/d;/cur/d;s|.*lynx||;s|.tar.*||;s|rel\.|rel|' | sort -Vr | sed q
   85.12 +}
   85.13 +
   85.14  # Rules to configure and make the package.
   85.15  compile_rules()
   85.16  {