Index: head/devel/grpc/Makefile =================================================================== --- head/devel/grpc/Makefile (revision 463480) +++ head/devel/grpc/Makefile (revision 463481) @@ -1,41 +1,41 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= grpc -PORTVERSION= 1.9.1 +PORTVERSION= 1.10.0 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= vanilla@FreeBSD.org COMMENT= HTTP/2-based RPC framework LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_SSL= openssl-devel BROKEN_SSL_REASON_openssl-devel= use of undeclared identifier 'SSL_get0_next_proto_negotiated' BUILD_DEPENDS= go:lang/go \ yasm:devel/yasm LIB_DEPENDS= libgflags.so:devel/gflags \ libprotobuf.so:devel/protobuf \ libcares.so:dns/c-ares USES= cmake localbase:ldflags perl5 pkgconfig ssl USE_GITHUB= yes GH_TUPLE= google:benchmark:v1.3.0:benchmark/third_party/benchmark USE_LDCONFIG= yes USE_PERL5= build PLIST_SUB+= SOVERSION=${PORTVERSION} LDFLAGS+= -lcares CMAKE_ARGS= -DgRPC_ZLIB_PROVIDER:STRING="package" \ -DgRPC_PROTOBUF_PROVIDER:STRING="package" \ -DgRPC_GFLAGS_PROVIDER:STRING="package" \ -DgRPC_SSL_PROVIDER:STRING="package" \ -DgRPC_CARES_PROVIDER:STRING="package" \ -DgRPC_BENCHMARK_PROVIDER:STRING="module" \ -DBENCHMARK_USE_LIBCXX=ON \ -DBUILD_SHARED_LIBS=ON .include Index: head/devel/grpc/distinfo =================================================================== --- head/devel/grpc/distinfo (revision 463480) +++ head/devel/grpc/distinfo (revision 463481) @@ -1,5 +1,5 @@ -TIMESTAMP = 1518005979 -SHA256 (grpc-grpc-v1.9.1_GH0.tar.gz) = fac236d49fb3e89399b68a5aa944fc69221769bcedd099d47eb6f93e59035c40 -SIZE (grpc-grpc-v1.9.1_GH0.tar.gz) = 4648929 +TIMESTAMP = 1520000484 +SHA256 (grpc-grpc-v1.10.0_GH0.tar.gz) = 39a73de6fa2a03bdb9c43c89a4283e09880833b3c1976ef3ce3edf45c8cacf72 +SIZE (grpc-grpc-v1.10.0_GH0.tar.gz) = 13160605 SHA256 (google-benchmark-v1.3.0_GH0.tar.gz) = f19559475a592cbd5ac48b61f6b9cedf87f0b6775d1443de54cfe8f53940b28d SIZE (google-benchmark-v1.3.0_GH0.tar.gz) = 105485 Index: head/devel/grpc/files/patch-CMakeLists.txt =================================================================== --- head/devel/grpc/files/patch-CMakeLists.txt (revision 463480) +++ head/devel/grpc/files/patch-CMakeLists.txt (revision 463481) @@ -1,90 +1,90 @@ ---- CMakeLists.txt.orig 2018-02-01 19:36:08 UTC +--- CMakeLists.txt.orig 2018-03-01 18:16:44 UTC +++ CMakeLists.txt -@@ -669,6 +669,7 @@ add_library(gpr +@@ -666,6 +666,7 @@ add_library(gpr src/core/lib/profiling/basic_timers.cc src/core/lib/profiling/stap_timers.cc ) +set_target_properties(gpr PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(gpr PROPERTIES COMPILE_PDB_NAME "gpr" -@@ -1044,6 +1045,7 @@ add_library(grpc +@@ -1032,6 +1033,7 @@ add_library(grpc src/core/ext/filters/workarounds/workaround_utils.cc src/core/plugin_registry/grpc_plugin_registry.cc ) +set_target_properties(grpc PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc PROPERTIES COMPILE_PDB_NAME "grpc" -@@ -1355,6 +1357,7 @@ add_library(grpc_cronet +@@ -1343,6 +1345,7 @@ add_library(grpc_cronet src/core/ext/filters/load_reporting/server_load_reporting_plugin.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" -@@ -2192,6 +2195,7 @@ add_library(grpc_unsecure +@@ -2220,6 +2223,7 @@ add_library(grpc_unsecure src/core/ext/filters/workarounds/workaround_utils.cc src/core/plugin_registry/grpc_unsecure_plugin_registry.cc ) +set_target_properties(grpc_unsecure PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc_unsecure PROPERTIES COMPILE_PDB_NAME "grpc_unsecure" -@@ -2400,6 +2404,7 @@ add_library(grpc++ +@@ -2429,6 +2433,7 @@ add_library(grpc++ src/cpp/util/time_cc.cc 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++" -@@ -2880,6 +2885,7 @@ add_library(grpc++_cronet +@@ -2969,6 +2974,7 @@ add_library(grpc++_cronet third_party/nanopb/pb_decode.c third_party/nanopb/pb_encode.c ) +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" -@@ -3076,6 +3082,7 @@ add_library(grpc++_error_details +@@ -3231,6 +3237,7 @@ add_library(grpc++_error_details ${_gRPC_PROTO_GENS_DIR}/src/proto/grpc/status/status.grpc.pb.h src/cpp/util/error_details.cc ) +set_target_properties(grpc++_error_details PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc++_error_details PROPERTIES COMPILE_PDB_NAME "grpc++_error_details" -@@ -3198,6 +3205,7 @@ add_library(grpc++_reflection +@@ -3355,6 +3362,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 ) +set_target_properties(grpc++_reflection PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc++_reflection PROPERTIES COMPILE_PDB_NAME "grpc++_reflection" -@@ -3611,6 +3619,7 @@ add_library(grpc++_unsecure +@@ -3834,6 +3842,7 @@ add_library(grpc++_unsecure src/cpp/util/time_cc.cc src/cpp/codegen/codegen_init.cc ) +set_target_properties(grpc++_unsecure PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc++_unsecure PROPERTIES COMPILE_PDB_NAME "grpc++_unsecure" -@@ -3916,6 +3925,7 @@ add_library(grpc_plugin_support +@@ -4206,6 +4215,7 @@ add_library(grpc_plugin_support src/compiler/python_generator.cc src/compiler/ruby_generator.cc ) +set_target_properties(grpc_plugin_support PROPERTIES VERSION 2.0.0 SOVERSION 2) if(WIN32 AND MSVC) set_target_properties(grpc_plugin_support PROPERTIES COMPILE_PDB_NAME "grpc_plugin_support" -@@ -4409,6 +4419,7 @@ endif (gRPC_BUILD_TESTS) +@@ -4700,6 +4710,7 @@ endif (gRPC_BUILD_TESTS) add_library(grpc_csharp_ext SHARED src/csharp/ext/grpc_csharp_ext.c ) +set_target_properties(grpc_csharp_ext PROPERTIES VERSION ${PACKAGE_VERSION} SOVERSION 1) if(WIN32 AND MSVC) set_target_properties(grpc_csharp_ext PROPERTIES COMPILE_PDB_NAME "grpc_csharp_ext" Index: head/devel/grpc/files/patch-cmake_cares.cmake =================================================================== --- head/devel/grpc/files/patch-cmake_cares.cmake (revision 463480) +++ head/devel/grpc/files/patch-cmake_cares.cmake (revision 463481) @@ -1,12 +1,12 @@ ---- cmake/cares.cmake.orig 2018-02-01 19:36:08 UTC +--- cmake/cares.cmake.orig 2018-03-01 18:16:44 UTC +++ cmake/cares.cmake -@@ -30,7 +30,8 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo - set(gRPC_INSTALL FALSE) +@@ -31,7 +31,8 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo endif() elseif("${gRPC_CARES_PROVIDER}" STREQUAL "package") + # Use "CONFIG" as there is no built-in cmake module for c-ares. - find_package(c-ares REQUIRED CONFIG) + find_package(PkgConfig REQUIRED) + pkg_search_module(CARES REQUIRED libcares) if(TARGET c-ares::cares) set(_gRPC_CARES_LIBRARIES c-ares::cares) set(_gRPC_CARES_INCLUDE_DIR ${c-ares_INCLUDE_DIR}) Index: head/devel/grpc/files/patch-src_core_lib_gpr_arena.cc =================================================================== --- head/devel/grpc/files/patch-src_core_lib_gpr_arena.cc (nonexistent) +++ head/devel/grpc/files/patch-src_core_lib_gpr_arena.cc (revision 463481) @@ -0,0 +1,11 @@ +--- src/core/lib/gpr/arena.cc.orig 2018-03-02 14:59:20 UTC ++++ src/core/lib/gpr/arena.cc +@@ -83,7 +83,7 @@ void* gpr_arena_alloc(gpr_arena* arena, + ROUND_UP_TO_ALIGNMENT_SIZE(sizeof(zone)) + next_z_size)); + next_z->size_begin = z->size_end; + next_z->size_end = z->size_end + next_z_size; +- if (!gpr_atm_rel_cas(&z->next_atm, static_cast(NULL), ++ if (!gpr_atm_rel_cas(&z->next_atm, (gpr_atm)NULL, + (gpr_atm)next_z)) { + gpr_free_aligned(next_z); + next_z = (zone*)gpr_atm_acq_load(&z->next_atm); Property changes on: head/devel/grpc/files/patch-src_core_lib_gpr_arena.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/grpc/pkg-plist =================================================================== --- head/devel/grpc/pkg-plist (revision 463480) +++ head/devel/grpc/pkg-plist (revision 463481) @@ -1,202 +1,272 @@ bin/check_epollexclusive bin/gen_hpack_tables bin/gen_legal_metadata_characters bin/gen_percent_encoding_tables 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/benchmark/benchmark.h include/benchmark/benchmark_api.h include/benchmark/reporter.h include/grpc++/alarm.h include/grpc++/channel.h include/grpc++/client_context.h include/grpc++/completion_queue.h include/grpc++/create_channel.h include/grpc++/create_channel_posix.h include/grpc++/ext/health_check_service_server_builder_option.h include/grpc++/ext/proto_server_reflection_plugin.h include/grpc++/generic/async_generic_service.h include/grpc++/generic/generic_stub.h include/grpc++/grpc++.h include/grpc++/health_check_service_interface.h include/grpc++/impl/call.h include/grpc++/impl/channel_argument_option.h 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 include/grpc++/impl/codegen/client_context.h include/grpc++/impl/codegen/client_unary_call.h include/grpc++/impl/codegen/completion_queue.h include/grpc++/impl/codegen/completion_queue_tag.h include/grpc++/impl/codegen/config.h include/grpc++/impl/codegen/config_protobuf.h include/grpc++/impl/codegen/core_codegen.h include/grpc++/impl/codegen/core_codegen_interface.h include/grpc++/impl/codegen/create_auth_context.h include/grpc++/impl/codegen/grpc_library.h include/grpc++/impl/codegen/metadata_map.h include/grpc++/impl/codegen/method_handler_impl.h include/grpc++/impl/codegen/proto_utils.h include/grpc++/impl/codegen/rpc_method.h include/grpc++/impl/codegen/rpc_service_method.h include/grpc++/impl/codegen/security/auth_context.h include/grpc++/impl/codegen/serialization_traits.h include/grpc++/impl/codegen/server_context.h include/grpc++/impl/codegen/server_interface.h include/grpc++/impl/codegen/service_type.h include/grpc++/impl/codegen/slice.h include/grpc++/impl/codegen/status.h include/grpc++/impl/codegen/status_code_enum.h include/grpc++/impl/codegen/string_ref.h include/grpc++/impl/codegen/stub_options.h include/grpc++/impl/codegen/sync_stream.h include/grpc++/impl/codegen/time.h include/grpc++/impl/grpc_library.h include/grpc++/impl/method_handler_impl.h include/grpc++/impl/rpc_method.h include/grpc++/impl/rpc_service_method.h include/grpc++/impl/serialization_traits.h include/grpc++/impl/server_builder_option.h include/grpc++/impl/server_builder_plugin.h include/grpc++/impl/server_initializer.h include/grpc++/impl/service_type.h include/grpc++/resource_quota.h include/grpc++/security/auth_context.h include/grpc++/security/auth_metadata_processor.h include/grpc++/security/credentials.h include/grpc++/security/server_credentials.h include/grpc++/server.h include/grpc++/server_builder.h include/grpc++/server_context.h include/grpc++/server_posix.h include/grpc++/support/async_stream.h include/grpc++/support/async_unary_call.h include/grpc++/support/byte_buffer.h include/grpc++/support/channel_arguments.h include/grpc++/support/config.h include/grpc++/support/error_details.h include/grpc++/support/slice.h include/grpc++/support/status.h include/grpc++/support/status_code_enum.h include/grpc++/support/string_ref.h include/grpc++/support/stub_options.h include/grpc++/support/sync_stream.h include/grpc++/support/time.h 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 include/grpc/grpc_security.h include/grpc/grpc_security_constants.h 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/fork.h 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/port_platform.h include/grpc/impl/codegen/propagation_bits.h 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 include/grpc/load_reporting.h include/grpc/slice.h include/grpc/slice_buffer.h include/grpc/status.h include/grpc/support/alloc.h include/grpc/support/atm.h 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/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/benchmark/benchmarkConfig.cmake lib/cmake/benchmark/benchmarkConfigVersion.cmake lib/cmake/benchmark/benchmarkTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/benchmark/benchmarkTargets.cmake lib/cmake/grpc/gRPCConfig.cmake lib/cmake/grpc/gRPCConfigVersion.cmake lib/cmake/grpc/gRPCTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/grpc/gRPCTargets.cmake lib/libbenchmark.so lib/libbenchmark.so.0 lib/libbenchmark.so.0.0.0 lib/libgpr.so lib/libgpr.so.1 lib/libgpr.so.%%SOVERSION%% lib/libgrpc++.so lib/libgrpc++.so.1 lib/libgrpc++.so.%%SOVERSION%% lib/libgrpc++_cronet.so lib/libgrpc++_cronet.so.1 lib/libgrpc++_cronet.so.%%SOVERSION%% lib/libgrpc++_error_details.so lib/libgrpc++_error_details.so.1 lib/libgrpc++_error_details.so.%%SOVERSION%% lib/libgrpc++_reflection.so lib/libgrpc++_reflection.so.1 lib/libgrpc++_reflection.so.%%SOVERSION%% lib/libgrpc++_unsecure.so lib/libgrpc++_unsecure.so.1 lib/libgrpc++_unsecure.so.%%SOVERSION%% lib/libgrpc.so lib/libgrpc.so.1 lib/libgrpc.so.%%SOVERSION%% lib/libgrpc_cronet.so lib/libgrpc_cronet.so.1 lib/libgrpc_cronet.so.%%SOVERSION%% lib/libgrpc_csharp_ext.so lib/libgrpc_csharp_ext.so.1 lib/libgrpc_csharp_ext.so.%%SOVERSION%% 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.1 lib/libgrpc_unsecure.so.%%SOVERSION%%