[packages/pam] add update-motd patch from debian

glen glen at pld-linux.org
Thu Oct 3 15:01:04 CEST 2013


commit 3c20be82f7c9cffae8b4c8d5b635d3ae26e0e909
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Oct 3 15:59:44 2013 +0300

    add update-motd patch from debian
    
    scripts run from /etc/update-motd.d output to /var/run/motd and if
    /etc/motd is symlink to that file, motd is updated dynamically

 pam.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/pam.spec b/pam.spec
index 675839e..1d402e4 100644
--- a/pam.spec
+++ b/pam.spec
@@ -17,7 +17,7 @@ Summary(tr.UTF-8):	Modüler, artımsal doğrulama birimleri
 Summary(uk.UTF-8):	Інструмент, що забезпечує аутентифікацію для програм
 Name:		pam
 Version:	1.1.7
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL or BSD
 Group:		Base
@@ -41,6 +41,7 @@ Patch2:		%{name}-tally-fail-close.patch
 Patch3:		%{name}-mkhomedir-notfound.patch
 Patch4:		%{name}-db-gdbm.patch
 Patch5:		%{name}-exec-failok.patch
+Patch6:		update-motd.patch
 URL:		http://www.kernel.org/pub/linux/libs/pam/
 %{?with_audit:BuildRequires:	audit-libs-devel >= 1.6.9}
 BuildRequires:	autoconf >= 2.61
@@ -238,6 +239,7 @@ Moduł PAM pozwalający na zmianę kontekstów SELinuksa.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 %{__libtoolize}
@@ -416,7 +418,7 @@ end
 %dir /etc/security/console.apps
 %dir /etc/security/console.perms.d
 %dir /var/run/console
-/usr/lib/tmpfiles.d/%{name}.conf
+%{systemdtmpfilesdir}/%{name}.conf
 %config(noreplace) %verify(not md5 mtime size) /etc/environment
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/other
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/system-auth
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pam.git/commitdiff/3c20be82f7c9cffae8b4c8d5b635d3ae26e0e909



More information about the pld-cvs-commit mailing list