x11/lightdm: Fix autologin
Upstreaam added a pam directive using a pam module not present in FreeBSD:
0c21d986ff
Fix by updating the patch to remove this addition.
PR: 266899
MFH: 2022Q4
This commit is contained in:
parent
b224cb40ad
commit
6cd9fcbb0f
@ -1,5 +1,6 @@
|
||||
PORTNAME= lightdm
|
||||
PORTVERSION= 1.32.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= https://github.com/canonical/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
|
||||
|
||||
|
@ -1,8 +1,10 @@
|
||||
--- data/pam/lightdm-autologin.orig 2015-08-09 23:30:00 UTC
|
||||
--- data/pam/lightdm-autologin.orig 2022-07-04 03:28:22 UTC
|
||||
+++ data/pam/lightdm-autologin
|
||||
@@ -1,20 +1,19 @@
|
||||
@@ -1,22 +1,18 @@
|
||||
#%PAM-1.0
|
||||
|
||||
-# Block login if shell in nologin or false
|
||||
-auth required pam_succeed_if.so shell notin /sbin/nologin:/usr/sbin/nologin:/bin/false:/usr/bin/false
|
||||
-
|
||||
# Block login if they are globally disabled
|
||||
-auth required pam_nologin.so
|
||||
+account required pam_nologin.so
|
||||
|
Loading…
Reference in New Issue
Block a user