wok diff proftpd/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents 2f230197370e
children 94c4d1ac52fd
line diff
     1.1 --- a/proftpd/receipt	Wed Feb 16 11:53:30 2022 +0000
     1.2 +++ b/proftpd/receipt	Wed May 11 08:28:28 2022 -0400
     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.