Skip to contentSkip to conversation

grpc: Upgrade 1.56.2 -> 1.59.2

PATCH New Peter Marko 1 participant 1 message Nov 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grpc: Upgrade 1.56.2 -> 1.59.2

From: Peter Marko <[email protected]>

CVE: CVE-2023-44487

Patch updated by devtool to resolve patch fuzz.

---
 ...0001-cmake-Link-with-libatomic-on-rv32-rv64.patch | 12 +++++-------
 .../grpc/{grpc_1.56.2.bb => grpc_1.59.2.bb}          |  4 ++--
 2 files changed, 7 insertions(+), 9 deletions(-)
 rename meta-oe/recipes-devtools/grpc/{grpc_1.56.2.bb => grpc_1.59.2.bb} (97%)
meta-oe/recipes-devtools/grpc/grpc/0001-cmake-Link-with-libatomic-on-rv32-rv64.patch +5 -7
index c2afd4a92e..fbdf06d692 100644
@@ -1,4 +1,4 @@
-From 592a4aaba20818bcff9a1448c34b09aff9e0d2e9 Mon Sep 17 00:00:00 2001
+From c321f19ff1cd1251c19d20b17a2d86c4237ce506 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Tue, 19 Apr 2022 16:07:19 -0700
 Subject: [PATCH] cmake: Link with libatomic on rv32/rv64
@@ -9,15 +9,16 @@ riscv64-yoe-linux-musl/12.0.1/ld: libgrpc.so.23.0.0: undefined reference to `__a
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
+
 ---
  CMakeLists.txt | 3 +++
  1 file changed, 3 insertions(+)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index a8fd3bf37b3..9f5b242683d 100644
+index b272816685..e1fe1102c4 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -303,6 +303,9 @@ if(UNIX)
+@@ -303,6 +303,9 @@ if(UNIX AND NOT HAIKU)
    if(_gRPC_PLATFORM_LINUX OR _gRPC_PLATFORM_POSIX)
      set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} rt)
    endif()
@@ -26,7 +27,4 @@ index a8fd3bf37b3..9f5b242683d 100644
 +  endif()
  endif()
  
- # configure ccache if requested
--- 
-2.36.0
-
+ include(CheckCXXSourceCompiles)
meta-oe/recipes-devtools/grpc/grpc_1.59.2.bb renamed from meta-oe/recipes-devtools/grpc/grpc_1.56.2.bb +2 -2
similarity index 97%
rename from meta-oe/recipes-devtools/grpc/grpc_1.56.2.bb
rename to meta-oe/recipes-devtools/grpc/grpc_1.59.2.bb
index c4dd6b9857..c30e52263d 100644
@@ -20,8 +20,8 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
 # RDEPENDS:${PN}-dev += "${PN}-compiler"
 
 S = "${WORKDIR}/git"
-SRCREV_grpc = "c0d1c393d9365664d47df41746e992ae97b651ef"
-BRANCH = "v1.56.x"
+SRCREV_grpc = "883e5f76976b86afee87415dc67bde58d9b295a4"
+BRANCH = "v1.59.x"
 SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
            file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \
            "
Signature · 1 line
2.30.2