From 0212b521a5032b7962ea0f534bbdfd46975bbde3e4c416230d6b2029cd8920a3 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Thu, 4 Jun 2015 16:55:07 +0000 Subject: [PATCH] Accepting request 310215 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/310215 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-Rijndael?expand=0&rev=17 --- Crypt-Rijndael-1.12.tar.gz | 3 --- Crypt-Rijndael-1.13.tar.gz | 3 +++ cpanspec.yml | 23 +++++++++++++++++++++ perl-Crypt-Rijndael.changes | 8 ++++++++ perl-Crypt-Rijndael.spec | 41 +++++++++++++++++++++++++++++-------- 5 files changed, 67 insertions(+), 11 deletions(-) delete mode 100644 Crypt-Rijndael-1.12.tar.gz create mode 100644 Crypt-Rijndael-1.13.tar.gz create mode 100644 cpanspec.yml diff --git a/Crypt-Rijndael-1.12.tar.gz b/Crypt-Rijndael-1.12.tar.gz deleted file mode 100644 index 6e0deec..0000000 --- a/Crypt-Rijndael-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a096d2194e2967a899693ecbc2bb3595be1b89829cab8384288c09846ea7ffe5 -size 24512 diff --git a/Crypt-Rijndael-1.13.tar.gz b/Crypt-Rijndael-1.13.tar.gz new file mode 100644 index 0000000..3d8d3ae --- /dev/null +++ b/Crypt-Rijndael-1.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd7209a6dfe0a3dc8caffe1aa2233b0e6effec7572d76a7a93feefffe636214e +size 71724 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#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: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Crypt-Rijndael.changes b/perl-Crypt-Rijndael.changes index 2a0a1a9..133a092 100644 --- a/perl-Crypt-Rijndael.changes +++ b/perl-Crypt-Rijndael.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Jun 4 08:33:28 UTC 2015 - coolo@suse.com + +- updated to 1.13 + see /usr/share/doc/packages/perl-Crypt-Rijndael/Changes + + Revision history for Perl module Crypt::Rijndael + ------------------------------------------------------------------- Wed Feb 12 09:54:30 UTC 2014 - i@marguerite.su diff --git a/perl-Crypt-Rijndael.spec b/perl-Crypt-Rijndael.spec index ddbc08e..339dcb5 100644 --- a/perl-Crypt-Rijndael.spec +++ b/perl-Crypt-Rijndael.spec @@ -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 +License: SUSE-Public-Domain 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 @@ the Advanced Encryption Standard. 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 @@ the Advanced Encryption Standard. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes COPYING examples LICENSE MYMETA.yml NEWS README +%doc Changes COPYING LICENSE NEWS README %changelog