]> TLD Linux GIT Repositories - packages/php.git/commitdiff
- updated to 8.1.34, drop openssl.patch, fix php-fpm man page link
authorMarcin Krol <hawk@tld-linux.org>
Tue, 13 Jan 2026 20:26:29 +0000 (21:26 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 13 Jan 2026 20:26:29 +0000 (21:26 +0100)
openssl.patch [deleted file]
php.spec

diff --git a/openssl.patch b/openssl.patch
deleted file mode 100644 (file)
index 1256370..0000000
+++ /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
-@@ -1286,6 +1286,10 @@ static int php_openssl_set_server_specific_opts(php_stream *stream, SSL_CTX *ctx
-       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;
-@@ -1628,6 +1632,10 @@ int php_openssl_setup_crypto(php_stream *stream,
-       ssl_ctx_options = SSL_OP_ALL;
- #endif
-+#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;
index 1679428da9a8d21018eca27527378b9ddd06b8c1..4a76753bfdce4d2a69a7d80fee3dbc82e5dc9157 100644 (file)
--- 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.1.33
+Version:       8.1.34
 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: 36cd5b20659667cbddd171c6238dd64b
+# Source0-md5: 73c7f2a56f76bbaa4510b413a8468d8e
 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
@@ -1791,8 +1789,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
@@ -2499,7 +2495,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