+++ /dev/null
-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;
Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере
Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
-Version: 8.2.29
+Version: 8.2.30
Release: 1
Epoch: 4
# All files licensed under PHP version 3.01, except
License: PHP 3.01 and Zend and BSD
Group: Libraries
Source0: https://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: a3eea6306dc68b115b42b4ae8c9d0396
+# Source0-md5: d5de0732629633b2713cce81d9e327c1
Source1: opcache.ini
Source2: %{orgname}-mod_php.conf
Source3: %{orgname}-cgi-fcgi.ini
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
%patch -P1 -p1
%patch -P3 -p1
%patch -P4 -p1
-%patch -P5 -p1
-
%patch -P7 -p1
%patch -P10 -p1
%patch -P14 -p1
%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