# HG changeset patch # User Hans-G?nter Theisgen # Date 1640960197 -3600 # Node ID 62abd6ffd5b0179acafe3191789656378ecefcc8 # Parent ff289f52a506c988c8e7a81f21e7e9fdbfd2ecdf updated perl-digest-hmac (1.03 -> 1.04) diff -r ff289f52a506 -r 62abd6ffd5b0 perl-digest-hmac/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-digest-hmac/description.txt Fri Dec 31 15:16:37 2021 +0100 @@ -0,0 +1,19 @@ +HMAC is used for message integrity checks between two parties +that share a secret key, and works in combination with some +other Digest algorithm, usually MD5 or SHA-1. +The HMAC mechanism is described in RFC 2104. + +HMAC follow the common Digest:: interface, but the constructor +takes the secret key and the name of some other simple Digest:: +as argument. + +The hmac() and hmac_hex() functions and the Digest::HMAC->new() +constructor takes an optional $blocksize argument as well. +The HMAC algorithm assumes the digester to hash by iterating a +basic compression function on blocks of data and the $blocksize +should match the byte-length of such blocks. + +The default $blocksize is 64 which is suitable for the MD5 and +SHA-1 digest functions. +For stronger algorithms the blocksize probably needs to be +increased. diff -r ff289f52a506 -r 62abd6ffd5b0 perl-digest-hmac/receipt --- a/perl-digest-hmac/receipt Fri Dec 31 15:13:47 2021 +0100 +++ b/perl-digest-hmac/receipt Fri Dec 31 15:16:37 2021 +0100 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="perl-digest-hmac" -VERSION="1.03" +VERSION="1.04" CATEGORY="development" SHORT_DESC="Perl extension Digest::HMAC." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="https://metacpan.org/release/Digest-HMAC" +WEB_SITE="https://metacpan.org/pod/Digest::HMAC" +REPOLOGY="perl:digest-hmac" SOURCE="Digest-HMAC" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -26,12 +27,11 @@ { perl Makefile.PL && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }