mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 08:22:53 +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: db-devel
|
||||
BuildRequires: html2text
|
||||
BuildRequires: docbook-dtd-xml
|
||||
BuildRequires: docbook-xsl
|
||||
BuildRequires: xsltproc
|
||||
%if %with_prelude
|
||||
BuildRequires: prelude-devel >= 0.9.0
|
||||
%else
|
||||
|
@ -256,7 +259,7 @@ done
|
|||
/sbin/ldconfig -n %{buildroot}/%{_lib}
|
||||
for module in %{buildroot}/%{_lib}/security/pam*.so ; do
|
||||
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.
|
||||
exit 1
|
||||
fi
|
||||
|
@ -288,6 +291,8 @@ fi
|
|||
/sbin/pam_tally2
|
||||
/sbin/unix_chkpwd
|
||||
/sbin/unix_update
|
||||
/sbin/faillock
|
||||
/sbin/pwhistory_helper
|
||||
%attr(4755,root,root) /sbin/pam_timestamp_check
|
||||
%config(noreplace) %{_sysconfdir}/security/access.conf
|
||||
%config(noreplace) %{_sysconfdir}/security/chroot.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue