wok rev 24419

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 11 11:14:46 2022 +0000 (2022-02-11)
parents 634c175862b7
children 98bfdd54cb00
files chrpath/receipt debootstrap/receipt dpkg/receipt econnman/receipt efl/receipt electric-fence/receipt fakeroot/receipt firefox-official-de/receipt firefox-official-en-GB/receipt firefox-official-es/receipt firefox-official-fr/receipt firefox-official-it/receipt firefox-official-pt-BR/receipt firefox-official-ru/receipt firefox-official-uk/receipt firefox-official/receipt giac/receipt gksu/receipt gnome-alsamixer/receipt gtk-theme-switch/receipt hfsprogs/receipt ipkungfu/receipt iso-codes/receipt kazehakase/receipt libgksu/receipt libpaper/receipt minicom/receipt mmv/receipt mupdf/receipt perl-cairo-gobject/receipt perl-glib-object-introspection/receipt perl-gtk3/receipt pmount/receipt ratmenu/receipt realvnc-viewer/receipt rsh-redone/receipt ssmtp/receipt tango-icon-theme/receipt tuxmath/receipt unclutter/receipt
line diff
     1.1 --- a/chrpath/receipt	Fri Feb 11 09:25:31 2022 +0100
     1.2 +++ b/chrpath/receipt	Fri Feb 11 11:14:46 2022 +0000
     1.3 @@ -11,6 +11,13 @@
     1.4  TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
     1.5  WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL"
     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}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/debootstrap/receipt	Fri Feb 11 09:25:31 2022 +0100
     2.2 +++ b/debootstrap/receipt	Fri Feb 11 11:14:46 2022 +0000
     2.3 @@ -8,13 +8,20 @@
     2.4  LICENSE="MIT"
     2.5  WEB_SITE="https://wiki.debian.org/Debootstrap"
     2.6  
     2.7 -TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.8 -WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
     2.9 +#TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.10 +#WGET_URL="http://people.slitaz.org/~shann/packages/$PACKAGE/$TARBALL"
    2.11  TARBALL="${PACKAGE}_$VERSION.tar.gz"
    2.12  WGET_URL="http://deb.debian.org/debian/pool/main/d/$PACKAGE/$TARBALL"
    2.13  
    2.14  DEPENDS="dpkg tar"
    2.15  
    2.16 +# What is the latest version available today?
    2.17 +current_version()
    2.18 +{
    2.19 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    2.20 +	sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.21 +}
    2.22 +
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
     3.1 --- a/dpkg/receipt	Fri Feb 11 09:25:31 2022 +0100
     3.2 +++ b/dpkg/receipt	Fri Feb 11 11:14:46 2022 +0000
     3.3 @@ -20,6 +20,14 @@
     3.4  /etc/alternatives/README
     3.5  /etc/dpkg/dpkg.cfg"
     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}_/!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  {
    3.17  	./configure &&
     4.1 --- a/econnman/receipt	Fri Feb 11 09:25:31 2022 +0100
     4.2 +++ b/econnman/receipt	Fri Feb 11 11:14:46 2022 +0000
     4.3 @@ -15,6 +15,13 @@
     4.4  DEPENDS="connman python-ecore python-edbus python-edje python-elementary"
     4.5  BUILD_DEPENDS="autoconf automake libtool python-edbus-dev python-elementary-dev"
     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-/!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/efl/receipt	Fri Feb 11 09:25:31 2022 +0100
     5.2 +++ b/efl/receipt	Fri Feb 11 11:14:46 2022 +0000
     5.3 @@ -23,6 +23,13 @@
     5.4  mesa-dev util-linux-uuid-dev libxml2-dev flac-dev
     5.5  autoconf automake"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    5.11 +	sed "/latest/d;/$PACKAGE-/!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/electric-fence/receipt	Fri Feb 11 09:25:31 2022 +0100
     6.2 +++ b/electric-fence/receipt	Fri Feb 11 11:14:46 2022 +0000
     6.3 @@ -14,6 +14,13 @@
     6.4  
     6.5  DEPENDS="gdb"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    6.11 +	sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/fakeroot/receipt	Fri Feb 11 09:25:31 2022 +0100
     7.2 +++ b/fakeroot/receipt	Fri Feb 11 11:14:46 2022 +0000
     7.3 @@ -13,6 +13,13 @@
     7.4  
     7.5  BUILD_DEPENDS="libcap-dev"
     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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/firefox-official-de/receipt	Fri Feb 11 09:25:31 2022 +0100
     8.2 +++ b/firefox-official-de/receipt	Fri Feb 11 11:14:46 2022 +0000
     8.3 @@ -17,6 +17,13 @@
     8.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
     8.5  HOST_ARCH="i486"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
    8.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/firefox-official-en-GB/receipt	Fri Feb 11 09:25:31 2022 +0100
     9.2 +++ b/firefox-official-en-GB/receipt	Fri Feb 11 11:14:46 2022 +0000
     9.3 @@ -17,6 +17,13 @@
     9.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
     9.5  HOST_ARCH="i486"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
    9.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/firefox-official-es/receipt	Fri Feb 11 09:25:31 2022 +0100
    10.2 +++ b/firefox-official-es/receipt	Fri Feb 11 11:14:46 2022 +0000
    10.3 @@ -17,6 +17,13 @@
    10.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    10.5  HOST_ARCH="i486"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   10.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/firefox-official-fr/receipt	Fri Feb 11 09:25:31 2022 +0100
    11.2 +++ b/firefox-official-fr/receipt	Fri Feb 11 11:14:46 2022 +0000
    11.3 @@ -17,6 +17,13 @@
    11.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    11.5  HOST_ARCH="i486"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   11.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/firefox-official-it/receipt	Fri Feb 11 09:25:31 2022 +0100
    12.2 +++ b/firefox-official-it/receipt	Fri Feb 11 11:14:46 2022 +0000
    12.3 @@ -17,6 +17,13 @@
    12.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    12.5  HOST_ARCH="i486"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   12.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/firefox-official-pt-BR/receipt	Fri Feb 11 09:25:31 2022 +0100
    13.2 +++ b/firefox-official-pt-BR/receipt	Fri Feb 11 11:14:46 2022 +0000
    13.3 @@ -17,6 +17,13 @@
    13.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    13.5  HOST_ARCH="i486"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   13.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/firefox-official-ru/receipt	Fri Feb 11 09:25:31 2022 +0100
    14.2 +++ b/firefox-official-ru/receipt	Fri Feb 11 11:14:46 2022 +0000
    14.3 @@ -17,6 +17,13 @@
    14.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    14.5  HOST_ARCH="i486"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   14.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/firefox-official-uk/receipt	Fri Feb 11 09:25:31 2022 +0100
    15.2 +++ b/firefox-official-uk/receipt	Fri Feb 11 11:14:46 2022 +0000
    15.3 @@ -17,6 +17,13 @@
    15.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    15.5  HOST_ARCH="i486"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   15.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/firefox-official/receipt	Fri Feb 11 09:25:31 2022 +0100
    16.2 +++ b/firefox-official/receipt	Fri Feb 11 11:14:46 2022 +0000
    16.3 @@ -16,6 +16,13 @@
    16.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc"
    16.5  HOST_ARCH="i486"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
   16.11 +	sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | 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/giac/receipt	Fri Feb 11 09:25:31 2022 +0100
    17.2 +++ b/giac/receipt	Fri Feb 11 11:14:46 2022 +0000
    17.3 @@ -17,6 +17,13 @@
    17.4  	libtool libxml2-dev mesa-dev mpfr-dev ntl pari-dev readline-dev 
    17.5  	xorg-libX11-dev xorg-libXinerama-dev" # lapack
    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}_/!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/gksu/receipt	Fri Feb 11 09:25:31 2022 +0100
    18.2 +++ b/gksu/receipt	Fri Feb 11 11:14:46 2022 +0000
    18.3 @@ -19,6 +19,13 @@
    18.4  pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
    18.5  xorg-libXext xorg-libXrender zlib"
    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-2]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   18.12 +}
   18.13 +
   18.14  compile_rules() {
   18.15  	patch -p1 -i $stuff/gksu.patch
   18.16  
    19.1 --- a/gnome-alsamixer/receipt	Fri Feb 11 09:25:31 2022 +0100
    19.2 +++ b/gnome-alsamixer/receipt	Fri Feb 11 11:14:46 2022 +0000
    19.3 @@ -16,6 +16,13 @@
    19.4  BUILD_DEPENDS="automake autoconf glib dbus-dev libgnomeui-dev libgnome-dev \
    19.5  GConf-dev alsa-lib-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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/gtk-theme-switch/receipt	Fri Feb 11 09:25:31 2022 +0100
    20.2 +++ b/gtk-theme-switch/receipt	Fri Feb 11 11:14:46 2022 +0000
    20.3 @@ -13,6 +13,13 @@
    20.4  BUILD_DEPENDS="gtk+-dev"
    20.5  DEPENDS="gtk+"
    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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/hfsprogs/receipt	Fri Feb 11 09:25:31 2022 +0100
    21.2 +++ b/hfsprogs/receipt	Fri Feb 11 11:14:46 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  DEPENDS="libbsd libcrypto"
    21.5  BUILD_DEPENDS="libbsd-dev openssl-dev"
    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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/ipkungfu/receipt	Fri Feb 11 09:25:31 2022 +0100
    22.2 +++ b/ipkungfu/receipt	Fri Feb 11 11:14:46 2022 +0000
    22.3 @@ -13,6 +13,13 @@
    22.4  DEPENDS="iptables bash"
    22.5  BUILD_DEPENDS="iptables"
    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;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/iso-codes/receipt	Fri Feb 11 09:25:31 2022 +0100
    23.2 +++ b/iso-codes/receipt	Fri Feb 11 11:14:46 2022 +0000
    23.3 @@ -14,6 +14,13 @@
    23.4  DEPENDS=""
    23.5  BUILD_DEPENDS="gettext py3k"
    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-/!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/kazehakase/receipt	Fri Feb 11 09:25:31 2022 +0100
    24.2 +++ b/kazehakase/receipt	Fri Feb 11 11:14:46 2022 +0000
    24.3 @@ -17,6 +17,13 @@
    24.4  gtk+-dev dbus-glib-dev libwebkit-dev gnutls-dev xorg-libSM-dev zlib-dev \
    24.5  util-linux-uuid-dev libxslt-dev"
    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-/!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/libgksu/receipt	Fri Feb 11 09:25:31 2022 +0100
    25.2 +++ b/libgksu/receipt	Fri Feb 11 11:14:46 2022 +0000
    25.3 @@ -20,6 +20,13 @@
    25.4  pango pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
    25.5  xorg-libXext xorg-libXrender zlib"
    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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   25.12 +}
   25.13 +
   25.14  compile_rules() {
   25.15  	patch -p1 -i $stuff/libgksu.patch
   25.16  
    26.1 --- a/libpaper/receipt	Fri Feb 11 09:25:31 2022 +0100
    26.2 +++ b/libpaper/receipt	Fri Feb 11 11:14:46 2022 +0000
    26.3 @@ -15,6 +15,13 @@
    26.4  
    26.5  HOST_ARCH="i486 arm"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   26.11 +	sed "/latest/d;/${PACKAGE}_/!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/minicom/receipt	Fri Feb 11 09:25:31 2022 +0100
    27.2 +++ b/minicom/receipt	Fri Feb 11 11:14:46 2022 +0000
    27.3 @@ -15,6 +15,13 @@
    27.4  BUILD_DEPENDS="automake ncurses-dev"
    27.5  CONFIG_FILES="/etc/minirc.dfl"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
   27.11 +	sed '/tar.gz/!d;s|.*/minicom-\(.*\).tar.gz".*|\1|;q'
   27.12 +}
   27.13 +
   27.14  # Rules to configure and make the package.
   27.15  compile_rules()
   27.16  {
    28.1 --- a/mmv/receipt	Fri Feb 11 09:25:31 2022 +0100
    28.2 +++ b/mmv/receipt	Fri Feb 11 11:14:46 2022 +0000
    28.3 @@ -14,6 +14,13 @@
    28.4  DEPENDS=""
    28.5  BUILD_DEPENDS=""
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   28.11 +	sed "/latest/d;/${PACKAGE}_/!d;/debian/!d;s|.*${PACKAGE}_\\(.*\\).debian.*\".*|\\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/mupdf/receipt	Fri Feb 11 09:25:31 2022 +0100
    29.2 +++ b/mupdf/receipt	Fri Feb 11 11:14:46 2022 +0000
    29.3 @@ -15,6 +15,13 @@
    29.4  BUILD_DEPENDS="freetype-dev fontconfig-dev jbig2dec-dev jpeg-dev \
    29.5  openjpeg-dev zlib-dev"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   29.11 +	sed "/source/!d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-source.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/perl-cairo-gobject/receipt	Fri Feb 11 09:25:31 2022 +0100
    30.2 +++ b/perl-cairo-gobject/receipt	Fri Feb 11 11:14:46 2022 +0000
    30.3 @@ -17,6 +17,13 @@
    30.4  BUILD_DEPENDS="cairo-dev perl libxml2-dev perl-cairo perl-extutils-depends
    30.5  	perl-extutils-pkgconfig perl-glib"
    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 '/airo-GObject-/!d;s|.*airo-GObject-||;s| -.*||;q'
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/perl-glib-object-introspection/receipt	Fri Feb 11 09:25:31 2022 +0100
    31.2 +++ b/perl-glib-object-introspection/receipt	Fri Feb 11 11:14:46 2022 +0000
    31.3 @@ -17,6 +17,13 @@
    31.4  BUILD_DEPENDS="glib-dev gobject-introspection-dev libxml2-dev perl
    31.5  	perl-extutils-depends perl-extutils-pkgconfig perl-glib"
    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 '/bject-Introspection-/!d;s|.*bject-Introspection-||;s| -.*||;q'
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/perl-gtk3/receipt	Fri Feb 11 09:25:31 2022 +0100
    32.2 +++ b/perl-gtk3/receipt	Fri Feb 11 11:14:46 2022 +0000
    32.3 @@ -19,6 +19,13 @@
    32.4  	perl-extutils-pkgconfig perl-glib perl-glib-object-introspection
    32.5  	perl-pango xorg-dev xorg-kbproto xorg-renderproto xorg-xproto"
    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 '/Gtk3-/!d;s|.*Gtk3-||;s| -.*||;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/pmount/receipt	Fri Feb 11 09:25:31 2022 +0100
    33.2 +++ b/pmount/receipt	Fri Feb 11 11:14:46 2022 +0000
    33.3 @@ -14,6 +14,13 @@
    33.4  DEPENDS="dbus hal sysfsutils"
    33.5  BUILD_DEPENDS="util-linux-blkid-dev intltool"
    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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.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/ratmenu/receipt	Fri Feb 11 09:25:31 2022 +0100
    34.2 +++ b/ratmenu/receipt	Fri Feb 11 11:14:46 2022 +0000
    34.3 @@ -13,6 +13,13 @@
    34.4  
    34.5  DEPENDS="xorg-libX11"
    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}_/!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/realvnc-viewer/receipt	Fri Feb 11 09:25:31 2022 +0100
    35.2 +++ b/realvnc-viewer/receipt	Fri Feb 11 11:14:46 2022 +0000
    35.3 @@ -17,6 +17,13 @@
    35.4  TAGS="remote-desktop vnc"
    35.5  HOST_ARCH="i486 arm"
    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;/vnc4_/!d;/orig/!d;s|.*vnc4_\\(.*\\).orig.*\".*|\\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/rsh-redone/receipt	Fri Feb 11 09:25:31 2022 +0100
    36.2 +++ b/rsh-redone/receipt	Fri Feb 11 11:14:46 2022 +0000
    36.3 @@ -13,6 +13,13 @@
    36.4  
    36.5  BUILD_DEPENDS="pam-dev"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   36.11 +	sed "/latest/d;/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/ssmtp/receipt	Fri Feb 11 09:25:31 2022 +0100
    37.2 +++ b/ssmtp/receipt	Fri Feb 11 11:14:46 2022 +0000
    37.3 @@ -14,6 +14,13 @@
    37.4  DEPENDS="openssl"
    37.5  BUILD_DEPENDS="openssl-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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/tango-icon-theme/receipt	Fri Feb 11 09:25:31 2022 +0100
    38.2 +++ b/tango-icon-theme/receipt	Fri Feb 11 11:14:46 2022 +0000
    38.3 @@ -16,6 +16,13 @@
    38.4  BUILD_DEPENDS="intltool gettext perl icon-naming-utils imagemagick-dev \
    38.5  librsvg-dev librsvg-apps"
    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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\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/tuxmath/receipt	Fri Feb 11 09:25:31 2022 +0100
    39.2 +++ b/tuxmath/receipt	Fri Feb 11 11:14:46 2022 +0000
    39.3 @@ -19,6 +19,14 @@
    39.4  	libsdl-mixer-dev libsdl-net-dev libsdl-pango-dev 
    39.5  	libsdl-ttf-dev libt4k_common-dev"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - $WEB_SITE$(wget -O - $WEB_SITE 2>/dev/null | \
   39.11 +	sed '/TuxMath-Source/!d;/Index/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
   39.12 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   39.13 +}
   39.14 +
   39.15  # Rules to configure and make the package.
   39.16  compile_rules()
   39.17  {
    40.1 --- a/unclutter/receipt	Fri Feb 11 09:25:31 2022 +0100
    40.2 +++ b/unclutter/receipt	Fri Feb 11 11:14:46 2022 +0000
    40.3 @@ -17,6 +17,13 @@
    40.4  DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
    40.5  BUILD_DEPENDS=""
    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}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {