]> git.pld-linux.org Git - packages/kp5-plasma-workspace.git/commitdiff
- rel 4; make kcheckpass work - add pam config file (from fc) auto/th/kp5-plasma-workspace-5.4.0-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 7 Sep 2015 14:01:01 +0000 (16:01 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 7 Sep 2015 14:01:01 +0000 (16:01 +0200)
kde.pam [new file with mode: 0644]
kp5-plasma-workspace.spec

diff --git a/kde.pam b/kde.pam
new file mode 100644 (file)
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
index 0c10234caebb824ee9b731bff48543b57ae085e1..4028e1152c86e3a9f698848512f12db74a22316d 100644 (file)
 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)
This page took 0.348163 seconds and 4 git commands to generate.