]>
Commit | Line | Data |
---|---|---|
7ea29dde PG |
1 | # TODO: |
2 | # - make cgi version | |
3 | Summary: Program to manage /etc/passwd-like files | |
fb3c0281 | 4 | Summary(pl.UTF-8): Program do zarządzania plikami podobnymi do /etc/passwd |
7ea29dde | 5 | Name: chpwdfile |
0759d74b | 6 | Version: 0.26 |
222f83b8 | 7 | Release: 1 |
7dd2dbfc | 8 | Epoch: 0 |
7ea29dde PG |
9 | License: GPL v2 |
10 | Group: Base/Authentication and Authorization | |
11 | Source0: ftp://eclipse.che.uct.ac.za/chpwdfile/%{name}-%{version}.tar.gz | |
be1def09 | 12 | # Source0-md5: 7f63f7c1ce95cedace94d18745038768 |
7ea29dde | 13 | URL: http://eclipse.che.uct.ac.za/chpwdfile/ |
7dd2dbfc | 14 | Requires: pam-pam_pwdfile |
7ea29dde PG |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | This is a simple program to allow the administration of a text file | |
19 | containing username:crypted_password pairs, useful if one uses | |
20 | pam_pwdfile by Charl Botha. | |
21 | ||
22 | Multiple password files can be administered and minimum password | |
23 | lengths, etc, can be set in a configuration file on a per-file basis. | |
24 | Trusted users can set these parameters on the command line and | |
25 | manipulate other users' entries. Both DES and MD5 passwords are | |
26 | supported. | |
27 | ||
28 | <TODO> | |
29 | A CGI version allows manipulation of a single password file via a | |
30 | simple HTML form. | |
31 | </TODO> | |
32 | ||
6eec2e57 | 33 | %description -l pl.UTF-8 |
5bdbf06c | 34 | Ten program pozwala na administrowanie plikami tekstowymi, |
6eec2e57 JR |
35 | zawierającymi pary login:zaszyfrowane_hasło, użyteczne przy używaniu |
36 | modułu do PAM pam_pwdfile. | |
3918c1de | 37 | |
6eec2e57 JR |
38 | Możliwe jest administrowanie wieloma plikami z hasłami, a opcje |
39 | minimalnej długości haseł itp. mogą być ustawione dla każdego pliku | |
40 | osobno. Zaufani użytkownicy mogą ustawiać te opcje z linii poleceń i | |
41 | manipulować wpisami innych użytkowników. Obsługiwane są hasła DES oraz | |
3918c1de PG |
42 | MD5. |
43 | ||
44 | <TODO> | |
6eec2e57 | 45 | Wersja CGI pozwala na operowanie pojedynczym plikiem z hasłami poprzez |
3918c1de PG |
46 | prosty interfejs HTML. |
47 | </TODO> | |
48 | ||
7ea29dde PG |
49 | %prep |
50 | %setup -q | |
7ea29dde PG |
51 | |
52 | %build | |
53 | %{__make} \ | |
54 | CC="%{__cc}" \ | |
3918c1de | 55 | COPTS="%{rpmcflags} -Wall" |
7ea29dde PG |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
5bdbf06c | 59 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
7ea29dde PG |
60 | |
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT \ | |
01918d86 | 63 | BINDIR=%{_sbindir} \ |
7ea29dde PG |
64 | MANDIR=%{_mandir}/man1 |
65 | ||
5bdbf06c | 66 | install examples/chpwdfile.conf $RPM_BUILD_ROOT%{_sysconfdir} |
01918d86 | 67 | |
7ea29dde PG |
68 | %clean |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc README examples | |
6e032752 | 74 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/chpwdfile.conf |
01918d86 | 75 | %attr(755,root,root) %{_sbindir}/* |
7ea29dde | 76 | %{_mandir}/man1/*.1* |