pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/grpc grpc: updated to 1.21.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a7b9aa2321b
branches:  trunk
changeset: 396405:9a7b9aa2321b
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri May 31 08:29:48 2019 +0000

description:
grpc: updated to 1.21.2

Release v1.21.2
This is the 1.21.2 patch release for the PHP extension only. Please do not use this release for other language.

PkgSrc:
Fix linking with c-ares.

diffstat:

 net/grpc/Makefile                        |   5 +++--
 net/grpc/distinfo                        |  11 +++++------
 net/grpc/patches/patch-cmake_cares.cmake |  22 ----------------------
 3 files changed, 8 insertions(+), 30 deletions(-)

diffs (67 lines):

diff -r 4e5d82da63f7 -r 9a7b9aa2321b net/grpc/Makefile
--- a/net/grpc/Makefile Fri May 31 08:11:39 2019 +0000
+++ b/net/grpc/Makefile Fri May 31 08:29:48 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2019/05/26 19:42:54 adam Exp $
+# $NetBSD: Makefile,v 1.12 2019/05/31 08:29:48 adam Exp $
 
-DISTNAME=      grpc-1.21.1
+DISTNAME=      grpc-1.21.2
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -27,6 +27,7 @@
 BUILDLINK_API_DEPENDS.protobuf+=       protobuf>=3.5
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libcares+=       libcares>=1.15.0nb1
 .include "../../net/libcares/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4e5d82da63f7 -r 9a7b9aa2321b net/grpc/distinfo
--- a/net/grpc/distinfo Fri May 31 08:11:39 2019 +0000
+++ b/net/grpc/distinfo Fri May 31 08:29:48 2019 +0000
@@ -1,12 +1,11 @@
-$NetBSD: distinfo,v 1.12 2019/05/26 19:42:54 adam Exp $
+$NetBSD: distinfo,v 1.13 2019/05/31 08:29:48 adam Exp $
 
-SHA1 (grpc-1.21.1.tar.gz) = ad7618a63679843c10dc38c1347d684b0c45c75b
-RMD160 (grpc-1.21.1.tar.gz) = 2180e7dd9f744fc2a99ca7de25b7a478d1aa1ded
-SHA512 (grpc-1.21.1.tar.gz) = b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
-Size (grpc-1.21.1.tar.gz) = 15043553 bytes
+SHA1 (grpc-1.21.2.tar.gz) = e561bc5428f2f22127b475ec28518919473e4837
+RMD160 (grpc-1.21.2.tar.gz) = 5272ed8067e322395022f3cf984dad2b38f24338
+SHA512 (grpc-1.21.2.tar.gz) = b7e2981096f5404c31c97200cc4ffbc8b2bb4646fb52e1823f21045711547e1500bf720f160840ee7288524df3f96671e18a760c8dce015a060900867520148e
+Size (grpc-1.21.2.tar.gz) = 15043280 bytes
 SHA1 (patch-CMakeLists.txt) = f3cf27ec59109a8a0a6fa8aebd2ffa1871c29442
 SHA1 (patch-cmake_benchmark.cmake) = 031873ba9a8cd93d491693feb4d58e52a715cc64
-SHA1 (patch-cmake_cares.cmake) = 19324318dce81451bf7a53d0ca5a7e445a751db5
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = b8d07e5bbf04694df00d0d19884844b791eb002c
 SHA1 (patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc) = aff0ff2ff52753c3a169d1f7b939b894dda013f9
 SHA1 (patch-src_core_lib_iomgr_port.h) = e3c5e6ee071557c717df0a1a61597f9906fbeff5
diff -r 4e5d82da63f7 -r 9a7b9aa2321b net/grpc/patches/patch-cmake_cares.cmake
--- a/net/grpc/patches/patch-cmake_cares.cmake  Fri May 31 08:11:39 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-cmake_cares.cmake,v 1.1 2018/04/27 17:47:27 minskim Exp $
-
-Find libcares from pkgsrc.
-
---- cmake/cares.cmake.orig     2018-04-13 18:08:11.000000000 +0000
-+++ cmake/cares.cmake
-@@ -31,10 +31,11 @@ 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)
--  if(TARGET c-ares::cares)
--    set(_gRPC_CARES_LIBRARIES c-ares::cares)
--    set(_gRPC_CARES_INCLUDE_DIR ${c-ares_INCLUDE_DIR})
-+  find_package(PkgConfig REQUIRED)
-+  pkg_search_module(cares REQUIRED IMPORTED_TARGET libcares)
-+  if(TARGET PkgConfig::cares)
-+    set(_gRPC_CARES_LIBRARIES PkgConfig::cares)
-+    set(_gRPC_CARES_INCLUDE_DIR ${cares_INCLUDE_DIRS})
-   endif()
-   set(_gRPC_FIND_CARES "if(NOT c-ares_FOUND)\n  find_package(c-ares CONFIG)\nendif()")
- endif()



Home | Main Index | Thread Index | Old Index