summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/sddm/files/pam-1.4-substack.patch38
1 files changed, 10 insertions, 28 deletions
diff --git a/x11-misc/sddm/files/pam-1.4-substack.patch b/x11-misc/sddm/files/pam-1.4-substack.patch
index 56be825e6e94..b0467b268228 100644
--- a/x11-misc/sddm/files/pam-1.4-substack.patch
+++ b/x11-misc/sddm/files/pam-1.4-substack.patch
@@ -1,18 +1,5 @@
-From 9fc1d933517eb01846585f41d04ee335f9f198e8 Mon Sep 17 00:00:00 2001
-From: Mikle Kolyada <zlogene@gentoo.org>
-Date: Sat, 20 Jun 2020 18:32:37 +0300
-Subject: [PATCH] Fix pam v1.4.0 compat
-
-Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
----
- services/sddm-autologin.pam | 1 -
- services/sddm.pam | 8 ++++----
- 2 files changed, 4 insertions(+), 5 deletions(-)
-
-diff --git a/sddm-0.18.1/services/sddm-autologin.pam b/sddm-0.18.1/services/sddm-autologin.pam
-index 4c82048..fc86790 100755
---- a/services/sddm-autologin.pam
-+++ b/services/sddm-autologin.pam
+--- sddm-0.18.1/services/sddm-autologin.pam.bak 2020-06-19 22:27:57.305580696 +0200
++++ sddm-0.18.1/services/sddm-autologin.pam 2020-06-19 22:30:50.513583973 +0200
@@ -1,6 +1,5 @@
#%PAM-1.0
auth required pam_env.so
@@ -20,10 +7,8 @@ index 4c82048..fc86790 100755
auth required pam_shells.so
auth required pam_nologin.so
auth required pam_permit.so
-diff --git a/sddm-0.18.1/services/sddm.pam b/sddm-0.18.1/services/sddm.pam
-index 343650e..61c1976 100755
---- a/services/sddm.pam
-+++ b/services/sddm.pam
+--- sddm-0.18.1/services/sddm.pam.bak 2020-06-19 22:27:26.721580117 +0200
++++ sddm-0.18.1/services/sddm.pam 2020-06-19 22:27:48.729580533 +0200
@@ -1,15 +1,15 @@
#%PAM-1.0
@@ -33,17 +18,14 @@ index 343650e..61c1976 100755
-auth optional pam_kwallet5.so
-account include system-login
-+account substack system-login
++account substack system-login
-password include system-login
-+password substack system-login
++password substack system-login
-password optional pam_gnome_keyring.so use_authtok
--session optional pam_keyinit.so force revoke
-+session substack pam_keyinit.so force revoke
- session include system-login
+ session optional pam_keyinit.so force revoke
+-session include system-login
++session substack system-login
-session optional pam_gnome_keyring.so auto_start
- -session optional pam_kwallet5.so auto_start
---
-2.26.2
-
+ -session optional pam_kwallet5.so auto_start \ No newline at end of file