pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/grpc



Module Name:    pkgsrc
Committed By:   minskim
Date:           Fri Oct 27 16:45:34 UTC 2017

Modified Files:
        pkgsrc/net/grpc: Makefile PLIST distinfo
        pkgsrc/net/grpc/patches: patch-CMakeLists.txt
Removed Files:
        pkgsrc/net/grpc/patches:
            patch-src_core_ext_transport_chttp2_transport_flow__control.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/grpc/Makefile pkgsrc/net/grpc/PLIST \
    pkgsrc/net/grpc/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/grpc/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/net/grpc/patches/patch-src_core_ext_transport_chttp2_transport_flow__control.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/grpc/Makefile
diff -u pkgsrc/net/grpc/Makefile:1.1 pkgsrc/net/grpc/Makefile:1.2
--- pkgsrc/net/grpc/Makefile:1.1        Mon Oct 23 15:48:04 2017
+++ pkgsrc/net/grpc/Makefile    Fri Oct 27 16:45:34 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/10/23 15:48:04 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2017/10/27 16:45:34 minskim Exp $
 
-DISTNAME=      grpc-1.6.7
+DISTNAME=      grpc-1.7.0
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_PROJECT=        grpc
Index: pkgsrc/net/grpc/PLIST
diff -u pkgsrc/net/grpc/PLIST:1.1 pkgsrc/net/grpc/PLIST:1.2
--- pkgsrc/net/grpc/PLIST:1.1   Mon Oct 23 15:48:04 2017
+++ pkgsrc/net/grpc/PLIST       Fri Oct 27 16:45:34 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/10/23 15:48:04 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/10/27 16:45:34 minskim Exp $
 bin/check_epollexclusive
 bin/gen_hpack_tables
 bin/gen_legal_metadata_characters
@@ -30,6 +30,7 @@ include/grpc++/impl/channel_argument_opt
 include/grpc++/impl/client_unary_call.h
 include/grpc++/impl/codegen/async_stream.h
 include/grpc++/impl/codegen/async_unary_call.h
+include/grpc++/impl/codegen/byte_buffer.h
 include/grpc++/impl/codegen/call.h
 include/grpc++/impl/codegen/call_hook.h
 include/grpc++/impl/codegen/channel_interface.h
@@ -95,6 +96,7 @@ include/grpc/byte_buffer.h
 include/grpc/byte_buffer_reader.h
 include/grpc/census.h
 include/grpc/compression.h
+include/grpc/fork.h
 include/grpc/grpc.h
 include/grpc/grpc_cronet.h
 include/grpc/grpc_posix.h
@@ -104,10 +106,12 @@ include/grpc/impl/codegen/atm.h
 include/grpc/impl/codegen/atm_gcc_atomic.h
 include/grpc/impl/codegen/atm_gcc_sync.h
 include/grpc/impl/codegen/atm_windows.h
+include/grpc/impl/codegen/byte_buffer.h
 include/grpc/impl/codegen/byte_buffer_reader.h
 include/grpc/impl/codegen/compression_types.h
 include/grpc/impl/codegen/connectivity_state.h
 include/grpc/impl/codegen/exec_ctx_fwd.h
+include/grpc/impl/codegen/fork.h
 include/grpc/impl/codegen/gpr_slice.h
 include/grpc/impl/codegen/gpr_types.h
 include/grpc/impl/codegen/grpc_types.h
@@ -116,6 +120,7 @@ include/grpc/impl/codegen/propagation_bi
 include/grpc/impl/codegen/slice.h
 include/grpc/impl/codegen/status.h
 include/grpc/impl/codegen/sync.h
+include/grpc/impl/codegen/sync_custom.h
 include/grpc/impl/codegen/sync_generic.h
 include/grpc/impl/codegen/sync_posix.h
 include/grpc/impl/codegen/sync_windows.h
@@ -139,6 +144,7 @@ include/grpc/support/port_platform.h
 include/grpc/support/string_util.h
 include/grpc/support/subprocess.h
 include/grpc/support/sync.h
+include/grpc/support/sync_custom.h
 include/grpc/support/sync_generic.h
 include/grpc/support/sync_posix.h
 include/grpc/support/sync_windows.h
Index: pkgsrc/net/grpc/distinfo
diff -u pkgsrc/net/grpc/distinfo:1.1 pkgsrc/net/grpc/distinfo:1.2
--- pkgsrc/net/grpc/distinfo:1.1        Mon Oct 23 15:48:04 2017
+++ pkgsrc/net/grpc/distinfo    Fri Oct 27 16:45:34 2017
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.1 2017/10/23 15:48:04 minskim Exp $
+$NetBSD: distinfo,v 1.2 2017/10/27 16:45:34 minskim Exp $
 
-SHA1 (grpc-1.6.7.tar.gz) = 0a2677d7f05b5fe3bcf6820f89237fad615eb301
-RMD160 (grpc-1.6.7.tar.gz) = b6856325273d210a36619de6e80c8f11753a73cc
-SHA512 (grpc-1.6.7.tar.gz) = 7c4c3e21cb24cdd18022c75d94b78ea099fe3f97af39bf26672e0240945d109f122e79a8476f82b086ec22747569b69826a850ad2c0e8e37df3b3f4a0b67e7e5
-Size (grpc-1.6.7.tar.gz) = 4835956 bytes
-SHA1 (patch-CMakeLists.txt) = e560a1f4d70ba520b5bf454da97946bf8b803360
-SHA1 (patch-src_core_ext_transport_chttp2_transport_flow__control.c) = 81d7c5e3065c3ea9d505d654a9c5a723793d85a5
+SHA1 (grpc-1.7.0.tar.gz) = 06228e7274af8fabfeb3cf78d490c13f2ffa739d
+RMD160 (grpc-1.7.0.tar.gz) = 8181c2e315e38efff0b9d2f4092beb3314f38f79
+SHA512 (grpc-1.7.0.tar.gz) = 23427ac1f180ce6d70b039225f26cecbd938655d1e5b726414aee7dfee6e6f301913255cfe0ff326dfb34e206ca6476c389b2fd0db58b284fff30c9757c5e4ac
+Size (grpc-1.7.0.tar.gz) = 4724700 bytes
+SHA1 (patch-CMakeLists.txt) = cad9e05c7c93e684456506cb5f8a195fdc7b8efc

Index: pkgsrc/net/grpc/patches/patch-CMakeLists.txt
diff -u pkgsrc/net/grpc/patches/patch-CMakeLists.txt:1.1 pkgsrc/net/grpc/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/net/grpc/patches/patch-CMakeLists.txt:1.1    Mon Oct 23 15:48:04 2017
+++ pkgsrc/net/grpc/patches/patch-CMakeLists.txt        Fri Oct 27 16:45:34 2017
@@ -1,11 +1,15 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2017/10/23 15:48:04 minskim Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2017/10/27 16:45:34 minskim Exp $
 
 Make this build with pkgsrc google-benchmark and libcares.
 
---- CMakeLists.txt.orig        2017-10-19 02:10:38.000000000 +0000
+--- CMakeLists.txt.orig        2017-10-26 19:11:22.000000000 +0000
 +++ CMakeLists.txt
-@@ -159,6 +159,8 @@ elseif("${gRPC_CARES_PROVIDER}" STREQUAL
-   find_package(c-ares CONFIG)
+@@ -144,9 +144,11 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo
+     set(gRPC_INSTALL FALSE)
+   endif()
+ elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package")
+-  find_package(c-ares REQUIRED CONFIG)
++  find_library(cares REQUIRED)
    if(TARGET c-ares::cares)
      set(_gRPC_CARES_LIBRARIES c-ares::cares)
 +  else()
@@ -13,7 +17,7 @@ Make this build with pkgsrc google-bench
    endif()
    set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n  find_package(c-ares CONFIG)\nendif()")
  endif()
-@@ -282,7 +284,6 @@ if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL
+@@ -271,7 +273,6 @@ if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL
        message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong")
    endif()
  elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package")
@@ -21,12 +25,3 @@ Make this build with pkgsrc google-bench
    if(TARGET benchmark::benchmark)
      set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark)
    endif()
-@@ -339,7 +340,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"
--      COMMAND $<TARGET_FILE:${_gRPC_PROTOBUF_PROTOC}>
-+      COMMAND ${_gRPC_PROTOBUF_PROTOC}
-       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>



Home | Main Index | Thread Index | Old Index