David Dick 30f312a
Name:           perl-Crypt-PBKDF2
David Dick 874b9b2
Version:        0.150900
David Dick 1bec531
Release:        1%{?dist}
David Dick 30f312a
Summary:        PBKDF2 password hashing algorithm
David Dick 30f312a
License:        GPL+ or Artistic
David Dick 30f312a
Group:          Development/Libraries
David Dick 30f312a
URL:            http://search.cpan.org/dist/Crypt-PBKDF2/
David Dick 30f312a
Source0:        http://www.cpan.org/modules/by-module/Crypt/Crypt-PBKDF2-%{version}.tar.gz
David Dick 30f312a
BuildArch:      noarch
David Dick 30f312a
BuildRequires:  perl
David Dick 30f312a
BuildRequires:  perl(Carp)
David Dick 30f312a
BuildRequires:  perl(constant)
David Dick 30f312a
BuildRequires:  perl(Digest) >= 1.16
David Dick 30f312a
BuildRequires:  perl(Digest::HMAC) >= 1.01
David Dick 30f312a
BuildRequires:  perl(Digest::SHA)
David Dick 1bec531
BuildRequires:  perl(Digest::SHA3)
David Dick 30f312a
BuildRequires:  perl(Encode)
David Dick 1bec531
BuildRequires:  perl(ExtUtils::MakeMaker)
David Dick 30f312a
BuildRequires:  perl(MIME::Base64)
David Dick 30f312a
BuildRequires:  perl(Module::Runtime)
David Dick 30f312a
BuildRequires:  perl(Moose) >= 1
David Dick 30f312a
BuildRequires:  perl(Moose::Role)
David Dick 30f312a
BuildRequires:  perl(Moose::Util::TypeConstraints)
David Dick 30f312a
BuildRequires:  perl(namespace::autoclean)
David Dick 30f312a
BuildRequires:  perl(strict)
David Dick 1bec531
BuildRequires:  perl(Test::Fatal)
David Dick 30f312a
BuildRequires:  perl(Test::More)
David Dick 30f312a
BuildRequires:  perl(Try::Tiny) >= 0.04
David Dick 30f312a
BuildRequires:  perl(warnings)
David Dick 30f312a
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
David Dick 30f312a
David Dick 30f312a
%description
David Dick 30f312a
PBKDF2 is a secure password hashing algorithm that uses the techniques of
David Dick 30f312a
"key strengthening" to make the complexity of a brute-force attack
David Dick 30f312a
arbitrarily high. PBKDF2 uses any other cryptographic hash or cipher (by
David Dick 30f312a
convention, usually HMAC-SHA1, but Crypt::PBKDF2 is fully pluggable), and
David Dick 30f312a
allows for an arbitrary number of iterations of the hashing function, and a
David Dick 30f312a
nearly unlimited output hash size (up to 2**32 - 1 times the size of the
David Dick 30f312a
output of the back-end hash). The hash is salted, as any password hash
David Dick 30f312a
should be, and the salt may also be of arbitrary size.
David Dick 30f312a
David Dick 30f312a
%prep
David Dick 30f312a
%setup -q -n Crypt-PBKDF2-%{version}
David Dick 30f312a
David Dick 30f312a
%build
David Dick 30f312a
%{__perl} Makefile.PL INSTALLDIRS=vendor
David Dick 30f312a
make %{?_smp_mflags}
David Dick 30f312a
David Dick 30f312a
%install
David Dick 30f312a
make pure_install DESTDIR=$RPM_BUILD_ROOT
David Dick 30f312a
David Dick 30f312a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
David Dick 30f312a
David Dick 30f312a
%{_fixperms} $RPM_BUILD_ROOT/*
David Dick 30f312a
David Dick 30f312a
%check
David Dick 30f312a
make test
David Dick 30f312a
David Dick 30f312a
%files
David Dick 30f312a
%doc Changes LICENSE README
David Dick 30f312a
%{perl_vendorlib}/*
David Dick 30f312a
%{_mandir}/man3/*
David Dick 30f312a
David Dick 30f312a
%changelog
David Dick 874b9b2
* Thu Apr 30 2015 David Dick <ddick@cpan.org> - 0.150900-1
David Dick 874b9b2
- Upgrade to 0.150900.  Bugfix
David Dick 874b9b2
David Dick 1bec531
* Sat Oct 18 2014 David Dick <ddick@cpan.org> - 0.142390-1
David Dick 1bec531
- Added option for password length limit, add HMACSHA3 hasher
David Dick 1bec531
c91ebcb
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.140890-3
c91ebcb
- Perl 5.20 rebuild
c91ebcb
44d867e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.140890-2
44d867e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
44d867e
David Dick 30f312a
* Sun Apr 27 2014 David Dick <ddick@cpan.org> - 0.140890-1
David Dick 30f312a
- Initial release