]> git.pld-linux.org Git - packages/chpwdfile.git/blame - chpwdfile.spec
- tabs in preamble
[packages/chpwdfile.git] / chpwdfile.spec
CommitLineData
7ea29dde
PG
1# TODO:
2# - make cgi version
3Summary: Program to manage /etc/passwd-like files
fb3c0281 4Summary(pl.UTF-8): Program do zarządzania plikami podobnymi do /etc/passwd
7ea29dde 5Name: chpwdfile
0759d74b 6Version: 0.26
222f83b8 7Release: 1
7dd2dbfc 8Epoch: 0
7ea29dde
PG
9License: GPL v2
10Group: Base/Authentication and Authorization
11Source0: ftp://eclipse.che.uct.ac.za/chpwdfile/%{name}-%{version}.tar.gz
be1def09 12# Source0-md5: 7f63f7c1ce95cedace94d18745038768
7ea29dde 13URL: http://eclipse.che.uct.ac.za/chpwdfile/
7dd2dbfc 14Requires: pam-pam_pwdfile
7ea29dde
PG
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18This is a simple program to allow the administration of a text file
19containing username:crypted_password pairs, useful if one uses
20pam_pwdfile by Charl Botha.
21
22Multiple password files can be administered and minimum password
23lengths, etc, can be set in a configuration file on a per-file basis.
24Trusted users can set these parameters on the command line and
25manipulate other users' entries. Both DES and MD5 passwords are
26supported.
27
28<TODO>
29A CGI version allows manipulation of a single password file via a
30simple HTML form.
31</TODO>
32
6eec2e57 33%description -l pl.UTF-8
5bdbf06c 34Ten program pozwala na administrowanie plikami tekstowymi,
6eec2e57
JR
35zawierającymi pary login:zaszyfrowane_hasło, użyteczne przy używaniu
36modułu do PAM pam_pwdfile.
3918c1de 37
6eec2e57
JR
38Możliwe jest administrowanie wieloma plikami z hasłami, a opcje
39minimalnej długości haseł itp. mogą być ustawione dla każdego pliku
40osobno. Zaufani użytkownicy mogą ustawiać te opcje z linii poleceń i
41manipulować wpisami innych użytkowników. Obsługiwane są hasła DES oraz
3918c1de
PG
42MD5.
43
44<TODO>
6eec2e57 45Wersja CGI pozwala na operowanie pojedynczym plikiem z hasłami poprzez
3918c1de
PG
46prosty 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
58rm -rf $RPM_BUILD_ROOT
5bdbf06c 59install -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 66install examples/chpwdfile.conf $RPM_BUILD_ROOT%{_sysconfdir}
01918d86 67
7ea29dde
PG
68%clean
69rm -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*
This page took 0.072377 seconds and 4 git commands to generate.