]> git.pld-linux.org Git - SPECS.git/blob - perl-Authen-Challenge-Basic.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / perl-Authen-Challenge-Basic.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Authen
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
10 Version:        0.1
11 Release:        10
12 License:        unknown
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
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
30
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.
38
39 %prep
40 %setup -q -n Authen-Challenge-Basic-%{version}
41 %patch0 -p1
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %dir %{perl_vendorlib}/Authen/Challenge
63 %{perl_vendorlib}/Authen/Challenge/Basic.pm
64 %{_mandir}/man3/*
This page took 0.097413 seconds and 3 git commands to generate.