]>
Commit | Line | Data |
---|---|---|
248318d4 | 1 | Summary: The uniform password-checking interface |
9e832662 | 2 | Summary(pl.UTF-8): Jednolite międzymordzie do haseł |
248318d4 | 3 | Name: checkpassword |
4 | Version: 0.90 | |
5 | Release: 1 | |
6 | License: Qmail | |
7 | Group: Applications/System | |
8 | Source0: http://cr.yp.to/checkpwd/%{name}-%{version}.tar.gz | |
97706e13 | 9 | # Source0-md5: e75842e908f96571ae56c3da499ba1fc |
248318d4 | 10 | Patch0: http://qmail.obeer.com/%{name}-pam-0.90.diff.gz |
11 | Patch1: %{name}-pam-pld.patch | |
12 | URL: http://cr.yp.to/checkpwd.html | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | checkpassword provides a simple, uniform password-checking interface | |
17 | to all root applications. It is suitable for use by applications such | |
18 | as login, ftpd, and pop3d. | |
19 | ||
20 | There are checkpassword-compatible tools that support alternate | |
21 | password databases, secret login names, long passwords, subaccounts, | |
22 | one-time passwords, detailed accounting, and many other features. | |
23 | Applications that use the checkpassword interface will work with all | |
24 | of these tools. Several tools have been specifically designed to | |
25 | support POP toasters. | |
26 | ||
9e832662 JR |
27 | %description -l pl.UTF-8 |
28 | Jednolite międzymordzie do haseł, do użycia przez serwery takie jak | |
29 | ftpd, pop3, imapd, login. Wyposażone dodatkowo w łatkę umożliwiającą | |
30 | współdziałanie z biblioteką PAM. | |
248318d4 | 31 | |
32 | %prep | |
33 | %setup -q | |
34 | ||
35 | %patch0 -p1 | |
36 | %patch1 | |
37 | ||
38 | %build | |
ac432eac ER |
39 | echo '%{__cc} %{rpmcflags}' > conf-cc |
40 | echo '%{_prefix}' > conf-home | |
248318d4 | 41 | %{__make} |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_bindir} | |
46 | ||
47 | install checkpassword $RPM_BUILD_ROOT%{_bindir} | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %attr(755,root,root) %{_bindir}/* |