wok-current diff perl-crypt-smbhash/receipt @ rev 25335
updated libhtp and libhtp-dev (0.5.39 -> 0.5.40)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:39:36 2022 +0100 (2022-07-23) |
parents | 2d12ebd38be4 |
children |
line diff
1.1 --- a/perl-crypt-smbhash/receipt Fri Jun 07 18:46:07 2013 +0200 1.2 +++ b/perl-crypt-smbhash/receipt Sat Jul 23 17:39:36 2022 +0100 1.3 @@ -10,9 +10,15 @@ 1.4 BUILD_DEPENDS="perl" 1.5 SOURCE="Crypt-SmbHash" 1.6 TARBALL="$SOURCE-$VERSION.tar.gz" 1.7 -WEB_SITE="http://cpan.org/" 1.8 +WEB_SITE="https://metacpan.org/dist/Crypt-SmbHash" 1.9 WGET_URL="http://cpan.org/authors/id/B/BJ/BJKUIT/$TARBALL" 1.10 1.11 +current_version() 1.12 +{ 1.13 + wget -O - $WEB_SITE 2>/dev/null | \ 1.14 + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' 1.15 +} 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 {