summaryrefslogtreecommitdiff
path: root/net/grpc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-10-06 10:58:30 +0000
committeradam <adam@pkgsrc.org>2021-10-06 10:58:30 +0000
commit610c348ca2ecbbd387e0522c00cad7a128d39227 (patch)
treea878f2eaa330ea3d00efe20b69d83085e8675b41 /net/grpc
parentf22f4ee9001d1edc72c94f28ff755d113d515bb6 (diff)
downloadpkgsrc-610c348ca2ecbbd387e0522c00cad7a128d39227.tar.gz
grpc py-grpcio py-grpcio-testing py-grpcio-tools: updated to 1.41.0
Release v1.41.0 This release contains refinements, improvements, and bug fixes, with highlights listed below. Core De-experimentalize XdsCredentials and XdsServerCredentials API. xDS: Remove environmental variable guard for security. xDS Security: Use new way to fetch certificate provider plugin instance config. xDS server serving status: Use a struct to allow more fields to be added in the future. Annotate impl/codegen with IWYU pragmas. Update submodule envoy-api to origin/main. Upgrade third_party/protobuf to v3.17.3. update submodule boringssl-with-bazel with origin/master-with-bazel. Delete libuv-iomgr implementation and GRPC_UV build option. Allow access to Google API regional endpoints via Google Default Credentials. Remove GPR_*_TLS macros except PTHREAD. Limit initial window size increases and per-stream window delta. C++ Bump version to v1.41.0-pre1. De-experimentalize XdsServerBuilder. C++ opencensus filter: Fix point of creating context for overall call. Flag grpc++_test library testonly. Add note on officially supported platforms. Open census call attempt span name and attribute changes Open census call attempt span name and attribute changes. C# Backport 27382 to v1.41.x. [csharp] Fix error loading library grpc_csharp_ext.*.dll on windows with non-ASCII encoding. Annotate copied Content native lib items with package id to enable customization. Objective-C Objective-C: Fix issue with creating a Unix file socket. Python Use manylinux_2_17 instead of manylinux_2_24 tag for manylinux2014 aarch64 wheels. Add Python 3.10 drop 3.5. [Aio] Remove custom IO manager support.
Diffstat (limited to 'net/grpc')
-rw-r--r--net/grpc/Makefile7
-rw-r--r--net/grpc/PLIST36
-rw-r--r--net/grpc/distinfo16
-rw-r--r--net/grpc/patches/patch-CMakeLists.txt4
-rw-r--r--net/grpc/patches/patch-include_grpc_event__engine_port.h8
-rw-r--r--net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc10
6 files changed, 42 insertions, 39 deletions
diff --git a/net/grpc/Makefile b/net/grpc/Makefile
index e929e60773d..87991f823d2 100644
--- a/net/grpc/Makefile
+++ b/net/grpc/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.46 2021/09/15 11:23:13 adam Exp $
+# $NetBSD: Makefile,v 1.47 2021/10/06 10:58:30 adam Exp $
-DISTNAME= grpc-1.40.0
+DISTNAME= grpc-1.41.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -14,6 +14,9 @@ USE_CMAKE= yes
USE_LANGUAGES+= c c++11
USE_TOOLS+= pkg-config
+# For Darwin
+#MAKE_ENV+= DYLD_LIBRARY_PATH=${PREFIX}/lib
+
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
# use cmake's find_package() to locate a pre-installed dependency
CMAKE_ARGS+= -DgRPC_ABSL_PROVIDER=package
diff --git a/net/grpc/PLIST b/net/grpc/PLIST
index 6de341a9589..6663ec8c4e7 100644
--- a/net/grpc/PLIST
+++ b/net/grpc/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2021/09/15 11:23:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.29 2021/10/06 10:58:30 adam Exp $
bin/grpc_cpp_plugin
bin/grpc_csharp_plugin
bin/grpc_node_plugin
@@ -265,41 +265,41 @@ 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.18
-lib/libaddress_sorting.so.18.0.0
+lib/libaddress_sorting.so.19
+lib/libaddress_sorting.so.19.0.0
lib/libgpr.so
-lib/libgpr.so.18
-lib/libgpr.so.18.0.0
+lib/libgpr.so.19
+lib/libgpr.so.19.0.0
lib/libgrpc++.so
lib/libgrpc++.so.${PKGVERSION}
-lib/libgrpc++.so.1.40
+lib/libgrpc++.so.1.41
lib/libgrpc++_alts.so
lib/libgrpc++_alts.so.${PKGVERSION}
-lib/libgrpc++_alts.so.1.40
+lib/libgrpc++_alts.so.1.41
lib/libgrpc++_error_details.so
lib/libgrpc++_error_details.so.${PKGVERSION}
-lib/libgrpc++_error_details.so.1.40
+lib/libgrpc++_error_details.so.1.41
lib/libgrpc++_reflection.so
lib/libgrpc++_reflection.so.${PKGVERSION}
-lib/libgrpc++_reflection.so.1.40
+lib/libgrpc++_reflection.so.1.41
lib/libgrpc++_unsecure.so
lib/libgrpc++_unsecure.so.${PKGVERSION}
-lib/libgrpc++_unsecure.so.1.40
+lib/libgrpc++_unsecure.so.1.41
lib/libgrpc.so
-lib/libgrpc.so.18
-lib/libgrpc.so.18.0.0
+lib/libgrpc.so.19
+lib/libgrpc.so.19.0.0
lib/libgrpc_plugin_support.so
lib/libgrpc_plugin_support.so.${PKGVERSION}
-lib/libgrpc_plugin_support.so.1.40
+lib/libgrpc_plugin_support.so.1.41
lib/libgrpc_unsecure.so
-lib/libgrpc_unsecure.so.18
-lib/libgrpc_unsecure.so.18.0.0
+lib/libgrpc_unsecure.so.19
+lib/libgrpc_unsecure.so.19.0.0
lib/libgrpcpp_channelz.so
lib/libgrpcpp_channelz.so.${PKGVERSION}
-lib/libgrpcpp_channelz.so.1.40
+lib/libgrpcpp_channelz.so.1.41
lib/libupb.so
-lib/libupb.so.18
-lib/libupb.so.18.0.0
+lib/libupb.so.19
+lib/libupb.so.19.0.0
lib/pkgconfig/gpr.pc
lib/pkgconfig/grpc++.pc
lib/pkgconfig/grpc++_unsecure.pc
diff --git a/net/grpc/distinfo b/net/grpc/distinfo
index c4c47950bc1..e47e11be9f0 100644
--- a/net/grpc/distinfo
+++ b/net/grpc/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.46 2021/09/15 11:23:13 adam Exp $
+$NetBSD: distinfo,v 1.47 2021/10/06 10:58:30 adam Exp $
-SHA1 (grpc-1.40.0.tar.gz) = 372be0a8ab589bf3ddadf893f7565b819fe80e33
-RMD160 (grpc-1.40.0.tar.gz) = b470e74625f1321ee4c4ef1a03cac7edf6ab4fbf
-SHA512 (grpc-1.40.0.tar.gz) = b509f1a60dddc83912bf87418acd400f6c9dc6c285ea688a3de58aacf66d462b4f99c1bd91a5b0ca4e2092bd7cd91103b9192c69d5fe34a4d14ca9aaa6d1b13a
-Size (grpc-1.40.0.tar.gz) = 8339742 bytes
-SHA1 (patch-CMakeLists.txt) = af17a03bdbb2b7905ced111b3c13c80b0cf3fec2
-SHA1 (patch-include_grpc_event__engine_port.h) = 4f2e59111ad430bd4d501400a25871409266f66d
+SHA1 (grpc-1.41.0.tar.gz) = fa8da59b2944dc28c64d1ec831ae236c3cdcbd2e
+RMD160 (grpc-1.41.0.tar.gz) = 97584f3bf8276c236fc04b7bf80b82bbee2a7e25
+SHA512 (grpc-1.41.0.tar.gz) = bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
+Size (grpc-1.41.0.tar.gz) = 8347643 bytes
+SHA1 (patch-CMakeLists.txt) = d32a78bb8fdc28c0946aa2d62a5c810211692e62
+SHA1 (patch-include_grpc_event__engine_port.h) = eb54a66374611fd63ffb21f60b043d3854b3c807
SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = 77137590f488d81ee731d82148b6e982f29b7aad
-SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 3b250e94b20c64c80c1b3943da2c82031e084773
+SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 0aa7fcadae98d1dd5229f0a695cffc1e9c1e8164
SHA1 (patch-src_core_lib_iomgr_port.h) = e3c5e6ee071557c717df0a1a61597f9906fbeff5
diff --git a/net/grpc/patches/patch-CMakeLists.txt b/net/grpc/patches/patch-CMakeLists.txt
index c166a65e2f4..ab9f9d7ffc9 100644
--- a/net/grpc/patches/patch-CMakeLists.txt
+++ b/net/grpc/patches/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
-$NetBSD: patch-CMakeLists.txt,v 1.10 2020/03/15 22:27:52 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.11 2021/10/06 10:58:30 adam Exp $
--- CMakeLists.txt.orig 2020-02-04 17:04:33.000000000 +0000
+++ CMakeLists.txt
@@ -7,7 +7,7 @@ $NetBSD: patch-CMakeLists.txt,v 1.10 2020/03/15 22:27:52 adam Exp $
"${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc"
"${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h"
- COMMAND ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE}
-+ COMMAND env LD_LIBRARY_PATH=${CMAKE_BINARY_DIR} ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE}
++ COMMAND env LD_LIBRARY_PATH=${CMAKE_BINARY_DIR} DYLD_LIBRARY_PATH=${CMAKE_BINARY_DIR} ${_gRPC_PROTOBUF_PROTOC_EXECUTABLE}
ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR}
--cpp_out=${_gRPC_PROTO_GENS_DIR}
--plugin=protoc-gen-grpc=${_gRPC_CPP_PLUGIN}
diff --git a/net/grpc/patches/patch-include_grpc_event__engine_port.h b/net/grpc/patches/patch-include_grpc_event__engine_port.h
index a6380a15984..3607b138358 100644
--- a/net/grpc/patches/patch-include_grpc_event__engine_port.h
+++ b/net/grpc/patches/patch-include_grpc_event__engine_port.h
@@ -1,11 +1,11 @@
-$NetBSD: patch-include_grpc_event__engine_port.h,v 1.3 2021/07/27 15:47:18 adam Exp $
+$NetBSD: patch-include_grpc_event__engine_port.h,v 1.4 2021/10/06 10:58:30 adam Exp $
Support NetBSD.
---- include/grpc/event_engine/port.h.orig 2021-07-27 15:11:38.000000000 +0000
+--- include/grpc/event_engine/port.h.orig 2021-09-25 02:33:41.000000000 +0000
+++ include/grpc/event_engine/port.h
-@@ -22,7 +22,7 @@
- #elif defined(GPR_ANDROID) || defined(GPR_LINUX) || defined(GPR_APPLE) || \
+@@ -20,7 +20,7 @@
+ #if defined(GPR_ANDROID) || defined(GPR_LINUX) || defined(GPR_APPLE) || \
defined(GPR_FREEBSD) || defined(GPR_OPENBSD) || defined(GPR_SOLARIS) || \
defined(GPR_AIX) || defined(GPR_NACL) || defined(GPR_FUCHSIA) || \
- defined(GRPC_POSIX_SOCKET)
diff --git a/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc b/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
index cf627de6202..1ee706fa037 100644
--- a/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
+++ b/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
@@ -1,11 +1,11 @@
-$NetBSD: patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc,v 1.3 2020/08/07 06:45:57 adam Exp $
+$NetBSD: patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc,v 1.4 2021/10/06 10:58:30 adam Exp $
Add SunOS support.
---- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.orig 2020-08-04 20:02:23.000000000 +0000
+--- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.orig 2021-09-25 02:33:41.000000000 +0000
+++ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
-@@ -23,6 +23,11 @@
- #include <ares.h>
+@@ -22,6 +22,11 @@
+
#include <string.h>
#include <sys/ioctl.h>
+#ifdef __sun
@@ -14,5 +14,5 @@ Add SunOS support.
+#include <stropts.h>
+#endif
- #include "absl/strings/str_cat.h"
+ #include <ares.h>