From 54e5caa2ee0fe8215e2caef9ccaba4211b679d58 Mon Sep 17 00:00:00 2001 From: sthen Date: Wed, 11 Feb 2026 11:27:56 +0000 Subject: [PATCH] update to php-8.5.3 --- lang/php/8.5/Makefile | 4 ++-- lang/php/8.5/distinfo | 4 ++-- .../8.5/patches/patch-ext_openssl_openssl_backend_common_c | 6 +++++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lang/php/8.5/Makefile b/lang/php/8.5/Makefile index 920e3ccefb9..08d5bd05f7e 100644 --- a/lang/php/8.5/Makefile +++ b/lang/php/8.5/Makefile @@ -1,5 +1,5 @@ -PHP_VERSION= 8.5.2 -AUTOCONF_VERSION= 2.71 +PHP_VERSION= 8.5.3 +AUTOCONF_VERSION= 2.72 # override PORTROACH from ../Makefile.inc; no marker wanted for the highest # branch, to allow finding new branches diff --git a/lang/php/8.5/distinfo b/lang/php/8.5/distinfo index 94b6e2f140e..6350bf1076c 100644 --- a/lang/php/8.5/distinfo +++ b/lang/php/8.5/distinfo @@ -1,2 +1,2 @@ -SHA256 (php-8.5.2.tar.xz) = y3WpsAooBvc5DdZIWO9CpHtEOzR1dpyK9q8zoYsTgfE= -SIZE (php-8.5.2.tar.xz) = 14331112 +SHA256 (php-8.5.3.tar.xz) = zmVyW4rwc1a2mmBG0hSHBAsR8qz954beOLK/txLDbrk= +SIZE (php-8.5.3.tar.xz) = 14333456 diff --git a/lang/php/8.5/patches/patch-ext_openssl_openssl_backend_common_c b/lang/php/8.5/patches/patch-ext_openssl_openssl_backend_common_c index ed4a8c31d3c..775c0192aa7 100644 --- a/lang/php/8.5/patches/patch-ext_openssl_openssl_backend_common_c +++ b/lang/php/8.5/patches/patch-ext_openssl_openssl_backend_common_c @@ -1,7 +1,11 @@ +This check doesn't make sense for EC keys. (Also it ignores the default +key size compiled into libcrypto, only looks at default_bits in openssl.cnf +and any settings in the php file, which results in bogus failures). + Index: ext/openssl/openssl_backend_common.c --- ext/openssl/openssl_backend_common.c.orig +++ ext/openssl/openssl_backend_common.c -@@ -1433,7 +1433,7 @@ static const char *php_openssl_get_evp_pkey_name(int k +@@ -1436,7 +1436,7 @@ static const char *php_openssl_get_evp_pkey_name(int k EVP_PKEY *php_openssl_generate_private_key(struct php_x509_request * req) {