wok rev 24373

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 05 16:12:08 2022 +0000 (2022-02-05)
parents b0897e8bc1a4
children 318701ea94ca
files TeXmacs-windows-fonts/receipt aircrack-ng/receipt airstrike/receipt alarm-clock-applet/receipt aldo/receipt alien/receipt alpine/receipt amiwm/receipt antiword/receipt appdata-tools/receipt apr-util/receipt apr/receipt arandr/receipt arpwatch/receipt asleap/receipt asterisk-sound-fr/receipt asterisk-sound/receipt aubio/receipt audiofile/receipt audit/receipt aufs-utils/receipt autossh/receipt avant-window-navigator/receipt avatar-factory/receipt avidemux/receipt avrdude/receipt b43-fwcutter/receipt bacon/receipt balance/receipt barcode/receipt bazaar-tools/receipt bazaar/receipt bc/receipt beautifulsoup/receipt beep/receipt bin86/receipt bind/receipt bird/receipt bison/receipt blas/receipt bleachbit/receipt blktrace/receipt borgbackup/receipt bozohttpd/receipt buffer/receipt buildroot/receipt c_icap/receipt cbrpager/receipt ccd2iso/receipt celestia/receipt cgoban/receipt childsplay/receipt clucene/receipt coccinella/receipt codeblocks/receipt comical/receipt comix/receipt conky/receipt cpu-g/receipt cramfs/receipt cream/receipt cssed/receipt ctags/receipt ctorrent-dnh/receipt fftw/receipt rubberband/receipt vamp-sdk/receipt
line diff
     1.1 --- a/TeXmacs-windows-fonts/receipt	Sat Feb 05 15:15:36 2022 +0100
     1.2 +++ b/TeXmacs-windows-fonts/receipt	Sat Feb 05 16:12:08 2022 +0000
     1.3 @@ -8,10 +8,17 @@
     1.4  LICENSE="LPPL"
     1.5  TARBALL="$PACKAGE-$VERSION-noarch.tar.gz"
     1.6  WEB_SITE="http://www.texmacs.org"
     1.7 -WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL"
     1.8 +WGET_URL="http://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL"
     1.9  
    1.10  DEPENDS=""
    1.11  
    1.12 +# What is the latest version available today?
    1.13 +current_version()
    1.14 +{
    1.15 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.16 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-noarch.tar.*\".*|\\1|" | sort -Vr | sed q
    1.17 +}
    1.18 +
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
     2.1 --- a/aircrack-ng/receipt	Sat Feb 05 15:15:36 2022 +0100
     2.2 +++ b/aircrack-ng/receipt	Sat Feb 05 16:12:08 2022 +0000
     2.3 @@ -13,6 +13,12 @@
     2.4  DEPENDS="aircrack-ng-oui iw openssl sqlite zlib pylorcon"
     2.5  BUILD_DEPENDS="sqlite-dev pylorcon openssl-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 | sed 's|.*: ||'
    2.11 +}
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
     3.1 --- a/airstrike/receipt	Sat Feb 05 15:15:36 2022 +0100
     3.2 +++ b/airstrike/receipt	Sat Feb 05 16:12:08 2022 +0000
     3.3 @@ -15,6 +15,13 @@
     3.4  
     3.5  # Packaging for SliTaz by Rene Rivero.
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    3.11 +	sed '/Linux/!d;s|.*airstrike-||;s|-src.*||'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/alarm-clock-applet/receipt	Sat Feb 05 15:15:36 2022 +0100
     4.2 +++ b/alarm-clock-applet/receipt	Sat Feb 05 16:12:08 2022 +0000
     4.3 @@ -14,6 +14,13 @@
     4.4  BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer-dev GConf-dev gnome-icon-theme \
     4.5  libnotify-dev libunique-dev wget"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://github.com/joh/alarm-clock/tags 2>/dev/null | \
    4.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/aldo/receipt	Sat Feb 05 15:15:36 2022 +0100
     5.2 +++ b/aldo/receipt	Sat Feb 05 16:12:08 2022 +0000
     5.3 @@ -13,6 +13,13 @@
     5.4  DEPENDS="libao"
     5.5  BUILD_DEPENDS="libao-dev"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    5.11 +	sed "/atest/!d;/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)<.*|\\1|"
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/alien/receipt	Sat Feb 05 15:15:36 2022 +0100
     6.2 +++ b/alien/receipt	Sat Feb 05 16:12:08 2022 +0000
     6.3 @@ -14,6 +14,13 @@
     6.4  DEPENDS="perl rpm4 cpio"
     6.5  BUILD_DEPENDS=""
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - https://sourceforge.net/projects/alien-pkg-convert/files/release/ 2>/dev/null | \
    6.11 +	sed '/scope="row/!d;s|.*/alien_||;s|.tar.*||;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/alpine/receipt	Sat Feb 05 15:15:36 2022 +0100
     7.2 +++ b/alpine/receipt	Sat Feb 05 16:12:08 2022 +0000
     7.3 @@ -17,6 +17,13 @@
     7.4  
     7.5  #HOST_ARCH="i486 arm"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    7.11 +	sed '/Release version /!d;s|.*version ||;s|<.*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/amiwm/receipt	Sat Feb 05 15:15:36 2022 +0100
     8.2 +++ b/amiwm/receipt	Sat Feb 05 16:12:08 2022 +0000
     8.3 @@ -9,12 +9,19 @@
     8.4  WEB_SITE="http://www.lysator.liu.se/~marcus/amiwm.html"
     8.5  
     8.6  TARBALL="$PACKAGE$VERSION.tar.gz"
     8.7 -WGET_URL="ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
     8.8 +WGET_URL="http://ftp.lysator.liu.se/pub/X11/wm/amiwm/$TARBALL"
     8.9  
    8.10  DEPENDS="xorg-libICE xorg-libSM xorg-libX11 xorg-libXext xorg-libXmu"
    8.11  BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev xorg-libXt-dev \
    8.12  xorg-libXmu-dev"
    8.13  
    8.14 +# What is the latest version available today?
    8.15 +current_version()
    8.16 +{
    8.17 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    8.18 +	sed "/latest/d;/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    8.19 +}
    8.20 +
    8.21  compile_rules() {
    8.22  	patch -p1 < $stuff/patches/amiwm-man.patch
    8.23  	./configure $CONFIGURE_ARGS &&
     9.1 --- a/antiword/receipt	Sat Feb 05 15:15:36 2022 +0100
     9.2 +++ b/antiword/receipt	Sat Feb 05 16:12:08 2022 +0000
     9.3 @@ -11,6 +11,13 @@
     9.4  WGET_URL="${WEB_SITE}$TARBALL"
     9.5  TAGS="word reader convert"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    9.11 +	sed "/linux\/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|"
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/appdata-tools/receipt	Sat Feb 05 15:15:36 2022 +0100
    10.2 +++ b/appdata-tools/receipt	Sat Feb 05 16:12:08 2022 +0000
    10.3 @@ -13,6 +13,13 @@
    10.4  DEPENDS="gdk-pixbuf libsoup"
    10.5  BUILD_DEPENDS="gdk-pixbuf-dev libsoup-dev glib-dev sqlite-dev"
    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/apr-util/receipt	Sat Feb 05 15:15:36 2022 +0100
    11.2 +++ b/apr-util/receipt	Sat Feb 05 16:12:08 2022 +0000
    11.3 @@ -16,6 +16,13 @@
    11.4  	libpostgresqlclient libtool mysql-dev postgresql-dev 
    11.5  	sqlite-dev unixODBC-dev util-linux-uuid-dev"
    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/apr/receipt	Sat Feb 05 15:15:36 2022 +0100
    12.2 +++ b/apr/receipt	Sat Feb 05 16:12:08 2022 +0000
    12.3 @@ -16,6 +16,13 @@
    12.4  
    12.5  CROSS="error: cannot check for file existence when cross compiling"
    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 -Vr | sed q
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/arandr/receipt	Sat Feb 05 15:15:36 2022 +0100
    13.2 +++ b/arandr/receipt	Sat Feb 05 16:12:08 2022 +0000
    13.3 @@ -14,6 +14,13 @@
    13.4  DEPENDS="pygtk python xorg-xrandr"
    13.5  BUILD_DEPENDS="pygtk-dev python-docutils xorg-xrandr"
    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-/!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/arpwatch/receipt	Sat Feb 05 15:15:36 2022 +0100
    14.2 +++ b/arpwatch/receipt	Sat Feb 05 16:12:08 2022 +0000
    14.3 @@ -13,6 +13,13 @@
    14.4  DEPENDS="libpcap"
    14.5  BUILD_DEPENDS="libpcap-dev"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://ee.lbl.gov/downloads/arpwatch/ 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/asleap/receipt	Sat Feb 05 15:15:36 2022 +0100
    15.2 +++ b/asleap/receipt	Sat Feb 05 16:12:08 2022 +0000
    15.3 @@ -13,6 +13,13 @@
    15.4  WEB_SITE="https://www.willhackforsushi.com/?page_id=41"
    15.5  WGET_URL="http://www.willhackforsushi.com/code/$PACKAGE/$VERSION/$TARBALL"
    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 '/code\/asleap/!d;/MD5/!d;s|.*asleap-||;s|.tgz.*||;q'
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/asterisk-sound-fr/receipt	Sat Feb 05 15:15:36 2022 +0100
    16.2 +++ b/asterisk-sound-fr/receipt	Sat Feb 05 16:12:08 2022 +0000
    16.3 @@ -13,6 +13,13 @@
    16.4  
    16.5  DEPENDS="asterisk"
    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 '/asterisk-core-sounds-fr-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-fr-gsm-\(.*\).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/asterisk-sound/receipt	Sat Feb 05 15:15:36 2022 +0100
    17.2 +++ b/asterisk-sound/receipt	Sat Feb 05 16:12:08 2022 +0000
    17.3 @@ -13,6 +13,13 @@
    17.4  
    17.5  DEPENDS="asterisk"
    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 '/asterisk-core-sounds-en-gsm-/!d;/tar/!d;s|.*asterisk-core-sounds-en-gsm-\(.*\).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/aubio/receipt	Sat Feb 05 15:15:36 2022 +0100
    18.2 +++ b/aubio/receipt	Sat Feb 05 16:12:08 2022 +0000
    18.3 @@ -18,6 +18,13 @@
    18.4  	libogg-dev libsamplerate libsamplerate-dev libsndfile-dev \
    18.5  	libvorbis-dev"
    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/audiofile/receipt	Sat Feb 05 15:15:36 2022 +0100
    19.2 +++ b/audiofile/receipt	Sat Feb 05 16:12:08 2022 +0000
    19.3 @@ -15,6 +15,13 @@
    19.4  DEPENDS="alsa-lib"
    19.5  BUILD_DEPENDS="alsa-lib-dev"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - https://github.com/mpruett/audiofile/tags 2>/dev/null | \
   19.11 +	sed '/archive.*tar/!d;s|.*/audiofile-\(.*\).tar.*|\1|;q'
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/audit/receipt	Sat Feb 05 15:15:36 2022 +0100
    20.2 +++ b/audit/receipt	Sat Feb 05 16:12:08 2022 +0000
    20.3 @@ -14,6 +14,13 @@
    20.4  DEPENDS=""
    20.5  BUILD_DEPENDS="openldap-dev"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   20.11 +	sed '/audit-/!d;s|.*audit-||;s|.tar.*||;q'
   20.12 +}
   20.13 +
   20.14  # Rules to configure and make the package.
   20.15  compile_rules()
   20.16  {
    21.1 --- a/aufs-utils/receipt	Sat Feb 05 15:15:36 2022 +0100
    21.2 +++ b/aufs-utils/receipt	Sat Feb 05 16:12:08 2022 +0000
    21.3 @@ -14,6 +14,13 @@
    21.4  DEPENDS="aufs"
    21.5  BUILD_DEPENDS="git linux-module-headers aufs"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - https://sourceforge.net/p/aufs/aufs-util/ci/${BRANCH#*/}/tree/ 2>/dev/null | \
   21.11 +	sed '/^ *20[0-9-]*$/!d;s|-||g;s| *||' | sort -r | uniq | sed q
   21.12 +}
   21.13 +
   21.14  # Rules to configure and make the package.
   21.15  compile_rules()
   21.16  {
    22.1 --- a/autossh/receipt	Sat Feb 05 15:15:36 2022 +0100
    22.2 +++ b/autossh/receipt	Sat Feb 05 16:12:08 2022 +0000
    22.3 @@ -15,6 +15,13 @@
    22.4  DEPENDS="openssh"
    22.5  BUILD_DEPENDS="openssh"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   22.11 +	sed '/Version/!d;s|.*ersion ||;s| .*||;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/avant-window-navigator/receipt	Sat Feb 05 15:15:36 2022 +0100
    23.2 +++ b/avant-window-navigator/receipt	Sat Feb 05 16:12:08 2022 +0000
    23.3 @@ -16,6 +16,13 @@
    23.4  BUILD_DEPENDS="librsvg-dev libwnck-dev pygtk-dev python-xdg intltool \
    23.5  dbus-glib-dev python-dev libdesktop-agnostic-dev libgtop-dev GConf-dev"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - https://github.com/p12tic/awn/tags 2>/dev/null | \
   23.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   23.12 +}
   23.13 +
   23.14  # Rules to configure and make the package.
   23.15  compile_rules()
   23.16  {
    24.1 --- a/avatar-factory/receipt	Sat Feb 05 15:15:36 2022 +0100
    24.2 +++ b/avatar-factory/receipt	Sat Feb 05 16:12:08 2022 +0000
    24.3 @@ -13,6 +13,13 @@
    24.4  DEPENDS="bash findutils imagemagick sed zenity"
    24.5  BUILD_DEPENDS="wget"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - https://launchpad.net/avatar-factory/+download 2>/dev/null | \
   24.11 +	sed "/latest/d;/$PACKAGE-/!d;/bz2/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   24.12 +}
   24.13 +
   24.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   24.15  genpkg_rules()
   24.16  {
    25.1 --- a/avidemux/receipt	Sat Feb 05 15:15:36 2022 +0100
    25.2 +++ b/avidemux/receipt	Sat Feb 05 16:12:08 2022 +0000
    25.3 @@ -18,6 +18,13 @@
    25.4  opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \
    25.5  libxslt-dev libvpx-dev gtk+-dev"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - http://avidemux.sourceforge.net/download.html 2>/dev/null | \
   25.11 +	sed '/tar.gz/!d;s|.*mux_||;s|.tar.*||;q'
   25.12 +}
   25.13 +
   25.14  # Rules to configure and make the package.
   25.15  compile_rules()
   25.16  {
    26.1 --- a/avrdude/receipt	Sat Feb 05 15:15:36 2022 +0100
    26.2 +++ b/avrdude/receipt	Sat Feb 05 16:12:08 2022 +0000
    26.3 @@ -14,6 +14,13 @@
    26.4  BUILD_DEPENDS="$DEPENDS libusb-compat-dev libusb-dev libftdi-dev elfutils-dev \
    26.5  file"
    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-[0-9]/!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/b43-fwcutter/receipt	Sat Feb 05 15:15:36 2022 +0100
    27.2 +++ b/b43-fwcutter/receipt	Sat Feb 05 16:12:08 2022 +0000
    27.3 @@ -14,6 +14,13 @@
    27.4  
    27.5  DEPENDS=""
    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/bacon/receipt	Sat Feb 05 15:15:36 2022 +0100
    28.2 +++ b/bacon/receipt	Sat Feb 05 16:12:08 2022 +0000
    28.3 @@ -15,6 +15,13 @@
    28.4  DEPENDS="gtk+"
    28.5  BUILD_DEPENDS="gtk+-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/balance/receipt	Sat Feb 05 15:15:36 2022 +0100
    29.2 +++ b/balance/receipt	Sat Feb 05 16:12:08 2022 +0000
    29.3 @@ -2,7 +2,7 @@
    29.4  
    29.5  PACKAGE="balance"
    29.6  VERSION="3.57"
    29.7 -CATEGORY="system-tools"
    29.8 +CATEGORY="network"
    29.9  TAGS="web internet load-balancing proxy tcp ipv6"
   29.10  SHORT_DESC="Generic tcp proxy with round robin load balancing and failover."
   29.11  MAINTAINER="pascal.bellard@slitaz.org"
   29.12 @@ -12,6 +12,13 @@
   29.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
   29.14  WGET_URL="https://www.inlab.net/wp-content/uploads/2018/05/$TARBALL"
   29.15  
   29.16 +# What is the latest version available today?
   29.17 +current_version()
   29.18 +{
   29.19 +	wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \
   29.20 +	sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q'
   29.21 +}
   29.22 +
   29.23  # Rules to configure and make the package.
   29.24  compile_rules()
   29.25  {
    30.1 --- a/barcode/receipt	Sat Feb 05 15:15:36 2022 +0100
    30.2 +++ b/barcode/receipt	Sat Feb 05 16:12:08 2022 +0000
    30.3 @@ -9,10 +9,16 @@
    30.4  WEB_SITE="https://www.gnu.org/software/barcode/"
    30.5  
    30.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
    30.7 -WGET_URL="ftp://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    30.8 +WGET_URL="https://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    30.9  
   30.10  BUILD_DEPENDS="automake libtool texinfo"
   30.11  
   30.12 +# What is the latest version available today?
   30.13 +current_version()
   30.14 +{
   30.15 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   30.16 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   30.17 +}
   30.18  # Rules to configure and make the package.
   30.19  compile_rules()
   30.20  {
    31.1 --- a/bazaar-tools/receipt	Sat Feb 05 15:15:36 2022 +0100
    31.2 +++ b/bazaar-tools/receipt	Sat Feb 05 16:12:08 2022 +0000
    31.3 @@ -14,6 +14,13 @@
    31.4  DEPENDS="bazaar python"
    31.5  BUILD_DEPENDS="wget"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - http://bazaar.launchpad.net/~abentley/bzrtools/bzrtools.dev/changes 2>/dev/null | \
   31.11 +	sed '/elease-/!d;s|.*elease-||;s|<.*||;q'
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/bazaar/receipt	Sat Feb 05 15:15:36 2022 +0100
    32.2 +++ b/bazaar/receipt	Sat Feb 05 16:12:08 2022 +0000
    32.3 @@ -16,6 +16,13 @@
    32.4  DEPENDS="glibc-base python zlib"
    32.5  BUILD_DEPENDS="python python-dev"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://launchpad.net/bzr/+download 2>/dev/null | \
   32.11 +	sed '/elease-/!d;s|.*="[a-z-]*||;s|".*||;s|-|.|g;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {
    33.1 --- a/bc/receipt	Sat Feb 05 15:15:36 2022 +0100
    33.2 +++ b/bc/receipt	Sat Feb 05 16:12:08 2022 +0000
    33.3 @@ -15,6 +15,13 @@
    33.4  DEPENDS="flex ncurses readline"
    33.5  BUILD_DEPENDS="ed flex readline-dev texinfo"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   33.11 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   33.12 +}
   33.13 +
   33.14  # Rules to configure and make the package.
   33.15  compile_rules()
   33.16  {
    34.1 --- a/beautifulsoup/receipt	Sat Feb 05 15:15:36 2022 +0100
    34.2 +++ b/beautifulsoup/receipt	Sat Feb 05 16:12:08 2022 +0000
    34.3 @@ -17,6 +17,13 @@
    34.4  DEPENDS="python"
    34.5  BUILD_DEPENDS="python-dev python-setuptools"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   34.11 +	grep -A1 'current release' | sed '/^[0-9]/!d;s|<.*||'
   34.12 +}
   34.13 +
   34.14  # Rules to configure and make the package.
   34.15  compile_rules()
   34.16  {
    35.1 --- a/beep/receipt	Sat Feb 05 15:15:36 2022 +0100
    35.2 +++ b/beep/receipt	Sat Feb 05 16:12:08 2022 +0000
    35.3 @@ -10,6 +10,13 @@
    35.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    35.5  WGET_URL="http://www.johnath.com/beep/$TARBALL"
    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 version/!d;s|.* is v||;s|,.*||;q'
   35.12 +}
   35.13 +
   35.14  # Rules to configure and make the package.
   35.15  compile_rules()
   35.16  {
    36.1 --- a/bin86/receipt	Sat Feb 05 15:15:36 2022 +0100
    36.2 +++ b/bin86/receipt	Sat Feb 05 16:12:08 2022 +0000
    36.3 @@ -13,6 +13,13 @@
    36.4  
    36.5  DEPENDS="glibc-base"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - https://github.com/lkundrak/dev86/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/bind/receipt	Sat Feb 05 15:15:36 2022 +0100
    37.2 +++ b/bind/receipt	Sat Feb 05 16:12:08 2022 +0000
    37.3 @@ -19,6 +19,13 @@
    37.4  CONFIG_FILES="/etc/bind"
    37.5  TAZPANEL_DAEMON="edit::/etc/bind/named.conf|man|options|web::$WEB_SITE"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   37.11 +	grep -B1 'Current-Stable' | sed 's|.*<td>||;s|</td>.*||;q'
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/bird/receipt	Sat Feb 05 15:15:36 2022 +0100
    38.2 +++ b/bird/receipt	Sat Feb 05 16:12:08 2022 +0000
    38.3 @@ -15,6 +15,13 @@
    38.4  DEPENDS="ncurses readline"
    38.5  BUILD_DEPENDS="bison flex ncurses-dev readline-dev"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   38.11 +	sed '/New release/!d;s|.*New release ||;s|!.*||;q'
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/bison/receipt	Sat Feb 05 15:15:36 2022 +0100
    39.2 +++ b/bison/receipt	Sat Feb 05 16:12:08 2022 +0000
    39.3 @@ -18,6 +18,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-/!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/blas/receipt	Sat Feb 05 15:15:36 2022 +0100
    40.2 +++ b/blas/receipt	Sat Feb 05 16:12:08 2022 +0000
    40.3 @@ -14,6 +14,13 @@
    40.4  DEPENDS="gcc-lib-base"
    40.5  BUILD_DEPENDS="gfortran"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   40.11 +	sed '/LAPACK, version/!d;s|.*version ||;s|<.*||;q'
   40.12 +}
   40.13 +
   40.14  # Rules to configure and make the package.
   40.15  compile_rules()
   40.16  {
    41.1 --- a/bleachbit/receipt	Sat Feb 05 15:15:36 2022 +0100
    41.2 +++ b/bleachbit/receipt	Sat Feb 05 16:12:08 2022 +0000
    41.3 @@ -14,6 +14,13 @@
    41.4  DEPENDS="pygtk python"
    41.5  BUILD_DEPENDS="python"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - https://www.bleachbit.org/download/source 2>/dev/null | \
   41.11 +	sed "/latest/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/blktrace/receipt	Sat Feb 05 15:15:36 2022 +0100
    42.2 +++ b/blktrace/receipt	Sat Feb 05 16:12:08 2022 +0000
    42.3 @@ -14,6 +14,13 @@
    42.4  DEPENDS="libaio"
    42.5  BUILD_DEPENDS="libaio-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 "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/!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/borgbackup/receipt	Sat Feb 05 15:15:36 2022 +0100
    43.2 +++ b/borgbackup/receipt	Sat Feb 05 16:12:08 2022 +0000
    43.3 @@ -15,6 +15,13 @@
    43.4  BUILD_DEPENDS="py3k-dev py3k-cython openssl-dev py3k-setuptools_scm"
    43.5  SUGGESTED="fuse"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://www.borgbackup.org/releases/ 2>/dev/null | \
   43.11 +	sed '/current release/!d;s|.*release is ||;s|,.*||;q'
   43.12 +}
   43.13 +
   43.14  # Rules to configure and make the package.
   43.15  compile_rules()
   43.16  {
    44.1 --- a/bozohttpd/receipt	Sat Feb 05 15:15:36 2022 +0100
    44.2 +++ b/bozohttpd/receipt	Sat Feb 05 16:12:08 2022 +0000
    44.3 @@ -17,6 +17,13 @@
    44.4  DEPENDS="openssl"
    44.5  BUILD_DEPENDS="openssl-dev"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - http://www.eterna.com.au/bozohttpd/CHANGES 2>/dev/null | \
   44.11 +	sed '/changes in/!d;s|.*bozohttpd ||;s|:||;q'
   44.12 +}
   44.13 +
   44.14  # Rules to configure and make the package.
   44.15  compile_rules()
   44.16  {
    45.1 --- a/buffer/receipt	Sat Feb 05 15:15:36 2022 +0100
    45.2 +++ b/buffer/receipt	Sat Feb 05 16:12:08 2022 +0000
    45.3 @@ -8,11 +8,18 @@
    45.4  LICENSE="GPL2"
    45.5  WEB_SITE="http://www.mondorescue.org/"
    45.6  TARBALL="$PACKAGE-$VERSION.tgz"
    45.7 -WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
    45.8 +WGET_URL="http://ftp.mondorescue.org/src/$TARBALL"
    45.9  
   45.10  DEPENDS=""
   45.11  BUILD_DEPENDS=""
   45.12  
   45.13 +# What is the latest version available today?
   45.14 +current_version()
   45.15 +{
   45.16 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   45.17 +	sed "/latest/d;/$PACKAGE-/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*\".*|\\1|" | sort -Vr | sed q
   45.18 +}
   45.19 +
   45.20  # Rules to configure and make the package.
   45.21  compile_rules()
   45.22  {
    46.1 --- a/buildroot/receipt	Sat Feb 05 15:15:36 2022 +0100
    46.2 +++ b/buildroot/receipt	Sat Feb 05 16:12:08 2022 +0000
    46.3 @@ -15,6 +15,13 @@
    46.4  DEPENDS="bash bc bzip2 ncurses ncurses-dev ncursesw-extra patch \
    46.5  	perl python rsync slitaz-toolchain tar unzip wget pkg-config Qt4-dev"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - https://www.buildroot.org/download.html 2>/dev/null | \
   46.11 +	sed '/buildroot-/!d;/tar.gz/!d;s|.*buildroot-||;s|.tar.*||;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/c_icap/receipt	Sat Feb 05 15:15:36 2022 +0100
    47.2 +++ b/c_icap/receipt	Sat Feb 05 16:12:08 2022 +0000
    47.3 @@ -14,6 +14,14 @@
    47.4  DEPENDS=""
    47.5  BUILD_DEPENDS=""
    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/c-icap/files/c-icap/ 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|.*/c_icap-||;s|.tar.*||;q'
   47.13 +}
   47.14 +
   47.15  # Rules to configure and make the package.
   47.16  compile_rules()
   47.17  {
    48.1 --- a/cbrpager/receipt	Sat Feb 05 15:15:36 2022 +0100
    48.2 +++ b/cbrpager/receipt	Sat Feb 05 16:12:08 2022 +0000
    48.3 @@ -14,6 +14,14 @@
    48.4  BUILD_DEPENDS="gettext libgnomeui-dev libgnome-dev libbonoboui-dev \
    48.5  libgnomecanvas-dev libgnome-keyring-dev gtk+-dev"
    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/cbrpager/files/cbrpager/ 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|.*/cbrpager/cbrpager-||;s|/.*||;q'
   48.13 +}
   48.14 +
   48.15  # Rules to configure and make the package.
   48.16  compile_rules()
   48.17  {
    49.1 --- a/ccd2iso/receipt	Sat Feb 05 15:15:36 2022 +0100
    49.2 +++ b/ccd2iso/receipt	Sat Feb 05 16:12:08 2022 +0000
    49.3 @@ -15,6 +15,14 @@
    49.4  DEPENDS="glibc-base"
    49.5  BUILD_DEPENDS="glibc-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/ccd2iso/files/ccd2iso/ 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|.*/ccd2iso/ccd2iso-||;s|/.*||;q'
   49.13 +}
   49.14 +
   49.15  # Rules to configure and make the package.
   49.16  compile_rules()
   49.17  {
    50.1 --- a/celestia/receipt	Sat Feb 05 15:15:36 2022 +0100
    50.2 +++ b/celestia/receipt	Sat Feb 05 16:12:08 2022 +0000
    50.3 @@ -17,6 +17,14 @@
    50.4  	jpeg-dev libglu-mesa libogg-dev libpng-dev libtheora-dev lua5.1-dev 
    50.5  	mesa-dev xorg-libXmu-dev zlib-dev"
    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/celestia/files/Celestia-source/ 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|.*/Celestia-source/||;s|/.*||;q'
   50.13 +}
   50.14 +
   50.15  # Rules to configure and make the package.
   50.16  compile_rules()
   50.17  {
    51.1 --- a/cgoban/receipt	Sat Feb 05 15:15:36 2022 +0100
    51.2 +++ b/cgoban/receipt	Sat Feb 05 16:12:08 2022 +0000
    51.3 @@ -14,6 +14,14 @@
    51.4  DEPENDS="gtk+"
    51.5  BUILD_DEPENDS="gtk+-dev xorg-dev"
    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/cgoban1/files/cgoban1/ 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|.*/cgoban1/||;s|/.*||;q'
   51.13 +}
   51.14 +
   51.15  # Rules to configure and make the package.
   51.16  compile_rules()
   51.17  {
    52.1 --- a/childsplay/receipt	Sat Feb 05 15:15:36 2022 +0100
    52.2 +++ b/childsplay/receipt	Sat Feb 05 16:12:08 2022 +0000
    52.3 @@ -13,6 +13,13 @@
    52.4  
    52.5  DEPENDS="libogg pygtk python python-pygame python-pysqlite python-sqlalchemy"
    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/schoolsplay/files 2>/dev/null | \
   52.11 +	sed '/scope="row/!d;/tgz/!d;s|.*/childsplay-||;s|.tgz.*||;q'
   52.12 +}
   52.13 +
   52.14  # Rules to configure and make the package.
   52.15  compile_rules()
   52.16  {
    53.1 --- a/clucene/receipt	Sat Feb 05 15:15:36 2022 +0100
    53.2 +++ b/clucene/receipt	Sat Feb 05 16:12:08 2022 +0000
    53.3 @@ -15,6 +15,14 @@
    53.4  
    53.5  BUILD_DEPENDS="cmake"
    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/clucene/files/clucene-core-unstable/ 2>/dev/null | \
   53.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   53.12 +	sed '/scope="row/!d;s|.*core-||;s|.tar.*||;q'
   53.13 +}
   53.14 +
   53.15  # Rules to configure and make the package.
   53.16  compile_rules()
   53.17  {
    54.1 --- a/coccinella/receipt	Sat Feb 05 15:15:36 2022 +0100
    54.2 +++ b/coccinella/receipt	Sat Feb 05 16:12:08 2022 +0000
    54.3 @@ -14,6 +14,14 @@
    54.4  DEPENDS="tk"
    54.5  BUILD_DEPENDS=""
    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/coccinella/files/coccinella/ 2>/dev/null | \
   54.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   54.12 +	sed '/scope="row/!d;s|.*/coccinella/||;s|/.*||;q'
   54.13 +}
   54.14 +
   54.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   54.16  genpkg_rules()
   54.17  {
    55.1 --- a/codeblocks/receipt	Sat Feb 05 15:15:36 2022 +0100
    55.2 +++ b/codeblocks/receipt	Sat Feb 05 16:12:08 2022 +0000
    55.3 @@ -17,6 +17,14 @@
    55.4  	gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool 
    55.5  	wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip"
    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/codeblocks/files/Sources/ 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|.*/Sources/||;s|/.*||;q'
   55.13 +}
   55.14 +
   55.15  # Rules to configure and make the package.
   55.16  compile_rules()
   55.17  {
    56.1 --- a/comical/receipt	Sat Feb 05 15:15:36 2022 +0100
    56.2 +++ b/comical/receipt	Sat Feb 05 16:12:08 2022 +0000
    56.3 @@ -13,6 +13,14 @@
    56.4  DEPENDS="wxWidgets28"
    56.5  BUILD_DEPENDS="wxWidgets28-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/comical/files/comical/ 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|.*/comical/||;s|/.*||;q'
   56.13 +}
   56.14 +
   56.15  # Rules to configure and make the package.
   56.16  compile_rules()
   56.17  {
    57.1 --- a/comix/receipt	Sat Feb 05 15:15:36 2022 +0100
    57.2 +++ b/comix/receipt	Sat Feb 05 16:12:08 2022 +0000
    57.3 @@ -14,6 +14,14 @@
    57.4  DEPENDS="python pygtk python-pil rar"
    57.5  BUILD_DEPENDS="python pygtk-dev pygtk python-pil unrar"
    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/comix/files/comix/ 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;s|.*/comix-||;s|.tar.*||;q'
   57.13 +}
   57.14 +
   57.15  # Rules to configure and make the package.
   57.16  compile_rules()
   57.17  {
    58.1 --- a/conky/receipt	Sat Feb 05 15:15:36 2022 +0100
    58.2 +++ b/conky/receipt	Sat Feb 05 16:12:08 2022 +0000
    58.3 @@ -20,6 +20,14 @@
    58.4  xorg-damageproto xorg-fixesproto ncursesw-dev libxcb-dev wireless_tools-dev \
    58.5  imlib2-dev lua-dev libtinfo"
    58.6  
    58.7 +# What is the latest version available today?
    58.8 +current_version()
    58.9 +{
   58.10 +	wget -O - https://sourceforge.net/projects/conky/files/conky/ 2>/dev/null | \
   58.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   58.12 +	sed '/scope="row/!d;s|.*/conky/||;s|/.*||;q'
   58.13 +}
   58.14 +
   58.15  # Rules to configure and make the package.
   58.16  compile_rules()
   58.17  {
    59.1 --- a/cpu-g/receipt	Sat Feb 05 15:15:36 2022 +0100
    59.2 +++ b/cpu-g/receipt	Sat Feb 05 16:12:08 2022 +0000
    59.3 @@ -12,6 +12,13 @@
    59.4  
    59.5  DEPENDS="pygtk"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - https://sourceforge.net/projects/cpug/files/ 2>/dev/null | \
   59.11 +	sed '/scope="row/!d;s|.*/cpu-g-||;s|.tar.*||;q'
   59.12 +}
   59.13 +
   59.14  # Rules to configure and make the package.
   59.15  compile_rules()
   59.16  {
    60.1 --- a/cramfs/receipt	Sat Feb 05 15:15:36 2022 +0100
    60.2 +++ b/cramfs/receipt	Sat Feb 05 16:12:08 2022 +0000
    60.3 @@ -13,6 +13,14 @@
    60.4  DEPENDS="zlib"
    60.5  BUILD_DEPENDS="zlib-dev"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - https://sourceforge.net/projects/cramfs/files/cramfs/ 2>/dev/null | \
   60.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   60.12 +	sed '/scope="row/!d;s|.*/cramfs/||;s|/.*||;q'
   60.13 +}
   60.14 +
   60.15  # Rules to configure and make the package.
   60.16  compile_rules()
   60.17  {
    61.1 --- a/cream/receipt	Sat Feb 05 15:15:36 2022 +0100
    61.2 +++ b/cream/receipt	Sat Feb 05 16:12:08 2022 +0000
    61.3 @@ -15,6 +15,14 @@
    61.4  DEPENDS="gtk+ gcc-lib-base libwebkit libtasn1"
    61.5  BUILD_DEPENDS="libwebkit-dev libwebkit libsoup-dev gtk+-dev"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - https://sourceforge.net/projects/cream-browser/files/cream-browser/ 2>/dev/null | \
   61.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   61.12 +	sed '/scope="row/!d;s|.*/cream-browser/||;s|/.*||;q'
   61.13 +}
   61.14 +
   61.15  # Rules to configure and make the package.
   61.16  compile_rules()
   61.17  {
    62.1 --- a/cssed/receipt	Sat Feb 05 15:15:36 2022 +0100
    62.2 +++ b/cssed/receipt	Sat Feb 05 16:12:08 2022 +0000
    62.3 @@ -13,6 +13,14 @@
    62.4  DEPENDS="gtk+"
    62.5  BUILD_DEPENDS="gtk+-dev libxml2-dev"
    62.6  
    62.7 +# What is the latest version available today?
    62.8 +current_version()
    62.9 +{
   62.10 +	wget -O - https://sourceforge.net/projects/cssed/files/cssed/ 2>/dev/null | \
   62.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   62.12 +	sed '/scope="row/!d;s|.*/cssed/||;s|/.*||;q'
   62.13 +}
   62.14 +
   62.15  # Rules to configure and make the package.
   62.16  compile_rules()
   62.17  {
    63.1 --- a/ctags/receipt	Sat Feb 05 15:15:36 2022 +0100
    63.2 +++ b/ctags/receipt	Sat Feb 05 16:12:08 2022 +0000
    63.3 @@ -12,6 +12,14 @@
    63.4  
    63.5  BUILD_DEPENDS=""
    63.6  
    63.7 +# What is the latest version available today?
    63.8 +current_version()
    63.9 +{
   63.10 +	wget -O - https://sourceforge.net/projects/ctags/files/ctags/ 2>/dev/null | \
   63.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   63.12 +	sed '/scope="row/!d;s|.*/ctags/||;s|/.*||;q'
   63.13 +}
   63.14 +
   63.15  # Rules to configure and make the package.
   63.16  compile_rules()
   63.17  {
    64.1 --- a/ctorrent-dnh/receipt	Sat Feb 05 15:15:36 2022 +0100
    64.2 +++ b/ctorrent-dnh/receipt	Sat Feb 05 16:12:08 2022 +0000
    64.3 @@ -10,6 +10,14 @@
    64.4  WEB_SITE="http://www.rahul.net/dholmes/ctorrent/"
    64.5  WGET_URL="$SF_MIRROR/dtorrent/$TARBALL"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - https://sourceforge.net/projects/dtorrent/files/dtorrent/ 2>/dev/null | \
   64.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   64.12 +	sed '/scope="row/!d;s|.*/dtorrent/||;s|/.*||;q'
   64.13 +}
   64.14 +
   64.15  # Rules to configure and make the package.
   64.16  compile_rules()
   64.17  {
    65.1 --- a/fftw/receipt	Sat Feb 05 15:15:36 2022 +0100
    65.2 +++ b/fftw/receipt	Sat Feb 05 16:12:08 2022 +0000
    65.3 @@ -15,6 +15,13 @@
    65.4  
    65.5  # Rules to configure and make the package.
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   65.11 +	sed '/FFTW [0-9]/!d;s|^FFTW ||;s| is.*||;q'
   65.12 +}
   65.13 +
   65.14  compile_rules()
   65.15  {
   65.16  	# build double precision
    66.1 --- a/rubberband/receipt	Sat Feb 05 15:15:36 2022 +0100
    66.2 +++ b/rubberband/receipt	Sat Feb 05 16:12:08 2022 +0000
    66.3 @@ -15,6 +15,12 @@
    66.4  BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
    66.5  	libsndfile-dev lv2 meson vamp-sdk-dev"
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q'
   66.11 +}
   66.12 +
   66.13  # Rules to configure and make the package.
   66.14  compile_rules()
   66.15  {
    67.1 --- a/vamp-sdk/receipt	Sat Feb 05 15:15:36 2022 +0100
    67.2 +++ b/vamp-sdk/receipt	Sat Feb 05 16:12:08 2022 +0000
    67.3 @@ -15,6 +15,13 @@
    67.4  DEPENDS="gcc83-lib-base libsndfile"
    67.5  BUILD_DEPENDS="gcc83 libsndfile-dev"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - $WEB_SITE/files 2>/dev/null | \
   67.11 +	sed "/[0-9].tar..z/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q"
   67.12 +}
   67.13 +
   67.14  # Rules to configure and make the package.
   67.15  compile_rules()
   67.16  {