summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-06-18 18:59:22 +0200
committerFrançois Andriot <[email protected]>2014-06-18 18:59:22 +0200
commitb17dd09e6a6628e9058fadc586e14b7a1f1724bb (patch)
tree8169745c97f824a2540500755c69b27f95261da4 /redhat/tdebase
parentb0b28963e382972d8627474e3bcadfadcc67ff01 (diff)
downloadtde-packaging-b17dd09e6a6628e9058fadc586e14b7a1f1724bb.tar.gz
tde-packaging-b17dd09e6a6628e9058fadc586e14b7a1f1724bb.zip
RPM packaging: initial support for RHEL7
Diffstat (limited to 'redhat/tdebase')
-rw-r--r--redhat/tdebase/pamd.kcheckpass-trinity.el75
-rw-r--r--redhat/tdebase/pamd.kdm-trinity-np.el713
-rw-r--r--redhat/tdebase/pamd.kdm-trinity.el716
-rw-r--r--redhat/tdebase/pamd.kscreensaver-trinity.el75
-rw-r--r--redhat/tdebase/tdm.el7.ppbin0 -> 936 bytes
-rw-r--r--redhat/tdebase/tdm.el7.te0
-rw-r--r--redhat/tdebase/tdm.service.el712
7 files changed, 51 insertions, 0 deletions
diff --git a/redhat/tdebase/pamd.kcheckpass-trinity.el7 b/redhat/tdebase/pamd.kcheckpass-trinity.el7
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/tdebase/pamd.kcheckpass-trinity.el7
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/tdebase/pamd.kdm-trinity-np.el7 b/redhat/tdebase/pamd.kdm-trinity-np.el7
new file mode 100644
index 000000000..c3f7172de
--- /dev/null
+++ b/redhat/tdebase/pamd.kdm-trinity-np.el7
@@ -0,0 +1,13 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
diff --git a/redhat/tdebase/pamd.kdm-trinity.el7 b/redhat/tdebase/pamd.kdm-trinity.el7
new file mode 100644
index 000000000..14f4aa748
--- /dev/null
+++ b/redhat/tdebase/pamd.kdm-trinity.el7
@@ -0,0 +1,16 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+auth optional pam_gnome_keyring.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session optional pam_gnome_keyring.so auto_start
+session include system-auth
diff --git a/redhat/tdebase/pamd.kscreensaver-trinity.el7 b/redhat/tdebase/pamd.kscreensaver-trinity.el7
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/tdebase/pamd.kscreensaver-trinity.el7
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/tdebase/tdm.el7.pp b/redhat/tdebase/tdm.el7.pp
new file mode 100644
index 000000000..dec162d22
--- /dev/null
+++ b/redhat/tdebase/tdm.el7.pp
Binary files differ
diff --git a/redhat/tdebase/tdm.el7.te b/redhat/tdebase/tdm.el7.te
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/redhat/tdebase/tdm.el7.te
diff --git a/redhat/tdebase/tdm.service.el7 b/redhat/tdebase/tdm.service.el7
new file mode 100644
index 000000000..4c6136d94
--- /dev/null
+++ b/redhat/tdebase/tdm.service.el7
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+After=systemd-user-sessions.service [email protected] plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/kdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service