3 %bcond_without tests # do not perform "make test"
6 %define pnam Challenge-Basic
7 Summary: Authen::Challenge::Basic - a basic challenge/response authentication scheme
8 Summary(pl.UTF-8): Authen::Challenge::Basic - podstawowy schemat uwierzytelniania wezwanie/odpowiedź
9 Name: perl-Authen-Challenge-Basic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Authen/Authen-Challenge-Basic-%{version}.tar.gz
15 # Source0-md5: baafb21abd63b3b8b7829ea082891a42
16 Patch0: %{name}-Digest-MD5.patch
17 URL: http://search.cpan.org/dist/Authen-Challenge-Basic/
18 BuildRequires: perl-Digest-MD5
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Authen::Challenge::Basic Perl module provides a simple MD5-based
26 challenge/response protocol allowing for mutual peer authentication in
27 a session. The protocol includes timing information, so it is possible
28 to introduce time constraints in the session to help prevent attacks
29 that rely on adjusting the clock in one of the peers.
31 %description -l pl.UTF-8
32 Moduł Perla Authen::Challenge::Basic udostępnia prosty, oparty o MD5,
33 protokół uwierzytelniania typu wezwanie/odpowiedź umożliwiający
34 wzajemne uwierzytelnianie partnerów podczas sesji. Protokół zawiera
35 informacje synchronizujące, więc możliwe jest wprowadzenie podczas
36 sesji ograniczeń czasowych ułatwiających zapobieganie atakom opartym
37 na przestawieniu zegara jednego z partnerów.
40 %setup -q -n Authen-Challenge-Basic-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %dir %{perl_vendorlib}/Authen/Challenge
63 %{perl_vendorlib}/Authen/Challenge/Basic.pm