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