From e5f918c8918b9e77eb54d7958259f55f4bc487ea Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 31 Jan 2022 15:53:35 +0100 Subject: update to 1.44.0RC2 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-noatfork.patch | 10 +++++----- php-pecl-grpc.spec | 9 ++++++--- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/PHPINFO b/PHPINFO index 59e304f..403512f 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.43.0 +grpc module version => 1.44.0RC2 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 69b560d..30ef46e 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #119 grpc version 1.43.0 ] { +Extension [ extension #120 grpc version 1.44.0RC2 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -60,7 +60,7 @@ Extension [ extension #119 grpc version 1.43.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.43.0 } + Constant [ string Grpc\VERSION ] { 1.44.0RC2 } } - Classes [7] { diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index e8e44c4..b7d6ea7 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -1,11 +1,11 @@ -diff -Naurp a/NTS/config.m4 b/NTS/config.m4 ---- a/NTS/config.m4 2020-02-11 10:37:11.093473672 +0000 -+++ b/NTS/config.m4 2020-02-11 10:38:28.551693692 +0000 -@@ -1081,7 +1081,6 @@ if test "$PHP_GRPC" != "no"; then +diff -up ./config.m4.noatfork ./config.m4 +--- ./config.m4.noatfork 2022-01-31 14:03:14.032856870 +0100 ++++ ./config.m4 2022-01-31 14:07:39.424150191 +0100 +@@ -1102,7 +1102,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.43.0RC1\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.44.0RC2\""') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 06e7190..bf87b06 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -20,8 +20,8 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.43.0 -#global upstream_prever RC1 +%global upstream_version 1.44.0 +%global upstream_prever RC2 Summary: General RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} @@ -99,7 +99,7 @@ sed -e 's/role="test"/role="src"/' \ cd NTS %patch0 -p1 -b .rpm %ifarch %{arm} -%patch1 -p2 -b .noatfork +%patch1 -p1 -b .noatfork %endif #sed -e '/PHP_GRPC_VERSION/s/RC3/RC2/' -i src/php/ext/grpc/version.h @@ -229,6 +229,9 @@ cd ../ZTS %changelog +* Mon Jan 31 2022 Remi Collet - 1.44.0~RC2-1 +- update to 1.44.0RC2 + * Fri Jan 7 2022 Remi Collet - 1.43.0-1 - update to 1.43.0 -- cgit