From: Marcin Krol Date: Tue, 13 Jan 2026 20:14:22 +0000 (+0100) Subject: - updated to 8.3.23, drop openssl.patch, fix php-fpm man page link X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=a476e6a645a45fad8db14c0573a80e3830cbe0c0;p=packages%2Fphp.git - updated to 8.3.23, drop openssl.patch, fix php-fpm man page link --- diff --git a/openssl.patch b/openssl.patch deleted file mode 100644 index f6748f1..0000000 --- a/openssl.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c -index 5564bf6f08..423f696c76 100644 ---- a/ext/openssl/xp_ssl.c -+++ b/ext/openssl/xp_ssl.c -@@ -1349,6 +1349,10 @@ static int php_openssl_set_server_specif - zval *zv; - long ssl_ctx_options = SSL_CTX_get_options(ctx); - -+#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF -+ ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF; -+#endif -+ - #if defined(HAVE_ECDH) && PHP_OPENSSL_API_VERSION < 0x10100 - if (php_openssl_set_server_ecdh_curve(stream, ctx) == FAILURE) { - return FAILURE; -@@ -1686,6 +1690,10 @@ int php_openssl_setup_crypto(php_stream - method = sslsock->is_client ? SSLv23_client_method() : SSLv23_server_method(); - sslsock->ctx = SSL_CTX_new(method); - -+#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF -+ ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF; -+#endif -+ - if (sslsock->ctx == NULL) { - php_error_docref(NULL, E_WARNING, "SSL context creation failure"); - return FAILURE; diff --git a/php.spec b/php.spec index 2250527..1ca9e4c 100644 --- a/php.spec +++ b/php.spec @@ -124,7 +124,7 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} -Version: 8.3.28 +Version: 8.3.29 Release: 1 Epoch: 4 # All files licensed under PHP version 3.01, except @@ -133,7 +133,7 @@ Epoch: 4 License: PHP 3.01 and Zend and BSD Group: Libraries Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz -# Source0-md5: bdb0bb5b8c6da8dfb0268c3e237277b9 +# Source0-md5: 667392d6c9b7962414704a1a7b7d1a1d Source1: opcache.ini Source2: %{orgname}-mod_php.conf Source3: %{orgname}-cgi-fcgi.ini @@ -148,8 +148,6 @@ Patch0: %{orgname}-shared.patch Patch1: %{orgname}-tld.patch Patch3: %{orgname}-link-libs.patch Patch4: intl-stdc++.patch -# https://bugs.php.net/bug.php?id=79589 -Patch5: openssl.patch Patch7: %{orgname}-sapi-ini-file.patch Patch10: %{orgname}-ini.patch Patch11: embed.patch @@ -1789,8 +1787,6 @@ cp -p php.ini-production php.ini %patch -P1 -p1 %patch -P3 -p1 %patch -P4 -p1 -%patch -P5 -p1 - %patch -P7 -p1 %patch -P10 -p1 %patch -P14 -p1 @@ -2497,7 +2493,7 @@ fi %service %{name}-fpm restart update-alternatives \ --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{php_suffix}-fpm %{php_suffix} \ - --slave %{_mandir}/man8/php-fpm.8.gz php-fpm.8.gz %{_mandir}/man8/php-fpm%{php_suffix}.8.gz || : + --slave %{_mandir}/man8/php-fpm.8.gz php-fpm.8.gz %{_mandir}/man8/php%{php_suffix}-fpm.8.gz || : %preun fpm if [ "$1" = "0" ]; then