summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes-global/insane.bbclass9
-rw-r--r--meta/classes-recipe/cross.bbclass22
-rw-r--r--meta/conf/bitbake.conf2
-rw-r--r--meta/conf/toolchain/clang.inc10
-rw-r--r--meta/conf/toolchain/gcc.inc1
-rw-r--r--meta/lib/oeqa/selftest/cases/liboe.py37
-rw-r--r--meta/lib/oeqa/utils/sshcontrol.py2
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-common.inc4
-rw-r--r--meta/recipes-bsp/u-boot/u-boot_2025.04.bb4
-rw-r--r--meta/recipes-connectivity/kea/kea_2.6.1.bb2
-rw-r--r--meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20240407.bb (renamed from meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb)4
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.44.inc1
-rw-r--r--meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch38
-rw-r--r--meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb2
-rw-r--r--meta/recipes-devtools/clang/compiler-rt_git.bb2
-rw-r--r--meta/recipes-devtools/clang/libcxx_git.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-15.1.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc2
-rw-r--r--meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb (renamed from meta/recipes-devtools/libmodulemd/libmodulemd_git.bb)8
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.20.inc5
-rw-r--r--meta/recipes-devtools/m4/m4/run-ptest2
-rw-r--r--meta/recipes-devtools/python/python3_3.13.4.bb (renamed from meta/recipes-devtools/python/python3_3.13.3.bb)4
-rw-r--r--meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb2
-rw-r--r--meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch58
-rw-r--r--meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch57
-rw-r--r--meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch24
-rw-r--r--meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch27
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.20.1.bb (renamed from meta/recipes-devtools/rpm/rpm_4.20.0.bb)16
-rw-r--r--meta/recipes-devtools/strace/strace_6.15.bb2
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb (renamed from meta/recipes-devtools/tcf-agent/tcf-agent_git.bb)1
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch88
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch68
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch27
-rw-r--r--meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch28
-rw-r--r--meta/recipes-devtools/unfs3/unfs3_0.11.0.bb (renamed from meta/recipes-devtools/unfs3/unfs3_git.bb)23
-rw-r--r--meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch40
-rw-r--r--meta/recipes-extended/bc/bc_1.08.2.bb (renamed from meta/recipes-extended/bc/bc_1.08.1.bb)5
-rw-r--r--meta/recipes-extended/cpio/cpio_2.15.bb10
-rw-r--r--meta/recipes-extended/cpio/files/test.sh9
-rw-r--r--meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb2
-rw-r--r--meta/recipes-extended/iputils/iputils/CVE-2025-47268.patch143
-rw-r--r--meta/recipes-extended/iputils/iputils_20250605.bb (renamed from meta/recipes-extended/iputils/iputils_20240905.bb)5
-rw-r--r--meta/recipes-extended/tar/tar/run-ptest12
-rw-r--r--meta/recipes-graphics/mesa/files/0001-meson-stop-building-XA-by-default.patch33
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb1
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl.bb1
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc5
-rw-r--r--meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch32
-rw-r--r--meta/recipes-graphics/piglit/piglit_git.bb3
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch28
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch2
-rw-r--r--meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb (renamed from meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb)10
-rw-r--r--meta/recipes-graphics/xwayland/xwayland_24.1.6.bb2
-rw-r--r--meta/recipes-kernel/blktrace/blktrace_1.3.0.bb (renamed from meta/recipes-kernel/blktrace/blktrace_git.bb)7
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb4
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb4
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_6.12.bb24
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
-rw-r--r--meta/recipes-kernel/systemtap/systemtap-native_5.2.bb (renamed from meta/recipes-kernel/systemtap/systemtap-native_git.bb)3
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_5.2.bb (renamed from meta/recipes-kernel/systemtap/systemtap_git.bb)0
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.inc6
-rw-r--r--meta/recipes-support/curl/curl/no-test-timeout.patch2
-rw-r--r--meta/recipes-support/curl/curl_8.14.1.bb (renamed from meta/recipes-support/curl/curl_8.12.1.bb)7
-rw-r--r--meta/recipes-support/diffoscope/diffoscope_297.bb (renamed from meta/recipes-support/diffoscope/diffoscope_293.bb)5
-rw-r--r--meta/recipes-support/sass/libsass_3.6.6.bb (renamed from meta/recipes-support/sass/libsass_git.bb)3
-rw-r--r--meta/recipes-support/sass/sassc_3.6.2.bb (renamed from meta/recipes-support/sass/sassc_git.bb)3
67 files changed, 321 insertions, 707 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 152bef8ad5..eb8591f624 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -32,7 +32,7 @@ CHECKLAYER_REQUIRED_TESTS = "\
32 invalid-packageconfig la \ 32 invalid-packageconfig la \
33 license-checksum license-exception license-exists license-file-missing license-format license-no-generic license-syntax \ 33 license-checksum license-exception license-exists license-file-missing license-format license-no-generic license-syntax \
34 mime mime-xdg missing-update-alternatives multilib obsolete-license \ 34 mime mime-xdg missing-update-alternatives multilib obsolete-license \
35 packages-list patch-fuzz patch-status perllocalpod perm-config perm-line perm-link \ 35 packages-list patch-fuzz patch-status perllocalpod perm-config perm-line perm-link recipe-naming \
36 pkgconfig pkgvarcheck pkgv-undefined pn-overrides shebang-size src-uri-bad symlink-to-sysroot \ 36 pkgconfig pkgvarcheck pkgv-undefined pn-overrides shebang-size src-uri-bad symlink-to-sysroot \
37 unhandled-features-check unknown-configure-option unlisted-pkg-lics uppercase-pn useless-rpaths \ 37 unhandled-features-check unknown-configure-option unlisted-pkg-lics uppercase-pn useless-rpaths \
38 var-undefined virtual-slash xorg-driver-abi" 38 var-undefined virtual-slash xorg-driver-abi"
@@ -1438,6 +1438,12 @@ python do_qa_unpack() {
1438python do_recipe_qa() { 1438python do_recipe_qa() {
1439 import re 1439 import re
1440 1440
1441 def test_naming(pn, d):
1442 if pn.endswith("-native") and not bb.data.inherits_class("native", d):
1443 oe.qa.handle_error("recipe-naming", "Recipe %s appears native but is not, should inherit native" % pn, d)
1444 if pn.startswith("nativesdk-") and not bb.data.inherits_class("nativesdk", d):
1445 oe.qa.handle_error("recipe-naming", "Recipe %s appears nativesdk but is not, should inherit nativesdk" % pn, d)
1446
1441 def test_missing_metadata(pn, d): 1447 def test_missing_metadata(pn, d):
1442 fn = d.getVar("FILE") 1448 fn = d.getVar("FILE")
1443 srcfile = d.getVar('SRC_URI').split() 1449 srcfile = d.getVar('SRC_URI').split()
@@ -1482,6 +1488,7 @@ python do_recipe_qa() {
1482 oe.qa.handle_error("invalid-packageconfig", error_msg, d) 1488 oe.qa.handle_error("invalid-packageconfig", error_msg, d)
1483 1489
1484 pn = d.getVar('PN') 1490 pn = d.getVar('PN')
1491 test_naming(pn, d)
1485 test_missing_metadata(pn, d) 1492 test_missing_metadata(pn, d)
1486 test_missing_maintainer(pn, d) 1493 test_missing_maintainer(pn, d)
1487 test_srcuri(pn, d) 1494 test_srcuri(pn, d)
diff --git a/meta/classes-recipe/cross.bbclass b/meta/classes-recipe/cross.bbclass
index 93de9a5274..9abf166e50 100644
--- a/meta/classes-recipe/cross.bbclass
+++ b/meta/classes-recipe/cross.bbclass
@@ -80,17 +80,17 @@ do_packagedata[stamp-extra-info] = ""
80 80
81USE_NLS = "no" 81USE_NLS = "no"
82 82
83export CC = "${BUILD_CC}" 83CC = "${BUILD_CC}"
84export CXX = "${BUILD_CXX}" 84CXX = "${BUILD_CXX}"
85export FC = "${BUILD_FC}" 85FC = "${BUILD_FC}"
86export CPP = "${BUILD_CPP}" 86CPP = "${BUILD_CPP}"
87export LD = "${BUILD_LD}" 87LD = "${BUILD_LD}"
88export CCLD = "${BUILD_CCLD}" 88CCLD = "${BUILD_CCLD}"
89export AR = "${BUILD_AR}" 89AR = "${BUILD_AR}"
90export AS = "${BUILD_AS}" 90AS = "${BUILD_AS}"
91export RANLIB = "${BUILD_RANLIB}" 91RANLIB = "${BUILD_RANLIB}"
92export STRIP = "${BUILD_STRIP}" 92STRIP = "${BUILD_STRIP}"
93export NM = "${BUILD_NM}" 93NM = "${BUILD_NM}"
94 94
95inherit nopackages 95inherit nopackages
96 96
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 52e74a6879..c515a07b6f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -801,7 +801,7 @@ DISTRO_NAME ??= "OpenEmbedded"
801# And finally '<foo>:forcevariable' overrides any standard variable, with the highest priority. 801# And finally '<foo>:forcevariable' overrides any standard variable, with the highest priority.
802# This works for functions as well, they are really just variables. 802# This works for functions as well, they are really just variables.
803# 803#
804OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:layer-${FILE_LAYERNAME}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}${LIBCOVERRIDE}:forcevariable" 804OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:layer-${FILE_LAYERNAME}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}:${TCOVERRIDE}${LIBCOVERRIDE}:forcevariable"
805FILE_LAYERNAME ??= "config" 805FILE_LAYERNAME ??= "config"
806LIBCOVERRIDE ?= "" 806LIBCOVERRIDE ?= ""
807CLASSOVERRIDE ?= "class-target" 807CLASSOVERRIDE ?= "class-target"
diff --git a/meta/conf/toolchain/clang.inc b/meta/conf/toolchain/clang.inc
index 2bd4a07a86..8a0a2c315a 100644
--- a/meta/conf/toolchain/clang.inc
+++ b/meta/conf/toolchain/clang.inc
@@ -17,11 +17,11 @@ READELF = "${HOST_PREFIX}llvm-readelf"
17PREFERRED_PROVIDER_virtual/cross-cc = "${MLPREFIX}clang-cross-${TARGET_ARCH}" 17PREFERRED_PROVIDER_virtual/cross-cc = "${MLPREFIX}clang-cross-${TARGET_ARCH}"
18PREFERRED_PROVIDER_virtual/cross-c++ = "${MLPREFIX}clang-cross-${TARGET_ARCH}" 18PREFERRED_PROVIDER_virtual/cross-c++ = "${MLPREFIX}clang-cross-${TARGET_ARCH}"
19PREFERRED_PROVIDER_virtual/compilerlibs = "gcc-runtime" 19PREFERRED_PROVIDER_virtual/compilerlibs = "gcc-runtime"
20PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" 20PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "clang-crosssdk-${SDK_SYS}"
21PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" 21PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "clang-crosssdk-${SDK_SYS}"
22 22
23PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}" 23PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "clang-crosssdk-${SDK_SYS}"
24PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" 24PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "clang-crosssdk-${SDK_SYS}"
25PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" 25PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
26 26
27BASE_DEFAULT_DEPS:append:class-target = " compiler-rt" 27BASE_DEFAULT_DEPS:append:class-target = " compiler-rt"
@@ -30,3 +30,5 @@ TUNE_CCARGS += "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-pre
30 30
31LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2" 31LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2"
32LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1" 32LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1"
33
34TCOVERRIDE = "toolchain-clang"
diff --git a/meta/conf/toolchain/gcc.inc b/meta/conf/toolchain/gcc.inc
index 36d33f5d6d..75f9abe999 100644
--- a/meta/conf/toolchain/gcc.inc
+++ b/meta/conf/toolchain/gcc.inc
@@ -24,3 +24,4 @@ PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
24PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" 24PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
25PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" 25PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
26 26
27TCOVERRIDE = "toolchain-gcc"
diff --git a/meta/lib/oeqa/selftest/cases/liboe.py b/meta/lib/oeqa/selftest/cases/liboe.py
index d5ffffdcb4..930354c931 100644
--- a/meta/lib/oeqa/selftest/cases/liboe.py
+++ b/meta/lib/oeqa/selftest/cases/liboe.py
@@ -9,11 +9,11 @@ from oeqa.utils.commands import get_bb_var, get_bb_vars, bitbake, runCmd
9import oe.path 9import oe.path
10import os 10import os
11 11
12class LibOE(OESelftestTestCase): 12class CopyTreeTests(OESelftestTestCase):
13 13
14 @classmethod 14 @classmethod
15 def setUpClass(cls): 15 def setUpClass(cls):
16 super(LibOE, cls).setUpClass() 16 super().setUpClass()
17 cls.tmp_dir = get_bb_var('TMPDIR') 17 cls.tmp_dir = get_bb_var('TMPDIR')
18 18
19 def test_copy_tree_special(self): 19 def test_copy_tree_special(self):
@@ -102,3 +102,36 @@ class LibOE(OESelftestTestCase):
102 self.assertEqual(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt)) 102 self.assertEqual(dstcnt, len(testfiles), "Number of files in dst (%s) differs from number of files in src(%s)." % (dstcnt, srccnt))
103 103
104 oe.path.remove(testloc) 104 oe.path.remove(testloc)
105
106class SubprocessTests(OESelftestTestCase):
107
108 def test_subprocess_tweak(self):
109 """
110 Test that the string representation of
111 oeqa.utils.subprocesstweak.OETestCalledProcessError includes stdout and
112 stderr, as expected.
113 """
114 script = """
115#! /bin/sh
116echo Ivn fgqbhg | tr '[a-zA-Z]' '[n-za-mN-ZA-M]'
117echo Ivn fgqree | tr '[a-zA-Z]' '[n-za-mN-ZA-M]' >&2
118exit 42
119 """
120
121 import subprocess
122 import unittest.mock
123 from oeqa.utils.subprocesstweak import OETestCalledProcessError
124
125 with self.assertRaises(OETestCalledProcessError) as cm:
126 with unittest.mock.patch("subprocess.CalledProcessError", OETestCalledProcessError):
127 subprocess.run(["bash", "-"], input=script, text=True, capture_output=True, check=True)
128
129 e = cm.exception
130 self.assertEqual(e.returncode, 42)
131 self.assertEqual("Via stdout\n", e.stdout)
132 self.assertEqual("Via stderr\n", e.stderr)
133
134 string = str(e)
135 self.assertIn("exit status 42", string)
136 self.assertIn("Standard Output: Via stdout", string)
137 self.assertIn("Standard Error: Via stderr", string)
diff --git a/meta/lib/oeqa/utils/sshcontrol.py b/meta/lib/oeqa/utils/sshcontrol.py
index 6c5648779a..88a61aff63 100644
--- a/meta/lib/oeqa/utils/sshcontrol.py
+++ b/meta/lib/oeqa/utils/sshcontrol.py
@@ -58,7 +58,7 @@ class SSHProcess(object):
58 data = os.read(self.process.stdout.fileno(), 1024) 58 data = os.read(self.process.stdout.fileno(), 1024)
59 if not data: 59 if not data:
60 self.process.poll() 60 self.process.poll()
61 if self.process.returncode is None: 61 if self.process.returncode is not None:
62 self.process.stdout.close() 62 self.process.stdout.close()
63 eof = True 63 eof = True
64 else: 64 else:
diff --git a/meta/recipes-bsp/u-boot/u-boot-common.inc b/meta/recipes-bsp/u-boot/u-boot-common.inc
index 6cd9c39430..fd1eab5cdd 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common.inc
@@ -16,10 +16,6 @@ SRCREV = "34820924edbc4ec7803eb89d9852f4b870fa760a"
16 16
17SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" 17SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}"
18 18
19# workarounds for aarch64 kvm qemu boot regressions
20SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg"
21SRC_URI:append:genericarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg"
22
23S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
24B = "${WORKDIR}/build" 20B = "${WORKDIR}/build"
25 21
diff --git a/meta/recipes-bsp/u-boot/u-boot_2025.04.bb b/meta/recipes-bsp/u-boot/u-boot_2025.04.bb
index db8b2d58b4..89e964f627 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2025.04.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2025.04.bb
@@ -2,3 +2,7 @@ require u-boot-common.inc
2require u-boot.inc 2require u-boot.inc
3 3
4DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native" 4DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native"
5
6# workarounds for aarch64 kvm qemu boot regressions
7SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg"
8SRC_URI:append:genericarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg"
diff --git a/meta/recipes-connectivity/kea/kea_2.6.1.bb b/meta/recipes-connectivity/kea/kea_2.6.1.bb
index ff7fb51fe0..17e4378746 100644
--- a/meta/recipes-connectivity/kea/kea_2.6.1.bb
+++ b/meta/recipes-connectivity/kea/kea_2.6.1.bb
@@ -69,7 +69,7 @@ do_install:append() {
69 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@BASE_BINDIR@,${base_bindir},g' \ 69 sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@BASE_BINDIR@,${base_bindir},g' \
70 -e 's,@LOCALSTATEDIR@,${localstatedir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 70 -e 's,@LOCALSTATEDIR@,${localstatedir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' \
71 ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl 71 ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl
72 sed -i "s:${B}/../${BPN}-${PV}:@abs_top_builddir_placeholder@:g" ${D}${sbindir}/kea-admin 72 sed -i "s:${B}:@abs_top_builddir_placeholder@:g" ${D}${sbindir}/kea-admin
73} 73}
74 74
75do_install:append() { 75do_install:append() {
diff --git a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20240407.bb
index 06ded45934..e07b93d695 100644
--- a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
+++ b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_20240407.bb
@@ -5,11 +5,11 @@ SECTION = "network"
5LICENSE = "PD" 5LICENSE = "PD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04" 6LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04"
7 7
8SRCREV = "55ba955d53305df96123534488fd160ea882b4dd"
9PV = "20240407"
10PE = "1" 8PE = "1"
11 9
12SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main" 10SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main"
11SRCREV = "55ba955d53305df96123534488fd160ea882b4dd"
12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14 14
15inherit meson 15inherit meson
diff --git a/meta/recipes-devtools/binutils/binutils-2.44.inc b/meta/recipes-devtools/binutils/binutils-2.44.inc
index 5838b2ebeb..c3a597cd7b 100644
--- a/meta/recipes-devtools/binutils/binutils-2.44.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.44.inc
@@ -40,5 +40,6 @@ SRC_URI = "\
40 file://CVE-2025-1182.patch \ 40 file://CVE-2025-1182.patch \
41 file://0016-CVE-2025-1181-1.patch \ 41 file://0016-CVE-2025-1181-1.patch \
42 file://0017-CVE-2025-1181-2.patch \ 42 file://0017-CVE-2025-1181-2.patch \
43 file://0018-CVE-2025-5245.patch \
43" 44"
44S = "${WORKDIR}/git" 45S = "${WORKDIR}/git"
diff --git a/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch b/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch
new file mode 100644
index 0000000000..d4b7d55966
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils/0018-CVE-2025-5245.patch
@@ -0,0 +1,38 @@
1From: Alan Modra <amodra@gmail.com>
2Date: Tue, 1 Apr 2025 22:36:54 +1030
3
4PR32829, SEGV on objdump function debug_type_samep
5u.kenum is always non-NULL, see debug_make_enum_type.
6
7Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=6c3458a8b7ee7d39f070c7b2350851cb2110c65a]
8CVE: CVE-2025-5245
9
10Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
11
12diff --git a/binutils/debug.c b/binutils/debug.c
13index dcc8ccde..465b18e7 100644
14--- a/binutils/debug.c
15+++ b/binutils/debug.c
16@@ -2554,9 +2554,6 @@ debug_write_type (struct debug_handle *info,
17 case DEBUG_KIND_UNION_CLASS:
18 return debug_write_class_type (info, fns, fhandle, type, tag);
19 case DEBUG_KIND_ENUM:
20- if (type->u.kenum == NULL)
21- return (*fns->enum_type) (fhandle, tag, (const char **) NULL,
22- (bfd_signed_vma *) NULL);
23 return (*fns->enum_type) (fhandle, tag, type->u.kenum->names,
24 type->u.kenum->values);
25 case DEBUG_KIND_POINTER:
26@@ -3097,9 +3094,9 @@ debug_type_samep (struct debug_handle *info, struct debug_type_s *t1,
27 break;
28
29 case DEBUG_KIND_ENUM:
30- if (t1->u.kenum == NULL)
31- ret = t2->u.kenum == NULL;
32- else if (t2->u.kenum == NULL)
33+ if (t1->u.kenum->names == NULL)
34+ ret = t2->u.kenum->names == NULL;
35+ else if (t2->u.kenum->names == NULL)
36 ret = false;
37 else
38 {
diff --git a/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
index f8e7bb13d2..47438014b2 100644
--- a/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
+++ b/meta/recipes-devtools/clang/compiler-rt-sanitizers_git.bb
@@ -36,6 +36,8 @@ BUILD_CXX = "${CCACHE}${HOST_PREFIX}clang++ ${BUILD_CC_ARCH}$"
36CFLAGS += "${COMPILER_RT}" 36CFLAGS += "${COMPILER_RT}"
37CXXFLAGS += "${COMPILER_RT} ${LIBCPLUSPLUS}" 37CXXFLAGS += "${COMPILER_RT} ${LIBCPLUSPLUS}"
38 38
39TOOLCHAIN = "clang"
40
39DEPENDS += "ninja-native virtual/crypt compiler-rt" 41DEPENDS += "ninja-native virtual/crypt compiler-rt"
40DEPENDS:append:class-native = " clang-native libxcrypt-native libcxx-native" 42DEPENDS:append:class-native = " clang-native libxcrypt-native libcxx-native"
41DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-native clang-crosssdk-${SDK_SYS} nativesdk-libxcrypt nativesdk-gcc-runtime" 43DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-native clang-crosssdk-${SDK_SYS} nativesdk-libxcrypt nativesdk-gcc-runtime"
diff --git a/meta/recipes-devtools/clang/compiler-rt_git.bb b/meta/recipes-devtools/clang/compiler-rt_git.bb
index ad145f8644..7b442183ef 100644
--- a/meta/recipes-devtools/clang/compiler-rt_git.bb
+++ b/meta/recipes-devtools/clang/compiler-rt_git.bb
@@ -58,6 +58,8 @@ BUILD_CXX = "${CCACHE}clang++ ${BUILD_CC_ARCH}"
58LDFLAGS += "${COMPILER_RT} ${UNWINDLIB}" 58LDFLAGS += "${COMPILER_RT} ${UNWINDLIB}"
59CXXFLAGS += "${LIBCPLUSPLUS}" 59CXXFLAGS += "${LIBCPLUSPLUS}"
60 60
61TOOLCHAIN = "clang"
62
61def get_compiler_rt_arch(bb, d): 63def get_compiler_rt_arch(bb, d):
62 if bb.utils.contains('TUNE_FEATURES', 'armv5 thumb dsp', True, False, d): 64 if bb.utils.contains('TUNE_FEATURES', 'armv5 thumb dsp', True, False, d):
63 return 'armv5te' 65 return 'armv5te'
diff --git a/meta/recipes-devtools/clang/libcxx_git.bb b/meta/recipes-devtools/clang/libcxx_git.bb
index c99617c228..f5bf17f30a 100644
--- a/meta/recipes-devtools/clang/libcxx_git.bb
+++ b/meta/recipes-devtools/clang/libcxx_git.bb
@@ -54,6 +54,8 @@ BUILD_CXX = "${CCACHE}clang++ ${BUILD_CC_ARCH}"
54LDFLAGS += "${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}" 54LDFLAGS += "${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}"
55CXXFLAGS += "${LIBCPLUSPLUS}" 55CXXFLAGS += "${LIBCPLUSPLUS}"
56 56
57TOOLCHAIN = "clang"
58
57OECMAKE_SOURCEPATH = "${S}/llvm" 59OECMAKE_SOURCEPATH = "${S}/llvm"
58EXTRA_OECMAKE += "\ 60EXTRA_OECMAKE += "\
59 -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 61 -DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/meta/recipes-devtools/gcc/gcc-15.1.inc b/meta/recipes-devtools/gcc/gcc-15.1.inc
index 0032500cdc..18f8cae5ca 100644
--- a/meta/recipes-devtools/gcc/gcc-15.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-15.1.inc
@@ -79,7 +79,7 @@ S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}"
79B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" 79B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}"
80 80
81# Language Overrides 81# Language Overrides
82FORTRAN = "" 82FORTRAN ?= ""
83 83
84SSP ?= "--disable-libssp" 84SSP ?= "--disable-libssp"
85SSP:mingw32 = "--enable-libssp" 85SSP:mingw32 = "--enable-libssp"
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc
index 5c79936242..e3fb48c030 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc
@@ -6,7 +6,7 @@ require gcc-shared-source.inc
6# These can be overridden by the version specific .inc file. 6# These can be overridden by the version specific .inc file.
7 7
8# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran' 8# gcc 3.x expects 'f77', 4.0 expects 'f95', 4.1 and 4.2 expect 'fortran'
9FORTRAN ?= ",fortran" 9FORTRAN ??= ",fortran"
10LANGUAGES ?= "c,c++${FORTRAN}" 10LANGUAGES ?= "c,c++${FORTRAN}"
11 11
12EXTRA_OECONF_BASE ?= "" 12EXTRA_OECONF_BASE ?= ""
diff --git a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb
index 0c73032923..c31fc44ce4 100644
--- a/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
+++ b/meta/recipes-devtools/libmodulemd/libmodulemd_2.15.1.bb
@@ -6,14 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
6 6
7SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" 7SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main"
8 8
9PV = "2.15.1"
10SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd" 9SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd"
11 10
12S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
13 12
14inherit meson gobject-introspection pkgconfig 13inherit meson gobject-introspection pkgconfig manpages
15 14
16EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" 15EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
17 16
18DEPENDS += "glib-2.0 libyaml glib-2.0-native" 17DEPENDS += "glib-2.0 libyaml glib-2.0-native"
19 18
@@ -22,3 +21,6 @@ BBCLASSEXTEND = "native nativesdk"
22GIR_MESON_OPTION = 'skip_introspection' 21GIR_MESON_OPTION = 'skip_introspection'
23GIR_MESON_ENABLE_FLAG = 'false' 22GIR_MESON_ENABLE_FLAG = 'false'
24GIR_MESON_DISABLE_FLAG = 'true' 23GIR_MESON_DISABLE_FLAG = 'true'
24
25PACKAGECONFIG ??= ""
26PACKAGECONFIG[manpages] = "-Dwith_manpages=enabled,-Dwith_manpages=disabled"
diff --git a/meta/recipes-devtools/m4/m4-1.4.20.inc b/meta/recipes-devtools/m4/m4-1.4.20.inc
index a31335f173..aad57b8b64 100644
--- a/meta/recipes-devtools/m4/m4-1.4.20.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.20.inc
@@ -27,7 +27,7 @@ EXTRA_OEMAKE += "'infodir=${infodir}'"
27do_compile_ptest() { 27do_compile_ptest() {
28 cd ${B}/tests 28 cd ${B}/tests
29 sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile 29 sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile
30 oe_runmake buildtest-TESTS 30 oe_runmake CPPFLAGS="-DSRCDIR=\\\"${PTEST_PATH}/tests/\\\"" buildtest-TESTS
31} 31}
32 32
33do_install_ptest() { 33do_install_ptest() {
@@ -39,9 +39,6 @@ do_install_ptest() {
39 chmod 0755 ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \ 39 chmod 0755 ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \
40 ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \ 40 ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \
41 ${D}${PTEST_PATH}/tests/test-xalloc-die 41 ${D}${PTEST_PATH}/tests/test-xalloc-die
42
43 ln -sf ptest ${D}${libdir}/${BPN}/${BP}
44 sed -i -e 's/@BP@/${BP}/g' ${D}${PTEST_PATH}/run-ptest
45} 42}
46 43
47do_install_ptest:append:libc-glibc() { 44do_install_ptest:append:libc-glibc() {
diff --git a/meta/recipes-devtools/m4/m4/run-ptest b/meta/recipes-devtools/m4/m4/run-ptest
index a91c372e54..da786e26f4 100644
--- a/meta/recipes-devtools/m4/m4/run-ptest
+++ b/meta/recipes-devtools/m4/m4/run-ptest
@@ -2,4 +2,4 @@
2# 2#
3#This script is used to run m4 test suites 3#This script is used to run m4 test suites
4cd tests 4cd tests
5make -k runtest-TESTS abs_aux_dir=../../@BP@/tests/build-aux abs_top_srcdir=../../@BP@/tests abs_srcdir=../../@BP@/tests top_srcdir=.. srcdir=. 5make -k runtest-TESTS abs_aux_dir=./build-aux abs_top_srcdir=. abs_srcdir=. top_srcdir=.. srcdir=.
diff --git a/meta/recipes-devtools/python/python3_3.13.3.bb b/meta/recipes-devtools/python/python3_3.13.4.bb
index 6839d28e19..5b49fee3bf 100644
--- a/meta/recipes-devtools/python/python3_3.13.3.bb
+++ b/meta/recipes-devtools/python/python3_3.13.4.bb
@@ -36,7 +36,7 @@ SRC_URI:append:class-native = " \
36 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ 36 file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
37 " 37 "
38 38
39SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041" 39SRC_URI[sha256sum] = "27b15a797562a2971dce3ffe31bb216042ce0b995b39d768cf15f784cc757365"
40 40
41# exclude pre-releases for both python 2.x and 3.x 41# exclude pre-releases for both python 2.x and 3.x
42UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" 42UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
@@ -72,8 +72,6 @@ DEPENDS = "\
72 bzip2-replacement-native \ 72 bzip2-replacement-native \
73 expat \ 73 expat \
74 libffi \ 74 libffi \
75 libnsl2 \
76 libtirpc \
77 ncurses \ 75 ncurses \
78 openssl \ 76 openssl \
79 sqlite3 \ 77 sqlite3 \
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb b/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb
index 57a7e8515a..22462e2499 100644
--- a/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb
+++ b/meta/recipes-devtools/qemu/qemu-system-native_10.0.2.bb
@@ -9,7 +9,7 @@ DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native"
9 9
10EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" 10EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}"
11 11
12PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman \ 12PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman sdl \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \ 13 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virglrenderer epoxy', '', d)} \
14" 14"
15 15
diff --git a/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
new file mode 100644
index 0000000000..ed270a5704
--- /dev/null
+++ b/meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
@@ -0,0 +1,58 @@
1From 19f7ef341f19ac5594c7d0113f9eb8224934464a Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Sun, 8 Jun 2025 00:19:06 -0700
4Subject: [PATCH] CMakeLists.txt: Fix checking for CFLAGS
5
6The previous code doesn't work because the check_c_compiler_flag() only ran
7once because 'found' is in CACHE, here is log:
8-- Performing Test found
9-- Performing Test found - Success
10
11That would result in:
12* All the flags are added when the first one works
13* None of the flags is added when the first one doesn't work
14
15We can use "unset(found CACHE)" to fix that, but the log is still not clear:
16-- Performing Test found
17-- Performing Test found - Success
18-- Performing Test found
19-- Performing Test found - Success
20-- Performing Test found
21-- Performing Test found - Failed
22
23Use a new var SUPPORTS_${flag} will make it more clear:
24-- Performing Test SUPPORTS_-fno-strict-overflow
25-- Performing Test SUPPORTS_-fno-strict-overflow - Success
26-- Performing Test SUPPORTS_-fno-delete-null-pointer-checks
27-- Performing Test SUPPORTS_-fno-delete-null-pointer-checks - Success
28-- Performing Test SUPPORTS_-fhardened
29-- Performing Test SUPPORTS_-fhardened - Failed
30
31Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/3796]
32
33Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
34---
35 CMakeLists.txt | 5 ++---
36 1 file changed, 2 insertions(+), 3 deletions(-)
37
38diff --git a/CMakeLists.txt b/CMakeLists.txt
39index 08e3e5274..a7566ab5a 100644
40--- a/CMakeLists.txt
41+++ b/CMakeLists.txt
42@@ -416,11 +416,10 @@ endif()
43
44 # try to ensure some compiler sanity and hardening options where supported
45 foreach (flag -fno-strict-overflow -fno-delete-null-pointer-checks -fhardened)
46- check_c_compiler_flag(${flag} found)
47- if (found)
48+ check_c_compiler_flag(${flag} SUPPORTS_${flag})
49+ if (SUPPORTS_${flag})
50 add_compile_options(${flag})
51 endif()
52- unset(found)
53 endforeach()
54
55 # generated sources
56--
572.49.0
58
diff --git a/meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch b/meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch
deleted file mode 100644
index 5db69340ad..0000000000
--- a/meta/recipes-devtools/rpm/files/0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From 2d6beb620896a59cfd685b51a19057e5c5c4ab41 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 19 Dec 2024 11:54:54 +0800
4Subject: [PATCH] Set RPM_PLUGINDIR in top level CMakeLists.txt
5
6We have in macros.in:
7 %__plugindir @RPM_PLUGINDIR@
8
9This means, if RPM_PLUGINDIR is not set, %__plugindir will be empty.
10This in turn results in error message when running 'dnf'.
11
12e.g.,
13dnf --help >/dev/null
14error: /usr/lib64/rpm/macros: line 1183: Macro %__plugindir has empty body
15error: /usr/lib64/rpm/macros: line 1183: Macro %__plugindir has empty body
16
17So we should move this directory setting into the top level CMakeLists.txt.
18
19Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/3496]
20
21Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
22---
23 CMakeLists.txt | 3 +++
24 plugins/CMakeLists.txt | 3 ---
25 2 files changed, 3 insertions(+), 3 deletions(-)
26
27diff --git a/CMakeLists.txt b/CMakeLists.txt
28index 758ba73f4..e694b9650 100644
29--- a/CMakeLists.txt
30+++ b/CMakeLists.txt
31@@ -453,6 +453,9 @@ if (ENABLE_PYTHON)
32 add_subdirectory(python)
33 endif()
34
35+set(RPM_PLUGINDIR ${CMAKE_INSTALL_FULL_LIBDIR}/rpm-plugins
36+ CACHE PATH "rpm plugin directory")
37+
38 if (ENABLE_PLUGINS)
39 add_subdirectory(plugins)
40 endif()
41diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
42index a44056fe3..6e61a7c20 100644
43--- a/plugins/CMakeLists.txt
44+++ b/plugins/CMakeLists.txt
45@@ -42,9 +42,6 @@ if (HAVE_UNSHARE)
46 add_library(unshare MODULE unshare.c)
47 endif()
48
49-set(RPM_PLUGINDIR ${CMAKE_INSTALL_FULL_LIBDIR}/rpm-plugins
50- CACHE PATH "rpm plugin directory")
51-
52 get_property(plugins DIRECTORY PROPERTY BUILDSYSTEM_TARGETS)
53 foreach(plugin ${plugins})
54 target_link_libraries(${plugin} PRIVATE librpmio librpm ${Intl_LIBRARIES})
55--
562.25.1
57
diff --git a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
index fc6d7e0d29..b71156fe12 100644
--- a/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
+++ b/meta/recipes-devtools/rpm/files/0001-When-cross-installing-execute-package-scriptlets-wit.patch
@@ -24,15 +24,18 @@ Amended 2018-07-03 by Olof Johansson <olofjn@axis.com>:
24 24
25Upstream-Status: Inappropriate [oe-core specific] 25Upstream-Status: Inappropriate [oe-core specific]
26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 26Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
27
28Rebased to 4.20.1
29Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
27--- 30---
28 lib/rpmscript.c | 11 ++++++++--- 31 lib/rpmscript.c | 9 +++++++--
29 1 file changed, 8 insertions(+), 3 deletions(-) 32 1 file changed, 7 insertions(+), 2 deletions(-)
30 33
31diff --git a/lib/rpmscript.c b/lib/rpmscript.c 34diff --git a/lib/rpmscript.c b/lib/rpmscript.c
32index 097c9055a..060fd8124 100644 35index eb14870b3..1785e8f30 100644
33--- a/lib/rpmscript.c 36--- a/lib/rpmscript.c
34+++ b/lib/rpmscript.c 37+++ b/lib/rpmscript.c
35@@ -447,8 +447,7 @@ exit: 38@@ -456,8 +456,7 @@ exit:
36 Fclose(out); /* XXX dup'd STDOUT_FILENO */ 39 Fclose(out); /* XXX dup'd STDOUT_FILENO */
37 40
38 if (fn) { 41 if (fn) {
@@ -42,18 +45,17 @@ index 097c9055a..060fd8124 100644
42 free(fn); 45 free(fn);
43 } 46 }
44 free(mline); 47 free(mline);
45@@ -482,7 +481,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd, 48@@ -491,7 +490,13 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd,
46 49
47 if (rc != RPMRC_FAIL) { 50 if (rc != RPMRC_FAIL) {
48 if (script_type & RPMSCRIPTLET_EXEC) { 51 if (script_type & RPMSCRIPTLET_EXEC) {
49- rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc);
50+ if (getenv("RPM_NO_CHROOT_FOR_SCRIPTS") != NULL) { 52+ if (getenv("RPM_NO_CHROOT_FOR_SCRIPTS") != NULL) {
51+ rpmChrootOut(); 53+ rpmChrootOut();
52+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 54 rc = runExtScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
53+ rpmChrootIn(); 55+ rpmChrootIn();
54+ } else { 56+ } else {
55+ rc = runExtScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 57+ rc = runExtScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
56+ } 58+ }
57 } else { 59 } else {
58 rc = runLuaScript(plugins, prefixes, script->descr, lvl, scriptFd, &args, script->body, arg1, arg2, script->nextFileFunc); 60 rc = runLuaScript(plugins, prefixes, script, lvl, scriptFd, &args, arg1, arg2);
59 } 61 }
diff --git a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
index 278fa38bad..bac2d6331c 100644
--- a/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
+++ b/meta/recipes-devtools/rpm/files/0016-rpmscript.c-change-logging-level-around-scriptlets-t.patch
@@ -9,15 +9,18 @@ irrelevant noise to rootfs logs.
9 9
10Upstream-Status: Inappropriate [oe-core specific] 10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12
13Rebased to 4.20.1
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
12--- 15---
13 lib/rpmscript.c | 8 ++++---- 16 lib/rpmscript.c | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-) 17 1 file changed, 4 insertions(+), 4 deletions(-)
15 18
16diff --git a/lib/rpmscript.c b/lib/rpmscript.c 19diff --git a/lib/rpmscript.c b/lib/rpmscript.c
17index 4dc6466a8..6d3c19d01 100644 20index e9f288ae0..f0c628708 100644
18--- a/lib/rpmscript.c 21--- a/lib/rpmscript.c
19+++ b/lib/rpmscript.c 22+++ b/lib/rpmscript.c
20@@ -290,7 +290,7 @@ static char * writeScript(const char *cmd, const char *script) 23@@ -299,7 +299,7 @@ static char * writeScript(const char *cmd, const char *script)
21 if (Ferror(fd)) 24 if (Ferror(fd))
22 goto exit; 25 goto exit;
23 26
@@ -26,30 +29,30 @@ index 4dc6466a8..6d3c19d01 100644
26 static const char set_x[] = "set -x\n"; 29 static const char set_x[] = "set -x\n";
27 /* Assume failures will be caught by the write below */ 30 /* Assume failures will be caught by the write below */
28 Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd); 31 Fwrite(set_x, sizeof(set_x[0]), sizeof(set_x)-1, fd);
29@@ -322,7 +322,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 32@@ -330,7 +330,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
30 char *mline = NULL; 33 char *mline = NULL;
31 rpmRC rc = RPMRC_FAIL; 34 rpmRC rc = RPMRC_FAIL;
32 35
33- rpmlog(RPMLOG_DEBUG, "%s: scriptlet start\n", sname); 36- rpmlog(RPMLOG_DEBUG, "%s: scriptlet start\n", script->descr);
34+ rpmlog(RPMLOG_INFO, "%s: scriptlet start\n", sname); 37+ rpmlog(RPMLOG_INFO, "%s: scriptlet start\n", script->descr);
35 38
36 if (script) { 39 if (script->body) {
37 fn = writeScript(*argvp[0], script); 40 fn = writeScript(*argvp[0], script->body);
38@@ -374,7 +374,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 41@@ -382,7 +382,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
39 sname, strerror(errno)); 42 script->descr, strerror(errno));
40 goto exit; 43 goto exit;
41 } else if (pid == 0) {/* Child */ 44 } else if (pid == 0) {/* Child */
42- rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n", 45- rpmlog(RPMLOG_DEBUG, "%s: execv(%s) pid %d\n",
43+ rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n", 46+ rpmlog(RPMLOG_INFO, "%s: execv(%s) pid %d\n",
44 sname, *argvp[0], (unsigned)getpid()); 47 script->descr, *argvp[0], (unsigned)getpid());
45 48
46 fclose(in); 49 fclose(in);
47@@ -417,7 +417,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes, 50@@ -426,7 +426,7 @@ static rpmRC runExtScript(rpmPlugins plugins, ARGV_const_t prefixes,
48 reaped = waitpid(pid, &status, 0); 51 reaped = waitpid(pid, &status, 0);
49 } while (reaped == -1 && errno == EINTR); 52 } while (reaped == -1 && errno == EINTR);
50 53
51- rpmlog(RPMLOG_DEBUG, "%s: waitpid(%d) rc %d status %x\n", 54- rpmlog(RPMLOG_DEBUG, "%s: waitpid(%d) rc %d status %x\n",
52+ rpmlog(RPMLOG_INFO, "%s: waitpid(%d) rc %d status %x\n", 55+ rpmlog(RPMLOG_INFO, "%s: waitpid(%d) rc %d status %x\n",
53 sname, (unsigned)pid, (unsigned)reaped, status); 56 script->descr, (unsigned)pid, (unsigned)reaped, status);
54 57
55 if (reaped < 0) { 58 if (reaped < 0) {
diff --git a/meta/recipes-devtools/rpm/rpm_4.20.0.bb b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
index bcc138dab0..7bb6993811 100644
--- a/meta/recipes-devtools/rpm/rpm_4.20.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.20.1.bb
@@ -22,7 +22,7 @@ HOMEPAGE = "http://www.rpm.org"
22 22
23# libraries are also LGPL - how to express this? 23# libraries are also LGPL - how to express this?
24LICENSE = "GPL-2.0-only" 24LICENSE = "GPL-2.0-only"
25LIC_FILES_CHKSUM = "file://COPYING;md5=c4eec0c20c6034b9407a09945b48a43f" 25LIC_FILES_CHKSUM = "file://COPYING;md5=066ecde17828e5c8911ec9eae8be78f4"
26 26
27SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protocol=https \ 27SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protocol=https \
28 file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \ 28 file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
@@ -38,11 +38,11 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protoc
38 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \ 38 file://0001-CMakeLists.txt-look-for-lua-with-pkg-config-rather-t.patch \
39 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \ 39 file://0002-rpmio-rpmglob.c-avoid-using-GLOB_BRACE-if-undefined-.patch \
40 file://0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch \ 40 file://0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch \
41 file://0001-Set-RPM_PLUGINDIR-in-top-level-CMakeLists.txt.patch \ 41 file://0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch \
42 " 42 "
43 43
44PE = "1" 44PE = "1"
45SRCREV = "b3323786668cf99bc9aed7e60ccdab0bc25e19da" 45SRCREV = "c8dc5ea575a2e9c1488036d12f4b75f6a5a49120"
46 46
47S = "${WORKDIR}/git" 47S = "${WORKDIR}/git"
48 48
@@ -101,6 +101,8 @@ WRAPPER_TOOLS = " \
101 ${libdir}/rpm/rpmdeps \ 101 ${libdir}/rpm/rpmdeps \
102" 102"
103 103
104base_bindir_progs = "sed tar rm mv mkdir cp cat chown chmod gzip grep"
105
104do_install:append:class-native() { 106do_install:append:class-native() {
105 for tool in ${WRAPPER_TOOLS}; do 107 for tool in ${WRAPPER_TOOLS}; do
106 test -x ${D}$tool && create_wrapper ${D}$tool \ 108 test -x ${D}$tool && create_wrapper ${D}$tool \
@@ -123,9 +125,15 @@ do_install:append:class-nativesdk() {
123 EOF 125 EOF
124} 126}
125 127
126# Rpm's make install creates var/tmp which clashes with base-files packaging
127do_install:append:class-target() { 128do_install:append:class-target() {
129 # Rpm's make install creates var/tmp which clashes with base-files packaging
128 rm -rf ${D}/var 130 rm -rf ${D}/var
131
132 if [ "${base_bindir}" != "${bindir}" ]; then
133 for prog in ${base_bindir_progs}; do
134 sed -i "s|^%__${prog}.*|%__${prog} ${base_bindir}/${prog}|g" ${D}${libdir}/rpm/macros
135 done
136 fi
129} 137}
130do_install:append:class-nativesdk() { 138do_install:append:class-nativesdk() {
131 rm -rf ${D}${SDKPATHNATIVE}/var 139 rm -rf ${D}${SDKPATHNATIVE}/var
diff --git a/meta/recipes-devtools/strace/strace_6.15.bb b/meta/recipes-devtools/strace/strace_6.15.bb
index d8ac2a53d0..2093c92eb3 100644
--- a/meta/recipes-devtools/strace/strace_6.15.bb
+++ b/meta/recipes-devtools/strace/strace_6.15.bb
@@ -45,7 +45,7 @@ do_install_ptest() {
45 mkdir -p ${D}${PTEST_PATH}/src 45 mkdir -p ${D}${PTEST_PATH}/src
46 install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/ 46 install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/
47 install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/ 47 install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/
48 sed -e '/^src/s/strace.*[0-9]/ptest/' \ 48 sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \
49 -e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \ 49 -e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \
50 -i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile 50 -i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
51} 51}
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
index 235936288b..b02fcb9cad 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_1.8.0.bb
@@ -7,7 +7,6 @@ LICENSE = "EPL-1.0 | BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" 7LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
8 8
9SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709" 9SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709"
10PV = "1.8.0+git"
11 10
12UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" 11UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
13SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \ 12SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch b/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
deleted file mode 100644
index 91909fa236..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 949db882e487d728c44bb68139682b38396dd275 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 14 Dec 2022 14:50:10 -0800
4Subject: [PATCH] Alias off64_t to off_t on linux if not defined
5
6Musl C library does not define off64_t and has 64-bit default off_t
7therefore define off64_t as an alias on linux as well when configure
8detects that off64_t is not provided by a linux system
9
10Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/29]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 nfs.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/nfs.h b/nfs.h
17index aded011..7996c67 100644
18--- a/nfs.h
19+++ b/nfs.h
20@@ -62,7 +62,7 @@ typedef int32_t int32;
21 #endif
22
23 #ifndef HAVE_OFF64_T
24-#ifdef __APPLE__
25+#if defined(__APPLE__) || defined(__linux__)
26 typedef off_t off64_t;
27 #endif
28 #endif
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch b/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
deleted file mode 100644
index a0f3740d6a..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch
+++ /dev/null
@@ -1,88 +0,0 @@
1From 7e789895919d57d573ebb8faa147d1286104cd01 Mon Sep 17 00:00:00 2001
2From: Rui Wang <rui.wang@windriver.com>
3Date: Mon, 24 Apr 2023 02:57:57 -0700
4Subject: [PATCH] attr: fix utime for symlink
5
6unfs3 has an old defect that it can not change the timestamps of a
7symlink file because it only uses utime(), which will follow the
8symlink. This will not cause an error if the symlink points to an
9existent file. But under some special situation, such as installing
10a rpm package, rpm tool will create the symlink first and try to
11modify the timestamps of it, when the target file is non-existent.
12This will cause an ESTALE error. Making rpm tool ignore this error
13is a solution, but not the best one. An acceptable approach is
14Making unfs3 support lutimes(), which can modify the symlink file
15itself. Considering not every system support this function, so a
16function checking is necessary.
17
18Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/35]
19
20Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
21---
22 attr.c | 15 +++++++++++----
23 backend_unix.h | 2 ++
24 configure.ac | 1 +
25 3 files changed, 14 insertions(+), 4 deletions(-)
26
27diff --git a/attr.c b/attr.c
28index 0ce9375..930ce6e 100644
29--- a/attr.c
30+++ b/attr.c
31@@ -285,7 +285,7 @@ post_op_attr get_post_cached(struct svc_req * req)
32 static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
33 {
34 time_t new_atime, new_mtime;
35- struct utimbuf utim;
36+ struct timeval stamps[2];
37 int res;
38
39 /* set atime and mtime */
40@@ -307,10 +307,17 @@ static nfsstat3 set_time(const char *path, backend_statstruct buf, sattr3 new)
41 else /* DONT_CHANGE */
42 new_mtime = buf.st_mtime;
43
44- utim.actime = new_atime;
45- utim.modtime = new_mtime;
46+ stamps[0].tv_sec = new_atime;
47+ stamps[0].tv_usec = 0;
48+ stamps[1].tv_sec = new_mtime;
49+ stamps[1].tv_usec = 0;
50+
51+#if HAVE_LUTIMES
52+ res = backend_lutimes(path, stamps);
53+#else
54+ res = backend_utimes(path, stamps);
55+#endif
56
57- res = backend_utime(path, &utim);
58 if (res == -1)
59 return setattr_err();
60 }
61diff --git a/backend_unix.h b/backend_unix.h
62index 4db72ae..9cce9ab 100644
63--- a/backend_unix.h
64+++ b/backend_unix.h
65@@ -61,6 +61,8 @@
66 #define backend_symlink symlink
67 #define backend_truncate truncate
68 #define backend_utime utime
69+#define backend_utimes utimes
70+#define backend_lutimes lutimes
71 #define backend_statstruct struct stat
72 #define backend_dirstream DIR
73 #define backend_statvfsstruct struct statvfs
74diff --git a/configure.ac b/configure.ac
75index d46c905..c21afe3 100644
76--- a/configure.ac
77+++ b/configure.ac
78@@ -32,6 +32,7 @@ AC_CHECK_FUNCS(setresuid setresgid)
79 AC_CHECK_FUNCS(vsyslog)
80 AC_CHECK_FUNCS(lchown)
81 AC_CHECK_FUNCS(setgroups)
82+AC_CHECK_FUNCS(lutimes)
83 UNFS3_COMPILE_WARNINGS
84
85 PKG_CHECK_MODULES([TIRPC], [libtirpc])
86--
872.40.0
88
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch b/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
deleted file mode 100644
index 20bbee90a0..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 212a947e776e7a25c1f2259615f461179bcb3663 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 23 Nov 2022 21:38:38 +0100
4Subject: [PATCH] daemon.c: Fix race window for writing of the pid file
5
6The parent process should write the pid file such that the pid file
7will can be checked immediately following exit of the fork from the
8parent.
9
10This allows external monitoring applications to watch the daemon
11without having to add sleep calls to wait for the pid file be written
12on a busy system.
13
14Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/28]
15Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
16Signed-off-by: Alexander Kanavin <alex@linutronix.de>
17---
18 daemon.c | 12 +++++++++---
19 1 file changed, 9 insertions(+), 3 deletions(-)
20
21diff --git a/daemon.c b/daemon.c
22index ff53b7a..13b06a4 100644
23--- a/daemon.c
24+++ b/daemon.c
25@@ -166,7 +166,7 @@ int get_socket_type(struct svc_req *rqstp)
26 /*
27 * write current pid to a file
28 */
29-static void create_pid_file(void)
30+static void create_pid_file(int pid)
31 {
32 char buf[16];
33 int fd, res, len;
34@@ -188,7 +188,7 @@ static void create_pid_file(void)
35 }
36 #endif
37
38- sprintf(buf, "%i\n", backend_getpid());
39+ sprintf(buf, "%i\n", pid);
40 len = strlen(buf);
41
42 res = backend_pwrite(fd, buf, len, 0);
43@@ -1122,6 +1122,10 @@ int main(int argc, char **argv)
44 fprintf(stderr, "could not fork into background\n");
45 daemon_exit(0);
46 }
47+ if (pid)
48+ create_pid_file(pid);
49+ } else {
50+ create_pid_file(backend_getpid());
51 }
52 #endif /* WIN32 */
53
54@@ -1161,8 +1165,10 @@ int main(int argc, char **argv)
55 /* no umask to not screw up create modes */
56 umask(0);
57
58+#ifdef WIN32
59 /* create pid file if wanted */
60- create_pid_file();
61+ create_pid_file(backend_getpid());
62+#endif
63
64 /* initialize internal stuff */
65 fh_cache_init();
66--
672.30.2
68
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch b/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
deleted file mode 100644
index f18ffd3711..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-fix-building-on-macOS.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001
2From: Andrey Filipenkov <decapitator@ukr.net>
3Date: Wed, 2 Nov 2022 13:38:40 +0300
4Subject: [PATCH] fix building on macOS
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666]
8---
9 attr.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/attr.c b/attr.c
13index 6253e84..0ce9375 100644
14--- a/attr.c
15+++ b/attr.c
16@@ -18,6 +18,8 @@
17 #include <utime.h>
18 #include <errno.h>
19 #include <dirent.h>
20+#include <stdlib.h>
21+#include <string.h>
22
23 #include "backend.h"
24 #include "nfs.h"
25--
262.39.1
27
diff --git a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch b/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
deleted file mode 100644
index 076e08fadc..0000000000
--- a/meta/recipes-devtools/unfs3/unfs3/0001-locate.c-Include-attr.h.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Jan 2023 23:41:01 -0800
4Subject: [PATCH] locate.c: Include attr.h
5
6Its needed for fix_dir_times() API declarations
7
8Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 locate.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/locate.c b/locate.c
15index 6bbe71f..84e0fe5 100644
16--- a/locate.c
17+++ b/locate.c
18@@ -27,6 +27,7 @@
19 #include "nfs.h"
20 #include "fh.h"
21 #include "daemon.h"
22+#include "attr.h"
23
24 /*
25 * these are the brute-force file searching routines that are used
26--
272.39.0
28
diff --git a/meta/recipes-devtools/unfs3/unfs3_git.bb b/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb
index 0a274d6ffd..da5ca45277 100644
--- a/meta/recipes-devtools/unfs3/unfs3_git.bb
+++ b/meta/recipes-devtools/unfs3/unfs3_0.11.0.bb
@@ -5,26 +5,17 @@ are used by NFS clients for accessing files on the server."
5HOMEPAGE = "https://github.com/unfs3/unfs3" 5HOMEPAGE = "https://github.com/unfs3/unfs3"
6SECTION = "console/network" 6SECTION = "console/network"
7LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c621cd2786a3a1344a60a0d608c910"
9 9
10DEPENDS = "flex-native bison-native flex" 10DEPENDS = "bison-native flex-native libtirpc"
11DEPENDS += "libtirpc"
12DEPENDS:append:class-nativesdk = " flex-nativesdk"
13 11
14S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
15SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \ 13SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master;tag=${BP}"
16 file://0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch \ 14SRCREV = "ec1660ba33c80d5c67131e163e68834c1a10e243"
17 file://0001-Alias-off64_t-to-off_t-on-linux-if-not-defined.patch \
18 file://0001-locate.c-Include-attr.h.patch \
19 file://0001-fix-building-on-macOS.patch \
20 file://0001-attr-fix-utime-for-symlink.patch \
21 "
22SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d"
23UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)" 15UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)"
24 16
25PV = "0.10.0"
26
27BBCLASSEXTEND = "native nativesdk"
28
29inherit autotools pkgconfig 17inherit autotools pkgconfig
18
30EXTRA_OECONF:append:class-native = " --sbindir=${bindir}" 19EXTRA_OECONF:append:class-native = " --sbindir=${bindir}"
20
21BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch b/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch
deleted file mode 100644
index f43f336075..0000000000
--- a/meta/recipes-extended/bc/bc/0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 493997b0d2c3dc6469f967d8f619ed934667c71e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Mar 2025 18:33:08 -0700
4Subject: [PATCH] getopt: Add missing params to getopt/getenv signatures
5
6This ensures it can compile with GCC 15 on musl
7
8Upstream-Status: Submitted [sent to bug-bc@gnu.org]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 h/getopt.h | 2 +-
12 lib/getopt.c | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/h/getopt.h b/h/getopt.h
16index cc45f46..5ea5eac 100644
17--- a/h/getopt.h
18+++ b/h/getopt.h
19@@ -141,7 +141,7 @@ struct option
20 errors, only prototype getopt for the GNU C library. */
21 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
22 #else /* not __GNU_LIBRARY__ */
23-extern int getopt ();
24+extern int getopt (int, char * const*, const char *);
25 #endif /* __GNU_LIBRARY__ */
26
27 #ifndef __need_getopt
28diff --git a/lib/getopt.c b/lib/getopt.c
29index b270074..3e6d071 100644
30--- a/lib/getopt.c
31+++ b/lib/getopt.c
32@@ -197,7 +197,7 @@ static char *posixly_correct;
33 whose names are inconsistent. */
34
35 #ifndef getenv
36-extern char *getenv ();
37+extern char *getenv (const char*);
38 #endif
39
40 #endif /* not __GNU_LIBRARY__ */
diff --git a/meta/recipes-extended/bc/bc_1.08.1.bb b/meta/recipes-extended/bc/bc_1.08.2.bb
index 5fbbe7ef6a..cebfed9642 100644
--- a/meta/recipes-extended/bc/bc_1.08.1.bb
+++ b/meta/recipes-extended/bc/bc_1.08.2.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "bc is an arbitrary precision numeric processing language. Syntax
5LICENSE = "GPL-3.0-or-later" 5LICENSE = "GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
7 file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ 7 file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
8 file://bc/bcdefs.h;endline=17;md5=4295c06df9e833519a342f7b5d43db06 \ 8 file://bc/bcdefs.h;endline=17;md5=f4a0239b216b8407783955e74938f190 \
9 file://dc/dc.h;endline=18;md5=bad31533d57fe5948c996f9ef6643206 \ 9 file://dc/dc.h;endline=18;md5=bad31533d57fe5948c996f9ef6643206 \
10 file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf" 10 file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
11 11
@@ -13,9 +13,8 @@ SECTION = "base"
13DEPENDS = "flex-native" 13DEPENDS = "flex-native"
14 14
15SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ 15SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
16 file://0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch \
17 file://run-ptest" 16 file://run-ptest"
18SRC_URI[sha256sum] = "b71457ffeb210d7ea61825ff72b3e49dc8f2c1a04102bbe23591d783d1bfe996" 17SRC_URI[sha256sum] = "ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86"
19 18
20inherit autotools texinfo update-alternatives ptest 19inherit autotools texinfo update-alternatives ptest
21 20
diff --git a/meta/recipes-extended/cpio/cpio_2.15.bb b/meta/recipes-extended/cpio/cpio_2.15.bb
index 77fb019af9..fa011251e2 100644
--- a/meta/recipes-extended/cpio/cpio_2.15.bb
+++ b/meta/recipes-extended/cpio/cpio_2.15.bb
@@ -37,10 +37,10 @@ do_install () {
37} 37}
38 38
39do_compile_ptest() { 39do_compile_ptest() {
40 oe_runmake -C ${B}/gnu/ check 40 # Forcibly regenerate this script so we get our --am-fmt option
41 oe_runmake -C ${B}/lib/ check 41 rm -f ${S}/tests/testsuite
42 oe_runmake -C ${B}/rmt/ check 42 oe_runmake -C ${B}/tests/ testsuite
43 oe_runmake -C ${B}/src/ check 43
44 oe_runmake -C ${B}/tests/ genfile 44 oe_runmake -C ${B}/tests/ genfile
45} 45}
46 46
@@ -69,7 +69,7 @@ do_install_ptest_base:append() {
69DEPENDS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" 69DEPENDS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"
70PACKAGE_WRITE_DEPS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" 70PACKAGE_WRITE_DEPS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}"
71 71
72RDEPENDS:${PN}-ptest += "ptest-runner" 72RDEPENDS:${PN}-ptest += "ptest-runner coreutils"
73 73
74PACKAGES =+ "${PN}-rmt" 74PACKAGES =+ "${PN}-rmt"
75 75
diff --git a/meta/recipes-extended/cpio/files/test.sh b/meta/recipes-extended/cpio/files/test.sh
index f027574e86..e966ed91f8 100644
--- a/meta/recipes-extended/cpio/files/test.sh
+++ b/meta/recipes-extended/cpio/files/test.sh
@@ -1,10 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Define cpio test work dir 3cd @PTEST_PATH@/tests/
4WORKDIR=@PTEST_PATH@/tests/
5 4
6# Run test 5./testsuite --am-fmt
7cd ${WORKDIR}
8./atconfig ./atlocal ./testsuite
9
10./testsuite 2>&1 | grep -E '[0-9]{1,3}: ' | sed -e 's/^.....//' -e '/[ok]$/s/^/PASS: /;/FAILED (.*)/s/^/FAIL: /;/skipped (.*)/s/^/SKIP: /;/expected failure/ s/^/PASS: /;/UNEXPECTED PASS/s/^/FAIL: /' -e 's/ok$//g' -e 's/FAILED.*//g' -e 's/skipped.*//g' -e 's/expected failure.*//g' -e 's/UNEXPECTED PASS.*//g'
diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
index 8f132d55c6..cd7087721f 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
@@ -48,7 +48,7 @@ EXTRA_OECONF:append:mipsarcho32 = " --with-large_color_index=0"
48EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" 48EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
49EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" 49EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}"
50 50
51CC += "-std=gnu17" 51TARGET_CFLAGS += "-std=gnu17"
52 52
53# Uses autoconf but not automake, can't do out-of-tree 53# Uses autoconf but not automake, can't do out-of-tree
54inherit autotools-brokensep pkgconfig 54inherit autotools-brokensep pkgconfig
diff --git a/meta/recipes-extended/iputils/iputils/CVE-2025-47268.patch b/meta/recipes-extended/iputils/iputils/CVE-2025-47268.patch
deleted file mode 100644
index dd31b79031..0000000000
--- a/meta/recipes-extended/iputils/iputils/CVE-2025-47268.patch
+++ /dev/null
@@ -1,143 +0,0 @@
1From 070cfacd7348386173231fb16fad4983d4e6ae40 Mon Sep 17 00:00:00 2001
2From: Petr Vorel <pvorel@suse.cz>
3Date: Mon, 5 May 2025 23:55:57 +0200
4Subject: [PATCH] ping: Fix signed 64-bit integer overflow in RTT calculation
5
6Crafted ICMP Echo Reply packet can cause signed integer overflow in
7
81) triptime calculation:
9triptime = tv->tv_sec * 1000000 + tv->tv_usec;
10
112) tsum2 increment which uses triptime
12rts->tsum2 += (double)((long long)triptime * (long long)triptime);
13
143) final tmvar:
15tmvar = (rts->tsum2 / total) - (tmavg * tmavg)
16
17 $ export CFLAGS="-O1 -g -fsanitize=address,undefined -fno-omit-frame-pointer"
18 $ export LDFLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
19 $ meson setup .. -Db_sanitize=address,undefined
20 $ ninja
21 $ ./ping/ping -c2 127.0.0.1
22
23 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
24 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.061 ms
25 ../ping/ping_common.c:757:25: runtime error: signed integer overflow: -2513732689199106 * 1000000 cannot be represented in type 'long int'
26 ../ping/ping_common.c:757:12: runtime error: signed integer overflow: -4975495174606980224 + -6510615555425289427 cannot be represented in type 'long int'
27 ../ping/ping_common.c:769:47: runtime error: signed integer overflow: 6960633343677281965 * 6960633343677281965 cannot be represented in type 'long int'
28 24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
29 ./ping/ping: Warning: time of day goes back (-7256972569576721377us), taking countermeasures
30 ./ping/ping: Warning: time of day goes back (-7256972569576721232us), taking countermeasures
31 24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
32 ../ping/ping_common.c:265:16: runtime error: signed integer overflow: 6960633343677281965 * 2 cannot be represented in type 'long int'
33 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.565 ms
34
35 --- 127.0.0.1 ping statistics ---
36 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 1002ms
37 ../ping/ping_common.c:940:42: runtime error: signed integer overflow: 1740158335919320832 * 1740158335919320832 cannot be represented in type 'long int'
38 rtt min/avg/max/mdev = 0.000/1740158335919320.832/6960633343677281.965/-1623514645242292.-224 ms
39
40To fix the overflow check allowed ranges of struct timeval members:
41* tv_sec <0, LONG_MAX/1000000>
42* tv_usec <0, 999999>
43
44Fix includes 2 new error messages (needs translation).
45Also existing message "time of day goes back ..." needed to be modified
46as it now prints tv->tv_sec which is a second (needs translation update).
47
48After fix:
49
50 $ ./ping/ping -c2 127.0.0.1
51 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.057 ms
52 ./ping/ping: Warning: invalid tv_usec -6510615555424928611 us
53 ./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
54 ./ping/ping: Warning: invalid tv_usec -6510615555424928461 us
55 ./ping/ping: Warning: time of day goes back (-3985394643238914 s), taking countermeasures
56 24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
57 ./ping/ping: Warning: invalid tv_usec -6510615555425884541 us
58 ./ping/ping: Warning: time of day goes back (-4243165695442945 s), taking countermeasures
59 24 bytes from 127.0.0.1: icmp_seq=1 ttl=64 (truncated)
60 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.111 ms
61
62 --- 127.0.0.1 ping statistics ---
63 2 packets transmitted, 2 received, +2 duplicates, 0% packet loss, time 101ms
64 rtt min/avg/max/mdev = 0.000/0.042/0.111/0.046 ms
65
66Fixes: https://github.com/iputils/iputils/issues/584
67Fixes: CVE-2025-472
68Link: https://github.com/Zephkek/ping-rtt-overflow/
69Co-developed-by: Cyril Hrubis <chrubis@suse.cz>
70Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
71Reviewed-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com>
72Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
73Reviewed-by: Noah Meyerhans <noahm@debian.org>
74Signed-off-by: Petr Vorel <pvorel@suse.cz>
75
76CVE: CVE-2025-47268
77
78Upstream-Status: Backport
79[https://github.com/iputils/iputils/commit/070cfacd7348386173231fb16fad4983d4e6ae40]
80
81Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
82---
83 iputils_common.h | 3 +++
84 ping/ping_common.c | 22 +++++++++++++++++++---
85 2 files changed, 22 insertions(+), 3 deletions(-)
86
87diff --git a/iputils_common.h b/iputils_common.h
88index 49e790d..829a749 100644
89--- a/iputils_common.h
90+++ b/iputils_common.h
91@@ -10,6 +10,9 @@
92 !!__builtin_types_compatible_p(__typeof__(arr), \
93 __typeof__(&arr[0]))])) * 0)
94
95+/* 1000001 = 1000000 tv_sec + 1 tv_usec */
96+#define TV_SEC_MAX_VAL (LONG_MAX/1000001)
97+
98 #ifdef __GNUC__
99 # define iputils_attribute_format(t, n, m) __attribute__((__format__ (t, n, m)))
100 #else
101diff --git a/ping/ping_common.c b/ping/ping_common.c
102index dadd2a4..4e99d89 100644
103--- a/ping/ping_common.c
104+++ b/ping/ping_common.c
105@@ -754,16 +754,32 @@ int gather_statistics(struct ping_rts *rts, uint8_t *icmph, int icmplen,
106
107 restamp:
108 tvsub(tv, &tmp_tv);
109- triptime = tv->tv_sec * 1000000 + tv->tv_usec;
110- if (triptime < 0) {
111- error(0, 0, _("Warning: time of day goes back (%ldus), taking countermeasures"), triptime);
112+
113+ if (tv->tv_usec >= 1000000) {
114+ error(0, 0, _("Warning: invalid tv_usec %ld us"), tv->tv_usec);
115+ tv->tv_usec = 999999;
116+ }
117+
118+ if (tv->tv_usec < 0) {
119+ error(0, 0, _("Warning: invalid tv_usec %ld us"), tv->tv_usec);
120+ tv->tv_usec = 0;
121+ }
122+
123+ if (tv->tv_sec > TV_SEC_MAX_VAL) {
124+ error(0, 0, _("Warning: invalid tv_sec %ld s"), tv->tv_sec);
125+ triptime = 0;
126+ } else if (tv->tv_sec < 0) {
127+ error(0, 0, _("Warning: time of day goes back (%ld s), taking countermeasures"), tv->tv_sec);
128 triptime = 0;
129 if (!rts->opt_latency) {
130 gettimeofday(tv, NULL);
131 rts->opt_latency = 1;
132 goto restamp;
133 }
134+ } else {
135+ triptime = tv->tv_sec * 1000000 + tv->tv_usec;
136 }
137+
138 if (!csfailed) {
139 rts->tsum += triptime;
140 rts->tsum2 += (double)((long long)triptime * (long long)triptime);
141--
1422.34.1
143
diff --git a/meta/recipes-extended/iputils/iputils_20240905.bb b/meta/recipes-extended/iputils/iputils_20250605.bb
index 64d58a91c2..bb495a7d13 100644
--- a/meta/recipes-extended/iputils/iputils_20240905.bb
+++ b/meta/recipes-extended/iputils/iputils_20250605.bb
@@ -8,12 +8,9 @@ LICENSE = "BSD-3-Clause & GPL-2.0-or-later"
8 8
9LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819"
10 10
11DEPENDS = "gnutls"
12
13SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https \ 11SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https \
14 file://CVE-2025-47268.patch \
15 " 12 "
16SRCREV = "10b50784aae3fb75c96cdf9b1668916b49557dd5" 13SRCREV = "6e1cb146547eb6fbb127ffc8397a9241be0d33c2"
17 14
18S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
19 16
diff --git a/meta/recipes-extended/tar/tar/run-ptest b/meta/recipes-extended/tar/tar/run-ptest
index 185b33d61a..b4ccbbcb46 100644
--- a/meta/recipes-extended/tar/tar/run-ptest
+++ b/meta/recipes-extended/tar/tar/run-ptest
@@ -1,14 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3# Define tar test work dir 3cd @PTEST_PATH@/tests/
4WORKDIR=@PTEST_PATH@/tests/
5 4
6# Run test 5# Clear old data
7cd ${WORKDIR} 6rm -rf testsuite.dir testsuite.log
8./atconfig ./atlocal ./testsuite
9
10# clear log
11rm -rf testsuite.dir
12rm -rf testsuite.log
13 7
14./testsuite --am-fmt 8./testsuite --am-fmt
diff --git a/meta/recipes-graphics/mesa/files/0001-meson-stop-building-XA-by-default.patch b/meta/recipes-graphics/mesa/files/0001-meson-stop-building-XA-by-default.patch
deleted file mode 100644
index 4372675952..0000000000
--- a/meta/recipes-graphics/mesa/files/0001-meson-stop-building-XA-by-default.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 31a835dd2573c17d77efa8803c7fb28e0d58abc6 Mon Sep 17 00:00:00 2001
2From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
3Date: Thu, 22 May 2025 20:11:46 +0300
4Subject: [PATCH] meson: stop building XA by default
5
6Commit cf40099730c4 ("meson: deprecate gallium-xa") deprecated XA
7tracker, but didn't disable it by default. Thus any attempt to disable
8it would cause a deprecated option warning. Flip the default to disable
9XA tracker by default.
10
11Fixes: cf40099730c4 ("meson: deprecate gallium-xa")
12Backport-to: 25.1
13Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
14Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/31cf6b94ad1dfaf4272b22a39d7e2805d03f9375]
15---
16 meson.options | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/meson.options b/meson.options
20index e6c9567ade86..a56bcef6e2ca 100644
21--- a/meson.options
22+++ b/meson.options
23@@ -127,6 +127,7 @@ option(
24 option(
25 'gallium-xa',
26 type : 'feature',
27+ value : 'disabled',
28 description : 'enable gallium xa frontend.',
29 deprecated: true,
30 )
31--
322.47.2
33
diff --git a/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb b/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
index d92f1ddc5b..a9e84039d2 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb
@@ -30,7 +30,6 @@ PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
30PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1" 30PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
31PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2" 31PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
32PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut" 32PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
33PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled,"
34PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native" 33PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
35PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor" 34PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
36PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb" 35PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
diff --git a/meta/recipes-graphics/mesa/mesa-gl.bb b/meta/recipes-graphics/mesa/mesa-gl.bb
index 680fda1be5..2bdabddc28 100644
--- a/meta/recipes-graphics/mesa/mesa-gl.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl.bb
@@ -9,7 +9,6 @@ S = "${WORKDIR}/mesa-${PV}"
9TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" 9TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
10 10
11# At least one DRI rendering engine is required to build mesa. 11# At least one DRI rendering engine is required to build mesa.
12# When no X11 is available, use osmesa for the rendering engine.
13PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 12PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
14PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" 13PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
15 14
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 4b1e427ad5..b222e72fdd 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -18,11 +18,10 @@ SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \
18 file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ 18 file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
19 file://0001-freedreno-don-t-encode-build-path-into-binaries.patch \ 19 file://0001-freedreno-don-t-encode-build-path-into-binaries.patch \
20 file://0001-dont-build-clover-frontend.patch \ 20 file://0001-dont-build-clover-frontend.patch \
21 file://0001-meson-stop-building-XA-by-default.patch \
22" 21"
23 22
24SRC_URI[sha256sum] = "cf942a18b7b9e9b88524dcbf0b31fed3cde18e6d52b3375b0ab6587a14415bce" 23SRC_URI[sha256sum] = "ffcb6cadb5fd356d56008e6308641dfe4b2929f30139f6585436ca6e3cddba7f"
25PV = "25.1.1" 24PV = "25.1.3"
26 25
27UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" 26UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)"
28 27
diff --git a/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch b/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch
new file mode 100644
index 0000000000..f8600556e5
--- /dev/null
+++ b/meta/recipes-graphics/piglit/piglit/0001-tests-no_error.py-modify-_command-and-not-command.patch
@@ -0,0 +1,32 @@
1From 846efe923932d66810305b228fa09f83a172296d Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 22 May 2025 17:34:15 +0200
4Subject: [PATCH] tests/no_error.py: modify _command and not command
5
6command getter function has hidden magic that prepends build paths;
7this is an undesirable side effect here, as we only want to append a parameter
8and not change anything else.
9
10In particular this avoids adding build paths to installed .xml.gz file,
11ensuring reproducibility. Xml writer is already using _command for the
12same reason.
13
14Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1016]
15Signed-off-by: Alexander Kanavin <alex@linutronix.de>
16---
17 tests/no_error.py | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/tests/no_error.py b/tests/no_error.py
21index 4ecaa9a01..c64eec0a1 100644
22--- a/tests/no_error.py
23+++ b/tests/no_error.py
24@@ -21,4 +21,4 @@ for name, test in itertools.chain(_profile1.test_list.items(),
25 _profile2.test_list.items()):
26 if isinstance(test, (PiglitGLTest, ShaderTest, MultiShaderTest)):
27 profile.test_list['{} khr_no_error'.format(name)] = test
28- test.command += ['-khr_no_error']
29+ test._command += ['-khr_no_error']
30--
312.39.5
32
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb
index e30efdf33b..dc210ff56d 100644
--- a/meta/recipes-graphics/piglit/piglit_git.bb
+++ b/meta/recipes-graphics/piglit/piglit_git.bb
@@ -12,6 +12,7 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=ma
12 file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \ 12 file://0001-tests-Fix-narrowing-errors-seen-with-clang.patch \
13 file://0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch \ 13 file://0001-CMakeLists.txt-do-not-obtain-wayland-scanner-path-fr.patch \
14 file://0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch \ 14 file://0001-tests-egl-spec-make-egl_ext_surface_compression-cond.patch \
15 file://0001-tests-no_error.py-modify-_command-and-not-command.patch \
15 " 16 "
16UPSTREAM_CHECK_COMMITS = "1" 17UPSTREAM_CHECK_COMMITS = "1"
17 18
@@ -48,8 +49,6 @@ PACKAGECONFIG[x11] = "-DPIGLIT_USE_X11=1 -DPIGLIT_BUILD_GL_TESTS=ON -DPIGLIT_BUI
48PACKAGECONFIG[vulkan] = "-DPIGLIT_BUILD_VK_TESTS=ON,-DPIGLIT_BUILD_VK_TESTS=OFF,glslang-native vulkan-loader,glslang" 49PACKAGECONFIG[vulkan] = "-DPIGLIT_BUILD_VK_TESTS=ON,-DPIGLIT_BUILD_VK_TESTS=OFF,glslang-native vulkan-loader,glslang"
49PACKAGECONFIG[wayland] = "-DPIGLIT_USE_WAYLAND=1,-DPIGLIT_USE_WAYLAND=0,wayland-native wayland wayland-protocols" 50PACKAGECONFIG[wayland] = "-DPIGLIT_USE_WAYLAND=1,-DPIGLIT_USE_WAYLAND=0,wayland-native wayland wayland-protocols"
50 51
51export PIGLIT_BUILD_DIR = "../../../../git"
52
53do_configure:prepend() { 52do_configure:prepend() {
54 if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then 53 if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then
55 sed -i -e "/^#.*include <GL\/freeglut_ext.h>$/d" ${S}/src/piglit/glut_wrap.h 54 sed -i -e "/^#.*include <GL\/freeglut_ext.h>$/d" ${S}/src/piglit/glut_wrap.h
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
deleted file mode 100644
index 37617600d5..0000000000
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/0001-calibrator.hh-Include-string-to-get-std-string.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 22:40:24 -0800
4Subject: [PATCH] calibrator.hh: Include <string> to get std::string
5
6Found with libc++
7
8Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/calibrator.hh | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/calibrator.hh b/src/calibrator.hh
15index a6f9504..e75bcef 100644
16--- a/src/calibrator.hh
17+++ b/src/calibrator.hh
18@@ -29,6 +29,7 @@
19 #include <X11/Xlib.h>
20 #include <stdio.h>
21 #include <vector>
22+#include <string>
23
24 // XXX: we currently don't handle lines that are longer than this
25 #define MAX_LINE_LEN 1024
26--
272.20.1
28
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
index de0862599d..86982924a8 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator/Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch
@@ -1,4 +1,4 @@
1Upstream-Status: Inactive-Upstream [last commits over a decade ago] 1Upstream-Status: Pending
2 2
3From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 3From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001
4From: Laurentiu Palcu <laurentiu.palcu@intel.com> 4From: Laurentiu Palcu <laurentiu.palcu@intel.com>
diff --git a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb
index 0516928a76..c37b36897b 100644
--- a/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_git.bb
+++ b/meta/recipes-graphics/xinput-calibrator/xinput-calibrator_0.8.0.bb
@@ -4,22 +4,18 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" 4LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a"
5DEPENDS = "virtual/libx11 libxi libxrandr" 5DEPENDS = "virtual/libx11 libxi libxrandr"
6 6
7PV = "0.7.5+git"
8
9inherit autotools pkgconfig features_check 7inherit autotools pkgconfig features_check
10# depends on virtual/libx11
11REQUIRED_DISTRO_FEATURES = "x11" 8REQUIRED_DISTRO_FEATURES = "x11"
12 9
13SRCREV = "18ec53f1cada39f905614ebfaffed5c7754ecf46" 10SRCREV = "970b574b8f7b0d6f2613d343191f47814f2dfaa4"
14SRC_URI = "git://github.com/kreijack/xinput_calibrator.git;branch=libinput;protocol=https \ 11
12SRC_URI = "git://gitlab.freedesktop.org/xorg/app/xinput-calibrator;protocol=https;branch=master;tag=v${PV} \
15 file://30xinput_calibrate.sh \ 13 file://30xinput_calibrate.sh \
16 file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \ 14 file://Allow-xinput_calibrator_pointercal.sh-to-be-run-as-n.patch \
17 file://0001-calibrator.hh-Include-string-to-get-std-string.patch \
18 " 15 "
19 16
20S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
21 18
22# force native X11 ui as we don't have gtk+ in DEPENDS
23EXTRA_OECONF += "--with-gui=x11" 19EXTRA_OECONF += "--with-gui=x11"
24 20
25do_install:append() { 21do_install:append() {
diff --git a/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb b/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb
index 350b8e93cc..540ec100bd 100644
--- a/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb
+++ b/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb
@@ -17,7 +17,7 @@ UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar"
17inherit meson features_check pkgconfig 17inherit meson features_check pkgconfig
18REQUIRED_DISTRO_FEATURES = "x11 opengl" 18REQUIRED_DISTRO_FEATURES = "x11 opengl"
19 19
20DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt" 20DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt libtirpc"
21 21
22OPENGL_PKGCONFIGS = "glx glamor dri3" 22OPENGL_PKGCONFIGS = "glx glamor dri3"
23PACKAGECONFIG ??= "${XORG_CRYPTO} ${XWAYLAND_EI} \ 23PACKAGECONFIG ??= "${XORG_CRYPTO} ${XWAYLAND_EI} \
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_1.3.0.bb
index 8fc30d74fd..061a7b9784 100644
--- a/meta/recipes-kernel/blktrace/blktrace_git.bb
+++ b/meta/recipes-kernel/blktrace/blktrace_1.3.0.bb
@@ -10,14 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
10 10
11DEPENDS = "libaio" 11DEPENDS = "libaio"
12 12
13SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
14
15PV = "1.3.0+git"
16 13
17SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \ 14SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=https;branch=master \
18 file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \ 15 file://0001-bno_plot.py-btt_plot.py-Ask-for-python3-specifically.patch \
19 " 16 "
20 17
18SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb"
19
21S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
22 21
23EXTRA_OEMAKE = "\ 22EXTRA_OEMAKE = "\
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb b/meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb
index 1f61008bd6..5a7bad9017 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.12.bb
@@ -14,8 +14,8 @@ python () {
14 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") 14 raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
15} 15}
16 16
17SRCREV_machine ?= "4127c6137af28c2c91ec79acee60fe4d4d70db9b" 17SRCREV_machine ?= "7cb6d42c40de351ecab0a083aef260f84407de0d"
18SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" 18SRCREV_meta ?= "60b8562e9989f268ad5d241989f56b71cfa1f648"
19 19
20SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ 20SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
21 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.12;destsuffix=${KMETA};protocol=https" 21 git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.12;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb
index d92862a426..0fad73dddd 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.12.bb
@@ -17,8 +17,8 @@ DEPENDS += "openssl-native util-linux-native"
17KMETA = "kernel-meta" 17KMETA = "kernel-meta"
18KCONF_BSP_AUDIT_LEVEL = "2" 18KCONF_BSP_AUDIT_LEVEL = "2"
19 19
20SRCREV_machine ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 20SRCREV_machine ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
21SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" 21SRCREV_meta ?= "60b8562e9989f268ad5d241989f56b71cfa1f648"
22 22
23PV = "${LINUX_VERSION}+git" 23PV = "${LINUX_VERSION}+git"
24 24
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.12.bb b/meta/recipes-kernel/linux/linux-yocto_6.12.bb
index c5cab3432c..262ae35704 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.12.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.12.bb
@@ -18,18 +18,18 @@ KBRANCH:qemux86.104 ?= "v6.12/standard/base"
18KBRANCH:qemuloongarch64 ?= "v6.12/standard/base" 18KBRANCH:qemuloongarch64 ?= "v6.12/standard/base"
19KBRANCH:qemumips64 ?= "v6.12/standard/mti-malta64" 19KBRANCH:qemumips64 ?= "v6.12/standard/mti-malta64"
20 20
21SRCREV_machine:qemuarm ?= "4260a7bd706072e6bec438cdc29f44845d380b21" 21SRCREV_machine:qemuarm ?= "37a1fd13ca538e7785daf01434495a614bc55ead"
22SRCREV_machine:qemuarm64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 22SRCREV_machine:qemuarm64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
23SRCREV_machine:qemuloongarch64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 23SRCREV_machine:qemuloongarch64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
24SRCREV_machine:qemumips ?= "681fad27d382f2e0eb53d1b46f9d35aa2332248f" 24SRCREV_machine:qemumips ?= "2bcf58ea5aa19d54c436e63c59ab09b307e9ee8e"
25SRCREV_machine:qemuppc ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 25SRCREV_machine:qemuppc ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
26SRCREV_machine:qemuriscv64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 26SRCREV_machine:qemuriscv64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
27SRCREV_machine:qemuriscv32 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 27SRCREV_machine:qemuriscv32 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
28SRCREV_machine:qemux86 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 28SRCREV_machine:qemux86 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
29SRCREV_machine:qemux86-64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 29SRCREV_machine:qemux86-64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
30SRCREV_machine:qemumips64 ?= "c32033ad8eac09b074c44a42e7d34d398df9d172" 30SRCREV_machine:qemumips64 ?= "6470f58a8f04951f202cf85afb4421d2e7ec9995"
31SRCREV_machine ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" 31SRCREV_machine ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0"
32SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" 32SRCREV_meta ?= "60b8562e9989f268ad5d241989f56b71cfa1f648"
33 33
34# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll 34# set your preferred provider of linux-yocto to 'linux-yocto-upstream', and you'll
35# get the <version>/base branch, which is pure upstream -stable, and the same 35# get the <version>/base branch, which is pure upstream -stable, and the same
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 0d19e1bdc2..6cc5499d8d 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -151,6 +151,7 @@ PERF_SRC ?= "Makefile \
151 arch/arm64/tools \ 151 arch/arm64/tools \
152 ${PERF_BPF_EVENT_SRC} \ 152 ${PERF_BPF_EVENT_SRC} \
153 arch/${ARCH}/Makefile \ 153 arch/${ARCH}/Makefile \
154 include/uapi/asm-generic/Kbuild \
154" 155"
155 156
156PERF_EXTRA_LDFLAGS = "" 157PERF_EXTRA_LDFLAGS = ""
@@ -208,7 +209,7 @@ python copy_perf_source_from_kernel() {
208do_configure:prepend () { 209do_configure:prepend () {
209 # If building a multlib based perf, the incorrect library path will be 210 # If building a multlib based perf, the incorrect library path will be
210 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit 211 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit
211 # build, with a 64 bit multilib, the arch won't match and the detection of a 212 # build, with a 64 bit multilib, the arch won't match and the detection of a
212 # 64 bit build (and library) are not exected. To ensure that libraries are 213 # 64 bit build (and library) are not exected. To ensure that libraries are
213 # installed to the correct location, we can use the weak assignment in the 214 # installed to the correct location, we can use the weak assignment in the
214 # config/Makefile. 215 # config/Makefile.
diff --git a/meta/recipes-kernel/systemtap/systemtap-native_git.bb b/meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
index 2690b259c8..8befa7a7ea 100644
--- a/meta/recipes-kernel/systemtap/systemtap-native_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap-native_5.2.bb
@@ -1,5 +1,4 @@
1 1require systemtap_${PV}.bb
2require systemtap_git.bb
3 2
4inherit_defer native 3inherit_defer native
5 4
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_5.2.bb
index 254bac4d6f..254bac4d6f 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.bb
+++ b/meta/recipes-kernel/systemtap/systemtap_5.2.bb
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index bbb2105b5a..a6688f2604 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -1,14 +1,14 @@
1LICENSE = "GPL-2.0-only" 1LICENSE = "GPL-2.0-only"
2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 2LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
3SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
4PV = "5.2"
5 3
6SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \ 4SRC_URI = "git://sourceware.org/git/systemtap.git;protocol=https;branch=master \
7 file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \ 5 file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
8 file://0001-Install-python-modules-to-correct-library-dir.patch \ 6 file://0001-Install-python-modules-to-correct-library-dir.patch \
9 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \ 7 file://0001-staprun-stapbpf-don-t-support-installing-a-non-root.patch \
10 " 8 "
11 9
10SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de"
11
12COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' 12COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux'
13COMPATIBLE_HOST:libc-musl = 'null' 13COMPATIBLE_HOST:libc-musl = 'null'
14 14
diff --git a/meta/recipes-support/curl/curl/no-test-timeout.patch b/meta/recipes-support/curl/curl/no-test-timeout.patch
index 677d177302..5b901a6fe9 100644
--- a/meta/recipes-support/curl/curl/no-test-timeout.patch
+++ b/meta/recipes-support/curl/curl/no-test-timeout.patch
@@ -14,7 +14,7 @@ diff --git a/tests/servers.pm b/tests/servers.pm
14index d4472d5..9999938 100644 14index d4472d5..9999938 100644
15--- a/tests/servers.pm 15--- a/tests/servers.pm
16+++ b/tests/servers.pm 16+++ b/tests/servers.pm
17@@ -123,7 +123,7 @@ my $sshdverstr; # for socks server, ssh daemon version string 17@@ -124,7 +124,7 @@ my $sshdverstr; # for socks server, ssh daemon version string
18 my $sshderror; # for socks server, ssh daemon version error 18 my $sshderror; # for socks server, ssh daemon version error
19 my %doesntrun; # servers that don't work, identified by pidfile 19 my %doesntrun; # servers that don't work, identified by pidfile
20 my %PORT = (nolisten => 47); # port we use for a local non-listening service 20 my %PORT = (nolisten => 47); # port we use for a local non-listening service
diff --git a/meta/recipes-support/curl/curl_8.12.1.bb b/meta/recipes-support/curl/curl_8.14.1.bb
index 4192693da8..08ad9cdb17 100644
--- a/meta/recipes-support/curl/curl_8.12.1.bb
+++ b/meta/recipes-support/curl/curl_8.14.1.bb
@@ -20,7 +20,7 @@ SRC_URI:append:class-nativesdk = " \
20 file://environment.d-curl.sh \ 20 file://environment.d-curl.sh \
21" 21"
22 22
23SRC_URI[sha256sum] = "0341f1ed97a26c811abaebd37d62b833956792b7607ea3f15d001613c76de202" 23SRC_URI[sha256sum] = "f4619a1e2474c4bbfedc88a7c2191209c8334b48fa1f4e53fd584cc12e9120dd"
24 24
25# Curl has used many names over the years... 25# Curl has used many names over the years...
26CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" 26CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
@@ -126,12 +126,17 @@ do_install_ptest() {
126 ${B}/libtool --mode=install install ${B}/tests/server/$name ${D}${PTEST_PATH}/tests/server 126 ${B}/libtool --mode=install install ${B}/tests/server/$name ${D}${PTEST_PATH}/tests/server
127 done 127 done
128 128
129 install -d ${D}${PTEST_PATH}/src
130 install -m 755 ${B}/src/curlinfo ${D}${PTEST_PATH}/src
131
129 cp -r ${S}/tests/data ${D}${PTEST_PATH}/tests/ 132 cp -r ${S}/tests/data ${D}${PTEST_PATH}/tests/
130 133
131 # More tests that we disable for automated QA as they're not reliable 134 # More tests that we disable for automated QA as they're not reliable
132 cat ${UNPACKDIR}/disable-tests >>${D}${PTEST_PATH}/tests/data/DISABLED 135 cat ${UNPACKDIR}/disable-tests >>${D}${PTEST_PATH}/tests/data/DISABLED
133} 136}
134 137
138DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' openssl-native', '', d)}"
139
135RDEPENDS:${PN}-ptest += " \ 140RDEPENDS:${PN}-ptest += " \
136 locale-base-en-us \ 141 locale-base-en-us \
137 perl-module-b \ 142 perl-module-b \
diff --git a/meta/recipes-support/diffoscope/diffoscope_293.bb b/meta/recipes-support/diffoscope/diffoscope_297.bb
index 59e7cbe000..6f6f4ac520 100644
--- a/meta/recipes-support/diffoscope/diffoscope_293.bb
+++ b/meta/recipes-support/diffoscope/diffoscope_297.bb
@@ -12,7 +12,7 @@ PYPI_PACKAGE = "diffoscope"
12 12
13inherit pypi setuptools3 13inherit pypi setuptools3
14 14
15SRC_URI[sha256sum] = "15315d09babdee45449be7042ad1f57104a5f04853bd6951cdc0da171c13ac3b" 15SRC_URI[sha256sum] = "25532061c640b4be7496f9a726640e20ca0fcb8e46a8a1a46e51ac940a5f4e57"
16 16
17RDEPENDS:${PN} += "\ 17RDEPENDS:${PN} += "\
18 binutils \ 18 binutils \
@@ -29,9 +29,6 @@ RDEPENDS:${PN} += "\
29 vim \ 29 vim \
30 " 30 "
31 31
32# Dependencies don't build for musl
33COMPATIBLE_HOST:libc-musl = 'null'
34
35do_install:append:class-native() { 32do_install:append:class-native() {
36 create_wrapper ${D}${bindir}/diffoscope \ 33 create_wrapper ${D}${bindir}/diffoscope \
37 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \ 34 MAGIC=${STAGING_DIR_NATIVE}${datadir_native}/misc/magic.mgc \
diff --git a/meta/recipes-support/sass/libsass_git.bb b/meta/recipes-support/sass/libsass_3.6.6.bb
index 890cbf8e63..3878072cf1 100644
--- a/meta/recipes-support/sass/libsass_git.bb
+++ b/meta/recipes-support/sass/libsass_3.6.6.bb
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8f34396ca205f5e119ee77aae91fa27d"
5 5
6inherit autotools 6inherit autotools
7 7
8SRC_URI = "git://github.com/sass/libsass.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/sass/libsass.git;protocol=https;branch=master \
9 file://0001-Remove-version.h-from-source-directory.patch" 9 file://0001-Remove-version.h-from-source-directory.patch"
10 10
11SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460" 11SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"
12PV = "3.6.6"
13 12
14S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
15 14
diff --git a/meta/recipes-support/sass/sassc_git.bb b/meta/recipes-support/sass/sassc_3.6.2.bb
index 64e92f48cf..4d4dbc03fe 100644
--- a/meta/recipes-support/sass/sassc_git.bb
+++ b/meta/recipes-support/sass/sassc_3.6.2.bb
@@ -7,12 +7,11 @@ DEPENDS = "libsass"
7 7
8inherit autotools pkgconfig 8inherit autotools pkgconfig
9 9
10SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/sass/sassc.git;protocol=https;branch=master \
11 file://0001-Remove-sassc_version.h-from-source-directory.patch" 11 file://0001-Remove-sassc_version.h-from-source-directory.patch"
12 12
13SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0" 13SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15PV = "3.6.2"
16 15
17CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper" 16CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper"
18 17