wok rev 25602

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 18 09:27:49 2023 +0000 (17 months ago)
parents 0262035dc1e7
children 5db546345599
files aria2/receipt dciutil/receipt dokuwiki/receipt eudev/receipt frogatto/receipt gentorrent/receipt geos/receipt icecast/receipt jasper/receipt lmms/receipt openobex/receipt perl-test-compile/receipt s3ql/receipt sshguard/receipt task/receipt tint2/receipt tnylpo/receipt ttf-inconsolata-dz/receipt ubuntu-font-family/receipt weechat/receipt
line diff
     1.1 --- a/aria2/receipt	Sun Jul 16 18:06:38 2023 +0000
     1.2 +++ b/aria2/receipt	Tue Jul 18 09:27:49 2023 +0000
     1.3 @@ -19,7 +19,7 @@
     1.4  current_version()
     1.5  {
     1.6  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
     1.7 -	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
     1.8 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
     1.9  }
    1.10  
    1.11  # Rules to configure and make the package.
     2.1 --- a/dciutil/receipt	Sun Jul 16 18:06:38 2023 +0000
     2.2 +++ b/dciutil/receipt	Tue Jul 18 09:27:49 2023 +0000
     2.3 @@ -19,7 +19,7 @@
     2.4  current_version()
     2.5  {
     2.6  	wget -O - $WEB_SITE 2>/dev/null | \
     2.7 -	sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s| .*||'
     2.8 +	sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s|\.* .*||;q'
     2.9  }
    2.10  
    2.11  # Rules to configure and make the package.
     3.1 --- a/dokuwiki/receipt	Sun Jul 16 18:06:38 2023 +0000
     3.2 +++ b/dokuwiki/receipt	Tue Jul 18 09:27:49 2023 +0000
     3.3 @@ -15,7 +15,7 @@
     3.4  current_version()
     3.5  {
     3.6  	wget -O - https://github.com/splitbrain/dokuwiki/tags 2>/dev/null | \
     3.7 -	sed '/archive.*tar/!d;/candidate/d;s|.*/v*\(.*\).tar.*|\1|;s|.*stable_||;q'
     3.8 +	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
     3.9  }
    3.10  
    3.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/eudev/receipt	Sun Jul 16 18:06:38 2023 +0000
     4.2 +++ b/eudev/receipt	Tue Jul 18 09:27:49 2023 +0000
     4.3 @@ -14,7 +14,7 @@
     4.4  PROVIDE="udev"
     4.5  DEPENDS="acl dbus kmod pciids usbids util-linux-blkid eudev-lib"
     4.6  BUILD_DEPENDS="acl-dev automake dbus-dev gperf kmod-dev libtool libxslt
     4.7 -	pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev"
     4.8 +	pcre-dev pkg-config util-linux-blkid-dev util-linux-uuid-dev docbook-xsl"
     4.9  
    4.10  # What is the latest version available today?
    4.11  current_version()
     5.1 --- a/frogatto/receipt	Sun Jul 16 18:06:38 2023 +0000
     5.2 +++ b/frogatto/receipt	Tue Jul 18 09:27:49 2023 +0000
     5.3 @@ -20,10 +20,11 @@
     5.4  	libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev mesa-dev \
     5.5  	xorg-server-dev"
     5.6  
     5.7 +# What is the latest version available today?
     5.8  current_version()
     5.9  {
    5.10  	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    5.11 -	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    5.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    5.13  }
    5.14  
    5.15  # Rules to configure and make the package.
     6.1 --- a/gentorrent/receipt	Sun Jul 16 18:06:38 2023 +0000
     6.2 +++ b/gentorrent/receipt	Tue Jul 18 09:27:49 2023 +0000
     6.3 @@ -17,7 +17,7 @@
     6.4  current_version()
     6.5  {
     6.6  	wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \
     6.7 -	sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q
     6.8 +	sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||;s|.tar.*||' | sort -Vr | sed q
     6.9  }
    6.10  
    6.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- a/geos/receipt	Sun Jul 16 18:06:38 2023 +0000
     7.2 +++ b/geos/receipt	Tue Jul 18 09:27:49 2023 +0000
     7.3 @@ -18,7 +18,7 @@
     7.4  current_version()
     7.5  {
     7.6  	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     7.7 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     7.8 +	sed "/beta/d;/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     7.9  }
    7.10  
    7.11  # Rules to configure and make the package.
     8.1 --- a/icecast/receipt	Sun Jul 16 18:06:38 2023 +0000
     8.2 +++ b/icecast/receipt	Tue Jul 18 09:27:49 2023 +0000
     8.3 @@ -18,7 +18,7 @@
     8.4  current_version()
     8.5  {
     8.6  	wget -O - 'https://gitlab.xiph.org/xiph/icecast-server/-/tags?sort=updated_desc' 2>/dev/null | \
     8.7 -	sed '/item-title/!d;s|.*">v||;s|<.*||;q'
     8.8 +	sed '/beta/d;/item-title/!d;s|.*">v||;s|<.*||;q'
     8.9  }
    8.10  
    8.11  # Rules to configure and make the package.
     9.1 --- a/jasper/receipt	Sun Jul 16 18:06:38 2023 +0000
     9.2 +++ b/jasper/receipt	Tue Jul 18 09:27:49 2023 +0000
     9.3 @@ -21,7 +21,7 @@
     9.4  current_version()
     9.5  {
     9.6  	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
     9.7 -	sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
     9.8 +	sed '/-rc[1-9]/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
     9.9  }
    9.10  
    9.11  # Rules to configure and make the package.
    10.1 --- a/lmms/receipt	Sun Jul 16 18:06:38 2023 +0000
    10.2 +++ b/lmms/receipt	Tue Jul 18 09:27:49 2023 +0000
    10.3 @@ -21,7 +21,7 @@
    10.4  current_version()
    10.5  {
    10.6  	wget -O - https://github.com/LMMS/lmms/releases 2>/dev/null | \
    10.7 -	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    10.8 +	sed '/-alpha/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
    10.9  }
   10.10  
   10.11  # Rules to configure and make the package.
    11.1 --- a/openobex/receipt	Sun Jul 16 18:06:38 2023 +0000
    11.2 +++ b/openobex/receipt	Tue Jul 18 09:27:49 2023 +0000
    11.3 @@ -15,10 +15,11 @@
    11.4  DEPENDS="bluez libusb"
    11.5  BUILD_DEPENDS="bluez-dev cmake libusb-dev"
    11.6  
    11.7 +# What is the latest version available today?
    11.8  current_version()
    11.9  {
   11.10  	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
   11.11 -	sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
   11.12 +	sed '/tar.gz/!d;/data/d;s|.*/mainline-\(.*\).tar.gz".*|\1|;/^tar.gz/d' | sort -Vr | sed q
   11.13  }
   11.14  
   11.15  # Rules to configure and make the package.
    12.1 --- a/perl-test-compile/receipt	Sun Jul 16 18:06:38 2023 +0000
    12.2 +++ b/perl-test-compile/receipt	Tue Jul 18 09:27:49 2023 +0000
    12.3 @@ -11,11 +11,12 @@
    12.4  
    12.5  SOURCE="Test-Compile"
    12.6  TARBALL="$SOURCE-v$VERSION.tar.gz"
    12.7 -WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
    12.8 +WGET_URL="https://cpan.metacpan.org/authors/id/E/EG/EGILES/$TARBALL"
    12.9  
   12.10  DEPENDS="perl perl-universal-require"
   12.11  BUILD_DEPENDS="perl perl-universal-require"
   12.12  
   12.13 +# What is the latest version available today?
   12.14  current_version()
   12.15  {
   12.16  	wget -O - $WEB_SITE 2>/dev/null | \
    13.1 --- a/s3ql/receipt	Sun Jul 16 18:06:38 2023 +0000
    13.2 +++ b/s3ql/receipt	Tue Jul 18 09:27:49 2023 +0000
    13.3 @@ -15,10 +15,11 @@
    13.4  python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
    13.5  python-pytest python-py python-unittest2"
    13.6  
    13.7 +# What is the latest version available today?
    13.8  current_version()
    13.9  {
   13.10 -	wget -O - $WEB_SITE 2>/dev/null | \
   13.11 -	sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q'
   13.12 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
   13.13 +	sed '/tag\//!d;s|.*tag/s3ql-*||;s|".*||;q'
   13.14  }
   13.15  
   13.16  # Rules to configure and make the package.
    14.1 --- a/sshguard/receipt	Sun Jul 16 18:06:38 2023 +0000
    14.2 +++ b/sshguard/receipt	Tue Jul 18 09:27:49 2023 +0000
    14.3 @@ -15,10 +15,11 @@
    14.4  DEPENDS="iptables"
    14.5  BUILD_DEPENDS=""
    14.6  
    14.7 +# What is the latest version available today?
    14.8  current_version()
    14.9  {
   14.10  	wget -O - https://bitbucket.org/sshguard/sshguard/downloads/?tab=tags 2>/dev/null | \
   14.11 -	sed '/tar..z/!d;s|.*/v||;s|.tar.*||;q'
   14.12 +	sed '/td class="name"/!d;s|.*v||;s|<.*||;q'
   14.13  }
   14.14  
   14.15  # Rules to configure and make the package.
    15.1 --- a/task/receipt	Sun Jul 16 18:06:38 2023 +0000
    15.2 +++ b/task/receipt	Tue Jul 18 09:27:49 2023 +0000
    15.3 @@ -21,8 +21,8 @@
    15.4  # What is the latest version available today?
    15.5  current_version()
    15.6  {
    15.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    15.8 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    15.9 +	wget -O - https://github.com/GothenburgBitFactory/taskwarrior/releases 2>/dev/null | \
   15.10 +	sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
   15.11  }
   15.12  
   15.13  # Rules to configure and make the package.
    16.1 --- a/tint2/receipt	Sun Jul 16 18:06:38 2023 +0000
    16.2 +++ b/tint2/receipt	Tue Jul 18 09:27:49 2023 +0000
    16.3 @@ -21,7 +21,7 @@
    16.4  current_version()
    16.5  {
    16.6  	wget -O - $WEB_SITE/-/tags 2>/dev/null | \
    16.7 -	sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    16.8 +	sed '/tar.gz/!d;/data/d;s|.*/tint2-v*\(.*\).tar.gz".*|\1|;/tar.gz/d' | sort -Vr | sed q
    16.9  }
   16.10  
   16.11  # Rules to configure and make the package.
    17.1 --- a/tnylpo/receipt	Sun Jul 16 18:06:38 2023 +0000
    17.2 +++ b/tnylpo/receipt	Tue Jul 18 09:27:49 2023 +0000
    17.3 @@ -16,7 +16,7 @@
    17.4  current_version()
    17.5  {
    17.6  	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    17.7 -	sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
    17.8 +	sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|;/tar.gz/d' | sort -Vr | sed q
    17.9  }
   17.10  
   17.11  # Rules to configure and make the package.
    18.1 --- a/ttf-inconsolata-dz/receipt	Sun Jul 16 18:06:38 2023 +0000
    18.2 +++ b/ttf-inconsolata-dz/receipt	Tue Jul 18 09:27:49 2023 +0000
    18.3 @@ -15,7 +15,7 @@
    18.4  current_version()
    18.5  {
    18.6  	wget -O - https://nodnod.net/posts/inconsolata-dz/ 2>/dev/null | \
    18.7 -	sed '/Update/!d;s|.*Update |"|;s|:.*|"|;q' | xargs date +%Y%m%d -d
    18.8 +	sed '/Update/!d;s|.*Update |"|;s|[:<].*|"|;q' | xargs date +%Y%m%d -d
    18.9  }
   18.10  
   18.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    19.1 --- a/ubuntu-font-family/receipt	Sun Jul 16 18:06:38 2023 +0000
    19.2 +++ b/ubuntu-font-family/receipt	Tue Jul 18 09:27:49 2023 +0000
    19.3 @@ -15,7 +15,7 @@
    19.4  current_version()
    19.5  {
    19.6  	wget -O - https://design.ubuntu.com/font/ 2>/dev/null | \
    19.7 -	gunzip | sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q'
    19.8 +	sed '/ubuntu-font-family/!d;s|.*family-||;s|.zip.*||;q'
    19.9  }
   19.10  
   19.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    20.1 --- a/weechat/receipt	Sun Jul 16 18:06:38 2023 +0000
    20.2 +++ b/weechat/receipt	Tue Jul 18 09:27:49 2023 +0000
    20.3 @@ -19,8 +19,8 @@
    20.4  # What is the latest version available today?
    20.5  current_version()
    20.6  {
    20.7 -	wget -O - https://weechat.org/download/ 2>/dev/null | \
    20.8 -	sed '/weechat-/!d;s|.*weechat-||;s|.tar.*||;q'
    20.9 +	wget -O - https://weechat.org/dev/info/ 2>/dev/null | \
   20.10 +	sed '/stable:/!d;s|.*<td>stable:||;s|<.*||;q'
   20.11  }
   20.12  
   20.13  # Rules to configure and make the package.