wok rev 24453

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 15 18:29:48 2022 +0000 (2022-02-15)
parents 92d14c9730a8
children 5dd8f94d37a8
files a2ps/receipt airoscript-ng/receipt cryptkeeper/receipt csstidy/receipt ecryptfs-simple/receipt exo/receipt gnustep-back/receipt gvim/receipt httpie/receipt libdvdnav/receipt libquicktime/receipt libsdl2-dev/receipt magicpoint/receipt mana/receipt manaplus/receipt mapserver/receipt mariadb/receipt matchbox-common/receipt matchbox-desktop-2/receipt matchbox-desktop/receipt matchbox-panel-2/receipt matchbox-panel-manager/receipt matchbox-panel/receipt matchbox-themes-extra/receipt matchbox-window-manager/receipt mb-applet-volume/receipt mc/receipt mdocml/receipt mediainfo-gui/receipt mediainfo/receipt mediawiki/receipt memo/receipt mesa7/receipt mindi/receipt minised/receipt miro/receipt mixxx/receipt moc/receipt mondo/receipt mongodb/receipt mono/receipt mp/receipt mp3info/receipt mpc/receipt mplayer-cli/receipt mplayer-codecs/receipt mplayer/receipt mtr/receipt multipath-tools/receipt multitail/receipt mutt/receipt mypaint/receipt mytop/receipt ncdc/receipt ncdu/receipt ncftp/receipt ncmpc/receipt ncmpcpp/receipt ndisc6/receipt neon/receipt neonview/receipt net6/receipt netplug/receipt netsurf-sdl/receipt netsurf/receipt newt/receipt node/receipt notify-python/receipt npth/receipt nsd/receipt nss-ldapd/receipt ntp/receipt o3read/receipt obby/receipt ofono/receipt oldrunner/receipt openconnect/receipt openjpeg/receipt openscad/receipt openttd/receipt ori/receipt ossp-uuid/receipt oxygen-gtk/receipt pam/receipt pam_krb5/receipt pari/receipt pciutils/receipt pcsc-tools/receipt pinentry-gtk/receipt pinentry/receipt pkg-config/receipt plymouth/receipt pm-utils/receipt polkit-pam/receipt poppler-data/receipt portaudio/receipt postfix/receipt postgrey/receipt potamus/receipt prelink/receipt proftpd-tls/receipt proj/receipt ptxdist/receipt pulseaudio/receipt pure-ftpd-pam/receipt pure-ftpd/receipt pycrypto/receipt pydf/receipt python-babel/receipt python-pyprotocols/receipt python-pyyaml/receipt qimageblitz/receipt shellinabox/receipt sshpass/receipt sunxi-tools/receipt
line diff
     1.1 --- a/a2ps/receipt	Tue Feb 15 17:13:46 2022 +0100
     1.2 +++ b/a2ps/receipt	Tue Feb 15 18:29:48 2022 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.8 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.9  	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.10  }
    1.11  
     2.1 --- a/airoscript-ng/receipt	Tue Feb 15 17:13:46 2022 +0100
     2.2 +++ b/airoscript-ng/receipt	Tue Feb 15 18:29:48 2022 +0000
     2.3 @@ -15,8 +15,8 @@
     2.4  # What is the latest version available today?
     2.5  current_version()
     2.6  {
     2.7 -	wget -O - 'https://airoscript.aircrack-ng.org/?page=download' 2>/dev/null | \
     2.8 -	sed '/tar/!d;s|.*ng-||;s|.tar.*||;q'
     2.9 +	wget -O - https://www.aircrack-ng.org/ 2>/dev/null | \
    2.10 +	sed '/aircrack-ng/!d;/tar/!d;s|.*ng-||;s|.tar.*||;q'
    2.11  }
    2.12  
    2.13  # Rules to configure and make the package.
     3.1 --- a/cryptkeeper/receipt	Tue Feb 15 17:13:46 2022 +0100
     3.2 +++ b/cryptkeeper/receipt	Tue Feb 15 18:29:48 2022 +0000
     3.3 @@ -16,8 +16,8 @@
     3.4  # What is the latest version available today?
     3.5  current_version()
     3.6  {
     3.7 -	wget -O - $WEB_SITE/tags 2>/dev/null | \
     3.8 -	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
     3.9 +	wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    3.10 +	sed '/bump version to/!d;s|.* to ||;s|<.*||;q'
    3.11  }
    3.12  
    3.13  # Rules to configure and make the package.
     4.1 --- a/csstidy/receipt	Tue Feb 15 17:13:46 2022 +0100
     4.2 +++ b/csstidy/receipt	Tue Feb 15 18:29:48 2022 +0000
     4.3 @@ -16,8 +16,8 @@
     4.4  # What is the latest version available today?
     4.5  current_version()
     4.6  {
     4.7 -	wget -O - $WEB_SITE 2>/dev/null | \
     4.8 -	sed '/C++/!d;s|.*(PHP), ||;s| (C.*||;q'
     4.9 +	wget -O - https://github.com/Cerdic/CSSTidy/tags 2>/dev/null | \
    4.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    4.11  }
    4.12  
    4.13  # Rules to configure and make the package.
     5.1 --- a/ecryptfs-simple/receipt	Tue Feb 15 17:13:46 2022 +0100
     5.2 +++ b/ecryptfs-simple/receipt	Tue Feb 15 18:29:48 2022 +0000
     5.3 @@ -19,8 +19,8 @@
     5.4  # What is the latest version available today?
     5.5  current_version()
     5.6  {
     5.7 -	wget -O - https://github.com/mhogomchungu/ecryptfs-simple/tags 2>/dev/null | \
     5.8 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
     5.9 +	wget -O - https://aur.archlinux.org/packages/ecryptfs-simple 2>/dev/null | \
    5.10 +	sed '/ecryptfs-simple-/!d;s|.*simple-||;s|.tar.*||;q'
    5.11  }
    5.12  
    5.13  # Rules to configure and make the package.
     6.1 --- a/exo/receipt	Tue Feb 15 17:13:46 2022 +0100
     6.2 +++ b/exo/receipt	Tue Feb 15 18:29:48 2022 +0000
     6.3 @@ -19,7 +19,9 @@
     6.4  # What is the latest version available today?
     6.5  current_version()
     6.6  {
     6.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     6.8 +	wget -O - https://archive.xfce.org/src/xfce/exo/$( \
     6.9 +	wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \
    6.10 +	sed '/href="[0-4]/!d;s|.*">||;s|/<.*|/|' | sort -Vr | sed q) 2>/dev/null | \
    6.11  	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    6.12  }
    6.13  
     7.1 --- a/gnustep-back/receipt	Tue Feb 15 17:13:46 2022 +0100
     7.2 +++ b/gnustep-back/receipt	Tue Feb 15 18:29:48 2022 +0000
     7.3 @@ -16,7 +16,7 @@
     7.4  BUILD_DEPENDS="audiofile-dev aspell-dev cairo-dev freetype-dev giflib-dev 
     7.5  	gnustep-base-dev gnustep-gui-dev gnustep-make gnutls-dev 
     7.6  	libart_lgpl-dev libtasn1-dev util-linux-uuid-dev 
     7.7 -	xorg-libXmu-dev xorg-libXt-dev tar"
     7.8 +	xorg-libXmu-dev xorg-libXt-dev tar libbfd"
     7.9  
    7.10  # What is the latest version available today?
    7.11  current_version()
     8.1 --- a/gvim/receipt	Tue Feb 15 17:13:46 2022 +0100
     8.2 +++ b/gvim/receipt	Tue Feb 15 18:29:48 2022 +0000
     8.3 @@ -21,7 +21,7 @@
     8.4  # What is the latest version available today?
     8.5  current_version()
     8.6  {
     8.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     8.8 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     8.9  	sed '/vim-[0-9]/!d;/tar/!d;s|.*vim-||;s|.tar.*||' | sort -Vr | sed q
    8.10  }
    8.11  
     9.1 --- a/httpie/receipt	Tue Feb 15 17:13:46 2022 +0100
     9.2 +++ b/httpie/receipt	Tue Feb 15 18:29:48 2022 +0000
     9.3 @@ -16,7 +16,7 @@
     9.4  
     9.5  current_version()
     9.6  {
     9.7 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
     9.8 +	wget -O - https://github.com/httpie/httpie/tags 2>/dev/null | \
     9.9  	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    9.10  }
    9.11  
    10.1 --- a/libdvdnav/receipt	Tue Feb 15 17:13:46 2022 +0100
    10.2 +++ b/libdvdnav/receipt	Tue Feb 15 18:29:48 2022 +0000
    10.3 @@ -16,8 +16,8 @@
    10.4  # What is the latest version available today?
    10.5  current_version()
    10.6  {
    10.7 -	wget -O - $WEB_SITE 2>/dev/null | \
    10.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    10.9 +	wget -O - https://downloads.videolan.org/pub/videolan/$PACKAGE/last 2>/dev/null | \
   10.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
   10.11  }
   10.12  
   10.13  # Rules to configure and make the package.
    11.1 --- a/libquicktime/receipt	Tue Feb 15 17:13:46 2022 +0100
    11.2 +++ b/libquicktime/receipt	Tue Feb 15 18:29:48 2022 +0000
    11.3 @@ -15,9 +15,9 @@
    11.4  
    11.5  current_version()
    11.6  {
    11.7 -	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    11.8 +	wget -O - https://sourceforge.net/projects/libquicktime/files/libquicktime/ 2>/dev/null | \
    11.9  	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.10 -	sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|;q'
   11.11 +	sed '/libquicktime-/!d;/tar/!d;s|.*libquicktime-\(.*\).tar.*|\1|' | sort -Vr | sed q
   11.12  }
   11.13  
   11.14  # Rules to configure and make the package.
    12.1 --- a/libsdl2-dev/receipt	Tue Feb 15 17:13:46 2022 +0100
    12.2 +++ b/libsdl2-dev/receipt	Tue Feb 15 18:29:48 2022 +0000
    12.3 @@ -14,13 +14,6 @@
    12.4  DEPENDS="libsdl2 pkg-config"
    12.5  WANTED="libsdl2"
    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;/SDL-[0-9]/!d;/tar/!d;s|.*SDL-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   12.12 -}
   12.13 -
   12.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.15  genpkg_rules()
   12.16  {
    13.1 --- a/magicpoint/receipt	Tue Feb 15 17:13:46 2022 +0100
    13.2 +++ b/magicpoint/receipt	Tue Feb 15 18:29:48 2022 +0000
    13.3 @@ -19,6 +19,13 @@
    13.4  xorg-cf-files xorg-libX11-dev xorg-libXft-dev xorg-libXmu-dev \
    13.5  xorg-libXrender-dev xorg-xproto xorg-xextproto"
    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/mana/receipt	Tue Feb 15 17:13:46 2022 +0100
    14.2 +++ b/mana/receipt	Tue Feb 15 18:29:48 2022 +0000
    14.3 @@ -16,6 +16,13 @@
    14.4  DEPENDS="ttf-dejavu physfs libxml2 libsdl-mixer libsdl-image libsdl-net \
    14.5  libsdl-ttf curl zlib libpng guichan libsdl-gfx"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://manaplus.org/ 2>/dev/null | \
   14.11 +	sed '/Latest version/!d;s|.*version: ||;s|<.*||;q'
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/manaplus/receipt	Tue Feb 15 17:13:46 2022 +0100
    15.2 +++ b/manaplus/receipt	Tue Feb 15 18:29:48 2022 +0000
    15.3 @@ -17,6 +17,13 @@
    15.4  	libsdl-mixer-dev libsdl-net-dev libsdl-ttf-dev libxml2-dev \
    15.5  	physfs-dev zlib-dev"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   15.11 +	sed '/Latest version/!d;s|.*version: ||;s|<.*||;q'
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/mapserver/receipt	Tue Feb 15 17:13:46 2022 +0100
    16.2 +++ b/mapserver/receipt	Tue Feb 15 18:29:48 2022 +0000
    16.3 @@ -16,6 +16,13 @@
    16.4  	fribidi-dev gdal-dev geos-dev giflib-dev jpeg-dev libgd libgd-dev 
    16.5  	libpng-dev libxml2-dev postgresql-dev proj-dev"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   16.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/mariadb/receipt	Tue Feb 15 17:13:46 2022 +0100
    17.2 +++ b/mariadb/receipt	Tue Feb 15 18:29:48 2022 +0000
    17.3 @@ -21,6 +21,13 @@
    17.4  gcc-lib-base"
    17.5  BUILD_DEPENDS="cmake ncurses-dev bison openssl-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 M/!d;s|<a href|\n&|g' | sed '/rc/d;/rel=/!d;s|.*rel=||;s|\&.*||;q'
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/matchbox-common/receipt	Tue Feb 15 17:13:46 2022 +0100
    18.2 +++ b/matchbox-common/receipt	Tue Feb 15 18:29:48 2022 +0000
    18.3 @@ -13,6 +13,15 @@
    18.4  DEPENDS="gtk+ libmatchbox"
    18.5  BUILD_DEPENDS="gtk+-dev libmatchbox-dev"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/$( \
   18.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-common/ 2>/dev/null | \
   18.12 +	sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   18.13 +	sed '/href="matchbox-common-[0-9]/!d;s|.*="matchbox-common-||;s|.tar.*||' | sort -Vr | sed q
   18.14 +}
   18.15 +
   18.16  # Rules to configure and make the package.
   18.17  compile_rules()
   18.18  {
    19.1 --- a/matchbox-desktop-2/receipt	Tue Feb 15 17:13:46 2022 +0100
    19.2 +++ b/matchbox-desktop-2/receipt	Tue Feb 15 18:29:48 2022 +0000
    19.3 @@ -14,6 +14,15 @@
    19.4  DEPENDS="gtk+ dbus dbus-glib util-linux-uuid"
    19.5  BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \
   19.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \
   19.12 +	sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   19.13 +	sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q
   19.14 +}
   19.15 +
   19.16  # Rules to configure and make the package.
   19.17  compile_rules()
   19.18  {
    20.1 --- a/matchbox-desktop/receipt	Tue Feb 15 17:13:46 2022 +0100
    20.2 +++ b/matchbox-desktop/receipt	Tue Feb 15 18:29:48 2022 +0000
    20.3 @@ -13,6 +13,15 @@
    20.4  DEPENDS="gtk+ startup-notification libmatchbox"
    20.5  BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/$( \
   20.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-desktop/ 2>/dev/null | \
   20.12 +	sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   20.13 +	sed '/href="matchbox-desktop-[0-9]/!d;s|.*="matchbox-desktop-||;s|.tar.*||' | sort -Vr | sed q
   20.14 +}
   20.15 +
   20.16  # Rules to configure and make the package.
   20.17  compile_rules()
   20.18  {
    21.1 --- a/matchbox-panel-2/receipt	Tue Feb 15 17:13:46 2022 +0100
    21.2 +++ b/matchbox-panel-2/receipt	Tue Feb 15 18:29:48 2022 +0000
    21.3 @@ -16,6 +16,15 @@
    21.4  BUILD_DEPENDS="gtk+-dev dbus-dev dbus-glib-dev util-linux-uuid-dev subversion \
    21.5  autoconf automake libtool"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \
   21.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \
   21.12 +	sed '/href="2/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   21.13 +	sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q
   21.14 +}
   21.15 +
   21.16  # Rules to configure and make the package.
   21.17  compile_rules()
   21.18  {
    22.1 --- a/matchbox-panel-manager/receipt	Tue Feb 15 17:13:46 2022 +0100
    22.2 +++ b/matchbox-panel-manager/receipt	Tue Feb 15 18:29:48 2022 +0000
    22.3 @@ -13,6 +13,15 @@
    22.4  DEPENDS="gtk+ matchbox-panel"
    22.5  BUILD_DEPENDS="gtk+-dev"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/$( \
   22.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel-manager/ 2>/dev/null | \
   22.12 +	sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   22.13 +	sed '/href="matchbox-panel-manager-[0-9]/!d;s|.*="matchbox-panel-manager-||;s|.tar.*||' | sort -Vr | sed q
   22.14 +}
   22.15 +
   22.16  # Rules to configure and make the package.
   22.17  compile_rules()
   22.18  {
    23.1 --- a/matchbox-panel/receipt	Tue Feb 15 17:13:46 2022 +0100
    23.2 +++ b/matchbox-panel/receipt	Tue Feb 15 18:29:48 2022 +0000
    23.3 @@ -13,6 +13,15 @@
    23.4  DEPENDS="gtk+ startup-notification libmatchbox wireless_tools"
    23.5  BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev wireless_tools-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/$( \
   23.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-panel/ 2>/dev/null | \
   23.12 +	sed '/href="0/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   23.13 +	sed '/href="matchbox-panel-[0-9]/!d;s|.*="matchbox-panel-||;s|.tar.*||' | sort -Vr | sed q
   23.14 +}
   23.15 +
   23.16  # Rules to configure and make the package.
   23.17  compile_rules()
   23.18  {
    24.1 --- a/matchbox-themes-extra/receipt	Tue Feb 15 17:13:46 2022 +0100
    24.2 +++ b/matchbox-themes-extra/receipt	Tue Feb 15 18:29:48 2022 +0000
    24.3 @@ -11,6 +11,15 @@
    24.4  WGET_URL="${WEB_SITE}sources/$PACKAGE/$VERSION/$TARBALL"
    24.5  HOST_ARCH="any"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/$( \
   24.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-themes-extra/ 2>/dev/null | \
   24.12 +	sed '/href="[0(9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   24.13 +	sed '/href="matchbox-themes-extra-[0-9]/!d;s|.*="matchbox-themes-extra-||;s|.tar.*||' | sort -Vr | sed q
   24.14 +}
   24.15 +
   24.16  # Rules to configure and make the package.
   24.17  compile_rules()
   24.18  {
    25.1 --- a/matchbox-window-manager/receipt	Tue Feb 15 17:13:46 2022 +0100
    25.2 +++ b/matchbox-window-manager/receipt	Tue Feb 15 18:29:48 2022 +0000
    25.3 @@ -14,6 +14,15 @@
    25.4  DEPENDS="gtk+ startup-notification libmatchbox"
    25.5  BUILD_DEPENDS="gtk+-dev startup-notification-dev libmatchbox-dev expat-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/$( \
   25.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/matchbox-window-manager/ 2>/dev/null | \
   25.12 +	sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   25.13 +	sed '/href="matchbox-window-manager-[0-9]/!d;s|.*="matchbox-window-manager-||;s|.tar.*||' | sort -Vr | sed q
   25.14 +}
   25.15 +
   25.16  # Rules to configure and make the package.
   25.17  compile_rules()
   25.18  {
    26.1 --- a/mb-applet-volume/receipt	Tue Feb 15 17:13:46 2022 +0100
    26.2 +++ b/mb-applet-volume/receipt	Tue Feb 15 18:29:48 2022 +0000
    26.3 @@ -13,6 +13,15 @@
    26.4  DEPENDS="gtk+ libmatchbox"
    26.5  BUILD_DEPENDS="gtk+-dev libmatchbox-dev"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/$( \
   26.11 +	wget -O - http://mirrors.kernel.org/yocto/matchbox/mb-applet-volume/ 2>/dev/null | \
   26.12 +	sed '/href="[0-9]/!d;s|.*="||;s|/.*||' | sort -Vr | sed q)/ 2>/dev/null | \
   26.13 +	sed '/href="mb-applet-volume-[0-9]/!d;s|.*="mb-applet-volume-||;s|.tar.*||' | sort -Vr | sed q
   26.14 +}
   26.15 +
   26.16  # Rules to configure and make the package.
   26.17  compile_rules()
   26.18  {
    27.1 --- a/mc/receipt	Tue Feb 15 17:13:46 2022 +0100
    27.2 +++ b/mc/receipt	Tue Feb 15 18:29:48 2022 +0000
    27.3 @@ -21,6 +21,13 @@
    27.4  
    27.5  HOST_ARCH="i486 arm"
    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/mdocml/receipt	Tue Feb 15 17:13:46 2022 +0100
    28.2 +++ b/mdocml/receipt	Tue Feb 15 18:29:48 2022 +0000
    28.3 @@ -13,6 +13,13 @@
    28.4  DEPENDS="glibc-base"
    28.5  BUILD_DEPENDS="db-dev"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   28.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   28.12 +}
   28.13 +
   28.14  # Rules to configure and make the package.
   28.15  compile_rules()
   28.16  {
    29.1 --- a/mediainfo-gui/receipt	Tue Feb 15 17:13:46 2022 +0100
    29.2 +++ b/mediainfo-gui/receipt	Tue Feb 15 18:29:48 2022 +0000
    29.3 @@ -14,6 +14,13 @@
    29.4  DEPENDS="gtk+ wxWidgets"
    29.5  BUILD_DEPENDS="file wxWidgets-dev"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://mediaarea.net/en/MediaInfo/Download/Source 2> /dev/null | \
   29.11 +	sed '/\/mediainfo-gui\//!d;s|.*mediainfo-gui/||;s|/.*||;q'
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/mediainfo/receipt	Tue Feb 15 17:13:46 2022 +0100
    30.2 +++ b/mediainfo/receipt	Tue Feb 15 18:29:48 2022 +0000
    30.3 @@ -15,6 +15,13 @@
    30.4  BUILD_DEPENDS="autoconf automake curl-dev libmediainfo-dev libmms-dev \
    30.5  	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 '/\/mediainfo\//!d;s|.*mediainfo/||;s|/.*||;q'
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/mediawiki/receipt	Tue Feb 15 17:13:46 2022 +0100
    31.2 +++ b/mediawiki/receipt	Tue Feb 15 18:29:48 2022 +0000
    31.3 @@ -13,6 +13,13 @@
    31.4  
    31.5  DEPENDS="php"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://www.mediawiki.org/wiki/Download 2>/dev/null | \
   31.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
   31.12 +}
   31.13 +
   31.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   31.15  genpkg_rules()
   31.16  {
    32.1 --- a/memo/receipt	Tue Feb 15 17:13:46 2022 +0100
    32.2 +++ b/memo/receipt	Tue Feb 15 18:29:48 2022 +0000
    32.3 @@ -16,7 +16,7 @@
    32.4  # What is the latest version available today?
    32.5  current_version()
    32.6  {
    32.7 -	wget -O - $WEB_SITE/tags 2>/dev/null | \
    32.8 +	wget -O - https://github.com/anttiviljami/memo/tags 2>/dev/null | \
    32.9  	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   32.10  }
   32.11  
    33.1 --- a/mesa7/receipt	Tue Feb 15 17:13:46 2022 +0100
    33.2 +++ b/mesa7/receipt	Tue Feb 15 18:29:48 2022 +0000
    33.3 @@ -20,6 +20,13 @@
    33.4  # libpthread-stubs-dev llvm  xorg-dri3proto xorg-presentproto
    33.5  # --with-gallium-drivers= \
    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 '/7.x\/7/!d;s|.*/7.x/||;s|/.*||' | 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/mindi/receipt	Tue Feb 15 17:13:46 2022 +0100
    34.2 +++ b/mindi/receipt	Tue Feb 15 18:29:48 2022 +0000
    34.3 @@ -13,6 +13,13 @@
    34.4  DEPENDS="syslinux syslinux-extra"
    34.5  BUILD_DEPENDS=""
    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-||;s|.[a-z].*||" | 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/minised/receipt	Tue Feb 15 17:13:46 2022 +0100
    35.2 +++ b/minised/receipt	Tue Feb 15 18:29:48 2022 +0000
    35.3 @@ -14,6 +14,13 @@
    35.4  DEPENDS=""
    35.5  BUILD_DEPENDS=""
    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/miro/receipt	Tue Feb 15 17:13:46 2022 +0100
    36.2 +++ b/miro/receipt	Tue Feb 15 18:29:48 2022 +0000
    36.3 @@ -19,6 +19,13 @@
    36.4  libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev \
    36.5  imagemagick-dev taglib-dev libboost-dev"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - https://github.com/pculture/miro/tags 2>/dev/null | \
   36.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   36.12 +}
   36.13 +
   36.14  # Rules to configure and make the package.
   36.15  compile_rules()
   36.16  {
    37.1 --- a/mixxx/receipt	Tue Feb 15 17:13:46 2022 +0100
    37.2 +++ b/mixxx/receipt	Tue Feb 15 18:29:48 2022 +0000
    37.3 @@ -18,6 +18,13 @@
    37.4  Qt4-dev alsa-lib-dev jack-audio-connection-kit-dev mesa-dev scons \
    37.5  pkg-config flac-dev portmidi"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - https://mixxx.org/download/ 2>/dev/null | \
   37.11 +	sed '/the stable/!d;s|.*stable">||;s|<.*||;q'
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/moc/receipt	Tue Feb 15 17:13:46 2022 +0100
    38.2 +++ b/moc/receipt	Tue Feb 15 18:29:48 2022 +0000
    38.3 @@ -24,6 +24,13 @@
    38.4  	arm) BUILD_DEPENDS="alsa-lib-dev libid3tag-dev libogg-dev libvorbis-dev" ;;
    38.5  esac
    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/mondo/receipt	Tue Feb 15 17:13:46 2022 +0100
    39.2 +++ b/mondo/receipt	Tue Feb 15 18:29:48 2022 +0000
    39.3 @@ -14,6 +14,13 @@
    39.4  DEPENDS="afio coreutils-disk gawk mindi newt"
    39.5  BUILD_DEPENDS="newt-dev"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   39.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | 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/mongodb/receipt	Tue Feb 15 17:13:46 2022 +0100
    40.2 +++ b/mongodb/receipt	Tue Feb 15 18:29:48 2022 +0000
    40.3 @@ -17,6 +17,13 @@
    40.4  	libboost-program-options-dev libboost-thread-dev pcre-dev \
    40.5  	scons spidermonkey-dev"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - https://github.com/mongodb/mongo/tags 2>/dev/null | \
   40.11 +	sed '/archive.*tar/!d;/-rc/d;/-alpha/d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/mono/receipt	Tue Feb 15 17:13:46 2022 +0100
    41.2 +++ b/mono/receipt	Tue Feb 15 18:29:48 2022 +0000
    41.3 @@ -14,6 +14,13 @@
    41.4  BUILD_DEPENDS="tar bzip2 m4 pkg-config bison gawk \
    41.5  gettext glib-dev perl libgdiplus-dev"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   41.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   41.12 +}
   41.13 +
   41.14  # Build documentation at http://mono-project.com/Compiling_Mono
   41.15  # and http://mono-project.com/Release_Notes_Mono_2.4#Installing_Mono_2.4
   41.16  
    42.1 --- a/mp/receipt	Tue Feb 15 17:13:46 2022 +0100
    42.2 +++ b/mp/receipt	Tue Feb 15 18:29:48 2022 +0000
    42.3 @@ -14,6 +14,13 @@
    42.4  DEPENDS="gtk+"
    42.5  BUILD_DEPENDS="gtk+-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/ttcdt/mp-5.x/tags 2>/dev/null | \
   42.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).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/mp3info/receipt	Tue Feb 15 17:13:46 2022 +0100
    43.2 +++ b/mp3info/receipt	Tue Feb 15 18:29:48 2022 +0000
    43.3 @@ -13,6 +13,13 @@
    43.4  DEPENDS="ncursesw gtk+"
    43.5  BUILD_DEPENDS="ncursesw-dev gtk+-dev"
    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;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\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/mpc/receipt	Tue Feb 15 17:13:46 2022 +0100
    44.2 +++ b/mpc/receipt	Tue Feb 15 18:29:48 2022 +0000
    44.3 @@ -16,6 +16,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 - $WEB_SITE 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  compile_rules()
   44.15  {
   44.16  	meson . _build --prefix=/usr &&
    45.1 --- a/mplayer-cli/receipt	Tue Feb 15 17:13:46 2022 +0100
    45.2 +++ b/mplayer-cli/receipt	Tue Feb 15 18:29:48 2022 +0000
    45.3 @@ -32,6 +32,13 @@
    45.4  	arm*) ARCH_ARGS="--target=arm-linux --enable-cross-compile" ;;
    45.5  esac
    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/mplayer-codecs/receipt	Tue Feb 15 17:13:46 2022 +0100
    46.2 +++ b/mplayer-codecs/receipt	Tue Feb 15 18:29:48 2022 +0000
    46.3 @@ -13,6 +13,13 @@
    46.4  
    46.5  DEPENDS="mplayer"
    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 '/all-[0-9]/!d;/tar/!d;s|.*all-||;s|.tar.*||' | sort -Vr | sed q
   46.12 +}
   46.13 +
   46.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   46.15  genpkg_rules()
   46.16  {
    47.1 --- a/mplayer/receipt	Tue Feb 15 17:13:46 2022 +0100
    47.2 +++ b/mplayer/receipt	Tue Feb 15 18:29:48 2022 +0000
    47.3 @@ -41,6 +41,13 @@
    47.4  		ARCH_ARGS="--target=arm-linux --enable-cross-compile --enable-sdl" ;;
    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/mtr/receipt	Tue Feb 15 17:13:46 2022 +0100
    48.2 +++ b/mtr/receipt	Tue Feb 15 18:29:48 2022 +0000
    48.3 @@ -14,6 +14,13 @@
    48.4  DEPENDS="ncurses"
    48.5  BUILD_DEPENDS="autoconf automake linux-api-headers ncurses-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/multipath-tools/receipt	Tue Feb 15 17:13:46 2022 +0100
    49.2 +++ b/multipath-tools/receipt	Tue Feb 15 18:29:48 2022 +0000
    49.3 @@ -15,6 +15,13 @@
    49.4  DEPENDS="libaio libdevmapper readline udev"
    49.5  BUILD_DEPENDS="libaio-dev libdevmapper-dev readline-dev udev-dev"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://github.com/opensvc/multipath-tools/tags 2>/dev/null | \
   49.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   49.12 +}
   49.13 +
   49.14  # Rules to configure and make the package.
   49.15  compile_rules()
   49.16  {
    50.1 --- a/multitail/receipt	Tue Feb 15 17:13:46 2022 +0100
    50.2 +++ b/multitail/receipt	Tue Feb 15 18:29:48 2022 +0000
    50.3 @@ -16,6 +16,13 @@
    50.4  
    50.5  CONFIG_FILES="/etc/multitail.conf"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - https://github.com/halturin/multitail/tags 2>/dev/null | \
   50.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   50.12 +}
   50.13 +
   50.14  # Rules to configure and make the package.
   50.15  compile_rules()
   50.16  {
    51.1 --- a/mutt/receipt	Tue Feb 15 17:13:46 2022 +0100
    51.2 +++ b/mutt/receipt	Tue Feb 15 18:29:48 2022 +0000
    51.3 @@ -16,6 +16,13 @@
    51.4  
    51.5  CONFIG_FILES="/etc/Muttrc /etc/mime.types"
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   51.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   51.12 +}
   51.13 +
   51.14  # Rules to configure and make the package.
   51.15  compile_rules()
   51.16  {
    52.1 --- a/mypaint/receipt	Tue Feb 15 17:13:46 2022 +0100
    52.2 +++ b/mypaint/receipt	Tue Feb 15 18:29:48 2022 +0000
    52.3 @@ -13,6 +13,13 @@
    52.4  DEPENDS="pygtk python-numpy protobuf-python"
    52.5  BUILD_DEPENDS="$DEPENDS pygtk-dev protobuf-dev python-dev scons swig"
    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 '/MyPaint-[0-9]/!d;s|.*MyPaint-||;s|-release.*||;q'
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {
    53.1 --- a/mytop/receipt	Tue Feb 15 17:13:46 2022 +0100
    53.2 +++ b/mytop/receipt	Tue Feb 15 18:29:48 2022 +0000
    53.3 @@ -14,6 +14,13 @@
    53.4  DEPENDS="perl-dbd-mysql perl-dbi perl-term-readkey"
    53.5  BUILD_DEPENDS="$DEPENDS"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   53.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | 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/ncdc/receipt	Tue Feb 15 17:13:46 2022 +0100
    54.2 +++ b/ncdc/receipt	Tue Feb 15 18:29:48 2022 +0000
    54.3 @@ -15,6 +15,13 @@
    54.4  BUILD_DEPENDS="bzip2-dev glib-dev gnutls-dev libgnutls ncursesw ncursesw-dev 
    54.5  	pcre-dev sqlite-dev zlib-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/ncdu/receipt	Tue Feb 15 17:13:46 2022 +0100
    55.2 +++ b/ncdu/receipt	Tue Feb 15 18:29:48 2022 +0000
    55.3 @@ -14,6 +14,13 @@
    55.4  DEPENDS="ncursesw"
    55.5  BUILD_DEPENDS="ncursesw-dev"
    55.6  
    55.7 +# What is the latest version available today?
    55.8 +current_version()
    55.9 +{
   55.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   55.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | 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/ncftp/receipt	Tue Feb 15 17:13:46 2022 +0100
    56.2 +++ b/ncftp/receipt	Tue Feb 15 18:29:48 2022 +0000
    56.3 @@ -14,6 +14,13 @@
    56.4  DEPENDS="ncurses"
    56.5  BUILD_DEPENDS="ncurses-dev"
    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;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | 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/ncmpc/receipt	Tue Feb 15 17:13:46 2022 +0100
    57.2 +++ b/ncmpc/receipt	Tue Feb 15 18:29:48 2022 +0000
    57.3 @@ -18,6 +18,13 @@
    57.4  
    57.5  HOST_ARCH="i486 arm"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   57.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/ncmpcpp/receipt	Tue Feb 15 17:13:46 2022 +0100
    58.2 +++ b/ncmpcpp/receipt	Tue Feb 15 18:29:48 2022 +0000
    58.3 @@ -14,6 +14,13 @@
    58.4  DEPENDS="ncurses taglib mpd curl libmpdclient ncursesw"
    58.5  BUILD_DEPENDS="ncurses-dev taglib taglib-dev curl-dev libmpdclient-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/ndisc6/receipt	Tue Feb 15 17:13:46 2022 +0100
    59.2 +++ b/ndisc6/receipt	Tue Feb 15 18:29:48 2022 +0000
    59.3 @@ -12,6 +12,13 @@
    59.4  DEPENDS="perl"
    59.5  CONFIG_FILES="/etc/rdnssd"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   59.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | 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/neon/receipt	Tue Feb 15 17:13:46 2022 +0100
    60.2 +++ b/neon/receipt	Tue Feb 15 18:29:48 2022 +0000
    60.3 @@ -15,6 +15,13 @@
    60.4  DEPENDS="expat libcomerr3 libkrb5 libssl zlib"
    60.5  BUILD_DEPENDS="expat-dev libxml2-dev openssl-dev zlib-dev"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - https://notroj.github.io/neon/ 2>/dev/null | \
   60.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   60.12 +}
   60.13 +
   60.14  # Rules to configure and make the package.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/neonview/receipt	Tue Feb 15 17:13:46 2022 +0100
    61.2 +++ b/neonview/receipt	Tue Feb 15 18:29:48 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  DEPENDS="gtk+3"
    61.5  BUILD_DEPENDS="gtk+3-dev"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - http://www.tuxarena.com/neonview/download/ 2>/dev/null | \
   61.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | 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/net6/receipt	Tue Feb 15 17:13:46 2022 +0100
    62.2 +++ b/net6/receipt	Tue Feb 15 18:29:48 2022 +0000
    62.3 @@ -14,6 +14,13 @@
    62.4  BUILD_DEPENDS="$DEPENDS gnutls-dev libgpg-error-dev libgcrypt-dev libsigc++-dev \
    62.5  libtasn1-dev pkg-config p11-kit-dev libgnutls"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/netplug/receipt	Tue Feb 15 17:13:46 2022 +0100
    63.2 +++ b/netplug/receipt	Tue Feb 15 18:29:48 2022 +0000
    63.3 @@ -10,6 +10,13 @@
    63.4  WEB_SITE="http://www.serpentine.com/blog/software/netplug/"
    63.5  WGET_URL="http://www.red-bean.com/~bos/netplug/$TARBALL"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/netsurf-sdl/receipt	Tue Feb 15 17:13:46 2022 +0100
    64.2 +++ b/netsurf-sdl/receipt	Tue Feb 15 18:29:48 2022 +0000
    64.3 @@ -21,6 +21,13 @@
    64.4  
    64.5  BUGS="No unicode. No https."
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   64.11 +	sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q
   64.12 +}
   64.13 +
   64.14  # Rules to configure and make the package.
   64.15  compile_rules()
   64.16  {
    65.1 --- a/netsurf/receipt	Tue Feb 15 17:13:46 2022 +0100
    65.2 +++ b/netsurf/receipt	Tue Feb 15 18:29:48 2022 +0000
    65.3 @@ -20,6 +20,13 @@
    65.4  	libxml2-dev openssl-dev pango-dev perl-html-parser perl-html-tagset re2c 
    65.5  	vim zlib-dev"
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   65.11 +	sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q
   65.12 +}
   65.13 +
   65.14  # Rules to configure and make the package.
   65.15  compile_rules()
   65.16  {
    66.1 --- a/newt/receipt	Tue Feb 15 17:13:46 2022 +0100
    66.2 +++ b/newt/receipt	Tue Feb 15 18:29:48 2022 +0000
    66.3 @@ -14,6 +14,13 @@
    66.4  DEPENDS="popt slang tcl"
    66.5  BUILD_DEPENDS="popt-dev python-dev slang-dev tcl"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/node/receipt	Tue Feb 15 17:13:46 2022 +0100
    67.2 +++ b/node/receipt	Tue Feb 15 18:29:48 2022 +0000
    67.3 @@ -16,6 +16,13 @@
    67.4  
    67.5  #HOST_ARCH="i486 arm"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - https://nodejs.org/en/download/ 2>/dev/null | \
   67.11 +	sed '/latest/d;/node-v[0-9]/!d;/tar/!d;s|.*node-v||;s|.[a-z].*||' | 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/notify-python/receipt	Tue Feb 15 17:13:46 2022 +0100
    68.2 +++ b/notify-python/receipt	Tue Feb 15 18:29:48 2022 +0000
    68.3 @@ -14,6 +14,13 @@
    68.4  DEPENDS="python libnotify"
    68.5  BUILD_DEPENDS="python-dev libnotify-dev pygtk pygtk-dev"
    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/npth/receipt	Tue Feb 15 17:13:46 2022 +0100
    69.2 +++ b/npth/receipt	Tue Feb 15 18:29:48 2022 +0000
    69.3 @@ -13,6 +13,13 @@
    69.4  
    69.5  DEPENDS="glibc-base"
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/nsd/receipt	Tue Feb 15 17:13:46 2022 +0100
    70.2 +++ b/nsd/receipt	Tue Feb 15 18:29:48 2022 +0000
    70.3 @@ -16,6 +16,13 @@
    70.4  
    70.5  CONFIG_FILES="/etc/nsd"
    70.6  
    70.7 +# What is the latest version available today?
    70.8 +current_version()
    70.9 +{
   70.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   70.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/nss-ldapd/receipt	Tue Feb 15 17:13:46 2022 +0100
    71.2 +++ b/nss-ldapd/receipt	Tue Feb 15 18:29:48 2022 +0000
    71.3 @@ -16,6 +16,13 @@
    71.4  BUILD_DEPENDS="cyrus-sasl-dev krb5-dev openldap-dev openssl-dev pam-dev \
    71.5  	pam_ldap"
    71.6  
    71.7 +# What is the latest version available today?
    71.8 +current_version()
    71.9 +{
   71.10 +	wget -O - ${WGET_URL%/*}/downloads 2>/dev/null | \
   71.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/ntp/receipt	Tue Feb 15 17:13:46 2022 +0100
    72.2 +++ b/ntp/receipt	Tue Feb 15 18:29:48 2022 +0000
    72.3 @@ -16,6 +16,13 @@
    72.4  
    72.5  HOST_ARCH="i486 arm"
    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/o3read/receipt	Tue Feb 15 17:13:46 2022 +0100
    73.2 +++ b/o3read/receipt	Tue Feb 15 18:29:48 2022 +0000
    73.3 @@ -13,6 +13,13 @@
    73.4  
    73.5  DEPENDS=""
    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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/obby/receipt	Tue Feb 15 17:13:46 2022 +0100
    74.2 +++ b/obby/receipt	Tue Feb 15 18:29:48 2022 +0000
    74.3 @@ -17,6 +17,13 @@
    74.4  BUILD_DEPENDS="$DEPENDS gnutls-dev libgcrypt-dev libgnutls libgpg-error-dev \
    74.5  	libsigc++-dev net6-dev"
    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/ofono/receipt	Tue Feb 15 17:13:46 2022 +0100
    75.2 +++ b/ofono/receipt	Tue Feb 15 18:29:48 2022 +0000
    75.3 @@ -14,6 +14,13 @@
    75.4  BUILD_DEPENDS="dbus-dev udev-dev glib-dev bluez-dev \
    75.5  mobile-broadband-provider-info-dev"
    75.6  
    75.7 +# What is the latest version available today?
    75.8 +current_version()
    75.9 +{
   75.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   75.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   75.12 +}
   75.13 +
   75.14  # Rules to configure and make the package.
   75.15  compile_rules()
   75.16  {
    76.1 --- a/oldrunner/receipt	Tue Feb 15 17:13:46 2022 +0100
    76.2 +++ b/oldrunner/receipt	Tue Feb 15 18:29:48 2022 +0000
    76.3 @@ -13,6 +13,13 @@
    76.4  DEPENDS="ncurses"
    76.5  BUILD_DEPENDS="ncurses-dev"
    76.6  
    76.7 +# What is the latest version available today?
    76.8 +current_version()
    76.9 +{
   76.10 +	wget -O - ${WGET_URL%/*}/ 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/openconnect/receipt	Tue Feb 15 17:13:46 2022 +0100
    77.2 +++ b/openconnect/receipt	Tue Feb 15 18:29:48 2022 +0000
    77.3 @@ -15,6 +15,13 @@
    77.4  # Will require libtirpc when glibc is upgraded to 2.14.
    77.5  BUILD_DEPENDS="libxml2-dev openssl-dev pkg-config vpnc zlib"
    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 "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | 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/openjpeg/receipt	Tue Feb 15 17:13:46 2022 +0100
    78.2 +++ b/openjpeg/receipt	Tue Feb 15 18:29:48 2022 +0000
    78.3 @@ -14,6 +14,13 @@
    78.4  DEPENDS="glibc-base"
    78.5  BUILD_DEPENDS="zlib-dev tiff-dev"
    78.6  
    78.7 +# What is the latest version available today?
    78.8 +current_version()
    78.9 +{
   78.10 +	wget -O - https://github.com/uclouvain/openjpeg/releases 2>/dev/null | \
   78.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   78.12 +}
   78.13 +
   78.14  # Rules to configure and make the package.
   78.15  compile_rules()
   78.16  {
    79.1 --- a/openscad/receipt	Tue Feb 15 17:13:46 2022 +0100
    79.2 +++ b/openscad/receipt	Tue Feb 15 18:29:48 2022 +0000
    79.3 @@ -18,6 +18,13 @@
    79.4  libboost-filesystem-dev libboost-regex-dev libboost-thread-dev \
    79.5  libboost-graph-dev libboost-tr1-dev qmake"
    79.6  
    79.7 +# What is the latest version available today?
    79.8 +current_version()
    79.9 +{
   79.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   79.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
   79.12 +}
   79.13 +
   79.14  # Rules to configure and make the package.
   79.15  #
   79.16  compile_rules()
    80.1 --- a/openttd/receipt	Tue Feb 15 17:13:46 2022 +0100
    80.2 +++ b/openttd/receipt	Tue Feb 15 18:29:48 2022 +0000
    80.3 @@ -13,6 +13,13 @@
    80.4  DEPENDS="libsdl lzo zlib libpng icu"
    80.5  BUILD_DEPENDS="libsdl-dev lzo-dev zlib-dev libpng-dev liblzma-dev icu-dev"
    80.6  
    80.7 +# What is the latest version available today?
    80.8 +current_version()
    80.9 +{
   80.10 +	wget -O - https://www.openttd.org/downloads/openttd-releases/latest 2>/dev/null | \
   80.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | 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/ori/receipt	Tue Feb 15 17:13:46 2022 +0100
    81.2 +++ b/ori/receipt	Tue Feb 15 18:29:48 2022 +0000
    81.3 @@ -14,6 +14,13 @@
    81.4  BUILD_DEPENDS="wget scons pkg-config libboost-dev libboost-tr1-dev \
    81.5  util-linux-uuid-dev fuse-dev libevent-dev openssl-dev gcc49 libedit-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;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/ossp-uuid/receipt	Tue Feb 15 17:13:46 2022 +0100
    82.2 +++ b/ossp-uuid/receipt	Tue Feb 15 18:29:48 2022 +0000
    82.3 @@ -13,6 +13,13 @@
    82.4  #WGET_URL="ftp://ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL"
    82.5  WGET_URL="http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/$SOURCE/$TARBALL"
    82.6  
    82.7 +# What is the latest version available today?
    82.8 +current_version()
    82.9 +{
   82.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   82.11 +	sed "/latest/d;/$SOURC-[0-9]/!d;/tar/!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/oxygen-gtk/receipt	Tue Feb 15 17:13:46 2022 +0100
    83.2 +++ b/oxygen-gtk/receipt	Tue Feb 15 18:29:48 2022 +0000
    83.3 @@ -16,6 +16,13 @@
    83.4  	glibc-base gtk+ libffi libgio libxml2 pango pcre xorg-libX11 zlib"
    83.5  BUILD_DEPENDS="cmake git gtk+-dev xorg-libX11-dev"
    83.6  
    83.7 +# What is the latest version available today?
    83.8 +current_version()
    83.9 +{
   83.10 +	wget -O - 'https://invent.kde.org/plasma/oxygen-gtk/-/tags?sort=updated_desc' 2>/dev/null | \
   83.11 +	sed '/-\/tags\/v[0-9]/!d;s|.*tags/v||;s|".*||;q'
   83.12 +}
   83.13 +
   83.14  # Rules to configure and make the package.
   83.15  compile_rules()
   83.16  {
    84.1 --- a/pam/receipt	Tue Feb 15 17:13:46 2022 +0100
    84.2 +++ b/pam/receipt	Tue Feb 15 18:29:48 2022 +0000
    84.3 @@ -15,6 +15,13 @@
    84.4  DEPENDS="glibc-base libdb"
    84.5  BUILD_DEPENDS="flex db-dev libdb"
    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/pam_krb5/receipt	Tue Feb 15 17:13:46 2022 +0100
    85.2 +++ b/pam_krb5/receipt	Tue Feb 15 18:29:48 2022 +0000
    85.3 @@ -15,6 +15,13 @@
    85.4  DEPENDS="libcomerr libcomerr3 libkrb5 pam"
    85.5  BUILD_DEPENDS="krb5-dev pam-dev"
    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 "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   85.12 +}
   85.13 +
   85.14  # Rules to configure and make the package.
   85.15  compile_rules()
   85.16  {
    86.1 --- a/pari/receipt	Tue Feb 15 17:13:46 2022 +0100
    86.2 +++ b/pari/receipt	Tue Feb 15 18:29:48 2022 +0000
    86.3 @@ -15,6 +15,13 @@
    86.4  	xorg-libXdmcp"
    86.5  BUILD_DEPENDS="gmp-dev readline-dev xorg-libX11-dev"
    86.6  
    86.7 +# What is the latest version available today?
    86.8 +current_version()
    86.9 +{
   86.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   86.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   86.12 +}
   86.13 +
   86.14  # Rules to configure and make the package.
   86.15  compile_rules()
   86.16  {
    87.1 --- a/pciutils/receipt	Tue Feb 15 17:13:46 2022 +0100
    87.2 +++ b/pciutils/receipt	Tue Feb 15 18:29:48 2022 +0000
    87.3 @@ -14,6 +14,13 @@
    87.4  DEPENDS="glibc-base pciids zlib"
    87.5  BUILD_DEPENDS=""
    87.6  
    87.7 +# What is the latest version available today?
    87.8 +current_version()
    87.9 +{
   87.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   87.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   87.12 +}
   87.13 +
   87.14  # Rules to configure and make the package.
   87.15  compile_rules()
   87.16  {
    88.1 --- a/pcsc-tools/receipt	Tue Feb 15 17:13:46 2022 +0100
    88.2 +++ b/pcsc-tools/receipt	Tue Feb 15 18:29:48 2022 +0000
    88.3 @@ -14,6 +14,13 @@
    88.4  DEPENDS="pcsc-lite perl-glib perl-gtk2 perl-pcsc"
    88.5  BUILD_DEPENDS="pcsc-lite-dev"
    88.6  
    88.7 +# What is the latest version available today?
    88.8 +current_version()
    88.9 +{
   88.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   88.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   88.12 +}
   88.13 +
   88.14  # Rules to configure and make the package.
   88.15  compile_rules()
   88.16  {
    89.1 --- a/pinentry-gtk/receipt	Tue Feb 15 17:13:46 2022 +0100
    89.2 +++ b/pinentry-gtk/receipt	Tue Feb 15 18:29:48 2022 +0000
    89.3 @@ -16,6 +16,13 @@
    89.4  libcap-dev gtk+-dev libgcrypt-dev"
    89.5  SIBLINGS="pinentry"
    89.6  
    89.7 +# What is the latest version available today?
    89.8 +current_version()
    89.9 +{
   89.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   89.11 +	sed "/latest/d;/pinentry-[0-9]/!d;/tar/!d;s|.*pinentry-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   89.12 +}
   89.13 +
   89.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   89.15  
   89.16  compile_rules()
    90.1 --- a/pinentry/receipt	Tue Feb 15 17:13:46 2022 +0100
    90.2 +++ b/pinentry/receipt	Tue Feb 15 18:29:48 2022 +0000
    90.3 @@ -15,6 +15,13 @@
    90.4  libcap-dev libgcrypt-dev"
    90.5  SIBLINGS="pinentry-gtk"
    90.6  
    90.7 +# What is the latest version available today?
    90.8 +current_version()
    90.9 +{
   90.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   90.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   90.12 +}
   90.13 +
   90.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   90.15  
   90.16  compile_rules()
    91.1 --- a/pkg-config/receipt	Tue Feb 15 17:13:46 2022 +0100
    91.2 +++ b/pkg-config/receipt	Tue Feb 15 18:29:48 2022 +0000
    91.3 @@ -19,6 +19,13 @@
    91.4  	arm) BUILD_DEPENDS="" ;;
    91.5  esac
    91.6  
    91.7 +# What is the latest version available today?
    91.8 +current_version()
    91.9 +{
   91.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   91.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   91.12 +}
   91.13 +
   91.14  # Rules to configure and make the package.
   91.15  compile_rules()
   91.16  {
    92.1 --- a/plymouth/receipt	Tue Feb 15 17:13:46 2022 +0100
    92.2 +++ b/plymouth/receipt	Tue Feb 15 18:29:48 2022 +0000
    92.3 @@ -14,6 +14,13 @@
    92.4  DEPENDS="gtk+3 libdrm libpng pango xorg-libpciaccess"
    92.5  BUILD_DEPENDS="gtk+3-dev libdrm-dev libpng-dev pango-dev xorg-libpciaccess-dev"
    92.6  
    92.7 +# What is the latest version available today?
    92.8 +current_version()
    92.9 +{
   92.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   92.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   92.12 +}
   92.13 +
   92.14  # Rules to configure and make the package.
   92.15  compile_rules()
   92.16  {
    93.1 --- a/pm-utils/receipt	Tue Feb 15 17:13:46 2022 +0100
    93.2 +++ b/pm-utils/receipt	Tue Feb 15 18:29:48 2022 +0000
    93.3 @@ -14,6 +14,13 @@
    93.4  
    93.5  DEPENDS="bash kbd"
    93.6  
    93.7 +# What is the latest version available today?
    93.8 +current_version()
    93.9 +{
   93.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   93.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   93.12 +}
   93.13 +
   93.14  # Rules to configure and make the package.
   93.15  compile_rules()
   93.16  {
    94.1 --- a/polkit-pam/receipt	Tue Feb 15 17:13:46 2022 +0100
    94.2 +++ b/polkit-pam/receipt	Tue Feb 15 18:29:48 2022 +0000
    94.3 @@ -16,6 +16,13 @@
    94.4  BUILD_DEPENDS="glib-dev libgio-dev gobject-introspection-dev dbus-dev \
    94.5  dbus-glib-dev expat-dev pam-dev"
    94.6  
    94.7 +# What is the latest version available today?
    94.8 +current_version()
    94.9 +{
   94.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   94.11 +	sed "/latest/d;/polkit-[0-9]/!d;/tar/!d;s|.*polkit-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   94.12 +}
   94.13 +
   94.14  # Rules to configure and make the package.
   94.15  compile_rules()
   94.16  {
    95.1 --- a/poppler-data/receipt	Tue Feb 15 17:13:46 2022 +0100
    95.2 +++ b/poppler-data/receipt	Tue Feb 15 18:29:48 2022 +0000
    95.3 @@ -10,6 +10,13 @@
    95.4  WEB_SITE="https://poppler.freedesktop.org/"
    95.5  WGET_URL="https://poppler.freedesktop.org/$TARBALL"
    95.6  
    95.7 +# What is the latest version available today?
    95.8 +current_version()
    95.9 +{
   95.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   95.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   95.12 +}
   95.13 +
   95.14  # Rules to configure and make the package.
   95.15  compile_rules()
   95.16  {
    96.1 --- a/portaudio/receipt	Tue Feb 15 17:13:46 2022 +0100
    96.2 +++ b/portaudio/receipt	Tue Feb 15 18:29:48 2022 +0000
    96.3 @@ -16,6 +16,13 @@
    96.4  
    96.5  HOST_ARCH="i486 arm"
    96.6  
    96.7 +# What is the latest version available today?
    96.8 +current_version()
    96.9 +{
   96.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   96.11 +	sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
   96.12 +}
   96.13 +
   96.14  # Rules to configure and make the package.
   96.15  compile_rules()
   96.16  {
    97.1 --- a/postfix/receipt	Tue Feb 15 17:13:46 2022 +0100
    97.2 +++ b/postfix/receipt	Tue Feb 15 18:29:48 2022 +0000
    97.3 @@ -19,6 +19,13 @@
    97.4  TAZPANEL_DAEMON="man|edit::/etc/postfix/main.cf|options|web::$WEB_SITE"
    97.5  CONFIG_FILES="/etc/postfix"
    97.6  
    97.7 +# What is the latest version available today?
    97.8 +current_version()
    97.9 +{
   97.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   97.11 +	sed "/latest/d;/$PACKAGE-[0-9\.]*tar/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   97.12 +}
   97.13 +
   97.14  # Rules to configure and make the package.
   97.15  compile_rules()
   97.16  {
    98.1 --- a/postgrey/receipt	Tue Feb 15 17:13:46 2022 +0100
    98.2 +++ b/postgrey/receipt	Tue Feb 15 18:29:48 2022 +0000
    98.3 @@ -15,6 +15,13 @@
    98.4  	perl-net-dns"
    98.5  CONFIG_FILES="/etc/postgrey"
    98.6  
    98.7 +# What is the latest version available today?
    98.8 +current_version()
    98.9 +{
   98.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   98.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   98.12 +}
   98.13 +
   98.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   98.15  genpkg_rules()
   98.16  {
    99.1 --- a/potamus/receipt	Tue Feb 15 17:13:46 2022 +0100
    99.2 +++ b/potamus/receipt	Tue Feb 15 18:29:48 2022 +0000
    99.3 @@ -30,6 +30,13 @@
    99.4  	arm*) ARCH_ARGS="--disable-input-flac" ;;
    99.5  esac
    99.6  
    99.7 +# What is the latest version available today?
    99.8 +current_version()
    99.9 +{
   99.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   99.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
   99.12 +}
   99.13 +
   99.14  # Rules to configure and make the package.
   99.15  compile_rules()
   99.16  {
   100.1 --- a/prelink/receipt	Tue Feb 15 17:13:46 2022 +0100
   100.2 +++ b/prelink/receipt	Tue Feb 15 18:29:48 2022 +0000
   100.3 @@ -13,6 +13,13 @@
   100.4  DEPENDS="elfutils"
   100.5  BUILD_DEPENDS="elfutils-dev pkg-config"
   100.6  
   100.7 +# What is the latest version available today?
   100.8 +current_version()
   100.9 +{
  100.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  100.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/prm/d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
  100.12 +}
  100.13 +
  100.14  # Rules to configure and make the package.
  100.15  compile_rules()
  100.16  {
   101.1 --- a/proftpd-tls/receipt	Tue Feb 15 17:13:46 2022 +0100
   101.2 +++ b/proftpd-tls/receipt	Tue Feb 15 18:29:48 2022 +0000
   101.3 @@ -14,6 +14,13 @@
   101.4  DEPENDS="openssl"
   101.5  BUILD_DEPENDS="openssl-dev"
   101.6  
   101.7 +# What is the latest version available today?
   101.8 +current_version()
   101.9 +{
  101.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  101.11 +	sed "/latest/d;/proftpd-[0-9]/!d;/tar/!d;/rc[1-9]/d;s|.*proftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  101.12 +}
  101.13 +
  101.14  # Rules to configure and make the package.
  101.15  compile_rules()
  101.16  {
   102.1 --- a/proj/receipt	Tue Feb 15 17:13:46 2022 +0100
   102.2 +++ b/proj/receipt	Tue Feb 15 18:29:48 2022 +0000
   102.3 @@ -14,6 +14,13 @@
   102.4  DEPENDS="gcc83-lib-base sqlite"
   102.5  BUILD_DEPENDS="gcc83 libtool sqlite-dev"
   102.6  
   102.7 +# What is the latest version available today?
   102.8 +current_version()
   102.9 +{
  102.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  102.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/RC/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  102.12 +}
  102.13 +
  102.14  # Rules to configure and make the package.
  102.15  compile_rules()
  102.16  {
   103.1 --- a/ptxdist/receipt	Tue Feb 15 17:13:46 2022 +0100
   103.2 +++ b/ptxdist/receipt	Tue Feb 15 18:29:48 2022 +0000
   103.3 @@ -14,6 +14,13 @@
   103.4  DEPENDS="ncurses ncursesw-extra slitaz-toolchain wget"
   103.5  SUGGESTED="bazaar ccache elfkickers git subversion"
   103.6  
   103.7 +# What is the latest version available today?
   103.8 +current_version()
   103.9 +{
  103.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  103.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  103.12 +}
  103.13 +
  103.14  # Rules to gen a SliTaz package suitable for Tazpkg.
  103.15  genpkg_rules()
  103.16  {
   104.1 --- a/pulseaudio/receipt	Tue Feb 15 17:13:46 2022 +0100
   104.2 +++ b/pulseaudio/receipt	Tue Feb 15 18:29:48 2022 +0000
   104.3 @@ -23,6 +23,13 @@
   104.4  CONFIG_FILES="/etc/pulse/client.conf /etc/pulse/daemon.conf \
   104.5  	/etc/pulse/default.pa"
   104.6  
   104.7 +# What is the latest version available today?
   104.8 +current_version()
   104.9 +{
  104.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  104.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  104.12 +}
  104.13 +
  104.14  # Rules to configure and make the package.
  104.15  compile_rules()
  104.16  {
   105.1 --- a/pure-ftpd-pam/receipt	Tue Feb 15 17:13:46 2022 +0100
   105.2 +++ b/pure-ftpd-pam/receipt	Tue Feb 15 18:29:48 2022 +0000
   105.3 @@ -16,6 +16,13 @@
   105.4  DEPENDS="attr libcap libssl pam"
   105.5  BUILD_DEPENDS="openssl-dev pam pam-dev"
   105.6  
   105.7 +# What is the latest version available today?
   105.8 +current_version()
   105.9 +{
  105.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  105.11 +	sed "/latest/d;/pure-ftpd-[0-9]/!d;/tar/!d;s|.*pure-ftpd-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  105.12 +}
  105.13 +
  105.14  # Rules to configure and make the package.
  105.15  compile_rules()
  105.16  {
   106.1 --- a/pure-ftpd/receipt	Tue Feb 15 17:13:46 2022 +0100
   106.2 +++ b/pure-ftpd/receipt	Tue Feb 15 18:29:48 2022 +0000
   106.3 @@ -15,6 +15,13 @@
   106.4  DEPENDS="attr libcap libssl"
   106.5  BUILD_DEPENDS="openssl-dev"
   106.6  
   106.7 +# What is the latest version available today?
   106.8 +current_version()
   106.9 +{
  106.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  106.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  106.12 +}
  106.13 +
  106.14  # Rules to configure and make the package.
  106.15  compile_rules()
  106.16  {
   107.1 --- a/pycrypto/receipt	Tue Feb 15 17:13:46 2022 +0100
   107.2 +++ b/pycrypto/receipt	Tue Feb 15 18:29:48 2022 +0000
   107.3 @@ -14,6 +14,13 @@
   107.4  DEPENDS="gmp python"
   107.5  BUILD_DEPENDS="gmp-dev python-dev"
   107.6  
   107.7 +# What is the latest version available today?
   107.8 +current_version()
   107.9 +{
  107.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  107.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  107.12 +}
  107.13 +
  107.14  # Rules to configure and make the package.
  107.15  compile_rules()
  107.16  {
   108.1 --- a/pydf/receipt	Tue Feb 15 17:13:46 2022 +0100
   108.2 +++ b/pydf/receipt	Tue Feb 15 18:29:48 2022 +0000
   108.3 @@ -11,6 +11,13 @@
   108.4  WEB_SITE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
   108.5  WGET_URL="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/$TARBALL"
   108.6  
   108.7 +# What is the latest version available today?
   108.8 +current_version()
   108.9 +{
  108.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  108.11 +	sed "/latest/d;/${PACKAGE}_[0-9]/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  108.12 +}
  108.13 +
  108.14  # Rules to gen a SliTaz package suitable for Tazpkg.
  108.15  genpkg_rules()
  108.16  {
   109.1 --- a/python-babel/receipt	Tue Feb 15 17:13:46 2022 +0100
   109.2 +++ b/python-babel/receipt	Tue Feb 15 18:29:48 2022 +0000
   109.3 @@ -12,6 +12,13 @@
   109.4  DEPENDS="python"
   109.5  BUILD_DEPENDS="python python-dev python-setuptools"
   109.6  
   109.7 +# What is the latest version available today?
   109.8 +current_version()
   109.9 +{
  109.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  109.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  109.12 +}
  109.13 +
  109.14  # Rules to configure and make the package.
  109.15  compile_rules()
  109.16  {
   110.1 --- a/python-pyprotocols/receipt	Tue Feb 15 17:13:46 2022 +0100
   110.2 +++ b/python-pyprotocols/receipt	Tue Feb 15 18:29:48 2022 +0000
   110.3 @@ -15,6 +15,13 @@
   110.4  DEPENDS="python"
   110.5  BUILD_DEPENDS="python python-dev"
   110.6  
   110.7 +# What is the latest version available today?
   110.8 +current_version()
   110.9 +{
  110.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  110.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  110.12 +}
  110.13 +
  110.14  # Rules to configure and make the package.
  110.15  compile_rules()
  110.16  {
   111.1 --- a/python-pyyaml/receipt	Tue Feb 15 17:13:46 2022 +0100
   111.2 +++ b/python-pyyaml/receipt	Tue Feb 15 18:29:48 2022 +0000
   111.3 @@ -15,6 +15,13 @@
   111.4  DEPENDS="python"
   111.5  BUILD_DEPENDS="python python-dev yaml-dev"
   111.6  
   111.7 +# What is the latest version available today?
   111.8 +current_version()
   111.9 +{
  111.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  111.11 +	sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  111.12 +}
  111.13 +
  111.14  # Rules to configure and make the package.
  111.15  compile_rules()
  111.16  {
   112.1 --- a/qimageblitz/receipt	Tue Feb 15 17:13:46 2022 +0100
   112.2 +++ b/qimageblitz/receipt	Tue Feb 15 18:29:48 2022 +0000
   112.3 @@ -16,6 +16,13 @@
   112.4  dbus-dev polkit-qt-dev libdbusmenu-qt-dev libQtDeclarative alsa-lib-dev \
   112.5  exiv2-dev attica-dev"
   112.6  
   112.7 +# What is the latest version available today?
   112.8 +current_version()
   112.9 +{
  112.10 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
  112.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
  112.12 +}
  112.13 +
  112.14  # Rules to configure and make the package.
  112.15  compile_rules()
  112.16  {
   113.1 --- a/shellinabox/receipt	Tue Feb 15 17:13:46 2022 +0100
   113.2 +++ b/shellinabox/receipt	Tue Feb 15 18:29:48 2022 +0000
   113.3 @@ -18,8 +18,8 @@
   113.4  
   113.5  current_version()
   113.6  {
   113.7 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
   113.8 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
   113.9 +	wget -O - ${WGET_URL%/arch*}/commits/master 2>/dev/null | \
  113.10 +	sed '/ version /!d;s|.*version ||;s|<.*||;q'
  113.11  }
  113.12  
  113.13  # Rules to configure and make the package.
   114.1 --- a/sshpass/receipt	Tue Feb 15 17:13:46 2022 +0100
   114.2 +++ b/sshpass/receipt	Tue Feb 15 18:29:48 2022 +0000
   114.3 @@ -17,7 +17,7 @@
   114.4  {
   114.5  	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
   114.6  	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   114.7 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
   114.8 +	sed '/scope="row/!d;s|.*sshpass/||;s|/.*||;q'
   114.9  }
  114.10  
  114.11  # Rules to configure and make the package.
   115.1 --- a/sunxi-tools/receipt	Tue Feb 15 17:13:46 2022 +0100
   115.2 +++ b/sunxi-tools/receipt	Tue Feb 15 18:29:48 2022 +0000
   115.3 @@ -16,7 +16,7 @@
   115.4  # What is the latest version available today?
   115.5  current_version()
   115.6  {
   115.7 -	wget -O - https://github.com/amery/sunxi-tools/tags 2>/dev/null | \
   115.8 +	wget -O - https://github.com/linux-sunxi/sunxi-tools/tags 2>/dev/null | \
   115.9  	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
  115.10  }
  115.11