pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/php56 php56: Support OpenSSL 3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/22f7279049e6
branches: trunk
changeset: 459023:22f7279049e6
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Tue Sep 28 14:39:49 2021 +0000
description:
php56: Support OpenSSL 3.
diffstat:
lang/php56/distinfo | 3 ++-
lang/php56/patches/patch-ext_openssl_openssl.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (37 lines):
diff -r 32e66f6e4e44 -r 22f7279049e6 lang/php56/distinfo
--- a/lang/php56/distinfo Tue Sep 28 14:32:20 2021 +0000
+++ b/lang/php56/distinfo Tue Sep 28 14:39:49 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.57 2020/11/16 12:10:05 ryoon Exp $
+$NetBSD: distinfo,v 1.58 2021/09/28 14:39:49 jperkin Exp $
SHA1 (PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch) = 980b9f3f2e62a7360904b5b2107a4213bd052caa
RMD160 (PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch) = 4eeb1cc0364da69920c3d101a2f1a882550721a7
@@ -25,6 +25,7 @@
SHA1 (patch-ext_intl_timezone_timezone__class.cpp) = b76ba1df02e854b9fae27c4c3dd554fba91aadfa
SHA1 (patch-ext_intl_timezone_timezone__methods.cpp) = fc3a99380f1c29553621cb864493d6d79b4d737a
SHA1 (patch-ext_mssql_php__mssql.c) = c4fa9231dc539ffb027f1beb6f182f21ddb94a3c
+SHA1 (patch-ext_openssl_openssl.c) = 4f232bbad8a32e0cb5457f788bc3da4c58072f41
SHA1 (patch-ext_pcre_pcrelib_config.h) = 26588e9932ee715e32c872a1c7e2f9c640bd9cf8
SHA1 (patch-ext_pdo__mysql_config.m4) = 9d25c673fc151e1b8ae137f2a0fc540189ef5398
SHA1 (patch-ext_pdo_config.m4) = f6deef3ac631769baa587dd7c27e55bd2e9ca6a5
diff -r 32e66f6e4e44 -r 22f7279049e6 lang/php56/patches/patch-ext_openssl_openssl.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/php56/patches/patch-ext_openssl_openssl.c Tue Sep 28 14:39:49 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ext_openssl_openssl.c,v 1.1 2021/09/28 14:39:49 jperkin Exp $
+
+Support OpenSSL 3.
+
+--- ext/openssl/openssl.c.orig 2021-09-28 14:35:16.023438887 +0000
++++ ext/openssl/openssl.c
+@@ -1337,7 +1337,9 @@ PHP_MINIT_FUNCTION(openssl)
+ REGISTER_LONG_CONSTANT("PKCS7_NOSIGS", PKCS7_NOSIGS, CONST_CS|CONST_PERSISTENT);
+
+ REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_PADDING", RSA_PKCS1_PADDING, CONST_CS|CONST_PERSISTENT);
++#if OPENSSL_VERSION_NUMBER < 0x03000000L
+ REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT);
++#endif
+ REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING", RSA_NO_PADDING, CONST_CS|CONST_PERSISTENT);
+ REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_OAEP_PADDING", RSA_PKCS1_OAEP_PADDING, CONST_CS|CONST_PERSISTENT);
+
Home |
Main Index |
Thread Index |
Old Index