summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION86
-rw-r--r--grpc-php85.patch12
-rw-r--r--php-pecl-grpc.spec16
4 files changed, 54 insertions, 62 deletions
diff --git a/PHPINFO b/PHPINFO
index f5318ea..e9ee198 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
grpc
grpc support => enabled
-grpc module version => 1.76.0
+grpc module version => 1.78.0RC2
Directive => Local Value => Master Value
grpc.enable_fork_support => 0 => 0
diff --git a/REFLECTION b/REFLECTION
index a1ed6e5..810d45b 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #147 grpc version 1.76.0 ] {
+Extension [ <persistent> extension #147 grpc version 1.78.0RC2 ] {
- INI {
Entry [ grpc.enable_fork_support <SYSTEM> ]
@@ -16,48 +16,48 @@ Extension [ <persistent> extension #147 grpc version 1.76.0 ] {
}
- Constants [42] {
- Constant [ int Grpc\CALL_OK ] { 0 }
- Constant [ int Grpc\CALL_ERROR ] { 1 }
- Constant [ int Grpc\CALL_ERROR_NOT_ON_SERVER ] { 2 }
- Constant [ int Grpc\CALL_ERROR_NOT_ON_CLIENT ] { 3 }
- Constant [ int Grpc\CALL_ERROR_ALREADY_INVOKED ] { 5 }
- Constant [ int Grpc\CALL_ERROR_NOT_INVOKED ] { 6 }
- Constant [ int Grpc\CALL_ERROR_ALREADY_FINISHED ] { 7 }
- Constant [ int Grpc\CALL_ERROR_TOO_MANY_OPERATIONS ] { 8 }
- Constant [ int Grpc\CALL_ERROR_INVALID_FLAGS ] { 9 }
- Constant [ int Grpc\WRITE_BUFFER_HINT ] { 1 }
- Constant [ int Grpc\WRITE_NO_COMPRESS ] { 2 }
- Constant [ int Grpc\STATUS_OK ] { 0 }
- Constant [ int Grpc\STATUS_CANCELLED ] { 1 }
- Constant [ int Grpc\STATUS_UNKNOWN ] { 2 }
- Constant [ int Grpc\STATUS_INVALID_ARGUMENT ] { 3 }
- Constant [ int Grpc\STATUS_DEADLINE_EXCEEDED ] { 4 }
- Constant [ int Grpc\STATUS_NOT_FOUND ] { 5 }
- Constant [ int Grpc\STATUS_ALREADY_EXISTS ] { 6 }
- Constant [ int Grpc\STATUS_PERMISSION_DENIED ] { 7 }
- Constant [ int Grpc\STATUS_UNAUTHENTICATED ] { 16 }
- Constant [ int Grpc\STATUS_RESOURCE_EXHAUSTED ] { 8 }
- Constant [ int Grpc\STATUS_FAILED_PRECONDITION ] { 9 }
- Constant [ int Grpc\STATUS_ABORTED ] { 10 }
- Constant [ int Grpc\STATUS_OUT_OF_RANGE ] { 11 }
- Constant [ int Grpc\STATUS_UNIMPLEMENTED ] { 12 }
- Constant [ int Grpc\STATUS_INTERNAL ] { 13 }
- Constant [ int Grpc\STATUS_UNAVAILABLE ] { 14 }
- Constant [ int Grpc\STATUS_DATA_LOSS ] { 15 }
- Constant [ int Grpc\OP_SEND_INITIAL_METADATA ] { 0 }
- Constant [ int Grpc\OP_SEND_MESSAGE ] { 1 }
- Constant [ int Grpc\OP_SEND_CLOSE_FROM_CLIENT ] { 2 }
- Constant [ int Grpc\OP_SEND_STATUS_FROM_SERVER ] { 3 }
- Constant [ int Grpc\OP_RECV_INITIAL_METADATA ] { 4 }
- Constant [ int Grpc\OP_RECV_MESSAGE ] { 5 }
- Constant [ int Grpc\OP_RECV_STATUS_ON_CLIENT ] { 6 }
- Constant [ int Grpc\OP_RECV_CLOSE_ON_SERVER ] { 7 }
- Constant [ int Grpc\CHANNEL_IDLE ] { 0 }
- Constant [ int Grpc\CHANNEL_CONNECTING ] { 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.76.0 }
+ Constant [ <persistent> int Grpc\CALL_OK ] { 0 }
+ Constant [ <persistent> int Grpc\CALL_ERROR ] { 1 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_NOT_ON_SERVER ] { 2 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_NOT_ON_CLIENT ] { 3 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_ALREADY_INVOKED ] { 5 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_NOT_INVOKED ] { 6 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_ALREADY_FINISHED ] { 7 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_TOO_MANY_OPERATIONS ] { 8 }
+ Constant [ <persistent> int Grpc\CALL_ERROR_INVALID_FLAGS ] { 9 }
+ Constant [ <persistent> int Grpc\WRITE_BUFFER_HINT ] { 1 }
+ Constant [ <persistent> int Grpc\WRITE_NO_COMPRESS ] { 2 }
+ Constant [ <persistent> int Grpc\STATUS_OK ] { 0 }
+ Constant [ <persistent> int Grpc\STATUS_CANCELLED ] { 1 }
+ Constant [ <persistent> int Grpc\STATUS_UNKNOWN ] { 2 }
+ Constant [ <persistent> int Grpc\STATUS_INVALID_ARGUMENT ] { 3 }
+ Constant [ <persistent> int Grpc\STATUS_DEADLINE_EXCEEDED ] { 4 }
+ Constant [ <persistent> int Grpc\STATUS_NOT_FOUND ] { 5 }
+ Constant [ <persistent> int Grpc\STATUS_ALREADY_EXISTS ] { 6 }
+ Constant [ <persistent> int Grpc\STATUS_PERMISSION_DENIED ] { 7 }
+ Constant [ <persistent> int Grpc\STATUS_UNAUTHENTICATED ] { 16 }
+ Constant [ <persistent> int Grpc\STATUS_RESOURCE_EXHAUSTED ] { 8 }
+ Constant [ <persistent> int Grpc\STATUS_FAILED_PRECONDITION ] { 9 }
+ Constant [ <persistent> int Grpc\STATUS_ABORTED ] { 10 }
+ Constant [ <persistent> int Grpc\STATUS_OUT_OF_RANGE ] { 11 }
+ Constant [ <persistent> int Grpc\STATUS_UNIMPLEMENTED ] { 12 }
+ Constant [ <persistent> int Grpc\STATUS_INTERNAL ] { 13 }
+ Constant [ <persistent> int Grpc\STATUS_UNAVAILABLE ] { 14 }
+ Constant [ <persistent> int Grpc\STATUS_DATA_LOSS ] { 15 }
+ Constant [ <persistent> int Grpc\OP_SEND_INITIAL_METADATA ] { 0 }
+ Constant [ <persistent> int Grpc\OP_SEND_MESSAGE ] { 1 }
+ Constant [ <persistent> int Grpc\OP_SEND_CLOSE_FROM_CLIENT ] { 2 }
+ Constant [ <persistent> int Grpc\OP_SEND_STATUS_FROM_SERVER ] { 3 }
+ Constant [ <persistent> int Grpc\OP_RECV_INITIAL_METADATA ] { 4 }
+ Constant [ <persistent> int Grpc\OP_RECV_MESSAGE ] { 5 }
+ Constant [ <persistent> int Grpc\OP_RECV_STATUS_ON_CLIENT ] { 6 }
+ Constant [ <persistent> int Grpc\OP_RECV_CLOSE_ON_SERVER ] { 7 }
+ Constant [ <persistent> int Grpc\CHANNEL_IDLE ] { 0 }
+ Constant [ <persistent> int Grpc\CHANNEL_CONNECTING ] { 1 }
+ Constant [ <persistent> int Grpc\CHANNEL_READY ] { 2 }
+ Constant [ <persistent> int Grpc\CHANNEL_TRANSIENT_FAILURE ] { 3 }
+ Constant [ <persistent> int Grpc\CHANNEL_FATAL_FAILURE ] { 4 }
+ Constant [ <persistent> string Grpc\VERSION ] { 1.78.0RC2 }
}
- Classes [7] {
diff --git a/grpc-php85.patch b/grpc-php85.patch
deleted file mode 100644
index a21f9a2..0000000
--- a/grpc-php85.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ./src/php/ext/grpc/call.c.php85 ./src/php/ext/grpc/call.c
---- ./src/php/ext/grpc/call.c.php85 2025-07-17 10:28:12.598376396 +0200
-+++ ./src/php/ext/grpc/call.c 2025-07-17 10:28:45.097057429 +0200
-@@ -84,7 +84,7 @@ zval *grpc_parse_metadata_array(grpc_met
- if (php_grpc_zend_hash_find(array_hash, str_key, key_len, (void **)&data)
- == SUCCESS) {
- if (Z_TYPE_P(data) != IS_ARRAY) {
-- zend_throw_exception(zend_exception_get_default(TSRMLS_C),
-+ zend_throw_exception(zend_ce_exception,
- "Metadata hash somehow contains wrong types.",
- 1 TSRMLS_CC);
- efree(str_key);
diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec
index 539962f..916864c 100644
--- a/php-pecl-grpc.spec
+++ b/php-pecl-grpc.spec
@@ -1,6 +1,6 @@
# remirepo spec file for php-pecl-grpc
#
-# SPDX-FileCopyrightText: Copyright 2017-2025 Remi Collet
+# SPDX-FileCopyrightText: Copyright 2017-2026 Remi Collet
# SPDX-License-Identifier: CECILL-2.1
# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
@@ -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.76.0
-#global upstream_prever RC1
+%global upstream_version 1.78.0
+%global upstream_prever RC2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
# Disable LTO (erratic crash during build)
@@ -32,7 +32,7 @@
Summary: General RPC framework
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 1%{?dist}
License: Apache-2.0
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
@@ -40,7 +40,6 @@ Source0: https://pecl.php.net/get/%{sources}.tgz
Patch0: %{pecl_name}-build.patch
Patch2: %{pecl_name}-workaround.patch
Patch3: %{pecl_name}-openssl.patch
-Patch4: %{pecl_name}-php85.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc >= 7.0
@@ -90,7 +89,6 @@ cd %{sources}
sed -e '/boringssl-with-bazel/d' -i config.m4
rm -r third_party/boringssl-with-bazel
%endif
-%patch -P4 -p1 -b .php85
#sed -e '/PHP_GRPC_VERSION/s/RC3/RC2/' -i src/php/ext/grpc/version.h
# Sanity check, really often broken
@@ -201,6 +199,12 @@ cd ../ZTS
%changelog
+* Mon Jan 19 2026 Remi Collet <remi@remirepo.net> - 1.78.0~RC2-1
+- update to 1.78.0RC2
+
+* Tue Jan 6 2026 Remi Collet <remi@remirepo.net> - 1.78.0~RC1-1
+- update to 1.78.0RC1
+
* Fri Oct 24 2025 Remi Collet <remi@remirepo.net> - 1.76.0-1
- update to 1.76.0