Hello community, here is the log from the commit of package grpc for openSUSE:Factory checked in at 2019-11-08 15:28:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grpc (Old) and /work/SRC/openSUSE:Factory/.grpc.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc" Fri Nov 8 15:28:03 2019 rev:19 rq:746510 version:1.23.1 Changes: -------- --- /work/SRC/openSUSE:Factory/grpc/grpc.changes 2019-10-12 22:45:38.045336997 +0200 +++ /work/SRC/openSUSE:Factory/.grpc.new.2990/grpc.changes 2019-11-08 15:28:10.959155479 +0100 @@ -1,0 +2,7 @@ +Tue Nov 5 00:43:17 UTC 2019 - MichaĆ Rostecki <mroste...@opensuse.org> + +- Add patch which replaces BoringSSL with OpenSSL as the SSL + library when grpc is used as a Bazel dependency: + * 0001-bazel-Replace-boringssl-with-openssl.patch + +------------------------------------------------------------------- New: ---- 0001-bazel-Replace-boringssl-with-openssl.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grpc.spec ++++++ --- /var/tmp/diff_new_pack.o4HMj6/_old 2019-11-08 15:28:11.783156405 +0100 +++ /var/tmp/diff_new_pack.o4HMj6/_new 2019-11-08 15:28:11.783156405 +0100 @@ -31,6 +31,7 @@ Source0: https://github.com/grpc/grpc/archive/v%rver.tar.gz Source1: %{name}-rpmlintrc Patch1: gettid.patch +Patch2: 0001-bazel-Replace-boringssl-with-openssl.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -114,6 +115,7 @@ %prep %autosetup -n grpc-%rver -p1 +sed -i -e "s|%%LIBDIR%%|%{_libdir}|" bazel/grpc_deps.bzl %build %define _lto_cflags %nil ++++++ 0001-bazel-Replace-boringssl-with-openssl.patch ++++++ >From 0b2a289c98e5cd953e7c239327e96891b511532e Mon Sep 17 00:00:00 2001 From: Michal Rostecki <mroste...@opensuse.org> Date: Tue, 5 Nov 2019 01:33:28 +0100 Subject: [PATCH] bazel: Replace boringssl with openssl Signed-off-by: Michal Rostecki <mroste...@opensuse.org> --- bazel/grpc_deps.bzl | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index cce2f88fe8..ebcafed427 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -28,7 +28,7 @@ def grpc_deps(): native.bind( name = "libssl", - actual = "@boringssl//:ssl", + actual = "@openssl//:openssl-lib", ) native.bind( @@ -101,13 +101,19 @@ def grpc_deps(): actual = "@io_opencensus_cpp//opencensus/stats:test_utils", ) - if "boringssl" not in native.existing_rules(): - http_archive( - name = "boringssl", - # on the chromium-stable-with-bazel branch - # NOTE: This URL generates a tarball containing dynamic date - # information, so the sha256 is not consistent. - url = "https://boringssl.googlesource.com/boringssl/+archive/afc30d43eef92979b05776ec0963c9cede5fb80f.tar.gz", + if "openssl" not in native.existing_rules(): + native.new_local_repository( + name = "openssl", + path = "%LIBDIR%", + build_file_content = """cc_library( + name = "openssl-lib", + srcs = [ + "libssl.so.1.1", + "libcrypto.so.1.1", + ], + visibility = ["//visibility:public"], + linkstatic = False, +)""", ) if "zlib" not in native.existing_rules(): -- 2.16.4