Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 428311A9239 for ; Tue, 9 Nov 2021 12:13:05 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 8250D84ED2; Tue, 9 Nov 2021 12:13:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BAA2A84D0D for ; Tue, 9 Nov 2021 12:13:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 3Z4GAyzVihmb for ; Tue, 9 Nov 2021 12:13:03 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 37A9584CE7 for ; Tue, 9 Nov 2021 12:13:03 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 314C8FAEC; Tue, 9 Nov 2021 12:13:03 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1636459983269180" MIME-Version: 1.0 Date: Tue, 9 Nov 2021 12:13:03 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/lang/ruby26-base To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20211109121303.314C8FAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1636459983269180 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Tue Nov 9 12:13:03 UTC 2021 Modified Files: pkgsrc/lang/ruby26-base: distinfo Added Files: pkgsrc/lang/ruby26-base/patches: patch-ext_openssl_ossl__pkey__rsa.c Log Message: ruby26-base: Support OpenSSL 3. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/ruby26-base/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/lang/ruby26-base/patches/patch-ext_openssl_ossl__pkey__rsa.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1636459983269180 Content-Disposition: inline Content-Length: 1994 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/ruby26-base/distinfo diff -u pkgsrc/lang/ruby26-base/distinfo:1.13 pkgsrc/lang/ruby26-base/distinfo:1.14 --- pkgsrc/lang/ruby26-base/distinfo:1.13 Tue Oct 26 10:51:54 2021 +++ pkgsrc/lang/ruby26-base/distinfo Tue Nov 9 12:13:02 2021 @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.13 2021/10/26 10:51:54 nia Exp $ +$NetBSD: distinfo,v 1.14 2021/11/09 12:13:02 jperkin Exp $ BLAKE2s (ruby-2.6.8.tar.xz) = b18e88618ba10d1f53894bea68bae833e842597a62114e3e2bc0fb20b56c62f3 SHA512 (ruby-2.6.8.tar.xz) = d040ad2238523587d8f356fcb796b8b6ad7f8caff7dd6df09e3f7efcbfa0369e33600e78c7f2bc713ae77c040757cce5c4fec223cb9070209f2bf741899c556d Size (ruby-2.6.8.tar.xz) = 11599488 bytes SHA1 (patch-configure) = ccfad7b5e35e87308e187e6c5fb3ffea57ad763d SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b +SHA1 (patch-ext_openssl_ossl__pkey__rsa.c) = 707ab908b6d72e386230b3530700ce861a3754db SHA1 (patch-lib_mkmf.rb) = 75d2261a8282a00cd5f811a5e629302d1667207e SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198 Added files: Index: pkgsrc/lang/ruby26-base/patches/patch-ext_openssl_ossl__pkey__rsa.c diff -u /dev/null pkgsrc/lang/ruby26-base/patches/patch-ext_openssl_ossl__pkey__rsa.c:1.1 --- /dev/null Tue Nov 9 12:13:03 2021 +++ pkgsrc/lang/ruby26-base/patches/patch-ext_openssl_ossl__pkey__rsa.c Tue Nov 9 12:13:03 2021 @@ -0,0 +1,16 @@ +$NetBSD: patch-ext_openssl_ossl__pkey__rsa.c,v 1.1 2021/11/09 12:13:03 jperkin Exp $ + +Support OpenSSL 3. + +--- ext/openssl/ossl_pkey_rsa.c.orig 2021-07-07 10:38:58.000000000 +0000 ++++ ext/openssl/ossl_pkey_rsa.c +@@ -939,7 +939,9 @@ Init_ossl_rsa(void) + rb_define_method(cRSA, "params", ossl_rsa_get_params, 0); + + DefRSAConst(PKCS1_PADDING); ++#ifdef SSLV23_PADDING + DefRSAConst(SSLV23_PADDING); ++#endif + DefRSAConst(NO_PADDING); + DefRSAConst(PKCS1_OAEP_PADDING); + --_----------=_1636459983269180--