wok-6.x rev 24200
updated perl-digest-hmac (1.03 -> 1.04)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 15:16:37 2021 +0100 (2021-12-31) |
parents | ff289f52a506 |
children | 7a6e7ca4947b |
files | perl-digest-hmac/description.txt perl-digest-hmac/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-digest-hmac/description.txt Fri Dec 31 15:16:37 2021 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +HMAC is used for message integrity checks between two parties 1.5 +that share a secret key, and works in combination with some 1.6 +other Digest algorithm, usually MD5 or SHA-1. 1.7 +The HMAC mechanism is described in RFC 2104. 1.8 + 1.9 +HMAC follow the common Digest:: interface, but the constructor 1.10 +takes the secret key and the name of some other simple Digest:: 1.11 +as argument. 1.12 + 1.13 +The hmac() and hmac_hex() functions and the Digest::HMAC->new() 1.14 +constructor takes an optional $blocksize argument as well. 1.15 +The HMAC algorithm assumes the digester to hash by iterating a 1.16 +basic compression function on blocks of data and the $blocksize 1.17 +should match the byte-length of such blocks. 1.18 + 1.19 +The default $blocksize is 64 which is suitable for the MD5 and 1.20 +SHA-1 digest functions. 1.21 +For stronger algorithms the blocksize probably needs to be 1.22 +increased.
2.1 --- a/perl-digest-hmac/receipt Fri Dec 31 15:13:47 2021 +0100 2.2 +++ b/perl-digest-hmac/receipt Fri Dec 31 15:16:37 2021 +0100 2.3 @@ -1,12 +1,13 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-digest-hmac" 2.7 -VERSION="1.03" 2.8 +VERSION="1.04" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Perl extension Digest::HMAC." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 -WEB_SITE="https://metacpan.org/release/Digest-HMAC" 2.14 +WEB_SITE="https://metacpan.org/pod/Digest::HMAC" 2.15 +REPOLOGY="perl:digest-hmac" 2.16 2.17 SOURCE="Digest-HMAC" 2.18 TARBALL="$SOURCE-$VERSION.tar.gz" 2.19 @@ -26,12 +27,11 @@ 2.20 { 2.21 perl Makefile.PL && 2.22 make && 2.23 - make DESTDIR=$DESTDIR install 2.24 + make install DESTDIR=$DESTDIR 2.25 } 2.26 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr 2.31 - cp -a $install/usr/lib $fs/usr 2.32 + cook_copy_folders lib 2.33 }