From 6c711bb04498daccf312cee4699194b08bae7eb4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:45:02 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.01-4mamba;Tue Nov 13 2012] --- README.md | 10 ++++++ perl-Crypt-DES_EDE3.spec | 70 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 perl-Crypt-DES_EDE3.spec diff --git a/README.md b/README.md index 2b94584..3bbdff2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # perl-Crypt-DES_EDE3 +Crypt::DES_EDE3 implements DES-EDE3 encryption. +This is triple-DES encryption where an encrypt operation is encrypt-decrypt-encrypt, and decrypt is decrypt-encrypt-decrypt. +This implementation uses Crypt::DES to do its dirty DES work, and simply provides a wrapper around that module: setting up the individual DES ciphers, initializing the keys, and performing the encryption/decryption steps. + +DES-EDE3 encryption requires a key size of 24 bytes. + +You're probably best off not using this module directly, as the encrypt and decrypt methods expect 8-octet blocks. +You might want to use the module in conjunction with Crypt::CBC, for example. +This would be DES-EDE3-CBC, or triple-DES in outer CBC mode. + diff --git a/perl-Crypt-DES_EDE3.spec b/perl-Crypt-DES_EDE3.spec new file mode 100644 index 0000000..2186cbb --- /dev/null +++ b/perl-Crypt-DES_EDE3.spec @@ -0,0 +1,70 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Crypt-DES_EDE3 +Version: 0.01 +Release: 4mamba +Summary: Crypt::DES_EDE3 - Triple-DES EDE encryption/decryption +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES_EDE3-%{version}.tar.gz +License: Artistic, GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRequires: perl-Crypt-DES +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Crypt::DES_EDE3 implements DES-EDE3 encryption. +This is triple-DES encryption where an encrypt operation is encrypt-decrypt-encrypt, and decrypt is decrypt-encrypt-decrypt. +This implementation uses Crypt::DES to do its dirty DES work, and simply provides a wrapper around that module: setting up the individual DES ciphers, initializing the keys, and performing the encryption/decryption steps. + +DES-EDE3 encryption requires a key size of 24 bytes. + +You're probably best off not using this module directly, as the encrypt and decrypt methods expect 8-octet blocks. +You might want to use the module in conjunction with Crypt::CBC, for example. +This would be DES-EDE3-CBC, or triple-DES in outer CBC mode. + +%prep +%setup -q -n Crypt-DES_EDE3-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Nov 13 2012 Silvan Calarco 0.01-4mamba +- perl 5.16 mass rebuild + +* Wed Nov 05 2008 Silvan Calarco 0.01-3mamba +- automatic rebuild by autodist + +* Wed Aug 29 2007 Stefano Cotta Ramusino 0.01-2mamba +- fixed package license +- added missing build requirement + +* Thu May 06 2004 Silvan Calarco 0.01-1qilnx +- first build \ No newline at end of file