From nobody Sat Oct 8 13:33:55 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ml5jv4jV6z4fNxy; Sat, 8 Oct 2022 13:33:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ml5jv2vDSz3g5r; Sat, 8 Oct 2022 13:33:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665236035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1YRSvEZKTm/t7xzgtkOL1kZF/YN1sX1rcdD+ob4Sf0I=; b=jk+obvV0zUAGol/yJ3WvMDLds7HJYQce264xtsIrsNLqPcJijFd3xQLxv0fr+o2mo8RUsw k3b6Q7IcclrgDoGG699SiP6qogA2qIHqwhmEcqi/WhjCpRvCb7NdUgQWJoloHEPVOCMhnF qj0IhpY4UU5q+5DCdqTLNFxTAv9PJjg67dFSM4Us56sPvIxpkZN3OoA0Cz/Thpj6ZHHP3H VTeOTOQwLeMEWXOXd0nzRDsZNjc3sAdUFCSLis4add5zYCTbS1/Q1SWBThTVI2TPZSaZ3U 2INX2kgY5rUj8OtA2v/eoCpbvKfoupeCbbOTr4nNu1SpP8sAncEvkaXmzGq8PQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ml5jv1y4BzxYs; Sat, 8 Oct 2022 13:33:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 298DXth5000196; Sat, 8 Oct 2022 13:33:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 298DXthb000195; Sat, 8 Oct 2022 13:33:55 GMT (envelope-from git) Date: Sat, 8 Oct 2022 13:33:55 GMT Message-Id: <202210081333.298DXthb000195@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 6cd9fcbb0f03 - main - x11/lightdm: Fix autologin List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6cd9fcbb0f03e95189a5eba168af7fcaead34dc1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665236035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1YRSvEZKTm/t7xzgtkOL1kZF/YN1sX1rcdD+ob4Sf0I=; b=LLcwrJmCvQCRm072s2yTcdPIoemUvvpft6/Iy4XZ7Mo7G6bdM2NhOhFq4cQknMUiWcu9Fx xsUDJ/6BunEmgUnnLRb8zkS/oO0H3dFuF6DUJRtQsIEGyADBjRrYsV7u7ckio17bZrOQXo 83opp/cQP4tRLDLk7ys1k34qgfirhkJHfn1xuBnUhlBHvqv67SEZPKKuk/daGQBnc0Upbv jJajDKk81Jfal5oLhVGKXkty83yF2Hcd22RWCLvEuZcH4BvOzBi4aRgQln/39SGpga0Yx7 ccWX+dkZgyXwVmYQojrAQbQdxlJcWTQYUa8lHfwJyjhBiVePo5klBQQbvezBwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665236035; a=rsa-sha256; cv=none; b=EgMG2qtfxNhZzaZFcID3Y2Gui9jCfJ1o9ZMR2oL5eMuBAZxmtqh0hisfDsx77wWdGCm0kf HZ/8oHnC70HtOhRvGBg0uewbF6UeUxhXmIXDwLuty1in6q5f8VrlD5cqdFZnsw095rsiLI 5at3fa1JBIfqJgG6psDJByb0y2jqK6Hh8EGzlCOHdvc+tAg8W7uyS+RMu54rbDAR0MMhWM R++I6sEfqIeJcx/sbM9qoJIVKULbEC8Kz+ThscU3n4J1zXGLpmvQyDfb+uLKq0wA7D76SV 9zFSBTJCr3qluJfVWPx6utk5nDXWTscFbAZnLxF9XvC28mJxPLGy4Z/Ms22tvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=6cd9fcbb0f03e95189a5eba168af7fcaead34dc1 commit 6cd9fcbb0f03e95189a5eba168af7fcaead34dc1 Author: Guido Falsi AuthorDate: 2022-10-08 13:30:56 +0000 Commit: Guido Falsi CommitDate: 2022-10-08 13:30:56 +0000 x11/lightdm: Fix autologin Upstreaam added a pam directive using a pam module not present in FreeBSD: https://github.com/canonical/lightdm/commit/0c21d986ff3c9ec1568b681c746e30b6fd25d5cb Fix by updating the patch to remove this addition. PR: 266899 MFH: 2022Q4 --- x11/lightdm/Makefile | 1 + x11/lightdm/files/patch-data_pam_lightdm-autologin | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/x11/lightdm/Makefile b/x11/lightdm/Makefile index f182a07e3f6a..a1bef078c1a5 100644 --- a/x11/lightdm/Makefile +++ b/x11/lightdm/Makefile @@ -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}/ diff --git a/x11/lightdm/files/patch-data_pam_lightdm-autologin b/x11/lightdm/files/patch-data_pam_lightdm-autologin index e2dba909866b..a6eb4874c705 100644 --- a/x11/lightdm/files/patch-data_pam_lightdm-autologin +++ b/x11/lightdm/files/patch-data_pam_lightdm-autologin @@ -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