From nobody Fri Jun 3 23:41:29 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BF0421B558D1; Fri, 3 Jun 2022 23:41:31 +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 4LFKCZ414Pz3J1J; Fri, 3 Jun 2022 23:41:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654299690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Np5WiINmyLGQz+5GiJlExBSp6WxaC+yqxuo4IT8czE4=; b=yOnNd+ia506vX7HD6ac6CWsEA5NdZzXfkFAnnZsJlcDqXugtKm+hGQJJ8QMo6Cbd4Uu2GP M5JIafjH8+nOk+d1kG0vMDp0JZc6uiJnevpfTW6ycga/L7DN2aAgZNuK40YEcklkWdWhDF 9AGT/J45/y3mYTFpMFodvq2aAt2AexV38XnxE7qijLKRblyrns6L2dJrlSv7ilsWXJS7c4 ukeo5zqZh03lfE4tmBoll9n0foulL1pSXE4KTeOz+Vd4mRe2+Wf6cGeJImBEouuaglV8OV 9UxbaT7vhLPbsgUQ1nBzFBqgpM3COMu0cs/XmN7a6xfpDzmj6d3USNuX+0xdzw== 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 189F71319D; Fri, 3 Jun 2022 23:41:30 +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 253NfUvv090394; Fri, 3 Jun 2022 23:41:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 253NfTXM090393; Fri, 3 Jun 2022 23:41:29 GMT (envelope-from git) Date: Fri, 3 Jun 2022 23:41:29 GMT Message-Id: <202206032341.253NfTXM090393@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 2d5a6c79aef7 - main - lang/ruby30: Fix build with LibreSSL 3.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d5a6c79aef7d9af240ca2a509006688c7e7878d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654299690; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Np5WiINmyLGQz+5GiJlExBSp6WxaC+yqxuo4IT8czE4=; b=SBcDXmA/V5Qps1fu0vXffWcy3N94YJbAnqNYfZNWTSOQ6XYbPRmAMJaCOrylU/LAQjteLZ +VNq7Pm/DyD4COFpaeVp1QFVz9D/j3OkTCy7as/SyaEcN8DeY1Vka1Vg2L5SLgas3z92yV j8QYHIc9xWx07sZFxFQGodT6edw38FsKb+EBqC5sbhiynu1vv4bEZbn50VYDxDl3Dwcv4M YaQ7sV9UvYB1nVU7+aG7jEeHGwZzVdWYFGhJR+IdRxNBa9wvb7fWi2vuWdAGPSvowGtHKM qkrdZnwY5cUU0oB9Us924rfauBeqkOHXn8j6lyaB+o3feC1jcCTYiqTpSR7apw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654299690; a=rsa-sha256; cv=none; b=JztboDeFqz8+omWywZxqUuPUSJjJ/MiQMoH4acX9eyUg9qg2HsjIQ/6Qf2U0L8N3Tn465n 6SNIs7MXZFRA4l9PorgURr4hhn2JPEkZfNhEW4QDN1B3QP7ZqDaGyo2ZNC3CWqy/qGBifm 6HwTVIuCIMNbQwDUH+SaFelXhyD9YIiPR2yNSrsCp2z4tS976+WQQuMRxIf+jD0KzDUR+y uVZkeW7/sZjZHkDx2+xUlU0jN+lsN9Enw1unBO2Cfy1hjtZaAMQ34Zu9wUEKBcTAk19dfe gc7L0VYjNcj34bt+wbgouWQK+LFagQNu2XVw918B9J2on49cXEUm3XIJpWLgXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d5a6c79aef7d9af240ca2a509006688c7e7878d commit 2d5a6c79aef7d9af240ca2a509006688c7e7878d Author: Bernard Spil AuthorDate: 2022-06-03 23:24:28 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-06-03 23:36:59 +0000 lang/ruby30: Fix build with LibreSSL 3.5 PR: 264003 --- lang/ruby30/files/patch-libressl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lang/ruby30/files/patch-libressl b/lang/ruby30/files/patch-libressl new file mode 100644 index 000000000000..df9a9b8ee04f --- /dev/null +++ b/lang/ruby30/files/patch-libressl @@ -0,0 +1,11 @@ +--- ext/openssl/ossl_ocsp.c.orig 2022-04-12 11:48:55 UTC ++++ ext/openssl/ossl_ocsp.c +@@ -1093,7 +1093,7 @@ ossl_ocspbres_verify(int argc, VALUE *argv, VALUE self + * exists in LibreSSL 2.1.10, 2.2.9, 2.3.6, 2.4.1. + */ + if (!(flg & (OCSP_NOCHAIN | OCSP_NOVERIFY)) && +- sk_X509_num(x509s) && sk_X509_num(bs->certs)) { ++ sk_X509_num(x509s) && sk_X509_num(OCSP_resp_get0_certs(bs))) { + int i; + + bs = ASN1_item_dup(ASN1_ITEM_rptr(OCSP_BASICRESP), bs);