git: 342ded777ddd - main - sysutils/pam_xdg: temporarily hide on -CURRENT due to POLA violation

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 16:37:52 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=342ded777ddd526b56b5699c276574a49337451d

commit 342ded777ddd526b56b5699c276574a49337451d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-28 15:29:26 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
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/<user> while the port uses /var/run/user/<uid>
    - 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" \