pkgsrc-Changes archive

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

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Jul  9 07:23:44 UTC 2020

Modified Files:
        pkgsrc/net/grpc: Makefile distinfo
        pkgsrc/net/py-grpcio: Makefile distinfo
        pkgsrc/net/py-grpcio-testing: Makefile distinfo
        pkgsrc/net/py-grpcio-tools: Makefile distinfo
        pkgsrc/net/py-grpcio/patches: patch-setup.py

Log Message:
grpc: updated to 1.30.1

Release v1.30.1
This release is a patch specifically for the Ruby bindings

Release v1.30.0
Core
This release adds an xDS URI scheme called xds. This is the stable version of the scheme xds-experimental that was introduced in v1.28.0. xds-experimental scheme will be removed in subsequent 
releases so you must switch to xds scheme instead. xds scheme is a client side implementation of xDSv2 APIs. This allows a gRPC client written in C++, Python, Ruby, PHP and C# to receive 
configuration from an xDSv2 API compatible server and use that configuration to load balance RPCs. In this release, only the virtual host matching, default path (“” or “/”) matching and cluster route 
action are supported. The features supported in a given release are documented here.
Remove unnamed typedef structs in src/core.
Support xDS via both xds and xds-experimental URI schemes.
Fix sorting of gRPCLB addresses when resolved via DNS.
Support local creds in grpc_cli.
Add some additional delay when sending pings without there being activity on receive side.
Added GRPC_TSAN_SUPPRESSED and GRPC_ASAN_SUPPRESSED.
Fail decompression when the gzip trailer is missing.
Include source address in tcp posix async connect errors.
Fix HTTP status conversion inconsistencies.
Add GRPC_ARG_HTTP_PROXY channel argument.
Include the query type and name in all c-ares DNS error messages.
Include the destination address in synchronous TCP connect errors.
Use aligned calculation to determine transport stream from call data.
Fixing bug with END_STREAM if header has continuations.
Fail writes when End of stream has been received.

C++
Fix missing include for std::string.
Don't override cmake cxx standard when already set by the user.
Grpc.Tools: Fix cpp paths in tools to match actual codegen.
TlsCredentialsOption API optimization.
Fixed MinGW 7.3.0 shared library compile and link issues.
Fix interceptor batch method FailHijackedRecvMessage for async APIs.

Python
Add Aio stream stream client interceptor support.
[Aio] Add AsyncIO support for Channelz.
Stop memory leak when Python channel is deallocated without invoking "close".
Expose ALTS client/server credentials in Python API.
[Aio] Stream Unary client interceptor.
[Aio] Make sync handlers runnable in AsyncIO server.
[Aio] Add AsyncIO support to grpcio-status.
[Aio] Implement the Unary Stream client interceptor.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/grpc/Makefile pkgsrc/net/grpc/distinfo
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/py-grpcio/Makefile \
    pkgsrc/net/py-grpcio/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-grpcio-testing/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/py-grpcio-testing/distinfo
cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/py-grpcio-tools/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/py-grpcio-tools/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/py-grpcio/patches/patch-setup.py

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.26 pkgsrc/net/grpc/Makefile:1.27
--- pkgsrc/net/grpc/Makefile:1.26       Sat Jun 13 11:26:31 2020
+++ pkgsrc/net/grpc/Makefile    Thu Jul  9 07:23:43 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2020/06/13 11:26:31 nia Exp $
+# $NetBSD: Makefile,v 1.27 2020/07/09 07:23:43 adam Exp $
 
-DISTNAME=      grpc-1.29.1
+DISTNAME=      grpc-1.30.1
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=grpc/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
Index: pkgsrc/net/grpc/distinfo
diff -u pkgsrc/net/grpc/distinfo:1.26 pkgsrc/net/grpc/distinfo:1.27
--- pkgsrc/net/grpc/distinfo:1.26       Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/grpc/distinfo    Thu Jul  9 07:23:43 2020
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.26 2020/06/03 09:28:53 adam Exp $
+$NetBSD: distinfo,v 1.27 2020/07/09 07:23:43 adam Exp $
 
-SHA1 (grpc-1.29.1.tar.gz) = 4a81f15d24d8e8e0087f809ada0284de26c037e7
-RMD160 (grpc-1.29.1.tar.gz) = 0d72870a79f963169bce54ad438183949696c63b
-SHA512 (grpc-1.29.1.tar.gz) = d8dec0e8e8f9ee58a3cf0df74237c43e4aa43db99d078fedca486dea101743f2a3891a16e3aaa7b4c72a581e4305dd215d1ba12d2b34c6610eff17d851f183cd
-Size (grpc-1.29.1.tar.gz) = 6900234 bytes
+SHA1 (grpc-1.30.1.tar.gz) = 624a5ae7dba778ac0c2bf82e7e146a2c0603e1d1
+RMD160 (grpc-1.30.1.tar.gz) = 8536e08f18acfe02e2afccb9b21fdc8863697a2e
+SHA512 (grpc-1.30.1.tar.gz) = b1920983039d4b5a93c84bf0855c09bc862b4750e4d612c1064c808ac076c67d31a1366997ac02c7ba909ef0afd04a3a983129bc478d9e77331bf19f21a09db6
+Size (grpc-1.30.1.tar.gz) = 6978027 bytes
 SHA1 (patch-CMakeLists.txt) = af17a03bdbb2b7905ced111b3c13c80b0cf3fec2
 SHA1 (patch-cmake_benchmark.cmake) = 6a7880c30019a723a35b56b0c5bd2d730b36550d
 SHA1 (patch-include_grpc_impl_codegen_port__platform.h) = b8d07e5bbf04694df00d0d19884844b791eb002c

Index: pkgsrc/net/py-grpcio/Makefile
diff -u pkgsrc/net/py-grpcio/Makefile:1.18 pkgsrc/net/py-grpcio/Makefile:1.19
--- pkgsrc/net/py-grpcio/Makefile:1.18  Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio/Makefile       Thu Jul  9 07:23:44 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2020/06/03 09:28:53 adam Exp $
+# $NetBSD: Makefile,v 1.19 2020/07/09 07:23:44 adam Exp $
 
-DISTNAME=      grpcio-1.29.0
+DISTNAME=      grpcio-1.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio/}
Index: pkgsrc/net/py-grpcio/distinfo
diff -u pkgsrc/net/py-grpcio/distinfo:1.18 pkgsrc/net/py-grpcio/distinfo:1.19
--- pkgsrc/net/py-grpcio/distinfo:1.18  Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio/distinfo       Thu Jul  9 07:23:44 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.18 2020/06/03 09:28:53 adam Exp $
+$NetBSD: distinfo,v 1.19 2020/07/09 07:23:44 adam Exp $
 
-SHA1 (grpcio-1.29.0.tar.gz) = 47e041a99183e015110332dc4676469998a71498
-RMD160 (grpcio-1.29.0.tar.gz) = 498f83a3dcda10a2003f767cb2cae898c6f053c8
-SHA512 (grpcio-1.29.0.tar.gz) = 4713f4dca84dded08fd65f12339332600fc3390fec9d4a9e0e127bf4c6d255251508a00b391177f44ed18c4f36e7d845f0cfa5e19066a77954ac82f8ce0eacff
-Size (grpcio-1.29.0.tar.gz) = 19571997 bytes
-SHA1 (patch-setup.py) = a9ee35b61a80532680c9443ae4ba042582ea1c53
+SHA1 (grpcio-1.30.0.tar.gz) = 64a6541ef998c77fa4dbc60b7f23bf067e6c36eb
+RMD160 (grpcio-1.30.0.tar.gz) = 994432167572a3779d84b29cc4e49b9b1288640a
+SHA512 (grpcio-1.30.0.tar.gz) = 5060198c5765ff3f2417453a0cad58dfabed676166265ce3d580976cdb5e9d00e64648626e998cb66f96ba477b85cacd8610aa8598e65ac8758ff9a09083db5b
+Size (grpcio-1.30.0.tar.gz) = 19674635 bytes
+SHA1 (patch-setup.py) = 60a9d7acb285af64289fd4fe5f4323ed890d72d2
 SHA1 (patch-src_core_lib_iomgr_port.h) = 8f088cbf22110c03a684c24c9e17ef5fc64e925a

Index: pkgsrc/net/py-grpcio-testing/Makefile
diff -u pkgsrc/net/py-grpcio-testing/Makefile:1.6 pkgsrc/net/py-grpcio-testing/Makefile:1.7
--- pkgsrc/net/py-grpcio-testing/Makefile:1.6   Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio-testing/Makefile       Thu Jul  9 07:23:44 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2020/06/03 09:28:53 adam Exp $
+# $NetBSD: Makefile,v 1.7 2020/07/09 07:23:44 adam Exp $
 
-DISTNAME=      grpcio-testing-1.29.0
+DISTNAME=      grpcio-testing-1.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-testing/}

Index: pkgsrc/net/py-grpcio-testing/distinfo
diff -u pkgsrc/net/py-grpcio-testing/distinfo:1.5 pkgsrc/net/py-grpcio-testing/distinfo:1.6
--- pkgsrc/net/py-grpcio-testing/distinfo:1.5   Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio-testing/distinfo       Thu Jul  9 07:23:44 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2020/06/03 09:28:53 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/07/09 07:23:44 adam Exp $
 
-SHA1 (grpcio-testing-1.29.0.tar.gz) = 9d1750f5dad1378a25591c88ccd868c35413f88e
-RMD160 (grpcio-testing-1.29.0.tar.gz) = 16a28e29565957269ee215a0b3729d906c5fe964
-SHA512 (grpcio-testing-1.29.0.tar.gz) = 9d8e5799baad36ea7bdfe9ed83756860e2e406b94487d4ff6e454a0fde69a23b3f6a7a6fc3031221e1c6ad8b324b09c2791add6623d3e8e12b2b1797397fe9c4
-Size (grpcio-testing-1.29.0.tar.gz) = 16613 bytes
+SHA1 (grpcio-testing-1.30.0.tar.gz) = d69d3dfed5185372f32e2afa8f813964e869aad3
+RMD160 (grpcio-testing-1.30.0.tar.gz) = b89695c6984ac3e716be135c1c2ab85060e7b744
+SHA512 (grpcio-testing-1.30.0.tar.gz) = e2776385d29e1f257812eb1a6776b1a6de27e97da5d3db874accedead73947b345ccf2c6a19ae1c5839a687464969d16a701a2e9b72f017262d6dfdb075ddfaf
+Size (grpcio-testing-1.30.0.tar.gz) = 16525 bytes

Index: pkgsrc/net/py-grpcio-tools/Makefile
diff -u pkgsrc/net/py-grpcio-tools/Makefile:1.16 pkgsrc/net/py-grpcio-tools/Makefile:1.17
--- pkgsrc/net/py-grpcio-tools/Makefile:1.16    Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio-tools/Makefile Thu Jul  9 07:23:43 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2020/06/03 09:28:53 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/07/09 07:23:43 adam Exp $
 
-DISTNAME=      grpcio-tools-1.29.0
+DISTNAME=      grpcio-tools-1.30.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/grpcio-tools/}

Index: pkgsrc/net/py-grpcio-tools/distinfo
diff -u pkgsrc/net/py-grpcio-tools/distinfo:1.14 pkgsrc/net/py-grpcio-tools/distinfo:1.15
--- pkgsrc/net/py-grpcio-tools/distinfo:1.14    Wed Jun  3 09:28:53 2020
+++ pkgsrc/net/py-grpcio-tools/distinfo Thu Jul  9 07:23:43 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.14 2020/06/03 09:28:53 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/07/09 07:23:43 adam Exp $
 
-SHA1 (grpcio-tools-1.29.0.tar.gz) = 9d2b7fd80b7b6bafbe664681add5027e9f8c7e24
-RMD160 (grpcio-tools-1.29.0.tar.gz) = f393a6263822031be1a204465a14c4c3b1616206
-SHA512 (grpcio-tools-1.29.0.tar.gz) = 4651e2e9b43d6f721bbf533475d7e88f879b49053a000983f2f772e2265f711baa93265457e5526e9e58c16892eab89e4b61e53f8cdfdf22b3717e30cd7123e3
-Size (grpcio-tools-1.29.0.tar.gz) = 1987172 bytes
+SHA1 (grpcio-tools-1.30.0.tar.gz) = d5ef07ae8622201fd4c6799bde1ef3decdc3e8d8
+RMD160 (grpcio-tools-1.30.0.tar.gz) = dc091f7d8359d6b6ee92df740b4af99165114d24
+SHA512 (grpcio-tools-1.30.0.tar.gz) = 0a14e6f1b52852ab489b66b68cd5aed9cc88cceb3ab6fdba4bd53e3a71d9801d75252f58adce64845251164b03ca099150ff0260d3c6d84648ce1b15d2b2ae56
+Size (grpcio-tools-1.30.0.tar.gz) = 2060447 bytes
 SHA1 (patch-setup.py) = 080ba75a31b51631000e79006316e0a2d5ce6cee

Index: pkgsrc/net/py-grpcio/patches/patch-setup.py
diff -u pkgsrc/net/py-grpcio/patches/patch-setup.py:1.6 pkgsrc/net/py-grpcio/patches/patch-setup.py:1.7
--- pkgsrc/net/py-grpcio/patches/patch-setup.py:1.6     Sat Apr  4 09:30:37 2020
+++ pkgsrc/net/py-grpcio/patches/patch-setup.py Thu Jul  9 07:23:44 2020
@@ -1,55 +1,62 @@
-$NetBSD: patch-setup.py,v 1.6 2020/04/04 09:30:37 adam Exp $
+$NetBSD: patch-setup.py,v 1.7 2020/07/09 07:23:44 adam Exp $
 
 Fix libatomic detection.
 Use dependencies in pkgsrc.
 
---- setup.py.orig      2020-04-03 01:18:49.000000000 +0000
+--- setup.py.orig      2020-06-22 21:42:24.000000000 +0000
 +++ setup.py
-@@ -146,7 +146,7 @@ def check_linker_need_libatomic():
-   """Test if linker on system needs libatomic."""
-   code_test = (b'#include <atomic>\n' +
-                b'int main() { return std::atomic<int64_t>{}; }')
--  cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
-+  cc_test = subprocess.Popen(['c++', '-x', 'c++', '-std=c++11', '-'],
-                              stdin=PIPE,
-                              stdout=PIPE,
-                              stderr=PIPE)
-@@ -235,19 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = (
-     UPB_GRPC_GENERATED_INCLUDE +
-     ZLIB_INCLUDE)
+@@ -150,7 +150,7 @@ def check_linker_need_libatomic():
+     """Test if linker on system needs libatomic."""
+     code_test = (b'#include <atomic>\n' +
+                  b'int main() { return std::atomic<int64_t>{}; }')
+-    cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
++    cc_test = subprocess.Popen(['c++', '-x', 'c++', '-std=c++11', '-'],
+                                stdin=PIPE,
+                                stdout=PIPE,
+                                stderr=PIPE)
+@@ -235,26 +235,7 @@ EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON
+                                  SSL_INCLUDE + UPB_INCLUDE +
+                                  UPB_GRPC_GENERATED_INCLUDE + ZLIB_INCLUDE)
  
 -EXTENSION_LIBRARIES = ()
 -if "linux" in sys.platform:
--  EXTENSION_LIBRARIES += ('rt',)
+-    EXTENSION_LIBRARIES += ('rt',)
 -if not "win32" in sys.platform:
--  EXTENSION_LIBRARIES += ('m',)
+-    EXTENSION_LIBRARIES += ('m',)
 -if "win32" in sys.platform:
--  EXTENSION_LIBRARIES += ('advapi32', 'ws2_32', 'dbghelp',)
+-    EXTENSION_LIBRARIES += (
+-        'advapi32',
+-        'ws2_32',
+-        'dbghelp',
+-    )
 -if BUILD_WITH_SYSTEM_OPENSSL:
--  EXTENSION_LIBRARIES += ('ssl', 'crypto',)
+-    EXTENSION_LIBRARIES += (
+-        'ssl',
+-        'crypto',
+-    )
 -if BUILD_WITH_SYSTEM_ZLIB:
--  EXTENSION_LIBRARIES += ('z',)
+-    EXTENSION_LIBRARIES += ('z',)
 -if BUILD_WITH_SYSTEM_CARES:
--  EXTENSION_LIBRARIES += ('cares',)
+-    EXTENSION_LIBRARIES += ('cares',)
 +EXTENSION_LIBRARIES = ('grpc',)
  
  DEFINE_MACROS = (('OPENSSL_NO_ASM', 1), ('_WIN32_WINNT', 0x600))
  if not DISABLE_LIBC_COMPATIBILITY:
-@@ -295,7 +283,7 @@ def cython_extensions_and_necessity():
-                   for name in CYTHON_EXTENSION_MODULE_NAMES]
-   config = os.environ.get('CONFIG', 'opt')
-   prefix = 'libs/' + config + '/'
--  if USE_PREBUILT_GRPC_CORE:
-+  if False:
-     extra_objects = [prefix + 'libares.a',
-                      prefix + 'libboringssl.a',
-                      prefix + 'libgpr.a',
-@@ -307,7 +295,7 @@ def cython_extensions_and_necessity():
-   extensions = [
-       _extension.Extension(
-           name=module_name,
--          sources=[module_file] + list(CYTHON_HELPER_C_FILES) + core_c_files,
-+          sources=[module_file] + list(CYTHON_HELPER_C_FILES),
-           include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES),
-           libraries=list(EXTENSION_LIBRARIES),
-           define_macros=list(DEFINE_MACROS),
+@@ -311,7 +292,7 @@ def cython_extensions_and_necessity():
+     ]
+     config = os.environ.get('CONFIG', 'opt')
+     prefix = 'libs/' + config + '/'
+-    if USE_PREBUILT_GRPC_CORE:
++    if False:
+         extra_objects = [
+             prefix + 'libares.a', prefix + 'libboringssl.a',
+             prefix + 'libgpr.a', prefix + 'libgrpc.a'
+@@ -323,7 +304,7 @@ def cython_extensions_and_necessity():
+     extensions = [
+         _extension.Extension(
+             name=module_name,
+-            sources=[module_file] + list(CYTHON_HELPER_C_FILES) + core_c_files,
++            sources=[module_file] + list(CYTHON_HELPER_C_FILES),
+             include_dirs=list(EXTENSION_INCLUDE_DIRECTORIES),
+             libraries=list(EXTENSION_LIBRARIES),
+             define_macros=list(DEFINE_MACROS),



Home | Main Index | Thread Index | Old Index