wok-6.x rev 24304

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 17 11:01:52 2022 +0000 (2022-01-17)
parents ff81f50dca78
children af88ca2c91a9
files tesseract-ocr-lang-ara/receipt tesseract-ocr-lang-bul/receipt tesseract-ocr-lang-cat/receipt tesseract-ocr-lang-ces/receipt tesseract-ocr-lang-chi_sim/receipt tesseract-ocr-lang-chi_tra/receipt tesseract-ocr-lang-dan/receipt tesseract-ocr-lang-deu/receipt tesseract-ocr-lang-ell/receipt tesseract-ocr-lang-eng/receipt tesseract-ocr-lang-fin/receipt tesseract-ocr-lang-fra/receipt tesseract-ocr-lang-glg/receipt tesseract-ocr-lang-heb/receipt tesseract-ocr-lang-hin/receipt tesseract-ocr-lang-hrv/receipt tesseract-ocr-lang-hun/receipt tesseract-ocr-lang-ind/receipt tesseract-ocr-lang-isl/receipt tesseract-ocr-lang-jpn/receipt tesseract-ocr-lang-kor/receipt tesseract-ocr-lang-nld/receipt tesseract-ocr-lang-nor/receipt tesseract-ocr-lang-pol/receipt tesseract-ocr-lang-por/receipt tesseract-ocr-lang-ron/receipt tesseract-ocr-lang-rus/receipt tesseract-ocr-lang-slk/receipt tesseract-ocr-lang-slv/receipt tesseract-ocr-lang-spa/receipt tesseract-ocr-lang-srp/receipt tesseract-ocr-lang-swa/receipt tesseract-ocr-lang-tha/receipt tesseract-ocr-lang-tur/receipt tesseract-ocr-lang-ukr/receipt tesseract-ocr/receipt thunderbird-bin-fr/receipt thunderbird-bin/receipt thunderbird-langpack-cs/receipt thunderbird-langpack-da/receipt thunderbird-langpack-de/receipt thunderbird-langpack-el/receipt thunderbird-langpack-en_GB/receipt thunderbird-langpack-en_US/receipt thunderbird-langpack-es_AR/receipt thunderbird-langpack-es_ES/receipt thunderbird-langpack-fr/receipt thunderbird-langpack-hu/receipt thunderbird-langpack-id/receipt thunderbird-langpack-it/receipt thunderbird-langpack-pl/receipt thunderbird-langpack-pt_BR/receipt thunderbird-langpack-pt_PT/receipt thunderbird-langpack-ru/receipt thunderbird-langpack-sl/receipt thunderbird-langpack-sv_SE/receipt thunderbird-langpack-zh_CN/receipt thunderbird-langpack-zh_TW/receipt thunderbird/receipt tidy/receipt tintin++/receipt tinyxml/receipt tor-arm/receipt tor/receipt tp_smapi/receipt tp_smapi64/receipt transmission-remote-gtk/receipt ttyload/receipt twisted/receipt txt2tags/receipt udisks/receipt udisks2-kitless/receipt ufiformat/receipt uget/receipt umfpack/receipt unbound/receipt urbackup-client/receipt urbackup-server/receipt usbmuxd/receipt util-linux/receipt utox/receipt vacation/receipt vfu/receipt vifm/receipt vnstat/receipt volumeicon/receipt vorbisgain/receipt wammu/receipt warzone2100/receipt wavemon/receipt webian-shell/receipt weechat/receipt whois/receipt wireless-regdb/receipt xaos/receipt xapian/receipt xdelta/receipt xfce4-whiskermenu-plugin/receipt xflux/receipt xinput-calibrator/receipt xombrero/receipt xpra/receipt xrick/receipt xruskb/receipt xz/receipt yacpi/receipt yaml/receipt yarock/receipt yasm/receipt yasr/receipt yaze-ag/receipt yeahconsole/receipt youtube-dl-gui/receipt youtube-dl/receipt ypbind-mt/receipt ypserv/receipt ytree/receipt zerobin/receipt zerofree/receipt zfs-fuse/receipt zile/receipt zim/receipt zmixer/receipt znc/receipt zoneminder/receipt zopeinterface/receipt zpaq/receipt zsh/receipt zsync/receipt
line diff
     1.1 --- a/tesseract-ocr-lang-ara/receipt	Sat Jan 15 16:48:52 2022 +0000
     1.2 +++ b/tesseract-ocr-lang-ara/receipt	Mon Jan 17 11:01:52 2022 +0000
     1.3 @@ -12,6 +12,13 @@
     1.4  
     1.5  DEPENDS="tesseract-ocr"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
     2.1 --- a/tesseract-ocr-lang-bul/receipt	Sat Jan 15 16:48:52 2022 +0000
     2.2 +++ b/tesseract-ocr-lang-bul/receipt	Mon Jan 17 11:01:52 2022 +0000
     2.3 @@ -12,6 +12,13 @@
     2.4  
     2.5  DEPENDS="tesseract-ocr"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    2.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    2.12 +}
    2.13 +
    2.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.15  genpkg_rules()
    2.16  {
     3.1 --- a/tesseract-ocr-lang-cat/receipt	Sat Jan 15 16:48:52 2022 +0000
     3.2 +++ b/tesseract-ocr-lang-cat/receipt	Mon Jan 17 11:01:52 2022 +0000
     3.3 @@ -12,6 +12,13 @@
     3.4  
     3.5  DEPENDS="tesseract-ocr"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    3.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    3.12 +}
    3.13 +
    3.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.15  genpkg_rules()
    3.16  {
     4.1 --- a/tesseract-ocr-lang-ces/receipt	Sat Jan 15 16:48:52 2022 +0000
     4.2 +++ b/tesseract-ocr-lang-ces/receipt	Mon Jan 17 11:01:52 2022 +0000
     4.3 @@ -12,6 +12,13 @@
     4.4  
     4.5  DEPENDS="tesseract-ocr"
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    4.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    4.12 +}
    4.13 +
    4.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.15  genpkg_rules()
    4.16  {
     5.1 --- a/tesseract-ocr-lang-chi_sim/receipt	Sat Jan 15 16:48:52 2022 +0000
     5.2 +++ b/tesseract-ocr-lang-chi_sim/receipt	Mon Jan 17 11:01:52 2022 +0000
     5.3 @@ -12,6 +12,13 @@
     5.4  
     5.5  DEPENDS="tesseract-ocr"
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    5.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    5.12 +}
    5.13 +
    5.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.15  genpkg_rules()
    5.16  {
     6.1 --- a/tesseract-ocr-lang-chi_tra/receipt	Sat Jan 15 16:48:52 2022 +0000
     6.2 +++ b/tesseract-ocr-lang-chi_tra/receipt	Mon Jan 17 11:01:52 2022 +0000
     6.3 @@ -12,6 +12,13 @@
     6.4  
     6.5  DEPENDS="tesseract-ocr"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    6.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    6.12 +}
    6.13 +
    6.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.15  genpkg_rules()
    6.16  {
     7.1 --- a/tesseract-ocr-lang-dan/receipt	Sat Jan 15 16:48:52 2022 +0000
     7.2 +++ b/tesseract-ocr-lang-dan/receipt	Mon Jan 17 11:01:52 2022 +0000
     7.3 @@ -12,6 +12,13 @@
     7.4  
     7.5  DEPENDS="tesseract-ocr"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    7.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    7.12 +}
    7.13 +
    7.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.15  genpkg_rules()
    7.16  {
     8.1 --- a/tesseract-ocr-lang-deu/receipt	Sat Jan 15 16:48:52 2022 +0000
     8.2 +++ b/tesseract-ocr-lang-deu/receipt	Mon Jan 17 11:01:52 2022 +0000
     8.3 @@ -12,6 +12,13 @@
     8.4  
     8.5  DEPENDS="tesseract-ocr"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    8.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    8.12 +}
    8.13 +
    8.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.15  genpkg_rules()
    8.16  {
     9.1 --- a/tesseract-ocr-lang-ell/receipt	Sat Jan 15 16:48:52 2022 +0000
     9.2 +++ b/tesseract-ocr-lang-ell/receipt	Mon Jan 17 11:01:52 2022 +0000
     9.3 @@ -12,6 +12,13 @@
     9.4  
     9.5  DEPENDS="tesseract-ocr"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    9.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
    9.12 +}
    9.13 +
    9.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.15  genpkg_rules()
    9.16  {
    10.1 --- a/tesseract-ocr-lang-eng/receipt	Sat Jan 15 16:48:52 2022 +0000
    10.2 +++ b/tesseract-ocr-lang-eng/receipt	Mon Jan 17 11:01:52 2022 +0000
    10.3 @@ -12,6 +12,13 @@
    10.4  
    10.5  DEPENDS="tesseract-ocr"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   10.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   10.12 +}
   10.13 +
   10.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.15  genpkg_rules()
   10.16  {
    11.1 --- a/tesseract-ocr-lang-fin/receipt	Sat Jan 15 16:48:52 2022 +0000
    11.2 +++ b/tesseract-ocr-lang-fin/receipt	Mon Jan 17 11:01:52 2022 +0000
    11.3 @@ -12,6 +12,13 @@
    11.4  
    11.5  DEPENDS="tesseract-ocr"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   11.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   11.12 +}
   11.13 +
   11.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.15  genpkg_rules()
   11.16  {
    12.1 --- a/tesseract-ocr-lang-fra/receipt	Sat Jan 15 16:48:52 2022 +0000
    12.2 +++ b/tesseract-ocr-lang-fra/receipt	Mon Jan 17 11:01:52 2022 +0000
    12.3 @@ -12,6 +12,13 @@
    12.4  
    12.5  DEPENDS="tesseract-ocr"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   12.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   12.12 +}
   12.13 +
   12.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.15  genpkg_rules()
   12.16  {
    13.1 --- a/tesseract-ocr-lang-glg/receipt	Sat Jan 15 16:48:52 2022 +0000
    13.2 +++ b/tesseract-ocr-lang-glg/receipt	Mon Jan 17 11:01:52 2022 +0000
    13.3 @@ -12,6 +12,13 @@
    13.4  
    13.5  DEPENDS="tesseract-ocr"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   13.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   13.12 +}
   13.13 +
   13.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.15  genpkg_rules()
   13.16  {
    14.1 --- a/tesseract-ocr-lang-heb/receipt	Sat Jan 15 16:48:52 2022 +0000
    14.2 +++ b/tesseract-ocr-lang-heb/receipt	Mon Jan 17 11:01:52 2022 +0000
    14.3 @@ -12,6 +12,13 @@
    14.4  
    14.5  DEPENDS="tesseract-ocr"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   14.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   14.12 +}
   14.13 +
   14.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   14.15  genpkg_rules()
   14.16  {
    15.1 --- a/tesseract-ocr-lang-hin/receipt	Sat Jan 15 16:48:52 2022 +0000
    15.2 +++ b/tesseract-ocr-lang-hin/receipt	Mon Jan 17 11:01:52 2022 +0000
    15.3 @@ -12,6 +12,13 @@
    15.4  
    15.5  DEPENDS="tesseract-ocr"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   15.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   15.12 +}
   15.13 +
   15.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.15  genpkg_rules()
   15.16  {
    16.1 --- a/tesseract-ocr-lang-hrv/receipt	Sat Jan 15 16:48:52 2022 +0000
    16.2 +++ b/tesseract-ocr-lang-hrv/receipt	Mon Jan 17 11:01:52 2022 +0000
    16.3 @@ -12,6 +12,13 @@
    16.4  
    16.5  DEPENDS="tesseract-ocr"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   16.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   16.12 +}
   16.13 +
   16.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   16.15  genpkg_rules()
   16.16  {
    17.1 --- a/tesseract-ocr-lang-hun/receipt	Sat Jan 15 16:48:52 2022 +0000
    17.2 +++ b/tesseract-ocr-lang-hun/receipt	Mon Jan 17 11:01:52 2022 +0000
    17.3 @@ -12,6 +12,13 @@
    17.4  
    17.5  DEPENDS="tesseract-ocr"
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   17.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   17.12 +}
   17.13 +
   17.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   17.15  genpkg_rules()
   17.16  {
    18.1 --- a/tesseract-ocr-lang-ind/receipt	Sat Jan 15 16:48:52 2022 +0000
    18.2 +++ b/tesseract-ocr-lang-ind/receipt	Mon Jan 17 11:01:52 2022 +0000
    18.3 @@ -12,6 +12,13 @@
    18.4  
    18.5  DEPENDS="tesseract-ocr"
    18.6  
    18.7 +# What is the latest version available today?
    18.8 +current_version()
    18.9 +{
   18.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   18.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   18.12 +}
   18.13 +
   18.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   18.15  genpkg_rules()
   18.16  {
    19.1 --- a/tesseract-ocr-lang-isl/receipt	Sat Jan 15 16:48:52 2022 +0000
    19.2 +++ b/tesseract-ocr-lang-isl/receipt	Mon Jan 17 11:01:52 2022 +0000
    19.3 @@ -12,6 +12,13 @@
    19.4  
    19.5  DEPENDS="tesseract-ocr"
    19.6  
    19.7 +# What is the latest version available today?
    19.8 +current_version()
    19.9 +{
   19.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   19.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   19.12 +}
   19.13 +
   19.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.15  genpkg_rules()
   19.16  {
    20.1 --- a/tesseract-ocr-lang-jpn/receipt	Sat Jan 15 16:48:52 2022 +0000
    20.2 +++ b/tesseract-ocr-lang-jpn/receipt	Mon Jan 17 11:01:52 2022 +0000
    20.3 @@ -12,6 +12,13 @@
    20.4  
    20.5  DEPENDS="tesseract-ocr"
    20.6  
    20.7 +# What is the latest version available today?
    20.8 +current_version()
    20.9 +{
   20.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   20.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   20.12 +}
   20.13 +
   20.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   20.15  genpkg_rules()
   20.16  {
    21.1 --- a/tesseract-ocr-lang-kor/receipt	Sat Jan 15 16:48:52 2022 +0000
    21.2 +++ b/tesseract-ocr-lang-kor/receipt	Mon Jan 17 11:01:52 2022 +0000
    21.3 @@ -12,6 +12,13 @@
    21.4  
    21.5  DEPENDS="tesseract-ocr"
    21.6  
    21.7 +# What is the latest version available today?
    21.8 +current_version()
    21.9 +{
   21.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   21.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   21.12 +}
   21.13 +
   21.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   21.15  genpkg_rules()
   21.16  {
    22.1 --- a/tesseract-ocr-lang-nld/receipt	Sat Jan 15 16:48:52 2022 +0000
    22.2 +++ b/tesseract-ocr-lang-nld/receipt	Mon Jan 17 11:01:52 2022 +0000
    22.3 @@ -12,6 +12,13 @@
    22.4  
    22.5  DEPENDS="tesseract-ocr"
    22.6  
    22.7 +# What is the latest version available today?
    22.8 +current_version()
    22.9 +{
   22.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   22.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   22.12 +}
   22.13 +
   22.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.15  genpkg_rules()
   22.16  {
    23.1 --- a/tesseract-ocr-lang-nor/receipt	Sat Jan 15 16:48:52 2022 +0000
    23.2 +++ b/tesseract-ocr-lang-nor/receipt	Mon Jan 17 11:01:52 2022 +0000
    23.3 @@ -12,6 +12,13 @@
    23.4  
    23.5  DEPENDS="tesseract-ocr"
    23.6  
    23.7 +# What is the latest version available today?
    23.8 +current_version()
    23.9 +{
   23.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   23.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   23.12 +}
   23.13 +
   23.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   23.15  genpkg_rules()
   23.16  {
    24.1 --- a/tesseract-ocr-lang-pol/receipt	Sat Jan 15 16:48:52 2022 +0000
    24.2 +++ b/tesseract-ocr-lang-pol/receipt	Mon Jan 17 11:01:52 2022 +0000
    24.3 @@ -12,6 +12,13 @@
    24.4  
    24.5  DEPENDS="tesseract-ocr"
    24.6  
    24.7 +# What is the latest version available today?
    24.8 +current_version()
    24.9 +{
   24.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   24.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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/tesseract-ocr-lang-por/receipt	Sat Jan 15 16:48:52 2022 +0000
    25.2 +++ b/tesseract-ocr-lang-por/receipt	Mon Jan 17 11:01:52 2022 +0000
    25.3 @@ -12,6 +12,13 @@
    25.4  
    25.5  DEPENDS="tesseract-ocr"
    25.6  
    25.7 +# What is the latest version available today?
    25.8 +current_version()
    25.9 +{
   25.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   25.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   25.12 +}
   25.13 +
   25.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.15  genpkg_rules()
   25.16  {
    26.1 --- a/tesseract-ocr-lang-ron/receipt	Sat Jan 15 16:48:52 2022 +0000
    26.2 +++ b/tesseract-ocr-lang-ron/receipt	Mon Jan 17 11:01:52 2022 +0000
    26.3 @@ -12,6 +12,13 @@
    26.4  
    26.5  DEPENDS="tesseract-ocr"
    26.6  
    26.7 +# What is the latest version available today?
    26.8 +current_version()
    26.9 +{
   26.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   26.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   26.12 +}
   26.13 +
   26.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.15  genpkg_rules()
   26.16  {
    27.1 --- a/tesseract-ocr-lang-rus/receipt	Sat Jan 15 16:48:52 2022 +0000
    27.2 +++ b/tesseract-ocr-lang-rus/receipt	Mon Jan 17 11:01:52 2022 +0000
    27.3 @@ -12,6 +12,13 @@
    27.4  
    27.5  DEPENDS="tesseract-ocr"
    27.6  
    27.7 +# What is the latest version available today?
    27.8 +current_version()
    27.9 +{
   27.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   27.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).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/tesseract-ocr-lang-slk/receipt	Sat Jan 15 16:48:52 2022 +0000
    28.2 +++ b/tesseract-ocr-lang-slk/receipt	Mon Jan 17 11:01:52 2022 +0000
    28.3 @@ -12,6 +12,13 @@
    28.4  
    28.5  DEPENDS="tesseract-ocr"
    28.6  
    28.7 +# What is the latest version available today?
    28.8 +current_version()
    28.9 +{
   28.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   28.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   28.12 +}
   28.13 +
   28.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   28.15  genpkg_rules()
   28.16  {
    29.1 --- a/tesseract-ocr-lang-slv/receipt	Sat Jan 15 16:48:52 2022 +0000
    29.2 +++ b/tesseract-ocr-lang-slv/receipt	Mon Jan 17 11:01:52 2022 +0000
    29.3 @@ -12,6 +12,13 @@
    29.4  
    29.5  DEPENDS="tesseract-ocr"
    29.6  
    29.7 +# What is the latest version available today?
    29.8 +current_version()
    29.9 +{
   29.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   29.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   29.12 +}
   29.13 +
   29.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   29.15  genpkg_rules()
   29.16  {
    30.1 --- a/tesseract-ocr-lang-spa/receipt	Sat Jan 15 16:48:52 2022 +0000
    30.2 +++ b/tesseract-ocr-lang-spa/receipt	Mon Jan 17 11:01:52 2022 +0000
    30.3 @@ -12,6 +12,13 @@
    30.4  
    30.5  DEPENDS="tesseract-ocr"
    30.6  
    30.7 +# What is the latest version available today?
    30.8 +current_version()
    30.9 +{
   30.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   30.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   30.12 +}
   30.13 +
   30.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   30.15  genpkg_rules()
   30.16  {
    31.1 --- a/tesseract-ocr-lang-srp/receipt	Sat Jan 15 16:48:52 2022 +0000
    31.2 +++ b/tesseract-ocr-lang-srp/receipt	Mon Jan 17 11:01:52 2022 +0000
    31.3 @@ -12,6 +12,13 @@
    31.4  
    31.5  DEPENDS="tesseract-ocr"
    31.6  
    31.7 +# What is the latest version available today?
    31.8 +current_version()
    31.9 +{
   31.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   31.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   31.12 +}
   31.13 +
   31.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   31.15  genpkg_rules()
   31.16  {
    32.1 --- a/tesseract-ocr-lang-swa/receipt	Sat Jan 15 16:48:52 2022 +0000
    32.2 +++ b/tesseract-ocr-lang-swa/receipt	Mon Jan 17 11:01:52 2022 +0000
    32.3 @@ -12,6 +12,13 @@
    32.4  
    32.5  DEPENDS="tesseract-ocr"
    32.6  
    32.7 +# What is the latest version available today?
    32.8 +current_version()
    32.9 +{
   32.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   32.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;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/tesseract-ocr-lang-tha/receipt	Sat Jan 15 16:48:52 2022 +0000
    33.2 +++ b/tesseract-ocr-lang-tha/receipt	Mon Jan 17 11:01:52 2022 +0000
    33.3 @@ -12,6 +12,13 @@
    33.4  
    33.5  DEPENDS="tesseract-ocr"
    33.6  
    33.7 +# What is the latest version available today?
    33.8 +current_version()
    33.9 +{
   33.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   33.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   33.12 +}
   33.13 +
   33.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   33.15  genpkg_rules()
   33.16  {
    34.1 --- a/tesseract-ocr-lang-tur/receipt	Sat Jan 15 16:48:52 2022 +0000
    34.2 +++ b/tesseract-ocr-lang-tur/receipt	Mon Jan 17 11:01:52 2022 +0000
    34.3 @@ -12,6 +12,13 @@
    34.4  
    34.5  DEPENDS="tesseract-ocr"
    34.6  
    34.7 +# What is the latest version available today?
    34.8 +current_version()
    34.9 +{
   34.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   34.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   34.12 +}
   34.13 +
   34.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   34.15  genpkg_rules()
   34.16  {
    35.1 --- a/tesseract-ocr-lang-ukr/receipt	Sat Jan 15 16:48:52 2022 +0000
    35.2 +++ b/tesseract-ocr-lang-ukr/receipt	Mon Jan 17 11:01:52 2022 +0000
    35.3 @@ -12,6 +12,13 @@
    35.4  
    35.5  DEPENDS="tesseract-ocr"
    35.6  
    35.7 +# What is the latest version available today?
    35.8 +current_version()
    35.9 +{
   35.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   35.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   35.12 +}
   35.13 +
   35.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   35.15  genpkg_rules()
   35.16  {
    36.1 --- a/tesseract-ocr/receipt	Sat Jan 15 16:48:52 2022 +0000
    36.2 +++ b/tesseract-ocr/receipt	Mon Jan 17 11:01:52 2022 +0000
    36.3 @@ -14,6 +14,13 @@
    36.4  BUILD_DEPENDS="libtool autoconf automake libpng-dev jpeg-dev tiff-dev \
    36.5  giflib-dev zlib-dev icu-dev pango-dev cairo-dev leptonica-dev"
    36.6  
    36.7 +# What is the latest version available today?
    36.8 +current_version()
    36.9 +{
   36.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   36.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).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/thunderbird-bin-fr/receipt	Sat Jan 15 16:48:52 2022 +0000
    37.2 +++ b/thunderbird-bin-fr/receipt	Mon Jan 17 11:01:52 2022 +0000
    37.3 @@ -15,6 +15,13 @@
    37.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
    37.5  HOST_ARCH="i486"
    37.6  
    37.7 +# What is the latest version available today?
    37.8 +current_version()
    37.9 +{
   37.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   37.11 +	sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   37.12 +}
   37.13 +
   37.14  # Rules to configure and make the package.
   37.15  compile_rules()
   37.16  {
    38.1 --- a/thunderbird-bin/receipt	Sat Jan 15 16:48:52 2022 +0000
    38.2 +++ b/thunderbird-bin/receipt	Mon Jan 17 11:01:52 2022 +0000
    38.3 @@ -14,6 +14,13 @@
    38.4  DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt"
    38.5  HOST_ARCH="i486"
    38.6  
    38.7 +# What is the latest version available today?
    38.8 +current_version()
    38.9 +{
   38.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   38.11 +	sed '/[0-9]*\.[0-9]*\./!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   38.12 +}
   38.13 +
   38.14  # Rules to configure and make the package.
   38.15  compile_rules()
   38.16  {
    39.1 --- a/thunderbird-langpack-cs/receipt	Sat Jan 15 16:48:52 2022 +0000
    39.2 +++ b/thunderbird-langpack-cs/receipt	Mon Jan 17 11:01:52 2022 +0000
    39.3 @@ -13,6 +13,13 @@
    39.4  
    39.5  DEPENDS="thunderbird"
    39.6  
    39.7 +# What is the latest version available today?
    39.8 +current_version()
    39.9 +{
   39.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   39.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   39.12 +}
   39.13 +
   39.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   39.15  genpkg_rules()
   39.16  {
    40.1 --- a/thunderbird-langpack-da/receipt	Sat Jan 15 16:48:52 2022 +0000
    40.2 +++ b/thunderbird-langpack-da/receipt	Mon Jan 17 11:01:52 2022 +0000
    40.3 @@ -13,6 +13,13 @@
    40.4  
    40.5  DEPENDS="thunderbird"
    40.6  
    40.7 +# What is the latest version available today?
    40.8 +current_version()
    40.9 +{
   40.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   40.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   40.12 +}
   40.13 +
   40.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   40.15  genpkg_rules()
   40.16  {
    41.1 --- a/thunderbird-langpack-de/receipt	Sat Jan 15 16:48:52 2022 +0000
    41.2 +++ b/thunderbird-langpack-de/receipt	Mon Jan 17 11:01:52 2022 +0000
    41.3 @@ -13,6 +13,13 @@
    41.4  
    41.5  DEPENDS="thunderbird"
    41.6  
    41.7 +# What is the latest version available today?
    41.8 +current_version()
    41.9 +{
   41.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   41.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   41.12 +}
   41.13 +
   41.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   41.15  genpkg_rules()
   41.16  {
    42.1 --- a/thunderbird-langpack-el/receipt	Sat Jan 15 16:48:52 2022 +0000
    42.2 +++ b/thunderbird-langpack-el/receipt	Mon Jan 17 11:01:52 2022 +0000
    42.3 @@ -13,6 +13,13 @@
    42.4  
    42.5  DEPENDS="thunderbird"
    42.6  
    42.7 +# What is the latest version available today?
    42.8 +current_version()
    42.9 +{
   42.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   42.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   42.12 +}
   42.13 +
   42.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   42.15  genpkg_rules()
   42.16  {
    43.1 --- a/thunderbird-langpack-en_GB/receipt	Sat Jan 15 16:48:52 2022 +0000
    43.2 +++ b/thunderbird-langpack-en_GB/receipt	Mon Jan 17 11:01:52 2022 +0000
    43.3 @@ -13,6 +13,13 @@
    43.4  
    43.5  DEPENDS="thunderbird"
    43.6  
    43.7 +# What is the latest version available today?
    43.8 +current_version()
    43.9 +{
   43.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   43.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   43.12 +}
   43.13 +
   43.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   43.15  genpkg_rules()
   43.16  {
    44.1 --- a/thunderbird-langpack-en_US/receipt	Sat Jan 15 16:48:52 2022 +0000
    44.2 +++ b/thunderbird-langpack-en_US/receipt	Mon Jan 17 11:01:52 2022 +0000
    44.3 @@ -13,6 +13,13 @@
    44.4  
    44.5  DEPENDS="thunderbird"
    44.6  
    44.7 +# What is the latest version available today?
    44.8 +current_version()
    44.9 +{
   44.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   44.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   44.12 +}
   44.13 +
   44.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   44.15  genpkg_rules()
   44.16  {
    45.1 --- a/thunderbird-langpack-es_AR/receipt	Sat Jan 15 16:48:52 2022 +0000
    45.2 +++ b/thunderbird-langpack-es_AR/receipt	Mon Jan 17 11:01:52 2022 +0000
    45.3 @@ -13,6 +13,13 @@
    45.4  
    45.5  DEPENDS="thunderbird"
    45.6  
    45.7 +# What is the latest version available today?
    45.8 +current_version()
    45.9 +{
   45.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   45.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   45.12 +}
   45.13 +
   45.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   45.15  genpkg_rules()
   45.16  {
    46.1 --- a/thunderbird-langpack-es_ES/receipt	Sat Jan 15 16:48:52 2022 +0000
    46.2 +++ b/thunderbird-langpack-es_ES/receipt	Mon Jan 17 11:01:52 2022 +0000
    46.3 @@ -13,6 +13,13 @@
    46.4  
    46.5  DEPENDS="thunderbird"
    46.6  
    46.7 +# What is the latest version available today?
    46.8 +current_version()
    46.9 +{
   46.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   46.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed 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/thunderbird-langpack-fr/receipt	Sat Jan 15 16:48:52 2022 +0000
    47.2 +++ b/thunderbird-langpack-fr/receipt	Mon Jan 17 11:01:52 2022 +0000
    47.3 @@ -13,6 +13,13 @@
    47.4  
    47.5  DEPENDS="thunderbird"
    47.6  
    47.7 +# What is the latest version available today?
    47.8 +current_version()
    47.9 +{
   47.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   47.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   47.12 +}
   47.13 +
   47.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   47.15  genpkg_rules()
   47.16  {
    48.1 --- a/thunderbird-langpack-hu/receipt	Sat Jan 15 16:48:52 2022 +0000
    48.2 +++ b/thunderbird-langpack-hu/receipt	Mon Jan 17 11:01:52 2022 +0000
    48.3 @@ -13,6 +13,13 @@
    48.4  
    48.5  DEPENDS="thunderbird"
    48.6  
    48.7 +# What is the latest version available today?
    48.8 +current_version()
    48.9 +{
   48.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   48.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   48.12 +}
   48.13 +
   48.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   48.15  genpkg_rules()
   48.16  {
    49.1 --- a/thunderbird-langpack-id/receipt	Sat Jan 15 16:48:52 2022 +0000
    49.2 +++ b/thunderbird-langpack-id/receipt	Mon Jan 17 11:01:52 2022 +0000
    49.3 @@ -13,6 +13,13 @@
    49.4  
    49.5  DEPENDS="thunderbird"
    49.6  
    49.7 +# What is the latest version available today?
    49.8 +current_version()
    49.9 +{
   49.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   49.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   49.12 +}
   49.13 +
   49.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   49.15  genpkg_rules()
   49.16  {
    50.1 --- a/thunderbird-langpack-it/receipt	Sat Jan 15 16:48:52 2022 +0000
    50.2 +++ b/thunderbird-langpack-it/receipt	Mon Jan 17 11:01:52 2022 +0000
    50.3 @@ -13,6 +13,13 @@
    50.4  
    50.5  DEPENDS="thunderbird"
    50.6  
    50.7 +# What is the latest version available today?
    50.8 +current_version()
    50.9 +{
   50.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   50.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   50.12 +}
   50.13 +
   50.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   50.15  genpkg_rules()
   50.16  {
    51.1 --- a/thunderbird-langpack-pl/receipt	Sat Jan 15 16:48:52 2022 +0000
    51.2 +++ b/thunderbird-langpack-pl/receipt	Mon Jan 17 11:01:52 2022 +0000
    51.3 @@ -13,6 +13,13 @@
    51.4  
    51.5  DEPENDS="thunderbird"
    51.6  
    51.7 +# What is the latest version available today?
    51.8 +current_version()
    51.9 +{
   51.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   51.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   51.12 +}
   51.13 +
   51.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   51.15  genpkg_rules()
   51.16  {
    52.1 --- a/thunderbird-langpack-pt_BR/receipt	Sat Jan 15 16:48:52 2022 +0000
    52.2 +++ b/thunderbird-langpack-pt_BR/receipt	Mon Jan 17 11:01:52 2022 +0000
    52.3 @@ -13,6 +13,13 @@
    52.4  
    52.5  DEPENDS="thunderbird"
    52.6  
    52.7 +# What is the latest version available today?
    52.8 +current_version()
    52.9 +{
   52.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   52.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   52.12 +}
   52.13 +
   52.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   52.15  genpkg_rules()
   52.16  {
    53.1 --- a/thunderbird-langpack-pt_PT/receipt	Sat Jan 15 16:48:52 2022 +0000
    53.2 +++ b/thunderbird-langpack-pt_PT/receipt	Mon Jan 17 11:01:52 2022 +0000
    53.3 @@ -13,6 +13,13 @@
    53.4  
    53.5  DEPENDS="thunderbird"
    53.6  
    53.7 +# What is the latest version available today?
    53.8 +current_version()
    53.9 +{
   53.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   53.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   53.12 +}
   53.13 +
   53.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   53.15  genpkg_rules()
   53.16  {
    54.1 --- a/thunderbird-langpack-ru/receipt	Sat Jan 15 16:48:52 2022 +0000
    54.2 +++ b/thunderbird-langpack-ru/receipt	Mon Jan 17 11:01:52 2022 +0000
    54.3 @@ -13,6 +13,13 @@
    54.4  
    54.5  DEPENDS="thunderbird"
    54.6  
    54.7 +# What is the latest version available today?
    54.8 +current_version()
    54.9 +{
   54.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   54.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   54.12 +}
   54.13 +
   54.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   54.15  genpkg_rules()
   54.16  {
    55.1 --- a/thunderbird-langpack-sl/receipt	Sat Jan 15 16:48:52 2022 +0000
    55.2 +++ b/thunderbird-langpack-sl/receipt	Mon Jan 17 11:01:52 2022 +0000
    55.3 @@ -13,6 +13,13 @@
    55.4  
    55.5  DEPENDS="thunderbird"
    55.6  
    55.7 +# What is the latest version available today?
    55.8 +current_version()
    55.9 +{
   55.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   55.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   55.12 +}
   55.13 +
   55.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   55.15  genpkg_rules()
   55.16  {
    56.1 --- a/thunderbird-langpack-sv_SE/receipt	Sat Jan 15 16:48:52 2022 +0000
    56.2 +++ b/thunderbird-langpack-sv_SE/receipt	Mon Jan 17 11:01:52 2022 +0000
    56.3 @@ -13,6 +13,13 @@
    56.4  
    56.5  DEPENDS="thunderbird"
    56.6  
    56.7 +# What is the latest version available today?
    56.8 +current_version()
    56.9 +{
   56.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   56.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   56.12 +}
   56.13 +
   56.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   56.15  genpkg_rules()
   56.16  {
    57.1 --- a/thunderbird-langpack-zh_CN/receipt	Sat Jan 15 16:48:52 2022 +0000
    57.2 +++ b/thunderbird-langpack-zh_CN/receipt	Mon Jan 17 11:01:52 2022 +0000
    57.3 @@ -13,6 +13,13 @@
    57.4  
    57.5  DEPENDS="thunderbird"
    57.6  
    57.7 +# What is the latest version available today?
    57.8 +current_version()
    57.9 +{
   57.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   57.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   57.12 +}
   57.13 +
   57.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   57.15  genpkg_rules()
   57.16  {
    58.1 --- a/thunderbird-langpack-zh_TW/receipt	Sat Jan 15 16:48:52 2022 +0000
    58.2 +++ b/thunderbird-langpack-zh_TW/receipt	Mon Jan 17 11:01:52 2022 +0000
    58.3 @@ -13,6 +13,13 @@
    58.4  
    58.5  DEPENDS="thunderbird"
    58.6  
    58.7 +# What is the latest version available today?
    58.8 +current_version()
    58.9 +{
   58.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   58.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   58.12 +}
   58.13 +
   58.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   58.15  genpkg_rules()
   58.16  {
    59.1 --- a/thunderbird/receipt	Sat Jan 15 16:48:52 2022 +0000
    59.2 +++ b/thunderbird/receipt	Mon Jan 17 11:01:52 2022 +0000
    59.3 @@ -17,6 +17,13 @@
    59.4  dbus-dev dbus-glib-dev libnotify-dev freetype fontconfig tar gzip mesa-dev"
    59.5  TAGS="email pop imap smtp"
    59.6  
    59.7 +# What is the latest version available today?
    59.8 +current_version()
    59.9 +{
   59.10 +	wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \
   59.11 +	sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q
   59.12 +}
   59.13 +
   59.14  # Rules to configure and make the package.
   59.15  # WARNING: 1GB RAM minimum. Additional RAM will significantly decrease
   59.16  # build time.
    60.1 --- a/tidy/receipt	Sat Jan 15 16:48:52 2022 +0000
    60.2 +++ b/tidy/receipt	Mon Jan 17 11:01:52 2022 +0000
    60.3 @@ -13,6 +13,13 @@
    60.4  DEPENDS="glibc-base"
    60.5  BUILD_DEPENDS="file"
    60.6  
    60.7 +# What is the latest version available today?
    60.8 +current_version()
    60.9 +{
   60.10 +	wget -O - https://github.com/htacg/tidy-html5/releases 2>/dev/null | \
   60.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   60.12 +}
   60.13 +
   60.14  # Rules to configure and make the package.
   60.15  compile_rules()
   60.16  {
    61.1 --- a/tintin++/receipt	Sat Jan 15 16:48:52 2022 +0000
    61.2 +++ b/tintin++/receipt	Mon Jan 17 11:01:52 2022 +0000
    61.3 @@ -14,6 +14,13 @@
    61.4  
    61.5  DEPENDS="pcre"
    61.6  
    61.7 +# What is the latest version available today?
    61.8 +current_version()
    61.9 +{
   61.10 +	wget -O - https://github.com/scandum/tintin/releases 2>/dev/null | \
   61.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   61.12 +}
   61.13 +
   61.14  # Rules to configure and make the package.
   61.15  compile_rules()
   61.16  {
    62.1 --- a/tinyxml/receipt	Sat Jan 15 16:48:52 2022 +0000
    62.2 +++ b/tinyxml/receipt	Mon Jan 17 11:01:52 2022 +0000
    62.3 @@ -7,7 +7,7 @@
    62.4  MAINTAINER="pankso@slitaz.org"
    62.5  LICENSE="GPL2"
    62.6  TARBALL="${PACKAGE}_${VERSION//./_}.zip"
    62.7 -WEB_SITE="https://wiki.lxde.org/en/LXMusic"
    62.8 +WEB_SITE="http://www.grinninglizard.com/tinyxml/index.html"
    62.9  WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
   62.10  #HOST_ARCH="i486 arm"
   62.11  
    63.1 --- a/tor-arm/receipt	Sat Jan 15 16:48:52 2022 +0000
    63.2 +++ b/tor-arm/receipt	Mon Jan 17 11:01:52 2022 +0000
    63.3 @@ -14,6 +14,13 @@
    63.4  DEPENDS="python"
    63.5  BUILD_DEPENDS="python python-dev"
    63.6  
    63.7 +# What is the latest version available today?
    63.8 +current_version()
    63.9 +{
   63.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   63.11 +	sed '/latest/!d;s|.*is <b>||;s|<.*||;q'
   63.12 +}
   63.13 +
   63.14  # Rules to configure and make the package.
   63.15  compile_rules()
   63.16  {
    64.1 --- a/tor/receipt	Sat Jan 15 16:48:52 2022 +0000
    64.2 +++ b/tor/receipt	Mon Jan 17 11:01:52 2022 +0000
    64.3 @@ -16,6 +16,13 @@
    64.4  
    64.5  HOST_ARCH="i486 arm"
    64.6  
    64.7 +# What is the latest version available today?
    64.8 +current_version()
    64.9 +{
   64.10 +	wget -O - $WEB_SITE/download/tor 2>/dev/null | \
   64.11 +	sed '/ChangeLog/!d;s|.*tor-||;s|".*||;q'
   64.12 +}
   64.13 +
   64.14  # Rules to configure and make the package.
   64.15  compile_rules()
   64.16  {
    65.1 --- a/tp_smapi/receipt	Sat Jan 15 16:48:52 2022 +0000
    65.2 +++ b/tp_smapi/receipt	Mon Jan 17 11:01:52 2022 +0000
    65.3 @@ -12,6 +12,13 @@
    65.4  
    65.5  BUILD_DEPENDS="linux-module-headers linux-source wget"
    65.6  
    65.7 +# What is the latest version available today?
    65.8 +current_version()
    65.9 +{
   65.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   65.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   65.12 +}
   65.13 +
   65.14  # Rules to configure and make the package.
   65.15  compile_rules()
   65.16  {
    66.1 --- a/tp_smapi64/receipt	Sat Jan 15 16:48:52 2022 +0000
    66.2 +++ b/tp_smapi64/receipt	Mon Jan 17 11:01:52 2022 +0000
    66.3 @@ -18,6 +18,13 @@
    66.4  # Aufs enable chroot
    66.5  AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
    66.6  
    66.7 +# What is the latest version available today?
    66.8 +current_version()
    66.9 +{
   66.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   66.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   66.12 +}
   66.13 +
   66.14  # Rules to configure and make the package.
   66.15  compile_rules()
   66.16  {
    67.1 --- a/transmission-remote-gtk/receipt	Sat Jan 15 16:48:52 2022 +0000
    67.2 +++ b/transmission-remote-gtk/receipt	Mon Jan 17 11:01:52 2022 +0000
    67.3 @@ -14,6 +14,13 @@
    67.4  BUILD_DEPENDS="gtk+-dev json-glib-dev curl-dev libnotify-dev \
    67.5  libunique-dev"
    67.6  
    67.7 +# What is the latest version available today?
    67.8 +current_version()
    67.9 +{
   67.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   67.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   67.12 +}
   67.13 +
   67.14  # Rules to configure and make the package.
   67.15  compile_rules()
   67.16  {
    68.1 --- a/ttyload/receipt	Sat Jan 15 16:48:52 2022 +0000
    68.2 +++ b/ttyload/receipt	Mon Jan 17 11:01:52 2022 +0000
    68.3 @@ -11,6 +11,13 @@
    68.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    68.5  WGET_URL="${WEB_SITE}$TARBALL"
    68.6  
    68.7 +# What is the latest version available today?
    68.8 +current_version()
    68.9 +{
   68.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   68.11 +	sed '/is now/!d;s|.*ttyload-||;s|.tar.*||;q'
   68.12 +}
   68.13 +
   68.14  # Rules to configure and make the package.
   68.15  compile_rules()
   68.16  {
    69.1 --- a/twisted/receipt	Sat Jan 15 16:48:52 2022 +0000
    69.2 +++ b/twisted/receipt	Mon Jan 17 11:01:52 2022 +0000
    69.3 @@ -16,6 +16,13 @@
    69.4  BUILD_DEPENDS="python python-dev python-incremental python-pip 
    69.5  	python-setuptools zopeinterface"
    69.6  
    69.7 +# What is the latest version available today?
    69.8 +current_version()
    69.9 +{
   69.10 +	wget -O - https://github.com/twisted/twisted/releases 2>/dev/null | \
   69.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   69.12 +}
   69.13 +
   69.14  # Rules to configure and make the package.
   69.15  compile_rules()
   69.16  {
    70.1 --- a/txt2tags/receipt	Sat Jan 15 16:48:52 2022 +0000
    70.2 +++ b/txt2tags/receipt	Mon Jan 17 11:01:52 2022 +0000
    70.3 @@ -11,6 +11,13 @@
    70.4  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    70.5  DEPENDS="python"
    70.6  
    70.7 +# What is the latest version available today?
    70.8 +current_version()
    70.9 +{
   70.10 +	wget -O - https://github.com/txt2tags/txt2tags/releases 2>/dev/null | \
   70.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   70.12 +}
   70.13 +
   70.14  # Rules to configure and make the package.
   70.15  compile_rules()
   70.16  {
    71.1 --- a/udisks/receipt	Sat Jan 15 16:48:52 2022 +0000
    71.2 +++ b/udisks/receipt	Mon Jan 17 11:01:52 2022 +0000
    71.3 @@ -17,6 +17,13 @@
    71.4  	libdevmapper-dev libgudev-dev libxslt parted-dev pcre-dev polkit-dev 
    71.5  	sg3_utils-dev udev-dev util-linux-blkid-dev util-linux-uuid-dev"
    71.6  
    71.7 +# What is the latest version available today?
    71.8 +current_version()
    71.9 +{
   71.10 +	wget -O - https://github.com/storaged-project/udisks/releases 2>/dev/null | \
   71.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   71.12 +}
   71.13 +
   71.14  # Rules to configure and make the package.
   71.15  compile_rules()
   71.16  {
    72.1 --- a/udisks2-kitless/receipt	Sat Jan 15 16:48:52 2022 +0000
    72.2 +++ b/udisks2-kitless/receipt	Mon Jan 17 11:01:52 2022 +0000
    72.3 @@ -14,6 +14,13 @@
    72.4  BUILD_DEPENDS="docbook-xsl gtk-doc libgudev-dev libatasmart-dev \
    72.5  gobject-introspection-dev intltool"
    72.6  
    72.7 +# What is the latest version available today?
    72.8 +current_version()
    72.9 +{
   72.10 +	wget -O - ${WEB_SITE}tags 2>/dev/null | \
   72.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   72.12 +}
   72.13 +
   72.14  # Rules to configure and make the package.
   72.15  compile_rules()
   72.16  {
    73.1 --- a/ufiformat/receipt	Sat Jan 15 16:48:52 2022 +0000
    73.2 +++ b/ufiformat/receipt	Mon Jan 17 11:01:52 2022 +0000
    73.3 @@ -14,6 +14,13 @@
    73.4  DEPENDS="e2fsprogs"
    73.5  BUILD_DEPENDS="e2fsprogs-dev"
    73.6  
    73.7 +# What is the latest version available today?
    73.8 +current_version()
    73.9 +{
   73.10 +	wget -O - ${WEB_SITE}tags 2>/dev/null | \
   73.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   73.12 +}
   73.13 +
   73.14  # Rules to configure and make the package.
   73.15  compile_rules()
   73.16  {
    74.1 --- a/uget/receipt	Sat Jan 15 16:48:52 2022 +0000
    74.2 +++ b/uget/receipt	Mon Jan 17 11:01:52 2022 +0000
    74.3 @@ -14,6 +14,13 @@
    74.4  DEPENDS="curl glib gtk+3 pcre"
    74.5  BUILD_DEPENDS="curl-dev glib-dev gtk+3-dev intltool pcre-dev"
    74.6  
    74.7 +# What is the latest version available today?
    74.8 +current_version()
    74.9 +{
   74.10 +	wget -O - ${WEB_SITE}downloads/ 2>/dev/null | \
   74.11 +	sed '/Latest Stable/!d;s|.*sion: ||;s|<.*||'
   74.12 +}
   74.13 +
   74.14  # Rules to configure and make the package.
   74.15  compile_rules()
   74.16  {
    75.1 --- a/umfpack/receipt	Sat Jan 15 16:48:52 2022 +0000
    75.2 +++ b/umfpack/receipt	Mon Jan 17 11:01:52 2022 +0000
    75.3 @@ -14,6 +14,13 @@
    75.4  DEPENDS="blas lapack"
    75.5  BUILD_DEPENDS="blas lapack libgfortran"
    75.6  
    75.7 +# What is the latest version available today?
    75.8 +current_version()
    75.9 +{
   75.10 +	wget -O - https://github.com/DrTimothyAldenDavis/SuiteSparse/releases 2>/dev/null | \
   75.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   75.12 +}
   75.13 +
   75.14  # Rules to configure and make the package.
   75.15  compile_rules()
   75.16  {
    76.1 --- a/unbound/receipt	Sat Jan 15 16:48:52 2022 +0000
    76.2 +++ b/unbound/receipt	Mon Jan 17 11:01:52 2022 +0000
    76.3 @@ -16,6 +16,13 @@
    76.4  
    76.5  CONFIG_FILES="/etc/unbound"
    76.6  
    76.7 +# What is the latest version available today?
    76.8 +current_version()
    76.9 +{
   76.10 +	wget -O - "${WGET_URL%/*}?C=M;O=A" 2>/dev/null | \
   76.11 +	sed "/$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
   76.12 +}
   76.13 +
   76.14  # Rules to configure and make the package.
   76.15  compile_rules()
   76.16  {
    77.1 --- a/urbackup-client/receipt	Sat Jan 15 16:48:52 2022 +0000
    77.2 +++ b/urbackup-client/receipt	Mon Jan 17 11:01:52 2022 +0000
    77.3 @@ -15,6 +15,13 @@
    77.4  DEPENDS="cryptopp wxWidgets"
    77.5  BUILD_DEPENDS="cryptopp wxWidgets-dev"
    77.6  
    77.7 +# What is the latest version available today?
    77.8 +current_version()
    77.9 +{
   77.10 +	wget -O - $WEB_SITE/download.html 2>/dev/null | \
   77.11 +	sed "/$PACKAGE-/!d;/href/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   77.12 +}
   77.13 +
   77.14  # Rules to configure and make the package.
   77.15  compile_rules()
   77.16  {
    78.1 --- a/urbackup-server/receipt	Sat Jan 15 16:48:52 2022 +0000
    78.2 +++ b/urbackup-server/receipt	Mon Jan 17 11:01:52 2022 +0000
    78.3 @@ -15,6 +15,13 @@
    78.4  DEPENDS="cryptopp libcurl"
    78.5  BUILD_DEPENDS="cryptopp curl-dev"
    78.6  
    78.7 +# What is the latest version available today?
    78.8 +current_version()
    78.9 +{
   78.10 +	wget -O - $WEB_SITE/download.html 2>/dev/null | \
   78.11 +	sed "/$PACKAGE-/!d;/href/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   78.12 +}
   78.13 +
   78.14  # Rules to configure and make the package.
   78.15  compile_rules()
   78.16  {
    79.1 --- a/usbmuxd/receipt	Sat Jan 15 16:48:52 2022 +0000
    79.2 +++ b/usbmuxd/receipt	Mon Jan 17 11:01:52 2022 +0000
    79.3 @@ -13,6 +13,13 @@
    79.4  DEPENDS="libusb libplist"
    79.5  BUILD_DEPENDS="cmake libusb-dev libplist-dev"
    79.6  
    79.7 +# What is the latest version available today?
    79.8 +current_version()
    79.9 +{
   79.10 +	wget -O - https://github.com/libimobiledevice/usbmuxd/releases 2>/dev/null | \
   79.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   79.12 +}
   79.13 +
   79.14  # Rules to configure and make the package.
   79.15  compile_rules()
   79.16  {
    80.1 --- a/util-linux/receipt	Sat Jan 15 16:48:52 2022 +0000
    80.2 +++ b/util-linux/receipt	Mon Jan 17 11:01:52 2022 +0000
    80.3 @@ -22,6 +22,14 @@
    80.4  
    80.5  HOST_ARCH="i486 arm"
    80.6  
    80.7 +# What is the latest version available today?
    80.8 +current_version()
    80.9 +{
   80.10 +	wget -O - ${WGET_URL%/*/*}$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
   80.11 +	sed '/href/!d;s|.*">|/|;s|<.*||' | tail -n1) 2>/dev/null | \
   80.12 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
   80.13 +}
   80.14 +
   80.15  # Rules to configure and make the package.
   80.16  compile_rules()
   80.17  {
    81.1 --- a/utox/receipt	Sat Jan 15 16:48:52 2022 +0000
    81.2 +++ b/utox/receipt	Mon Jan 17 11:01:52 2022 +0000
    81.3 @@ -13,6 +13,13 @@
    81.4  DEPENDS="dbus bzlib xorg-libX11 gtk+"
    81.5  BUILD_DEPENDS="wget"
    81.6  
    81.7 +# What is the latest version available today?
    81.8 +current_version()
    81.9 +{
   81.10 +	wget -O - https://github.com/uTox/uTox/releases 2>/dev/null | \
   81.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   81.12 +}
   81.13 +
   81.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   81.15  genpkg_rules()
   81.16  {
    82.1 --- a/vacation/receipt	Sat Jan 15 16:48:52 2022 +0000
    82.2 +++ b/vacation/receipt	Mon Jan 17 11:01:52 2022 +0000
    82.3 @@ -15,6 +15,13 @@
    82.4  DEPENDS="gdbm"
    82.5  BUILD_DEPENDS="db-dev gdbm-dev"
    82.6  
    82.7 +# What is the latest version available today?
    82.8 +current_version()
    82.9 +{
   82.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   82.11 +	sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|.tar.*||"
   82.12 +}
   82.13 +
   82.14  # Rules to configure and make the package.
   82.15  compile_rules()
   82.16  {
    83.1 --- a/vfu/receipt	Sat Jan 15 16:48:52 2022 +0000
    83.2 +++ b/vfu/receipt	Mon Jan 17 11:01:52 2022 +0000
    83.3 @@ -13,6 +13,13 @@
    83.4  DEPENDS="ncurses pcre"
    83.5  BUILD_DEPENDS="ncurses-dev pcre-dev"
    83.6  
    83.7 +# What is the latest version available today?
    83.8 +current_version()
    83.9 +{
   83.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   83.11 +	sed "/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
   83.12 +}
   83.13 +
   83.14  # Rules to configure and make the package.
   83.15  compile_rules()
   83.16  {
    84.1 --- a/vifm/receipt	Sat Jan 15 16:48:52 2022 +0000
    84.2 +++ b/vifm/receipt	Mon Jan 17 11:01:52 2022 +0000
    84.3 @@ -15,6 +15,13 @@
    84.4  BUILD_DEPENDS="file groff libmagic-dev ncurses-dev util-linux-whereis \
    84.5  	vim xorg-libX11-dev"
    84.6  
    84.7 +# What is the latest version available today?
    84.8 +current_version()
    84.9 +{
   84.10 +	wget -O - https://github.com/vifm/vifm/tags 2>/dev/null | \
   84.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   84.12 +}
   84.13 +
   84.14  # Rules to configure and make the package.
   84.15  compile_rules()
   84.16  {
    85.1 --- a/vnstat/receipt	Sat Jan 15 16:48:52 2022 +0000
    85.2 +++ b/vnstat/receipt	Mon Jan 17 11:01:52 2022 +0000
    85.3 @@ -14,6 +14,13 @@
    85.4  SUGGESTED="libgd"
    85.5  BUILD_DEPENDS="libgd-dev sqlite-dev"
    85.6  
    85.7 +# What is the latest version available today?
    85.8 +current_version()
    85.9 +{
   85.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   85.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   85.12 +}
   85.13 +
   85.14  # Rules to configure and make the package.
   85.15  compile_rules()
   85.16  {
    86.1 --- a/volumeicon/receipt	Sat Jan 15 16:48:52 2022 +0000
    86.2 +++ b/volumeicon/receipt	Mon Jan 17 11:01:52 2022 +0000
    86.3 @@ -16,6 +16,13 @@
    86.4  
    86.5  #HOST_ARCH="i486 arm"
    86.6  
    86.7 +# What is the latest version available today?
    86.8 +current_version()
    86.9 +{
   86.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   86.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   86.12 +}
   86.13 +
   86.14  # Rules to configure and make the package.
   86.15  compile_rules()
   86.16  {
    87.1 --- a/vorbisgain/receipt	Sat Jan 15 16:48:52 2022 +0000
    87.2 +++ b/vorbisgain/receipt	Mon Jan 17 11:01:52 2022 +0000
    87.3 @@ -13,6 +13,13 @@
    87.4  DEPENDS="libogg libvorbis"
    87.5  BUILD_DEPENDS="libogg-dev libvorbis-dev"
    87.6  
    87.7 +# What is the latest version available today?
    87.8 +current_version()
    87.9 +{
   87.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   87.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
   87.12 +}
   87.13 +
   87.14  # Rules to configure and make the package.
   87.15  compile_rules()
   87.16  {
    88.1 --- a/wammu/receipt	Sat Jan 15 16:48:52 2022 +0000
    88.2 +++ b/wammu/receipt	Mon Jan 17 11:01:52 2022 +0000
    88.3 @@ -15,6 +15,13 @@
    88.4  DEPENDS="python-six python-gammu python-pybluez wxpython"
    88.5  BUILD_DEPENDS="gammu-dev python-dev python-setuptools wxpython-dev"
    88.6  
    88.7 +# What is the latest version available today?
    88.8 +current_version()
    88.9 +{
   88.10 +	wget -O - https://github.com/gammu/wammu/tags 2>/dev/null | \
   88.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   88.12 +}
   88.13 +
   88.14  # Rules to configure and make the package.
   88.15  compile_rules()
   88.16  {
    89.1 --- a/warzone2100/receipt	Sat Jan 15 16:48:52 2022 +0000
    89.2 +++ b/warzone2100/receipt	Mon Jan 17 11:01:52 2022 +0000
    89.3 @@ -16,6 +16,13 @@
    89.4  libpng-dev libogg-dev libvorbis-dev libtheora-dev libmad-dev physfs-dev \
    89.5  quesoglc-dev popt-dev gawk bison flex zip unzip pkg-config zlib-dev"
    89.6  
    89.7 +# What is the latest version available today?
    89.8 +current_version()
    89.9 +{
   89.10 +	wget -O - https://github.com/Warzone2100/warzone2100/releases 2>/dev/null | \
   89.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   89.12 +}
   89.13 +
   89.14  # Rules to configure and make the package.
   89.15  compile_rules()
   89.16  {
    90.1 --- a/wavemon/receipt	Sat Jan 15 16:48:52 2022 +0000
    90.2 +++ b/wavemon/receipt	Mon Jan 17 11:01:52 2022 +0000
    90.3 @@ -14,6 +14,13 @@
    90.4  DEPENDS="libcap libnl ncurses"
    90.5  BUILD_DEPENDS="libcap-dev libnl-dev ncurses-dev"
    90.6  
    90.7 +# What is the latest version available today?
    90.8 +current_version()
    90.9 +{
   90.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   90.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   90.12 +}
   90.13 +
   90.14  # Rules to configure and make the package.
   90.15  compile_rules()
   90.16  {
    91.1 --- a/webian-shell/receipt	Sat Jan 15 16:48:52 2022 +0000
    91.2 +++ b/webian-shell/receipt	Mon Jan 17 11:01:52 2022 +0000
    91.3 @@ -14,6 +14,13 @@
    91.4  DEPENDS="gtk+ nss"
    91.5  BUILD_DEPENDS="wget"
    91.6  
    91.7 +# What is the latest version available today?
    91.8 +current_version()
    91.9 +{
   91.10 +	wget -O - https://github.com/webianproject/shell/tags 2>/dev/null | \
   91.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   91.12 +}
   91.13 +
   91.14  compile_rules()
   91.15  {
   91.16  
    92.1 --- a/weechat/receipt	Sat Jan 15 16:48:52 2022 +0000
    92.2 +++ b/weechat/receipt	Mon Jan 17 11:01:52 2022 +0000
    92.3 @@ -16,6 +16,13 @@
    92.4  BUILD_DEPENDS="cmake curl-dev gmp-dev gnutls-dev guile-dev \
    92.5  	libgcrypt-dev libtool ncursesw-dev perl pkg-config py3k-dev"
    92.6  
    92.7 +# What is the latest version available today?
    92.8 +current_version()
    92.9 +{
   92.10 +	wget -O - https://weechat.org/download/ 2>/dev/null | \
   92.11 +	sed '/weechat-/!d;s|.*weechat-||;s|.tar.*||;q'
   92.12 +}
   92.13 +
   92.14  # Rules to configure and make the package.
   92.15  compile_rules()
   92.16  {	
    93.1 --- a/whois/receipt	Sat Jan 15 16:48:52 2022 +0000
    93.2 +++ b/whois/receipt	Mon Jan 17 11:01:52 2022 +0000
    93.3 @@ -14,6 +14,13 @@
    93.4  DEPENDS="libidn"
    93.5  BUILD_DEPENDS="libidn-dev perl"
    93.6  
    93.7 +# What is the latest version available today?
    93.8 +current_version()
    93.9 +{
   93.10 +	wget -O - https://github.com/rfc1036/whois/tags 2>/dev/null | \
   93.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   93.12 +}
   93.13 +
   93.14  # Rules to configure and make the package.
   93.15  compile_rules()
   93.16  {
    94.1 --- a/wireless-regdb/receipt	Sat Jan 15 16:48:52 2022 +0000
    94.2 +++ b/wireless-regdb/receipt	Mon Jan 17 11:01:52 2022 +0000
    94.3 @@ -14,6 +14,13 @@
    94.4  DEPENDS=""
    94.5  BUILD_DEPENDS=""
    94.6  
    94.7 +# What is the latest version available today?
    94.8 +current_version()
    94.9 +{
   94.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   94.11 +	sed "/$PACKAGE/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n 1
   94.12 +}
   94.13 +
   94.14  # Rules to configure and make the package.
   94.15  compile_rules()
   94.16  {
    95.1 --- a/xaos/receipt	Sat Jan 15 16:48:52 2022 +0000
    95.2 +++ b/xaos/receipt	Mon Jan 17 11:01:52 2022 +0000
    95.3 @@ -13,6 +13,13 @@
    95.4  DEPENDS="libpng zlib"
    95.5  BUILD_DEPENDS="pkg-config libpng-dev nasm gettext"
    95.6  
    95.7 +# What is the latest version available today?
    95.8 +current_version()
    95.9 +{
   95.10 +	wget -O - https://github.com/xaos-project/XaoS/releases 2>/dev/null | \
   95.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   95.12 +}
   95.13 +
   95.14  # Rules to configure and make the package.
   95.15  compile_rules()
   95.16  {
    96.1 --- a/xapian/receipt	Sat Jan 15 16:48:52 2022 +0000
    96.2 +++ b/xapian/receipt	Mon Jan 17 11:01:52 2022 +0000
    96.3 @@ -14,6 +14,13 @@
    96.4  DEPENDS="gcc83-lib-base util-linux-uuid zlib"
    96.5  BUILD_DEPENDS="gcc83 util-linux-uuid-dev zlib-dev"
    96.6  
    96.7 +# What is the latest version available today?
    96.8 +current_version()
    96.9 +{
   96.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   96.11 +	sed '/released on/!d;s|is ||;s|<.*||;q'
   96.12 +}
   96.13 +
   96.14  # Rules to configure and make the package.
   96.15  compile_rules()
   96.16  {
    97.1 --- a/xdelta/receipt	Sat Jan 15 16:48:52 2022 +0000
    97.2 +++ b/xdelta/receipt	Mon Jan 17 11:01:52 2022 +0000
    97.3 @@ -10,6 +10,13 @@
    97.4  WEB_SITE="http://xdelta.org/"
    97.5  WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL"
    97.6  
    97.7 +# What is the latest version available today?
    97.8 +current_version()
    97.9 +{
   97.10 +	wget -O - https://github.com/jmacd/xdelta/tags 2>/dev/null | \
   97.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   97.12 +}
   97.13 +
   97.14  # Rules to configure and make the package.
   97.15  compile_rules()
   97.16  {
    98.1 --- a/xfce4-whiskermenu-plugin/receipt	Sat Jan 15 16:48:52 2022 +0000
    98.2 +++ b/xfce4-whiskermenu-plugin/receipt	Mon Jan 17 11:01:52 2022 +0000
    98.3 @@ -14,6 +14,13 @@
    98.4  BUILD_DEPENDS="cmake pkg-config gtk+-dev libexo-dev garcon-dev xfce4-panel-dev \
    98.5  libxfce4ui-dev"
    98.6  
    98.7 +# What is the latest version available today?
    98.8 +current_version()
    98.9 +{
   98.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   98.11 +	sed '/Version/!d;s|.*sion ||;s|<.*||'
   98.12 +}
   98.13 +
   98.14  # Rules to configure and make the package.
   98.15  compile_rules()
   98.16  {
    99.1 --- a/xflux/receipt	Sat Jan 15 16:48:52 2022 +0000
    99.2 +++ b/xflux/receipt	Mon Jan 17 11:01:52 2022 +0000
    99.3 @@ -13,6 +13,13 @@
    99.4  DEPENDS=""
    99.5  BUILD_DEPENDS="git bzip2"
    99.6  
    99.7 +# What is the latest version available today?
    99.8 +current_version()
    99.9 +{
   99.10 +	wget -O - https://github.com/xflux-gui/fluxgui/tags 2>/dev/null | \
   99.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
   99.12 +}
   99.13 +
   99.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   99.15  genpkg_rules()
   99.16  {
   100.1 --- a/xinput-calibrator/receipt	Sat Jan 15 16:48:52 2022 +0000
   100.2 +++ b/xinput-calibrator/receipt	Mon Jan 17 11:01:52 2022 +0000
   100.3 @@ -15,6 +15,13 @@
   100.4  DEPENDS="xorg-libX11"
   100.5  BUILD_DEPENDS="xorg-libX11"
   100.6  
   100.7 +# What is the latest version available today?
   100.8 +current_version()
   100.9 +{
  100.10 +	wget -O - https://github.com/tias/xinput_calibrator/tags 2>/dev/null | \
  100.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
  100.12 +}
  100.13 +
  100.14  # Rules to configure and make the package.
  100.15  compile_rules()
  100.16  {
   101.1 --- a/xombrero/receipt	Sat Jan 15 16:48:52 2022 +0000
   101.2 +++ b/xombrero/receipt	Mon Jan 17 11:01:52 2022 +0000
   101.3 @@ -17,6 +17,13 @@
   101.4  BUILD_DEPENDS="gtk+-dev libwebkit-dev libsoup-dev gnutls-dev libbsd-dev \
   101.5  groff wget"
   101.6  
   101.7 +# What is the latest version available today?
   101.8 +current_version()
   101.9 +{
  101.10 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
  101.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q'
  101.12 +}
  101.13 +
  101.14  # Rules to configure and make the package.
  101.15  compile_rules()
  101.16  {
   102.1 --- a/xpra/receipt	Sat Jan 15 16:48:52 2022 +0000
   102.2 +++ b/xpra/receipt	Mon Jan 17 11:01:52 2022 +0000
   102.3 @@ -15,6 +15,13 @@
   102.4  BUILD_DEPENDS="ffmpeg-dev gcc83 gtk+-dev libvpx-dev pkg-config \
   102.5  	pygobject-dev pygtk-dev python-cython python-dev x264-dev xorg-dev"
   102.6  
   102.7 +# What is the latest version available today?
   102.8 +current_version()
   102.9 +{
  102.10 +	wget -O - https://github.com/Xpra-org/xpra/releases 2>/dev/null | \
  102.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
  102.12 +}
  102.13 +
  102.14  # Rules to configure and make the package.
  102.15  compile_rules()
  102.16  {
   103.1 --- a/xrick/receipt	Sat Jan 15 16:48:52 2022 +0000
   103.2 +++ b/xrick/receipt	Mon Jan 17 11:01:52 2022 +0000
   103.3 @@ -13,6 +13,13 @@
   103.4  DEPENDS="libsdl zlib"
   103.5  BUILD_DEPENDS="libsdl-dev"
   103.6  
   103.7 +# What is the latest version available today?
   103.8 +current_version()
   103.9 +{
  103.10 +	wget -O - http://www.bigorno.net/xrick/ 2>/dev/null | \
  103.11 +	sed '/"Download"/!d;s|.*xrick-||;s|<.*||;q'
  103.12 +}
  103.13 +
  103.14  # Rules to configure and make the package.
  103.15  compile_rules()
  103.16  {
   104.1 --- a/xruskb/receipt	Sat Jan 15 16:48:52 2022 +0000
   104.2 +++ b/xruskb/receipt	Mon Jan 17 11:01:52 2022 +0000
   104.3 @@ -13,6 +13,13 @@
   104.4  DEPENDS="lesstif freetype xorg-libXp xorg-libXmu"
   104.5  BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-dev lesstif-dev"
   104.6  
   104.7 +# What is the latest version available today?
   104.8 +current_version()
   104.9 +{
  104.10 +	wget -O - $WEB_SITE/tags 2>/dev/null | \
  104.11 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;s|-|.|g;q'
  104.12 +}
  104.13 +
  104.14  # Rules to configure and make the package.
  104.15  compile_rules()
  104.16  {	
   105.1 --- a/xz/receipt	Sat Jan 15 16:48:52 2022 +0000
   105.2 +++ b/xz/receipt	Mon Jan 17 11:01:52 2022 +0000
   105.3 @@ -17,6 +17,13 @@
   105.4  
   105.5  HOST_ARCH="i486 arm x86_64"
   105.6  
   105.7 +# What is the latest version available today?
   105.8 +current_version()
   105.9 +{
  105.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  105.11 +	sed '/was released/!d;s| .*||;q'
  105.12 +}
  105.13 +
  105.14  # Rules to configure and make the package.
  105.15  compile_rules()
  105.16  {
   106.1 --- a/yacpi/receipt	Sat Jan 15 16:48:52 2022 +0000
   106.2 +++ b/yacpi/receipt	Mon Jan 17 11:01:52 2022 +0000
   106.3 @@ -13,6 +13,13 @@
   106.4  DEPENDS="ncurses libacpi"
   106.5  BUILD_DEPENDS="ncurses-dev libacpi-dev"
   106.6  
   106.7 +# What is the latest version available today?
   106.8 +current_version()
   106.9 +{
  106.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  106.11 +	sed '/download\//!d;s|.*yacpi-||;s|.tar.*||;q'
  106.12 +}
  106.13 +
  106.14  # Rules to configure and make the package.
  106.15  compile_rules()
  106.16  {
   107.1 --- a/yaml/receipt	Sat Jan 15 16:48:52 2022 +0000
   107.2 +++ b/yaml/receipt	Mon Jan 17 11:01:52 2022 +0000
   107.3 @@ -14,6 +14,13 @@
   107.4  DEPENDS=""
   107.5  BUILD_DEPENDS=""
   107.6  
   107.7 +# What is the latest version available today?
   107.8 +current_version()
   107.9 +{
  107.10 +	wget -O - https://github.com/yaml/libyaml/tags 2>/dev/null | \
  107.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  107.12 +}
  107.13 +
  107.14  # Rules to configure and make the package.
  107.15  compile_rules()
  107.16  {
   108.1 --- a/yarock/receipt	Sat Jan 15 16:48:52 2022 +0000
   108.2 +++ b/yarock/receipt	Mon Jan 17 11:01:52 2022 +0000
   108.3 @@ -21,6 +21,13 @@
   108.4  BUILD_DEPENDS="cmake Qt4-dev qmake phonon-dev taglib-dev pkg-config qjson-dev \
   108.5  xorg-libX11 xorg-libXext xorg-libX11-dev wget"
   108.6  
   108.7 +# What is the latest version available today?
   108.8 +current_version()
   108.9 +{
  108.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  108.11 +	sed '/Latest version/!d;s|.*is ||;s|.tar.*||;q'
  108.12 +}
  108.13 +
  108.14  # Rules to configure and make the package.
  108.15  compile_rules()
  108.16  {
   109.1 --- a/yasm/receipt	Sat Jan 15 16:48:52 2022 +0000
   109.2 +++ b/yasm/receipt	Mon Jan 17 11:01:52 2022 +0000
   109.3 @@ -13,6 +13,13 @@
   109.4  
   109.5  DEPENDS=""
   109.6  
   109.7 +# What is the latest version available today?
   109.8 +current_version()
   109.9 +{
  109.10 +	wget -O - https://github.com/yasm/yasm/tags 2>/dev/null | \
  109.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  109.12 +}
  109.13 +
  109.14  # Rules to configure and make the package.
  109.15  compile_rules()
  109.16  {
   110.1 --- a/yasr/receipt	Sat Jan 15 16:48:52 2022 +0000
   110.2 +++ b/yasr/receipt	Mon Jan 17 11:01:52 2022 +0000
   110.3 @@ -12,6 +12,13 @@
   110.4  
   110.5  DEPENDS="speech-dispatcher espeak bash"
   110.6  
   110.7 +# What is the latest version available today?
   110.8 +current_version()
   110.9 +{
  110.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  110.11 +	sed '/> version/!d;s|.*-||;s|.tar.*||'
  110.12 +}
  110.13 +
  110.14  # Rules to configure and make the package.
  110.15  compile_rules()
  110.16  {
   111.1 --- a/yaze-ag/receipt	Sat Jan 15 16:48:52 2022 +0000
   111.2 +++ b/yaze-ag/receipt	Mon Jan 17 11:01:52 2022 +0000
   111.3 @@ -10,6 +10,13 @@
   111.4  WEB_SITE="http://www.mathematik.uni-ulm.de/users/ag/yaze-ag"
   111.5  WGET_URL="$WEB_SITE/devel/$TARBALL"
   111.6  
   111.7 +# What is the latest version available today?
   111.8 +current_version()
   111.9 +{
  111.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  111.11 +	sed '/release/!d;s|.*release ||;s|).*||;q'
  111.12 +}
  111.13 +
  111.14  # Rules to configure and make the package.
  111.15  compile_rules()
  111.16  {
   112.1 --- a/yeahconsole/receipt	Sat Jan 15 16:48:52 2022 +0000
   112.2 +++ b/yeahconsole/receipt	Mon Jan 17 11:01:52 2022 +0000
   112.3 @@ -14,6 +14,13 @@
   112.4  DEPENDS="xterm"
   112.5  BUILD_DEPENDS="xorg-libX11-dev xorg-xproto"
   112.6  
   112.7 +# What is the latest version available today?
   112.8 +current_version()
   112.9 +{
  112.10 +	wget -O - http://phrat.de/downloads.html 2>/dev/null | \
  112.11 +	sed '/yeahconsole/!d;s|.*-||;s|.tar.*||;q'
  112.12 +}
  112.13 +
  112.14  # Rules to configure and make the package.
  112.15  compile_rules()
  112.16  {
   113.1 --- a/youtube-dl-gui/receipt	Sat Jan 15 16:48:52 2022 +0000
   113.2 +++ b/youtube-dl-gui/receipt	Mon Jan 17 11:01:52 2022 +0000
   113.3 @@ -15,6 +15,13 @@
   113.4  DEPENDS="youtube-dl wxpython"
   113.5  BUILD_DEPENDS="wget cacerts wxpython-dev"
   113.6  
   113.7 +# What is the latest version available today?
   113.8 +current_version()
   113.9 +{
  113.10 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
  113.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  113.12 +}
  113.13 +
  113.14  # Rules to configure and make the package.
  113.15  compile_rules()
  113.16  {
   114.1 --- a/youtube-dl/receipt	Sat Jan 15 16:48:52 2022 +0000
   114.2 +++ b/youtube-dl/receipt	Mon Jan 17 11:01:52 2022 +0000
   114.3 @@ -6,7 +6,7 @@
   114.4  SHORT_DESC="Downloads videos from various streaming websites."
   114.5  MAINTAINER="gokhlayeh@slitaz.org"
   114.6  LICENSE="MIT"
   114.7 -WEB_SITE="http://rg3.github.com/youtube-dl/"
   114.8 +WEB_SITE="http://rg3.github.io/youtube-dl/"
   114.9  
  114.10  TARBALL="$PACKAGE-${VERSION//./-}"
  114.11  WGET_URL="https://yt-dl.org/downloads/$VERSION/youtube-dl"
  114.12 @@ -14,6 +14,13 @@
  114.13  DEPENDS="python"
  114.14  BUILD_DEPENDS="python"
  114.15  
  114.16 +# What is the latest version available today?
  114.17 +current_version()
  114.18 +{
  114.19 +	wget -O - https://pypi.org/project/youtube_dl/ 2>/dev/null | \
  114.20 +	sed '/youtube_dl 2/!d;s|.*dl ||;q'
  114.21 +}
  114.22 +
  114.23  # Rules to gen a SliTaz package suitable for Tazpkg.
  114.24  genpkg_rules()
  114.25  {
   115.1 --- a/ypbind-mt/receipt	Sat Jan 15 16:48:52 2022 +0000
   115.2 +++ b/ypbind-mt/receipt	Mon Jan 17 11:01:52 2022 +0000
   115.3 @@ -10,6 +10,13 @@
   115.4  WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
   115.5  WGET_URL="$WEB_SITE/$TARBALL"
   115.6  
   115.7 +# What is the latest version available today?
   115.8 +current_version()
   115.9 +{
  115.10 +	wget -O - https://github.com/thkukuk/ypbind-mt/releases 2>/dev/null | \
  115.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
  115.12 +}
  115.13 +
  115.14  # Rules to configure and make the package.
  115.15  compile_rules()
  115.16  {
   116.1 --- a/ypserv/receipt	Sat Jan 15 16:48:52 2022 +0000
   116.2 +++ b/ypserv/receipt	Mon Jan 17 11:01:52 2022 +0000
   116.3 @@ -13,6 +13,13 @@
   116.4  DEPENDS="gdbm portmap"
   116.5  BUILD_DEPENDS="gdbm-dev"
   116.6  
   116.7 +# What is the latest version available today?
   116.8 +current_version()
   116.9 +{
  116.10 +	wget -O - https://github.com/thkukuk/ypserv/releases 2>/dev/null | \
  116.11 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
  116.12 +}
  116.13 +
  116.14  # Rules to configure and make the package.
  116.15  compile_rules()
  116.16  {
   117.1 --- a/ytree/receipt	Sat Jan 15 16:48:52 2022 +0000
   117.2 +++ b/ytree/receipt	Mon Jan 17 11:01:52 2022 +0000
   117.3 @@ -17,6 +17,13 @@
   117.4  
   117.5  HOST_ARCH="i486 arm"
   117.6  
   117.7 +# What is the latest version available today?
   117.8 +current_version()
   117.9 +{
  117.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  117.11 +	sed '/New in/!d;s|.*in ||;q'
  117.12 +}
  117.13 +
  117.14  # Rules to configure and make the package.
  117.15  compile_rules()
  117.16  {
   118.1 --- a/zerobin/receipt	Sat Jan 15 16:48:52 2022 +0000
   118.2 +++ b/zerobin/receipt	Mon Jan 17 11:01:52 2022 +0000
   118.3 @@ -15,6 +15,13 @@
   118.4  DEPENDS="php"
   118.5  SUGGESTED="php-gd"
   118.6  
   118.7 +# What is the latest version available today?
   118.8 +current_version()
   118.9 +{
  118.10 +	wget -O - https://github.com/sebsauvage/ZeroBin/tags 2>/dev/null | \
  118.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  118.12 +}
  118.13 +
  118.14  # Rules to configure and make the package.
  118.15  compile_rules()
  118.16  {
   119.1 --- a/zerofree/receipt	Sat Jan 15 16:48:52 2022 +0000
   119.2 +++ b/zerofree/receipt	Mon Jan 17 11:01:52 2022 +0000
   119.3 @@ -14,6 +14,13 @@
   119.4  DEPENDS="e2fsprogs"
   119.5  BUILD_DEPENDS="e2fsprogs-dev"
   119.6  
   119.7 +# What is the latest version available today?
   119.8 +current_version()
   119.9 +{
  119.10 +	wget -O - $WEB_SITE 2>/dev/null | \
  119.11 +	sed '/zerofree-/!d;s|.*-||;s|.t.*||'
  119.12 +}
  119.13 +
  119.14  # Rules to configure and make the package.
  119.15  compile_rules()
  119.16  {
   120.1 --- a/zfs-fuse/receipt	Sat Jan 15 16:48:52 2022 +0000
   120.2 +++ b/zfs-fuse/receipt	Mon Jan 17 11:01:52 2022 +0000
   120.3 @@ -6,15 +6,22 @@
   120.4  SHORT_DESC="ZFS file system from Sun."
   120.5  MAINTAINER="pascal.bellard@slitaz.org"
   120.6  LICENSE="CDDL"
   120.7 -WEB_SITE="http://zfs-fuse.net"
   120.8 +WEB_SITE="https://web.archive.org/web/20120314224050if_/http://zfs-fuse.net"
   120.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
  120.10 -ARCHIVE="https://web.archive.org/web/20120314224050if_/"
  120.11 -WGET_URL="$ARCHIVE$WEB_SITE/releases/$VERSION/$TARBALL"
  120.12 +WGET_URL="$WEB_SITE/releases/$VERSION/$TARBALL"
  120.13  
  120.14  DEPENDS="fuse libaio libcrypto perl"
  120.15  BUILD_DEPENDS="fuse-dev scons libaio-dev attr-dev zlib-dev acl-dev openssl-dev \
  120.16  file"
  120.17  
  120.18 +# What is the latest version available today?
  120.19 +current_version()
  120.20 +{
  120.21 +	wget -O - https://github.com/gordan-bobic/zfs-fuse/releases 2>/dev/null | \
  120.22 +	sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
  120.23 +}
  120.24 +
  120.25 +
  120.26  # Rules to configure and make the package.
  120.27  compile_rules()
  120.28  {
   121.1 --- a/zile/receipt	Sat Jan 15 16:48:52 2022 +0000
   121.2 +++ b/zile/receipt	Mon Jan 17 11:01:52 2022 +0000
   121.3 @@ -17,6 +17,13 @@
   121.4  
   121.5  HOST_ARCH="i486 arm"
   121.6  
   121.7 +# What is the latest version available today?
   121.8 +current_version()
   121.9 +{
  121.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
  121.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
  121.12 +}
  121.13 +
  121.14  # Rules to configure and make the package.
  121.15  compile_rules()
  121.16  {
   122.1 --- a/zim/receipt	Sat Jan 15 16:48:52 2022 +0000
   122.2 +++ b/zim/receipt	Mon Jan 17 11:01:52 2022 +0000
   122.3 @@ -15,6 +15,13 @@
   122.4  desktop-file-utils shared-mime-info xdg-utils"
   122.5  BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"
   122.6  
   122.7 +# What is the latest version available today?
   122.8 +current_version()
   122.9 +{
  122.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
  122.11 +	sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
  122.12 +}
  122.13 +
  122.14  # Rules to configure and make the package.
  122.15  compile_rules()
  122.16  {
   123.1 --- a/zmixer/receipt	Sat Jan 15 16:48:52 2022 +0000
   123.2 +++ b/zmixer/receipt	Mon Jan 17 11:01:52 2022 +0000
   123.3 @@ -14,6 +14,13 @@
   123.4  DEPENDS="gtk+ alsa-lib"
   123.5  BUILD_DEPENDS="gtk+-dev alsa-lib-dev pkg-config"
   123.6  
   123.7 +# What is the latest version available today?
   123.8 +current_version()
   123.9 +{
  123.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
  123.11 +	sed "/$PACKAGE-/!d;/tar.gz/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
  123.12 +}
  123.13 +
  123.14  # Rules to configure and make the package.
  123.15  compile_rules()
  123.16  {
   124.1 --- a/znc/receipt	Sat Jan 15 16:48:52 2022 +0000
   124.2 +++ b/znc/receipt	Mon Jan 17 11:01:52 2022 +0000
   124.3 @@ -17,6 +17,13 @@
   124.4  
   124.5  HOST_ARCH="i486 arm"
   124.6  
   124.7 +# What is the latest version available today?
   124.8 +current_version()
   124.9 +{
  124.10 +	wget -O - https://github.com/znc/znc/tags 2>/dev/null | \
  124.11 +	sed '/archive.*tar/!d;s|.*/znc-\(.*\).tar.*|\1|;q'
  124.12 +}
  124.13 +
  124.14  # Rules to configure and make the package.
  124.15  compile_rules()
  124.16  {
   125.1 --- a/zoneminder/receipt	Sat Jan 15 16:48:52 2022 +0000
   125.2 +++ b/zoneminder/receipt	Mon Jan 17 11:01:52 2022 +0000
   125.3 @@ -17,6 +17,13 @@
   125.4  BUILD_DEPENDS="mysql-dev jpeg-dev ffmpeg-dev openssl-dev libav-dev \
   125.5  linux-api-headers $DEPENDS"
   125.6  
   125.7 +# What is the latest version available today?
   125.8 +current_version()
   125.9 +{
  125.10 +	wget -O - https://github.com/ZoneMinder/zoneminder/tags 2>/dev/null | \
  125.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  125.12 +}
  125.13 +
  125.14  # Rules to configure and make the package.
  125.15  compile_rules()
  125.16  {
   126.1 --- a/zopeinterface/receipt	Sat Jan 15 16:48:52 2022 +0000
   126.2 +++ b/zopeinterface/receipt	Mon Jan 17 11:01:52 2022 +0000
   126.3 @@ -15,6 +15,12 @@
   126.4  DEPENDS="python"
   126.5  BUILD_DEPENDS="python python-dev wget"
   126.6  
   126.7 +# What is the latest version available today?
   126.8 +current_version()
   126.9 +{
  126.10 +	wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
  126.11 +}
  126.12 +
  126.13  # Rules to configure and make the package.
  126.14  compile_rules()
  126.15  {
   127.1 --- a/zpaq/receipt	Sat Jan 15 16:48:52 2022 +0000
   127.2 +++ b/zpaq/receipt	Mon Jan 17 11:01:52 2022 +0000
   127.3 @@ -13,6 +13,13 @@
   127.4  DEPENDS=""
   127.5  BUILD_DEPENDS=""
   127.6  
   127.7 +# What is the latest version available today?
   127.8 +current_version()
   127.9 +{
  127.10 +	wget -O - https://github.com/zpaq/zpaq/releases 2>/dev/null | \
  127.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
  127.12 +}
  127.13 +
  127.14  # Rules to configure and make the package.
  127.15  compile_rules()
  127.16  {
   128.1 --- a/zsh/receipt	Sat Jan 15 16:48:52 2022 +0000
   128.2 +++ b/zsh/receipt	Mon Jan 17 11:01:52 2022 +0000
   128.3 @@ -15,6 +15,13 @@
   128.4  DEPENDS="gdbm ncurses ncursesw zlib"
   128.5  BUILD_DEPENDS="ncurses-dev zlib-dev"
   128.6  
   128.7 +# What is the latest version available today?
   128.8 +current_version()
   128.9 +{
  128.10 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
  128.11 +	sed "/$PACKAGE-/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1
  128.12 +}
  128.13 +
  128.14  # Rules to configure and make the package.
  128.15  compile_rules()
  128.16  {
   129.1 --- a/zsync/receipt	Sat Jan 15 16:48:52 2022 +0000
   129.2 +++ b/zsync/receipt	Mon Jan 17 11:01:52 2022 +0000
   129.3 @@ -11,6 +11,13 @@
   129.4  WGET_URL="${WEB_SITE}download/$TARBALL"
   129.5  TAGS="sync"
   129.6  
   129.7 +# What is the latest version available today?
   129.8 +current_version()
   129.9 +{
  129.10 +	wget -O - $WEB_SITE/downloads 2>/dev/null | \
  129.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
  129.12 +}
  129.13 +
  129.14  # Rules to configure and make the package.
  129.15  compile_rules()
  129.16  {