Skip to contentSkip to conversation

ncurses: upgrade 6.3+20220423 -> 6.4

PATCH New [email protected] 1 participant 4 messages Jan 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: upgrade 6.3+20220423 -> 6.4

From: Wang Mingyu <[email protected]>

exit_prototype.patch
refreshed for new version.

Changelog:
==========
regenerate llib-* files.
correct PS vs PE names in bracketed+paste (report by Bram Moolenaar)

---
 .../ncurses/files/exit_prototype.patch         | 18 ++++++++++++++----
 ...{ncurses_6.3+20220423.bb => ncurses_6.4.bb} |  2 +-
 2 files changed, 15 insertions(+), 5 deletions(-)
 rename meta/recipes-core/ncurses/{ncurses_6.3+20220423.bb => ncurses_6.4.bb} (91%)
meta/recipes-core/ncurses/files/exit_prototype.patch +14 -4
index 791421a338..d1f194f0af 100644
@@ -1,18 +1,28 @@
-Add needed headers for including mbstate_t and exit()
+From da6ab9f1eaf00a494d55454fcf3de563b084c04e Mon Sep 17 00:00:00 2001
+From: Khem Raj <[email protected]>
+Date: Tue, 30 Aug 2022 15:58:32 -0700
+Subject: [PATCH] Add needed headers for including mbstate_t and exit()
 
 Upstream-Status: Inappropriate [Reconfigure will solve it]
 Signed-off-by: Khem Raj <[email protected]>
+
+---
+ configure | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/configure b/configure
+index f377f551..163f8899 100755
 --- a/configure
 +++ b/configure
-@@ -3422,6 +3422,7 @@ rm -f "conftest.$ac_objext" "conftest.$a
+@@ -3423,6 +3423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
    cat >"conftest.$ac_ext" <<_ACEOF
- #line 3423 "configure"
+ #line 3424 "configure"
  #include "confdefs.h"
 +#include <stdlib.h>
  $ac_declaration
  int
  main (void)
-@@ -12997,6 +12998,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
+@@ -13111,6 +13112,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
  #include <stdlib.h>
  #include <stdarg.h>
  #include <stdio.h>
meta/recipes-core/ncurses/ncurses_6.4.bb renamed from meta/recipes-core/ncurses/ncurses_6.3+20220423.bb +1 -1
similarity index 91%
rename from meta/recipes-core/ncurses/ncurses_6.3+20220423.bb
rename to meta/recipes-core/ncurses/ncurses_6.4.bb
index fb8c11582b..20fd2dadda 100644
@@ -6,7 +6,7 @@ SRC_URI += "file://0001-tic-hang.patch \
            file://exit_prototype.patch \
            "
 # commit id corresponds to the revision in package version
-SRCREV = "20db1fb41ec91cd8a1f528e770362092c5403378"
+SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)$"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 dpkg: upgrade 1.21.13 -> 1.21.17

From: Wang Mingyu <[email protected]>

---
 meta/recipes-devtools/dpkg/{dpkg_1.21.13.bb => dpkg_1.21.17.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/dpkg/{dpkg_1.21.13.bb => dpkg_1.21.17.bb} (95%)
meta/recipes-devtools/dpkg/dpkg_1.21.17.bb renamed from meta/recipes-devtools/dpkg/dpkg_1.21.13.bb +1 -1
similarity index 95%
rename from meta/recipes-devtools/dpkg/dpkg_1.21.13.bb
rename to meta/recipes-devtools/dpkg/dpkg_1.21.17.bb
index 8637dcfaf5..f6687671f0 100644
@@ -18,6 +18,6 @@ SRC_URI = "git://salsa.debian.org/dpkg-team/dpkg.git;protocol=https;branch=main
 
 SRC_URI:append:class-native = " file://0001-build.c-ignore-return-of-1-from-tar-cf.patch"
 
-SRCREV = "ff61d6d650e0455d4c070306a482cf757285d58b"
+SRCREV = "e91be752ecfc3d4f5514835c79609804940d4b97"
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 1/1 rxvt-unicode: upgrade 9.30 -> 9.31

In reply to [email protected]

From: Wang Mingyu <[email protected]>

Changelog:
===========
- implement a fix for CVE-2022-4170 (reported and analyzed by David Leadbeater). While present in version 9.30, it should not be exploitable. It is exploitable in versions 9.25 and 9.26, at least, and allows anybody controlling output to the terminal to execute arbitrary code in the urxvt process.
- the background extension no longer requires off focus fading support to be compiled in.
- the confirm-paste extension now offers a choice betwene pasting the original or a sanitized version, and also frees up memory used to store the paste text immediately.
- fix compiling without frills.
- fix rewrapMode: never.
- fix regression that caused urxvt to no longer emit responses
to OSC color queries other than OSC 4 ones.
- fix regression that caused urxvt to no longer process OSC 705.
- restore CENTURY to be 1900 to "improve" year parsing in urclock (or at least go back to the old interpretation) (based on an analysis
by Tommy Pettersson).
- exec_async (used e.g. by the matcher extension to spawn processes) now sets the URXVT_EXT_WINDOWID variable to the window id of the terminal.
- implement -fps option/refreshRate resource to change the default 60 Hz maximum refresh limiter. I always wanted an fps option, but had to wait for a user requesting it.
- new clickthrough extension.
- perl now also requires Xext.
- X region and shape extension functionality has been exposed to perl extensions.
- RENDER extension no longer depends on ENABLE_XIM_ONTHESPOT.

---
 .../rxvt-unicode/{rxvt-unicode_9.30.bb => rxvt-unicode_9.31.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_9.30.bb => rxvt-unicode_9.31.bb} (71%)
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.31.bb renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.30.bb +1 -1
similarity index 71%
rename from meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.30.bb
rename to meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.31.bb
index 5e3c84194a..c127b9bbe3 100644
@@ -4,5 +4,5 @@ LICENSE = "GPL-3.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://src/main.C;beginline=1;endline=31;md5=d3600d7ee1062667fcd1193fbe6485f6"
 
-SRC_URI[sha256sum] = "fe1c93d12f385876457a989fc3ae05c0915d2692efc59289d0f70fabe5b44d2d"
+SRC_URI[sha256sum] = "aaa13fcbc149fe0f3f391f933279580f74a96fd312d6ed06b8ff03c2d46672e8"
 
Signature · 1 line
2.25.1
#3 lore raw

PATCH 1/1 virglrenderer: upgrade 0.10.3 -> 0.10.4

In reply to [email protected]

From: Wang Mingyu <[email protected]>

0001-Replace-lseek64-with-lseek.patch
removed since it's included in 0.10.4

---
 .../0001-Replace-lseek64-with-lseek.patch     | 45 -------------------
 ...erer_0.10.3.bb => virglrenderer_0.10.4.bb} |  3 +-
 2 files changed, 1 insertion(+), 47 deletions(-)
 delete mode 100644 meta/recipes-graphics/virglrenderer/virglrenderer/0001-Replace-lseek64-with-lseek.patch
 rename meta/recipes-graphics/virglrenderer/{virglrenderer_0.10.3.bb => virglrenderer_0.10.4.bb} (93%)
meta/recipes-graphics/virglrenderer/virglrenderer/0001-Replace-lseek64-with-lseek.patch deleted +0 -45
deleted file mode 100644
index a0278abd28..0000000000
@@ -1,45 +0,0 @@
-From a60f0658001d2e8e15ad980731d4130808d37d56 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Thu, 15 Dec 2022 12:58:57 -0800
-Subject: [PATCH] Replace lseek64 with lseek
-
-meson defined _FILE_OFFSET_BITS=64 unconditionally, this implies that
-lseek and lseek64 are both same since they are using 64bit off_t,
-replacing lseek64 with lseek also helps in compiling with latest musl C
-library which has removed these from _GNU_SOURCE namespace unlike glibc
-where _GNU_SOURCE also implies _LARGEFILE64_SOURCE and the definition of
-lseek64 is still available.
-
-Upstream-Status: Submitted [https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1003]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/proxy/proxy_context.c | 2 +-
- src/venus/vkr_context.c   | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/proxy/proxy_context.c b/src/proxy/proxy_context.c
-index f2a035b..f20f7c8 100644
---- a/src/proxy/proxy_context.c
-+++ b/src/proxy/proxy_context.c
-@@ -319,7 +319,7 @@ validate_resource_fd_shm(int fd, uint64_t expected_size)
-       return false;
-    }
- 
--   const uint64_t size = lseek64(fd, 0, SEEK_END);
-+   const uint64_t size = lseek(fd, 0, SEEK_END);
-    if (size != expected_size) {
-       proxy_log("failed to validate shm size(%" PRIu64 ") expected(%" PRIu64 ")", size,
-                 expected_size);
-diff --git a/src/venus/vkr_context.c b/src/venus/vkr_context.c
-index 9ecb9cd..1e5dc68 100644
---- a/src/venus/vkr_context.c
-+++ b/src/venus/vkr_context.c
-@@ -359,7 +359,7 @@ vkr_context_get_blob_locked(struct virgl_context *base,
-          return ret;
- 
-       if (fd_type == VIRGL_RESOURCE_FD_DMABUF &&
--          (uint64_t)lseek64(fd, 0, SEEK_END) < blob_size) {
-+          (uint64_t)lseek(fd, 0, SEEK_END) < blob_size) {
-          close(fd);
-          return -EINVAL;
-       }
meta/recipes-graphics/virglrenderer/virglrenderer_0.10.4.bb renamed from meta/recipes-graphics/virglrenderer/virglrenderer_0.10.3.bb +1 -2
similarity index 93%
rename from meta/recipes-graphics/virglrenderer/virglrenderer_0.10.3.bb
rename to meta/recipes-graphics/virglrenderer/virglrenderer_0.10.4.bb
index 5d483431a7..f76e7cb1b9 100644
@@ -9,10 +9,9 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c81c08eeefd9418fca8f88309a76db10"
 
 DEPENDS = "libdrm libepoxy virtual/egl virtual/libgbm"
-SRCREV = "0922041ec6730122e0fec11404e6859e2efc4bc0"
+SRCREV = "88b9fe3bfc64b23a701e4875006dbc0e769f14f6"
 SRC_URI = "git://gitlab.freedesktop.org/virgl/virglrenderer.git;branch=master;protocol=https \
            file://0001-meson.build-use-python3-directly-for-python.patch \
-           file://0001-Replace-lseek64-with-lseek.patch \
            "
 
 S = "${WORKDIR}/git"
Signature · 1 line
2.25.1