wok-6.x rev 24465

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 17 12:02:46 2022 +0000 (2022-02-17)
parents 44b38e4dce38
children f1f7aaa0be7d
files 8086tiny/receipt dargui/receipt dega/receipt esound/receipt ez-ipupdate/receipt fbgrab/receipt icewm-xdgmenu/receipt icinga/receipt libarchive/receipt libee/receipt lionwiki/receipt monkey/receipt net-tools/receipt obex-data-server/receipt rsh/receipt sgmixer/receipt sharedance/receipt spandsp/receipt squidguard/receipt warmux/receipt web-google-services/receipt web-picozu/receipt web-skype/receipt web-telegram/receipt web-whatsapp/receipt webalizer/receipt wine-rt/receipt wine/receipt wireshark/receipt wiringpi-pibrella/receipt wiringpi/receipt wv/receipt x264/receipt x265/receipt xalan-c/receipt xalan-xerces-j/receipt xcb-proto/receipt xcb-util-image/receipt xcb-util-keysyms/receipt xcb-util-wm/receipt xchat-plugin/receipt xchat/receipt xdg-user-dirs/receipt xdg-utils/receipt xdigger/receipt xerces-c/receipt xfmedia/receipt xlockmore/receipt xmgrace/receipt xneur/receipt xpat2/receipt xrestop/receipt
line diff
     1.1 --- a/8086tiny/receipt	Thu Feb 17 11:06:13 2022 +0100
     1.2 +++ b/8086tiny/receipt	Thu Feb 17 12:02:46 2022 +0000
     1.3 @@ -20,6 +20,13 @@
     1.4  	arm*) BUILD_DEPENDS="libsdl-dev" ;;
     1.5  esac
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://github.com/adriancable/8086tiny/commits/master 2>/dev/null | \
    1.11 +	sed '/Revision/!d;s|.*sion ||;s|<.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/dargui/receipt	Thu Feb 17 11:06:13 2022 +0100
     2.2 +++ b/dargui/receipt	Thu Feb 17 12:02:46 2022 +0000
     2.3 @@ -16,6 +16,14 @@
     2.4  DEPENDS="at bash dar gtk+ xterm"
     2.5  BUILD_DEPENDS="gettext-tools"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - https://sourceforge.net/projects/dargui/files/dargui/ 2>/dev/null | \
    2.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    2.12 +	sed '/scope="row/!d;s|.*/dargui/||;s|/.*||;q'
    2.13 +}
    2.14 +
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
     3.1 --- a/dega/receipt	Thu Feb 17 11:06:13 2022 +0100
     3.2 +++ b/dega/receipt	Thu Feb 17 12:02:46 2022 +0000
     3.3 @@ -14,6 +14,13 @@
     3.4  DEPENDS="libsdl"
     3.5  BUILD_DEPENDS="nasm libsdl-dev"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - ${WGET_URL%/*}/ 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/esound/receipt	Thu Feb 17 11:06:13 2022 +0100
     4.2 +++ b/esound/receipt	Thu Feb 17 12:02:46 2022 +0000
     4.3 @@ -15,6 +15,15 @@
     4.4  DEPENDS="audiofile alsa-lib"
     4.5  BUILD_DEPENDS="audiofile-dev alsa-lib-dev"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - ${WGET_URL%/*/*}/$( \
    4.11 +	wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
    4.12 +	sed '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||') 2>/dev/null | \
    4.13 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    4.14 +}
    4.15 +
    4.16  # Rules to configure and make the package.
    4.17  compile_rules()
    4.18  {
     5.1 --- a/ez-ipupdate/receipt	Thu Feb 17 11:06:13 2022 +0100
     5.2 +++ b/ez-ipupdate/receipt	Thu Feb 17 12:02:46 2022 +0000
     5.3 @@ -11,6 +11,14 @@
     5.4  WGET_URL="${WEB_SITE}dist/$TARBALL"
     5.5  TAGS="DNS"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://sourceforge.net/projects/ez-ipupdate/files/ez-ipupdate/ 2>/dev/null | \
    5.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
    5.12 +	sed '/scope="row/!d;s|.*/ez-ipupdate/||;s|/.*||;q'
    5.13 +}
    5.14 +
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
     6.1 --- a/fbgrab/receipt	Thu Feb 17 11:06:13 2022 +0100
     6.2 +++ b/fbgrab/receipt	Thu Feb 17 12:02:46 2022 +0000
     6.3 @@ -15,6 +15,13 @@
     6.4  BUILD_DEPENDS="libpng-dev zlib-dev"
     6.5  HOST_ARCH="i486 arm"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://github.com/GunnarMonell/fbgrab/releases 2>/dev/null | \
    6.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).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/icewm-xdgmenu/receipt	Thu Feb 17 11:06:13 2022 +0100
     7.2 +++ b/icewm-xdgmenu/receipt	Thu Feb 17 12:02:46 2022 +0000
     7.3 @@ -1,19 +1,26 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="icewm-xdgmenu"
     7.7 -VERSION="0.7.6"
     7.8 +VERSION="0.7.6-9"
     7.9  CATEGORY="x-window"
    7.10  SHORT_DESC="icewm App-Menu generator (pl/py-free version)"
    7.11  MAINTAINER="psychomaniak@xakep.ru"
    7.12  LICENSE="GPL2"
    7.13  WEB_SITE="https://web.archive.org/web/20150421203203/http://bkhome.org/blog/?viewDetailed=02680"
    7.14 -SOURCE="xdg_puppy-0.7.6-9.tar.bz2"
    7.15 -TARBALL=$SOURCE
    7.16 +SOURCE="xdg_puppy"
    7.17 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    7.18  WGET_URL="http://distro.ibiblio.org/puppylinux/sources/x/$TARBALL"
    7.19  
    7.20  DEPENDS="gnome-menus slitaz-menus icewm"
    7.21  BUILD_DEPENDS="gnome-menus gnome-menus-dev"
    7.22  
    7.23 +# What is the latest version available today?
    7.24 +current_version()
    7.25 +{
    7.26 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    7.27 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
    7.28 +}
    7.29 +
    7.30  # Rules to configure and make the package.
    7.31  compile_rules()
    7.32  {
     8.1 --- a/icinga/receipt	Thu Feb 17 11:06:13 2022 +0100
     8.2 +++ b/icinga/receipt	Thu Feb 17 12:02:46 2022 +0000
     8.3 @@ -13,6 +13,13 @@
     8.4  DEPENDS=""
     8.5  BUILD_DEPENDS=""
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://github.com/Icinga/icinga2/releases 2>/dev/null | \
    8.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/libarchive/receipt	Thu Feb 17 11:06:13 2022 +0100
     9.2 +++ b/libarchive/receipt	Thu Feb 17 12:02:46 2022 +0000
     9.3 @@ -15,6 +15,13 @@
     9.4  BUILD_DEPENDS="acl-dev attr-dev libcrypto-dev libxml2-dev lz4-dev \
     9.5  	openssl-dev zlib-dev"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://github.com/libarchive/libarchive/releases 2>/dev/null | \
    9.11 +	sed '/libarchive-[0-9]/!d;s|.*/[a-z-]*\(.*\).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/libee/receipt	Thu Feb 17 11:06:13 2022 +0100
    10.2 +++ b/libee/receipt	Thu Feb 17 12:02:46 2022 +0000
    10.3 @@ -6,13 +6,20 @@
    10.4  SHORT_DESC="An Event Expression Library inspired by CEE"
    10.5  MAINTAINER="erjo@slitaz.org"
    10.6  LICENSE="LGPL2.1"
    10.7 -WEB_SITE="https://web.archive.org/web/20181206220018/http://www.libee.org/"
    10.8 +WEB_SITE="http://www.libee.org/"
    10.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
   10.10  WGET_URL="http://www.libee.org/files/download/$TARBALL"
   10.11  
   10.12  DEPENDS="libestr"
   10.13  BUILD_DEPENDS="libestr-dev automake"
   10.14  
   10.15 +# What is the latest version available today?
   10.16 +current_version()
   10.17 +{
   10.18 +	wget -O - http://www.libee.org/download/ 2>/dev/null | \
   10.19 +	sed '/Download file/!d;s|.*libee ||;s|<.*||' | sort -Vr | sed q
   10.20 +}
   10.21 +
   10.22  # Rules to configure and make the package.
   10.23  compile_rules()
   10.24  {
    11.1 --- a/lionwiki/receipt	Thu Feb 17 11:06:13 2022 +0100
    11.2 +++ b/lionwiki/receipt	Thu Feb 17 12:02:46 2022 +0000
    11.3 @@ -7,13 +7,20 @@
    11.4  MAINTAINER="pascal.bellard@slitaz.org"
    11.5  LICENSE="GPL2"
    11.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    11.7 -WEB_SITE="https://web.archive.org/web/20180705201748/http://lionwiki.0o.cz/index.php?page=Main+page"
    11.8 +WEB_SITE="http://lionwiki.0o.cz/index.php?page=Main+page"
    11.9  WGET_URL="$WEB_SITE/download/$VERSION/$TARBALL"
   11.10  CONFIG_FILES="/var/www/lionwikiss/config.php"
   11.11  HOST_ARCH="any"
   11.12  
   11.13  DEPENDS="lighttpd php"
   11.14  
   11.15 +# What is the latest version available today?
   11.16 +current_version()
   11.17 +{
   11.18 +	wget -O - $WEB_SITE 2>/dev/null | \
   11.19 +	sed 's|</li>|&\n|g' | sed '/was released/!d;s|.*LionWiki ||;s| .*||;q'
   11.20 +}
   11.21 +
   11.22  # Rules to configure and make the package.
   11.23  compile_rules()
   11.24  {
    12.1 --- a/monkey/receipt	Thu Feb 17 11:06:13 2022 +0100
    12.2 +++ b/monkey/receipt	Thu Feb 17 12:02:46 2022 +0000
    12.3 @@ -7,12 +7,19 @@
    12.4  MAINTAINER="necrophcodr@necrophcodr.me"
    12.5  LICENSE="APL2"
    12.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
    12.7 -WEB_SITE="https://web.archive.org/web/20200229054452/http://monkey-project.com/"
    12.8 +WEB_SITE="http://monkey-project.com/"
    12.9  WGET_URL="$WEB_SITE/releases/${VERSION%.*}/$TARBALL"
   12.10  
   12.11  DEPENDS=""
   12.12  BUILD_DEPENDS="findutils"
   12.13  
   12.14 +# What is the latest version available today?
   12.15 +current_version()
   12.16 +{
   12.17 +	wget -O - http://monkey-project.com/downloads/ 2>/dev/null | \
   12.18 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   12.19 +}
   12.20 +
   12.21  # Rules to configure and make the package.
   12.22  compile_rules()
   12.23  {
    13.1 --- a/net-tools/receipt	Thu Feb 17 11:06:13 2022 +0100
    13.2 +++ b/net-tools/receipt	Thu Feb 17 12:02:46 2022 +0000
    13.3 @@ -10,6 +10,13 @@
    13.4  WEB_SITE="https://web.archive.org/web/20130512153334if_/http://www.tazenda.demon.co.uk/phil/net-tools"
    13.5  WGET_URL="$WEB_SITE/$TARBALL"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://sourceforge.net/projects/net-tools/files/ 2>/dev/null | \
   13.11 +	sed '/scope="row/!d;/net-tools-/!d;s|.*/net-tools-||;s|.tar.*||;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/obex-data-server/receipt	Thu Feb 17 11:06:13 2022 +0100
    14.2 +++ b/obex-data-server/receipt	Thu Feb 17 12:02:46 2022 +0000
    14.3 @@ -6,7 +6,7 @@
    14.4  SHORT_DESC="D-Bus service providing high-level OBEX functionality."
    14.5  MAINTAINER="pascal.bellard@slitaz.org"
    14.6  LICENSE="GPL2"
    14.7 -WEB_SITE="https://web.archive.org/web/20181010135741/http://wiki.muiline.com/obex-data-server"
    14.8 +WEB_SITE="http://wiki.muiline.com/obex-data-server"
    14.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
   14.10  WGET_URL="$WEB_SITE/software/$TARBALL"
   14.11  TAGS="bluetooth"
   14.12 @@ -14,6 +14,13 @@
   14.13  DEPENDS="libusb dbus-glib bluez"
   14.14  BUILD_DEPENDS="libusb-dev dbus-glib-dev bluez-dev openobex-dev"
   14.15  
   14.16 +# What is the latest version available today?
   14.17 +current_version()
   14.18 +{
   14.19 +	wget -O - $WEB_SITE 2>/dev/null | \
   14.20 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   14.21 +}
   14.22 +
   14.23  # Rules to configure and make the package.
   14.24  compile_rules()
   14.25  {
    15.1 --- a/rsh/receipt	Thu Feb 17 11:06:13 2022 +0100
    15.2 +++ b/rsh/receipt	Thu Feb 17 12:02:46 2022 +0000
    15.3 @@ -14,6 +14,13 @@
    15.4  DEPENDS=""
    15.5  BUILD_DEPENDS="ncurses-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/sgmixer/receipt	Thu Feb 17 11:06:13 2022 +0100
    16.2 +++ b/sgmixer/receipt	Thu Feb 17 12:02:46 2022 +0000
    16.3 @@ -16,6 +16,13 @@
    16.4  DEPENDS="gtk+"
    16.5  BUILD_DEPENDS="gtk+-dev pkg-config"
    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 | sed 's|<LI>|\n&|g' | \
   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/sharedance/receipt	Thu Feb 17 11:06:13 2022 +0100
    17.2 +++ b/sharedance/receipt	Thu Feb 17 12:02:46 2022 +0000
    17.3 @@ -13,6 +13,13 @@
    17.4  DEPENDS="libevent"
    17.5  BUILD_DEPENDS="libevent-dev"
    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/spandsp/receipt	Thu Feb 17 11:06:13 2022 +0100
    18.2 +++ b/spandsp/receipt	Thu Feb 17 12:02:46 2022 +0000
    18.3 @@ -7,12 +7,19 @@
    18.4  MAINTAINER="pascal.bellard@slitaz.org"
    18.5  LICENSE="LGPL2.1"
    18.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
    18.7 -WEB_SITE="https://web.archive.org/web/20190804211734/https://www.soft-switch.org/"
    18.8 +WEB_SITE="https://www.soft-switch.org/"
    18.9  WGET_URL="${WEB_SITE}downloads/$PACKAGE/$TARBALL"
   18.10  
   18.11  DEPENDS="tiff zlib jpeg"
   18.12  BUILD_DEPENDS="tiff-dev zlib-dev jpeg-dev"
   18.13  
   18.14 +# What is the latest version available today?
   18.15 +current_version()
   18.16 +{
   18.17 +	wget -O - https://www.soft-switch.org/downloads/spandsp/ 2>/dev/null | \
   18.18 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   18.19 +}
   18.20 +
   18.21  # Rules to configure and make the package.
   18.22  compile_rules()
   18.23  {
    19.1 --- a/squidguard/receipt	Thu Feb 17 11:06:13 2022 +0100
    19.2 +++ b/squidguard/receipt	Thu Feb 17 12:02:46 2022 +0000
    19.3 @@ -8,11 +8,18 @@
    19.4  LICENSE="GPL"
    19.5  SOURCE="squidGuard"
    19.6  TARBALL="$SOURCE-$VERSION.tar.gz"
    19.7 -WEB_SITE="https://web.archive.org/web/20190123164915/http://www.squidguard.org/"
    19.8 +WEB_SITE="http://www.squidguard.org/"
    19.9  WGET_URL="${WEB_SITE}Downloads/$TARBALL"
   19.10  DEPENDS="squid libdb"
   19.11  BUILD_DEPENDS="db-dev"
   19.12  
   19.13 +# What is the latest version available today?
   19.14 +current_version()
   19.15 +{
   19.16 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   19.17 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   19.18 +}
   19.19 +
   19.20  # Rules to configure and make the package.
   19.21  compile_rules()
   19.22  {
    20.1 --- a/warmux/receipt	Thu Feb 17 11:06:13 2022 +0100
    20.2 +++ b/warmux/receipt	Thu Feb 17 12:02:46 2022 +0000
    20.3 @@ -6,7 +6,7 @@
    20.4  SHORT_DESC="Warmux game"
    20.5  MAINTAINER="slaxemulator@gmail.com"
    20.6  LICENSE="GPL2"
    20.7 -WEB_SITE="https://www.wormux.org/"
    20.8 +WEB_SITE="https://www.warmux.org/"
    20.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   20.10  WGET_URL="http://download.gna.org/warmux/$TARBALL"
   20.11  PROVIDE="wormux"
   20.12 @@ -18,6 +18,13 @@
   20.13  libsdl-net-dev libsdl-ttf-dev curl-dev freetype-dev libxml2-dev libxml++-dev \
   20.14  pkg-config"
   20.15  
   20.16 +# What is the latest version available today?
   20.17 +current_version()
   20.18 +{
   20.19 +	wget -O - $WEB_SITE 2>/dev/null | \
   20.20 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   20.21 +}
   20.22 +
   20.23  # Rules to configure and make the package.
   20.24  compile_rules()
   20.25  {
    21.1 --- a/web-google-services/receipt	Thu Feb 17 11:06:13 2022 +0100
    21.2 +++ b/web-google-services/receipt	Thu Feb 17 12:02:46 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  
    21.5  BUILD_DEPENDS="wget"
    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/web-picozu/receipt	Thu Feb 17 11:06:13 2022 +0100
    22.2 +++ b/web-picozu/receipt	Thu Feb 17 12:02:46 2022 +0000
    22.3 @@ -16,6 +16,13 @@
    22.4  DEPENDS="tazweb"
    22.5  BUILD_DEPENDS="wget"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   22.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/web-skype/receipt	Thu Feb 17 11:06:13 2022 +0100
    23.2 +++ b/web-skype/receipt	Thu Feb 17 12:02:46 2022 +0000
    23.3 @@ -15,6 +15,13 @@
    23.4  DEPENDS="firefox-official"
    23.5  BUILD_DEPENDS="wget"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - ${WGET_URL%/*}/ 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/web-telegram/receipt	Thu Feb 17 11:06:13 2022 +0100
    24.2 +++ b/web-telegram/receipt	Thu Feb 17 12:02:46 2022 +0000
    24.3 @@ -14,6 +14,13 @@
    24.4  
    24.5  BUILD_DEPENDS="wget"
    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/web-whatsapp/receipt	Thu Feb 17 11:06:13 2022 +0100
    25.2 +++ b/web-whatsapp/receipt	Thu Feb 17 12:02:46 2022 +0000
    25.3 @@ -15,6 +15,13 @@
    25.4  DEPENDS="firefox-official"
    25.5  BUILD_DEPENDS="wget"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - ${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/webalizer/receipt	Thu Feb 17 11:06:13 2022 +0100
    26.2 +++ b/webalizer/receipt	Thu Feb 17 12:02:46 2022 +0000
    26.3 @@ -15,6 +15,12 @@
    26.4  DEPENDS="apache db libgd zlib"
    26.5  BUILD_DEPENDS="db-dev libgd-dev zlib-dev"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   26.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|-src.*||;s|-|.|;q"
   26.12 +}
   26.13  
   26.14  # Rules to configure and make the package.
   26.15  compile_rules()
    27.1 --- a/wine-rt/receipt	Thu Feb 17 11:06:13 2022 +0100
    27.2 +++ b/wine-rt/receipt	Thu Feb 17 12:02:46 2022 +0000
    27.3 @@ -18,6 +18,13 @@
    27.4  BUILD_DEPENDS="alsa-lib-dev bison flex freetype-dev jpeg-dev lcms-dev libglu-mesa-dev 
    27.5  	libpng-dev libtool libxml2-dev libxslt-dev mesa-dev prelink tiff-dev"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   27.11 +	sed '/announce/!d;s|.*;||;s|<.*||;q'
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/wine/receipt	Thu Feb 17 11:06:13 2022 +0100
    28.2 +++ b/wine/receipt	Thu Feb 17 12:02:46 2022 +0000
    28.3 @@ -18,6 +18,13 @@
    28.4  	libpng-dev libtool libv4l-dev libxml2-dev libxslt-dev 
    28.5  	mesa-dev prelink"
    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 '/announce/!d;s|.*;||;s|<.*||;q'
   28.12 +}
   28.13 +
   28.14  # Rules to configure and make the package.
   28.15  compile_rules()
   28.16  {
    29.1 --- a/wireshark/receipt	Thu Feb 17 11:06:13 2022 +0100
    29.2 +++ b/wireshark/receipt	Thu Feb 17 12:02:46 2022 +0000
    29.3 @@ -16,6 +16,13 @@
    29.4  BUILD_DEPENDS="gnutls-dev libgpg-error-dev libcap-dev libpcap-dev gtk+-dev \
    29.5  libgcrypt-dev flex libtasn1-dev bison perl wget libgnutls"
    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/wiringpi-pibrella/receipt	Thu Feb 17 11:06:13 2022 +0100
    30.2 +++ b/wiringpi-pibrella/receipt	Thu Feb 17 12:02:46 2022 +0000
    30.3 @@ -16,6 +16,13 @@
    30.4  DEPENDS="wiringpi"
    30.5  # wiringpi + wiringpi-dev must be installed in sysroot
    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 '/updated/!d;s|.* to ||;s|[ <].*||;q'
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/wiringpi/receipt	Thu Feb 17 11:06:13 2022 +0100
    31.2 +++ b/wiringpi/receipt	Thu Feb 17 12:02:46 2022 +0000
    31.3 @@ -15,6 +15,13 @@
    31.4  
    31.5  RELATED="wiringpi-dev wiringpi-piglow wiringpi-piface"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   31.11 +	sed '/updated/!d;s|.* to ||;s|[ <].*||;q'
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/wv/receipt	Thu Feb 17 11:06:13 2022 +0100
    32.2 +++ b/wv/receipt	Thu Feb 17 12:02:46 2022 +0000
    32.3 @@ -13,6 +13,13 @@
    32.4  DEPENDS="glib libgsf libpng libxml2 zlib"
    32.5  BUILD_DEPENDS="libgsf libgsf-dev glib-dev libxml2-dev libpng-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 '/\[DIR/!d;/arent/d;s|.*ref="||;s|/.*||' | 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/x264/receipt	Thu Feb 17 11:06:13 2022 +0100
    33.2 +++ b/x264/receipt	Thu Feb 17 12:02:46 2022 +0000
    33.3 @@ -17,6 +17,13 @@
    33.4  
    33.5  #HOST_ARCH="i486 arm"
    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;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[st].*||" | 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/x265/receipt	Thu Feb 17 11:06:13 2022 +0100
    34.2 +++ b/x265/receipt	Thu Feb 17 12:02:46 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 - ${WGET_URL%/*}/ 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  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/xalan-c/receipt	Thu Feb 17 11:06:13 2022 +0100
    35.2 +++ b/xalan-c/receipt	Thu Feb 17 12:02:46 2022 +0000
    35.3 @@ -14,6 +14,13 @@
    35.4  DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl xerces-c"
    35.5  BUILD_DEPENDS="xerces-c-dev"
    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;/xalan_c-[0-9]/!d;/tar/!d;s|.*xalan_c-\\(.*\\).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/xalan-xerces-j/receipt	Thu Feb 17 11:06:13 2022 +0100
    36.2 +++ b/xalan-xerces-j/receipt	Thu Feb 17 12:02:46 2022 +0000
    36.3 @@ -15,6 +15,13 @@
    36.4  SUGGESTED="java-jre"
    36.5  BUILD_DEPENDS="tar"
    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;/${SOURCE}_[0-9]/!d;/tar/!d;s|.*${SOURCE}_\\(.*\\).bin.*|\\1|;s|_|.|g" | 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/xcb-proto/receipt	Thu Feb 17 11:06:13 2022 +0100
    37.2 +++ b/xcb-proto/receipt	Thu Feb 17 12:02:46 2022 +0000
    37.3 @@ -22,6 +22,13 @@
    37.4  
    37.5  # @maintainer: Please update also: libxcb and libxcb-dev
    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/xcb-util-image/receipt	Thu Feb 17 11:06:13 2022 +0100
    38.2 +++ b/xcb-util-image/receipt	Thu Feb 17 12:02:46 2022 +0000
    38.3 @@ -14,6 +14,13 @@
    38.4  DEPENDS="libxcb xcb-util"
    38.5  BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-util-macros"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - ${WGET_URL%/*}/ 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/xcb-util-keysyms/receipt	Thu Feb 17 11:06:13 2022 +0100
    39.2 +++ b/xcb-util-keysyms/receipt	Thu Feb 17 12:02:46 2022 +0000
    39.3 @@ -16,6 +16,13 @@
    39.4  
    39.5  HOST_ARCH="i486 arm"
    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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\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/xcb-util-wm/receipt	Thu Feb 17 11:06:13 2022 +0100
    40.2 +++ b/xcb-util-wm/receipt	Thu Feb 17 12:02:46 2022 +0000
    40.3 @@ -16,6 +16,13 @@
    40.4  
    40.5  HOST_ARCH="i486 arm"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - ${WGET_URL%/*}/ 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/xchat-plugin/receipt	Thu Feb 17 11:06:13 2022 +0100
    41.2 +++ b/xchat-plugin/receipt	Thu Feb 17 12:02:46 2022 +0000
    41.3 @@ -15,6 +15,13 @@
    41.4  DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
    41.5  BUILD_DEPENDS="gtk+-dev dbus-dev openssl shared-mime-info"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   41.11 +	sed '/Source:/!d;s|.*rce: ||;s|<.*||'
   41.12 +}
   41.13 +
   41.14  # Rules to configure and make the package.
   41.15  compile_rules()
   41.16  {
    42.1 --- a/xchat/receipt	Thu Feb 17 11:06:13 2022 +0100
    42.2 +++ b/xchat/receipt	Thu Feb 17 12:02:46 2022 +0000
    42.3 @@ -13,6 +13,13 @@
    42.4  DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage"
    42.5  BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   42.11 +	sed '/Source:/!d;s|.*rce: ||;s|<.*||'
   42.12 +}
   42.13 +
   42.14  # Rules to configure and make the package.
   42.15  compile_rules()
   42.16  {
    43.1 --- a/xdg-user-dirs/receipt	Thu Feb 17 11:06:13 2022 +0100
    43.2 +++ b/xdg-user-dirs/receipt	Thu Feb 17 12:02:46 2022 +0000
    43.3 @@ -14,6 +14,13 @@
    43.4  DEPENDS=""
    43.5  BUILD_DEPENDS="libtool gawk"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/xdg-utils/receipt	Thu Feb 17 11:06:13 2022 +0100
    44.2 +++ b/xdg-utils/receipt	Thu Feb 17 12:02:46 2022 +0000
    44.3 @@ -14,6 +14,13 @@
    44.4  
    44.5  BUILD_DEPENDS="docbook-xsl lynx util-linux-getopt xmlto"
    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/xdigger/receipt	Thu Feb 17 11:06:13 2022 +0100
    45.2 +++ b/xdigger/receipt	Thu Feb 17 12:02:46 2022 +0000
    45.3 @@ -13,6 +13,13 @@
    45.4  DEPENDS="xorg"
    45.5  BUILD_DEPENDS="xorg-imake xorg-dev"
    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;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\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/xerces-c/receipt	Thu Feb 17 11:06:13 2022 +0100
    46.2 +++ b/xerces-c/receipt	Thu Feb 17 12:02:46 2022 +0000
    46.3 @@ -13,6 +13,13 @@
    46.4  
    46.5  DEPENDS="gcc-lib-base glibc-base icu libcrypto libcurl"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   46.11 +	sed '/available/!d;s|.*sion ||;s| is .*||;q'
   46.12 +}
   46.13 +
   46.14  # Rules to configure and make the package.
   46.15  compile_rules()
   46.16  {
    47.1 --- a/xfmedia/receipt	Thu Feb 17 11:06:13 2022 +0100
    47.2 +++ b/xfmedia/receipt	Thu Feb 17 12:02:46 2022 +0000
    47.3 @@ -14,6 +14,13 @@
    47.4  BUILD_DEPENDS="libexo-dev util-linux-uuid-dev xine-lib-dev intltool libxfcegui4-dev \
    47.5   startup-notification-dev libxcb-dev xcb-util-dev"
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - $WEB_SITE 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/xlockmore/receipt	Thu Feb 17 11:06:13 2022 +0100
    48.2 +++ b/xlockmore/receipt	Thu Feb 17 12:02:46 2022 +0000
    48.3 @@ -14,6 +14,13 @@
    48.4  BUILD_DEPENDS="xorg-libXdmcp-dev xorg-libXpm-dev xorg-libX11-dev \
    48.5  xorg-libXt-dev openmotif-dev"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   48.12 +}
   48.13 +
   48.14  # Rules to configure and make the package.
   48.15  compile_rules()
   48.16  {
    49.1 --- a/xmgrace/receipt	Thu Feb 17 11:06:13 2022 +0100
    49.2 +++ b/xmgrace/receipt	Thu Feb 17 12:02:46 2022 +0000
    49.3 @@ -14,6 +14,13 @@
    49.4  DEPENDS="libjpeg libpng fftw lesstif"
    49.5  BUILD_DEPENDS="jpeg-dev libpng-dev fftw-dev lesstif-dev xorg-printproto bison"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://plasma-gate.weizmann.ac.il/pub/grace/src/stable/ 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  compile_rules()
   49.15  {
   49.16  	sed -i 's|/man/|/share&|' doc/Makefile*
    50.1 --- a/xneur/receipt	Thu Feb 17 11:06:13 2022 +0100
    50.2 +++ b/xneur/receipt	Thu Feb 17 12:02:46 2022 +0000
    50.3 @@ -18,6 +18,13 @@
    50.4  
    50.5  CONFIG_FILES="/etc/xneur/xneurrc"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - https://xneur.ru/downloads/ 2>/dev/null | \
   50.11 +	sed "/latest/d;/XNeur-[0-9]/!d;/tar/!d;s|.*XNeur-\\(.*\\).orig.*|\\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/xpat2/receipt	Thu Feb 17 11:06:13 2022 +0100
    51.2 +++ b/xpat2/receipt	Thu Feb 17 12:02:46 2022 +0000
    51.3 @@ -12,6 +12,13 @@
    51.4  
    51.5  DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
    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-\\(.*\\)-src.*|\\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/xrestop/receipt	Thu Feb 17 11:06:13 2022 +0100
    52.2 +++ b/xrestop/receipt	Thu Feb 17 12:02:46 2022 +0000
    52.3 @@ -13,6 +13,13 @@
    52.4  DEPENDS="ncurses xorg-libXres libtinfo"
    52.5  BUILD_DEPENDS="ncurses-dev xorg-libXres-dev"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - $WEB_SITE 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  {