pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/php56



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep 28 14:39:49 UTC 2021

Modified Files:
        pkgsrc/lang/php56: distinfo
Added Files:
        pkgsrc/lang/php56/patches: patch-ext_openssl_openssl.c

Log Message:
php56: Support OpenSSL 3.


To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 pkgsrc/lang/php56/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php56/patches/patch-ext_openssl_openssl.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/php56/distinfo
diff -u pkgsrc/lang/php56/distinfo:1.57 pkgsrc/lang/php56/distinfo:1.58
--- pkgsrc/lang/php56/distinfo:1.57     Mon Nov 16 12:10:05 2020
+++ pkgsrc/lang/php56/distinfo  Tue Sep 28 14:39:49 2021
@@ -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_normalizer_normaliz
 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

Added files:

Index: pkgsrc/lang/php56/patches/patch-ext_openssl_openssl.c
diff -u /dev/null pkgsrc/lang/php56/patches/patch-ext_openssl_openssl.c:1.1
--- /dev/null   Tue Sep 28 14:39:49 2021
+++ pkgsrc/lang/php56/patches/patch-ext_openssl_openssl.c       Tue Sep 28 14:39:49 2021
@@ -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