Fri Oct 27 16:45:34 2017 UTC ()
net/grpc: Update to 1.7.0

Notable changes:
- Channel are now by default persistent
- Some bug fixes from 1.4 branch
- Fixed hang bug when fork() was used


(minskim)
diff -r1.1 -r1.2 pkgsrc/net/grpc/Makefile
diff -r1.1 -r1.2 pkgsrc/net/grpc/PLIST
diff -r1.1 -r1.2 pkgsrc/net/grpc/distinfo
diff -r1.1 -r1.2 pkgsrc/net/grpc/patches/patch-CMakeLists.txt
diff -r1.1 -r0 pkgsrc/net/grpc/patches/patch-src_core_ext_transport_chttp2_transport_flow__control.c

cvs diff -r1.1 -r1.2 pkgsrc/net/grpc/Makefile (expand / switch to unified diff)

--- pkgsrc/net/grpc/Makefile 2017/10/23 15:48:04 1.1
+++ pkgsrc/net/grpc/Makefile 2017/10/27 16:45:34 1.2
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.1 2017/10/23 15:48:04 minskim Exp $ 1# $NetBSD: Makefile,v 1.2 2017/10/27 16:45:34 minskim Exp $
2 2
3DISTNAME= grpc-1.6.7 3DISTNAME= grpc-1.7.0
4CATEGORIES= net 4CATEGORIES= net
5MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
6GITHUB_PROJECT= grpc 6GITHUB_PROJECT= grpc
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8 8
9MAINTAINER= minskim@NetBSD.org 9MAINTAINER= minskim@NetBSD.org
10HOMEPAGE= https://grpc.io/ 10HOMEPAGE= https://grpc.io/
11COMMENT= High performance, open-source universal RPC framework 11COMMENT= High performance, open-source universal RPC framework
12LICENSE= apache-2.0 12LICENSE= apache-2.0
13 13
14USE_CMAKE= yes 14USE_CMAKE= yes
15USE_LANGUAGES+= c c++ 15USE_LANGUAGES+= c c++
16 16

cvs diff -r1.1 -r1.2 pkgsrc/net/grpc/PLIST (expand / switch to unified diff)

--- pkgsrc/net/grpc/PLIST 2017/10/23 15:48:04 1.1
+++ pkgsrc/net/grpc/PLIST 2017/10/27 16:45:34 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.1 2017/10/23 15:48:04 minskim Exp $ 1@comment $NetBSD: PLIST,v 1.2 2017/10/27 16:45:34 minskim Exp $
2bin/check_epollexclusive 2bin/check_epollexclusive
3bin/gen_hpack_tables 3bin/gen_hpack_tables
4bin/gen_legal_metadata_characters 4bin/gen_legal_metadata_characters
5bin/gen_percent_encoding_tables 5bin/gen_percent_encoding_tables
6bin/grpc_cpp_plugin 6bin/grpc_cpp_plugin
7bin/grpc_create_jwt 7bin/grpc_create_jwt
8bin/grpc_csharp_plugin 8bin/grpc_csharp_plugin
9bin/grpc_node_plugin 9bin/grpc_node_plugin
10bin/grpc_objective_c_plugin 10bin/grpc_objective_c_plugin
11bin/grpc_php_plugin 11bin/grpc_php_plugin
12bin/grpc_print_google_default_creds_token 12bin/grpc_print_google_default_creds_token
13bin/grpc_python_plugin 13bin/grpc_python_plugin
14bin/grpc_ruby_plugin 14bin/grpc_ruby_plugin
@@ -20,26 +20,27 @@ include/grpc++/completion_queue.h @@ -20,26 +20,27 @@ include/grpc++/completion_queue.h
20include/grpc++/create_channel.h 20include/grpc++/create_channel.h
21include/grpc++/create_channel_posix.h 21include/grpc++/create_channel_posix.h
22include/grpc++/ext/health_check_service_server_builder_option.h 22include/grpc++/ext/health_check_service_server_builder_option.h
23include/grpc++/ext/proto_server_reflection_plugin.h 23include/grpc++/ext/proto_server_reflection_plugin.h
24include/grpc++/generic/async_generic_service.h 24include/grpc++/generic/async_generic_service.h
25include/grpc++/generic/generic_stub.h 25include/grpc++/generic/generic_stub.h
26include/grpc++/grpc++.h 26include/grpc++/grpc++.h
27include/grpc++/health_check_service_interface.h 27include/grpc++/health_check_service_interface.h
28include/grpc++/impl/call.h 28include/grpc++/impl/call.h
29include/grpc++/impl/channel_argument_option.h 29include/grpc++/impl/channel_argument_option.h
30include/grpc++/impl/client_unary_call.h 30include/grpc++/impl/client_unary_call.h
31include/grpc++/impl/codegen/async_stream.h 31include/grpc++/impl/codegen/async_stream.h
32include/grpc++/impl/codegen/async_unary_call.h 32include/grpc++/impl/codegen/async_unary_call.h
 33include/grpc++/impl/codegen/byte_buffer.h
33include/grpc++/impl/codegen/call.h 34include/grpc++/impl/codegen/call.h
34include/grpc++/impl/codegen/call_hook.h 35include/grpc++/impl/codegen/call_hook.h
35include/grpc++/impl/codegen/channel_interface.h 36include/grpc++/impl/codegen/channel_interface.h
36include/grpc++/impl/codegen/client_context.h 37include/grpc++/impl/codegen/client_context.h
37include/grpc++/impl/codegen/client_unary_call.h 38include/grpc++/impl/codegen/client_unary_call.h
38include/grpc++/impl/codegen/completion_queue.h 39include/grpc++/impl/codegen/completion_queue.h
39include/grpc++/impl/codegen/completion_queue_tag.h 40include/grpc++/impl/codegen/completion_queue_tag.h
40include/grpc++/impl/codegen/config.h 41include/grpc++/impl/codegen/config.h
41include/grpc++/impl/codegen/config_protobuf.h 42include/grpc++/impl/codegen/config_protobuf.h
42include/grpc++/impl/codegen/core_codegen.h 43include/grpc++/impl/codegen/core_codegen.h
43include/grpc++/impl/codegen/core_codegen_interface.h 44include/grpc++/impl/codegen/core_codegen_interface.h
44include/grpc++/impl/codegen/create_auth_context.h 45include/grpc++/impl/codegen/create_auth_context.h
45include/grpc++/impl/codegen/grpc_library.h 46include/grpc++/impl/codegen/grpc_library.h
@@ -85,70 +86,75 @@ include/grpc++/support/channel_arguments @@ -85,70 +86,75 @@ include/grpc++/support/channel_arguments
85include/grpc++/support/config.h 86include/grpc++/support/config.h
86include/grpc++/support/error_details.h 87include/grpc++/support/error_details.h
87include/grpc++/support/slice.h 88include/grpc++/support/slice.h
88include/grpc++/support/status.h 89include/grpc++/support/status.h
89include/grpc++/support/status_code_enum.h 90include/grpc++/support/status_code_enum.h
90include/grpc++/support/string_ref.h 91include/grpc++/support/string_ref.h
91include/grpc++/support/stub_options.h 92include/grpc++/support/stub_options.h
92include/grpc++/support/sync_stream.h 93include/grpc++/support/sync_stream.h
93include/grpc++/support/time.h 94include/grpc++/support/time.h
94include/grpc/byte_buffer.h 95include/grpc/byte_buffer.h
95include/grpc/byte_buffer_reader.h 96include/grpc/byte_buffer_reader.h
96include/grpc/census.h 97include/grpc/census.h
97include/grpc/compression.h 98include/grpc/compression.h
 99include/grpc/fork.h
98include/grpc/grpc.h 100include/grpc/grpc.h
99include/grpc/grpc_cronet.h 101include/grpc/grpc_cronet.h
100include/grpc/grpc_posix.h 102include/grpc/grpc_posix.h
101include/grpc/grpc_security.h 103include/grpc/grpc_security.h
102include/grpc/grpc_security_constants.h 104include/grpc/grpc_security_constants.h
103include/grpc/impl/codegen/atm.h 105include/grpc/impl/codegen/atm.h
104include/grpc/impl/codegen/atm_gcc_atomic.h 106include/grpc/impl/codegen/atm_gcc_atomic.h
105include/grpc/impl/codegen/atm_gcc_sync.h 107include/grpc/impl/codegen/atm_gcc_sync.h
106include/grpc/impl/codegen/atm_windows.h 108include/grpc/impl/codegen/atm_windows.h
 109include/grpc/impl/codegen/byte_buffer.h
107include/grpc/impl/codegen/byte_buffer_reader.h 110include/grpc/impl/codegen/byte_buffer_reader.h
108include/grpc/impl/codegen/compression_types.h 111include/grpc/impl/codegen/compression_types.h
109include/grpc/impl/codegen/connectivity_state.h 112include/grpc/impl/codegen/connectivity_state.h
110include/grpc/impl/codegen/exec_ctx_fwd.h 113include/grpc/impl/codegen/exec_ctx_fwd.h
 114include/grpc/impl/codegen/fork.h
111include/grpc/impl/codegen/gpr_slice.h 115include/grpc/impl/codegen/gpr_slice.h
112include/grpc/impl/codegen/gpr_types.h 116include/grpc/impl/codegen/gpr_types.h
113include/grpc/impl/codegen/grpc_types.h 117include/grpc/impl/codegen/grpc_types.h
114include/grpc/impl/codegen/port_platform.h 118include/grpc/impl/codegen/port_platform.h
115include/grpc/impl/codegen/propagation_bits.h 119include/grpc/impl/codegen/propagation_bits.h
116include/grpc/impl/codegen/slice.h 120include/grpc/impl/codegen/slice.h
117include/grpc/impl/codegen/status.h 121include/grpc/impl/codegen/status.h
118include/grpc/impl/codegen/sync.h 122include/grpc/impl/codegen/sync.h
 123include/grpc/impl/codegen/sync_custom.h
119include/grpc/impl/codegen/sync_generic.h 124include/grpc/impl/codegen/sync_generic.h
120include/grpc/impl/codegen/sync_posix.h 125include/grpc/impl/codegen/sync_posix.h
121include/grpc/impl/codegen/sync_windows.h 126include/grpc/impl/codegen/sync_windows.h
122include/grpc/load_reporting.h 127include/grpc/load_reporting.h
123include/grpc/slice.h 128include/grpc/slice.h
124include/grpc/slice_buffer.h 129include/grpc/slice_buffer.h
125include/grpc/status.h 130include/grpc/status.h
126include/grpc/support/alloc.h 131include/grpc/support/alloc.h
127include/grpc/support/atm.h 132include/grpc/support/atm.h
128include/grpc/support/atm_gcc_atomic.h 133include/grpc/support/atm_gcc_atomic.h
129include/grpc/support/atm_gcc_sync.h 134include/grpc/support/atm_gcc_sync.h
130include/grpc/support/atm_windows.h 135include/grpc/support/atm_windows.h
131include/grpc/support/avl.h 136include/grpc/support/avl.h
132include/grpc/support/cmdline.h 137include/grpc/support/cmdline.h
133include/grpc/support/cpu.h 138include/grpc/support/cpu.h
134include/grpc/support/histogram.h 139include/grpc/support/histogram.h
135include/grpc/support/host_port.h 140include/grpc/support/host_port.h
136include/grpc/support/log.h 141include/grpc/support/log.h
137include/grpc/support/log_windows.h 142include/grpc/support/log_windows.h
138include/grpc/support/port_platform.h 143include/grpc/support/port_platform.h
139include/grpc/support/string_util.h 144include/grpc/support/string_util.h
140include/grpc/support/subprocess.h 145include/grpc/support/subprocess.h
141include/grpc/support/sync.h 146include/grpc/support/sync.h
 147include/grpc/support/sync_custom.h
142include/grpc/support/sync_generic.h 148include/grpc/support/sync_generic.h
143include/grpc/support/sync_posix.h 149include/grpc/support/sync_posix.h
144include/grpc/support/sync_windows.h 150include/grpc/support/sync_windows.h
145include/grpc/support/thd.h 151include/grpc/support/thd.h
146include/grpc/support/time.h 152include/grpc/support/time.h
147include/grpc/support/tls.h 153include/grpc/support/tls.h
148include/grpc/support/tls_gcc.h 154include/grpc/support/tls_gcc.h
149include/grpc/support/tls_msvc.h 155include/grpc/support/tls_msvc.h
150include/grpc/support/tls_pthread.h 156include/grpc/support/tls_pthread.h
151include/grpc/support/useful.h 157include/grpc/support/useful.h
152include/grpc/support/workaround_list.h 158include/grpc/support/workaround_list.h
153lib/cmake/grpc/gRPCConfig.cmake 159lib/cmake/grpc/gRPCConfig.cmake
154lib/cmake/grpc/gRPCConfigVersion.cmake 160lib/cmake/grpc/gRPCConfigVersion.cmake

cvs diff -r1.1 -r1.2 pkgsrc/net/grpc/distinfo (expand / switch to unified diff)

--- pkgsrc/net/grpc/distinfo 2017/10/23 15:48:04 1.1
+++ pkgsrc/net/grpc/distinfo 2017/10/27 16:45:34 1.2
@@ -1,8 +1,7 @@ @@ -1,8 +1,7 @@
1$NetBSD: distinfo,v 1.1 2017/10/23 15:48:04 minskim Exp $ 1$NetBSD: distinfo,v 1.2 2017/10/27 16:45:34 minskim Exp $
2 2
3SHA1 (grpc-1.6.7.tar.gz) = 0a2677d7f05b5fe3bcf6820f89237fad615eb301 3SHA1 (grpc-1.7.0.tar.gz) = 06228e7274af8fabfeb3cf78d490c13f2ffa739d
4RMD160 (grpc-1.6.7.tar.gz) = b6856325273d210a36619de6e80c8f11753a73cc 4RMD160 (grpc-1.7.0.tar.gz) = 8181c2e315e38efff0b9d2f4092beb3314f38f79
5SHA512 (grpc-1.6.7.tar.gz) = 7c4c3e21cb24cdd18022c75d94b78ea099fe3f97af39bf26672e0240945d109f122e79a8476f82b086ec22747569b69826a850ad2c0e8e37df3b3f4a0b67e7e5 5SHA512 (grpc-1.7.0.tar.gz) = 23427ac1f180ce6d70b039225f26cecbd938655d1e5b726414aee7dfee6e6f301913255cfe0ff326dfb34e206ca6476c389b2fd0db58b284fff30c9757c5e4ac
6Size (grpc-1.6.7.tar.gz) = 4835956 bytes 6Size (grpc-1.7.0.tar.gz) = 4724700 bytes
7SHA1 (patch-CMakeLists.txt) = e560a1f4d70ba520b5bf454da97946bf8b803360 7SHA1 (patch-CMakeLists.txt) = cad9e05c7c93e684456506cb5f8a195fdc7b8efc
8SHA1 (patch-src_core_ext_transport_chttp2_transport_flow__control.c) = 81d7c5e3065c3ea9d505d654a9c5a723793d85a5 

cvs diff -r1.1 -r1.2 pkgsrc/net/grpc/patches/patch-CMakeLists.txt (expand / switch to unified diff)

--- pkgsrc/net/grpc/patches/patch-CMakeLists.txt 2017/10/23 15:48:04 1.1
+++ pkgsrc/net/grpc/patches/patch-CMakeLists.txt 2017/10/27 16:45:34 1.2
@@ -1,32 +1,27 @@ @@ -1,32 +1,27 @@
1$NetBSD: patch-CMakeLists.txt,v 1.1 2017/10/23 15:48:04 minskim Exp $ 1$NetBSD: patch-CMakeLists.txt,v 1.2 2017/10/27 16:45:34 minskim Exp $
2 2
3Make this build with pkgsrc google-benchmark and libcares. 3Make this build with pkgsrc google-benchmark and libcares.
4 4
5--- CMakeLists.txt.orig 2017-10-19 02:10:38.000000000 +0000 5--- CMakeLists.txt.orig 2017-10-26 19:11:22.000000000 +0000
6+++ CMakeLists.txt 6+++ CMakeLists.txt
7@@ -159,6 +159,8 @@ elseif("${gRPC_CARES_PROVIDER}" STREQUAL 7@@ -144,9 +144,11 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo
8 find_package(c-ares CONFIG) 8 set(gRPC_INSTALL FALSE)
 9 endif()
 10 elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package")
 11- find_package(c-ares REQUIRED CONFIG)
 12+ find_library(cares REQUIRED)
9 if(TARGET c-ares::cares) 13 if(TARGET c-ares::cares)
10 set(_gRPC_CARES_LIBRARIES c-ares::cares) 14 set(_gRPC_CARES_LIBRARIES c-ares::cares)
11+ else() 15+ else()
12+ set(_gRPC_CARES_LIBRARIES cares) 16+ set(_gRPC_CARES_LIBRARIES cares)
13 endif() 17 endif()
14 set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()") 18 set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()")
15 endif() 19 endif()
16@@ -282,7 +284,6 @@ if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL 20@@ -271,7 +273,6 @@ if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL
17 message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") 21 message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong")
18 endif() 22 endif()
19 elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") 23 elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package")
20- find_package(benchmark) 24- find_package(benchmark)
21 if(TARGET benchmark::benchmark) 25 if(TARGET benchmark::benchmark)
22 set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) 26 set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark)
23 endif() 27 endif()
24@@ -339,7 +340,7 @@ function(protobuf_generate_grpc_cpp) 
25 "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}_mock.grpc.pb.h" 
26 "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.cc" 
27 "${_gRPC_PROTO_GENS_DIR}/${RELFIL_WE}.pb.h" 
28- COMMAND $<TARGET_FILE:${_gRPC_PROTOBUF_PROTOC}> 
29+ COMMAND ${_gRPC_PROTOBUF_PROTOC} 
30 ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} 
31 --cpp_out=${_gRPC_PROTO_GENS_DIR} 
32 --plugin=protoc-gen-grpc=$<TARGET_FILE:grpc_cpp_plugin> 

File Deleted: pkgsrc/net/grpc/patches/Attic/patch-src_core_ext_transport_chttp2_transport_flow__control.c