Skip to content

Commit

Permalink
security/lastpass-cli: ensure consistent OpenSSL usage
Browse files Browse the repository at this point in the history
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
  • Loading branch information
neirbowj authored and clausecker committed Oct 19, 2023
1 parent 801cb21 commit 76da322
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions security/lastpass-cli/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 76da322

Please sign in to comment.