diff options
Diffstat (limited to 'meta')
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() { | |||
1438 | python do_recipe_qa() { | 1438 | python 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 | ||
81 | USE_NLS = "no" | 81 | USE_NLS = "no" |
82 | 82 | ||
83 | export CC = "${BUILD_CC}" | 83 | CC = "${BUILD_CC}" |
84 | export CXX = "${BUILD_CXX}" | 84 | CXX = "${BUILD_CXX}" |
85 | export FC = "${BUILD_FC}" | 85 | FC = "${BUILD_FC}" |
86 | export CPP = "${BUILD_CPP}" | 86 | CPP = "${BUILD_CPP}" |
87 | export LD = "${BUILD_LD}" | 87 | LD = "${BUILD_LD}" |
88 | export CCLD = "${BUILD_CCLD}" | 88 | CCLD = "${BUILD_CCLD}" |
89 | export AR = "${BUILD_AR}" | 89 | AR = "${BUILD_AR}" |
90 | export AS = "${BUILD_AS}" | 90 | AS = "${BUILD_AS}" |
91 | export RANLIB = "${BUILD_RANLIB}" | 91 | RANLIB = "${BUILD_RANLIB}" |
92 | export STRIP = "${BUILD_STRIP}" | 92 | STRIP = "${BUILD_STRIP}" |
93 | export NM = "${BUILD_NM}" | 93 | NM = "${BUILD_NM}" |
94 | 94 | ||
95 | inherit nopackages | 95 | inherit 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 | # |
804 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:layer-${FILE_LAYERNAME}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}${LIBCOVERRIDE}:forcevariable" | 804 | OVERRIDES = "${TARGET_OS}:${TRANSLATED_TARGET_ARCH}:pn-${PN}:layer-${FILE_LAYERNAME}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:${CLASSOVERRIDE}:${TCOVERRIDE}${LIBCOVERRIDE}:forcevariable" |
805 | FILE_LAYERNAME ??= "config" | 805 | FILE_LAYERNAME ??= "config" |
806 | LIBCOVERRIDE ?= "" | 806 | LIBCOVERRIDE ?= "" |
807 | CLASSOVERRIDE ?= "class-target" | 807 | CLASSOVERRIDE ?= "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" | |||
17 | PREFERRED_PROVIDER_virtual/cross-cc = "${MLPREFIX}clang-cross-${TARGET_ARCH}" | 17 | PREFERRED_PROVIDER_virtual/cross-cc = "${MLPREFIX}clang-cross-${TARGET_ARCH}" |
18 | PREFERRED_PROVIDER_virtual/cross-c++ = "${MLPREFIX}clang-cross-${TARGET_ARCH}" | 18 | PREFERRED_PROVIDER_virtual/cross-c++ = "${MLPREFIX}clang-cross-${TARGET_ARCH}" |
19 | PREFERRED_PROVIDER_virtual/compilerlibs = "gcc-runtime" | 19 | PREFERRED_PROVIDER_virtual/compilerlibs = "gcc-runtime" |
20 | PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" | 20 | PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "clang-crosssdk-${SDK_SYS}" |
21 | PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" | 21 | PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "clang-crosssdk-${SDK_SYS}" |
22 | 22 | ||
23 | PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}" | 23 | PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "clang-crosssdk-${SDK_SYS}" |
24 | PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" | 24 | PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "clang-crosssdk-${SDK_SYS}" |
25 | PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" | 25 | PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" |
26 | 26 | ||
27 | BASE_DEFAULT_DEPS:append:class-target = " compiler-rt" | 27 | BASE_DEFAULT_DEPS:append:class-target = " compiler-rt" |
@@ -30,3 +30,5 @@ TUNE_CCARGS += "${@bb.utils.contains("DISTRO_FEATURES", "usrmerge", " --dyld-pre | |||
30 | 30 | ||
31 | LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2" | 31 | LDFLAGS:append:class-nativesdk:x86-64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-x86-64.so.2" |
32 | LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1" | 32 | LDFLAGS:append:class-nativesdk:aarch64 = " -Wl,-dynamic-linker,${base_libdir}/ld-linux-aarch64.so.1" |
33 | |||
34 | TCOVERRIDE = "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}" | |||
24 | PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" | 24 | PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" |
25 | PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" | 25 | PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime" |
26 | 26 | ||
27 | TCOVERRIDE = "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 | |||
9 | import oe.path | 9 | import oe.path |
10 | import os | 10 | import os |
11 | 11 | ||
12 | class LibOE(OESelftestTestCase): | 12 | class 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 | |||
106 | class 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 | ||
116 | echo Ivn fgqbhg | tr '[a-zA-Z]' '[n-za-mN-ZA-M]' | ||
117 | echo Ivn fgqree | tr '[a-zA-Z]' '[n-za-mN-ZA-M]' >&2 | ||
118 | exit 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 | ||
17 | SRC_URI = "git://source.denx.de/u-boot/u-boot.git;protocol=https;branch=master;tag=v${PV}" | 17 | SRC_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 | ||
20 | SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg" | ||
21 | SRC_URI:append:genericarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg" | ||
22 | |||
23 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
24 | B = "${WORKDIR}/build" | 20 | B = "${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 | |||
2 | require u-boot.inc | 2 | require u-boot.inc |
3 | 3 | ||
4 | DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native" | 4 | DEPENDS += "bc-native dtc-native gnutls-native python3-pyelftools-native" |
5 | |||
6 | # workarounds for aarch64 kvm qemu boot regressions | ||
7 | SRC_URI:append:qemuarm64 = " file://disable-CONFIG_BLOBLIST.cfg file://disable_CONFIG_USB.cfg" | ||
8 | SRC_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 | ||
75 | do_install:append() { | 75 | do_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" | |||
5 | LICENSE = "PD" | 5 | LICENSE = "PD" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=87964579b2a8ece4bc6744d2dc9a8b04" |
7 | 7 | ||
8 | SRCREV = "55ba955d53305df96123534488fd160ea882b4dd" | ||
9 | PV = "20240407" | ||
10 | PE = "1" | 8 | PE = "1" |
11 | 9 | ||
12 | SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main" | 10 | SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main" |
11 | SRCREV = "55ba955d53305df96123534488fd160ea882b4dd" | ||
12 | |||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | inherit meson | 15 | inherit 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 | " |
44 | S = "${WORKDIR}/git" | 45 | S = "${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 @@ | |||
1 | From: Alan Modra <amodra@gmail.com> | ||
2 | Date: Tue, 1 Apr 2025 22:36:54 +1030 | ||
3 | |||
4 | PR32829, SEGV on objdump function debug_type_samep | ||
5 | u.kenum is always non-NULL, see debug_make_enum_type. | ||
6 | |||
7 | Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=6c3458a8b7ee7d39f070c7b2350851cb2110c65a] | ||
8 | CVE: CVE-2025-5245 | ||
9 | |||
10 | Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> | ||
11 | |||
12 | diff --git a/binutils/debug.c b/binutils/debug.c | ||
13 | index 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}$" | |||
36 | CFLAGS += "${COMPILER_RT}" | 36 | CFLAGS += "${COMPILER_RT}" |
37 | CXXFLAGS += "${COMPILER_RT} ${LIBCPLUSPLUS}" | 37 | CXXFLAGS += "${COMPILER_RT} ${LIBCPLUSPLUS}" |
38 | 38 | ||
39 | TOOLCHAIN = "clang" | ||
40 | |||
39 | DEPENDS += "ninja-native virtual/crypt compiler-rt" | 41 | DEPENDS += "ninja-native virtual/crypt compiler-rt" |
40 | DEPENDS:append:class-native = " clang-native libxcrypt-native libcxx-native" | 42 | DEPENDS:append:class-native = " clang-native libxcrypt-native libcxx-native" |
41 | DEPENDS:append:class-nativesdk = " virtual/cross-c++ clang-native clang-crosssdk-${SDK_SYS} nativesdk-libxcrypt nativesdk-gcc-runtime" | 43 | DEPENDS: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}" | |||
58 | LDFLAGS += "${COMPILER_RT} ${UNWINDLIB}" | 58 | LDFLAGS += "${COMPILER_RT} ${UNWINDLIB}" |
59 | CXXFLAGS += "${LIBCPLUSPLUS}" | 59 | CXXFLAGS += "${LIBCPLUSPLUS}" |
60 | 60 | ||
61 | TOOLCHAIN = "clang" | ||
62 | |||
61 | def get_compiler_rt_arch(bb, d): | 63 | def 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}" | |||
54 | LDFLAGS += "${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}" | 54 | LDFLAGS += "${COMPILER_RT} ${UNWINDLIB} ${LIBCPLUSPLUS}" |
55 | CXXFLAGS += "${LIBCPLUSPLUS}" | 55 | CXXFLAGS += "${LIBCPLUSPLUS}" |
56 | 56 | ||
57 | TOOLCHAIN = "clang" | ||
58 | |||
57 | OECMAKE_SOURCEPATH = "${S}/llvm" | 59 | OECMAKE_SOURCEPATH = "${S}/llvm" |
58 | EXTRA_OECMAKE += "\ | 60 | EXTRA_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}" | |||
79 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 79 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
80 | 80 | ||
81 | # Language Overrides | 81 | # Language Overrides |
82 | FORTRAN = "" | 82 | FORTRAN ?= "" |
83 | 83 | ||
84 | SSP ?= "--disable-libssp" | 84 | SSP ?= "--disable-libssp" |
85 | SSP:mingw32 = "--enable-libssp" | 85 | SSP: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' |
9 | FORTRAN ?= ",fortran" | 9 | FORTRAN ??= ",fortran" |
10 | LANGUAGES ?= "c,c++${FORTRAN}" | 10 | LANGUAGES ?= "c,c++${FORTRAN}" |
11 | 11 | ||
12 | EXTRA_OECONF_BASE ?= "" | 12 | EXTRA_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 | ||
7 | SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" | 7 | SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main" |
8 | 8 | ||
9 | PV = "2.15.1" | ||
10 | SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd" | 9 | SRCREV = "e7f179eeeb6eee1403f090fc43a3c80bb08b5bfd" |
11 | 10 | ||
12 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
13 | 12 | ||
14 | inherit meson gobject-introspection pkgconfig | 13 | inherit meson gobject-introspection pkgconfig manpages |
15 | 14 | ||
16 | EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" | 15 | EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" |
17 | 16 | ||
18 | DEPENDS += "glib-2.0 libyaml glib-2.0-native" | 17 | DEPENDS += "glib-2.0 libyaml glib-2.0-native" |
19 | 18 | ||
@@ -22,3 +21,6 @@ BBCLASSEXTEND = "native nativesdk" | |||
22 | GIR_MESON_OPTION = 'skip_introspection' | 21 | GIR_MESON_OPTION = 'skip_introspection' |
23 | GIR_MESON_ENABLE_FLAG = 'false' | 22 | GIR_MESON_ENABLE_FLAG = 'false' |
24 | GIR_MESON_DISABLE_FLAG = 'true' | 23 | GIR_MESON_DISABLE_FLAG = 'true' |
24 | |||
25 | PACKAGECONFIG ??= "" | ||
26 | PACKAGECONFIG[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}'" | |||
27 | do_compile_ptest() { | 27 | do_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 | ||
33 | do_install_ptest() { | 33 | do_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 | ||
47 | do_install_ptest:append:libc-glibc() { | 44 | do_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 |
4 | cd tests | 4 | cd tests |
5 | make -k runtest-TESTS abs_aux_dir=../../@BP@/tests/build-aux abs_top_srcdir=../../@BP@/tests abs_srcdir=../../@BP@/tests top_srcdir=.. srcdir=. | 5 | make -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 | ||
39 | SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041" | 39 | SRC_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 |
42 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 42 | UPSTREAM_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 | ||
10 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" | 10 | EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" |
11 | 11 | ||
12 | PACKAGECONFIG ??= "fdt alsa kvm pie slirp png pixman \ | 12 | PACKAGECONFIG ??= "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 @@ | |||
1 | From 19f7ef341f19ac5594c7d0113f9eb8224934464a Mon Sep 17 00:00:00 2001 | ||
2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
3 | Date: Sun, 8 Jun 2025 00:19:06 -0700 | ||
4 | Subject: [PATCH] CMakeLists.txt: Fix checking for CFLAGS | ||
5 | |||
6 | The previous code doesn't work because the check_c_compiler_flag() only ran | ||
7 | once because 'found' is in CACHE, here is log: | ||
8 | -- Performing Test found | ||
9 | -- Performing Test found - Success | ||
10 | |||
11 | That 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 | |||
15 | We 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 | |||
23 | Use 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 | |||
31 | Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/3796] | ||
32 | |||
33 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
34 | --- | ||
35 | CMakeLists.txt | 5 ++--- | ||
36 | 1 file changed, 2 insertions(+), 3 deletions(-) | ||
37 | |||
38 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
39 | index 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 | -- | ||
57 | 2.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 @@ | |||
1 | From 2d6beb620896a59cfd685b51a19057e5c5c4ab41 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Thu, 19 Dec 2024 11:54:54 +0800 | ||
4 | Subject: [PATCH] Set RPM_PLUGINDIR in top level CMakeLists.txt | ||
5 | |||
6 | We have in macros.in: | ||
7 | %__plugindir @RPM_PLUGINDIR@ | ||
8 | |||
9 | This means, if RPM_PLUGINDIR is not set, %__plugindir will be empty. | ||
10 | This in turn results in error message when running 'dnf'. | ||
11 | |||
12 | e.g., | ||
13 | dnf --help >/dev/null | ||
14 | error: /usr/lib64/rpm/macros: line 1183: Macro %__plugindir has empty body | ||
15 | error: /usr/lib64/rpm/macros: line 1183: Macro %__plugindir has empty body | ||
16 | |||
17 | So we should move this directory setting into the top level CMakeLists.txt. | ||
18 | |||
19 | Upstream-Status: Submitted [https://github.com/rpm-software-management/rpm/pull/3496] | ||
20 | |||
21 | Signed-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 | |||
27 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
28 | index 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() | ||
41 | diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt | ||
42 | index 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 | -- | ||
56 | 2.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 | ||
25 | Upstream-Status: Inappropriate [oe-core specific] | 25 | Upstream-Status: Inappropriate [oe-core specific] |
26 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 26 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
27 | |||
28 | Rebased to 4.20.1 | ||
29 | Signed-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 | ||
31 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c | 34 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c |
32 | index 097c9055a..060fd8124 100644 | 35 | index 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 | ||
10 | Upstream-Status: Inappropriate [oe-core specific] | 10 | Upstream-Status: Inappropriate [oe-core specific] |
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
12 | |||
13 | Rebased to 4.20.1 | ||
14 | Signed-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 | ||
16 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c | 19 | diff --git a/lib/rpmscript.c b/lib/rpmscript.c |
17 | index 4dc6466a8..6d3c19d01 100644 | 20 | index 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? |
24 | LICENSE = "GPL-2.0-only" | 24 | LICENSE = "GPL-2.0-only" |
25 | LIC_FILES_CHKSUM = "file://COPYING;md5=c4eec0c20c6034b9407a09945b48a43f" | 25 | LIC_FILES_CHKSUM = "file://COPYING;md5=066ecde17828e5c8911ec9eae8be78f4" |
26 | 26 | ||
27 | SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.20.x;protocol=https \ | 27 | SRC_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 | ||
44 | PE = "1" | 44 | PE = "1" |
45 | SRCREV = "b3323786668cf99bc9aed7e60ccdab0bc25e19da" | 45 | SRCREV = "c8dc5ea575a2e9c1488036d12f4b75f6a5a49120" |
46 | 46 | ||
47 | S = "${WORKDIR}/git" | 47 | S = "${WORKDIR}/git" |
48 | 48 | ||
@@ -101,6 +101,8 @@ WRAPPER_TOOLS = " \ | |||
101 | ${libdir}/rpm/rpmdeps \ | 101 | ${libdir}/rpm/rpmdeps \ |
102 | " | 102 | " |
103 | 103 | ||
104 | base_bindir_progs = "sed tar rm mv mkdir cp cat chown chmod gzip grep" | ||
105 | |||
104 | do_install:append:class-native() { | 106 | do_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 | ||
127 | do_install:append:class-target() { | 128 | do_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 | } |
130 | do_install:append:class-nativesdk() { | 138 | do_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" | |||
7 | LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" | 7 | LIC_FILES_CHKSUM = "file://edl-v10.html;md5=522a390a83dc186513f0500543ad3679" |
8 | 8 | ||
9 | SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709" | 9 | SRCREV = "1f11747e83ebf4f53e8d17f430136f92ec378709" |
10 | PV = "1.8.0+git" | ||
11 | 10 | ||
12 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | 11 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" |
13 | SRC_URI = "git://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git;protocol=https;branch=master \ | 12 | SRC_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 @@ | |||
1 | From 949db882e487d728c44bb68139682b38396dd275 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 14 Dec 2022 14:50:10 -0800 | ||
4 | Subject: [PATCH] Alias off64_t to off_t on linux if not defined | ||
5 | |||
6 | Musl C library does not define off64_t and has 64-bit default off_t | ||
7 | therefore define off64_t as an alias on linux as well when configure | ||
8 | detects that off64_t is not provided by a linux system | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/29] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | nfs.h | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/nfs.h b/nfs.h | ||
17 | index 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 @@ | |||
1 | From 7e789895919d57d573ebb8faa147d1286104cd01 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rui Wang <rui.wang@windriver.com> | ||
3 | Date: Mon, 24 Apr 2023 02:57:57 -0700 | ||
4 | Subject: [PATCH] attr: fix utime for symlink | ||
5 | |||
6 | unfs3 has an old defect that it can not change the timestamps of a | ||
7 | symlink file because it only uses utime(), which will follow the | ||
8 | symlink. This will not cause an error if the symlink points to an | ||
9 | existent file. But under some special situation, such as installing | ||
10 | a rpm package, rpm tool will create the symlink first and try to | ||
11 | modify the timestamps of it, when the target file is non-existent. | ||
12 | This will cause an ESTALE error. Making rpm tool ignore this error | ||
13 | is a solution, but not the best one. An acceptable approach is | ||
14 | Making unfs3 support lutimes(), which can modify the symlink file | ||
15 | itself. Considering not every system support this function, so a | ||
16 | function checking is necessary. | ||
17 | |||
18 | Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/35] | ||
19 | |||
20 | Signed-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 | |||
27 | diff --git a/attr.c b/attr.c | ||
28 | index 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 | } | ||
61 | diff --git a/backend_unix.h b/backend_unix.h | ||
62 | index 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 | ||
74 | diff --git a/configure.ac b/configure.ac | ||
75 | index 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 | -- | ||
87 | 2.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 @@ | |||
1 | From 212a947e776e7a25c1f2259615f461179bcb3663 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Wed, 23 Nov 2022 21:38:38 +0100 | ||
4 | Subject: [PATCH] daemon.c: Fix race window for writing of the pid file | ||
5 | |||
6 | The parent process should write the pid file such that the pid file | ||
7 | will can be checked immediately following exit of the fork from the | ||
8 | parent. | ||
9 | |||
10 | This allows external monitoring applications to watch the daemon | ||
11 | without having to add sleep calls to wait for the pid file be written | ||
12 | on a busy system. | ||
13 | |||
14 | Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/28] | ||
15 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | ||
16 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
17 | --- | ||
18 | daemon.c | 12 +++++++++--- | ||
19 | 1 file changed, 9 insertions(+), 3 deletions(-) | ||
20 | |||
21 | diff --git a/daemon.c b/daemon.c | ||
22 | index 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 | -- | ||
67 | 2.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 @@ | |||
1 | From 989b87ae46b3183a742031373fbb3e912ab9b666 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Filipenkov <decapitator@ukr.net> | ||
3 | Date: Wed, 2 Nov 2022 13:38:40 +0300 | ||
4 | Subject: [PATCH] fix building on macOS | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Upstream-Status: Backport [https://github.com/unfs3/unfs3/commit/989b87ae46b3183a742031373fbb3e912ab9b666] | ||
8 | --- | ||
9 | attr.c | 2 ++ | ||
10 | 1 file changed, 2 insertions(+) | ||
11 | |||
12 | diff --git a/attr.c b/attr.c | ||
13 | index 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 | -- | ||
26 | 2.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 @@ | |||
1 | From 63e0785bb379a8f2c41f34f5cd938ca38555e605 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 13 Jan 2023 23:41:01 -0800 | ||
4 | Subject: [PATCH] locate.c: Include attr.h | ||
5 | |||
6 | Its needed for fix_dir_times() API declarations | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/unfs3/unfs3/pull/32] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | locate.c | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/locate.c b/locate.c | ||
15 | index 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 | -- | ||
27 | 2.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." | |||
5 | HOMEPAGE = "https://github.com/unfs3/unfs3" | 5 | HOMEPAGE = "https://github.com/unfs3/unfs3" |
6 | SECTION = "console/network" | 6 | SECTION = "console/network" |
7 | LICENSE = "BSD-3-Clause" | 7 | LICENSE = "BSD-3-Clause" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9475885294e17c0cc0067820d042792e" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c621cd2786a3a1344a60a0d608c910" |
9 | 9 | ||
10 | DEPENDS = "flex-native bison-native flex" | 10 | DEPENDS = "bison-native flex-native libtirpc" |
11 | DEPENDS += "libtirpc" | ||
12 | DEPENDS:append:class-nativesdk = " flex-nativesdk" | ||
13 | 11 | ||
14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
15 | SRC_URI = "git://github.com/unfs3/unfs3.git;protocol=https;branch=master \ | 13 | SRC_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 \ | 14 | SRCREV = "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 | " | ||
22 | SRCREV = "c8f2d2cd4529955419bad0e163f88d47ff176b8d" | ||
23 | UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)" | 15 | UPSTREAM_CHECK_GITTAGREGEX = "unfs3\-(?P<pver>\d+(\.\d+)+)" |
24 | 16 | ||
25 | PV = "0.10.0" | ||
26 | |||
27 | BBCLASSEXTEND = "native nativesdk" | ||
28 | |||
29 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | |||
30 | EXTRA_OECONF:append:class-native = " --sbindir=${bindir}" | 19 | EXTRA_OECONF:append:class-native = " --sbindir=${bindir}" |
20 | |||
21 | BBCLASSEXTEND = "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 @@ | |||
1 | From 493997b0d2c3dc6469f967d8f619ed934667c71e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 22 Mar 2025 18:33:08 -0700 | ||
4 | Subject: [PATCH] getopt: Add missing params to getopt/getenv signatures | ||
5 | |||
6 | This ensures it can compile with GCC 15 on musl | ||
7 | |||
8 | Upstream-Status: Submitted [sent to bug-bc@gnu.org] | ||
9 | Signed-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 | |||
15 | diff --git a/h/getopt.h b/h/getopt.h | ||
16 | index 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 | ||
28 | diff --git a/lib/getopt.c b/lib/getopt.c | ||
29 | index 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 | |||
5 | LICENSE = "GPL-3.0-or-later" | 5 | LICENSE = "GPL-3.0-or-later" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 6 | LIC_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" | |||
13 | DEPENDS = "flex-native" | 13 | DEPENDS = "flex-native" |
14 | 14 | ||
15 | SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \ | 15 | SRC_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" |
18 | SRC_URI[sha256sum] = "b71457ffeb210d7ea61825ff72b3e49dc8f2c1a04102bbe23591d783d1bfe996" | 17 | SRC_URI[sha256sum] = "ae470fec429775653e042015edc928d07c8c3b2fc59765172a330d3d87785f86" |
19 | 18 | ||
20 | inherit autotools texinfo update-alternatives ptest | 19 | inherit 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 | ||
39 | do_compile_ptest() { | 39 | do_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() { | |||
69 | DEPENDS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" | 69 | DEPENDS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" |
70 | PACKAGE_WRITE_DEPS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" | 70 | PACKAGE_WRITE_DEPS:append:class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', 'ptest-runner', '', d)}" |
71 | 71 | ||
72 | RDEPENDS:${PN}-ptest += "ptest-runner" | 72 | RDEPENDS:${PN}-ptest += "ptest-runner coreutils" |
73 | 73 | ||
74 | PACKAGES =+ "${PN}-rmt" | 74 | PACKAGES =+ "${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 | 3 | cd @PTEST_PATH@/tests/ |
4 | WORKDIR=@PTEST_PATH@/tests/ | ||
5 | 4 | ||
6 | # Run test | 5 | ./testsuite --am-fmt |
7 | cd ${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" | |||
48 | EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" | 48 | EXTRA_OECONF:append:armv7a = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" |
49 | EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" | 49 | EXTRA_OECONF:append:armv7ve = "${@bb.utils.contains('TUNE_FEATURES','neon','',' --disable-neon',d)}" |
50 | 50 | ||
51 | CC += "-std=gnu17" | 51 | TARGET_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 |
54 | inherit autotools-brokensep pkgconfig | 54 | inherit 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 @@ | |||
1 | From 070cfacd7348386173231fb16fad4983d4e6ae40 Mon Sep 17 00:00:00 2001 | ||
2 | From: Petr Vorel <pvorel@suse.cz> | ||
3 | Date: Mon, 5 May 2025 23:55:57 +0200 | ||
4 | Subject: [PATCH] ping: Fix signed 64-bit integer overflow in RTT calculation | ||
5 | |||
6 | Crafted ICMP Echo Reply packet can cause signed integer overflow in | ||
7 | |||
8 | 1) triptime calculation: | ||
9 | triptime = tv->tv_sec * 1000000 + tv->tv_usec; | ||
10 | |||
11 | 2) tsum2 increment which uses triptime | ||
12 | rts->tsum2 += (double)((long long)triptime * (long long)triptime); | ||
13 | |||
14 | 3) final tmvar: | ||
15 | tmvar = (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 | |||
40 | To fix the overflow check allowed ranges of struct timeval members: | ||
41 | * tv_sec <0, LONG_MAX/1000000> | ||
42 | * tv_usec <0, 999999> | ||
43 | |||
44 | Fix includes 2 new error messages (needs translation). | ||
45 | Also existing message "time of day goes back ..." needed to be modified | ||
46 | as it now prints tv->tv_sec which is a second (needs translation update). | ||
47 | |||
48 | After 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 | |||
66 | Fixes: https://github.com/iputils/iputils/issues/584 | ||
67 | Fixes: CVE-2025-472 | ||
68 | Link: https://github.com/Zephkek/ping-rtt-overflow/ | ||
69 | Co-developed-by: Cyril Hrubis <chrubis@suse.cz> | ||
70 | Reported-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com> | ||
71 | Reviewed-by: Mohamed Maatallah <hotelsmaatallahrecemail@gmail.com> | ||
72 | Reviewed-by: Cyril Hrubis <chrubis@suse.cz> | ||
73 | Reviewed-by: Noah Meyerhans <noahm@debian.org> | ||
74 | Signed-off-by: Petr Vorel <pvorel@suse.cz> | ||
75 | |||
76 | CVE: CVE-2025-47268 | ||
77 | |||
78 | Upstream-Status: Backport | ||
79 | [https://github.com/iputils/iputils/commit/070cfacd7348386173231fb16fad4983d4e6ae40] | ||
80 | |||
81 | Signed-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 | |||
87 | diff --git a/iputils_common.h b/iputils_common.h | ||
88 | index 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 | ||
101 | diff --git a/ping/ping_common.c b/ping/ping_common.c | ||
102 | index 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 | -- | ||
142 | 2.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 | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=627cc07ec86a45951d43e30658bbd819" |
10 | 10 | ||
11 | DEPENDS = "gnutls" | ||
12 | |||
13 | SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https \ | 11 | SRC_URI = "git://github.com/iputils/iputils;branch=master;protocol=https \ |
14 | file://CVE-2025-47268.patch \ | ||
15 | " | 12 | " |
16 | SRCREV = "10b50784aae3fb75c96cdf9b1668916b49557dd5" | 13 | SRCREV = "6e1cb146547eb6fbb127ffc8397a9241be0d33c2" |
17 | 14 | ||
18 | S = "${WORKDIR}/git" | 15 | S = "${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 | 3 | cd @PTEST_PATH@/tests/ |
4 | WORKDIR=@PTEST_PATH@/tests/ | ||
5 | 4 | ||
6 | # Run test | 5 | # Clear old data |
7 | cd ${WORKDIR} | 6 | rm -rf testsuite.dir testsuite.log |
8 | ./atconfig ./atlocal ./testsuite | ||
9 | |||
10 | # clear log | ||
11 | rm -rf testsuite.dir | ||
12 | rm -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 @@ | |||
1 | From 31a835dd2573c17d77efa8803c7fb28e0d58abc6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | ||
3 | Date: Thu, 22 May 2025 20:11:46 +0300 | ||
4 | Subject: [PATCH] meson: stop building XA by default | ||
5 | |||
6 | Commit cf40099730c4 ("meson: deprecate gallium-xa") deprecated XA | ||
7 | tracker, but didn't disable it by default. Thus any attempt to disable | ||
8 | it would cause a deprecated option warning. Flip the default to disable | ||
9 | XA tracker by default. | ||
10 | |||
11 | Fixes: cf40099730c4 ("meson: deprecate gallium-xa") | ||
12 | Backport-to: 25.1 | ||
13 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> | ||
14 | Upstream-Status: Backport [https://gitlab.freedesktop.org/mesa/mesa/-/commit/31cf6b94ad1dfaf4272b22a39d7e2805d03f9375] | ||
15 | --- | ||
16 | meson.options | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/meson.options b/meson.options | ||
20 | index 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 | -- | ||
32 | 2.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" | |||
30 | PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1" | 30 | PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1" |
31 | PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2" | 31 | PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2" |
32 | PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut" | 32 | PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut" |
33 | PACKAGECONFIG[osmesa] = "-Dosmesa=enabled,-Dosmesa=disabled," | ||
34 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native" | 33 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native" |
35 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor" | 34 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor" |
36 | PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb" | 35 | PACKAGECONFIG[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}" | |||
9 | TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" | 9 | TARGET_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. | ||
13 | PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 12 | PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
14 | PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 13 | PACKAGECONFIG: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 | ||
24 | SRC_URI[sha256sum] = "cf942a18b7b9e9b88524dcbf0b31fed3cde18e6d52b3375b0ab6587a14415bce" | 23 | SRC_URI[sha256sum] = "ffcb6cadb5fd356d56008e6308641dfe4b2929f30139f6585436ca6e3cddba7f" |
25 | PV = "25.1.1" | 24 | PV = "25.1.3" |
26 | 25 | ||
27 | UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" | 26 | UPSTREAM_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 @@ | |||
1 | From 846efe923932d66810305b228fa09f83a172296d Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Thu, 22 May 2025 17:34:15 +0200 | ||
4 | Subject: [PATCH] tests/no_error.py: modify _command and not command | ||
5 | |||
6 | command getter function has hidden magic that prepends build paths; | ||
7 | this is an undesirable side effect here, as we only want to append a parameter | ||
8 | and not change anything else. | ||
9 | |||
10 | In particular this avoids adding build paths to installed .xml.gz file, | ||
11 | ensuring reproducibility. Xml writer is already using _command for the | ||
12 | same reason. | ||
13 | |||
14 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/1016] | ||
15 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
16 | --- | ||
17 | tests/no_error.py | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/tests/no_error.py b/tests/no_error.py | ||
21 | index 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 | -- | ||
31 | 2.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 | " |
16 | UPSTREAM_CHECK_COMMITS = "1" | 17 | UPSTREAM_CHECK_COMMITS = "1" |
17 | 18 | ||
@@ -48,8 +49,6 @@ PACKAGECONFIG[x11] = "-DPIGLIT_USE_X11=1 -DPIGLIT_BUILD_GL_TESTS=ON -DPIGLIT_BUI | |||
48 | PACKAGECONFIG[vulkan] = "-DPIGLIT_BUILD_VK_TESTS=ON,-DPIGLIT_BUILD_VK_TESTS=OFF,glslang-native vulkan-loader,glslang" | 49 | PACKAGECONFIG[vulkan] = "-DPIGLIT_BUILD_VK_TESTS=ON,-DPIGLIT_BUILD_VK_TESTS=OFF,glslang-native vulkan-loader,glslang" |
49 | PACKAGECONFIG[wayland] = "-DPIGLIT_USE_WAYLAND=1,-DPIGLIT_USE_WAYLAND=0,wayland-native wayland wayland-protocols" | 50 | PACKAGECONFIG[wayland] = "-DPIGLIT_USE_WAYLAND=1,-DPIGLIT_USE_WAYLAND=0,wayland-native wayland wayland-protocols" |
50 | 51 | ||
51 | export PIGLIT_BUILD_DIR = "../../../../git" | ||
52 | |||
53 | do_configure:prepend() { | 52 | do_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 @@ | |||
1 | From 79bc507b48d4acd3dec8a85ab6b341b872d44a05 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 29 Jan 2019 22:40:24 -0800 | ||
4 | Subject: [PATCH] calibrator.hh: Include <string> to get std::string | ||
5 | |||
6 | Found with libc++ | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/tias/xinput_calibrator/pull/76] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | src/calibrator.hh | 1 + | ||
12 | 1 file changed, 1 insertion(+) | ||
13 | |||
14 | diff --git a/src/calibrator.hh b/src/calibrator.hh | ||
15 | index 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 | -- | ||
27 | 2.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 @@ | |||
1 | Upstream-Status: Inactive-Upstream [last commits over a decade ago] | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 | 3 | From 14734a93bd3fc323325459e24b04795422e395e6 Mon Sep 17 00:00:00 2001 |
4 | From: Laurentiu Palcu <laurentiu.palcu@intel.com> | 4 | From: 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" | |||
4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" | 4 | LIC_FILES_CHKSUM = "file://src/calibrator.cpp;endline=22;md5=1bcba08f67cdb56f34021557898e4b5a" |
5 | DEPENDS = "virtual/libx11 libxi libxrandr" | 5 | DEPENDS = "virtual/libx11 libxi libxrandr" |
6 | 6 | ||
7 | PV = "0.7.5+git" | ||
8 | |||
9 | inherit autotools pkgconfig features_check | 7 | inherit autotools pkgconfig features_check |
10 | # depends on virtual/libx11 | ||
11 | REQUIRED_DISTRO_FEATURES = "x11" | 8 | REQUIRED_DISTRO_FEATURES = "x11" |
12 | 9 | ||
13 | SRCREV = "18ec53f1cada39f905614ebfaffed5c7754ecf46" | 10 | SRCREV = "970b574b8f7b0d6f2613d343191f47814f2dfaa4" |
14 | SRC_URI = "git://github.com/kreijack/xinput_calibrator.git;branch=libinput;protocol=https \ | 11 | |
12 | SRC_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 | ||
20 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
21 | 18 | ||
22 | # force native X11 ui as we don't have gtk+ in DEPENDS | ||
23 | EXTRA_OECONF += "--with-gui=x11" | 19 | EXTRA_OECONF += "--with-gui=x11" |
24 | 20 | ||
25 | do_install:append() { | 21 | do_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" | |||
17 | inherit meson features_check pkgconfig | 17 | inherit meson features_check pkgconfig |
18 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 18 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
19 | 19 | ||
20 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt" | 20 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt libtirpc" |
21 | 21 | ||
22 | OPENGL_PKGCONFIGS = "glx glamor dri3" | 22 | OPENGL_PKGCONFIGS = "glx glamor dri3" |
23 | PACKAGECONFIG ??= "${XORG_CRYPTO} ${XWAYLAND_EI} \ | 23 | PACKAGECONFIG ??= "${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 | ||
11 | DEPENDS = "libaio" | 11 | DEPENDS = "libaio" |
12 | 12 | ||
13 | SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb" | ||
14 | |||
15 | PV = "1.3.0+git" | ||
16 | 13 | ||
17 | SRC_URI = "git://git.kernel.dk/blktrace.git;branch=master;protocol=https \ | 14 | SRC_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 | ||
18 | SRCREV = "366d30b9cdb20345c5d064af850d686da79b89eb" | ||
19 | |||
21 | S = "${WORKDIR}/git" | 20 | S = "${WORKDIR}/git" |
22 | 21 | ||
23 | EXTRA_OEMAKE = "\ | 22 | EXTRA_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 | ||
17 | SRCREV_machine ?= "4127c6137af28c2c91ec79acee60fe4d4d70db9b" | 17 | SRCREV_machine ?= "7cb6d42c40de351ecab0a083aef260f84407de0d" |
18 | SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" | 18 | SRCREV_meta ?= "60b8562e9989f268ad5d241989f56b71cfa1f648" |
19 | 19 | ||
20 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \ | 20 | SRC_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" | |||
17 | KMETA = "kernel-meta" | 17 | KMETA = "kernel-meta" |
18 | KCONF_BSP_AUDIT_LEVEL = "2" | 18 | KCONF_BSP_AUDIT_LEVEL = "2" |
19 | 19 | ||
20 | SRCREV_machine ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 20 | SRCREV_machine ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
21 | SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" | 21 | SRCREV_meta ?= "60b8562e9989f268ad5d241989f56b71cfa1f648" |
22 | 22 | ||
23 | PV = "${LINUX_VERSION}+git" | 23 | PV = "${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" | |||
18 | KBRANCH:qemuloongarch64 ?= "v6.12/standard/base" | 18 | KBRANCH:qemuloongarch64 ?= "v6.12/standard/base" |
19 | KBRANCH:qemumips64 ?= "v6.12/standard/mti-malta64" | 19 | KBRANCH:qemumips64 ?= "v6.12/standard/mti-malta64" |
20 | 20 | ||
21 | SRCREV_machine:qemuarm ?= "4260a7bd706072e6bec438cdc29f44845d380b21" | 21 | SRCREV_machine:qemuarm ?= "37a1fd13ca538e7785daf01434495a614bc55ead" |
22 | SRCREV_machine:qemuarm64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 22 | SRCREV_machine:qemuarm64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
23 | SRCREV_machine:qemuloongarch64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 23 | SRCREV_machine:qemuloongarch64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
24 | SRCREV_machine:qemumips ?= "681fad27d382f2e0eb53d1b46f9d35aa2332248f" | 24 | SRCREV_machine:qemumips ?= "2bcf58ea5aa19d54c436e63c59ab09b307e9ee8e" |
25 | SRCREV_machine:qemuppc ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 25 | SRCREV_machine:qemuppc ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
26 | SRCREV_machine:qemuriscv64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 26 | SRCREV_machine:qemuriscv64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
27 | SRCREV_machine:qemuriscv32 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 27 | SRCREV_machine:qemuriscv32 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
28 | SRCREV_machine:qemux86 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 28 | SRCREV_machine:qemux86 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
29 | SRCREV_machine:qemux86-64 ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 29 | SRCREV_machine:qemux86-64 ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
30 | SRCREV_machine:qemumips64 ?= "c32033ad8eac09b074c44a42e7d34d398df9d172" | 30 | SRCREV_machine:qemumips64 ?= "6470f58a8f04951f202cf85afb4421d2e7ec9995" |
31 | SRCREV_machine ?= "fee8195f8412ff8f1bfc50ba86cdb8f20de22750" | 31 | SRCREV_machine ?= "298aefdf4112e7c0a84522e4acf2c722e433c8a0" |
32 | SRCREV_meta ?= "f2f3b6cbd91743920e2cb55998c53326855b2e9c" | 32 | SRCREV_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 | ||
156 | PERF_EXTRA_LDFLAGS = "" | 157 | PERF_EXTRA_LDFLAGS = "" |
@@ -208,7 +209,7 @@ python copy_perf_source_from_kernel() { | |||
208 | do_configure:prepend () { | 209 | do_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 | 1 | require systemtap_${PV}.bb | |
2 | require systemtap_git.bb | ||
3 | 2 | ||
4 | inherit_defer native | 3 | inherit_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 @@ | |||
1 | LICENSE = "GPL-2.0-only" | 1 | LICENSE = "GPL-2.0-only" |
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 2 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
3 | SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de" | ||
4 | PV = "5.2" | ||
5 | 3 | ||
6 | SRC_URI = "git://sourceware.org/git/systemtap.git;branch=master;protocol=https \ | 4 | SRC_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 | ||
10 | SRCREV = "3a92ffe673c1621309a0b60892114495b651c9de" | ||
11 | |||
12 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' | 12 | COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64|microblazeel|mips|riscv64).*-linux' |
13 | COMPATIBLE_HOST:libc-musl = 'null' | 13 | COMPATIBLE_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 | |||
14 | index d4472d5..9999938 100644 | 14 | index 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 | ||
23 | SRC_URI[sha256sum] = "0341f1ed97a26c811abaebd37d62b833956792b7607ea3f15d001613c76de202" | 23 | SRC_URI[sha256sum] = "f4619a1e2474c4bbfedc88a7c2191209c8334b48fa1f4e53fd584cc12e9120dd" |
24 | 24 | ||
25 | # Curl has used many names over the years... | 25 | # Curl has used many names over the years... |
26 | CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl" | 26 | CVE_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 | ||
138 | DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' openssl-native', '', d)}" | ||
139 | |||
135 | RDEPENDS:${PN}-ptest += " \ | 140 | RDEPENDS:${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 | ||
13 | inherit pypi setuptools3 | 13 | inherit pypi setuptools3 |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "15315d09babdee45449be7042ad1f57104a5f04853bd6951cdc0da171c13ac3b" | 15 | SRC_URI[sha256sum] = "25532061c640b4be7496f9a726640e20ca0fcb8e46a8a1a46e51ac940a5f4e57" |
16 | 16 | ||
17 | RDEPENDS:${PN} += "\ | 17 | RDEPENDS:${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 | ||
33 | COMPATIBLE_HOST:libc-musl = 'null' | ||
34 | |||
35 | do_install:append:class-native() { | 32 | do_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 | ||
6 | inherit autotools | 6 | inherit autotools |
7 | 7 | ||
8 | SRC_URI = "git://github.com/sass/libsass.git;branch=master;protocol=https \ | 8 | SRC_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 | ||
11 | SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460" | 11 | SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460" |
12 | PV = "3.6.6" | ||
13 | 12 | ||
14 | S = "${WORKDIR}/git" | 13 | S = "${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 | ||
8 | inherit autotools pkgconfig | 8 | inherit autotools pkgconfig |
9 | 9 | ||
10 | SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https \ | 10 | SRC_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 | ||
13 | SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0" | 13 | SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0" |
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | PV = "3.6.2" | ||
16 | 15 | ||
17 | CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper" | 16 | CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper" |
18 | 17 | ||