Created attachment 228097 [details] v1 (use "git am") Refer to the manual page in pkg-message to avoid confusing users.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fa95f2e2113895601954a5c2a516ca3cfe6a4cb commit 4fa95f2e2113895601954a5c2a516ca3cfe6a4cb Author: Evgeniy Khramtsov <evgeniy@khramtsov.org> AuthorDate: 2021-09-21 13:13:50 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-09-22 16:45:38 +0000 sysutils/pam_xdg: refer to the installed manpage in pkg-message PR: 258663 sysutils/pam_xdg/Makefile | 1 + sysutils/pam_xdg/pkg-message | 2 ++ 2 files changed, 3 insertions(+)
A commit in branch 2021Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=81ad898f6c4491ac29560d8269a4a41781f5b5fe commit 81ad898f6c4491ac29560d8269a4a41781f5b5fe Author: Evgeniy Khramtsov <evgeniy@khramtsov.org> AuthorDate: 2021-09-21 13:13:50 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-09-22 17:02:19 +0000 sysutils/pam_xdg: refer to the installed manpage in pkg-message PR: 258663 (cherry picked from commit 4fa95f2e2113895601954a5c2a516ca3cfe6a4cb) sysutils/pam_xdg/Makefile | 1 + sysutils/pam_xdg/pkg-message | 2 ++ 2 files changed, 3 insertions(+)
Landed after rewording a bit.
Maybe also change "PAM module" to "PAM plugin" (i.e. databases/percona57-pam-for-mysql) in Makefile?
(In reply to Evgeniy Khramtsov from comment #4) - I've dropped "module" in my (landed) version - PAM abbreviation already includes "module" - "PAM plugin" without "the" to pin the context maybe ambigous - What needs to be configured is PAM itself (e.g., session optional pam_xdg.so) and maybe the plugin/module (e.g., notroot runtime)
(In reply to Jan Beich from comment #5) I was referring to "COMMENT= PAM module" in Makefile. Maybe "PAM plugin" can be used in COMMENT instead of "[...]M module". This is out of this PR, but this is too minor to submit a separate PR.
(In reply to Evgeniy Khramtsov from comment #6) COMMENT in Makefile comes from the summary in pam_xdg(8) manpage. Also, pam.conf(5) refers to plugins as modules, and "module" is more common in ports/. $ rg -l 'COMMENT.*PAM.*module' | wc -l 21 $ rg -l 'COMMENT.*PAM.*plugin' | wc -l 2