svn commit: r451588 - in head/devel/grpc: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Mon Oct 9 09:19:50 UTC 2017
Author: vanilla
Date: Mon Oct 9 09:19:47 2017
New Revision: 451588
URL: https://svnweb.freebsd.org/changeset/ports/451588
Log:
1: Update to 1.6.6.
2: Fix building when openssl < 1.0.2
Modified:
head/devel/grpc/Makefile
head/devel/grpc/distinfo
head/devel/grpc/files/patch-CMakeLists.txt
head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.c
head/devel/grpc/files/patch-src_core_tsi_ssl__transport__security.c
Modified: head/devel/grpc/Makefile
==============================================================================
--- head/devel/grpc/Makefile Mon Oct 9 09:04:00 2017 (r451587)
+++ head/devel/grpc/Makefile Mon Oct 9 09:19:47 2017 (r451588)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= grpc
-PORTVERSION= 1.6.5
+PORTVERSION= 1.6.6
DISTVERSIONPREFIX= v
CATEGORIES= devel
@@ -26,7 +26,7 @@ USE_PERL5= build
PLIST_SUB+= SOVERSION=${PORTVERSION}
LDFLAGS+= -lcares
-CMAKE_ARGS= -DgRPC_ZLIB_PROVIDER:STRING="package" \
+CMAKE_ARGS= -DgRPC_ZLIB_PROVIDER:STRING="package" \
-DgRPC_PROTOBUF_PROVIDER:STRING="package" \
-DgRPC_GFLAGS_PROVIDER:STRING="package" \
-DgRPC_SSL_PROVIDER:STRING="package" \
Modified: head/devel/grpc/distinfo
==============================================================================
--- head/devel/grpc/distinfo Mon Oct 9 09:04:00 2017 (r451587)
+++ head/devel/grpc/distinfo Mon Oct 9 09:19:47 2017 (r451588)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1507083365
-SHA256 (grpc-grpc-v1.6.5_GH0.tar.gz) = 939e686dc5b6221f959b839df0987fa9eda08ba8d72530ff7946d7226c2cb5ea
-SIZE (grpc-grpc-v1.6.5_GH0.tar.gz) = 4835696
+TIMESTAMP = 1507381124
+SHA256 (grpc-grpc-v1.6.6_GH0.tar.gz) = b97eaa0c8a63b0492dc94bdad621795b4815278e841f06b0c78d6bcbd4c8bdec
+SIZE (grpc-grpc-v1.6.6_GH0.tar.gz) = 4835930
SHA256 (google-benchmark-v1.2.0_GH0.tar.gz) = 3dcc90c158838e2ac4a7ad06af9e28eb5877cf28252a81e55eb3c836757d3070
SIZE (google-benchmark-v1.2.0_GH0.tar.gz) = 102297
Modified: head/devel/grpc/files/patch-CMakeLists.txt
==============================================================================
--- head/devel/grpc/files/patch-CMakeLists.txt Mon Oct 9 09:04:00 2017 (r451587)
+++ head/devel/grpc/files/patch-CMakeLists.txt Mon Oct 9 09:19:47 2017 (r451588)
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig 2017-10-03 19:53:08 UTC
+--- CMakeLists.txt.orig 2017-10-05 19:05:39 UTC
+++ CMakeLists.txt
@@ -156,7 +156,8 @@ if("${gRPC_CARES_PROVIDER}" STREQUAL "mo
set(gRPC_INSTALL FALSE)
Modified: head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.c
==============================================================================
--- head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.c Mon Oct 9 09:04:00 2017 (r451587)
+++ head/devel/grpc/files/patch-src_core_lib_security_credentials_jwt_jwt__verifier.c Mon Oct 9 09:19:47 2017 (r451588)
@@ -1,4 +1,4 @@
---- src/core/lib/security/credentials/jwt/jwt_verifier.c.orig 2017-10-06 04:31:53 UTC
+--- src/core/lib/security/credentials/jwt/jwt_verifier.c.orig 2017-10-05 19:05:39 UTC
+++ src/core/lib/security/credentials/jwt/jwt_verifier.c
@@ -462,7 +462,7 @@ static BIGNUM *bignum_from_base64(grpc_e
return result;
Modified: head/devel/grpc/files/patch-src_core_tsi_ssl__transport__security.c
==============================================================================
--- head/devel/grpc/files/patch-src_core_tsi_ssl__transport__security.c Mon Oct 9 09:04:00 2017 (r451587)
+++ head/devel/grpc/files/patch-src_core_tsi_ssl__transport__security.c Mon Oct 9 09:19:47 2017 (r451588)
@@ -1,4 +1,4 @@
---- src/core/tsi/ssl_transport_security.c.orig 2017-10-03 19:53:08 UTC
+--- src/core/tsi/ssl_transport_security.c.orig 2017-10-05 19:05:39 UTC
+++ src/core/tsi/ssl_transport_security.c
@@ -20,6 +20,7 @@
@@ -8,3 +8,18 @@
#include <limits.h>
#include <string.h>
+@@ -54,11 +55,10 @@
+ #define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_UPPER_BOUND 16384
+ #define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_LOWER_BOUND 1024
+
+-/* Putting a macro like this and littering the source file with #if is really
+- bad practice.
+- TODO(jboeuf): refactor all the #if / #endif in a separate module. */
+-#ifndef TSI_OPENSSL_ALPN_SUPPORT
++#if OPENSSL_VERSION_NUMBER >= 0x10002000L
+ #define TSI_OPENSSL_ALPN_SUPPORT 1
++#else
++#define TSI_OPENSSL_ALPN_SUPPORT 0
+ #endif
+
+ /* TODO(jboeuf): I have not found a way to get this number dynamically from the
More information about the svn-ports-head
mailing list