Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559768
en ru br
ALT Linux repos
S:3.04-alt1
5.0: 2.29-alt2
4.1: 2.24-alt1
4.0: 2.15-alt1

Group :: Development/Perl
RPM: perl-Crypt-CBC

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
#
#   - Crypt::CBC -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       --spec-only Crypt::CBC
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module Crypt-CBC
%define m_distro Crypt-CBC
%define m_name Crypt::CBC
%define m_author_id unknown
%define _enable_test 1

Name: perl-Crypt-CBC
Version: 3.04
Release: alt1

Summary: Crypt-CBC - Encrypt Data with Cipher Block Chaining Mode

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/~lds/%module-%version/

Packager: Vitaly Lipatov <lav at altlinux.ru>

BuildArch: noarch
Source0: http://www.cpan.org/authors/id/L/LD/LDS/%{module}-%{version}.tar.gz

# Automatically added by buildreq on Tue Jun 17 2008

BuildRequires: perl-Crypt-Blowfish perl-Crypt-Blowfish_PP perl-Crypt-CAST5 perl-Crypt-DES perl-Crypt-IDEA perl-Crypt-Rijndael perl-devel perl(Crypt/PBKDF2.pm) perl(Digest/SHA.pm)

%description
This module is a Perl-only implementation of the cryptographic cipher
block chaining mode (CBC).  In combination with a block cipher such as
DES or IDEA, you can encrypt and decrypt messages of arbitrarily long
length.  The encrypted messages are compatible with the encryption
format used by SSLeay, and can be made compatible with the newer
OpenSSL package by specifying the -salt argument.

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.

%prep
%setup -q -n %{module}-%{version}

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes Crypt-CBC-2.16-vulnerability.txt README.md
%perl_vendor_privlib/Crypt/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin