mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 16:32:51 +00:00
add pam_faillock
This commit is contained in:
parent
020707d1d5
commit
4f63d881d0
1 changed files with 6 additions and 1 deletions
7
pam.spec
7
pam.spec
|
@ -108,6 +108,9 @@ BuildRequires: gettext-devel
|
||||||
BuildRequires: pkgconfig(libtirpc)
|
BuildRequires: pkgconfig(libtirpc)
|
||||||
BuildRequires: db-devel
|
BuildRequires: db-devel
|
||||||
BuildRequires: html2text
|
BuildRequires: html2text
|
||||||
|
BuildRequires: docbook-dtd-xml
|
||||||
|
BuildRequires: docbook-xsl
|
||||||
|
BuildRequires: xsltproc
|
||||||
%if %with_prelude
|
%if %with_prelude
|
||||||
BuildRequires: prelude-devel >= 0.9.0
|
BuildRequires: prelude-devel >= 0.9.0
|
||||||
%else
|
%else
|
||||||
|
@ -256,7 +259,7 @@ done
|
||||||
/sbin/ldconfig -n %{buildroot}/%{_lib}
|
/sbin/ldconfig -n %{buildroot}/%{_lib}
|
||||||
for module in %{buildroot}/%{_lib}/security/pam*.so ; do
|
for module in %{buildroot}/%{_lib}/security/pam*.so ; do
|
||||||
if ! env LD_LIBRARY_PATH=%{buildroot}/%{_lib} \
|
if ! env LD_LIBRARY_PATH=%{buildroot}/%{_lib} \
|
||||||
sh %{SOURCE8} -ldl -lpam -L%{buildroot}/%{_lib} ${module} ; then
|
sh %{SOURCE8} -ldb -ldl -lpam -L%{buildroot}/%{_lib} ${module} ; then
|
||||||
echo ERROR module: ${module} cannot be loaded.
|
echo ERROR module: ${module} cannot be loaded.
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -288,6 +291,8 @@ fi
|
||||||
/sbin/pam_tally2
|
/sbin/pam_tally2
|
||||||
/sbin/unix_chkpwd
|
/sbin/unix_chkpwd
|
||||||
/sbin/unix_update
|
/sbin/unix_update
|
||||||
|
/sbin/faillock
|
||||||
|
/sbin/pwhistory_helper
|
||||||
%attr(4755,root,root) /sbin/pam_timestamp_check
|
%attr(4755,root,root) /sbin/pam_timestamp_check
|
||||||
%config(noreplace) %{_sysconfdir}/security/access.conf
|
%config(noreplace) %{_sysconfdir}/security/access.conf
|
||||||
%config(noreplace) %{_sysconfdir}/security/chroot.conf
|
%config(noreplace) %{_sysconfdir}/security/chroot.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue