git: 76da32258025 - main - security/lastpass-cli: ensure consistent OpenSSL usage
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Oct 2023 07:08:17 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=76da322580253a6aaad9c9ec0fdc6a5427242865
commit 76da322580253a6aaad9c9ec0fdc6a5427242865
Author: John W. O'Brien <john@saltant.com>
AuthorDate: 2023-10-16 05:33:26 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-19 07:07:27 +0000
security/lastpass-cli: ensure consistent OpenSSL usage
The recent change, switching security/openssl from 1.1.1w to 3.0.11
uncovered a latent bug in security/lastpass-cli, which always uses
OpenSSL from base regardless of the ssl setting in DEFAULT_VERSIONS.
With DEFAULT_VERSIONS+=ssl=openssl, the configure phase reports
"Installing openssl-3.0.11,1" and subsequently
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1t")
This patch fixes the bug and ensures the same OpenSSL version is used
throughout.
PR: 274507
MFH: 2023Q4
---
security/lastpass-cli/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/security/lastpass-cli/Makefile b/security/lastpass-cli/Makefile
index 211483000b59..2bc298d54abf 100644
--- a/security/lastpass-cli/Makefile
+++ b/security/lastpass-cli/Makefile
@@ -41,6 +41,8 @@ PINENTRY_RUN_DEPENDS= pinentry:security/pinentry
XCLIP_RUN_DEPENDS= xclip:x11/xclip
XSEL_RUN_DEPENDS= xsel:x11/xsel-conrad
+CMAKE_ARGS+= -DOPENSSL_ROOT_DIR=${OPENSSLBASE}
+
post-extract:
@${REINPLACE_CMD} -e 's/-Wno-language-extension-token//g' \
${WRKSRC}/CMakeLists.txt