wok-current diff john/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 12552b2d1c54 |
children |
line diff
1.1 --- a/john/receipt Sun Dec 22 16:03:18 2019 +0000 1.2 +++ b/john/receipt Sat Feb 26 18:46:53 2022 +0000 1.3 @@ -18,6 +18,13 @@ 1.4 #PATCH="http://www.openwall.com/john/g/$PACKAGE-$VERSION-jumbo-7.diff.gz" 1.5 #EXTRA_SOURCE_FILES="$PATCH" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://github.com/openwall/john/tags 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;/tags\/[0-9\.]*.tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {