wok-current diff proftpd/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents 2f230197370e
children 94c4d1ac52fd
line diff
     1.1 --- a/proftpd/receipt	Wed Feb 16 11:53:30 2022 +0000
     1.2 +++ b/proftpd/receipt	Mon May 02 11:23:24 2022 +0000
     1.3 @@ -17,8 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;/[0-9]rc[0-9]/d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
     1.9 +	wget -O - https://github.com/proftpd/proftpd/releases 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;/rc[0-9]/d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.