wok diff proftpd/receipt @ rev 25054

Up quarry (0.3.0.1), sunxi-tools (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 08:51:13 2022 +0000 (2022-06-06)
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 Jun 06 08:51:13 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.