diff options
author | adam <adam@pkgsrc.org> | 2020-01-03 08:21:36 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-01-03 08:21:36 +0000 |
commit | 29c337b6b50c9990e7c483436452bb5232f4fb00 (patch) | |
tree | 5653f891bec3eee02c2480de447ac88478703ae0 /net/grpc/patches | |
parent | 5ae8b825ce7bb57e16641b81d221428e351714c5 (diff) | |
download | pkgsrc-29c337b6b50c9990e7c483436452bb5232f4fb00.tar.gz |
grpc: updated to 1.26.0
Release v1.26.0
This release contains refinements, improvements, and bug fixes, with highlights listed below.
Core
Fix compression filter crash on empty payload.
Ensure awake pollset_work threads exist on Windows.
Disable client_idle_filter.
Remove gpr_get/set_allocation_functions.
Security audit response.
C++
Automatically disable testing frameworks if gRPC_BUILD_TESTS=OFF.
Do not build channelz when gRPC_USE_PROTO_LITE.
Add options for all codegen plugins.
gRPC-C++ podspec follows gRPC versioning.
Issue 19208: Fix pollset_set_del_fd to cleanup all fd references.
De-duplicate .proto file processing.
cmake: Add VERSION and SOVERSION properties to libraries.
Python
Release Python3.8 wheels for Windows.
Release Python3.8 wheel on macOS.
Fix issue with exception being out of scope in Python 3.
[AIO] Implement the shutdown process for AIO server and completion queue.
Attempt to drop support for Python 3.4.
AIO Unified call interface.
Make sure Core aware of gevent Cython objects.
[bazel] Add an ability to call an optional custom plugin for py_proto_library and py_grpc_library.
Diffstat (limited to 'net/grpc/patches')
-rw-r--r-- | net/grpc/patches/patch-CMakeLists.txt | 13 | ||||
-rw-r--r-- | net/grpc/patches/patch-cmake_benchmark.cmake | 12 |
2 files changed, 13 insertions, 12 deletions
diff --git a/net/grpc/patches/patch-CMakeLists.txt b/net/grpc/patches/patch-CMakeLists.txt index 6066c8e21fe..c8c92857b3d 100644 --- a/net/grpc/patches/patch-CMakeLists.txt +++ b/net/grpc/patches/patch-CMakeLists.txt @@ -1,10 +1,10 @@ -$NetBSD: patch-CMakeLists.txt,v 1.6 2019/08/25 18:52:37 adam Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.7 2020/01/03 08:21:36 adam Exp $ Add version number to shared libraries. ---- CMakeLists.txt.orig 2019-08-14 21:29:55.000000000 +0000 +--- CMakeLists.txt.orig 2019-12-18 01:29:27.000000000 +0000 +++ CMakeLists.txt -@@ -205,7 +205,7 @@ function(protobuf_generate_grpc_cpp) +@@ -212,7 +212,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" @@ -13,9 +13,9 @@ Add version number to shared libraries. ARGS --grpc_out=generate_mock_code=true:${_gRPC_PROTO_GENS_DIR} --cpp_out=${_gRPC_PROTO_GENS_DIR} --plugin=protoc-gen-grpc=${_gRPC_CPP_PLUGIN} -@@ -19451,5 +19451,22 @@ foreach(_config gRPCConfig gRPCConfigVer - ) - endforeach() +@@ -18361,6 +18361,23 @@ install(FILES + DESTINATION ${gRPC_INSTALL_CMAKEDIR} + ) +foreach(_lib + address_sorting @@ -36,3 +36,4 @@ Add version number to shared libraries. + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/etc/roots.pem DESTINATION ${gRPC_INSTALL_SHAREDIR}) + diff --git a/net/grpc/patches/patch-cmake_benchmark.cmake b/net/grpc/patches/patch-cmake_benchmark.cmake index 41beeed4fab..65ccc605914 100644 --- a/net/grpc/patches/patch-cmake_benchmark.cmake +++ b/net/grpc/patches/patch-cmake_benchmark.cmake @@ -1,13 +1,13 @@ -$NetBSD: patch-cmake_benchmark.cmake,v 1.1 2018/04/27 17:47:27 minskim Exp $ +$NetBSD: patch-cmake_benchmark.cmake,v 1.2 2020/01/03 08:21:36 adam Exp $ Find benchmark from pkgsrc. ---- cmake/benchmark.cmake.orig 2018-04-13 18:08:11.000000000 +0000 +--- cmake/benchmark.cmake.orig 2019-12-18 01:29:27.000000000 +0000 +++ cmake/benchmark.cmake -@@ -26,8 +26,12 @@ if("${gRPC_BENCHMARK_PROVIDER}" STREQUAL - message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") +@@ -26,8 +26,12 @@ if(gRPC_BENCHMARK_PROVIDER STREQUAL "mod + message(WARNING "gRPC_BENCHMARK_PROVIDER is \"module\" but BENCHMARK_ROOT_DIR is wrong") endif() - elseif("${gRPC_BENCHMARK_PROVIDER}" STREQUAL "package") + elseif(gRPC_BENCHMARK_PROVIDER STREQUAL "package") - # Use "CONFIG" as there is no built-in cmake module for benchmark. - find_package(benchmark REQUIRED CONFIG) + find_path(BENCHMARK_INCLUDE_DIR benchmark/benchmark.h) @@ -18,4 +18,4 @@ Find benchmark from pkgsrc. + IMPORTED_LOCATION "${BENCHMARK_LIB}") if(TARGET benchmark::benchmark) set(_gRPC_BENCHMARK_LIBRARIES benchmark::benchmark) - # extract the include dir from target's properties + endif() |