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.20.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/c76b24a377cf
branches: trunk
changeset: 332623:c76b24a377cf
user: adam <adam%pkgsrc.org@localhost>
date: Fri Apr 19 07:15:36 2019 +0000
description:
grpc: updated to 1.20.0
Release v1.20.0
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
Fix bug in CFStream endpoint.
Fix a NULL deref in tcp_client_windows.cc.
Avoid using grpc_core::Executor when the background poller is available.
Update the c-ares submodule to the 1.15 release.
Remove unnecessary hack which causes data races.
Fix Potentially Dangerous Typo - locked function being run outside of combiner.
Trace log the status of every c-ares lookup; cleanup error handling.
Add SPIFFE security stack to gRPC .
Nuking the poll-cv polling engine.
Backport 18201 to fix "symbol not found: _ares_library_init" error in Bazel on MacOS build.
Run run_after_write closures in h2 once write action is done.
Transition into state CONNECTING when we start name resolution.
Support "darwin_x86_64" CPU in cares.BUILD.
Move grpc_shutdown internals to a detached thread.
Fix c-ares on Windows "DNS resolution failure" triggered by logging.
Disable c-ares on Android.
C++
Global Interceptor Registration allowed only once.
cmake fix: builds disabled by CODEGEN=OFF should not be installed.
cmake: when cross-compiling, the host grpc_cpp_plugin should be used.
diffstat:
net/grpc/Makefile | 4 +-
net/grpc/PLIST | 6 +-
net/grpc/distinfo | 14 ++--
net/grpc/patches/patch-CMakeLists.txt | 34 +++++-----
net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h | 34 +---------
5 files changed, 34 insertions(+), 58 deletions(-)
diffs (255 lines):
diff -r 689ceb3e9bda -r c76b24a377cf net/grpc/Makefile
--- a/net/grpc/Makefile Fri Apr 19 05:35:22 2019 +0000
+++ b/net/grpc/Makefile Fri Apr 19 07:15:36 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2019/03/22 08:25:51 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/04/19 07:15:36 adam Exp $
-DISTNAME= grpc-1.19.1
+DISTNAME= grpc-1.20.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r 689ceb3e9bda -r c76b24a377cf net/grpc/PLIST
--- a/net/grpc/PLIST Fri Apr 19 05:35:22 2019 +0000
+++ b/net/grpc/PLIST Fri Apr 19 07:15:36 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2019/03/22 08:25:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/04/19 07:15:36 adam Exp $
bin/grpc_cpp_plugin
bin/grpc_csharp_plugin
bin/grpc_node_plugin
@@ -146,7 +146,9 @@
include/grpcpp/completion_queue.h
include/grpcpp/create_channel.h
include/grpcpp/create_channel_posix.h
+include/grpcpp/create_channel_posix_impl.h
include/grpcpp/ext/channelz_service_plugin.h
+include/grpcpp/ext/channelz_service_plugin_impl.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
@@ -208,6 +210,7 @@
include/grpcpp/impl/rpc_service_method.h
include/grpcpp/impl/serialization_traits.h
include/grpcpp/impl/server_builder_option.h
+include/grpcpp/impl/server_builder_option_impl.h
include/grpcpp/impl/server_builder_plugin.h
include/grpcpp/impl/server_initializer.h
include/grpcpp/impl/service_type.h
@@ -220,6 +223,7 @@
include/grpcpp/server_builder.h
include/grpcpp/server_context.h
include/grpcpp/server_posix.h
+include/grpcpp/server_posix_impl.h
include/grpcpp/support/async_stream.h
include/grpcpp/support/async_unary_call.h
include/grpcpp/support/byte_buffer.h
diff -r 689ceb3e9bda -r c76b24a377cf net/grpc/distinfo
--- a/net/grpc/distinfo Fri Apr 19 05:35:22 2019 +0000
+++ b/net/grpc/distinfo Fri Apr 19 07:15:36 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.8 2019/03/22 08:25:51 adam Exp $
+$NetBSD: distinfo,v 1.9 2019/04/19 07:15:36 adam Exp $
-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 (grpc-1.20.0.tar.gz) = f7eaf137271e21efa36d4f3e2c61dd69f962832a
+RMD160 (grpc-1.20.0.tar.gz) = d5525a7f2db94eead858bc62f48387f9f10ba4b9
+SHA512 (grpc-1.20.0.tar.gz) = 01074f87a3cfaa30cbd3ae8f723118fd91cab586872b26b0f96fe5f8472dff8f6e8845af605765f747cc10ef1b62c974c57e08affc43eb8487b524a98d1dcae1
+Size (grpc-1.20.0.tar.gz) = 14926918 bytes
+SHA1 (patch-CMakeLists.txt) = f3cf27ec59109a8a0a6fa8aebd2ffa1871c29442
SHA1 (patch-cmake_benchmark.cmake) = 031873ba9a8cd93d491693feb4d58e52a715cc64
SHA1 (patch-cmake_cares.cmake) = 19324318dce81451bf7a53d0ca5a7e445a751db5
-SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = 18e213ffc4875b736a6a895a4d56cccc2b66c660
+SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = b8d07e5bbf04694df00d0d19884844b791eb002c
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 689ceb3e9bda -r c76b24a377cf net/grpc/patches/patch-CMakeLists.txt
--- a/net/grpc/patches/patch-CMakeLists.txt Fri Apr 19 05:35:22 2019 +0000
+++ b/net/grpc/patches/patch-CMakeLists.txt Fri Apr 19 07:15:36 2019 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2019/03/22 08:25:51 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.5 2019/04/19 07:15:36 adam Exp $
Add version number to shared libraries.
---- CMakeLists.txt.orig 2019-03-08 20:07:26.000000000 +0000
+--- CMakeLists.txt.orig 2019-04-15 22:38:24.000000000 +0000
+++ CMakeLists.txt
-@@ -196,7 +196,7 @@ function(protobuf_generate_grpc_cpp)
+@@ -203,7 +203,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"
@@ -12,8 +12,8 @@
+ COMMAND env LD_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=$<TARGET_FILE:grpc_cpp_plugin>
-@@ -735,6 +735,7 @@ add_library(address_sorting
+ --plugin=protoc-gen-grpc=${_gRPC_CPP_PLUGIN}
+@@ -741,6 +741,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"
-@@ -868,6 +869,7 @@ add_library(gpr
+@@ -874,6 +875,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"
-@@ -1288,6 +1290,7 @@ add_library(grpc
+@@ -1295,6 +1297,7 @@ add_library(grpc
src/core/ext/filters/workarounds/workaround_utils.cc
src/core/plugin_registry/grpc_plugin_registry.cc
)
@@ -37,7 +37,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc"
-@@ -1679,6 +1682,7 @@ add_library(grpc_cronet
+@@ -1687,6 +1690,7 @@ add_library(grpc_cronet
src/core/tsi/transport_security_grpc.cc
src/core/plugin_registry/grpc_cronet_plugin_registry.cc
)
@@ -45,7 +45,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc_cronet PROPERTIES COMPILE_PDB_NAME "grpc_cronet"
-@@ -2674,6 +2678,7 @@ add_library(grpc_unsecure
+@@ -2679,6 +2683,7 @@ add_library(grpc_unsecure
src/core/ext/filters/workarounds/workaround_utils.cc
src/core/plugin_registry/grpc_unsecure_plugin_registry.cc
)
@@ -53,7 +53,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure"
-@@ -2907,6 +2912,7 @@ add_library(grpc++
+@@ -2912,6 +2917,7 @@ add_library(grpc++
third_party/nanopb/pb_encode.c
src/cpp/codegen/codegen_init.cc
)
@@ -61,7 +61,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc++ PROPERTIES COMPILE_PDB_NAME "grpc++"
-@@ -3497,6 +3503,7 @@ add_library(grpc++_cronet
+@@ -3505,6 +3511,7 @@ add_library(grpc++_cronet
src/core/ext/transport/chttp2/server/chttp2_server.cc
src/core/ext/filters/census/grpc_context.cc
)
@@ -69,7 +69,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc++_cronet PROPERTIES COMPILE_PDB_NAME "grpc++_cronet"
-@@ -3781,6 +3788,7 @@ add_library(grpc++_error_details
+@@ -3792,6 +3799,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"
-@@ -3911,6 +3919,7 @@ add_library(grpc++_reflection
+@@ -3925,6 +3933,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,7 +85,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection"
-@@ -4454,6 +4463,7 @@ add_library(grpc++_unsecure
+@@ -4473,6 +4482,7 @@ add_library(grpc++_unsecure
third_party/nanopb/pb_encode.c
src/cpp/codegen/codegen_init.cc
)
@@ -93,7 +93,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure"
-@@ -4851,6 +4861,7 @@ add_library(grpc_plugin_support
+@@ -4874,6 +4884,7 @@ add_library(grpc_plugin_support
src/compiler/python_generator.cc
src/compiler/ruby_generator.cc
)
@@ -101,7 +101,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support"
-@@ -4913,6 +4924,7 @@ add_library(grpcpp_channelz
+@@ -4936,6 +4947,7 @@ add_library(grpcpp_channelz
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.pb.h
${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/channelz/channelz.grpc.pb.h
)
@@ -109,7 +109,7 @@
if(WIN32 AND MSVC)
set_target_properties(grpcpp_channelz PROPERTIES COMPILE_PDB_NAME "grpcpp_channelz"
-@@ -5445,6 +5457,7 @@ if (gRPC_BUILD_CSHARP_EXT)
+@@ -5478,6 +5490,7 @@ if (gRPC_BUILD_CSHARP_EXT)
add_library(grpc_csharp_ext SHARED
src/csharp/ext/grpc_csharp_ext.c
)
diff -r 689ceb3e9bda -r c76b24a377cf net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
--- a/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h Fri Apr 19 05:35:22 2019 +0000
+++ b/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h Fri Apr 19 07:15:36 2019 +0000
@@ -1,11 +1,10 @@
-$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.2 2018/12/31 23:00:08 leot Exp $
+$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.3 2019/04/19 07:15:36 adam Exp $
Add NetBSD support.
-Add SunOS support.
---- include/grpc/impl/codegen/port_platform.h.orig 2018-07-12 14:40:09.000000000 +0000
+--- include/grpc/impl/codegen/port_platform.h.orig 2019-04-15 22:38:24.000000000 +0000
+++ include/grpc/impl/codegen/port_platform.h
-@@ -282,6 +282,29 @@
+@@ -331,6 +331,29 @@
#else /* _LP64 */
#define GPR_ARCH_32 1
#endif /* _LP64 */
@@ -35,30 +34,3 @@
#elif defined(__native_client__)
#define GPR_PLATFORM_STRING "nacl"
#ifndef _BSD_SOURCE
-@@ -310,6 +333,26 @@
- #else /* _LP64 */
- #define GPR_ARCH_32 1
- #endif /* _LP64 */
-+#elif defined(__sun)
-+#define GPR_PLATFORM_STRING "sunos"
-+#define GPR_SUNOS 1
-+#define GPR_CPU_POSIX 1
-+#define GPR_GCC_ATOMIC 1
-+#define GPR_GCC_TLS 1
-+#define GPR_POSIX_LOG 1
-+#define GPR_POSIX_ENV 1
-+#define GPR_POSIX_TMPFILE 1
-+#define GPR_POSIX_STRING 1
-+#define GPR_POSIX_SUBPROCESS 1
-+#define GPR_POSIX_SYNC 1
-+#define GPR_POSIX_TIME 1
-+#define GPR_GETPID_IN_UNISTD_H 1
-+#define GPR_SUPPORT_CHANNELS_FROM_FD 1
-+#ifdef _LP64
-+#define GPR_ARCH_64 1
-+#else /* _LP64 */
-+#define GPR_ARCH_32 1
-+#endif /* _LP64 */
- #else
- #error "Could not auto-detect platform"
- #endif
Home |
Main Index |
Thread Index |
Old Index