# HG changeset patch # User Hans-G?nter Theisgen # Date 1640957661 -3600 # Node ID fd53e8cd386ed579fb9946553d5be00a456a6025 # Parent 047f73e7e39e46706cbf5981a81429f4672aa9e7 updated perl-crypt-cbc (2.33 -> 3.04) diff -r 047f73e7e39e -r fd53e8cd386e perl-crypt-cbc/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-crypt-cbc/description.txt Fri Dec 31 14:34:21 2021 +0100 @@ -0,0 +1,17 @@ +This module is a Perl-only implementation of the cryptographic +cipher block chaining mode (CBC). +In combination with a block cipher such as AES or Blowfish, +you can encrypt and decrypt messages of arbitrarily long length. +The encrypted messages are compatible with the encryption format +used by the OpenSSL package. + +To use this module, you will first create a Crypt::CBC cipher +object with new(). +At the time of cipher creation, you specify an encryption key +to use and, optionally, a block encryption algorithm. +You will then call the start() method to initialize the encryption +or decryption process, crypt() to encrypt or decrypt one or more +blocks of data, and lastly finish(), to pad and encrypt the final +block. +For your convenience, you can call the encrypt() and decrypt() +methods to operate on a whole data value at once. diff -r 047f73e7e39e -r fd53e8cd386e perl-crypt-cbc/receipt --- a/perl-crypt-cbc/receipt Fri Dec 31 14:27:15 2021 +0100 +++ b/perl-crypt-cbc/receipt Fri Dec 31 14:34:21 2021 +0100 @@ -1,17 +1,20 @@ # SliTaz package receipt. PACKAGE="perl-crypt-cbc" -VERSION="2.33" +VERSION="3.04" CATEGORY="development" SHORT_DESC="Crypt::CBC module is a Perl extension." MAINTAINER="nneul@neulinger.org" -LICENSE="Perl" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/Crypt::CBC" +REPOLOGY="perl:crypt-cbc" + +SOURCE="Crypt-CBC" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://cpan.org/authors/id/L/LD/LDS/$TARBALL" + DEPENDS="perl" BUILD_DEPENDS="perl" -SOURCE="Crypt-CBC" -TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://metacpan.org/dist/Crypt-CBC" -WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL" current_version() { @@ -22,16 +25,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src - perl Makefile.PL - make - make DESTDIR=$DESTDIR install + perl Makefile.PL && + make && + 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 } -