From 8ab4d3920b6da379f4d14ff3b78d088a45df7cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 8 May 2023 13:52:09 +0200 Subject: RPM: update build scripts for Fedora 38 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/core/tdebase/pamd.kcheckpass-trinity.fc38 | 5 +++++ redhat/core/tdebase/pamd.kdm-trinity-np.fc38 | 16 +++++++++++++++ redhat/core/tdebase/pamd.kdm-trinity.fc38 | 23 ++++++++++++++++++++++ redhat/core/tdebase/pamd.kscreensaver-trinity.fc38 | 5 +++++ redhat/core/tdebase/tdm.fc38.te | 11 +++++++++++ redhat/core/tdebase/tdm.service.el9 | 1 - redhat/core/tdebase/tdm.service.fc34 | 12 ----------- redhat/core/tdebase/tdm.service.fc35 | 12 ----------- redhat/core/tdebase/tdm.service.fc36 | 12 ----------- redhat/core/tdebase/tdm.service.fc37 | 12 ----------- redhat/core/tdebase/tdm.service.mga8 | 12 ----------- 11 files changed, 60 insertions(+), 61 deletions(-) create mode 100644 redhat/core/tdebase/pamd.kcheckpass-trinity.fc38 create mode 100644 redhat/core/tdebase/pamd.kdm-trinity-np.fc38 create mode 100644 redhat/core/tdebase/pamd.kdm-trinity.fc38 create mode 100644 redhat/core/tdebase/pamd.kscreensaver-trinity.fc38 create mode 100644 redhat/core/tdebase/tdm.fc38.te delete mode 120000 redhat/core/tdebase/tdm.service.el9 delete mode 100644 redhat/core/tdebase/tdm.service.fc34 delete mode 100644 redhat/core/tdebase/tdm.service.fc35 delete mode 100644 redhat/core/tdebase/tdm.service.fc36 delete mode 100644 redhat/core/tdebase/tdm.service.fc37 delete mode 100644 redhat/core/tdebase/tdm.service.mga8 (limited to 'redhat/core') diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.fc38 b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc38 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc38 @@ -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/core/tdebase/pamd.kdm-trinity-np.fc38 b/redhat/core/tdebase/pamd.kdm-trinity-np.fc38 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/core/tdebase/pamd.kdm-trinity-np.fc38 @@ -0,0 +1,16 @@ + #%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +auth include postlogin +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 optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +session include postlogin diff --git a/redhat/core/tdebase/pamd.kdm-trinity.fc38 b/redhat/core/tdebase/pamd.kdm-trinity.fc38 new file mode 100644 index 000000000..4e760760f --- /dev/null +++ b/redhat/core/tdebase/pamd.kdm-trinity.fc38 @@ -0,0 +1,23 @@ +#%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 +-auth optional pam_kwallet.so +-auth optional pam_kwallet5.so +auth include postlogin +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 optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet.so +-session optional pam_kwallet5.so +session include postlogin diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.fc38 b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc38 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc38 @@ -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/core/tdebase/tdm.fc38.te b/redhat/core/tdebase/tdm.fc38.te new file mode 100644 index 000000000..afe6de52a --- /dev/null +++ b/redhat/core/tdebase/tdm.fc38.te @@ -0,0 +1,11 @@ + +module tdm 1.0; + +require { + type fprintd_t; + type init_t; + class dbus send_msg; +} + +#============= fprintd_t ============== +allow fprintd_t init_t:dbus send_msg; diff --git a/redhat/core/tdebase/tdm.service.el9 b/redhat/core/tdebase/tdm.service.el9 deleted file mode 120000 index 87f56ea08..000000000 --- a/redhat/core/tdebase/tdm.service.el9 +++ /dev/null @@ -1 +0,0 @@ -tdm.service.el7 \ No newline at end of file diff --git a/redhat/core/tdebase/tdm.service.fc34 b/redhat/core/tdebase/tdm.service.fc34 deleted file mode 100644 index 9ef7e07ff..000000000 --- a/redhat/core/tdebase/tdm.service.fc34 +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=The Trinity login manager -Conflicts=getty@tty1.service -After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service - -[Service] -ExecStart=/opt/trinity/bin/tdm -Restart=always -IgnoreSIGPIPE=no - -[Install] -Alias=display-manager.service diff --git a/redhat/core/tdebase/tdm.service.fc35 b/redhat/core/tdebase/tdm.service.fc35 deleted file mode 100644 index 9ef7e07ff..000000000 --- a/redhat/core/tdebase/tdm.service.fc35 +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=The Trinity login manager -Conflicts=getty@tty1.service -After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service - -[Service] -ExecStart=/opt/trinity/bin/tdm -Restart=always -IgnoreSIGPIPE=no - -[Install] -Alias=display-manager.service diff --git a/redhat/core/tdebase/tdm.service.fc36 b/redhat/core/tdebase/tdm.service.fc36 deleted file mode 100644 index 9ef7e07ff..000000000 --- a/redhat/core/tdebase/tdm.service.fc36 +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=The Trinity login manager -Conflicts=getty@tty1.service -After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service - -[Service] -ExecStart=/opt/trinity/bin/tdm -Restart=always -IgnoreSIGPIPE=no - -[Install] -Alias=display-manager.service diff --git a/redhat/core/tdebase/tdm.service.fc37 b/redhat/core/tdebase/tdm.service.fc37 deleted file mode 100644 index 9ef7e07ff..000000000 --- a/redhat/core/tdebase/tdm.service.fc37 +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=The Trinity login manager -Conflicts=getty@tty1.service -After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service - -[Service] -ExecStart=/opt/trinity/bin/tdm -Restart=always -IgnoreSIGPIPE=no - -[Install] -Alias=display-manager.service diff --git a/redhat/core/tdebase/tdm.service.mga8 b/redhat/core/tdebase/tdm.service.mga8 deleted file mode 100644 index eda2906e2..000000000 --- a/redhat/core/tdebase/tdm.service.mga8 +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Trinity Display Manager -Documentation=man:tdm(1) -Conflicts=getty@tty1.service -After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service - -[Service] -ExecStart=/opt/trinity/bin/tdm -Restart=always - -[Install] -Alias=display-manager.service -- cgit v1.2.1