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
This commit is contained in:
parent
a3c57f5a6a
commit
0212b521a5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a096d2194e2967a899693ecbc2bb3595be1b89829cab8384288c09846ea7ffe5
|
||||
size 24512
|
3
Crypt-Rijndael-1.13.tar.gz
Normal file
3
Crypt-Rijndael-1.13.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cd7209a6dfe0a3dc8caffe1aa2233b0e6effec7572d76a7a93feefffe636214e
|
||||
size 71724
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user