From 6ab6413538253355daca4ace2b43dafe59d4bcec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Jul 2024 10:44:58 +0200 Subject: update to 1.65.2 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-noatfork.patch | 2 +- php-pecl-grpc.spec | 9 +++++++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/PHPINFO b/PHPINFO index 4af5348..ac565b1 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.65.1 +grpc module version => 1.65.2 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 06ee923..8408bd9 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #109 grpc version 1.65.1 ] { +Extension [ extension #110 grpc version 1.65.2 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -57,7 +57,7 @@ Extension [ extension #109 grpc version 1.65.1 ] { 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.65.1 } + Constant [ string Grpc\VERSION ] { 1.65.2 } } - Classes [7] { diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index e3bacd6..26bb656 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -7,5 +7,5 @@ diff -up ./config.m4.noatfork ./config.m4 -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.65.1\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.65.2\""') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 2399500..4fdfad5 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -15,15 +15,17 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.65.1 +%global upstream_version 1.65.2 #global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure +# Disable LTO (erratic crash during build) +%define _lto_cflags %{nil} Summary: General RPC framework Name: %{?scl_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: Apache-2.0 URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{sources}.tgz @@ -179,6 +181,9 @@ cd ../ZTS %changelog +* Mon Jul 29 2024 Remi Collet - 1.65.2-1 +- update to 1.65.2 + * Wed Jul 17 2024 Remi Collet - 1.65.1-2 - better fix for https://github.com/grpc/grpc/issues/37178 from https://github.com/abseil/abseil-cpp/pull/1718 -- cgit