wok diff ettercap/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 019b8bee1f99
children
line diff
     1.1 --- a/ettercap/receipt	Tue Feb 22 15:52:03 2022 +0100
     1.2 +++ b/ettercap/receipt	Tue Aug 01 18:37:27 2023 +0000
     1.3 @@ -16,10 +16,11 @@
     1.4  BUILD_DEPENDS="cmake curl-dev file geoip-dev libnet-dev libpcap-dev 
     1.5  	libpthread-stubs libtool ncurses-dev openssl-dev zlib-dev"
     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|.*/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.