|
|
4ebf4b |
Summary: Encrypt Data with Cipher Block Chaining Mode
|
|
|
4ebf4b |
Name: perl-Crypt-CBC
|
|
|
4ebf4b |
Version: 2.33
|
|
|
4ebf4b |
Release: 1%{?dist}
|
|
|
4ebf4b |
# Upstream confirms that they're under the same license as perl.
|
|
|
4ebf4b |
# Wording in CBC.pm is less than clear, but still.
|
|
|
4ebf4b |
License: GPL+ or Artistic
|
|
|
4ebf4b |
Group: Development/Libraries
|
|
|
4ebf4b |
URL: http://search.cpan.org/dist/Crypt-CBC/
|
|
|
4ebf4b |
Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Crypt-CBC-%{version}.tar.gz
|
|
|
4ebf4b |
BuildArch: noarch
|
|
|
4ebf4b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
4ebf4b |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
4ebf4b |
BuildRequires: perl(bytes)
|
|
|
4ebf4b |
BuildRequires: perl(constant)
|
|
|
4ebf4b |
BuildRequires: perl(Digest::MD5) >= 2.00
|
|
|
4ebf4b |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
4ebf4b |
# Modules used for test suite, skipped when bootstrapping as
|
|
|
4ebf4b |
# some of these modules use Crypt::CBC themselves
|
|
|
4ebf4b |
# Crypt::CAST5 not yet packaged in Fedora
|
|
|
4ebf4b |
# Crypt::IDEA is unavailable due to patents
|
|
|
4ebf4b |
%if 0%{!?perl_bootstrap:1}
|
|
|
4ebf4b |
BuildRequires: perl(Crypt::DES)
|
|
|
4ebf4b |
%if ! (0%{?rhel} >= 7)
|
|
|
4ebf4b |
BuildRequires: perl(Crypt::Blowfish)
|
|
|
4ebf4b |
BuildRequires: perl(Crypt::Blowfish_PP)
|
|
|
4ebf4b |
BuildRequires: perl(Crypt::Rijndael)
|
|
|
4ebf4b |
%endif
|
|
|
4ebf4b |
%endif
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%description
|
|
|
4ebf4b |
This is Crypt::CBC, a Perl-only implementation of the cryptographic
|
|
|
4ebf4b |
cipher block chaining mode (CBC). In combination with a block cipher
|
|
|
4ebf4b |
such as Crypt::DES or Crypt::IDEA, you can encrypt and decrypt
|
|
|
4ebf4b |
messages of arbitrarily long length. The encrypted messages are
|
|
|
4ebf4b |
compatible with the encryption format used by SSLeay.
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%prep
|
|
|
4ebf4b |
%setup -q -n Crypt-CBC-%{version}
|
|
|
4ebf4b |
chmod 644 eg/*.pl
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%build
|
|
|
4ebf4b |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
4ebf4b |
make
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%install
|
|
|
4ebf4b |
rm -rf $RPM_BUILD_ROOT
|
|
|
4ebf4b |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
4ebf4b |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
4ebf4b |
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%check
|
|
|
4ebf4b |
make test
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%clean
|
|
|
4ebf4b |
rm -rf $RPM_BUILD_ROOT
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%files
|
|
|
4ebf4b |
%doc Changes README eg/
|
|
|
4ebf4b |
%{perl_vendorlib}/Crypt/
|
|
|
4ebf4b |
%{_mandir}/man3/*.3*
|
|
|
4ebf4b |
|
|
|
4ebf4b |
%changelog
|
|
|
4ebf4b |
* Tue Jul 30 2013 Paul Howarth <paul@city-fan.org> - 2.33-1
|
|
|
4ebf4b |
- Update to 2.33
|
|
|
4ebf4b |
- Fixes to regular expressions to avoid rare failures to correctly strip
|
|
|
4ebf4b |
padding in decoded messages
|
|
|
4ebf4b |
- Add padding type = "none"
|
|
|
4ebf4b |
- Fix "Taint checks are turned on and your key is tainted" error when
|
|
|
4ebf4b |
autogenerating salt and IV
|
|
|
4ebf4b |
- Fix minor bugs CPAN RT#83175 and CPAN RT#86455
|
|
|
4ebf4b |
- Don't need to remove empty directories from the buildroot
|
|
|
4ebf4b |
- Drop %%defattr, redundant since rpm 4.4
|
|
|
4ebf4b |
- Use %%{_fixperms} macro rather than our own chmod incantation
|
|
|
4ebf4b |
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Mon Aug 20 2012 Daniel Mach <dmach@redhat.com> - 2.29-14.1
|
|
|
4ebf4b |
- Rebuild for perl 5.16
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-14
|
|
|
4ebf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.29-13
|
|
|
4ebf4b |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.29-12
|
|
|
4ebf4b |
- Perl 5.16 rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Mon Jun 11 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-11
|
|
|
4ebf4b |
- Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael
|
|
|
4ebf4b |
on RHEL >= 7
|
|
|
4ebf4b |
- Resolves: rhbz#822812
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Sat Apr 21 2012 Paul Howarth <paul@city-fan.org> - 2.29-10
|
|
|
4ebf4b |
- BR: perl(bytes), perl(constant), perl(Digest::MD5) - required by module
|
|
|
4ebf4b |
- BR: perl(Crypt::Blowfish), perl(Crypt::Blowfish_PP), perl(Crypt::DES),
|
|
|
4ebf4b |
perl(Crypt::Rijndael) for improved test coverage, except when bootstrapping
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-9
|
|
|
4ebf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-8
|
|
|
4ebf4b |
- Perl mass rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-7
|
|
|
4ebf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-6
|
|
|
4ebf4b |
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-5
|
|
|
4ebf4b |
- Mass rebuild with perl-5.12.0
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.29-4
|
|
|
4ebf4b |
- rebuild against perl 5.10.1
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-3
|
|
|
4ebf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-2
|
|
|
4ebf4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Jul 11 2008 Tom "spot" Callawau <tcallawa@redhat.com> - 2.29-1
|
|
|
4ebf4b |
- update to 2.29
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-3
|
|
|
4ebf4b |
- work around buildsystem burp
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-2
|
|
|
4ebf4b |
- rebuild for new perl
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-1.1
|
|
|
4ebf4b |
- add BR: perl(ExtUtils::MakeMaker)
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Wed Feb 07 2007 Andreas Thienemann <andreas@bawue.net> - 2.22-1
|
|
|
4ebf4b |
- Upgrade to 2.22
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 2.19-1
|
|
|
4ebf4b |
- Upgrade to 2.19
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Fri Feb 24 2006 Andreas Thienemann <andreas@bawue.net> - 2.17-1
|
|
|
4ebf4b |
- Upgrade to 2.17
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-2
|
|
|
4ebf4b |
- Remove execute permissions from example files
|
|
|
4ebf4b |
|
|
|
4ebf4b |
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-1
|
|
|
4ebf4b |
- Initial package
|
|
|
4ebf4b |
|