git: b1a61c790e99 - main - devel/grpc: Update to 1.47.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 16:35:19 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1a61c790e9957e7d09899d824f3706d2bbc7b71

commit b1a61c790e9957e7d09899d824f3706d2bbc7b71
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-29 16:27:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-29 16:32:34 +0000

    devel/grpc: Update to 1.47.0
    
    - Bump PORTREVISION of dependent ports for shlib change
    
    Changes:        https://github.com/grpc/grpc/releases
---
 biology/ncbi-blast+/Makefile         |  2 +-
 databases/arrow/Makefile             |  2 +-
 devel/bear/Makefile                  |  2 +-
 devel/google-cloud-cpp/Makefile      |  2 +-
 devel/google-cloud-cpp117/Makefile   |  2 +-
 devel/grpc/Makefile                  |  9 +++++++--
 devel/grpc/distinfo                  | 10 +++++++---
 devel/grpc/files/extra-patch-openssl |  8 ++++----
 devel/grpc/pkg-plist                 | 23 +++++++++++++----------
 net/rubygem-grpc/Makefile            |  1 +
 sysutils/apache-mesos/Makefile       |  2 +-
 11 files changed, 38 insertions(+), 25 deletions(-)

diff --git a/biology/ncbi-blast+/Makefile b/biology/ncbi-blast+/Makefile
index f0b270047fcd..784c75cd3ec9 100644
--- a/biology/ncbi-blast+/Makefile
+++ b/biology/ncbi-blast+/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ncbi-blast+
 DISTVERSION=	2.12.0
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	biology perl5 python
 MASTER_SITES=	https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ \
 		https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${PORTVERSION}/
diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile
index c448940e2415..2e179788b0d8 100644
--- a/databases/arrow/Makefile
+++ b/databases/arrow/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	arrow
 DISTVERSION=	8.0.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	databases
 MASTER_SITES=	APACHE/${PORTNAME}/${PORTNAME}-${DISTVERSION} \
 		https://github.com/apache/orc/archive/rel/:orc
diff --git a/devel/bear/Makefile b/devel/bear/Makefile
index 2c2191419639..fefe0b400924 100644
--- a/devel/bear/Makefile
+++ b/devel/bear/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	bear
 DISTVERSION=	3.0.19
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 
 MAINTAINER=	jrm@FreeBSD.org
diff --git a/devel/google-cloud-cpp/Makefile b/devel/google-cloud-cpp/Makefile
index 1e4dab7b04db..ffbbcfea81f1 100644
--- a/devel/google-cloud-cpp/Makefile
+++ b/devel/google-cloud-cpp/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	google-cloud-cpp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.21.0
-PORTREVISION=	13
+PORTREVISION=	14
 CATEGORIES=	devel
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
diff --git a/devel/google-cloud-cpp117/Makefile b/devel/google-cloud-cpp117/Makefile
index a900f3c38617..84854b1c2bc0 100644
--- a/devel/google-cloud-cpp117/Makefile
+++ b/devel/google-cloud-cpp117/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	google-cloud-cpp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.17.0
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	devel
 PKGNAMESUFFIX=	117
 DIST_SUBDIR=	${PORTNAME}
diff --git a/devel/grpc/Makefile b/devel/grpc/Makefile
index 5dcaa758019c..e0bf0ff68783 100644
--- a/devel/grpc/Makefile
+++ b/devel/grpc/Makefile
@@ -1,7 +1,7 @@
 # Created by: vanilla@
 
 PORTNAME=	grpc
-PORTVERSION=	1.46.3
+PORTVERSION=	1.47.0
 DISTVERSIONPREFIX=	v
 PORTEPOCH=	2
 CATEGORIES=	devel
@@ -22,6 +22,8 @@ LIB_DEPENDS=	libabsl_base.so:devel/abseil \
 USES=		cmake compiler:c++17-lang cpe localbase:ldflags pkgconfig ssl
 
 USE_GITHUB=	yes
+GH_TUPLE=	census-instrumentation:opencensus-proto:v0.3.0:census_instrumentation_opencensus_proto/third_party/opencensus-proto/src \
+		cncf:xds:cb28da3:cncf_xds/third_party/xds
 
 CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17 \
 		-DgRPC_ABSL_PROVIDER=package \
@@ -32,7 +34,10 @@ CMAKE_ARGS=	-DCMAKE_CXX_STANDARD=17 \
 		-DgRPC_RE2_PROVIDER=package \
 		-DgRPC_SSL_PROVIDER=package \
 		-DgRPC_ZLIB_PROVIDER=package
-CMAKE_ON=	BUILD_SHARED_LIBS
+CMAKE_OFF=	gRPC_BACKWARDS_COMPATIBILITY_MODE gRPC_BUILD_TESTS
+CMAKE_ON=	BUILD_SHARED_LIBS gRPC_BUILD_CODEGEN gRPC_BUILD_CSHARP_EXT gRPC_BUILD_GRPC_CPP_PLUGIN gRPC_BUILD_GRPC_CSHARP_PLUGIN gRPC_BUILD_GRPC_NODE_PLUGIN gRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN gRPC_BUILD_GRPC_PHP_PLUGIN gRPC_BUILD_GRPC_PYTHON_PLUGIN gRPC_BUILD_GRPC_RUBY_PLUGIN
+USE_CSTD=	c11
+USE_CXXSTD=	c++17
 USE_LDCONFIG=	yes
 
 PLIST_SUB=	SHLIB_MAJOR=${PORTVERSION:R} \
diff --git a/devel/grpc/distinfo b/devel/grpc/distinfo
index 07f7f8fcac87..7e161b13ea6c 100644
--- a/devel/grpc/distinfo
+++ b/devel/grpc/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1653925884
-SHA256 (grpc-grpc-v1.46.3_GH0.tar.gz) = d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964
-SIZE (grpc-grpc-v1.46.3_GH0.tar.gz) = 8910711
+TIMESTAMP = 1656096239
+SHA256 (grpc-grpc-v1.47.0_GH0.tar.gz) = 271bdc890bf329a8de5b65819f0f9590a5381402429bca37625b63546ed19e54
+SIZE (grpc-grpc-v1.47.0_GH0.tar.gz) = 8197682
+SHA256 (census-instrumentation-opencensus-proto-v0.3.0_GH0.tar.gz) = b7e13f0b4259e80c3070b583c2f39e53153085a6918718b1c710caf7037572b0
+SIZE (census-instrumentation-opencensus-proto-v0.3.0_GH0.tar.gz) = 163404
+SHA256 (cncf-xds-cb28da3_GH0.tar.gz) = 5725d45ffef722e0e23c48fa409f6390b0c4bf7ec53654e3393396111cb0d191
+SIZE (cncf-xds-cb28da3_GH0.tar.gz) = 79215
diff --git a/devel/grpc/files/extra-patch-openssl b/devel/grpc/files/extra-patch-openssl
index 298ef59e8f56..877d40826694 100644
--- a/devel/grpc/files/extra-patch-openssl
+++ b/devel/grpc/files/extra-patch-openssl
@@ -1,11 +1,11 @@
---- CMakeLists.txt.orig	2022-02-11 09:57:14 UTC
+--- CMakeLists.txt.orig	2022-06-21 20:39:47 UTC
 +++ CMakeLists.txt
-@@ -17254,7 +17254,7 @@ generate_pkgconfig(
+@@ -19864,7 +19864,7 @@ generate_pkgconfig(
    "gRPC"
    "high performance general RPC framework"
    "${gRPC_CORE_VERSION}"
--  "gpr openssl absl_base absl_bind_front absl_cord absl_core_headers absl_flat_hash_map absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_utility absl_variant"
-+  "gpr absl_base absl_bind_front absl_cord absl_core_headers absl_flat_hash_map absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_utility absl_variant"
+-  "gpr openssl absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flat_hash_map absl_flat_hash_set absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant"
++  "gpr absl_base absl_bind_front absl_cleanup absl_cord absl_core_headers absl_flat_hash_map absl_flat_hash_set absl_hash absl_inlined_vector absl_memory absl_optional absl_random_random absl_span absl_status absl_statusor absl_str_format absl_strings absl_synchronization absl_time absl_type_traits absl_utility absl_variant"
    "-lgrpc -laddress_sorting -lre2 -lupb -lcares -lz"
    ""
    "grpc.pc")
diff --git a/devel/grpc/pkg-plist b/devel/grpc/pkg-plist
index cc9dcb2c3852..18bf4ab91594 100644
--- a/devel/grpc/pkg-plist
+++ b/devel/grpc/pkg-plist
@@ -94,6 +94,8 @@ include/grpc/event_engine/internal/memory_allocator_impl.h
 include/grpc/event_engine/memory_allocator.h
 include/grpc/event_engine/memory_request.h
 include/grpc/event_engine/port.h
+include/grpc/event_engine/slice.h
+include/grpc/event_engine/slice_buffer.h
 include/grpc/fork.h
 include/grpc/grpc.h
 include/grpc/grpc_posix.h
@@ -152,6 +154,7 @@ include/grpcpp/completion_queue.h
 include/grpcpp/create_channel.h
 include/grpcpp/create_channel_binder.h
 include/grpcpp/create_channel_posix.h
+include/grpcpp/ext/call_metric_recorder.h
 include/grpcpp/ext/channelz_service_plugin.h
 include/grpcpp/ext/health_check_service_server_builder_option.h
 include/grpcpp/ext/proto_server_reflection_plugin.h
@@ -270,11 +273,11 @@ lib/cmake/grpc/gRPCTargets.cmake
 lib/cmake/grpc/modules/Findc-ares.cmake
 lib/cmake/grpc/modules/Findre2.cmake
 lib/libaddress_sorting.so
-lib/libaddress_sorting.so.24
-lib/libaddress_sorting.so.24.0.0
+lib/libaddress_sorting.so.25
+lib/libaddress_sorting.so.25.0.0
 lib/libgpr.so
-lib/libgpr.so.24
-lib/libgpr.so.24.0.0
+lib/libgpr.so.25
+lib/libgpr.so.25.0.0
 lib/libgrpc++.so
 lib/libgrpc++.so.%%SHLIB_MAJOR%%
 lib/libgrpc++.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
@@ -291,20 +294,20 @@ lib/libgrpc++_unsecure.so
 lib/libgrpc++_unsecure.so.%%SHLIB_MAJOR%%
 lib/libgrpc++_unsecure.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
 lib/libgrpc.so
-lib/libgrpc.so.24
-lib/libgrpc.so.24.0.0
+lib/libgrpc.so.25
+lib/libgrpc.so.25.0.0
 lib/libgrpc_plugin_support.so
 lib/libgrpc_plugin_support.so.%%SHLIB_MAJOR%%
 lib/libgrpc_plugin_support.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
 lib/libgrpc_unsecure.so
-lib/libgrpc_unsecure.so.24
-lib/libgrpc_unsecure.so.24.0.0
+lib/libgrpc_unsecure.so.25
+lib/libgrpc_unsecure.so.25.0.0
 lib/libgrpcpp_channelz.so
 lib/libgrpcpp_channelz.so.%%SHLIB_MAJOR%%
 lib/libgrpcpp_channelz.so.%%SHLIB_MAJOR%%.%%SHLIB_MINOR%%
 lib/libupb.so
-lib/libupb.so.24
-lib/libupb.so.24.0.0
+lib/libupb.so.25
+lib/libupb.so.25.0.0
 libdata/pkgconfig/gpr.pc
 libdata/pkgconfig/grpc++.pc
 libdata/pkgconfig/grpc++_unsecure.pc
diff --git a/net/rubygem-grpc/Makefile b/net/rubygem-grpc/Makefile
index 0944652626b0..8e8ce91440d0 100644
--- a/net/rubygem-grpc/Makefile
+++ b/net/rubygem-grpc/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	grpc
 PORTVERSION=	1.46.3
+PORTREVISION=	1
 CATEGORIES=	net rubygems
 MASTER_SITES=	RG
 
diff --git a/sysutils/apache-mesos/Makefile b/sysutils/apache-mesos/Makefile
index aa1863ca157e..529b69878b3e 100644
--- a/sysutils/apache-mesos/Makefile
+++ b/sysutils/apache-mesos/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mesos
 PORTVERSION=	1.11.0
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	sysutils
 MASTER_SITES=	APACHE/mesos/${PORTVERSION}:mesos
 PKGNAMEPREFIX=	apache-