]>
Commit | Line | Data |
---|---|---|
1 | Summary: The uniform PAM password-checking interface | |
2 | Summary(pl.UTF-8): Jednolity interfejs do sprawdzania haseł przez PAM | |
3 | Name: checkpassword-pam | |
4 | Version: 0.99 | |
5 | Release: 2 | |
6 | License: GPL | |
7 | Group: Applications/System | |
8 | Source0: http://dl.sourceforge.net/checkpasswd-pam/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 47db7b71f281115b030d4947f09f4374 | |
10 | URL: http://checkpasswd-pam.sourceforge.net/ | |
11 | BuildRequires: pam-devel | |
12 | BuildRequires: rpmbuild(macros) >= 1.177 | |
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. checkpassword-pam uses PAM library to check | |
19 | passwords. | |
20 | ||
21 | There are checkpassword-compatible tools that support alternate | |
22 | password databases, secret login names, long passwords, subaccounts, | |
23 | one-time passwords, detailed accounting, and many other features. | |
24 | Applications that use the checkpassword interface will work with all | |
25 | of these tools. Several tools have been specifically designed to | |
26 | support POP toasters. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | checkpassword udostępnia prosty, jednolity interfejs do sprawdzania | |
30 | haseł we wszystkich aplikacjach z prawami roota. Może być używany w | |
31 | aplikacjach takich jak login, ftpd i pop3d. checkpassword-pam używa | |
32 | biblioteki PAM do sprawdzania haseł. | |
33 | ||
34 | Dostępne są narzędzia kompatybilne z checkpassword obsługujące | |
35 | alternatywne bazy haseł, ukryte nazwy użytkowników, długie hasła, | |
36 | podkonta, hasła jednorazowe, szczegółowy accounting i wiele innych | |
37 | możliwości. Aplikacje używające interfejsu checkpassword będą działać | |
38 | z dowolnym z tych narzędzi. Kilka narzędzi zostało zaprojektowanych do | |
39 | obsługi POP. | |
40 | ||
41 | %prep | |
42 | %setup -q | |
43 | ||
44 | %build | |
45 | %configure | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man8} | |
52 | install checkpassword-pam $RPM_BUILD_ROOT%{_sbindir} | |
53 | install checkpassword-pam.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
54 | ||
55 | # compat | |
56 | ln -s ../sbin/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %triggerpostun -- %{name} < 0.99-2 | |
62 | ln -sf %{_sbindir}/%{name} %{_bindir}/%{name} | |
63 | %banner %{name} -e <<EOF | |
64 | The %{name} binary was moved to %{_sbindir}, please update your | |
65 | configuration! I've created compat symlink so you don't feel so much | |
66 | pain of that change. | |
67 | EOF | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
71 | %doc AUTHORS README NEWS | |
72 | %ghost %{_bindir}/* | |
73 | %attr(755,root,root) %{_sbindir}/* | |
74 | %{_mandir}/man8/* |