Accepting request 902310 from Linux-PAM
- Create /run/motd.d (forwarded request 902295 from gmbr3) OBS-URL: https://build.opensuse.org/request/show/902310 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam?expand=0&rev=113
This commit is contained in:
commit
c680360a30
2
motd.tmpfiles
Normal file
2
motd.tmpfiles
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#Type Path Mode User Group Age Argument
|
||||||
|
d /run/motd.d 0755 root root - -
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 25 08:07:04 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- Create /run/motd.d
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 10 14:22:01 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
Mon May 10 14:22:01 UTC 2021 - Josef Möllers <josef.moellers@suse.com>
|
||||||
|
|
||||||
|
8
pam.spec
8
pam.spec
@ -58,6 +58,7 @@ Source9: baselibs.conf
|
|||||||
Source10: unix2_chkpwd.c
|
Source10: unix2_chkpwd.c
|
||||||
Source11: unix2_chkpwd.8
|
Source11: unix2_chkpwd.8
|
||||||
Source12: pam-login_defs-check.sh
|
Source12: pam-login_defs-check.sh
|
||||||
|
Source13: motd.tmpfiles
|
||||||
Patch2: pam-limit-nproc.patch
|
Patch2: pam-limit-nproc.patch
|
||||||
Patch4: pam-hostnames-in-access_conf.patch
|
Patch4: pam-hostnames-in-access_conf.patch
|
||||||
Patch5: pam-xauth_ownership.patch
|
Patch5: pam-xauth_ownership.patch
|
||||||
@ -264,7 +265,9 @@ install -m 644 %{_sourcedir}/unix2_chkpwd.8 %{buildroot}/%{_mandir}/man8/
|
|||||||
# rpm macros
|
# rpm macros
|
||||||
mkdir -p %{buildroot}/usr/lib/rpm/macros.d
|
mkdir -p %{buildroot}/usr/lib/rpm/macros.d
|
||||||
echo "%%_pamdir %pamdir" > %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.pam
|
echo "%%_pamdir %pamdir" > %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.pam
|
||||||
# Create filelist with translatins
|
# /run/motd.d
|
||||||
|
install -Dm0644 %{SOURCE13} %{buildroot}%{_tmpfilesdir}/motd.conf
|
||||||
|
# Create filelist with translations
|
||||||
%find_lang Linux-PAM
|
%find_lang Linux-PAM
|
||||||
|
|
||||||
%verifyscript
|
%verifyscript
|
||||||
@ -275,6 +278,7 @@ echo "%%_pamdir %pamdir" > %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.pam
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%set_permissions %{sbindir}/unix_chkpwd
|
%set_permissions %{sbindir}/unix_chkpwd
|
||||||
%set_permissions %{sbindir}/unix2_chkpwd
|
%set_permissions %{sbindir}/unix2_chkpwd
|
||||||
|
%tmpfiles_create %{_tmpfilesdir}/motd.conf
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
%pre
|
%pre
|
||||||
@ -295,6 +299,7 @@ done
|
|||||||
%dir %{_sysconfdir}/security
|
%dir %{_sysconfdir}/security
|
||||||
%dir %{_sysconfdir}/security/limits.d
|
%dir %{_sysconfdir}/security/limits.d
|
||||||
%dir %{_prefix}/lib/motd.d
|
%dir %{_prefix}/lib/motd.d
|
||||||
|
%ghost %dir %{_rundir}/motd.d
|
||||||
%if %{defined config_noreplace}
|
%if %{defined config_noreplace}
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/other
|
%config(noreplace) %{_sysconfdir}/pam.d/other
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/common-*
|
%config(noreplace) %{_sysconfdir}/pam.d/common-*
|
||||||
@ -437,6 +442,7 @@ done
|
|||||||
%verify(not mode) %attr(4755,root,shadow) %{sbindir}/unix2_chkpwd
|
%verify(not mode) %attr(4755,root,shadow) %{sbindir}/unix2_chkpwd
|
||||||
%attr(0700,root,root) %{sbindir}/unix_update
|
%attr(0700,root,root) %{sbindir}/unix_update
|
||||||
%{_unitdir}/pam_namespace.service
|
%{_unitdir}/pam_namespace.service
|
||||||
|
%{_tmpfilesdir}/motd.conf
|
||||||
|
|
||||||
%files -n pam_unix
|
%files -n pam_unix
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
Loading…
Reference in New Issue
Block a user