From owner-dev-commits-ports-all@freebsd.org Tue Apr 20 18:31:38 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9B645E2EC2; Tue, 20 Apr 2021 18:31:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPshp6KSWz3Kds; Tue, 20 Apr 2021 18:31:38 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 CB9EF17CAE; Tue, 20 Apr 2021 18:31:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13KIVcXF056049; Tue, 20 Apr 2021 18:31:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13KIVcCD056048; Tue, 20 Apr 2021 18:31:38 GMT (envelope-from git) Date: Tue, 20 Apr 2021 18:31:38 GMT Message-Id: <202104201831.13KIVcCD056048@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 97b9d2f58f38 - main - security/pkcs11-tools: Broken on 11 with base OpenSSL due to version being too old MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 97b9d2f58f38dc0be07175b8de4ebb616d4ddacd Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 18:31:39 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=97b9d2f58f38dc0be07175b8de4ebb616d4ddacd commit 97b9d2f58f38dc0be07175b8de4ebb616d4ddacd Author: Yuri Victorovich AuthorDate: 2021-04-20 18:26:59 +0000 Commit: Yuri Victorovich 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