wok rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 076f424196b2
children 640a2eba2511
files abiword/receipt arp-scan/receipt aspell-it/receipt blktrace/receipt bygfoot/receipt cgdb/receipt cherokee/receipt dialog/receipt eaccelerator/receipt libav/receipt libsdl-perl/receipt libsearpc/receipt libwnck/receipt libxslt/receipt lxdm/receipt openobex/receipt perl-dbi/receipt phpmyadmin/receipt qemu/receipt squid/receipt tint2/receipt tnylpo/receipt tree/receipt zopeinterface/receipt
line diff
     1.1 --- a/abiword/receipt	Sun Feb 06 11:51:57 2022 +0000
     1.2 +++ b/abiword/receipt	Sun Feb 06 16:04:43 2022 +0000
     1.3 @@ -26,7 +26,7 @@
     1.4  {
     1.5  	wget -O - http://www.abisource.com/downloads/abiword/$( \ 
     1.6  	wget -O - http://www.abisource.com/downloads/abiword/ 2>/dev/null | \
     1.7 -	sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \
     1.8 +	sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]*\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \
     1.9  	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.10  }
    1.11  
     2.1 --- a/arp-scan/receipt	Sun Feb 06 11:51:57 2022 +0000
     2.2 +++ b/arp-scan/receipt	Sun Feb 06 16:04:43 2022 +0000
     2.3 @@ -16,7 +16,7 @@
     2.4  
     2.5  current_version()
     2.6  {
     2.7 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
     2.8 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
     2.9  	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    2.10  }
    2.11  
     3.1 --- a/aspell-it/receipt	Sun Feb 06 11:51:57 2022 +0000
     3.2 +++ b/aspell-it/receipt	Sun Feb 06 16:04:43 2022 +0000
     3.3 @@ -18,8 +18,9 @@
     3.4  # What is the latest version available today?
     3.5  current_version()
     3.6  {
     3.7 -	wget -O - $WEB_SITE 2>/dev/null | \
     3.8 -	sed "/$SOURCE/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|;q" 
     3.9 +	wget -O - 'https://sourceforge.net/projects/linguistico/files/Dizionario%20italiano%20per%20Aspell/' 2>/dev/null | \
    3.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    3.11 +	sed '/scope="row/!d;s|.*/Dizionario%20italiano%20per%20Aspell/||;s|/.*||;q'
    3.12  }
    3.13  
    3.14  # Rules to configure and make the package.
     4.1 --- a/blktrace/receipt	Sun Feb 06 11:51:57 2022 +0000
     4.2 +++ b/blktrace/receipt	Sun Feb 06 16:04:43 2022 +0000
     4.3 @@ -18,7 +18,7 @@
     4.4  current_version()
     4.5  {
     4.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     4.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     4.8 +	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;/git/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     4.9  }
    4.10  
    4.11  # Rules to configure and make the package.
     5.1 --- a/bygfoot/receipt	Sun Feb 06 11:51:57 2022 +0000
     5.2 +++ b/bygfoot/receipt	Sun Feb 06 16:04:43 2022 +0000
     5.3 @@ -17,9 +17,9 @@
     5.4  # What is the latest version available today?
     5.5  current_version()
     5.6  {
     5.7 -	wget -O - https://sourceforge.net/projects/bygfoot/files/bygfoot/ 2>/dev/null | \
     5.8 +	wget -O - https://sourceforge.net/projects/bygfoot/files/bygfoot-unstable/ 2>/dev/null | \
     5.9  	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    5.10 -	sed '/scope="row/!d;/tar/!d;s|.*/bygfoot-||;s|-s.*||;q'
    5.11 +	sed '/scope="row/!d;/tar/!d;/binary/d;s|.*/bygfoot-||;s|.tar.*||;q'
    5.12  }
    5.13  
    5.14  compile_rules()
     6.1 --- a/cgdb/receipt	Sun Feb 06 11:51:57 2022 +0000
     6.2 +++ b/cgdb/receipt	Sun Feb 06 16:04:43 2022 +0000
     6.3 @@ -20,9 +20,8 @@
     6.4  # What is the latest version available today?
     6.5  current_version()
     6.6  {
     6.7 -	wget -O - https://sourceforge.net/projects/cgdb/files/cgdb/ 2>/dev/null | \
     6.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     6.9 -	sed '/scope="row/!d;s|.*/cgdb/cgdb-||;s|/.*||;q'
    6.10 +	wget -O - https://github.com/cgdb/cgdb/tags 2>/dev/null | \
    6.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    6.12  }
    6.13  
    6.14  # Rules to configure and make the package.
     7.1 --- a/cherokee/receipt	Sun Feb 06 11:51:57 2022 +0000
     7.2 +++ b/cherokee/receipt	Sun Feb 06 16:04:43 2022 +0000
     7.3 @@ -17,9 +17,10 @@
     7.4  	libmysqlclient libtool openssl-dev openldap-dev pam-dev pcre-dev 
     7.5  	python-dev"
     7.6  
     7.7 +# What is the latest version available today?
     7.8  current_version()
     7.9  {
    7.10 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    7.11 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    7.12  	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    7.13  }
    7.14  
     8.1 --- a/dialog/receipt	Sun Feb 06 11:51:57 2022 +0000
     8.2 +++ b/dialog/receipt	Sun Feb 06 16:04:43 2022 +0000
     8.3 @@ -19,7 +19,7 @@
     8.4  current_version()
     8.5  {
     8.6  	wget -O - ftp://ftp.invisible-island.net/dialog/ 2>/dev/null | \
     8.7 -	sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||' | sed '$!d'
     8.8 +	sed '/gz"/!d;s|.*dialog-||;s|.tgz.*||;s|-|_|' | sed '$!d'
     8.9  }
    8.10  
    8.11  # Rules to configure and make the package.
     9.1 --- a/eaccelerator/receipt	Sun Feb 06 11:51:57 2022 +0000
     9.2 +++ b/eaccelerator/receipt	Sun Feb 06 16:04:43 2022 +0000
     9.3 @@ -14,10 +14,12 @@
     9.4  DEPENDS="php m4"
     9.5  BUILD_DEPENDS="php-dev sed coreutils-conditions"	# gawk re2c
     9.6  
     9.7 +# What is the latest version available today?
     9.8  current_version()
     9.9  {
    9.10 -	wget -O - https://github.com/eaccelerator/eaccelerator/tags 2>/dev/null | \
    9.11 -	sed '/refs.tags/!d;/-rc/d;/tar.gz/!d;s|.*refs.tags.v*\(.*\).tar.*|\1|;q'
    9.12 +	wget -O - https://sourceforge.net/projects/eaccelerator/files/eaccelerator/ 2>/dev/null | \
    9.13 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.14 +	sed '/scope="row/!d;/tar/!d;/binary/d;s|.*/eAccelerator%20||;s|/.*||;q'
    9.15  }
    9.16  
    9.17  # Rules to configure and make the package.
    10.1 --- a/libav/receipt	Sun Feb 06 11:51:57 2022 +0000
    10.2 +++ b/libav/receipt	Sun Feb 06 16:04:43 2022 +0000
    10.3 @@ -23,8 +23,8 @@
    10.4  # What is the latest version available today?
    10.5  current_version()
    10.6  {
    10.7 -	wget -O - https://github.com/andoma/libav/tags 2>/dev/null | \
    10.8 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    10.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   10.10 +	sed '/Libav/!d;/<h/!d;s|.*Libav ||;s|<.*||;q'
   10.11  }
   10.12  
   10.13  # Rules to configure and make the package.
    11.1 --- a/libsdl-perl/receipt	Sun Feb 06 11:51:57 2022 +0000
    11.2 +++ b/libsdl-perl/receipt	Sun Feb 06 16:04:43 2022 +0000
    11.3 @@ -17,10 +17,11 @@
    11.4  libsdl-dev libsdl-gfx-dev libsdl-image-dev libsdl-mixer-dev libsdl-net-dev \
    11.5  libsdl-ttf-dev"
    11.6  
    11.7 +# What is the latest version available today?
    11.8  current_version()
    11.9  {
   11.10 -	wget -O - $WEB_SITE 2>/dev/null | \
   11.11 -	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
   11.12 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
   11.13 +	sed '/SDL_Perl/!d;/tar/!d;s|.*l-v*||;s|.tar.*||' | sort -Vr | sed q
   11.14  }
   11.15  
   11.16  # Rules to configure and make the package.
    12.1 --- a/libsearpc/receipt	Sun Feb 06 11:51:57 2022 +0000
    12.2 +++ b/libsearpc/receipt	Sun Feb 06 16:04:43 2022 +0000
    12.3 @@ -17,10 +17,11 @@
    12.4  
    12.5  HOST_ARCH="i486 arm"
    12.6  
    12.7 +# What is the latest version available today?
    12.8  current_version()
    12.9  {
   12.10 -	wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
   12.11 -	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
   12.12 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
   12.13 +	sed '/archive.*tar/!d;/latest/d;s|.*/v*\(.*\).tar.*|\1|;q'
   12.14  }
   12.15  
   12.16  # Rules to configure and make the package.
    13.1 --- a/libwnck/receipt	Sun Feb 06 11:51:57 2022 +0000
    13.2 +++ b/libwnck/receipt	Sun Feb 06 16:04:43 2022 +0000
    13.3 @@ -20,7 +20,7 @@
    13.4  current_version()
    13.5  {
    13.6  	wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
    13.7 -	sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    13.8 +	sed '/href="[0-9]/!d;/\./!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
    13.9  	sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
   13.10  }
   13.11  
    14.1 --- a/libxslt/receipt	Sun Feb 06 11:51:57 2022 +0000
    14.2 +++ b/libxslt/receipt	Sun Feb 06 16:04:43 2022 +0000
    14.3 @@ -24,8 +24,8 @@
    14.4  
    14.5  current_version()
    14.6  {
    14.7 -	wget -O - $WEB_SITE/news.html 2>/dev/null | \
    14.8 -	sed '/<h3>v/!d;s|.*<h3>v||;s|:.*||;q'
    14.9 +	wget -O - https://gitlab.gnome.org/GNOME/libxslt/-/tags 2>/dev/null | \
   14.10 +	sed '/tar.gz/!d;/data/d;/CVE/d;/-rc/d;s|.*/libxslt-v\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
   14.11  }
   14.12  
   14.13  # Rules to configure and make the package.
    15.1 --- a/lxdm/receipt	Sun Feb 06 11:51:57 2022 +0000
    15.2 +++ b/lxdm/receipt	Sun Feb 06 16:04:43 2022 +0000
    15.3 @@ -17,7 +17,7 @@
    15.4  current_version()
    15.5  {
    15.6  	wget -O - https://sourceforge.net/projects/lxde/files/lxdm/ 2>/dev/null | \
    15.7 -	sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\)\" .*|\\1|;q"
    15.8 +	sed "/scope=\"row/!d;/$PACKAGE%20/!d;s|.*$PACKAGE%20||;s|/.*||;q"
    15.9  }
   15.10  
   15.11  # Rules to configure and make the package.
    16.1 --- a/openobex/receipt	Sun Feb 06 11:51:57 2022 +0000
    16.2 +++ b/openobex/receipt	Sun Feb 06 16:04:43 2022 +0000
    16.3 @@ -18,7 +18,7 @@
    16.4  current_version()
    16.5  {
    16.6  	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
    16.7 -	sed '/tar.gz/!d;s|.*/mainline-\(.*\).tar.gz".*|\1|;q'
    16.8 +	sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    16.9  }
   16.10  
   16.11  # Rules to configure and make the package.
    17.1 --- a/perl-dbi/receipt	Sun Feb 06 11:51:57 2022 +0000
    17.2 +++ b/perl-dbi/receipt	Sun Feb 06 16:04:43 2022 +0000
    17.3 @@ -16,7 +16,7 @@
    17.4  current_version()
    17.5  {
    17.6  	wget -O - $WEB_SITE 2>/dev/null | \
    17.7 -	sed '/release-name/!d;s|.*-*||;s|<.*||;q'
    17.8 +	sed '/Class-DBI/!d;s|.*Class-DBI-||;s| .*||;q'
    17.9  }
   17.10  
   17.11  # Rules to configure and make the package.
    18.1 --- a/phpmyadmin/receipt	Sun Feb 06 11:51:57 2022 +0000
    18.2 +++ b/phpmyadmin/receipt	Sun Feb 06 16:04:43 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 '/released/!d;s|.*phpMyAdmin ||;s| [a-z].*||;q'
    18.8 +	sed '/phpMyAdmin-/!d;s|.*phpMyAdmin-||;s|-all.*||;q'
    18.9  }
   18.10  
   18.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    19.1 --- a/qemu/receipt	Sun Feb 06 11:51:57 2022 +0000
    19.2 +++ b/qemu/receipt	Sun Feb 06 16:04:43 2022 +0000
    19.3 @@ -22,7 +22,7 @@
    19.4  # What is the latest version available today?
    19.5  current_version()
    19.6  {
    19.7 -	wget -O - WEB_SITE 2>/dev/null | sed '/tar..z/!d;s|.*">||;s|</.*||;q'
    19.8 +	wget -O - $WEB_SITE 2>/dev/null | sed '/tar..z/!d;s|.*">||;s|</.*||;q'
    19.9  }
   19.10  
   19.11  # Rules to configure and make the package.
    20.1 --- a/squid/receipt	Sun Feb 06 11:51:57 2022 +0000
    20.2 +++ b/squid/receipt	Sun Feb 06 16:04:43 2022 +0000
    20.3 @@ -18,7 +18,7 @@
    20.4  current_version()
    20.5  {
    20.6  	wget -O - $WEB_SITE/Versions 2>/dev/null | \
    20.7 -	sed '1,/suitable for production use/d;/href/!d;s|.*[0-9]/">||;s|<.*||;q'
    20.8 +	sed '1,/suitable for production use/d;/href/!d;s|.*[0-9]/">||;s|href.*||;s|.*[0-9]</td><td>||;s|<.*||;q'
    20.9  }
   20.10  
   20.11  # Rules to configure and make the package.
    21.1 --- a/tint2/receipt	Sun Feb 06 11:51:57 2022 +0000
    21.2 +++ b/tint2/receipt	Sun Feb 06 16:04:43 2022 +0000
    21.3 @@ -21,7 +21,7 @@
    21.4  current_version()
    21.5  {
    21.6  	wget -O - ${WGET_URL%/repo*}/-/tags 2>/dev/null | \
    21.7 -	sed '/tar.gz/!d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|;q'
    21.8 +	sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    21.9  }
   21.10  
   21.11  # Rules to configure and make the package.
    22.1 --- a/tnylpo/receipt	Sun Feb 06 11:51:57 2022 +0000
    22.2 +++ b/tnylpo/receipt	Sun Feb 06 16:04:43 2022 +0000
    22.3 @@ -16,7 +16,7 @@
    22.4  current_version()
    22.5  {
    22.6  	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    22.7 -	sed '/tar.gz/!d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|;q'
    22.8 +	sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    22.9  }
   22.10  
   22.11  # Rules to configure and make the package.
    23.1 --- a/tree/receipt	Sun Feb 06 11:51:57 2022 +0000
    23.2 +++ b/tree/receipt	Sun Feb 06 16:04:43 2022 +0000
    23.3 @@ -14,8 +14,8 @@
    23.4  # What is the latest version available today?
    23.5  current_version()
    23.6  {
    23.7 -	wget -O - $WEB_SITE/tags 2>/dev/null | \
    23.8 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    23.9 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
   23.10 +	sed '/tree-/!d;/tgz/!d;s|.*tree-||;s|.tgz.*||' | sort -Vr | sed q
   23.11  }
   23.12  
   23.13  # Rules to configure and make the package.
    24.1 --- a/zopeinterface/receipt	Sun Feb 06 11:51:57 2022 +0000
    24.2 +++ b/zopeinterface/receipt	Sun Feb 06 16:04:43 2022 +0000
    24.3 @@ -18,7 +18,7 @@
    24.4  # What is the latest version available today?
    24.5  current_version()
    24.6  {
    24.7 -	wget -O - $WEB_SITE 2>/dev/null | sed '/, version /!d;s|.*version ||;s|<.*||'
    24.8 +	wget -O - $WEB_SITE 2>/dev/null | sed "/ $SOURCE /!d;s|.*$SOURCE ||;s|<.*||;q"
    24.9  }
   24.10  
   24.11  # Rules to configure and make the package.