[packages/kp5-plasma-workspace] - rel 4; make kcheckpass work - add pam config file (from fc)

arekm arekm at pld-linux.org
Mon Sep 7 16:01:07 CEST 2015


commit 27cab6ebe4d18db61abc18da2cc3eb3e7780c125
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 7 16:01:01 2015 +0200

    - rel 4; make kcheckpass work - add pam config file (from fc)

 kde.pam                   | 18 ++++++++++++++++++
 kp5-plasma-workspace.spec |  6 +++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/kp5-plasma-workspace.spec b/kp5-plasma-workspace.spec
index 0c10234..4028e11 100644
--- a/kp5-plasma-workspace.spec
+++ b/kp5-plasma-workspace.spec
@@ -10,11 +10,12 @@
 Summary:	KDE Plasma Workspace
 Name:		kp5-%{kpname}
 Version:	5.4.0
-Release:	3
+Release:	4
 License:	LGPL v2.1+
 Group:		X11/Libraries
 Source0:	http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
 # Source0-md5:	0bb91a876188f98791358017c85ccec8
+Source1:	kde.pam
 Patch0:		kp5-plasma-workspace-absolute-path.patch
 Patch1:		kp5-plasma-workspace-scripts.patch
 URL:		http://www.kde.org/
@@ -85,6 +86,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build/ install \
         DESTDIR=$RPM_BUILD_ROOT
 
+install -m455 -p -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/kde
+
 %find_lang %{kpname} --all-name
 
 %clean
@@ -272,6 +275,7 @@ rm -rf $RPM_BUILD_ROOT
 /etc/xdg/plasmoids.knsrc
 /etc/xdg/taskmanagerrulesrc
 /etc/xdg/wallpaper.knsrc
+%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/kde
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/kde.pam b/kde.pam
new file mode 100644
index 0000000..1c43a64
--- /dev/null
+++ b/kde.pam
@@ -0,0 +1,18 @@
+#%PAM-1.0
+#auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
+auth       substack     system-auth
+auth       include      postlogin
+account    required     pam_nologin.so
+account    include      system-auth
+password   include      system-auth
+# pam_selinux.so close should be the first session rule
+session    required     pam_selinux.so close
+session    required     pam_loginuid.so
+session    optional     pam_console.so
+# pam_selinux.so open should only be followed by sessions to be executed in the user context
+session    required     pam_selinux.so open
+session    required     pam_namespace.so
+session    optional     pam_keyinit.so force revoke
+session    include      system-auth
+session    include      postlogin
+#-session   optional     pam_ck_connector.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-plasma-workspace.git/commitdiff/27cab6ebe4d18db61abc18da2cc3eb3e7780c125



More information about the pld-cvs-commit mailing list