Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 18:31:38 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 97b9d2f58f38 - main - security/pkcs11-tools: Broken on 11 with base OpenSSL due to version being too old
Message-ID:  <202104201831.13KIVcCD056048@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97b9d2f58f38dc0be07175b8de4ebb616d4ddacd

commit 97b9d2f58f38dc0be07175b8de4ebb616d4ddacd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-20 18:26:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-20 18:31:36 +0000

    security/pkcs11-tools: Broken on 11 with base OpenSSL due to version being too old
    
    Also add comment about the workaround for missing symbols in /usr/lib/libcrypto.so.
    
    Reported by:    fallout
---
 security/pkcs11-tools/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/security/pkcs11-tools/Makefile b/security/pkcs11-tools/Makefile
index f3b9c8c89813..cc911ba91321 100644
--- a/security/pkcs11-tools/Makefile
+++ b/security/pkcs11-tools/Makefile
@@ -8,7 +8,9 @@ COMMENT=	Tools for managing PKCS11 cryptographic tokens
 
 LICENSE=	APACHE20
 
-BROKEN_SSL=	libressl
+BROKEN_SSL_11=			base
+BROKEN_SSL_11_REASON_base=	OpenSSL version is too old, lacks symbols: error: use of undeclared identifier 'EVP_PKEY_X25519', etc.
+BROKEN_SSL=			libressl
 BROKEN_SSL_REASON_libressl=	error: use of undeclared identifier 'EVP_PKEY_X25519' (LibreSSL has no support for Edwards curves)
 
 BUILD_DEPENDS=	autoconf>0:devel/autoconf \
@@ -28,6 +30,7 @@ GNU_CONFIGURE=	yes
 
 MAKE_ENV=	LIBCRYPTO_RPATH=${OPENSSLBASE}/lib
 
+# workaround for Bug#255277:
 LDFLAGS+=	${OPENSSLBASE}/lib/libcrypto.a # -lcrypto # fails to find symbol in the shared library: ld: error: undefined symbol: EVP_PKEY_meth_get_digestsign
 
 INSTALL_TARGET=	install-strip



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104201831.13KIVcCD056048>