summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/grpc
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.71.0 ReleaseKhem Raj2025-03-121-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: add licenses from third party componentsPeter Marko2025-02-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 9 (out of 24) third party components used for build. Add their licenses. SUB third_party/abseil-cpp .. not used (unbundled) third_party/address_sorting .. USED SUB third_party/benchmark .. not used (testing) SUB third_party/bloaty .. not used (testing) SUB third_party/boringssl-with-bazel .. not used (unbundled; openssl) third_party/cares .. not used (unbundled) SUB third_party/envoy-api .. USED SUB third_party/googleapis .. USED SUB third_party/googletest .. not used (testing) third_party/objective_c .. not used (build helpers) SUB third_party/opencensus-proto .. USED SUB third_party/opentelemetry .. not used (gRPC_BUILD_GRPCPP_OTEL_PLUGIN) SUB third_party/opentelemetry-cpp .. not used (gRPC_BUILD_GRPCPP_OTEL_PLUGIN) SUB third_party/protobuf .. not used (unbundled) SUB third_party/protoc-gen-validate .. USED third_party/py .. not used (build helpers) third_party/rake-compiler-dock .. not used (build helpers) SUB third_party/re2 .. not used (unbundled) third_party/toolchains .. not used (build helpers) third_party/upb .. USED third_party/utf8_range .. USED SUB third_party/xds .. USED third_party/xxhash .. USED SUB third_party/zlib .. not used (unbundled) * address_sorting - BSD-3-CLAUSE (already in main license) https://github.com/grpc/grpc/blob/master/third_party/address_sorting/LICENSE * envoy-api - Apache-2.0 (already in main license) https://github.com/envoyproxy/data-plane-api/blob/4de3c74cf21a9958c1cf26d8993c55c6e0d28b49/LICENSE * googleapis - Apache-2.0 (already in main license) https://github.com/googleapis/googleapis/blob/fe8ba054ad4f7eca946c2d14a63c3f07c0b586a0/LICENSE * opencensus-proto - Apache-2.0 (already in main license) https://github.com/census-instrumentation/opencensus-proto/blob/4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89/LICENSE * protoc-gen-validate - Apache-2.0 (already in main license) https://github.com/bufbuild/protoc-gen-validate/blob/32c2415389a3538082507ae537e7edd9578c64ed/LICENSE * upb - BSD-3-Clause (already present in main LICENSE) there is a note in all files * utf8_range - MIT https://github.com/grpc/grpc/blob/master/third_party/utf8_range/LICENSE * xds - Apache-2.0 (already in main license) https://github.com/cncf/xds/blob/3a472e524827f72d1ad621c4983dd5af54c46776/LICENSE * xxhash - BSD-2-Clause https://github.com/grpc/grpc/blob/master/third_party/xxhash/LICENSE License-Update: added missing licenses Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: fix protobuf-lite package configPeter Marko2025-02-081-1/+1
| | | | | | | | | | | | | | | | protobuf-lite is a package, not recipe, so current code leads to ERROR: Nothing PROVIDES 'protobuf-lite' Moving it to 4th part (rdepends) is not needed as grpc links against it so that rdependency is asutomatic. Therefore protobuf-lite should be removed. Note: for native, this packageconfig does not even compile and for target it fails to link. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: remove workaround for GCC 4.8 in Ubuntu-14.04Peter Marko2025-02-081-2/+0
| | | | | | | Minimum distro version and gcc version is now higher. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: remove unneeded dependenciesPeter Marko2025-02-081-2/+2
| | | | | | | | | | | | | | | | | googletest is needed only if we would build tests, and then it should be conditional on PTEST_ENABLED libnsl is not needed. there is no linking command in any cmake. The only grep hit is in cares.cmake to disable it. Commit 2ffc7b45d638a89535b963533d39b8b13e4c8c1e which added it talks about host distros, but also such case would be wrong when adding it to general depends (should be in native only depends) and it would have to have be reference in cmake (in grpc or in one of recipe-sysroot). Also sort the dependencies in the process. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.66.1 -> 1.68.0Divya Chellam2025-01-031-2/+2
| | | | | | | | | | | | This includes CVE-fix for CVE-2024-11407 Changelog: ================================== https://github.com/grpc/grpc/releases/tag/v1.68.0 https://github.com/grpc/grpc/compare/v1.66.1...v1.68.0 Signed-off-by: Divya Chellam <divya.chellam@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.66.1 releaseKhem Raj2024-09-031-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.60.0 -> 1.60.1Xiangyu Chen2024-02-291-1/+1
| | | | | | | | | | Changelog: ========== [Python Misc] Revert change to print backtrace in server [PSM Interop] Use the Kokoro shared install lib from the new repo Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: correct dependenciesPeter Marko2024-01-141-1/+1
| | | | | | | | GRPC depends on protobuf, not protobuf-c Additionally zlib is missing in dependencies Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.59.2 -> 1.60.0alperak2024-01-112-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-cmake-Link-with-libatomic-on-rv32-rv64.patch refreshed Changelog: Core Implemented dualstack IPv4 and IPv6 backend support, as per draft gRFC A61. xDS support currently guarded by GRPC_EXPERIMENTAL_XDS_DUALSTACK_ENDPOINTS env var. Dropped Bazel 5 support. (#34813) [deps] Upgrade protobuf version to v25.0. (#34513) [Security - Revocation] Crl Directory Watcher Implementation. (#34749) [server] Cap size of pending request queue with RealRequestMatcher. (#34782) [chttp2] Fix outgoing data stats. (#34693) [EventEngine] Enable Posix EventEngine Listener on all builds. (#34748) [EventEngine] Enable Windows EventEngine Listener on all builds. (#34436) [chttp2] Alternative protection for too many streams in the system. (#34697) [Proxy] Support for setting proxy for addresses. (#34617) [client idleness] client channels go idle after 30 minutes by default. (#34653) [chttp2] Add an experiment to separate liveness checks from ping timeouts. (#34647) [chttp2] Tarpit invalid requests. (#34641) [chttp2] Enforce settings acks. (#34640) [chttp2] Limit work per read cycle. (#34639) [chttp2] Limit request count before receiving settings ack. (#34638) [chttp2] Randomly ping on RST_STREAM. (#34637) C++ [xds] C++ XdsServerBuilder Remove src/... header dependency from public header. (#34790) [reflection] Add v1 reflection. (#34535) C# [csharp] Grpc.Tools documentation for sharing proto files between projects and nuget packages. (#34521) Ruby [ruby] create debug symbol packages. (#34632) Python [Bug Fix] Change return of grpc.aio.ServicerContext.code() from integer to grpc.StatusCode. (#34292) Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade 1.56.2 -> 1.59.2Peter Marko2023-11-062-9/+7
| | | | | | | | | CVE: CVE-2023-44487 Patch updated by devtool to resolve patch fuzz. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* devtools: grpc: bump to 1.56.2Clément Péron2023-09-274-241/+2
| | | | | | | | | | | Remove merged patch that export plugin to a separate targets Remove no more applicatable patch Remove CVE patch already present Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: fix CVE-2023-32732Chen Qi2023-08-092-0/+82
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: point to the native protobuf compiler binaryDenys Dmytriyenko2023-06-081-0/+1
| | | | | | | | | | | Latest version of grpc fails to build nativesdk variant since it finds and tries to execute protoc binary from nativesdk-protobuf instead of protobuf-native. Shortcut the detection logic by pointing to the correct version of protoc binary in native sysroot. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.50.0 -> 1.50.1Wang Mingyu2022-11-011-1/+1
| | | | | | | | Changelog: Fix Bazel 4 support and objc bazel tests on python3.9 (#31410) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Update to 1.50.x releaseKhem Raj2022-10-181-5/+5
| | | | | | | | | | | | License-update: Include MPL-2.0 [1] Add missing BSD 3-clause and MPL-2.0 to license field Switch to git submodules since its using locked versions of some components like opencensus-proto [1] https://github.com/grpc/grpc/commit/05fcd826f477ef1a024a2defa5e4b3d78f5e6eb4 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Fix build with rv32/rv64Khem Raj2022-04-202-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.45.1 -> 1.45.2wangmy2022-04-111-1/+1
| | | | | | | | | | Changelog: ========= Various fixes related to XDS (#29314, #29340, #29339) HTTP2: Should not run cancelling logic on servers when receiving GOAWAY (#29307) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: remove unused patchesClément Péron2022-04-102-144/+0
| | | | | | | These patches are not used by the grpc recipe so remove them. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: remove useless link with libatomic appendStefan Herbrechtsmeier2022-04-101-20/+0
| | | | | | | | | The sed commands to link with libatomic don't match and is therefore useless. If they are really needed the problem should be fixed in the code for example with CHECK_LIBRARY_EXISTS. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: add cmake support for targetStefan Herbrechtsmeier2022-04-102-2/+94
| | | | | | | | | The CMake gRPC config checks for binaries and fails if a binary (plugin) is missing. Fix the problem in the code and add the CMake gRPC config back to the target package. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.45.0 -> 1.45.1wangmy2022-04-061-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Remove runtime dependency between grpc and protobuf-compilerStefan Herbrechtsmeier2022-03-291-1/+4
| | | | | | | | Remove the runtime dependency between grpc and protobuf-compiler package by moving the grpc_plugin_support library to grpc-compiler package. Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.41.1 -> 1.45.0Trevor Gamblin2022-03-241-4/+3
| | | | | | | | The changes between these versions are too numerous to list here, but can be found at https://github.com/grpc/grpc/releases/tag/v1.45.0 Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Enable cpp plugin for target version tooKhem Raj2022-03-241-2/+1
| | | | | | This is needed by packages like sysdig Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Use new variable SYSROOT_DIRS_IGNOREKhem Raj2022-02-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.41.0 -> 1.41.1wangmy2021-11-031-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: revert GRPCPP_ABSEIL_SYNC change from 1.40.0 to fix undefined ↵Martin Jansa2021-10-192-0/+61
| | | | | | | references to absl::lts_20210324::Mutex::~Mutex() Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.38.1 -> 1.41.0Vyacheslav Yurkov2021-10-143-58/+110
| | | | | | | | | | | Drop the patch that fixes cross compilation, because it's already in 1.41.0. Add the patch for regression fix [1], which should be dropped on the recipe upgrade. [1] https://github.com/grpc/grpc/issues/26857 Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov2021-10-042-0/+56
| | | | | | | | | Backport a patch from grpc/master to be able to build c++ applications when gRPC_BUILD_GRPC_CPP_PLUGIN=OFF. The patch should be dropped on the recipe upgrade Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov2021-10-041-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we build an application that uses grpc for the target, following error occurs CMake Error at <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake:179 (message): | The imported target "gRPC::grpc_cpp_plugin" references the file | | "<application work dir>/recipe-sysroot/usr/bin/grpc_cpp_plugin" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "<application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake" | | but not all the files it references. | | Call Stack (most recent call first): | <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCConfig.cmake:25 (include) | CMakeLists.txt:4 (find_package) That's because target grpc was built with CPP plugin support and referenes it from CMake config file. This commit disables CPP plugin build for the target, and sets dependency on compiler for native and SDK builds Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: make SHARED library build optionalSinan Kaya2021-08-231-2/+2
| | | | | | | | Shared library build is known to not work on win32 platforms. Make it configurable. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-13/+13
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* grpc: upgrade 1.38.0 -> 1.38.1zhengruoqin2021-06-231-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.38.0Khem Raj2021-05-312-2/+39
| | | | | | Fix build with musl by checking for iovec redefinition Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.37.1Khem Raj2021-05-111-2/+2
| | | | | | | | Changes are here [1] [1] https://github.com/grpc/grpc/releases/tag/v1.37.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.3 -> 1.36.4zhengruoqin2021-03-281-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.2 -> 1.36.3zhengruoqin2021-03-191-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.1 -> 1.36.2Sakib Sajal2021-03-111-1/+1
| | | | | | | | Changelog: https://github.com/grpc/grpc/releases/tag/v1.36.2 Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: move grpc plugins to a new grpc-compiler packageClément Péron2021-03-051-1/+6
| | | | | | | | | | Like it's done for protobuf and flatbuffers move the binaries produce by gRPC to a grpc-compiler package. This is more explicit and keep coherency with protobuf and flatbuffers. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: remove gflags dependencyClément Péron2021-03-041-2/+1
| | | | | | | | | | gFlags has been removed since: 1f670397ce7f8a12dfb1fb32d8857b2233022856 Remove gflags. With the move to abseil's flags, this removed the now-unnecessary submodule and installation commands. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Add PackageConfig to build only required pluginsClément Péron2021-03-041-1/+10
| | | | | Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.36.1Khem Raj2021-03-031-2/+2
| | | | | | | | | Changelog https://github.com/grpc/grpc/releases/tag/v1.36.0-pre1 https://github.com/grpc/grpc/releases/tag/v1.36.0 https://github.com/grpc/grpc/releases/tag/v1.36.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Fix do_package error when enable multilib.zhengruoqin2021-03-021-0/+5
| | | | | | | | | | | | | | | | | ERROR: grpc-1.35.0-r0 do_package: QA Issue: grpc: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/pkgconfig /usr/lib/pkgconfig/grpc.pc /usr/lib/pkgconfig/grpc_unsecure.pc /usr/lib/pkgconfig/grpc++.pc /usr/lib/pkgconfig/gpr.pc /usr/lib/pkgconfig/grpc++_unsecure.pc Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. grpc: 7 installed and not shipped files. [installed-vs-shipped] ERROR: grpc-1.35.0-r0 do_package: Fatal QA errors found, failing task. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade 1.24.3 -> 1.35.0Anatol Belski2021-02-203-232/+5
| | | | | | | | | This is a really huge jump in versions, but this package has been not upgraded for quite some time. The previous patches are not necessary anymore, they're integrated upstream. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Add leading whitespace for append operatorKhem Raj2020-11-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: move from meta-networking to meta-oeMartin Jansa2020-03-033-0/+289
| | | | | | | | | | | | * because sysdig from meta-oe depends on it now, since: commit ed798c764319d83ad9eb1b963bfc99b1fa1a791a Author: Khem Raj <raj.khem@gmail.com> Date: Wed Jan 2 17:59:20 2019 -0800 sysdig: Upgrade to 0.26.5 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>