pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/grpc net/grpc: Update to 1.11.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/856343789e25
branches: trunk
changeset: 306841:856343789e25
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Apr 27 17:47:27 2018 +0000
description:
net/grpc: Update to 1.11.0
Notable changes since 1.7.2:
- Requires protobuf>=3.5.0
- Exec_ctx has been made a thread_local, and is no longer to be passed
as a function parameter.
- LB policies request re-resolution without shutting down
- On server, include receiving HTTP/2 settings in handshake timeout
- C++ headers are moved from include/grpc++ to include/grpcpp. Headers
in include/grpc++ are deprecated
- Experimental gRPC-C++ Cocoapods podspec
- Several features of core have been removed from the surface or GPR
API: grpc_alarm, gpr_join_host_port, gpr_cmdline, gpr_subprocess,
gpr_tls, gpr_avl, and gpr_thd
- Add core underpinnings for TLS session ticket support
- Experimental support for configurable retries
diffstat:
net/grpc/Makefile | 12 +-
net/grpc/PLIST | 146 ++++++++++++++++++----
net/grpc/buildlink3.mk | 5 +-
net/grpc/distinfo | 15 +-
net/grpc/patches/patch-CMakeLists.txt | 132 +++++++++++++++++---
net/grpc/patches/patch-cmake_benchmark.cmake | 21 +++
net/grpc/patches/patch-cmake_cares.cmake | 22 +++
net/grpc/patches/patch-src_core_lib_gpr_arena.cc | 15 ++
8 files changed, 300 insertions(+), 68 deletions(-)
diffs (truncated from 474 to 300 lines):
diff -r 03ee6eda893e -r 856343789e25 net/grpc/Makefile
--- a/net/grpc/Makefile Fri Apr 27 15:09:05 2018 +0000
+++ b/net/grpc/Makefile Fri Apr 27 17:47:27 2018 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2018/01/17 12:10:38 jperkin Exp $
+# $NetBSD: Makefile,v 1.5 2018/04/27 17:47:27 minskim Exp $
-DISTNAME= grpc-1.7.2
-PKGREVISION= 1
+DISTNAME= grpc-1.11.0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=grpc/}
-GITHUB_PROJECT= grpc
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= minskim%NetBSD.org@localhost
@@ -13,8 +11,10 @@
LICENSE= apache-2.0
USE_CMAKE= yes
-USE_LANGUAGES+= c c++
+USE_LANGUAGES+= c c++11
+USE_TOOLS+= pkg-config
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS=on
CMAKE_ARGS+= -DgRPC_BENCHMARK_PROVIDER=package
CMAKE_ARGS+= -DgRPC_CARES_PROVIDER=package
CMAKE_ARGS+= -DgRPC_GFLAGS_PROVIDER=package
@@ -30,7 +30,7 @@
.include "../../benchmarks/google-benchmark/buildlink3.mk"
.include "../../devel/gflags/buildlink3.mk"
-BUILDLINK_API_DEPENDS.protobuf+= protobuf>=3.4
+BUILDLINK_API_DEPENDS.protobuf+= protobuf>=3.5
.include "../../devel/protobuf/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../net/libcares/buildlink3.mk"
diff -r 03ee6eda893e -r 856343789e25 net/grpc/PLIST
--- a/net/grpc/PLIST Fri Apr 27 15:09:05 2018 +0000
+++ b/net/grpc/PLIST Fri Apr 27 17:47:27 2018 +0000
@@ -1,18 +1,11 @@
-@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
-bin/gen_percent_encoding_tables
+@comment $NetBSD: PLIST,v 1.3 2018/04/27 17:47:27 minskim Exp $
bin/grpc_cpp_plugin
-bin/grpc_create_jwt
bin/grpc_csharp_plugin
bin/grpc_node_plugin
bin/grpc_objective_c_plugin
bin/grpc_php_plugin
-bin/grpc_print_google_default_creds_token
bin/grpc_python_plugin
bin/grpc_ruby_plugin
-bin/grpc_verify_jwt
include/grpc++/alarm.h
include/grpc++/channel.h
include/grpc++/client_context.h
@@ -110,7 +103,6 @@
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
@@ -133,41 +125,135 @@
include/grpc/support/atm_gcc_atomic.h
include/grpc/support/atm_gcc_sync.h
include/grpc/support/atm_windows.h
-include/grpc/support/avl.h
-include/grpc/support/cmdline.h
include/grpc/support/cpu.h
-include/grpc/support/histogram.h
-include/grpc/support/host_port.h
include/grpc/support/log.h
include/grpc/support/log_windows.h
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
-include/grpc/support/thd.h
+include/grpc/support/thd_id.h
include/grpc/support/time.h
-include/grpc/support/tls.h
-include/grpc/support/tls_gcc.h
-include/grpc/support/tls_msvc.h
-include/grpc/support/tls_pthread.h
-include/grpc/support/useful.h
include/grpc/support/workaround_list.h
+include/grpcpp/alarm.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/health_check_service_server_builder_option.h
+include/grpcpp/ext/proto_server_reflection_plugin.h
+include/grpcpp/generic/async_generic_service.h
+include/grpcpp/generic/generic_stub.h
+include/grpcpp/grpcpp.h
+include/grpcpp/health_check_service_interface.h
+include/grpcpp/impl/call.h
+include/grpcpp/impl/channel_argument_option.h
+include/grpcpp/impl/client_unary_call.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/channel_interface.h
+include/grpcpp/impl/codegen/client_context.h
+include/grpcpp/impl/codegen/client_unary_call.h
+include/grpcpp/impl/codegen/completion_queue.h
+include/grpcpp/impl/codegen/completion_queue_tag.h
+include/grpcpp/impl/codegen/config.h
+include/grpcpp/impl/codegen/config_protobuf.h
+include/grpcpp/impl/codegen/core_codegen.h
+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/metadata_map.h
+include/grpcpp/impl/codegen/method_handler_impl.h
+include/grpcpp/impl/codegen/proto_utils.h
+include/grpcpp/impl/codegen/rpc_method.h
+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_context.h
+include/grpcpp/impl/codegen/server_interface.h
+include/grpcpp/impl/codegen/service_type.h
+include/grpcpp/impl/codegen/slice.h
+include/grpcpp/impl/codegen/status.h
+include/grpcpp/impl/codegen/status_code_enum.h
+include/grpcpp/impl/codegen/string_ref.h
+include/grpcpp/impl/codegen/stub_options.h
+include/grpcpp/impl/codegen/sync_stream.h
+include/grpcpp/impl/codegen/time.h
+include/grpcpp/impl/grpc_library.h
+include/grpcpp/impl/method_handler_impl.h
+include/grpcpp/impl/rpc_method.h
+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_plugin.h
+include/grpcpp/impl/server_initializer.h
+include/grpcpp/impl/service_type.h
+include/grpcpp/resource_quota.h
+include/grpcpp/security/auth_context.h
+include/grpcpp/security/auth_metadata_processor.h
+include/grpcpp/security/credentials.h
+include/grpcpp/security/server_credentials.h
+include/grpcpp/server.h
+include/grpcpp/server_builder.h
+include/grpcpp/server_context.h
+include/grpcpp/server_posix.h
+include/grpcpp/support/async_stream.h
+include/grpcpp/support/async_unary_call.h
+include/grpcpp/support/byte_buffer.h
+include/grpcpp/support/channel_arguments.h
+include/grpcpp/support/config.h
+include/grpcpp/support/error_details.h
+include/grpcpp/support/slice.h
+include/grpcpp/support/status.h
+include/grpcpp/support/status_code_enum.h
+include/grpcpp/support/string_ref.h
+include/grpcpp/support/stub_options.h
+include/grpcpp/support/sync_stream.h
+include/grpcpp/support/time.h
lib/cmake/grpc/gRPCConfig.cmake
lib/cmake/grpc/gRPCConfigVersion.cmake
lib/cmake/grpc/gRPCTargets-noconfig.cmake
lib/cmake/grpc/gRPCTargets.cmake
-lib/libgpr.a
-lib/libgrpc++.a
-lib/libgrpc++_cronet.a
-lib/libgrpc++_error_details.a
-lib/libgrpc++_reflection.a
-lib/libgrpc++_unsecure.a
-lib/libgrpc.a
-lib/libgrpc_cronet.a
+lib/libaddress_sorting.so.${PKGVERSION}
+lib/libaddress_sorting.so.1
+lib/libaddress_sorting.so
+lib/libgpr.so.${PKGVERSION}
+lib/libgpr.so.1
+lib/libgpr.so
+lib/libgrpc++.so.${PKGVERSION}
+lib/libgrpc++.so.1
+lib/libgrpc++.so
+lib/libgrpc++_cronet.so.${PKGVERSION}
+lib/libgrpc++_cronet.so.1
+lib/libgrpc++_cronet.so
+lib/libgrpc++_error_details.so.${PKGVERSION}
+lib/libgrpc++_error_details.so.1
+lib/libgrpc++_error_details.so
+lib/libgrpc++_reflection.so.${PKGVERSION}
+lib/libgrpc++_reflection.so.1
+lib/libgrpc++_reflection.so
+lib/libgrpc++_unsecure.so.${PKGVERSION}
+lib/libgrpc++_unsecure.so.1
+lib/libgrpc++_unsecure.so
+lib/libgrpc.so.${PKGVERSION}
+lib/libgrpc.so.1
+lib/libgrpc.so
+lib/libgrpc_cronet.so.${PKGVERSION}
+lib/libgrpc_cronet.so.1
+lib/libgrpc_cronet.so
+lib/libgrpc_csharp_ext.so.${PKGVERSION}
+lib/libgrpc_csharp_ext.so.1
lib/libgrpc_csharp_ext.so
-lib/libgrpc_plugin_support.a
-lib/libgrpc_unsecure.a
+lib/libgrpc_plugin_support.so.2.0.0
+lib/libgrpc_plugin_support.so.2
+lib/libgrpc_plugin_support.so
+lib/libgrpc_unsecure.so.${PKGVERSION}
+lib/libgrpc_unsecure.so.1
+lib/libgrpc_unsecure.so
diff -r 03ee6eda893e -r 856343789e25 net/grpc/buildlink3.mk
--- a/net/grpc/buildlink3.mk Fri Apr 27 15:09:05 2018 +0000
+++ b/net/grpc/buildlink3.mk Fri Apr 27 17:47:27 2018 +0000
@@ -1,13 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1 2017/10/23 15:48:04 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2018/04/27 17:47:27 minskim Exp $
BUILDLINK_TREE+= grpc
.if !defined(GRPC_BUILDLINK3_MK)
GRPC_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.grpc+= grpc>=1.6.7
+BUILDLINK_API_DEPENDS.grpc+= grpc>=1.11.0
BUILDLINK_PKGSRCDIR.grpc?= ../../net/grpc
+.include "../../devel/protobuf/buildlink3.mk"
.endif # GRPC_BUILDLINK3_MK
BUILDLINK_TREE+= -grpc
diff -r 03ee6eda893e -r 856343789e25 net/grpc/distinfo
--- a/net/grpc/distinfo Fri Apr 27 15:09:05 2018 +0000
+++ b/net/grpc/distinfo Fri Apr 27 17:47:27 2018 +0000
@@ -1,7 +1,10 @@
-$NetBSD: distinfo,v 1.3 2017/12/04 18:20:30 minskim Exp $
+$NetBSD: distinfo,v 1.4 2018/04/27 17:47:27 minskim Exp $
-SHA1 (grpc-1.7.2.tar.gz) = 697639b3e46e084eb2a23ec1a277f53444e144cd
-RMD160 (grpc-1.7.2.tar.gz) = 5e64429298e0189b637b0599a86e8596d08192b9
-SHA512 (grpc-1.7.2.tar.gz) = 54cb4165878fb3361cd7a81b631f1b20e991eadd286c0f6020542a8aa464cf30bdd1479dc413b767a1585bdc730e465a64c45e9e805723f38bd54521e1c4f942
-Size (grpc-1.7.2.tar.gz) = 4724465 bytes
-SHA1 (patch-CMakeLists.txt) = cad9e05c7c93e684456506cb5f8a195fdc7b8efc
+SHA1 (grpc-1.11.0.tar.gz) = e4ddeb1de8ccc00987a8a12879d0ecbfe9ccb5d6
+RMD160 (grpc-1.11.0.tar.gz) = 9d950dee2d00015f72066dd9b83c92b0a4bb81cb
+SHA512 (grpc-1.11.0.tar.gz) = 3127cf0e66cd0712d905e6008adf6f80d787ad97eae2fba38fa3f4d343849a3dc3ca8f2ccbc82020e812fdb272e9577584c298a5b623fbdcac40c1efd7877855
+Size (grpc-1.11.0.tar.gz) = 13431990 bytes
+SHA1 (patch-CMakeLists.txt) = 3bd2e5bc254a06b03578430eb57ea14c13336219
+SHA1 (patch-cmake_benchmark.cmake) = 031873ba9a8cd93d491693feb4d58e52a715cc64
+SHA1 (patch-cmake_cares.cmake) = 19324318dce81451bf7a53d0ca5a7e445a751db5
+SHA1 (patch-src_core_lib_gpr_arena.cc) = 57fdb3de54ce8548fa9b50ea360530c35c3e616c
diff -r 03ee6eda893e -r 856343789e25 net/grpc/patches/patch-CMakeLists.txt
--- a/net/grpc/patches/patch-CMakeLists.txt Fri Apr 27 15:09:05 2018 +0000
+++ b/net/grpc/patches/patch-CMakeLists.txt Fri Apr 27 17:47:27 2018 +0000
@@ -1,27 +1,111 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2017/10/27 16:45:34 minskim Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2018/04/27 17:47:27 minskim Exp $
-Make this build with pkgsrc google-benchmark and libcares.
+Add version number to shared libraries.
---- CMakeLists.txt.orig 2017-10-26 19:11:22.000000000 +0000
+--- CMakeLists.txt.orig 2018-04-13 18:08:11.000000000 +0000
+++ CMakeLists.txt
-@@ -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()
-+ set(_gRPC_CARES_LIBRARIES cares)
- endif()
- set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n find_package(c-ares CONFIG)\nendif()")
- endif()
-@@ -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")
-- find_package(benchmark)
- if(TARGET benchmark::benchmark)
- set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark)
- endif()
+@@ -171,7 +171,7 @@ function(protobuf_generate_grpc_cpp)
Home |
Main Index |
Thread Index |
Old Index