diff options
-rw-r--r-- | PHPINFO | 2 | ||||
-rw-r--r-- | REFLECTION | 4 | ||||
-rw-r--r-- | grpc-build.patch | 4 | ||||
-rw-r--r-- | grpc-noatfork.patch | 4 | ||||
-rw-r--r-- | php-pecl-grpc.spec | 26 |
5 files changed, 28 insertions, 12 deletions
@@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.67.0 +grpc module version => 1.70.0 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #125 grpc version 1.67.0 ] { +Extension [ <persistent> extension #131 grpc version 1.70.0 ] { - INI { Entry [ grpc.enable_fork_support <SYSTEM> ] @@ -57,7 +57,7 @@ Extension [ <persistent> extension #125 grpc version 1.67.0 ] { Constant [ int Grpc\CHANNEL_READY ] { 2 } Constant [ int Grpc\CHANNEL_TRANSIENT_FAILURE ] { 3 } Constant [ int Grpc\CHANNEL_FATAL_FAILURE ] { 4 } - Constant [ string Grpc\VERSION ] { 1.67.0 } + Constant [ string Grpc\VERSION ] { 1.70.0 } } - Classes [7] { diff --git a/grpc-build.patch b/grpc-build.patch index 6674ffe..c332626 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -6,9 +6,9 @@ diff -up ./config.m4.rpm ./config.m4 LIBS="-lpthread $LIBS" - CFLAGS="-std=c11 -g -O2" -- CXXFLAGS="-std=c++14 -fno-exceptions -fno-rtti -g -O2" +- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2" + CFLAGS="$CFLAGS -std=c11" -+ CXXFLAGS="$CXXFLAGS -std=c++14 -fno-exceptions -fno-rtti" ++ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index a0e27f9..6739a75 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -1,11 +1,11 @@ diff -up ./config.m4.noatfork ./config.m4 --- ./config.m4.noatfork 2022-07-07 07:30:58.524647576 +0200 +++ ./config.m4 2022-07-07 07:32:01.490513120 +0200 -@@ -1379,7 +1379,6 @@ if test "$PHP_GRPC" != "no"; then +@@ -1408,7 +1408,6 @@ if test "$PHP_GRPC" != "no"; then , $ext_shared, , -fvisibility=hidden \ -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \ -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \ - -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 \ -DGRPC_XDS_USER_AGENT_NAME_SUFFIX='"\"PHP\""' \ - -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.67.0\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.70.0\""') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 7af2422..ff3a9e0 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -1,8 +1,8 @@ # remirepo spec file for php-pecl-grpc # -# Copyright (c) 2017-2024 Remi Collet -# License: CC-BY-SA-4.0 -# http://creativecommons.org/licenses/by-sa/4.0/ +# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet +# SPDX-License-Identifier: CECILL-2.1 +# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt # # Please, preserve the changelog entries # @@ -22,8 +22,8 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.67.0 -#global upstream_prever RC5 +%global upstream_version 1.70.0 +#global upstream_prever RC1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure # Disable LTO (erratic crash during build) @@ -203,6 +203,22 @@ cd ../ZTS %changelog +* Fri Jan 31 2025 Remi Collet <remi@remirepo.net> - 1.70.0-1 +- update to 1.70.0 + +* Thu Jan 16 2025 Remi Collet <remi@remirepo.net> - 1.70.0~RC1-1 +- update to 1.70.0RC1 + +* Tue Jan 7 2025 Remi Collet <remi@remirepo.net> - 1.69.0-1 +- update to 1.69.0 + +* Tue Dec 17 2024 Remi Collet <remi@remirepo.net> - 1.69.0~RC1-1 +- update to 1.69.0RC1 +- re-license spec file to CECILL-2.1 + +* Tue Nov 19 2024 Remi Collet <remi@remirepo.net> - 1.68.0-1 +- update to 1.68.0 + * Thu Oct 17 2024 Remi Collet <remi@remirepo.net> - 1.67.0-1 - update to 1.67.0 |