From 2800c682a48fba8d13cd78bafbe0c532ccbc2e47 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:44:56 +0100 Subject: [PATCH] automatic update by autodist [release 2.07-1mamba;Sun Jul 28 2013] --- README.md | 6 ++++ perl-Crypt-DES.spec | 70 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 perl-Crypt-DES.spec diff --git a/README.md b/README.md index f3db46d..e7f9247 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # perl-Crypt-DES +The Crypt::DES module implements the Crypt::CBC interface. +Do note that DES only uses 8 byte keys and only works on 8 byte data blocks. +If you're intending to encrypt larger blocks or entire files, please use Crypt::CBC in conjunction with this module. +Also note that the DES algorithm is, by today's standard, weak encryption. +Crypt::Blowfish is highly recommended if you're interested in using strong encryption and a faster algorithm. + diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec new file mode 100644 index 0000000..fa5ff66 --- /dev/null +++ b/perl-Crypt-DES.spec @@ -0,0 +1,70 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Crypt-DES +Version: 2.07 +Release: 1mamba +Summary: Crypt::DES - Perl DES encryption module +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES-%{version}.tar.gz +URL: http://www.cpan.org +License: GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/perl-root + +%description +The Crypt::DES module implements the Crypt::CBC interface. +Do note that DES only uses 8 byte keys and only works on 8 byte data blocks. +If you're intending to encrypt larger blocks or entire files, please use Crypt::CBC in conjunction with this module. +Also note that the DES algorithm is, by today's standard, weak encryption. +Crypt::Blowfish is highly recommended if you're interested in using strong encryption and a faster algorithm. + +%prep +%setup -q -n Crypt-DES-%{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 +* Sun Jul 28 2013 Automatic Build System 2.07-1mamba +- automatic update by autodist + +* Sat Nov 10 2012 Silvan Calarco 2.05-3mamba +- perl 5.16 mass rebuild + +* Tue Nov 04 2008 Silvan Calarco 2.05-2mamba +- automatic rebuild by autodist + +* Tue Nov 13 2007 Aleph0 2.05-1mamba +- update to 2.05 + +* Tue Jan 18 2005 Silvan Calarco 2.03-2qilnx +- fix version requirement for perl (>= instead of > ) + +* Tue Feb 24 2004 Davide Madrisan 2.03-1qilnx +- First build