wok rev 24340

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 31 11:41:46 2022 +0000 (2022-01-31)
parents 5836340a00c2
children 59da344262a2
files aalib/receipt acpid/receipt afpfs-ng/receipt airpwn/receipt airsnort/receipt amsn/receipt amule/receipt anacron/receipt antinat/receipt apcupsd/receipt apng2gif/receipt apngdis/receipt apngopt/receipt arj/receipt asciidoc/receipt aspell-cs/receipt aspell-de/receipt aspell-en/receipt aspell-es/receipt aspell-hu/receipt aspell-id/receipt aspell-nl/receipt aspell-pt_BR/receipt aspell-pt_PT/receipt aspell-ru/receipt aspell-sl/receipt assaultcube-data/receipt assaultcube/receipt atm-tools/receipt autofs/receipt avfs/receipt awstats/receipt ayttm/receipt backuppc/receipt beecrypt/receipt billardgl/receipt bogofilter/receipt btanks/receipt burp/receipt bvi/receipt bygfoot/receipt bzflag/receipt h8300-gdb/receipt netdata/receipt perl-dbi/receipt tcl/receipt tcl2c/receipt tcllib/receipt tcpick/receipt tightvnc/receipt tilda/receipt tix/receipt tk/receipt tls/receipt traceroute/receipt trojita/receipt tsclient/receipt tsocks/receipt tunctl/receipt turnserver/receipt unhide/receipt vice/receipt wol/receipt wput/receipt zvbi/receipt
line diff
     1.1 --- a/aalib/receipt	Sat Jan 29 17:28:31 2022 +0100
     1.2 +++ b/aalib/receipt	Mon Jan 31 11:41:46 2022 +0000
     1.3 @@ -14,6 +14,14 @@
     1.4  DEPENDS="ncurses xorg-libXt xorg-libX11"
     1.5  BUILD_DEPENDS="ncurses-dev xorg-libXt-dev xorg-libX11-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/aa-project/files/aa-lib/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/aa-lib/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
     2.1 --- a/acpid/receipt	Sat Jan 29 17:28:31 2022 +0100
     2.2 +++ b/acpid/receipt	Mon Jan 31 11:41:46 2022 +0000
     2.3 @@ -15,6 +15,13 @@
     2.4  KEY_FILE="key-constants"
     2.5  SUGGESTED="pm-utils"
     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/acpid2/files/ 2>/dev/null | \
    2.11 +	sed '/scope="row/!d;s|.*/acpid-||;s|.tar.*||;q'
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/afpfs-ng/receipt	Sat Jan 29 17:28:31 2022 +0100
     3.2 +++ b/afpfs-ng/receipt	Mon Jan 31 11:41:46 2022 +0000
     3.3 @@ -13,6 +13,14 @@
     3.4  DEPENDS="fuse libgcrypt readline gmp"
     3.5  BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev automake"
     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/afpfs-ng/files/afpfs-ng/ 2>/dev/null | \
    3.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    3.12 +	sed '/scope="row/!d;s|.*/afpfs-ng/||;s|/.*||;q'
    3.13 +}
    3.14 +
    3.15  # Rules to configure and make the package.
    3.16  compile_rules()
    3.17  {
     4.1 --- a/airpwn/receipt	Sat Jan 29 17:28:31 2022 +0100
     4.2 +++ b/airpwn/receipt	Mon Jan 31 11:41:46 2022 +0000
     4.3 @@ -14,6 +14,14 @@
     4.4  BUILD_DEPENDS="pcre-dev libpcap-dev libcrypto-dev openssl-dev lorcon-dev \
     4.5  wireless_tools-dev libnet-dev libnet python python-dev autoconf automake"
     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/airpwn/files/airpwn/ 2>/dev/null | \
    4.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    4.12 +	sed '/scope="row/!d;s|.*/airpwn/||;s|/.*||;q'
    4.13 +}
    4.14 +
    4.15  # Rules to configure and make the package.
    4.16  compile_rules()
    4.17  {
     5.1 --- a/airsnort/receipt	Sat Jan 29 17:28:31 2022 +0100
     5.2 +++ b/airsnort/receipt	Mon Jan 31 11:41:46 2022 +0000
     5.3 @@ -13,6 +13,14 @@
     5.4  DEPENDS="gtk+ libpcap"
     5.5  BUILD_DEPENDS="gtk+-dev libpcap-dev"
     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/airsnort/files/airsnort/ 2>/dev/null | \
    5.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    5.12 +	sed '/scope="row/!d;s|.*airsnort-||;s|.tar.*||;q'
    5.13 +}
    5.14 +
    5.15  # Rules to configure and make the package.
    5.16  compile_rules()
    5.17  {
     6.1 --- a/amsn/receipt	Sat Jan 29 17:28:31 2022 +0100
     6.2 +++ b/amsn/receipt	Mon Jan 31 11:41:46 2022 +0000
     6.3 @@ -17,6 +17,14 @@
     6.4  xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
     6.5  xorg-libXss-dev zlib-dev libpng-dev libv4l-dev autoconf automake"
     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/amsn/files/amsn/ 2>/dev/null | \
    6.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    6.12 +	sed '/scope="row/!d;s|.*/amsn/||;s|/.*||;q'
    6.13 +}
    6.14 +
    6.15  # Rules to configure and make the package.
    6.16  compile_rules()
    6.17  {
     7.1 --- a/amule/receipt	Sat Jan 29 17:28:31 2022 +0100
     7.2 +++ b/amule/receipt	Mon Jan 31 11:41:46 2022 +0000
     7.3 @@ -16,6 +16,14 @@
     7.4  DEPENDS="wxWidgets libupnp libbfd xorg-libXxf86vm cryptopp zlib"
     7.5  BUILD_DEPENDS="wxWidgets-dev libupnp-dev cryptopp zlib-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/amule/files/aMule/ 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|.*/aMule/||;s|/.*||;q'
    7.13 +}
    7.14 +
    7.15  # Rules to configure and make the package.
    7.16  compile_rules()
    7.17  {
     8.1 --- a/anacron/receipt	Sat Jan 29 17:28:31 2022 +0100
     8.2 +++ b/anacron/receipt	Mon Jan 31 11:41:46 2022 +0000
     8.3 @@ -13,6 +13,14 @@
     8.4  DEPENDS=""
     8.5  BUILD_DEPENDS=""
     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/anacron/files/anacron/ 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|.*/anacron/||;s|/.*||;q'
    8.13 +}
    8.14 +
    8.15  # Rules to configure and make the package.
    8.16  compile_rules()
    8.17  {
     9.1 --- a/antinat/receipt	Sat Jan 29 17:28:31 2022 +0100
     9.2 +++ b/antinat/receipt	Mon Jan 31 11:41:46 2022 +0000
     9.3 @@ -15,6 +15,13 @@
     9.4  DEPENDS="expat"
     9.5  BUILD_DEPENDS="expat-dev"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - http://www.malsmith.net/antinat/download/ 2>/dev/null | \
    9.11 +	sed '/source.tar/!d;s|/antinat-source.*||;s|.*/||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/apcupsd/receipt	Sat Jan 29 17:28:31 2022 +0100
    10.2 +++ b/apcupsd/receipt	Mon Jan 31 11:41:46 2022 +0000
    10.3 @@ -13,6 +13,14 @@
    10.4  
    10.5  BUILD_DEPENDS="libgd libgd-dev slitaz-dev-pkgs"
    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/apcupsd/files/apcupsd%20-%20Stable/ 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|.*/apcupsd%20-%20Stable/||;s|/.*||;q'
   10.13 +}
   10.14 +
   10.15  # Rules to configure and make the package.
   10.16  compile_rules()
   10.17  {
    11.1 --- a/apng2gif/receipt	Sat Jan 29 17:28:31 2022 +0100
    11.2 +++ b/apng2gif/receipt	Mon Jan 31 11:41:46 2022 +0000
    11.3 @@ -11,6 +11,14 @@
    11.4  TARBALL="$PACKAGE-$VERSION-src.zip"
    11.5  WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    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/apng2gif/files/ 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|.*files/||;s|/.*||;q'
   11.13 +}
   11.14 +
   11.15  DEPENDS="zlib"
   11.16  BUILD_DEPENDS="zlib-dev"
   11.17  
    12.1 --- a/apngdis/receipt	Sat Jan 29 17:28:31 2022 +0100
    12.2 +++ b/apngdis/receipt	Mon Jan 31 11:41:46 2022 +0000
    12.3 @@ -14,6 +14,14 @@
    12.4  DEPENDS="zlib"
    12.5  BUILD_DEPENDS="zlib-dev"
    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/apngdis/files/ 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|.*files/||;s|/.*||;q'
   12.13 +}
   12.14 +
   12.15  # Rules to configure and make the package.
   12.16  compile_rules()
   12.17  {
    13.1 --- a/apngopt/receipt	Sat Jan 29 17:28:31 2022 +0100
    13.2 +++ b/apngopt/receipt	Mon Jan 31 11:41:46 2022 +0000
    13.3 @@ -14,6 +14,14 @@
    13.4  DEPENDS="zlib"
    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/apng/files/APNG_Optimizer/ 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;/opt-/!d;/src/!d;s|.*apngopt-||;s|-src.*||;q' 
   13.13 +}
   13.14 +
   13.15  # Rules to configure and make the package.
   13.16  compile_rules()
   13.17  {
    14.1 --- a/arj/receipt	Sat Jan 29 17:28:31 2022 +0100
    14.2 +++ b/arj/receipt	Mon Jan 31 11:41:46 2022 +0000
    14.3 @@ -13,6 +13,14 @@
    14.4  
    14.5  BUILD_DEPENDS="autoconf"
    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/arj/files/arj/ 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|.*arj-||;s|.tar.*||;q'
   14.13 +}
   14.14 +
   14.15  # Rules to configure and make the package.
   14.16  compile_rules()
   14.17  {
    15.1 --- a/asciidoc/receipt	Sat Jan 29 17:28:31 2022 +0100
    15.2 +++ b/asciidoc/receipt	Mon Jan 31 11:41:46 2022 +0000
    15.3 @@ -13,6 +13,14 @@
    15.4  DEPENDS="python"
    15.5  BUILD_DEPENDS=""
    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/asciidoc/files/asciidoc/ 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|.*asciidoc-||;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/aspell-cs/receipt	Sat Jan 29 17:28:31 2022 +0100
    16.2 +++ b/aspell-cs/receipt	Mon Jan 31 11:41:46 2022 +0000
    16.3 @@ -19,7 +19,7 @@
    16.4  current_version()
    16.5  {
    16.6  	wget -O - $WEB_SITE 2>/dev/null | \
    16.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    16.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    16.9  }
   16.10  
   16.11  # Rules to configure and make the package.
    17.1 --- a/aspell-de/receipt	Sat Jan 29 17:28:31 2022 +0100
    17.2 +++ b/aspell-de/receipt	Mon Jan 31 11:41:46 2022 +0000
    17.3 @@ -19,7 +19,7 @@
    17.4  current_version()
    17.5  {
    17.6  	wget -O - $WEB_SITE 2>/dev/null | \
    17.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    17.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    17.9  }
   17.10  
   17.11  # Rules to configure and make the package.
    18.1 --- a/aspell-en/receipt	Sat Jan 29 17:28:31 2022 +0100
    18.2 +++ b/aspell-en/receipt	Mon Jan 31 11:41:46 2022 +0000
    18.3 @@ -21,7 +21,7 @@
    18.4  current_version()
    18.5  {
    18.6  	wget -O - $WEB_SITE 2>/dev/null | \
    18.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    18.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    18.9  }
   18.10  
   18.11  # Rules to configure and make the package.
    19.1 --- a/aspell-es/receipt	Sat Jan 29 17:28:31 2022 +0100
    19.2 +++ b/aspell-es/receipt	Mon Jan 31 11:41:46 2022 +0000
    19.3 @@ -19,7 +19,7 @@
    19.4  current_version()
    19.5  {
    19.6  	wget -O - $WEB_SITE 2>/dev/null | \
    19.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    19.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    19.9  }
   19.10  
   19.11  # Rules to configure and make the package.
    20.1 --- a/aspell-hu/receipt	Sat Jan 29 17:28:31 2022 +0100
    20.2 +++ b/aspell-hu/receipt	Mon Jan 31 11:41:46 2022 +0000
    20.3 @@ -19,7 +19,7 @@
    20.4  current_version()
    20.5  {
    20.6  	wget -O - $WEB_SITE 2>/dev/null | \
    20.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    20.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    20.9  }
   20.10  
   20.11  # Rules to configure and make the package.
    21.1 --- a/aspell-id/receipt	Sat Jan 29 17:28:31 2022 +0100
    21.2 +++ b/aspell-id/receipt	Mon Jan 31 11:41:46 2022 +0000
    21.3 @@ -19,7 +19,7 @@
    21.4  current_version()
    21.5  {
    21.6  	wget -O - $WEB_SITE 2>/dev/null | \
    21.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    21.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    21.9  }
   21.10  
   21.11  # Rules to configure and make the package.
    22.1 --- a/aspell-nl/receipt	Sat Jan 29 17:28:31 2022 +0100
    22.2 +++ b/aspell-nl/receipt	Mon Jan 31 11:41:46 2022 +0000
    22.3 @@ -18,7 +18,7 @@
    22.4  current_version()
    22.5  {
    22.6  	wget -O - $WEB_SITE 2>/dev/null | \
    22.7 -	sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 
    22.8 +	sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    22.9  }
   22.10  
   22.11  # Rules to configure and make the package.
    23.1 --- a/aspell-pt_BR/receipt	Sat Jan 29 17:28:31 2022 +0100
    23.2 +++ b/aspell-pt_BR/receipt	Mon Jan 31 11:41:46 2022 +0000
    23.3 @@ -21,7 +21,7 @@
    23.4  current_version()
    23.5  {
    23.6  	wget -O - $WEB_SITE 2>/dev/null | \
    23.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    23.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    23.9  }
   23.10  
   23.11  # Rules to configure and make the package.
    24.1 --- a/aspell-pt_PT/receipt	Sat Jan 29 17:28:31 2022 +0100
    24.2 +++ b/aspell-pt_PT/receipt	Mon Jan 31 11:41:46 2022 +0000
    24.3 @@ -19,7 +19,7 @@
    24.4  current_version()
    24.5  {
    24.6  	wget -O - $WEB_SITE 2>/dev/null | \
    24.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    24.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    24.9  }
   24.10  
   24.11  # Rules to configure and make the package.
    25.1 --- a/aspell-ru/receipt	Sat Jan 29 17:28:31 2022 +0100
    25.2 +++ b/aspell-ru/receipt	Mon Jan 31 11:41:46 2022 +0000
    25.3 @@ -19,7 +19,7 @@
    25.4  current_version()
    25.5  {
    25.6  	wget -O - $WEB_SITE 2>/dev/null | \
    25.7 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
    25.8 +	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    25.9  }
   25.10  
   25.11  # Rules to configure and make the package.
    26.1 --- a/aspell-sl/receipt	Sat Jan 29 17:28:31 2022 +0100
    26.2 +++ b/aspell-sl/receipt	Mon Jan 31 11:41:46 2022 +0000
    26.3 @@ -18,7 +18,7 @@
    26.4  current_version()
    26.5  {
    26.6  	wget -O - $WEB_SITE 2>/dev/null | \
    26.7 -	sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 
    26.8 +	sed "/$PACKAGE/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;s|-|.|g;q" 
    26.9  }
   26.10  
   26.11  # Rules to configure and make the package.
    27.1 --- a/assaultcube-data/receipt	Sat Jan 29 17:28:31 2022 +0100
    27.2 +++ b/assaultcube-data/receipt	Mon Jan 31 11:41:46 2022 +0000
    27.3 @@ -12,6 +12,13 @@
    27.4  SOURCE="AssaultCube-Data"
    27.5  WGET_URL="$SF_MIRROR/actiongame/$TARBALL"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - https://github.com/assaultcube/AC/releases 2>/dev/null | \
   27.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   27.12 +}
   27.13 +
   27.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.15  genpkg_rules()
   27.16  {
    28.1 --- a/assaultcube/receipt	Sat Jan 29 17:28:31 2022 +0100
    28.2 +++ b/assaultcube/receipt	Mon Jan 31 11:41:46 2022 +0000
    28.3 @@ -16,6 +16,13 @@
    28.4  BUILD_DEPENDS="openal-dev libsdl-image-dev libsdl-mixer-dev mesa-dev \
    28.5  libglu-mesa-dev file"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - https://github.com/assaultcube/AC/releases 2>/dev/null | \
   28.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   28.12 +}
   28.13 +
   28.14  # Rules to configure and make the package.
   28.15  compile_rules()
   28.16  {	
    29.1 --- a/atm-tools/receipt	Sat Jan 29 17:28:31 2022 +0100
    29.2 +++ b/atm-tools/receipt	Mon Jan 31 11:41:46 2022 +0000
    29.3 @@ -14,6 +14,14 @@
    29.4  
    29.5  BUILD_DEPENDS="flex"
    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/linux-atm/files/linux-atm/ 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|.*linux-atm-||;s|.tar.*||;q'
   29.13 +}
   29.14 +
   29.15  # Rules to configure and make the package.
   29.16  compile_rules()
   29.17  {
    30.1 --- a/autofs/receipt	Sat Jan 29 17:28:31 2022 +0100
    30.2 +++ b/autofs/receipt	Mon Jan 31 11:41:46 2022 +0000
    30.3 @@ -22,8 +22,9 @@
    30.4  # What is the latest version available today?
    30.5  current_version()
    30.6  {
    30.7 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    30.8 -	sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q) 2>/dev/null | \	
    30.9 +	local version="$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   30.10 +		sed '/>v/!d;s|.*="||;s|".*||' | sort -Vr | sed q)"
   30.11 +	wget -O - ${WGET_URL%/*/*}/$version 2>/dev/null | \
   30.12  	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 
   30.13  }
   30.14  
    31.1 --- a/avfs/receipt	Sat Jan 29 17:28:31 2022 +0100
    31.2 +++ b/avfs/receipt	Mon Jan 31 11:41:46 2022 +0000
    31.3 @@ -14,6 +14,14 @@
    31.4  DEPENDS="fuse liblzma"
    31.5  BUILD_DEPENDS="fuse-dev liblzma-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/avf/files/avfs/ 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|.*/avfs/||;s|/.*||;q'
   31.13 +}
   31.14 +
   31.15  # Rules to configure and make the package.
   31.16  compile_rules()
   31.17  {
    32.1 --- a/awstats/receipt	Sat Jan 29 17:28:31 2022 +0100
    32.2 +++ b/awstats/receipt	Mon Jan 31 11:41:46 2022 +0000
    32.3 @@ -15,6 +15,13 @@
    32.4  SUGGESTED="perl-geo-ipfree perl-net-xwhois"
    32.5  DEPENDS="perl"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   32.11 +	sed '/^Last stable/!d;s|.*<b>||;s|<.*||;q'
   32.12 +}
   32.13 +
   32.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   32.15  genpkg_rules()
   32.16  {
    33.1 --- a/ayttm/receipt	Sat Jan 29 17:28:31 2022 +0100
    33.2 +++ b/ayttm/receipt	Mon Jan 31 11:41:46 2022 +0000
    33.3 @@ -15,6 +15,14 @@
    33.4  	openssl-dev xorg-libXpm-dev xcb-util-dev zlib-dev"
    33.5  DEPENDS="aspell audiofile enchant gtk+ openssl xcb-util xorg-libXpm zlib"
    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/ayttm/files/ayttm/ 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;/tar/!d;s|.*ayttm-||;s|.tar.*||;q'
   33.13 +}
   33.14 +
   33.15  # Rules to configure and make the package.
   33.16  compile_rules()
   33.17  {
    34.1 --- a/backuppc/receipt	Sat Jan 29 17:28:31 2022 +0100
    34.2 +++ b/backuppc/receipt	Mon Jan 31 11:41:46 2022 +0000
    34.3 @@ -20,6 +20,14 @@
    34.4  bzip2 openssh perl-libwww"
    34.5  BUILD_DEPENDS="par2"
    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/backuppc/files/backuppc/ 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|.*/backuppc/||;s|/.*||;q'
   34.13 +}
   34.14 +
   34.15  # Rules to configure and make the package.
   34.16  compile_rules()
   34.17  {
    35.1 --- a/beecrypt/receipt	Sat Jan 29 17:28:31 2022 +0100
    35.2 +++ b/beecrypt/receipt	Mon Jan 31 11:41:46 2022 +0000
    35.3 @@ -14,6 +14,14 @@
    35.4  DEPENDS="gcc-lib-base"
    35.5  BUILD_DEPENDS="python-dev"
    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/beecrypt/files/beecrypt/ 2>/dev/null | \
   35.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   35.12 +	sed '/scope="row/!d;s|.*/beecrypt/||;s|/.*||;q'
   35.13 +}
   35.14 +
   35.15  # Rules to configure and make the package.
   35.16  compile_rules()
   35.17  {
    36.1 --- a/billardgl/receipt	Sat Jan 29 17:28:31 2022 +0100
    36.2 +++ b/billardgl/receipt	Mon Jan 31 11:41:46 2022 +0000
    36.3 @@ -15,6 +15,14 @@
    36.4  BUILD_DEPENDS="libglu-mesa xorg-libXmu-dev xorg-libXi-dev mesa-dev \
    36.5  libglu-mesa-dev freeglut-dev"
    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/billardgl/files/billardgl/ 2>/dev/null | \
   36.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   36.12 +	sed '/scope="row/!d;s|.*/BillardGL-||;s|.tar.*||;q'
   36.13 +}
   36.14 +
   36.15  # Rules to configure and make the package.
   36.16  compile_rules()
   36.17  {
    37.1 --- a/bogofilter/receipt	Sat Jan 29 17:28:31 2022 +0100
    37.2 +++ b/bogofilter/receipt	Mon Jan 31 11:41:46 2022 +0000
    37.3 @@ -15,6 +15,13 @@
    37.4  DEPENDS="gsl sqlite"
    37.5  BUILD_DEPENDS="sqlite-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/bogofilter/files/bogofilter-stable/ 2>/dev/null | \
   37.11 +	sed '/scope="row/!d;/tar/!d;s|.*bogofilter-||;s|.tar.*||;q'
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/btanks/receipt	Sat Jan 29 17:28:31 2022 +0100
    38.2 +++ b/btanks/receipt	Mon Jan 31 11:41:46 2022 +0000
    38.3 @@ -15,6 +15,13 @@
    38.4  libogg-dev lua5.1-dev openal-dev libsdl-dev libsdl-image-dev libsmpeg-dev scons \
    38.5  chrpath pkg-config libsmpeg-dev lua5.1"
    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/btanks/files/btanks-source/ 2>/dev/null | \
   38.11 +	sed '/scope="row/!d;/tar/!d;s|.*/btanks-||;s|.tar.*||;q'
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/burp/receipt	Sat Jan 29 17:28:31 2022 +0100
    39.2 +++ b/burp/receipt	Mon Jan 31 11:41:46 2022 +0000
    39.3 @@ -14,6 +14,14 @@
    39.4  BUILD_DEPENDS="librsync acl-dev openssl-dev attr-dev popt-dev ncurses-dev \
    39.5  bzip2-dev zlib-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/burp/files/ 2>/dev/null | \
   39.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   39.12 +	sed '/scope="row/!d;/tar/!d;s|.*/burp-||;s|.tar.*||;q'
   39.13 +}
   39.14 +
   39.15  # Rules to configure and make the package.
   39.16  compile_rules()
   39.17  {
    40.1 --- a/bvi/receipt	Sat Jan 29 17:28:31 2022 +0100
    40.2 +++ b/bvi/receipt	Mon Jan 31 11:41:46 2022 +0000
    40.3 @@ -16,6 +16,14 @@
    40.4  
    40.5  BUILD_DEPENDS="ncurses-dev"
    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/bvi/files/bvi/ 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|.*/bvi/||;s|/.*||;q'
   40.13 +}
   40.14 +
   40.15  # Rules to configure and make the package.
   40.16  compile_rules()
   40.17  {
    41.1 --- a/bygfoot/receipt	Sat Jan 29 17:28:31 2022 +0100
    41.2 +++ b/bygfoot/receipt	Mon Jan 31 11:41:46 2022 +0000
    41.3 @@ -14,6 +14,14 @@
    41.4  DEPENDS="acl atk freetype glib gtk+ pango"
    41.5  BUILD_DEPENDS="atk-dev freetype-dev glib-dev gtk+-dev pango-dev"
    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/bygfoot/files/bygfoot/ 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;/tar/!d;s|.*/bygfoot-||;s|-s.*||;q'
   41.13 +}
   41.14 +
   41.15  compile_rules()
   41.16  {
   41.17  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    42.1 --- a/bzflag/receipt	Sat Jan 29 17:28:31 2022 +0100
    42.2 +++ b/bzflag/receipt	Mon Jan 31 11:41:46 2022 +0000
    42.3 @@ -15,6 +15,14 @@
    42.4  BUILD_DEPENDS="c-ares-dev curl-dev gcc83 glew-dev libsdl-dev 
    42.5  	mesa-dev util-linux-uuid-dev"
    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/bzflag/files/bzflag%20source/ 2>/dev/null | \
   42.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   42.12 +	sed '/scope="row/!d;s|.*/bzflag-||;s|.tar.*||;q'
   42.13 +}
   42.14 +
   42.15  # Rules to configure and make the package.
   42.16  compile_rules()
   42.17  {
    43.1 --- a/h8300-gdb/receipt	Sat Jan 29 17:28:31 2022 +0100
    43.2 +++ b/h8300-gdb/receipt	Mon Jan 31 11:41:46 2022 +0000
    43.3 @@ -23,7 +23,7 @@
    43.4  current_version()
    43.5  {
    43.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    43.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    43.8 +	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    43.9  }
   43.10  
   43.11  # Rules to configure and make the package.
    44.1 --- a/netdata/receipt	Sat Jan 29 17:28:31 2022 +0100
    44.2 +++ b/netdata/receipt	Mon Jan 31 11:41:46 2022 +0000
    44.3 @@ -19,7 +19,7 @@
    44.4  current_version()
    44.5  {
    44.6  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    44.7 -	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    44.8 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    44.9  }
   44.10  
   44.11  # Rules to configure and make the package.
    45.1 --- a/perl-dbi/receipt	Sat Jan 29 17:28:31 2022 +0100
    45.2 +++ b/perl-dbi/receipt	Mon Jan 31 11:41:46 2022 +0000
    45.3 @@ -16,7 +16,7 @@
    45.4  current_version()
    45.5  {
    45.6  	wget -O - $WEB_SITE 2>/dev/null | \
    45.7 -	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    45.8 +	sed '/release-name/!d;s|.*-*||;s|<.*||;q'
    45.9  }
   45.10  
   45.11  # Rules to configure and make the package.
    46.1 --- a/tcl/receipt	Sat Jan 29 17:28:31 2022 +0100
    46.2 +++ b/tcl/receipt	Mon Jan 31 11:41:46 2022 +0000
    46.3 @@ -14,6 +14,14 @@
    46.4  
    46.5  HOST_ARCH="i486 arm"
    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/tcl/files/Tcl/ 2>/dev/null | \
   46.11 +	sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   46.12 +	sed '/scope="row/!d;s|.*/Tcl/||;s|/.*||;q'
   46.13 +}
   46.14 +
   46.15  # Rules to configure and make the package.
   46.16  compile_rules()
   46.17  {
    47.1 --- a/tcl2c/receipt	Sat Jan 29 17:28:31 2022 +0100
    47.2 +++ b/tcl2c/receipt	Mon Jan 31 11:41:46 2022 +0000
    47.3 @@ -14,6 +14,13 @@
    47.4  DEPENDS="tcl"
    47.5  BUILD_DEPENDS="tcl-dev"
    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/tcl2c/files/ 2>/dev/null | \
   47.11 +	sed '/scope="row/!d;s|.*/tcl2c\.||;s|.zip.*||;q'
   47.12 +}
   47.13 +
   47.14  compile_rules() {
   47.15  	cd generic
   47.16  	sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
    48.1 --- a/tcllib/receipt	Sat Jan 29 17:28:31 2022 +0100
    48.2 +++ b/tcllib/receipt	Mon Jan 31 11:41:46 2022 +0000
    48.3 @@ -16,6 +16,14 @@
    48.4  
    48.5  HOST_ARCH="i486 arm"
    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/tcllib/files/tcllib/ 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|.*/tcllib/||;s|/.*||;q'
   48.13 +}
   48.14 +
   48.15  # Rules to configure and make the package.
   48.16  compile_rules()
   48.17  {
    49.1 --- a/tcpick/receipt	Sat Jan 29 17:28:31 2022 +0100
    49.2 +++ b/tcpick/receipt	Mon Jan 31 11:41:46 2022 +0000
    49.3 @@ -13,6 +13,14 @@
    49.4  DEPENDS="libpcap"
    49.5  BUILD_DEPENDS="libpcap-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/tcpick/files/tcpick/ 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|.*/tcpick/||;s|/.*||;q'
   49.13 +}
   49.14 +
   49.15  # Rules to configure and make the package.
   49.16  compile_rules()
   49.17  {
    50.1 --- a/tightvnc/receipt	Sat Jan 29 17:28:31 2022 +0100
    50.2 +++ b/tightvnc/receipt	Mon Jan 31 11:41:46 2022 +0000
    50.3 @@ -16,6 +16,14 @@
    50.4  xorg-scrnsaverproto xorg-xauth jpeg-dev zlib-dev xorg-libXrandr-dev"
    50.5  TAGS="remote-desktop vnc"
    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/vnc-tight/files/TightVNC-unix/ 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|.*/TightVNC-unix/||;s|/.*||;q'
   50.13 +}
   50.14 +
   50.15  # Rules to configure and make the package.
   50.16  compile_rules()
   50.17  {
    51.1 --- a/tilda/receipt	Sat Jan 29 17:28:31 2022 +0100
    51.2 +++ b/tilda/receipt	Mon Jan 31 11:41:46 2022 +0000
    51.3 @@ -14,6 +14,14 @@
    51.4  DEPENDS="vte libconfuse libglade"
    51.5  BUILD_DEPENDS="flex vte-dev libglade-dev libconfuse"
    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/tilda/files/tilda/ 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|.*/tilda-||;s|.tar.*||;q'
   51.13 +}
   51.14 +
   51.15  # Rules to configure and make the package.
   51.16  compile_rules()
   51.17  {
    52.1 --- a/tix/receipt	Sat Jan 29 17:28:31 2022 +0100
    52.2 +++ b/tix/receipt	Mon Jan 31 11:41:46 2022 +0000
    52.3 @@ -14,8 +14,15 @@
    52.4  DEPENDS="tcl xorg-libX11 xorg-libXau xorg-libXdmcp libxcb"
    52.5  BUILD_DEPENDS="tcl-dev tk-dev xorg-dev"
    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/tix/files/tix/ 2>/dev/null | \
   52.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   52.12 +	sed '/scope="row/!d;s|.*/tix/||;s|/.*||;q'
   52.13 +}
   52.14 +
   52.15  # Rules to configure and make the package.
   52.16 -#
   52.17  compile_rules()
   52.18  {
   52.19  	# tcl 8.6 support
    53.1 --- a/tk/receipt	Sat Jan 29 17:28:31 2022 +0100
    53.2 +++ b/tk/receipt	Mon Jan 31 11:41:46 2022 +0000
    53.3 @@ -18,6 +18,14 @@
    53.4  
    53.5  HOST_ARCH="i486 arm"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - https://sourceforge.net/projects/tcl/files/Tcl/ 2>/dev/null | \
   53.11 +	sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   53.12 +	sed '/scope="row/!d;s|.*/Tcl/||;s|/.*||;q'
   53.13 +}
   53.14 +
   53.15  # Rules to configure and make the package.
   53.16  compile_rules()
   53.17  {
    54.1 --- a/tls/receipt	Sat Jan 29 17:28:31 2022 +0100
    54.2 +++ b/tls/receipt	Mon Jan 31 11:41:46 2022 +0000
    54.3 @@ -13,6 +13,14 @@
    54.4  DEPENDS="openssl tcl"
    54.5  BUILD_DEPENDS="openssl-dev tcl-dev"
    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/tls/files/tls/ 2>/dev/null | \
   54.11 +	sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   54.12 +	sed '/scope="row/!d;s|.*/tls/||;s|/.*||;q'
   54.13 +}
   54.14 +
   54.15  # Rules to configure and make the package.
   54.16  compile_rules()
   54.17  {
    55.1 --- a/traceroute/receipt	Sat Jan 29 17:28:31 2022 +0100
    55.2 +++ b/traceroute/receipt	Mon Jan 31 11:41:46 2022 +0000
    55.3 @@ -11,6 +11,14 @@
    55.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    55.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    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/traceroute/files/traceroute/ 2>/dev/null | \
   55.11 +	sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   55.12 +	sed '/scope="row/!d;s|.*/traceroute-||;s|/.*||;q'
   55.13 +}
   55.14 +
   55.15  # Rules to configure and make the package.
   55.16  compile_rules()
   55.17  {
    56.1 --- a/trojita/receipt	Sat Jan 29 17:28:31 2022 +0100
    56.2 +++ b/trojita/receipt	Mon Jan 31 11:41:46 2022 +0000
    56.3 @@ -13,6 +13,13 @@
    56.4  DEPENDS="libQtDBus libQtSql libQtWebkit qtkeychain"
    56.5  BUILD_DEPENDS="cmake Qt4-dev qmake dbus-dev zlib-dev qtkeychain-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/trojita/files/src/ 2>/dev/null | \
   56.11 +	sed '/scope="row/!d;s|.*/trojita-||;s|.tar.*||;q'
   56.12 +}
   56.13 +
   56.14  # Rules to configure and make the package.
   56.15  compile_rules()
   56.16  {
    57.1 --- a/tsclient/receipt	Sat Jan 29 17:28:31 2022 +0100
    57.2 +++ b/tsclient/receipt	Mon Jan 31 11:41:46 2022 +0000
    57.3 @@ -14,6 +14,14 @@
    57.4  DEPENDS="gtk+ rdesktop xorg-libXdamage"
    57.5  BUILD_DEPENDS="gtk+ gtk+-dev perl-xml-parser pkg-config"
    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/tsclient/files/tsclient/ 2>/dev/null | \
   57.11 +	sed '/scope="row/!d;/unstable/d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   57.12 +	sed '/scope="row/!d;s|.*/tsclient/||;s|/.*||;q'
   57.13 +}
   57.14 +
   57.15  # Rules to configure and make the package.
   57.16  compile_rules()
   57.17  {
    58.1 --- a/tsocks/receipt	Sat Jan 29 17:28:31 2022 +0100
    58.2 +++ b/tsocks/receipt	Mon Jan 31 11:41:46 2022 +0000
    58.3 @@ -13,6 +13,14 @@
    58.4  DEPENDS=""
    58.5  BUILD_DEPENDS=""
    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/tsocks/files/tsocks/ 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|.*/tsocks-||;s|.tar.*||;q'
   58.13 +}
   58.14 +
   58.15  # Rules to configure and make the package.
   58.16  compile_rules()
   58.17  {
    59.1 --- a/tunctl/receipt	Sat Jan 29 17:28:31 2022 +0100
    59.2 +++ b/tunctl/receipt	Mon Jan 31 11:41:46 2022 +0000
    59.3 @@ -12,6 +12,14 @@
    59.4  
    59.5  DEPENDS=""
    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/tunctl/files/tunctl/ 2>/dev/null | \
   59.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   59.12 +	sed '/scope="row/!d;s|.*/tunctl/||;s|/.*||;q'
   59.13 +}
   59.14 +
   59.15  # Rules to configure and make the package.
   59.16  compile_rules()
   59.17  {
    60.1 --- a/turnserver/receipt	Sat Jan 29 17:28:31 2022 +0100
    60.2 +++ b/turnserver/receipt	Mon Jan 31 11:41:46 2022 +0000
    60.3 @@ -13,6 +13,13 @@
    60.4  DEPENDS="openssl"
    60.5  BUILD_DEPENDS="libconfuse openssl-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/turnserver/files/ 2>/dev/null | \
   60.11 +	sed '/scope="row/!d;/tar/!d;s|.*/turnserver-||;s|.tar.*||;q'
   60.12 +}
   60.13 +
   60.14  # Rules to configure and make the package.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/unhide/receipt	Sat Jan 29 17:28:31 2022 +0100
    61.2 +++ b/unhide/receipt	Mon Jan 31 11:41:46 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  DEPENDS=""
    61.5  BUILD_DEPENDS=""
    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/unhide/files/unhide/ 2>/dev/null | \
   61.11 +	sed '/scope="row/!d;/tar/!d;s|.*nhide-||;s|.tar.*||;q'
   61.12 +}
   61.13 +
   61.14  # Rules to configure and make the package.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/vice/receipt	Sat Jan 29 17:28:31 2022 +0100
    62.2 +++ b/vice/receipt	Mon Jan 31 11:41:46 2022 +0000
    62.3 @@ -14,6 +14,13 @@
    62.4  DEPENDS="gtk+ libsdl2 readline"
    62.5  BUILD_DEPENDS="gtk+-dev libsdl2-dev readline-dev xa xorg-bdftopcf xorg-mkfontdir"
    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/vice-emu/files/releases/ 2>/dev/null | \
   62.11 +	sed '/scope="row/!d;/tar/!d;s|.*/vice-||;s|.tar.*||;q'
   62.12 +}
   62.13 +
   62.14  # Rules to configure and make the package.
   62.15  compile_rules()
   62.16  {
    63.1 --- a/wol/receipt	Sat Jan 29 17:28:31 2022 +0100
    63.2 +++ b/wol/receipt	Mon Jan 31 11:41:46 2022 +0000
    63.3 @@ -13,6 +13,14 @@
    63.4  BUILD_DEPENDS=""
    63.5  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/wake-on-lan/files/wol/ 2>/dev/null | \
   63.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|' | sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
   63.12 +	sed '/scope="row/!d;s|.*/wol/||;s|/.*||;q'
   63.13 +}
   63.14 +
   63.15  # Rules to configure and make the package.
   63.16  compile_rules()
   63.17  {
    64.1 --- a/wput/receipt	Sat Jan 29 17:28:31 2022 +0100
    64.2 +++ b/wput/receipt	Mon Jan 31 11:41:46 2022 +0000
    64.3 @@ -11,6 +11,14 @@
    64.4  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    64.5  HOST_ARCH="i486 arm"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - https://sourceforge.net/projects/wput/files/wput/ 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|.*/wput/||;s|/.*||;q'
   64.13 +}
   64.14 +
   64.15  # Rules to configure and make the package.
   64.16  compile_rules()
   64.17  {
    65.1 --- a/zvbi/receipt	Sat Jan 29 17:28:31 2022 +0100
    65.2 +++ b/zvbi/receipt	Mon Jan 31 11:41:46 2022 +0000
    65.3 @@ -14,6 +14,7 @@
    65.4  DEPENDS="libpng xorg-libX11"
    65.5  BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
    65.6  
    65.7 +# What is the latest version available today?
    65.8  current_version()
    65.9  {
   65.10  	wget -O - https://sourceforge.net/projects/zapping/files/zvbi/ 2>/dev/null | \