From f22060ce52125a85cc9cf3286b3670f9f5349ca8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Mar 2020 09:02:04 +0100 Subject: Update to 1.28.0RC1 --- PHPINFO | 2 +- REFLECTION | 2 +- grpc-noatfork.patch | 4 ++-- php-pecl-grpc.spec | 9 ++++++--- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/PHPINFO b/PHPINFO index a32a102..42d44ae 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.27.0 +grpc module version => 1.28.0RC1 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 2d6f0a6..ab192ac 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #109 grpc version 1.27.0 ] { +Extension [ extension #111 grpc version 1.28.0RC1 ] { - INI { Entry [ grpc.enable_fork_support ] diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index c3ca4ef..64e390b 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -1,12 +1,12 @@ 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 -@@ -763,7 +763,7 @@ if test "$PHP_GRPC" != "no"; then +@@ -795,7 +795,7 @@ 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) + ) - PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl) PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/census) + PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/client_channel) diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 4206cf9..6dde0d8 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -24,13 +24,13 @@ %else %global ini_name 40-%{pecl_name}.ini %endif -%global upstream_version 1.27.0 -#global upstream_prever RC2 +%global upstream_version 1.28.0 +%global upstream_prever RC1 Summary: General RPC framework Name: %{?sub_prefix}php-pecl-%{pecl_name} Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz @@ -230,6 +230,9 @@ cd ../ZTS %changelog +* Mon Mar 2 2020 Remi Collet - 1.28.0~RC1-1 +- Update to 1.28.0RC1 + * Tue Feb 11 2020 Pablo Greco - 1.27.0-2 - Update armhfp patch -- cgit