David Dick 30f312a
Name:           perl-Crypt-PBKDF2
8116fed
Version:        0.161520
5de0676
Release:        2%{?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
2d5f8fb
BuildRequires:  findutils
2d5f8fb
BuildRequires:  make
David Dick 30f312a
BuildRequires:  perl
45e1441
BuildRequires:  perl-generators
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)
2d5f8fb
BuildRequires:  perl(Digest::SHA3) >= 0.22
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)
2d5f8fb
BuildRequires:  perl(Moo) >= 2
2d5f8fb
BuildRequires:  perl(Moo::Role) >= 2
David Dick 30f312a
BuildRequires:  perl(namespace::autoclean)
2d5f8fb
BuildRequires:  perl(Scalar::Util)
David Dick 30f312a
BuildRequires:  perl(strict)
2d5f8fb
BuildRequires:  perl(strictures) >= 2
David Dick 1bec531
BuildRequires:  perl(Test::Fatal)
David Dick 30f312a
BuildRequires:  perl(Test::More)
David Dick 30f312a
BuildRequires:  perl(Try::Tiny) >= 0.04
8116fed
BuildRequires:  perl(Type::Tiny) >= 1.000005
2d5f8fb
BuildRequires:  perl(Types::Standard)
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
2d5f8fb
find $RPM_BUILD_ROOT -type f -name .packlist -delete
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
2d5f8fb
%license LICENSE
8116fed
%doc Changes
David Dick 30f312a
%{perl_vendorlib}/*
David Dick 30f312a
%{_mandir}/man3/*
David Dick 30f312a
David Dick 30f312a
%changelog
5de0676
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.161520-2
5de0676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5de0676
8116fed
* Mon Aug 01 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.161520-1
8116fed
- 0.161520 bump
8116fed
f52a5e1
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.160410-2
f52a5e1
- Perl 5.24 rebuild
f52a5e1
2d5f8fb
* Wed Mar 23 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.160410
2d5f8fb
- 0.160410 bump; Moose was replaced by Moo
2d5f8fb
5b674e0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.150900-4
5b674e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5b674e0
5827c45
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.150900-3
5827c45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5827c45
bb6a30b
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.150900-2
bb6a30b
- Perl 5.22 rebuild
bb6a30b
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