mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 08:22:53 +00:00
add tmfiles.d config for create /run structure
This commit is contained in:
parent
bca163d299
commit
2738d731ab
2 changed files with 9 additions and 1 deletions
7
pam.spec
7
pam.spec
|
@ -19,7 +19,7 @@ Epoch: 1
|
||||||
Summary: A security tool which provides authentication for applications
|
Summary: A security tool which provides authentication for applications
|
||||||
Name: pam
|
Name: pam
|
||||||
Version: 1.1.4
|
Version: 1.1.4
|
||||||
Release: 16
|
Release: 17
|
||||||
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
||||||
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
|
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
|
@ -38,6 +38,7 @@ Source9: system-auth.5
|
||||||
Source10: config-util.5
|
Source10: config-util.5
|
||||||
Source11: postlogin.pamd
|
Source11: postlogin.pamd
|
||||||
Source12: postlogin.5
|
Source12: postlogin.5
|
||||||
|
Source13: pamtmp.conf
|
||||||
#add missing documentation
|
#add missing documentation
|
||||||
Source501: pam_tty_audit.8
|
Source501: pam_tty_audit.8
|
||||||
Source502: README
|
Source502: README
|
||||||
|
@ -239,6 +240,10 @@ rm -f %{buildroot}/%{_lib}/*.la
|
||||||
#Set suid bit for /sbin/unix_chkpwd (bug #3169)
|
#Set suid bit for /sbin/unix_chkpwd (bug #3169)
|
||||||
chmod u+s %{buildroot}/sbin/unix_chkpwd
|
chmod u+s %{buildroot}/sbin/unix_chkpwd
|
||||||
|
|
||||||
|
# Install the file for autocreation of /var/run subdirectories on boot
|
||||||
|
mkdir -p %{buildroot}%{_prefix}/lib/tmfiles.d/
|
||||||
|
install -m644 -D %{SOURCE13} %{buildroot}%{_prefix}/lib/tmpfiles.d/pam.conf
|
||||||
|
|
||||||
%find_lang Linux-PAM
|
%find_lang Linux-PAM
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
3
pamtmp.conf
Normal file
3
pamtmp.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
d /var/run/console 0755 root root -
|
||||||
|
d /var/run/faillock 0755 root root -
|
||||||
|
d /var/run/sepermit 0755 root root -
|
Loading…
Add table
Reference in a new issue