1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00

Update to 1.8.3.

This commit is contained in:
Vanilla I. Shu 2018-01-06 10:34:54 +00:00
parent 8d0f0436f2
commit e36468a8b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458240
8 changed files with 22 additions and 19 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= grpcio
PORTVERSION= 1.7.0
PORTREVISION= 3
PORTVERSION= 1.8.3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -21,7 +20,7 @@ LIB_DEPENDS= libcares.so:dns/c-ares
BROKEN_powerpc64= fails to compile: cpu-ppc64le.c: 'AT_HWCAP2' undeclared
USES= localbase:ldflags python
USES= compiler:gcc-c++11-lib localbase:ldflags python
USE_PYTHON= autoplist distutils
CFLAGS+= -Ithird_party/boringssl/include
LDFLAGS+= -lcares

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1509152129
SHA256 (grpcio-1.7.0.tar.gz) = 6662af1f07cf7a3d171a7f56afc2cfeff262a5f2c52d15ae5ea581d0c367aea8
SIZE (grpcio-1.7.0.tar.gz) = 9999425
TIMESTAMP = 1515234584
SHA256 (grpcio-1.8.3.tar.gz) = 6ce5fd3093ddc09a152981d5c477ac645eda19dfcc819e45d8c57da6b743bd53
SIZE (grpcio-1.8.3.tar.gz) = 9991036

View File

@ -1,20 +1,24 @@
--- setup.py.orig 2017-10-26 17:03:10 UTC
--- setup.py.orig 2018-01-02 23:09:14 UTC
+++ setup.py
@@ -37,13 +37,6 @@ PYTHON_STEM = os.path.join('src', 'pytho
@@ -37,17 +37,6 @@ PYTHON_STEM = os.path.join('src', 'pytho
CORE_INCLUDE = ('include', '.',)
BORINGSSL_INCLUDE = (os.path.join('third_party', 'boringssl', 'include'),)
ZLIB_INCLUDE = (os.path.join('third_party', 'zlib'),)
-CARES_INCLUDE = (
- os.path.join('third_party', 'cares'),
- os.path.join('third_party', 'cares', 'cares'),)
-if 'linux' in sys.platform:
- CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_linux'),)
-if 'darwin' in sys.platform:
- CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_darwin'),)
-if 'freebsd' in sys.platform:
- CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_freebsd'),)
-if 'linux' in sys.platform:
- CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_linux'),)
-if 'openbsd' in sys.platform:
- CARES_INCLUDE += (os.path.join('third_party', 'cares', 'config_openbsd'),)
README = os.path.join(PYTHON_STEM, 'README.rst')
# Ensure we're in the proper directory whether or not we're being used by pip.
@@ -139,12 +132,9 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._
@@ -143,12 +132,9 @@ CYTHON_EXTENSION_MODULE_NAMES = ('grpc._
CYTHON_HELPER_C_FILES = ()
CORE_C_FILES = tuple(grpc_core_dependencies.CORE_SOURCE_FILES)

View File

@ -1,5 +1,5 @@
--- src/core/tsi/ssl_transport_security.c.orig 2017-10-26 17:03:10 UTC
+++ src/core/tsi/ssl_transport_security.c
--- src/core/tsi/ssl_transport_security.cc.orig 2018-01-02 23:09:14 UTC
+++ src/core/tsi/ssl_transport_security.cc
@@ -20,6 +20,7 @@
#include <grpc/support/port_platform.h>

View File

@ -1,6 +1,6 @@
--- src/python/grpcio/grpc_core_dependencies.py.orig 2017-10-26 17:03:11 UTC
--- src/python/grpcio/grpc_core_dependencies.py.orig 2018-01-02 23:09:14 UTC
+++ src/python/grpcio/grpc_core_dependencies.py
@@ -616,7 +616,6 @@ CORE_SOURCE_FILES = [
@@ -602,7 +602,6 @@ CORE_SOURCE_FILES = [
'third_party/boringssl/ssl/ssl_file.c',
'third_party/boringssl/ssl/ssl_lib.c',
'third_party/boringssl/ssl/ssl_privkey.c',
@ -8,7 +8,7 @@
'third_party/boringssl/ssl/ssl_session.c',
'third_party/boringssl/ssl/ssl_stat.c',
'third_party/boringssl/ssl/ssl_transcript.c',
@@ -644,53 +643,4 @@ CORE_SOURCE_FILES = [
@@ -630,53 +629,4 @@ CORE_SOURCE_FILES = [
'third_party/zlib/trees.c',
'third_party/zlib/uncompr.c',
'third_party/zlib/zutil.c',

View File

@ -1,4 +1,4 @@
--- third_party/boringssl/crypto/cpu-aarch64-linux.c.orig 2017-09-27 21:43:59 UTC
--- third_party/boringssl/crypto/cpu-aarch64-linux.c.orig 2018-01-02 23:09:20 UTC
+++ third_party/boringssl/crypto/cpu-aarch64-linux.c
@@ -16,7 +16,42 @@

View File

@ -1,4 +1,4 @@
--- third_party/boringssl/include/openssl/base.h.orig 2017-10-26 17:03:13 UTC
--- third_party/boringssl/include/openssl/base.h.orig 2018-01-02 23:09:20 UTC
+++ third_party/boringssl/include/openssl/base.h
@@ -328,9 +328,6 @@ typedef void *OPENSSL_BLOCK;
// MSVC doesn't set __cplusplus to 201103 to indicate C++11 support (see

View File

@ -1,4 +1,4 @@
--- third_party/boringssl/ssl/CMakeLists.txt.orig 2017-10-26 17:03:13 UTC
--- third_party/boringssl/ssl/CMakeLists.txt.orig 2018-01-02 23:09:20 UTC
+++ third_party/boringssl/ssl/CMakeLists.txt
@@ -25,7 +25,6 @@ add_library(
ssl_file.c