Hello community,
here is the log from the commit of package perl-Crypt-Rijndael for
openSUSE:Factory checked in at 2015-06-16 14:05:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Crypt-Rijndael (Old)
and /work/SRC/openSUSE:Factory/.perl-Crypt-Rijndael.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Crypt-Rijndael"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Crypt-Rijndael/perl-Crypt-Rijndael.changes
2014-02-13 21:59:18.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Crypt-Rijndael.new/perl-Crypt-Rijndael.changes
2015-06-16 14:05:20.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Jun 15 13:24:11 UTC 2015 - [email protected]
+
+- use cpanspec.yml to correct license automatically
+
+-------------------------------------------------------------------
+Tue Jun 9 15:11:11 UTC 2015 - [email protected]
+
+- automatic update wasn't right, license should be LGPL
+
+-------------------------------------------------------------------
+Thu Jun 4 08:33:28 UTC 2015 - [email protected]
+
+- updated to 1.13
+ see /usr/share/doc/packages/perl-Crypt-Rijndael/Changes
+
+ Revision history for Perl module Crypt::Rijndael
+
+-------------------------------------------------------------------
Old:
----
Crypt-Rijndael-1.12.tar.gz
New:
----
Crypt-Rijndael-1.13.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Crypt-Rijndael.spec ++++++
--- /var/tmp/diff_new_pack.aKicoe/_old 2015-06-16 14:05:21.000000000 +0200
+++ /var/tmp/diff_new_pack.aKicoe/_new 2015-06-16 14:05:21.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Crypt-Rijndael
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,18 @@
Name: perl-Crypt-Rijndael
-Version: 1.12
+Version: 1.13
Release: 0
%define cpan_name Crypt-Rijndael
Summary: Crypt::CBC compliant Rijndael encryption module
License: LGPL-3.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Crypt-Rijndael/
-Source:
http://www.cpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Test::Manifest) >= 1.14
-#BuildRequires: perl(Crypt::Rijndael)
-Requires: perl(Test::Manifest) >= 1.14
%{perl_requires}
%description
@@ -50,6 +48,33 @@
bits, is however, the AES-specified block size, so this is all we
support.
+* $cipher = Crypt::Rijndael->new( $key [, $mode] )
+
+ Create a new 'Crypt::Rijndael' cipher object with the given key (which
+ must be 128, 192 or 256 bits long). The additional '$mode' argument is
+ the encryption mode, either 'MODE_ECB' (electronic codebook mode, the
+ default), 'MODE_CBC' (cipher block chaining, the same that 'Crypt::CBC'
+ does), 'MODE_CFB' (128-bit cipher feedback), 'MODE_OFB' (128-bit output
+ feedback), or 'MODE_CTR' (counter mode).
+
+ ECB mode is very insecure (read a book on cryptography if you don't know
+ why!), so you should probably use CBC mode.
+
+* $cipher->set_iv($iv)
+
+ This allows you to change the initial value vector used by the chaining
+ modes. It is not relevant for ECB mode.
+
+* $cipher->encrypt($data)
+
+ Encrypt data. The size of '$data' must be a multiple of 'blocksize' (16
+ bytes), otherwise this function will croak. Apart from that, it can be of
+ (almost) any length.
+
+* $cipher->decrypt($data)
+
+ Decrypts '$data'.
+
%prep
%setup -q -n %{cpan_name}-%{version}
@@ -67,6 +92,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes COPYING examples LICENSE MYMETA.yml NEWS README
+%doc Changes COPYING LICENSE NEWS README
%changelog
++++++ Crypt-Rijndael-1.12.tar.gz -> Crypt-Rijndael-1.13.tar.gz ++++++
++++ 9083 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
license: LGPL-3.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module