Date: Mon, 9 Jun 2025 10:58:48 GMT From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= <des@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 65808459e21b - stable/14 - libpam: Additional module directory. Message-ID: <202506091058.559AwmxS044909@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=65808459e21b92c38daee8160c736dd305ff82b7 commit 65808459e21b92c38daee8160c736dd305ff82b7 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2025-05-31 14:26:50 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2025-06-09 10:58:39 +0000 libpam: Additional module directory. Many if not most ports that install PAM modules install them into ${LOCALBASE}/lib/security instead of just ${LOCALBASE}/lib, because all the world is Linux. Rather than try to fix the ports, add that directory to the search path. MFC after: 1 week Relnotes: yes Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D50626 (cherry picked from commit bb625fc2ac801d0a06ef0edab37a9bdaf209f008) --- contrib/openpam/lib/libpam/openpam_constants.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/openpam/lib/libpam/openpam_constants.c b/contrib/openpam/lib/libpam/openpam_constants.c index ba92b49b6865..241b9f8fe171 100644 --- a/contrib/openpam/lib/libpam/openpam_constants.c +++ b/contrib/openpam/lib/libpam/openpam_constants.c @@ -178,9 +178,11 @@ const char *openpam_module_path[] = { #elif defined(COMPAT_libcompat) "/usr/lib" COMPAT_libcompat, "/usr/local/lib" COMPAT_libcompat, + "/usr/local/lib" COMPAT_libcompat "/security", #else "/usr/lib", "/usr/local/lib", + "/usr/local/lib/security", #endif NULL };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506091058.559AwmxS044909>