Skip to content

Commit

Permalink
sysutils/pam_xdg: restore -CURRENT support
Browse files Browse the repository at this point in the history
Can be useful to skip root or directory cleanup on logout as base
implementation isn't configurable.
  • Loading branch information
jbeich committed May 1, 2024
1 parent 9a6f7b2 commit b8b843a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sysutils/pam_xdg/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= pam_xdg
DISTVERSION= 0.8.2
PORTREVISION= 1
CATEGORIES= sysutils wayland
MASTER_SITES= https://ftp.sdaoden.eu/

Expand All @@ -10,13 +11,10 @@ WWW= https://www.sdaoden.eu/code.html#s-toolbox
LICENSE= ISCL

USES= uidfix
SUB_FILES= pkg-message
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" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
{ type: install
message: <<EOM
Read pam_xdg(8) manpage for instructions how to configure PAM.
On FreeBSD >= 14.1 replace pam_xdg.so in /etc/pam/* with
%%PREFIX%%/lib/pam_xdg.so (absolute path).

XDG_RUNTIME_DIR on Wayland maybe used as a fallback for anonymous
shared memory. For better performance and to avoid posix_fallocate(2)
Expand Down

0 comments on commit b8b843a

Please sign in to comment.