[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-12-25 Thread Conrad Kostecki
commit: 112d6d4495c3e6547d53746c109fb689af18e0a9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Dec 25 19:21:07 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 25 19:22:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112d6d44

net-libs/grpc: add 1.60.0

Closes: https://bugs.gentoo.org/915482
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.60.0.ebuild | 111 +++
 2 files changed, 112 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e2b42171062c..7f8917ce7461 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a64533
 DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B 
b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b8fa810202106251f440d
 SHA512 
ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
 DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 
52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d
 SHA512 
2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a
 DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 
10c6fb35f606806aeb25cd55dd993d9af168eb8b1db64b4515830e2144dc44f35ce8f8329316a38d933b8032a0eff386591a0ddb87f2e405c5deaba012db2824
 SHA512 
b323de7c1f35b9de3fb7bf02ff4db6993abb0eee6860bbf2082818dda405fbe3a19fad91c5b48565cb65c6318de739bb91e47b5095801c078c6cbf3e8c73600c
+DIST grpc-1.60.0.tar.gz 17442762 BLAKE2B 
35cc0ea938deb848ca91e3d5f8879b85b80f94ac09b582600f05fee1f55c162ae98f2f744480f69d78e78da0c0f2d9e198f812101daaa1f1959869f26ba7d97a
 SHA512 
91c2406ed4198509ac0d5360b3da6898fa4f40f459eb6fff541faa44cc238eed98fd7489e7ef7a80a6f4a318bc5b9130eaa0ba1beaa358d1c074fc82825648ff

diff --git a/net-libs/grpc/grpc-1.60.0.ebuild b/net-libs/grpc/grpc-1.60.0.ebuild
new file mode 100644
index ..4a22cee5664a
--- /dev/null
+++ b/net-libs/grpc/grpc-1.60.0.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/37.160"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test systemd"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20230802.0*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-23.3:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=(
+)
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2023-08-21 Thread Sam James
commit: 785694f030cc5eeb3d919e37e606a046bac25584
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 19:52:49 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 19:52:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785694f0

net-libs/grpc: fix CMake module

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/files/grpc-1.57.0-fix-cmake.patch| 29 ++
 .../{grpc-1.57.0.ebuild => grpc-1.57.0-r1.ebuild}  |  4 +++
 2 files changed, 33 insertions(+)

diff --git a/net-libs/grpc/files/grpc-1.57.0-fix-cmake.patch 
b/net-libs/grpc/files/grpc-1.57.0-fix-cmake.patch
new file mode 100644
index ..1caa9e9bb8f8
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.57.0-fix-cmake.patch
@@ -0,0 +1,29 @@
+https://github.com/grpc/grpc/pull/33361
+
+From 117dc80eb43021dd5619023ef6d02d0d6ec7ae7a Mon Sep 17 00:00:00 2001
+From: Carlo Cabrera <30379873+carlo...@users.noreply.github.com>
+Date: Wed, 7 Jun 2023 13:06:49 +0800
+Subject: [PATCH] [Build] fix `gRPCConfig.cmake`
+
+Without this change, calling `find_package(gRPC REQUIRED)` errors out
+with
+
+CMake Error at /opt/homebrew/lib/cmake/grpc/gRPCConfig.cmake:8 
(find_dependency):
+  Unknown CMake command "find_dependency".
+
+The issue is that `find_dependency` is provided by the
+`CMakeFindDependencyMacro` module[^1], so we need to `include` it before
+use.
+
+[^1]: https://cmake.org/cmake/help/v3.26/module/CMakeFindDependencyMacro.html
+--- a/cmake/protobuf.cmake
 b/cmake/protobuf.cmake
+@@ -86,6 +86,6 @@ elseif(gRPC_PROTOBUF_PROVIDER STREQUAL "package")
+ set(_gRPC_PROTOBUF_PROTOC_EXECUTABLE ${PROTOBUF_PROTOC_EXECUTABLE})
+   endif()
+ endif()
+-set(_gRPC_FIND_PROTOBUF "find_dependency(Protobuf CONFIG)")
++set(_gRPC_FIND_PROTOBUF 
"include(CMakeFindDependencyMacro)\nfind_dependency(Protobuf CONFIG)")
+   endif()
+ endif()
+

diff --git a/net-libs/grpc/grpc-1.57.0.ebuild 
b/net-libs/grpc/grpc-1.57.0-r1.ebuild
similarity index 98%
rename from net-libs/grpc/grpc-1.57.0.ebuild
rename to net-libs/grpc/grpc-1.57.0-r1.ebuild
index 77e08df80530..3b44163c341f 100644
--- a/net-libs/grpc/grpc-1.57.0.ebuild
+++ b/net-libs/grpc/grpc-1.57.0-r1.ebuild
@@ -43,6 +43,10 @@ RESTRICT="test"
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.57.0-fix-cmake.patch
+)
+
 soversion_check() {
local core_sover cpp_sover
# extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: 1d6d7be3058c432e609760c4383f7acd0179ac4e
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 18:21:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 18:22:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6d7be3

net-libs/grpc: add 1.57.0

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.57.0.ebuild | 108 +++
 2 files changed, 109 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 4fc21427782a..e2b42171062c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
 DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B 
b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b8fa810202106251f440d
 SHA512 
ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
 DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 
52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d
 SHA512 
2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a
+DIST grpc-1.57.0.tar.gz 17337863 BLAKE2B 
10c6fb35f606806aeb25cd55dd993d9af168eb8b1db64b4515830e2144dc44f35ce8f8329316a38d933b8032a0eff386591a0ddb87f2e405c5deaba012db2824
 SHA512 
b323de7c1f35b9de3fb7bf02ff4db6993abb0eee6860bbf2082818dda405fbe3a19fad91c5b48565cb65c6318de739bb91e47b5095801c078c6cbf3e8c73600c

diff --git a/net-libs/grpc/grpc-1.57.0.ebuild b/net-libs/grpc/grpc-1.57.0.ebuild
new file mode 100644
index ..77e08df80530
--- /dev/null
+++ b/net-libs/grpc/grpc-1.57.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/34.157"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test systemd"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20230125.3*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-23.3:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   systemd? ( sys-apps/systemd:= )
+"
+DEPEND="
+   ${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: fac39f7470bcbcb959dc586da3b7bb51b6c974c4
Author: Mark Conway  themobiusproject  com>
AuthorDate: Mon Jun 26 00:51:01 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:29:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac39f74

net-libs/grpc: version bump to 1.55.1

Closes: https://bugs.gentoo.org/908373
Signed-off-by: Mark Conway  themobiusproject.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/Manifest   |   2 +
 net-libs/grpc/grpc-1.55.1.ebuild | 107 +++
 2 files changed, 109 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 748c6d78954c..4fc21427782a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,3 @@
 DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758
+DIST grpc-1.55.1.tar.gz 9272441 BLAKE2B 
b2788d8deeb9791f04073294caa82c10e2cfe6376d09f396b51508a52f809e7f9f48d50ad5a62b2add652633b5c2d3b1ba07857b8fa810202106251f440d
 SHA512 
ecfa3a5affe33f160032f2ce42a9b44344d217359f68ee99305162ccabc911f44bc22512401183de74347e86add2ce20ec89da87ba6c14ab69874eb0835145d1
+DIST grpc-1.56.1.tar.gz 11750628 BLAKE2B 
52ea088d3d19fa7c1d1dc44899cd67bfd0132df2fd37690d855194d3196e4c26cfdd6fe589b5e4f802cdf88e70aad6c33b3ee98c1bd1bc47356d0dee9cdc706d
 SHA512 
2bf9619edb60a6cec4cdaa89ee3c470c52b9745ea954bfe205aef6eb29bb55949de02e8c2afc7352eacdcd33fe4000861fd16fda9e5f66c87222674b17d6322a

diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.55.1.ebuild
new file mode 100644
index ..69d10308272e
--- /dev/null
+++ b/net-libs/grpc/grpc-1.55.1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/32.155"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20230125.2*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-22:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   -DCMAKE_CXX_STANDARD=17
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   find examples -name '.gitignore' -delete 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: a5c74e0a36a2dbb1afd8597df55a179bacc45786
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 13 12:27:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:29:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c74e0a

net-libs/grpc: add 1.56.1

Bug: https://bugs.gentoo.org/908373
Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.55.1.ebuild  |  2 +-
 .../grpc/{grpc-1.55.1.ebuild => grpc-1.56.1.ebuild}   | 19 +--
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.55.1.ebuild
index 69d10308272e..dbbe581c6f0b 100644
--- a/net-libs/grpc/grpc-1.55.1.ebuild
+++ b/net-libs/grpc/grpc-1.55.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
 

diff --git a/net-libs/grpc/grpc-1.55.1.ebuild b/net-libs/grpc/grpc-1.56.1.ebuild
similarity index 96%
copy from net-libs/grpc/grpc-1.55.1.ebuild
copy to net-libs/grpc/grpc-1.56.1.ebuild
index 69d10308272e..c49f2007237e 100644
--- a/net-libs/grpc/grpc-1.55.1.ebuild
+++ b/net-libs/grpc/grpc-1.56.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
 
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/32.155"
+SLOT="0/33.156"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
@@ -22,13 +22,13 @@ RDEPEND="
=dev-cpp/abseil-cpp-20230125.2*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-22:=
+   >=dev-libs/protobuf-23.3:=
dev-libs/xxhash
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
 "
-
-DEPEND="${RDEPEND}
+DEPEND="
+   ${RDEPEND}
test? (
dev-cpp/benchmark
dev-cpp/gflags
@@ -72,20 +72,19 @@ src_configure() {
 
local mycmakeargs=(
-DgRPC_INSTALL=ON
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-DgRPC_PROTOBUF_PROVIDER=package
-DgRPC_RE2_PROVIDER=package
-DgRPC_SSL_PROVIDER=package
-DgRPC_ZLIB_PROVIDER=package
-DgRPC_BUILD_TESTS=$(usex test)
-   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
-DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
)
-
cmake_src_configure
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: 5e5c09a353cb926469b60ef6c84c3b11bbbfac3e
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 17:30:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 17:30:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5c09a3

net-libs/grpc: fix IndirectInherits for filter-lto

Closes: https://github.com/gentoo/gentoo/pull/31893
Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index c36f6dbeb491..69608ae12606 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: 4cb9998d486e5fcc04997676ea534b102b78b2f4
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 16:35:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 16:35:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb9998d

Revert "net-libs/grpc: bundle abseil-cpp"

This reverts commit 61d0b43d739b703ee9f25abefb04ba0bdf1ac158.

I need to check the install again.

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/Manifest  |  1 -
 .../grpc/{grpc-1.52.1-r1.ebuild => grpc-1.52.1.ebuild}  | 17 -
 2 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f96b5140be56..748c6d78954c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1 @@
-DIST abseil-cpp-20220623.1.tar.gz 1957483 BLAKE2B 
5bcf60b5a55882bcb78c7095a9892f6d1e5819fb116e325a8299fb22780ab009f0e1d92d5d8aca5ae0d4acc6d60e620e3357a24e389059f6e75d94f1cbdc1ced
 SHA512 
ab4fccd9a2bfa0c5ad4b56c8e8f8b7ec7a8eca8b6cc6959802acadd1da785e1feb078c6ac621808cd699c82717a9e637dc426d94b70a8db7f2a807059d41cbc2
 DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758

diff --git a/net-libs/grpc/grpc-1.52.1-r1.ebuild 
b/net-libs/grpc/grpc-1.52.1.ebuild
similarity index 82%
rename from net-libs/grpc/grpc-1.52.1-r1.ebuild
rename to net-libs/grpc/grpc-1.52.1.ebuild
index 780e0ab91b8f..c36f6dbeb491 100644
--- a/net-libs/grpc/grpc-1.52.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -3,20 +3,13 @@
 
 EAPI=8
 
-inherit cmake flag-o-matic
+inherit cmake
 
 MY_PV="${PV//_pre/-pre}"
-# Check third_party/abseil-cpp's commit for each tag of ${PN}
-# It may correspond to a commit of abseil-cpp - if so, use the tarball for it
-# and not an arbitrary commit.
-ABSEIL_COMMIT="20220623.1"
 
 DESCRIPTION="Modern open source high performance RPC framework"
 HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
-   
https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSEIL_COMMIT}.tar.gz 
-> abseil-cpp-${ABSEIL_COMMIT}.tar.gz
-"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
@@ -26,6 +19,7 @@ IUSE="doc examples test"
 
 # look for submodule versions in third_party dir
 RDEPEND="
+   =dev-cpp/abseil-cpp-20220623.1*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -78,10 +72,7 @@ src_configure() {
 
local mycmakeargs=(
-DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=module
-   -DgRPC_INSTALL=OFF
-   -DABSL_ENABLE_INSTALL=OFF
-   -DABSL_ROOT_DIR="${WORKDIR}"/abseil-cpp-${ABSEIL_COMMIT}
+   -DgRPC_ABSL_PROVIDER=package
-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
-DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-08-21 Thread Sam James
commit: 61d0b43d739b703ee9f25abefb04ba0bdf1ac158
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 21 15:03:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 21 15:23:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d0b43d

net-libs/grpc: bundle abseil-cpp

abseil isn't *really* intended to be a system library and having a year-old
pinned dep like this causes havoc for other packages and leads to uninstallable
combinations (e.g. libreoffice-bin + anything needing grpc).

Please see also the extensive discussion in the linked PRs wrt abseil now
depending on re2 and the ABI implications of the used C++ std. versions with
abseil. It's not worth it and there's more downsides to unbundling than not.

Note that we can't rebundle re2 here because the build system unconditionally
then tries to install it (no toggle unlike for abseil-cpp).

Bug: https://bugs.gentoo.org/906811
Bug: https://github.com/gentoo/gentoo/pull/31388
Bug: https://github.com/gentoo/gentoo/pull/31609
Bug: https://github.com/gentoo/gentoo/pull/31893
Bug: https://github.com/gentoo/gentoo/pull/32281
Closes: https://bugs.gentoo.org/908373
Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/Manifest  |  1 +
 .../grpc/{grpc-1.52.1.ebuild => grpc-1.52.1-r1.ebuild}  | 17 +
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 748c6d78954c..f96b5140be56 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,2 @@
+DIST abseil-cpp-20220623.1.tar.gz 1957483 BLAKE2B 
5bcf60b5a55882bcb78c7095a9892f6d1e5819fb116e325a8299fb22780ab009f0e1d92d5d8aca5ae0d4acc6d60e620e3357a24e389059f6e75d94f1cbdc1ced
 SHA512 
ab4fccd9a2bfa0c5ad4b56c8e8f8b7ec7a8eca8b6cc6959802acadd1da785e1feb078c6ac621808cd699c82717a9e637dc426d94b70a8db7f2a807059d41cbc2
 DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild 
b/net-libs/grpc/grpc-1.52.1-r1.ebuild
similarity index 82%
rename from net-libs/grpc/grpc-1.52.1.ebuild
rename to net-libs/grpc/grpc-1.52.1-r1.ebuild
index c36f6dbeb491..780e0ab91b8f 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1-r1.ebuild
@@ -3,13 +3,20 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
+# Check third_party/abseil-cpp's commit for each tag of ${PN}
+# It may correspond to a commit of abseil-cpp - if so, use the tarball for it
+# and not an arbitrary commit.
+ABSEIL_COMMIT="20220623.1"
 
 DESCRIPTION="Modern open source high performance RPC framework"
 HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
+   
https://github.com/abseil/abseil-cpp/archive/refs/tags/${ABSEIL_COMMIT}.tar.gz 
-> abseil-cpp-${ABSEIL_COMMIT}.tar.gz
+"
 
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
@@ -19,7 +26,6 @@ IUSE="doc examples test"
 
 # look for submodule versions in third_party dir
 RDEPEND="
-   =dev-cpp/abseil-cpp-20220623.1*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -72,7 +78,10 @@ src_configure() {
 
local mycmakeargs=(
-DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_ABSL_PROVIDER=module
+   -DgRPC_INSTALL=OFF
+   -DABSL_ENABLE_INSTALL=OFF
+   -DABSL_ROOT_DIR="${WORKDIR}"/abseil-cpp-${ABSEIL_COMMIT}
-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-DgRPC_CARES_PROVIDER=package
-DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-05-26 Thread Andreas Sturmlechner
commit: 56c82b5ff87e2e6f921fc37d162b8642533c937d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun May 14 08:54:53 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri May 26 20:21:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c82b5f

net-libs/grpc: drop 1.43.0, 1.43.0-r1, 1.51.1-r1, 1.52.0

Closes: https://bugs.gentoo.org/905350
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/grpc/Manifest  |   3 -
 net-libs/grpc/grpc-1.43.0-r1.ebuild | 105 ---
 net-libs/grpc/grpc-1.43.0.ebuild| 101 --
 net-libs/grpc/grpc-1.51.1-r1.ebuild | 106 
 net-libs/grpc/grpc-1.52.0.ebuild| 106 
 5 files changed, 421 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 7321af99dcc7..748c6d78954c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1 @@
-DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
-DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 
83ba62e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7
 SHA512 
1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
-DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B 
de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028
 SHA512 
a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7
 DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758

diff --git a/net-libs/grpc/grpc-1.43.0-r1.ebuild 
b/net-libs/grpc/grpc-1.43.0-r1.ebuild
deleted file mode 100644
index 2b89ffd2bc51..
--- a/net-libs/grpc/grpc-1.43.0-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
-   =dev-cpp/abseil-cpp-20211102.0*:=
-   >=dev-libs/re2-0.2021.11.01:=
-   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-3.18.1:=
-   dev-libs/xxhash
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   dev-cpp/benchmark
-   dev-cpp/gflags
-   )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
-   local core_sover cpp_sover
-   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
-   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   # remove dots, e.g. 1.37 -> 137
-   core_sover="${core_sover//./}"
-   cpp_sover="${cpp_sover//./}"
-   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
-   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
-   soversion_check
-}
-
-src_configure() {
-   # https://github.com/grpc/grpc/issues/29652
-   # issue says 1.46.1 but apparently this is affected too
-   filter-lto
-
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-  

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-05-14 Thread Sam James
commit: 9c7efdc231957194f053861ebe8e69eb3ba6103b
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 08:48:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 08:48:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7efdc2

net-libs/grpc: Stabilize 1.52.1 arm64, #905350

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index f1722e1283de..c36f6dbeb491 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-05-14 Thread Sam James
commit: a8f106ffd4549eb7641f4603e9d160b372c71dfa
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 08:48:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 08:48:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8f106ff

net-libs/grpc: Stabilize 1.52.1 x86, #905350

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index ab5a05aa3718..f1722e1283de 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-05-14 Thread Sam James
commit: 2ddabddb716038b0614026e95783b2e837e8f695
Author: Sam James  gentoo  org>
AuthorDate: Sun May 14 08:48:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May 14 08:48:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ddabddb

net-libs/grpc: Stabilize 1.52.1 amd64, #905350

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.52.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
index 1bc65a8edf87..ab5a05aa3718 100644
--- a/net-libs/grpc/grpc-1.52.1.ebuild
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-27 Thread WANG Xuerui
commit: 0b1c4e15e900b90f2ee158191243876a31569c15
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Feb 27 09:06:32 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Feb 27 09:10:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1c4e15

net-libs/grpc: add 1.52.1

Signed-off-by: WANG Xuerui  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.52.1.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f812a0c1784b..7321af99dcc7 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
 DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 
83ba62e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7
 SHA512 
1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
 DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B 
de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028
 SHA512 
a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7
+DIST grpc-1.52.1.tar.gz 8686340 BLAKE2B 
0076ddd4a2840892f4ad11885e18f782b6a645337224974522c5f828d0226d6a1e19aaaf0f30ea3225d56118e0cfc251d45b8d5e6811c2d1a84e274ff037bb53
 SHA512 
06c69fb817af75b2610761a3a193178b749755eb7bed58875aa251def7c0c253cdaf02cf834c31c8b2cae7b01a6081e2aece4b131a162f64bd45ff0aff4d7758

diff --git a/net-libs/grpc/grpc-1.52.1.ebuild b/net-libs/grpc/grpc-1.52.1.ebuild
new file mode 100644
index ..1bc65a8edf87
--- /dev/null
+++ b/net-libs/grpc/grpc-1.52.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/30.152"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20220623.1*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.18.1:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-24 Thread Arthur Zamarin
commit: 460f17816b4bd5cff5596cf13467c3a3dc6b575a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb 24 17:10:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb 24 17:10:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460f1781

net-libs/grpc: Keyword 1.52.0 arm, #893926

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 93523a5bfd23..1bc65a8edf87 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-20 Thread Arthur Zamarin
commit: 8fea7d44933bf76e1426295e2b13837b92a9a1b5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Feb 20 21:29:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Feb 20 21:29:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fea7d44

net-libs/grpc: Keyword 1.52.0 x86, #893926

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 4449a9c03c1a..93523a5bfd23 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-15 Thread WANG Xuerui
commit: 56b44122265b2b5b1ba03dc8b35edb014b0471cc
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Feb 14 08:45:18 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Feb 16 05:51:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56b44122

net-libs/grpc: keyword 1.52.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 53d1716e94df..4449a9c03c1a 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-12 Thread Jakov Smolić
commit: e716d0786d8ad25cc171aa1ac18747dec7882fd7
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 12 18:42:08 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 12 18:42:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e716d078

net-libs/grpc: Keyword 1.52.0 arm64, #893926

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index cfce1f5ddfd4..f9f7765da1ba 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~riscv"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-12 Thread Jakov Smolić
commit: da66e567bd7397959b286b5c5cdd7cb818b854fe
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 12 18:42:09 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 12 18:42:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da66e567

net-libs/grpc: Keyword 1.52.0 ppc64, #893926

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index f9f7765da1ba..53d1716e94df 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-12 Thread Jakov Smolić
commit: 019ea2e7120a5dc2f59489389468b3617285c56c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 12 18:36:45 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 12 18:36:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=019ea2e7

net-libs/grpc: Keyword 1.52.0 riscv, #893926

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/grpc/grpc-1.52.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
index 7c1681b6c9a7..cfce1f5ddfd4 100644
--- a/net-libs/grpc/grpc-1.52.0.ebuild
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/30.152"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-10 Thread WANG Xuerui
commit: 39b0f7a6171777fd1898120dbb7841ea5d001c28
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Feb  7 10:11:03 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Feb 11 07:47:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39b0f7a6

net-libs/grpc: filter-lto

See: https://github.com/grpc/grpc/issues/29652
Closes: https://bugs.gentoo.org/861476
Signed-off-by: WANG Xuerui  gentoo.org>

 .../grpc/{grpc-1.51.1.ebuild => grpc-1.43.0-r1.ebuild}   | 16 +---
 .../grpc/{grpc-1.51.1.ebuild => grpc-1.51.1-r1.ebuild}   |  5 -
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/net-libs/grpc/grpc-1.51.1.ebuild 
b/net-libs/grpc/grpc-1.43.0-r1.ebuild
similarity index 90%
copy from net-libs/grpc/grpc-1.51.1.ebuild
copy to net-libs/grpc/grpc-1.43.0-r1.ebuild
index f3edebd3268c..2b89ffd2bc51 100644
--- a/net-libs/grpc/grpc-1.51.1.ebuild
+++ b/net-libs/grpc/grpc-1.43.0-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=8
+EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
 
@@ -13,13 +13,13 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/29.151"
+SLOT="0/21.143"
 KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir
 RDEPEND="
-   =dev-cpp/abseil-cpp-20220623.1*:=
+   =dev-cpp/abseil-cpp-20211102.0*:=
>=dev-libs/re2-0.2021.11.01:=
>=dev-libs/openssl-1.1.1:0=[-bindist(-)]
>=dev-libs/protobuf-3.18.1:=
@@ -58,15 +58,17 @@ src_prepare() {
cmake_src_prepare
 
# un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
 
-   # suppress network access, package builds fine without the submodules
-   mkdir "${S}/third_party/opencensus-proto/src" || die
-
soversion_check
 }
 
 src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   # issue says 1.46.1 but apparently this is affected too
+   filter-lto
+
local mycmakeargs=(
-DgRPC_INSTALL=ON
-DgRPC_ABSL_PROVIDER=package

diff --git a/net-libs/grpc/grpc-1.51.1.ebuild 
b/net-libs/grpc/grpc-1.51.1-r1.ebuild
similarity index 96%
rename from net-libs/grpc/grpc-1.51.1.ebuild
rename to net-libs/grpc/grpc-1.51.1-r1.ebuild
index f3edebd3268c..ed87698a72be 100644
--- a/net-libs/grpc/grpc-1.51.1.ebuild
+++ b/net-libs/grpc/grpc-1.51.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PV="${PV//_pre/-pre}"
 
@@ -67,6 +67,9 @@ src_prepare() {
 }
 
 src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
local mycmakeargs=(
-DgRPC_INSTALL=ON
-DgRPC_ABSL_PROVIDER=package



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-10 Thread WANG Xuerui
commit: 876bdcc8e653fa12a34118fde0beb08a3c7f3916
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Feb  7 09:59:29 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Feb 11 07:47:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876bdcc8

net-libs/grpc: add 1.52.0

Closes: https://github.com/gentoo/gentoo/pull/29456
Signed-off-by: WANG Xuerui  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.52.0.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 0c26fe648981..f812a0c1784b 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,3 @@
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
 DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 
83ba62e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7
 SHA512 
1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888
+DIST grpc-1.52.0.tar.gz 8682080 BLAKE2B 
de1583401a70ec09cc30527346d18bc6d2272a61419de5b5f5ee8074e996daa04b060f112d693004e4cbf49c04e3048746d8f12823a40c367965cba2b5266028
 SHA512 
a3e8b22b04fc6d06762a10d325438fa19253fcace2c6aeb31cb30092f68d651ecbf6f9ea74ae9333e20a77029c989f8a963912f8be5c008590b08570a47b1bf7

diff --git a/net-libs/grpc/grpc-1.52.0.ebuild b/net-libs/grpc/grpc-1.52.0.ebuild
new file mode 100644
index ..7c1681b6c9a7
--- /dev/null
+++ b/net-libs/grpc/grpc-1.52.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/30.152"
+KEYWORDS="~amd64"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20220623.1*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.18.1:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   # https://github.com/grpc/grpc/issues/29652
+   filter-lto
+
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-10 Thread WANG Xuerui
commit: 6f2d7467ef550865bd0c5588ea959bebb6fe47b8
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Feb 11 07:38:37 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Feb 11 07:47:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2d7467

net-libs/grpc: add myself as a maintainer

Signed-off-by: WANG Xuerui  gentoo.org>

 net-libs/grpc/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index 3114df3e23c1..cea352c14527 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -8,6 +8,10 @@
gyakov...@gentoo.org
Georgy Yakovlev

+   
+   xe...@gentoo.org
+   WANG Xuerui
+   

cpe:/a:grpc:grpc
grpc/grpc



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2023-02-06 Thread Georgy Yakovlev
commit: 3492a67e828d7c5661dd66d48fbb628609f3b966
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Jan 24 10:59:19 2023 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Feb  7 00:32:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3492a67e

net-libs/grpc: add 1.51.1

- bump to EAPI=8
- bump dev-cpp/abseil-cpp to 0/20220623 subslot, fixing compatibility
  with e.g. >=app-office/libreoffice-bin-7.4
- suppress the package's attempt to fetch submodule content

Signed-off-by: WANG Xuerui  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29242
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.51.1.ebuild | 103 +++
 2 files changed, 104 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index b794e03563d0..0c26fe648981 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1 +1,2 @@
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781
+DIST grpc-1.51.1.tar.gz 8550112 BLAKE2B 
83ba62e941a6a0fa33f4878e9a10f4165d29ade36fb58201bc76dad9b075d1cc5474c2a8e48f63b63a7b2d0e169f58af88fff837973ae03315833f2c2eb7
 SHA512 
1bc8e7a5a15b2dca88527d111cde398b0dc1921bbc945c6df8225b4225b8ac0b43155bcf743230ce7b5962d1ab948e9363229c98a879b1befc7a939a290fb888

diff --git a/net-libs/grpc/grpc-1.51.1.ebuild b/net-libs/grpc/grpc-1.51.1.ebuild
new file mode 100644
index ..f3edebd3268c
--- /dev/null
+++ b/net-libs/grpc/grpc-1.51.1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/29.151"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20220623.1*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.18.1:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   # suppress network access, package builds fine without the submodules
+   mkdir "${S}/third_party/opencensus-proto/src" || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if use doc; then
+   find doc -name '.gitignore' -delete || die
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2022-12-24 Thread Andreas Sturmlechner
commit: 2b976a2d601c0484e5af0848e95e63e7b9aa18d7
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Dec 20 19:26:17 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Dec 24 14:48:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b976a2d

net-libs/grpc: drop 1.38.1, 1.41.0, 1.41.1

Overshadowed by stable 1.43.0.

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/grpc/Manifest   |   3 --
 net-libs/grpc/grpc-1.38.1.ebuild | 102 ---
 net-libs/grpc/grpc-1.41.0.ebuild | 102 ---
 net-libs/grpc/grpc-1.41.1.ebuild | 102 ---
 4 files changed, 309 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f85ff4f4e4cb..b794e03563d0 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1 @@
-DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
-DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
-DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781

diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
deleted file mode 100644
index d8cb707cf8aa..
--- a/net-libs/grpc/grpc-1.38.1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/16.138"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
-   =dev-cpp/abseil-cpp-20210324*:=
-   >=dev-libs/re2-0.2021.04.01:=
-   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-3.15.8:=
-   dev-libs/xxhash
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   dev-cpp/benchmark
-   dev-cpp/gflags
-   )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
-   local core_sover cpp_sover
-   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
-   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   # remove dots, e.g. 1.37 -> 137
-   core_sover="${core_sover//./}"
-   cpp_sover="${cpp_sover//./}"
-   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
-   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
-   soversion_check
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-   -DgRPC_PROTOBUF_PROVIDER=package
-   -DgRPC_RE2_PROVIDER=package
-   -DgRPC_SSL_PROVIDER=package
-   -DgRPC_ZLIB_PROVIDER=package
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2022-12-20 Thread Sam James
commit: 7c1cf4e0751298cb4cec91ccd0bf3bbb4b352810
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 20 23:56:58 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 20 23:56:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1cf4e0

net-libs/grpc: Stabilize 1.43.0 arm64, #887567

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index a2adc4804b4c..4ec923a7fb2f 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/21.143"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2022-10-27 Thread Sam James
commit: 1d6153bc33f5f7ef9807134299f1157fe14480ae
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 27 23:46:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 27 23:46:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6153bc

net-libs/grpc: Stabilize 1.43.0 x86, #877667

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index 8aa4ce2c1860..a2adc4804b4c 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/21.143"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2022-10-20 Thread Jakov Smolić
commit: e22b58054b92b0a88afe30f3809a2766dd2a02e5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Oct 20 10:52:08 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Oct 20 10:52:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22b5805

net-libs/grpc: Stabilize 1.43.0 amd64, #877667

Signed-off-by: Jakov Smolić  gentoo.org>

 net-libs/grpc/grpc-1.43.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index b1bb44b0502a..8aa4ce2c1860 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2022-08-17 Thread Sam James
commit: 5c63cdde5d28ef06bc1ea42612153c14e452a902
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 17 21:12:55 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 17 21:12:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c63cdde

net-libs/grpc: Keyword 1.43.0 arm, #834851

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.43.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
index 157b09370a9d..b1bb44b0502a 100644
--- a/net-libs/grpc/grpc-1.43.0.ebuild
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/21.143"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-20 Thread Agostino Sarubbo
commit: 20eea83996f65a8f2934d1ebac7f93a291dcc41d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec 20 12:09:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec 20 12:09:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20eea839

net-libs/grpc: amd64 stable wrt bug #829430

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/grpc/grpc-1.41.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
index da70344c4bca..94fa8a8a5f63 100644
--- a/net-libs/grpc/grpc-1.41.1.ebuild
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/19.141"
-KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-20 Thread Arthur Zamarin
commit: d1f6ea60851f49224a654f5f77e880eb3c30711b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Dec 20 09:20:08 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Dec 20 09:20:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f6ea60

net-libs/grpc: Stabilize 1.41.1 arm64, #829430

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/grpc/grpc-1.41.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
index e9f7052206f3..da70344c4bca 100644
--- a/net-libs/grpc/grpc-1.41.1.ebuild
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/19.141"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 arm64 ~ppc64 ~riscv ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-19 Thread Georgy Yakovlev
commit: 2ba832c26d916d8f06925cd20c655fced0676016
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Dec 20 05:34:19 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Dec 20 05:34:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba832c2

net-libs/grpc: drop 1.37.1-r2

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   1 -
 net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 
 2 files changed, 102 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ab64d9d6e9dd..f85ff4f4e4cb 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
 DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
 DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052

diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild 
b/net-libs/grpc/grpc-1.37.1-r2.ebuild
deleted file mode 100644
index 468f9b7a6ac4..
--- a/net-libs/grpc/grpc-1.37.1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/15.137"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
-   =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
-   >=dev-libs/re2-0.2021.04.01:=
-   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-3.15.2:=
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   dev-cpp/benchmark
-   dev-cpp/gflags
-   )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
-   local core_sover cpp_sover
-   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
-   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   # remove dots, e.g. 1.37 -> 137
-   core_sover="${core_sover//./}"
-   cpp_sover="${cpp_sover//./}"
-   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
-   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
-   soversion_check
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-   -DgRPC_PROTOBUF_PROVIDER=package
-   -DgRPC_RE2_PROVIDER=package
-   -DgRPC_SSL_PROVIDER=package
-   -DgRPC_ZLIB_PROVIDER=package
-   -DgRPC_BUILD_TESTS=$(usex test)
-   -DCMAKE_CXX_STANDARD=17
-   $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
-   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
-   )
-   cmake_src_configure
-}
-

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-19 Thread Georgy Yakovlev
commit: 0c209b3e67cee46ffab6f2383e88029d9708301e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Dec 20 05:30:02 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Dec 20 05:31:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c209b3e

Revert "net-libs/grpc: drop 1.37.1-r2, 1.38.1, 1.41.0"

apparently tensorflow needs and older ver

This reverts commit 355e33548f7eae4fa8d7c4047254a841e19a2b0e.

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   3 ++
 net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 +++
 net-libs/grpc/grpc-1.38.1.ebuild| 102 
 net-libs/grpc/grpc-1.41.0.ebuild| 102 
 4 files changed, 308 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 27a40a3be1f6..ab64d9d6e9dd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,5 @@
+DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
+DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
+DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
 DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781

diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild 
b/net-libs/grpc/grpc-1.37.1-r2.ebuild
new file mode 100644
index ..468f9b7a6ac4
--- /dev/null
+++ b/net-libs/grpc/grpc-1.37.1-r2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/15.137"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.15.2:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-19 Thread Georgy Yakovlev
commit: 355e33548f7eae4fa8d7c4047254a841e19a2b0e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Dec 20 05:10:28 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Dec 20 05:10:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=355e3354

net-libs/grpc: drop 1.37.1-r2, 1.38.1, 1.41.0

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   3 --
 net-libs/grpc/grpc-1.37.1-r2.ebuild | 101 ---
 net-libs/grpc/grpc-1.38.1.ebuild| 102 
 net-libs/grpc/grpc-1.41.0.ebuild| 102 
 4 files changed, 308 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ab64d9d6e9dd..27a40a3be1f6 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,5 +1,2 @@
-DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
-DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
-DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
 DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
 DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781

diff --git a/net-libs/grpc/grpc-1.37.1-r2.ebuild 
b/net-libs/grpc/grpc-1.37.1-r2.ebuild
deleted file mode 100644
index 468f9b7a6ac4..
--- a/net-libs/grpc/grpc-1.37.1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/15.137"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
-   =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
-   >=dev-libs/re2-0.2021.04.01:=
-   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-3.15.2:=
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   dev-cpp/benchmark
-   dev-cpp/gflags
-   )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
-   local core_sover cpp_sover
-   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
-   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   # remove dots, e.g. 1.37 -> 137
-   core_sover="${core_sover//./}"
-   cpp_sover="${cpp_sover//./}"
-   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
-   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
-   soversion_check
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-12-19 Thread Georgy Yakovlev
commit: b162a88e1a331592f098ea48bb244f448fc10edd
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Dec 20 04:56:18 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Dec 20 05:04:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b162a88e

net-libs/grpc: add 1.43.0

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.43.0.ebuild | 101 +++
 2 files changed, 102 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index d12fa3b25701..ab64d9d6e9dd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194877
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
 DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
 DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052
+DIST grpc-1.43.0.tar.gz 8540919 BLAKE2B 
dc78026129a5d23e864c92a210e8de845a4bad886071a76d527730108da155d290612f1e54cec15d69f55713f37f377e6bff844b16b5deef64c7d8bb31195652
 SHA512 
e0471aa355d311a40c9d29d7101bf8e22b89ac675d4914c38e617d3213b61107487ef20ca80d7cff8093b548f4a976526298e1f32959ae6ce3c088d45ecc9781

diff --git a/net-libs/grpc/grpc-1.43.0.ebuild b/net-libs/grpc/grpc-1.43.0.ebuild
new file mode 100644
index ..157b09370a9d
--- /dev/null
+++ b/net-libs/grpc/grpc-1.43.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/21.143"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20211102.0*:=
+   >=dev-libs/re2-0.2021.11.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.18.1:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-11-13 Thread Georgy Yakovlev
commit: 2fc39d86bb2b473ac7c5f0e8c1d64604d78186fd
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Nov 14 01:25:40 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Nov 14 01:28:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc39d86

net-libs/grpc: add 1.41.1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.41.1.ebuild | 102 +++
 2 files changed, 103 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 9ae56077887..d12fa3b2570 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
 DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902
+DIST grpc-1.41.1.tar.gz 8346512 BLAKE2B 
fbb453f7ab398ac843b19922b7e3f71121bc9ba44b3e0c558796dc519dbbc5d34e31d1059bfa7552fefdd7c05d5a8b03645f5c5257e73126ba14a73bec0b1fb1
 SHA512 
17d4c0867a51e33c029bcce86371f8e1d4680ba78fe4f02fb63b8614e9c5f7f6078c22b7c56c63c6ff461429a70d2ec87cb3c0d30c897a88321fe7f26de6e052

diff --git a/net-libs/grpc/grpc-1.41.1.ebuild b/net-libs/grpc/grpc-1.41.1.ebuild
new file mode 100644
index 000..e9f7052206f
--- /dev/null
+++ b/net-libs/grpc/grpc-1.41.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/19.141"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20210324*:=
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.17.3:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   cmake_src_configure
+}
+

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/

2021-10-10 Thread Georgy Yakovlev
commit: a2efeea0674c9b9a0591b2fc5872c5627cb84a2c
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Oct 10 18:18:03 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Oct 11 02:47:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2efeea0

net-libs/grpc: remove unused patch(es)

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/22548
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../grpc/files/grpc-1.41.0-link-system-gtest.patch | 22 --
 1 file changed, 22 deletions(-)

diff --git a/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch 
b/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch
deleted file mode 100644
index 4901678bfd6..000
--- a/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0e8fbdee8b..3662aabdfe 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -2309,6 +2309,7 @@ target_include_directories(grpc_test_util
- ${_gRPC_ZLIB_INCLUDE_DIR}
- )
- target_link_libraries(grpc_test_util
-+PRIVATE
-   ${_gRPC_ALLTARGETS_LIBRARIES}
-   absl::failure_signal_handler
-   absl::stacktrace
-@@ -2322,7 +2323,8 @@ endif()
- 
- endif()
- if(gRPC_BUILD_TESTS)
--
-+find_package(GTest REQUIRED)
-+target_link_libraries(grpc_test_util PUBLIC GTest::gtest GTest::gmock)
- add_library(grpc_test_util_unsecure
-   test/core/util/cmdline.cc
-   test/core/util/fuzzer_util.cc



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2021-10-08 Thread Arthur Zamarin
commit: 6808a5a7420dfa7355ed17d81b0f88d6889f3894
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Oct  8 14:11:07 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Oct  8 18:18:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6808a5a7

net-libs/grpc: add 1.41.0

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/grpc/Manifest |   1 +
 .../grpc/files/grpc-1.41.0-link-system-gtest.patch |  22 +
 net-libs/grpc/grpc-1.41.0.ebuild   | 102 +
 3 files changed, 125 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 32327daee54..9ae56077887 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,3 @@
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2
+DIST grpc-1.41.0.tar.gz 8347643 BLAKE2B 
e8c0e32d3cfc75413bfcd0bfbd95a5dc592d11f629e63618619ba307a76a62668c1c21efda45836aef8fb6a1912da0c300f3d4cd41f8b93344fa1768a86df6e6
 SHA512 
bc353bfd8cc10d8b992e4cf680c656ef6ddbcecbaa640c94e9255664d532926e48f3839afc98ef6278ae4e2eb54d166ac67fec7315dc1d08640845ed8120d902

diff --git a/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch 
b/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch
new file mode 100644
index 000..4901678bfd6
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.41.0-link-system-gtest.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0e8fbdee8b..3662aabdfe 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -2309,6 +2309,7 @@ target_include_directories(grpc_test_util
+ ${_gRPC_ZLIB_INCLUDE_DIR}
+ )
+ target_link_libraries(grpc_test_util
++PRIVATE
+   ${_gRPC_ALLTARGETS_LIBRARIES}
+   absl::failure_signal_handler
+   absl::stacktrace
+@@ -2322,7 +2323,8 @@ endif()
+ 
+ endif()
+ if(gRPC_BUILD_TESTS)
+-
++find_package(GTest REQUIRED)
++target_link_libraries(grpc_test_util PUBLIC GTest::gtest GTest::gmock)
+ add_library(grpc_test_util_unsecure
+   test/core/util/cmdline.cc
+   test/core/util/fuzzer_util.cc

diff --git a/net-libs/grpc/grpc-1.41.0.ebuild b/net-libs/grpc/grpc-1.41.0.ebuild
new file mode 100644
index 000..e9f7052206f
--- /dev/null
+++ b/net-libs/grpc/grpc-1.41.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/19.141"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20210324*:=
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.17.3:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2021-06-21 Thread Georgy Yakovlev
commit: 4400448333c4b50ef50e89c5c984849c1f88f4ea
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jun 21 23:33:12 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jun 21 23:33:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44004483

net-libs/grpc: drop 1.28.1-r2, 1.32.0-r1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |  2 -
 .../grpc/files/use-pkg-config-to-find-re2.patch| 26 ---
 net-libs/grpc/grpc-1.28.1-r2.ebuild| 72 --
 net-libs/grpc/grpc-1.32.0-r1.ebuild| 86 --
 4 files changed, 186 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index b436c49344c..32327daee54 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,2 @@
-DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
-DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2

diff --git a/net-libs/grpc/files/use-pkg-config-to-find-re2.patch 
b/net-libs/grpc/files/use-pkg-config-to-find-re2.patch
deleted file mode 100644
index 33712d62ef0..000
--- a/net-libs/grpc/files/use-pkg-config-to-find-re2.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 1f51d47b0ab2c0ac54c27b54f5e8e79910138a02 Mon Sep 17 00:00:00 2001
-From: Georgy Yakovlev 
-Date: Fri, 25 Sep 2020 15:10:26 -0700
-Subject: [PATCH] use pkg-config to find re2
-

- cmake/re2.cmake | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/cmake/re2.cmake b/cmake/re2.cmake
-index 3e83aae..94dfa5d 100644
 a/cmake/re2.cmake
-+++ b/cmake/re2.cmake
-@@ -45,7 +45,8 @@ if(gRPC_RE2_PROVIDER STREQUAL "module")
- set(gRPC_INSTALL FALSE)
-   endif()
- elseif(gRPC_RE2_PROVIDER STREQUAL "package")
--  find_package(re2 REQUIRED CONFIG)
-+  find_package(PkgConfig REQUIRED)
-+  pkg_check_modules(RE2 REQUIRED re2)
- 
-   if(TARGET re2::re2)
- set(_gRPC_RE2_LIBRARIES re2::re2)
--- 
-2.28.0
-

diff --git a/net-libs/grpc/grpc-1.28.1-r2.ebuild 
b/net-libs/grpc/grpc-1.28.1-r2.ebuild
deleted file mode 100644
index 92abfe8d56e..000
--- a/net-libs/grpc/grpc-1.28.1-r2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples"
-
-DEPEND="
-   =dev-cpp/abseil-cpp-20200225*:=
-   >=dev-libs/protobuf-3.11.2:=
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-   >=dev-libs/openssl-1.0.2:0=[-bindist(-)]
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-# requires git checkouts of google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-   -DgRPC_PROTOBUF_PROVIDER=package
-   -DgRPC_SSL_PROVIDER=package
-   -DgRPC_ZLIB_PROVIDER=package
-   )
-   cmake_src_configure
-}
-
-src_install() {
-   cmake_src_install
-
-   if use examples; then
-   find examples -name '.gitignore' -delete || die
-   dodoc -r examples
- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-06-21 Thread Georgy Yakovlev
commit: 0e7c2436bb1192b5665cbbe46a009d17024eb4e1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jun 21 23:29:45 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jun 21 23:29:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e7c2436

net-libs/grpc: drop 1.38.0-r1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   1 -
 net-libs/grpc/grpc-1.38.0-r1.ebuild | 102 
 2 files changed, 103 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 35e6c92b300..b436c49344c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,5 +1,4 @@
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
-DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 
2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb
 SHA512 
6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5
 DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2

diff --git a/net-libs/grpc/grpc-1.38.0-r1.ebuild 
b/net-libs/grpc/grpc-1.38.0-r1.ebuild
deleted file mode 100644
index 6f34a08a498..000
--- a/net-libs/grpc/grpc-1.38.0-r1.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
-SLOT="0/16.138"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-IUSE="doc examples test"
-
-# look for submodule versions in third_party dir
-RDEPEND="
-   =dev-cpp/abseil-cpp-20210324*:=
-   >=dev-libs/re2-0.2021.04.01:=
-   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
-   >=dev-libs/protobuf-3.15.8:=
-   dev-libs/xxhash
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-"
-
-DEPEND="${RDEPEND}
-   test? (
-   dev-cpp/benchmark
-   dev-cpp/gflags
-   )
-"
-
-BDEPEND="virtual/pkgconfig"
-
-# requires sources of many google tools
-RESTRICT="test"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-soversion_check() {
-   local core_sover cpp_sover
-   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
-   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
-   # remove dots, e.g. 1.37 -> 137
-   core_sover="${core_sover//./}"
-   cpp_sover="${cpp_sover//./}"
-   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
-   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
-}
-
-src_prepare() {
-   cmake_src_prepare
-
-   # un-hardcode libdir
-   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
-   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
-
-   soversion_check
-}
-
-src_configure() {
-   local mycmakeargs=(
-   -DgRPC_INSTALL=ON
-   -DgRPC_ABSL_PROVIDER=package
-   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
-   -DgRPC_CARES_PROVIDER=package
-   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
-   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
-   -DgRPC_PROTOBUF_PROVIDER=package
-   -DgRPC_RE2_PROVIDER=package
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-06-21 Thread Georgy Yakovlev
commit: e9de5c6c4b3eb08cca30eb1a544f78f7a65315f6
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jun 21 23:00:15 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jun 21 23:29:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9de5c6c

net-libs/grpc: add 1.38.1

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.38.1.ebuild | 102 +++
 2 files changed, 103 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc349d754d0..35e6c92b300 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,3 +2,4 @@ DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8f
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
 DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 
2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb
 SHA512 
6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5
+DIST grpc-1.38.1.tar.gz 8294961 BLAKE2B 
dca22ef4517ad122815522985e0d1c9b35789302056ea896c3ccc1163725835cf1f925b344467185edd6c86a65808bbe8243721834c0fd4f209216109b7c2fe7
 SHA512 
1f9b6baea4790836d32da6a27ec1491c015d47f2a48ef8732dada0ef45f4dfed412597c8a09dfc0778b16c7300618d42013679094e05cb5922bfae57adedaaa2

diff --git a/net-libs/grpc/grpc-1.38.1.ebuild b/net-libs/grpc/grpc-1.38.1.ebuild
new file mode 100644
index 000..6f34a08a498
--- /dev/null
+++ b/net-libs/grpc/grpc-1.38.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/16.138"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20210324*:=
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist(-)]
+   >=dev-libs/protobuf-3.15.8:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+   $(usex test 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-05-29 Thread Georgy Yakovlev
commit: d74b8dfb26829632b392901ee9e2a6ab81fdab79
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun May 30 01:33:16 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun May 30 01:33:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d74b8dfb

net-libs/grpc: add 1.38.0

Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.38.0.ebuild | 102 +++
 2 files changed, 103 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 553cc687b28..dc349d754d0 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
 DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7
+DIST grpc-1.38.0.tar.gz 8296425 BLAKE2B 
2a317dbb1ab79a508a301d84ac6aa858f62accf057453b1536900654376d1a1b19549bb1efa52c5f0916c08c3616e9d1cd2efb4f8143ea923633cfc4ed6e04fb
 SHA512 
6ce37b4b87f08c227995f8c8a9649a3d9a4d8622458772f5f32552ff5b00b920a6e57ba7208c2e8f67eb2ee4f503378320866905863598d08e21b226aa0cd1c5

diff --git a/net-libs/grpc/grpc-1.38.0.ebuild b/net-libs/grpc/grpc-1.38.0.ebuild
new file mode 100644
index 000..5a30754029f
--- /dev/null
+++ b/net-libs/grpc/grpc-1.38.0.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/16.138"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="doc examples test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20210324*:=
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist]
+   >=dev-libs/protobuf-3.15.8:=
+   dev-libs/xxhash
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   cmake_src_configure
+}
+

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-05-14 Thread Sam James
commit: ba083d467babe95449f90e35a861162ae03b0742
Author: Sam James  gentoo  org>
AuthorDate: Sat May 15 02:21:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 15 02:21:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba083d46

net-libs/grpc: Keyword 1.37.1-r1 arm64, #766411

Signed-off-by: Sam James  gentoo.org>

 net-libs/grpc/grpc-1.37.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.37.1-r1.ebuild 
b/net-libs/grpc/grpc-1.37.1-r1.ebuild
index 167a3087587..cf129dc2a38 100644
--- a/net-libs/grpc/grpc-1.37.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.37.1-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 # format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
 SLOT="0/15.137"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="doc examples test"
 
 # look for submodule versions in third_party dir



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-05-02 Thread Mikle Kolyada
commit: 9632de401c72a688f7010abb18e4fc08bfb9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 10:01:55 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 10:16:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9632de40

net-libs/grpc: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-libs/grpc/grpc-1.28.1-r1.ebuild | 7 +++
 net-libs/grpc/grpc-1.32.0.ebuild| 7 +++
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/net-libs/grpc/grpc-1.28.1-r1.ebuild 
b/net-libs/grpc/grpc-1.28.1-r1.ebuild
index 3619635f8bc..f0cc36db8c2 100644
--- a/net-libs/grpc/grpc-1.28.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,15 +14,14 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl"
+IUSE="doc examples"
 
 DEPEND="
=dev-cpp/abseil-cpp-20200225*:=
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
-   !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
 "
 
 RDEPEND="${DEPEND}"

diff --git a/net-libs/grpc/grpc-1.32.0.ebuild b/net-libs/grpc/grpc-1.32.0.ebuild
index e76d5389780..e4306625c91 100644
--- a/net-libs/grpc/grpc-1.32.0.ebuild
+++ b/net-libs/grpc/grpc-1.32.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl test"
+IUSE="doc examples test"
 
 RDEPEND="
=dev-cpp/abseil-cpp-20200225*:=
@@ -22,8 +22,7 @@ RDEPEND="
>=dev-libs/protobuf-3.13.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
-   !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
+   >=dev-libs/openssl-1.1.1:0=[-bindist]
 "
 
 DEPEND="${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-04-30 Thread Georgy Yakovlev
commit: 67bb51f9fbd2de4ab9e68d9fc19cd0afcb9cb549
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Apr 30 18:08:24 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Apr 30 18:11:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bb51f9

net-libs/grpc: revbump 1.37.1, add subslot, remove libressl flag

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../{grpc-1.37.1.ebuild => grpc-1.37.1-r1.ebuild}  | 22 ++
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/net-libs/grpc/grpc-1.37.1.ebuild 
b/net-libs/grpc/grpc-1.37.1-r1.ebuild
similarity index 70%
rename from net-libs/grpc/grpc-1.37.1.ebuild
rename to net-libs/grpc/grpc-1.37.1-r1.ebuild
index c63c9674025..167a3087587 100644
--- a/net-libs/grpc/grpc-1.37.1.ebuild
+++ b/net-libs/grpc/grpc-1.37.1-r1.ebuild
@@ -12,19 +12,19 @@ HOMEPAGE="https://www.grpc.io;
 SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="Apache-2.0"
-SLOT="0"
+# format is 0/${CORE_SOVERSION//./}.${CPP_SOVERSION//./} , check top level 
CMakeLists.txt
+SLOT="0/15.137"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="doc examples libressl test"
+IUSE="doc examples test"
 
 # look for submodule versions in third_party dir
 RDEPEND="
=dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
>=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/openssl-1.1.1:0=[-bindist]
>=dev-libs/protobuf-3.15.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
-   !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
-   libressl? ( dev-libs/libressl:0= )
 "
 
 DEPEND="${RDEPEND}
@@ -41,12 +41,26 @@ RESTRICT="test"
 
 S="${WORKDIR}/${PN}-${MY_PV}"
 
+soversion_check() {
+   local core_sover cpp_sover
+   # extract quoted number. line we check looks like this: 
'set(gRPC_CPP_SOVERSION"1.37")'
+   core_sover="$(grep 'set(gRPC_CORE_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   cpp_sover="$(grep 'set(gRPC_CPP_SOVERSION ' CMakeLists.txt  | sed 
'/.*\"\(.*\)\".*/ s//\1/')"
+   # remove dots, e.g. 1.37 -> 137
+   core_sover="${core_sover//./}"
+   cpp_sover="${cpp_sover//./}"
+   [[ ${core_sover} -eq $(ver_cut 2 ${SLOT}) ]] || die "fix core sublot! 
should be ${core_sover}"
+   [[ ${cpp_sover} -eq $(ver_cut 3 ${SLOT}) ]] || die "fix cpp sublot! 
should be ${cpp_sover}"
+}
+
 src_prepare() {
cmake_src_prepare
 
# un-hardcode libdir
sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+
+   soversion_check
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-04-29 Thread Georgy Yakovlev
commit: 948285b461cd894049294c332e4a9d85bf8b9ee5
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Apr 29 23:26:22 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Apr 29 23:26:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948285b4

net-libs/grpc: bump to 1.37.1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   | 2 +-
 net-libs/grpc/{grpc-1.37.0.ebuild => grpc-1.37.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 01245a53459..553cc687b28 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,3 @@
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
-DIST grpc-1.37.0.tar.gz 8201157 BLAKE2B 
f4703d19fc73ea9941aa6711ffdfb56aa72e079eb238859bb4e9bab503891abb26685de9f9f06aa5355321008db6a325b3bf8b861a3e3c62b1a030ae7dddec6d
 SHA512 
b7c1feda505822f90dec213a53996b5fa8355d519c949cbf8926a667f2203a4c44245744354b4ccbce0566eb9bdbe60e1479c222dff5ed228981367fe1ac6a1a
+DIST grpc-1.37.1.tar.gz 8212731 BLAKE2B 
c306fbe60f5191fe957efb35c75574e00b194895e7d116a1d0a47238b53e73055e7c173e69afcf97b77e593f55001141bbef8fb09b9787420203d935eb85
 SHA512 
fe02447f558116e9ed2de48142b9bd3b8908d496aea7816406eee2c6ad136714ee14c2104a82a32f56ab486c5050b4665c55bacb24c91ceabcf1b998a5fc86b7

diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.1.ebuild
similarity index 100%
rename from net-libs/grpc/grpc-1.37.0.ebuild
rename to net-libs/grpc/grpc-1.37.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-04-29 Thread Michał Górny
commit: 77cccd2e73130288d01bfad1acfb28785dc744ef
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Apr 29 11:23:49 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 29 11:46:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77cccd2e

net-libs/grpc: Fix InvalidDepend

Signed-off-by: Jakov Smolic  sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/20590
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/grpc/grpc-1.37.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.0.ebuild
index 1752147b556..c63c9674025 100644
--- a/net-libs/grpc/grpc-1.37.0.ebuild
+++ b/net-libs/grpc/grpc-1.37.0.ebuild
@@ -18,7 +18,7 @@ IUSE="doc examples libressl test"
 
 # look for submodule versions in third_party dir
 RDEPEND="
-   =dev-cpp/abseil-cpp-20200923*[cxx17(+)]:=
+   =dev-cpp/abseil-cpp-20200923*:=[cxx17(+)]
>=dev-libs/re2-0.2021.04.01:=
>=dev-libs/protobuf-3.15.2:=
>=net-dns/c-ares-1.15.0:=



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2021-04-29 Thread Georgy Yakovlev
commit: cd01bb763d156dbe9a4992268ad0d93c78b322bb
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Apr 29 07:49:01 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Apr 29 08:26:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd01bb76

net-libs/grpc: bump to 1.37.0

Closes: https://bugs.gentoo.org/786654
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |  1 +
 net-libs/grpc/grpc-1.37.0.ebuild | 87 
 2 files changed, 88 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 486074e6e56..01245a53459 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,2 +1,3 @@
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed
+DIST grpc-1.37.0.tar.gz 8201157 BLAKE2B 
f4703d19fc73ea9941aa6711ffdfb56aa72e079eb238859bb4e9bab503891abb26685de9f9f06aa5355321008db6a325b3bf8b861a3e3c62b1a030ae7dddec6d
 SHA512 
b7c1feda505822f90dec213a53996b5fa8355d519c949cbf8926a667f2203a4c44245744354b4ccbce0566eb9bdbe60e1479c222dff5ed228981367fe1ac6a1a

diff --git a/net-libs/grpc/grpc-1.37.0.ebuild b/net-libs/grpc/grpc-1.37.0.ebuild
new file mode 100644
index 000..1752147b556
--- /dev/null
+++ b/net-libs/grpc/grpc-1.37.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc examples libressl test"
+
+# look for submodule versions in third_party dir
+RDEPEND="
+   =dev-cpp/abseil-cpp-20200923*[cxx17(+)]:=
+   >=dev-libs/re2-0.2021.04.01:=
+   >=dev-libs/protobuf-3.15.2:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
+   libressl? ( dev-libs/libressl:0= )
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_RE2_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   -DgRPC_BUILD_TESTS=$(usex test)
+   -DCMAKE_CXX_STANDARD=17
+   $(usex test '-DgRPC_GFLAGS_PROVIDER=package' '')
+   $(usex test '-DgRPC_BENCHMARK_PROVIDER=package' '')
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if use doc; then
+   find doc -name '.gitignore' -delete || die
+   local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md 
doc/. )
+   fi
+
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2020-09-25 Thread Georgy Yakovlev
commit: f594ce23eb9b3df1cc94eb382a5b0e9abb9ffc69
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Sep 25 23:32:52 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Sep 25 23:33:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f594ce23

net-libs/grpc: drop old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   2 -
 .../files/grpc-1.21.0-fix-host-ar-handling.patch   |  47 -
 ...grpc-1.22.0-cxx_arg_list_too_long_forloop.patch |  44 
 .../grpc/files/grpc-1.25.0-pkgconfig-libdir.patch  |  17 ---
 .../grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch |  53 --
 net-libs/grpc/grpc-1.26.0-r1.ebuild| 114 -
 net-libs/grpc/metadata.xml |   4 -
 7 files changed, 281 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 7eae7aec32b..486074e6e56 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,2 @@
-DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
-DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
 DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed

diff --git a/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch
deleted file mode 100644
index 213a39a3843..000
--- a/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 913486fddb5c2600f6ff83e549ee25e67579666f Mon Sep 17 00:00:00 2001
-From: Georgy Yakovlev 
-Date: Wed, 22 May 2019 23:04:28 -0700
-Subject: [PATCH] Makefile: fix host ar handling
-
-picked lines from
-https://github.com/grpc/grpc/pull/11476

- Makefile | 236 ---
- 1 file changed, 119 insertions(+), 117 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 67495f2..e1c741c 100644
 a/Makefile
-+++ b/Makefile
-@@ -346,6 +346,7 @@ HOST_CC ?= $(CC)
- HOST_CXX ?= $(CXX)
- HOST_LD ?= $(LD)
- HOST_LDXX ?= $(LDXX)
-+HOST_AR ?= $(AR)
-
- CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
- CXXFLAGS += -std=c++11
-@@ -483,6 +484,7 @@ HOST_CFLAGS += $(CFLAGS)
- HOST_CXXFLAGS += $(CXXFLAGS)
- HOST_LDFLAGS += $(LDFLAGS)
- HOST_LDLIBS += $(LDLIBS)
-+HOST_AROPTS = $(AROPTS)
-
- # These are automatically computed variables.
- # There shouldn't be any need to change anything from now on.
-
-@@ -7381,11 +7383,11 @@ $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: 
protobuf_dep_error
-
- else
-
--$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) 
$(ADDRESS_SORTING_DEP)  $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS)
--  $(E) "[AR]  Creating $@"
-+$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) 
$(ADDRESS_SORTING_DEP)  $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS)
-+  $(E) "[HOSTAR]  Creating $@"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
--  $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a 
$(LIBGRPC_PLUGIN_SUPPORT_OBJS)
-+  $(Q) $(HOST_AR) $(HOST_AROPTS) 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS)
- ifeq ($(SYSTEM),Darwin)
-   $(Q) ranlib -no_warning_for_no_symbols 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
- endif

diff --git 
a/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch 
b/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch
deleted file mode 100644
index 974d6fcc435..000
--- a/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch
+++ /dev/null
@@ -1,44 +0,0 @@
 a/Makefile 2018-06-26 11:07:45.948160976 +0200
-+++ b/Makefile 2019-06-26 11:04:25.798966336 +0200
-@@ -2820,13 +2820,15 @@
- 
- install-headers_c:
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2020-09-25 Thread Georgy Yakovlev
commit: f4a04a5c28a13f2d5453847701a43572c5847d8f
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Sep 25 22:23:58 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Sep 25 22:55:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a04a5c

net-libs/grpc: bump to 1.32.0

Bug: https://bugs.gentoo.org/744730
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |  1 +
 .../grpc/files/use-pkg-config-to-find-re2.patch| 26 +++
 net-libs/grpc/grpc-1.32.0.ebuild   | 87 ++
 3 files changed, 114 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index d5b1a49aa2e..7eae7aec32b 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
 DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b
+DIST grpc-1.32.0.tar.gz 7174251 BLAKE2B 
4ea1b2d6a92f71e0d3703b350778fa4ae78eaeefe4f9052b649abb42e3d5e02e0220695ce2ef52eaf4ecec4194d024bf1ce7a33d52594557c7cceec5b5a3c069
 SHA512 
90136042327cea4e3680e19484f23cc00322914a7aae7987bf00b6e0901721d14c487555fdd94888192d6beb950172361ac57fbd02d43b40552f7ff5cac442ed

diff --git a/net-libs/grpc/files/use-pkg-config-to-find-re2.patch 
b/net-libs/grpc/files/use-pkg-config-to-find-re2.patch
new file mode 100644
index 000..33712d62ef0
--- /dev/null
+++ b/net-libs/grpc/files/use-pkg-config-to-find-re2.patch
@@ -0,0 +1,26 @@
+From 1f51d47b0ab2c0ac54c27b54f5e8e79910138a02 Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Fri, 25 Sep 2020 15:10:26 -0700
+Subject: [PATCH] use pkg-config to find re2
+
+---
+ cmake/re2.cmake | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/cmake/re2.cmake b/cmake/re2.cmake
+index 3e83aae..94dfa5d 100644
+--- a/cmake/re2.cmake
 b/cmake/re2.cmake
+@@ -45,7 +45,8 @@ if(gRPC_RE2_PROVIDER STREQUAL "module")
+ set(gRPC_INSTALL FALSE)
+   endif()
+ elseif(gRPC_RE2_PROVIDER STREQUAL "package")
+-  find_package(re2 REQUIRED CONFIG)
++  find_package(PkgConfig REQUIRED)
++  pkg_check_modules(RE2 REQUIRED re2)
+ 
+   if(TARGET re2::re2)
+ set(_gRPC_RE2_LIBRARIES re2::re2)
+-- 
+2.28.0
+

diff --git a/net-libs/grpc/grpc-1.32.0.ebuild b/net-libs/grpc/grpc-1.32.0.ebuild
new file mode 100644
index 000..e76d5389780
--- /dev/null
+++ b/net-libs/grpc/grpc-1.32.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc examples libressl test"
+
+RDEPEND="
+   =dev-cpp/abseil-cpp-20200225*:=
+   dev-libs/re2:=
+   >=dev-libs/protobuf-3.13.0:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   !libressl? ( >=dev-libs/openssl-1.1.1:0=[-bindist] )
+   libressl? ( dev-libs/libressl:0= )
+"
+
+DEPEND="${RDEPEND}
+   test? (
+   dev-cpp/benchmark
+   dev-cpp/gflags
+   )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+# requires sources of many google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+PATCHES=( "${FILESDIR}/use-pkg-config-to-find-re2.patch" )
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+  

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-04-24 Thread Georgy Yakovlev
commit: 5b1f4d49025b8946cd61322cef71b40a19c45998
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Apr 24 14:53:30 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Apr 24 20:01:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1f4d49

net-libs/grpc: loosen dep on abseil-cpp

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/{grpc-1.28.1.ebuild => grpc-1.28.1-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.28.1.ebuild 
b/net-libs/grpc/grpc-1.28.1-r1.ebuild
similarity index 97%
rename from net-libs/grpc/grpc-1.28.1.ebuild
rename to net-libs/grpc/grpc-1.28.1-r1.ebuild
index ef8cbdbbb06..3619635f8bc 100644
--- a/net-libs/grpc/grpc-1.28.1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1-r1.ebuild
@@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="doc examples libressl"
 
 DEPEND="
-   ~dev-cpp/abseil-cpp-20200225.1:=
+   =dev-cpp/abseil-cpp-20200225*:=
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-04-23 Thread Stefan Strogin
commit: 3a308b5a0ea3154682dbc1e14f83bdd245ce75fe
Author: Stefan Strogin  gentoo  org>
AuthorDate: Thu Apr 23 16:20:48 2020 +
Commit: Stefan Strogin  gentoo  org>
CommitDate: Thu Apr 23 16:26:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a308b5a

net-libs/grpc: add USE=libressl

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stefan Strogin  gentoo.org>

 net-libs/grpc/grpc-1.28.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1.ebuild
index 18c6fb37e09..ef8cbdbbb06 100644
--- a/net-libs/grpc/grpc-1.28.1.ebuild
+++ b/net-libs/grpc/grpc-1.28.1.ebuild
@@ -14,14 +14,15 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="examples doc"
+IUSE="doc examples libressl"
 
 DEPEND="
~dev-cpp/abseil-cpp-20200225.1:=
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
>=dev-libs/protobuf-3.11.2:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
+   !libressl? ( >=dev-libs/openssl-1.0.2:0=[-bindist] )
+   libressl? ( dev-libs/libressl:0= )
 "
 
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2020-04-20 Thread Georgy Yakovlev
commit: 1b494f9534d644a0c3192d6da4dfb56fa180ca16
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Apr 20 16:27:01 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Apr 20 16:27:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b494f95

net-libs/grpc: drop old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   3 -
 .../grpc/files/grpc-1.11.0-pkgconfig-libdir.patch  |  17 
 .../grpc/files/grpc-1.22.1-glibc-2.30-compat.patch |  78 --
 net-libs/grpc/grpc-1.22.1.ebuild   | 113 -
 net-libs/grpc/grpc-1.23.0.ebuild   | 113 -
 net-libs/grpc/grpc-1.24.3.ebuild   | 112 
 6 files changed, 436 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index daef11ad77e..d5b1a49aa2e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,6 +1,3 @@
-DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
-DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
-DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
 DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
 DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
 DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b

diff --git a/net-libs/grpc/files/grpc-1.11.0-pkgconfig-libdir.patch 
b/net-libs/grpc/files/grpc-1.11.0-pkgconfig-libdir.patch
deleted file mode 100644
index 257bef8aa14..000
--- a/net-libs/grpc/files/grpc-1.11.0-pkgconfig-libdir.patch
+++ /dev/null
@@ -1,17 +0,0 @@
 a/Makefile 2018-05-28 17:59:34.631540261 +0800
-+++ b/Makefile 2018-05-28 18:01:31.266936000 +0800
-@@ -460,11 +460,11 @@
- CACHE_MK += HAS_PKG_CONFIG = true,
- endif
- 
--CORE_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires.private: $(PC_REQUIRES_PRIVATE),Libs: 
-L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
-+CORE_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires.private: $(PC_REQUIRES_PRIVATE),Libs: 
-L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
- 
--CPP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires.private: $(PC_REQUIRES_PRIVATE),Libs: 
-L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
-+CPP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires.private: $(PC_REQUIRES_PRIVATE),Libs: 
-L\$${libdir} $(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
- 
--CSHARP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CSHARP_VERSION),Cflags: 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-04-20 Thread Georgy Yakovlev
commit: b56b7be1b55fc986eec6add478237ff567c96ce4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Apr 20 06:48:38 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Apr 20 07:25:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b56b7be1

net-libs/grpc: bump to 1.28.1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |  1 +
 net-libs/grpc/grpc-1.28.1.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index db9c792391c..daef11ad77e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -3,3 +3,4 @@ DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
 DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
 DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb
+DIST grpc-1.28.1.tar.gz 6888015 BLAKE2B 
92d6f4a655183d34979c668bb7f4187a6670aa8ff5609df7b19fc7cadb57756fdc2322e57ef328623b1d91e63d8891ec0154ccef827c0302c14d986c6d9d179f
 SHA512 
5cc4993470e2df21447d032ddeb65ab4175bb8acad5a06fdd22564068b80a5be255ef0e44d36732642d39dc3eaec02a93d2aaf6e369ad5dc43ff99b5023f357b

diff --git a/net-libs/grpc/grpc-1.28.1.ebuild b/net-libs/grpc/grpc-1.28.1.ebuild
new file mode 100644
index 000..18c6fb37e09
--- /dev/null
+++ b/net-libs/grpc/grpc-1.28.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc"
+
+DEPEND="
+   ~dev-cpp/abseil-cpp-20200225.1:=
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-3.11.2:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires git checkouts of google tools
+RESTRICT="test"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   cmake_src_prepare
+
+   # un-hardcode libdir
+   sed -i "s@lib/pkgconfig@$(get_libdir)/pkgconfig@" CMakeLists.txt || die
+   sed -i "s@/lib@/$(get_libdir)@" cmake/pkg-config-template.pc.in || die
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DgRPC_INSTALL=ON
+   -DgRPC_ABSL_PROVIDER=package
+   -DgRPC_CARES_PROVIDER=package
+   -DgRPC_INSTALL_CMAKEDIR="$(get_libdir)/cmake/${PN}"
+   -DgRPC_INSTALL_LIBDIR="$(get_libdir)"
+   -DgRPC_PROTOBUF_PROVIDER=package
+   -DgRPC_SSL_PROVIDER=package
+   -DgRPC_ZLIB_PROVIDER=package
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if use doc; then
+   find doc -name '.gitignore' -delete || die
+   local DOCS=( AUTHORS CONCEPTS.md README.md TROUBLESHOOTING.md 
doc/. )
+   fi
+
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-02-21 Thread Georgy Yakovlev
commit: 9a63ccc8228b4a6bb8feb77102e059ff7fec2162
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Feb 21 21:21:46 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Feb 22 01:29:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a63ccc8

net-libs/grpc: QA: RedundantLongDescription

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index 6267f34d90d..708220c8696 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -8,9 +8,6 @@
gyakov...@gentoo.org
Georgy Yakovlev

-   
-   A high performance, open-source universal RPC framework
-   

Enable profiling using 
dev-util/google-perftools
Enable SystemTAP/DTrace tracing



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2020-02-05 Thread Georgy Yakovlev
commit: 0c166b62ae2b58ba392efc691fc03ab3d96b42cc
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Feb  5 20:06:54 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Feb  5 20:12:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c166b62

net-libs/grpc: drop old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   6 --
 .../files/grpc-1.13.0-fix-host-ar-handling.patch   |  47 -
 .../files/grpc-1.15.0-fix-cpp-so-version.patch |  70 -
 ...0-Prevent-shell-calls-longer-than-ARG_MAX.patch |  70 -
 net-libs/grpc/files/grpc-1.16.0-gcc8-fixes.patch   |  46 -
 net-libs/grpc/grpc-1.16.1.ebuild   | 103 ---
 net-libs/grpc/grpc-1.17.1.ebuild   | 107 
 net-libs/grpc/grpc-1.18.0.ebuild   | 107 
 net-libs/grpc/grpc-1.19.0.ebuild   | 105 ---
 net-libs/grpc/grpc-1.20.1-r1.ebuild| 105 ---
 net-libs/grpc/grpc-1.21.1-r1.ebuild| 112 -
 11 files changed, 878 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f2e57404f31..db9c792391c 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,9 +1,3 @@
-DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
-DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
-DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
-DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
-DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
-DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c

diff --git a/net-libs/grpc/files/grpc-1.13.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/grpc-1.13.0-fix-host-ar-handling.patch
deleted file mode 100644
index 926952f47f2..000
--- a/net-libs/grpc/files/grpc-1.13.0-fix-host-ar-handling.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 7e2d98df390787797fa494b26c72896f16f6e2a6 Mon Sep 17 00:00:00 2001
-From: Georgy Yakovlev 
-Date: Sat, 30 Jun 2018 00:21:53 -0700
-Subject: [PATCH] Makefile: fix host ar handling
-
-Cherry picked lines from
-https://github.com/grpc/grpc/pull/11476

- Makefile | 6 --
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 8333858588..b5a44b7096 100644
 a/Makefile
-+++ b/Makefile
-@@ -328,6 +328,7 @@ HOST_CC ?= $(CC)
- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-01-17 Thread Georgy Yakovlev
commit: 259e0aaf3b1456fb350a8aef6555cb9696b08d81
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Jan 17 10:02:30 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Jan 17 10:20:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259e0aaf

net-libs/grpc: revbump 1.26.0, fix odr violation

Bug: https://bugs.gentoo.org/705574
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  | 1 +
 net-libs/grpc/{grpc-1.26.0.ebuild => grpc-1.26.0-r1.ebuild} | 6 --
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 1b87058b8c7..520b37eb8e6 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,4 +8,5 @@ DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
 DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B 
a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a
 SHA512 
7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
+DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
 DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb

diff --git a/net-libs/grpc/grpc-1.26.0.ebuild 
b/net-libs/grpc/grpc-1.26.0-r1.ebuild
similarity index 92%
rename from net-libs/grpc/grpc-1.26.0.ebuild
rename to net-libs/grpc/grpc-1.26.0-r1.ebuild
index 0a1213a0a71..d9352892adf 100644
--- a/net-libs/grpc/grpc-1.26.0.ebuild
+++ b/net-libs/grpc/grpc-1.26.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -9,7 +9,8 @@ MY_PV="${PV//_pre/-pre}"
 
 DESCRIPTION="Modern open source high performance RPC framework"
 HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
+   
https://dev.gentoo.org/~gyakovlev/distfiles/grpc-1.26-fix-odr-violation.patch.bz2;
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -32,6 +33,7 @@ BDEPEND="virtual/pkgconfig"
 RESTRICT="test"
 
 PATCHES=(
+   "${WORKDIR}/grpc-1.26-fix-odr-violation.patch" #705574
"${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
"${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
"${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2020-01-17 Thread Georgy Yakovlev
commit: 52050abe050a3164c33b77ed2ed630e58f75133e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Jan 17 10:06:15 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Jan 17 10:20:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52050abe

net-libs/grpc: drop 1.25.0

Bug: https://bugs.gentoo.org/705574
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 -
 net-libs/grpc/grpc-1.25.0.ebuild | 112 ---
 2 files changed, 113 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 520b37eb8e6..f2e57404f31 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,6 +7,5 @@ DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc6
 DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
-DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B 
a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a
 SHA512 
7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
 DIST grpc-1.26-fix-odr-violation.patch.bz2 6320 BLAKE2B 
d7551a54c7a846cd8545a9cb0204e28f1d94b6a0a28b9093be1337127e76256c29e2ff9739ef1791740371d4b30520305c3c5908216030f4b23488c250248256
 SHA512 
c020eb40a3a494f8ef4a0ab6efc7a832c844c365d006a1d9512f0451af4ff33a11a185cd0ecd1afa0c546b190efcf8a0fef9e543f8fac35e65da10a2df34cd61
 DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb

diff --git a/net-libs/grpc/grpc-1.25.0.ebuild b/net-libs/grpc/grpc-1.25.0.ebuild
deleted file mode 100644
index 0a1213a0a71..000
--- a/net-libs/grpc/grpc-1.25.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="examples doc perftools systemtap static-libs"
-
-DEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-3.8.0:=
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-   perftools? ( dev-util/google-perftools:= )
-   systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-# requires network
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # 
https://github.com/grpc/grpc/issues/14844
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
-   rm -r third_party/cares || die
-   sed -i 's:-Werror::g' Makefile || die
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-
-   default
-}
-
-src_compile() {
-   tc-export CC CXX PKG_CONFIG
-
-   local myemakeargs=(
-   V=1
-   prefix=/usr
-   INSTALL_LIBDIR="$(get_libdir)"
-   AR="$(tc-getAR)"
-   AROPTS="rcs"
-   CFLAGS="${CFLAGS}"
-   CXXFLAGS="${CXXFLAGS}"
-   LD="${CC}"
-   LDXX="${CXX}"
-   STRIP=/bin/true
-   HOST_AR="$(tc-getBUILD_AR)"
-   HOST_CC="$(tc-getBUILD_CC)"
-   HOST_CXX="$(tc-getBUILD_CXX)"
-   HOST_LD="$(tc-getBUILD_CC)"
-   HOST_LDXX="$(tc-getBUILD_CXX)"
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-12-21 Thread Georgy Yakovlev
commit: 9d1fd79473939e934a37c9b8989ccf9c576f4b8e
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Dec 22 03:14:28 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Dec 22 03:14:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1fd794

net-libs/grpc: bump to 1.26.0

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.26.0.ebuild | 112 +++
 2 files changed, 113 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index c347eb0907d..1b87058b8c7 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,3 +8,4 @@ DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
 DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B 
a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a
 SHA512 
7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92
+DIST grpc-1.26.0.tar.gz 16673794 BLAKE2B 
f72d1997366e5e6e8b6b554149f90a187cbaea65da0070f4525739db38c053c6b280509f2faf2ec0e283ab9b7d000efda46b90b18143cd5ef8c1ec0881e00d3d
 SHA512 
4f7d067c582d0a9be7b7d4dd1e08acdbe6ff0686dfe92b5db5b7927f779410a4237acfd1c61d9f79eb2d00f86cf93cc7492fa372c1877e57c1aa23e9bb2648bb

diff --git a/net-libs/grpc/grpc-1.26.0.ebuild b/net-libs/grpc/grpc-1.26.0.ebuild
new file mode 100644
index 000..0a1213a0a71
--- /dev/null
+++ b/net-libs/grpc/grpc-1.26.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-3.8.0:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
+   systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/grpc-1.25.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # 
https://github.com/grpc/grpc/issues/14844
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   rm -r third_party/cares || die
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   local myemakeargs=(
+   V=1
+   prefix=/usr
+   INSTALL_LIBDIR="$(get_libdir)"
+   AR="$(tc-getAR)"
+   AROPTS="rcs"
+   CFLAGS="${CFLAGS}"
+   CXXFLAGS="${CXXFLAGS}"
+   LD="${CC}"
+   LDXX="${CXX}"
+   STRIP=/bin/true
+   HOST_AR="$(tc-getBUILD_AR)"
+   HOST_CC="$(tc-getBUILD_CC)"
+   HOST_CXX="$(tc-getBUILD_CXX)"
+   HOST_LD="$(tc-getBUILD_CC)"
+   HOST_LDXX="$(tc-getBUILD_CXX)"
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   )
+
+   emake "${myemakeargs[@]}"
+}
+
+src_install() {
+   local myemakeargs=(
+   V=1
+   prefix="${ED}"/usr
+   INSTALL_LIBDIR="$(get_libdir)"
+   STRIP=/bin/true
+   )
+
+   emake "${myemakeargs[@]}" install
+
+   use static-libs || find "${ED}" -name '*.a' -delete
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if use doc; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2019-11-15 Thread Georgy Yakovlev
commit: 7d234af969f1bd8037b498ddb44ceb2b516c68a9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Nov 15 23:52:13 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Nov 16 00:20:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d234af9

net-libs/grpc: bump to 1.25.0

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   1 +
 .../grpc/files/grpc-1.25.0-pkgconfig-libdir.patch  |  17 
 net-libs/grpc/grpc-1.25.0.ebuild   | 112 +
 3 files changed, 130 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 1254f6798c1..c347eb0907d 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,3 +7,4 @@ DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc6
 DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
 DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c
+DIST grpc-1.25.0.tar.gz 16460163 BLAKE2B 
a581b1db459468e7c01af579da39cc111825931eee21d9af13833b1d65e448ee2024d86edb95e7acb705ad427f793d7911d6fb66418155e75f5e1f0e6116578a
 SHA512 
7d9e126eafdfefe9b5c2eacf9c082b972115f231a55cff53386305f2df68037e2593eedc3f27fe0eaeb7fbe78b28f6b87607cdeccf59929b9a9b33bf74ab5c92

diff --git a/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch 
b/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch
new file mode 100644
index 000..28088713e5f
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.25.0-pkgconfig-libdir.patch
@@ -0,0 +1,17 @@
+--- a/Makefile 2018-05-28 17:59:34.631540261 +0800
 b/Makefile 2018-05-28 18:01:31.266936000 +0800
+@@ -460,11 +460,11 @@
+ CACHE_MK += HAS_PKG_CONFIG = true,
+ endif
+ 
+-CORE_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
++CORE_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CORE_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
+ 
+-CPP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
++CPP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CPP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
+ 
+-CSHARP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/lib,,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CSHARP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
++CSHARP_PC_TEMPLATE = 
prefix=$(prefix),exec_prefix=\$${prefix},includedir=\$${prefix}/include,libdir=\$${exec_prefix}/$(INSTALL_LIBDIR),,Name:
 $(PC_NAME),Description: $(PC_DESCRIPTION),Version: $(CSHARP_VERSION),Cflags: 
-I\$${includedir} $(PC_CFLAGS),Requires: $(PC_REQUIRES),Libs: -L\$${libdir} 
$(PC_LIB),Libs.private: $(PC_LIBS_PRIVATE)
+ 
+ ifeq ($(SYSTEM),MINGW32)
+ EXECUTABLE_SUFFIX = .exe

diff --git a/net-libs/grpc/grpc-1.25.0.ebuild b/net-libs/grpc/grpc-1.25.0.ebuild
new file mode 100644
index 000..0a1213a0a71
--- /dev/null
+++ b/net-libs/grpc/grpc-1.25.0.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-10-25 Thread Georgy Yakovlev
commit: 5532f2df1fffead332b01c463d03e4cede6fc5a6
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Oct 26 00:04:17 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Oct 26 00:11:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5532f2df

net-libs/grpc: bump to 1.24.3

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.24.3.ebuild | 112 +++
 2 files changed, 113 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc09d8a746a..1254f6798c1 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -6,3 +6,4 @@ DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0
+DIST grpc-1.24.3.tar.gz 15364420 BLAKE2B 
7a1262ee931c2578399e7373e25fefb7a4329a2c0f139b17fbd4073406a931730393016455ff3ddee8b686ebb7903a898ca532972f57369c7658c68643b6d715
 SHA512 
19afa8b1fd64c429317c85d8cf42d01af0ac6aec82508740c176e1fd4f92dea9531ea9812523215ed67466bae93a75e14dc34cd9cce5987a13c0104e0313c69c

diff --git a/net-libs/grpc/grpc-1.24.3.ebuild b/net-libs/grpc/grpc-1.24.3.ebuild
new file mode 100644
index 000..ee95dff335a
--- /dev/null
+++ b/net-libs/grpc/grpc-1.24.3.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-3.7.0:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
+   systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # 
https://github.com/grpc/grpc/issues/14844
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   rm -r third_party/cares || die
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   local myemakeargs=(
+   V=1
+   prefix=/usr
+   INSTALL_LIBDIR="$(get_libdir)"
+   AR="$(tc-getAR)"
+   AROPTS="rcs"
+   CFLAGS="${CFLAGS}"
+   CXXFLAGS="${CXXFLAGS}"
+   LD="${CC}"
+   LDXX="${CXX}"
+   STRIP=/bin/true
+   HOST_AR="$(tc-getBUILD_AR)"
+   HOST_CC="$(tc-getBUILD_CC)"
+   HOST_CXX="$(tc-getBUILD_CXX)"
+   HOST_LD="$(tc-getBUILD_CC)"
+   HOST_LDXX="$(tc-getBUILD_CXX)"
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   )
+
+   emake "${myemakeargs[@]}"
+}
+
+src_install() {
+   local myemakeargs=(
+   V=1
+   prefix="${ED}"/usr
+   INSTALL_LIBDIR="$(get_libdir)"
+   STRIP=/bin/true
+   )
+
+   emake "${myemakeargs[@]}" install
+
+   use static-libs || find "${ED}" -name '*.a' -delete
+
+   if use examples; then
+   find examples -name '.gitignore' -delete || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if use doc; then
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-08-16 Thread Georgy Yakovlev
commit: 29a42e53d53e3f437e04ff319e5c245e890665c9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 02:57:00 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 03:00:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a42e53

net-libs/grpc: drop 1.22.0

Bug: https://bugs.gentoo.org/692012
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 -
 net-libs/grpc/grpc-1.22.0.ebuild | 112 ---
 2 files changed, 113 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8c89bc920fa..dc09d8a746a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -4,6 +4,5 @@ DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a95
 DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
-DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
 DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0

diff --git a/net-libs/grpc/grpc-1.22.0.ebuild b/net-libs/grpc/grpc-1.22.0.ebuild
deleted file mode 100644
index 4f597ba8357..000
--- a/net-libs/grpc/grpc-1.22.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc perftools systemtap static-libs"
-
-DEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-3.7.0:=
-   >=net-dns/c-ares-1.15.0:=
-   sys-libs/zlib:=
-   perftools? ( dev-util/google-perftools:= )
-   systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-# requires network
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # 
https://github.com/grpc/grpc/issues/14844
-)
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_prepare() {
-   rm -r third_party/cares || die
-   sed -i 's:-Werror::g' Makefile || die
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-
-   default
-}
-
-src_compile() {
-   tc-export CC CXX PKG_CONFIG
-
-   local myemakeargs=(
-   V=1
-   prefix=/usr
-   INSTALL_LIBDIR="$(get_libdir)"
-   AR="$(tc-getAR)"
-   AROPTS="rcs"
-   CFLAGS="${CFLAGS}"
-   CXXFLAGS="${CXXFLAGS}"
-   LD="${CC}"
-   LDXX="${CXX}"
-   STRIP=/bin/true
-   HOST_AR="$(tc-getBUILD_AR)"
-   HOST_CC="$(tc-getBUILD_CC)"
-   HOST_CXX="$(tc-getBUILD_CXX)"
-   HOST_LD="$(tc-getBUILD_CC)"
-   HOST_LDXX="$(tc-getBUILD_CXX)"
-   HAS_SYSTEM_PERFTOOLS="$(usex perftools 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-08-16 Thread Georgy Yakovlev
commit: bbc473cb4ba34003c6b00e8b485ecbfd696b525d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 02:48:05 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 03:00:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbc473cb

net-libs/grpc: keyword 1.22.1 on ~ppc64

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.22.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.22.1.ebuild b/net-libs/grpc/grpc-1.22.1.ebuild
index 74504ed8562..ac5d817126d 100644
--- a/net-libs/grpc/grpc-1.22.1.ebuild
+++ b/net-libs/grpc/grpc-1.22.1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="examples doc perftools systemtap static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-08-16 Thread Georgy Yakovlev
commit: 647898d3507549ea903e59658e0bf6c483932930
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 02:47:20 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 03:00:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647898d3

net-libs/grpc: keyword 1.23.0 on ~ppc64

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.23.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.23.0.ebuild b/net-libs/grpc/grpc-1.23.0.ebuild
index 74504ed8562..ac5d817126d 100644
--- a/net-libs/grpc/grpc-1.23.0.ebuild
+++ b/net-libs/grpc/grpc-1.23.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="examples doc perftools systemtap static-libs"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-08-16 Thread Georgy Yakovlev
commit: 7078f6b6e76e8e7e0f4a42601e845e9c84723b28
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 02:18:02 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 02:59:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7078f6b6

net-libs/grpc: bump to 1.22.1

Bug: https://bugs.gentoo.org/692012
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.22.1.ebuild | 113 +++
 2 files changed, 114 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e210b147a9e..8c89bc920fa 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,4 +5,5 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f7
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
+DIST grpc-1.22.1.tar.gz 15083781 BLAKE2B 
5f1bc2fc638cfa2f97df9dfba3c927ae0c7871b9e56f8012795000c30f20fa4d5c1bad37d117cf8ea54fb372b8b02702a866c027c6e0a467f276a752ee9d17c6
 SHA512 
086ceb7a4fc1439bd23a2cab8c90ba2542491d5a9c278a0ff6e1b3ad623cf7725b2a7310bb793d9b36882bd9394d02a3616331ac26c78d822e68b305c2ae27f6
 DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0

diff --git a/net-libs/grpc/grpc-1.22.1.ebuild b/net-libs/grpc/grpc-1.22.1.ebuild
new file mode 100644
index 000..74504ed8562
--- /dev/null
+++ b/net-libs/grpc/grpc-1.22.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc perftools systemtap static-libs"
+
+DEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-3.7.0:=
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
+   systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/grpc-1.21.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch" # 
https://github.com/grpc/grpc/issues/14844
+   "${FILESDIR}/grpc-1.22.1-glibc-2.30-compat.patch" # 
https://github.com/grpc/grpc/pull/18950
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   rm -r third_party/cares || die
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   local myemakeargs=(
+   V=1
+   prefix=/usr
+   INSTALL_LIBDIR="$(get_libdir)"
+   AR="$(tc-getAR)"
+   AROPTS="rcs"
+   CFLAGS="${CFLAGS}"
+   CXXFLAGS="${CXXFLAGS}"
+   LD="${CC}"
+   LDXX="${CXX}"
+   STRIP=/bin/true
+   HOST_AR="$(tc-getBUILD_AR)"
+   HOST_CC="$(tc-getBUILD_CC)"
+   HOST_CXX="$(tc-getBUILD_CXX)"
+   HOST_LD="$(tc-getBUILD_CC)"
+   HOST_LDXX="$(tc-getBUILD_CXX)"
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   )
+
+   emake "${myemakeargs[@]}"
+}
+
+src_install() {
+   local myemakeargs=(
+   V=1
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2019-08-16 Thread Georgy Yakovlev
commit: bf6b4895ed89ae2061d7f42487b269d25bbb956b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 02:15:26 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 02:59:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf6b4895

net-libs/grpc: bump to 1.23.0

Bug: https://bugs.gentoo.org/692012
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   1 +
 .../grpc/files/grpc-1.22.1-glibc-2.30-compat.patch |  78 ++
 net-libs/grpc/grpc-1.23.0.ebuild   | 113 +
 3 files changed, 192 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f80ec4ac5af..e210b147a9e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,3 +5,4 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f7
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
+DIST grpc-1.23.0.tar.gz 15212436 BLAKE2B 
119a62e6573a1c7785934f7752d9bf2fc0f503a268e439ce143d6730994e3fc154ffd558a2fb3776a77f5f36798baac334f50d1c612ae5564c3c2f110df8b42c
 SHA512 
4770651bd73b71735152155327c44d59125442b405157ffea8fb80b6f16406dd388474394e44ef620e2a777018121988a3a7a552a42141650d7cac263ab499a0

diff --git a/net-libs/grpc/files/grpc-1.22.1-glibc-2.30-compat.patch 
b/net-libs/grpc/files/grpc-1.22.1-glibc-2.30-compat.patch
new file mode 100644
index 000..90bd9115893
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.22.1-glibc-2.30-compat.patch
@@ -0,0 +1,78 @@
+From d1d017390b799c59d6fdf7b8afa6136d218bdd61 Mon Sep 17 00:00:00 2001
+From: Benjamin Peterson 
+Date: Fri, 3 May 2019 08:11:00 -0700
+Subject: [PATCH] Rename gettid() functions.
+
+glibc 2.30 will declare its own gettid; see 
https://sourceware.org/git/?p=glibc.git;a=commit;h=1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92.
 Rename the grpc versions to avoid naming conflicts.
+---
+ src/core/lib/gpr/log_linux.cc  | 4 ++--
+ src/core/lib/gpr/log_posix.cc  | 4 ++--
+ src/core/lib/iomgr/ev_epollex_linux.cc | 4 ++--
+ 3 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/core/lib/gpr/log_linux.cc b/src/core/lib/gpr/log_linux.cc
+index 561276f0c20..8b597b4cf2f 100644
+--- a/src/core/lib/gpr/log_linux.cc
 b/src/core/lib/gpr/log_linux.cc
+@@ -40,7 +40,7 @@
+ #include 
+ #include 
+ 
+-static long gettid(void) { return syscall(__NR_gettid); }
++static long sys_gettid(void) { return syscall(__NR_gettid); }
+ 
+ void gpr_log(const char* file, int line, gpr_log_severity severity,
+  const char* format, ...) {
+@@ -70,7 +70,7 @@ void gpr_default_log(gpr_log_func_args* args) {
+   gpr_timespec now = gpr_now(GPR_CLOCK_REALTIME);
+   struct tm tm;
+   static __thread long tid = 0;
+-  if (tid == 0) tid = gettid();
++  if (tid == 0) tid = sys_gettid();
+ 
+   timer = static_cast(now.tv_sec);
+   final_slash = strrchr(args->file, '/');
+diff --git a/src/core/lib/gpr/log_posix.cc b/src/core/lib/gpr/log_posix.cc
+index b6edc14ab6b..2f7c6ce3760 100644
+--- a/src/core/lib/gpr/log_posix.cc
 b/src/core/lib/gpr/log_posix.cc
+@@ -31,7 +31,7 @@
+ #include 
+ #include 
+ 
+-static intptr_t gettid(void) { return (intptr_t)pthread_self(); }
++static intptr_t sys_gettid(void) { return (intptr_t)pthread_self(); }
+ 
+ void gpr_log(const char* file, int line, gpr_log_severity severity,
+  const char* format, ...) {
+@@ -86,7 +86,7 @@ void gpr_default_log(gpr_log_func_args* args) {
+   char* prefix;
+   gpr_asprintf(, "%s%s.%09d %7" PRIdPTR " %s:%d]",
+gpr_log_severity_string(args->severity), time_buffer,
+-   (int)(now.tv_nsec), gettid(), display_file, args->line);
++   (int)(now.tv_nsec), sys_gettid(), display_file, args->line);
+ 
+   fprintf(stderr, "%-70s %s\n", prefix, args->message);
+   gpr_free(prefix);
+diff --git a/src/core/lib/iomgr/ev_epollex_linux.cc 
b/src/core/lib/iomgr/ev_epollex_linux.cc
+index 08116b3ab53..76f59844312 100644
+--- a/src/core/lib/iomgr/ev_epollex_linux.cc
 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: d7039e56ff6f549bd1134dd237ad682c93ad11a1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:50:07 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7039e56

net-libs/grpc: drop 1.14.2

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   2 -
 net-libs/grpc/grpc-1.14.2.ebuild | 173 ---
 2 files changed, 175 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index f30e18f6dcd..fab6aa9ada9 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
@@ -7,5 +6,4 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f7
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
-DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
deleted file mode 100644
index f3f61968210..000
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should >=depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
-   dev-util/google-perftools
-  

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: 904bf59fb19a2c1863d86f5f13c69823c538ac83
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 09:06:41 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:06:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904bf59f

net-libs/grpc: rename all patches

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 ...-pkgconfig-libdir.patch => grpc-1.11.0-pkgconfig-libdir.patch} | 0
 ...t-ar-handling.patch => grpc-1.13.0-fix-host-ar-handling.patch} | 0
 ...t-ar-handling.patch => grpc-1.21.0-fix-host-ar-handling.patch} | 0
 ...loop.patch => grpc-1.22.0-cxx_arg_list_too_long_forloop.patch} | 0
 ...n-t-run-ldconfig.patch => grpc-1.3.0-Don-t-run-ldconfig.patch} | 0
 net-libs/grpc/grpc-1.16.1.ebuild  | 6 +++---
 net-libs/grpc/grpc-1.17.1.ebuild  | 6 +++---
 net-libs/grpc/grpc-1.18.0.ebuild  | 6 +++---
 net-libs/grpc/grpc-1.19.0.ebuild  | 6 +++---
 net-libs/grpc/grpc-1.20.1-r1.ebuild   | 6 +++---
 net-libs/grpc/grpc-1.21.1-r1.ebuild   | 6 +++---
 net-libs/grpc/grpc-1.22.0.ebuild  | 8 
 12 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/net-libs/grpc/files/0005-grpc-1.11.0-pkgconfig-libdir.patch 
b/net-libs/grpc/files/grpc-1.11.0-pkgconfig-libdir.patch
similarity index 100%
rename from net-libs/grpc/files/0005-grpc-1.11.0-pkgconfig-libdir.patch
rename to net-libs/grpc/files/grpc-1.11.0-pkgconfig-libdir.patch

diff --git a/net-libs/grpc/files/0001-grpc-1.13.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/grpc-1.13.0-fix-host-ar-handling.patch
similarity index 100%
rename from net-libs/grpc/files/0001-grpc-1.13.0-fix-host-ar-handling.patch
rename to net-libs/grpc/files/grpc-1.13.0-fix-host-ar-handling.patch

diff --git a/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch
similarity index 100%
rename from net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
rename to net-libs/grpc/files/grpc-1.21.0-fix-host-ar-handling.patch

diff --git a/net-libs/grpc/files/1.22.0-cxx_arg_list_too_long_forloop.patch 
b/net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch
similarity index 100%
rename from net-libs/grpc/files/1.22.0-cxx_arg_list_too_long_forloop.patch
rename to net-libs/grpc/files/grpc-1.22.0-cxx_arg_list_too_long_forloop.patch

diff --git a/net-libs/grpc/files/0003-grpc-1.3.0-Don-t-run-ldconfig.patch 
b/net-libs/grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch
similarity index 100%
rename from net-libs/grpc/files/0003-grpc-1.3.0-Don-t-run-ldconfig.patch
rename to net-libs/grpc/files/grpc-1.3.0-Don-t-run-ldconfig.patch

diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index f04778edda6..6ab28ceba67 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -30,9 +30,9 @@ DEPEND="${RDEPEND}
 "
 
 PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
"${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
"${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
"${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"

diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index 2774a877762..a5959280313 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -33,9 +33,9 @@ DEPEND="${RDEPEND}
 RESTRICT="test"
 
 PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/grpc-1.11.0-pkgconfig-libdir.patch"
"${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
"${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
 )

diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index 2774a877762..a5959280313 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -33,9 +33,9 @@ DEPEND="${RDEPEND}
 RESTRICT="test"
 
 PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.13.0-fix-host-ar-handling.patch"
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: e73e3aca230f341ba27724c474fae3099317b82d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:48:26 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e73e3aca

net-libs/grpc: drop 1.12.1-r1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   1 -
 net-libs/grpc/grpc-1.12.1-r1.ebuild | 162 
 2 files changed, 163 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index e2f1cc58c4e..8a7c199b775 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a
 SHA512 
9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
 DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385

diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild 
b/net-libs/grpc/grpc-1.12.1-r1.ebuild
deleted file mode 100644
index 51e73dd8c9c..000
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-DEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-3.5:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   python? ( ${PYTHON_DEPS}
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-   virtual/python-enum34[${PYTHON_USEDEP}]
-   virtual/python-futures[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   )
-   )
-   systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
-   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
-   "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
-   "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
-   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-   default
-   use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
-   if use tools; then
-   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
-   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
-   pushd 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/

2019-07-27 Thread Georgy Yakovlev
commit: b726a99f598a9ad548763a2035c3929e6361fed8
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 09:00:25 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b726a99f

net-libs/grpc: remove unused patches

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../0001-grpc-1.11.0-Fix-cross-compiling.patch | 58 ---
 .../0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch   | 38 --
 .../0004-grpc-1.11.0-fix-cpp-so-version.patch  | 49 -
 .../0006-grpc-1.12.1-allow-system-openssl.patch| 65 -
 .../files/0007-grpc-1.12.1-allow-system-zlib.patch | 52 --
 .../0008-grpc-1.12.1-allow-system-cares.patch  | 52 --
 .../grpc/files/0009-grpc-1.12.1-gcc8-fixes.patch   | 53 --
 net-libs/grpc/files/grpc-1.14.2-gcc8-fixes.patch   | 83 --
 8 files changed, 450 deletions(-)

diff --git a/net-libs/grpc/files/0001-grpc-1.11.0-Fix-cross-compiling.patch 
b/net-libs/grpc/files/0001-grpc-1.11.0-Fix-cross-compiling.patch
deleted file mode 100644
index 6c4767759b4..000
--- a/net-libs/grpc/files/0001-grpc-1.11.0-Fix-cross-compiling.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From b9e631dad111f725c1a4e8b69ff1960397a5cc22 Mon Sep 17 00:00:00 2001
-From: Chirantan Ekbote 
-Date: Mon, 10 Jul 2017 13:19:35 -0700
-Subject: [PATCH 2/5] grpc-1.3.0: Fix cross-compiling
-
-Cross-compiling was severely broken in the Makefile.  Fix it.
-
-Sent upstream as https://github.com/grpc/grpc/pull/11476.

- Makefile | 16 +---
- 1 file changed, 9 insertions(+), 7 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 95de4f6530..4f0680e1d2 100644
 a/Makefile
-+++ b/Makefile
-@@ -329,6 +329,7 @@ HOST_CC ?= $(CC)
- HOST_CXX ?= $(CXX)
- HOST_LD ?= $(LD)
- HOST_LDXX ?= $(LDXX)
-+HOST_AR ?= $(AR)
- 
- CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
- ifeq ($(HAS_CXX11),true)
-@@ -438,11 +439,12 @@ LDFLAGS += $(EXTRA_LDFLAGS)
- DEFINES += $(EXTRA_DEFINES)
- LDLIBS += $(EXTRA_LDLIBS)
- 
--HOST_CPPFLAGS = $(CPPFLAGS)
--HOST_CFLAGS = $(CFLAGS)
--HOST_CXXFLAGS = $(CXXFLAGS)
--HOST_LDFLAGS = $(LDFLAGS)
--HOST_LDLIBS = $(LDLIBS)
-+HOST_CPPFLAGS = $(CPPFLAGS_NO_ARCH) -g -Wall -Wextra -Werror -Wno-long-long 
-Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -fPIC
-+HOST_CFLAGS = -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) 
$(W_EXTRA_SEMI)
-+HOST_CXXFLAGS = -std=c++11
-+HOST_LDFLAGS = -g -fPIC -Llibs/$(CONFIG)
-+HOST_LDLIBS = -lprotoc
-+HOST_AROPTS = $(AROPTS)
- 
- # These are automatically computed variables.
- # There shouldn't be any need to change anything from now on.
-@@ -6838,10 +6840,10 @@ $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: 
protobuf_dep_error
- else
- 
- $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) 
$(ADDRESS_SORTING_DEP)  $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS) 
--  $(E) "[AR]  Creating $@"
-+  $(E) "[HOSTAR]  Creating $@"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
--  $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a 
$(LIBGRPC_PLUGIN_SUPPORT_OBJS) 
-+  $(Q) $(HOST_AR) $(HOST_AROPTS) 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS)
- ifeq ($(SYSTEM),Darwin)
-   $(Q) ranlib -no_warning_for_no_symbols 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
- endif
--- 
-2.14.0.rc0.284.gd933b75aa4-goog
-

diff --git a/net-libs/grpc/files/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch 
b/net-libs/grpc/files/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch
deleted file mode 100644
index e6bde1321a4..000
--- a/net-libs/grpc/files/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From bc139f5b7ce6a2a6d7c67480a04e029955aec0ab Mon Sep 17 00:00:00 2001
-From: Chirantan Ekbote 
-Date: Mon, 10 Jul 2017 13:21:27 -0700
-Subject: [PATCH 3/5] grpc-1.3.0: Fix unsecure .pc files
-
-The *_unsecure.pc files were still linking against the secure versions
-of the grpc libraries.  Fix them to link against the unsecure versions.
-
-Sent upstream as https://github.com/grpc/grpc/pull/11448.

- Makefile | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 4f0680e1d2..86bd66a5e0 100644
 a/Makefile
-+++ b/Makefile
-@@ -778,7 +778,7 @@ PC_DESCRIPTION = high performance general RPC framework 
without SSL
- PC_CFLAGS =
- PC_REQUIRES_PRIVATE = $(PC_REQUIRES_GRPC)
- PC_LIBS_PRIVATE = $(PC_LIBS_GRPC)
--PC_LIB = -lgrpc
-+PC_LIB = -lgrpc_unsecure
- GRPC_UNSECURE_PC_FILE := $(CORE_PC_TEMPLATE)
- 
- PROTOBUF_PKG_CONFIG = false
-@@ -849,7 +849,7 @@ PC_DESCRIPTION = C++ wrapper for gRPC without SSL
- PC_CFLAGS =
- PC_REQUIRES_PRIVATE = grpc_unsecure $(PC_REQUIRES_GRPCXX)
- PC_LIBS_PRIVATE = $(PC_LIBS_GRPCXX)
--PC_LIB = 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: 183363ba5dd9a49179efac0b8886fa7c3d56b171
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:51:01 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183363ba

net-libs/grpc: drop 1.15.0

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   2 -
 net-libs/grpc/grpc-1.15.0.ebuild | 173 ---
 net-libs/grpc/metadata.xml   |   1 -
 3 files changed, 176 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index fab6aa9ada9..f80ec4ac5af 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
 DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
@@ -6,4 +5,3 @@ DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f7
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
-DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
deleted file mode 100644
index 54b506a2c3a..000
--- a/net-libs/grpc/grpc-1.15.0.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should >=depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.6.1"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   python? ( ${PYTHON_DEPS}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: 27a552221fff73938ad4d4e03459e0f3f938710c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:49:38 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27a55222

net-libs/grpc: drop 1.13.1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 -
 net-libs/grpc/grpc-1.13.1.ebuild | 172 ---
 2 files changed, 173 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index dc9e15b55cc..f30e18f6dcd 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d

diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
deleted file mode 100644
index 12364479d27..000
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should ~depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   python? ( ${PYTHON_DEPS}
-   dev-python/cython[${PYTHON_USEDEP}]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   virtual/python-enum34[${PYTHON_USEDEP}]
-   virtual/python-futures[${PYTHON_USEDEP}]
-   tools? ( >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}] 
)
-   )
-   systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? (
-   python? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   )
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-   default
-   use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
-   if use tools; then
-   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
-   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
-   pushd tools/distrib/python/grpcio_tools >/dev/null || die
-   # absolute symlinks will 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: fe025f55452d30fee04cf4dfb878e42af6976f24
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:49:07 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe025f55

net-libs/grpc: drop 1.13.0-r1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest  |   1 -
 net-libs/grpc/grpc-1.13.0-r1.ebuild | 173 
 2 files changed, 174 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8a7c199b775..dc9e15b55cc 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06

diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild 
b/net-libs/grpc/grpc-1.13.0-r1.ebuild
deleted file mode 100644
index 45bfa5343f4..000
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-# also should ~depend on same version of dev-libs/protobuf below
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap static-libs tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   python? ( ${PYTHON_DEPS}
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-   virtual/python-enum34[${PYTHON_USEDEP}]
-   virtual/python-futures[${PYTHON_USEDEP}]
-   )
-   systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   doc? (
-   python? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   )
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-   default
-   use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
-   if use tools; then
-   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
-   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
-   pushd tools/distrib/python/grpcio_tools 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-07-27 Thread Georgy Yakovlev
commit: f0f686d79cee621464e5a65d5b91393891815b56
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 27 08:47:49 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 27 09:01:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f686d7

net-libs/grpc: drop 1.12.0

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |  1 -
 net-libs/grpc/grpc-1.12.0.ebuild | 66 
 2 files changed, 67 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 72a57adaabc..e2f1cc58c4e 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,3 @@
-DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 
86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57
 SHA512 
68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
 DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a
 SHA512 
9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
 DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356

diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
deleted file mode 100644
index 89cc2c83087..000
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-inherit python-r1 toolchain-funcs multilib flag-o-matic
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-3:=
-   net-dns/c-ares:=
-   sys-libs/zlib:="
-
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
-   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-)
-
-src_prepare() {
-sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-default
-}
-
-src_compile() {
-   tc-export CC CXX PKG_CONFIG
-   emake \
-   V=1 \
-   prefix=/usr \
-   INSTALL_LIBDIR="$(get_libdir)" \
-   AR="$(tc-getAR)" \
-   AROPTS="rcs" \
-   CFLAGS="${CFLAGS}" \
-   LD="${CC}" \
-   LDXX="${CXX}" \
-   STRIP=true \
-   HOST_CC="$(tc-getBUILD_CC)" \
-   HOST_CXX="$(tc-getBUILD_CXX)" \
-   HOST_LD="$(tc-getBUILD_CC)" \
-   HOST_LDXX="$(tc-getBUILD_CXX)" \
-   HOST_AR="$(tc-getBUILD_AR)"
-}
-
-src_install() {
-   emake \
-   prefix="${ED%/}"/usr \
-   INSTALL_LIBDIR="$(get_libdir)" \
-   STRIP=true \
-   install
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2019-07-13 Thread Georgy Yakovlev
commit: 5ff24c4e16ffa9d4c145909ecd43dcd8b4830fc8
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jul 14 01:01:00 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jul 14 01:10:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff24c4e

net-libs/grpc: bump to 1.22.0

Closes: https://bugs.gentoo.org/688646
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   1 +
 .../1.22.0-cxx_arg_list_too_long_forloop.patch |  44 
 net-libs/grpc/grpc-1.22.0.ebuild   | 112 +
 3 files changed, 157 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index daffd2305a6..72a57adaabc 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -10,5 +10,6 @@ DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a95
 DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
+DIST grpc-1.22.0.tar.gz 15082718 BLAKE2B 
679be0488fc02441d5ba555c9150532e6ceb00bbaee9fe8b22881bef8ab713f45f96283f123576738285cfe8d358eb458cac9252bac7766cfd8ee5ac6e97fda9
 SHA512 
e8181f01bc44dc7e7a9e8c74c0a9c3f25960bb9c88c239e7c75764105ca24ac173bab663130fb6349c7fa43cd57f35dd7927a369482b1e6a73224cb2174bd336
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/files/1.22.0-cxx_arg_list_too_long_forloop.patch 
b/net-libs/grpc/files/1.22.0-cxx_arg_list_too_long_forloop.patch
new file mode 100644
index 000..974d6fcc435
--- /dev/null
+++ b/net-libs/grpc/files/1.22.0-cxx_arg_list_too_long_forloop.patch
@@ -0,0 +1,44 @@
+--- a/Makefile 2018-06-26 11:07:45.948160976 +0200
 b/Makefile 2019-06-26 11:04:25.798966336 +0200
+@@ -2820,13 +2820,15 @@
+ 
+ install-headers_c:
+   $(E) "[INSTALL] Installing public C headers"
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) 
&& ) exit 0 || exit 1
++  $(Q) for h in $(PUBLIC_HEADERS_C); do \
++  $(INSTALL) -D $$h $(prefix)/$$h ; \
++  done
+ 
+ install-headers_cxx:
+   $(E) "[INSTALL] Installing public C++ headers"
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) 
&& ) exit 0 || exit 1
++  $(Q) for h in $(PUBLIC_HEADERS_CXX); do \
++  $(INSTALL) -D $$h $(prefix)/$$h ; \
++  done
+ 
+ install-static: install-static_c install-static_cxx
+ 
+--- a/templates/Makefile.template  2019-06-26 12:38:36.777292299 +0200
 b/templates/Makefile.template  2019-06-26 12:48:35.668550020 +0200
+@@ -1302,13 +1302,15 @@
+ 
+   install-headers_c:
+   $(E) "[INSTALL] Installing public C headers"
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_C), $(INSTALL) $(h) $(prefix)/$(h) 
&& ) exit 0 || exit 1
++  $(Q) for h in $(PUBLIC_HEADERS_C); do \
++  $(INSTALL) -D $$h $(prefix)/$$h ; \
++  done
+ 
+   install-headers_cxx:
+   $(E) "[INSTALL] Installing public C++ headers"
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) 
&& ) exit 0 || exit 1
++  $(Q) for h in 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-05-31 Thread Georgy Yakovlev
commit: 056704d24f97bdc39df889f12347913f775269a0
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri May 31 19:25:47 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri May 31 19:25:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056704d2

net-libs/grpc: revbump 1.2x series, bump protobuf dep to >=3.7.0

Closes: https://bugs.gentoo.org/686988
Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/{grpc-1.20.1.ebuild => grpc-1.20.1-r1.ebuild} | 2 +-
 net-libs/grpc/{grpc-1.21.1.ebuild => grpc-1.21.1-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/grpc/grpc-1.20.1.ebuild 
b/net-libs/grpc/grpc-1.20.1-r1.ebuild
similarity index 98%
rename from net-libs/grpc/grpc-1.20.1.ebuild
rename to net-libs/grpc/grpc-1.20.1-r1.ebuild
index bc5eefc6e92..f34a772f778 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="examples doc perftools systemtap static-libs"
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
-   dev-libs/protobuf:=
+   >=dev-libs/protobuf-3.7.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
perftools? ( dev-util/google-perftools:= )

diff --git a/net-libs/grpc/grpc-1.21.1.ebuild 
b/net-libs/grpc/grpc-1.21.1-r1.ebuild
similarity index 98%
rename from net-libs/grpc/grpc-1.21.1.ebuild
rename to net-libs/grpc/grpc-1.21.1-r1.ebuild
index 79d4eff6fd6..f90bab18e1c 100644
--- a/net-libs/grpc/grpc-1.21.1.ebuild
+++ b/net-libs/grpc/grpc-1.21.1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="examples doc perftools systemtap static-libs"
 
 DEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
-   dev-libs/protobuf:=
+   >=dev-libs/protobuf-3.7.0:=
>=net-dns/c-ares-1.15.0:=
sys-libs/zlib:=
perftools? ( dev-util/google-perftools:= )



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-05-28 Thread Georgy Yakovlev
commit: 38f4895df44cc3c414b5765f9f68a49d2b0bbff3
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 28 06:39:03 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 28 06:49:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f4895d

net-libs/grpc: add USE=perftools to most versions

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.16.1.ebuild | 7 ---
 net-libs/grpc/grpc-1.17.1.ebuild | 7 ---
 net-libs/grpc/grpc-1.18.0.ebuild | 7 ---
 net-libs/grpc/grpc-1.19.0.ebuild | 7 ---
 net-libs/grpc/grpc-1.20.1.ebuild | 7 ---
 5 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 07af07cc1f5..f04778edda6 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -14,14 +14,14 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
-   dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
 "
 
@@ -64,7 +64,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
-   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)" \
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
 }
 
 src_install() {

diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index bbdf4092a7c..2774a877762 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -14,14 +14,14 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
-   dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
 "
 
@@ -68,7 +68,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
-   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)" \
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
 }
 
 src_install() {

diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index bbdf4092a7c..2774a877762 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -14,14 +14,14 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
-   dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
 "
 
@@ -68,7 +68,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
-   HAS_SYSTEMTAP="$(usex systemtap true false)"
+   HAS_SYSTEMTAP="$(usex systemtap true false)" \
+   HAS_SYSTEM_PERFTOOLS="$(usex perftools true false)"
 }
 
 src_install() {

diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
index dbbfa395438..d944be59c38 100644
--- a/net-libs/grpc/grpc-1.19.0.ebuild
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -14,14 +14,14 @@ 
SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
+IUSE="examples doc perftools systemtap static-libs"
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
dev-libs/protobuf:=
-   dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=
+   perftools? ( dev-util/google-perftools:= )
systemtap? ( dev-util/systemtap )
 "
 
@@ -66,7 +66,8 @@ src_compile() {
HOST_LD="$(tc-getBUILD_CC)" \
HOST_LDXX="$(tc-getBUILD_CXX)" \
HOST_AR="$(tc-getBUILD_AR)" \
-   HAS_SYSTEMTAP="$(usex systemtap true 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/

2019-05-28 Thread Georgy Yakovlev
commit: a1d682209b9bc6b70cf72ffe5f2f8ff4cfb80bc1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 28 06:48:26 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 28 06:49:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d68220

net-libs/grpc: reduce patch size for 1.21.1

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../grpc/files/1.21.0-fix-host-ar-handling.patch   | 831 +
 1 file changed, 7 insertions(+), 824 deletions(-)

diff --git a/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
index 174985097f4..213a39a3843 100644
--- a/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
+++ b/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
@@ -18,7 +18,7 @@ index 67495f2..e1c741c 100644
  HOST_LD ?= $(LD)
  HOST_LDXX ?= $(LDXX)
 +HOST_AR ?= $(AR)
- 
+
  CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
  CXXFLAGS += -std=c++11
 @@ -483,6 +484,7 @@ HOST_CFLAGS += $(CFLAGS)
@@ -26,839 +26,22 @@ index 67495f2..e1c741c 100644
  HOST_LDFLAGS += $(LDFLAGS)
  HOST_LDLIBS += $(LDLIBS)
 +HOST_AROPTS = $(AROPTS)
- 
+
  # These are automatically computed variables.
  # There shouldn't be any need to change anything from now on.
-@@ -2581,12 +2583,12 @@ $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
protoc_dep_error
- $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: protoc_dep_error
- else
- 
--$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
src/proto/grpc/channelz/channelz.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
src/proto/grpc/channelz/channelz.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
-   $(E) "[PROTOC]  Generating protobuf CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $<
- 
--$(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: 
src/proto/grpc/channelz/channelz.proto 
$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(PROTOBUF_DEP) 
$(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: 
src/proto/grpc/channelz/channelz.proto 
$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(PROTOBUF_DEP) 
$(PROTOC_PLUGINS)
-   $(E) "[GRPC]Generating gRPC's protobuf service CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) 
--plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX)
 $<
-@@ -2597,12 +2599,12 @@ $(GENDIR)/src/proto/grpc/core/stats.pb.cc: 
protoc_dep_error
- $(GENDIR)/src/proto/grpc/core/stats.grpc.pb.cc: protoc_dep_error
- else
- 
--$(GENDIR)/src/proto/grpc/core/stats.pb.cc: src/proto/grpc/core/stats.proto 
$(PROTOBUF_DEP) $(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/core/stats.pb.cc: src/proto/grpc/core/stats.proto 
$(PROTOBUF_DEP) $(PROTOC_PLUGINS)
-   $(E) "[PROTOC]  Generating protobuf CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $<
- 
--$(GENDIR)/src/proto/grpc/core/stats.grpc.pb.cc: 
src/proto/grpc/core/stats.proto $(GENDIR)/src/proto/grpc/core/stats.pb.cc 
$(PROTOBUF_DEP) $(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/core/stats.grpc.pb.cc: 
src/proto/grpc/core/stats.proto $(GENDIR)/src/proto/grpc/core/stats.pb.cc 
$(PROTOBUF_DEP) $(PROTOC_PLUGINS)
-   $(E) "[GRPC]Generating gRPC's protobuf service CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) 
--plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX)
 $<
-@@ -2613,12 +2615,12 @@ $(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: 
protoc_dep_error
- $(GENDIR)/src/proto/grpc/health/v1/health.grpc.pb.cc: protoc_dep_error
- else
- 
--$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: 
src/proto/grpc/health/v1/health.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: 
src/proto/grpc/health/v1/health.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
-   $(E) "[PROTOC]  Generating protobuf CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $<
- 
--$(GENDIR)/src/proto/grpc/health/v1/health.grpc.pb.cc: 
src/proto/grpc/health/v1/health.proto 
$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc $(PROTOBUF_DEP) 
$(PROTOC_PLUGINS) 
-+$(GENDIR)/src/proto/grpc/health/v1/health.grpc.pb.cc: 
src/proto/grpc/health/v1/health.proto 
$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc $(PROTOBUF_DEP) 
$(PROTOC_PLUGINS)
-   $(E) "[GRPC]Generating gRPC's protobuf service CC file from $<"
-   $(Q) mkdir -p `dirname $@`
-   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --grpc_out=$(GENDIR) 
--plugin=protoc-gen-grpc=$(PROTOC_PLUGINS_DIR)/grpc_cpp_plugin$(EXECUTABLE_SUFFIX)
 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2019-05-27 Thread Georgy Yakovlev
commit: 0821706ecec5ef6e1d5d63597ade79fcc0715c07
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May 28 04:46:19 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May 28 04:52:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0821706e

net-libs/grpc: bump to 1.21.1

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest |   1 +
 .../grpc/files/1.21.0-fix-host-ar-handling.patch   | 864 +
 net-libs/grpc/grpc-1.21.1.ebuild   | 112 +++
 net-libs/grpc/metadata.xml |   1 +
 4 files changed, 978 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 76c1f14d565..daffd2305a6 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -9,5 +9,6 @@ DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c
 DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
 DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
 DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
+DIST grpc-1.21.1.tar.gz 15043553 BLAKE2B 
bed23af6606a69eb02a033d5dd6d92e3e080cc68ddae3c700872b8036cab594fd79c2396eb4ac84df2c5ea9eaf5ec0401d820667a7de0e9e2b376c0df4d4e9c5
 SHA512 
b9ea81a97416d9c1ef4d49e5f222f309b00d383f643f3bf342b6ad97f88e08e212e19db75e4a74fc5c23799dbe76dd0a9d6d4c9310e8cb1e007622a78d7a7114
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
new file mode 100644
index 000..174985097f4
--- /dev/null
+++ b/net-libs/grpc/files/1.21.0-fix-host-ar-handling.patch
@@ -0,0 +1,864 @@
+From 913486fddb5c2600f6ff83e549ee25e67579666f Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Wed, 22 May 2019 23:04:28 -0700
+Subject: [PATCH] Makefile: fix host ar handling
+
+picked lines from
+https://github.com/grpc/grpc/pull/11476
+---
+ Makefile | 236 ---
+ 1 file changed, 119 insertions(+), 117 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 67495f2..e1c741c 100644
+--- a/Makefile
 b/Makefile
+@@ -346,6 +346,7 @@ HOST_CC ?= $(CC)
+ HOST_CXX ?= $(CXX)
+ HOST_LD ?= $(LD)
+ HOST_LDXX ?= $(LDXX)
++HOST_AR ?= $(AR)
+ 
+ CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
+ CXXFLAGS += -std=c++11
+@@ -483,6 +484,7 @@ HOST_CFLAGS += $(CFLAGS)
+ HOST_CXXFLAGS += $(CXXFLAGS)
+ HOST_LDFLAGS += $(LDFLAGS)
+ HOST_LDLIBS += $(LDLIBS)
++HOST_AROPTS = $(AROPTS)
+ 
+ # These are automatically computed variables.
+ # There shouldn't be any need to change anything from now on.
+@@ -2581,12 +2583,12 @@ $(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
protoc_dep_error
+ $(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: protoc_dep_error
+ else
+ 
+-$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
src/proto/grpc/channelz/channelz.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) 
++$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc: 
src/proto/grpc/channelz/channelz.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS)
+   $(E) "[PROTOC]  Generating protobuf CC file from $<"
+   $(Q) mkdir -p `dirname $@`
+   $(Q) $(PROTOC) -Ithird_party/protobuf/src -I. --cpp_out=$(GENDIR) $<
+ 
+-$(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: 
src/proto/grpc/channelz/channelz.proto 
$(GENDIR)/src/proto/grpc/channelz/channelz.pb.cc $(PROTOBUF_DEP) 
$(PROTOC_PLUGINS) 
++$(GENDIR)/src/proto/grpc/channelz/channelz.grpc.pb.cc: 
src/proto/grpc/channelz/channelz.proto 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-05-07 Thread Georgy Yakovlev
commit: 73bf1bfd3cba42d58883d6abb9253ba2fb04f328
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue May  7 18:57:43 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May  7 18:57:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73bf1bfd

net-libs/grpc: don't remove trailing slash from ED in EAPI=7 ebuilds

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.16.1.ebuild | 2 +-
 net-libs/grpc/grpc-1.17.1.ebuild | 2 +-
 net-libs/grpc/grpc-1.18.0.ebuild | 2 +-
 net-libs/grpc/grpc-1.19.0.ebuild | 2 +-
 net-libs/grpc/grpc-1.20.1.ebuild | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 90158c5c0d3..07af07cc1f5 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -69,7 +69,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${ED%/}"/usr \
+   prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index 7c7b0acf040..bbdf4092a7c 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -73,7 +73,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${ED%/}"/usr \
+   prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
index 7c7b0acf040..bbdf4092a7c 100644
--- a/net-libs/grpc/grpc-1.18.0.ebuild
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -73,7 +73,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${ED%/}"/usr \
+   prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
index 39508cff560..dbbfa395438 100644
--- a/net-libs/grpc/grpc-1.19.0.ebuild
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -71,7 +71,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${ED%/}"/usr \
+   prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
index f963e1b5c22..c17b91e1843 100644
--- a/net-libs/grpc/grpc-1.20.1.ebuild
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -71,7 +71,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${ED%/}"/usr \
+   prefix="${ED}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-05-07 Thread Georgy Yakovlev
commit: 3eb55c77b381cbd6a70f262b84f69d000132f4d6
Author: Julius Putra Tanu Setiaji  gmail  com>
AuthorDate: Mon May  6 14:18:46 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue May  7 18:54:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb55c77

net-libs/grpc: Fix files installed outside prefix

Signed-off-by: Julius Putra Tanu Setiaji  gmail.com>
Closes: https://bugs.gentoo.org/685198
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/11916
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.12.0.ebuild| 4 ++--
 net-libs/grpc/grpc-1.12.1-r1.ebuild | 2 +-
 net-libs/grpc/grpc-1.13.0-r1.ebuild | 2 +-
 net-libs/grpc/grpc-1.13.1.ebuild| 2 +-
 net-libs/grpc/grpc-1.14.2.ebuild| 2 +-
 net-libs/grpc/grpc-1.15.0.ebuild| 2 +-
 net-libs/grpc/grpc-1.16.1.ebuild| 4 ++--
 net-libs/grpc/grpc-1.17.1.ebuild| 4 ++--
 net-libs/grpc/grpc-1.18.0.ebuild| 2 +-
 net-libs/grpc/grpc-1.19.0.ebuild| 2 +-
 net-libs/grpc/grpc-1.20.1.ebuild| 2 +-
 11 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
index ddf193e17a0..89cc2c83087 100644
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ b/net-libs/grpc/grpc-1.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -59,7 +59,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=true \
install

diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild 
b/net-libs/grpc/grpc-1.12.1-r1.ebuild
index 7f3ee9f18a8..51e73dd8c9c 100644
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -134,7 +134,7 @@ python_compile_all() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=true \
install

diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild 
b/net-libs/grpc/grpc-1.13.0-r1.ebuild
index 138531249bf..45bfa5343f4 100644
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -138,7 +138,7 @@ python_compile_all() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
index e4d1903e679..12364479d27 100644
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
index b88634bc3de..f3f61968210 100644
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ b/net-libs/grpc/grpc-1.14.2.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
index 9a98d75031c..54b506a2c3a 100644
--- a/net-libs/grpc/grpc-1.15.0.ebuild
+++ b/net-libs/grpc/grpc-1.15.0.ebuild
@@ -137,7 +137,7 @@ python_compile_all() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
index 4cfb0e21799..90158c5c0d3 100644
--- a/net-libs/grpc/grpc-1.16.1.ebuild
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -69,7 +69,7 @@ src_compile() {
 
 src_install() {
emake \
-   prefix="${D}"/usr \
+   prefix="${ED%/}"/usr \
INSTALL_LIBDIR="$(get_libdir)" \
STRIP=/bin/true \
install

diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
index 30606061790..7c7b0acf040 100644
--- a/net-libs/grpc/grpc-1.17.1.ebuild
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-04-29 Thread Georgy Yakovlev
commit: a002978d8d661a3579f34587d338bd6853da3cdc
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Apr 30 04:06:05 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Apr 30 04:40:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a002978d

net-libs/grpc: bump to 1.20.1

Package-Manager: Portage-2.3.65, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.20.1.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 8d190b01356..76c1f14d565 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,5 +8,6 @@ DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a295
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
 DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
 DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
+DIST grpc-1.20.1.tar.gz 14930355 BLAKE2B 
5b1bf2250d2b052498cfad9fc96134fd9b0065c98d73957427347aff4fe170f9a3d323c9f8797311c570a25bd9ff79f80da610e32b638c6409d2cd5dfbeb4eef
 SHA512 
e0dd0318d2b4ec07e0eafffa218938d91b1440c5053a557460ea7fceaab3d76f01d595abe7de9fa79f068b71cfbc5a28a3b688bc9c1e2737086928149583
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.20.1.ebuild b/net-libs/grpc/grpc-1.20.1.ebuild
new file mode 100644
index 000..34179c7a860
--- /dev/null
+++ b/net-libs/grpc/grpc-1.20.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   >=net-dns/c-ares-1.15.0:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+   prefix="${D}"/usr \
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-02-26 Thread Georgy Yakovlev
commit: adbb17307bbc88175c5566c6eb5c4171d83a4027
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Feb 27 03:50:04 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Feb 27 04:19:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbb1730

net-libs/grpc: bump to 1.19.0

skip gcc8 patch, builds fine with 8.3.0
added CONCEPTS.md to docs

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.19.0.ebuild | 104 +++
 2 files changed, 105 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 576141d92e2..8d190b01356 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,5 +7,6 @@ DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
 DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
+DIST grpc-1.19.0.tar.gz 14793251 BLAKE2B 
b3a3db91f6c54126a51e27bd474d05bc672c5f71f131581ddea60ded64b247d69bdc4edcc974cbce7af71e78c4579a7b6ad0c618ac3aeb9b0ff7743b039658f7
 SHA512 
6a61373e5c407ee147ea755b9992f96801695d0b94e6d34305fc09afe9987ae6d4a70a0757bd903734f549604bda26b41582e6938b1654598429abc4cc3a3b90
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.19.0.ebuild b/net-libs/grpc/grpc-1.19.0.ebuild
new file mode 100644
index 000..980578d57ee
--- /dev/null
+++ b/net-libs/grpc/grpc-1.19.0.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+  

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-01-15 Thread Georgy Yakovlev
commit: 525fdbc8c703713bdf7193cd5fe51a5316eba07c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Jan 16 00:51:25 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Jan 16 00:52:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525fdbc8

net-libs/grpc: drop old

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   2 -
 net-libs/grpc/grpc-1.16.0.ebuild | 102 -
 net-libs/grpc/grpc-1.17.0.ebuild | 106 ---
 3 files changed, 210 deletions(-)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index ad32c39f6ee..576141d92e2 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -4,9 +4,7 @@ DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cf
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
-DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800
 SHA512 
af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
-DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 
4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0
 SHA512 
c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
 DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181

diff --git a/net-libs/grpc/grpc-1.16.0.ebuild b/net-libs/grpc/grpc-1.16.0.ebuild
deleted file mode 100644
index 4cfb0e21799..000
--- a/net-libs/grpc/grpc-1.16.0.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic toolchain-funcs
-
-MY_PV="${PV//_pre/-pre}"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="https://www.grpc.io;
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc systemtap static-libs"
-
-RDEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   dev-libs/protobuf:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   systemtap? ( dev-util/systemtap )
-"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2019-01-15 Thread Georgy Yakovlev
commit: b7eb661920cf357567cbd0b989400da8fd104e41
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Jan 16 00:35:38 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Jan 16 00:52:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7eb6619

net-libs/grpc: bump to 1.18.0

Package-Manager: Portage-2.3.55, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.18.0.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index b132b7b2982..ad32c39f6ee 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -8,5 +8,6 @@ DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 
4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0
 SHA512 
c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
 DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
+DIST grpc-1.18.0.tar.gz 14690365 BLAKE2B 
ec2992e3b80ca10f9d0250510930d4f2b5f7a9593a8245927aafe77b29b028e4a4a2f32162af08fd4e2077d48b9e0e32e772901f5f524247f7d6910e74c2a120
 SHA512 
2489860a395b9f59d4eb81db5a8d873683e317145ad140b72fabb13693e166c122ce8526d34e2380a52d18493e8b2b49d6d28e53878af2c43523a5791da8fe52
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.18.0.ebuild b/net-libs/grpc/grpc-1.18.0.ebuild
new file mode 100644
index 000..9334110878b
--- /dev/null
+++ b/net-libs/grpc/grpc-1.18.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-12-14 Thread Georgy Yakovlev
commit: 9c7194c373f046aa225e80b6b43da2e9083fa2c7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Dec 15 05:48:02 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Dec 15 05:48:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7194c3

net-libs/grpc: bump to 1.17.1

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.17.1.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 081b74e5928..b132b7b2982 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -7,5 +7,6 @@ DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4
 DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800
 SHA512 
af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 
4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0
 SHA512 
c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
+DIST grpc-1.17.1.tar.gz 14626262 BLAKE2B 
ce44f15bfb7f8cb9b7f0f2a1919d218a99dbc4c599d912459c2b5ca46b386b2446018f22d0d28886769dec16b5eadb8140b78e584ecfd5bb2cc6aa63dcb45ece
 SHA512 
45ba731fd4d1bc3cf590511e53ea6a73de6970f4bb379eb0ef90d550cdc13358f673ead8c6877c02c71dccdba914ad4765c58e173e0dd7895b5d25ebbad38e8e
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.17.1.ebuild b/net-libs/grpc/grpc-1.17.1.ebuild
new file mode 100644
index 000..30606061790
--- /dev/null
+++ b/net-libs/grpc/grpc-1.17.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-12-09 Thread Georgy Yakovlev
commit: 69125a4b1fb367335f57c84c33a51ec0cdd31c98
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Dec 10 04:30:54 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Dec 10 04:30:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69125a4b

net-libs/grpc: bump to 1.17.0

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.17.0.ebuild | 106 +++
 2 files changed, 107 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 7305495516d..081b74e5928 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -6,5 +6,6 @@ DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800
 SHA512 
af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
 DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
+DIST grpc-1.17.0.tar.gz 14639325 BLAKE2B 
4a94d2072de6ce055a910015fa2ff4e9be898d0a51e907091c77eac15c6d49cfd76bdac0bfc8c1a69462a4c04273785f17ac91214b3c6e5cdcf3b249831597e0
 SHA512 
c1c6a1c668975e454abd36fa13550ffd40e04e752a2a5090541463c20683ad9382052d22874115f2772ad9c0dda74c4dfb1835176b07ea69a1b99186afeb5cf7
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.17.0.ebuild b/net-libs/grpc/grpc-1.17.0.ebuild
new file mode 100644
index 000..30606061790
--- /dev/null
+++ b/net-libs/grpc/grpc-1.17.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="https://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+# requires network
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's:-Werror::g' Makefile || die
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-11-14 Thread Georgy Yakovlev
commit: 5c978cb42f659db4b2b44200a7803692053efbd7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 15 03:15:46 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 15 03:21:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c978cb4

net-libs/grpc: http -> https HOMEPAGE

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/grpc-1.12.0.ebuild| 4 ++--
 net-libs/grpc/grpc-1.12.1-r1.ebuild | 4 ++--
 net-libs/grpc/grpc-1.13.0-r1.ebuild | 4 ++--
 net-libs/grpc/grpc-1.13.1.ebuild| 4 ++--
 net-libs/grpc/grpc-1.14.2.ebuild| 4 ++--
 net-libs/grpc/grpc-1.15.0.ebuild| 4 ++--
 net-libs/grpc/grpc-1.16.0.ebuild| 2 +-
 net-libs/grpc/grpc-1.16.1.ebuild| 2 +-
 8 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/net-libs/grpc/grpc-1.12.0.ebuild b/net-libs/grpc/grpc-1.12.0.ebuild
index a232297d5cf..ddf193e17a0 100644
--- a/net-libs/grpc/grpc-1.12.0.ebuild
+++ b/net-libs/grpc/grpc-1.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 python3_{5,6} )
 inherit python-r1 toolchain-funcs multilib flag-o-matic
 
 DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
+HOMEPAGE="https://www.grpc.io;
 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"

diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild 
b/net-libs/grpc/grpc-1.12.1-r1.ebuild
index 6c9403c7626..e5ea7b0998a 100644
--- a/net-libs/grpc/grpc-1.12.1-r1.ebuild
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 PROTOBUF_VERSION="3.5.2"
 
 DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
+HOMEPAGE="https://www.grpc.io;
 SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )

diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild 
b/net-libs/grpc/grpc-1.13.0-r1.ebuild
index b3f51b4ee14..d04a6152ea2 100644
--- a/net-libs/grpc/grpc-1.13.0-r1.ebuild
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 PROTOBUF_VERSION="3.5.2"
 
 DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
+HOMEPAGE="https://www.grpc.io;
 SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )

diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
index 620789c5cc9..c754e09e6eb 100644
--- a/net-libs/grpc/grpc-1.13.1.ebuild
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 PROTOBUF_VERSION="3.5.2"
 
 DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
+HOMEPAGE="https://www.grpc.io;
 SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )

diff --git a/net-libs/grpc/grpc-1.14.2.ebuild b/net-libs/grpc/grpc-1.14.2.ebuild
index f7ac68eea64..8c453555b08 100644
--- a/net-libs/grpc/grpc-1.14.2.ebuild
+++ b/net-libs/grpc/grpc-1.14.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ inherit distutils-r1 flag-o-matic toolchain-funcs
 PROTOBUF_VERSION="3.5.2"
 
 DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
+HOMEPAGE="https://www.grpc.io;
 SRC_URI="
https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )

diff --git a/net-libs/grpc/grpc-1.15.0.ebuild b/net-libs/grpc/grpc-1.15.0.ebuild
index 7c59fdc3076..9aa1447c2c7 100644
--- 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-11-14 Thread Georgy Yakovlev
commit: 45a6c02b40096a08998aa78418bfc51fc23929fe
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 15 03:00:14 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 15 03:21:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a6c02b

net-libs/grpc: version bump to 1.16.1

Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.16.1.ebuild | 102 +++
 2 files changed, 103 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 6e6e8dc9326..7305495516d 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -5,5 +5,6 @@ DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb798280942
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800
 SHA512 
af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
+DIST grpc-1.16.1.tar.gz 14442310 BLAKE2B 
7ee9dc8f146a11009024786f3aa80205eb9a29576dd96fe719b7417eafcdacab703f0eaa73f009c98a54968c4d6079f612fa2b581e236d12fd55013c7c01fd5f
 SHA512 
2bfc3aba316eac7d741944826a5cd4de6aa6ccf05e8023383cb9d8cd374ff1961c75b0371edf088d47c8a797ed64c35bd64b7b22f388a62ece9ecef55f4ea56d
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/grpc-1.16.1.ebuild b/net-libs/grpc/grpc-1.16.1.ebuild
new file mode 100644
index 000..b3fac81f326
--- /dev/null
+++ b/net-libs/grpc/grpc-1.16.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+MY_PV="${PV//_pre/-pre}"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io;
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc systemtap static-libs"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   dev-libs/protobuf:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
+   "${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
+)
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+   default
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+}
+
+src_install() {
+   emake \
+   prefix="${D}"/usr \
+ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2018-10-28 Thread Georgy Yakovlev
commit: f39ed9cf181d96f0cc120a898379c06b103bc83b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Oct 28 19:33:39 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Oct 28 19:33:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f39ed9cf

net-libs/grpc: fix ARG_MAX install error

Closes: https://bugs.gentoo.org/669730
Signed-off-by: Georgy Yakovlev  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 ...0-Prevent-shell-calls-longer-than-ARG_MAX.patch | 70 ++
 net-libs/grpc/grpc-1.16.0.ebuild   |  1 +
 2 files changed, 71 insertions(+)

diff --git 
a/net-libs/grpc/files/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch 
b/net-libs/grpc/files/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch
new file mode 100644
index 000..fd9f9141954
--- /dev/null
+++ 
b/net-libs/grpc/files/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch
@@ -0,0 +1,70 @@
+From 0892788776d60d92a0cddcd22078779166b736db Mon Sep 17 00:00:00 2001
+From: Dario Berzano 
+Date: Thu, 5 Jul 2018 11:27:20 +0200
+Subject: [PATCH] Prevent shell calls longer than ARG_MAX
+
+This patch we breaks the relevant paths array into multiple shorter arrays in
+order to make the shell calls succeed.
+
+See grpc/grpc#14844.
+---
+ Makefile | 16 
+ 1 file changed, 16 insertions(+)
+
+diff --git a/Makefile b/Makefile
+index 54823a31167..25eb092d996 100644
+--- a/Makefile
 b/Makefile
+@@ -2946,8 +2946,14 @@ install-headers_c:
+
+ install-headers_cxx:
+   $(E) "[INSTALL] Installing public C++ headers"
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
+-  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) 
&& ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX1), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX1), $(INSTALL) $(h) 
$(prefix)/$(h) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX2), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX2), $(INSTALL) $(h) 
$(prefix)/$(h) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX3), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX3), $(INSTALL) $(h) 
$(prefix)/$(h) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX4), $(INSTALL) -d $(prefix)/$(dir 
$(h)) && ) exit 0 || exit 1
++  $(Q) $(foreach h, $(PUBLIC_HEADERS_CXX4), $(INSTALL) $(h) 
$(prefix)/$(h) && ) exit 0 || exit 1
+
+ install-static: install-static_c install-static_cxx
+
+@@ -5278,6 +5284,8 @@ PUBLIC_HEADERS_CXX += \
+ include/grpc++/support/stub_options.h \
+ include/grpc++/support/sync_stream.h \
+ include/grpc++/support/time.h \
++
++PUBLIC_HEADERS_CXX1 += \
+ include/grpcpp/alarm.h \
+ include/grpcpp/channel.h \
+ include/grpcpp/client_context.h \
+@@ -5325,6 +5333,8 @@ PUBLIC_HEADERS_CXX += \
+ include/grpcpp/support/stub_options.h \
+ include/grpcpp/support/sync_stream.h \
+ include/grpcpp/support/time.h \
++
++PUBLIC_HEADERS_CXX2 += \
+ include/grpc/support/alloc.h \
+ include/grpc/support/atm.h \
+ include/grpc/support/atm_gcc_atomic.h \
+@@ -5376,6 +5386,8 @@ PUBLIC_HEADERS_CXX += \
+ include/grpc/impl/codegen/propagation_bits.h \
+ include/grpc/impl/codegen/slice.h \
+ include/grpc/impl/codegen/status.h \
++
++PUBLIC_HEADERS_CXX3 += \
+ include/grpc++/impl/codegen/async_stream.h \
+ include/grpc++/impl/codegen/async_unary_call.h \
+ include/grpc++/impl/codegen/byte_buffer.h \
+@@ -5406,6 +5418,8 @@ PUBLIC_HEADERS_CXX += \
+ include/grpc++/impl/codegen/stub_options.h \
+ include/grpc++/impl/codegen/sync_stream.h \
+ include/grpc++/impl/codegen/time.h \
++
++PUBLIC_HEADERS_CXX4 += \
+ include/grpcpp/impl/codegen/async_generic_service.h \
+ include/grpcpp/impl/codegen/async_stream.h \
+ include/grpcpp/impl/codegen/async_unary_call.h \

diff --git a/net-libs/grpc/grpc-1.16.0.ebuild b/net-libs/grpc/grpc-1.16.0.ebuild
index 31caf4ced50..b3fac81f326 100644
--- a/net-libs/grpc/grpc-1.16.0.ebuild
+++ b/net-libs/grpc/grpc-1.16.0.ebuild
@@ -35,6 +35,7 @@ PATCHES=(
"${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
"${FILESDIR}/grpc-1.15.0-fix-cpp-so-version.patch"
"${FILESDIR}/grpc-1.16.0-gcc8-fixes.patch"
+   "${FILESDIR}/grpc-1.16.0-Prevent-shell-calls-longer-than-ARG_MAX.patch"
 )
 
 S="${WORKDIR}/${PN}-${MY_PV}"



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2018-10-25 Thread Georgy Yakovlev
commit: 92c71270024e7e9bf74eef6bd697eada65899c6c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Oct 22 00:34:55 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Oct 25 04:49:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c71270

net-libs/grpc: version bump to 1.16.0

migrated python and tools useflags to
dev-python/{grpcio,grpcio-tools}

Signed-off-by: Georgy Yakovlev  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/files/grpc-1.16.0-gcc8-fixes.patch |  46 +++
 net-libs/grpc/grpc-1.16.0.ebuild | 101 +++
 3 files changed, 148 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 565aa5cecfb..6e6e8dc9326 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -4,5 +4,6 @@ DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cf
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
+DIST grpc-1.16.0.tar.gz 14442543 BLAKE2B 
bceddb5cc9b3439523523f16e0a34b45ddcd1b4bfc00556639b6d0ea84b886c7a9b3204b73605181d76997b42ba1a3ec3ccb95f43a0396a5cb96c7ea7644a800
 SHA512 
af088500bb7055f91a856efc91a718f3363a3047bc568e6419dc5776037d9a20493772b34d75a78225fb6bfc339da6493881c6744f3f98607bf9d3c7f91bfb75
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
 DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/files/grpc-1.16.0-gcc8-fixes.patch 
b/net-libs/grpc/files/grpc-1.16.0-gcc8-fixes.patch
new file mode 100644
index 000..0afd8254dec
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.16.0-gcc8-fixes.patch
@@ -0,0 +1,46 @@
+From 807a938a576ec52bc8c971100b2da26b059d9347 Mon Sep 17 00:00:00 2001
+From: Tobias Jungel 
+Date: Wed, 22 Aug 2018 21:14:46 +0200
+Subject: [PATCH 1/2] mitigate gcc8 -Werror=ignored-qualifiers
+
+---
+ src/core/ext/transport/chttp2/transport/flow_control.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/core/ext/transport/chttp2/transport/flow_control.cc 
b/src/core/ext/transport/chttp2/transport/flow_control.cc
+index 53932bcb7f5..4b1862735d6 100644
+--- a/src/core/ext/transport/chttp2/transport/flow_control.cc
 b/src/core/ext/transport/chttp2/transport/flow_control.cc
+@@ -190,7 +190,7 @@ TransportFlowControl::TransportFlowControl(const 
grpc_chttp2_transport* t,
+ uint32_t TransportFlowControl::MaybeSendUpdate(bool writing_anyway) {
+   FlowControlTrace trace("t updt sent", this, nullptr);
+   const uint32_t target_announced_window =
+-  static_cast(target_window());
++  static_cast(target_window());
+   if ((writing_anyway || announced_window_ <= target_announced_window / 2) &&
+   announced_window_ != target_announced_window) {
+ const uint32_t announce = static_cast GPR_CLAMP(
+
+From 5a03e7f10145c6591f313055907a9cf26ccb9234 Mon Sep 17 00:00:00 2001
+From: Tobias Jungel 
+Date: Wed, 22 Aug 2018 21:17:01 +0200
+Subject: [PATCH 2/2] mitigate gcc8 -Werror=stringop-truncation
+
+---
+ .../client_channel/lb_policy/grpclb/load_balancer_api.cc   | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git 
a/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc 
b/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
+index f24281a5bfb..8c064214729 100644
+--- a/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
 b/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
+@@ -68,7 +68,8 @@ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2018-09-12 Thread Georgy Yakovlev
commit: 7c3ea02725492bbb3d7ce9bdea1d4b44305c69d8
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Sep 12 18:38:44 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Sep 12 18:56:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c3ea027

net-libs/grpc: version bump to 1.15.0

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-libs/grpc/Manifest |   2 +
 .../files/grpc-1.15.0-fix-cpp-so-version.patch |  70 +
 net-libs/grpc/grpc-1.15.0.ebuild   | 173 +
 3 files changed, 245 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 2f11312e5db..565aa5cecfb 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -3,4 +3,6 @@ DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b73
 DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
+DIST grpc-1.15.0.tar.gz 14084394 BLAKE2B 
133460868f347eb4bba6e761c2ad7d826017de4b3c52aafe1850a8a8811afb0a6ff3c084b5ff645556d0f14c7c60db89a9cb5dddfc9827b2ca2b32af09ecf43f
 SHA512 
2a958d93bf737e074216b121bc8e65c9c5151e6f8cfd5a3e9f826413d2734fdcdbd5659482c8d0b2a5e9a4ae537f5c1dfb58ee8ecf844ec95fe46659fb937e06
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181
+DIST protobuf-3.6.1.tar.gz 4485582 BLAKE2B 
546c49759df784018459809b9db692c5c94aef5d717183af5cd9edd96b4c658e759f23950cdcd5dddceaaad06ea1de2a2357b9fa8c496ed5d538fc5920174da0
 SHA512 
1bc175d24b49de1b1e41eaf39598194e583afffb924c86c8d2e569d935af21874be76b2cbd4d9655a1d38bac3d4cd811de88bc2c72d81bad79115e69e5b0d839

diff --git a/net-libs/grpc/files/grpc-1.15.0-fix-cpp-so-version.patch 
b/net-libs/grpc/files/grpc-1.15.0-fix-cpp-so-version.patch
new file mode 100644
index 000..ba2ca651f0c
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.15.0-fix-cpp-so-version.patch
@@ -0,0 +1,70 @@
+From a443abbdbbd402951138bb8fcb2a4f159b920fcd Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Wed, 12 Sep 2018 11:22:48 -0700
+Subject: [PATCH] Fix cpp soname symlinks
+
+---
+ Makefile | 12 ++--
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 4e993782ee..09bd52e8ad 100644
+--- a/Makefile
 b/Makefile
+@@ -3050,7 +3050,7 @@ install-shared_cxx: shared_cxx strip-shared_cxx 
install-shared_c install-pkg-con
+ ifeq ($(SYSTEM),MINGW32)
+   $(Q) $(INSTALL) 
$(LIBDIR)/$(CONFIG)/libgrpc++$(SHARED_VERSION_CPP)-dll.a 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++.a
+ else ifneq ($(SYSTEM),Darwin)
+-  $(Q) ln -sf 
$(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++.so.6
++  $(Q) ln -sf 
$(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++.so.1
+   $(Q) ln -sf 
$(SHARED_PREFIX)grpc++$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++.so
+ endif
+   $(E) "[INSTALL] Installing 
$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
+@@ -3059,7 +3059,7 @@ endif
+ ifeq ($(SYSTEM),MINGW32)
+   $(Q) $(INSTALL) 
$(LIBDIR)/$(CONFIG)/libgrpc++_cronet$(SHARED_VERSION_CPP)-dll.a 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++_cronet.a
+ else ifneq ($(SYSTEM),Darwin)
+-  $(Q) ln -sf 
$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++_cronet.so.6
++  $(Q) ln -sf 
$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++_cronet.so.1
+   $(Q) ln -sf 
$(SHARED_PREFIX)grpc++_cronet$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP) 
$(prefix)/$(INSTALL_LIBDIR)/libgrpc++_cronet.so
+ endif
+   $(E) "[INSTALL] Installing 
$(SHARED_PREFIX)grpc++_error_details$(SHARED_VERSION_CPP).$(SHARED_EXT_CPP)"
+@@ -3068,7 +3068,7 @@ endif
+ ifeq ($(SYSTEM),MINGW32)

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/, net-libs/grpc/files/

2018-09-12 Thread Georgy Yakovlev
commit: 6c95887964743f14f9af8b75929408df60691fc7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Sep 12 18:37:36 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Sep 12 18:56:45 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c958879

net-libs/grpc: version bump to 1.14.2

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/files/grpc-1.14.2-gcc8-fixes.patch |  83 +++
 net-libs/grpc/grpc-1.14.2.ebuild | 173 +++
 3 files changed, 257 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index c694829ef8a..2f11312e5db 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -2,4 +2,5 @@ DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 
86b9063416140453718c51df4f238bb3d5ac854
 DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a
 SHA512 
9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
 DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
+DIST grpc-1.14.2.tar.gz 13891112 BLAKE2B 
2d8baa2d248fb9e319ac6f1a9cb1eb0c4f7ce20cfaa51254cb6d43db8d101fd4df03779b24e52a2cd00d7e14a415d928d51039c31cdde2c3272feee664861ea1
 SHA512 
1fca05a01fcae3bcaa8aeb57fb8e4a69d92d4d4d42e0612e9a7b3652a3f4e1b006a7559aea95cadae614479f4ac6ed14876b81fca0365967d246a5b7888a8385
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181

diff --git a/net-libs/grpc/files/grpc-1.14.2-gcc8-fixes.patch 
b/net-libs/grpc/files/grpc-1.14.2-gcc8-fixes.patch
new file mode 100644
index 000..cb61b5f26fe
--- /dev/null
+++ b/net-libs/grpc/files/grpc-1.14.2-gcc8-fixes.patch
@@ -0,0 +1,83 @@
+From 9c7db45da9a6ddc5d65cd19704539579eb31d2ce Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Wed, 12 Sep 2018 10:35:45 -0700
+Subject: [PATCH] Fix failures with gcc-8
+
+Based on this PR https://github.com/grpc/grpc/pull/15443
+---
+ src/core/ext/filters/client_channel/client_channel.cc  | 2 +-
+ .../client_channel/lb_policy/grpclb/load_balancer_api.cc   | 3 ++-
+ src/core/ext/transport/chttp2/transport/flow_control.cc| 2 +-
+ src/core/lib/surface/channel.cc| 2 +-
+ src/core/tsi/alts_transport_security.cc| 2 +-
+ 5 files changed, 6 insertions(+), 5 deletions(-)
+
+diff --git a/src/core/ext/filters/client_channel/client_channel.cc 
b/src/core/ext/filters/client_channel/client_channel.cc
+index d2bf4f388d..503fb1ac87 100644
+--- a/src/core/ext/filters/client_channel/client_channel.cc
 b/src/core/ext/filters/client_channel/client_channel.cc
+@@ -457,7 +457,7 @@ 
get_service_config_from_resolver_result_locked(channel_data* chand) {
+ grpc_uri* uri = grpc_uri_parse(server_uri, true);
+ GPR_ASSERT(uri->path[0] != '\0');
+ service_config_parsing_state parsing_state;
+-memset(_state, 0, sizeof(parsing_state));
++memset(reinterpret_cast(_state), 0, 
sizeof(parsing_state));
+ parsing_state.server_name =
+ uri->path[0] == '/' ? uri->path + 1 : uri->path;
+ service_config->ParseGlobalParams(parse_retry_throttle_params,
+diff --git 
a/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc 
b/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
+index f24281a5bf..74baf430f1 100644
+--- a/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
 b/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc
+@@ -68,7 +68,8 @@ grpc_grpclb_request* grpc_grpclb_request_create(const char* 
lb_service_name) {
+   req->has_initial_request = true;
+   req->initial_request.has_name = true;
+   strncpy(req->initial_request.name, lb_service_name,
+-  GRPC_GRPCLB_SERVICE_NAME_MAX_LENGTH);
++  GRPC_GRPCLB_SERVICE_NAME_MAX_LENGTH-1);
++  req->initial_request.name[GRPC_GRPCLB_SERVICE_NAME_MAX_LENGTH] = '\0';
+   return req;
+ }
+ 
+diff --git 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-07-16 Thread Georgy Yakovlev
commit: c60c136a1bbe24d31ee50cfb2c87f7ef57f8e25d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Jul 16 19:31:05 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Jul 16 19:31:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60c136a

net-libs/grpc: version bump to 1.13.1

Clarified python dependencies.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 net-libs/grpc/Manifest   |   1 +
 net-libs/grpc/grpc-1.13.1.ebuild | 172 +++
 2 files changed, 173 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index 93ed53e4b94..c694829ef8a 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,4 +1,5 @@
 DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 
86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57
 SHA512 
68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
 DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a
 SHA512 
9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
 DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
+DIST grpc-1.13.1.tar.gz 13757818 BLAKE2B 
9387efb980a0cff20c36d7653f24fb7982809428f7f35af0819786753d6cf380a581af81bde72f3682fcdfb3f41c71d628e5ef3b6b83663c8d3d182b4fdb6272
 SHA512 
f44028299d47865814ada2b8b93dc98dc51c8729bedc9c30dd79c04f6ecc3789ff06bbe7555e5d3512d9aec027751761ae10a80a09a94cf85bbd3260d651b356
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181

diff --git a/net-libs/grpc/grpc-1.13.1.ebuild b/net-libs/grpc/grpc-1.13.1.ebuild
new file mode 100644
index 000..620789c5cc9
--- /dev/null
+++ b/net-libs/grpc/grpc-1.13.1.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+# also should ~depend on same version of dev-libs/protobuf below
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap static-libs tools"
+
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+   tools? ( python )
+"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   python? ( ${PYTHON_DEPS}
+   dev-python/cython[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   virtual/python-enum34[${PYTHON_USEDEP}]
+   virtual/python-futures[${PYTHON_USEDEP}]
+   tools? ( >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}] 
)
+   )
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? (
+   python? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+   default
+   use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+   if 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-07-15 Thread Georgy Yakovlev
commit: 5d7099dca23483891bc22124c0dda25dcf7706b6
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jul 15 22:07:37 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jul 15 22:13:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7099dc

net-libs/grpc: drop old

Closes: https://bugs.gentoo.org/661244
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-libs/grpc/grpc-1.12.1.ebuild | 160 
 net-libs/grpc/grpc-1.13.0.ebuild | 171 ---
 2 files changed, 331 deletions(-)

diff --git a/net-libs/grpc/grpc-1.12.1.ebuild b/net-libs/grpc/grpc-1.12.1.ebuild
deleted file mode 100644
index e57c672f483..000
--- a/net-libs/grpc/grpc-1.12.1.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1 flag-o-matic toolchain-funcs
-
-# should match pinned git submodule version of third_party/protobuf
-# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
-PROTOBUF_VERSION="3.5.2"
-
-DESCRIPTION="Modern open source high performance RPC framework"
-HOMEPAGE="http://www.grpc.io;
-SRC_URI="
-   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
-   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
-"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="examples doc python systemtap tools"
-
-REQUIRED_USE="
-   python? ( ${PYTHON_REQUIRED_USE} )
-   tools? ( python )
-"
-
-DEPEND="
-   >=dev-libs/openssl-1.0.2:0=[-bindist]
-   >=dev-libs/protobuf-3.5:=
-   dev-util/google-perftools
-   net-dns/c-ares:=
-   sys-libs/zlib:=
-   python? ( ${PYTHON_DEPS}
-   dev-python/coverage[${PYTHON_USEDEP}]
-   dev-python/cython[${PYTHON_USEDEP}]
-   >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-   virtual/python-enum34[${PYTHON_USEDEP}]
-   virtual/python-futures[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/sphinx[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   )
-   )
-   systemtap? ( dev-util/systemtap )
-"
-
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
-   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
-   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
-   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
-   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
-   "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
-   "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
-   "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
-   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
-)
-
-src_prepare() {
-   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
-   default
-   use python && distutils-r1_src_prepare
-}
-
-python_prepare() {
-   if use tools; then
-   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
-   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
-   pushd tools/distrib/python/grpcio_tools >/dev/null || die
-   # absolute symlinks will fail because out-of-source build
-   # ./src -> ${S}/src
-   ln -s ../../../../src ./ || die
-   # ./third_party -> ${S}/third_party
-   ln -s ../../../../third_party ./ || die
-   # ./grpc_root -> ${S}
-   ln -s ../../../../ ./grpc_root || die
-   popd >/dev/null || die
-   fi
-}
-
-src_compile() {
-   tc-export CC CXX PKG_CONFIG
-   emake \
-   V=1 \
-   prefix=/usr \
-   INSTALL_LIBDIR="$(get_libdir)" \
-   AR="$(tc-getAR)" \
-   AROPTS="rcs" \
-   CFLAGS="${CFLAGS}" \
-   LD="${CC}" \
-   LDXX="${CXX}" \
-   STRIP=true \
-   HOST_CC="$(tc-getBUILD_CC)" \
-   HOST_CXX="$(tc-getBUILD_CXX)" \
-   HOST_LD="$(tc-getBUILD_CC)" \
-   HOST_LDXX="$(tc-getBUILD_CXX)" \
-   HOST_AR="$(tc-getBUILD_AR)" \
-   HAS_SYSTEMTAP="$(usex systemtap true false)"
-
-   use python && distutils-r1_src_compile
-}
-
-python_compile() {
-   export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
-   export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
-   export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
-   export GRPC_PYTHON_BUILD_WITH_CYTHON=1
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-07-15 Thread Georgy Yakovlev
commit: c3028549bd420c751fed6e530e9f740445a9f7ba
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jul 15 22:03:36 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jul 15 22:11:59 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3028549

net-libs/grpc: revbmp 1.13.0, fix huge SOURCES.txt

Bug: https://bugs.gentoo.org/661244
Reported-by: Remy Blank  c-space.org>
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-libs/grpc/grpc-1.13.0-r1.ebuild | 173 
 1 file changed, 173 insertions(+)

diff --git a/net-libs/grpc/grpc-1.13.0-r1.ebuild 
b/net-libs/grpc/grpc-1.13.0-r1.ebuild
new file mode 100644
index 000..b3f51b4ee14
--- /dev/null
+++ b/net-libs/grpc/grpc-1.13.0-r1.ebuild
@@ -0,0 +1,173 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+# also should ~depend on same version of dev-libs/protobuf below
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap static-libs tools"
+
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+   tools? ( python )
+"
+
+RDEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   python? ( ${PYTHON_DEPS}
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   virtual/python-enum34[${PYTHON_USEDEP}]
+   virtual/python-futures[${PYTHON_USEDEP}]
+   )
+   systemtap? ( dev-util/systemtap )
+"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   doc? (
+   python? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   )
+"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.13.0-fix-host-ar-handling.patch"
+   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+   default
+   use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+   if use tools; then
+   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
+   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
+   pushd tools/distrib/python/grpcio_tools >/dev/null || die
+   # absolute symlinks will fail
+   # ./src -> ${S}/src
+   ln -s ../../../../src ./ || die
+   # ./third_party -> ${S}/third_party
+   ln -s ../../../../third_party ./ || die
+   # ./grpc_root -> ${S}
+   ln -s ../../../../ ./grpc_root || die
+   # https://bugs.gentoo.org/661244
+   echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> 
MANIFEST.in
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   CXXFLAGS="${CXXFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=/bin/true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+
+   use python && distutils-r1_src_compile
+}
+
+python_compile() {
+   export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+   export 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-07-15 Thread Georgy Yakovlev
commit: 614b5aaad4f6d6c22ed92b1f99dc83d012f103ae
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jul 15 22:06:22 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jul 15 22:13:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614b5aaa

net-libs/grpc: revbmp 1.12.1, fix huge SOURCES.txt

Bug: https://bugs.gentoo.org/661244
Reported-by: Remy Blank  c-space.org>
Package-Manager: Portage-2.3.42, Repoman-2.3.9

 net-libs/grpc/grpc-1.12.1-r1.ebuild | 162 
 1 file changed, 162 insertions(+)

diff --git a/net-libs/grpc/grpc-1.12.1-r1.ebuild 
b/net-libs/grpc/grpc-1.12.1-r1.ebuild
new file mode 100644
index 000..6c9403c7626
--- /dev/null
+++ b/net-libs/grpc/grpc-1.12.1-r1.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   tools? ( 
https://github.com/google/protobuf/archive/v${PROTOBUF_VERSION}.tar.gz -> 
protobuf-${PROTOBUF_VERSION}.tar.gz )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples doc python systemtap tools"
+
+REQUIRED_USE="
+   python? ( ${PYTHON_REQUIRED_USE} )
+   tools? ( python )
+"
+
+DEPEND="
+   >=dev-libs/openssl-1.0.2:0=[-bindist]
+   >=dev-libs/protobuf-3.5:=
+   dev-util/google-perftools
+   net-dns/c-ares:=
+   sys-libs/zlib:=
+   python? ( ${PYTHON_DEPS}
+   dev-python/coverage[${PYTHON_USEDEP}]
+   dev-python/cython[${PYTHON_USEDEP}]
+   >=dev-python/protobuf-python-3.5.1:=[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   virtual/python-enum34[${PYTHON_USEDEP}]
+   virtual/python-futures[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   )
+   systemtap? ( dev-util/systemtap )
+"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/0001-grpc-1.11.0-Fix-cross-compiling.patch"
+   "${FILESDIR}/0002-grpc-1.3.0-Fix-unsecure-.pc-files.patch"
+   "${FILESDIR}/0003-grpc-1.3.0-Don-t-run-ldconfig.patch"
+   "${FILESDIR}/0004-grpc-1.11.0-fix-cpp-so-version.patch"
+   "${FILESDIR}/0005-grpc-1.11.0-pkgconfig-libdir.patch"
+   "${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
+   "${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
+   "${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
+   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
+)
+
+src_prepare() {
+   sed -i 's@$(prefix)/lib@$(prefix)/$(INSTALL_LIBDIR)@g' Makefile || die 
"fix libdir"
+   default
+   use python && distutils-r1_src_prepare
+}
+
+python_prepare() {
+   if use tools; then
+   rm -r third_party/protobuf || die "removing empty protobuf dir 
failed"
+   ln -s "${S}"/../protobuf-"${PROTOBUF_VERSION}" 
third_party/protobuf || die
+   pushd tools/distrib/python/grpcio_tools >/dev/null || die
+   # absolute symlinks will fail because out-of-source build
+   # ./src -> ${S}/src
+   ln -s ../../../../src ./ || die
+   # ./third_party -> ${S}/third_party
+   ln -s ../../../../third_party ./ || die
+   # ./grpc_root -> ${S}
+   ln -s ../../../../ ./grpc_root || die
+   # https://bugs.gentoo.org/661244
+   echo "prune grpc_root/tools/distrib/python/grpcio_tools" >> 
MANIFEST.in
+   popd >/dev/null || die
+   fi
+}
+
+src_compile() {
+   tc-export CC CXX PKG_CONFIG
+   emake \
+   V=1 \
+   prefix=/usr \
+   INSTALL_LIBDIR="$(get_libdir)" \
+   AR="$(tc-getAR)" \
+   AROPTS="rcs" \
+   CFLAGS="${CFLAGS}" \
+   LD="${CC}" \
+   LDXX="${CXX}" \
+   STRIP=true \
+   HOST_CC="$(tc-getBUILD_CC)" \
+   HOST_CXX="$(tc-getBUILD_CXX)" \
+   HOST_LD="$(tc-getBUILD_CC)" \
+   HOST_LDXX="$(tc-getBUILD_CXX)" \
+   HOST_AR="$(tc-getBUILD_AR)" \
+   HAS_SYSTEMTAP="$(usex systemtap true false)"
+
+   use python && distutils-r1_src_compile
+}
+
+python_compile() {
+   export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
+   export 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-07-08 Thread Jason Zaman
commit: e8e16ad7ca552fb86db37839d8408e46022b429f
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jul  8 09:30:41 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jul  8 15:26:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8e16ad7

net-libs/grpc: Allow >=protobuf dep

Tensorflow uses 3.6.0 protobuf with grpc-1.13.0 so they should work
together.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-libs/grpc/grpc-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/grpc-1.13.0.ebuild b/net-libs/grpc/grpc-1.13.0.ebuild
index ff81aa55ff0..824ec4b1aa0 100644
--- a/net-libs/grpc/grpc-1.13.0.ebuild
+++ b/net-libs/grpc/grpc-1.13.0.ebuild
@@ -32,7 +32,7 @@ REQUIRED_USE="
 
 RDEPEND="
>=dev-libs/openssl-1.0.2:0=[-bindist]
-   ~dev-libs/protobuf-${PROTOBUF_VERSION}:=
+   >=dev-libs/protobuf-${PROTOBUF_VERSION}:=
dev-util/google-perftools
net-dns/c-ares:=
sys-libs/zlib:=



[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2018-06-30 Thread Georgy Yakovlev
commit: 20ebf5fa76c976d8ba2670277ee4c24e6cd3575c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jun 30 08:04:53 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jun 30 08:06:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ebf5fa

net-libs/grpc: version bump to 1.13.0

Fix protobuf plugins not respecting CFLAGS

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-libs/grpc/Manifest |   1 +
 .../0001-grpc-1.13.0-fix-host-ar-handling.patch|  47 ++
 net-libs/grpc/grpc-1.13.0.ebuild   | 171 +
 3 files changed, 219 insertions(+)

diff --git a/net-libs/grpc/Manifest b/net-libs/grpc/Manifest
index cd8bbcbf7ef..93ed53e4b94 100644
--- a/net-libs/grpc/Manifest
+++ b/net-libs/grpc/Manifest
@@ -1,3 +1,4 @@
 DIST grpc-1.12.0.tar.gz 13692310 BLAKE2B 
86b9063416140453718c51df4f238bb3d5ac8549ece065c95d3c461c069358badec5a9a77aef694cd11a09f53e060f9ea51f3b40d9a2424837605c4899a21c57
 SHA512 
68a8c261ea570790974769d6c0ca8138cf4242b79e9ff74a11b10d35a27f98ff24c03f3d05932ac46811c0ba7d1a094388ae8dbeb495fc8e723ad74695994d49
 DIST grpc-1.12.1.tar.gz 13692045 BLAKE2B 
d35706b553917d0f27e4474509f361ec7962b738031f11ca814d7ec33429f848b3b3356cae9a28b9a0cb376df5a6348d312c80ed4eeb51b81e68b317584a2e4a
 SHA512 
9dd6d8c4b4e2713cf27ed55b1e97fdf5ed6d80f43b798b83f08e2f4646387dfd0696b21d4f44dbd99a061d388790dc15da49ac5afb0bb06116cfd6f07b7d6962
+DIST grpc-1.13.0.tar.gz 13755973 BLAKE2B 
533f0a7d4eb606b8a55f12aade503285dbff2cfa29ff2af71d407e3df25f3ec4b7572335c455d5dd0069eb343f18f8641a4f9326065cc118922942f77d2d2403
 SHA512 
25a489cd67d12219696c397afa75282eb702bd0af418381990b2eeb4b56483a46276d05314710582dd17be04c80aaf9bb16e01e2c1729d9a59d84ff273baa254
 DIST protobuf-3.5.2.tar.gz 4584659 BLAKE2B 
f582212169d802a5844574eb900c9f8cbb343b7e73f2074e5ff0bfc544ebd13f4bc2b78271fb70f4465d78fdc39972ed68339f453c0d3ffe98d8564fbf520544
 SHA512 
09d10cf0c07a0ba249428bbf20f5dbed840965fa06b3c09682f286a4dee9d84bb96f3b5b50e993d48ef1f20440531255ce7d0e60a648bf3fe536a5f2b0b74181

diff --git a/net-libs/grpc/files/0001-grpc-1.13.0-fix-host-ar-handling.patch 
b/net-libs/grpc/files/0001-grpc-1.13.0-fix-host-ar-handling.patch
new file mode 100644
index 000..926952f47f2
--- /dev/null
+++ b/net-libs/grpc/files/0001-grpc-1.13.0-fix-host-ar-handling.patch
@@ -0,0 +1,47 @@
+From 7e2d98df390787797fa494b26c72896f16f6e2a6 Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Sat, 30 Jun 2018 00:21:53 -0700
+Subject: [PATCH] Makefile: fix host ar handling
+
+Cherry picked lines from
+https://github.com/grpc/grpc/pull/11476
+---
+ Makefile | 6 --
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 8333858588..b5a44b7096 100644
+--- a/Makefile
 b/Makefile
+@@ -328,6 +328,7 @@ HOST_CC ?= $(CC)
+ HOST_CXX ?= $(CXX)
+ HOST_LD ?= $(LD)
+ HOST_LDXX ?= $(LDXX)
++HOST_AR ?= $(AR)
+ 
+ CFLAGS += -std=c99 -Wsign-conversion -Wconversion $(W_SHADOW) $(W_EXTRA_SEMI)
+ CXXFLAGS += -std=c++11
+@@ -444,6 +445,7 @@ HOST_CFLAGS = $(CFLAGS)
+ HOST_CXXFLAGS = $(CXXFLAGS)
+ HOST_LDFLAGS = $(LDFLAGS)
+ HOST_LDLIBS = $(LDLIBS)
++HOST_AROPTS = $(AROPTS)
+ 
+ # These are automatically computed variables.
+ # There shouldn't be any need to change anything from now on.
+@@ -6886,10 +6888,10 @@ $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: 
protobuf_dep_error
+ else
+ 
+ $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a: $(ZLIB_DEP) $(CARES_DEP) 
$(ADDRESS_SORTING_DEP)  $(PROTOBUF_DEP) $(LIBGRPC_PLUGIN_SUPPORT_OBJS) 
+-  $(E) "[AR]  Creating $@"
++  $(E) "[HOSTAR]  Creating $@"
+   $(Q) mkdir -p `dirname $@`
+   $(Q) rm -f $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
+-  $(Q) $(AR) $(AROPTS) $(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a 
$(LIBGRPC_PLUGIN_SUPPORT_OBJS) 
++  $(Q) $(HOST_AR) $(HOST_AROPTS) 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a $(LIBGRPC_PLUGIN_SUPPORT_OBJS) 
+ ifeq ($(SYSTEM),Darwin)
+   $(Q) ranlib -no_warning_for_no_symbols 
$(LIBDIR)/$(CONFIG)/libgrpc_plugin_support.a
+ endif
+-- 
+2.18.0
+

diff --git a/net-libs/grpc/grpc-1.13.0.ebuild b/net-libs/grpc/grpc-1.13.0.ebuild
new file mode 100644
index 000..ff81aa55ff0
--- /dev/null
+++ b/net-libs/grpc/grpc-1.13.0.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1 flag-o-matic toolchain-funcs
+
+# should match pinned git submodule version of third_party/protobuf
+# look it up here https://github.com/grpc/grpc/tree/v"${PV}"/third_party
+# also should ~depend on same version of dev-libs/protobuf below
+PROTOBUF_VERSION="3.5.2"
+
+DESCRIPTION="Modern open source high performance RPC framework"
+HOMEPAGE="http://www.grpc.io;
+SRC_URI="
+   https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+   tools? ( 

[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/

2018-06-16 Thread Georgy Yakovlev
commit: 8ac2ee85c1a719de0901b66c288ffc849c1100d3
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jun 17 01:11:05 2018 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jun 17 01:18:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac2ee85

net-libs/grpc: update metadata.xml

Bug: https://bugs.gentoo.org/643644
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-libs/grpc/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/grpc/metadata.xml b/net-libs/grpc/metadata.xml
index ccdf17cc01e..5a11d0f4a2d 100644
--- a/net-libs/grpc/metadata.xml
+++ b/net-libs/grpc/metadata.xml
@@ -5,7 +5,7 @@
perfin...@gentoo.org


-   y...@sysdump.net
+   gyakov...@gentoo.org
Georgy Yakovlev





[gentoo-commits] repo/gentoo:master commit in: net-libs/grpc/files/, net-libs/grpc/

2018-06-12 Thread Jason Zaman
commit: 3a42fbdae17de388d96fed660e15686b19473362
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Jun 12 06:52:14 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Jun 12 06:52:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a42fbda

net-libs/grpc: fix building with gcc8

Closes: https://bugs.gentoo.org/656166
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../grpc/files/0009-grpc-1.12.1-gcc8-fixes.patch   | 53 ++
 net-libs/grpc/grpc-1.12.1.ebuild   |  1 +
 2 files changed, 54 insertions(+)

diff --git a/net-libs/grpc/files/0009-grpc-1.12.1-gcc8-fixes.patch 
b/net-libs/grpc/files/0009-grpc-1.12.1-gcc8-fixes.patch
new file mode 100644
index 000..a9168f165e1
--- /dev/null
+++ b/net-libs/grpc/files/0009-grpc-1.12.1-gcc8-fixes.patch
@@ -0,0 +1,53 @@
+--- a/tmp/alts_transport_security.cc.ORIG  2018-04-13 20:08:11.0 
+0200
 b/src/core/tsi/alts_transport_security.cc  2018-05-20 16:54:49.995787548 
+0200
+@@ -45,7 +45,7 @@
+ }
+ 
+ void grpc_tsi_alts_init() {
+-  memset(_alts_resource, 0, sizeof(alts_shared_resource));
++  memset((void*)_alts_resource, 0, sizeof(alts_shared_resource));
+   gpr_mu_init(_alts_resource.mu);
+   gpr_cv_init(_alts_resource.cv);
+ }
+--- a/tmp/client_channel.cc.ORIG   2018-04-13 20:08:11.0 +0200
 b/src/core/ext/filters/client_channel/client_channel.cc2018-05-20 
17:07:20.604746186 +0200
+@@ -416,7 +416,7 @@
+ grpc_uri* uri = grpc_uri_parse(server_uri, true);
+ GPR_ASSERT(uri->path[0] != '\0');
+ service_config_parsing_state parsing_state;
+-memset(_state, 0, sizeof(parsing_state));
++memset((void*)_state, 0, sizeof(parsing_state));
+ parsing_state.server_name =
+ uri->path[0] == '/' ? uri->path + 1 : uri->path;
+ service_config->ParseGlobalParams(parse_retry_throttle_params,
+--- a/tmp/channel.cc.ORIG  2018-04-13 20:08:11.0 +0200
 b/src/core/lib/surface/channel.cc  2018-05-20 16:58:01.632776988 +0200
+@@ -103,7 +103,7 @@
+ return channel;
+   }
+ 
+-  memset(channel, 0, sizeof(*channel));
++  memset((void*)channel, 0, sizeof(*channel));
+   channel->target = target;
+   channel->is_client = grpc_channel_stack_type_is_client(channel_stack_type);
+   size_t channel_tracer_max_nodes = 0;  // default to off
+@@ -280,7 +280,7 @@
+   }
+ 
+   grpc_call_create_args args;
+-  memset(, 0, sizeof(args));
++  memset((void*), 0, sizeof(args));
+   args.channel = channel;
+   args.parent = parent_call;
+   args.propagation_mask = propagation_mask;
+--- a/tmp/flow_control.cc.ORIG 2018-04-13 20:08:11.0 +0200
 b/src/core/ext/transport/chttp2/transport/flow_control.cc  2018-05-20 
17:09:47.055738116 +0200
+@@ -187,7 +187,7 @@
+ uint32_t TransportFlowControl::MaybeSendUpdate(bool writing_anyway) {
+   FlowControlTrace trace("t updt sent", this, nullptr);
+   const uint32_t target_announced_window =
+-  static_cast(target_window());
++  static_cast(target_window());
+   if ((writing_anyway || announced_window_ <= target_announced_window / 2) &&
+   announced_window_ != target_announced_window) {
+ const uint32_t announce = static_cast GPR_CLAMP(

diff --git a/net-libs/grpc/grpc-1.12.1.ebuild b/net-libs/grpc/grpc-1.12.1.ebuild
index 774c0518b1d..e57c672f483 100644
--- a/net-libs/grpc/grpc-1.12.1.ebuild
+++ b/net-libs/grpc/grpc-1.12.1.ebuild
@@ -62,6 +62,7 @@ PATCHES=(
"${FILESDIR}/0006-grpc-1.12.1-allow-system-openssl.patch"
"${FILESDIR}/0007-grpc-1.12.1-allow-system-zlib.patch"
"${FILESDIR}/0008-grpc-1.12.1-allow-system-cares.patch"
+   "${FILESDIR}/0009-grpc-1.12.1-gcc8-fixes.patch"
 )
 
 src_prepare() {



  1   2   >