summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
* mdadm: skip running 04update-uuid and 07revert-inplace testcasesOvidiu Panait2023-09-042-0/+40
| | | | | | | | | | | | | | | | 04update-uuid and 07revert-inplace tests are unreliable and fail intermittently on the autobuilder (BZ#15181 and BZ#15159). Unfortunately, the failures cannot be reproduced locally and the logs cannot be retrieved from the AB. Mark the testcases as BROKEN to skip them when running ptest. (From OE-Core rev: f39988353743e35418a730bfd6b9a9b68d946641) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eb219aff7cfe1cff1da93107ac7b22c678c0000f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* tar: upgrade 1.34 -> 1.35Wang Mingyu2023-09-042-48/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CVE-2022-48303.patch removed since it's included in 1.35 License-Update: http changed to https Changelog: =========== * Fail when building GNU tar, if the platform supports 64-bit time_t but the build uses only 32-bit time_t. * Leave the devmajor and devminor fields empty (rather than zero) for non-special files, as this is more compatible with traditional tar. * Bug fixes ** Fix interaction of --update with --wildcards. ** When extracting archives into an empty directory, do not create hard links to files outside that directory. ** Handle partial reads from regular files. ** Warn "file changed as we read it" less often. ** Fix --ignore-failed-read to ignore file-changed read errors ** Fix --remove-files to not remove a file that changed while we read it. ** Fix --atime-preserve=replace to not fail if there was no need to replace, either because we did not read the file, or the atime did not change. ** Fix race when creating a parent directory while another process is also doing so. ** Fix handling of prefix keywords not followed by "." in pax headers. ** Fix handling of out-of-range sparse entries in pax headers. ** Fix handling of --transform='s/s/@/2'. ** Fix treatment of options ending in / in files-from list. ** Fix crash on 'tar --checkpoint-action exec=\"'. ** Fix low-memory crash when reading incremental dumps. ** Fix --exclude-vcs-ignores memory allocation misuse. (From OE-Core rev: d85a7394a1efa8b644950b8d6edbc5e9917ce8b0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c63769de05ce08c0627d302d14316ced31816b4d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* procps: backport fix for CVE-2023-4016Ross Burton2023-09-042-0/+74
| | | | | | | | | | | | (From OE-Core rev: 255515e1b52fea6d72d37fae61667db08eb5b086) (From OE-Core rev: 7841349843f0adbb1312729d81ab05b5c459db79) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eae2a94f5de78b95590ec45e11e930655dbd5caf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ghostscript: fix CVE-2023-38559Chee Yang Lee2023-08-302-0/+32
| | | | | | | (From OE-Core rev: 9552f934ae5305b9154f1560d4823b168457b784) Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ltp: Add kernel loopback module dependencyRichard Purdie2023-08-151-0/+2
| | | | | | | | | | | | | The qemuarm64 kernel builds loopback device support as a module and it isn't included in the image leading to ltp test failures on that platform. Add the missing kernel module RRECOMMENDS to avoid this and fix those errors. (From OE-Core rev: 5273868106b46cd330e15f36f4592f05ca9e3feb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8691020f33a644d52b7d867376ef3c85be84abf9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: add util-linux-blockdev ptest dependencyOvidiu Panait2023-08-151-1/+8
| | | | | | | | | | | | | | 07revert-inplace test logs contain the following: func.sh: line 335: /sbin/blockdev: No such file or directory Add the missing util-linux-blockdev dependency. (From OE-Core rev: dd359520c5e7fd76a127333114217d6d6cd74880) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a15cd04f528d137d428a572f15d1ec5ebbbd81f0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ltp: add RDEPENDS on findutilsRoss Burton2023-08-151-0/+1
| | | | | | | | | | | With busybox find some of the test script fails, so depend on GNU find. (From OE-Core rev: d1055d9f0aafbc687b857e85843e74c54bc014a1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 2d1b1987ef927b33b799bb6e6805a1fdd8d92921) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* shadow-sysroot: add license informationEnrico Scholz2023-08-152-1/+2
| | | | | | | | | | | | | | | | | | | | | Recipe references 'login.defs' in LIC_FILES_CHKSUM. This causes some problems: - file does not contain a single word which is related with its license - changing this file (here: increasing SYS_UID_MIN) invalidates LIC_FILES_CHKSUM Add 'SPDX-License-Identifier' to the file and limit the checksum to this part. (From OE-Core rev: 21744b8d77c71f8893dc06379b13bf45a2470c70) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c6f2e3feeb26abefb4136c56db6f3c0349acefb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libnss-nis: upgrade 3.1 -> 3.2Wang Mingyu2023-08-151-2/+2
| | | | | | | | | | | | | | | | Changelog: * Do not call malloc_usable_size This is a namespace violation, and interposed malloc implementations are not required to interpose malloc_usable_size [bsc#1207551]. (From OE-Core rev: cabadc004bd6ee6501166aac086ea8faa85da502) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5cd967503c0574f45b814572da9503182556b431) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libarchive: ignore CVE-2023-30571Peter Marko2023-08-151-0/+3
| | | | | | | | | | | | | | | | | | | | | This issue was reported and discusses under [1] which is linked in NVD CVE report. It was already documented that some parts or libarchive are thread safe and some not. [2] was now merged to document that also reported function is not thread safe. So this CVE *now* reports thread race condition for non-thread-safe function. And as such the CVE report is now invalid. The issue is still not closed for 2 reasons: * better document what is and what is not thread safe * request to public if someone could make these functions thread safe This should however not invalidate above statment about ignoring this CVE. [1] https://github.com/libarchive/libarchive/issues/1876 [2] https://github.com/libarchive/libarchive/pull/1875 (From OE-Core rev: ffa8f92aa6f8405d8fea117af2f212ba190de393) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: skip running known broken ptestsOvidiu Panait2023-08-014-1/+585
| | | | | | | | | | | | | | | | | | | Upstream marked some testcases as "KNOWN BROKEN" and introduced the "--skip-broken" flag to ignore them when running the testsuite (commits [1] and [2]). Backport these two commits to get rid of the last remaining ptest failures. Also, add the "--skip-broken" option to the run-ptest script. [1] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=28520bf114b3 [2] https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git/commit/?id=daa86d663476 (From OE-Core rev: 153357be5c74393febaccbe37b0ff514401a52cd) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 62148b978b26b5fcd1a2fa3a0ff82ef814f4e7ec) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix segfaults when running ptestsOvidiu Panait2023-08-015-0/+341
| | | | | | | | | | | | | | | | | | | | | | | Currently, some segfaults are reported when running ptest: mdadm[12333]: segfault at 0 ip 00007fe855924060 sp 00007ffc4d6caf88 error 4 in libc.so.6[7f) Code: d2 0f 84 b7 0f 00 00 48 83 fa 01 0f 84 b9 0f 00 00 49 89 d3 89 f1 89 f8 48 83 e1 3f 4f Backport the following upstream commits to fix them: 679bd9508a30 ("DDF: Cleanup validate_geometry_ddf_container()") 2b93288a5650 ("DDF: Fix NULL pointer dereference in validate_geometry_ddf()") 548e9b916f86 ("mdadm/Grow: Fix use after close bug by closing after fork") 9ae62977b51d ("monitor: Avoid segfault when calling NULL get_bad_blocks") The fixes are part of the "Bug fixes and testing improvments" patchset [1]. [1] https://www.spinics.net/lists/raid/msg70621.html (From OE-Core rev: eca27903d0217d9e8b1ddc0c9db9857831a915f3) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9585009e3e505b361cd32b14e0e85e77e7822878) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix 07revert-inplace ptestOvidiu Panait2023-08-011-1/+1
| | | | | | | | | | | | | | | | | Testcase 07revert-inplace fails if strace is not installed: ... strace -o /tmp/str ./mdadm -A /dev/md0 --update=revert-reshape /dev/<...> tests/07revert-inplace: line 40: strace: command not found Add strace to mdadm-ptest RDEPENDS to make sure the testcase passes even with a core-image-minimal build. (From OE-Core rev: 56485bbb1ccb9042a914f1ed477fc96323d39fdf) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7d9386663ac52ab69812867a0823c6055aedbc18) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* mdadm: fix util-linux ptest dependencyOvidiu Panait2023-08-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Trying to run mdadm-ptest in a core-image-minimal build will result in: root@qemux86-64:~# ptest-runner mdadm START: ptest-runner BEGIN: /usr/lib/mdadm/ptest which: no lsblk in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin) lsblk command not found! DURATION: 0 END: /usr/lib/mdadm/ptest 2023-06-28T10:14 STOP: ptest-runner TOTAL: 1 FAIL: 0 Remove util-linux from RRECOMMENDS and only add util-linux-lsblk and util-linux-losetup to RDEPENDS. (From OE-Core rev: 45bf9f5c18a1dec0d3c1a134285e71660dd9d890) Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3004f7589974c135cc82630d980ea281b97ecd83) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cups: Fix CVE-2023-34241Mingli Yu2023-08-012-0/+71
| | | | | | | | | | | Backport patch [1] to fix CVE-2023-34241. [1] https://github.com/OpenPrinting/cups/commit/9809947a959e18409dcf562a3466ef246cb90cb2 (From OE-Core rev: 0048a87ec9442f1f9480d57ccfeeaa79ec171f04) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* acpica: Update SRC_URIMingli Yu2023-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the SRC_URI to fix the do_fetch warning. $ wget https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz --2023-07-19 02:45:33-- https://acpica.org/sites/acpica/files/acpica-unix-20220331.tar.gz Resolving acpica.org... 20.29.206.128 Connecting to acpica.org|20.29.206.128|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html [following] --2023-07-19 02:45:33-- https://www.intel.com/content/www/us/en/developer/topic-technology/open/acpica/overview.html Resolving www.intel.com... 23.72.14.54 Connecting to www.intel.com|23.72.14.54|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2023-07-19 02:45:34 ERROR 403: Forbidden. $ wget https://downloadmirror.intel.com/774879/acpica-unix-20220331.tar.gz --2023-07-19 02:46:04-- https://downloadmirror.intel.com/774879/acpica-unix-20220331.tar.gz Resolving downloadmirror.intel.com... 18.164.154.85, 18.164.154.5, 18.164.154.74, ... Connecting to downloadmirror.intel.com|18.164.154.85|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1911044 (1.8M) [application/gzip] Saving to: ‘acpica-unix-20220331.tar.gz’ acpica-unix-20220331.tar.gz 100%[=========================================================================>] 1.82M 1.61MB/s in 1.1s 2023-07-19 02:46:06 (1.61 MB/s) - ‘acpica-unix-20220331.tar.gz’ saved [1911044/1911044] (From OE-Core rev: 4724b382d183a2b3b8426c77c23b368f509411e7) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* baremetal-helloworld: Fix race conditionAlejandro Hernandez Samaniego2023-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | There was a race condition during the Makefile execution in between the assemble and compile targets, only the assemble target had a dependency on creating the build directory. If the compile target was executed first, an error was thrown by bitbake since the build directory did not exist yet: | Assembler messages: | Fatal error: can't create build/hello_baremetal_aarch64.o: No such file or directory Update the SRCREV to reflect the latest changes serializing the makefile targets to avoid such race condition from happening. [YOCTO #15146] (From OE-Core rev: fe637f795238685f5d8e4e3dbf48235dabb1cc17) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9a999af292c7b3dd3bb7c0722cc31624c425f432) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* diffutils: update 3.9 -> 3.10Alexander Kanavin2023-07-202-13/+8
| | | | | | | | | | | | | | | | | | | | | | | | * Noteworthy changes in release 3.10 (2023-05-21) [stable] ** Bug fixes cmp/diff can again work with file dates past Y2K38 [bug introduced in 3.9] diff -D no longer fails to output #ifndef lines. [bug#61193 introduced in 3.9] Remove the comment addition from the patch body, as it increases likelyhood of rebase conflicts, and repeats what the commit says. (From OE-Core rev: 21e40166870fadee986fb36be80019d3bcdb69e5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 925155acc6922f7e9df2afa45e79ad1b2c57ba24) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ghostscript: fix CVE-2023-36664Joe Slater2023-07-202-0/+166
| | | | | | | | | | | Combine two commits from git.ghostscript.com/ghostpdl. The first incompletely addresses the CVE. The second addresses defects in the first. (From OE-Core rev: 8173939cfa4d0be8c0ffaa45e371945b1f7a16ae) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* logrotate: Do not create logrotate.status fileJermain Horsman2023-07-071-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | The first time logrotate runs it reports an error: error: state file /var/lib/logrotate.status is world-readable and thus can be locked from other unprivileged users. Skipping lock acquisition... This check was added with https://github.com/logrotate/logrotate/commit/1f76a381e2caa0603ae3dbc51ed0f1aa0d6658b9 This error is only reported once as logrotate removes the world-readable permissions if this happens. Since logrotate creates this file if it does not exist, there should be no need to install it in the first place. (From OE-Core rev: d081071c99a814e43cdd2c3ca92892c10b631692) Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8169cd2d18f1569e4357f082adbef492710e8c36) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* unzip: remove hardcoded LARGE_FILE_SUPPORTChen Qi2023-07-071-3/+0
| | | | | | | | | | | | | | Now that unzip's configure can correctly do the detection even in case of cross compilation, there's no need to use this hardcoded LARGE_FILE_SUPPORT flag. (From OE-Core rev: b7006ca2f56292312937fd1fa33e62ff908fad9f) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dca7d1ce696e97ff4213dd63981f901dfd43ade2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* unzip: fix configure check for cross compilationChen Qi2023-07-072-0/+104
| | | | | | | | | | | | | | The original configure runs a generated binary to determine features. This is not correct for cross compilation. So change the runtime tests into compile-time tests to fix the issue. (From OE-Core rev: ed61afde823bcd3eddb984a57c9dec317f8bbbf3) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b9aca339b59238988c48b90ea5019bfc939ba4b3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* zip: remove unnecessary LARGE_FILE_SUPPORT CLFAGSChen Qi2023-07-071-3/+0
| | | | | | | | | | | | | | As the zip's configure has been updated to use compile-time check, it now can do the check correctly, thus no need to pass LARGE_FILE_SUPPORT to CFLAGS. (From OE-Core rev: 0efe5f77027b902b276c925ed09caf5062f51170) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 601f45bc4e6c563ebf16e724d56519a128815034) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* zip: fix configure check by using _Static_assertChen Qi2023-07-072-0/+97
| | | | | | | | | | | | | | | It's incorrect to run a cross-compiled program on build machine to check if some feature is available or not. As these two checks in zip are basically just checking the size, we can use _Static_assert and sizeof to do such check at compile time. (From OE-Core rev: a54619ba8deb6731fdac97a1fe21e7a6ed2b5a75) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dda778d855b1838ae3004a9af310724b913490b4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* rpcsvc-proto: Upgrade to 1.4.4Khem Raj2023-07-073-90/+6
| | | | | | | | | | | Drop already upstreamed patch in 1.4.4 (From OE-Core rev: f3ce18bcc993c636c7f7ac898cd5cb2de92df8ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1dddd4bf9bdb26069a1a0d4fcb8aeefd5761c620) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* wget: upgrade 1.21.3 -> 1.21.4Alexander Kanavin2023-07-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Stable version release Noteworthy changes in release 1.21.4 (2023-05-11) ** Document --retry-on-host-error in help text ** Increase read buffer size to 64k. This should speed up downloads on gigabit and faster connections ** Update deprecated option '--html-extension' to '--adjust-extension' in documentation ** Update gnulib compatibility layer. Fixes HSTS test failures on i686. (Thanks to Andreas Enge for ponting it out) License-Update: copyright years (From OE-Core rev: 4e7ec4bef86c79b4221a800ace700c58ce033de1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 67ec2d5bab891cb92af9ca32304a4927daf51ed0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gawk: upgrade 5.2.1 -> 5.2.2Alexander Kanavin2023-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a bug fix release. Changes from 5.2.1 to 5.2.2 --------------------------- 1. Infrastructure upgrades: makeinfo 7.0.1 must be used to format the manual. As a result, the manual can also now be formatted with LaTeX by running it through `makeinfo --latex'. 2. Gawk no longer builds an x86_64 executable on M1 macOS systems. This means that PMA is unavailable on those systems. 3. Gawk will now diagnose if a heap file was created with a different setting of -M/--bignum than in the current invocation and exit with a fatal message if so. 4. Gawk no longer "leaks" its free list of NODEs in the heap file, resulting in much more efficient usage of persistent storage. 5. PROCINFO["pma"] exists if the PMA allocator is compiled into gawk. Its value is the PMA version. 6. The time extension is no longer deprecated. The strptime() function from gawkextlib's timex extension has been added to it. 7. Better information is passed to input parsers for when they want to decide whether or not to take control of a file. In particular, the readdir extension is simplified for Windows because of this. 8. The various PNG files are now installed for Info and HTML. The images files now have gawk_ prefixed names to avoid any conflicts with other installed PNG file names. 9. As usual, there have been several minor code cleanups and bug fixes. See the ChangeLog for details. (From OE-Core rev: 3ace3af1e57b701308ab397c6ac45a6fa703ed40) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8504a35f1fe222d256241ff00c05b63e24e9adcb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* parted: Add missing libuuid to linker cmdline for libparted-fs-resize.soKhem Raj2023-07-042-0/+35
| | | | | | | | | (From OE-Core rev: 8e42a4364921fabccf0f1c4bc4e661da72c82d06) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 493b6a17ede8033be11eb61aef347f6f5df42f7d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* baremetal-helloworld: Update SRCREV to fix entry addresses for ARM architecturesAlejandro Hernandez Samaniego2023-06-301-2/+2
| | | | | | | | | | | | | | | | | | Update to the latest SRCREV to bring fixes using the proper entry addresses for ARM architectures [1], as well as fixing a race condition in the Makefile during assembly [2]. Fix url in case automatic redirects stop working. [1] https://github.com/ahcbb6/baremetal-helloqemu/commit/602e82aee7ae95ee50eedb7f40c4a225ec5a3fb9 [2] https://github.com/ahcbb6/baremetal-helloqemu/commit/ea7f59b02467ed1fb36c3b4c6d5cabe702df26ec (From OE-Core rev: fdeb8e9d9af37e37e4c0f13ebfae2c0ce36199d4) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 8910e9665d67576149efef064d098f0645deea4a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cups: Fix CVE-2023-32324Sanjay Chitroda2023-06-242-0/+37
| | | | | | | | | | | | | | | | | | | | | | | OpenPrinting CUPS is an open source printing system. In versions 2.4.2 and prior, a heap buffer overflow vulnerability would allow a remote attacker to launch a denial of service (DoS) attack. A buffer overflow vulnerability in the function `format_log_line` could allow remote attackers to cause a DoS on the affected system. Exploitation of the vulnerability can be triggered when the configuration file `cupsd.conf` sets the value of `loglevel `to `DEBUG`. No known patches or workarounds exist at time of publication. References: https://nvd.nist.gov/vuln/detail/CVE-2023-32324 https://security-tracker.debian.org/tracker/CVE-2023-32324 Upstream Patch: https://github.com/OpenPrinting/cups/commit/fd8bc2d32589 (From OE-Core rev: 3e0e51c5dd435822ab29261a648e5e86b8ad9919) Signed-off-by: Sanjay Chitroda <schitrod@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* minicom: remove unused patch filesMartin Jansa2023-06-213-114/+0
| | | | | | | | | | | | * they were removed from SRC_URI in: https://git.openembedded.org/openembedded-core/commit/?id=41f8760dd8a8ac388389bc17dbc5e0ae0f64bf57 (From OE-Core rev: 4395c783e544de30f650459677055737148ea261) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a0f28cd8d01f4faeedc1089e5d1e2dacc5b046f9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* psmisc: Set ALTERNATIVE for pstree to resolve conflict with busyboxFrieder Schrempf2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | If pstree in busybox is enabled there is a conflict with pstree from psmisc resulting in: do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot, then please place them into pkg_postinst_ontarget:${PN} (). Deferring to first boot via 'exit 1' is no longer supported. And more detailed in do_rootfs.log: update-alternatives: Error: not linking [...]/rootfs/usr/bin/pstree to /bin/busybox.nosuid since [...]/rootfs/usr/bin/pstree exists and is not a link On order to fix this set ALTERNATIVE:pstree accordingly. (From OE-Core rev: 6071ff86edb1105ca470979ff691ba5910d7e2fc) Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit deb2176df76dcb16c0d90072ad63d308a0ab1158) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* meta: depend on autoconf-archive-native, not autoconf-archiveRoss Burton2023-06-141-1/+1
| | | | | | | | | | | | | | | | | | | autoconf-archive is a collection of m4 autoconf macros needed at build-time, and autoconf-archive-native is a suitable provider as there is nothing in the recipe that needs to be cross-compiled. Also if we use DEPENDS=autoconf-archive then the recipe's -dev package ends up RDEPENDing on autoconf-archive, which isn't correct. Universally change any DEPENDS on autoconf-archive to the -native form, and add any missing dependencies that were implicit before. (From OE-Core rev: be5534a8ca4a5ab7323039123e680ba1f6ede908) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 571132415ea7fe2d91c62948f2b6aa553eafa83d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* xz: upgrade 5.4.2 -> 5.4.3Denys Dmytriyenko2023-06-141-1/+1
| | | | | | | | | | | | | | | 5.4.3 (2023-05-04) * All fixes from 5.2.12 * Features in the CMake build can now be disabled as CMake cache variables, similar to the Autotools build. * Minor update to the Croatian translation. (From OE-Core rev: c450040e2f177b2ef64c0817ca0aad4051d5f25f) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 75aaa3d8efa9ba4fdf7145321dc85b34cd3dcebb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* sysstat: Fix CVE-2023-33204Xiangyu Chen2023-06-142-1/+49
| | | | | | | | | | | | | | | | | | | References: https://nvd.nist.gov/vuln/detail/CVE-2023-33204 https://ubuntu.com/security/CVE-2023-33204 Upstream Patch: https://github.com/sysstat/sysstat/commit/954ff2e2673c (From OE-Core rev: 5aee537b52382d5b5e702ecb4c3f34e38a90a398) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Sanjay Chitroda <schitrod@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7a6871590b908e4b749484d913da5e280c20d05f) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cpio: Run ptests under ptest userKhem Raj2023-05-313-9/+28
| | | | | | | | | | | | | | | | | | | Running these tests under root user on musl works ok but it emits additional diagnostic cpio: dir: Cannot change ownership to uid 0, gid 0: Not supported Ideally its better to run this test suite under non-root user which is often how these are run. Moreover, tests work on musl as well. (From OE-Core rev: 22d19266269c28f596f031fcba8f2831c6465880) (From OE-Core rev: fd5bd772ab031606dcfe637fe7425b52b51365fa) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 587e007d9febfe92fef434dea984d31642bb23a1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* recipes: Default to https git protocol where possibleRichard Purdie2023-05-181-1/+1
| | | | | | | | | | | | The recommendation from server maintainers is that the https protocol is both faster and more reliable than the dedicated git protocol at this point. Switch to it where possible. (From OE-Core rev: 8f3669f81db8a58f8ed2faef76acab3499f59619) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 139102a73d4151f4748b4a861bd4ab28dda7dab7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* ghostscript: fix CVE-2023-28879Joe Slater2023-05-182-0/+61
| | | | | | | | | | | | | Backport from tag ghostpdl-10.01.1-gse-10174 which is after 10.01.1. (From OE-Core rev: 5046578b09b0a83a961768824e47f34fb3de9eb1) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8a70d6935afa38173dbf012b8e1c3d59228504df) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cpio: fix appending to archives larger than 2GBRoss Burton2023-05-172-0/+313
| | | | | | | | | | | Backport a patch to fix appending to archives larger than 2GB. [ YOCTO #11674 ] (From OE-Core rev: a161d6694b295c93244d67d69d8be8b09210bc32) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gawk: Add skipped.txt to emit test to ignoreKhem Raj2023-05-172-0/+11
| | | | | | | | | | | | This file can be processed by run-ptest during runtime and tests mentioned in skipped.txt will not be run. (From OE-Core rev: 58818cf22dc378ee5fa9089da1f4b8f0fd02bc44) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 4d30f3535f53ad6d8f462f99b6cd2fe8d2ecbfb5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gawk: Remove redundant patchKhem Raj2023-05-172-44/+0
| | | | | | | | | | | | | | | | This patch is doing the same things thats already being done in the do_install_ptest where the problematic tests are being deleted from final package. run-ptest script runs a find for available tests and runs each test target found during run therefore its enough to remove them from final install. (From OE-Core rev: cf654eb0fe786ec5cfbc62da43e71f6ef2e521dc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 4a32ad54d6c051fe387c67721cf96eb851ecd835) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* gawk: Disable known ptest fails on muslKhem Raj2023-05-171-2/+15
| | | | | | | | | | | Add needed locale rdeps on musl as well. (From OE-Core rev: 71f515d63aaf6eeb91170c9ee3eb123935a18da8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 1e71eaf6792727d2335ee2e2ad4c5ce88137fe77) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libpam: Fix the xtests/tst-pam_motd[1|3] failuresZhixiong Chi2023-05-102-0/+109
| | | | | | | | | | | | | | | | | | Reproducer: 1.Enable the ptest of libpam and build the image. 2.Boot the rootfs with nfs, then run the following tests as root: cd /usr/share/Linux-PAM/xtests /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd1 /usr/share/Linux-PAM/xtests# ./run-xtests.sh . tst-pam_motd3 After applying this patch, the ptest doesn't be failed. (From OE-Core rev: 97e3cfb5374958737750361f6e22a7b63965e46e) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 549e54ad6a175359b0a57987ccdab8989df9d3a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* libarchive: Enable acls, xattr for native as well as targetPiotr Łobacz2023-05-101-5/+1
| | | | | | | | | | | | | | | | | Libarchive is being used by OPKG package manager as default API for extracting tar files. This fix allows us to extract ipks packages with preserved ACLs and xattrs. Partially addresses [YOCTO #15091] [RP: Merge into main PACKAGECONFIG and tweak commit message] (From OE-Core rev: 9d19e501d710c6c357bf6c8f16ac3e172d63e11d) Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 913aad1ac013368aef8f6af332588ef24bba46bd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* texinfo: upgrade 7.0.2 -> 7.0.3Wang Mingyu2023-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | Changelog: ========== * texi2any . fix performance regression when Perl binary extension (XS) modules are not being used (e.g. with TEXINFO_XS=omit) * info . further fix of recoding of UTF-8 files to ASCII to avoid text disappearing from nodes . avoid possible freeze at start of a file with '-v nodeline=pointers' (From OE-Core rev: 62eb0b5a7393d6192a309c1d309e9b22bc652be7) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 87bb580f6a02468d372254480302a60faa965131) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* man-pages: upgrade 6.03 -> 6.04Wang Mingyu2023-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: tmp/ -> .tmp/ Changelog: ============ - Sections: - Add HISTORY. - HISTORY: Restore C89 references. - Repurpose VERSIONS. - Simplify STANDARDS. - SYNOPSIS: Mark several functions as deprecated. - Build system: - Support installing in different mandirs (e.g., man3typedir='/usr/share/man/man3'). - Support installing compressed pages (Z='.gz'). - Support installing link pages as symlinks (LINK_PAGES='symlink'). (From OE-Core rev: 0d416adf236952dd90954daf1067dbd619c39e3c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 17b93f86d17c6164005fa9f3173585f092539dc6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* cracklib: upgrade 2.9.10 -> 2.9.11Wang Mingyu2023-05-101-1/+1
| | | | | | | | | | | | | | Changes: v2.9.11 Added xz dist Fix incorrect non-static memory return (drfiemost) (From OE-Core rev: f1285f72a7a48fb9d3eff8c00f524801446c8b42) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit a3932906cba1e693ff51a4fdcc60a7b15debee9f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* shadow: backport patch to fix CVE-2023-29383Xiangyu Chen2023-04-223-0/+120
| | | | | | | | | | | | The fix of CVE-2023-29383.patch contains a bug that it rejects all characters that are not control ones, so backup another patch named "0001-Overhaul-valid_field.patch" from upstream to fix it. (From OE-Core rev: b51e2c04daa4089f0aeabd9af197cc2f59f69a2b) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* screen: backport fix for CVE-2023-24626Ross Burton2023-04-222-0/+41
| | | | | | | | (From OE-Core rev: 05c7f446ca790f3695d04665aad118e42b7a52be) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpio: Fix wrong CRC with ASCII CRC for large filesMarek Vasut2023-04-062-0/+40
| | | | | | | | | | | | | Due to signedness, the checksum is not computed when filesize is bigger a 2GB. Pick a fix for this problem from CPIO ML, where the fix has been posted for 5 years. Since CPIO upstream is effectively unresponsive and any and all attempts to communicate with the maintainer and get the fix applied upstream failed, add the fix here instead. (From OE-Core rev: bfff138af4bdd356ac66571e6ad91c1a5599b935) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>