wok diff john/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents 12552b2d1c54
children
line diff
     1.1 --- a/john/receipt	Sun Dec 22 16:03:18 2019 +0000
     1.2 +++ b/john/receipt	Thu Nov 17 12:13:24 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  {