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 <d...@freebsd.org> AuthorDate: 2025-05-31 14:26:50 +0000 Commit: Dag-Erling Smørgrav <d...@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 };