sddm-autologin: remove use of deprecated pam_tally.so [release 0.18.1-3mamba;Thu Oct 15 2020]
This commit is contained in:
parent
c693d7475d
commit
5f3b5bed86
@ -1,11 +1,12 @@
|
||||
diff -Nru sddm-0.17.0.20180408git.orig/services/sddm-autologin.pam sddm-0.17.0.20180408git/services/sddm-autologin.pam
|
||||
--- sddm-0.17.0.20180408git.orig/services/sddm-autologin.pam 2018-04-08 13:39:55.388821656 +0200
|
||||
+++ sddm-0.17.0.20180408git/services/sddm-autologin.pam 2018-04-08 13:57:08.348376643 +0200
|
||||
diff -ru sddm-0.18.1.orig/services/sddm-autologin.pam sddm-0.18.1/services/sddm-autologin.pam
|
||||
--- sddm-0.18.1.orig/services/sddm-autologin.pam 2019-04-01 08:51:20.000000000 +0200
|
||||
+++ sddm-0.18.1/services/sddm-autologin.pam 2020-10-15 20:24:25.497000000 +0200
|
||||
@@ -1,13 +1,14 @@
|
||||
#%PAM-1.0
|
||||
auth required pam_env.so
|
||||
-auth required pam_tally.so file=/var/log/faillog onerr=succeed
|
||||
+auth required pam_group.so
|
||||
auth required pam_tally.so file=/var/log/faillog onerr=succeed
|
||||
+auth required pam_faillock.so file=/var/log/faillog onerr=succeed
|
||||
auth required pam_shells.so
|
||||
auth required pam_nologin.so
|
||||
auth required pam_permit.so
|
||||
@ -19,9 +20,9 @@ diff -Nru sddm-0.17.0.20180408git.orig/services/sddm-autologin.pam sddm-0.17.0.2
|
||||
+session include system-auth
|
||||
-session optional pam_gnome_keyring.so auto_start
|
||||
-session optional pam_kwallet5.so auto_start
|
||||
diff -Nru sddm-0.17.0.20180408git.orig/services/sddm.pam sddm-0.17.0.20180408git/services/sddm.pam
|
||||
--- sddm-0.17.0.20180408git.orig/services/sddm.pam 2018-04-08 13:40:01.544851819 +0200
|
||||
+++ sddm-0.17.0.20180408git/services/sddm.pam 2018-04-08 13:56:57.760332524 +0200
|
||||
diff -ru sddm-0.18.1.orig/services/sddm.pam sddm-0.18.1/services/sddm.pam
|
||||
--- sddm-0.18.1.orig/services/sddm.pam 2019-04-01 08:51:20.000000000 +0200
|
||||
+++ sddm-0.18.1/services/sddm.pam 2020-10-15 20:23:28.591000000 +0200
|
||||
@@ -1,15 +1,16 @@
|
||||
#%PAM-1.0
|
||||
|
10
sddm.spec
10
sddm.spec
@ -2,7 +2,7 @@
|
||||
%define group_sddm 68
|
||||
Name: sddm
|
||||
Version: 0.18.1
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: QML based X11 and Wayland display manager
|
||||
Group: Graphical Desktop/Applications/Environment
|
||||
Vendor: openmamba
|
||||
@ -12,7 +12,7 @@ URL: https://github.com/sddm/sddm
|
||||
## GITSOURCE https://github.com/sddm/sddm.git v0.13.0
|
||||
#Source: https://github.com/sddm/sddm.git/develop/sddm-%{version}.tar.bz2
|
||||
Source: https://github.com/sddm/sddm.git/v%{version}/sddm-%{version}.tar.bz2
|
||||
Patch0: sddm-0.17.0-openmamba-pam.patch
|
||||
Patch0: sddm-0.18.1-openmamba-pam.patch
|
||||
Patch1: sddm-0.17.0.20180408git-fix-pam-group.patch
|
||||
Patch2: sddm-0.18.0-autorotate.patch
|
||||
License: GPL
|
||||
@ -38,7 +38,7 @@ QML based X11 and Wayland display manager.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
@ -78,6 +78,7 @@ useradd -u %{user_sddm} -g sddm \
|
||||
|
||||
%posttrans
|
||||
if [ $1 -ge 1 ]; then
|
||||
sed -i "/pam_tally.so/d" /etc/pam.d/sddm-autologin
|
||||
[ -e /etc/sddm.conf.rpmsave ] && {
|
||||
eval `grep ^User= /etc/sddm.conf.rpmsave`
|
||||
eval `grep ^Session= /etc/sddm.conf.rpmsave`
|
||||
@ -135,6 +136,9 @@ fi
|
||||
%doc LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Oct 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.1-3mamba
|
||||
- sddm-autologin: remove use of deprecated pam_tally.so
|
||||
|
||||
* Sun Oct 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.1-2mamba
|
||||
- require haveged to fix startup when kernel random generator has not had enough entropy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user