wok-6.x diff proftpd-tls/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 241fb98cab1c |
children | d642857253e7 |
line diff
1.1 --- a/proftpd-tls/receipt Tue Feb 15 18:29:48 2022 +0000 1.2 +++ b/proftpd-tls/receipt Wed Jun 22 17:23:49 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;/proftpd-[0-9]/!d;/tar/!d;/rc[1-9]/d;s|.*proftpd-\\(.*\\).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.