pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/php73



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Sep 28 14:32:21 UTC 2021

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

Log Message:
php73: Support OpenSSL 3.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/lang/php73/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/php73/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/php73/distinfo
diff -u pkgsrc/lang/php73/distinfo:1.36 pkgsrc/lang/php73/distinfo:1.37
--- pkgsrc/lang/php73/distinfo:1.36     Thu Sep 23 14:11:48 2021
+++ pkgsrc/lang/php73/distinfo  Tue Sep 28 14:32:20 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2021/09/23 14:11:48 taca Exp $
+$NetBSD: distinfo,v 1.37 2021/09/28 14:32:20 jperkin Exp $
 
 SHA1 (php-7.3.31.tar.xz) = ab51270c59e0b7b71d832c783118808cd318ed11
 RMD160 (php-7.3.31.tar.xz) = c6742d9b6675d1dbbc5a89eab3686f20313f5a6c
@@ -13,6 +13,7 @@ SHA1 (patch-ext_intl_dateformat_dateform
 SHA1 (patch-ext_intl_normalizer_normalizer__normalize.c) = 10a215438db81c9f1f002f9409ebd56de6d65617
 SHA1 (patch-ext_intl_timezone_timezone__class.cpp) = da8e7a227c04f366aa9aab08c5042826baa965fe
 SHA1 (patch-ext_intl_timezone_timezone__methods.cpp) = 48dc73ca68df2454549bb81de6da6753bbb097bc
+SHA1 (patch-ext_openssl_openssl.c) = 1556ef20cb0d4e93985f213e9e9ab58ef0bd1a7c
 SHA1 (patch-ext_phar_Makefile.frag) = 53ea5c58b0bc27d236118d5750a74b1cba43e5dd
 SHA1 (patch-ext_recode_recode.c) = 639bf762302c7a30c88d3f3fa862494e0f847bdb
 SHA1 (patch-ext_tidy_config.m4) = 380f4e8927582b2781faf58b17ad81b6dc967ba7

Added files:

Index: pkgsrc/lang/php73/patches/patch-ext_openssl_openssl.c
diff -u /dev/null pkgsrc/lang/php73/patches/patch-ext_openssl_openssl.c:1.1
--- /dev/null   Tue Sep 28 14:32:21 2021
+++ pkgsrc/lang/php73/patches/patch-ext_openssl_openssl.c       Tue Sep 28 14:32:20 2021
@@ -0,0 +1,16 @@
+$NetBSD: patch-ext_openssl_openssl.c,v 1.1 2021/09/28 14:32:20 jperkin Exp $
+
+Support OpenSSL 3.
+
+--- ext/openssl/openssl.c.orig 2021-08-24 10:03:20.000000000 +0000
++++ ext/openssl/openssl.c
+@@ -1488,7 +1488,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