File perl-Crypt-CBC.spec of Package perl-Crypt-CBC
#
# spec file for package perl-Crypt-CBC (Version 2.29)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Crypt-CBC
Url: http://cpan.org/modules/by-module/Crypt/
BuildRequires: perl-Crypt-Blowfish perl-Crypt-DES
Version: 2.29
Release: 1
Requires: perl-Crypt-Blowfish perl-Crypt-DES
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License
Summary: perl module Crypt::CBC
Source: Crypt-CBC-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Perl-only implementation of the cryptographic cipher block chaining
mode (CBC).
%prep
%setup -q -n Crypt-CBC-%{version}
%build
perl Makefile.PL
make
%check
make test
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc Changes MANIFEST README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Crypt
%{perl_vendorarch}/auto/Crypt
/var/adm/perl-modules/%{name}
%changelog
* Thu Jun 19 2008 anicka@suse.cz
- update to 2.29
* Fixed errors that occurred when encrypting/decrypting utf8
strings in Perl's more recent than 5.8.8.
* Wed Apr 02 2008 anicka@suse.cz
- update to 2.28
- Fixed bug in onesandzeroes test that causes it to fail
with Rijndael module is not installed.
- When taint mode is turned on and user is using a tainted key,
explicitly check tainting of key in order to avoid "cryptic"
failure messages from some crypt modules.
- Fixed onezeropadding test, which was not reporting
its test count properly.
- Fixed failure of oneandzeroes padding when plaintext size is
an even multiple of blocksize.
- Added new "rijndael_compat" padding method, which is compatible
with the oneandzeroes padding method used by Crypt::Rijndael in
CBC mode.
* Mon Oct 08 2007 anicka@suse.cz
- update to 2.24
* Fixed failure to run under taint checks with Crypt::Rijndael
or Crypt::OpenSSL::AES (and maybe other Crypt modules).
* Added checks for other implementations of CBC which add no
standard padding at all when cipher text is an even multiple
of the block size.
* Tue Dec 12 2006 anicka@suse.cz
- update to 2.22
* Fixed bug in which plaintext encrypted with the
-literal_key option could not be decrypted using a new
object created with the same -literal_key.
* Added documentation confirming that -literal_key must be
accompanied by a -header of 'none' and a manually specificied IV.
* Thu Oct 19 2006 anicka@suse.cz
- update to 2.21
* Fixed bug in which new() failed to work when first option is
-literal_key.
* Added ability to pass a preinitialized Crypt::* block cipher
object instead of the class name.
* Thu Sep 14 2006 anicka@suse.cz
- update to 2.19
* Renamed Crypt::CBC-2.16-vulnerability.txt so that
package installs correctly under Cygwin
* Fri Jul 14 2006 anicka@suse.cz
- update to 2.18
* added lots of documentation
* fixed using 8 byte IVs when generating the old-style RandomIV
style header for the Rijndael algorithm.
* versions 2.17 and higher will not decrypt messages
encrypted with versions 2.16 and lower unless you pass
an optional value 'randomiv' to the new() call
* Wed Apr 05 2006 schubi@suse.de
- Bug 153627 - VUL-0: perl-Crypt-CBC: ciphertext weakness when using certain block algorithms
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jul 11 2005 schubi@suse.de
- update to 2.14
* Fri Apr 15 2005 schubi@suse.de
- update to 2.12
* Sun Jan 11 2004 adrian@suse.de
- build as user
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Fri Jul 18 2003 choeger@suse.de
- use install_vendor and new %%perl_process_packlist macro
* Tue Jun 17 2003 choeger@suse.de
- updated filelist
- update to version 2.08
* Mon May 19 2003 choeger#@suse.de
- remove installed (but unpackaged) file perllocal.pod
* Wed Aug 14 2002 choeger@suse.de
- new package, version 2.07