]> git.pld-linux.org Git - SPECS.git/blob - pam-pam_pwdfile.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / pam-pam_pwdfile.spec
1 %define         modulename pam_pwdfile
2 Summary:        PAM module - authenticate on htpasswd-type files separate from /etc/passwd
3 Summary(pl.UTF-8):      Moduł PAM pozwalający na użycie oddzielnych plików z hasłami do różnych usług
4 Name:           pam-%{modulename}
5 Version:        0.99
6 Release:        2
7 Epoch:          0
8 License:        GPL
9 Group:          Base/Authentication and Authorization
10 Source0:        http://cpbotha.net/files/pam_pwdfile/%{modulename}-%{version}.tar.gz
11 # Source0-md5:  a05b41f0bd1c0de16bec8aad6b1b30a9
12 URL:            http://cpbotha.net/pam_pwdfile.html
13 BuildRequires:  pam-static > 0.77.3-2
14 Obsoletes:      pam_pwdfile
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 PAM module - authenticate on htpasswd-type files separate from
19 /etc/passwd.
20
21 %description -l pl.UTF-8
22 Moduł PAM pozwalający na użycie oddzielnych plików z hasłami do
23 różnych usług.
24
25 %prep
26 %setup -q -n %{modulename}-%{version}
27
28 %build
29 %{__make} -f contrib/Makefile.standalone \
30         CC="%{__cc}" \
31         PAMLIB="-lpam" \
32         CFLAGS="%{rpmcflags} -fPIC -c -Wall -Wformat-security"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/%{_lib}/security
37
38 install pam_pwdfile.so $RPM_BUILD_ROOT/%{_lib}/security
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README changelog contrib/warwick_duncan-cyrus_without_system_accounts.txt
46 %attr(755,root,root) /%{_lib}/security/pam_pwdfile.so
This page took 0.223485 seconds and 3 git commands to generate.