wok rev 24402

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 16:59:06 2022 +0000 (2022-02-08)
parents f2701f2b47f2
children 932cd974e081
files cadaver/receipt cairo-clock/receipt cairo-dock/receipt cairo-gl/receipt ccid/receipt cgames/receipt mailsync/receipt mailx/receipt matio/receipt maxima/receipt mdbtools/receipt mfstool/receipt mhash/receipt mikmod/receipt mingw32-binutils/receipt mingw32-gcc-c/receipt mingw32-gcc/receipt mingw32-runtime-headers/receipt mingw32-runtime/receipt mingw32-w32api-headers/receipt mingw32-w32api/receipt minidlna/receipt mjpegtools/receipt moonshiner/receipt mp3gain/receipt mp3val/receipt mrxvt/receipt ms-sys/receipt mscore/receipt mt-daapd/receipt mtop/receipt muninlite/receipt mygestures/receipt n2nc/receipt nagios-nsca/receipt nagios/receipt nail/receipt nanoshot/receipt navit/receipt nbd/receipt nconf/receipt ndiswrapper-driver/receipt ndiswrapper-driver64/receipt ndoutils/receipt net-snmp/receipt netatalk-pam/receipt netatalk/receipt nethack/receipt netrik/receipt nfs-utils/receipt ninvaders/receipt njconnect/receipt nmon/receipt nomacs/receipt notecase/receipt npush/receipt ntlmaps/receipt
line diff
     1.1 --- a/cadaver/receipt	Tue Feb 08 17:05:29 2022 +0100
     1.2 +++ b/cadaver/receipt	Tue Feb 08 16:59:06 2022 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  DEPENDS="openssl libkrb5 krb5 expat neon readline zlib libcomerr3"
     1.5  BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev readline-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/cairo-clock/receipt	Tue Feb 08 17:05:29 2022 +0100
     2.2 +++ b/cairo-clock/receipt	Tue Feb 08 16:59:06 2022 +0000
     2.3 @@ -15,6 +15,13 @@
     2.4  BUILD_DEPENDS="intltool gtk+ cairo-dev librsvg-dev libglade-dev libgsf-dev \
     2.5  libcroco gcc3"
     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 "/${PACKAGE}_/!d;/orig/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|;q"
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/cairo-dock/receipt	Tue Feb 08 17:05:29 2022 +0100
     3.2 +++ b/cairo-dock/receipt	Tue Feb 08 16:59:06 2022 +0000
     3.3 @@ -16,6 +16,13 @@
     3.4  BUILD_DEPENDS="cairo-dev cmake curl-dev dbus-dev dbus-glib-dev gtk+3-dev 
     3.5  	gtkglext-dev libcroco librsvg-dev libxml2-dev mesa-dev wayland-dev"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://launchpad.net/cairo-dock-core/ 2>/dev/null | \
    3.11 +	sed '/Latest version/!d;s|.* is ||'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/cairo-gl/receipt	Tue Feb 08 17:05:29 2022 +0100
     4.2 +++ b/cairo-gl/receipt	Tue Feb 08 16:59:06 2022 +0000
     4.3 @@ -23,6 +23,13 @@
     4.4  SPLIT="cairo-gl-tools"
     4.5  SIBLINGS="cairo"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    4.11 +	sed "/\"$SOURCE-/!d;/5c/d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/ccid/receipt	Tue Feb 08 17:05:29 2022 +0100
     5.2 +++ b/ccid/receipt	Tue Feb 08 16:59:06 2022 +0000
     5.3 @@ -14,6 +14,13 @@
     5.4  DEPENDS="gcc83-lib-base libusb pcsc-lite"
     5.5  BUILD_DEPENDS="gcc83 libusb-dev pcsc-lite-dev"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - ${WEB_SITE}files 2>/dev/null | \
    5.11 +	sed '/ccid-/!d;s|.*ccid-||;s|.tar.*||' | sort -Vr | sed q
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/cgames/receipt	Tue Feb 08 17:05:29 2022 +0100
     6.2 +++ b/cgames/receipt	Tue Feb 08 16:59:06 2022 +0000
     6.3 @@ -14,6 +14,13 @@
     6.4  DEPENDS="ncurses"
     6.5  BUILD_DEPENDS="ncurses-dev"
     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 '/cgames-/!d;s|.*cgames-||;s|.tar.*||' | sort -Vr | sed q
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/mailsync/receipt	Tue Feb 08 17:05:29 2022 +0100
     7.2 +++ b/mailsync/receipt	Tue Feb 08 16:59:06 2022 +0000
     7.3 @@ -17,6 +17,14 @@
     7.4  DEPENDS="libssl"
     7.5  BUILD_DEPENDS="c-client openssl-dev bash"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://sourceforge.net/projects/mailsync/files/mailsync/ 2>/dev/null | \
    7.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    7.12 +	sed '/scope="row/!d;s|.*/mailsync/||;s|/.*||;q'
    7.13 +}
    7.14 +
    7.15  # Rules to configure and make the package.
    7.16  compile_rules()
    7.17  {
     8.1 --- a/mailx/receipt	Tue Feb 08 17:05:29 2022 +0100
     8.2 +++ b/mailx/receipt	Tue Feb 08 16:59:06 2022 +0000
     8.3 @@ -12,6 +12,14 @@
     8.4  
     8.5  DEPENDS="sendmail"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \
    8.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    8.12 +	sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q'
    8.13 +}
    8.14 +
    8.15  # Rules to configure and make the package.
    8.16  compile_rules()
    8.17  {
     9.1 --- a/matio/receipt	Tue Feb 08 17:05:29 2022 +0100
     9.2 +++ b/matio/receipt	Tue Feb 08 16:59:06 2022 +0000
     9.3 @@ -13,6 +13,14 @@
     9.4  
     9.5  DEPENDS="zlib"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://sourceforge.net/projects/matio/files/matio/ 2>/dev/null | \
    9.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.12 +	sed '/scope="row/!d;s|.*/matio/||;s|/.*||;q'
    9.13 +}
    9.14 +
    9.15  # Rules to configure and make the package.
    9.16  compile_rules()
    9.17  {
    10.1 --- a/maxima/receipt	Tue Feb 08 17:05:29 2022 +0100
    10.2 +++ b/maxima/receipt	Tue Feb 08 16:59:06 2022 +0000
    10.3 @@ -13,6 +13,14 @@
    10.4  DEPENDS="tk rlwrap"
    10.5  BUILD_DEPENDS="clisp texinfo"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://sourceforge.net/projects/maxima/files/Maxima-source/ 2>/dev/null | \
   10.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   10.12 +	sed '/scope="row/!d;s|.*/Maxima-source/||;s|-source/.*||;q'
   10.13 +}
   10.14 +
   10.15  # Rules to configure and make the package.
   10.16  compile_rules()
   10.17  {
    11.1 --- a/mdbtools/receipt	Tue Feb 08 17:05:29 2022 +0100
    11.2 +++ b/mdbtools/receipt	Tue Feb 08 16:59:06 2022 +0000
    11.3 @@ -13,6 +13,14 @@
    11.4  DEPENDS="ncurses readline glib libunixODBC libltdl"
    11.5  BUILD_DEPENDS="bison flex unixODBC-dev glib-dev readline-dev"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - https://sourceforge.net/projects/mdbtools/files/mdbtools/ 2>/dev/null | \
   11.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.12 +	sed '/scope="row/!d;s|.*/mdbtools/||;s|/.*||;q'
   11.13 +}
   11.14 +
   11.15  # Rules to configure and make the package.
   11.16  compile_rules()
   11.17  {
    12.1 --- a/mfstool/receipt	Tue Feb 08 17:05:29 2022 +0100
    12.2 +++ b/mfstool/receipt	Tue Feb 08 16:59:06 2022 +0000
    12.3 @@ -10,6 +10,14 @@
    12.4  WEB_SITE="http://mfstool.sourceforge.net/"
    12.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://sourceforge.net/projects/mfstool/files/mfstool/ 2>/dev/null | \
   12.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   12.12 +	sed '/scope="row/!d;s|.*/mfstool/||;s|/.*||;s|-||;q'
   12.13 +}
   12.14 +
   12.15  # Rules to configure and make the package.
   12.16  compile_rules()
   12.17  {
    13.1 --- a/mhash/receipt	Tue Feb 08 17:05:29 2022 +0100
    13.2 +++ b/mhash/receipt	Tue Feb 08 16:59:06 2022 +0000
    13.3 @@ -10,6 +10,14 @@
    13.4  WEB_SITE="http://mhash.sourceforge.net/"
    13.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://sourceforge.net/projects/mhash/files/mhash/ 2>/dev/null | \
   13.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   13.12 +	sed '/scope="row/!d;s|.*/mhash/||;s|/.*||;q'
   13.13 +}
   13.14 +
   13.15  # Rules to configure and make the package.
   13.16  compile_rules()
   13.17  {
    14.1 --- a/mikmod/receipt	Tue Feb 08 17:05:29 2022 +0100
    14.2 +++ b/mikmod/receipt	Tue Feb 08 16:59:06 2022 +0000
    14.3 @@ -14,6 +14,14 @@
    14.4  DEPENDS="libmikmod ncurses"
    14.5  BUILD_DEPENDS="libmikmod-dev ncurses-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://sourceforge.net/projects/mikmod/files/mikmod/ 2>/dev/null | \
   14.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   14.12 +	sed '/scope="row/!d;s|.*/mikmod/||;s|/.*||;q'
   14.13 +}
   14.14 +
   14.15  # Rules to configure and make the package.
   14.16  compile_rules()
   14.17  {
    15.1 --- a/mingw32-binutils/receipt	Tue Feb 08 17:05:29 2022 +0100
    15.2 +++ b/mingw32-binutils/receipt	Tue Feb 08 16:59:06 2022 +0000
    15.3 @@ -20,6 +20,14 @@
    15.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    15.5  fi
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/binutils/ 2>/dev/null | \
   15.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   15.12 +	sed '/scope="row/!d;s|.*/binutils-||;s|/.*||;q'
   15.13 +}
   15.14 +
   15.15  # Rules to configure and make the package.
   15.16  compile_rules()
   15.17  {
    16.1 --- a/mingw32-gcc-c/receipt	Tue Feb 08 17:05:29 2022 +0100
    16.2 +++ b/mingw32-gcc-c/receipt	Tue Feb 08 16:59:06 2022 +0000
    16.3 @@ -22,6 +22,14 @@
    16.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    16.5  fi
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/ 2>/dev/null | \
   16.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   16.12 +	sed '/scope="row/!d;s|.*/gcc-||;s|/.*||;q'
   16.13 +}
   16.14 +
   16.15  # Rules to configure and make the package.
   16.16  compile_rules()
   16.17  {
    17.1 --- a/mingw32-gcc/receipt	Tue Feb 08 17:05:29 2022 +0100
    17.2 +++ b/mingw32-gcc/receipt	Tue Feb 08 16:59:06 2022 +0000
    17.3 @@ -27,6 +27,14 @@
    17.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    17.5  fi
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/gcc/ 2>/dev/null | \
   17.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   17.12 +	sed '/scope="row/!d;s|.*/gcc-||;s|/.*||;q'
   17.13 +}
   17.14 +
   17.15  # Rules to configure and make the package.
   17.16  compile_rules()
   17.17  {
    18.1 --- a/mingw32-runtime-headers/receipt	Tue Feb 08 17:05:29 2022 +0100
    18.2 +++ b/mingw32-runtime-headers/receipt	Tue Feb 08 16:59:06 2022 +0000
    18.3 @@ -19,6 +19,14 @@
    18.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    18.5  fi
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \
   18.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   18.12 +	sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q'
   18.13 +}
   18.14 +
   18.15  # Rules to configure and make the package.
   18.16  compile_rules()
   18.17  {
    19.1 --- a/mingw32-runtime/receipt	Tue Feb 08 17:05:29 2022 +0100
    19.2 +++ b/mingw32-runtime/receipt	Tue Feb 08 16:59:06 2022 +0000
    19.3 @@ -20,6 +20,14 @@
    19.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    19.5  fi
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/mingwrt/ 2>/dev/null | \
   19.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   19.12 +	sed '/scope="row/!d;s|.*/mingwrt-||;s|-src.*||;q'
   19.13 +}
   19.14 +
   19.15  # Rules to configure and make the package.
   19.16  compile_rules()
   19.17  {
    20.1 --- a/mingw32-w32api-headers/receipt	Tue Feb 08 17:05:29 2022 +0100
    20.2 +++ b/mingw32-w32api-headers/receipt	Tue Feb 08 16:59:06 2022 +0000
    20.3 @@ -19,6 +19,14 @@
    20.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    20.5  fi
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/ 2>/dev/null | \
   20.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   20.12 +	sed '/scope="row/!d;s|.*/w32api-||;s|-src.*||;q'
   20.13 +}
   20.14 +
   20.15  # Rules to configure and make the package.
   20.16  compile_rules()
   20.17  {
    21.1 --- a/mingw32-w32api/receipt	Tue Feb 08 17:05:29 2022 +0100
    21.2 +++ b/mingw32-w32api/receipt	Tue Feb 08 16:59:06 2022 +0000
    21.3 @@ -20,6 +20,14 @@
    21.4  	. $WOK/mingw32-toolchain/stuff/mingw32.conf
    21.5  fi
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://sourceforge.net/projects/mingw/files/MinGW/Base/w32api/ 2>/dev/null | \
   21.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   21.12 +	sed '/scope="row/!d;s|.*/w32api-||;s|-src.*||;q'
   21.13 +}
   21.14 +
   21.15  # Rules to configure and make the package.
   21.16  compile_rules()
   21.17  {
    22.1 --- a/minidlna/receipt	Tue Feb 08 17:05:29 2022 +0100
    22.2 +++ b/minidlna/receipt	Tue Feb 08 16:59:06 2022 +0000
    22.3 @@ -16,6 +16,14 @@
    22.4  	libid3tag-dev libogg-dev libvorbis-dev sqlite-dev"
    22.5  CONFIG_FILES="/etc/minidlna.conf"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - https://sourceforge.net/projects/minidlna/files/minidlna/ 2>/dev/null | \
   22.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   22.12 +	sed '/scope="row/!d;s|.*/minidlna/||;s|/.*||;q'
   22.13 +}
   22.14 +
   22.15  # Rules to configure and make the package.
   22.16  compile_rules()
   22.17  {
    23.1 --- a/mjpegtools/receipt	Tue Feb 08 17:05:29 2022 +0100
    23.2 +++ b/mjpegtools/receipt	Tue Feb 08 16:59:06 2022 +0000
    23.3 @@ -17,6 +17,14 @@
    23.4  	xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXdamage"
    23.5  BUILD_DEPENDS="$DEPENDS libdv-dev libsdl-gfx-dev jpeg-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://sourceforge.net/projects/mjpeg/files/mjpegtools/ 2>/dev/null | \
   23.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   23.12 +	sed '/scope="row/!d;s|.*/mjpegtools/||;s|/.*||;q'
   23.13 +}
   23.14 +
   23.15  # Rules to configure and make the package.
   23.16  compile_rules()
   23.17  {
    24.1 --- a/moonshiner/receipt	Tue Feb 08 17:05:29 2022 +0100
    24.2 +++ b/moonshiner/receipt	Tue Feb 08 16:59:06 2022 +0000
    24.3 @@ -13,6 +13,14 @@
    24.4  DEPENDS="python pygtk ghostscript"
    24.5  BUILD_DEPENDS="python-dev pygtk-dev"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - https://sourceforge.net/projects/moonshiner/files/moonshiner/ 2>/dev/null | \
   24.11 +	sed '/scope="row/!d;/snapshot/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   24.12 +	sed '/scope="row/!d;s|.*/moonshiner/||;s|/.*||;q'
   24.13 +}
   24.14 +
   24.15  # Rules to configure and make the package.
   24.16  compile_rules()
   24.17  {
    25.1 --- a/mp3gain/receipt	Tue Feb 08 17:05:29 2022 +0100
    25.2 +++ b/mp3gain/receipt	Tue Feb 08 16:59:06 2022 +0000
    25.3 @@ -14,6 +14,14 @@
    25.4  DEPENDS="mpg123"
    25.5  BUILD_DEPENDS="mpg123-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - https://sourceforge.net/projects/mp3gain/files/mp3gain/ 2>/dev/null | \
   25.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   25.12 +	sed '/scope="row/!d;s|.*/mp3gain/||;s|/.*||;q'
   25.13 +}
   25.14 +
   25.15  # Rules to configure and make the package.
   25.16  compile_rules()
   25.17  {
    26.1 --- a/mp3val/receipt	Tue Feb 08 17:05:29 2022 +0100
    26.2 +++ b/mp3val/receipt	Tue Feb 08 16:59:06 2022 +0000
    26.3 @@ -13,6 +13,14 @@
    26.4  DEPENDS=""
    26.5  BUILD_DEPENDS=""
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - https://sourceforge.net/projects/mp3val/files/mp3val/ 2>/dev/null | \
   26.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   26.12 +	sed '/scope="row/!d;s|.*/mp3val/mp3val%20||;s|/.*||;q'
   26.13 +}
   26.14 +
   26.15  # Rules to configure and make the package.
   26.16  compile_rules()
   26.17  {
    27.1 --- a/mrxvt/receipt	Tue Feb 08 17:05:29 2022 +0100
    27.2 +++ b/mrxvt/receipt	Tue Feb 08 16:59:06 2022 +0000
    27.3 @@ -17,6 +17,14 @@
    27.4  	xorg-libXft xorg-libXpm xorg-libXrender zlib"
    27.5  BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev xorg-dev"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - 'https://sourceforge.net/projects/materm/files/mrxvt source/' 2>/dev/null | \
   27.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   27.12 +	sed '/scope="row/!d;s|.*source/||;s|/.*||;q'
   27.13 +}
   27.14 +
   27.15  # Rules to configure and make the package.
   27.16  compile_rules()
   27.17  {
    28.1 --- a/ms-sys/receipt	Tue Feb 08 17:05:29 2022 +0100
    28.2 +++ b/ms-sys/receipt	Tue Feb 08 16:59:06 2022 +0000
    28.3 @@ -14,6 +14,14 @@
    28.4  DEPENDS=""
    28.5  BUILD_DEPENDS="gettext"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - 'https://sourceforge.net/projects/ms-sys/files/ms-sys stable/' 2>/dev/null | \
   28.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   28.12 +	sed '/scope="row/!d;s|.*stable/||;s|/.*||;q'
   28.13 +}
   28.14 +
   28.15  # Rules to configure and make the package.
   28.16  compile_rules()
   28.17  {
    29.1 --- a/mscore/receipt	Tue Feb 08 17:05:29 2022 +0100
    29.2 +++ b/mscore/receipt	Tue Feb 08 16:59:06 2022 +0000
    29.3 @@ -16,6 +16,14 @@
    29.4  BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \
    29.5  libsndfile-dev freetype-dev"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - https://sourceforge.net/projects/mscore/files/mscore/ 2>/dev/null | \
   29.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   29.12 +	sed '/scope="row/!d;s|.*Score-||;s|/.*||;q'
   29.13 +}
   29.14 +
   29.15  # Rules to configure and make the package.
   29.16  compile_rules()
   29.17  {
    30.1 --- a/mt-daapd/receipt	Tue Feb 08 17:05:29 2022 +0100
    30.2 +++ b/mt-daapd/receipt	Tue Feb 08 16:59:06 2022 +0000
    30.3 @@ -14,6 +14,14 @@
    30.4  DEPENDS="gdbm libid3tag zlib"
    30.5  BUILD_DEPENDS="gdbm-dev libid3tag-dev glib"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - https://sourceforge.net/projects/mt-daapd/files/mt-daapd/ 2>/dev/null | \
   30.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   30.12 +	sed '/scope="row/!d;s|.*/mt-daapd/||;s|/.*||;q'
   30.13 +}
   30.14 +
   30.15  # Rules to configure and make the package.
   30.16  #
   30.17  compile_rules()
    31.1 --- a/mtop/receipt	Tue Feb 08 17:05:29 2022 +0100
    31.2 +++ b/mtop/receipt	Tue Feb 08 16:59:06 2022 +0000
    31.3 @@ -13,6 +13,14 @@
    31.4  DEPENDS="perl-curses perl-dbd-mysql"
    31.5  BUILD_DEPENDS="perl-curses perl-dbd-mysql"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - https://sourceforge.net/projects/mtop/files/mtop/ 2>/dev/null | \
   31.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   31.12 +	sed '/scope="row/!d;s|.*/mtop/v||;s|/.*||;q'
   31.13 +}
   31.14 +
   31.15  # Rules to configure and make the package.
   31.16  compile_rules()
   31.17  {
    32.1 --- a/muninlite/receipt	Tue Feb 08 17:05:29 2022 +0100
    32.2 +++ b/muninlite/receipt	Tue Feb 08 16:59:06 2022 +0000
    32.3 @@ -12,6 +12,14 @@
    32.4  
    32.5  BUILD_DEPENDS="perl"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - 'https://sourceforge.net/projects/muninlite/files/muninlite - stable/' 2>/dev/null | \
   32.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   32.12 +	sed '/scope="row/!d;s|.*stable/||;s|/.*||;q'
   32.13 +}
   32.14 +
   32.15  # Rules to configure and make the package.
   32.16  compile_rules()
   32.17  {
    33.1 --- a/mygestures/receipt	Tue Feb 08 17:05:29 2022 +0100
    33.2 +++ b/mygestures/receipt	Tue Feb 08 16:59:06 2022 +0000
    33.3 @@ -16,6 +16,14 @@
    33.4  
    33.5  HOST_ARCH="i486 arm"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - https://sourceforge.net/projects/mygestures/files/mygestures/ 2>/dev/null | \
   33.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   33.12 +	sed '/scope="row/!d;s|.*/mygestures/||;s|/.*||;q'
   33.13 +}
   33.14 +
   33.15  # Rules to configure and make the package.
   33.16  compile_rules()
   33.17  {
    34.1 --- a/n2nc/receipt	Tue Feb 08 17:05:29 2022 +0100
    34.2 +++ b/n2nc/receipt	Tue Feb 08 16:59:06 2022 +0000
    34.3 @@ -13,6 +13,13 @@
    34.4  DEPENDS="zlib libcrypto gcc-lib-base"
    34.5  BUILD_DEPENDS="bash openssl-dev bzip2-dev zlib-dev automake autoconf libtool"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - https://sourceforge.net/projects/n2nc/files/n2nc/ 2>/dev/null | \
   34.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   34.12 +	sed '/scope="row/!d;s|.*/n2nc/||;s|/.*||;s|-|_|;q'
   34.13 +}
   34.14  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/nagios-nsca/receipt	Tue Feb 08 17:05:29 2022 +0100
    35.2 +++ b/nagios-nsca/receipt	Tue Feb 08 16:59:06 2022 +0000
    35.3 @@ -16,6 +16,14 @@
    35.4  BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
    35.5  DEPENDS="libmcrypt"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \
   35.11 +	sed '/scope="row/!d;/nsca-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   35.12 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   35.13 +	sed '/scope="row/!d;s|.*/nsca-||;s|.tar.*||;q'
   35.14 +}
   35.15  # Rules to configure and make the package.
   35.16  compile_rules()
   35.17  {
    36.1 --- a/nagios/receipt	Tue Feb 08 17:05:29 2022 +0100
    36.2 +++ b/nagios/receipt	Tue Feb 08 16:59:06 2022 +0000
    36.3 @@ -16,6 +16,15 @@
    36.4  BUILD_DEPENDS="jpeg-dev libgd-dev libpng-dev libtool procps unzip"
    36.5  # busybox ps and unzip do not supply the required options
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \
   36.11 +	sed '/scope="row/!d;/nagios-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   36.12 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   36.13 +	sed '/scope="row/!d;s|.*/nagios-||;s|.tar.*||;q'
   36.14 +}
   36.15 +
   36.16  # Rules to configure and make the package.
   36.17  compile_rules()
   36.18  {
    37.1 --- a/nail/receipt	Tue Feb 08 17:05:29 2022 +0100
    37.2 +++ b/nail/receipt	Tue Feb 08 16:59:06 2022 +0000
    37.3 @@ -16,6 +16,14 @@
    37.4  DEPENDS="openssl"
    37.5  BUILD_DEPENDS="openssl-dev"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - https://sourceforge.net/projects/heirloom/files/heirloom-mailx/ 2>/dev/null | \
   37.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   37.12 +	sed '/scope="row/!d;s|.*/heirloom-mailx/||;s|/.*||;q'
   37.13 +}
   37.14 +
   37.15  # Rules to configure and make the package.
   37.16  compile_rules()
   37.17  {
    38.1 --- a/nanoshot/receipt	Tue Feb 08 17:05:29 2022 +0100
    38.2 +++ b/nanoshot/receipt	Tue Feb 08 16:59:06 2022 +0000
    38.3 @@ -15,6 +15,14 @@
    38.4  BUILD_DEPENDS="xdg-utils python pygobject pygtk pycurl gnome-python-desktop \
    38.5  dbus-python python-pil bash sed"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - https://sourceforge.net/projects/nanoshot/files/ 2>/dev/null | \
   38.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   38.12 +	sed '/scope="row/!d;s|.*/nanoshot-||;s|.tar.*||;q'
   38.13 +}
   38.14 +
   38.15  # Rules to configure and make the package.
   38.16  compile_rules()
   38.17  {
    39.1 --- a/navit/receipt	Tue Feb 08 17:05:29 2022 +0100
    39.2 +++ b/navit/receipt	Tue Feb 08 16:59:06 2022 +0000
    39.3 @@ -17,6 +17,13 @@
    39.4  libsdl-image-dev freetype-dev fribidi-dev imlib2-dev postgresql-dev \
    39.5  xorg-libXi-dev openssl-dev"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - https://sourceforge.net/projects/navit/files/ 2>/dev/null | \
   39.11 +	sed '/scope="row/!d;s|.*/files/v\.*||;s|/.*||;q'
   39.12 +}
   39.13 +
   39.14  # Rules to configure and make the package.
   39.15  compile_rules()
   39.16  {
    40.1 --- a/nbd/receipt	Tue Feb 08 17:05:29 2022 +0100
    40.2 +++ b/nbd/receipt	Tue Feb 08 16:59:06 2022 +0000
    40.3 @@ -17,6 +17,14 @@
    40.4  
    40.5  CONFIG_FILES="/etc/nbd-server"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - https://sourceforge.net/projects/nbd/files/nbd/ 2>/dev/null | \
   40.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   40.12 +	sed '/scope="row/!d;s|.*/nbd/||;s|/.*||;q'
   40.13 +}
   40.14 +
   40.15  # Rules to configure and make the package.
   40.16  compile_rules()
   40.17  {
    41.1 --- a/nconf/receipt	Tue Feb 08 17:05:29 2022 +0100
    41.2 +++ b/nconf/receipt	Tue Feb 08 16:59:06 2022 +0000
    41.3 @@ -12,6 +12,14 @@
    41.4  
    41.5  DEPENDS="mysql php-apache nagios perl perl-dbi perl-dbd-mysql"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - https://sourceforge.net/projects/nconf/files/nconf/ 2>/dev/null | \
   41.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   41.12 +	sed '/scope="row/!d;s|.*/nconf/||;s|/.*||;q'
   41.13 +}
   41.14 +
   41.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   41.16  genpkg_rules()
   41.17  {
    42.1 --- a/ndiswrapper-driver/receipt	Tue Feb 08 17:05:29 2022 +0100
    42.2 +++ b/ndiswrapper-driver/receipt	Tue Feb 08 16:59:06 2022 +0000
    42.3 @@ -16,6 +16,13 @@
    42.4  DEPENDS="linux"
    42.5  BUILD_DEPENDS="linux-module-headers xz"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - https://sourceforge.net/projects/ndiswrapper/files/stable/ 2>/dev/null | \
   42.11 +	sed '/scope="row/!d;s|.*/ndiswrapper-||;s|.tar.*||;q'
   42.12 +}
   42.13 +
   42.14  # Rules to configure and make the package.
   42.15  compile_rules()
   42.16  {
    43.1 --- a/ndiswrapper-driver64/receipt	Tue Feb 08 17:05:29 2022 +0100
    43.2 +++ b/ndiswrapper-driver64/receipt	Tue Feb 08 16:59:06 2022 +0000
    43.3 @@ -19,6 +19,14 @@
    43.4  
    43.5  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://sourceforge.net/projects/ndiswrapper/files/stable/ 2>/dev/null | \
   43.11 +	sed '/scope="row/!d;s|.*/ndiswrapper-||;s|.tar.*||;q'
   43.12 +}
   43.13 +
   43.14 +# Rules to configure and make the package.
   43.15  # Rules to configure and make the package.
   43.16  compile_rules()
   43.17  {
    44.1 --- a/ndoutils/receipt	Tue Feb 08 17:05:29 2022 +0100
    44.2 +++ b/ndoutils/receipt	Tue Feb 08 16:59:06 2022 +0000
    44.3 @@ -16,6 +16,15 @@
    44.4  
    44.5  CONFIG_FILES="/etc/nagios"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - https://sourceforge.net/projects//nagios/files/ 2>/dev/null | \
   44.11 +	sed '/scope="row/!d;/ndoutils-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   44.12 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   44.13 +	sed '/scope="row/!d;s|.*/ndoutils-||;s|.tar.*||;q'
   44.14 +}
   44.15 +
   44.16  # Rules to configure and make the package.
   44.17  compile_rules()
   44.18  {
    45.1 --- a/net-snmp/receipt	Tue Feb 08 17:05:29 2022 +0100
    45.2 +++ b/net-snmp/receipt	Tue Feb 08 16:59:06 2022 +0000
    45.3 @@ -15,6 +15,14 @@
    45.4  DEPENDS="openssl"
    45.5  BUILD_DEPENDS="file openssl-dev perl"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - https://sourceforge.net/projects/net-snmp/files/net-snmp/ 2>/dev/null | \
   45.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   45.12 +	sed '/scope="row/!d;s|.*/net-snmp/||;s|/.*||;q'
   45.13 +}
   45.14 +
   45.15  # Rules to configure and make the package.
   45.16  compile_rules()
   45.17  {
    46.1 --- a/netatalk-pam/receipt	Tue Feb 08 17:05:29 2022 +0100
    46.2 +++ b/netatalk-pam/receipt	Tue Feb 08 16:59:06 2022 +0000
    46.3 @@ -17,6 +17,14 @@
    46.4  libwrap zlib pam libcomerr3"
    46.5  BUILD_DEPENDS="db-dev libcrypto-dev pam pam-dev file"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \
   46.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   46.12 +	sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q'
   46.13 +}
   46.14 +
   46.15  # Rules to configure and make the package.
   46.16  compile_rules()
   46.17  {
    47.1 --- a/netatalk/receipt	Tue Feb 08 17:05:29 2022 +0100
    47.2 +++ b/netatalk/receipt	Tue Feb 08 16:59:06 2022 +0000
    47.3 @@ -15,6 +15,14 @@
    47.4  libwrap zlib libcomerr3"
    47.5  BUILD_DEPENDS="db-dev libcrypto-dev file"
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - https://sourceforge.net/projects/netatalk/files/netatalk/ 2>/dev/null | \
   47.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   47.12 +	sed '/scope="row/!d;s|.*/netatalk/||;s|/.*||;q'
   47.13 +}
   47.14 +
   47.15  # Rules to configure and make the package.
   47.16  compile_rules()
   47.17  {
    48.1 --- a/nethack/receipt	Tue Feb 08 17:05:29 2022 +0100
    48.2 +++ b/nethack/receipt	Tue Feb 08 16:59:06 2022 +0000
    48.3 @@ -13,6 +13,14 @@
    48.4  DEPENDS="ncurses"
    48.5  BUILD_DEPENDS="ncurses-dev bison flex"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - https://sourceforge.net/projects/nethack/files/nethack/ 2>/dev/null | \
   48.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   48.12 +	sed '/scope="row/!d;s|.*/nethack/||;s|/.*||;q'
   48.13 +}
   48.14 +
   48.15  # Rules to configure and make the package.
   48.16  compile_rules()
   48.17  {
    49.1 --- a/netrik/receipt	Tue Feb 08 17:05:29 2022 +0100
    49.2 +++ b/netrik/receipt	Tue Feb 08 16:59:06 2022 +0000
    49.3 @@ -13,6 +13,14 @@
    49.4  DEPENDS="glibc-base ncursesw readline"
    49.5  BUILD_DEPENDS="readline-dev ncursesw-dev"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://sourceforge.net/projects/netrik/files/stable/ 2>/dev/null | \
   49.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   49.12 +	sed '/scope="row/!d;s|.*/stable/||;s|%20.*||;q'
   49.13 +}
   49.14 +
   49.15  # Rules to configure and make the package.
   49.16  compile_rules()
   49.17  {
    50.1 --- a/nfs-utils/receipt	Tue Feb 08 17:05:29 2022 +0100
    50.2 +++ b/nfs-utils/receipt	Tue Feb 08 16:59:06 2022 +0000
    50.3 @@ -31,6 +31,14 @@
    50.4  		--without-tcp-wrappers CC_FOR_BUILD=${HOST_SYSTEM}-gcc" ;;
    50.5  esac
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - https://sourceforge.net/projects/nfs/files/nfs-utils/ 2>/dev/null | \
   50.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   50.12 +	sed '/scope="row/!d;s|.*/nfs-utils/||;s|/.*||;q'
   50.13 +}
   50.14 +
   50.15  # Rules to configure and make the package.
   50.16  compile_rules()
   50.17  {
    51.1 --- a/ninvaders/receipt	Tue Feb 08 17:05:29 2022 +0100
    51.2 +++ b/ninvaders/receipt	Tue Feb 08 16:59:06 2022 +0000
    51.3 @@ -15,6 +15,14 @@
    51.4  DEPENDS="ncurses"
    51.5  BUILD_DEPENDS="ncurses-dev libtinfo"
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - https://sourceforge.net/projects/ninvaders/files/ninvaders/ 2>/dev/null | \
   51.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   51.12 +	sed '/scope="row/!d;s|.*/ninvaders/||;s|/.*||;q'
   51.13 +}
   51.14 +
   51.15  # Rules to configure and make the package.
   51.16  compile_rules()
   51.17  {
    52.1 --- a/njconnect/receipt	Tue Feb 08 17:05:29 2022 +0100
    52.2 +++ b/njconnect/receipt	Tue Feb 08 16:59:06 2022 +0000
    52.3 @@ -11,6 +11,13 @@
    52.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    52.5  WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION.tar.xz"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - https://sourceforge.net/projects/njconnect/files/ 2>/dev/null | \
   52.11 +	sed '/scope="row/!d;s|.*/njconnect-||;s|.tar.*||;q'
   52.12 +}
   52.13 +
   52.14  DEPENDS="jack-audio-connection-kit ncursesw"
   52.15  BUILD_DEPENDS="jack-audio-connection-kit-dev ncursesw ncursesw-dev"
   52.16  
    53.1 --- a/nmon/receipt	Tue Feb 08 17:05:29 2022 +0100
    53.2 +++ b/nmon/receipt	Tue Feb 08 16:59:06 2022 +0000
    53.3 @@ -14,6 +14,13 @@
    53.4  DEPENDS="ncursesw"
    53.5  BUILD_DEPENDS="glibc-base linux-api-headers ncursesw-dev"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - https://sourceforge.net/projects/nmon/files/ 2>/dev/null | \
   53.11 +	sed '/scope="row/!d;/lmon/!d;/c.down/!d;s|.*files/lmon||;s|.c/down.*||' | 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/nomacs/receipt	Tue Feb 08 17:05:29 2022 +0100
    54.2 +++ b/nomacs/receipt	Tue Feb 08 16:59:06 2022 +0000
    54.3 @@ -14,6 +14,13 @@
    54.4  BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev"
    54.5  SUGGESTED="xdg-utils qtconfig"
    54.6  
    54.7 +# What is the latest version available today?
    54.8 +current_version()
    54.9 +{
   54.10 +	wget -O - https://sourceforge.net/projects/nomacs/files/ 2>/dev/null | \
   54.11 +	sed '/scope="row/!d;s|.*/nomacs-||;s|/.*||;q'
   54.12 +}
   54.13 +
   54.14  # Rules to configure and make the package.
   54.15  compile_rules()
   54.16  {
    55.1 --- a/notecase/receipt	Tue Feb 08 17:05:29 2022 +0100
    55.2 +++ b/notecase/receipt	Tue Feb 08 16:59:06 2022 +0000
    55.3 @@ -15,6 +15,14 @@
    55.4  BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \
    55.5  pkg-config"
    55.6  
    55.7 +# What is the latest version available today?
    55.8 +current_version()
    55.9 +{
   55.10 +	wget -O - https://sourceforge.net/projects/notecase/files/notecase/ 2>/dev/null | \
   55.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   55.12 +	sed '/scope="row/!d;s|.*/notecase/||;s|/.*||;q'
   55.13 +}
   55.14 +
   55.15  # Rules to configure and make the package.
   55.16  compile_rules()
   55.17  {
    56.1 --- a/npush/receipt	Tue Feb 08 17:05:29 2022 +0100
    56.2 +++ b/npush/receipt	Tue Feb 08 16:59:06 2022 +0000
    56.3 @@ -13,6 +13,14 @@
    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 - https://sourceforge.net/projects/npush/files/npush/ 2>/dev/null | \
   56.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   56.12 +	sed '/scope="row/!d;s|.*/npush/||;s|/.*||;q'
   56.13 +}
   56.14 +
   56.15  # Rules to configure and make the package.
   56.16  compile_rules()
   56.17  {
    57.1 --- a/ntlmaps/receipt	Tue Feb 08 17:05:29 2022 +0100
    57.2 +++ b/ntlmaps/receipt	Tue Feb 08 16:59:06 2022 +0000
    57.3 @@ -14,6 +14,14 @@
    57.4  
    57.5  DEPENDS="python"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - https://sourceforge.net/projects/ntlmaps/files/ntlmaps/ 2>/dev/null | \
   57.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   57.12 +	sed '/scope="row/!d;/tar/!d;s|.*/ntlmaps-||;s|.tar.*||;q'
   57.13 +}
   57.14 +
   57.15  # Rules to configure and make the package.
   57.16  compile_rules()
   57.17  {