pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ruby27-base



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Nov  9 12:14:11 UTC 2021

Modified Files:
        pkgsrc/lang/ruby27-base: distinfo
Added Files:
        pkgsrc/lang/ruby27-base/patches: patch-ext_openssl_ossl__pkey__rsa.c

Log Message:
ruby27-base: Support OpenSSL 3.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/ruby27-base/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/ruby27-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.

Modified files:

Index: pkgsrc/lang/ruby27-base/distinfo
diff -u pkgsrc/lang/ruby27-base/distinfo:1.7 pkgsrc/lang/ruby27-base/distinfo:1.8
--- pkgsrc/lang/ruby27-base/distinfo:1.7        Tue Oct 26 10:51:54 2021
+++ pkgsrc/lang/ruby27-base/distinfo    Tue Nov  9 12:14:11 2021
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:51:54 nia Exp $
+$NetBSD: distinfo,v 1.8 2021/11/09 12:14:11 jperkin Exp $
 
 BLAKE2s (ruby-2.7.4.tar.xz) = 5d4aa4e4a67a411a9beddbc849c250ca0d16b4293810fceed0e56f2e10595560
 SHA512 (ruby-2.7.4.tar.xz) = 2cbb70ecfdd69120e789023ddb2b25cab0d03bc33fdc367a8f74ca8a3ee785c18c8ded9de3ecee627c7e275ffb85147e6abf921b6a61e31851b37c7fedf45bf9
 Size (ruby-2.7.4.tar.xz) = 12067588 bytes
 SHA1 (patch-configure) = 5ee800f6824b18efd06e56a659235ea784819f2e
 SHA1 (patch-ext_dbm_extconf.rb) = c998f8735db54b1ae2bc8b6caa359ce88bc7a45b
+SHA1 (patch-ext_openssl_ossl__pkey__rsa.c) = 925fa135abb90b9a1fa16da14b17c0d2b2bec364
 SHA1 (patch-lib_mkmf.rb) = 4a3cd18548dbdf43a13695d4e76f817c0347e335
 SHA1 (patch-lib_rdoc_encoding.rb) = 0e82d2942d9bfcb67dc7c994889d7bc5ec2ae85a
 SHA1 (patch-lib_rdoc_ri_driver.rb) = f4d3e59e35b608acd4edc17916142c7f033e6198

Added files:

Index: pkgsrc/lang/ruby27-base/patches/patch-ext_openssl_ossl__pkey__rsa.c
diff -u /dev/null pkgsrc/lang/ruby27-base/patches/patch-ext_openssl_ossl__pkey__rsa.c:1.1
--- /dev/null   Tue Nov  9 12:14:11 2021
+++ pkgsrc/lang/ruby27-base/patches/patch-ext_openssl_ossl__pkey__rsa.c Tue Nov  9 12:14:11 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-ext_openssl_ossl__pkey__rsa.c,v 1.1 2021/11/09 12:14:11 jperkin Exp $
+
+Support OpenSSL 3.
+
+--- ext/openssl/ossl_pkey_rsa.c.orig   2021-07-07 10:48:22.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);
+ 



Home | Main Index | Thread Index | Old Index