From nobody Mon Jun 9 10:58:48 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bG86w6gHWz5xxGv; Mon, 09 Jun 2025 10:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bG86w60TDz4HjL; Mon, 09 Jun 2025 10:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749466728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zjlopx9N4QaFcaYFd+eQjWluYKpdqlXB1Q8mgIoCFpY=; b=U1YFNiB5u/nGHiOCo5sNDX6kujgKH2BOE0auALHG2NpEObPoUajwRBg0NWouLUNWZiLlso zTZ544edcaKO052o1vpCd4P1897Ffijowy7Mq8JC/NVDqz52iaJCsR3S8Z6n3X1JlUApKT G9H7x50Fiqo/80UHhamf/AWW+uNZ+FFnPGyAyVdcJh/WgIt8TqEe5DVRWRxBpE1Nhh1qim eONLFYDz9jIRj01rZPq6BXW17mC6hZCpdg3/heNhAsOjyePwHscjMhZ2o+OlXI0pWbxm61 QH7wusM1zcPLxiOenUXzeNS/83bPF1YfASUKQ57VdUHMgx0VfOmKUt3V0dRRbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749466728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Zjlopx9N4QaFcaYFd+eQjWluYKpdqlXB1Q8mgIoCFpY=; b=cFLDIa7WpFnm+i4qraMH91cWMiCWIePjFPBFU/0n+YFhjSC4ZV8Iny4iw39+gq8jho+aRB Ebf2YWRPi2ovOhr3rb8tBByuht7sZkZiJzyaogLcP/oXNsxV0x2X/Q6AZxGBc7WojuhBl/ PaezS+gC6mbdwSNnz4N3cCC70VaEjxJ1dCLDsYNvtqmst8HsDeNNjGwsac3ErAD87dB11F /4nIigTYfxLqLxFJmIu3nQvwuSrgG0IT7dPZYL2enjgV4LIhz44fVQ06wdZTjtEzoyC4o+ v/eZK5iFObT2HkX9WLhPn2hW0rzDVUHVCUxR/IS8bsq0wpexGzDCMDHJY6wTeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749466728; a=rsa-sha256; cv=none; b=buJ0RWmfbOudxSUKnSCE8I6azkS9SCCNTwx9ZQsI3P+qCFqX1lnbuk3ZSH51HMKSVKLluU Z5U2RlGf4/XNIBM9K/PI50SUKC1lmAnjvSi+5/chTY5Aa36VhB30PMqkdcLunO6+RkuM6C T3lD7a09KJfSN4KRL2Rbid3CSjquSVLmyLSTNdo82SglkT9E58RogoU+QPU+kqraG5BVGa Ywk8RfSqy8lKXWhk7K0gs3Ygrbun9GUa5xjWCn6K14WJ/ESDBY2+AMXWHVpGWEUmmnSL9F dl9rXxUrmbQLiva4KKejoi8BL8YOvxZaMYs3cQVkPBec4mpgdKlc0bh6pVoW/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bG86w5FBYzt0q; Mon, 09 Jun 2025 10:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 559AwmvZ044912; Mon, 9 Jun 2025 10:58:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 559AwmxS044909; Mon, 9 Jun 2025 10:58:48 GMT (envelope-from git) Date: Mon, 9 Jun 2025 10:58:48 GMT Message-Id: <202506091058.559AwmxS044909@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 65808459e21b - stable/14 - libpam: Additional module directory. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 65808459e21b92c38daee8160c736dd305ff82b7 Auto-Submitted: auto-generated 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 AuthorDate: 2025-05-31 14:26:50 +0000 Commit: Dag-Erling Smørgrav 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 };