pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/grpc grpc: updated to 1.19.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53ca804afb4b
branches:  trunk
changeset: 331663:53ca804afb4b
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Mar 22 08:25:51 2019 +0000

description:
grpc: updated to 1.19.1

Release v1.19.1
Core
Backport 18201 to fix "symbol not found: _ares_library_init" error in C++ Bazel build on MacOS.

Python
Backport "Add the missing grpc_cfstream dependency" to v1.19.x.


Release v1.19.0
Core
Fix c-ares on Windows "DNS resolution failure" triggered by logging.
Disable c-ares on Android.
Ignore reserved bit in WINDOW_UPDATE frame.
Set c-ares as the default resolver.
Add period at end of metadata.google.internal to prevent unnecessary DNS lookups.
Decrease verbosity of ALTS platform check to avoid a spam log message.
Fix windows localhost address sorting bug.
Re-enable c-ares as the default resolver; but don't turn on SRV queries.
Remove filters from subchannel args.

C++
Register for cq avalanching when interceptors are going to be run.
Add a caching interceptor to the keyvaluestore example.
Enable per-channel subchannel pool.
Fix build with bazel 0.21.
Switch the default DNS resolver from native to c-ares.
Modifying semantics for GetSendMessage and GetSerializedSendMessage. Also adding ModifySendMessage.
Add interceptor methods to fail recv msg for hijacked rpcs and set recv message to nullptr on failure.
Add interceptor method to fail hijacked send messages and get status on POST_SEND_MESSAGE.
New Experimental Interception API - GetSendMessage and GetSerializedSendMessage.

C#
Upgrade System.Interactive.Async to 3.2.0.
Refactor ServerServiceDefinition and move it to Grpc.Core.Api nuget.
Allow passing null implementation to generated BindService overload using ServiceBinderBase.
Move public types needed for server implementation to Grpc.Core.Api.

Objective-C
Disable c-ares on iOS.
Added support for tvOS.
Fixing a few thread safety issues in gRPC Objective-C library.
Rolling out new API for gRPC Objective-C library.

Python
grpc_prefork(): check grpc_is_initialized before creating execctx.
[gRPC] Enable Python 3 for Bazel to Run Tests.
Escalate the failure of protoc execution.
Remove dependency of grpc.framework.foundation.callable_util.

Ruby
Disable service config resolution with c-ares by default, for now.
Ruby: refactor init/shutdown logic to avoid using atexit; fix windows.
Ruby tooling: respect user toolchain overrides.

diffstat:

 net/grpc/Makefile                                                                                                 |  10 +-
 net/grpc/PLIST                                                                                                    |  46 +++++++--
 net/grpc/distinfo                                                                                                 |  15 +-
 net/grpc/patches/patch-CMakeLists.txt                                                                             |  48 +++++----
 net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc |   8 +-
 net/grpc/patches/patch-src_core_lib_gpr_arena.cc                                                                  |  15 ---
 6 files changed, 75 insertions(+), 67 deletions(-)

diffs (truncated from 367 to 300 lines):

diff -r fbcf8f2da96a -r 53ca804afb4b net/grpc/Makefile
--- a/net/grpc/Makefile Fri Mar 22 08:23:04 2019 +0000
+++ b/net/grpc/Makefile Fri Mar 22 08:25:51 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/08/04 21:25:58 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2019/03/22 08:25:51 adam Exp $
 
-DISTNAME=      grpc-1.13.1
+DISTNAME=      grpc-1.19.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -22,12 +22,6 @@
 CMAKE_ARGS+=   -DgRPC_SSL_PROVIDER=package
 CMAKE_ARGS+=   -DgRPC_ZLIB_PROVIDER=package
 
-SUBST_CLASSES+=                        fix-include
-SUBST_STAGE.fix-include=       pre-configure
-SUBST_MESSAGE.fix-include=     Fixing include paths.
-SUBST_FILES.fix-include=       CMakeLists.txt
-SUBST_SED.fix-include=         -e 's, /usr/local/, ${PREFIX}/,g'
-
 .include "../../benchmarks/google-benchmark/buildlink3.mk"
 .include "../../devel/gflags/buildlink3.mk"
 BUILDLINK_API_DEPENDS.protobuf+=       protobuf>=3.5
diff -r fbcf8f2da96a -r 53ca804afb4b net/grpc/PLIST
--- a/net/grpc/PLIST    Fri Mar 22 08:23:04 2019 +0000
+++ b/net/grpc/PLIST    Fri Mar 22 08:25:51 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/08/04 21:25:58 minskim Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/03/22 08:25:51 adam Exp $
 bin/grpc_cpp_plugin
 bin/grpc_csharp_plugin
 bin/grpc_node_plugin
@@ -107,6 +107,7 @@
 include/grpc/impl/codegen/gpr_slice.h
 include/grpc/impl/codegen/gpr_types.h
 include/grpc/impl/codegen/grpc_types.h
+include/grpc/impl/codegen/log.h
 include/grpc/impl/codegen/port_platform.h
 include/grpc/impl/codegen/propagation_bits.h
 include/grpc/impl/codegen/slice.h
@@ -139,11 +140,13 @@
 include/grpc/support/time.h
 include/grpc/support/workaround_list.h
 include/grpcpp/alarm.h
+include/grpcpp/alarm_impl.h
 include/grpcpp/channel.h
 include/grpcpp/client_context.h
 include/grpcpp/completion_queue.h
 include/grpcpp/create_channel.h
 include/grpcpp/create_channel_posix.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
 include/grpcpp/generic/async_generic_service.h
@@ -153,13 +156,19 @@
 include/grpcpp/impl/call.h
 include/grpcpp/impl/channel_argument_option.h
 include/grpcpp/impl/client_unary_call.h
+include/grpcpp/impl/codegen/async_generic_service.h
 include/grpcpp/impl/codegen/async_stream.h
 include/grpcpp/impl/codegen/async_unary_call.h
 include/grpcpp/impl/codegen/byte_buffer.h
 include/grpcpp/impl/codegen/call.h
 include/grpcpp/impl/codegen/call_hook.h
+include/grpcpp/impl/codegen/call_op_set.h
+include/grpcpp/impl/codegen/call_op_set_interface.h
+include/grpcpp/impl/codegen/callback_common.h
 include/grpcpp/impl/codegen/channel_interface.h
+include/grpcpp/impl/codegen/client_callback.h
 include/grpcpp/impl/codegen/client_context.h
+include/grpcpp/impl/codegen/client_interceptor.h
 include/grpcpp/impl/codegen/client_unary_call.h
 include/grpcpp/impl/codegen/completion_queue.h
 include/grpcpp/impl/codegen/completion_queue_tag.h
@@ -169,6 +178,9 @@
 include/grpcpp/impl/codegen/core_codegen_interface.h
 include/grpcpp/impl/codegen/create_auth_context.h
 include/grpcpp/impl/codegen/grpc_library.h
+include/grpcpp/impl/codegen/intercepted_channel.h
+include/grpcpp/impl/codegen/interceptor.h
+include/grpcpp/impl/codegen/interceptor_common.h
 include/grpcpp/impl/codegen/metadata_map.h
 include/grpcpp/impl/codegen/method_handler_impl.h
 include/grpcpp/impl/codegen/proto_buffer_reader.h
@@ -178,7 +190,9 @@
 include/grpcpp/impl/codegen/rpc_service_method.h
 include/grpcpp/impl/codegen/security/auth_context.h
 include/grpcpp/impl/codegen/serialization_traits.h
+include/grpcpp/impl/codegen/server_callback.h
 include/grpcpp/impl/codegen/server_context.h
+include/grpcpp/impl/codegen/server_interceptor.h
 include/grpcpp/impl/codegen/server_interface.h
 include/grpcpp/impl/codegen/service_type.h
 include/grpcpp/impl/codegen/slice.h
@@ -210,10 +224,15 @@
 include/grpcpp/support/async_unary_call.h
 include/grpcpp/support/byte_buffer.h
 include/grpcpp/support/channel_arguments.h
+include/grpcpp/support/client_callback.h
+include/grpcpp/support/client_interceptor.h
 include/grpcpp/support/config.h
 include/grpcpp/support/error_details.h
+include/grpcpp/support/interceptor.h
 include/grpcpp/support/proto_buffer_reader.h
 include/grpcpp/support/proto_buffer_writer.h
+include/grpcpp/support/server_callback.h
+include/grpcpp/support/server_interceptor.h
 include/grpcpp/support/slice.h
 include/grpcpp/support/status.h
 include/grpcpp/support/status_code_enum.h
@@ -226,39 +245,42 @@
 lib/cmake/grpc/gRPCTargets-noconfig.cmake
 lib/cmake/grpc/gRPCTargets.cmake
 lib/libaddress_sorting.so
+lib/libaddress_sorting.so.${PKGVERSION}
 lib/libaddress_sorting.so.1
-lib/libaddress_sorting.so.${PKGVERSION}
 lib/libgpr.so
+lib/libgpr.so.${PKGVERSION}
 lib/libgpr.so.1
-lib/libgpr.so.${PKGVERSION}
 lib/libgrpc++.so
+lib/libgrpc++.so.${PKGVERSION}
 lib/libgrpc++.so.1
-lib/libgrpc++.so.${PKGVERSION}
 lib/libgrpc++_cronet.so
-lib/libgrpc++_cronet.so.1
 lib/libgrpc++_cronet.so.${PKGVERSION}
+lib/libgrpc++_cronet.so.1
 lib/libgrpc++_error_details.so
+lib/libgrpc++_error_details.so.${PKGVERSION}
 lib/libgrpc++_error_details.so.1
-lib/libgrpc++_error_details.so.${PKGVERSION}
 lib/libgrpc++_reflection.so
+lib/libgrpc++_reflection.so.${PKGVERSION}
 lib/libgrpc++_reflection.so.1
-lib/libgrpc++_reflection.so.${PKGVERSION}
 lib/libgrpc++_unsecure.so
+lib/libgrpc++_unsecure.so.${PKGVERSION}
 lib/libgrpc++_unsecure.so.1
-lib/libgrpc++_unsecure.so.${PKGVERSION}
 lib/libgrpc.so
+lib/libgrpc.so.${PKGVERSION}
 lib/libgrpc.so.1
-lib/libgrpc.so.${PKGVERSION}
 lib/libgrpc_cronet.so
-lib/libgrpc_cronet.so.1
 lib/libgrpc_cronet.so.${PKGVERSION}
+lib/libgrpc_cronet.so.1
 lib/libgrpc_csharp_ext.so
+lib/libgrpc_csharp_ext.so.${PKGVERSION}
 lib/libgrpc_csharp_ext.so.1
-lib/libgrpc_csharp_ext.so.${PKGVERSION}
 lib/libgrpc_plugin_support.so
 lib/libgrpc_plugin_support.so.2
 lib/libgrpc_plugin_support.so.2.0.0
 lib/libgrpc_unsecure.so
+lib/libgrpc_unsecure.so.${PKGVERSION}
 lib/libgrpc_unsecure.so.1
-lib/libgrpc_unsecure.so.${PKGVERSION}
+lib/libgrpcpp_channelz.so
+lib/libgrpcpp_channelz.so.${PKGVERSION}
+lib/libgrpcpp_channelz.so.1
 share/grpc/roots.pem
diff -r fbcf8f2da96a -r 53ca804afb4b net/grpc/distinfo
--- a/net/grpc/distinfo Fri Mar 22 08:23:04 2019 +0000
+++ b/net/grpc/distinfo Fri Mar 22 08:25:51 2019 +0000
@@ -1,13 +1,12 @@
-$NetBSD: distinfo,v 1.7 2018/12/31 23:00:08 leot Exp $
+$NetBSD: distinfo,v 1.8 2019/03/22 08:25:51 adam Exp $
 
-SHA1 (grpc-1.13.1.tar.gz) = 57e1029fa40bd9defe57b5d9c1c69cdaa46fd5d1
-RMD160 (grpc-1.13.1.tar.gz) = e983b73f5df133a1d3db0de9ae1297eca11c5329
-SHA512 (grpc-1.13.1.tar.gz) = f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
-Size (grpc-1.13.1.tar.gz) = 13757818 bytes
-SHA1 (patch-CMakeLists.txt) = 3bd2e5bc254a06b03578430eb57ea14c13336219
+SHA1 (grpc-1.19.1.tar.gz) = 9d556e9702c1505ab8474924407e5d22ca5a8829
+RMD160 (grpc-1.19.1.tar.gz) = 4b695158fd08d1511d02b7ced5242e67244dcc94
+SHA512 (grpc-1.19.1.tar.gz) = 4bb127d946fc16887fd4cf75215f0bc9f6d17dbd36fc4f1b191a64914f96c49dddb41f1b6c72fd24ea0a40f242b4398248f32fcb1fe9a764367be1c2edda9142
+Size (grpc-1.19.1.tar.gz) = 14794085 bytes
+SHA1 (patch-CMakeLists.txt) = 45b87caaf7edf664b337648dda1722fd3cf20690
 SHA1 (patch-cmake_benchmark.cmake) = 031873ba9a8cd93d491693feb4d58e52a715cc64
 SHA1 (patch-cmake_cares.cmake) = 19324318dce81451bf7a53d0ca5a7e445a751db5
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = 18e213ffc4875b736a6a895a4d56cccc2b66c660
-SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = 341b9dd5cc40aa45000eb01b5acb2ad99d705264
-SHA1 (patch-src_core_lib_gpr_arena.cc) = 57fdb3de54ce8548fa9b50ea360530c35c3e616c
+SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = aff0ff2ff52753c3a169d1f7b939b894dda013f9
 SHA1 (patch-src_core_lib_iomgr_port.h) = e3c5e6ee071557c717df0a1a61597f9906fbeff5
diff -r fbcf8f2da96a -r 53ca804afb4b net/grpc/patches/patch-CMakeLists.txt
--- a/net/grpc/patches/patch-CMakeLists.txt     Fri Mar 22 08:23:04 2019 +0000
+++ b/net/grpc/patches/patch-CMakeLists.txt     Fri Mar 22 08:25:51 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2018/04/27 17:47:27 minskim Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.4 2019/03/22 08:25:51 adam Exp $
 
 Add version number to shared libraries.
 
---- CMakeLists.txt.orig        2018-04-13 18:08:11.000000000 +0000
+--- CMakeLists.txt.orig        2019-03-08 20:07:26.000000000 +0000
 +++ CMakeLists.txt
-@@ -171,7 +171,7 @@ function(protobuf_generate_grpc_cpp)
+@@ -196,7 +196,7 @@ function(protobuf_generate_grpc_cpp)
               "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h"
               "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc"
               "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h"
@@ -13,7 +13,7 @@
        ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR}
             --cpp_out=${_gRPC_PROTO_GENS_DIR}
             --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin>
-@@ -664,6 +664,7 @@ add_library(address_sorting
+@@ -735,6 +735,7 @@ add_library(address_sorting
    third_party/address_sorting/address_sorting_posix.c
    third_party/address_sorting/address_sorting_windows.c
  )
@@ -21,7 +21,7 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(address_sorting PROPERTIES COMPILE_PDB_NAME "address_sorting"
-@@ -784,6 +785,7 @@ add_library(gpr
+@@ -868,6 +869,7 @@ add_library(gpr
    src/core/lib/profiling/basic_timers.cc
    src/core/lib/profiling/stap_timers.cc
  )
@@ -29,7 +29,7 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr"
-@@ -1211,6 +1213,7 @@ add_library(grpc
+@@ -1288,6 +1290,7 @@ add_library(grpc
    src/core/ext/filters/workarounds/workaround_utils.cc
    src/core/plugin_registry/grpc_plugin_registry.cc
  )
@@ -37,15 +37,15 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc"
-@@ -1581,6 +1584,7 @@ add_library(grpc_cronet
-   src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc
+@@ -1679,6 +1682,7 @@ add_library(grpc_cronet
+   src/core/tsi/transport_security_grpc.cc
    src/core/plugin_registry/grpc_cronet_plugin_registry.cc
  )
 +set_target_properties(grpc_cronet PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1)
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet"
-@@ -2509,6 +2513,7 @@ add_library(grpc_unsecure
+@@ -2674,6 +2678,7 @@ add_library(grpc_unsecure
    src/core/ext/filters/workarounds/workaround_utils.cc
    src/core/plugin_registry/grpc_unsecure_plugin_registry.cc
  )
@@ -53,23 +53,23 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure"
-@@ -2722,6 +2727,7 @@ add_library(grpc++
-   src/cpp/util/time_cc.cc
+@@ -2907,6 +2912,7 @@ add_library(grpc++
+   third_party/nanopb/pb_encode.c
    src/cpp/codegen/codegen_init.cc
  )
 +set_target_properties(grpc++ PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1)
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++"
-@@ -3282,6 +3288,7 @@ add_library(grpc++_cronet
-   third_party/nanopb/pb_decode.c
-   third_party/nanopb/pb_encode.c
+@@ -3497,6 +3503,7 @@ add_library(grpc++_cronet
+   src/core/ext/transport/chttp2/server/chttp2_server.cc
+   src/core/ext/filters/census/grpc_context.cc
  )
 +set_target_properties(grpc++_cronet PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1)
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet"
-@@ -3546,6 +3553,7 @@ add_library(grpc++_error_details
+@@ -3781,6 +3788,7 @@ add_library(grpc++_error_details
    ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h
    src/cpp/util/error_details.cc
  )
@@ -77,7 +77,7 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details"
-@@ -3676,6 +3684,7 @@ add_library(grpc++_reflection
+@@ -3911,6 +3919,7 @@ add_library(grpc++_reflection
    ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.pb.h
    ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.h
  )
@@ -85,15 +85,15 @@
  
  if(WIN32 AND MSVC)
    set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection"
-@@ -4172,6 +4181,7 @@ add_library(grpc++_unsecure
-   src/cpp/util/time_cc.cc
+@@ -4454,6 +4463,7 @@ add_library(grpc++_unsecure
+   third_party/nanopb/pb_encode.c



Home | Main Index | Thread Index | Old Index