diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-05-31 14:26:50 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2025-06-09 10:58:39 +0000 |
| commit | 65808459e21b92c38daee8160c736dd305ff82b7 (patch) | |
| tree | e748f2e98eee081cc5f7f31e9e89c6188294ce6b | |
| parent | 7c05f298cdcc53fa60a2fa85b24713bf7b095d62 (diff) | |
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)
| -rw-r--r-- | contrib/openpam/lib/libpam/openpam_constants.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 }; |
