fix sddm-autologin pam file for openmamba [release 0.16.0-2mamba;Wed Nov 15 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:41:28 +01:00
parent 72dcac29b3
commit 7946fbbc49
3 changed files with 42 additions and 24 deletions

View File

@ -1,22 +0,0 @@
--- sddm-0.15.0/services/sddm.pam.orig 2017-09-22 22:51:56.275397000 +0200
+++ sddm-0.15.0/services/sddm.pam 2017-09-22 22:52:32.245548477 +0200
@@ -1,15 +1,15 @@
#%PAM-1.0
-auth include system-login
+auth include system-auth
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
-account include system-login
+account include system-auth
-password include system-login
+password include system-auth
-password optional pam_gnome_keyring.so use_authtok
session optional pam_keyinit.so force revoke
-session include system-login
+session include system-auth
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start

View File

@ -0,0 +1,37 @@
--- sddm-0.15.0/services/sddm.pam.orig 2017-09-22 22:51:56.275397000 +0200
+++ sddm-0.15.0/services/sddm.pam 2017-09-22 22:52:32.245548477 +0200
@@ -1,15 +1,15 @@
#%PAM-1.0
-auth include system-login
+auth include system-auth
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
-account include system-login
+account include system-auth
-password include system-login
+password include system-auth
-password optional pam_gnome_keyring.so use_authtok
session optional pam_keyinit.so force revoke
-session include system-login
+session include system-auth
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start
diff -Nru sddm-0.16.0.orig/services/sddm-autologin.pam sddm-0.16.0/services/sddm-autologin.pam
--- sddm-0.16.0.orig/services/sddm-autologin.pam 2017-10-24 22:40:54.000000000 +0200
+++ sddm-0.16.0/services/sddm-autologin.pam 2017-11-15 23:55:08.217612865 +0100
@@ -6,8 +6,8 @@
auth required pam_permit.so
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
-account include system-local-login
-password include system-local-login
-session include system-local-login
+account include system-auth
+password include system-auth
+session include system-auth
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start

View File

@ -2,7 +2,7 @@
%define group_sddm 68
Name: sddm
Version: 0.16.0
Release: 1mamba
Release: 2mamba
Summary: QML based X11 and Wayland display manager
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
@ -11,7 +11,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/sddm/sddm
## GITSOURCE https://github.com/sddm/sddm.git v0.13.0
Source: https://github.com/sddm/sddm.git/v%{version}/sddm-%{version}.tar.bz2
Patch0: sddm-0.15.0-openmamba-pam.patch
Patch0: sddm-0.16.0-openmamba-pam.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -99,6 +99,9 @@ useradd -u %{user_sddm} -g sddm \
%doc LICENSE
%changelog
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.0-2mamba
- fix sddm-autologin pam file for openmamba
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist