wok diff lsof/receipt @ rev 25670
Up mediawiki (1.41.0), memcached (1.6.23), metasploit (6.3.56), modsecurity-apache (2.9.7), mutt (2.2.12), ncurses (6.4), nginx (1.25.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:20:49 2024 +0000 (4 months ago) |
parents | 3c68bcd9c4a4 |
children |
line diff
1.1 --- a/lsof/receipt Wed Mar 30 06:22:51 2022 +0100 1.2 +++ b/lsof/receipt Sun Feb 25 17:20:49 2024 +0000 1.3 @@ -11,10 +11,11 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.