nss: upgrade 3.117 -> 3.118.1
PATCH 8/43 nss: upgrade 3.117 -> 3.118.1
From: Wang Mingyu <[email protected]>
---
meta-oe/recipes-support/nss/{nss_3.117.bb => nss_3.118.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-support/nss/{nss_3.117.bb => nss_3.118.1.bb} (99%)meta-oe/recipes-support/nss/nss_3.118.1.bb renamed from meta-oe/recipes-support/nss/nss_3.117.bb +1 -1
@@ -33,7 +33,7 @@ SRC_URI = "https://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/ file://0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch \ file://0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \ " -SRC_URI[sha256sum] = "5786b523a2f2e9295ed10d711960d2e33cd620bb80d6288443eda43553a51996" +SRC_URI[sha256sum] = "8c390a676ea37266fcd3d0cd2fb070e2f69f4d78fa4ed88e07ac0c9eb5aab8d3" UPSTREAM_CHECK_URI = "https://ftp.mozilla.org/pub/security/nss/releases/" UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>\d+(\_\d+)+)"
PATCH 9/43 sanlock: upgrade 4.1.0 -> 4.2.0
From: Wang Mingyu <[email protected]>
---
.../sanlock/{sanlock_4.1.0.bb => sanlock_4.2.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/sanlock/{sanlock_4.1.0.bb => sanlock_4.2.0.bb} (97%)meta-oe/recipes-extended/sanlock/sanlock_4.2.0.bb renamed from meta-oe/recipes-extended/sanlock/sanlock_4.1.0.bb +1 -1
@@ -17,7 +17,7 @@ SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \ file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ file://0001-add-missing-system-header-string.h.patch \ " -SRCREV = "57013022da9c06c13f65a24684522a04323f59b6" +SRCREV = "efe86d2e691383da07942fe9a4bccab13046f3d4" CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
PATCH 10/43 xrdp: upgrade 0.9.20 -> 0.10.4.1
In reply to [email protected]From: Gyorgy Sarvari <[email protected]>
Contains fixes for the following vulnerabilities:
CVE-2022-23468, CVE-2022-23477, CVE-2022-23478, CVE-2022-23479, CVE-2022-23480, CVE-2022-23481, CVE-2022-23482, CVE-2022-23483, CVE-2022-23484, CVE-2022-23493, CVE-2023-40184, CVE-2023-42822, CVE-2024-39917
Added a new patch to fix compiling with musl.
Dropped 0001-Fix-the-compile-error.patch: it's an 8 years old patch, claiming to fix a compile error. I did not see an error when I removed it (tried glibc and musl, gcc and clang).
Changelogs:
0.10.4.1: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.4.1
0.10.4: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.4
0.10.3: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.3
0.10.2: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.2
0.10.1: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.1
0.10.0: https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.0
---
.../xrdp/0001-Fix-the-compile-error.patch | 37 -------------------
.../xrdp/xrdp/fix-compiling-with-musl.patch | 27 ++++++++++++++
.../xrdp/{xrdp_0.9.20.bb => xrdp_0.10.4.1.bb} | 20 ++++++----
3 files changed, 39 insertions(+), 45 deletions(-)
delete mode 100644 meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
create mode 100644 meta-oe/recipes-support/xrdp/xrdp/fix-compiling-with-musl.patch
rename meta-oe/recipes-support/xrdp/{xrdp_0.9.20.bb => xrdp_0.10.4.1.bb} (87%)meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 2fa575c3171688ceb0dc867a52628046b3f60d91 Mon Sep 17 00:00:00 2001 -From: Zheng Ruoqin <[email protected]> -Date: Tue, 12 Dec 2017 22:36:50 +0800 -Subject: [PATCH] Fix the make error - -Fix the compile error: - *** No rule to make target '../librfxcodec/src/.libs/librfxencode.a', needed by 'xrdp'. Stop.. - -Signed-off-by: Zheng Ruoqin <[email protected]> ---- -Upstream-Status: Pending - - xrdp/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am -index 71d0f76..f41751b 100644 ---- a/xrdp/Makefile.am -+++ b/xrdp/Makefile.am -@@ -21,7 +21,7 @@ XRDP_EXTRA_LIBS = - if XRDP_RFXCODEC - AM_CPPFLAGS += -DXRDP_RFXCODEC - AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include --XRDP_EXTRA_LIBS += $(top_builddir)/librfxcodec/src/.libs/librfxencode.a -+XRDP_EXTRA_LIBS += $(top_builddir)/librfxcodec/src/.libs/librfxencode.la - endif - - if XRDP_PIXMAN -@@ -33,7 +33,7 @@ endif - if XRDP_PAINTER - AM_CPPFLAGS += -DXRDP_PAINTER - AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include --XRDP_EXTRA_LIBS += $(top_builddir)/libpainter/src/.libs/libpainter.a -+XRDP_EXTRA_LIBS += $(top_builddir)/libpainter/src/.libs/libpainter.la - endif - - sbin_PROGRAMS = \
meta-oe/recipes-support/xrdp/xrdp/fix-compiling-with-musl.patch new file +27 -0
@@ -0,0 +1,27 @@ + +sys/signal.h does almost the same in both glibc and musl: it includes "signal.h" + +However with musl there is also a warning macro about this, which is interpreted as +an error during building. + +Fixes error: + +| In file included from ../../sources/xrdp-0.10.4.1/waitforx/waitforx.c:5: +| <...>/usr/include/sys/signal.h:1:2: error: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Werror=cpp] +| 1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h> +| | ^~~~~~~ +| cc1: all warnings being treated as errors + +Upstream-Status: Submitted [https://github.com/neutrinolabs/xrdp/pull/3678] +Signed-off-by: Gyorgy Sarvari <[email protected]> + +--- ./waitforx/waitforx.c.orig 2025-11-25 14:38:46.464337398 +0100 ++++ ./waitforx/waitforx.c 2025-11-25 14:38:52.007441093 +0100 +@@ -2,7 +2,6 @@ + #include <signal.h> + #include <stdio.h> + #include <stdlib.h> +-#include <sys/signal.h> + #include <unistd.h> + + #include "config_ac.h"
meta-oe/recipes-support/xrdp/xrdp_0.10.4.1.bb renamed from meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb +12 -8
@@ -13,20 +13,20 @@ REQUIRED_DISTRO_FEATURES = "x11 pam" SRC_URI = "https://github.com/neutrinolabs/${BPN}/releases/download/v${PV}/${BPN}-${PV}.tar.gz \ file://xrdp.sysconfig \ file://0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch \ - file://0001-Fix-the-compile-error.patch \ file://0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch \ file://0001-mark-count-with-unused-attribute.patch \ " +SRC_URI:append:libc-musl = " file://fix-compiling-with-musl.patch" -SRC_URI[sha256sum] = "db693401da95b71b4d4e4c99aeb569a546dbdbde343f6d3302b0c47653277abb" +SRC_URI[sha256sum] = "52eadf3e86c57be0de0b9d5c184b52a7946a070746d3eb04b5089dd6d42f8f5f" UPSTREAM_CHECK_URI = "https://github.com/neutrinolabs/xrdp/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)" CFLAGS += " -Wno-deprecated-declarations" -PACKAGECONFIG ??= "" -PACKAGECONFIG[fuse] = " --enable-fuse, --disable-fuse, fuse" +PACKAGECONFIG ??= "fuse" +PACKAGECONFIG[fuse] = " --enable-fuse, --disable-fuse, fuse3" USERADD_PACKAGES = "${PN}" GROUPADD_PARAM:${PN} = "--system xrdp"
@@ -36,10 +36,14 @@ USERADD_PARAM:${PN} = "--system --home /var/run/xrdp -g xrdp \ FILES:${PN} += "${datadir}/dbus-1/services/*.service \ ${datadir}/dbus-1/accessibility-services/*.service " -FILES:${PN}-dev += "${libdir}/xrdp/libcommon.so \ - ${libdir}/xrdp/libxrdp.so \ - ${libdir}/xrdp/libscp.so \ - ${libdir}/xrdp/libxrdpapi.so " +FILES:${PN}-dev += " \ + ${libdir}/xrdp/libcommon.so \ + ${libdir}/xrdp/libxrdp.so \ + ${libdir}/xrdp/libxrdpapi.so \ + ${libdir}/xrdp/libtoml.so \ + ${libdir}/xrdp/libsesman.so \ + ${libdir}/xrdp/libipm.so \ + " EXTRA_OECONF = "--enable-pam-config=suse --enable-fuse \ --enable-pixman --enable-painter --enable-vsock \
PATCH 11/43 xorgxrdp: upgrade 0.9.19 -> 0.10.4
In reply to [email protected]From: Gyorgy Sarvari <[email protected]>
Changelog:
0.10.4: https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.10.4
0.10.3: https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.10.3
0.10.2: https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.10.2
0.10.1: https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.10.1
0.10.0: https://github.com/neutrinolabs/xorgxrdp/releases/tag/v0.10.0
---
.../{xorgxrdp_0.9.19.bb => xorgxrdp_0.10.4.bb} | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
rename meta-oe/recipes-support/xorg-xrdp/{xorgxrdp_0.9.19.bb => xorgxrdp_0.10.4.bb} (65%)meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.10.4.bb renamed from meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb +8 -5
@@ -10,14 +10,17 @@ DEPENDS = "virtual/libx11 xserver-xorg xrdp nasm-native" inherit features_check REQUIRED_DISTRO_FEATURES = "x11 pam" -SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git;branch=v0.9;protocol=https" - -SRCREV = "d463bad9639c910fadc2f30dac473c7688b11cfc" - -PV = "0.9.19" +SRC_URI = "git://github.com/neutrinolabs/xorgxrdp.git;branch=v0.10;protocol=https;tag=v${PV}" +SRCREV = "2b1f913f4aa6b88d63d9ce9302c61cb0e39483f6" FILES:${PN} += "${libdir}/xorg/modules/*" +FILES:${PN}-staticdev += " \ + ${libdir}/xorg/modules/libxorgxrdp.a \ + ${libdir}/xorg/modules/drivers/xrdpdev_drv.a \ + ${libdir}/xorg/modules/input/xrdpmouse_drv.a \ + ${libdir}/xorg/modules/input/xrdpkeyb_drv.a \ + " require recipes-graphics/xorg-xserver/xserver-abi.inc
PATCH 12/43 librelp: Upgrade to 1.12.0
In reply to [email protected]From: Randy MacLeod <[email protected]>
This upgrade is mostly bug fixes according to:
https://github.com/rsyslog/librelp/blob/master/ChangeLog
but there is one new API:
add ability to communicate source port back to caller
Drop the backported patch:
0001-Fix-function-inline-errors-in-debug-optimization-Og.patch
Drop patches merged upstream:
0001-tests-Include-missing-sys-time.h.patch
-> 8c96857 tests: Include missing sys/time.h 0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch -> baf992f relp: fix build against upcoming gcc-14 ... 0001-tests-Fix-callback-prototype.patch
-> a4cb0bd tests: Fix callback prototype 0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch -> 6e9b27f tcp: fix some compiler warnings with enable-tls-openssl
Ptest for qemux86-64, qemuarm64 with glibc and musl:
TOTAL: 30
PASS: 27
SKIP: 3
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
---
...line-errors-in-debug-optimization-Og.patch | 34 -------
...gainst-upcoming-gcc-14-Werror-calloc.patch | 37 --------
...piler-warnings-with-enable-tls-opens.patch | 88 -------------------
.../0001-tests-Fix-callback-prototype.patch | 49 -----------
...001-tests-Include-missing-sys-time.h.patch | 41 ---------
.../{librelp_1.11.0.bb => librelp_1.12.0.bb} | 8 +-
6 files changed, 1 insertion(+), 256 deletions(-)
delete mode 100644 meta-oe/recipes-extended/rsyslog/librelp/0001-Fix-function-inline-errors-in-debug-optimization-Og.patch
delete mode 100644 meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch
delete mode 100644 meta-oe/recipes-extended/rsyslog/librelp/0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch
delete mode 100644 meta-oe/recipes-extended/rsyslog/librelp/0001-tests-Fix-callback-prototype.patch
delete mode 100644 meta-oe/recipes-extended/rsyslog/librelp/0001-tests-Include-missing-sys-time.h.patch
rename meta-oe/recipes-extended/rsyslog/{librelp_1.11.0.bb => librelp_1.12.0.bb} (87%)meta-oe/recipes-extended/rsyslog/librelp/0001-Fix-function-inline-errors-in-debug-optimization-Og.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 6d575d98565ce3119a14359eecb11ccdff92a303 Mon Sep 17 00:00:00 2001 -From: Yash Shinde <[email protected]> -Date: Thu, 29 Jun 2023 18:10:15 +0530 -Subject: [PATCH] Fix function inline errors in debug optimization (-Og) - -Compiler does not inline any functions when using debug optimization (-Og). -Hence, remove -Winline flag when compiling with debug optimization. - -Signed-off-by: Nicolas Marguet <[email protected]> ---- -Upstream-Status: Backport [https://github.com/rsyslog/librelp/commit/6d575d9] - - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 21c1fde..1204c4e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -230,6 +230,12 @@ if test "$enable_debug" = "no"; then - AC_DEFINE(NDEBUG, 1, [Defined if debug mode is disabled.]) - fi - -+#Compiler does not inline any functions when not optimizing(-Og). -+#Hence, remove -Winline flag when DEBUG is enabled. -+#ifdef DEBUG -+WARN_CFLAGS="$(echo "$WARN_CFLAGS" | sed s/-Winline//g)" -+#endif -+ - # valgrind - AC_ARG_ENABLE(valgrind, - [AS_HELP_STRING([--enable-valgrind],[Enable valgrind tests@<:@default=yes@:>@])], --- -2.39.0
meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From baf992f82aa987c608731866876adb856847ea45 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 6 May 2024 18:03:40 -0700 -Subject: [PATCH] relp: fix build against upcoming `gcc-14` - (`-Werror=calloc-transposed-args`) - -`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It - detected minor infelicity in `calloc()` API usage - -Fixes -../../git/src/relp.c: In function 'addToEpollSet': -../../git/src/relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args] - 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1)); - | ^~~~~~~~ - -Upstream-Status: Submitted [https://github.com/rsyslog/librelp/pull/264] -Signed-off-by: Khem Raj <[email protected]> ---- - src/relp.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/relp.c b/src/relp.c -index eadda36..6268f1d 100644 ---- a/src/relp.c -+++ b/src/relp.c -@@ -98,7 +98,7 @@ addToEpollSet(relpEngine_t *const pThis, epolld_type_t typ, void *ptr, int sock, - epolld_t *epd = NULL; - ENTER_RELPFUNC; - -- CHKmalloc(epd = calloc(sizeof(epolld_t), 1)); -+ CHKmalloc(epd = calloc(1, sizeof(epolld_t))); - epd->typ = typ; - epd->ptr = ptr; - epd->sock = sock; --- -2.45.0 -
meta-oe/recipes-extended/rsyslog/librelp/0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch deleted +0 -88
88 lines not on this page · raw message
meta-oe/recipes-extended/rsyslog/librelp/0001-tests-Fix-callback-prototype.patch deleted +0 -49
49 lines not on this page · raw message
meta-oe/recipes-extended/rsyslog/librelp/0001-tests-Include-missing-sys-time.h.patch deleted +0 -41
41 lines not on this page · raw message
meta-oe/recipes-extended/rsyslog/librelp_1.12.0.bb renamed from meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb +1 -7
@@ -7,16 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1fb9c10ed9fd6826757615455ca893a9" DEPENDS = "gmp libidn zlib" SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \ - file://0001-Fix-function-inline-errors-in-debug-optimization-Og.patch \ - file://0001-tests-Fix-callback-prototype.patch \ - file://0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch \ - file://0001-tests-Include-missing-sys-time.h.patch \ - file://0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch \ file://run-ptest \ " -SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396" - +SRCREV = "dab30db5108ef4bb5b6f9135e0428b57be7c4085" CVE_PRODUCT = "rsyslog:librelp"
PATCH 13/43 breakpad: correct SRC_URI branch
In reply to [email protected]From: Gyorgy Sarvari <[email protected]>
master was renamed to main
--- meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb +1 -1
@@ -28,7 +28,7 @@ SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31" SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \ git://github.com/google/googletest.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/testing/gtest;name=gtest;branch=main;protocol=https \ - git://github.com/protocolbuffers/protobuf.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https \ + git://github.com/protocolbuffers/protobuf.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/protobuf/protobuf;name=protobuf;branch=main;protocol=https \ git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/lss;name=lss \ file://0001-include-sys-reg.h-to-get-__WORDSIZE-on-musl-libc.patch \ file://0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch \