wok rev 24412

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 09 21:05:34 2022 +0000 (2022-02-09)
parents 65d7d867e0c1
children 917b747d9625
files gringotts/receipt gutenprint/receipt haserl-lua/receipt haserl/receipt hdparm/receipt hplip/receipt ht/receipt httpfs-fuse/receipt httpfs2-fuse/receipt hydrogen/receipt iaxmodem/receipt icmpshell/receipt id3lib/receipt id3v2/receipt idesk/receipt imagination/receipt imap-upload/receipt imlib2/receipt ipmitool/receipt irrlicht/receipt isync/receipt ivman/receipt jikes/receipt joe/receipt jpeg-turbo/receipt jtoolkit/receipt karmen/receipt katarina/receipt keepassx/receipt kino/receipt klavaro/receipt liferea/receipt
line diff
     1.1 --- a/gringotts/receipt	Wed Feb 09 17:57:59 2022 +0000
     1.2 +++ b/gringotts/receipt	Wed Feb 09 21:05:34 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="gtk+ libgringotts popt"
     1.5  BUILD_DEPENDS="pkg-config gtk+-dev libgringotts-dev popt-dev libmcrypt-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 '/Released/!d;s|.*Gringotts ||;s| was.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/gutenprint/receipt	Wed Feb 09 17:57:59 2022 +0000
     2.2 +++ b/gutenprint/receipt	Wed Feb 09 21:05:34 2022 +0000
     2.3 @@ -15,6 +15,14 @@
     2.4  BUILD_DEPENDS="cups-dev expat-dev foomatic-db-engine gmp-dev 
     2.5  	gnutls-dev libgcrypt-dev libtasn1-dev liblzma-dev zlib-dev"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - https://sourceforge.net/projects/gimp-print/files/ 2>/dev/null | \
    2.11 +	sed '/scope="row/!d;/\/gutenprint-/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    2.12 +	sed '/scope="row/!d;s|.*/gutenprint-[0-9\.]*/||;s|/.*||;q'
    2.13 +}
    2.14 +
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
     3.1 --- a/haserl-lua/receipt	Wed Feb 09 17:57:59 2022 +0000
     3.2 +++ b/haserl-lua/receipt	Wed Feb 09 21:05:34 2022 +0000
     3.3 @@ -16,6 +16,13 @@
     3.4  BUILD_DEPENDS="glibc-dev lua lua-dev pkg-config"
     3.5  SUGGESTED="bash lua lua-dev"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \
    3.11 +	sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q'
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/haserl/receipt	Wed Feb 09 17:57:59 2022 +0000
     4.2 +++ b/haserl/receipt	Wed Feb 09 21:05:34 2022 +0000
     4.3 @@ -15,6 +15,13 @@
     4.4  BUILD_DEPENDS="glibc-dev"
     4.5  SUGGESTED="bash lua lua-dev"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \
    4.11 +	sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q'
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/hdparm/receipt	Wed Feb 09 17:57:59 2022 +0000
     5.2 +++ b/hdparm/receipt	Wed Feb 09 21:05:34 2022 +0000
     5.3 @@ -13,6 +13,13 @@
     5.4  
     5.5  DEPENDS="glibc"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://sourceforge.net/projects/hdparm/files/hdparm/ 2>/dev/null | \
    5.11 +	sed '/scope="row/!d;s|.*/hdparm-||;s|.tar.*||;q'
    5.12 +}
    5.13 +
    5.14  # Rules to configure and make the package.
    5.15  compile_rules()
    5.16  {
     6.1 --- a/hplip/receipt	Wed Feb 09 17:57:59 2022 +0000
     6.2 +++ b/hplip/receipt	Wed Feb 09 21:05:34 2022 +0000
     6.3 @@ -21,6 +21,14 @@
     6.4  	jpeg-dev cups-dev dbus-dev tiff-dev python python-dev dbus-python net-snmp-dev \
     6.5  	libtool"
     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/hplip/files/hplip/ 2>/dev/null | \
    6.11 +	sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    6.12 +	sed '/scope="row/!d;s|.*/hplip/||;s|/.*||;q'
    6.13 +}
    6.14 +
    6.15  # Rules to configure and make the package.
    6.16  compile_rules()
    6.17  {
     7.1 --- a/ht/receipt	Wed Feb 09 17:57:59 2022 +0000
     7.2 +++ b/ht/receipt	Wed Feb 09 21:05:34 2022 +0000
     7.3 @@ -14,6 +14,13 @@
     7.4  DEPENDS="gcc-lib-base lzo ncurses xorg-libX11 xorg-libXau xorg-libXdmcp"
     7.5  BUILD_DEPENDS="lzo-dev ncurses-dev"
     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/hte/files/ht-source/ 2>/dev/null | \
    7.11 +	sed '/scope="row/!d;/tar/!d;s|.*/ht-||;s|.tar.*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/httpfs-fuse/receipt	Wed Feb 09 17:57:59 2022 +0000
     8.2 +++ b/httpfs-fuse/receipt	Wed Feb 09 21:05:34 2022 +0000
     8.3 @@ -15,6 +15,14 @@
     8.4  DEPENDS="fuse"
     8.5  BUILD_DEPENDS="fuse-dev upx"
     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/httpfs/files/httpfs/ 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|.*/httpfs/[a-z_]*||;s|/.*||;q'
    8.13 +}
    8.14 +
    8.15  # Rules to configure and make the package.
    8.16  compile_rules()
    8.17  {
     9.1 --- a/httpfs2-fuse/receipt	Wed Feb 09 17:57:59 2022 +0000
     9.2 +++ b/httpfs2-fuse/receipt	Wed Feb 09 21:05:34 2022 +0000
     9.3 @@ -16,6 +16,13 @@
     9.4  DEPENDS="gcc-lib-base fuse libgnutls"
     9.5  BUILD_DEPENDS="fuse-dev gnutls-dev libgnutls pkg-config asciidoc docbook-xml"
     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/httpfs/files/httpfs2/ 2>/dev/null | \
    9.11 +	sed '/scope="row/!d;/tar/!d;/\/httpfs/!d;s|.*/httpfs2-||;s|.tar.*||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/hydrogen/receipt	Wed Feb 09 17:57:59 2022 +0000
    10.2 +++ b/hydrogen/receipt	Wed Feb 09 21:05:34 2022 +0000
    10.3 @@ -18,6 +18,13 @@
    10.4  flac-dev libsndfile-dev alsa-lib-dev zlib-dev libtar-dev \
    10.5  ladspa-dev raptor-dev pkg-config subversion"
    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/hydrogen/files/Hydrogen/ 2>/dev/null | \
   10.11 +	sed '/scope="row/!d;s|.*/Hydrogen/||;s|%20.*||;q'
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/iaxmodem/receipt	Wed Feb 09 17:57:59 2022 +0000
    11.2 +++ b/iaxmodem/receipt	Wed Feb 09 21:05:34 2022 +0000
    11.3 @@ -15,6 +15,13 @@
    11.4  BUILD_DEPENDS="jpeg-dev tiff-dev zlib-dev file"
    11.5  CONFIG_FILES="/etc/iaxmodem"
    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/iaxmodem/files/iaxmodem/ 2>/dev/null | \
   11.11 +	sed '/scope="row/!d;/tar/!d;s|.*/iaxmodem-||;s|.tar.*||;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/icmpshell/receipt	Wed Feb 09 17:57:59 2022 +0000
    12.2 +++ b/icmpshell/receipt	Wed Feb 09 21:05:34 2022 +0000
    12.3 @@ -11,6 +11,13 @@
    12.4  WEB_SITE="http://icmpshell.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/icmpshell/files/ish/ 2>/dev/null | \
   12.11 +	sed '/scope="row/!d;s|.*/v||;s|/.*||' | sort -Vr | sed q
   12.12 +}
   12.13 +
   12.14  # Rules to configure and make the package.
   12.15  compile_rules()
   12.16  {
    13.1 --- a/id3lib/receipt	Wed Feb 09 17:57:59 2022 +0000
    13.2 +++ b/id3lib/receipt	Wed Feb 09 21:05:34 2022 +0000
    13.3 @@ -13,6 +13,14 @@
    13.4  DEPENDS="zlib gcc-lib-base"
    13.5  BUILD_DEPENDS="zlib-dev"
    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/id3lib/files/id3lib/ 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|.*/id3lib/||;s|/.*||;q'
   13.13 +}
   13.14 +
   13.15  # Rules to configure and make the package.
   13.16  compile_rules()
   13.17  {
    14.1 --- a/id3v2/receipt	Wed Feb 09 17:57:59 2022 +0000
    14.2 +++ b/id3v2/receipt	Wed Feb 09 21:05:34 2022 +0000
    14.3 @@ -13,6 +13,14 @@
    14.4  DEPENDS="id3lib"
    14.5  BUILD_DEPENDS="id3lib-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/id3v2/files/id3v2/ 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|.*/id3v2/||;s|/.*||;q'
   14.13 +}
   14.14 +
   14.15  # Rules to configure and make the package.
   14.16  compile_rules()
   14.17  {
    15.1 --- a/idesk/receipt	Wed Feb 09 17:57:59 2022 +0000
    15.2 +++ b/idesk/receipt	Wed Feb 09 21:05:34 2022 +0000
    15.3 @@ -14,6 +14,14 @@
    15.4  DEPENDS="imlib2 xorg-libXft"
    15.5  BUILD_DEPENDS="imlib2-dev xorg-libXft-dev"
    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/idesk/files/idesk/ 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|.*/idesk-||;s|.tar.*||;q'
   15.13 +}
   15.14 +
   15.15  # Rules to configure and make the package.
   15.16  compile_rules()
   15.17  {
    16.1 --- a/imagination/receipt	Wed Feb 09 17:57:59 2022 +0000
    16.2 +++ b/imagination/receipt	Wed Feb 09 21:05:34 2022 +0000
    16.3 @@ -14,6 +14,13 @@
    16.4  DEPENDS="gtk+ ffmpeg"
    16.5  BUILD_DEPENDS="intltool ffmpeg gtk+-dev"
    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/imagination/files/ 2>/dev/null | \
   16.11 +	sed '/scope="row/!d;/tar/!d;s|.*/imagination-||;s|.tar.*||;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/imap-upload/receipt	Wed Feb 09 17:57:59 2022 +0000
    17.2 +++ b/imap-upload/receipt	Wed Feb 09 21:05:34 2022 +0000
    17.3 @@ -13,6 +13,14 @@
    17.4  DEPENDS="python"
    17.5  BUILD_DEPENDS=""
    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/imap-upload/files/imap-upload/ 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|.*/imap-upload/||;s|/.*||;q'
   17.13 +}
   17.14 +
   17.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   17.16  genpkg_rules()
   17.17  {
    18.1 --- a/imlib2/receipt	Wed Feb 09 17:57:59 2022 +0000
    18.2 +++ b/imlib2/receipt	Wed Feb 09 21:05:34 2022 +0000
    18.3 @@ -23,6 +23,14 @@
    18.4  # ARM: jpeg-dev must be installed in build chroot and libjpeg.la must
    18.5  # be modified manually
    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/enlightenment/files/imlib2-src/ 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|.*/imlib2-src/||;s|/.*||;q'
   18.13 +}
   18.14 +
   18.15  # Rules to configure and make the package.
   18.16  compile_rules()
   18.17  {
    19.1 --- a/ipmitool/receipt	Wed Feb 09 17:57:59 2022 +0000
    19.2 +++ b/ipmitool/receipt	Wed Feb 09 21:05:34 2022 +0000
    19.3 @@ -14,6 +14,13 @@
    19.4  DEPENDS="libcrypto ncurses zlib"
    19.5  BUILD_DEPENDS="ncurses-dev openssl-dev readline-dev zlib-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/ipmitool/ipmitool/tags 2>/dev/null | \
   19.11 +	sed '/archive.*tar/!d;s|.*/IPMITOOL_*\(.*\).tar.*|\1|;s|_|.|g;q'
   19.12 +}
   19.13 +
   19.14  # Rules to configure and make the package.
   19.15  compile_rules()
   19.16  {
    20.1 --- a/irrlicht/receipt	Wed Feb 09 17:57:59 2022 +0000
    20.2 +++ b/irrlicht/receipt	Wed Feb 09 21:05:34 2022 +0000
    20.3 @@ -14,6 +14,14 @@
    20.4  DEPENDS="gcc-lib-base libxcb mesa xorg-libXfixes"
    20.5  BUILD_DEPENDS="mesa-dev xorg-dev"
    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/irrlicht/files/Irrlicht SDK/' 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|.*SDK/.\../||;s|/.*||;q'
   20.13 +}
   20.14 +
   20.15  # Rules to configure and make the package.
   20.16  compile_rules()
   20.17  {
    21.1 --- a/isync/receipt	Wed Feb 09 17:57:59 2022 +0000
    21.2 +++ b/isync/receipt	Wed Feb 09 21:05:34 2022 +0000
    21.3 @@ -15,6 +15,14 @@
    21.4  DEPENDS="db openssl"
    21.5  BUILD_DEPENDS="db-dev openssl-dev"
    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/isync/files/isync/ 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|.*/isync/||;s|/.*||;q'
   21.13 +}
   21.14 +
   21.15  # Rules to configure and make the package.
   21.16  compile_rules()
   21.17  {
    22.1 --- a/ivman/receipt	Wed Feb 09 17:57:59 2022 +0000
    22.2 +++ b/ivman/receipt	Wed Feb 09 21:05:34 2022 +0000
    22.3 @@ -14,6 +14,13 @@
    22.4  DEPENDS="hal dbus glib libxml2 zlib"
    22.5  BUILD_DEPENDS="$DEPENDS hal-dev dbus-dev glib-dev libxml2-dev dbus-glib-dev"
    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/ivman/files/ 2>/dev/null | \
   22.11 +	sed '/scope="row/!d;/tar/!d;s|.*/ivman-||;s|.tar.*||;q'
   22.12 +}
   22.13 +
   22.14  # Rules to configure and make the package.
   22.15  compile_rules()
   22.16  {
    23.1 --- a/jikes/receipt	Wed Feb 09 17:57:59 2022 +0000
    23.2 +++ b/jikes/receipt	Wed Feb 09 21:05:34 2022 +0000
    23.3 @@ -14,6 +14,14 @@
    23.4  DEPENDS="gcc-lib-base"
    23.5  BUILD_DEPENDS="slitaz-toolchain"
    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/jikes/files/Jikes/ 2>/dev/null | \
   23.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
   23.12 +	sed '/scope="row/!d;s|.*/Jikes/||;s|/.*||;q'
   23.13 +}
   23.14 +
   23.15  # Rules to configure and make the package.
   23.16  compile_rules()
   23.17  {
    24.1 --- a/joe/receipt	Wed Feb 09 17:57:59 2022 +0000
    24.2 +++ b/joe/receipt	Wed Feb 09 21:05:34 2022 +0000
    24.3 @@ -16,6 +16,14 @@
    24.4  BUILD_DEPENDS="ncursesw-dev desktop-file-utils"
    24.5  HOST_ARCH="i486 arm"
    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/joe-editor/files/JOE sources/' 2>/dev/null | \
   24.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   24.12 +	sed '/scope="row/!d;s|.*/joe-||;s|.tar.*||;q'
   24.13 +}
   24.14 +
   24.15  # Rules to configure and make the package.
   24.16  compile_rules()
   24.17  {
    25.1 --- a/jpeg-turbo/receipt	Wed Feb 09 17:57:59 2022 +0000
    25.2 +++ b/jpeg-turbo/receipt	Wed Feb 09 21:05:34 2022 +0000
    25.3 @@ -18,6 +18,14 @@
    25.4  
    25.5  # @maintainer: Please update also: libjpeg-turbo and libjpeg-turbo-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/libjpeg-turbo/files/ 2>/dev/null | \
   25.11 +	sed '/scope="row/!d;/\/[0-9]/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   25.12 +	sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
   25.13 +}
   25.14 +
   25.15  # Rules to configure and make the package.
   25.16  compile_rules()
   25.17  {
    26.1 --- a/jtoolkit/receipt	Wed Feb 09 17:57:59 2022 +0000
    26.2 +++ b/jtoolkit/receipt	Wed Feb 09 21:05:34 2022 +0000
    26.3 @@ -14,6 +14,14 @@
    26.4  DEPENDS="python"
    26.5  BUILD_DEPENDS="python-dev"
    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/jtoolkit/files/jtoolkit/ 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|.*/jtoolkit/||;s|/.*||;q'
   26.13 +}
   26.14 +
   26.15  # Rules to configure and make the package.
   26.16  compile_rules()
   26.17  {
    27.1 --- a/karmen/receipt	Wed Feb 09 17:57:59 2022 +0000
    27.2 +++ b/karmen/receipt	Wed Feb 09 21:05:34 2022 +0000
    27.3 @@ -14,6 +14,14 @@
    27.4  DEPENDS="xorg-libX11 xorg-xsetroot nano xterm xorg-xclock dialog"
    27.5  BUILD_DEPENDS="xorg-libX11-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/karmen/files/karmen/ 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|.*/karmen/||;s|/.*||;q'
   27.13 +}
   27.14 +
   27.15  # Rules to configure and make the package.
   27.16  compile_rules()
   27.17  {
    28.1 --- a/katarina/receipt	Wed Feb 09 17:57:59 2022 +0000
    28.2 +++ b/katarina/receipt	Wed Feb 09 21:05:34 2022 +0000
    28.3 @@ -13,6 +13,13 @@
    28.4  
    28.5  DEPENDS="perl rsync"
    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/katarina/files/ 2>/dev/null | \
   28.11 +	sed '/scope="row/!d;s|.*/katarina-||;s|.tar.*||;q'
   28.12 +}
   28.13 +
   28.14  # Rules to configure and make the package.
   28.15  compile_rules()
   28.16  {
    29.1 --- a/keepassx/receipt	Wed Feb 09 17:57:59 2022 +0000
    29.2 +++ b/keepassx/receipt	Wed Feb 09 21:05:34 2022 +0000
    29.3 @@ -15,6 +15,13 @@
    29.4  DEPENDS="xorg-libXtst libQtCore libQtGui libQtXml gcc-lib-base"
    29.5  BUILD_DEPENDS="Qt4-dev xorg-libXtst-dev xorg-libXtst qmake libegl-mesa"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   29.11 +	sed '/released/!d;s|.*KeePassX ||;s| .*||;q'
   29.12 +}
   29.13 +
   29.14  # Rules to configure and make the package.
   29.15  compile_rules()
   29.16  {
    30.1 --- a/kino/receipt	Wed Feb 09 17:57:59 2022 +0000
    30.2 +++ b/kino/receipt	Wed Feb 09 21:05:34 2022 +0000
    30.3 @@ -20,6 +20,14 @@
    30.4  libiec61883 ffmpeg-dev xorg-libXv libsamplerate util-linux-uuid-dev \
    30.5  alsa-lib xorg-libXext libv4l-dev"
    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/kino/files/kino/ 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|.*/kino/||;s|/.*||;q'
   30.13 +}
   30.14 +
   30.15  # Rules to configure and make the package.
   30.16  compile_rules()
   30.17  {
    31.1 --- a/klavaro/receipt	Wed Feb 09 17:57:59 2022 +0000
    31.2 +++ b/klavaro/receipt	Wed Feb 09 21:05:34 2022 +0000
    31.3 @@ -15,6 +15,13 @@
    31.4  BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
    31.5  curl-dev libsexy-dev"
    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/klavaro/files/ 2>/dev/null | \
   31.11 +	sed '/scope="row/!d;/tar/!d;s|.*/klavaro-||;s|.tar.*||;q'
   31.12 +}
   31.13 +
   31.14  # Rules to configure and make the package.
   31.15  compile_rules()
   31.16  {
    32.1 --- a/liferea/receipt	Wed Feb 09 17:57:59 2022 +0000
    32.2 +++ b/liferea/receipt	Wed Feb 09 21:05:34 2022 +0000
    32.3 @@ -18,6 +18,13 @@
    32.4  
    32.5  LOCALES="da de es fr it pt_BR ru zh_CN"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - https://github.com/lwindolf/liferea/releases 2>/dev/null | \
   32.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   32.12 +}
   32.13 +
   32.14  # Rules to configure and make the package.
   32.15  compile_rules()
   32.16  {