From owner-dev-commits-ports-all@freebsd.org Wed Apr 21 10:58:30 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 4E4ED5E06BD; Wed, 21 Apr 2021 10:58:30 +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 4FQHbV1MqMz3CNV; Wed, 21 Apr 2021 10:58:30 +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 EFDCC24CC5; Wed, 21 Apr 2021 10:58:29 +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 13LAwT8j059583; Wed, 21 Apr 2021 10:58:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13LAwTwM059582; Wed, 21 Apr 2021 10:58:29 GMT (envelope-from git) Date: Wed, 21 Apr 2021 10:58:29 GMT Message-Id: <202104211058.13LAwTwM059582@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Tobias Kortkamp Subject: git: 6fbfa31c0a52 - main - security/pkcs11-tools: Properly set BROKEN on 11.x with OpenSSL 1.0.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tobik X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57 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: Wed, 21 Apr 2021 10:58:30 -0000 The branch main has been updated by tobik: URL: https://cgit.FreeBSD.org/ports/commit/?id=6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57 commit 6fbfa31c0a52e3c89a8382042faf7f0abdbf2e57 Author: Tobias Kortkamp AuthorDate: 2021-04-21 10:10:36 +0000 Commit: Tobias Kortkamp CommitDate: 2021-04-21 10:57:20 +0000 security/pkcs11-tools: Properly set BROKEN on 11.x with OpenSSL 1.0.x Another case of wishful thinking. In reality the framework does not support a BROKEN_SSL_11 at the moment. Reported by: portscan --- security/pkcs11-tools/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/security/pkcs11-tools/Makefile b/security/pkcs11-tools/Makefile index cc911ba91321..64301c8ef3a7 100644 --- a/security/pkcs11-tools/Makefile +++ b/security/pkcs11-tools/Makefile @@ -8,8 +8,6 @@ COMMENT= Tools for managing PKCS11 cryptographic tokens LICENSE= APACHE20 -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) @@ -35,6 +33,12 @@ LDFLAGS+= ${OPENSSLBASE}/lib/libcrypto.a # -lcrypto # fails to find symbol in th INSTALL_TARGET= install-strip +.include + +.if ${SSL_DEFAULT} == base && ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 +BROKEN= OpenSSL version is too old, lacks symbols: error: use of undeclared identifier 'EVP_PKEY_X25519', etc. +.endif + post-extract: @${RMDIR} ${WRKSRC}/.gnulib ${WRKSRC}/include/oasis-pkcs11 @${MV} ${WRKSRC_gnulib} ${WRKSRC}/.gnulib