wok diff iptstate/receipt @ rev 25611

Add zx0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 01 18:37:27 2023 +0000 (13 months ago)
parents 09929daf27a0
children 54dc5622a785
line diff
     1.1 --- a/iptstate/receipt	Sat Mar 12 08:53:57 2022 +0100
     1.2 +++ b/iptstate/receipt	Tue Aug 01 18:37:27 2023 +0000
     1.3 @@ -14,10 +14,11 @@
     1.4  DEPENDS="iptables libnetfilter_conntrack libnfnetlink ncurses"
     1.5  BUILD_DEPENDS="libnetfilter_conntrack-dev libnfnetlink-dev ncurses-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).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.