wok-6.x diff sshpass/receipt @ rev 24183
updated perl-cgi (4.46 -> 4.53)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 13:55:09 2021 +0100 (2021-12-31) |
parents | 464054350afc |
children | a3e66646ebf7 |
line diff
1.1 --- a/sshpass/receipt Fri Oct 11 13:11:00 2019 +0100 1.2 +++ b/sshpass/receipt Fri Dec 31 13:55:09 2021 +0100 1.3 @@ -13,6 +13,13 @@ 1.4 1.5 SUGGESTED="openssh" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {