summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* gcc: Upgrade to 11.3 releaseKhem Raj2022-04-2249-962/+372
| | | | | | | | | | | | | This is a bugfix release on gcc-11 series, fixes 189 bugs [1] Drop backported patches already included in 11.3 release [1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3 (From OE-Core rev: c6d508157058adae401059e36df7fa778852859b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xorg-app: Tweak handling of compression changes in SRC_URIRichard Purdie2022-04-224-7/+5
| | | | | | | | Rather than duplicating SRC_URI, change the compression to a variable. (From OE-Core rev: 21547dd5319f27a8f7f20a80e39478f816b4bbe0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* install/devshell: Introduce git intercept script due to fakeroot issuesPaul Gortmaker2022-04-222-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a devshell, recent versions of git will complain if the repo is owned by someone other than the current UID - consider this example: ------ bitbake -c devshell linux-yocto [...] kernel-source#git branch fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source kernel-source# ------ Of course the devshell has UID zero and the "real" UID is for "paul" in this case. And so recent git versions complain. As the whole purpose of the devshell is to invoke a shell where development can take place, having a non-functional git is clearly unacceptable. Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I suggested we probably will see other similar instances like this and should make use of PATH to intercept via devshell wrappers - conveniently we already have examples of this. Here, we copy the existing "ar" example and tune it to the needs of git to combine Richard's suggestion and mine. As such we now also can store commit logs and use send-email with our user specific settings, instead of "root", so in additon to fixing basic commands like "git branch" it should also increase general usefulness. RP: Tweaked the patch so the PATH change only applies to the devshell task and is a generic git intercept rather than devshell specific. RP: Also apply the PATH change to do_install tasks since that also runs under fakeroot and several software projects inject "git describe" output into their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing reproducibility issues from systems with different git versions. (From OE-Core rev: 3266c327dfa186791e0f1e2ad63c6f5d39714814) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv8-4a.inc: add tune include for armv8.4aDmitry Baryshkov2022-04-211-0/+19
| | | | | | | | | | | | | Add tune include for armv8.4a. This adds support only for bare armv8.4a (and for crypto extension). There is no support for additional instructions added by architecture extensions (except the main crypto extension support). (From OE-Core rev: 39743abada4a2459c74831aa78930de5461adee2) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* arch-armv8-2a.inc: fix a typo in TUNEVALID variableDmitry Baryshkov2022-04-211-1/+1
| | | | | | | | | | | Fix a typo in the TUNEVALID[armv8-2a]: It enables instructions for ARMv8.2-a, not just ARMv8-a. (From OE-Core rev: 0a4404c117ef8733713962767c1d2c9f87c2c990) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: split ath3k firmwareDmitry Baryshkov2022-04-211-1/+5
| | | | | | | | | | | | Atheros AR3011 Bluetooth devices require special ath3k-1.fw firmware file. Package it separately from the main linux-firmware package to allow deploying this firmware on embedded devices. (From OE-Core rev: a12a5606f4c7003d9a90c493380c656ee557dea5) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: correct license for ar3k firmwareDmitry Baryshkov2022-04-211-2/+2
| | | | | | | | | | | | | According to the WHENCE file, some a3k firmware files are licensed under the special ar3k license, while others are licensed under the more generic Atheros license. Document this by adding extending the LICENSE:${PN}-ar3k and depending on both of them. (From OE-Core rev: 8e651814af706285d64b532095fcd6f5f02629ba) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto.bbclass: Fixup do_kernel_configcheck usage of KMETARuss Dill2022-04-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The do_kernel_configcheck task requires a meta directory, normally set by ${KMETA}. The meta directory is taken as a relative path from ${S}: outfile = "{}/{}/cfg/mismatch.txt".format( s, kmeta ) However, when checking for the presence of ${KMETA} the current working directory is searched. This will almost always fail and "kgit --meta" is used instead. If the user does have a path in their current working directory that matches the ${KMETA} variable but the path is not present within the kernel source directory, the build will fail if it tries to write config errors/ warnings to that path. If ${KMETA} is not set, the same problem exists with the hard-coded "meta" directory. Fix these issues by checking for ${KMETA} within ${S} rather than the current working directory. Additionally, drop the hardcoded backup directory "meta" as it hasn't been functioning and probably has no users (From OE-Core rev: f4a3e80a4a6f4f709d09940dcaf45b2b00654496) Signed-off-by: Russ Dill <russ.dill@nikolamotor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Prevent perform_packagecopy from removing /sysroot-onlyRuss Dill2022-04-211-7/+1
| | | | | | | | | | | | | | | | The files in /sysroot-only are intended to make it into the recipes sysroot output, but not into the package. However, if do_package is run before do_populate_sysroot, the files are removed. Use a smaller hammer to avoid copying the files into the package so they are still around when do_populate_sysroot runs. (From OE-Core rev: 493145c6f1bc92ab2b7a23e181641b09df87c9ff) Signed-off-by: Russ Dill <russ.dill@nikolamotor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: Drop redundant 'u' flag in ARFLAGSAndrei Gherzan2022-04-212-0/+36
| | | | | | | | (From OE-Core rev: f099e0467599b18f162bc101d2de2fcc3a75b2ec) Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xdpyinfo: upgrade 1.3.2 -> 1.3.3wangmy2022-04-201-2/+3
| | | | | | | | | | | temporarily override SRC_URI which is hard-coded in xorg-app-common.inc since new versions of packages use a new compression format - .tar.xz (From OE-Core rev: 712552b5cc427d7be1258c45886de9b57f7272c9) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkfontscale: upgrade 1.2.1 -> 1.2.2wangmy2022-04-201-2/+3
| | | | | | | | | | | temporarily override SRC_URI which is hard-coded in xorg-app-common.inc since new versions of packages use a new compression format - .tar.xz (From OE-Core rev: 7ac5e224fe55db17651988435a569a8a25b6b09f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxcursor: upgrade 1.2.0 -> 1.2.1wangmy2022-04-201-3/+3
| | | | | | | | | | | | | | temporarily override SRC_URI which is hard-coded in xorg-lib-common.inc since new versions of packages use a new compression format - .tar.xz License-Update: file type changed from "ISO-8859 text" to "UTF-8 Unicode text". (From OE-Core rev: 925db25e62341bb2b8d5eded0aa9b220433a93d1) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gstreamer1.0-plugins-bad: drop patchNaveen Saini2022-04-202-41/+0
| | | | | | | | | | | | | With latest gstreamer version pkg-config able to find header path with msdk enabled. Drop this patch as its not require anymore. (From OE-Core rev: eaa3b31247b4d3cc47428f4d80ae31f232e344d4) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* seatd: Disable overflow warning as error on ppc64/muslKhem Raj2022-04-201-0/+3
| | | | | | | | | | | | | | Disabling the warning is easier fix then trying to fix it in musl which results in ABI breakage and disabling the Werror gets us along by doing minimal change, also see [1] [1] https://todo.sr.ht/~kennylevinsen/seatd/10 (From OE-Core rev: 381cf11b994d2bf40ac8781e18b5eac17b3b6cb0) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemux86-64: disable legacy i8042 (AT keyboard, PS/2 mouse)Ross Burton2022-04-201-6/+5
| | | | | | | | | | | | | | | | | | | | These devices are historical, modern Linux will just use the USB devices, and occasionally the init of these devices fails: atkbd serio0: Failed to deactivate keyboard on isa0060/serio0 psmouse serio1: Failed to reset mouse on isa0060/serio1: -5 Explicitly add a USB keyboard to go with the USB tablet, and disable the i8042 entirely. [ YOCTO #14718 ] [ YOCTO #14743 ] (From OE-Core rev: c01f47003f34b9ad2fe3d17e1ead84c27ee1e57d) 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>
* qemu: backport a patch to optionally disable i8042 (AT and PS/2) hardwareRoss Burton2022-04-202-0/+124
| | | | | | | | | | | | Backport a patch from upstream (will be in qemu 7.0) to add an option to disable the legacy i8042 support (AT keyboard, PS/2 mouse). These devices are very historical and modern Linux environments use USB anyway. (From OE-Core rev: d73e4fcfc9ca4aab25f7751ba17974a839d6340f) 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>
* repo: upgrade 2.22 -> 2.23Jasper Orschulko2022-04-201-1/+1
| | | | | | | | (From OE-Core rev: cdee5d8a70e009c532efaa6c403953b905ba67af) Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgpg-error: Add ptestSimone Weiss2022-04-203-1/+17
| | | | | | | | | | | | Add a ptest for libgpg-error to core-image-ptest-all. Avoid refreshing the Makefile in qemu as this would fail and is not needed. All tests passed on a trial run. (From OE-Core rev: 51dd52604eb73c55fc32a99c3208653f27ba4091) Signed-off-by: Simone Weiss <simone.weiss@elektrobit.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: extract legacy provider module to a separate packagePeter Marko2022-04-201-2/+3
| | | | | | | | | | | | This module contains legacy cipher suites from libcrypto. We should not need to include base package because we want to use this part of libcrypto. (From OE-Core rev: 1537ebc3f6ae2aec9a3864b03704ab4dbc0e971b) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kexec-tools: upgrade 2.0.23 -> 2.0.24wangmy2022-04-202-9/+12
| | | | | | | | | | refresh 0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch (From OE-Core rev: 633247f8b84aeb2bd109567bb469a4de4cf53804) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gptfdisk: upgrade 1.0.8 -> 1.0.9wangmy2022-04-202-101/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-gptcurses-correct-ncurses-6.3-errors.patch removed since it's included in 1.0.9. Changelog: =========== - Added support for aligning partitions' end points. This feature affects the default partition size when using n in gdisk; it affects the default partition size in cgdisk; and it's activated by the new -I option in sgdisk. See the programs' respective man pages for details. This feature is intended to help with LUKS2 encryption, which reacts badly to partitions that are not sized as exact multiples of the encryption block size. - Added several new partition type codes: FreeBSD nandfs (0xa506) Apple APFS Pre-Boot (0xaf0b) Apple APFS Recovery (0xaf0c) ChromeOS firmware (0x7f03) ChromeOS mini-OS (0x7f04) ChromeOS hibernate (0x7f05) U-Boot boot loader (0xb000) 27 (!) codes for Fuchsia (0xf100 to 0xf11a) - Added the ability to build sgdisk and cgdisk for Windows. - Added a check for too-small disks (most likely to be an issue when trying to use a too-small disk image); program now aborts if this happens. - Removed stray debugging code that caused partNum is x to be printed when changing a partition's name with sgdisk. - Fixed build problems with recent versions of ncurses. - Fixed bug that caused cgdisk to report incorrect partition attributes. (From OE-Core rev: a0e6ee2b34ae21764f8a5a649916488902016395) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: upgrade 2020.81 -> 2022.82wangmy2022-04-205-26/+21
| | | | | | | | | | | | | | | | refresh the following patches for new version: 0001-urandom-xauth-changes-to-options.h.patch 0005-dropbear-enable-pam.patch dropbear-disable-weak-ciphers.patch Changelog: https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2022.82 (From OE-Core rev: d5f9c44ede9babd0f48306cfefe4a16065e8ea30) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: ptest: Fix glibc-tests package issuePgowda2022-04-201-1/+2
| | | | | | | | | | Run glibc-tests only when its enabled in the DISTRO_FEATURES. (From OE-Core rev: 5555e7cf935b047a3dc3228d26bf0fd52eb425e5) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sphinx-rtd-theme: upgrade 0.5.0 -> 1.0.0wangmy2022-04-201-1/+1
| | | | | | | | (From OE-Core rev: 3ecc9de517c136d5ee5c5fbf4ea3a54a73c4cad0) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jsonpointer: upgrade 2.2 -> 2.3wangmy2022-04-201-1/+1
| | | | | | | | (From OE-Core rev: 604219028487a60f1f09f7177005e58cf4243c82) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Always pass interpreter to linkerJoerg Vehlow2022-04-191-1/+2
| | | | | | | | | | | | | | | | | | When gos internal linker is used, it uses hardcoded paths to the interpreter (dynamic linker). For x86_64 this hardcoded path is /lib64/ld-linux-x86-64.so.2, but yocto's default dynamic linker path is /lib64/ld-linux-x86-64.so.2. Most of the time, the internal linker is not used and binutils linker sets the correct path, but sometimes the internal linker is used and the resulting binary will not work on x86_64. To ensure the path is always correct, pass it to the linker. (From OE-Core rev: 6b54215074d7f3dbba07f096f16b9c0acf51527c) Signed-off-by: Joerg Vehlow <joerg.vehlow@aox.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-helloworld: update to latest revisionAlexander Kanavin2022-04-191-1/+1
| | | | | | | (From OE-Core rev: aebf611b2a9f4c3a563b3a636c46ef239fe4daf3) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-target: Pass -trimpath to go linkerKhem Raj2022-04-191-2/+2
| | | | | | | | | | | This is for improving reproducibility to trim absolute paths as these recipes do not inherit go bbclass where it would be set automatically (From OE-Core rev: 365dae4e47b956b39fb62d9c6dcb917a11b37cba) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Disable pie in cgo for mipsKhem Raj2022-04-191-0/+2
| | | | | | | | | | | This overcomes the linking errors e.g. | /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60fef8): relocation R_MIPS_26 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC | /usr/lib/go/src/cmd/go/internal/base/base.go:110:(.text+0x60ff0c): relocation R_MIPS_HI16 against `a local symbol' cannot be used when making a shared object; recompile with -fPIC (From OE-Core rev: 4b379e94ea6d5b96245c8724689209b44cace562) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Drop GOBUILDMODEKhem Raj2022-04-193-44/+0
| | | | | | | | | | | This is local invention which is no longer needed, pie-mode works good now a days to build go for target (From OE-Core rev: 118411a565fb39df4bbae2a0ef2b25f03607a3a5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Upgrade to 1.18Khem Raj2022-04-1921-425/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.18 is a major release brings in long awaited new features e.g. generics, fuzzing Detailed list is here [1] Drop patches to manipulate multiword CC/CXX as go has fixed it differently [2] Drop cgo portion of patch to hack hash generation logic either we should find a way to not use it or redo it, in current form its not upstreamable and its altering core features of go compiler, it can not be maintained as is Do not emit linkinfo into the actionID Drop ignoring CVE-2021-29923 its already addressed in go >= 1.17 [1] https://go.dev/doc/go1.18 [2] https://groups.google.com/g/golang-codereviews/c/fUhCbpYG7HE (From OE-Core rev: 1a99cc2eed34434d75b2f53af1616ad79eef0906) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 3.1.1 -> 3.1.2zhengruoqin2022-04-191-1/+1
| | | | | | | (From OE-Core rev: 1306c732a39070e12306b0b7a393e2a482c8b326) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wireless-regdb: upgrade 2022.02.18 -> 2022.04.08zhengruoqin2022-04-191-1/+1
| | | | | | | (From OE-Core rev: c6ea7450a919f2b571746e7af350c1362e41f8e1) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssh: upgrade 8.9p1 -> 9.0p1zhengruoqin2022-04-193-71/+1
| | | | | | | (From OE-Core rev: ee2b6da307512beecebc468194d614ba5de33d01) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* git: upgrade 2.35.2 -> 2.35.3zhengruoqin2022-04-191-1/+1
| | | | | | | (From OE-Core rev: 457b5d4dad3e6fa77e80bed66666c36caa452380) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpcre2: upgrade 10.39 -> 10.40wangmy2022-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: year updated to 2022 Changelog: ========== 1. Merged patch from @carenas (GitHub #35, 7db87842) to fix pcre2grep incorrect handling of multiple passes. 2. Merged patch from @carenas (GitHub #36, dae47509) to fix portability issue in pcre2grep with buffered fseek(stdin). 3. Merged patch from @carenas (GitHub #37, acc520924) to fix tests when -S is not supported. 4. Revert an unintended change in JIT repeat detection. 5. Merged patch from @carenas (GitHub #52, b037bfa1) to fix build on GNU Hurd. 6. Merged documentation and comments patches from @carenas (GitHub #47). 7. Merged patch from @carenas (GitHub #49) to remove obsolete JFriedl test code from pcre2grep. 8. Merged patch from @carenas (GitHub #48) to fix CMake install issue #46. 9. Merged patch from @carenas (GitHub #53) fixing NULL checks in matching and substituting. 10. Add null_subject and null_replacement modifiers to pcre2test. 11. Add check for NULL subject to POSIX regexec() function. 12. Add check for NULL replacement to pcre2_substitute(). 13. For the subject arguments of pcre2_match(), pcre2_dfa_match(), and pcre2_substitute(), and the replacement argument of the latter, if the pointer is NULL and the length is zero, treat as an empty string. Apparently a number of applications treat NULL/0 in this way. 14. Added support for Bidi_Class and a number of binary Unicode properties, including Bidi_Control. 15. Fix some minor issues raised by clang sanitize. 16. Very minor code speed up for maximizing character property matches. 17. A number of changes to script matching for \p and \P: (a) Script extensions for a character are now coded as a bitmap instead of a list of script numbers, which should be faster and does not need a loop. (b) Added the syntax \p{script:xxx} and \p{script_extensions:xxx} (synonyms sc and scx). (c) Changed \p{scriptname} from being the same as \p{sc:scriptname} to being the same as \p{scx:scriptname} because this change happened in Perl at release 5.26. (d) The standard Unicode 4-letter abbreviations for script names are now recognized. (e) In accordance with Unicode and Perl's "loose matching" rules, spaces, hyphens, and underscores are ignored in property names, which are then matched independent of case. 18. The Python scripts in the maint directory have been refactored. There are now three scripts that generate pcre2_ucd.c, pcre2_ucp.h, and pcre2_ucptables.c (which is #included by pcre2_tables.c). The data lists that used to be duplicated are now held in a single common Python module. 19. On CHERI, and thus Arm's Morello prototype, pointers are represented as hardware capabilities, which consist of both an integer address and additional metadata, meaning they are twice the size of the platform's size_t type, i.e. 16 bytes on a 64-bit system. The ovector member of heapframe happens to only be 8 byte aligned, and so computing frame_size ended up with a multiple of 8 but not 16. Whilst the first frame was always suitably aligned, this then misaligned the frame that follows, resulting in an alignment fault when storing a pointer to Fecode at the start of match. Patch to fix this issue by Jessica Clarke PR#72. 20. Added -LP and -LS listing options to pcre2test. 21. A user discovered that the library names in CMakeLists.txt for MSVC debugger (PDB) files were incorrect - perhaps never tried for PCRE2? 22. An item such as [Aa] is optimized into a caseless single character match. When this was quantified (e.g. [Aa]{2}) and was also the last literal item in a pattern, the optimizing "must be present for a match" character check was not being flagged as caseless, causing some matches that should have succeeded to fail. 23. Fixed a unicode properrty matching issue in JIT. The character was not fully read in caseless matching. 24. Fixed an issue affecting recursions in JIT caused by duplicated data transfers. 25. Merged patch from @carenas (GitHub #96) which fixes some problems with pcre2test and readline/readedit: * Use the right header for libedit in FreeBSD with autoconf * Really allow libedit with cmake * Avoid using readline headers with libedit (From OE-Core rev: a4fed908dbb53f7e03257bf317af534dda6a471c) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mtools: upgrade 4.0.38 -> 4.0.39wangmy2022-04-191-1/+1
| | | | | | | | | | | | Changelog: ========== Rename strtoi to strosi (string to signed int). The strtoi function on BSD does something else (returns an intmax, not an int) (From OE-Core rev: abfd393eb659dcd12d1eee34c62f157336e9fb07) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20220310 -> 20220411wangmy2022-04-191-2/+2
| | | | | | | | | | | License-Update: Version of driver files updated Added files for some drivers (From OE-Core rev: 01684df3a51be476081ee21eb54c24fef00acb3f) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: upgrade 2.63 -> 2.64wangmy2022-04-191-1/+1
| | | | | | | (From OE-Core rev: bfbf8f05d1789b8a8a6826b83a21fd09b8e903ad) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgit2: upgrade 1.4.2 -> 1.4.3wangmy2022-04-191-1/+1
| | | | | | | | | | | | | | Changelog: ========= Validate repository directory ownership (v1.4) midx: Fix an undefined behavior (left-shift signed overflow) fetch: support OID refspec without dst Fix crash when regenerating a patch with unquoted spaces in filename (From OE-Core rev: bef09c61ee32df214fb8cf6000e0314ff3a38156) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libusb1: upgrade 1.0.25 -> 1.0.26wangmy2022-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | Changelog: ========== * Fix regression with transfer free's after closing device * Fix regression with destroyed context if API is misused * Workaround for applications using missing default context * Fix hotplog enumeration regression * Fix Windows isochronous transfer regression since 1.0.24 * Fix macOS exit crash in some multi-context cases * Build fixes for various platforms and configurations * Fix Windows HID multi-interface product string retrieval * Update isochronous OUT packet actual lengths on Windows * Add interface bound checking for broken devices * Add umockdev tests on Linux (From OE-Core rev: 7353489980600af07d0771654da6a8a3b0df7572) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libaio: upgrade 0.3.112 -> 0.3.113wangmy2022-04-192-7/+7
| | | | | | | | | refresh 00_arches.patch for new version. (From OE-Core rev: 8846f78425b123a5afd97d309bd9bd582ee1ea31) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* json-c: upgrade 0.15 -> 0.16wangmy2022-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========== Deprecated and removed features: -------------------------------- * JSON_C_OBJECT_KEY_IS_CONSTANT is deprecated in favor of JSON_C_OBJECT_ADD_CONSTANT_KEY * Direct access to lh_table and lh_entry structure members is deprecated. Use access functions instead, lh_table_head(), lh_entry_next(), etc... * Drop REFCOUNT_DEBUG code. New features ------------ * The 0.16 release introduces no new features Build changes ------------- * Add a DISABLE_EXTRA_LIBS option to skip using libbsd * Add a DISABLE_JSON_POINTER option to skip compiling in json_pointer support. Significant changes and bug fixes --------------------------------- * Cap string length at INT_MAX to avoid various issues with very long strings. * json_object_deep_copy: fix deep copy of strings containing '\0' * Fix read past end of buffer in the "json_parse" command * Avoid out of memory accesses in the locally provided vasprintf() function (for those platforms that use it) * Handle allocation failure in json_tokener_new_ex * Fix use-after-free in json_tokener_new_ex() in the event of printbuf_new() returning NULL * printbuf_memset(): set gaps to zero - areas within the print buffer which have not been initialized by using printbuf_memset * printbuf: return -1 on invalid arguments (len < 0 or total buffer > INT_MAX) * sprintbuf(): propagate printbuf_memappend errors back to the caller Optimizations -------------- * Speed up parsing by replacing ctype functions with simplified, faster non-locale-sensitive ones in json_tokener and json_object_to_json_string. * Neither vertical tab nor formfeed are considered whitespace per the JSON spec * json_object: speed up creation of objects, calloc() -> malloc() + set fields * Avoid needless extra strlen() call in json_c_shallow_copy_default() and json_object_equal() when the object is known to be a json_type_string. Other changes ------------- * Validate size arguments in arraylist functions. * Use getrandom() if available; with GRND_NONBLOCK to allow use of json-c very early during boot, such as part of cryptsetup. * Use arc4random() if it's available. * random_seed: on error, continue to next method instead of exiting the process * Close file when unable to read from /dev/urandom in get_dev_random_seed() (From OE-Core rev: 536251685e6de9d120d79e37ddf9fabd8cbf1c17) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* help2man: upgrade 1.49.1 -> 1.49.2wangmy2022-04-191-1/+1
| | | | | | | (From OE-Core rev: 8f015041839b21fd7b0c8edc2aca5492ce6463a8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* enchant2: upgrade 2.3.2 -> 2.3.3wangmy2022-04-191-1/+1
| | | | | | | | | | | | | | | | | Changelog: ========== Update Nuspell provider, requiring Nuspell 5.1.0. The new provider takes advantage of recently-added Nuspell APIs to be smaller and simpler. Fix the C++ API is_added() method to return a boolean rather than void. Require C99 and POSIX 2008, and as a result use fewer gnulib modules, which gives a modest build time reduction. (From OE-Core rev: f7e760c97164c1ad70fb0b88ddf2ffe8b7b0173e) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: upgrade 1.78.0 -> 1.79.0wangmy2022-04-194-69/+1
| | | | | | | | | | | | | | 0001-futex-fix-build-on-32-bit-architectures-using-64-bit.patch de657e01635306085488290ea83de541ec393f8b.patch removed since they're included in 1.79.0 Changelog: https://www.boost.org/users/history/version_1_79_0.html (From OE-Core rev: 091d73e893081bf15afa19a71203e941ac46b306) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update_udev_hwdb: fix multilib issue with systemdKai Kang2022-04-192-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | It duplicates udevadm in systemd recipe to make it could run update_udev_hwdb with multilib enabled. Since systemd last update, it deploys a shared library libsystemd-shared-250.so in /lib/systemd/. The library will be overwritten when multilib enabled. Then if both udev-hwdb and lib32-udev-hwdb are installed, it fails to run the multilib version postinstall intercept update_udev_hwdb: | /path/to/build/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-small/1.0-r1/rootfs/usr/libexec/lib32-udevadm: error while loading shared libraries: libsystemd-shared-250.so: wrong ELF class: ELFCLASS64 `udevadm hwdb --update` just concatenates .hwdb files in dirs /etc/udev/hwdb.d and /lib/udev/hwdb.d. The output file hwdb.bin is identical with the one created by lib32-udevadm. So do NOT duplicate lib32-udevadm in systemd and eudev. And update intercept script update_udev_hwdb that re-run udevadm with same arch qemuwrapper if run ${binprefix}qemuwrapper failed. (From OE-Core rev: 3dba872a42c2be7d0865a30118984ab013850292) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Inherit pkgconfigPeter Kjellerstedt2022-04-191-0/+3
| | | | | | | | | | pkg-config is used by the Makefiles, and thus pkgconfig needs to be inherited. (From OE-Core rev: 6148ac9bc5d3e0d0ffdbbd6695acd96ca1836b78) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: Correct the SRC_URIPeter Kjellerstedt2022-04-191-2/+1
| | | | | | | | | This avoids a redirect. (From OE-Core rev: 879bc5098943cf6977c32555ac31cb21be7b46ae) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>