wok-6.x rev 24336

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 28 18:19:21 2022 +0000 (2022-01-28)
parents 6f4496f6c83c
children 1c6c71d0e425
files a2ps/receipt acct/receipt autoconf-archive/receipt autofs/receipt automake/receipt bash/receipt binutils/receipt bluez/receipt bridge-utils/receipt commoncpp2/receipt cpio/receipt cpufrequtils/receipt cssc/receipt ddd/receipt diffutils/receipt ed/receipt emacs/receipt findutils/receipt gawk/receipt gdb-python/receipt gdb/receipt gettext/receipt git/receipt gnubik/receipt gnuchess/receipt gnugo/receipt gperf/receipt grep/receipt groff/receipt gsasl/receipt guile/receipt gxmessage/receipt h8300-binutils/receipt h8300-gdb/receipt help2man/receipt i2c-tools/receipt indent/receipt iproute2/receipt iw/receipt kexec-tools/receipt libcdio/receipt libextractor/receipt libffcall/receipt libmicrohttpd/receipt libraw1394/receipt libsbc/receipt libsigsegv/receipt libtool/receipt m4/receipt make/receipt man-pages/receipt module-init-tools/receipt mpc-library/receipt mtools/receipt obexd/receipt osip/receipt parallel/receipt patch/receipt pem/receipt rcs/receipt rfkill/receipt screen-pam/receipt screen/receipt sed/receipt sharutils/receipt tar/receipt texinfo/receipt units/receipt wget/receipt which/receipt xfsprogs/receipt
line diff
     1.1 --- a/a2ps/receipt	Fri Jan 28 16:53:40 2022 +0100
     1.2 +++ b/a2ps/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  
     1.5  BUILD_DEPENDS="gperf"
     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-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/acct/receipt	Fri Jan 28 16:53:40 2022 +0100
     2.2 +++ b/acct/receipt	Fri Jan 28 18:19:21 2022 +0000
     2.3 @@ -15,6 +15,13 @@
     2.4  DEPENDS="gcc-lib-base glibc"
     2.5  BUILD_DEPENDS="glibc-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    2.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/autoconf-archive/receipt	Fri Jan 28 16:53:40 2022 +0100
     3.2 +++ b/autoconf-archive/receipt	Fri Jan 28 18:19:21 2022 +0000
     3.3 @@ -15,6 +15,13 @@
     3.4  
     3.5  HOST_ARCH="any"
     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  compile_rules()
    3.15  {
    3.16  	./configure		\
     4.1 --- a/autofs/receipt	Fri Jan 28 16:53:40 2022 +0100
     4.2 +++ b/autofs/receipt	Fri Jan 28 18:19:21 2022 +0000
     4.3 @@ -19,6 +19,14 @@
     4.4  
     4.5  TAZPANEL_DAEMON="man|help::automount|edit::/etc/auto.misc|options::AUTOMOUNT_OPTIONS|web::$WEB_SITE"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    4.11 +	sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \	
    4.12 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
    4.13 +}
    4.14 +
    4.15  # Rules to configure and make the package.
    4.16  compile_rules()
    4.17  {
     5.1 --- a/automake/receipt	Fri Jan 28 16:53:40 2022 +0100
     5.2 +++ b/automake/receipt	Fri Jan 28 18:19:21 2022 +0000
     5.3 @@ -14,6 +14,13 @@
     5.4  DEPENDS="autoconf"
     5.5  BUILD_DEPENDS="autoconf bison flex"
     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 compile & install the temporary toolchain.
    5.15  cook_tmp_toolchain()
    5.16  {
     6.1 --- a/bash/receipt	Fri Jan 28 16:53:40 2022 +0100
     6.2 +++ b/bash/receipt	Fri Jan 28 18:19:21 2022 +0000
     6.3 @@ -22,6 +22,13 @@
     6.4  DEPENDS="libtinfo"
     6.5  BUILD_DEPENDS="bison texinfo"
     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 "/alpha/d;/doc/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    6.12 +}
    6.13 +
    6.14  patch_bash()
    6.15  {
    6.16  	for i in $BASHPATCHES
     7.1 --- a/binutils/receipt	Fri Jan 28 16:53:40 2022 +0100
     7.2 +++ b/binutils/receipt	Fri Jan 28 18:19:21 2022 +0000
     7.3 @@ -27,6 +27,13 @@
     7.4  
     7.5  # @maintainer: Please update also: libbfd
     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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/bluez/receipt	Fri Jan 28 16:53:40 2022 +0100
     8.2 +++ b/bluez/receipt	Fri Jan 28 18:19:21 2022 +0000
     8.3 @@ -19,6 +19,13 @@
     8.4  
     8.5  CONFIG_FILES="/etc/bluetooth"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    8.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/bridge-utils/receipt	Fri Jan 28 16:53:40 2022 +0100
     9.2 +++ b/bridge-utils/receipt	Fri Jan 28 18:19:21 2022 +0000
     9.3 @@ -13,6 +13,13 @@
     9.4  
     9.5  BUILD_DEPENDS="automake"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    9.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/commoncpp2/receipt	Fri Jan 28 16:53:40 2022 +0100
    10.2 +++ b/commoncpp2/receipt	Fri Jan 28 18:19:21 2022 +0000
    10.3 @@ -12,6 +12,13 @@
    10.4  
    10.5  DEPENDS="glibc-base gcc-lib-base zlib"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   10.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/cpio/receipt	Fri Jan 28 16:53:40 2022 +0100
    11.2 +++ b/cpio/receipt	Fri Jan 28 18:19:21 2022 +0000
    11.3 @@ -15,6 +15,13 @@
    11.4  DEPENDS="glibc-base"
    11.5  BUILD_DEPENDS="slitaz-toolchain"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   11.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/cpufrequtils/receipt	Fri Jan 28 16:53:40 2022 +0100
    12.2 +++ b/cpufrequtils/receipt	Fri Jan 28 18:19:21 2022 +0000
    12.3 @@ -13,6 +13,13 @@
    12.4  DEPENDS="sysfsutils linux-cpufreq"
    12.5  BUILD_DEPENDS="libtool gettext sed"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   12.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -nr | sed q 
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/cssc/receipt	Fri Jan 28 16:53:40 2022 +0100
    13.2 +++ b/cssc/receipt	Fri Jan 28 18:19:21 2022 +0000
    13.3 @@ -16,6 +16,13 @@
    13.4  DEPENDS="gcc83-lib-base"
    13.5  BUILD_DEPENDS="gcc83"
    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;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).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/ddd/receipt	Fri Jan 28 16:53:40 2022 +0100
    14.2 +++ b/ddd/receipt	Fri Jan 28 18:19:21 2022 +0000
    14.3 @@ -16,6 +16,13 @@
    14.4  xorg-libXdmcp xorg-libXext xorg-libXmu xorg-libXpm xorg-libXt lesstif elfutils"
    14.5  BUILD_DEPENDS="gawk lesstif-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   14.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/diffutils/receipt	Fri Jan 28 16:53:40 2022 +0100
    15.2 +++ b/diffutils/receipt	Fri Jan 28 18:19:21 2022 +0000
    15.3 @@ -11,6 +11,13 @@
    15.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    15.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   15.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/ed/receipt	Fri Jan 28 16:53:40 2022 +0100
    16.2 +++ b/ed/receipt	Fri Jan 28 18:19:21 2022 +0000
    16.3 @@ -16,6 +16,13 @@
    16.4  DEPENDS=""
    16.5  BUILD_DEPENDS="lzip"
    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-/!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/emacs/receipt	Fri Jan 28 16:53:40 2022 +0100
    17.2 +++ b/emacs/receipt	Fri Jan 28 18:19:21 2022 +0000
    17.3 @@ -21,6 +21,13 @@
    17.4  	libgnutls libpng-dev librsvg-dev ncurses-dev pango-dev pkg-config tiff-dev 
    17.5  	xorg-dev xorg-dev-proto"
    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 "/lisp/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/findutils/receipt	Fri Jan 28 16:53:40 2022 +0100
    18.2 +++ b/findutils/receipt	Fri Jan 28 18:19:21 2022 +0000
    18.3 @@ -13,6 +13,13 @@
    18.4  
    18.5  DEPENDS="glibc-base slitaz-base-files"
    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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   18.12 +}
   18.13 +
   18.14  # Rules to configure and make the package.
   18.15  compile_rules()
   18.16  {
    19.1 --- a/gawk/receipt	Fri Jan 28 16:53:40 2022 +0100
    19.2 +++ b/gawk/receipt	Fri Jan 28 18:19:21 2022 +0000
    19.3 @@ -16,6 +16,13 @@
    19.4  
    19.5  HOST_ARCH="i486 arm"
    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 "/doc/d;/ps/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   19.12 +}
   19.13 +
   19.14  # Rules to compile & install the temporary toolchain.
   19.15  cook_tmp_toolchain()
   19.16  {
    20.1 --- a/gdb-python/receipt	Fri Jan 28 16:53:40 2022 +0100
    20.2 +++ b/gdb-python/receipt	Fri Jan 28 18:19:21 2022 +0000
    20.3 @@ -15,6 +15,13 @@
    20.4  DEPENDS="ncurses expat glibc-dev python"
    20.5  BUILD_DEPENDS="ncurses-dev python-dev"
    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;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/gdb/receipt	Fri Jan 28 16:53:40 2022 +0100
    21.2 +++ b/gdb/receipt	Fri Jan 28 18:19:21 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  DEPENDS="ncurses expat glibc-dev"
    21.5  BUILD_DEPENDS="ncurses-dev readline-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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/gettext/receipt	Fri Jan 28 16:53:40 2022 +0100
    22.2 +++ b/gettext/receipt	Fri Jan 28 18:19:21 2022 +0000
    22.3 @@ -24,6 +24,13 @@
    22.4  	     ARCH_ARGS="--disable-acl" ;;
    22.5  esac
    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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/git/receipt	Fri Jan 28 16:53:40 2022 +0100
    23.2 +++ b/git/receipt	Fri Jan 28 18:19:21 2022 +0000
    23.3 @@ -18,6 +18,13 @@
    23.4  CROSS_BUGS="bug: can't run test and make package."
    23.5  #HOST_ARCH="i486 arm"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   23.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/gnubik/receipt	Fri Jan 28 16:53:40 2022 +0100
    24.2 +++ b/gnubik/receipt	Fri Jan 28 18:19:21 2022 +0000
    24.3 @@ -14,6 +14,13 @@
    24.4  BUILD_DEPENDS="mesa-dev gtk+-dev gtkglext-dev guile-dev"
    24.5  SUGGESTED="mesa-dri"
    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/gnuchess/receipt	Fri Jan 28 16:53:40 2022 +0100
    25.2 +++ b/gnuchess/receipt	Fri Jan 28 18:19:21 2022 +0000
    25.3 @@ -15,6 +15,13 @@
    25.4  DEPENDS="ncurses readline"
    25.5  BUILD_DEPENDS="ncurses-dev readline-dev"
    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  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/gnugo/receipt	Fri Jan 28 16:53:40 2022 +0100
    26.2 +++ b/gnugo/receipt	Fri Jan 28 18:19:21 2022 +0000
    26.3 @@ -14,6 +14,13 @@
    26.4  DEPENDS="ncurses"
    26.5  BUILD_DEPENDS="ncurses-dev"
    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/gperf/receipt	Fri Jan 28 16:53:40 2022 +0100
    27.2 +++ b/gperf/receipt	Fri Jan 28 18:19:21 2022 +0000
    27.3 @@ -13,6 +13,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-/!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/grep/receipt	Fri Jan 28 16:53:40 2022 +0100
    28.2 +++ b/grep/receipt	Fri Jan 28 18:19:21 2022 +0000
    28.3 @@ -14,6 +14,13 @@
    28.4  DEPENDS="pcre"
    28.5  BUILD_DEPENDS="pcre-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-/!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/groff/receipt	Fri Jan 28 16:53:40 2022 +0100
    29.2 +++ b/groff/receipt	Fri Jan 28 18:19:21 2022 +0000
    29.3 @@ -14,6 +14,13 @@
    29.4  
    29.5  BUILD_DEPENDS="ghostscript texinfo"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   29.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/gsasl/receipt	Fri Jan 28 16:53:40 2022 +0100
    30.2 +++ b/gsasl/receipt	Fri Jan 28 18:19:21 2022 +0000
    30.3 @@ -15,6 +15,13 @@
    30.4  	libtasn1 ncurses readline zlib"
    30.5  BUILD_DEPENDS="libgcrypt-dev"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   30.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   30.12 +}
   30.13 +
   30.14  # Rules to configure and make the package.
   30.15  compile_rules()
   30.16  {
    31.1 --- a/guile/receipt	Fri Jan 28 16:53:40 2022 +0100
    31.2 +++ b/guile/receipt	Fri Jan 28 18:19:21 2022 +0000
    31.3 @@ -13,6 +13,13 @@
    31.4  DEPENDS="gmp readline ncurses libltdl"
    31.5  BUILD_DEPENDS="libtool gmp-dev"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   31.11 +	sed "/oops/d;/www/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/gxmessage/receipt	Fri Jan 28 16:53:40 2022 +0100
    32.2 +++ b/gxmessage/receipt	Fri Jan 28 18:19:21 2022 +0000
    32.3 @@ -14,6 +14,13 @@
    32.4  DEPENDS="expat gtk+ xorg-libXdamage"
    32.5  BUILD_DEPENDS="gtk+-dev"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   32.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/h8300-binutils/receipt	Fri Jan 28 16:53:40 2022 +0100
    33.2 +++ b/h8300-binutils/receipt	Fri Jan 28 18:19:21 2022 +0000
    33.3 @@ -14,15 +14,25 @@
    33.4  
    33.5  BUILD_DEPENDS="slitaz-toolchain bison flex"
    33.6  
    33.7 -# Configuration only needs included if we're in the build/wok environment
    33.8 -if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
    33.9 -	. $WOK/h8300-toolchain/stuff/h8300.conf
   33.10 -fi
   33.11 +# What is the latest version available today?
   33.12 +current_version()
   33.13 +{
   33.14 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   33.15 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   33.16 +}
   33.17 +
   33.18 +h8300_conf()
   33.19 +{
   33.20 +	# Configuration only needs included if we're in the build/wok environment
   33.21 +	if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
   33.22 +		. $WOK/h8300-toolchain/stuff/h8300.conf
   33.23 +	fi
   33.24 +}
   33.25  
   33.26  # Rules to configure and make the package.
   33.27  compile_rules()
   33.28  {
   33.29 -	cd $src
   33.30 +	h8300_conf
   33.31  	./configure \
   33.32  		--target=$H8300_TARGET \
   33.33  		--prefix=/usr \
   33.34 @@ -37,6 +47,7 @@
   33.35  # Rules to gen a SliTaz package suitable for Tazpkg.
   33.36  genpkg_rules()
   33.37  {
   33.38 +	h8300_conf
   33.39  	mkdir -p $fs/usr $fs$H8300_ROOT
   33.40  	cp -a $install/usr/bin $fs/usr
   33.41  	cp -a $install/usr/$H8300_TARGET/* $fs$H8300_ROOT
    34.1 --- a/h8300-gdb/receipt	Fri Jan 28 16:53:40 2022 +0100
    34.2 +++ b/h8300-gdb/receipt	Fri Jan 28 18:19:21 2022 +0000
    34.3 @@ -19,9 +19,20 @@
    34.4  	. $WOK/h8300-toolchain/stuff/h8300.conf
    34.5  fi
    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  {
   34.17 +	# Configuration only needs included if we're in the build/wok environment
   34.18 +	if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
   34.19 +		. $WOK/h8300-toolchain/stuff/h8300.conf
   34.20 +	fi
   34.21  	mkdir -p $SOURCE-$VERSION-build
   34.22  	cd $SOURCE-$VERSION-build
   34.23  	$src/configure \
    35.1 --- a/help2man/receipt	Fri Jan 28 16:53:40 2022 +0100
    35.2 +++ b/help2man/receipt	Fri Jan 28 18:19:21 2022 +0000
    35.3 @@ -14,6 +14,13 @@
    35.4  BUILD_DEPENDS="perl"
    35.5  DEPENDS="perl"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   35.11 +	sed "/latest/d;/$PACKAGE-/!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/i2c-tools/receipt	Fri Jan 28 16:53:40 2022 +0100
    36.2 +++ b/i2c-tools/receipt	Fri Jan 28 18:19:21 2022 +0000
    36.3 @@ -13,6 +13,13 @@
    36.4  
    36.5  HOST_ARCH="i486 arm"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   36.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   36.12 +}
   36.13 +
   36.14  # Rules to configure and make the package.
   36.15  compile_rules()
   36.16  {
    37.1 --- a/indent/receipt	Fri Jan 28 16:53:40 2022 +0100
    37.2 +++ b/indent/receipt	Fri Jan 28 18:19:21 2022 +0000
    37.3 @@ -13,6 +13,13 @@
    37.4  
    37.5  BUILD_DEPENDS="texinfo"
    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;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/iproute2/receipt	Fri Jan 28 16:53:40 2022 +0100
    38.2 +++ b/iproute2/receipt	Fri Jan 28 18:19:21 2022 +0000
    38.3 @@ -15,6 +15,13 @@
    38.4  DEPENDS="db iptables"
    38.5  BUILD_DEPENDS="bison db-dev flex iptables-dev libmnl-dev libnl-dev"
    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/iw/receipt	Fri Jan 28 16:53:40 2022 +0100
    39.2 +++ b/iw/receipt	Fri Jan 28 18:19:21 2022 +0000
    39.3 @@ -17,6 +17,13 @@
    39.4  
    39.5  HOST_ARCH="i486 arm"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   39.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   39.12 +}
   39.13 +
   39.14  # Rules to configure and make the package.
   39.15  compile_rules()
   39.16  {
    40.1 --- a/kexec-tools/receipt	Fri Jan 28 16:53:40 2022 +0100
    40.2 +++ b/kexec-tools/receipt	Fri Jan 28 18:19:21 2022 +0000
    40.3 @@ -14,6 +14,13 @@
    40.4  DEPENDS="zlib"
    40.5  BUILD_DEPENDS="wget zlib-dev liblzma-dev"
    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;/rc/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/libcdio/receipt	Fri Jan 28 16:53:40 2022 +0100
    41.2 +++ b/libcdio/receipt	Fri Jan 28 18:19:21 2022 +0000
    41.3 @@ -14,6 +14,13 @@
    41.4  DEPENDS="gcc-lib-base libcddb ncurses"
    41.5  BUILD_DEPENDS="gcc-lib-base libcddb libcddb-dev ncurses-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 "/paranoia/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   41.12 +}
   41.13 +
   41.14  # Rules to configure and make the package.
   41.15  compile_rules()
   41.16  {
    42.1 --- a/libextractor/receipt	Fri Jan 28 16:53:40 2022 +0100
    42.2 +++ b/libextractor/receipt	Fri Jan 28 18:19:21 2022 +0000
    42.3 @@ -14,6 +14,13 @@
    42.4  DEPENDS="zlib"
    42.5  BUILD_DEPENDS="flac-dev gettext lcms-dev libogg-dev libtool zlib-dev"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   42.11 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   42.12 +}
   42.13 +
   42.14  # Rules to configure and make the package.
   42.15  compile_rules()
   42.16  {
    43.1 --- a/libffcall/receipt	Fri Jan 28 16:53:40 2022 +0100
    43.2 +++ b/libffcall/receipt	Fri Jan 28 18:19:21 2022 +0000
    43.3 @@ -14,6 +14,13 @@
    43.4  DEPENDS=""
    43.5  BUILD_DEPENDS=""
    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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/libmicrohttpd/receipt	Fri Jan 28 16:53:40 2022 +0100
    44.2 +++ b/libmicrohttpd/receipt	Fri Jan 28 18:19:21 2022 +0000
    44.3 @@ -14,6 +14,13 @@
    44.4  DEPENDS="libgcrypt libgnutls"
    44.5  BUILD_DEPENDS="gmp-dev gnutls-dev libgcrypt-dev libtasn1-dev"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   44.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   44.12 +}
   44.13 +
   44.14  # Rules to configure and make the package.
   44.15  compile_rules()
   44.16  {
    45.1 --- a/libraw1394/receipt	Fri Jan 28 16:53:40 2022 +0100
    45.2 +++ b/libraw1394/receipt	Fri Jan 28 18:19:21 2022 +0000
    45.3 @@ -11,6 +11,13 @@
    45.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    45.5  WGET_URL="https://www.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   45.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).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/libsbc/receipt	Fri Jan 28 16:53:40 2022 +0100
    46.2 +++ b/libsbc/receipt	Fri Jan 28 18:19:21 2022 +0000
    46.3 @@ -10,6 +10,13 @@
    46.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    46.5  WGET_URL="https://www.kernel.org/pub/linux/bluetooth/sbc-$VERSION.tar.xz"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   46.11 +	sed "/latest/d;/sbc-[0-9]/!d;/tar/!d;s|.*sbc-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   46.12 +}
   46.13 +
   46.14  # Rules to configure and make the package.
   46.15  compile_rules()
   46.16  {
    47.1 --- a/libsigsegv/receipt	Fri Jan 28 16:53:40 2022 +0100
    47.2 +++ b/libsigsegv/receipt	Fri Jan 28 18:19:21 2022 +0000
    47.3 @@ -13,6 +13,13 @@
    47.4  
    47.5  DEPENDS=""
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   47.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   47.12 +}
   47.13 +
   47.14  # Rules to configure and make the package.
   47.15  compile_rules()
   47.16  {
    48.1 --- a/libtool/receipt	Fri Jan 28 16:53:40 2022 +0100
    48.2 +++ b/libtool/receipt	Fri Jan 28 18:19:21 2022 +0000
    48.3 @@ -21,6 +21,13 @@
    48.4  	arm) BUILD_DEPENDS="" ;;
    48.5  esac
    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-/!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/m4/receipt	Fri Jan 28 16:53:40 2022 +0100
    49.2 +++ b/m4/receipt	Fri Jan 28 18:19:21 2022 +0000
    49.3 @@ -16,6 +16,13 @@
    49.4  
    49.5  HOST_ARCH="i486 arm"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   49.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   49.12 +}
   49.13 +
   49.14  # Rules to configure and make the package.
   49.15  compile_rules()
   49.16  {
    50.1 --- a/make/receipt	Fri Jan 28 16:53:40 2022 +0100
    50.2 +++ b/make/receipt	Fri Jan 28 18:19:21 2022 +0000
    50.3 @@ -16,6 +16,13 @@
    50.4  
    50.5  HOST_ARCH="i486 arm x86_64"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   50.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   50.12 +}
   50.13 +
   50.14  # Rules to configure and make the package.
   50.15  compile_rules()
   50.16  {
    51.1 --- a/man-pages/receipt	Fri Jan 28 16:53:40 2022 +0100
    51.2 +++ b/man-pages/receipt	Fri Jan 28 18:19:21 2022 +0000
    51.3 @@ -11,6 +11,13 @@
    51.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    51.5  WGET_URL="https://www.kernel.org/pub/linux/docs/man-pages/$TARBALL"
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   51.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   51.12 +}
   51.13 +
   51.14  # Rules to configure and make the package.
   51.15  compile_rules()
   51.16  {
    52.1 --- a/module-init-tools/receipt	Fri Jan 28 16:53:40 2022 +0100
    52.2 +++ b/module-init-tools/receipt	Fri Jan 28 18:19:21 2022 +0000
    52.3 @@ -13,6 +13,13 @@
    52.4  DEPENDS="glibc-base gcc-lib-base zlib lzlib depmod"
    52.5  BUILD_DEPENDS="wget zlib-dev lzlib-dev lzlib"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   52.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {
    53.1 --- a/mpc-library/receipt	Fri Jan 28 16:53:40 2022 +0100
    53.2 +++ b/mpc-library/receipt	Fri Jan 28 18:19:21 2022 +0000
    53.3 @@ -17,6 +17,13 @@
    53.4  
    53.5  HOST_ARCH="i486 arm"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   53.11 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   53.12 +}
   53.13 +
   53.14  compile_rules()
   53.15  {
   53.16  	./configure $CONFIGURE_ARGS &&
    54.1 --- a/mtools/receipt	Fri Jan 28 16:53:40 2022 +0100
    54.2 +++ b/mtools/receipt	Fri Jan 28 18:19:21 2022 +0000
    54.3 @@ -14,6 +14,13 @@
    54.4  DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp"
    54.5  BUILD_DEPENDS="texinfo"
    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-/!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/obexd/receipt	Fri Jan 28 16:53:40 2022 +0100
    55.2 +++ b/obexd/receipt	Fri Jan 28 18:19:21 2022 +0000
    55.3 @@ -14,6 +14,13 @@
    55.4  DEPENDS="bluez libusb libical glib dbus"
    55.5  BUILD_DEPENDS="wget bluez-dev libusb-dev libical-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-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   55.12 +}
   55.13 +
   55.14  # Rules to configure and make the package.
   55.15  compile_rules()
   55.16  {
    56.1 --- a/osip/receipt	Fri Jan 28 16:53:40 2022 +0100
    56.2 +++ b/osip/receipt	Fri Jan 28 18:19:21 2022 +0000
    56.3 @@ -12,6 +12,13 @@
    56.4  TARBALL="$SOURCE-$VERSION.tar.gz"
    56.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    56.6  
    56.7 +# What is the latest version available today?
    56.8 +current_version()
    56.9 +{
   56.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   56.11 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   56.12 +}
   56.13 +
   56.14  # Rules to configure and make the package.
   56.15  compile_rules()
   56.16  {
    57.1 --- a/parallel/receipt	Fri Jan 28 16:53:40 2022 +0100
    57.2 +++ b/parallel/receipt	Fri Jan 28 18:19:21 2022 +0000
    57.3 @@ -12,6 +12,13 @@
    57.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    57.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   57.11 +	sed "/latest/d;/$PACKAGE-/!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/patch/receipt	Fri Jan 28 16:53:40 2022 +0100
    58.2 +++ b/patch/receipt	Fri Jan 28 18:19:21 2022 +0000
    58.3 @@ -13,6 +13,13 @@
    58.4  
    58.5  HOST_ARCH="i486 arm"
    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-/!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/pem/receipt	Fri Jan 28 16:53:40 2022 +0100
    59.2 +++ b/pem/receipt	Fri Jan 28 18:19:21 2022 +0000
    59.3 @@ -13,6 +13,13 @@
    59.4  DEPENDS="perl"
    59.5  BUILD_DEPENDS="perl"
    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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   59.12 +}
   59.13 +
   59.14  # Rules to configure and make the package.
   59.15  compile_rules()
   59.16  {
    60.1 --- a/rcs/receipt	Fri Jan 28 16:53:40 2022 +0100
    60.2 +++ b/rcs/receipt	Fri Jan 28 18:19:21 2022 +0000
    60.3 @@ -15,6 +15,13 @@
    60.4  DEPENDS="diffutils"
    60.5  BUILD_DEPENDS="diffutils ed"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   60.11 +	sed "/latest/d;/$PACKAGE-/!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/rfkill/receipt	Fri Jan 28 16:53:40 2022 +0100
    61.2 +++ b/rfkill/receipt	Fri Jan 28 18:19:21 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  
    61.5  BUILD_DEPENDS="wget"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   61.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   61.12 +}
   61.13 +
   61.14  # Rules to configure and make the package.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/screen-pam/receipt	Fri Jan 28 16:53:40 2022 +0100
    62.2 +++ b/screen-pam/receipt	Fri Jan 28 18:19:21 2022 +0000
    62.3 @@ -19,6 +19,13 @@
    62.4  DEPENDS="elfutils pam"
    62.5  BUILD_DEPENDS="ncursesw-extra texinfo"
    62.6  
    62.7 +# What is the latest version available today?
    62.8 +current_version()
    62.9 +{
   62.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   62.11 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   62.12 +}
   62.13 +
   62.14  # Rules to configure and make the package.
   62.15  compile_rules()
   62.16  {
    63.1 --- a/screen/receipt	Fri Jan 28 16:53:40 2022 +0100
    63.2 +++ b/screen/receipt	Fri Jan 28 18:19:21 2022 +0000
    63.3 @@ -17,6 +17,13 @@
    63.4  DEPENDS="elfutils"
    63.5  BUILD_DEPENDS="ncursesw-extra texinfo"
    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-/!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/sed/receipt	Fri Jan 28 16:53:40 2022 +0100
    64.2 +++ b/sed/receipt	Fri Jan 28 18:19:21 2022 +0000
    64.3 @@ -15,6 +15,13 @@
    64.4  
    64.5  HOST_ARCH="i486 arm"
    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 "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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/sharutils/receipt	Fri Jan 28 16:53:40 2022 +0100
    65.2 +++ b/sharutils/receipt	Fri Jan 28 18:19:21 2022 +0000
    65.3 @@ -11,6 +11,13 @@
    65.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    65.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   65.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   65.12 +}
   65.13 +
   65.14  # Rules to configure and make the package.
   65.15  compile_rules()
   65.16  {
    66.1 --- a/tar/receipt	Fri Jan 28 16:53:40 2022 +0100
    66.2 +++ b/tar/receipt	Fri Jan 28 18:19:21 2022 +0000
    66.3 @@ -16,6 +16,13 @@
    66.4  
    66.5  HOST_ARCH="i486 arm"
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   66.11 +	sed "/latest/d;/tar..z/!d;/$PACKAGE-/!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/texinfo/receipt	Fri Jan 28 16:53:40 2022 +0100
    67.2 +++ b/texinfo/receipt	Fri Jan 28 18:19:21 2022 +0000
    67.3 @@ -14,6 +14,13 @@
    67.4  DEPENDS="ncurses"
    67.5  BUILD_DEPENDS="ncurses-dev"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   67.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   67.12 +}
   67.13 +
   67.14  # Rules to compile & install the temporary toolchain by Tazwok.
   67.15  cook_tmp_toolchain()
   67.16  {
    68.1 --- a/units/receipt	Fri Jan 28 16:53:40 2022 +0100
    68.2 +++ b/units/receipt	Fri Jan 28 18:19:21 2022 +0000
    68.3 @@ -15,6 +15,13 @@
    68.4  DEPENDS="ncurses readline"
    68.5  BUILD_DEPENDS="ncurses-dev readline-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-/!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/wget/receipt	Fri Jan 28 16:53:40 2022 +0100
    69.2 +++ b/wget/receipt	Fri Jan 28 18:19:21 2022 +0000
    69.3 @@ -23,6 +23,13 @@
    69.4  	arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
    69.5  esac
    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-/!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/which/receipt	Fri Jan 28 16:53:40 2022 +0100
    70.2 +++ b/which/receipt	Fri Jan 28 18:19:21 2022 +0000
    70.3 @@ -13,6 +13,13 @@
    70.4  
    70.5  DEPENDS="glibc-base"
    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-/!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/xfsprogs/receipt	Fri Jan 28 16:53:40 2022 +0100
    71.2 +++ b/xfsprogs/receipt	Fri Jan 28 18:19:21 2022 +0000
    71.3 @@ -15,6 +15,13 @@
    71.4  BUILD_DEPENDS="e2fsprogs-dev gettext libdevmapper-dev libtool 
    71.5  	util-linux-blkid-dev util-linux-uuid-dev"
    71.6  
    71.7 +# What is the latest version available today?
    71.8 +current_version()
    71.9 +{
   71.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   71.11 +	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   71.12 +}
   71.13 +
   71.14  # Rules to configure and make the package.
   71.15  compile_rules()
   71.16  {