From nobody Wed Feb 28 16:37:52 2024 X-Original-To: dev-commits-ports-main@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 4TlKlj0qf4z5BtN5; Wed, 28 Feb 2024 16:37:53 +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 4TlKlj05N6z41qY; Wed, 28 Feb 2024 16:37:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709138273; 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=fCXbdYZugol2QsX38v4Ee2Y7amBibh67kjZHAkq2Q/I=; b=kN0CIgEZJYyeChzgzr4MvkCUyAy37GYF4tHDGrjRpYjVckk/kDaCBuQQU+4dQDdace1LIl iSrd//bS77kNwEo+xiTHALH2F5aw+O2AeV9z/YqhvB5xqGrJdePV2VdkDMAdxGNAjFXpzM rK9hebY3EFZcEc/YCSQNtcmPBY8WVrjYAQaildgSyonLHMOHnA23puoZsMbfEc3ReX/BSp FuKiMMyoCGszWZKVbqaTeyqBrpXPWoo7xlkW9Strez/t6ydk1GfD4RuLunP75aWLXKBIDd xh050aT+dFEvjjX+0ujIEhUqJUHErNRJvyOFn+9qIgayNuBKlrHhYYFLxLE+bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709138273; a=rsa-sha256; cv=none; b=D+M1Y8PYmseXdhfPFId7pcvwOF5vD+fFq92Q+tbVY1NseJ+mfEzz08/yt5i5e5tysd9+L2 gRqx/MdRm61S2mKraEjE64y1qul4UjGzmfwDoBMx88yqgAgZyBOMDtuMABOqv+KlV/lS+2 Xh41WYPu3LizmRiEW6K87hj7qv0+kGER3ixVIXK5SFaIeXn1khSseAFVrVmWaFXqEaToXK ekUS6ZmKOfHG+kCFOqx4I71Lv1hFFBLPV3ozTKMPcZWHvKmBoMt2HaHSD3wd6NF+Tg2uMK Zg0a0n5HJCgE2rb2lJNBT5PYEE6K8o3XgtqFWgdqZ/gZ5Ep0Y/Dvh0m3xVa8TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709138273; 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=fCXbdYZugol2QsX38v4Ee2Y7amBibh67kjZHAkq2Q/I=; b=Hx21r9SyUIdFPE9E7JCztBlQ+fRU6HueR9s0hG+/ZPAxgZKBHem1gMWe/sBEGIZgZquaA/ S4bZ+i/01mb9xJwyK6F6zN96srMii2RGneJgVqBpa7ooICnm7qZEPySn0S+yWHexXCz8Ih KzzEYpZMR63CDyocbEVILNSwrWmBScUz8DR/V7tN63Q0tbmEwCdA1mP7aSME6FApplJuUS yV+9JNBQ4ull76efQ3oM4VqIW+Qi+1BPip9P0DNm0csDipY2d7Rs8OvuAqCttYL1zIp32p 2H8QKoc4e6XIh5XKWd4kX2enlNhbASeEWSDSM2A2DMmydi+35thVwGGPLVvKYQ== 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 4TlKlh6JsFz14QL; Wed, 28 Feb 2024 16:37:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41SGbqJq002299; Wed, 28 Feb 2024 16:37:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41SGbqTN002296; Wed, 28 Feb 2024 16:37:52 GMT (envelope-from git) Date: Wed, 28 Feb 2024 16:37:52 GMT Message-Id: <202402281637.41SGbqTN002296@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 342ded777ddd - main - sysutils/pam_xdg: temporarily hide on -CURRENT due to POLA violation List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 342ded777ddd526b56b5699c276574a49337451d Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=342ded777ddd526b56b5699c276574a49337451d commit 342ded777ddd526b56b5699c276574a49337451d Author: Jan Beich AuthorDate: 2024-02-28 15:29:26 +0000 Commit: Jan Beich CommitDate: 2024-02-28 16:36:03 +0000 sysutils/pam_xdg: temporarily hide on -CURRENT due to POLA violation https://cgit.freebsd.org/src/commit/?id=6e69612d5df1 https://cgit.freebsd.org/src/commit/?id=6b9e6f12e5bb From a brief look: - by default base uses /var/run/xdg/ while the port uses /var/run/user/ - session tracking is unconditional in base but opt-in in the port - base is limited to XDG_RUNTIME_DIR while the port supports other dirs per XDG Base Directory Specification Migrating from the port requires user intervention: - adjust/remount /etc/fstab if /var/run/user was under tmpfs(5) - adjust /etc/pam.d/* to remove unused/unsupported options - re-login to inherit the new XDG_RUNTIME_DIR value - restart *user* services that survived re-login --- sysutils/pam_xdg/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sysutils/pam_xdg/Makefile b/sysutils/pam_xdg/Makefile index d8b7c2ac4f4a..b849c2f4110a 100644 --- a/sysutils/pam_xdg/Makefile +++ b/sysutils/pam_xdg/Makefile @@ -13,6 +13,10 @@ USES= uidfix PLIST_FILES= lib/${PORTNAME}.so \ share/man/man8/${PORTNAME}.8.gz +.if exists(/usr/lib/pam_xdg.so) +IGNORE= module name conflict with a different implementation in base system +.endif + # makefile is too crufty, so roll our own MAKEFILE= bsd.lib.mk MAKE_ARGS+= SHLIB_NAME="${PORTNAME}.so" MAN="${PORTNAME}.8" \