wok rev 25836

Update some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 10:55:10 2025 +0000 (3 months ago)
parents 5e6bd0fc49ee
children e309f13b7b70
files binutils/receipt binutils223/receipt clamav/receipt dcmtk/receipt edbrowse/receipt eigen/receipt fbreader/receipt gsasl/receipt libpaper/receipt nagios/receipt python-pyweb/receipt rpm4/receipt tls/receipt tor/receipt
line diff
     1.1 --- a/binutils/receipt	Tue May 06 17:19:31 2025 +0000
     1.2 +++ b/binutils/receipt	Wed May 07 10:55:10 2025 +0000
     1.3 @@ -31,7 +31,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.8 +	sed "/latest/d;/with-gold/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.
     2.1 --- a/binutils223/receipt	Tue May 06 17:19:31 2025 +0000
     2.2 +++ b/binutils223/receipt	Wed May 07 10:55:10 2025 +0000
     2.3 @@ -31,7 +31,7 @@
     2.4  current_version()
     2.5  {
     2.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     2.7 -	sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     2.8 +	sed "/latest/d;/with-gold/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     2.9  }
    2.10  
    2.11  # Rules to configure and make the package.
     3.1 --- a/clamav/receipt	Tue May 06 17:19:31 2025 +0000
     3.2 +++ b/clamav/receipt	Wed May 07 10:55:10 2025 +0000
     3.3 @@ -21,7 +21,7 @@
     3.4  current_version()
     3.5  {
     3.6  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
     3.7 -	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
     3.8 +	sed '/tag\//!d;s|.*tag/[^0-9]*||;s|".*||;q'
     3.9  }
    3.10  
    3.11  # Rules to configure and make the package.
     4.1 --- a/dcmtk/receipt	Tue May 06 17:19:31 2025 +0000
     4.2 +++ b/dcmtk/receipt	Wed May 07 10:55:10 2025 +0000
     4.3 @@ -17,7 +17,7 @@
     4.4  current_version()
     4.5  {
     4.6  	wget -O - https://github.com/DCMTK/dcmtk/tags 2>/dev/null | \
     4.7 -	sed '/archive.*tar/!d;/\+_/d;s|.*/[A-Z_-]*\(.*\).[t_].*|\1|;q'
     4.8 +	sed '/archive.*DCM.*tar/!d;/\+_/d;s|.*/[A-Z_-]*\(.*\).[t_].*|\1|;q'
     4.9  }
    4.10  
    4.11  # Rules to configure and make the package.
     5.1 --- a/edbrowse/receipt	Tue May 06 17:19:31 2025 +0000
     5.2 +++ b/edbrowse/receipt	Wed May 07 10:55:10 2025 +0000
     5.3 @@ -20,7 +20,7 @@
     5.4  current_version()
     5.5  {
     5.6  	wget -O - https://github.com/CMB/edbrowse/tags 2>/dev/null |
     5.7 -	sed	 '/releases/!d;/<h2/!d;s|.*/tag/||;s|".*||;q'
     5.8 +	sed	 '/releases/!d;/<h2/!d;s|.*/tag/[^0-9]*||;s|".*||;q'
     5.9  }
    5.10  
    5.11  # Rules to configure and make the package.
     6.1 --- a/eigen/receipt	Tue May 06 17:19:31 2025 +0000
     6.2 +++ b/eigen/receipt	Wed May 07 10:55:10 2025 +0000
     6.3 @@ -18,7 +18,7 @@
     6.4  current_version()
     6.5  {
     6.6  	wget -O - 'https://gitlab.com/libeigen/eigen/-/tags?sort=updated_desc' 2>/dev/null | \
     6.7 -	sed '/\/tags\//!d;s|.*">||;s|<.*||;q'
     6.8 +	sed '/\/tags\/[0-9]/!d;s|.*">||;s|<.*||;q'
     6.9  }
    6.10  
    6.11  # Rules to configure and make the package.
     7.1 --- a/fbreader/receipt	Tue May 06 17:19:31 2025 +0000
     7.2 +++ b/fbreader/receipt	Wed May 07 10:55:10 2025 +0000
     7.3 @@ -17,7 +17,7 @@
     7.4  current_version()
     7.5  {
     7.6  	wget -O - https://github.com/geometer/FBReader/tags 2>/dev/null | \
     7.7 -	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
     7.8 +	sed '/archive.*tar/!d;/port/d;s|.*/v*\(.*\).tar.*|\1|;q'
     7.9  }
    7.10  
    7.11  # Rules to configure and make the package.
     8.1 --- a/gsasl/receipt	Tue May 06 17:19:31 2025 +0000
     8.2 +++ b/gsasl/receipt	Wed May 07 10:55:10 2025 +0000
     8.3 @@ -20,7 +20,7 @@
     8.4  current_version()
     8.5  {
     8.6  	wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \
     8.7 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     8.8 +	sed "/latest/d;/-src/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     8.9  }
    8.10  
    8.11  # Rules to configure and make the package.
     9.1 --- a/libpaper/receipt	Tue May 06 17:19:31 2025 +0000
     9.2 +++ b/libpaper/receipt	Wed May 07 10:55:10 2025 +0000
     9.3 @@ -19,7 +19,7 @@
     9.4  current_version()
     9.5  {
     9.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     9.7 -	sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     9.8 +	sed "/debian/d;/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
     9.9  }
    9.10  
    9.11  # Rules to configure and make the package.
    10.1 --- a/nagios/receipt	Tue May 06 17:19:31 2025 +0000
    10.2 +++ b/nagios/receipt	Wed May 07 10:55:10 2025 +0000
    10.3 @@ -20,7 +20,7 @@
    10.4  current_version()
    10.5  {
    10.6  	wget -O - https://sourceforge.net/projects/nagios/files/ 2>/dev/null | \
    10.7 -	sed '/scope="row/!d;/nagios-/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    10.8 +	sed '/scope="row/!d;/nagios-[0-9]/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    10.9  	sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
   10.10  	sed '/scope="row/!d;s|.*/nagios-||;s|.tar.*||;q'
   10.11  }
    11.1 --- a/python-pyweb/receipt	Tue May 06 17:19:31 2025 +0000
    11.2 +++ b/python-pyweb/receipt	Wed May 07 10:55:10 2025 +0000
    11.3 @@ -20,7 +20,7 @@
    11.4  current_version()
    11.5  {
    11.6  	wget -O - https://github.com/webpy/webpy/releases 2>/dev/null | \
    11.7 -	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    11.8 +	sed '/tag\//!d;s|.*tag/[^0-9]*||;s|".*||;q'
    11.9  }
   11.10  
   11.11  # Rules to configure and make the package.
    12.1 --- a/rpm4/receipt	Tue May 06 17:19:31 2025 +0000
    12.2 +++ b/rpm4/receipt	Wed May 07 10:55:10 2025 +0000
    12.3 @@ -23,7 +23,7 @@
    12.4  current_version()
    12.5  {
    12.6  	wget -O - $WEB_SITE 2>/dev/null | \
    12.7 -	sed '/released/!d;s|.*RPM ||;s| rel.*||;q'
    12.8 +	sed '/ALPHA/d;/BETA/d;/RC/d;/released/!d;s|.*RPM ||;s| rel.*||;q'
    12.9  }
   12.10  
   12.11  # Rules to configure and make the package.
    13.1 --- a/tls/receipt	Tue May 06 17:19:31 2025 +0000
    13.2 +++ b/tls/receipt	Wed May 07 10:55:10 2025 +0000
    13.3 @@ -18,7 +18,7 @@
    13.4  {
    13.5  	wget -O - https://sourceforge.net/projects/tls/files/tls/ 2>/dev/null | \
    13.6  	sed '/scope="row/!d;/unstable/d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    13.7 -	sed '/scope="row/!d;s|.*/tls/||;s|/.*||;q'
    13.8 +	sed '/scope="row/!d;s|.*/tls/[^/]*/||;s|/.*||;q'
    13.9  }
   13.10  
   13.11  # Rules to configure and make the package.
    14.1 --- a/tor/receipt	Tue May 06 17:19:31 2025 +0000
    14.2 +++ b/tor/receipt	Wed May 07 10:55:10 2025 +0000
    14.3 @@ -20,7 +20,7 @@
    14.4  current_version()
    14.5  {
    14.6  	wget -O - $WEB_SITE/download/tor 2>/dev/null | \
    14.7 -	sed '/ChangeLog/!d;s|.*tor-||;s|".*||;q'
    14.8 +	sed '/ChangeLog/!d;s|.*tor-||;s|[/"].*||;q'
    14.9  }
   14.10  
   14.11  # Rules to configure and make the package.