diff mbox series

[meta-oe] switchtec-user: upgrade 4.1 -> 4.2

Message ID 20240212211350.150358-1-cvubrugier@fastmail.fm
State Accepted
Headers show
Series [meta-oe] switchtec-user: upgrade 4.1 -> 4.2 | expand

Commit Message

Christophe Vu-Brugier Feb. 12, 2024, 9:13 p.m. UTC
From: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>

Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
---
 ...0001-cli-Fix-format-security-warning.patch | 27 -------------------
 ...htec-user_4.1.bb => switchtec-user_4.2.bb} |  9 +++----
 2 files changed, 3 insertions(+), 33 deletions(-)
 delete mode 100644 meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch
 rename meta-oe/recipes-support/switchtec-user/{switchtec-user_4.1.bb => switchtec-user_4.2.bb} (63%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch b/meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch
deleted file mode 100644
index ff2743eb6..000000000
--- a/meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch
+++ /dev/null
@@ -1,27 +0,0 @@ 
-From 2d61587f85d1bf57287d12b470afb94c0bf9249d Mon Sep 17 00:00:00 2001
-From: Davide Cavalca <dcavalca@fedoraproject.org>
-Date: Mon, 27 Jun 2022 16:54:35 -0700
-Subject: [PATCH] cli: Fix format security warning
-
-Upstream-Status: Submitted [https://github.com/Microsemi/switchtec-user/pull/316]
-
----
- cli/graph.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cli/graph.c b/cli/graph.c
-index 5748914..95609de 100644
---- a/cli/graph.c
-+++ b/cli/graph.c
-@@ -134,7 +134,7 @@ static void draw_status(WINDOW *win, int x_off, int x_cnt, const char *status)
- 	mvwprintw(win, 0, 0, "     ");
- 	for (i = 0; i < x_cnt * 2 + x_off; i++)
- 		mvwaddch(win, 1, i, ' ');
--	mvwprintw(win, 1, x_off, status);
-+	mvwprintw(win, 1, x_off, "%s", status);
- 	wrefresh(win);
- }
- 
--- 
-2.39.2
-
diff --git a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
similarity index 63%
rename from meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb
rename to meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
index 443e5bc49..17f54dcf4 100644
--- a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb
+++ b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
@@ -6,12 +6,9 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=3d6b07c89629cff2990d2e8e1f4c2382"
 
 DEPENDS = "ncurses openssl"
 
-SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a"
-SRC_URI = " \
-    git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master \
-    file://0001-cli-Fix-format-security-warning.patch \
-"
-SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655"
+SRCREV = "e7c351c6c722336b3c79b79cd002c7c2986eefb0"
+SRC_URI = "git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master"
+SRC_URI[sha256sum] = "a715e46d8498418dbb8a2519318ba0714ee148151d7e4a7fa5e27770a2f6888f"
 
 S = "${WORKDIR}/git"