diff options
author | Christophe Vu-Brugier <christophe.vu-brugier@seagate.com> | 2024-02-12 22:13:50 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-02-12 19:34:16 -0800 |
commit | 399531aa095062ba9931d89a29ad4bc0d1dc6da3 (patch) | |
tree | 81ec41917230a5f6586a9010c08f917aeebe2767 | |
parent | 10add4b12b8cf1058074680f4a8d43196f8f5beb (diff) | |
download | meta-openembedded-399531aa095062ba9931d89a29ad4bc0d1dc6da3.tar.gz |
switchtec-user: upgrade 4.1 -> 4.2
Signed-off-by: Christophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch | 27 | ||||
-rw-r--r-- | meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb (renamed from meta-oe/recipes-support/switchtec-user/switchtec-user_4.1.bb) | 9 |
2 files changed, 3 insertions, 33 deletions
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 ff2743eb68..0000000000 --- a/meta-oe/recipes-support/switchtec-user/switchtec-user/0001-cli-Fix-format-security-warning.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 2d61587f85d1bf57287d12b470afb94c0bf9249d Mon Sep 17 00:00:00 2001 | ||
2 | From: Davide Cavalca <dcavalca@fedoraproject.org> | ||
3 | Date: Mon, 27 Jun 2022 16:54:35 -0700 | ||
4 | Subject: [PATCH] cli: Fix format security warning | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/Microsemi/switchtec-user/pull/316] | ||
7 | |||
8 | --- | ||
9 | cli/graph.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/cli/graph.c b/cli/graph.c | ||
13 | index 5748914..95609de 100644 | ||
14 | --- a/cli/graph.c | ||
15 | +++ b/cli/graph.c | ||
16 | @@ -134,7 +134,7 @@ static void draw_status(WINDOW *win, int x_off, int x_cnt, const char *status) | ||
17 | mvwprintw(win, 0, 0, " "); | ||
18 | for (i = 0; i < x_cnt * 2 + x_off; i++) | ||
19 | mvwaddch(win, 1, i, ' '); | ||
20 | - mvwprintw(win, 1, x_off, status); | ||
21 | + mvwprintw(win, 1, x_off, "%s", status); | ||
22 | wrefresh(win); | ||
23 | } | ||
24 | |||
25 | -- | ||
26 | 2.39.2 | ||
27 | |||
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 index 443e5bc493..17f54dcf4c 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" | |||
6 | 6 | ||
7 | DEPENDS = "ncurses openssl" | 7 | DEPENDS = "ncurses openssl" |
8 | 8 | ||
9 | SRCREV = "762ba441d2c02685f98e5f56e984db033bab279a" | 9 | SRCREV = "e7c351c6c722336b3c79b79cd002c7c2986eefb0" |
10 | SRC_URI = " \ | 10 | SRC_URI = "git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master" |
11 | git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master \ | 11 | SRC_URI[sha256sum] = "a715e46d8498418dbb8a2519318ba0714ee148151d7e4a7fa5e27770a2f6888f" |
12 | file://0001-cli-Fix-format-security-warning.patch \ | ||
13 | " | ||
14 | SRC_URI[sha256sum] = "f98c1fe23e1d7a11fb23e8bcf9b563929fc805ea669191a7fd525ad16519f655" | ||
15 | 12 | ||
16 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
17 | 14 | ||