summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/README.md5
-rw-r--r--meta-oe/SECURITY.md20
-rw-r--r--meta-oe/classes/capnproto.bbclass8
-rw-r--r--meta-oe/classes/check-version-mismatch.bbclass471
-rw-r--r--meta-oe/classes/discoverable-disk-image.bbclass137
-rw-r--r--meta-oe/classes/fitimage.bbclass540
-rw-r--r--meta-oe/classes/gitpkgv.bbclass68
-rw-r--r--meta-oe/classes/gpe.bbclass17
-rw-r--r--meta-oe/classes/image_types_verity.bbclass43
-rw-r--r--meta-oe/classes/panel-mipi-dbi.bbclass48
-rw-r--r--meta-oe/classes/signing.bbclass159
-rw-r--r--meta-oe/classes/sysext-image.bbclass87
-rwxr-xr-xmeta-oe/conf/include/non-repro-meta-oe.inc107
-rw-r--r--meta-oe/conf/include/ptest-packagelists-meta-oe.inc24
-rw-r--r--meta-oe/conf/layer.conf150
-rw-r--r--meta-oe/conf/version-check.conf37
-rwxr-xr-xmeta-oe/dynamic-layers/clang-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend3
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils-crates.inc558
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb24
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc282
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc (renamed from meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc)0
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch38
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Use-portable-atomics-crate.patch86
-rw-r--r--meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.1.0.bb (renamed from meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb)22
-rw-r--r--meta-oe/dynamic-layers/gnome-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend2
-rw-r--r--meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu_0.3.bb1
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb1
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-do-not-use-Werror.patch (renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0002-meson.build-do-not-use-Werror.patch)0
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch58
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch47
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.0.bb)12
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.5.bb)2
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb7
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb)0
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.1.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb)0
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc9
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc_git.bb1
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb3
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.8.bb (renamed from meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.7.bb)3
-rw-r--r--meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem_1.5.bb3
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend1
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch29
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-util-consideredharmful-Use-overloadable-func-attribu.patch58
-rw-r--r--meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb52
-rw-r--r--meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb (renamed from meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.0.bb)5
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb3
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb3
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch106
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service2
-rw-r--r--meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb16
-rw-r--r--meta-oe/files/static-group-meta-oe1
-rw-r--r--meta-oe/files/static-passwd-meta-oe3
-rw-r--r--meta-oe/licenses/MINPACK51
-rw-r--r--meta-oe/licenses/NPSL583
-rw-r--r--meta-oe/licenses/OLDAP-2.8 (renamed from meta-oe/licenses/OpenLDAP)0
-rw-r--r--meta-oe/licenses/X1123
-rw-r--r--meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb1
-rw-r--r--meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb1
-rw-r--r--meta-oe/recipes-benchmark/dbench/dbench_4.0.bb1
-rw-r--r--meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/0001-fix-too-many-arguments-error-in-gcc15.patch32
-rw-r--r--meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb2
-rw-r--r--meta-oe/recipes-benchmark/fio/fio_3.39.bb (renamed from meta-oe/recipes-benchmark/fio/fio_3.36.bb)8
-rw-r--r--meta-oe/recipes-benchmark/glmark2/glmark2_git.bb1
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch34
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3_507.bb (renamed from meta-oe/recipes-benchmark/iozone3/iozone3_506.bb)7
-rw-r--r--meta-oe/recipes-benchmark/iperf2/iperf2/0001-Detect-bool-definition-considering-stdbool.h-being-p.patch60
-rw-r--r--meta-oe/recipes-benchmark/iperf2/iperf2/0001-fix-for-buildroot-linux-breakage-ticket-342.patch26
-rw-r--r--meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb (renamed from meta-oe/recipes-benchmark/iperf2/iperf2_2.0.13.bb)7
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch66
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb (renamed from meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb)6
-rw-r--r--meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb4
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch210
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch)19
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch31
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch)22
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch)8
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch)12
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch)19
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch)12
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch)10
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch)8
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch)14
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch (renamed from meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch)6
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch41
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb79
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb79
-rw-r--r--meta-oe/recipes-benchmark/linpack/linpack/0001-Fix-build-error-in-gcc-15.0.1-due-to-function-redecl.patch52
-rw-r--r--meta-oe/recipes-benchmark/linpack/linpack_1.0.bb7
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench/0001-Fix-build-errors-related-to-incorrect-function-param.patch252
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb2
-rw-r--r--meta-oe/recipes-benchmark/mbw/mbw_2.0.bb1
-rw-r--r--meta-oe/recipes-benchmark/memtester/memtester_4.7.1.bb (renamed from meta-oe/recipes-benchmark/memtester/memtester_4.6.0.bb)2
-rw-r--r--meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch34
-rw-r--r--meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb4
-rw-r--r--meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb5
-rw-r--r--meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb1
-rw-r--r--meta-oe/recipes-benchmark/s-suite/s-suite_git.bb5
-rw-r--r--meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb1
-rw-r--r--meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb1
-rw-r--r--meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb1
-rw-r--r--meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb1
-rw-r--r--meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb6
-rw-r--r--meta-oe/recipes-bsp/acpitool/acpitool_0.5.1.bb3
-rw-r--r--meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb5
-rw-r--r--meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb4
-rw-r--r--meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb4
-rw-r--r--meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0001-add-support-for-cross-compilation.patch21
-rw-r--r--meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0002-Makefile-add-conditional-stripping.patch39
-rw-r--r--meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher_1.14.20.bb38
-rw-r--r--meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb1
-rw-r--r--meta-oe/recipes-bsp/firmwared/firmwared_git.bb4
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch44
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch52
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch49
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch68
-rw-r--r--meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb (renamed from meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb)13
-rw-r--r--meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb1
-rw-r--r--meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb (renamed from meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb)18
-rw-r--r--meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb3
-rw-r--r--meta-oe/recipes-bsp/irda-utils/irda-utils_0.9.18.bb1
-rw-r--r--meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb1
-rw-r--r--meta-oe/recipes-bsp/lm_sensors/lmsensors-config_1.0.bb3
-rw-r--r--meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb7
-rw-r--r--meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb15
-rw-r--r--meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb13
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-Use-C99-types-for-uint32_t.patch88
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-plugins-ssstc-Replace-__uint16_t-with-uint16_t.patch34
-rw-r--r--meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb (renamed from meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb)14
-rw-r--r--meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb1
-rw-r--r--meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb3
-rw-r--r--meta-oe/recipes-connectivity/ace/ace_8.0.2.bb (renamed from meta-oe/recipes-connectivity/ace/ace_6.5.19.bb)25
-rw-r--r--meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_10.1.0.bb13
-rw-r--r--meta-oe/recipes-connectivity/gammu/python3-gammu_3.2.4.bb4
-rw-r--r--meta-oe/recipes-connectivity/gattlib/gattlib_git.bb3
-rw-r--r--meta-oe/recipes-connectivity/gensio/gensio_2.8.7.bb (renamed from meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb)3
-rw-r--r--meta-oe/recipes-connectivity/hostapd/hostapd/defconfig3
-rw-r--r--meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb (renamed from meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb)4
-rw-r--r--meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb1
-rw-r--r--meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb1
-rw-r--r--meta-oe/recipes-connectivity/iwd/iwd/iwd42
-rw-r--r--meta-oe/recipes-connectivity/iwd/iwd_3.8.bb (renamed from meta-oe/recipes-connectivity/iwd/iwd_2.18.bb)17
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5/0001-Eliminate-old-style-function-declarations.patch10803
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5/0001-Fix-more-non-prototype-functions.patch862
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5/0002-Avoid-strict-prototype-compiler-errors.patch379
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5/CVE-2024-26458_CVE-2024-26461.patch207
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5/CVE-2025-24528.patch68
-rw-r--r--meta-oe/recipes-connectivity/krb5/krb5_1.21.3.bb (renamed from meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb)11
-rw-r--r--meta-oe/recipes-connectivity/libev/libev_4.33.bb1
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.2.bb (renamed from meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.2.0.bb)3
-rw-r--r--meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb1
-rw-r--r--meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb (renamed from meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb)3
-rw-r--r--meta-oe/recipes-connectivity/libmbim/libmbim_1.33.1.bb (renamed from meta-oe/recipes-connectivity/libmbim/libmbim_1.30.0.bb)5
-rw-r--r--meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch33
-rw-r--r--meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb6
-rw-r--r--meta-oe/recipes-connectivity/libndp/libndp_1.9.bb (renamed from meta-oe/recipes-connectivity/libndp/libndp_1.8.bb)3
-rw-r--r--meta-oe/recipes-connectivity/libnet/libnet_1.3.bb1
-rw-r--r--meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch10
-rw-r--r--meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Test-for-sys-uio.h.patch44
-rw-r--r--meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb (renamed from meta-oe/recipes-connectivity/libnfs/libnfs_5.0.3.bb)13
-rw-r--r--meta-oe/recipes-connectivity/libqmi/libqmi_1.34.0.bb1
-rw-r--r--meta-oe/recipes-connectivity/libqrtr-glib/libqrtr-glib_git.bb1
-rw-r--r--meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb3
-rw-r--r--meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb (renamed from meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb)5
-rw-r--r--meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-sll_protocol-may-be-be16.patch29
-rw-r--r--meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb (renamed from meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb)7
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch26
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch48
-rw-r--r--meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb (renamed from meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb)14
-rw-r--r--meta-oe/recipes-connectivity/modemmanager/modemmanager_1.22.0.bb1
-rw-r--r--meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb1
-rw-r--r--meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb6
-rw-r--r--meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb6
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch37
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb)8
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch59
-rw-r--r--meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.5.3.bb (renamed from meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.2.bb)11
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch52
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-initialize-timespec-variable.patch35
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-packet-Initialize-m_ExternalRawData-in-IDnsResource-.patch34
-rw-r--r--meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb (renamed from meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb)8
-rw-r--r--meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch131
-rw-r--r--meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.15.0.bb (renamed from meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb)5
-rw-r--r--meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb (renamed from meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb)5
-rw-r--r--meta-oe/recipes-connectivity/ser2net/ser2net_4.6.5.bb (renamed from meta-oe/recipes-connectivity/ser2net/ser2net_4.6.2.bb)2
-rw-r--r--meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb3
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb1
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch15
-rw-r--r--meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb22
-rw-r--r--meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb (renamed from meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb)5
-rw-r--r--meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb (renamed from meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb)11
-rw-r--r--meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb1
-rw-r--r--meta-oe/recipes-connectivity/wifi-test-suite/files/0005-wfa_cmdproc-Store-return-value-into-location.patch (renamed from meta-oe/recipes-connectivity/wifi-test-suite/files/0001-wfa_cmdproc-Store-return-value-into-location.patch)0
-rw-r--r--meta-oe/recipes-connectivity/wifi-test-suite/files/0006-make-CFLAGS-appendable.patch60
-rw-r--r--meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb11
-rw-r--r--meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb7
-rw-r--r--meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb5
-rw-r--r--meta-oe/recipes-connectivity/zabbix/zabbix/0001-initialize-msghdr-portably.patch52
-rw-r--r--meta-oe/recipes-connectivity/zabbix/zabbix_7.0.9.bb (renamed from meta-oe/recipes-connectivity/zabbix/zabbix_6.2.7.bb)9
-rw-r--r--meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb (renamed from meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb)8
-rw-r--r--meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb2
-rw-r--r--meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb1
-rw-r--r--meta-oe/recipes-core/basu/basu_0.2.1.bb1
-rw-r--r--meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb25
-rw-r--r--meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb42
-rw-r--r--meta-oe/recipes-core/dbus/dbus-broker_32.bb32
-rw-r--r--meta-oe/recipes-core/dbus/dbus-broker_36.bb38
-rw-r--r--meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb5
-rw-r--r--meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb4
-rw-r--r--meta-oe/recipes-core/emlog/emlog.inc4
-rw-r--r--meta-oe/recipes-core/emlog/files/0001-Remove-modules_clean-from-clean-target.patch (renamed from meta-oe/recipes-core/emlog/emlog/0001-Remove-modules_clean-from-clean-target.patch)0
-rw-r--r--meta-oe/recipes-core/emlog/files/0001-emlog-Do-not-use-no_llseek-with-kernel-6.12.0.patch32
-rw-r--r--meta-oe/recipes-core/emlog/files/Drop-use-of-error-h.patch (renamed from meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch)0
-rw-r--r--meta-oe/recipes-core/emlog/files/emlog.initd (renamed from meta-oe/recipes-core/emlog/emlog/emlog.initd)0
-rw-r--r--meta-oe/recipes-core/glfw/glfw_3.3.8.bb1
-rw-r--r--meta-oe/recipes-core/glib-2.0/glib-testing_0.1.1.bb1
-rw-r--r--meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.80.0.bb2
-rw-r--r--meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb (renamed from meta-oe/recipes-core/glib-2.0/glibmm_2.66.2.bb)6
-rw-r--r--meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb2
-rw-r--r--meta-oe/recipes-core/libnfc/libnfc_git.bb1
-rw-r--r--meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb7
-rw-r--r--meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb9
-rw-r--r--meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb4
-rw-r--r--meta-oe/recipes-core/mdbus2/mdbus2_git.bb1
-rw-r--r--meta-oe/recipes-core/minizip-ng/minizip-ng/0001-crypt.h-Remove-register-keyword.patch35
-rw-r--r--meta-oe/recipes-core/minizip-ng/minizip-ng/run-ptest3
-rw-r--r--meta-oe/recipes-core/minizip-ng/minizip-ng_4.0.8.bb44
-rw-r--r--meta-oe/recipes-core/minizip/minizip_1.3.1.bb25
-rw-r--r--meta-oe/recipes-core/mm-common/mm-common/0001-meson.build-do-not-ask-for-python-installation-versi.patch45
-rw-r--r--meta-oe/recipes-core/mm-common/mm-common_1.0.7.bb (renamed from meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb)7
-rw-r--r--meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb4
-rw-r--r--meta-oe/recipes-core/ndctl/ndctl_v79.bb7
-rw-r--r--meta-oe/recipes-core/opencl/clpeak_1.1.5.bb14
-rw-r--r--meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch42
-rw-r--r--meta-oe/recipes-core/opencl/files/0001-Ignore-Compiler-Warnings.patch43
-rw-r--r--meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb1
-rw-r--r--meta-oe/recipes-core/opencl/opencl-clhpp_2024.10.24.bb (renamed from meta-oe/recipes-core/opencl/opencl-clhpp_git.bb)14
-rw-r--r--meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb30
-rw-r--r--meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb (renamed from meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb)17
-rw-r--r--meta-oe/recipes-core/opencl/opencl-icd-loader_2024.05.08.bb1
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb710
-rw-r--r--meta-oe/recipes-core/pim435/pim435_git.bb5
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch35
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch31
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb2
-rw-r--r--meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb7
-rw-r--r--meta-oe/recipes-core/safec/safec_3.7.1.bb1
-rw-r--r--meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_255.6.bb1
-rw-r--r--meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.1.0.bb (renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.0.0.bb)6
-rw-r--r--meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.1.0.bb (renamed from meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb)8
-rw-r--r--meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb59
-rw-r--r--meta-oe/recipes-core/toybox/toybox_0.8.12.bb (renamed from meta-oe/recipes-core/toybox/toybox_0.8.11.bb)2
-rw-r--r--meta-oe/recipes-core/usleep/usleep_1.2.bb7
-rw-r--r--meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc1374
-rw-r--r--meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0001-do-not-compile-stdbuf.patch39
-rw-r--r--meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0002-Bump-onig-from-6.4.0-to-6.5.1.patch131
-rw-r--r--meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.1.0.bb (renamed from meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.26.bb)31
-rw-r--r--meta-oe/recipes-crypto/botan/botan_3.7.1.bb (renamed from meta-oe/recipes-crypto/botan/botan_3.4.0.bb)31
-rw-r--r--meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb (renamed from meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.2.bb)4
-rw-r--r--meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.6.bb (renamed from meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.5.bb)5
-rw-r--r--meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb1
-rw-r--r--meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch119
-rw-r--r--meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb6
-rw-r--r--meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb1
-rw-r--r--meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb2
-rw-r--r--meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb1
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb5
-rw-r--r--meta-oe/recipes-dbs/leveldb/leveldb_1.23.bb1
-rw-r--r--meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb1
-rw-r--r--meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb2
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb-native_11.4.6.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb)0
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb.inc46
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch52
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch41
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch10
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch170
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-Remove-the-compile_time_assert-lines.patch43
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-aio_linux-Check-if-syscall-exists-before-using-it.patch15
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch7
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch11
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch7
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch9
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch9
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/lfs64.patch10
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch13
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/mysql-systemd-start4
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/mysqld.service2
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch43
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch19
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch11
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch7
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch12
-rw-r--r--meta-oe/recipes-dbs/mysql/mariadb_11.4.6.bb (renamed from meta-oe/recipes-dbs/mysql/mariadb_10.11.7.bb)0
-rw-r--r--meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch34
-rw-r--r--meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb26
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch26
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch13
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch13
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch18
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch9
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql.inc26
-rw-r--r--meta-oe/recipes-dbs/postgresql/postgresql_17.5.bb (renamed from meta-oe/recipes-dbs/postgresql/postgresql_16.3.bb)5
-rw-r--r--meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch45
-rw-r--r--meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb3
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch42
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch65
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch41
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/run-ptest12
-rw-r--r--meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch71
-rw-r--r--meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb (renamed from meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb)30
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch7
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch39
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-abseil-ppc-fixes.patch (renamed from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch)43
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch49
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch82
-rw-r--r--meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb (renamed from meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb)16
-rw-r--r--meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb1
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb4
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb3
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service2
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch69
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb18
-rw-r--r--meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch42
-rw-r--r--meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb2
-rw-r--r--meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb67
-rw-r--r--meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13/0001-Add-config.guess-config.sub-install-to-destdir.patch67
-rw-r--r--meta-oe/recipes-devtools/b4/b4_0.14.2.bb13
-rw-r--r--meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb7
-rw-r--r--meta-oe/recipes-devtools/capnproto/capnproto/0001-Export-binaries-only-for-native-build.patch53
-rw-r--r--meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb7
-rw-r--r--meta-oe/recipes-devtools/cbindgen/cbindgen/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch38
-rw-r--r--meta-oe/recipes-devtools/cbindgen/cbindgen_0.28.0.bb148
-rw-r--r--meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb2
-rw-r--r--meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb6
-rw-r--r--meta-oe/recipes-devtools/cloc/cloc_1.98.bb3
-rw-r--r--meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb1
-rw-r--r--meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb13
-rw-r--r--meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb6
-rw-r--r--meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb12
-rw-r--r--meta-oe/recipes-devtools/cscope/cscope_15.9.bb1
-rw-r--r--meta-oe/recipes-devtools/ctags/ctags_6.2.20250615.0.bb (renamed from meta-oe/recipes-devtools/ctags/ctags_6.1.20240602.0.bb)5
-rw-r--r--meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch18
-rw-r--r--meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch13
-rw-r--r--meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch (renamed from meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch)9
-rw-r--r--meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.141.bb (renamed from meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb)8
-rw-r--r--meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb1
-rw-r--r--meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb1
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch37
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch232
-rw-r--r--meta-oe/recipes-devtools/doxygen/doxygen_1.14.0.bb (renamed from meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb)14
-rw-r--r--meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb (renamed from meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.7.bb)3
-rw-r--r--meta-oe/recipes-devtools/exprtk/exprtk_git.bb5
-rw-r--r--meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb1
-rw-r--r--meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb6
-rw-r--r--meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc4
-rw-r--r--meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb4
-rw-r--r--meta-oe/recipes-devtools/flatcc/flatcc_git.bb1
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins/0001-projectorganizer-fix-invalid-string-comparison.patch24
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins/0002-projectorganizer-fix-various-warnings.patch45
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins/0003-projectorganizer-Use-g_pattern_spec_match_string-ins.patch89
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch30
-rw-r--r--meta-oe/recipes-devtools/geany/geany-plugins_2.0.bb (renamed from meta-oe/recipes-devtools/geany/geany-plugins_1.38.bb)16
-rw-r--r--meta-oe/recipes-devtools/geany/geany/0001-configure-Upgrade-to-a-modern-Gettext.patch11
-rw-r--r--meta-oe/recipes-devtools/geany/geany/geany-2.0-gcc15.patch146
-rw-r--r--meta-oe/recipes-devtools/geany/geany_2.0.bb (renamed from meta-oe/recipes-devtools/geany/geany_1.38.bb)3
-rw-r--r--meta-oe/recipes-devtools/giflib/files/add_suffix_to_convert_binary_used_in_Makefile.patch42
-rw-r--r--meta-oe/recipes-devtools/giflib/giflib/0001-Makefile-fix-typo-in-soname-argument.patch34
-rw-r--r--meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb8
-rw-r--r--meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch54
-rw-r--r--meta-oe/recipes-devtools/glade/glade_3.36.0.bb (renamed from meta-oe/recipes-devtools/glade/glade_3.22.2.bb)23
-rw-r--r--meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb (renamed from meta-oe/recipes-devtools/grpc/grpc_1.60.1.bb)21
-rw-r--r--meta-oe/recipes-devtools/guider/guider_3.9.9.bb (renamed from meta-oe/recipes-devtools/guider/guider_3.9.8.bb)9
-rw-r--r--meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb31
-rw-r--r--meta-oe/recipes-devtools/icon-slicer/files/hotspotfix.patch27
-rw-r--r--meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb11
-rw-r--r--meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb1
-rw-r--r--meta-oe/recipes-devtools/jq/jq_1.8.0.bb (renamed from meta-oe/recipes-devtools/jq/jq_1.7.1.bb)4
-rw-r--r--meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb1
-rw-r--r--meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb2
-rw-r--r--meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.6.bb (renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.5.bb)5
-rw-r--r--meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.4.1.bb5
-rw-r--r--meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.1.bb (renamed from meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.0.bb)3
-rw-r--r--meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb4
-rw-r--r--meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb59
-rw-r--r--meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb105
-rw-r--r--meta-oe/recipes-devtools/ldns/ldns_1.8.4.bb (renamed from meta-oe/recipes-devtools/ldns/ldns_1.8.3.bb)5
-rw-r--r--meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb1
-rw-r--r--meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch91
-rw-r--r--meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb17
-rw-r--r--meta-oe/recipes-devtools/libgee/libgee_0.20.6.bb23
-rw-r--r--meta-oe/recipes-devtools/libgee/libgee_0.20.8.bb58
-rw-r--r--meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb1
-rw-r--r--meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch46
-rwxr-xr-xmeta-oe/recipes-devtools/libtoml11/files/run-ptest12
-rw-r--r--meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb38
-rw-r--r--meta-oe/recipes-devtools/libubox/libubox_git.bb4
-rw-r--r--meta-oe/recipes-devtools/lshw/lshw_02.20.bb1
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-ARM-code-has-unreachable-code-after-switch-statement.patch42
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-Fix-tautological-compare-warning.patch261
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-ensure-the-struct-pointers-are-null-initilized.patch46
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-ppc-plt-do-not-free-symbol-libsym.patch29
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-proc-Make-PROC_PID_FILE-not-use-variable-length-arra.patch34
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace/0001-replace-readdir_r-with-readdir.patch36
-rw-r--r--meta-oe/recipes-devtools/ltrace/ltrace_git.bb13
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit/clang.patch19
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit_git.bb7
-rw-r--r--meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb3
-rw-r--r--meta-oe/recipes-devtools/makeself/makeself_2.5.0.bb1
-rw-r--r--meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb1
-rw-r--r--meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb11
-rw-r--r--meta-oe/recipes-devtools/memstat/memstat_1.0.bb3
-rw-r--r--meta-oe/recipes-devtools/memtool/memtool/run-ptest27
-rw-r--r--meta-oe/recipes-devtools/memtool/memtool/test_read_write_plainfiles.sh69
-rw-r--r--meta-oe/recipes-devtools/memtool/memtool_2018.03.0.bb31
-rw-r--r--meta-oe/recipes-devtools/mercurial/mercurial_6.6.3.bb5
-rw-r--r--meta-oe/recipes-devtools/microcom/microcom_2023.09.0.bb3
-rw-r--r--meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb6
-rw-r--r--meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb (renamed from meta-oe/recipes-devtools/mpich/mpich_4.2.1.bb)4
-rw-r--r--meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb1
-rw-r--r--meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb (renamed from meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.0.bb)7
-rw-r--r--meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb3
-rw-r--r--meta-oe/recipes-devtools/musl/musl-nscd_git.bb1
-rw-r--r--meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb1
-rwxr-xr-xmeta-oe/recipes-devtools/nlohmann-json/files/run-ptest6
-rw-r--r--meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb (renamed from meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb)11
-rwxr-xr-xmeta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.16/oe-npm-cache (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.13/oe-npm-cache)0
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb)3
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch15
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-Do-not-use-glob-in-deps.patch22
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch55
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch18
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch60
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch63
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch38
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch19
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch11
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch86
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch12
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb (renamed from meta-oe/recipes-devtools/nodejs/nodejs_20.13.0.bb)100
-rw-r--r--meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch38
-rw-r--r--meta-oe/recipes-devtools/openocd/openocd_git.bb6
-rw-r--r--meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch (renamed from meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch)1
-rw-r--r--meta-oe/recipes-devtools/pahole/pahole_1.29.bb (renamed from meta-oe/recipes-devtools/pahole/pahole_1.25.bb)9
-rw-r--r--meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb2
-rw-r--r--meta-oe/recipes-devtools/pcimem/pcimem_2.0.bb4
-rw-r--r--meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch58
-rw-r--r--meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch40
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto.bb2
-rw-r--r--meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch (renamed from meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch)20
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.bb57
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto.inc10
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch (renamed from meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch)18
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch105
-rw-r--r--meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch28
-rw-r--r--meta-oe/recipes-devtools/perl/dbd-mariadb_1.24.bb (renamed from meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb)4
-rw-r--r--meta-oe/recipes-devtools/perl/exiftool_12.89.bb (renamed from meta-oe/recipes-devtools/perl/exiftool_12.85.bb)3
-rw-r--r--meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb1
-rw-r--r--meta-oe/recipes-devtools/perl/libconfig-general-perl_2.67.bb (renamed from meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb)4
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch56
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb (renamed from meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb)13
-rw-r--r--meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb4
-rw-r--r--meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb2
-rw-r--r--meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb (renamed from meta-oe/recipes-devtools/perl/libjson-perl_4.03000.bb)3
-rw-r--r--meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb3
-rw-r--r--meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb (renamed from meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb)10
-rw-r--r--meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb3
-rw-r--r--meta-oe/recipes-devtools/php/php/0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch93
-rw-r--r--meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch (renamed from meta-oe/recipes-devtools/php/php/0004-configure.ac-don-t-include-build-libtool.m4.patch)6
-rw-r--r--meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch254
-rw-r--r--meta-oe/recipes-devtools/php/php/0002-build-php.m4-don-t-unset-cache-variables.patch45
-rw-r--r--meta-oe/recipes-devtools/php/php/0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch (renamed from meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch)11
-rw-r--r--meta-oe/recipes-devtools/php/php/0003-iconv-fix-detection.patch (renamed from meta-oe/recipes-devtools/php/php/0010-iconv-fix-detection.patch)22
-rw-r--r--meta-oe/recipes-devtools/php/php/0003-php-remove-host-specific-info-from-header-file.patch36
-rw-r--r--meta-oe/recipes-devtools/php/php/0004-pear-fix-Makefile.frag-for-Yocto.patch (renamed from meta-oe/recipes-devtools/php/php/0005-pear-fix-Makefile.frag-for-Yocto.patch)10
-rw-r--r--meta-oe/recipes-devtools/php/php/0005-sapi-cli-config.m4-fix-build-directory.patch (renamed from meta-oe/recipes-devtools/php/php/0007-sapi-cli-config.m4-fix-build-directory.patch)17
-rw-r--r--meta-oe/recipes-devtools/php/php/0008-ext-imap-config.m4-fix-include-paths.patch45
-rw-r--r--meta-oe/recipes-devtools/php/php/0009-php-don-t-use-broken-wrapper-for-mkdir.patch31
-rw-r--r--meta-oe/recipes-devtools/php/php_8.4.8.bb (renamed from meta-oe/recipes-devtools/php/php_8.2.18.bb)69
-rw-r--r--meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb40
-rw-r--r--meta-oe/recipes-devtools/ply/ply_git.bb5
-rw-r--r--meta-oe/recipes-devtools/pmtools/pmtools/pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch82
-rw-r--r--meta-oe/recipes-devtools/pmtools/pmtools_git.bb34
-rw-r--r--meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb33
-rw-r--r--meta-oe/recipes-devtools/poke/poke_4.2.bb (renamed from meta-oe/recipes-devtools/poke/poke_4.1.bb)12
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch29
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf-30.patch1446
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb)12
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch30
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch35
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch46
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/0001-utf8_range-add-version-marker-to-library-19009.patch43
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb (renamed from meta-oe/recipes-devtools/protobuf/protobuf_4.25.3.bb)34
-rw-r--r--meta-oe/recipes-devtools/pugixml/pugixml_1.15.bb (renamed from meta-oe/recipes-devtools/pugixml/pugixml_1.14.bb)5
-rw-r--r--meta-oe/recipes-devtools/python/python3-apt_2.5.3.bb1
-rw-r--r--meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb2
-rw-r--r--meta-oe/recipes-devtools/python/python3-pefile/run-ptest3
-rw-r--r--meta-oe/recipes-devtools/python/python3-pefile_2023.2.7.bb28
-rw-r--r--meta-oe/recipes-devtools/python/python3-psycopg_3.2.9.bb14
-rw-r--r--meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb1
-rw-r--r--meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb1
-rw-r--r--meta-oe/recipes-devtools/sexpect/sexpect_2.3.15.bb (renamed from meta-oe/recipes-devtools/sexpect/sexpect_2.3.14.bb)5
-rw-r--r--meta-oe/recipes-devtools/sip/sip_6.12.0.bb (renamed from meta-oe/recipes-devtools/sip/sip_6.8.3.bb)12
-rw-r--r--meta-oe/recipes-devtools/smemstat/smemstat_0.02.13.bb1
-rw-r--r--meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch52
-rw-r--r--meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb6
-rw-r--r--meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb (renamed from meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb)3
-rw-r--r--meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb3
-rw-r--r--meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch32
-rw-r--r--meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb18
-rw-r--r--meta-oe/recipes-devtools/systemd/nativesdk-systemd-systemctl.bb3
-rw-r--r--meta-oe/recipes-devtools/tclap/files/0001-tclap-add-pkg-config-file.patch50
-rw-r--r--meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb7
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/confsearch.diff)3
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff)4
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff (renamed from meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff)4
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb (renamed from meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb)46
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb101
-rwxr-xr-xmeta-oe/recipes-devtools/tomlplusplus/files/run-ptest12
-rw-r--r--meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb24
-rw-r--r--meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb (renamed from meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb)3
-rw-r--r--meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb1
-rw-r--r--meta-oe/recipes-devtools/uw-imap/uw-imap/CVE-2018-19518.patch24
-rw-r--r--meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb11
-rw-r--r--meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb (renamed from meta-oe/recipes-devtools/valijson/valijson_1.0.2.bb)5
-rw-r--r--meta-oe/recipes-devtools/xerces-c/xerces-c/0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch58
-rw-r--r--meta-oe/recipes-devtools/xerces-c/xerces-c_3.3.0.bb (renamed from meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb)12
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-bool-reserved-word-error-in-gcc-15.patch50
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch16
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch80
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch34
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch18
-rw-r--r--meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb (renamed from meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb)15
-rw-r--r--meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb1
-rw-r--r--meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb1
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch39
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch38
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm/CVE-2023-31975.patch29
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm/CVE-2023-37732.patch41
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm_git.bb12
-rw-r--r--meta-oe/recipes-extended/7zip/7zip_24.09.bb76
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-Allow-running-tests-on-target-when-cross-compiling.patch45
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-Allow-specifying-path-to-7z-library-in-tests.patch48
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch41
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-Fix-reinterpret-cast-compiler-errors.patch52
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-Fix-tests-with-musl.patch51
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch29
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z/run-ptest18
-rw-r--r--meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb88
-rw-r--r--meta-oe/recipes-extended/7zip/files/0001-support-yocto-cross-compiling.patch53
-rwxr-xr-xmeta-oe/recipes-extended/7zip/files/7z_wrapper.sh4
-rw-r--r--meta-oe/recipes-extended/beep/beep_1.4.12.bb1
-rw-r--r--meta-oe/recipes-extended/bitwise/bitwise_0.50.bb3
-rw-r--r--meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb5
-rw-r--r--meta-oe/recipes-extended/brotli/brotli_1.1.0.bb5
-rw-r--r--meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch39
-rw-r--r--meta-oe/recipes-extended/byacc/byacc_20241231.bb (renamed from meta-oe/recipes-extended/byacc/byacc_20230219.bb)4
-rw-r--r--meta-oe/recipes-extended/canopenterm/canopenterm_1.0.10.bb29
-rw-r--r--meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.5.bb (renamed from meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.0.bb)8
-rw-r--r--meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb3
-rw-r--r--meta-oe/recipes-extended/cmatrix/cmatrix/0001-reproducibility-Prevent-configuration-from-reading-h.patch58
-rw-r--r--meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb8
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-cmpi-bindings-Fix-build-error-with-gcc14.patch46
-rw-r--r--meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb (renamed from meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb)14
-rw-r--r--meta-oe/recipes-extended/collectd/collectd_5.12.0.bb2
-rw-r--r--meta-oe/recipes-extended/ddrescue/ddrescue_1.29.1.bb (renamed from meta-oe/recipes-extended/ddrescue/ddrescue_1.28.bb)4
-rw-r--r--meta-oe/recipes-extended/dialog/dialog_1.3-20250116.bb (renamed from meta-oe/recipes-extended/dialog/dialog_1.3-20240307.bb)7
-rw-r--r--meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch40
-rw-r--r--meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb2
-rw-r--r--meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb1
-rw-r--r--meta-oe/recipes-extended/duktape/duktape_2.7.0.bb2
-rw-r--r--meta-oe/recipes-extended/dumb-init/dumb-init_1.2.5.bb1
-rw-r--r--meta-oe/recipes-extended/enscript/enscript/0001-enscript-does-not-build-with-C23-standard.patch32
-rw-r--r--meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch3
-rw-r--r--meta-oe/recipes-extended/enscript/enscript_1.6.6.bb2
-rw-r--r--meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-Replacing-GPR_ASSERT-with-c-assert.patch33
-rw-r--r--meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb8
-rw-r--r--meta-oe/recipes-extended/etcd/etcd_3.5.7.bb4
-rw-r--r--meta-oe/recipes-extended/figlet/figlet_git.bb1
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.6.bb (renamed from meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.5.bb)3
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb (renamed from meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb)30
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch64
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch34
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch95
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch28
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch4
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0002-mbedtls-Remove-unused-variable.patch40
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch36
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Disable-documentation-warning-as-error-with-.patch32
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Do-not-overwrite-CFLAGS.patch34
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch45
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0004-build-Make-systemd-init-systemd-detection-contingent.patch63
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch (renamed from meta-oe/recipes-extended/fluentbit/fluentbit/0002-chunkio-Link-with-fts-library-with-musl.patch)11
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch31
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0005-stackdriver-Fix-return-type-mismatch.patch33
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0006-monkey-Fix-TLS-detection-testcase.patch36
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch46
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb95
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb151
-rw-r--r--meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb8
-rw-r--r--meta-oe/recipes-extended/haveged/haveged_1.9.19.bb (renamed from meta-oe/recipes-extended/haveged/haveged_1.9.18.bb)6
-rw-r--r--meta-oe/recipes-extended/hexedit/hexedit_1.6.bb1
-rw-r--r--meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch75
-rw-r--r--meta-oe/recipes-extended/highway/highway_1.2.0.bb5
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis/run-ptest12
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb3
-rw-r--r--meta-oe/recipes-extended/hplip/hplip/0001-Fix-upstream-CFLAGS-override.patch68
-rw-r--r--meta-oe/recipes-extended/hplip/hplip_3.22.10.bb17
-rw-r--r--meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch14
-rw-r--r--meta-oe/recipes-extended/icewm/icewm_3.7.5.bb (renamed from meta-oe/recipes-extended/icewm/icewm_3.4.5.bb)3
-rw-r--r--meta-oe/recipes-extended/indent/indent_2.2.12.bb1
-rw-r--r--meta-oe/recipes-extended/inputattach-config/inputattach-config.bb3
-rw-r--r--meta-oe/recipes-extended/iotop/iotop_1.30.bb (renamed from meta-oe/recipes-extended/iotop/iotop_1.26.bb)7
-rw-r--r--meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.5.bb (renamed from meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.4.bb)3
-rw-r--r--meta-oe/recipes-extended/jansson/jansson/0001-Fix-overwriting-linker-flags.patch29
-rw-r--r--meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch29
-rw-r--r--meta-oe/recipes-extended/jansson/jansson_2.14.1.bb (renamed from meta-oe/recipes-extended/jansson/jansson_2.14.bb)8
-rw-r--r--meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb1
-rw-r--r--meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb3
-rw-r--r--meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch31
-rw-r--r--meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb36
-rw-r--r--meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb4
-rw-r--r--meta-oe/recipes-extended/libblockdev/libblockdev_3.2.1.bb (renamed from meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb)15
-rwxr-xr-xmeta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb (renamed from meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb)3
-rw-r--r--meta-oe/recipes-extended/libcec/libcec/0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch42
-rw-r--r--meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch33
-rw-r--r--meta-oe/recipes-extended/libcec/libcec/0001-cecloader-Match-return-type-of-function-LibCecBootlo.patch41
-rw-r--r--meta-oe/recipes-extended/libcec/libcec_7.0.0.bb (renamed from meta-oe/recipes-extended/libcec/libcec_6.0.2.bb)10
-rw-r--r--meta-oe/recipes-extended/libconfig/libconfig/0001-Fix-declarations-to-allow-build-with-gcc-15.patch38
-rw-r--r--meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb8
-rw-r--r--meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb1
-rw-r--r--meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb1
-rw-r--r--meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb1
-rw-r--r--meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb1
-rw-r--r--meta-oe/recipes-extended/libidn/libidn/0001-largefile.m4-Sync-with-latest-gnulib.patch390
-rw-r--r--meta-oe/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch22
-rw-r--r--meta-oe/recipes-extended/libidn/libidn_1.43.bb (renamed from meta-oe/recipes-extended/libidn/libidn_1.41.bb)15
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libplist_2.6.0.bb (renamed from meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb)3
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libplist_git.bb1
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb (renamed from meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.0.2.bb)5
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb1
-rw-r--r--meta-oe/recipes-extended/libleak/libleak_0.3.6.bb1
-rw-r--r--meta-oe/recipes-extended/liblightmodbus/liblightmodbus_2.0.2.bb1
-rw-r--r--meta-oe/recipes-extended/liblockfile/liblockfile_1.17.bb2
-rw-r--r--meta-oe/recipes-extended/liblogging/liblogging_1.0.6.bb1
-rw-r--r--meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb1
-rw-r--r--meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb (renamed from meta-oe/recipes-extended/libmodbus/libmodbus_3.1.10.bb)3
-rw-r--r--meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb1
-rw-r--r--meta-oe/recipes-extended/libqb/libqb_2.0.8.bb11
-rw-r--r--meta-oe/recipes-extended/libreport/libreport_2.17.15.bb1
-rw-r--r--meta-oe/recipes-extended/libserialport/libserialport_0.1.2.bb (renamed from meta-oe/recipes-extended/libserialport/libserialport_0.1.1.bb)3
-rw-r--r--meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb1
-rw-r--r--meta-oe/recipes-extended/libuio/libuio_0.2.1.bb1
-rw-r--r--meta-oe/recipes-extended/libwmf/libwmf/0001-configure-use-pkg-config-for-freetype.patch67
-rw-r--r--meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-intoverflow.patch33
-rw-r--r--meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-useafterfree.patch16
-rw-r--r--meta-oe/recipes-extended/libwmf/libwmf_0.2.13.bb31
-rw-r--r--meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb31
-rw-r--r--meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb6
-rw-r--r--meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch9
-rw-r--r--meta-oe/recipes-extended/libyang/libyang_3.12.2.bb (renamed from meta-oe/recipes-extended/libyang/libyang_2.1.148.bb)9
-rw-r--r--meta-oe/recipes-extended/libzip/libzip_1.11.4.bb (renamed from meta-oe/recipes-extended/libzip/libzip_1.10.1.bb)2
-rw-r--r--meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.1.bb4
-rw-r--r--meta-oe/recipes-extended/logwatch/logwatch_7.11.bb (renamed from meta-oe/recipes-extended/logwatch/logwatch_7.10.bb)2
-rw-r--r--meta-oe/recipes-extended/lprng/lprng_3.8.C.bb8
-rw-r--r--meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb (renamed from meta-oe/recipes-extended/magic-enum/magic-enum_0.9.5.bb)5
-rw-r--r--meta-oe/recipes-extended/md5deep/md5deep_git.bb1
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch238
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0001-libminifi-Rename-mutex_-to-mtx_-member-of-Concurrent.patch37
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch24
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch8
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0004-Fix-spdlog-build.patch44
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch (renamed from meta-oe/recipes-extended/minifi-cpp/files/0005-Pass-noline-flag-to-flex.patch)12
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch32
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch (renamed from meta-oe/recipes-extended/minifi-cpp/files/0007-CMakeLists.txt-do-not-use-ccache.patch)12
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch36
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0007-libsodium-aarch64-set-compiler-attributes-after-including-arm_.patch141
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/files/0008-libsodium-aarch64_crypto.patch38
-rw-r--r--meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.1.bb (renamed from meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb)97
-rw-r--r--meta-oe/recipes-extended/minio/src_uri.inc204
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-115/0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch44
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch19
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-115/fix-musl-build.patch29
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0001-Cargo.toml-do-not-abort-on-panic.patch)7
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch27
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0001-add-arm-to-list-of-mozinline.patch)7
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0001-rewrite-cargo-host-linker-in-python3.patch)3
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0001-util.configure-fix-one-occasionally-reproduced-confi.patch)7
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0002-moz.configure-do-not-look-for-llvm-objdump.patch)9
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch)5
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/0004-use-asm-sgidefs.h.patch)3
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patch28
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch)14
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch30
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patch (renamed from meta-oe/recipes-extended/mozjs/mozjs-115/riscv32.patch)15
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb (renamed from meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb)26
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb7
-rw-r--r--meta-oe/recipes-extended/nana/nana_git.bb1
-rw-r--r--meta-oe/recipes-extended/networking/mstpd_git.bb1
-rw-r--r--meta-oe/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch29
-rw-r--r--meta-oe/recipes-extended/newt/files/cross_ar.patch25
-rw-r--r--meta-oe/recipes-extended/newt/libnewt_0.52.25.bb (renamed from meta-oe/recipes-extended/newt/libnewt_0.52.24.bb)5
-rw-r--r--meta-oe/recipes-extended/nicstat/nicstat_1.95.bb1
-rw-r--r--meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb28
-rw-r--r--meta-oe/recipes-extended/openwsman/openwsman_2.7.2.bb3
-rw-r--r--meta-oe/recipes-extended/ostree/ostree_2024.10.bb (renamed from meta-oe/recipes-extended/ostree/ostree_2024.6.bb)6
-rw-r--r--meta-oe/recipes-extended/p7zip/files/0001-Fix-narrowing-errors-Wc-11-narrowing.patch49
-rw-r--r--meta-oe/recipes-extended/p7zip/files/CVE-2016-9296.patch27
-rw-r--r--meta-oe/recipes-extended/p7zip/files/CVE-2017-17969.patch40
-rw-r--r--meta-oe/recipes-extended/p7zip/files/CVE-2018-5996.patch227
-rw-r--r--meta-oe/recipes-extended/p7zip/files/change_numMethods_from_bool_to_unsigned.patch34
-rw-r--r--meta-oe/recipes-extended/p7zip/files/do_not_override_compiler_and_do_not_strip.patch38
-rw-r--r--meta-oe/recipes-extended/p7zip/p7zip_16.02.bb44
-rw-r--r--meta-oe/recipes-extended/p8platform/p8platform_git.bb1
-rw-r--r--meta-oe/recipes-extended/pam/pam-plugin-ccreds_11.bb4
-rw-r--r--meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb1
-rw-r--r--meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb29
-rw-r--r--meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb16
-rw-r--r--meta-oe/recipes-extended/parallel/parallel_20250522.bb39
-rw-r--r--meta-oe/recipes-extended/pegtl/pegtl/run-ptest23
-rw-r--r--meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb13
-rw-r--r--meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb23
-rw-r--r--meta-oe/recipes-extended/perl/libfile-fnmatch-perl_0.02.bb3
-rw-r--r--meta-oe/recipes-extended/plocate/plocate_1.1.23.bb (renamed from meta-oe/recipes-extended/plocate/plocate_1.1.22.bb)2
-rw-r--r--meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb (renamed from meta-oe/recipes-extended/pmdk/pmdk_2.1.0.bb)13
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb2
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb2
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb2
-rw-r--r--meta-oe/recipes-extended/polkit/polkit-group-rule.inc6
-rw-r--r--meta-oe/recipes-extended/polkit/polkit_126.bb (renamed from meta-oe/recipes-extended/polkit/polkit_124.bb)44
-rw-r--r--meta-oe/recipes-extended/properties-cpp/properties-cpp_git.bb4
-rw-r--r--meta-oe/recipes-extended/qad/qad_git.bb4
-rw-r--r--meta-oe/recipes-extended/qcbor/qcbor_1.4.1.bb (renamed from meta-oe/recipes-extended/qcbor/qcbor_1.3.bb)3
-rw-r--r--meta-oe/recipes-extended/qhull/qhull/0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch35
-rw-r--r--meta-oe/recipes-extended/qhull/qhull_2020.2.bb26
-rw-r--r--meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb3
-rw-r--r--meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb1
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch)7
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0002-lua-update-Makefile-to-use-environment-build-setting.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch)6
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0003-hack-to-force-use-of-libc-malloc.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch)7
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0004-src-Do-not-reset-FINAL_LIBS.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch)4
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch29
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/0006-Define-correct-gregs-for-RISCV32.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch)4
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-extended/redis/redis-7.2.8/init-redis-server (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/redis.conf (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf)0
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.8/redis.service (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/redis.service)0
-rw-r--r--meta-oe/recipes-extended/redis/redis/0001-hiredis-use-default-CC-if-it-is-set.patch (renamed from meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch)14
-rw-r--r--meta-oe/recipes-extended/redis/redis/0002-lua-update-Makefile-to-use-environment-build-setting.patch (renamed from meta-oe/recipes-extended/redis/redis/lua-update-Makefile-to-use-environment-build-setting.patch)10
-rw-r--r--meta-oe/recipes-extended/redis/redis/0003-hack-to-force-use-of-libc-malloc.patch (renamed from meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch)9
-rw-r--r--meta-oe/recipes-extended/redis/redis/0004-src-Do-not-reset-FINAL_LIBS.patch (renamed from meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch)8
-rw-r--r--meta-oe/recipes-extended/redis/redis/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch (renamed from meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch)6
-rw-r--r--meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch12
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-extended/redis/redis/init-redis-server0
-rw-r--r--meta-oe/recipes-extended/redis/redis_6.2.18.bb (renamed from meta-oe/recipes-extended/redis/redis_6.2.14.bb)21
-rw-r--r--meta-oe/recipes-extended/redis/redis_7.2.8.bb (renamed from meta-oe/recipes-extended/redis/redis_7.2.5.bb)26
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool/b76e3c578f1e9f582e9c28f50d82b1f569602075.patch1583
-rw-r--r--meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb (renamed from meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb)16
-rw-r--r--meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb3
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb21
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch11
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch9
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch9
-rw-r--r--meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb (renamed from meta-oe/recipes-extended/rsyslog/rsyslog_8.2404.0.bb)39
-rw-r--r--meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-eh-no-give-up-share-detection.patch68
-rw-r--r--meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-gcc-only-GNU-specifics-after-Og.patch45
-rw-r--r--meta-oe/recipes-extended/s-nail/s-nail_14.9.25.bb (renamed from meta-oe/recipes-extended/s-nail/s-nail_14.9.24.bb)4
-rw-r--r--meta-oe/recipes-extended/sanlock/sanlock_4.0.0.bb (renamed from meta-oe/recipes-extended/sanlock/sanlock_3.9.3.bb)3
-rw-r--r--meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb4
-rw-r--r--meta-oe/recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb5
-rw-r--r--meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch53
-rw-r--r--meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb9
-rw-r--r--meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch72
-rw-r--r--meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb9
-rw-r--r--meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb16
-rw-r--r--meta-oe/recipes-extended/sedutil/files/0001-include-missing-cstdint.patch32
-rw-r--r--meta-oe/recipes-extended/sedutil/sedutil_git.bb7
-rw-r--r--meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb3
-rw-r--r--meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb1
-rw-r--r--meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch2
-rw-r--r--meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb1
-rw-r--r--meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb1
-rw-r--r--meta-oe/recipes-extended/snappy/snappy_1.1.10.bb1
-rw-r--r--meta-oe/recipes-extended/socketcan/can-isotp_git.bb3
-rw-r--r--meta-oe/recipes-extended/socketcan/can-utils/0001-Include-time.h-for-timespec-struct-definition.patch28
-rw-r--r--meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb (renamed from meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb)51
-rw-r--r--meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb3
-rw-r--r--meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb3
-rw-r--r--meta-oe/recipes-extended/socketcan/socketcand_git.bb15
-rw-r--r--meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch31
-rw-r--r--meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb6
-rw-r--r--meta-oe/recipes-extended/tipcutils/tipcutils_git.bb3
-rw-r--r--meta-oe/recipes-extended/tmate/tmate_2.4.0.bb1
-rw-r--r--meta-oe/recipes-extended/tmux/tmux_3.5.bb (renamed from meta-oe/recipes-extended/tmux/tmux_3.3a.bb)6
-rw-r--r--meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb7
-rw-r--r--meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb4
-rw-r--r--meta-oe/recipes-extended/upm/upm_git.bb1
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch30
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch (renamed from meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch)10
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch43
-rwxr-xr-xmeta-oe/recipes-extended/valkey/valkey/init-valkey-server71
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch82
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch42
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/valkey.conf1314
-rw-r--r--meta-oe/recipes-extended/valkey/valkey/valkey.service16
-rw-r--r--meta-oe/recipes-extended/valkey/valkey_8.1.1.bb76
-rw-r--r--meta-oe/recipes-extended/vlock/vlock_2.2.3.bb3
-rw-r--r--meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb3
-rw-r--r--meta-oe/recipes-extended/wipe/wipe_0.24.bb1
-rw-r--r--meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb4
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch26
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch8
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/fix-libdir-for-multilib.patch)35
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/create-links-with-relative-path.patch)22
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0004-don-not-append-system-name-to-lib-name.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/not-append-system-name-to-lib-name.patch)12
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0005-wx-config-fix-libdir-for-multilib.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/wx-config-fix-libdir-for-multilib.patch)29
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0006-Fix-locale-on-musl.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch)18
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets/0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch)9
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.6.bb (renamed from meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb)20
-rw-r--r--meta-oe/recipes-extended/zlog/zlog_1.2.16.bb1
-rw-r--r--meta-oe/recipes-extended/zram/zram_0.2.bb7
-rw-r--r--meta-oe/recipes-extended/zsync/zsync-curl_git.bb10
-rw-r--r--meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.3.bb2
-rw-r--r--meta-oe/recipes-gnome/gcab/gcab/0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch37
-rw-r--r--meta-oe/recipes-gnome/gcab/gcab_1.6.bb1
-rw-r--r--meta-oe/recipes-gnome/gcr/gcr3_3.41.2.bb2
-rw-r--r--meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb (renamed from meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb)9
-rw-r--r--meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb3
-rw-r--r--meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb (renamed from meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb)5
-rw-r--r--meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb5
-rw-r--r--meta-oe/recipes-gnome/gtk+/gtk+/CVE-2024-6655.patch40
-rw-r--r--meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb3
-rw-r--r--meta-oe/recipes-gnome/libjcat/libjcat_0.2.3.bb (renamed from meta-oe/recipes-gnome/libjcat/libjcat_0.2.1.bb)5
-rw-r--r--meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch82
-rw-r--r--meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb28
-rw-r--r--meta-oe/recipes-gnome/malcontent/malcontent-ui.bb5
-rw-r--r--meta-oe/recipes-gnome/malcontent/malcontent.bb15
-rw-r--r--meta-oe/recipes-gnome/malcontent/malcontent.inc5
-rw-r--r--meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb1
-rw-r--r--meta-oe/recipes-graphics/aml/aml_git.bb1
-rw-r--r--meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb2
-rw-r--r--meta-oe/recipes-graphics/cairo/cairomm_1.14.5.bb (renamed from meta-oe/recipes-graphics/cairo/cairomm_1.14.3.bb)2
-rw-r--r--meta-oe/recipes-graphics/cglm/cglm_0.9.6.bb (renamed from meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb)5
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc300
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch36
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch1239
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch172
-rw-r--r--meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb21
-rw-r--r--meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb1
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb3
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb.inc24
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch44
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb1
-rw-r--r--meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb1
-rw-r--r--meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb12
-rw-r--r--meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb12
-rw-r--r--meta-oe/recipes-graphics/fbida/fbida_git.bb1
-rw-r--r--meta-oe/recipes-graphics/feh/feh_3.10.3.bb (renamed from meta-oe/recipes-graphics/feh/feh_3.10.2.bb)2
-rw-r--r--meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch181
-rw-r--r--meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb2
-rw-r--r--meta-oe/recipes-graphics/fontforge/libspiro_20240903.bb (renamed from meta-oe/recipes-graphics/fontforge/libspiro_20221101.bb)5
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch38
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch33
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch38
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch38
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb27
-rw-r--r--meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb19
-rw-r--r--meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb4
-rw-r--r--meta-oe/recipes-graphics/glad/glad_2.0.8.bb11
-rw-r--r--meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb1
-rw-r--r--meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb3
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch41
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb15
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch58
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch33
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_12.2.1.bb (renamed from meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb)11
-rw-r--r--meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb6
-rw-r--r--meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb (renamed from meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.119.bb)11
-rw-r--r--meta-oe/recipes-graphics/imlib2/imlib2_git.bb5
-rw-r--r--meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb (renamed from meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb)7
-rw-r--r--meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb (renamed from meta-oe/recipes-graphics/leptonica/leptonica_1.82.0.bb)3
-rw-r--r--meta-oe/recipes-graphics/libdecor/libdecor_0.2.3.bb (renamed from meta-oe/recipes-graphics/libdecor/libdecor_0.2.2.bb)7
-rw-r--r--meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb7
-rw-r--r--meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb30
-rw-r--r--meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb4
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.27.bb (renamed from meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb)7
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb2
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb3
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb3
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb3
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb30
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb16
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch34
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb27
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb33
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb27
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb17
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch69
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch23
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb35
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb14
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb7
-rw-r--r--meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb34
-rw-r--r--meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb15
-rw-r--r--meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb15
-rw-r--r--meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb78
-rw-r--r--meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb3
-rw-r--r--meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch176
-rw-r--r--meta-oe/recipes-graphics/libyui/libyui-ncurses_4.6.2.bb (renamed from meta-oe/recipes-graphics/libyui/libyui-ncurses_4.2.3.bb)14
-rw-r--r--meta-oe/recipes-graphics/libyui/libyui_4.6.2.bb (renamed from meta-oe/recipes-graphics/libyui/libyui_4.2.3.bb)5
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch32
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch63
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch45
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch52
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch59
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch69
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch68
-rw-r--r--meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch29
-rw-r--r--meta-oe/recipes-graphics/lvgl/lv-conf.inc17
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.2.2.bb (renamed from meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb)17
-rw-r--r--meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb (renamed from meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb)9
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb9
-rw-r--r--meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.1.bb (renamed from meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.0.bb)5
-rw-r--r--meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb1
-rw-r--r--meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb1
-rw-r--r--meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch56
-rw-r--r--meta-oe/recipes-graphics/openbox/obconf_git.bb1
-rw-r--r--meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb5
-rw-r--r--meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch (renamed from meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch)10
-rw-r--r--meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.3.bb (renamed from meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb)5
-rw-r--r--meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb27
-rw-r--r--meta-oe/recipes-graphics/pango/pangomm-2.48_2.56.1.bb (renamed from meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb)4
-rw-r--r--meta-oe/recipes-graphics/pango/pangomm_2.46.4.bb (renamed from meta-oe/recipes-graphics/pango/pangomm_2.46.2.bb)2
-rw-r--r--meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb1
-rw-r--r--meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb1
-rw-r--r--meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb (renamed from meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb)5
-rw-r--r--meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb1
-rw-r--r--meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb3
-rw-r--r--meta-oe/recipes-graphics/surf/surf_2.1.bb1
-rw-r--r--meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb1
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb1
-rw-r--r--meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb (renamed from meta-oe/recipes-graphics/tesseract/tesseract_5.3.4.bb)3
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch)14
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch)14
-rw-r--r--meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch (renamed from meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch)16
-rw-r--r--meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb133
-rw-r--r--meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb87
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb5
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.300.bb (renamed from meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.100.bb)8
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb4
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb22
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb26
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb1
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb1
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb1
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb4
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb4
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb6
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb6
-rw-r--r--meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb1
-rw-r--r--meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb1
-rw-r--r--meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb19
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch47
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch22
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch123
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch34
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch32
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch2
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch4
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch20
-rwxr-xr-xmeta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py131
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc73
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc25
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch114
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb30
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb40
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc26
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch114
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb41
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb25
-rw-r--r--meta-oe/recipes-graphics/wayland/libei_1.4.1.bb (renamed from meta-oe/recipes-graphics/wayland/libei_1.2.1.bb)3
-rw-r--r--meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb1
-rw-r--r--meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb1
-rw-r--r--meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb1
-rw-r--r--meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.9.bb (renamed from meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.8.bb)2
-rw-r--r--meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb5
-rw-r--r--meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-app/twm_1.0.13.1.bb (renamed from meta-oe/recipes-graphics/xorg-app/twm_1.0.12.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.6.bb (renamed from meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.5.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb (renamed from meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb (renamed from meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm_394.bb (renamed from meta-oe/recipes-graphics/xorg-app/xterm_392.bb)4
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb (renamed from meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb2
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb (renamed from meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb1
-rw-r--r--meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb1
-rw-r--r--meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb2
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch364
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch30
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch112
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch26
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch87
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch40
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch31
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch27
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch27
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch32
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch32
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch26
-rw-r--r--meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb44
-rw-r--r--meta-oe/recipes-graphics/yad/yad_6.0.bb1
-rw-r--r--meta-oe/recipes-graphics/ydotool/ydotool_git.bb1
-rw-r--r--meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb1
-rw-r--r--meta-oe/recipes-kernel/blktests/blktests.bb18
-rw-r--r--meta-oe/recipes-kernel/bpftool/bpftool.bb4
-rw-r--r--meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb1
-rw-r--r--meta-oe/recipes-kernel/cpupower/cpupower.bb2
-rw-r--r--meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb (renamed from meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.4.bb)6
-rw-r--r--meta-oe/recipes-kernel/crash/crash.inc11
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch48
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch89
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch85
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch136
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch60
-rw-r--r--meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch83
-rw-r--r--meta-oe/recipes-kernel/crash/crash_8.0.6.bb (renamed from meta-oe/recipes-kernel/crash/crash_8.0.4.bb)0
-rw-r--r--meta-oe/recipes-kernel/drgn/python3-drgn_0.0.32.bb79
-rw-r--r--meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb2
-rw-r--r--meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb9
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb41
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch34
-rw-r--r--meta-oe/recipes-kernel/kpatch/kpatch.inc1
-rw-r--r--meta-oe/recipes-kernel/kpatch/kpatch_git.bb1
-rw-r--r--meta-oe/recipes-kernel/ktls-utils/ktls-utils/0001-tlshd-Define-ALLPERMS-if-it-doesn-t-exist-to-fix-mus.patch36
-rw-r--r--meta-oe/recipes-kernel/ktls-utils/ktls-utils/0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch36
-rw-r--r--meta-oe/recipes-kernel/ktls-utils/ktls-utils_1.0.0.bb24
-rw-r--r--meta-oe/recipes-kernel/libbpf/files/0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch43
-rw-r--r--meta-oe/recipes-kernel/libbpf/files/CVE-2025-29481.patch102
-rw-r--r--meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb (renamed from meta-oe/recipes-kernel/libbpf/libbpf_1.4.2.bb)9
-rw-r--r--meta-oe/recipes-kernel/libpfm/libpfm4_4.13.0.bb2
-rw-r--r--meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.1.bb (renamed from meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.0.bb)3
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch139
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb62
-rw-r--r--meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb1
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch105
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch42
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch51
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch39
-rw-r--r--meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb (renamed from meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb)16
-rw-r--r--meta-oe/recipes-kernel/spidev-test/spidev-test.bb2
-rw-r--r--meta-oe/recipes-kernel/trace-cmd/trace-cmd_3.1.5.bb1
-rw-r--r--meta-oe/recipes-kernel/turbostat/turbostat.bb (renamed from meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb)28
-rw-r--r--meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb2
-rw-r--r--meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb6
-rw-r--r--meta-oe/recipes-multimedia/audiofile/files/0004-Always-check-the-number-of-coefficients.patch46
-rw-r--r--meta-oe/recipes-multimedia/audiofile/files/0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch43
-rw-r--r--meta-oe/recipes-multimedia/audiofile/files/0006-Check-for-multiplication-overflow-in-sfconvert.patch79
-rw-r--r--meta-oe/recipes-multimedia/audiofile/files/0007-Actually-fail-when-error-occurs-in-parseFormat.patch46
-rw-r--r--meta-oe/recipes-multimedia/audiofile/files/0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch126
-rw-r--r--meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb6
-rw-r--r--meta-oe/recipes-multimedia/faad2/faad2_2.11.2.bb (renamed from meta-oe/recipes-multimedia/faad2/faad2_2.11.1.bb)3
-rw-r--r--meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb2
-rw-r--r--meta-oe/recipes-multimedia/jack/a2jmidid_9.bb3
-rw-r--r--meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb33
-rw-r--r--meta-oe/recipes-multimedia/jack/jack_1.9.22.bb16
-rw-r--r--meta-oe/recipes-multimedia/libass/libass_0.17.4.bb (renamed from meta-oe/recipes-multimedia/libass/libass_0.17.2.bb)3
-rw-r--r--meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb3
-rw-r--r--meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb1
-rw-r--r--meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb3
-rw-r--r--meta-oe/recipes-multimedia/libjxl/libjxl/0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch56
-rw-r--r--meta-oe/recipes-multimedia/libjxl/libjxl_0.10.3.bb (renamed from meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb)8
-rw-r--r--meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8372_CVE-2017-8373.patch69
-rw-r--r--meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8374.patch830
-rw-r--r--meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb9
-rw-r--r--meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb1
-rw-r--r--meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb2
-rw-r--r--meta-oe/recipes-multimedia/libopusenc/libopusenc_0.2.1.bb6
-rw-r--r--meta-oe/recipes-multimedia/libxmp/libxmp_4.6.3.bb10
-rw-r--r--meta-oe/recipes-multimedia/live555/live555_20210824.bb2
-rw-r--r--meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.11.1.bb1
-rw-r--r--meta-oe/recipes-multimedia/mplayer/libplacebo_7.351.0.bb28
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb116
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb102
-rw-r--r--meta-oe/recipes-multimedia/pulseaudio/pavucontrol_5.0.bb2
-rw-r--r--meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb3
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch46
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-ctl-Install-media-ctl-header-and-library-files.patch78
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch49
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb (renamed from meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb)10
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb20
-rw-r--r--meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb1
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch8
-rw-r--r--meta-oe/recipes-multimedia/webm/libvpx_1.15.2.bb (renamed from meta-oe/recipes-multimedia/webm/libvpx_1.14.1.bb)5
-rw-r--r--meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb5
-rw-r--r--meta-oe/recipes-multimedia/xsp/xsp/0001-fix-incompatible-pointer-types-build-error-in-gcc-15.patch40
-rw-r--r--meta-oe/recipes-multimedia/xsp/xsp_1.0.0-8.bb11
-rw-r--r--meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch4
-rw-r--r--meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb (renamed from meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb)16
-rw-r--r--meta-oe/recipes-navigation/geos/geos_3.13.1.bb (renamed from meta-oe/recipes-navigation/geos/geos_3.12.1.bb)2
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch51
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb (renamed from meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb)13
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch29
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch14
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch12
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb (renamed from meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb)5
-rw-r--r--meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0001-configure-prototypes.patch39
-rw-r--r--meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch122
-rw-r--r--meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0003-Add-compatibility-for-gcc-15-869.patch530
-rw-r--r--meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb26
-rw-r--r--meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch28
-rw-r--r--meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb15
-rw-r--r--meta-oe/recipes-printing/cups/cups-pk-helper_0.2.7.bb2
-rw-r--r--meta-oe/recipes-printing/qpdf/qpdf_12.2.0.bb (renamed from meta-oe/recipes-printing/qpdf/qpdf_11.9.0.bb)5
-rw-r--r--meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch13
-rw-r--r--meta-oe/recipes-security/audit/audit/0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch49
-rw-r--r--meta-oe/recipes-security/audit/audit/audit-volatile.conf1
-rw-r--r--meta-oe/recipes-security/audit/audit_4.0.5.bb (renamed from meta-oe/recipes-security/audit/audit_4.0.1.bb)26
-rw-r--r--meta-oe/recipes-security/bubblewrap/bubblewrap/0001-Use-stdbool.h-for-booleans.patch633
-rw-r--r--meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb (renamed from meta-oe/recipes-security/bubblewrap/bubblewrap_0.9.0.bb)7
-rw-r--r--meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb34
-rw-r--r--meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb1
-rw-r--r--meta-oe/recipes-security/nmap/files/0001-Make-ndiff-support-python3.patch1720
-rw-r--r--meta-oe/recipes-security/nmap/files/0001-configure.ac-make-ndiff-depend-on-python3.patch48
-rw-r--r--meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch55
-rw-r--r--meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch165
-rw-r--r--meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch16
-rw-r--r--meta-oe/recipes-security/nmap/files/nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch20
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch31
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0002-replace-.-shtool-mkdir-with-coreutils-mkdir-command.patch38
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0003-Include-time.h-header-to-pass-clang-compilation.patch76
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0004-Fix-building-with-libc.patch79
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0005-fix-racing-between-build-ncat-and-build-lua.patch55
-rw-r--r--meta-oe/recipes-security/nmap/nmap-7.92/0006-Fix-build-with-libpcap-1.10.5.patch47
-rw-r--r--meta-oe/recipes-security/nmap/nmap_7.92.bb66
-rw-r--r--meta-oe/recipes-security/nmap/nmap_7.95.bb (renamed from meta-oe/recipes-security/nmap/nmap_7.80.bb)20
-rw-r--r--meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch672
-rw-r--r--meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb1
-rw-r--r--meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb34
-rw-r--r--meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.6.1.bb2
-rw-r--r--meta-oe/recipes-security/usbguard/usbguard/0001-Adapt-for-protobuf-30.0-API-changes.patch89
-rw-r--r--meta-oe/recipes-security/usbguard/usbguard_1.1.3.bb6
-rw-r--r--meta-oe/recipes-shells/dash/dash_0.5.12.bb2
-rw-r--r--meta-oe/recipes-shells/mksh/mksh_59c.bb2
-rw-r--r--meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_1.patch60
-rw-r--r--meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_2.patch140
-rw-r--r--meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_3.patch77
-rw-r--r--meta-oe/recipes-shells/zsh/zsh_5.9.bb (renamed from meta-oe/recipes-shells/zsh/zsh_5.8.bb)36
-rw-r--r--meta-oe/recipes-support/ace-cloud-editor/ace-cloud-editor_git.bb1
-rw-r--r--meta-oe/recipes-support/anthy/anthy_9100h.bb6
-rw-r--r--meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch37
-rw-r--r--meta-oe/recipes-support/asio/asio/run-ptest19
-rw-r--r--meta-oe/recipes-support/asio/asio_1.30.2.bb19
-rw-r--r--meta-oe/recipes-support/atop/atop/0001-Redefine-function-prototypes-solves-issue-322.patch1154
-rw-r--r--meta-oe/recipes-support/atop/atop/0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch67
-rw-r--r--meta-oe/recipes-support/atop/atop/fix-permissions.patch54
-rw-r--r--meta-oe/recipes-support/atop/atop_2.11.0.bb (renamed from meta-oe/recipes-support/atop/atop_2.4.0.bb)19
-rw-r--r--meta-oe/recipes-support/augeas/augeas_1.12.0.bb1
-rw-r--r--meta-oe/recipes-support/avro/avro-c++_1.11.3.bb7
-rw-r--r--meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch59
-rw-r--r--meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch386
-rw-r--r--meta-oe/recipes-support/avro/avro-c_1.11.3.bb12
-rw-r--r--meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch45
-rw-r--r--meta-oe/recipes-support/bcu/bcu_1.1.115.bb22
-rw-r--r--meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb (renamed from meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb)3
-rw-r--r--meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb19
-rw-r--r--meta-oe/recipes-support/boost-sml/boost-sml_1.1.12.bb (renamed from meta-oe/recipes-support/boost-sml/boost-sml_1.1.11.bb)3
-rw-r--r--meta-oe/recipes-support/btop/btop_1.4.3.bb (renamed from meta-oe/recipes-support/btop/btop_1.3.2.bb)6
-rw-r--r--meta-oe/recipes-support/bvi/bvi_1.4.2.bb17
-rw-r--r--meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb (renamed from meta-oe/recipes-support/c-ares/c-ares_1.27.0.bb)8
-rw-r--r--meta-oe/recipes-support/c-periphery/c-periphery_2.4.3.bb (renamed from meta-oe/recipes-support/c-periphery/c-periphery_2.4.2.bb)5
-rw-r--r--meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb1
-rw-r--r--meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb1
-rw-r--r--meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb1
-rw-r--r--meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb1
-rw-r--r--meta-oe/recipes-support/ckermit/ckermit_302.bb16
-rw-r--r--meta-oe/recipes-support/cli11/cli11_2.3.2.bb1
-rw-r--r--meta-oe/recipes-support/cmark/cmark_0.31.1.bb (renamed from meta-oe/recipes-support/cmark/cmark_0.31.0.bb)3
-rw-r--r--meta-oe/recipes-support/colord/colord-native.bb2
-rw-r--r--meta-oe/recipes-support/colord/colord.bb32
-rw-r--r--meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch (renamed from meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch)0
-rw-r--r--meta-oe/recipes-support/colord/colord/08a32b2379fb5582f4312e59bf51a2823df56276.patch28
-rw-r--r--meta-oe/recipes-support/colord/colord/Makefile (renamed from meta-oe/recipes-support/colord/colord-native/Makefile)0
-rw-r--r--meta-oe/recipes-support/composefs/composefs_1.0.8.bb (renamed from meta-oe/recipes-support/composefs/composefs_1.0.4.bb)24
-rw-r--r--meta-oe/recipes-support/consolation/consolation_0.0.9.bb1
-rw-r--r--meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb3
-rw-r--r--meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb5
-rw-r--r--meta-oe/recipes-support/cpulimit/cpulimit/0002-busy.c-Fix-incompatible-pointer-type-error.patch51
-rw-r--r--meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb2
-rw-r--r--meta-oe/recipes-support/crucible/crucible-go-mods.inc155
-rw-r--r--meta-oe/recipes-support/crucible/crucible-licenses.inc40
-rw-r--r--meta-oe/recipes-support/crucible/crucible_2023.11.02.bb17
-rw-r--r--meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb3
-rw-r--r--meta-oe/recipes-support/ctre/ctre_3.9.0.bb21
-rw-r--r--meta-oe/recipes-support/cxxopts/cxxopts_3.3.1.bb19
-rw-r--r--meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb1
-rw-r--r--meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch46
-rw-r--r--meta-oe/recipes-support/daemonize/daemonize_git.bb5
-rw-r--r--meta-oe/recipes-support/daemontools/daemontools/0001-fix-prototype-declaration-with-gcc-15.patch252
-rw-r--r--meta-oe/recipes-support/daemontools/daemontools_0.76.bb12
-rw-r--r--meta-oe/recipes-support/dc/double-conversion_3.3.1.bb (renamed from meta-oe/recipes-support/dc/double-conversion_3.3.0.bb)3
-rw-r--r--meta-oe/recipes-support/devmem2/devmem2_2.0.bb4
-rw-r--r--meta-oe/recipes-support/dhex/dhex/0001-Fix-function-declaration-conflict-error-with-empty-p.patch38
-rw-r--r--meta-oe/recipes-support/dhex/dhex_0.69.bb8
-rw-r--r--meta-oe/recipes-support/digitemp/digitemp/0001-Fix-conflicting-prototype.patch32
-rw-r--r--meta-oe/recipes-support/digitemp/digitemp_3.7.2.bb6
-rw-r--r--meta-oe/recipes-support/dool/dool_1.3.4.bb (renamed from meta-oe/recipes-support/dool/dool_1.3.2.bb)3
-rw-r--r--meta-oe/recipes-support/driverctl/driverctl_0.115.bb1
-rw-r--r--meta-oe/recipes-support/edid-decode/edid-decode_git.bb7
-rw-r--r--meta-oe/recipes-support/eject/eject_2.1.5.bb5
-rw-r--r--meta-oe/recipes-support/enca/enca/cross.patch68
-rw-r--r--meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch14
-rw-r--r--meta-oe/recipes-support/enca/enca_1.19.bb24
-rw-r--r--meta-oe/recipes-support/epeg/epeg_git.bb1
-rw-r--r--meta-oe/recipes-support/espeak/espeak_1.48.04.bb3
-rw-r--r--meta-oe/recipes-support/evemu-tools/evemu-tools_git.bb1
-rw-r--r--meta-oe/recipes-support/exiv2/exiv2_0.28.0.bb19
-rw-r--r--meta-oe/recipes-support/exiv2/exiv2_0.28.3.bb10
-rw-r--r--meta-oe/recipes-support/fbset/fbset-modes.bb3
-rw-r--r--meta-oe/recipes-support/fbset/fbset_2.1.bb1
-rw-r--r--meta-oe/recipes-support/fftw/fftw_3.3.10.bb2
-rw-r--r--meta-oe/recipes-support/fltk/fltk-native.bb2
-rw-r--r--meta-oe/recipes-support/fltk/fltk.bb2
-rw-r--r--meta-oe/recipes-support/fltk/fltk.inc4
-rw-r--r--meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch4
-rw-r--r--meta-oe/recipes-support/freeipmi/freeipmi/0001-Fix-for-GCC15-C23-build-failure.patch42
-rw-r--r--meta-oe/recipes-support/freeipmi/freeipmi_1.6.15.bb28
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp/CVE-2024-32661.patch27
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb3
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb14
-rw-r--r--meta-oe/recipes-support/function2/function2_4.2.4.bb1
-rw-r--r--meta-oe/recipes-support/fuse/fuse3_3.16.2.bb5
-rw-r--r--meta-oe/recipes-support/gd/gd_2.3.3.bb1
-rw-r--r--meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb1
-rw-r--r--meta-oe/recipes-support/genimage/genimage_18.bb22
-rw-r--r--meta-oe/recipes-support/gflags/gflags_2.2.2.bb3
-rw-r--r--meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch33
-rw-r--r--meta-oe/recipes-support/glog/glog/libexecinfo.patch40
-rw-r--r--meta-oe/recipes-support/glog/glog_0.7.1.bb (renamed from meta-oe/recipes-support/glog/glog_0.6.0.bb)8
-rw-r--r--meta-oe/recipes-support/gnulib/gnulib_202401.bb2
-rw-r--r--meta-oe/recipes-support/googlebenchmark/googlebenchmark/0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch33
-rw-r--r--meta-oe/recipes-support/googlebenchmark/googlebenchmark/0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch32
-rw-r--r--meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb (renamed from meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.8.4.bb)7
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch26
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch59
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch35
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/0003-Makefile.am-disable-building-noinst-tests-for-musl.patch32
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/disable_libunwind_aarch64.patch28
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools/ppc-musl.patch14
-rw-r--r--meta-oe/recipes-support/gperftools/gperftools_2.16.bb (renamed from meta-oe/recipes-support/gperftools/gperftools_2.15.bb)15
-rw-r--r--meta-oe/recipes-support/gpm/gpm/0001-Avoid-shadowing-ncurses-functions.patch234
-rw-r--r--meta-oe/recipes-support/gpm/gpm/0002-Fix-function-definition-in-yacc-source-file-until-va.patch81
-rw-r--r--meta-oe/recipes-support/gpm/gpm/0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch37
-rw-r--r--meta-oe/recipes-support/gpm/gpm_git.bb8
-rw-r--r--meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb4
-rw-r--r--meta-oe/recipes-support/gsoap/gsoap_2.8.134.bb2
-rw-r--r--meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb1
-rw-r--r--meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch41
-rw-r--r--meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb (renamed from meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb)14
-rw-r--r--meta-oe/recipes-support/hidapi/hidapi_0.15.0.bb (renamed from meta-oe/recipes-support/hidapi/hidapi_0.14.0.bb)3
-rw-r--r--meta-oe/recipes-support/hstr/hstr_3.1.0.bb2
-rw-r--r--meta-oe/recipes-support/htop/htop_3.3.0.bb1
-rw-r--r--meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb6
-rw-r--r--meta-oe/recipes-support/hunspell/hunspell_1.7.2.bb1
-rw-r--r--meta-oe/recipes-support/hwdata/hwdata_0.383.bb26
-rw-r--r--meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb1
-rw-r--r--meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch55
-rw-r--r--meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch62
-rw-r--r--meta-oe/recipes-support/iksemel/iksemel_1.5.bb24
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb183
-rw-r--r--meta-oe/recipes-support/imagemagick/imagemagick_7.1.1.bb121
-rw-r--r--meta-oe/recipes-support/imapfilter/imapfilter_2.8.3.bb (renamed from meta-oe/recipes-support/imapfilter/imapfilter_2.8.2.bb)7
-rw-r--r--meta-oe/recipes-support/imx-cst/imx-cst/0001-fix-missing-makefile-rule-dependency.patch45
-rw-r--r--meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb40
-rw-r--r--meta-oe/recipes-support/inih/libinih_58.bb1
-rw-r--r--meta-oe/recipes-support/iniparser/iniparser_4.2.6.bb (renamed from meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb)3
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools/0002-configure-Add-AC_SYS_LARGEFILE-autoconf-macro.patch28
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools/0002-libinotifytools-Bridge-differences-between-musl-glib.patch40
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools/0003-replace-stat64-lstat64-with-stat-lstat.patch119
-rw-r--r--meta-oe/recipes-support/inotify-tools/inotify-tools_4.23.9.0.bb (renamed from meta-oe/recipes-support/inotify-tools/inotify-tools_3.22.6.0.bb)6
-rw-r--r--meta-oe/recipes-support/joe/joe_4.6.bb1
-rw-r--r--meta-oe/recipes-support/jsoncons/jsoncons_1.3.2.bb14
-rw-r--r--meta-oe/recipes-support/lcms/lcms_2.16.bb2
-rwxr-xr-xmeta-oe/recipes-support/lcov/lcov_1.16.bb18
-rw-r--r--meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb29
-rw-r--r--meta-oe/recipes-support/libatasmart/libatasmart_0.19.bb3
-rw-r--r--meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb1
-rw-r--r--meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb (renamed from meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb)3
-rw-r--r--meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch42
-rw-r--r--meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb2
-rw-r--r--meta-oe/recipes-support/libcereal/files/0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch41
-rw-r--r--meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb2
-rw-r--r--meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch48
-rwxr-xr-xmeta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch42
-rw-r--r--meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb15
-rw-r--r--meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb1
-rw-r--r--meta-oe/recipes-support/libcyusbserial/libcyusbserial/0001-Fix-gcc-15-incompatible-pointer-types-error.patch41
-rw-r--r--meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb2
-rw-r--r--meta-oe/recipes-support/libee/libee.inc39
-rwxr-xr-xmeta-oe/recipes-support/libee/libee/ezapi1.sh14
-rw-r--r--meta-oe/recipes-support/libee/libee/libee-parallel-make.patch20
-rwxr-xr-xmeta-oe/recipes-support/libee/libee/run-ptest3
-rw-r--r--meta-oe/recipes-support/libee/libee_0.4.1.bb4
-rw-r--r--meta-oe/recipes-support/libeigen/libeigen/0002-Remove-LGPL-Code-and-references.patch1040
-rw-r--r--meta-oe/recipes-support/libeigen/libeigen_3.4.0.bb10
-rw-r--r--meta-oe/recipes-support/libestr/libestr_0.1.11.bb3
-rw-r--r--meta-oe/recipes-support/libfann/libfann_git.bb1
-rw-r--r--meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb (renamed from meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb)4
-rw-r--r--meta-oe/recipes-support/libftdi/files/CMakeLists-txt-fix-paths-when-FTDIPP-is-set.patch45
-rw-r--r--meta-oe/recipes-support/libftdi/libftdi_1.5.bb11
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch530
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init76
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest43
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod.inc1
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb6
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb33
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb104
-rw-r--r--meta-oe/recipes-support/libgusb/libgusb_0.4.9.bb (renamed from meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb)12
-rw-r--r--meta-oe/recipes-support/libharu/libharu_2.4.5.bb (renamed from meta-oe/recipes-support/libharu/libharu_2.4.4.bb)3
-rw-r--r--meta-oe/recipes-support/libiio/libiio_0.26.bb (renamed from meta-oe/recipes-support/libiio/libiio_0.25.bb)5
-rw-r--r--meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb (renamed from meta-oe/recipes-support/libiodbc/libiodbc_3.52.15.bb)13
-rw-r--r--meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb1
-rw-r--r--meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb1
-rw-r--r--meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb1
-rw-r--r--meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb6
-rw-r--r--meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb3
-rw-r--r--meta-oe/recipes-support/liblinebreak/liblinebreak_1.2.bb11
-rw-r--r--meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb (renamed from meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb)2
-rw-r--r--meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb1
-rw-r--r--meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb (renamed from meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb)3
-rw-r--r--meta-oe/recipes-support/libnice/libnice_0.1.22.bb3
-rw-r--r--meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch41
-rw-r--r--meta-oe/recipes-support/libnvme/libnvme_1.12.bb (renamed from meta-oe/recipes-support/libnvme/libnvme_1.9.bb)12
-rw-r--r--meta-oe/recipes-support/liboauth/liboauth_1.0.3.bb1
-rw-r--r--meta-oe/recipes-support/liboop/liboop/0001-Use-pkg-config-to-find-tcl.patch48
-rw-r--r--meta-oe/recipes-support/liboop/liboop/tcl_dev.patch13
-rw-r--r--meta-oe/recipes-support/liboop/liboop_1.0.1.bb7
-rw-r--r--meta-oe/recipes-support/libosinfo/libosinfo/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch32
-rw-r--r--meta-oe/recipes-support/libosinfo/libosinfo/0adf38535637ec668e658d43f04f60f11f51574f.patch86
-rw-r--r--meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb (renamed from meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb)7
-rw-r--r--meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb20
-rw-r--r--meta-oe/recipes-support/libosinfo/osinfo-db_20250606.bb20
-rw-r--r--meta-oe/recipes-support/libp11/libp11_0.4.13.bb (renamed from meta-oe/recipes-support/libp11/libp11_0.4.12.bb)4
-rw-r--r--meta-oe/recipes-support/libpaper/libpaper_2.2.6.bb (renamed from meta-oe/recipes-support/libpaper/libpaper_2.1.2.bb)5
-rw-r--r--meta-oe/recipes-support/libraw/libraw_0.21.2.bb4
-rw-r--r--meta-oe/recipes-support/libraw1394/libraw1394_2.1.2.bb1
-rw-r--r--meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb1
-rw-r--r--meta-oe/recipes-support/librsync/librsync_2.3.4.bb1
-rw-r--r--meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.8.bb12
-rw-r--r--meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb18
-rw-r--r--meta-oe/recipes-support/libsmi/libsmi/0001-Fix-build-failure-with-gcc-15.patch154
-rw-r--r--meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb5
-rw-r--r--meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb1
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/0001-CVE-2025-32911.patch74
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch44
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-possibly-uninitialized-warnings.patch43
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Remove-http-and-https-aliases-support-test.patch145
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch150
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch39
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch133
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-1.patch37
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-2.patch43
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-3.patch48
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch56
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch29
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch32
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch39
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch71
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch39
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch38
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch32
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch94
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch28
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch32
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch35
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch38
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch61
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch47
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch38
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch37
-rw-r--r--meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb86
-rw-r--r--meta-oe/recipes-support/libspdm/libspdm/0001-Backport-API-introduced-in-openssl-3.5.0.patch33
-rw-r--r--meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb83
-rw-r--r--meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch37
-rw-r--r--meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch44
-rw-r--r--meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch16
-rw-r--r--meta-oe/recipes-support/libssh/libssh_0.11.1.bb (renamed from meta-oe/recipes-support/libssh/libssh_0.10.6.bb)9
-rw-r--r--meta-oe/recipes-support/libstemmer/libstemmer_2.2.0.bb1
-rw-r--r--meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch53
-rw-r--r--meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch44
-rw-r--r--meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch101
-rw-r--r--meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch26
-rw-r--r--meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch119
-rw-r--r--meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch89
-rw-r--r--meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch30
-rw-r--r--meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch26
-rw-r--r--meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch100
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch160
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch42
-rw-r--r--meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch52
-rw-r--r--meta-oe/recipes-support/libtar/libtar_1.2.20.bb15
-rw-r--r--meta-oe/recipes-support/libteam/libteam_1.32.bb1
-rw-r--r--meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch27
-rw-r--r--meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch31
-rw-r--r--meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb9
-rw-r--r--meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb (renamed from meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb)4
-rw-r--r--meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb1
-rw-r--r--meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch39
-rw-r--r--meta-oe/recipes-support/liburing/liburing_2.9.bb (renamed from meta-oe/recipes-support/liburing/liburing_2.6.bb)9
-rw-r--r--meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb1
-rw-r--r--meta-oe/recipes-support/libusbg/libusbg_git.bb1
-rw-r--r--meta-oe/recipes-support/libusbgx/libusbgx-config.bb3
-rw-r--r--meta-oe/recipes-support/libusbgx/libusbgx_git.bb5
-rw-r--r--meta-oe/recipes-support/libutempter/libutempter_1.2.2-alt1.bb2
-rw-r--r--meta-oe/recipes-support/links/links-x11_2.26.bb2
-rw-r--r--meta-oe/recipes-support/links/links_2.29.bb2
-rw-r--r--meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch63
-rw-r--r--meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb75
-rw-r--r--meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb2
-rw-r--r--meta-oe/recipes-support/log4c/log4c_1.2.4.bb1
-rw-r--r--meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb8
-rw-r--r--meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb (renamed from meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb)6
-rw-r--r--meta-oe/recipes-support/lvm2/files/0001-configure.ac-check-egrep.patch33
-rw-r--r--meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch12
-rw-r--r--meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch10
-rw-r--r--meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch6
-rw-r--r--meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch6
-rw-r--r--meta-oe/recipes-support/lvm2/libdevmapper.bb2
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.bb21
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc33
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch70
-rw-r--r--meta-oe/recipes-support/mbuffer/mbuffer_20140310.bb3
-rw-r--r--meta-oe/recipes-support/mcelog/mce-inject_git.bb9
-rw-r--r--meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch2
-rw-r--r--meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch47
-rw-r--r--meta-oe/recipes-support/mcelog/mce-test_git.bb12
-rw-r--r--meta-oe/recipes-support/mcelog/mcelog_204.bb (renamed from meta-oe/recipes-support/mcelog/mcelog_199.bb)3
-rw-r--r--meta-oe/recipes-support/md4c/md4c_0.5.2.bb1
-rw-r--r--meta-oe/recipes-support/mg/mg_20230501.bb1
-rw-r--r--meta-oe/recipes-support/mime-support/mime-support_3.62.bb2
-rw-r--r--meta-oe/recipes-support/minini/minini_1.2.b.bb1
-rw-r--r--meta-oe/recipes-support/monit/monit_5.35.2.bb (renamed from meta-oe/recipes-support/monit/monit_5.34.0.bb)14
-rw-r--r--meta-oe/recipes-support/mscgen/mscgen_0.20.bb3
-rw-r--r--meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb3
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch29
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch28
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch42
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch10
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch19
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch29
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch11
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch12
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch6
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch (renamed from meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch)6
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch8
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch29
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0014-libdmmp-Makefile-Add-target-docs-man-dmmp_strerror.3.patch41
-rw-r--r--[-rwxr-xr-x]meta-oe/recipes-support/multipath-tools/files/multipathd.oe0
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.1.bb (renamed from meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb)15
-rw-r--r--meta-oe/recipes-support/nano/nano_8.3.bb (renamed from meta-oe/recipes-support/nano/nano_8.0.bb)4
-rw-r--r--meta-oe/recipes-support/ne10/ne10_1.2.1.bb2
-rw-r--r--meta-oe/recipes-support/neon/neon_0.33.0.bb17
-rw-r--r--meta-oe/recipes-support/nmon/nmon_16m.bb6
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0001-Fix-Wincompatible-function-pointer-types.patch39
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0001-remove-rpath-from-tests.patch (renamed from meta-oe/recipes-support/nspr/nspr/remove-rpath-from-tests.patch)25
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0002-Fix-build-failure-on-x86_64.patch (renamed from meta-oe/recipes-support/nspr/nspr/fix-build-on-x86_64.patch)28
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0003-Add-nios2-support.patch (renamed from meta-oe/recipes-support/nspr/nspr/0002-Add-nios2-support.patch)17
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0004-md-Fix-build-with-musl.patch (renamed from meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch)11
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch (renamed from meta-oe/recipes-support/nspr/nspr/Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch)20
-rw-r--r--meta-oe/recipes-support/nspr/nspr/0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch (renamed from meta-oe/recipes-support/nspr/nspr/0001-config-nspr-config.in-don-t-pass-LDFLAGS.patch)2
-rw-r--r--meta-oe/recipes-support/nspr/nspr_4.36.bb (renamed from meta-oe/recipes-support/nspr/nspr_4.35.bb)17
-rw-r--r--meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch13
-rw-r--r--meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch (renamed from meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch (renamed from meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch (renamed from meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch)9
-rw-r--r--meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch (renamed from meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch)13
-rw-r--r--meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch (renamed from meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch)13
-rw-r--r--meta-oe/recipes-support/nss/nss/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch (renamed from meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch)16
-rw-r--r--meta-oe/recipes-support/nss/nss_3.112.bb (renamed from meta-oe/recipes-support/nss/nss_3.101.bb)20
-rw-r--r--meta-oe/recipes-support/onig/onig_6.9.10.bb (renamed from meta-oe/recipes-support/onig/onig_6.9.9.bb)5
-rw-r--r--meta-oe/recipes-support/opencl/clinfo_3.0.23.01.25.bb1
-rw-r--r--meta-oe/recipes-support/openct/openct/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch65
-rw-r--r--meta-oe/recipes-support/openct/openct_0.6.20.bb11
-rw-r--r--meta-oe/recipes-support/opencv/ade_0.1.2.bb1
-rw-r--r--meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-FastCV-latest-libs-hash-update.patch50
-rw-r--r--meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch87
-rw-r--r--meta-oe/recipes-support/opencv/opencv/0001-core-fixed-VSX-intrinsics-implementation.patch61
-rw-r--r--meta-oe/recipes-support/opencv/opencv_4.11.0.bb (renamed from meta-oe/recipes-support/opencv/opencv_4.9.0.bb)42
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.6.10.bb (renamed from meta-oe/recipes-support/openldap/openldap_2.6.7.bb)10
-rw-r--r--meta-oe/recipes-support/opensc/opensc_0.26.1.bb (renamed from meta-oe/recipes-support/opensc/opensc_0.25.1.bb)20
-rw-r--r--meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb3
-rw-r--r--meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb26
-rw-r--r--meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.20.0.bb30
-rw-r--r--meta-oe/recipes-support/p910nd/p910nd_0.97.bb1
-rw-r--r--meta-oe/recipes-support/pcp/pcp-native_6.3.7.bb (renamed from meta-oe/recipes-support/pcp/pcp-native_6.0.5.bb)3
-rw-r--r--meta-oe/recipes-support/pcp/pcp.inc8
-rw-r--r--meta-oe/recipes-support/pcp/pcp/0001-bind2-Use-pmcpp-from-native-builds.patch30
-rw-r--r--meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch11
-rw-r--r--meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch33
-rw-r--r--meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch116
-rw-r--r--meta-oe/recipes-support/pcp/pcp_6.3.7.bb (renamed from meta-oe/recipes-support/pcp/pcp_6.0.5.bb)45
-rw-r--r--meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb2
-rw-r--r--meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.2.bb (renamed from meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.1.bb)3
-rw-r--r--meta-oe/recipes-support/picocom/picocom_2024.bb (renamed from meta-oe/recipes-support/picocom/picocom_git.bb)8
-rw-r--r--meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb4
-rw-r--r--meta-oe/recipes-support/pidgin/icyque_git.bb4
-rw-r--r--meta-oe/recipes-support/pidgin/libgnt_2.14.1.bb3
-rw-r--r--meta-oe/recipes-support/pidgin/libotr_4.1.1.bb1
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb1
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb5
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch26
-rw-r--r--meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb (renamed from meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb)22
-rw-r--r--meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb1
-rw-r--r--meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_1.0.bb (renamed from meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_0.3.bb)9
-rw-r--r--meta-oe/recipes-support/pngcheck/pngcheck_2.3.0.bb4
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch59
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch60
-rw-r--r--meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch53
-rw-r--r--meta-oe/recipes-support/poco/poco_1.13.3.bb8
-rw-r--r--meta-oe/recipes-support/poppler/poppler/0001-cmake-Do-not-use-isystem.patch40
-rw-r--r--meta-oe/recipes-support/poppler/poppler/CVE-2023-34872.patch46
-rw-r--r--meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch41
-rw-r--r--meta-oe/recipes-support/poppler/poppler_25.04.0.bb (renamed from meta-oe/recipes-support/poppler/poppler_23.04.0.bb)17
-rw-r--r--meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb1
-rw-r--r--meta-oe/recipes-support/pps-tools/pps-tools/0001-Use-lld-in-printf-for-64-bit-time_t.patch59
-rw-r--r--meta-oe/recipes-support/pps-tools/pps-tools_1.0.3.bb5
-rw-r--r--meta-oe/recipes-support/procmail/procmail/0001-fix-too-many-arguments-issue.patch88
-rw-r--r--meta-oe/recipes-support/procmail/procmail/0001-fix-uname-declaration.patch27
-rw-r--r--meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch29
-rw-r--r--meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch20
-rw-r--r--meta-oe/recipes-support/procmail/procmail/gcc14.patch127
-rw-r--r--meta-oe/recipes-support/procmail/procmail_3.22.bb12
-rw-r--r--meta-oe/recipes-support/psutils/psutils_2.10.bb2
-rw-r--r--meta-oe/recipes-support/pv/pv/0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch40
-rw-r--r--meta-oe/recipes-support/pv/pv/pv-test-system-version.patch18
-rw-r--r--meta-oe/recipes-support/pv/pv/run-ptest25
-rw-r--r--meta-oe/recipes-support/pv/pv_1.6.20.bb28
-rw-r--r--meta-oe/recipes-support/pv/pv_1.9.31.bb65
-rw-r--r--meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb4
-rw-r--r--meta-oe/recipes-support/raptor2/raptor2/raptor-2.0.16-dont_use_curl-config.patch73
-rw-r--r--meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb6
-rw-r--r--meta-oe/recipes-support/re2/re2_2024.03.01.bb1
-rw-r--r--meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb1
-rw-r--r--meta-oe/recipes-support/reboot-mode/reboot-mode_git.bb4
-rw-r--r--meta-oe/recipes-support/remmina/remmina_1.4.36.bb (renamed from meta-oe/recipes-support/remmina/remmina_1.4.35.bb)5
-rw-r--r--meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb3
-rw-r--r--meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb1
-rw-r--r--meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb1
-rw-r--r--meta-oe/recipes-support/rtkit/rtkit_0.13.bb1
-rw-r--r--meta-oe/recipes-support/sass/libsass_git.bb14
-rw-r--r--meta-oe/recipes-support/sass/sassc_git.bb14
-rw-r--r--meta-oe/recipes-support/satyr/satyr_0.43.bb1
-rw-r--r--meta-oe/recipes-support/sdmon/sdmon_git.bb1
-rw-r--r--meta-oe/recipes-support/sdparm/sdparm_1.12.bb3
-rw-r--r--meta-oe/recipes-support/serial-utils/pty-forward-native.bb2
-rw-r--r--meta-oe/recipes-support/serial-utils/serial-forward_git.bb2
-rw-r--r--meta-oe/recipes-support/serial/serial_1.2.1.bb1
-rw-r--r--meta-oe/recipes-support/sg3-utils/sg3-utils_1.48.bb2
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils/0001-ISO-C23-Backport-stdbool.m4.patch213
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils/0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch47
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils/0002-ISO-C23-Port-getcwd.m4-to-ISO-C23.patch49
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils/0003-ISO-C23-Port-the-code-to-ISO-C23.patch143
-rw-r--r--meta-oe/recipes-support/sharutils/sharutils_4.15.2.bb9
-rw-r--r--meta-oe/recipes-support/smarty/smarty_4.4.1.bb28
-rw-r--r--meta-oe/recipes-support/smarty/smarty_5.4.5.bb37
-rw-r--r--meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch30
-rw-r--r--meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch37
-rw-r--r--meta-oe/recipes-support/snapper/snapper_0.11.2.bb40
-rw-r--r--meta-oe/recipes-support/source-highlight/source-highlight_git.bb35
-rw-r--r--meta-oe/recipes-support/span-lite/span-lite_0.11.0.bb1
-rw-r--r--meta-oe/recipes-support/spdlog/spdlog_1.15.0.bb (renamed from meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb)6
-rw-r--r--meta-oe/recipes-support/spitools/spitools_git.bb3
-rw-r--r--meta-oe/recipes-support/srecord/files/0001-fix-build-failure-with-gcc-15-by-adding-cstdint-head.patch36
-rw-r--r--meta-oe/recipes-support/srecord/srecord_1.65.0.bb6
-rw-r--r--meta-oe/recipes-support/ssiapi/ssiapi_1.3.0.bb3
-rw-r--r--meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb1
-rw-r--r--meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch48
-rw-r--r--meta-oe/recipes-support/synergy/synergy_git.bb2
-rw-r--r--meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch40
-rw-r--r--meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd11
-rw-r--r--meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit8
-rw-r--r--meta-oe/recipes-support/syslog-ng/syslog-ng_4.8.2.bb (renamed from meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb)16
-rw-r--r--meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb28
-rw-r--r--meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb27
-rw-r--r--meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch33
-rw-r--r--meta-oe/recipes-support/tbb/tbb_2022.1.0.bb (renamed from meta-oe/recipes-support/tbb/tbb_2021.11.0.bb)11
-rw-r--r--meta-oe/recipes-support/testdisk/testdisk_7.2.bb17
-rw-r--r--meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc214
-rw-r--r--meta-oe/recipes-support/tio/tio_3.9.bb (renamed from meta-oe/recipes-support/tio/tio_2.7.bb)14
-rw-r--r--meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb1
-rw-r--r--meta-oe/recipes-support/tree/tree_2.2.1.bb (renamed from meta-oe/recipes-support/tree/tree_2.1.1.bb)6
-rw-r--r--meta-oe/recipes-support/udisks/udisks2_2.10.1.bb1
-rw-r--r--meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb (renamed from meta-oe/recipes-support/uhubctl/uhubctl_2.5.0.bb)5
-rw-r--r--meta-oe/recipes-support/uim/uim_1.9.0.bb (renamed from meta-oe/recipes-support/uim/uim_1.8.9.bb)5
-rw-r--r--meta-oe/recipes-support/unicode-ucd/unicode-ucd_14.0.0.bb9
-rw-r--r--meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb3
-rw-r--r--meta-oe/recipes-support/upower/power-profiles-daemon_0.30.bb28
-rw-r--r--meta-oe/recipes-support/upower/upower_1.90.6.bb (renamed from meta-oe/recipes-support/upower/upower_0.99.17.bb)21
-rw-r--r--meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20191128.bb1
-rw-r--r--meta-oe/recipes-support/usb-modeswitch/usb-modeswitch/0001-Fix-build-with-gcc-15.patch51
-rw-r--r--meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.1.bb4
-rw-r--r--meta-oe/recipes-support/usbids/usbids_2025.04.01.bb (renamed from meta-oe/recipes-support/usbids/usbids_2023.01.16.bb)4
-rw-r--r--meta-oe/recipes-support/uthash/uthash_2.3.0.bb1
-rw-r--r--meta-oe/recipes-support/utouch/utouch-evemu_git.bb1
-rw-r--r--meta-oe/recipes-support/utouch/utouch-frame_git.bb1
-rw-r--r--meta-oe/recipes-support/utouch/utouch-mtview_git.bb1
-rw-r--r--meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-fix-bool-reserved-word-error-in-gcc-15.patch28
-rw-r--r--meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.1.8.bb (renamed from meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.18.bb)20
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch30
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch35
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch65
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch39
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-typo-denormaldisabler.patch18
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch24
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch16
-rw-r--r--meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.1.bb (renamed from meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.2.bb)31
-rw-r--r--meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb5
-rw-r--r--meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb2
-rw-r--r--meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb (renamed from meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.5.bb)3
-rw-r--r--meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.0.bb (renamed from meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.4.bb)6
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch18
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch7
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch8
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch6
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb (renamed from meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb)11
-rw-r--r--meta-oe/recipes-support/xmlstarlet/files/0001-Define-ATTRIBUTE_UNUSED-if-its-not-defined.patch37
-rw-r--r--meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb5
-rw-r--r--meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb9
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch7
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch12
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch9
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch9
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb (renamed from meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb)5
-rw-r--r--meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb41
-rw-r--r--meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb4
-rw-r--r--meta-oe/recipes-support/yyjson/yyjson_0.11.1.bb33
-rw-r--r--meta-oe/recipes-support/zbar/zbar_git.bb1
-rw-r--r--meta-oe/recipes-support/zchunk/zchunk_1.5.1.bb (renamed from meta-oe/recipes-support/zchunk/zchunk_1.4.0.bb)3
-rw-r--r--meta-oe/recipes-support/zile/zile_2.4.15.bb1
-rw-r--r--meta-oe/recipes-test/bats/bats_1.12.0.bb (renamed from meta-oe/recipes-test/bats/bats_1.11.0.bb)5
-rw-r--r--meta-oe/recipes-test/catch2/catch2_3.8.1.bb (renamed from meta-oe/recipes-test/catch2/catch2_3.6.0.bb)4
-rw-r--r--meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb1
-rw-r--r--meta-oe/recipes-test/cppunit/cppunit_1.15.1.bb1
-rw-r--r--meta-oe/recipes-test/cpputest/cpputest_4.0.bb1
-rw-r--r--meta-oe/recipes-test/cukinia/cukinia_0.7.0.bb1
-rw-r--r--meta-oe/recipes-test/cunit/cunit_2.1-3.bb3
-rw-r--r--meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb3
-rw-r--r--meta-oe/recipes-test/evtest/evtest_1.35.bb1
-rw-r--r--meta-oe/recipes-test/fbtest/fb-test_1.1.0.bb4
-rw-r--r--meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch26
-rw-r--r--meta-oe/recipes-test/googletest/googletest_1.16.0.bb (renamed from meta-oe/recipes-test/googletest/googletest_1.14.0.bb)7
-rw-r--r--meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb1
-rw-r--r--meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb4
-rw-r--r--meta-oe/recipes-test/pm-qa/pm-qa/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch69
-rw-r--r--meta-oe/recipes-test/pm-qa/pm-qa_git.bb10
-rw-r--r--meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb1
-rw-r--r--meta-oe/recipes-test/syzkaller/syzkaller_git.bb11
-rw-r--r--meta-oe/recipes-test/testfloat/testfloat_3e.bb5
-rw-r--r--meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb1
1679 files changed, 49532 insertions, 20631 deletions
diff --git a/meta-oe/README.md b/meta-oe/README.md
index 676a2c8925..c7c14a4507 100644
--- a/meta-oe/README.md
+++ b/meta-oe/README.md
@@ -24,6 +24,11 @@ When sending single patches, please use something like:
24You are encouraged to fork the mirror on GitHub https://github.com/openembedded/meta-openembedded 24You are encouraged to fork the mirror on GitHub https://github.com/openembedded/meta-openembedded
25to share your patches, this is preferred for patch sets consisting of more than one patch. 25to share your patches, this is preferred for patch sets consisting of more than one patch.
26 26
27Note, it is discouraged to send patches via GitHub pull request system. Such
28patches get less attention from developers and can be mishandled or not
29reviewed properly. Please use emails instead. For exemple, you can use
30'git request-pull' to generate an email referencing your git repository.
31
27Other services like GitLab, repo.or.cz or self-hosted setups are of course accepted as well, 32Other services like GitLab, repo.or.cz or self-hosted setups are of course accepted as well,
28'git fetch <remote>' works the same on all of them. We recommend GitHub because it is free, easy 33'git fetch <remote>' works the same on all of them. We recommend GitHub because it is free, easy
29to use, has been proven to be reliable and has a really good web GUI. 34to use, has been proven to be reliable and has a really good web GUI.
diff --git a/meta-oe/SECURITY.md b/meta-oe/SECURITY.md
new file mode 100644
index 0000000000..1530103230
--- /dev/null
+++ b/meta-oe/SECURITY.md
@@ -0,0 +1,20 @@
1How to Report a Potential Vulnerability?
2========================================
3
4If you would like to report a public issue (for example, one with a released
5CVE number), please report it to the mailing list:
6
7 https://lists.openembedded.org/g/openembedded-devel
8
9If you are dealing with a not-yet released or urgent issue, please send a
10message to one of the maintainers listed in the README. Include as many
11details as possible:
12 - the layer or software module affected
13 - the recipe and its version
14 - any example code, if available
15
16Branches maintained with security fixes
17---------------------------------------
18
19See https://wiki.yoctoproject.org/wiki/Releases for the list of current
20releases. We only accept patches for the LTS releases and the master branch.
diff --git a/meta-oe/classes/capnproto.bbclass b/meta-oe/classes/capnproto.bbclass
new file mode 100644
index 0000000000..a698f41c95
--- /dev/null
+++ b/meta-oe/classes/capnproto.bbclass
@@ -0,0 +1,8 @@
1# Inherit this class in your recipe to compile against
2# Cap'N Proto (capnproto) with CMake
3
4DEPENDS:append = " capnproto-native "
5DEPENDS:append:class-target = " capnproto "
6
7EXTRA_OECMAKE:append:class-target = " -DCAPNP_EXECUTABLE=${RECIPE_SYSROOT_NATIVE}${bindir}/capnp \
8 -DCAPNPC_CXX_EXECUTABLE=${RECIPE_SYSROOT_NATIVE}${bindir}/capnpc-c++ "
diff --git a/meta-oe/classes/check-version-mismatch.bbclass b/meta-oe/classes/check-version-mismatch.bbclass
new file mode 100644
index 0000000000..f735280d7a
--- /dev/null
+++ b/meta-oe/classes/check-version-mismatch.bbclass
@@ -0,0 +1,471 @@
1QEMU_OPTIONS = "-r ${OLDEST_KERNEL} ${@d.getVar("QEMU_EXTRAOPTIONS:tune-%s" % d.getVar('TUNE_PKGARCH')) or ""}"
2QEMU_OPTIONS[vardeps] += "QEMU_EXTRAOPTIONS:tune-${TUNE_PKGARCH}"
3
4ENABLE_VERSION_MISMATCH_CHECK ?= "${@'1' if bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', True, False, d) else '0'}"
5DEBUG_VERSION_MISMATCH_CHECK ?= "1"
6CHECK_VERSION_PV ?= ""
7
8DEPENDS:append:class-target = "${@' qemu-native' if bb.utils.to_boolean(d.getVar('ENABLE_VERSION_MISMATCH_CHECK')) else ''}"
9
10QEMU_EXEC ?= "${@oe.qemu.qemu_wrapper_cmdline(d, '${STAGING_DIR_HOST}', ['${STAGING_DIR_HOST}${libdir}','${STAGING_DIR_HOST}${base_libdir}', '${PKGD}${libdir}', '${PKGD}${base_libdir}'])}"
11
12python do_package_check_version_mismatch() {
13 import re
14 import subprocess
15 import shutil
16 import signal
17 import glob
18
19 classes_skip = ["nopackage", "image", "native", "cross", "crosssdk", "cross-canadian"]
20 for cs in classes_skip:
21 if bb.data.inherits_class(cs, d):
22 bb.note(f"Skip do_package_check_version_mismatch as {cs} is inherited.")
23 return
24
25 if not bb.utils.to_boolean(d.getVar('ENABLE_VERSION_MISMATCH_CHECK')):
26 bb.note("Skip do_package_check_version_mismatch as ENABLE_VERSION_MISMATCH_CHECK is disabled.")
27 return
28
29 __regexp_version_broad_match__ = re.compile(r"(?:\s|^|-|_|/|=| go|\()" +
30 r"(?P<version>v?[0-9][0-9.][0-9+.\-_~\(\)]*?|UNKNOWN)" +
31 r"(?:[+\-]release.*|[+\-]stable.*|)" +
32 r"(?P<extra>[+\-]unknown|[+\-]dirty|[+\-]rc?\d{1,3}|\+cargo-[0-9.]+|" +
33 r"[a-z]|-?[pP][0-9]{1,3}|-?beta[^\s]*|-?alpha[^\s]*|)" +
34 r"(?P<extra2>[+\-]dev|[+\-]devel|)" +
35 r"(?:,|:|\.|\)|-[0-9a-g]{6,42}|)" +
36 r"(?=\s|$)"
37 )
38 __regexp_exclude_year__ = re.compile(r"^(19|20)[0-9]{2}$")
39 __regexp_single_number_ending_with_dot__ = re.compile(r"^\d\.$")
40
41 def is_shared_library(filepath):
42 return re.match(r'.*\.so(\.\d+)*$', filepath) is not None
43
44 def get_possible_versions(output_contents, full_cmd=None, max_lines=None):
45 #
46 # Algorithm:
47 # 1. Check version line by line.
48 # 2. Skip some lines which we know that do not contain version information, e.g., License, Copyright.
49 # 3. Do broad match, finding all possible versions.
50 # 4. If there's a version found by any match, do exclude match (e.g., exclude years)
51 # 5. If there's a valid version, do stripping and converting and then add to possible_versions.
52 # 6. Return possible_versions
53 #
54 possible_versions = []
55 content_lines = output_contents.split("\n")
56 if max_lines:
57 content_lines = content_lines[0:max_lines]
58 if full_cmd:
59 base_cmd = os.path.basename(full_cmd)
60 __regex_help_format__ = re.compile(r"-[^\s].*")
61 for line in content_lines:
62 line = line.strip()
63 # skip help lines
64 if __regex_help_format__.match(line):
65 continue
66 # avoid command itself affecting output
67 if full_cmd:
68 if line.startswith(base_cmd):
69 line = line[len(base_cmd):]
70 elif line.startswith(full_cmd):
71 line = line[len(full_cmd):]
72 # skip specific lines
73 skip_keywords_start = ["copyright", "license", "compiled", "build", "built"]
74 skip_line = False
75 for sks in skip_keywords_start:
76 if line.lower().startswith(sks):
77 skip_line = True
78 break
79 if skip_line:
80 continue
81
82 # try broad match
83 for match in __regexp_version_broad_match__.finditer(line):
84 version = match.group("version")
85 #print(f"version = {version}")
86 # do exclude match
87 exclude_match = __regexp_exclude_year__.match(version)
88 if exclude_match:
89 continue
90 exclude_match = __regexp_single_number_ending_with_dot__.match(version)
91 if exclude_match:
92 continue
93 # do some stripping and converting
94 if version.startswith("("):
95 version = version[1:-1]
96 if version.startswith("v"):
97 version = version[1:]
98 if version.endswith(")") and "(" not in version:
99 version = version[:-1]
100 if not version.endswith(")") and "(" in version:
101 version = version.split('(')[0]
102 # handle extra version info
103 version = version + match.group("extra") + match.group("extra2")
104 possible_versions.append(version)
105 return possible_versions
106
107 def is_version_mismatch(rvs, pv):
108 got_match = False
109 if pv.startswith("git"):
110 return False
111 if "-pre" in pv:
112 pv = pv.split("-pre")[0]
113 if pv.startswith("v"):
114 pv = pv[1:]
115 for rv in rvs:
116 if rv == pv:
117 got_match = True
118 break
119 pv = pv.split("+git")[0]
120 # handle % character in pv which means matching any chars
121 if '%' in pv:
122 escaped_pv = re.escape(pv)
123 regex_pattern = escaped_pv.replace('%', '.*')
124 regex_pattern = f'^{regex_pattern}$'
125 if re.fullmatch(regex_pattern, rv):
126 got_match = True
127 break
128 else:
129 continue
130 # handle cases such as 2.36.0-r0 v.s. 2.36.0
131 if "-r" in rv:
132 rv = rv.split("-r")[0]
133 chars_to_replace = ["-", "+", "_", "~"]
134 # convert to use "." as the version seperator
135 for cr in chars_to_replace:
136 rv = rv.replace(cr, ".")
137 pv = pv.replace(cr, ".")
138 if rv == pv:
139 got_match = True
140 break
141 # handle case such as 5.2.37(1) v.s. 5.2.37
142 if "(" in rv:
143 rv = rv.split("(")[0]
144 if rv == pv:
145 got_match = True
146 break
147 # handle case such as 4.4.3p1
148 if "p" in pv and "p" in rv.lower():
149 pv = pv.lower().replace(".p", "p")
150 rv = rv.lower().replace(".p", "p")
151 if pv == rv:
152 got_match = True
153 break
154 # handle cases such as 6.00 v.s. 6.0
155 if rv.startswith(pv):
156 if rv == pv + "0" or rv == pv + ".0":
157 got_match = True
158 break
159 elif pv.startswith(rv):
160 if pv == rv + "0" or pv == rv + ".0":
161 got_match = True
162 break
163 # handle cases such as 21306 v.s. 2.13.6
164 if "." in pv and not "." in rv:
165 pv_components = pv.split(".")
166 if rv.startswith(pv_components[0]):
167 pv_num = 0
168 for i in range(0, len(pv_components)):
169 pv_num = pv_num * 100 + int(pv_components[i])
170 if pv_num == int(rv):
171 got_match = True
172 break
173 if got_match:
174 return False
175 else:
176 return True
177
178 def is_elf_binary(fexec):
179 fexec_real = os.path.realpath(fexec)
180 elf = oe.qa.ELFFile(fexec_real)
181 try:
182 elf.open()
183 elf.close()
184 return True
185 except:
186 return False
187
188 def get_shebang(fexec):
189 try:
190 with open(fexec, 'r') as f:
191 first_line = f.readline().strip()
192 if first_line.startswith("#!"):
193 return first_line
194 else:
195 return None
196 except Exception as e:
197 return None
198
199 def get_interpreter_from_shebang(shebang):
200 if not shebang:
201 return None
202 hosttools_path = d.getVar("TMPDIR") + "/hosttools"
203 if "/sh" in shebang:
204 return hosttools_path + "/sh"
205 elif "/bash" in shebang:
206 return hosttools_path + "/bash"
207 elif "python" in shebang:
208 return hosttools_path + "/python3"
209 elif "perl" in shebang:
210 return hosttools_path + "/perl"
211 else:
212 return None
213
214 # helper function to get PKGV, useful for recipes such as perf
215 def get_pkgv(pn):
216 pkgdestwork = d.getVar("PKGDESTWORK")
217 recipe_data_fn = pkgdestwork + "/" + pn
218 pn_data = oe.packagedata.read_pkgdatafile(recipe_data_fn)
219 if not "PACKAGES" in pn_data:
220 return d.getVar("PV")
221 packages = pn_data["PACKAGES"].split()
222 for pkg in packages:
223 pkg_fn = pkgdestwork + "/runtime/" + pkg
224 pkg_data = oe.packagedata.read_pkgdatafile(pkg_fn)
225 if "PKGV" in pkg_data:
226 return pkg_data["PKGV"]
227
228 #
229 # traverse PKGD, find executables and run them to get runtime version information and compare it with recipe version information
230 #
231 enable_debug = bb.utils.to_boolean(d.getVar("DEBUG_VERSION_MISMATCH_CHECK"))
232 pkgd = d.getVar("PKGD")
233 pn = d.getVar("PN")
234 pv = d.getVar("CHECK_VERSION_PV")
235 if not pv:
236 pv = get_pkgv(pn)
237 qemu_exec = d.getVar("QEMU_EXEC").strip()
238 executables = []
239 possible_versions_all = []
240 data_lines = []
241
242 if enable_debug:
243 debug_directory = d.getVar("TMPDIR") + "/check-version-mismatch"
244 debug_data_file = debug_directory + "/" + pn
245 os.makedirs(debug_directory, exist_ok=True)
246 data_lines.append("pv: %s\n" % pv)
247
248 # handle a special case: a pure % means matching all, no point in further checking
249 if pv == "%":
250 if enable_debug:
251 data_lines.append("FINAL RESULT: MATCH (%s matches all, skipped)\n\n" % pv)
252 with open(debug_data_file, "w") as f:
253 f.writelines(data_lines)
254 return
255
256 got_quick_match_result = False
257 # handle python3-xxx recipes quickly
258 __regex_python_module_version__ = re.compile(r"(?:^|.*:)Version: (?P<version>.*)$")
259 if "python3-" in pn:
260 version_check_cmd = "find %s -name 'METADATA' | xargs grep '^Version: '" % pkgd
261 try:
262 output = subprocess.check_output(version_check_cmd, shell=True).decode("utf-8")
263 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
264 data_lines.append("output:\n'''\n%s'''\n" % output)
265 possible_versions = []
266 for line in output.split("\n"):
267 match = __regex_python_module_version__.match(line)
268 if match:
269 possible_versions.append(match.group("version"))
270 possible_versions = sorted(set(possible_versions))
271 data_lines.append("possible versions: %s\n" % possible_versions)
272 if is_version_mismatch(possible_versions, pv):
273 data_lines.append("FINAL RESULT: MISMATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
274 bb.warn("Possible runtime versions %s do not match recipe version %s" % (possible_versions, pv))
275 else:
276 data_lines.append("FINAL RESULT: MATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
277 got_quick_match_result = True
278 except:
279 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
280 data_lines.append("result: RUN_FAILED\n\n")
281 if got_quick_match_result:
282 if enable_debug:
283 with open(debug_data_file, "w") as f:
284 f.writelines(data_lines)
285 return
286
287 # handle .pc files
288 version_check_cmd = "find %s -name '*.pc' | xargs grep -i version" % pkgd
289 try:
290 output = subprocess.check_output(version_check_cmd, shell=True).decode("utf-8")
291 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
292 data_lines.append("output:\n'''\n%s'''\n" % output)
293 possible_versions = get_possible_versions(output)
294 possible_versions = sorted(set(possible_versions))
295 data_lines.append("possible versions: %s\n" % possible_versions)
296 if is_version_mismatch(possible_versions, pv):
297 if pn.startswith("lib"):
298 data_lines.append("FINAL RESULT: MISMATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
299 bb.warn("Possible runtime versions %s do not match recipe version %s" % (possible_versions, pv))
300 got_quick_match_result = True
301 else:
302 data_lines.append("result: MISMATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
303 else:
304 data_lines.append("FINAL RESULT: MATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
305 got_quick_match_result = True
306 except:
307 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
308 data_lines.append("result: RUN_FAILED\n\n")
309 if got_quick_match_result:
310 if enable_debug:
311 with open(debug_data_file, "w") as f:
312 f.writelines(data_lines)
313 return
314
315 skipped_directories = [".debug", "ptest", "installed-tests", "tests", "test", "__pycache__", "testcases"]
316 # avoid checking configuration files, they don't give useful version information and some init scripts
317 # will kill all processes
318 skipped_directories.append("etc")
319 skipped_directories.append("go/src")
320 pkgd_libdir = pkgd + d.getVar("libdir")
321 pkgd_base_libdir = pkgd + d.getVar("base_libdir")
322 extra_exec_libdirs = []
323 for root, dirs, files in os.walk(pkgd):
324 for dname in dirs:
325 fdir = os.path.join(root, dname)
326 if os.path.isdir(fdir) and fdir != pkgd_libdir and fdir != pkgd_base_libdir:
327 if fdir.startswith(pkgd_libdir) or fdir.startswith(pkgd_base_libdir):
328 for sd in skipped_directories:
329 if fdir.endswith("/" + sd) or ("/" + sd + "/") in fdir:
330 break
331 else:
332 extra_exec_libdirs.append(fdir)
333 for fname in files:
334 fpath = os.path.join(root, fname)
335 if os.path.isfile(fpath) and os.access(fpath, os.X_OK):
336 for sd in skipped_directories:
337 if ("/" + sd + "/") in fpath:
338 break
339 else:
340 if is_shared_library(fpath):
341 # we don't check shared libraries
342 continue
343 else:
344 executables.append(fpath)
345 if enable_debug:
346 data_lines.append("executables: %s\n" % executables)
347
348 found_match = False
349 some_cmd_succeed = False
350 if not executables:
351 bb.debug(1, "No executable found for %s" % pn)
352 data_lines.append("FINAL RESULT: NO_EXECUTABLE_FOUND\n\n")
353 else:
354 # first we extend qemu_exec to include library path if needed
355 if extra_exec_libdirs:
356 qemu_exec += ":" + ":".join(extra_exec_libdirs)
357 orig_qemu_exec = qemu_exec
358 for fexec in executables:
359 qemu_exec = orig_qemu_exec
360 for version_option in ["--version", "-V", "-v", "--help"]:
361 if not is_elf_binary(fexec):
362 shebang = get_shebang(fexec)
363 interpreter = get_interpreter_from_shebang(shebang)
364 if not interpreter:
365 bb.debug(1, "file %s is not supported to run" % fexec)
366 elif interpreter.endswith("perl"):
367 perl5lib_extra = pkgd + d.getVar("libdir") + "/perl5/site_perl"
368 for p in glob.glob("%s/usr/share/*" % pkgd):
369 perl5lib_extra += ":%s" % p
370 qemu_exec += " -E PERL5LIB=%s:$PERL5LIB %s" % (perl5lib_extra, interpreter)
371 elif interpreter.endswith("python3"):
372 pythonpath_extra = glob.glob("%s%s/python3*/site-packages" % (pkgd, d.getVar("libdir")))
373 if pythonpath_extra:
374 qemu_exec += " -E PYTHONPATH=%s:$PYTHONPATH %s" % (pythonpath_extra[0], interpreter)
375 else:
376 qemu_exec += " %s" % interpreter
377 # remove the '-E LD_LIBRARY_PATH=xxx'
378 qemu_exec = re.sub(r"-E\s+LD_LIBRARY_PATH=\S+", "", qemu_exec)
379 version_check_cmd_full = "%s %s %s" % (qemu_exec, fexec, version_option)
380 version_check_cmd = version_check_cmd_full
381 #version_check_cmd = "%s %s" % (os.path.relpath(fexec, pkgd), version_option)
382
383 try:
384 cwd_temp = d.getVar("TMPDIR") + "/check-version-mismatch/cwd-temp/" + pn
385 os.makedirs(cwd_temp, exist_ok=True)
386 # avoid pseudo to manage any file we create
387 sp_env = os.environ.copy()
388 sp_env["PSEUDO_UNLOAD"] = "1"
389 output = subprocess.check_output(version_check_cmd_full,
390 shell=True,
391 stderr=subprocess.STDOUT,
392 cwd=cwd_temp,
393 timeout=10,
394 env=sp_env).decode("utf-8")
395 some_cmd_succeed = True
396 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
397 data_lines.append("output:\n'''\n%s'''\n" % output)
398 if version_option == "--help":
399 max_lines = 5
400 else:
401 max_lines = None
402 possible_versions = get_possible_versions(output, full_cmd=fexec, max_lines=max_lines)
403 if "." in pv:
404 possible_versions = [item for item in possible_versions if "." in item or item == "UNKNOWN"]
405 data_lines.append("possible versions: %s\n" % possible_versions)
406 if not possible_versions:
407 data_lines.append("result: NO_RUNTIME_VERSION_FOUND\n\n")
408 continue
409 possible_versions_all.extend(possible_versions)
410 possible_versions_all = sorted(set(possible_versions_all))
411 if is_version_mismatch(possible_versions, pv):
412 data_lines.append("result: MISMATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
413 else:
414 found_match = True
415 data_lines.append("result: MATCH (%s v.s. %s)\n\n" % (possible_versions, pv))
416 break
417 except:
418 data_lines.append("version_check_cmd: %s\n" % version_check_cmd)
419 data_lines.append("result: RUN_FAILED\n\n")
420 finally:
421 shutil.rmtree(cwd_temp)
422 if found_match:
423 break
424 if executables:
425 if found_match:
426 data_lines.append("FINAL RESULT: MATCH (%s v.s. %s)\n" % (possible_versions_all, pv))
427 elif len(possible_versions_all) == 0:
428 if some_cmd_succeed:
429 bb.debug(1, "No valid runtime version found")
430 data_lines.append("FINAL RESULT: NO_VALID_RUNTIME_VERSION_FOUND\n")
431 else:
432 bb.debug(1, "All version check command failed")
433 data_lines.append("FINAL RESULT: RUN_FAILED\n")
434 else:
435 bb.warn("Possible runtime versions %s do not match recipe version %s" % (possible_versions_all, pv))
436 data_lines.append("FINAL RESULT: MISMATCH (%s v.s. %s)\n" % (possible_versions_all, pv))
437
438 if enable_debug:
439 with open(debug_data_file, "w") as f:
440 f.writelines(data_lines)
441
442 # clean up stale processes
443 process_name_common_prefix = "%s %s" % (' '.join(qemu_exec.split()[1:]), pkgd)
444 find_stale_process_cmd = "ps -e -o pid,args | grep -v grep | grep -F '%s'" % process_name_common_prefix
445 try:
446 stale_process_output = subprocess.check_output(find_stale_process_cmd, shell=True).decode("utf-8")
447 stale_process_pids = []
448 for line in stale_process_output.split("\n"):
449 line = line.strip()
450 if not line:
451 continue
452 pid = line.split()[0]
453 stale_process_pids.append(pid)
454 for pid in stale_process_pids:
455 os.kill(int(pid), signal.SIGKILL)
456 except Exception as e:
457 bb.debug(1, "No stale process")
458}
459
460addtask do_package_check_version_mismatch after do_prepare_recipe_sysroot do_package before do_build
461
462do_build[rdeptask] += "do_package_check_version_mismatch"
463do_rootfs[recrdeptask] += "do_package_check_version_mismatch"
464
465SSTATETASKS += "do_package_check_version_mismatch"
466do_package_check_version_mismatch[sstate-inputdirs] = ""
467do_package_check_version_mismatch[sstate-outputdirs] = ""
468python do_package_check_version_mismatch_setscene () {
469 sstate_setscene(d)
470}
471addtask do_package_check_version_mismatch_setscene
diff --git a/meta-oe/classes/discoverable-disk-image.bbclass b/meta-oe/classes/discoverable-disk-image.bbclass
new file mode 100644
index 0000000000..1f3a7b08e1
--- /dev/null
+++ b/meta-oe/classes/discoverable-disk-image.bbclass
@@ -0,0 +1,137 @@
1##
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6#
7# Discoverable Disk Image (DDI)
8#
9# "DDIs (Discoverable Disk Images) are self-describing file system
10# images that follow the DPS ( Discoverable Partitions Specification),
11# wrapped in a GPT partition table, that may contain root (or /usr/)
12# filesystems for bootable OS images, system extensions, configuration
13# extensions, portable services, containers and more, and shall be
14# protected by signed dm-verity all combined into one. They are
15# designed to be composable and stackable, and provide security by
16# default."
17# https://uapi-group.org/specifications/specs/discoverable_disk_image/
18# https://uapi-group.org/specifications/specs/discoverable_partitions_specification/
19# https://www.freedesktop.org/software/systemd/man/latest/systemd.image-policy.html
20
21# To be able to use discoverable-disk-images with a
22# root-verity-sig or usr-verity-sig configuration:
23# - systemd needs to include the PACKAGECONFIG 'cryptsetup', and
24# - the kernel needs the following features enabled:
25# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y
26# CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING=y
27# CONFIG_EROFS_FS=y
28# CONFIG_EROFS_FS_XATTR=y
29# CONFIG_EROFS_FS_ZIP=y
30# CONFIG_EROFS_FS_ZIP_LZMA=y
31# CONFIG_INTEGRITY_SIGNATURE=y
32# CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y
33# CONFIG_INTEGRITY_PLATFORM_KEYRING=y
34# CONFIG_SYSTEM_BLACKLIST_KEYRING=y
35# CONFIG_SYSTEM_BLACKLIST_HASH_LIST=""
36# CONFIG_SIGNATURE=y
37
38# To sign DDIs, a key and certificate need to be provided by setting
39# the variables:
40# REPART_PRIVATE_KEY
41# private key so sign the verity-hash
42# REPART_PRIVATE_KEY_SOURCE
43# optional, can be "engine:pkcs11" when using a (soft)hsm
44# REPART_CERTIFICATE
45# corresponding public certificate, in .pem format
46#
47
48# For signature verification, systemd-sysext expects the matching
49# certificate to reside in /etc/verity.d as PEM formated .crt file.
50#
51# To enforce loading of only signed extension images, an appropriate
52# image policy has to be passed to systemd-sysext, e.g.:
53# systemd-sysext --image-policy='root=signed+absent:usr=signed+absent:=unused+absent' merge
54
55# 'systemd-dissect' can be used to inspect, manually mount, ... a DDI.
56
57inherit image
58
59IMAGE_FSTYPES = "ddi"
60
61DEPENDS += " \
62 systemd-repart-native \
63 erofs-utils-native \
64 openssl-native \
65"
66
67# systemd-repart --make-ddi takes one of "sysext", "confext" or "portable",
68# which it then takes and looks up definitions in the host os; which we need
69# to divert to the sysroot-native by setting '--definitions=' instead.
70# The chosen DDI_TYPE influences which parts of the rootfs are copied into
71# the ddi by systemd-repart:
72# sysext: /usr (and if it exists: /opt)
73# confext: /etc
74# portable: /
75# For details see systemd/repart/definitions/${REPART_DDI_TYPE}.repart.d/*
76REPART_DDI_TYPE ?= "sysext"
77
78REPART_DDI_EXTENSION ?= "ddi"
79
80# systemd-repart creates temporary directoryies under /var/tmp/.#repartXXXXXXX/,
81# to estimate partition size etc. Since files are copied there from the image/rootfs
82# folder - which are owned by pseudo-root - this temporary location has to be
83# added to the directories handled by pseudo; otherwise calls to e.g.
84# fchown(0,0) inside systemd git/src/shared/copy.c end up failing.
85PSEUDO_INCLUDE_PATHS .= ",/var/tmp/"
86
87oe_image_systemd_repart_make_ddi() {
88
89 local additional_args=""
90
91 if [ -n "${REPART_PRIVATE_KEY}" ]
92 then
93 if [ -n "${REPART_PRIVATE_KEY_SOURCE}" ]
94 then
95 additional_args="$additional_args --private-key-source=${REPART_PRIVATE_KEY_SOURCE}"
96 fi
97 additional_args="$additional_args --private-key=${REPART_PRIVATE_KEY}"
98 fi
99
100 if [ -n "${REPART_CERTIFICATE}" ]
101 then
102 additional_args="$additional_args --certificate=${REPART_CERTIFICATE}"
103 fi
104
105 # map architectures to systemd's expected values
106 local systemd_arch="${TARGET_ARCH}"
107 case "${systemd_arch}" in
108 aarch64)
109 systemd_arch=arm64
110 ;;
111 x86_64)
112 systemd_arch=x86-64
113 ;;
114 esac
115
116 # prepare system-repart configuration
117 mkdir -p ${B}/definitions.repart.d
118 cp ${STAGING_LIBDIR_NATIVE}/systemd/repart/definitions/${REPART_DDI_TYPE}.repart.d/* ${B}/definitions.repart.d/
119 # enable erofs compression
120 sed -i "/^Compression/d" ${B}/definitions.repart.d/10-root.conf
121 echo "Compression=lzma\nCompressionLevel=3" >> ${B}/definitions.repart.d/10-root.conf
122 # disable verity signature partition creation, if no key is provided
123 if [ -z "${REPART_PRIVATE_KEY}" ]; then
124 rm ${B}/definitions.repart.d/30-root-verity-sig.conf
125 fi
126
127 systemd-repart \
128 --definitions="${B}/definitions.repart.d/" \
129 --copy-source="${IMAGE_ROOTFS}" \
130 --empty=create --size=auto --dry-run=no --offline=yes \
131 --architecture="${systemd_arch}" \
132 --json=pretty --no-pager $additional_args \
133 "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${REPART_DDI_EXTENSION}"
134}
135
136IMAGE_CMD:ddi = "oe_image_systemd_repart_make_ddi"
137do_image_ddi[deptask] += "do_unpack"
diff --git a/meta-oe/classes/fitimage.bbclass b/meta-oe/classes/fitimage.bbclass
new file mode 100644
index 0000000000..03fa2fcd57
--- /dev/null
+++ b/meta-oe/classes/fitimage.bbclass
@@ -0,0 +1,540 @@
1# SPDX-License-Identifier: MIT
2#
3# Copyright PHYTEC Messtechnik GmbH
4# Copyright (C) 2024 Pengutronix, <yocto@pengutronix.de>
5#
6# Class for creating (signed) FIT images
7# Description:
8#
9# You have to define the 'images' to put in the FIT image in your recipe file
10# following this example:
11#
12# FITIMAGE_IMAGES ?= "kernel fdt fdto setup ramdisk bootscript"
13#
14# FITIMAGE_IMAGE_kernel ?= "virtual/kernel"
15# FITIMAGE_IMAGE_kernel[type] ?= "kernel"
16#
17# FITIMAGE_IMAGE_fdt ?= "virtual/dtb" # or "virtual/kernel"
18# FITIMAGE_IMAGE_fdt[type] ?= "fdt"
19# #FITIMAGE_IMAGE_fdt[file] ?= "hw-name.dtb"
20#
21# FITIMAGE_IMAGE_fdto ?= "virtual/kernel"
22# FITIMAGE_IMAGE_fdto[type] ?= "fdto"
23# FITIMAGE_IMAGE_fdto[file] ?= <list of all dtbo files from KERNEL_DEVICETREE>
24#
25# Add a devicetree created on-thy-fly of a base dtb and serveral dtbo's
26# FITIMAGE_IMAGE_fdtapply ?= "virtual/kernel"
27# FITIMAGE_IMAGE_fdtapply[type] ?= "fdtapply"
28# FITIMAGE_IMAGE_fdtapply[file] ?= "base.dtb overlay-1.dtbo overlay-2.dtbo"
29# FITIMAGE_IMAGE_fdtapply[name] ?= "<name for new generated fdt>"
30#
31# FITIMAGE_IMAGE_ramdisk ?= "core-image-minimal"
32# FITIMAGE_IMAGE_ramdisk[type] ?= "ramdisk"
33# FITIMAGE_IMAGE_ramdisk[fstype] ?= "cpio.gz"
34#
35# FITIMAGE_IMAGE_bootscript ?= "bootscript"
36# FITIMAGE_IMAGE_bootscript[type] ?= "bootscript"
37# FITIMAGE_IMAGE_bootscript[file] ?= "boot.scr"
38#
39# Valid options for the [type] varflag are: "kernel", "fdt", "fdto", "fdtapply", "ramdisk", "bootscript".
40#
41# To enable signing, set
42#
43# FITIMAGE_SIGN = "1"
44#
45# and configure FITIMAGE_SIGN_KEYDIR (and FITIMAGE_SIGN_KEYNAME) according to
46# your needs.
47#
48# For signing via PKCS#11 URIs provided by the meta-oe signing.bbclass, add:
49#
50# inherit signing
51#
52# FITIMAGE_SIGNING_KEY_ROLE = "fit"
53#
54# do_fitimage:prepend() {
55# signing_prepare
56# signing_use_role "${FITIMAGE_SIGNING_KEY_ROLE}"
57# }
58#
59# FITIMAGE_SIGN = "1"
60# FITIMAGE_MKIMAGE_EXTRA_ARGS = "--engine pkcs11"
61# FITIMAGE_SIGN_KEYDIR = "${PKCS11_URI}"
62
63
64LICENSE ?= "MIT"
65
66inherit deploy kernel-artifact-names image-artifact-names kernel-arch nopackages
67
68do_patch[noexec] = "1"
69do_compile[noexec] = "1"
70do_install[noexec] = "1"
71deltask do_populate_sysroot
72
73INHIBIT_DEFAULT_DEPS = "1"
74
75DEPENDS = "u-boot-mkimage-native dtc-native"
76
77FITIMAGE_SIGN ?= "0"
78FITIMAGE_SIGN[doc] = "Enable FIT image signing"
79FITIMAGE_SIGN_KEYDIR ?= ""
80FITIMAGE_SIGN_KEYDIR[doc] = "Key directory or pkcs#11 URI to use for signing configuration"
81FITIMAGE_MKIMAGE_EXTRA_ARGS[doc] = "Extra arguemnts to pass to uboot-mkimage call"
82FITIMAGE_HASH_ALGO ?= "sha256"
83FITIMAGE_HASH_ALGO[doc] = "Hash algorithm to use"
84FITIMAGE_ENCRYPT_ALGO ?= "rsa2048"
85FITIMAGE_ENCRYPT_ALGO[doc] = "Signature algorithm to use"
86FITIMAGE_CONFIG_PREFIX ?= "conf-"
87FITIMAGE_CONFIG_PREFIX[doc] = "Prefix to use for FIT configuration node name"
88
89FITIMAGE_LOADADDRESS ??= ""
90FITIMAGE_ENTRYPOINT ??= ""
91FITIMAGE_DTB_LOADADDRESS ??= ""
92FITIMAGE_DTB_OVERLAY_LOADADDRESS ??= ""
93FITIMAGE_RD_LOADADDRESS ??= ""
94FITIMAGE_RD_ENTRYPOINT ??= ""
95
96PACKAGE_ARCH = "${MACHINE_ARCH}"
97
98# Create dependency list from images
99python __anonymous() {
100 for image in (d.getVar('FITIMAGE_IMAGES') or "").split():
101 imageflags = d.getVarFlags('FITIMAGE_IMAGE_%s' % image, expand=['type', 'depends']) or {}
102 imgtype = imageflags.get('type')
103 if not imgtype:
104 bb.debug(1, "No [type] given for image '%s', defaulting to 'kernel'" % image)
105 imgtype = 'kernel'
106 recipe = d.getVar('FITIMAGE_IMAGE_%s' % image)
107
108 if not recipe:
109 bb.fatal(f"No recipe set for image '{image}'. Specify via 'FITIMAGE_IMAGE_{image} = \"<recipe-name>\"'")
110 return
111
112 d.appendVarFlag('do_unpack', 'vardeps', ' FITIMAGE_IMAGE_%s' % image)
113 depends = imageflags.get('depends')
114 if depends:
115 d.appendVarFlag('do_unpack', 'depends', ' ' + depends)
116 continue
117
118 if imgtype == 'ramdisk':
119 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_image_complete')
120 elif 'fdt' in imgtype:
121 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_populate_sysroot')
122 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_deploy')
123 else:
124 d.appendVarFlag('do_unpack', 'depends', ' ' + recipe + ':do_deploy')
125
126 if 'fdt' in imgtype and d.getVar('PREFERRED_PROVIDER_virtual/dtb'):
127 d.setVar('EXTERNAL_KERNEL_DEVICETREE', '${RECIPE_SYSROOT}/boot/devicetree')
128}
129
130S = "${UNPACKDIR}"
131B = "${WORKDIR}/build"
132
133#
134# Emit the fitImage ITS header
135#
136def fitimage_emit_fit_header(d, fd):
137 fd.write('/dts-v1/;\n\n/ {\n')
138 fd.write(d.expand('\tdescription = "fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";\n'))
139 fd.write('\t#address-cells = <1>;\n')
140
141#
142# Emit the fitImage ITS footer
143#
144def fitimage_emit_fit_footer(d, fd):
145 fd.write('};\n')
146
147#
148# Emit the fitImage section
149#
150def fitimage_emit_section_start(d, fd, section):
151 fd.write(f'\t{section} {{\n')
152
153#
154# Emit the fitImage section end
155#
156def fitimage_emit_section_end(d, fd):
157 fd.write('\t};\n')
158
159def fitimage_emit_section_kernel(d, fd, imgpath, imgsource, imgcomp):
160 kernelcount = 1
161 kernel_csum = d.getVar("FITIMAGE_HASH_ALGO")
162 arch = d.getVar("ARCH")
163 loadaddr = d.getVar("FITIMAGE_LOADADDRESS")
164 entryaddr = d.getVar("FITIMAGE_ENTRYPOINT")
165
166 bb.note(f"Adding kernel-{kernelcount} section to ITS file")
167
168 fd.write(f'\t\tkernel-{kernelcount} {{\n')
169 fd.write('\t\t\tdescription = "Linux kernel";\n')
170 fd.write(f'\t\t\tdata = /incbin/("{imgpath}/{imgsource}");\n')
171 fd.write('\t\t\ttype = "kernel";\n')
172 fd.write(f'\t\t\tarch = "{arch}";\n')
173 fd.write('\t\t\tos = "linux";\n')
174 fd.write(f'\t\t\tcompression = "{imgcomp}";\n')
175 if (loadaddr):
176 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
177 if (entryaddr):
178 fd.write(f'\t\t\tentry = <{entryaddr}>;\n')
179 fd.write('\t\t\thash-1 {\n')
180 fd.write(f'\t\t\t\talgo = "{kernel_csum}";\n')
181 fd.write('\t\t\t};\n')
182 fd.write('\t\t};\n')
183
184#
185# Emit the fitImage ITS DTB section
186#
187def _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, desc):
188 dtb_csum = d.getVar("FITIMAGE_HASH_ALGO")
189 arch = d.getVar("ARCH")
190
191 bb.note(f"Adding fdt-{dtb_file} section to ITS file")
192
193 fd.write(f'\t\tfdt-{dtb_file} {{\n')
194 fd.write(f'\t\t\tdescription = "{desc}";\n')
195 fd.write(f'\t\t\tdata = /incbin/("{dtb_path}/{dtb_file}");\n')
196 fd.write('\t\t\ttype = "flat_dt";\n')
197 fd.write(f'\t\t\tarch = "{arch}";\n')
198 fd.write('\t\t\tcompression = "none";\n')
199 if loadaddr:
200 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
201 fd.write('\t\t\thash-1 {\n')
202 fd.write(f'\t\t\t\talgo = "{dtb_csum}";\n')
203 fd.write('\t\t\t};\n')
204 fd.write('\t\t};\n')
205
206
207def fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path):
208 loadaddr = d.getVar("FITIMAGE_DTB_LOADADDRESS")
209
210 _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, "Flattened Device Tree blob")
211
212#
213# Emit the fitImage ITS DTB overlay section
214#
215def fitimage_emit_section_dtb_overlay(d, fd, dtb_file, dtb_path):
216 loadaddr = d.getVar("FITIMAGE_DTB_OVERLAY_LOADADDRESS")
217
218 _fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path, loadaddr, "Flattened Device Tree Overlay blob")
219
220
221#
222# Emit the fitImage ITS ramdisk section
223#
224def fitimage_emit_section_ramdisk(d, fd, img_file, img_path):
225 ramdisk_count = "1"
226 ramdisk_csum = d.getVar("FITIMAGE_HASH_ALGO")
227 arch = d.getVar("ARCH")
228 loadaddr = d.getVar("FITIMAGE_RD_LOADADDRESS")
229 entryaddr = d.getVar("FITIMAGE_RD_ENTRYPOINT")
230
231 bb.note(f"Adding ramdisk-{ramdisk_count} section to ITS file")
232
233 fd.write(f'\t\tramdisk-{ramdisk_count} {{\n')
234 fd.write(f'\t\t\tdescription = "{img_file}";\n')
235 fd.write(f'\t\t\tdata = /incbin/("{img_path}/{img_file}");\n')
236 fd.write('\t\t\ttype = "ramdisk";\n')
237 fd.write(f'\t\t\tarch = "{arch}";\n')
238 fd.write('\t\t\tos = "linux";\n')
239 fd.write('\t\t\tcompression = "none";\n')
240 if (loadaddr):
241 fd.write(f'\t\t\tload = <{loadaddr}>;\n')
242 if (entryaddr):
243 fd.write(f'\t\t\tentry = <{entryaddr}>;\n')
244 fd.write('\t\t\thash-1 {\n')
245 fd.write(f'\t\t\t\talgo = "{ramdisk_csum}";\n')
246 fd.write('\t\t\t};\n')
247 fd.write('\t\t};\n')
248
249def fitimage_emit_section_bootscript(d, fd, imgpath, imgsource):
250 hash_algo = d.getVar("FITIMAGE_HASH_ALGO")
251 arch = d.getVar("ARCH")
252
253 bb.note(f"Adding bootscr-{imgsource} section to ITS file")
254
255 fd.write(f'\t\tbootscr-{imgsource} {{\n')
256 fd.write('\t\t\tdescription = "U-boot script";\n')
257 fd.write(f'\t\t\tdata = /incbin/("{imgpath}/{imgsource}");\n')
258 fd.write('\t\t\ttype = "script";\n')
259 fd.write(f'\t\t\tarch = "{arch}";\n')
260 fd.write('\t\t\tos = "linux";\n')
261 fd.write('\t\t\tcompression = "none";\n')
262 fd.write('\t\t\thash-1 {\n')
263 fd.write(f'\t\t\t\talgo = "{hash_algo}";\n')
264 fd.write('\t\t\t};\n')
265 fd.write('\t\t};\n')
266
267def fitimage_emit_subsection_signature(d, fd, sign_images_list):
268 hash_algo = d.getVar("FITIMAGE_HASH_ALGO")
269 encrypt_algo = d.getVar("FITIMAGE_ENCRYPT_ALGO") or ""
270 conf_sign_keyname = d.getVar("FITIMAGE_SIGN_KEYNAME")
271 signer_name = d.getVar("FITIMAGE_SIGNER")
272 signer_version = d.getVar("FITIMAGE_SIGNER_VERSION")
273 sign_images = ", ".join(f'"{s}"' for s in sign_images_list)
274
275 fd.write('\t\t\tsignature-1 {\n')
276 fd.write(f'\t\t\t\talgo = "{hash_algo},{encrypt_algo}";\n')
277 if conf_sign_keyname:
278 fd.write(f'\t\t\t\tkey-name-hint = "{conf_sign_keyname}";\n')
279 fd.write(f'\t\t\t\tsign-images = {sign_images};\n')
280 fd.write(f'\t\t\t\tsigner-name = "{signer_name}";\n')
281 fd.write(f'\t\t\t\tsigner-version = "{signer_version}";\n')
282 fd.write('\t\t\t};\n')
283
284#
285# Emit the fitImage ITS configuration section
286#
287def fitimage_emit_section_config(d, fd, dtb, kernelcount, ramdiskcount, setupcount, bootscriptid, compatible, dtbcount):
288 sign = d.getVar("FITIMAGE_SIGN")
289 conf_default = None
290 conf_prefix = d.getVar('FITIMAGE_CONFIG_PREFIX') or ""
291
292 bb.note(f"Adding {conf_prefix}{dtb} section to ITS file")
293
294 conf_desc="Linux kernel"
295 if dtb:
296 conf_desc += ", FDT blob"
297 if ramdiskcount:
298 conf_desc += ", ramdisk"
299 if setupcount:
300 conf_desc += ", setup"
301 if bootscriptid:
302 conf_desc += ", u-boot script"
303 if dtbcount == 1:
304 conf_default = d.getVar('FITIMAGE_DEFAULT_CONFIG') or f'{conf_prefix}{dtb}'
305
306 if conf_default:
307 fd.write(f'\t\tdefault = "{conf_default}";\n')
308 fd.write(f'\t\t{conf_prefix}{dtb} {{\n')
309 fd.write(f'\t\t\tdescription = "{dtbcount} {conf_desc}";\n')
310 if kernelcount:
311 fd.write('\t\t\tkernel = "kernel-1";\n')
312 fd.write(f'\t\t\tfdt = "fdt-{dtb}";\n')
313 if ramdiskcount:
314 fd.write(f'\t\t\tramdisk = "ramdisk-{ramdiskcount}";\n')
315 if bootscriptid:
316 fd.write(f'\t\t\tbootscr = "bootscr-{bootscriptid}";\n')
317 if compatible:
318 fd.write(f'\t\t\tcompatible = "{compatible}";\n')
319
320 if sign == "1":
321 sign_images = ["kernel"]
322 if dtb:
323 sign_images.append("fdt")
324 if ramdiskcount:
325 sign_images.append("ramdisk")
326 if setupcount:
327 sign_images.append("setup")
328 if bootscriptid:
329 sign_images.append("bootscr")
330 fitimage_emit_subsection_signature(d, fd, sign_images)
331
332 fd.write('\t\t' + '};\n')
333
334#
335# Emits a device tree overlay config section
336#
337def fitimage_emit_section_config_fdto(d, fd, dtb, compatible):
338 sign = d.getVar("FITIMAGE_SIGN")
339 bb.note("Adding overlay config section to ITS file")
340
341 fd.write(f'\t\t{dtb} {{\n')
342 fd.write(f'\t\t\tdescription = "Device Tree Overlay";\n')
343 fd.write(f'\t\t\tfdt = "fdt-{dtb}";\n')
344 if compatible:
345 fd.write(f'\t\t\tcompatible = "{compatible}";\n')
346
347 if sign == "1":
348 sign_images = ["fdt"]
349 fitimage_emit_subsection_signature(d, fd, sign_images)
350
351 fd.write('\t\t' + '};\n')
352
353python write_manifest() {
354 machine = d.getVar('MACHINE')
355 kernelcount=1
356 DTBS = ""
357 DTBOS = ""
358 ramdiskcount = ""
359 setupcount = ""
360 bootscriptid = ""
361 compatible = ""
362
363 def get_dtbs(d, dtb_suffix):
364 sysroot = d.getVar('RECIPE_SYSROOT')
365 deploydir = d.getVar('DEPLOY_DIR_IMAGE')
366
367 dtbs = (d.getVar('KERNEL_DEVICETREE') or '').split()
368 dtbs = [os.path.basename(x) for x in dtbs if x.endswith(dtb_suffix)]
369 ext_dtbs = os.listdir(d.getVar('EXTERNAL_KERNEL_DEVICETREE')) if d.getVar('EXTERNAL_KERNEL_DEVICETREE') else []
370 ext_dtbs = [x for x in ext_dtbs if x.endswith(dtb_suffix)]
371
372 result = []
373 # Prefer BSP dts if BSP and kernel provide the same dts
374 for d in sorted(set(dtbs + ext_dtbs)):
375 dtbpath = f'{sysroot}/boot/devicetree/{d}' if d in ext_dtbs else f'{deploydir}/{d}'
376 result.append(dtbpath)
377
378 return " ".join(result)
379
380 with open('%s/manifest.its' % d.getVar('B'), 'w') as fd:
381 images = d.getVar('FITIMAGE_IMAGES')
382 if not images:
383 bb.warn("No images specified in FITIMAGE_IMAGES. Generated FIT image will be empty")
384
385 fitimage_emit_fit_header(d, fd)
386 fitimage_emit_section_start(d, fd, 'images')
387
388 for image in (images or "").split():
389 imageflags = d.getVarFlags('FITIMAGE_IMAGE_%s' % image, expand=['file', 'fstype', 'type', 'comp']) or {}
390 imgtype = imageflags.get('type', 'kernel')
391 if imgtype == 'kernel':
392 if d.getVar('KERNEL_IMAGETYPE') not in ('zImage', 'Image') and not imageflags.get('comp'):
393 bb.warn(f"KERNEL_IMAGETYPE is '{d.getVar('KERNEL_IMAGETYPE')}' but FITIMAGE_IMAGE_kernel[comp] is not set.")
394 default = "%s-%s%s" % (d.getVar('KERNEL_IMAGETYPE'), machine, d.getVar('KERNEL_IMAGE_BIN_EXT'))
395 imgsource = imageflags.get('file', default)
396 imgcomp = imageflags.get('comp', 'none')
397 imgpath = d.getVar("DEPLOY_DIR_IMAGE")
398 fitimage_emit_section_kernel(d, fd, imgpath, imgsource, imgcomp)
399 elif imgtype == 'fdt':
400 default = get_dtbs(d, "dtb")
401 dtbfiles = imageflags.get('file', default)
402 if not dtbfiles:
403 bb.fatal(f"No dtb file found for image '{image}'. Set KERNEL_DEVICETREE, [file] varflag, or reference devicetree.bbclass-based recipe.")
404 for dtb in dtbfiles.split():
405 dtb_path, dtb_file = os.path.split(dtb)
406 DTBS += f" {dtb}"
407 fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path)
408 elif imgtype == 'fdto':
409 default = get_dtbs(d, "dtbo")
410 dtbofiles = imageflags.get('file', default)
411 if not dtbofiles:
412 bb.fatal(f"No dtbo file found for image '{image}'. Set KERNEL_DEVICETREE, [file] varflag, or reference devicetree.bbclass-based recipe.")
413 for dtb in dtbofiles.split():
414 dtb_path, dtb_file = os.path.split(dtb)
415 DTBOS = DTBOS + " " + dtb
416 fitimage_emit_section_dtb_overlay(d, fd, dtb_file, dtb_path)
417 elif imgtype == 'fdtapply':
418 import subprocess
419 dtbofiles = imageflags.get('file', None)
420 if not dtbofiles:
421 bb.fatal(f"No dtbo file found for image '{image}'. Set via [file] varflag.")
422 dtboutname = imageflags.get('name', None)
423 if not dtboutname:
424 bb.fatal(f"No dtb output name found for image '{image}'. Set via [name] varflag.")
425 dtbresult = "%s/%s" % (d.getVar('B'), dtboutname)
426 dtbcommand = ""
427 for dtb in dtbofiles.split():
428 dtb_path, dtb_file = os.path.split(dtb)
429 if not dtb_path:
430 dtb_path = d.getVar("DEPLOY_DIR_IMAGE")
431 if not dtbcommand:
432 if not dtb_file.endswith('.dtb'):
433 bb.fatal(f"fdtapply failed: Expected (non-overlay) .dtb file as first element, but got {dtb_file}")
434 dtbcommand = f"fdtoverlay -i {dtb_path}/{dtb_file} -o {dtbresult}"
435 else:
436 if not dtb_file.endswith('.dtbo'):
437 bb.fatal(f"fdtapply failed: Expected .dtbo file, but got {dtb_file}")
438 dtbcommand += f" {dtb_path}/{dtb_file}"
439 result = subprocess.run(dtbcommand, stderr=subprocess.PIPE, shell=True, text=True)
440 if result.returncode != 0:
441 bb.fatal(f"Running {dtbcommand} failed: {result.stderr}")
442 dtb_path, dtb_file = os.path.split(dtbresult)
443 DTBS += f" {dtbresult}"
444 fitimage_emit_section_dtb(d, fd, dtb_file, dtb_path)
445 elif imgtype == 'ramdisk':
446 ramdiskcount = "1"
447 default_imgfstype = d.getVar('INITRAMFS_FSTYPES' or "").split()[0]
448 img_fstype = imageflags.get('fstype', default_imgfstype)
449 img_file = "%s%s.%s" % (d.getVar('FITIMAGE_IMAGE_%s' % image), d.getVar('IMAGE_MACHINE_SUFFIX'), img_fstype)
450 img_path = d.getVar("DEPLOY_DIR_IMAGE")
451 fitimage_emit_section_ramdisk(d, fd, img_file, img_path)
452 elif imgtype == 'bootscript':
453 if bootscriptid:
454 bb.fatal("Only a single boot script is supported (already set to: %s)" % bootscriptid)
455 imgsource = imageflags.get('file', None)
456 imgpath = d.getVar("DEPLOY_DIR_IMAGE")
457 bootscriptid = imgsource
458 fitimage_emit_section_bootscript(d, fd, imgpath, imgsource)
459 else:
460 bb.fatal(f"Unsupported image type: '{imgtype}'")
461 fitimage_emit_section_end(d, fd)
462 #
463 # Step 5: Prepare a configurations section
464 #
465 fitimage_emit_section_start(d, fd, 'configurations')
466 confcount = 0
467 dtbcount = 1
468 for dtb in (DTBS or "").split():
469 import subprocess
470 try:
471 cmd = "fdtget -t s {} / compatible".format(dtb)
472 compatible = subprocess.check_output(cmd, shell=True, text=True).split()[0]
473 except subprocess.CalledProcessError:
474 bb.fatal("Failed to find root-node compatible string in (%s)" % dtb)
475
476 dtb_path, dtb_file = os.path.split(dtb)
477 fitimage_emit_section_config(d, fd, dtb_file, kernelcount, ramdiskcount, setupcount, bootscriptid, compatible, dtbcount)
478 dtbcount += 1
479 confcount += 1
480 for dtb in (DTBOS or "").split():
481 import subprocess
482 try:
483 cmd = "fdtget -t s {} / compatible".format(dtb)
484 compatible = subprocess.check_output(cmd, shell=True, text=True).split()[0]
485 except subprocess.CalledProcessError:
486 bb.note("Failed to find root-node compatible string in (%s)" % dtb)
487 compatible = None
488
489 dtb_path, dtb_file = os.path.split(dtb)
490 fitimage_emit_section_config_fdto(d, fd, dtb_file, compatible)
491 confcount += 1
492
493 fitimage_emit_section_end(d, fd)
494
495 if confcount == 0:
496 bb.fatal("Empty 'configurations' node generated! At least one 'fdt' or 'fdto' type is required.")
497
498 fitimage_emit_fit_footer(d, fd)
499}
500
501do_configure[postfuncs] += "write_manifest"
502
503do_fitimage () {
504 if [ "${FITIMAGE_SIGN}" = "1" ]; then
505 uboot-mkimage ${FITIMAGE_MKIMAGE_EXTRA_ARGS} \
506 -k "${FITIMAGE_SIGN_KEYDIR}" -r \
507 -f "${B}/manifest.its" \
508 "${B}/fitImage"
509 else
510 uboot-mkimage ${FITIMAGE_MKIMAGE_EXTRA_ARGS} \
511 -f "${B}/manifest.its" \
512 "${B}/fitImage"
513 fi
514}
515addtask fitimage after do_configure
516
517ITS_NAME ?= "${PN}-${KERNEL_ARTIFACT_NAME}"
518ITS_LINK_NAME ?= "${PN}-${KERNEL_ARTIFACT_LINK_NAME}"
519FITIMAGE_IMAGE_NAME ?= "fitImage-${PN}-${KERNEL_FIT_NAME}${KERNEL_FIT_BIN_EXT}"
520FITIMAGE_IMAGE_LINK_NAME ?= "fitImage-${PN}-${KERNEL_FIT_LINK_NAME}"
521
522SSTATE_SKIP_CREATION:task-deploy = '1'
523
524do_deploy() {
525 bbnote 'Copying fit-image.its source file...'
526 install -m 0644 ${B}/manifest.its ${DEPLOYDIR}/${ITS_NAME}.its
527
528 bbnote 'Copying all created fdt from type fdtapply'
529 for DTB_FILE in `find ${B} -maxdepth 1 -name *.dtb`; do
530 install -m 0644 ${DTB_FILE} ${DEPLOYDIR}/
531 done
532
533 bbnote 'Copying fitImage file...'
534 install -m 0644 ${B}/fitImage ${DEPLOYDIR}/${FITIMAGE_IMAGE_NAME}
535
536 cd ${DEPLOYDIR}
537 ln -sf ${ITS_NAME}.its ${ITS_LINK_NAME}.its
538 ln -sf ${FITIMAGE_IMAGE_NAME} ${FITIMAGE_IMAGE_LINK_NAME}
539}
540addtask deploy after do_fitimage before do_build
diff --git a/meta-oe/classes/gitpkgv.bbclass b/meta-oe/classes/gitpkgv.bbclass
index 5ab507969c..eb4b1eae9a 100644
--- a/meta-oe/classes/gitpkgv.bbclass
+++ b/meta-oe/classes/gitpkgv.bbclass
@@ -70,54 +70,52 @@ def get_git_pkgv(d, use_tags):
70 names = [] 70 names = []
71 for url in ud.values(): 71 for url in ud.values():
72 if url.type == 'git' or url.type == 'gitsm': 72 if url.type == 'git' or url.type == 'gitsm':
73 names.extend(url.revisions.keys()) 73 names.append(url.name)
74 if len(names) > 0: 74 if len(names) > 0:
75 format = '_'.join(names) 75 format = '_'.join(names)
76 else: 76 else:
77 format = 'default' 77 format = 'default'
78
79 found = False 78 found = False
80 for url in ud.values(): 79 for url in ud.values():
81 if url.type == 'git' or url.type == 'gitsm': 80 if url.type == 'git' or url.type == 'gitsm':
82 for name, rev in url.revisions.items(): 81 if not os.path.exists(url.localpath):
83 if not os.path.exists(url.localpath): 82 return None
84 return None
85 83
86 found = True 84 found = True
87 85
88 vars = { 'repodir' : quote(url.localpath), 86 vars = { 'repodir' : quote(url.localpath),
89 'rev' : quote(rev) } 87 'rev' : quote(url.revision) }
90 88
91 rev = bb.fetch2.get_srcrev(d).split('+')[1] 89 rev = bb.fetch2.get_srcrev(d).split('+')[1]
92 rev_file = os.path.join(url.localpath, "oe-gitpkgv_" + rev) 90 rev_file = os.path.join(url.localpath, "oe-gitpkgv_" + url.revision)
93 91
94 if not os.path.exists(rev_file) or os.path.getsize(rev_file)==0: 92 if not os.path.exists(rev_file) or os.path.getsize(rev_file)==0:
95 commits = bb.fetch2.runfetchcmd( 93 commits = bb.fetch2.runfetchcmd(
96 "git --git-dir=%(repodir)s rev-list %(rev)s -- 2>/dev/null | wc -l" 94 "git --git-dir=%(repodir)s rev-list %(rev)s -- 2>/dev/null | wc -l"
97 % vars, d, quiet=True).strip().lstrip('0') 95 % vars, d, quiet=True).strip().lstrip('0')
98 96
99 if commits != "": 97 if commits != "":
100 oe.path.remove(rev_file, recurse=False) 98 oe.path.remove(rev_file, recurse=False)
101 with open(rev_file, "w") as f: 99 with open(rev_file, "w") as f:
102 f.write("%d\n" % int(commits)) 100 f.write("%d\n" % int(commits))
103 else:
104 commits = "0"
105 else:
106 with open(rev_file, "r") as f:
107 commits = f.readline(128).strip()
108
109 if use_tags:
110 try:
111 output = bb.fetch2.runfetchcmd(
112 "git --git-dir=%(repodir)s describe %(rev)s --tags --exact-match 2>/dev/null"
113 % vars, d, quiet=True).strip()
114 ver = gitpkgv_drop_tag_prefix(d, output)
115 except Exception:
116 ver = "0.0-%s-g%s" % (commits, vars['rev'][:7])
117 else: 101 else:
118 ver = "%s+%s" % (commits, vars['rev'][:7]) 102 commits = "0"
119 103 else:
120 format = format.replace(name, ver) 104 with open(rev_file, "r") as f:
105 commits = f.readline(128).strip()
106
107 if use_tags:
108 try:
109 output = bb.fetch2.runfetchcmd(
110 "git --git-dir=%(repodir)s describe %(rev)s --tags --exact-match 2>/dev/null"
111 % vars, d, quiet=True).strip()
112 ver = gitpkgv_drop_tag_prefix(d, output)
113 except Exception:
114 ver = "0.0-%s-g%s" % (commits, vars['rev'][:7])
115 else:
116 ver = "%s+%s" % (commits, vars['rev'][:7])
117
118 format = format.replace(url.name, ver)
121 119
122 if found: 120 if found:
123 return format 121 return format
diff --git a/meta-oe/classes/gpe.bbclass b/meta-oe/classes/gpe.bbclass
deleted file mode 100644
index a9b1cd5a90..0000000000
--- a/meta-oe/classes/gpe.bbclass
+++ /dev/null
@@ -1,17 +0,0 @@
1DEPENDS:prepend = "virtual/libintl intltool-native "
2GPE_TARBALL_SUFFIX ?= "gz"
3SRC_URI = "${GPE_MIRROR}/${BP}.tar.${GPE_TARBALL_SUFFIX}"
4FILES:${PN} += "${datadir}/gpe ${datadir}/application-registry"
5SECTION ?= "gpe"
6
7inherit gettext
8
9gpe_do_compile() {
10 oe_runmake PREFIX=${prefix}
11}
12
13gpe_do_install() {
14 oe_runmake PREFIX=${prefix} DESTDIR=${D} install
15}
16
17EXPORT_FUNCTIONS do_compile do_install
diff --git a/meta-oe/classes/image_types_verity.bbclass b/meta-oe/classes/image_types_verity.bbclass
index b42217c453..d77bc20a13 100644
--- a/meta-oe/classes/image_types_verity.bbclass
+++ b/meta-oe/classes/image_types_verity.bbclass
@@ -26,6 +26,10 @@
26# should be the same blockdevice in the command shown above while <dm_dev_name> 26# should be the same blockdevice in the command shown above while <dm_dev_name>
27# is the name of the to be created dm-verity-device. 27# is the name of the to be created dm-verity-device.
28# 28#
29# By specifying a different VERITY_IMAGE_HASHDEV_SUFFIX, the hash tree data can
30# be created in a separate file. In this case, <dev> is just zero padded to a
31# multiple of VERITY_BLOCK_SIZE. <hash_dev> will be a separate file.
32#
29# The root hash is calculated using a salt to make attacks more difficult. Thus, 33# The root hash is calculated using a salt to make attacks more difficult. Thus,
30# please grant each image recipe its own salt which could be generated e.g. via 34# please grant each image recipe its own salt which could be generated e.g. via
31# 35#
@@ -42,6 +46,7 @@ VERITY_SALT ?= "${CLASS_VERITY_SALT}"
42VERITY_BLOCK_SIZE ?= "4096" 46VERITY_BLOCK_SIZE ?= "4096"
43VERITY_IMAGE_FSTYPE ?= "ext4" 47VERITY_IMAGE_FSTYPE ?= "ext4"
44VERITY_IMAGE_SUFFIX ?= ".verity" 48VERITY_IMAGE_SUFFIX ?= ".verity"
49VERITY_IMAGE_HASHDEV_SUFFIX ?= "${VERITY_IMAGE_SUFFIX}"
45VERITY_INPUT_IMAGE ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${VERITY_IMAGE_FSTYPE}" 50VERITY_INPUT_IMAGE ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${VERITY_IMAGE_FSTYPE}"
46 51
47IMAGE_TYPEDEP:verity = "${VERITY_IMAGE_FSTYPE}" 52IMAGE_TYPEDEP:verity = "${VERITY_IMAGE_FSTYPE}"
@@ -56,6 +61,7 @@ python __anonymous() {
56} 61}
57 62
58python do_image_verity () { 63python do_image_verity () {
64 import io
59 import os 65 import os
60 import subprocess 66 import subprocess
61 import shutil 67 import shutil
@@ -66,6 +72,9 @@ python do_image_verity () {
66 verity_image_suffix = d.getVar('VERITY_IMAGE_SUFFIX') 72 verity_image_suffix = d.getVar('VERITY_IMAGE_SUFFIX')
67 verity = '{}{}'.format(image, verity_image_suffix) 73 verity = '{}{}'.format(image, verity_image_suffix)
68 74
75 verity_image_hashdev_suffix = d.getVar('VERITY_IMAGE_HASHDEV_SUFFIX')
76 verity_hashdev = '{}{}'.format(image, verity_image_hashdev_suffix)
77
69 # For better readability the parameter VERITY_BLOCK_SIZE is specified in 78 # For better readability the parameter VERITY_BLOCK_SIZE is specified in
70 # bytes. It must be a multiple of the logical sector size which is 512 bytes 79 # bytes. It must be a multiple of the logical sector size which is 512 bytes
71 # in Linux. Make sure that this is the case as otherwise the resulting 80 # in Linux. Make sure that this is the case as otherwise the resulting
@@ -87,9 +96,9 @@ python do_image_verity () {
87 bb.debug(1, f"data_size_blocks: {data_size_blocks}, {data_size_rest}") 96 bb.debug(1, f"data_size_blocks: {data_size_blocks}, {data_size_rest}")
88 bb.debug(1, f"data_size: {data_size}") 97 bb.debug(1, f"data_size: {data_size}")
89 98
90 # Create verity image 99 if verity == verity_hashdev:
91 try: 100 # creating self-contained dm-verity image
92 output = subprocess.check_output([ 101 veritysetup_command = [
93 'veritysetup', 'format', 102 'veritysetup', 'format',
94 '--no-superblock', 103 '--no-superblock',
95 '--salt={}'.format(salt), 104 '--salt={}'.format(salt),
@@ -98,7 +107,27 @@ python do_image_verity () {
98 '--hash-block-size={}'.format(block_size), 107 '--hash-block-size={}'.format(block_size),
99 '--hash-offset={}'.format(data_size), 108 '--hash-offset={}'.format(data_size),
100 verity, verity, 109 verity, verity,
101 ]) 110 ]
111 else:
112 # creating separate dm-verity and hash device image
113 veritysetup_command = [
114 'veritysetup', 'format',
115 '--salt={}'.format(salt),
116 '--data-blocks={}'.format(data_blocks),
117 '--data-block-size={}'.format(block_size),
118 '--hash-block-size={}'.format(block_size),
119 verity, verity_hashdev,
120 ]
121 # veritysetup expects the data device size to be a multiple of block_size
122 # when creating a separate hashdev file, zero pad verity file if needed
123 if data_size_rest:
124 with open(verity, 'rb+') as verityfile:
125 verityfile.seek(0, io.SEEK_END)
126 verityfile.write(b'\x00' * (block_size - data_size_rest))
127
128 # Create verity image
129 try:
130 output = subprocess.check_output(veritysetup_command)
102 except subprocess.CalledProcessError as err: 131 except subprocess.CalledProcessError as err:
103 bb.fatal('%s returned with %s (%s)' % (err.cmd, err.returncode, err.output)) 132 bb.fatal('%s returned with %s (%s)' % (err.cmd, err.returncode, err.output))
104 133
@@ -128,7 +157,11 @@ python do_image_verity () {
128 bb.fatal('Unexpected error %s' % err) 157 bb.fatal('Unexpected error %s' % err)
129 158
130 # Create symlinks 159 # Create symlinks
131 for suffix in [ verity_image_suffix, '.verity-info', '.verity-params' ]: 160 suffix_list = [ verity_image_suffix, '.verity-info', '.verity-params' ]
161 if verity != verity_hashdev:
162 suffix_list.append(verity_image_hashdev_suffix)
163
164 for suffix in suffix_list:
132 try: 165 try:
133 os.remove(link + suffix) 166 os.remove(link + suffix)
134 except FileNotFoundError: 167 except FileNotFoundError:
diff --git a/meta-oe/classes/panel-mipi-dbi.bbclass b/meta-oe/classes/panel-mipi-dbi.bbclass
new file mode 100644
index 0000000000..7ceebc72e0
--- /dev/null
+++ b/meta-oe/classes/panel-mipi-dbi.bbclass
@@ -0,0 +1,48 @@
1# SPDX-License-Identifier: MIT
2#
3# Copyright Pengutronix <yocto@pengutronix.de>
4#
5# Class to generate firmware files for use with the `panel-mipi-dbi` Linux
6# driver.
7#
8# The firmware source file contains a list of commands to send to the display
9# controller in order to initialize it:
10#
11# $ cat shineworld,lh133k.txt
12# command 0x11 # exit sleep mode
13# delay 120
14#
15# # Enable color inversion
16# command 0x21 # INVON
17# ...
18#
19# A recipe to compile such a command list into a firmware blob for use with
20# the `panel-mipi-dbi` driver looks something like this:
21#
22# $ cat panel-shineworld-lh133k.bb
23# inherit panel-mipi-dbi
24#
25# SRC_URI = "file://${PANEL_FIRMWARE}"
26#
27# PANEL_FIRMWARE = "shineworld,lh133k.txt"
28# ...
29
30DEPENDS = "panel-mipi-dbi-native"
31
32PANEL_FIRMWARE_BIN ?= "${@d.getVar('PANEL_FIRMWARE').removesuffix('.txt')}.bin"
33
34do_configure[noexec] = "1"
35
36do_compile () {
37 mipi-dbi-cmd \
38 "${B}/${PANEL_FIRMWARE_BIN}" \
39 "${UNPACKDIR}/${PANEL_FIRMWARE}"
40}
41
42do_install () {
43 install -m 0644 -D \
44 "${B}/${PANEL_FIRMWARE_BIN}" \
45 "${D}${nonarch_base_libdir}/firmware/${PANEL_FIRMWARE_BIN}"
46}
47
48FILES:${PN} = "${nonarch_base_libdir}/firmware/"
diff --git a/meta-oe/classes/signing.bbclass b/meta-oe/classes/signing.bbclass
index f52d861b76..5068360ca7 100644
--- a/meta-oe/classes/signing.bbclass
+++ b/meta-oe/classes/signing.bbclass
@@ -54,7 +54,7 @@
54SIGNING_PKCS11_URI ?= "" 54SIGNING_PKCS11_URI ?= ""
55SIGNING_PKCS11_MODULE ?= "" 55SIGNING_PKCS11_MODULE ?= ""
56 56
57DEPENDS += "softhsm-native libp11-native opensc-native openssl-native" 57DEPENDS += "softhsm-native libp11-native opensc-native openssl-native extract-cert-native"
58 58
59def signing_class_prepare(d): 59def signing_class_prepare(d):
60 import os.path 60 import os.path
@@ -87,11 +87,21 @@ def signing_class_prepare(d):
87 export(role, "SIGNING_PKCS11_URI_%s_", pkcs11_uri) 87 export(role, "SIGNING_PKCS11_URI_%s_", pkcs11_uri)
88 export(role, "SIGNING_PKCS11_MODULE_%s_", pkcs11_module) 88 export(role, "SIGNING_PKCS11_MODULE_%s_", pkcs11_module)
89 89
90 # there can be an optional CA associated with this role
91 ca_cert_name = d.getVarFlag("SIGNING_CA", role) or d.getVar("SIGNING_CA")
92 if ca_cert_name:
93 export(role, "SIGNING_CA_%s_", ca_cert_name)
94
90signing_pkcs11_tool() { 95signing_pkcs11_tool() {
91 pkcs11-tool --module "${STAGING_LIBDIR_NATIVE}/softhsm/libsofthsm2.so" --login --pin 1111 $* 96 pkcs11-tool --module "${STAGING_LIBDIR_NATIVE}/softhsm/libsofthsm2.so" --login --pin 1111 $*
92} 97}
93 98
94signing_import_prepare() { 99signing_import_prepare() {
100 # the $PN is used as 'label' in the softhsm, which is a "CK_UTF8CHAR
101 # paddedLabel[32]" in softhsm2-util.cpp, so it must not be longer.
102 LEN=$(echo -n ${PN} | wc -c)
103 test $LEN -le 32 || bbfatal "PN must not have a length greater than 32 chars."
104
95 export _SIGNING_ENV_FILE_="${B}/meta-signing.env" 105 export _SIGNING_ENV_FILE_="${B}/meta-signing.env"
96 rm -f "$_SIGNING_ENV_FILE_" 106 rm -f "$_SIGNING_ENV_FILE_"
97 107
@@ -118,28 +128,131 @@ signing_import_define_role() {
118 echo "_SIGNING_PKCS11_MODULE_${role}_=\"softhsm\"" >> $_SIGNING_ENV_FILE_ 128 echo "_SIGNING_PKCS11_MODULE_${role}_=\"softhsm\"" >> $_SIGNING_ENV_FILE_
119} 129}
120 130
121# signing_import_cert_from_der <role> <der> 131# signing_import_cert_from_der <cert_name> <der>
122# 132#
123# Import a certificate from DER file to a role. To be used 133# Import a certificate from DER file to a cert_name.
124# with SoftHSM. 134# Where the <cert_name> can either be a previously setup
135# signing_import_define_role linking the certificate to a signing key,
136# or a new identifier when dealing with a standalone certificate.
137#
138# To be used with SoftHSM.
125signing_import_cert_from_der() { 139signing_import_cert_from_der() {
126 local role="${1}" 140 local cert_name="${1}"
127 local der="${2}" 141 local der="${2}"
128 142
129 signing_pkcs11_tool --type cert --write-object "${der}" --label "${role}" 143 # check wether the cert_name/role needs to be defined first,
144 # or do so otherwise
145 local uri=$(siging_get_uri $cert_name)
146 if [ -z "$uri" ]; then
147 signing_import_define_role "$cert_name"
148 fi
149
150 signing_pkcs11_tool --type cert --write-object "${der}" --label "${cert_name}"
130} 151}
131 152
132# signing_import_cert_from_pem <role> <pem> 153# signing_import_set_ca <cert_name> <ca_cert_name>
133# 154#
134# Import a certificate from PEM file to a role. To be used 155# Link the certificate from <cert_name> to its issuer stored in
135# with SoftHSM. 156# <ca_cert_name> By walking this linked list a CA-chain can later be
157# reconstructed from the involed roles.
158signing_import_set_ca() {
159 local cert_name="${1}"
160 local ca_cert_name="${2}"
161
162 echo "_SIGNING_CA_${cert_name}_=\"${ca_cert_name}\"" >> $_SIGNING_ENV_FILE_
163 echo "added link from ${cert_name} to ${ca_cert_name}"
164}
165
166# signing_get_ca <cert_name>
167#
168# returns the <ca_cert_name> that has been set previously through
169# either signing_import_set_ca;
170# or a local.conf override SIGNING_CA[role] = ...
171# If none was set, the empty string is returned.
172signing_get_ca() {
173 local cert_name="${1}"
174
175 # prefer local configuration
176 eval local ca="\$SIGNING_CA_${cert_name}_"
177 if [ -n "$ca" ]; then
178 echo "$ca"
179 return
180 fi
181
182 # fall back to softhsm
183 eval echo "\$_SIGNING_CA_${cert_name}_"
184}
185
186# signing_has_ca <cert_name>
187#
188# check if the cert_name links to another cert_name that is its
189# certificate authority/issuer.
190signing_has_ca() {
191 local ca_cert_name="$(signing_get_ca ${1})"
192
193 test -n "$ca_cert_name"
194 return $?
195}
196
197# signing_get_intermediate_certs <cert_name>
198#
199# return a list of role/name intermediary CA certificates for a given
200# <cert_name> by walking the chain setup with signing_import_set_ca.
201#
202# The returned list will not include the the root CA, and can
203# potentially be empty.
204#
205# To be used with SoftHSM.
206signing_get_intermediate_certs() {
207 local cert_name="${1}"
208 local intermediary=""
209 while signing_has_ca "${cert_name}"; do
210 cert_name="$(signing_get_ca ${cert_name})"
211 if signing_has_ca "${cert_name}"; then
212 intermediary="${intermediary} ${cert_name}"
213 fi
214 done
215 echo "${intermediary}"
216}
217
218# signing_get_root_cert <cert_name>
219#
220# return the role/name of the CA root certificate for a given
221# <cert_name>, by walking the chain setup with signing_import_set_ca
222# all the way to the last in line that doesn't have a CA set - which
223# would be the root.
224#
225# To be used with SoftHSM.
226signing_get_root_cert() {
227 local cert_name="${1}"
228 while signing_has_ca "${cert_name}"; do
229 cert_name="$(signing_get_ca ${cert_name})"
230 done
231 echo "${cert_name}"
232}
233
234# signing_import_cert_from_pem <cert_name> <pem>
235#
236# Import a certificate from PEM file to a cert_name.
237# Where the <cert_name> can either be a previously setup
238# signing_import_define_role linking the certificate to a signing key,
239# or a new identifier when dealing with a standalone certificate.
240#
241# To be used with SoftHSM.
136signing_import_cert_from_pem() { 242signing_import_cert_from_pem() {
137 local role="${1}" 243 local cert_name="${1}"
138 local pem="${2}" 244 local pem="${2}"
139 245
246 # check wether the cert_name/role needs to be defined first,
247 # or do so otherwise
248 local uri=$(siging_get_uri $cert_name)
249 if [ -z "$uri" ]; then
250 signing_import_define_role "$cert_name"
251 fi
252
140 openssl x509 \ 253 openssl x509 \
141 -in "${pem}" -inform pem -outform der | 254 -in "${pem}" -inform pem -outform der |
142 signing_pkcs11_tool --type cert --write-object /proc/self/fd/0 --label "${role}" 255 signing_pkcs11_tool --type cert --write-object /proc/self/fd/0 --label "${cert_name}"
143} 256}
144 257
145# signing_import_pubkey_from_der <role> <der> 258# signing_import_pubkey_from_der <role> <der>
@@ -311,6 +424,30 @@ signing_get_module() {
311 fi 424 fi
312} 425}
313 426
427# signing_extract_cert_der <role> <der>
428#
429# Export a certificate attached to a role into a DER file.
430# To be used with SoftHSM.
431signing_extract_cert_der() {
432 local role="${1}"
433 local output="${2}"
434
435 extract-cert "$(signing_get_uri $role)" "${output}"
436}
437
438# signing_extract_cert_pem <role> <pem>
439#
440# Export a certificate attached to a role into a PEM file.
441# To be used with SoftHSM.
442signing_extract_cert_pem() {
443 local role="${1}"
444 local output="${2}"
445
446 extract-cert "$(signing_get_uri $role)" "${output}.tmp-der"
447 openssl x509 -inform der -in "${output}.tmp-der" -out "${output}"
448 rm "${output}.tmp-der"
449}
450
314python () { 451python () {
315 signing_class_prepare(d) 452 signing_class_prepare(d)
316} 453}
diff --git a/meta-oe/classes/sysext-image.bbclass b/meta-oe/classes/sysext-image.bbclass
new file mode 100644
index 0000000000..3771236c6e
--- /dev/null
+++ b/meta-oe/classes/sysext-image.bbclass
@@ -0,0 +1,87 @@
1#
2# Copyright OpenEmbedded Contributors
3#
4# SPDX-License-Identifier: MIT
5#
6
7# System extension images may – dynamically at runtime — extend the
8# /usr/ and /opt/ directory hierarchies with additional files. This is
9# particularly useful on immutable system images where a /usr/ and/or
10# /opt/ hierarchy residing on a read-only file system shall be
11# extended temporarily at runtime without making any persistent
12# modifications.
13
14## Example usage:
15# extension-image-example.bb
16#SUMMARY = "An example image to showcase a system extension image."
17#LICENSE = "MIT"
18#inherit discoverable-disk-image sysext-image
19#IMAGE_FEATURES = ""
20#IMAGE_LINGUAS = ""
21#IMAGE_INSTALL = "gdb"
22#
23## After building, the resulting 'extension-image-example-*sysext.rootfs.ddi'
24# can be deployed to an embedded system (running from a RO rootfs) and
25# 'merged' into the OS by following steps:
26## 1. place a symlink into the systemd-sysext image search path:
27# $> mkdir /run/extensions
28# $> ln -s /tmp/extension-example.sysext.ddi /run/extensions/example.raw
29## 2. list all available extensions:
30# $> systemd-sysext list
31## 3. and enable the found extensions:
32# $> SYSTEMD_LOG_LEVEL=debug systemd-sysext merge
33
34# Note: PACKAGECONFIG:pn-systemd needs to include 'sysext'
35
36# systemd-sysext [1] has a simple mechanism for version compatibility:
37# the extension to be loaded has to contain a file named
38# /usr/lib/extension-release.d/extension-release.NAME
39# with "NAME" part *exactly* matching the filename of the extensions
40# raw-device filename/
41#
42# From the extension-release file the "ID" and "VERSION_ID" fields are
43# matched against same fields present in `os-release` and the extension
44# is "merged" only if values in both fields from both files are an
45# exact match.
46#
47# Link: https://www.freedesktop.org/software/systemd/man/latest/systemd-sysext.html
48
49inherit image
50
51# Include '.sysext' in the deployed image filename and symlink
52IMAGE_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}${IMAGE_VERSION_SUFFIX}.sysext"
53IMAGE_LINK_NAME = "${IMAGE_BASENAME}${IMAGE_MACHINE_SUFFIX}.sysext"
54EXTENSION_NAME = "${IMAGE_LINK_NAME}.${IMAGE_FSTYPES}"
55
56# Base extension identification fields
57EXTENSION_ID_FIELD ?= "${DISTRO}"
58EXTENSION_VERSION_FIELD ?= "${DISTRO_VERSION}"
59
60sysext_image_add_version_identifier_file() {
61 # Use matching based on Distro name and version
62 echo 'ID=${EXTENSION_ID_FIELD}' > ${WORKDIR}/extension-release.base
63 # os-release.bb does "sanitise_value(ver)", which needs to be done here too
64 echo 'VERSION_ID=${EXTENSION_VERSION_FIELD}' \
65 | sed 's,+,-,g;s, ,_,g' \
66 >> ${WORKDIR}/extension-release.base
67
68 # Instruct `systemd-sysext` to perform re-load once extension image is verified
69 echo 'EXTENSION_RELOAD_MANAGER=1' >> ${WORKDIR}/extension-release.base
70
71 install -d ${IMAGE_ROOTFS}${nonarch_libdir}/extension-release.d
72 install -m 0644 ${WORKDIR}/extension-release.base \
73 ${IMAGE_ROOTFS}${nonarch_libdir}/extension-release.d/extension-release.${EXTENSION_NAME}
74
75 # systemd-sysext expects an extension-release file of the exact same name as the image;
76 # by setting a xattr we allow renaming of the extension image file.
77 # (Kernel: this requires xattr support in the used filesystem)
78 setfattr -n user.extension-release.strict -v false \
79 ${IMAGE_ROOTFS}${nonarch_libdir}/extension-release.d/extension-release.${EXTENSION_NAME}
80}
81
82ROOTFS_POSTPROCESS_COMMAND += "sysext_image_add_version_identifier_file"
83
84# remove 'os-release' from the packages to be installed into the image.
85# systemd-sysext otherwise raises the error:
86# Extension contains '/usr/lib/os-release', which is not allowed, refusing.
87PACKAGE_EXCLUDE += "os-release"
diff --git a/meta-oe/conf/include/non-repro-meta-oe.inc b/meta-oe/conf/include/non-repro-meta-oe.inc
deleted file mode 100755
index 7961d851f9..0000000000
--- a/meta-oe/conf/include/non-repro-meta-oe.inc
+++ /dev/null
@@ -1,107 +0,0 @@
1# List of known non-reproducible package of the meta-oe layer
2# Please keep this list sorted
3KNOWN_NON_REPRO_META_OE = " \
4 boinc-client-dev \
5 cjson-ptest \
6 cpuid-doc \
7 crash \
8 crash-dbg \
9 crash-src \
10 dhrystone \
11 dhrystone-dbg \
12 dhrystone-dev \
13 dhrystone-src \
14 directfb \
15 directfb-dbg \
16 doxygen-src \
17 editorconfig-core-c-dev \
18 etcd-cpp-apiv3-dev \
19 fbgrab-doc \
20 fluentbit-src \
21 fvwm-dbg \
22 fvwm-doc \
23 fvwm-extra \
24 gcab-src \
25 gosu \
26 gosu-dbg \
27 gosu-dev \
28 gosu-staticdev \
29 gphoto2 \
30 gphoto2-dbg \
31 hddtemp-locale-de \
32 hdf5 \
33 hdf5-dbg \
34 hdf5-src \
35 hdf5-staticdev \
36 hplip \
37 hplip-dbg \
38 jpnevulator-doc \
39 jsonrpc-dev \
40 kpatch-build \
41 kpatch-doc \
42 ldns \
43 libbotan-3-bin \
44 libbotan-3-dbg \
45 libbotan-3-dev \
46 libck-doc \
47 libdbus-cxx-dev \
48 libforms \
49 libiio-src \
50 libjcat-dbg \
51 libjcat-ptest \
52 libthrift-c-glib-zlib-src \
53 libvncserver-dev \
54 libwebsockets-testapps \
55 libwmf \
56 libyui-ncurses-dbg \
57 libyui-ncurses-dev \
58 lmbench-staticdev \
59 log4cpp \
60 lprng \
61 lprng-dbg \
62 lshw \
63 lshw-locale-fr \
64 mariadb-dbg \
65 mariadb-server \
66 mariadb-src \
67 mce-test \
68 mime-support-doc \
69 minifi-cpp \
70 minifi-cpp-dbg \
71 minifi-cpp-src \
72 mozjs-115-src \
73 mpv \
74 mpv-dbg \
75 nana \
76 nbench-byte \
77 nbench-byte-dbg \
78 nbench-byte-src \
79 nspr-staticdev \
80 openocd \
81 openocd-dbg \
82 pcp \
83 pcp-dev \
84 pcp-doc \
85 pcp-src \
86 perfetto \
87 perfetto-dbg \
88 php-phar \
89 pidgin \
90 pidgin-dbg \
91 pim435-staticdev \
92 postgresql-server-dev \
93 qcbor-staticdev \
94 sharutils \
95 sharutils-dbg \
96 smemstat-doc \
97 soci-dev \
98 thin-provisioning-tools-dev \
99 vulkan-cts \
100 vulkan-cts-dbg \
101 waylandpp-dev \
102 yasm-src \
103 zlog-staticdev \
104 zsh \
105 zsh-dbg \
106 zsh-src \
107"
diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index eaa86c411b..d77b97d576 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -7,9 +7,11 @@
7# 7#
8# ptests which take less than ~30s each 8# ptests which take less than ~30s each
9PTESTS_FAST_META_OE = "\ 9PTESTS_FAST_META_OE = "\
10 asio \
10 cmocka \ 11 cmocka \
11 cunit \ 12 cunit \
12 duktape \ 13 duktape \
14 fuse3 \
13 function2 \ 15 function2 \
14 fwupd \ 16 fwupd \
15 gcab \ 17 gcab \
@@ -17,27 +19,31 @@ PTESTS_FAST_META_OE = "\
17 jq \ 19 jq \
18 leveldb \ 20 leveldb \
19 libcereal \ 21 libcereal \
20 libee \
21 libgpiod \ 22 libgpiod \
23 libjcat \
22 libio-pty-perl \ 24 libio-pty-perl \
23 libmanette \ 25 libmanette \
24 librelp \ 26 librelp \
25 libssh \ 27 libssh \
28 libteam \
26 libtinyxml2 \ 29 libtinyxml2 \
30 libtoml11 \
27 libxml++-5.0 \ 31 libxml++-5.0 \
28 libyang \ 32 libyang \
29 lmdb \ 33 lmdb \
30 microsoft-gsl \ 34 microsoft-gsl \
31 minicoredumper \ 35 minicoredumper \
36 minizip-ng \
32 neon \ 37 neon \
33 nlohmann-json \ 38 nlohmann-json \
34 nodejs \ 39 nodejs \
35 onig \ 40 onig \
36 oprofile \ 41 oprofile \
42 pegtl \
37 protobuf \ 43 protobuf \
38 pv \ 44 pv \
39 python3-pefile \
40 sdbus-c++ \ 45 sdbus-c++ \
46 tomlplusplus \
41 uthash \ 47 uthash \
42 xmlsec1 \ 48 xmlsec1 \
43 zeromq \ 49 zeromq \
@@ -46,7 +52,7 @@ PTESTS_FAST_META_OE = "\
46PTESTS_FAST_META_OE:append:x86 = " mcelog" 52PTESTS_FAST_META_OE:append:x86 = " mcelog"
47PTESTS_FAST_META_OE:append:x86-64 = " mcelog" 53PTESTS_FAST_META_OE:append:x86-64 = " mcelog"
48 54
49PTESTS_FAST_META_OE:remove:libc-musl = "minicoredumper" 55PTESTS_FAST_META_OE:remove:libc-musl = "jemalloc minicoredumper oprofile"
50PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile" 56PTESTS_FAST_META_OE:remove:riscv64 = "nodejs oprofile"
51PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile" 57PTESTS_FAST_META_OE:remove:riscv32 = "nodejs oprofile"
52 58
@@ -54,20 +60,20 @@ PTESTS_SLOW_META_OE = "\
54 c-ares \ 60 c-ares \
55 fftw \ 61 fftw \
56 libusb-compat \ 62 libusb-compat \
57 rsyslog \ 63 rocksdb \
58 mariadb \
59 poco \
60 re2 \ 64 re2 \
61" 65"
62PTESTS_SLOW_META_OE:append:x86 = " kernel-selftest" 66PTESTS_SLOW_META_OE:append:x86 = " kernel-selftest"
63PTESTS_SLOW_META_OE:append:x86-64 = " kernel-selftest" 67PTESTS_SLOW_META_OE:append:x86-64 = " kernel-selftest"
64PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest" 68PTESTS_SLOW_META_OE:remove:libc-musl = "kernel-selftest"
65 69
66PTESTS_PROBLEMS_META_OE ="\ 70PTESTS_PROBLEMS_META_OE = "\
67 keyutils \ 71 keyutils \
68 libdbi-perl \ 72 libdbi-perl \
69 libjcat \ 73 mariadb \
70 libteam \
71 ostree \ 74 ostree \
75 poco \
72 psqlodbc \ 76 psqlodbc \
77 rsyslog \
73" 78"
79PTESTS_PROBLEMS_META_OE:append:libc-musl = " jemalloc minicoredumper oprofile"
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf
index a254990ec5..5501e4315f 100644
--- a/meta-oe/conf/layer.conf
+++ b/meta-oe/conf/layer.conf
@@ -26,8 +26,12 @@ BBFILE_PRIORITY_openembedded-layer = "5"
26# only activates content when identified layers are present, 26# only activates content when identified layers are present,
27# to ensure yocto compatibility check pass 27# to ensure yocto compatibility check pass
28BBFILES_DYNAMIC += " \ 28BBFILES_DYNAMIC += " \
29 clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes-*/*/*.bb \
30 clang-layer:${LAYERDIR}/dynamic-layers/clang-layer/recipes-*/*/*.bbappend \
29 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \ 31 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
30 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \ 32 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
33 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bb \
34 multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/recipes-*/*/*.bbappend \
31 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \ 35 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
32 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \ 36 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
33 gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \ 37 gnome-layer:${LAYERDIR}/dynamic-layers/gnome-layer/recipes-*/*/*.bb \
@@ -44,7 +48,7 @@ LAYERVERSION_openembedded-layer = "1"
44 48
45LAYERDEPENDS_openembedded-layer = "core" 49LAYERDEPENDS_openembedded-layer = "core"
46 50
47LAYERSERIES_COMPAT_openembedded-layer = "styhead" 51LAYERSERIES_COMPAT_openembedded-layer = "walnascar whinlatter"
48 52
49LICENSE_PATH += "${LAYERDIR}/licenses" 53LICENSE_PATH += "${LAYERDIR}/licenses"
50 54
@@ -56,6 +60,7 @@ PREFERRED_PROVIDER_android-tools-conf ?= "android-tools-conf"
56PREFERRED_PROVIDER_coreutils = "coreutils" 60PREFERRED_PROVIDER_coreutils = "coreutils"
57PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader" 61PREFERRED_PROVIDER_virtual/opencl-icd ?= "opencl-icd-loader"
58PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader" 62PREFERRED_RPROVIDER_virtual-opencl-icd ?= "opencl-icd-loader"
63PREFERRED_RPROVIDER_virtual-redis ?= "redis"
59 64
60SIGGEN_EXCLUDERECIPES_ABISAFE += " \ 65SIGGEN_EXCLUDERECIPES_ABISAFE += " \
61 fbset-modes \ 66 fbset-modes \
@@ -118,3 +123,146 @@ NON_MULTILIB_RECIPES:append = " crash pahole libbpf"
118 123
119NON_MULTILIB_RECIPES:remove:x86 = "libbpf" 124NON_MULTILIB_RECIPES:remove:x86 = "libbpf"
120NON_MULTILIB_RECIPES:remove:x86-64 = "libbpf" 125NON_MULTILIB_RECIPES:remove:x86-64 = "libbpf"
126
127# List of known non-reproducible package of the meta-oe layer
128# Please keep this list sorted
129OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \
130 apitrace \
131 apitrace-dbg \
132 asio-dbg \
133 asio-ptest \
134 asio-src \
135 cpuid-doc \
136 dhrystone \
137 dhrystone-dbg \
138 dhrystone-dev \
139 dhrystone-src \
140 directfb \
141 directfb-dbg \
142 doxygen-src \
143 edid-decode \
144 edid-decode-dbg \
145 editorconfig-core-c-dev \
146 etcd-cpp-apiv3-dev \
147 evemu-tools-python \
148 fbgrab-doc \
149 fluentbit-src \
150 fsverity-utils-dbg \
151 fsverity-utils-staticdev \
152 fvwm-dbg \
153 fvwm-doc \
154 fvwm-extra \
155 fwupd-dbg \
156 fwupd-ptest \
157 gcab-src \
158 gosu \
159 gosu-dbg \
160 gosu-dev \
161 gosu-staticdev \
162 gphoto2 \
163 gphoto2-dbg \
164 hddtemp-locale-de \
165 hdf5 \
166 hdf5-dbg \
167 hdf5-src \
168 hdf5-staticdev \
169 hplip-dbg \
170 hplip-filter \
171 hplip-src \
172 iotop \
173 iotop-dbg \
174 ipmiutil \
175 ipmiutil-dbg \
176 ipmiutil-dev \
177 jpnevulator-doc \
178 jsonrpc-dev \
179 kpatch-build \
180 kpatch-doc \
181 ldns \
182 libass9 \
183 libass-dbg \
184 libbotan-3-7 \
185 libbotan-3-bin \
186 libbotan-3-dbg \
187 libbotan-3-dev \
188 libck-doc \
189 libdbus-cxx-dev \
190 libforms \
191 libfsverity0 \
192 libhugetlbfs-doc \
193 libiio-src \
194 libjcat-dbg \
195 libjcat-ptest \
196 librelp-dbg \
197 librelp-ptest \
198 libsdl2-compat \
199 libsdl2-compat-dbg \
200 libsource-highlight5 \
201 libsource-highlight-dbg \
202 libsource-highlight-dev \
203 libsource-highlight-src \
204 libthrift-c-glib-zlib-src \
205 libvncserver-dev \
206 libwebsockets-testapps \
207 libwmf \
208 libyui-ncurses-dbg \
209 libyui-ncurses-dev \
210 lmbench-staticdev \
211 log4cpp \
212 lprng \
213 lprng-dbg \
214 lshw \
215 lshw-locale-fr \
216 mariadb-dbg \
217 mariadb-server \
218 mariadb-src \
219 mce-test \
220 mime-support-doc \
221 minifi-cpp \
222 minifi-cpp-dbg \
223 minifi-cpp-src \
224 mpv \
225 mpv-dbg \
226 nana \
227 nbench-byte \
228 nbench-byte-dbg \
229 nbench-byte-src \
230 nspr-staticdev \
231 obconf-locale-es \
232 pcp \
233 pcp-dev \
234 pcp-doc \
235 pcp-src \
236 perfetto \
237 perfetto-dbg \
238 php-phar \
239 pidgin \
240 pidgin-dbg \
241 pim435-staticdev \
242 poco-ptest \
243 postgresql-server-dev \
244 qcbor-staticdev \
245 qperf-doc \
246 sharutils \
247 sharutils-dbg \
248 smemstat-doc \
249 soci-dev \
250 switchtec-user \
251 switchtec-user-dbg \
252 switchtec-user-staticdev \
253 thin-provisioning-tools-dev \
254 toybox-inittab \
255 toybox-inittab-dbg \
256 toybox-inittab-dev \
257 transmission-dbg \
258 transmission-gtk \
259 transmission-src \
260 vulkan-cts \
261 vulkan-cts-dbg \
262 waylandpp-dev \
263 yasm-src \
264 zlog-staticdev \
265 zsh \
266 zsh-dbg \
267 zsh-src \
268"
diff --git a/meta-oe/conf/version-check.conf b/meta-oe/conf/version-check.conf
new file mode 100644
index 0000000000..b41c9e8d22
--- /dev/null
+++ b/meta-oe/conf/version-check.conf
@@ -0,0 +1,37 @@
1INHERIT += "check-version-mismatch"
2# we need ps command to clean stale processes
3HOSTTOOLS += "ps"
4
5# Special cases that need to be handled.
6# % has the same meaning as in bbappend files, that is, match any chars.
7
8# oe-core
9CHECK_VERSION_PV:pn-rust-llvm = "${LLVM_RELEASE}"
10CHECK_VERSION_PV:pn-igt-gpu-tools = "${PV}-${PV}"
11CHECK_VERSION_PV:pn-vim = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
12CHECK_VERSION_PV:pn-vim-tiny = "${@'.'.join(d.getVar('PV').split('.')[:-1])}"
13CHECK_VERSION_PV:pn-ncurses = "${PV}.%"
14CHECK_VERSION_PV:pn-alsa-tools = "%"
15CHECK_VERSION_PV:pn-gst-examples = "%"
16CHECK_VERSION_PV:pn-piglit = "%"
17CHECK_VERSION_PV:pn-kernel-devsrc = "%"
18CHECK_VERSION_PV:pn-qemuwrapper-cross = "%"
19CHECK_VERSION_PV:pn-gnu-config = "%"
20CHECK_VERSION_PV:pn-sysvinit-inittab = "%"
21CHECK_VERSION_PV:pn-opkg-utils = "%"
22CHECK_VERSION_PV:pn-libedit = "${@d.getVar('PV').split('-')[1]}"
23
24# meta-oe
25CHECK_VERSION_PV:pn-iozone3 = "3.${PV}"
26CHECK_VERSION_PV:pn-can-utils = "%"
27CHECK_VERSION_PV:pn-luajit = "${PV}.%"
28CHECK_VERSION_PV:pn-sg3-utils = "%"
29CHECK_VERSION_PV:pn-netperf = "2.7.%"
30CHECK_VERSION_PV:pn-bridge-utils = "1.7%"
31CHECK_VERSION_PV:pn-turbostat = "2024.07.26"
32CHECK_VERSION_PV:pn-bpftool = "%"
33CHECK_VERSION_PV:pn-libhugetlbfs = "%"
34CHECK_VERSION_PV:pn-pps-tools = '%'
35CHECK_VERSION_PV:pn-libusb-compat = "0.1.12"
36CHECK_VERSION_PV:pn-jemalloc = "${@d.getVar('PV').split('+')[0]}%"
37CHECK_VERSION_PV:pn-dialog = "${@d.getVar('PV').split('-')[0]}%"
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/clang-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
new file mode 100755
index 0000000000..d3fc8d3254
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
@@ -0,0 +1,3 @@
1RDEPENDS:packagegroup-meta-oe-support += " \
2 thin-provisioning-tools \
3"
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils-crates.inc b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils-crates.inc
new file mode 100644
index 0000000000..7a2aae9be7
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils-crates.inc
@@ -0,0 +1,558 @@
1# Autogenerated with 'bitbake -c update_crates spdm-utils'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/aho-corasick/1.1.3 \
6 crate://crates.io/anstream/0.6.18 \
7 crate://crates.io/anstyle/1.0.10 \
8 crate://crates.io/anstyle-parse/0.2.6 \
9 crate://crates.io/anstyle-query/1.1.2 \
10 crate://crates.io/anstyle-wincon/3.0.7 \
11 crate://crates.io/asn1-rs/0.5.2 \
12 crate://crates.io/asn1-rs/0.6.2 \
13 crate://crates.io/asn1-rs-derive/0.4.0 \
14 crate://crates.io/asn1-rs-derive/0.5.1 \
15 crate://crates.io/asn1-rs-impl/0.1.0 \
16 crate://crates.io/asn1-rs-impl/0.2.0 \
17 crate://crates.io/async-attributes/1.1.2 \
18 crate://crates.io/async-channel/1.9.0 \
19 crate://crates.io/async-channel/2.3.1 \
20 crate://crates.io/async-executor/1.13.1 \
21 crate://crates.io/async-global-executor/2.4.1 \
22 crate://crates.io/async-io/2.4.0 \
23 crate://crates.io/async-lock/3.4.0 \
24 crate://crates.io/async-std/1.13.0 \
25 crate://crates.io/async-task/4.7.1 \
26 crate://crates.io/atomic-waker/1.1.2 \
27 crate://crates.io/autocfg/1.4.0 \
28 crate://crates.io/bindgen/0.71.1 \
29 crate://crates.io/bitfield/0.14.0 \
30 crate://crates.io/bitflags/1.3.2 \
31 crate://crates.io/bitflags/2.8.0 \
32 crate://crates.io/block-buffer/0.10.4 \
33 crate://crates.io/blocking/1.6.1 \
34 crate://crates.io/bumpalo/3.16.0 \
35 crate://crates.io/cexpr/0.6.0 \
36 crate://crates.io/cfg-if/1.0.0 \
37 crate://crates.io/cfg_aliases/0.2.1 \
38 crate://crates.io/clang-sys/1.8.1 \
39 crate://crates.io/clap/4.5.27 \
40 crate://crates.io/clap_builder/4.5.27 \
41 crate://crates.io/clap_derive/4.5.24 \
42 crate://crates.io/clap_lex/0.7.4 \
43 crate://crates.io/colorchoice/1.0.3 \
44 crate://crates.io/colored/2.2.0 \
45 crate://crates.io/concurrent-queue/2.5.0 \
46 crate://crates.io/core-foundation/0.10.0 \
47 crate://crates.io/core-foundation-sys/0.8.7 \
48 crate://crates.io/cpufeatures/0.2.17 \
49 crate://crates.io/crossbeam-utils/0.8.21 \
50 crate://crates.io/crunchy/0.2.3 \
51 crate://crates.io/crypto-common/0.1.6 \
52 crate://crates.io/data-encoding/2.7.0 \
53 crate://crates.io/der-parser/8.2.0 \
54 crate://crates.io/deranged/0.3.11 \
55 crate://crates.io/digest/0.10.7 \
56 crate://crates.io/displaydoc/0.2.5 \
57 crate://crates.io/either/1.13.0 \
58 crate://crates.io/embedded-crc-macros/1.0.0 \
59 crate://crates.io/env_logger/0.10.2 \
60 crate://crates.io/errno/0.3.10 \
61 crate://crates.io/event-listener/2.5.3 \
62 crate://crates.io/event-listener/5.4.0 \
63 crate://crates.io/event-listener-strategy/0.5.3 \
64 crate://crates.io/fastrand/2.3.0 \
65 crate://crates.io/futures/0.3.31 \
66 crate://crates.io/futures-channel/0.3.31 \
67 crate://crates.io/futures-core/0.3.31 \
68 crate://crates.io/futures-executor/0.3.31 \
69 crate://crates.io/futures-io/0.3.31 \
70 crate://crates.io/futures-lite/2.6.0 \
71 crate://crates.io/futures-macro/0.3.31 \
72 crate://crates.io/futures-sink/0.3.31 \
73 crate://crates.io/futures-task/0.3.31 \
74 crate://crates.io/futures-util/0.3.31 \
75 crate://crates.io/generic-array/0.14.7 \
76 crate://crates.io/glob/0.3.2 \
77 crate://crates.io/gloo-timers/0.3.0 \
78 crate://crates.io/half/2.4.1 \
79 crate://crates.io/heck/0.5.0 \
80 crate://crates.io/hermit-abi/0.4.0 \
81 crate://crates.io/home/0.5.11 \
82 crate://crates.io/humantime/2.1.0 \
83 crate://crates.io/io-kit-sys/0.4.1 \
84 crate://crates.io/is-terminal/0.4.15 \
85 crate://crates.io/is_terminal_polyfill/1.70.1 \
86 crate://crates.io/itertools/0.13.0 \
87 crate://crates.io/itoa/1.0.14 \
88 crate://crates.io/js-sys/0.3.77 \
89 crate://crates.io/kv-log-macro/1.0.7 \
90 crate://crates.io/lazy_static/1.5.0 \
91 crate://crates.io/libc/0.2.169 \
92 crate://crates.io/libloading/0.8.6 \
93 crate://crates.io/libmctp/0.2.0 \
94 crate://crates.io/libudev/0.3.0 \
95 crate://crates.io/libudev-sys/0.1.4 \
96 crate://crates.io/linux-raw-sys/0.4.15 \
97 crate://crates.io/log/0.4.25 \
98 crate://crates.io/mach2/0.4.2 \
99 crate://crates.io/memchr/2.7.4 \
100 crate://crates.io/memmap2/0.5.10 \
101 crate://crates.io/minicbor/0.25.1 \
102 crate://crates.io/minicbor-derive/0.15.3 \
103 crate://crates.io/minimal-lexical/0.2.1 \
104 crate://crates.io/nix/0.26.4 \
105 crate://crates.io/nix/0.29.0 \
106 crate://crates.io/nom/7.1.3 \
107 crate://crates.io/num-bigint/0.4.6 \
108 crate://crates.io/num-conv/0.1.0 \
109 crate://crates.io/num-integer/0.1.46 \
110 crate://crates.io/num-traits/0.2.19 \
111 crate://crates.io/oid-registry/0.6.1 \
112 crate://crates.io/once_cell/1.20.2 \
113 crate://crates.io/parking/2.2.1 \
114 crate://crates.io/pin-project-lite/0.2.16 \
115 crate://crates.io/pin-utils/0.1.0 \
116 crate://crates.io/piper/0.2.4 \
117 crate://crates.io/pkg-config/0.3.31 \
118 crate://crates.io/polling/3.7.4 \
119 crate://crates.io/powerfmt/0.2.0 \
120 crate://crates.io/prettyplease/0.2.29 \
121 crate://crates.io/proc-macro2/1.0.93 \
122 crate://crates.io/quote/1.0.38 \
123 crate://crates.io/regex/1.11.1 \
124 crate://crates.io/regex-automata/0.4.9 \
125 crate://crates.io/regex-syntax/0.8.5 \
126 crate://crates.io/rustc-hash/2.1.0 \
127 crate://crates.io/rusticata-macros/4.1.0 \
128 crate://crates.io/rustix/0.38.44 \
129 crate://crates.io/rustversion/1.0.19 \
130 crate://crates.io/scopeguard/1.2.0 \
131 crate://crates.io/serde/1.0.217 \
132 crate://crates.io/serde_derive/1.0.217 \
133 crate://crates.io/serialport/4.7.0 \
134 crate://crates.io/sha2/0.10.8 \
135 crate://crates.io/shlex/1.3.0 \
136 crate://crates.io/slab/0.4.9 \
137 crate://crates.io/smbus-pec/1.0.1 \
138 crate://crates.io/strsim/0.11.1 \
139 crate://crates.io/syn/1.0.109 \
140 crate://crates.io/syn/2.0.96 \
141 crate://crates.io/synstructure/0.12.6 \
142 crate://crates.io/synstructure/0.13.1 \
143 crate://crates.io/termcolor/1.4.1 \
144 crate://crates.io/thiserror/1.0.69 \
145 crate://crates.io/thiserror-impl/1.0.69 \
146 crate://crates.io/time/0.3.37 \
147 crate://crates.io/time-core/0.1.2 \
148 crate://crates.io/time-macros/0.2.19 \
149 crate://crates.io/tracing/0.1.41 \
150 crate://crates.io/tracing-core/0.1.33 \
151 crate://crates.io/typenum/1.17.0 \
152 crate://crates.io/unescaper/0.1.5 \
153 crate://crates.io/unicode-ident/1.0.15 \
154 crate://crates.io/unicode-xid/0.2.6 \
155 crate://crates.io/utf8parse/0.2.2 \
156 crate://crates.io/value-bag/1.10.0 \
157 crate://crates.io/version_check/0.9.5 \
158 crate://crates.io/wasm-bindgen/0.2.100 \
159 crate://crates.io/wasm-bindgen-backend/0.2.100 \
160 crate://crates.io/wasm-bindgen-futures/0.4.50 \
161 crate://crates.io/wasm-bindgen-macro/0.2.100 \
162 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
163 crate://crates.io/wasm-bindgen-shared/0.2.100 \
164 crate://crates.io/web-sys/0.3.77 \
165 crate://crates.io/which/6.0.3 \
166 crate://crates.io/winapi/0.3.9 \
167 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
168 crate://crates.io/winapi-util/0.1.9 \
169 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
170 crate://crates.io/windows-sys/0.59.0 \
171 crate://crates.io/windows-targets/0.52.6 \
172 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
173 crate://crates.io/windows_aarch64_msvc/0.52.6 \
174 crate://crates.io/windows_i686_gnu/0.52.6 \
175 crate://crates.io/windows_i686_gnullvm/0.52.6 \
176 crate://crates.io/windows_i686_msvc/0.52.6 \
177 crate://crates.io/windows_x86_64_gnu/0.52.6 \
178 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
179 crate://crates.io/windows_x86_64_msvc/0.52.6 \
180 crate://crates.io/winsafe/0.0.19 \
181 crate://crates.io/x509-parser/0.15.1 \
182"
183
184SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
185SRC_URI[anstream-0.6.18.sha256sum] = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
186SRC_URI[anstyle-1.0.10.sha256sum] = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
187SRC_URI[anstyle-parse-0.2.6.sha256sum] = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
188SRC_URI[anstyle-query-1.1.2.sha256sum] = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
189SRC_URI[anstyle-wincon-3.0.7.sha256sum] = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e"
190SRC_URI[asn1-rs-0.5.2.sha256sum] = "7f6fd5ddaf0351dff5b8da21b2fb4ff8e08ddd02857f0bf69c47639106c0fff0"
191SRC_URI[asn1-rs-0.6.2.sha256sum] = "5493c3bedbacf7fd7382c6346bbd66687d12bbaad3a89a2d2c303ee6cf20b048"
192SRC_URI[asn1-rs-derive-0.4.0.sha256sum] = "726535892e8eae7e70657b4c8ea93d26b8553afb1ce617caee529ef96d7dee6c"
193SRC_URI[asn1-rs-derive-0.5.1.sha256sum] = "965c2d33e53cb6b267e148a4cb0760bc01f4904c1cd4bb4002a085bb016d1490"
194SRC_URI[asn1-rs-impl-0.1.0.sha256sum] = "2777730b2039ac0f95f093556e61b6d26cebed5393ca6f152717777cec3a42ed"
195SRC_URI[asn1-rs-impl-0.2.0.sha256sum] = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
196SRC_URI[async-attributes-1.1.2.sha256sum] = "a3203e79f4dd9bdda415ed03cf14dae5a2bf775c683a00f94e9cd1faf0f596e5"
197SRC_URI[async-channel-1.9.0.sha256sum] = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35"
198SRC_URI[async-channel-2.3.1.sha256sum] = "89b47800b0be77592da0afd425cc03468052844aff33b84e33cc696f64e77b6a"
199SRC_URI[async-executor-1.13.1.sha256sum] = "30ca9a001c1e8ba5149f91a74362376cc6bc5b919d92d988668657bd570bdcec"
200SRC_URI[async-global-executor-2.4.1.sha256sum] = "05b1b633a2115cd122d73b955eadd9916c18c8f510ec9cd1686404c60ad1c29c"
201SRC_URI[async-io-2.4.0.sha256sum] = "43a2b323ccce0a1d90b449fd71f2a06ca7faa7c54c2751f06c9bd851fc061059"
202SRC_URI[async-lock-3.4.0.sha256sum] = "ff6e472cdea888a4bd64f342f09b3f50e1886d32afe8df3d663c01140b811b18"
203SRC_URI[async-std-1.13.0.sha256sum] = "c634475f29802fde2b8f0b505b1bd00dfe4df7d4a000f0b36f7671197d5c3615"
204SRC_URI[async-task-4.7.1.sha256sum] = "8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de"
205SRC_URI[atomic-waker-1.1.2.sha256sum] = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
206SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
207SRC_URI[bindgen-0.71.1.sha256sum] = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3"
208SRC_URI[bitfield-0.14.0.sha256sum] = "2d7e60934ceec538daadb9d8432424ed043a904d8e0243f3c6446bce549a46ac"
209SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
210SRC_URI[bitflags-2.8.0.sha256sum] = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
211SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
212SRC_URI[blocking-1.6.1.sha256sum] = "703f41c54fc768e63e091340b424302bb1c29ef4aa0c7f10fe849dfb114d29ea"
213SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
214SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
215SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
216SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
217SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
218SRC_URI[clap-4.5.27.sha256sum] = "769b0145982b4b48713e01ec42d61614425f27b7058bda7180a3a41f30104796"
219SRC_URI[clap_builder-4.5.27.sha256sum] = "1b26884eb4b57140e4d2d93652abfa49498b938b3c9179f9fc487b0acc3edad7"
220SRC_URI[clap_derive-4.5.24.sha256sum] = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c"
221SRC_URI[clap_lex-0.7.4.sha256sum] = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
222SRC_URI[colorchoice-1.0.3.sha256sum] = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
223SRC_URI[colored-2.2.0.sha256sum] = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
224SRC_URI[concurrent-queue-2.5.0.sha256sum] = "4ca0197aee26d1ae37445ee532fefce43251d24cc7c166799f4d46817f1d3973"
225SRC_URI[core-foundation-0.10.0.sha256sum] = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63"
226SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
227SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
228SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
229SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
230SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
231SRC_URI[data-encoding-2.7.0.sha256sum] = "0e60eed09d8c01d3cee5b7d30acb059b76614c918fa0f992e0dd6eeb10daad6f"
232SRC_URI[der-parser-8.2.0.sha256sum] = "dbd676fbbab537128ef0278adb5576cf363cff6aa22a7b24effe97347cfab61e"
233SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
234SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
235SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
236SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
237SRC_URI[embedded-crc-macros-1.0.0.sha256sum] = "4f1c75747a43b086df1a87fb2a889590bc0725e0abf54bba6d0c4bf7bd9e762c"
238SRC_URI[env_logger-0.10.2.sha256sum] = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580"
239SRC_URI[errno-0.3.10.sha256sum] = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
240SRC_URI[event-listener-2.5.3.sha256sum] = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
241SRC_URI[event-listener-5.4.0.sha256sum] = "3492acde4c3fc54c845eaab3eed8bd00c7a7d881f78bfc801e43a93dec1331ae"
242SRC_URI[event-listener-strategy-0.5.3.sha256sum] = "3c3e4e0dd3673c1139bf041f3008816d9cf2946bbfac2945c09e523b8d7b05b2"
243SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
244SRC_URI[futures-0.3.31.sha256sum] = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876"
245SRC_URI[futures-channel-0.3.31.sha256sum] = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10"
246SRC_URI[futures-core-0.3.31.sha256sum] = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
247SRC_URI[futures-executor-0.3.31.sha256sum] = "1e28d1d997f585e54aebc3f97d39e72338912123a67330d723fdbb564d646c9f"
248SRC_URI[futures-io-0.3.31.sha256sum] = "9e5c1b78ca4aae1ac06c48a526a655760685149f0d465d21f37abfe57ce075c6"
249SRC_URI[futures-lite-2.6.0.sha256sum] = "f5edaec856126859abb19ed65f39e90fea3a9574b9707f13539acf4abf7eb532"
250SRC_URI[futures-macro-0.3.31.sha256sum] = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
251SRC_URI[futures-sink-0.3.31.sha256sum] = "e575fab7d1e0dcb8d0c7bcf9a63ee213816ab51902e6d244a95819acacf1d4f7"
252SRC_URI[futures-task-0.3.31.sha256sum] = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
253SRC_URI[futures-util-0.3.31.sha256sum] = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
254SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
255SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
256SRC_URI[gloo-timers-0.3.0.sha256sum] = "bbb143cf96099802033e0d4f4963b19fd2e0b728bcf076cd9cf7f6634f092994"
257SRC_URI[half-2.4.1.sha256sum] = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888"
258SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
259SRC_URI[hermit-abi-0.4.0.sha256sum] = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc"
260SRC_URI[home-0.5.11.sha256sum] = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
261SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
262SRC_URI[io-kit-sys-0.4.1.sha256sum] = "617ee6cf8e3f66f3b4ea67a4058564628cde41901316e19f559e14c7c72c5e7b"
263SRC_URI[is-terminal-0.4.15.sha256sum] = "e19b23d53f35ce9f56aebc7d1bb4e6ac1e9c0db7ac85c8d1760c04379edced37"
264SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
265SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
266SRC_URI[itoa-1.0.14.sha256sum] = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
267SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
268SRC_URI[kv-log-macro-1.0.7.sha256sum] = "0de8b303297635ad57c9f5059fd9cee7a47f8e8daa09df0fcd07dd39fb22977f"
269SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
270SRC_URI[libc-0.2.169.sha256sum] = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
271SRC_URI[libloading-0.8.6.sha256sum] = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
272SRC_URI[libmctp-0.2.0.sha256sum] = "0d077261b65cfe16a3d490243354fbaec3f22e5bcad546d21394105ab836d1d0"
273SRC_URI[libudev-0.3.0.sha256sum] = "78b324152da65df7bb95acfcaab55e3097ceaab02fb19b228a9eb74d55f135e0"
274SRC_URI[libudev-sys-0.1.4.sha256sum] = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324"
275SRC_URI[linux-raw-sys-0.4.15.sha256sum] = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
276SRC_URI[log-0.4.25.sha256sum] = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f"
277SRC_URI[mach2-0.4.2.sha256sum] = "19b955cdeb2a02b9117f121ce63aa52d08ade45de53e48fe6a38b39c10f6f709"
278SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
279SRC_URI[memmap2-0.5.10.sha256sum] = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"
280SRC_URI[minicbor-0.25.1.sha256sum] = "c0452a60c1863c1f50b5f77cd295e8d2786849f35883f0b9e18e7e6e1b5691b0"
281SRC_URI[minicbor-derive-0.15.3.sha256sum] = "bd2209fff77f705b00c737016a48e73733d7fbccb8b007194db148f03561fb70"
282SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
283SRC_URI[nix-0.26.4.sha256sum] = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b"
284SRC_URI[nix-0.29.0.sha256sum] = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
285SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
286SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
287SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
288SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
289SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
290SRC_URI[oid-registry-0.6.1.sha256sum] = "9bedf36ffb6ba96c2eb7144ef6270557b52e54b20c0a8e1eb2ff99a6c6959bff"
291SRC_URI[once_cell-1.20.2.sha256sum] = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
292SRC_URI[parking-2.2.1.sha256sum] = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba"
293SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
294SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
295SRC_URI[piper-0.2.4.sha256sum] = "96c8c490f422ef9a4efd2cb5b42b76c8613d7e7dfc1caf667b8a3350a5acc066"
296SRC_URI[pkg-config-0.3.31.sha256sum] = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2"
297SRC_URI[polling-3.7.4.sha256sum] = "a604568c3202727d1507653cb121dbd627a58684eb09a820fd746bee38b4442f"
298SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
299SRC_URI[prettyplease-0.2.29.sha256sum] = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac"
300SRC_URI[proc-macro2-1.0.93.sha256sum] = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
301SRC_URI[quote-1.0.38.sha256sum] = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
302SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
303SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
304SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
305SRC_URI[rustc-hash-2.1.0.sha256sum] = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
306SRC_URI[rusticata-macros-4.1.0.sha256sum] = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632"
307SRC_URI[rustix-0.38.44.sha256sum] = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
308SRC_URI[rustversion-1.0.19.sha256sum] = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
309SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
310SRC_URI[serde-1.0.217.sha256sum] = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
311SRC_URI[serde_derive-1.0.217.sha256sum] = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
312SRC_URI[serialport-4.7.0.sha256sum] = "5ecfc4858c2266c7695d8b8460bbd612fa81bd2e250f5f0dd16195e4b4f8b3d8"
313SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8"
314SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
315SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
316SRC_URI[smbus-pec-1.0.1.sha256sum] = "ca0763a680cd5d72b28f7bfc8a054c117d8841380a6ad4f72f05bd2a34217d3e"
317SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
318SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
319SRC_URI[syn-2.0.96.sha256sum] = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80"
320SRC_URI[synstructure-0.12.6.sha256sum] = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
321SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
322SRC_URI[termcolor-1.4.1.sha256sum] = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
323SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
324SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
325SRC_URI[time-0.3.37.sha256sum] = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
326SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
327SRC_URI[time-macros-0.2.19.sha256sum] = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
328SRC_URI[tracing-0.1.41.sha256sum] = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0"
329SRC_URI[tracing-core-0.1.33.sha256sum] = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c"
330SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
331SRC_URI[unescaper-0.1.5.sha256sum] = "c878a167baa8afd137494101a688ef8c67125089ff2249284bd2b5f9bfedb815"
332SRC_URI[unicode-ident-1.0.15.sha256sum] = "11cd88e12b17c6494200a9c1b683a04fcac9573ed74cd1b62aeb2727c5592243"
333SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
334SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
335SRC_URI[value-bag-1.10.0.sha256sum] = "3ef4c4aa54d5d05a279399bfa921ec387b7aba77caf7a682ae8d86785b8fdad2"
336SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
337SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
338SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
339SRC_URI[wasm-bindgen-futures-0.4.50.sha256sum] = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61"
340SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
341SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
342SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
343SRC_URI[web-sys-0.3.77.sha256sum] = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
344SRC_URI[which-6.0.3.sha256sum] = "b4ee928febd44d98f2f459a4a79bd4d928591333a494a10a868418ac1b39cf1f"
345SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
346SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
347SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
348SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
349SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
350SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
351SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
352SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
353SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
354SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
355SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
356SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
357SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
358SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
359SRC_URI[winsafe-0.0.19.sha256sum] = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
360SRC_URI[x509-parser-0.15.1.sha256sum] = "7069fba5b66b9193bd2c5d3d4ff12b839118f6bcbef5328efafafb5395cf63da"
361# from tock-responder/Cargo.lock
362SRC_URI += " \
363 crate://crates.io/aho-corasick/1.1.3 \
364 crate://crates.io/atty/0.2.14 \
365 crate://crates.io/autocfg/1.4.0 \
366 crate://crates.io/bindgen/0.71.1 \
367 crate://crates.io/bitfield/0.14.0 \
368 crate://crates.io/bitflags/1.3.2 \
369 crate://crates.io/bitflags/2.8.0 \
370 crate://crates.io/byteorder/0.5.3 \
371 crate://crates.io/cexpr/0.6.0 \
372 crate://crates.io/cfg-if/1.0.0 \
373 crate://crates.io/clang-sys/1.8.1 \
374 crate://crates.io/clap/3.2.25 \
375 crate://crates.io/clap_derive/3.2.25 \
376 crate://crates.io/clap_lex/0.2.4 \
377 crate://crates.io/critical-section/1.2.0 \
378 crate://crates.io/either/1.13.0 \
379 crate://crates.io/elf/0.0.10 \
380 crate://crates.io/embedded-alloc/0.5.1 \
381 crate://crates.io/embedded-crc-macros/1.0.0 \
382 crate://crates.io/errno/0.3.10 \
383 crate://crates.io/glob/0.3.2 \
384 crate://crates.io/hashbrown/0.12.3 \
385 crate://crates.io/heck/0.4.1 \
386 crate://crates.io/hermit-abi/0.1.19 \
387 crate://crates.io/home/0.5.11 \
388 crate://crates.io/indexmap/1.9.3 \
389 crate://crates.io/itertools/0.13.0 \
390 crate://crates.io/libc/0.2.169 \
391 crate://crates.io/libloading/0.8.6 \
392 crate://crates.io/libm/0.2.11 \
393 crate://crates.io/libmctp/0.2.0 \
394 crate://crates.io/linked_list_allocator/0.10.5 \
395 crate://crates.io/linux-raw-sys/0.4.15 \
396 crate://crates.io/log/0.4.25 \
397 crate://crates.io/memchr/2.7.4 \
398 crate://crates.io/minimal-lexical/0.2.1 \
399 crate://crates.io/nom/7.1.3 \
400 crate://crates.io/numtoa/0.1.0 \
401 crate://crates.io/once_cell/1.20.2 \
402 crate://crates.io/os_str_bytes/6.6.1 \
403 crate://crates.io/portable-atomic/1.10.0 \
404 crate://crates.io/prettyplease/0.2.29 \
405 crate://crates.io/proc-macro-error/1.0.4 \
406 crate://crates.io/proc-macro-error-attr/1.0.4 \
407 crate://crates.io/proc-macro2/1.0.93 \
408 crate://crates.io/quote/1.0.38 \
409 crate://crates.io/redox_syscall/0.2.16 \
410 crate://crates.io/redox_termios/0.1.3 \
411 crate://crates.io/regex/1.11.1 \
412 crate://crates.io/regex-automata/0.4.9 \
413 crate://crates.io/regex-syntax/0.8.5 \
414 crate://crates.io/rustc-hash/2.1.0 \
415 crate://crates.io/rustix/0.38.44 \
416 crate://crates.io/shlex/1.3.0 \
417 crate://crates.io/smbus-pec/1.0.1 \
418 crate://crates.io/strsim/0.10.0 \
419 crate://crates.io/syn/1.0.109 \
420 crate://crates.io/syn/2.0.96 \
421 crate://crates.io/termcolor/1.4.1 \
422 crate://crates.io/termion/1.5.6 \
423 crate://crates.io/textwrap/0.16.1 \
424 crate://crates.io/unicode-ident/1.0.15 \
425 crate://crates.io/version_check/0.9.5 \
426 crate://crates.io/which/6.0.3 \
427 crate://crates.io/winapi/0.3.9 \
428 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
429 crate://crates.io/winapi-util/0.1.9 \
430 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
431 crate://crates.io/windows-sys/0.59.0 \
432 crate://crates.io/windows-targets/0.52.6 \
433 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
434 crate://crates.io/windows_aarch64_msvc/0.52.6 \
435 crate://crates.io/windows_i686_gnu/0.52.6 \
436 crate://crates.io/windows_i686_gnullvm/0.52.6 \
437 crate://crates.io/windows_i686_msvc/0.52.6 \
438 crate://crates.io/windows_x86_64_gnu/0.52.6 \
439 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
440 crate://crates.io/windows_x86_64_msvc/0.52.6 \
441 crate://crates.io/winsafe/0.0.19 \
442"
443
444SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
445SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
446SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
447SRC_URI[bindgen-0.71.1.sha256sum] = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3"
448SRC_URI[bitfield-0.14.0.sha256sum] = "2d7e60934ceec538daadb9d8432424ed043a904d8e0243f3c6446bce549a46ac"
449SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
450SRC_URI[bitflags-2.8.0.sha256sum] = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36"
451SRC_URI[byteorder-0.5.3.sha256sum] = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855"
452SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
453SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
454SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
455SRC_URI[clap-3.2.25.sha256sum] = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
456SRC_URI[clap_derive-3.2.25.sha256sum] = "ae6371b8bdc8b7d3959e9cf7b22d4435ef3e79e138688421ec654acf8c81b008"
457SRC_URI[clap_lex-0.2.4.sha256sum] = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
458SRC_URI[critical-section-1.2.0.sha256sum] = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
459SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
460SRC_URI[elf-0.0.10.sha256sum] = "4841de15dbe0e49b9b62a417589299e3be0d557e0900d36acb87e6dae47197f5"
461SRC_URI[embedded-alloc-0.5.1.sha256sum] = "ddae17915accbac2cfbc64ea0ae6e3b330e6ea124ba108dada63646fd3c6f815"
462SRC_URI[embedded-crc-macros-1.0.0.sha256sum] = "4f1c75747a43b086df1a87fb2a889590bc0725e0abf54bba6d0c4bf7bd9e762c"
463SRC_URI[errno-0.3.10.sha256sum] = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
464SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
465SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
466SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
467SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
468SRC_URI[home-0.5.11.sha256sum] = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf"
469SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
470SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
471SRC_URI[libc-0.2.169.sha256sum] = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
472SRC_URI[libloading-0.8.6.sha256sum] = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
473SRC_URI[libm-0.2.11.sha256sum] = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
474SRC_URI[libmctp-0.2.0.sha256sum] = "0d077261b65cfe16a3d490243354fbaec3f22e5bcad546d21394105ab836d1d0"
475SRC_URI[linked_list_allocator-0.10.5.sha256sum] = "9afa463f5405ee81cdb9cc2baf37e08ec7e4c8209442b5d72c04cfb2cd6e6286"
476SRC_URI[linux-raw-sys-0.4.15.sha256sum] = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
477SRC_URI[log-0.4.25.sha256sum] = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f"
478SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
479SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
480SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
481SRC_URI[numtoa-0.1.0.sha256sum] = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
482SRC_URI[once_cell-1.20.2.sha256sum] = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
483SRC_URI[os_str_bytes-6.6.1.sha256sum] = "e2355d85b9a3786f481747ced0e0ff2ba35213a1f9bd406ed906554d7af805a1"
484SRC_URI[portable-atomic-1.10.0.sha256sum] = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6"
485SRC_URI[prettyplease-0.2.29.sha256sum] = "6924ced06e1f7dfe3fa48d57b9f74f55d8915f5036121bef647ef4b204895fac"
486SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
487SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
488SRC_URI[proc-macro2-1.0.93.sha256sum] = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99"
489SRC_URI[quote-1.0.38.sha256sum] = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
490SRC_URI[redox_syscall-0.2.16.sha256sum] = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
491SRC_URI[redox_termios-0.1.3.sha256sum] = "20145670ba436b55d91fc92d25e71160fbfbdd57831631c8d7d36377a476f1cb"
492SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
493SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
494SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
495SRC_URI[rustc-hash-2.1.0.sha256sum] = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497"
496SRC_URI[rustix-0.38.44.sha256sum] = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
497SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
498SRC_URI[smbus-pec-1.0.1.sha256sum] = "ca0763a680cd5d72b28f7bfc8a054c117d8841380a6ad4f72f05bd2a34217d3e"
499SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
500SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
501SRC_URI[syn-2.0.96.sha256sum] = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80"
502SRC_URI[termcolor-1.4.1.sha256sum] = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
503SRC_URI[termion-1.5.6.sha256sum] = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e"
504SRC_URI[textwrap-0.16.1.sha256sum] = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
505SRC_URI[unicode-ident-1.0.15.sha256sum] = "11cd88e12b17c6494200a9c1b683a04fcac9573ed74cd1b62aeb2727c5592243"
506SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
507SRC_URI[which-6.0.3.sha256sum] = "b4ee928febd44d98f2f459a4a79bd4d928591333a494a10a868418ac1b39cf1f"
508SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
509SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
510SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
511SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
512SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
513SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
514SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
515SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
516SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
517SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
518SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
519SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
520SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
521SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
522SRC_URI[winsafe-0.0.19.sha256sum] = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
523SRC_URI[clap-4.5.26.sha256sum] = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783"
524SRC_URI[clap_builder-4.5.26.sha256sum] = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121"
525SRC_URI[cpufeatures-0.2.16.sha256sum] = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3"
526SRC_URI[crunchy-0.2.2.sha256sum] = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7"
527SRC_URI[is-terminal-0.4.13.sha256sum] = "261f68e344040fbd0edea105bef17c66edf46f984ddb1115b775ce31be948f4b"
528SRC_URI[rustix-0.38.43.sha256sum] = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6"
529SRC_URI[unicode-ident-1.0.14.sha256sum] = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
530SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
531SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
532SRC_URI[bindgen-0.63.0.sha256sum] = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885"
533SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
534SRC_URI[critical-section-1.1.2.sha256sum] = "7059fff8937831a9ae6f0fe4d658ffabf58f2ca96aa9dec1c889f936f705f216"
535SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
536SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
537SRC_URI[home-0.5.9.sha256sum] = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5"
538SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
539SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
540SRC_URI[libloading-0.8.5.sha256sum] = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
541SRC_URI[libm-0.2.8.sha256sum] = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058"
542SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
543SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
544SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
545SRC_URI[peeking_take_while-0.1.2.sha256sum] = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
546SRC_URI[portable-atomic-1.7.0.sha256sum] = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
547SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
548SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
549SRC_URI[regex-1.10.5.sha256sum] = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
550SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
551SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
552SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
553SRC_URI[rustix-0.38.34.sha256sum] = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
554SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
555SRC_URI[which-4.4.2.sha256sum] = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
556SRC_URI[which-6.0.2.sha256sum] = "3d9c5ed668ee1f17edb3b627225343d210006a90bb1e3745ce1f30b1fb115075"
557SRC_URI[winapi-util-0.1.8.sha256sum] = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b"
558SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb
new file mode 100644
index 0000000000..ba6ad09098
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-devtools/spdm-utils/spdm-utils_0.7.2.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Linux applications to manage, test and develop devices supporting DMTF Security Protocol and Data Model (SPDM) "
2HOMEPAGE = "https://github.com/westerndigitalcorporation/spdm-utils"
3LICENSE = "Apache-2.0 & MIT"
4LIC_FILES_CHKSUM = "\
5 file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d \
6 file://LICENSE-APACHE;md5=22a53954e4e0ec258dfce4391e905dac \
7 "
8
9inherit cargo cargo-update-recipe-crates pkgconfig
10
11export BINDGEN_EXTRA_CLANG_ARGS
12BINDGEN_EXTRA_CLANG_ARGS = "--sysroot=${STAGING_DIR_HOST} -I${STAGING_INCDIR}"
13
14SRC_URI += "git://github.com/westerndigitalcorporation/spdm-utils.git;protocol=https;branch=master"
15
16include spdm-utils-crates.inc
17
18SRCREV = "f67ac9e00b79f603ecbbd29928a4ecc3dec5abd5"
19
20# bindgen-cli comes from meta-clang and depends on libclang
21DEPENDS += "libspdm udev bindgen-cli-native pciutils"
22
23COMPATIBLE_HOST:riscv32 = "null"
24COMPATIBLE_HOST:mipsarcho32 = "null"
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
new file mode 100644
index 0000000000..e06fc31905
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
@@ -0,0 +1,282 @@
1# Autogenerated with 'bitbake -c update_crates thin-provisioning-tools'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/adler/1.0.2 \
6 crate://crates.io/aho-corasick/1.1.3 \
7 crate://crates.io/anstream/0.6.15 \
8 crate://crates.io/anstyle/1.0.8 \
9 crate://crates.io/anstyle-parse/0.2.5 \
10 crate://crates.io/anstyle-query/1.1.1 \
11 crate://crates.io/anstyle-wincon/3.0.4 \
12 crate://crates.io/anyhow/1.0.86 \
13 crate://crates.io/atty/0.2.14 \
14 crate://crates.io/autocfg/1.3.0 \
15 crate://crates.io/base64/0.22.1 \
16 crate://crates.io/bindgen/0.69.4 \
17 crate://crates.io/bitflags/1.3.2 \
18 crate://crates.io/bitflags/2.6.0 \
19 crate://crates.io/bytemuck/1.16.3 \
20 crate://crates.io/byteorder/1.5.0 \
21 crate://crates.io/cassowary/0.3.0 \
22 crate://crates.io/cexpr/0.6.0 \
23 crate://crates.io/cfg-if/1.0.0 \
24 crate://crates.io/cfg_aliases/0.2.1 \
25 crate://crates.io/clang-sys/1.8.1 \
26 crate://crates.io/clap/4.5.13 \
27 crate://crates.io/clap_builder/4.5.13 \
28 crate://crates.io/clap_lex/0.7.2 \
29 crate://crates.io/colorchoice/1.0.2 \
30 crate://crates.io/console/0.15.8 \
31 crate://crates.io/crc32c/0.6.8 \
32 crate://crates.io/crc32fast/1.4.2 \
33 crate://crates.io/data-encoding/2.6.0 \
34 crate://crates.io/devicemapper/0.34.3 \
35 crate://crates.io/devicemapper-sys/0.3.0 \
36 crate://crates.io/downcast/0.11.0 \
37 crate://crates.io/duct/0.13.7 \
38 crate://crates.io/either/1.13.0 \
39 crate://crates.io/encode_unicode/0.3.6 \
40 crate://crates.io/env_filter/0.1.2 \
41 crate://crates.io/env_logger/0.8.4 \
42 crate://crates.io/env_logger/0.11.5 \
43 crate://crates.io/errno/0.3.9 \
44 crate://crates.io/exitcode/1.1.2 \
45 crate://crates.io/fastrand/2.1.0 \
46 crate://crates.io/fixedbitset/0.4.2 \
47 crate://crates.io/flate2/1.0.31 \
48 crate://crates.io/fragile/2.0.0 \
49 crate://crates.io/getrandom/0.2.15 \
50 crate://crates.io/glob/0.3.1 \
51 crate://crates.io/hermit-abi/0.1.19 \
52 crate://crates.io/hermit-abi/0.3.9 \
53 crate://crates.io/humantime/2.1.0 \
54 crate://crates.io/indicatif/0.17.8 \
55 crate://crates.io/instant/0.1.13 \
56 crate://crates.io/iovec/0.1.4 \
57 crate://crates.io/is_terminal_polyfill/1.70.1 \
58 crate://crates.io/itertools/0.12.1 \
59 crate://crates.io/lazy_static/1.5.0 \
60 crate://crates.io/lazycell/1.3.0 \
61 crate://crates.io/libc/0.2.155 \
62 crate://crates.io/libloading/0.8.5 \
63 crate://crates.io/libudev-sys/0.1.4 \
64 crate://crates.io/linux-raw-sys/0.4.14 \
65 crate://crates.io/log/0.4.22 \
66 crate://crates.io/memchr/2.7.4 \
67 crate://crates.io/minimal-lexical/0.2.1 \
68 crate://crates.io/miniz_oxide/0.7.4 \
69 crate://crates.io/mockall/0.13.0 \
70 crate://crates.io/mockall_derive/0.13.0 \
71 crate://crates.io/nix/0.29.0 \
72 crate://crates.io/nom/7.1.3 \
73 crate://crates.io/num-derive/0.4.2 \
74 crate://crates.io/num-traits/0.2.19 \
75 crate://crates.io/num_cpus/1.16.0 \
76 crate://crates.io/number_prefix/0.4.0 \
77 crate://crates.io/numtoa/0.1.0 \
78 crate://crates.io/once_cell/1.19.0 \
79 crate://crates.io/os_pipe/1.2.1 \
80 crate://crates.io/pkg-config/0.3.30 \
81 crate://crates.io/portable-atomic/1.11.0 \
82 crate://crates.io/ppv-lite86/0.2.20 \
83 crate://crates.io/predicates/3.1.2 \
84 crate://crates.io/predicates-core/1.0.8 \
85 crate://crates.io/predicates-tree/1.0.11 \
86 crate://crates.io/proc-macro2/1.0.86 \
87 crate://crates.io/quick-xml/0.36.1 \
88 crate://crates.io/quickcheck/1.0.3 \
89 crate://crates.io/quickcheck_macros/1.0.0 \
90 crate://crates.io/quote/1.0.36 \
91 crate://crates.io/rand/0.8.5 \
92 crate://crates.io/rand_chacha/0.3.1 \
93 crate://crates.io/rand_core/0.6.4 \
94 crate://crates.io/rangemap/1.5.1 \
95 crate://crates.io/redox_syscall/0.2.16 \
96 crate://crates.io/redox_termios/0.1.3 \
97 crate://crates.io/regex/1.10.6 \
98 crate://crates.io/regex-automata/0.4.7 \
99 crate://crates.io/regex-syntax/0.8.4 \
100 crate://crates.io/retry/2.0.0 \
101 crate://crates.io/roaring/0.10.6 \
102 crate://crates.io/rustc-hash/1.1.0 \
103 crate://crates.io/rustc_version/0.4.0 \
104 crate://crates.io/rustix/0.38.34 \
105 crate://crates.io/safemem/0.3.3 \
106 crate://crates.io/semver/1.0.23 \
107 crate://crates.io/serde/1.0.204 \
108 crate://crates.io/serde_derive/1.0.204 \
109 crate://crates.io/shared_child/1.0.1 \
110 crate://crates.io/shlex/1.3.0 \
111 crate://crates.io/strsim/0.11.1 \
112 crate://crates.io/syn/1.0.109 \
113 crate://crates.io/syn/2.0.72 \
114 crate://crates.io/tempfile/3.11.0 \
115 crate://crates.io/termion/1.5.6 \
116 crate://crates.io/termtree/0.4.1 \
117 crate://crates.io/thiserror/1.0.63 \
118 crate://crates.io/thiserror-impl/1.0.63 \
119 crate://crates.io/threadpool/1.8.1 \
120 crate://crates.io/tui/0.19.0 \
121 crate://crates.io/udev/0.7.0 \
122 crate://crates.io/unicode-ident/1.0.12 \
123 crate://crates.io/unicode-segmentation/1.11.0 \
124 crate://crates.io/unicode-width/0.1.13 \
125 crate://crates.io/utf8parse/0.2.2 \
126 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
127 crate://crates.io/winapi/0.3.9 \
128 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
129 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
130 crate://crates.io/windows-sys/0.52.0 \
131 crate://crates.io/windows-sys/0.59.0 \
132 crate://crates.io/windows-targets/0.52.6 \
133 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
134 crate://crates.io/windows_aarch64_msvc/0.52.6 \
135 crate://crates.io/windows_i686_gnu/0.52.6 \
136 crate://crates.io/windows_i686_gnullvm/0.52.6 \
137 crate://crates.io/windows_i686_msvc/0.52.6 \
138 crate://crates.io/windows_x86_64_gnu/0.52.6 \
139 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
140 crate://crates.io/windows_x86_64_msvc/0.52.6 \
141 crate://crates.io/zerocopy/0.7.35 \
142 crate://crates.io/zerocopy-derive/0.7.35 \
143"
144
145SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
146SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
147SRC_URI[anstream-0.6.15.sha256sum] = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
148SRC_URI[anstyle-1.0.8.sha256sum] = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
149SRC_URI[anstyle-parse-0.2.5.sha256sum] = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
150SRC_URI[anstyle-query-1.1.1.sha256sum] = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
151SRC_URI[anstyle-wincon-3.0.4.sha256sum] = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
152SRC_URI[anyhow-1.0.86.sha256sum] = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
153SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
154SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
155SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
156SRC_URI[bindgen-0.69.4.sha256sum] = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0"
157SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
158SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
159SRC_URI[bytemuck-1.16.3.sha256sum] = "102087e286b4677862ea56cf8fc58bb2cdfa8725c40ffb80fe3a008eb7f2fc83"
160SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
161SRC_URI[cassowary-0.3.0.sha256sum] = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
162SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
163SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
164SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
165SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
166SRC_URI[clap-4.5.13.sha256sum] = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc"
167SRC_URI[clap_builder-4.5.13.sha256sum] = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99"
168SRC_URI[clap_lex-0.7.2.sha256sum] = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
169SRC_URI[colorchoice-1.0.2.sha256sum] = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
170SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
171SRC_URI[crc32c-0.6.8.sha256sum] = "3a47af21622d091a8f0fb295b88bc886ac74efcc613efc19f5d0b21de5c89e47"
172SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
173SRC_URI[data-encoding-2.6.0.sha256sum] = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"
174SRC_URI[devicemapper-0.34.3.sha256sum] = "59209790c5d189070a52937581950947207e740fadc87f68af14f34d0eb333df"
175SRC_URI[devicemapper-sys-0.3.0.sha256sum] = "3d6681f5413e2094480381a97b8299f548c0579f07095ee20fe58e0a28cb34b5"
176SRC_URI[downcast-0.11.0.sha256sum] = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
177SRC_URI[duct-0.13.7.sha256sum] = "e4ab5718d1224b63252cd0c6f74f6480f9ffeb117438a2e0f5cf6d9a4798929c"
178SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
179SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
180SRC_URI[env_filter-0.1.2.sha256sum] = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab"
181SRC_URI[env_logger-0.8.4.sha256sum] = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
182SRC_URI[env_logger-0.11.5.sha256sum] = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d"
183SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
184SRC_URI[exitcode-1.1.2.sha256sum] = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
185SRC_URI[fastrand-2.1.0.sha256sum] = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
186SRC_URI[fixedbitset-0.4.2.sha256sum] = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
187SRC_URI[flate2-1.0.31.sha256sum] = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920"
188SRC_URI[fragile-2.0.0.sha256sum] = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa"
189SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
190SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
191SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
192SRC_URI[hermit-abi-0.3.9.sha256sum] = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
193SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"
194SRC_URI[indicatif-0.17.8.sha256sum] = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3"
195SRC_URI[instant-0.1.13.sha256sum] = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222"
196SRC_URI[iovec-0.1.4.sha256sum] = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
197SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
198SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569"
199SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
200SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
201SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
202SRC_URI[libloading-0.8.5.sha256sum] = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"
203SRC_URI[libudev-sys-0.1.4.sha256sum] = "3c8469b4a23b962c1396b9b451dda50ef5b283e8dd309d69033475fa9b334324"
204SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
205SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
206SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
207SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
208SRC_URI[miniz_oxide-0.7.4.sha256sum] = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08"
209SRC_URI[mockall-0.13.0.sha256sum] = "d4c28b3fb6d753d28c20e826cd46ee611fda1cf3cde03a443a974043247c065a"
210SRC_URI[mockall_derive-0.13.0.sha256sum] = "341014e7f530314e9a1fdbc7400b244efea7122662c96bfa248c31da5bfb2020"
211SRC_URI[nix-0.29.0.sha256sum] = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46"
212SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
213SRC_URI[num-derive-0.4.2.sha256sum] = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
214SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
215SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
216SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
217SRC_URI[numtoa-0.1.0.sha256sum] = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
218SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
219SRC_URI[os_pipe-1.2.1.sha256sum] = "5ffd2b0a5634335b135d5728d84c5e0fd726954b87111f7506a61c502280d982"
220SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
221SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
222SRC_URI[ppv-lite86-0.2.20.sha256sum] = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
223SRC_URI[predicates-3.1.2.sha256sum] = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97"
224SRC_URI[predicates-core-1.0.8.sha256sum] = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931"
225SRC_URI[predicates-tree-1.0.11.sha256sum] = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13"
226SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
227SRC_URI[quick-xml-0.36.1.sha256sum] = "96a05e2e8efddfa51a84ca47cec303fac86c8541b686d37cac5efc0e094417bc"
228SRC_URI[quickcheck-1.0.3.sha256sum] = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
229SRC_URI[quickcheck_macros-1.0.0.sha256sum] = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9"
230SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
231SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
232SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
233SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
234SRC_URI[rangemap-1.5.1.sha256sum] = "f60fcc7d6849342eff22c4350c8b9a989ee8ceabc4b481253e8946b9fe83d684"
235SRC_URI[redox_syscall-0.2.16.sha256sum] = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
236SRC_URI[redox_termios-0.1.3.sha256sum] = "20145670ba436b55d91fc92d25e71160fbfbdd57831631c8d7d36377a476f1cb"
237SRC_URI[regex-1.10.6.sha256sum] = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
238SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"
239SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
240SRC_URI[retry-2.0.0.sha256sum] = "9166d72162de3575f950507683fac47e30f6f2c3836b71b7fbc61aa517c9c5f4"
241SRC_URI[roaring-0.10.6.sha256sum] = "8f4b84ba6e838ceb47b41de5194a60244fac43d9fe03b71dbe8c5a201081d6d1"
242SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
243SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
244SRC_URI[rustix-0.38.34.sha256sum] = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
245SRC_URI[safemem-0.3.3.sha256sum] = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
246SRC_URI[semver-1.0.23.sha256sum] = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
247SRC_URI[serde-1.0.204.sha256sum] = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12"
248SRC_URI[serde_derive-1.0.204.sha256sum] = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222"
249SRC_URI[shared_child-1.0.1.sha256sum] = "09fa9338aed9a1df411814a5b2252f7cd206c55ae9bf2fa763f8de84603aa60c"
250SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
251SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
252SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
253SRC_URI[syn-2.0.72.sha256sum] = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af"
254SRC_URI[tempfile-3.11.0.sha256sum] = "b8fcd239983515c23a32fb82099f97d0b11b8c72f654ed659363a95c3dad7a53"
255SRC_URI[termion-1.5.6.sha256sum] = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e"
256SRC_URI[termtree-0.4.1.sha256sum] = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
257SRC_URI[thiserror-1.0.63.sha256sum] = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724"
258SRC_URI[thiserror-impl-1.0.63.sha256sum] = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261"
259SRC_URI[threadpool-1.8.1.sha256sum] = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
260SRC_URI[tui-0.19.0.sha256sum] = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1"
261SRC_URI[udev-0.7.0.sha256sum] = "4ebdbbd670373442a12fe9ef7aeb53aec4147a5a27a00bbc3ab639f08f48191a"
262SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
263SRC_URI[unicode-segmentation-1.11.0.sha256sum] = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
264SRC_URI[unicode-width-0.1.13.sha256sum] = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
265SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
266SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
267SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
268SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
269SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
270SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
271SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
272SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
273SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
274SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
275SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
276SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
277SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
278SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
279SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
280SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
281SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
282SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc
index ceea67c364..ceea67c364 100644
--- a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools-git-crates.inc
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
new file mode 100644
index 0000000000..ed5f40a881
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
@@ -0,0 +1,38 @@
1From 11c494b418570a3fbdfbbbdfbbc4db0108743cc7 Mon Sep 17 00:00:00 2001
2From: Dan Gohman <dev@sunfishcode.online>
3Date: Sun, 6 Apr 2025 05:22:49 -0700
4Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu
5
6Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on
7riscv32gc-unknown-linux-gnu.
8
9Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/4382]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/unix/linux_like/linux/arch/generic/mod.rs | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15diff --git a/src/unix/linux_like/linux/arch/generic/mod.rs b/src/unix/linux_like/linux/arch/generic/mod.rs
16index 2f437e1..db1f1e7 100644
17--- a/src/unix/linux_like/linux/arch/generic/mod.rs
18+++ b/src/unix/linux_like/linux/arch/generic/mod.rs
19@@ -114,6 +114,7 @@ cfg_if! {
20 target_arch = "x86_64",
21 target_arch = "arm",
22 target_arch = "aarch64",
23+ target_arch = "riscv32",
24 target_arch = "riscv64",
25 target_arch = "s390x",
26 target_arch = "csky",
27@@ -218,7 +219,10 @@ cfg_if! {
28 // where S stands for size (int, long, struct...)
29 // where T stands for type ('f','v','X'...)
30 // where N stands for NR (NumbeR)
31- if #[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "csky"))] {
32+ if #[cfg(any(target_arch = "x86",
33+ target_arch = "arm",
34+ target_arch = "riscv32",
35+ target_arch = "csky"))] {
36 pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80046601;
37 pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40046602;
38 pub const FS_IOC_GETVERSION: ::Ioctl = 0x80047601;
diff --git a/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Use-portable-atomics-crate.patch b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Use-portable-atomics-crate.patch
new file mode 100644
index 0000000000..54d4fb4ae3
--- /dev/null
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools/0001-Use-portable-atomics-crate.patch
@@ -0,0 +1,86 @@
1From aa7186a69f8fb46cdb736e03682deb77f993103b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 5 Apr 2025 18:53:03 -0700
4Subject: [PATCH] Use portable atomics crate
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This extends building thing-provisioning-tools for
1032bit architectures without 64bit atomics support e.g.
11armv5, mips, ppc32 and riscv32. More info on portable-atomics [1]
12
13Fixes
14
15error[E0432]: unresolved import `std::sync::atomic::AtomicU64`
16│ 232 --> src/cache/writeback.rs:6:25
17│ 234 | use std::sync::atomic::{AtomicU64, Ordering};
18│ 235 | ^^^^^^^^^
19
20[1] https://crates.io/crates/portable-atomic
21
22Upstream-Status: Submitted [https://github.com/jthornber/thin-provisioning-tools/pull/321]
23Signed-off-by: Khem Raj <raj.khem@gmail.com>
24---
25 Cargo.lock | 5 +++--
26 Cargo.toml | 1 +
27 src/cache/writeback.rs | 2 +-
28 src/thin/stat.rs | 2 +-
29 4 files changed, 6 insertions(+), 4 deletions(-)
30
31--- a/Cargo.lock
32+++ b/Cargo.lock
33@@ -649,9 +649,9 @@ checksum = "d231b230927b5e4ad203db57bbcb
34
35 [[package]]
36 name = "portable-atomic"
37-version = "1.7.0"
38+version = "1.11.0"
39 source = "registry+https://github.com/rust-lang/crates.io-index"
40-checksum = "da544ee218f0d287a911e9c99a39a8c9bc8fcad3cb8db5959940044ecfc67265"
41+checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
42
43 [[package]]
44 name = "ppv-lite86"
45@@ -1000,6 +1000,7 @@ dependencies = [
46 "num-derive",
47 "num-traits",
48 "num_cpus",
49+ "portable-atomic",
50 "quick-xml",
51 "quickcheck",
52 "quickcheck_macros",
53--- a/Cargo.toml
54+++ b/Cargo.toml
55@@ -30,6 +30,7 @@ nom = "7.1"
56 num_cpus = "1.16"
57 num-derive = "0.4"
58 num-traits = "0.2"
59+portable-atomic = "1.11"
60 quick-xml = "0.36"
61 rand = "0.8"
62 rangemap = "1.5"
63--- a/src/cache/writeback.rs
64+++ b/src/cache/writeback.rs
65@@ -1,9 +1,9 @@
66 use anyhow::anyhow;
67+use portable_atomic::{AtomicU64, Ordering};
68 use roaring::RoaringBitmap;
69 use std::fs::File;
70 use std::io::Cursor;
71 use std::path::Path;
72-use std::sync::atomic::{AtomicU64, Ordering};
73 use std::sync::mpsc::{self, SyncSender};
74 use std::sync::{Arc, Mutex};
75 use std::thread;
76--- a/src/thin/stat.rs
77+++ b/src/thin/stat.rs
78@@ -1,7 +1,7 @@
79 use anyhow::{anyhow, Result};
80+use portable_atomic::{AtomicU64, Ordering};
81 use std::collections::BTreeMap;
82 use std::path::Path;
83-use std::sync::atomic::{AtomicU64, Ordering};
84 use std::sync::{Arc, Mutex};
85 use std::vec::Vec;
86
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.1.0.bb
index 09b91f6b37..3ec7d486fa 100644
--- a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.0.12.bb
+++ b/meta-oe/dynamic-layers/clang-layer/recipes-support/thin-provisioning-tools/thin-provisioning-tools_1.1.0.bb
@@ -4,17 +4,25 @@ HOMEPAGE = "https://github.com/jthornber/thin-provisioning-tools"
4LICENSE = "GPL-3.0-only" 4LICENSE = "GPL-3.0-only"
5SECTION = "devel" 5SECTION = "devel"
6 6
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 7LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
8S = "${WORKDIR}/git"
9 8
10SRC_URI = " \ 9SRC_URI = " \
11 git://github.com/jthornber/thin-provisioning-tools;branch=main;protocol=https \ 10 git://github.com/jthornber/thin-provisioning-tools;branch=main;protocol=https \
11 file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.155 \
12 file://0001-Use-portable-atomics-crate.patch \
12 " 13 "
13 14
14SRCREV = "b2d57dad4c3378544d7b36f3fc61e60989c5c092" 15# v1.1.0
16SRCREV = "b745ab35057bdd0a4f1406938916621dcf2b7ef6"
15UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 17UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
16 18
17inherit cargo cargo-update-recipe-crates 19inherit cargo cargo-update-recipe-crates
20inherit pkgconfig
21
22DEPENDS += "udev libdevmapper libdevmapper-native clang-native"
23
24export LIBCLANG_PATH = "${STAGING_LIBDIR_NATIVE}"
25export BINDGEN_EXTRA_CLANG_ARGS = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS} --target=${TARGET_SYS}"
18 26
19require ${BPN}-crates.inc 27require ${BPN}-crates.inc
20require ${BPN}-git-crates.inc 28require ${BPN}-git-crates.inc
@@ -34,16 +42,18 @@ do_install:append() {
34 thin_delta \ 42 thin_delta \
35 thin_dump \ 43 thin_dump \
36 thin_ls \ 44 thin_ls \
37 thin_repair \
38 thin_restore \
39 thin_rmap \
40 thin_metadata_size \ 45 thin_metadata_size \
41 thin_metadata_pack \ 46 thin_metadata_pack \
42 thin_metadata_unpack \ 47 thin_metadata_unpack \
48 thin_repair \
49 thin_restore \
50 thin_rmap \
51 thin_shrink \
43 thin_trim \ 52 thin_trim \
44 era_check \ 53 era_check \
45 era_dump \ 54 era_dump \
46 era_invalidate \ 55 era_invalidate \
56 era_repair \
47 era_restore; do 57 era_restore; do
48 ln -sf pdata_tools ${D}${sbindir}/$tool 58 ln -sf pdata_tools ${D}${sbindir}/$tool
49 done 59 done
diff --git a/meta-oe/dynamic-layers/gnome-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/gnome-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
index f15b36184d..596255951e 100644
--- a/meta-oe/dynamic-layers/gnome-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
+++ b/meta-oe/dynamic-layers/gnome-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
@@ -1,3 +1,3 @@
1RDEPENDS:packagegroup-meta-oe-graphics +="\ 1RDEPENDS:packagegroup-meta-oe-graphics += "\
2 openbox-xdgmenu \ 2 openbox-xdgmenu \
3" 3"
diff --git a/meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu_0.3.bb b/meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu_0.3.bb
index ac197a631e..2dfeb177e0 100644
--- a/meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu_0.3.bb
+++ b/meta-oe/dynamic-layers/gnome-layer/recipes-graphics/openbox/openbox-xdgmenu_0.3.bb
@@ -16,6 +16,7 @@ SRC_URI = " \
16 file://fix-menu-generation.patch \ 16 file://fix-menu-generation.patch \
17" 17"
18SRC_URI[sha256sum] = "824e099928aab2fb628f0fa4870ef7bba10b95581e47c2d8fa216709a0f399b3" 18SRC_URI[sha256sum] = "824e099928aab2fb628f0fa4870ef7bba10b95581e47c2d8fa216709a0f399b3"
19UPSTREAM_CHECK_URI = "https://launchpad.net/openbox-xdgmenu/"
19 20
20inherit pkgconfig features_check 21inherit pkgconfig features_check
21# depends on openbox, which is X11-only 22# depends on openbox, which is X11-only
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
index 90c9a7147c..a32c9403c8 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-bsp/rwmem/rwmem_1.2.bb
@@ -20,7 +20,6 @@ SRCREV = "8416326777b2aada0706539b8f9f6acefa476b16"
20SRC_URI = "git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master \ 20SRC_URI = "git://github.com/tomba/rwmem.git;protocol=https;name=rwmem;branch=master \
21 file://0001-include-missing-cstdint.patch" 21 file://0001-include-missing-cstdint.patch"
22 22
23S = "${WORKDIR}/git"
24 23
25inherit meson pkgconfig python3native 24inherit meson pkgconfig python3native
26 25
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0002-meson.build-do-not-use-Werror.patch b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-do-not-use-Werror.patch
index 663a80ecde..663a80ecde 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0002-meson.build-do-not-use-Werror.patch
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-do-not-use-Werror.patch
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch
deleted file mode 100644
index 4f385e917a..0000000000
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-meson.build-drop-unnecessary-build-dependencies.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From d3aa30f5cd7ba375e006a755752acbcfcd619452 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 6 Mar 2024 19:27:15 +0800
4Subject: [PATCH] meson.build: drop unnecessary build dependencies
5
6The pytest and pycoverage are required by meson test but not for
7building. Mark them as 'required: false' to get rid of unnecessary
8build dependencies.
9
10Upstream-Status: Inappropriate [oe specific]
11
12Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13---
14 meson.build | 8 ++++++--
15 1 file changed, 6 insertions(+), 2 deletions(-)
16
17diff --git a/meson.build b/meson.build
18index 9556836a..30f33fe2 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -25,8 +25,8 @@ bash_completions_dir = completions.get_variable(pkgconfig: 'completionsdir', def
22 # Order: Fedora/Mageia/openSUSE || Debian/Ubuntu
23 pyflakes = find_program('pyflakes-3', 'pyflakes3', required: false)
24 pycodestyle = find_program('pycodestyle-3', 'pycodestyle', 'pep8', required: false)
25-pytest = find_program('pytest-3', 'pytest3') # also requires the pytest-cov plugin
26-pycoverage = find_program('coverage-3', 'python3-coverage')
27+pytest = find_program('pytest-3', 'pytest3', required: false) # also requires the pytest-cov plugin
28+pycoverage = find_program('coverage-3', 'python3-coverage', required: false)
29 pandoc = find_program('pandoc', required: false)
30 find = find_program('find')
31
32@@ -75,6 +75,7 @@ if get_option('unit_testing')
33 endif
34
35 #FIXME: exclude doc/env/
36+if pyflakes.found() and pycodestyle.found()
37 test('linting',
38 pyflakes,
39 timeout: 100,
40@@ -91,7 +92,9 @@ test('legacy-tests',
41 find_program('tests/cli_legacy.py'),
42 timeout: 600,
43 env: test_env)
44+endif
45 #TODO: split out dbus tests into own test() instance, to run in parallel
46+if pycoverage.found()
47 test('unit-tests',
48 pycoverage,
49 args: ['run', '-a', '-m', 'pytest', '-s', '-v', '--cov-append', meson.current_source_dir()],
50@@ -143,4 +146,5 @@ if get_option('b_coverage')
51 priority: -99, # run last
52 is_parallel: false)
53 endif
54+endif
55
56--
572.25.1
58
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch
deleted file mode 100644
index 9f01108a20..0000000000
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan/0001-networkd.c-define-scope-specific-to-case-statement.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 6e3dd61bf90a7ca8c36c5b95943cbff7c1ad3c2d Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 6 Mar 2024 16:12:31 +0800
4Subject: [PATCH] networkd.c: define scope specific to case statement
5
6Per [1], define a scope specific to case statement to fix build with
7clang.
8
9Fixes:
10../git/src/networkd.c:544:13: error: expected expression
11 544 | gchar* first = g_strcmp0(def->id, def->veth_peer_link->id) < 0 ? def->id : def->veth_peer_link->id;
12 | ^
13../git/src/networkd.c:545:17: error: use of undeclared identifier 'first'
14 545 | if (first != def->id) {
15 | ^
16
17[1] https://stackoverflow.com/questions/92396/why-cant-variables-be-declared-in-a-switch-statement
18
19Upstream-Status: Pending
20
21Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
22---
23 src/networkd.c | 2 ++
24 1 file changed, 2 insertions(+)
25
26diff --git a/src/networkd.c b/src/networkd.c
27index 25121c48..5eb9c0fe 100644
28--- a/src/networkd.c
29+++ b/src/networkd.c
30@@ -541,12 +541,14 @@ write_netdev_file(const NetplanNetDefinition* def, const char* rootdir, const ch
31 * and, if the selected name is the name of the netdef being written, we generate
32 * the .netdev file. Otherwise we skip the netdef.
33 */
34+ {
35 gchar* first = g_strcmp0(def->id, def->veth_peer_link->id) < 0 ? def->id : def->veth_peer_link->id;
36 if (first != def->id) {
37 g_string_free(s, TRUE);
38 return;
39 }
40 g_string_append_printf(s, "Kind=veth\n\n[Peer]\nName=%s\n", def->veth_peer_link->id);
41+ }
42 break;
43
44 case NETPLAN_DEF_TYPE_TUNNEL:
45--
462.25.1
47
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb
index 229414718c..ef1945b4fe 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.0.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/netplan/netplan_1.1.2.bb
@@ -14,26 +14,24 @@ inherit meson pkgconfig systemd python3targetconfig features_check
14 14
15REQUIRED_DISTRO_FEATURES = "systemd" 15REQUIRED_DISTRO_FEATURES = "systemd"
16 16
17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \ 17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=stable/1.1;protocol=https \
18 file://0001-meson.build-drop-unnecessary-build-dependencies.patch \ 18 file://0001-meson.build-do-not-use-Werror.patch \
19 file://0002-meson.build-do-not-use-Werror.patch \
20 " 19 "
21 20
22SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch" 21SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch"
23SRC_URI:append:toolchain-clang = " file://0001-networkd.c-define-scope-specific-to-case-statement.patch"
24 22
25SRCREV = "45f7cd1569896d9e316c130bf5c60b7ccfc8211d" 23SRCREV = "01045f683b9419beb90119497cd1b2be44e83b8e"
26 24
27S = "${WORKDIR}/git"
28 25
29DEPENDS = "glib-2.0 libyaml util-linux-libuuid \ 26DEPENDS = "glib-2.0 libyaml util-linux-libuuid \
30 systemd python3-cffi-native \ 27 systemd python3-cffi-native \
31 " 28 "
32 29
33EXTRA_OEMESON = "-Dunit_testing=false" 30EXTRA_OEMESON = "-Dtesting=false -Dunit_testing=false"
34 31
35RDEPENDS:${PN} = "python3-core python3-netifaces python3-pyyaml \ 32RDEPENDS:${PN} = "python3-core python3-netifaces python3-pyyaml \
36 python3-dbus python3-rich python3-cffi \ 33 python3-dbus python3-rich python3-cffi \
34 python3-json python3-fcntl \
37 util-linux-libuuid libnetplan \ 35 util-linux-libuuid libnetplan \
38 " 36 "
39 37
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.5.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
index 2c749eeba7..57e162cabd 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.5.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
@@ -7,7 +7,7 @@ HOMEPAGE = "https://thingsboard.io/"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" 8LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
9 9
10SRC_URI[sha256sum] = "6505d94d3173e2469950b03d5b99dac4210af7b659a3a1a3b58da35b2a984da6" 10SRC_URI[sha256sum] = "5811a3c5a2334e41776f249df20c1d6a0def62a6e11e77bf2abeaa02f2725260"
11 11
12inherit pypi setuptools3 12inherit pypi setuptools3
13 13
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
index ee5c77a85d..23515d9fa8 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb
@@ -37,7 +37,7 @@ SRC_URI = "git://github.com/mongodb/mongo.git;branch=v4.4;protocol=https \
37 file://0001-Fix-type-mismatch-on-32bit-arches.patch \ 37 file://0001-Fix-type-mismatch-on-32bit-arches.patch \
38 file://0001-Fix-build-on-32bit.patch \ 38 file://0001-Fix-build-on-32bit.patch \
39 " 39 "
40SRC_URI:append:libc-musl ="\ 40SRC_URI:append:libc-musl = "\
41 file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \ 41 file://0001-Mark-one-of-strerror_r-implementation-glibc-specific.patch \
42 file://0002-Fix-default-stack-size-to-256K.patch \ 42 file://0002-Fix-default-stack-size-to-256K.patch \
43 file://0004-wiredtiger-Disable-strtouq-on-musl.patch \ 43 file://0004-wiredtiger-Disable-strtouq-on-musl.patch \
@@ -48,7 +48,6 @@ SRC_URI:append:toolchain-clang = "\
48 file://0001-asio-Dont-use-experimental-with-clang.patch \ 48 file://0001-asio-Dont-use-experimental-with-clang.patch \
49 " 49 "
50 50
51S = "${WORKDIR}/git"
52 51
53CVE_STATUS[CVE-2014-8180] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." 52CVE_STATUS[CVE-2014-8180] = "not-applicable-config: Not affecting our configuration so it can be safely ignored."
54CVE_STATUS[CVE-2017-2665] = "not-applicable-config: Not affecting our configuration so it can be safely ignored." 53CVE_STATUS[CVE-2017-2665] = "not-applicable-config: Not affecting our configuration so it can be safely ignored."
@@ -73,10 +72,6 @@ WIREDTIGER ?= "off"
73WIREDTIGER:x86-64 = "on" 72WIREDTIGER:x86-64 = "on"
74WIREDTIGER:aarch64 = "on" 73WIREDTIGER:aarch64 = "on"
75 74
76# ld.gold: fatal error: build/59f4f0dd/mongo/mongod: Structure needs cleaning
77LDFLAGS:append:x86:libc-musl = " -fuse-ld=bfd"
78LDFLAGS:remove:toolchain-clang = "-fuse-ld=bfd"
79
80EXTRA_OESCONS = "PREFIX=${prefix} \ 75EXTRA_OESCONS = "PREFIX=${prefix} \
81 DESTDIR=${D} \ 76 DESTDIR=${D} \
82 MAXLINELENGTH='2097152' \ 77 MAXLINELENGTH='2097152' \
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb
index c86750f8b6..c86750f8b6 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.8.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-generator_0.4.9.1.bb
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.1.bb
index e43931a4ec..e43931a4ec 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.8.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb-runtime_0.4.9.1.bb
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
index 87dbc73e63..4fe3995cd5 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
+++ b/meta-oe/dynamic-layers/meta-python/recipes-devtools/nanopb/nanopb.inc
@@ -1,11 +1,10 @@
1DESCRIPTION="Protocol Buffers with small code size" 1DESCRIPTION = "Protocol Buffers with small code size"
2LICENSE="Zlib" 2LICENSE = "Zlib"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9db4b73a55a3994384112efcdb37c01f"
4 4
5SRC_URI = "git://github.com/nanopb/nanopb.git;branch=master;protocol=https" 5SRC_URI = "git://github.com/nanopb/nanopb.git;branch=maintenance_0.4;protocol=https"
6SRCREV = "6cfe48d6f1593f8fa5c0f90437f5e6522587745e" 6SRCREV = "cad3c18ef15a663e30e3e43e3a752b66378adec1"
7 7
8S = "${WORKDIR}/git"
9 8
10inherit cmake 9inherit cmake
11 10
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc_git.bb
index c29c51a2ae..d4987acede 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/lcdproc/lcdproc_git.bb
@@ -13,7 +13,6 @@ PV = "0.5.9+git"
13SRCREV = "0e2ce9b9c46c47363436f9ee730f7c71bf455f0f" 13SRCREV = "0e2ce9b9c46c47363436f9ee730f7c71bf455f0f"
14SRC_URI = "git://github.com/lcdproc/lcdproc;branch=master;protocol=https" 14SRC_URI = "git://github.com/lcdproc/lcdproc;branch=master;protocol=https"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit autotools pkgconfig update-rc.d 17inherit autotools pkgconfig update-rc.d
19 18
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb
index cdba1a24d1..5d204d7d94 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-multimedia/kmsxx/kmsxx_git.bb
@@ -20,7 +20,6 @@ PACKAGECONFIG[utils] += "-Dutils=true, -Dutils=false"
20 20
21DEPENDS += "libdrm libevdev fmt" 21DEPENDS += "libdrm libevdev fmt"
22 22
23S = "${WORKDIR}/git"
24 23
25inherit meson pkgconfig 24inherit meson pkgconfig
26 25
@@ -31,5 +30,5 @@ do_install:append() {
31 fi 30 fi
32} 31}
33 32
34FILES:${PN} ="${bindir} ${libdir}" 33FILES:${PN} = "${bindir} ${libdir}"
35FILES:${PN}-python += "${PYTHON_SITEPACKAGES_DIR}/*" 34FILES:${PN}-python += "${PYTHON_SITEPACKAGES_DIR}/*"
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.7.bb b/meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.8.bb
index ec483321b6..cf2d54c07d 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.7.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-support/nvmetcli/nvmetcli_0.8.bb
@@ -19,10 +19,9 @@ SYSTEMD_AUTO_ENABLE ?= "disable"
19 19
20RDEPENDS:${PN} += "python3 python3-six python3-pyparsing python3-configshell-fb" 20RDEPENDS:${PN} += "python3 python3-six python3-pyparsing python3-configshell-fb"
21 21
22SRCREV = "0a6b088db2dc2e5de11e6f23f1e890e4b54fee64" 22SRCREV = "d323d5a3091af490502c5d025ec7361a3a2cfbd9"
23SRC_URI = "git://git.infradead.org/users/hch/nvmetcli.git;branch=master" 23SRC_URI = "git://git.infradead.org/users/hch/nvmetcli.git;branch=master"
24 24
25S = "${WORKDIR}/git"
26 25
27do_install:append() { 26do_install:append() {
28 # Install example configuration scripts. 27 # Install example configuration scripts.
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem_1.5.bb b/meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem_1.5.bb
index 9f85532064..79a7f4095e 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem_1.5.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-support/smem/smem_1.5.bb
@@ -12,13 +12,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
12HG_CHANGESET = "98273ce331bb" 12HG_CHANGESET = "98273ce331bb"
13SRC_URI = "https://selenic.com/repo/${BPN}/archive/${HG_CHANGESET}.tar.bz2;downloadfilename=${BP}.tar.bz2 \ 13SRC_URI = "https://selenic.com/repo/${BPN}/archive/${HG_CHANGESET}.tar.bz2;downloadfilename=${BP}.tar.bz2 \
14 file://0001-smem-fix-support-for-source-option-python3.patch" 14 file://0001-smem-fix-support-for-source-option-python3.patch"
15SRC_URI[md5sum] = "51c3989779360f42b42ef46b2831be3a"
16SRC_URI[sha256sum] = "161131c686a6d9962a0e96912526dd46308e022d62e3f8acaed5a56fda8e08ce" 15SRC_URI[sha256sum] = "161131c686a6d9962a0e96912526dd46308e022d62e3f8acaed5a56fda8e08ce"
17 16
18UPSTREAM_CHECK_URI = "https://selenic.com/repo/smem/tags" 17UPSTREAM_CHECK_URI = "https://selenic.com/repo/smem/tags"
19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
20 19
21S = "${WORKDIR}/${BPN}-${HG_CHANGESET}" 20S = "${UNPACKDIR}/${BPN}-${HG_CHANGESET}"
22 21
23do_compile() { 22do_compile() {
24 ${CC} ${CFLAGS} ${LDFLAGS} smemcap.c -o smemcap 23 ${CC} ${CFLAGS} ${LDFLAGS} smemcap.c -o smemcap
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend b/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
new file mode 100644
index 0000000000..7353193c23
--- /dev/null
+++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-core/packagegroups/packagegroup-meta-oe.bbappend
@@ -0,0 +1 @@
RDEPENDS:packagegroup-meta-oe-graphics:append = "${@bb.utils.contains('BBFILE_COLLECTIONS', 'multimedia-layer', ' taisei', '', d)}"
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch
new file mode 100644
index 0000000000..aa36c2c3f8
--- /dev/null
+++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-Remove-strip-option-from-executable-build.patch
@@ -0,0 +1,29 @@
1From 6c86f8aea2a29c33af3f212afa9f0ea180822d1e Mon Sep 17 00:00:00 2001
2From: Thomas Perrot <thomas.perrot@bootlin.com>
3Date: Wed, 6 Nov 2024 21:02:54 +0100
4Subject: [PATCH] Remove strip option from executable build
5
6To improve debugging experience, OE tasks will strip binaries.
7
8Upstream-Status: Inappropriate [oe-specific]
9
10Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
11---
12 meson.build | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/meson.build b/meson.build
16index 88d4d53263ae..8a1f540836e0 100644
17--- a/meson.build
18+++ b/meson.build
19@@ -73,7 +73,6 @@ project('taisei', 'c',
20
21 # You may want to change these for a debug build dir
22 'buildtype=release',
23- 'strip=true',
24 'b_lto=true',
25 'b_ndebug=if-release',
26 ]
27--
282.47.0
29
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-util-consideredharmful-Use-overloadable-func-attribu.patch b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-util-consideredharmful-Use-overloadable-func-attribu.patch
new file mode 100644
index 0000000000..09f4be300c
--- /dev/null
+++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei/0001-util-consideredharmful-Use-overloadable-func-attribu.patch
@@ -0,0 +1,58 @@
1From 6f40a8cfbc4dd5ca4c3156338e8e35f25d4d4599 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 22 Nov 2024 01:16:25 -0800
4Subject: [PATCH] util/consideredharmful: Use overloadable func attribute with
5 clang
6
7When building with glibc HEAD, it has fortified headers with clang as well
8and clang reports errors e.g.
9
10| ../git/src/util/consideredharmful.h:33:7: error: redeclaration of 'strncat' must have the 'overloadable' attribute
11| 33 | char* strncat();
12| | ^
13| /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/taisei/1.4.2/recipe-sysroot/usr/include/bits/string_fortified.h:145:8: note: previous overload of function is here
14| 145 | __NTH (strncat (__fortify_clang_overload_arg (char *, __restrict, __dest),
15| | ^
16
17Upstream-Status: Submitted [https://github.com/taisei-project/taisei/pull/393]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 src/util/consideredharmful.h | 4 ++--
21 1 file changed, 2 insertions(+), 2 deletions(-)
22
23--- a/src/util/consideredharmful.h
24+++ b/src/util/consideredharmful.h
25@@ -8,6 +8,7 @@
26
27 #pragma once
28 #include "taisei.h"
29+#include "util/compat.h"
30
31 #include <stdio.h>
32
33@@ -24,17 +25,23 @@ PRAGMA(GCC diagnostic ignored "-Wstrict-
34 // clang generates lots of these warnings with _FORTIFY_SOURCE
35 PRAGMA(GCC diagnostic ignored "-Wignored-attributes")
36
37+#ifdef __GLIBC__
38+#define OVERLOADABLE __attribute__((overloadable))
39+#else
40+#define OVERLOADABLE
41+#endif
42+
43 #undef fopen
44 attr_deprecated("Use vfs_open or SDL_RWFromFile instead")
45 FILE* fopen();
46
47 #undef strncat
48 attr_deprecated("This function likely doesn't do what you expect, use strlcat")
49-char* strncat();
50+char* OVERLOADABLE strncat();
51
52 #undef strncpy
53 attr_deprecated("This function likely doesn't do what you expect, use strlcpy")
54-char* strncpy();
55+char* OVERLOADABLE strncpy();
56
57 #undef errx
58 attr_deprecated("Use log_fatal instead")
diff --git a/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb
new file mode 100644
index 0000000000..ee65f89ab7
--- /dev/null
+++ b/meta-oe/dynamic-layers/multimedia-layer/recipes-graphics/taisei/taisei_1.4.2.bb
@@ -0,0 +1,52 @@
1SUMMARY = "Taisei Project is an open source danmaku"
2DESCRIPTION = "Taisei Project is an open source fan-game set in the world of \
3 Tōhō Project. It is a top-down vertical-scrolling curtain fire \
4 shooting game (STG), also known as a 'bullet hell' or 'danmaku'. \
5 STGs are fast-paced games focused around pattern recognition and \
6 mastery through practice."
7HOMEPAGE = "https://taisei-project.org"
8BUGTRACKER = "https://github.com/taisei-project/taisei/issues"
9LICENSE = "CC-BY-4.0 & CC0-1.0 & MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=1a11ffd7e1bdd1d3156cecec60a2846f"
11
12DEPENDS = "\
13 cglm \
14 freetype \
15 virtual/libsdl2 \
16 libwebp \
17 opusfile \
18 zstd \
19"
20DEPENDS:append:libc-musl = " libucontext"
21LDFLAGS:append:libc-musl = " -lucontext"
22
23RDEPENDS_${PN} = "\
24 cglm (>= 0.7.8) \
25 freetype \
26 libsdl2 (>= 2.0.16) \
27 libpng (>= 1.5.0) \
28 libwebp (>= 0.5) \
29 libzstd (>= 1.4.0) \
30 opengl (>= 3.3) \
31 opusfile \
32 zlib \
33"
34
35SRC_URI = "gitsm://github.com/taisei-project/taisei.git;branch=v1.4.x;protocol=https \
36 file://0001-util-consideredharmful-Use-overloadable-func-attribu.patch \
37 file://0001-Remove-strip-option-from-executable-build.patch"
38
39SRCREV = "c098579d4fa0f004ccc204c5bc46eac3717cba28"
40
41
42inherit features_check meson mime mime-xdg pkgconfig python3native
43
44REQUIRED_DISTRO_FEATURES = "opengl"
45
46PACKAGECONFIG ??= ""
47
48PACKAGECONFIG[a_null] = "-Da_null=true,-Da_null=false"
49PACKAGECONFIG[developer] = "-Ddeveloper=true,-Ddeveloper=false"
50PACKAGECONFIG[docs] = "-Ddocs=true,-Ddocs=false,python3-docutils-native"
51
52FILES:${PN} += "${datadir}"
diff --git a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.0.bb b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb
index a7a3bf12c5..301861de38 100644
--- a/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.0.bb
+++ b/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/rasdaemon_0.8.3.bb
@@ -1,5 +1,5 @@
1DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events" 1DESCRIPTION = "Tools to provide a way to get Platform Reliability, Availability and Serviceability (RAS) reports made via the Kernel tracing events"
2HOMEPAGE = "http://git.infradead.org/users/mchehab/rasdaemon.git" 2HOMEPAGE = "https://github.com/mchehab/rasdaemon"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d3070efe0afa3dc41608bd82c00bb0dc"
5 5
@@ -7,9 +7,8 @@ SRC_URI = "git://github.com/mchehab/rasdaemon.git;branch=master;protocol=https \
7 file://rasdaemon.service \ 7 file://rasdaemon.service \
8 file://init" 8 file://init"
9 9
10SRCREV = "4e83b848e7961af25028f3a2cecf37a63279a2bf" 10SRCREV = "db0870edd2919f4f4d0101843136bcae92ab0743"
11 11
12S = "${WORKDIR}/git"
13 12
14DEPENDS = "libtraceevent" 13DEPENDS = "libtraceevent"
15RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \ 14RDEPENDS:${BPN} = "perl perl-module-file-basename perl-module-file-find perl-module-file-spec perl-module-getopt-long \
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb
index 86b0ce0778..4d30327372 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf-configfs_1.0.bb
@@ -3,8 +3,7 @@ SECTION = "console/utils"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 5
6S = "${WORKDIR}/sources" 6S = "${UNPACKDIR}"
7UNPACKDIR = "${S}"
8 7
9SRC_URI = " \ 8SRC_URI = " \
10 file://android-gadget-setup \ 9 file://android-gadget-setup \
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
index b98c70db77..7bbac1db75 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools-conf_1.0.bb
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
5 5
6SRC_URI = "file://android-gadget-setup" 6SRC_URI = "file://android-gadget-setup"
7 7
8S = "${WORKDIR}/sources" 8S = "${UNPACKDIR}"
9UNPACKDIR = "${S}"
10 9
11do_install() { 10do_install() {
12 install -d ${D}${bindir} 11 install -d ${D}${bindir}
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
index b719acec4c..a35428b5b4 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/0002-android-tools-modifications-to-make-it-build-in-yoct.patch
@@ -1,4 +1,4 @@
1From fe211cbc305a9316c1d4da2f086d6a50f1c92188 Mon Sep 17 00:00:00 2001 1From 194513bababa9707ec54bc7119613a0d5eca9f79 Mon Sep 17 00:00:00 2001
2From: Etienne Cordonnier <ecordonnier@snap.com> 2From: Etienne Cordonnier <ecordonnier@snap.com>
3Date: Fri, 17 Mar 2023 10:33:11 +0100 3Date: Fri, 17 Mar 2023 10:33:11 +0100
4Subject: [PATCH] android-tools: modifications to make it build in yocto 4Subject: [PATCH] android-tools: modifications to make it build in yocto
@@ -12,27 +12,47 @@ Subject: [PATCH] android-tools: modifications to make it build in yocto
12 12
13Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> 13Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
14 14
15--- 15- fix warning: library search path "/usr/lib/p7zip" is unsafe for cross-compilation
16Upstream-Status: Pending
17 16
17- fix error: include location "/usr/include/android" is unsafe for cross-compilation
18
19Upstream-Status: Pending
20Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
21---
22 debian/development/etc1tool.mk | 1 -
18 debian/external/boringssl/libcrypto.mk | 1 + 23 debian/external/boringssl/libcrypto.mk | 1 +
24 debian/libnativehelper/libnativehelper.mk | 1 -
25 debian/system/core/adb.mk | 1 -
19 debian/system/core/append2simg.mk | 2 +- 26 debian/system/core/append2simg.mk | 2 +-
20 debian/system/core/fastboot.mk | 2 +- 27 debian/system/core/fastboot.mk | 3 +--
21 debian/system/core/img2simg.mk | 2 +- 28 debian/system/core/img2simg.mk | 2 +-
22 debian/system/core/libbacktrace.mk | 8 ++++---- 29 debian/system/core/libbacktrace.mk | 10 ++++------
23 debian/system/core/libbase.mk | 5 +++-- 30 debian/system/core/libbase.mk | 5 +++--
24 debian/system/core/libcutils.mk | 5 +++-- 31 debian/system/core/libcutils.mk | 5 +++--
25 debian/system/core/liblog.mk | 3 ++- 32 debian/system/core/liblog.mk | 3 ++-
26 debian/system/core/libsparse.mk | 5 +++-- 33 debian/system/core/libsparse.mk | 5 +++--
27 debian/system/core/libutils.mk | 2 +- 34 debian/system/core/libutils.mk | 4 ++--
28 debian/system/core/libziparchive.mk | 5 +++-- 35 debian/system/core/libziparchive.mk | 5 +++--
29 debian/system/core/simg2img.mk | 2 +- 36 debian/system/core/simg2img.mk | 2 +-
30 debian/system/core/simg2simg.mk | 2 +- 37 debian/system/core/simg2simg.mk | 2 +-
38 debian/system/extras/libext4_utils.mk | 1 -
31 frameworks/native/libs/adbd_auth/adbd_auth.cpp | 2 ++ 39 frameworks/native/libs/adbd_auth/adbd_auth.cpp | 2 ++
32 system/core/adb/adb_listeners.cpp | 12 ++++++------ 40 system/core/adb/adb_listeners.cpp | 12 ++++++------
33 system/core/adb/transport_local.cpp | 2 +- 41 system/core/adb/transport_local.cpp | 2 +-
34 16 files changed, 34 insertions(+), 26 deletions(-) 42 20 files changed, 35 insertions(+), 34 deletions(-)
35 43
44diff --git a/debian/development/etc1tool.mk b/debian/development/etc1tool.mk
45index 2d787e98bb86..e03ac5f0048c 100644
46--- a/debian/development/etc1tool.mk
47+++ b/debian/development/etc1tool.mk
48@@ -4,7 +4,6 @@ SOURCES = development/tools/etc1tool/etc1tool.cpp
49
50 CXXFLAGS += -std=gnu++2a
51 CPPFLAGS += \
52- -I/usr/include/android \
53 -Idevelopment/include \
54 -Iframeworks/native/opengl/include \
55
36diff --git a/debian/external/boringssl/libcrypto.mk b/debian/external/boringssl/libcrypto.mk 56diff --git a/debian/external/boringssl/libcrypto.mk b/debian/external/boringssl/libcrypto.mk
37index c0ea54f4..b3a77bfd 100644 57index c0ea54f4..b3a77bfd 100644
38--- a/debian/external/boringssl/libcrypto.mk 58--- a/debian/external/boringssl/libcrypto.mk
@@ -45,6 +65,38 @@ index c0ea54f4..b3a77bfd 100644
45 -Iexternal/boringssl/src/crypto \ 65 -Iexternal/boringssl/src/crypto \
46 -Iexternal/boringssl/src/include \ 66 -Iexternal/boringssl/src/include \
47 67
68diff --git a/debian/libnativehelper/libnativehelper.mk b/debian/libnativehelper/libnativehelper.mk
69index 7a0c94a6b7b5..880b2fdf9154 100644
70--- a/debian/libnativehelper/libnativehelper.mk
71+++ b/debian/libnativehelper/libnativehelper.mk
72@@ -11,7 +11,6 @@ OBJECTS = $(SOURCES:.cpp=.o)
73
74 CXXFLAGS += -std=gnu++2a
75 CPPFLAGS += \
76- -I/usr/include/android \
77 -Ilibnativehelper/header_only_include \
78 -Ilibnativehelper/include \
79 -Ilibnativehelper/include_jni \
80diff --git a/debian/system/core/adb.mk b/debian/system/core/adb.mk
81index 9769b68ab793..58c9a63bd225 100644
82--- a/debian/system/core/adb.mk
83+++ b/debian/system/core/adb.mk
84@@ -19,7 +19,6 @@ CPPFLAGS += \
85 -D_GNU_SOURCE \
86 -DADB_HOST=1 \
87 -DADB_VERSION='"$(DEB_VERSION)"' \
88- -I/usr/include/android \
89 -Iexternal/boringssl/include \
90 -Isystem/core/adb \
91 -Isystem/core/base/include \
92@@ -28,7 +27,6 @@ CPPFLAGS += \
93 LDFLAGS += \
94 -Ldebian/out/system/core \
95 -Wl,-rpath=/usr/lib/$(DEB_HOST_MULTIARCH)/android \
96- -fuse-ld=gold \
97 -lbase \
98 -lcutils \
99 -lpthread \
48diff --git a/debian/system/core/append2simg.mk b/debian/system/core/append2simg.mk 100diff --git a/debian/system/core/append2simg.mk b/debian/system/core/append2simg.mk
49index 1599bdb8..598c751d 100644 101index 1599bdb8..598c751d 100644
50--- a/debian/system/core/append2simg.mk 102--- a/debian/system/core/append2simg.mk
@@ -62,15 +114,24 @@ diff --git a/debian/system/core/fastboot.mk b/debian/system/core/fastboot.mk
62index d5c9a285..a59ba1a4 100644 114index d5c9a285..a59ba1a4 100644
63--- a/debian/system/core/fastboot.mk 115--- a/debian/system/core/fastboot.mk
64+++ b/debian/system/core/fastboot.mk 116+++ b/debian/system/core/fastboot.mk
65@@ -49,7 +49,7 @@ CPPFLAGS += \ 117@@ -30,7 +30,6 @@ CXXFLAGS += -std=gnu++2a -fpermissive
118 CPPFLAGS += \
119 -D_FILE_OFFSET_BITS=64 \
120 -DPLATFORM_TOOLS_VERSION='"$(PLATFORM_TOOLS_VERSION)"' \
121- -I/usr/include/android \
122 -Iexternal/boringssl/include \
123 -Iexternal/avb \
124 -Isystem/core/adb \
125@@ -49,8 +48,7 @@ CPPFLAGS += \
66 126
67 LDFLAGS += \ 127 LDFLAGS += \
68 -Ldebian/out/system/core \ 128 -Ldebian/out/system/core \
69- -Wl,-rpath=/usr/lib/$(DEB_HOST_MULTIARCH)/android \ 129- -Wl,-rpath=/usr/lib/$(DEB_HOST_MULTIARCH)/android \
130- -fuse-ld=gold \
70+ -Wl,-rpath='$$ORIGIN/../lib/android' \ 131+ -Wl,-rpath='$$ORIGIN/../lib/android' \
71 -fuse-ld=gold \
72 -lbase \ 132 -lbase \
73 -lcutils \ 133 -lcutils \
134 -lpthread \
74diff --git a/debian/system/core/img2simg.mk b/debian/system/core/img2simg.mk 135diff --git a/debian/system/core/img2simg.mk b/debian/system/core/img2simg.mk
75index 11adf014..8baf5ba5 100644 136index 11adf014..8baf5ba5 100644
76--- a/debian/system/core/img2simg.mk 137--- a/debian/system/core/img2simg.mk
@@ -85,7 +146,7 @@ index 11adf014..8baf5ba5 100644
85 -llog \ 146 -llog \
86 -lpthread \ 147 -lpthread \
87diff --git a/debian/system/core/libbacktrace.mk b/debian/system/core/libbacktrace.mk 148diff --git a/debian/system/core/libbacktrace.mk b/debian/system/core/libbacktrace.mk
88index e3411d76..86e69874 100644 149index e3411d76..e7dd984c 100644
89--- a/debian/system/core/libbacktrace.mk 150--- a/debian/system/core/libbacktrace.mk
90+++ b/debian/system/core/libbacktrace.mk 151+++ b/debian/system/core/libbacktrace.mk
91@@ -1,4 +1,4 @@ 152@@ -1,4 +1,4 @@
@@ -94,9 +155,11 @@ index e3411d76..86e69874 100644
94 155
95 NAME = libbacktrace 156 NAME = libbacktrace
96 157
97@@ -83,10 +84,9 @@ CPPFLAGS += \ 158@@ -81,12 +81,10 @@ CPPFLAGS += \
159 -Isystem/core/libunwindstack/include \
160
98 LDFLAGS += \ 161 LDFLAGS += \
99 -L/usr/lib/p7zip \ 162- -L/usr/lib/p7zip \
100 -Ldebian/out/system/core \ 163 -Ldebian/out/system/core \
101- -Wl,-rpath=/usr/lib/p7zip \ 164- -Wl,-rpath=/usr/lib/p7zip \
102- -Wl,-rpath=/usr/lib/$(DEB_HOST_MULTIARCH)/android \ 165- -Wl,-rpath=/usr/lib/$(DEB_HOST_MULTIARCH)/android \
@@ -107,7 +170,7 @@ index e3411d76..86e69874 100644
107 -lbase \ 170 -lbase \
108 -llog \ 171 -llog \
109 -lpthread \ 172 -lpthread \
110@@ -101,7 +101,7 @@ endif 173@@ -101,7 +99,7 @@ endif
111 build: $(OBJECTS_CXX) $(OBJECTS_ASSEMBLY) debian/out/external/libunwind/libunwind.a 174 build: $(OBJECTS_CXX) $(OBJECTS_ASSEMBLY) debian/out/external/libunwind/libunwind.a
112 mkdir -p debian/out/system/core 175 mkdir -p debian/out/system/core
113 $(CXX) $^ -o debian/out/system/core/$(NAME).so.0 $(LDFLAGS) 176 $(CXX) $^ -o debian/out/system/core/$(NAME).so.0 $(LDFLAGS)
@@ -216,7 +279,7 @@ index c2b2694c..2da12b8e 100644
216 $(OBJECTS): %.o: %.cpp 279 $(OBJECTS): %.o: %.cpp
217 $(CXX) -c -o $@ $< $(CXXFLAGS) $(CPPFLAGS) 280 $(CXX) -c -o $@ $< $(CXXFLAGS) $(CPPFLAGS)
218diff --git a/debian/system/core/libutils.mk b/debian/system/core/libutils.mk 281diff --git a/debian/system/core/libutils.mk b/debian/system/core/libutils.mk
219index c37b1d2d..332492c1 100644 282index c37b1d2d..0c748c8b 100644
220--- a/debian/system/core/libutils.mk 283--- a/debian/system/core/libutils.mk
221+++ b/debian/system/core/libutils.mk 284+++ b/debian/system/core/libutils.mk
222@@ -1,4 +1,4 @@ 285@@ -1,4 +1,4 @@
@@ -287,6 +350,18 @@ index ed53b04c..646ab030 100644
287 -lbase \ 350 -lbase \
288 -llog \ 351 -llog \
289 -lpthread \ 352 -lpthread \
353diff --git a/debian/system/extras/libext4_utils.mk b/debian/system/extras/libext4_utils.mk
354index 264bb95ad36a..99125097c8e3 100644
355--- a/debian/system/extras/libext4_utils.mk
356+++ b/debian/system/extras/libext4_utils.mk
357@@ -25,7 +25,6 @@ CPPFLAGS += \
358 -D_LARGEFILE64_SOURCE \
359 -DFEC_NO_KLOG \
360 -DSQUASHFS_NO_KLOG \
361- -I/usr/include/android \
362 -Isystem/core/base/include \
363 -Isystem/core/libcutils/include \
364 -Isystem/core/libsparse/include \
290diff --git a/frameworks/native/libs/adbd_auth/adbd_auth.cpp b/frameworks/native/libs/adbd_auth/adbd_auth.cpp 365diff --git a/frameworks/native/libs/adbd_auth/adbd_auth.cpp b/frameworks/native/libs/adbd_auth/adbd_auth.cpp
291index a9c23110..6ca334ba 100644 366index a9c23110..6ca334ba 100644
292--- a/frameworks/native/libs/adbd_auth/adbd_auth.cpp 367--- a/frameworks/native/libs/adbd_auth/adbd_auth.cpp
@@ -373,3 +448,6 @@ index c7261860..5988ec4d 100644
373 auto it = local_transports.find(adb_port); 448 auto it = local_transports.find(adb_port);
374 if (it == local_transports.end()) { 449 if (it == local_transports.end()) {
375 return nullptr; 450 return nullptr;
451--
4522.34.1
453
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
index ddf8d7f74e..b6661f2e39 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/android-tools-adbd.service
@@ -1,6 +1,6 @@
1[Unit] 1[Unit]
2Description=Android Debug Bridge 2Description=Android Debug Bridge
3ConditionPathExists=/var/usb-debugging-enabled 3ConditionPathExists=/etc/usb-debugging-enabled
4Before=android-system.service 4Before=android-system.service
5 5
6[Service] 6[Service]
diff --git a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
index 456c7400ef..63e31e90cc 100644
--- a/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
+++ b/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools_29.0.6.r14.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
7 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \ 7 file://${COMMON_LICENSE_DIR}/BSD-2-Clause;md5=cb641bc04cda31daea161b1bc15da69f \
8 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \ 8 file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9 \
9" 9"
10DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools p7zip libselinux googletest" 10DEPENDS = "libbsd libpcre zlib libcap libusb squashfs-tools 7zip libselinux googletest"
11 11
12SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da" 12SRCREV_core = "abfd66fafcbb691d7860df059f1df1c9b1ef29da"
13 13
@@ -43,9 +43,9 @@ SRC_URI += " \
43 43
44# patches which don't come from debian 44# patches which don't come from debian
45SRC_URI += " \ 45SRC_URI += " \
46 file://rules_yocto.mk;subdir=git \ 46 file://rules_yocto.mk;subdir=${BB_GIT_DEFAULT_DESTSUFFIX} \
47 file://android-tools-adbd.service \ 47 file://android-tools-adbd.service \
48 file://adbd.mk;subdir=git/debian/system/core \ 48 file://adbd.mk;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/debian/system/core \
49 file://remount \ 49 file://remount \
50 file://0001-Fixes-for-yocto-build.patch \ 50 file://0001-Fixes-for-yocto-build.patch \
51 file://0002-android-tools-modifications-to-make-it-build-in-yoct.patch \ 51 file://0002-android-tools-modifications-to-make-it-build-in-yoct.patch \
@@ -55,7 +55,6 @@ SRC_URI += " \
55 file://0001-liblp-fix-building-with-GCC-14.patch \ 55 file://0001-liblp-fix-building-with-GCC-14.patch \
56" 56"
57 57
58S = "${WORKDIR}/git"
59B = "${WORKDIR}/${BPN}" 58B = "${WORKDIR}/${BPN}"
60 59
61# http://errors.yoctoproject.org/Errors/Details/1debian881/ 60# http://errors.yoctoproject.org/Errors/Details/1debian881/
@@ -68,6 +67,7 @@ COMPATIBLE_HOST:powerpc64le = "(null)"
68 67
69inherit systemd 68inherit systemd
70 69
70SYSTEMD_PACKAGES = "${PN}-adbd"
71SYSTEMD_SERVICE:${PN}-adbd = "android-tools-adbd.service" 71SYSTEMD_SERVICE:${PN}-adbd = "android-tools-adbd.service"
72 72
73# Find libbsd headers during native builds 73# Find libbsd headers during native builds
@@ -167,7 +167,7 @@ do_install() {
167 167
168PACKAGES =+ "${PN}-fstools ${PN}-adbd" 168PACKAGES =+ "${PN}-fstools ${PN}-adbd"
169 169
170RDEPENDS:${BPN} = "${BPN}-conf p7zip" 170RDEPENDS:${BPN} = "${BPN}-conf 7zip"
171 171
172FILES:${PN}-adbd = "\ 172FILES:${PN}-adbd = "\
173 ${bindir}/adbd \ 173 ${bindir}/adbd \
@@ -187,9 +187,3 @@ FILES:${PN}-fstools = "\
187FILES:${PN} += "${libdir}/android ${libdir}/android/*" 187FILES:${PN} += "${libdir}/android ${libdir}/android/*"
188 188
189BBCLASSEXTEND = "native" 189BBCLASSEXTEND = "native"
190
191android_tools_enable_devmode() {
192 touch ${IMAGE_ROOTFS}/var/usb-debugging-enabled
193}
194
195ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"
diff --git a/meta-oe/files/static-group-meta-oe b/meta-oe/files/static-group-meta-oe
index 543c893c00..17ca545d10 100644
--- a/meta-oe/files/static-group-meta-oe
+++ b/meta-oe/files/static-group-meta-oe
@@ -6,4 +6,5 @@ postgres:x:28:
6zabbix:x:605: 6zabbix:x:605:
7mail:x:606: 7mail:x:606:
8influxdb:x:622: 8influxdb:x:622:
9gpio:x:624:
9nogroup:x:65534: 10nogroup:x:65534:
diff --git a/meta-oe/files/static-passwd-meta-oe b/meta-oe/files/static-passwd-meta-oe
index daf686b930..47380b8d00 100644
--- a/meta-oe/files/static-passwd-meta-oe
+++ b/meta-oe/files/static-passwd-meta-oe
@@ -9,3 +9,6 @@ pcp:x:620:nogroup::/:/bin/nologin
9pcpqa:x:621:nogroup::/:/bin/nologin 9pcpqa:x:621:nogroup::/:/bin/nologin
10influxdb:x:622:influxdb::/var/lib/influxdb:/bin/nologin 10influxdb:x:622:influxdb::/var/lib/influxdb:/bin/nologin
11mongodb:x:623:nogroup::/:/bin/nologin 11mongodb:x:623:nogroup::/:/bin/nologin
12gpio-manager:x:624:gpio::/:/bin/nologin
13flatpak:x:625:625:Flatpak system helper:/:/sbin/nologin
14
diff --git a/meta-oe/licenses/MINPACK b/meta-oe/licenses/MINPACK
deleted file mode 100644
index 132cc3f33f..0000000000
--- a/meta-oe/licenses/MINPACK
+++ /dev/null
@@ -1,51 +0,0 @@
1Minpack Copyright Notice (1999) University of Chicago. All rights reserved
2
3Redistribution and use in source and binary forms, with or
4without modification, are permitted provided that the
5following conditions are met:
6
71. Redistributions of source code must retain the above
8copyright notice, this list of conditions and the following
9disclaimer.
10
112. Redistributions in binary form must reproduce the above
12copyright notice, this list of conditions and the following
13disclaimer in the documentation and/or other materials
14provided with the distribution.
15
163. The end-user documentation included with the
17redistribution, if any, must include the following
18acknowledgment:
19
20 "This product includes software developed by the
21 University of Chicago, as Operator of Argonne National
22 Laboratory.
23
24Alternately, this acknowledgment may appear in the software
25itself, if and wherever such third-party acknowledgments
26normally appear.
27
284. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS"
29WITHOUT WARRANTY OF ANY KIND. THE COPYRIGHT HOLDER, THE
30UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND
31THEIR EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR
32IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES
33OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE
34OR NON-INFRINGEMENT, (2) DO NOT ASSUME ANY LEGAL LIABILITY
35OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR
36USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF
37THE SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4)
38DO NOT WARRANT THAT THE SOFTWARE WILL FUNCTION
39UNINTERRUPTED, THAT IT IS ERROR-FREE OR THAT ANY ERRORS WILL
40BE CORRECTED.
41
425. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT
43HOLDER, THE UNITED STATES, THE UNITED STATES DEPARTMENT OF
44ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT,
45INCIDENTAL, CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF
46ANY KIND OR NATURE, INCLUDING BUT NOT LIMITED TO LOSS OF
47PROFITS OR LOSS OF DATA, FOR ANY REASON WHATSOEVER, WHETHER
48SUCH LIABILITY IS ASSERTED ON THE BASIS OF CONTRACT, TORT
49(INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR OTHERWISE,
50EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
51POSSIBILITY OF SUCH LOSS OR DAMAGES.
diff --git a/meta-oe/licenses/NPSL b/meta-oe/licenses/NPSL
new file mode 100644
index 0000000000..be7ed8d841
--- /dev/null
+++ b/meta-oe/licenses/NPSL
@@ -0,0 +1,583 @@
1Nmap Public Source License Version 0.95
2For more information on this license, see https://nmap.org/npsl/
3
40. Preamble
5
6The intent of this license is to establish freedom to share and change
7the software regulated by this license under the open source model. It
8also includes a Contributor Agreement and disclaims any warranty on
9Covered Software. Companies wishing to use or incorporate Covered
10Software within their own products may find that our Nmap OEM product
11(https://nmap.org/oem/) better suits their needs. Open source
12developers who wish to incorporate parts of Covered Software into free
13software with conflicting licenses may write Licensor to request a
14waiver of terms.
15
16If the Nmap Project (directly or through one of its commercial
17licensing customers) has granted you additional rights to Nmap or Nmap
18OEM, those additional rights take precedence where they conflict with
19the terms of this license agreement.
20
21This License represents the complete agreement concerning subject
22matter hereof. It contains the license terms themselves, but not the
23reasoning behind them or detailed explanations. For further
24information about this License, see https://nmap.org/npsl/ . That page
25makes a good faith attempt to explain this License, but it does not
26and can not modify its governing terms in any way.
27
281. Definitions
29
30* "Contribution" means any work of authorship, including the original
31 version of the Work and any modifications or additions to that Work
32 or Derivative Works thereof, that is intentionally submitted to
33 Licensor by the copyright owner or by an individual or Legal Entity
34 authorized to submit on behalf of the copyright owner. For the
35 purposes of this definition, "submitted" means any form of
36 electronic, verbal, or written communication sent to the Licensor or
37 its representatives, including but not limited to communication on
38 electronic mailing lists, source code control systems, web sites,
39 and issue tracking systems that are managed by, or on behalf of, the
40 Licensor for the purpose of discussing and improving the Work, but
41 excluding communication that is conspicuously marked or otherwise
42 designated in writing by the copyright owner as "Not a
43 Contribution."
44
45* "Contributor" means Licensor and any individual or Legal Entity on
46 behalf of whom a Contribution has been received by Licensor and
47 subsequently incorporated within the Work.
48
49* "Covered Software" means the work of authorship, whether in Source
50 or Object form, made available under the License, as indicated by a
51 copyright notice that is included in or attached to the work
52
53* "Derivative Work" or "Collective Work" means any work, whether in
54 Source or Object form, that is based on (or derived from) the Work
55 and for which the editorial revisions, annotations, elaborations, or
56 other modifications represent, as a whole, an original work of
57 authorship. It includes software as described in Section 3 of this
58 License.
59
60* "Executable" means Covered Software in any form other than Source Code.
61
62* "Externally Deploy" means to Deploy the Covered Software in any way
63 that may be accessed or used by anyone other than You, used to
64 provide any services to anyone other than You, or used in any way to
65 deliver any content to anyone other than You, whether the Covered
66 Software is distributed to those parties, made available as an
67 application intended for use over a computer network, or used to
68 provide services or otherwise deliver content to anyone other than
69 You.
70
71* "GPL" means the GNU General Public License Version 2, as published
72 by the Free Software Foundation and provided in Exhibit A.
73
74* "Legal Entity" means the union of the acting entity and all other
75 entities that control, are controlled by, or are under common
76 control with that entity. For the purposes of this definition,
77 "control" means (i) the power, direct or indirect, to cause the
78 direction or management of such entity, whether by contract or
79 otherwise, or (ii) ownership of fifty percent (50%) or more of the
80 outstanding shares, or (iii) beneficial ownership of such entity.
81
82* "License" means this document, including Exhibits.
83
84* "Licensor" means Nmap Software LLC and its successors and assigns.
85
86* "Main License Body" means all of the terms of this document,
87 excluding Exhibits.
88
89* "You" (or "Your") means an individual or Legal Entity exercising
90 permissions granted by this License.
91
922. General Terms
93
94Covered Software is licensed to you under the terms of the GPL
95(Exhibit A), with all the exceptions, clarifications, and additions
96noted in this Main License Body. Where the terms in this Main License
97Body conflict in any way with the GPL, the Main License Body terms
98shall take precedence. These additional terms mean that You may not
99distribute Covered Software or Derivative Works under plain GPL terms
100without special permission from Licensor.
101
102You are not required to accept this License. However, nothing else
103grants You permission to use, copy, modify or distribute the software
104or its derivative works. These actions are prohibited by law if You do
105not accept this License. Therefore, by modifying, copying or
106distributing the software (or any work based on the software), You
107indicate your acceptance of this License to do so, and all its terms
108and conditions. In addition, you agree to the terms of this License by
109clicking the Accept button or downloading the software.
110
1113. Derivative Works
112
113This License (including the GPL portion) places important restrictions
114on derived works. Licensor interprets that term quite broadly. To
115avoid any misunderstandings, we consider software to constitute a
116"derivative work" of Covered Software for the purposes of this license
117if it does any of the following:
118
119* Integrates source code from Covered Software
120
121* Reads or includes Covered Software data files, such as nmap-os-db or
122 nmap-service-probes.
123
124* Is designed specifically to execute Covered Software and parse the
125 results (as opposed to typical shell or execution-menu apps, which
126 will execute anything you tell them to).
127
128* Includes Covered Software in a proprietary executable installer. The
129 installers produced by InstallShield are an example of
130 this. Including Nmap with other software in compressed or archival
131 form does not trigger this provision, provided appropriate open
132 source decompression or de-archiving software is widely available
133 for no charge. For the purposes of this license, an installer is
134 considered to include Covered Software even if it actually retrieves
135 a copy of Covered Software from another source during runtime (such
136 as by downloading it from the Internet).
137
138* Links (statically or dynamically) to a library which does any of the
139 above
140
141* Executes a helper program, module, or script to do any of the above.
142
143
144This list is not exclusive, but is meant to clarify Licensor's
145intentions with some common examples. Distribution of any works which
146meet these criteria (and that also choose to accept this license to
147benefit from the rights granted herein) must be under the terms of
148this license (including this Main License Body and GPL), with no
149additional conditions or restrictions. They must abide by all
150restrictions that the GPL places on derivative or collective works,
151including the requirements for distributing their source code and
152allowing royalty-free redistribution.
153
154Licensor does not purport to control through this license any software
155which does not require the rights granted herein (such as rights to
156redistribute and/or incorporate Covered Software executables and
157source code). In particular, many software packages include the
158ability to parse Covered Software results provided by an end user or
159to execute Covered Software that end user may have already installed
160on their system. To the extent that copyright doctrines such as fair
161use allow their practices without the need to exercise any rights
162granted by this license, vendors and distributors of such software are
163not bound by our definition of derivative works or any other clauses
164in this license.
165
1664. Contributor Agreement (Grant of Copyright and Patent Licenses)
167
168Each Contributor hereby grants to Licensor a perpetual, worldwide,
169non-exclusive, no-charge, royalty-free, irrevocable copyright license
170to reproduce, prepare Derivative Works of, publicly display, publicly
171perform, sublicense, and distribute the Contribution and such
172Derivative Works in Source or Object form.
173
174Each Contributor hereby grants to You and Licensor a perpetual,
175worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
176as stated in this section) patent license to make, have made, use,
177offer to sell, sell, import, and otherwise transfer the Work, where
178such license applies only to those patent claims licensable by such
179Contributor that are necessarily infringed by their Contribution(s)
180alone or by combination of their Contribution(s) with the Work to
181which such Contribution(s) was submitted. If You institute patent
182litigation against any entity (including a cross-claim or counterclaim
183in a lawsuit) alleging that the Work or a Contribution incorporated
184within the Work constitutes direct or contributory patent
185infringement, then any patent licenses granted to You under this
186License for that Work shall terminate as of the date such litigation
187is filed.
188
189Contributors may impose different terms on their Contributions by
190stating those terms in writing at the time the Contribution is
191made. Contributors may withhold all authority from Licensor to
192incorporate submissions by conspicuously marking or otherwise
193designating them in writing as "Not a Contribution" at the time they
194make the work available.
195
1965. Disclaimer of Warranty and Limitation of Liability
197
198Unless required by applicable law or agreed to in writing, Licensor
199provides the Covered Software (and each Contributor provides its
200Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
201OF ANY KIND, either express or implied, including, without limitation,
202any warranties or conditions of TITLE, NON-INFRINGEMENT,
203MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
204responsible for determining the appropriateness of using or
205redistributing the Covered Software and assume any risks associated
206with Your exercise of permissions under this License.
207
208In no event and under no legal theory, whether in tort (including
209negligence), contract, or otherwise, unless required by applicable law
210(such as deliberate and grossly negligent acts) or agreed to in
211writing, shall any Contributor be liable to You for damages, including
212any direct, indirect, special, incidental, or consequential damages of
213any character arising as a result of this License or out of the use or
214inability to use the Covered Software (including but not limited to
215damages for loss of goodwill, work stoppage, computer failure or
216malfunction, or any and all other commercial damages or losses), even
217if such Contributor has been advised of the possibility of such
218damages.
219
2206. External Deployment
221
222If You Externally Deploy Covered Software, such as hosting a website
223designed to execute Nmap scans for users, the system and its
224documentation must, if technically feasible, prominently display a
225notice stating that the system uses the Nmap Security Scanner to
226perform its tasks. If technically feasible, the notice must contain a
227hyperlink to https://nmap.org/ or provide that URL in the text.
228
2297. Trademarks
230
231This License does not grant permission to use the trade names,
232trademarks, service marks, or product names of the Licensor, except as
233required for reasonable and customary use in describing the origin of
234the Covered Software.
235
2368. Termination for Patent Action
237
238This License shall terminate automatically and You may no longer
239exercise any of the rights granted to You by this License as of the
240date You commence an action, including a cross-claim or counterclaim,
241against Licensor or any licensee alleging that the Covered Software
242infringes a patent. This termination provision shall not apply for an
243action alleging patent infringement by combinations of the Covered
244Software with other software or hardware.
245
2469. Jurisdiction, Venue and Governing Law
247
248This License is governed by the laws of the State of Washington and
249the intellectual property laws of the United States of America,
250excluding the jurisdiction's conflict-of-law provisions. Any
251litigation or other dispute resolution between You and Licensor
252relating to this License shall take place in the Northern District of
253California, and You and Licensor hereby consent to the personal
254jurisdiction of, and venue in, the state and federal courts within
255that District with respect to this License. The application of the
256United Nations Convention on Contracts for the International Sale of
257Goods is expressly excluded.
258
25910. Npcap and the Official Nmap Windows Builds
260
261The official Windows Nmap builds includes the Npcap driver and library
262(https://npcap.com) for packet capture and transmission on
263Windows. That software is under its own separate license terms rather
264than this license. Therefore anyone wishing to use or redistribute
265both pieces of software must comply with both licenses. Since Npcap
266does not allow for redistribution without special permission, the
267official Nmap Windows builds which include Npcap may not be
268redistributed without special permission. Such permission can be
269requested by email to sales@nmap.com.
270
27111. Permission to link with OpenSSL
272
273Licensor grants permission to link Covered Software with any version
274of the OpenSSL library from OpenSSL.Org, and distribute linked
275combinations including the two (assuming such distribution is
276otherwise allowed by this agreement). You must obey this License in
277all respects for all code used other than OpenSSL.
278
27912. Waiver; Construction
280
281Failure by Licensor or any Contributor to enforce any provision of
282this License will not be deemed a waiver of future enforcement of that
283or any other provision. Any law or regulation which provides that the
284language of a contract shall be construed against the drafter will not
285apply to this License.
286
28713. Enforceability
288
289If any provision of this License is invalid or unenforceable under
290applicable law, it shall not affect the validity or enforceability of
291the remainder of the terms of this License, and without further action
292by the parties hereto, such provision shall be reformed to the minimum
293extent necessary to make such provision valid and enforceable.
294
295Exhibit A. The GNU General Public License Version 2
296GNU GENERAL PUBLIC LICENSE
297Version 2, June 1991
298
299Copyright (C) 1989, 1991 Free Software Foundation, Inc.
30051 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
301
302Everyone is permitted to copy and distribute verbatim copies
303of this license document, but changing it is not allowed.
304Preamble
305
306The licenses for most software are designed to take away your freedom
307to share and change it. By contrast, the GNU General Public License is
308intended to guarantee your freedom to share and change free
309software--to make sure the software is free for all its users. This
310General Public License applies to most of the Free Software
311Foundation's software and to any other program whose authors commit to
312using it. (Some other Free Software Foundation software is covered by
313the GNU Lesser General Public License instead.) You can apply it to
314your programs, too.
315
316When we speak of free software, we are referring to freedom, not
317price. Our General Public Licenses are designed to make sure that you
318have the freedom to distribute copies of free software (and charge for
319this service if you wish), that you receive source code or can get it
320if you want it, that you can change the software or use pieces of it
321in new free programs; and that you know you can do these things.
322
323To protect your rights, we need to make restrictions that forbid
324anyone to deny you these rights or to ask you to surrender the
325rights. These restrictions translate to certain responsibilities for
326you if you distribute copies of the software, or if you modify it.
327
328For example, if you distribute copies of such a program, whether
329gratis or for a fee, you must give the recipients all the rights that
330you have. You must make sure that they, too, receive or can get the
331source code. And you must show them these terms so they know their
332rights.
333
334We protect your rights with two steps: (1) copyright the software, and
335(2) offer you this license which gives you legal permission to copy,
336distribute and/or modify the software.
337
338Also, for each author's protection and ours, we want to make certain
339that everyone understands that there is no warranty for this free
340software. If the software is modified by someone else and passed on,
341we want its recipients to know that what they have is not the
342original, so that any problems introduced by others will not reflect
343on the original authors' reputations.
344
345Finally, any free program is threatened constantly by software
346patents. We wish to avoid the danger that redistributors of a free
347program will individually obtain patent licenses, in effect making the
348program proprietary. To prevent this, we have made it clear that any
349patent must be licensed for everyone's free use or not licensed at
350all.
351
352The precise terms and conditions for copying, distribution and
353modification follow.
354
355TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
356
3570. This License applies to any program or other work which contains a
358notice placed by the copyright holder saying it may be distributed
359under the terms of this General Public License. The "Program", below,
360refers to any such program or work, and a "work based on the Program"
361means either the Program or any derivative work under copyright law:
362that is to say, a work containing the Program or a portion of it,
363either verbatim or with modifications and/or translated into another
364language. (Hereinafter, translation is included without limitation in
365the term "modification".) Each licensee is addressed as "you".
366
367Activities other than copying, distribution and modification are not
368covered by this License; they are outside its scope. The act of
369running the Program is not restricted, and the output from the Program
370is covered only if its contents constitute a work based on the Program
371(independent of having been made by running the Program). Whether that
372is true depends on what the Program does.
373
3741. You may copy and distribute verbatim copies of the Program's source
375code as you receive it, in any medium, provided that you conspicuously
376and appropriately publish on each copy an appropriate copyright notice
377and disclaimer of warranty; keep intact all the notices that refer to
378this License and to the absence of any warranty; and give any other
379recipients of the Program a copy of this License along with the
380Program.
381
382You may charge a fee for the physical act of transferring a copy, and
383you may at your option offer warranty protection in exchange for a
384fee.
385
3862. You may modify your copy or copies of the Program or any portion of
387it, thus forming a work based on the Program, and copy and distribute
388such modifications or work under the terms of Section 1 above,
389provided that you also meet all of these conditions:
390
391a) You must cause the modified files to carry prominent notices
392stating that you changed the files and the date of any change.
393
394b) You must cause any work that you distribute or publish, that in
395whole or in part contains or is derived from the Program or any part
396thereof, to be licensed as a whole at no charge to all third parties
397under the terms of this License.
398
399c) If the modified program normally reads commands interactively when
400run, you must cause it, when started running for such interactive use
401in the most ordinary way, to print or display an announcement
402including an appropriate copyright notice and a notice that there is
403no warranty (or else, saying that you provide a warranty) and that
404users may redistribute the program under these conditions, and telling
405the user how to view a copy of this License. (Exception: if the
406Program itself is interactive but does not normally print such an
407announcement, your work based on the Program is not required to print
408an announcement.)
409
410These requirements apply to the modified work as a whole. If
411identifiable sections of that work are not derived from the Program,
412and can be reasonably considered independent and separate works in
413themselves, then this License, and its terms, do not apply to those
414sections when you distribute them as separate works. But when you
415distribute the same sections as part of a whole which is a work based
416on the Program, the distribution of the whole must be on the terms of
417this License, whose permissions for other licensees extend to the
418entire whole, and thus to each and every part regardless of who wrote
419it.
420
421Thus, it is not the intent of this section to claim rights or contest
422your rights to work written entirely by you; rather, the intent is to
423exercise the right to control the distribution of derivative or
424collective works based on the Program.
425
426In addition, mere aggregation of another work not based on the Program
427with the Program (or with a work based on the Program) on a volume of
428a storage or distribution medium does not bring the other work under
429the scope of this License.
430
4313. You may copy and distribute the Program (or a work based on it,
432under Section 2) in object code or executable form under the terms of
433Sections 1 and 2 above provided that you also do one of the following:
434
435a) Accompany it with the complete corresponding machine-readable
436source code, which must be distributed under the terms of Sections 1
437and 2 above on a medium customarily used for software interchange; or,
438
439b) Accompany it with a written offer, valid for at least three years,
440to give any third party, for a charge no more than your cost of
441physically performing source distribution, a complete machine-readable
442copy of the corresponding source code, to be distributed under the
443terms of Sections 1 and 2 above on a medium customarily used for
444software interchange; or,
445
446c) Accompany it with the information you received as to the offer to
447distribute corresponding source code. (This alternative is allowed
448only for noncommercial distribution and only if you received the
449program in object code or executable form with such an offer, in
450accord with Subsection b above.)
451
452The source code for a work means the preferred form of the work for
453making modifications to it. For an executable work, complete source
454code means all the source code for all modules it contains, plus any
455associated interface definition files, plus the scripts used to
456control compilation and installation of the executable. However, as a
457special exception, the source code distributed need not include
458anything that is normally distributed (in either source or binary
459form) with the major components (compiler, kernel, and so on) of the
460operating system on which the executable runs, unless that component
461itself accompanies the executable.
462
463If distribution of executable or object code is made by offering
464access to copy from a designated place, then offering equivalent
465access to copy the source code from the same place counts as
466distribution of the source code, even though third parties are not
467compelled to copy the source along with the object code.
468
4694. You may not copy, modify, sublicense, or distribute the Program
470except as expressly provided under this License. Any attempt otherwise
471to copy, modify, sublicense or distribute the Program is void, and
472will automatically terminate your rights under this License. However,
473parties who have received copies, or rights, from you under this
474License will not have their licenses terminated so long as such
475parties remain in full compliance.
476
4775. You are not required to accept this License, since you have not
478signed it. However, nothing else grants you permission to modify or
479distribute the Program or its derivative works. These actions are
480prohibited by law if you do not accept this License. Therefore, by
481modifying or distributing the Program (or any work based on the
482Program), you indicate your acceptance of this License to do so, and
483all its terms and conditions for copying, distributing or modifying
484the Program or works based on it.
485
4866. Each time you redistribute the Program (or any work based on the
487Program), the recipient automatically receives a license from the
488original licensor to copy, distribute or modify the Program subject to
489these terms and conditions. You may not impose any further
490restrictions on the recipients' exercise of the rights granted
491herein. You are not responsible for enforcing compliance by third
492parties to this License.
493
4947. If, as a consequence of a court judgment or allegation of patent
495infringement or for any other reason (not limited to patent issues),
496conditions are imposed on you (whether by court order, agreement or
497otherwise) that contradict the conditions of this License, they do not
498excuse you from the conditions of this License. If you cannot
499distribute so as to satisfy simultaneously your obligations under this
500License and any other pertinent obligations, then as a consequence you
501may not distribute the Program at all. For example, if a patent
502license would not permit royalty-free redistribution of the Program by
503all those who receive copies directly or indirectly through you, then
504the only way you could satisfy both it and this License would be to
505refrain entirely from distribution of the Program.
506
507If any portion of this section is held invalid or unenforceable under
508any particular circumstance, the balance of the section is intended to
509apply and the section as a whole is intended to apply in other
510circumstances.
511
512It is not the purpose of this section to induce you to infringe any
513patents or other property right claims or to contest validity of any
514such claims; this section has the sole purpose of protecting the
515integrity of the free software distribution system, which is
516implemented by public license practices. Many people have made
517generous contributions to the wide range of software distributed
518through that system in reliance on consistent application of that
519system; it is up to the author/donor to decide if he or she is willing
520to distribute software through any other system and a licensee cannot
521impose that choice.
522
523This section is intended to make thoroughly clear what is believed to
524be a consequence of the rest of this License.
525
5268. If the distribution and/or use of the Program is restricted in
527certain countries either by patents or by copyrighted interfaces, the
528original copyright holder who places the Program under this License
529may add an explicit geographical distribution limitation excluding
530those countries, so that distribution is permitted only in or among
531countries not thus excluded. In such case, this License incorporates
532the limitation as if written in the body of this License.
533
5349. The Free Software Foundation may publish revised and/or new
535versions of the General Public License from time to time. Such new
536versions will be similar in spirit to the present version, but may
537differ in detail to address new problems or concerns.
538
539Each version is given a distinguishing version number. If the Program
540specifies a version number of this License which applies to it and
541"any later version", you have the option of following the terms and
542conditions either of that version or of any later version published by
543the Free Software Foundation. If the Program does not specify a
544version number of this License, you may choose any version ever
545published by the Free Software Foundation.
546
54710. If you wish to incorporate parts of the Program into other free
548programs whose distribution conditions are different, write to the
549author to ask for permission. For software which is copyrighted by the
550Free Software Foundation, write to the Free Software Foundation; we
551sometimes make exceptions for this. Our decision will be guided by the
552two goals of preserving the free status of all derivatives of our free
553software and of promoting the sharing and reuse of software generally.
554
555NO WARRANTY
556
55711. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
558WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
559LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS
560AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF
561ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
562THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
563PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
564PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
565THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
566
56712. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
568WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
569AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
570FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
571CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
572PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
573RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
574FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
575SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
576DAMAGES.
577
578END OF TERMS AND CONDITIONS
579
580[For brevity, we've cut out the GPL's final section on "How to Apply
581These Terms to Your New Program", but you can find that at
582https://www.gnu.org/licenses/gpl-2.0.html#SEC4 ]
583
diff --git a/meta-oe/licenses/OpenLDAP b/meta-oe/licenses/OLDAP-2.8
index 05ad7571e4..05ad7571e4 100644
--- a/meta-oe/licenses/OpenLDAP
+++ b/meta-oe/licenses/OLDAP-2.8
diff --git a/meta-oe/licenses/X11 b/meta-oe/licenses/X11
deleted file mode 100644
index da3e406240..0000000000
--- a/meta-oe/licenses/X11
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2 * Copyright (C) 2008 Alex Graveley
3 * Copyright (C) 2010 Ulrik Sverdrup <ulrik.sverdrup@gmail.com>
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining
6 * a copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,
9 * distribute, sublicense, and/or sell copies of the Software, and to
10 * permit persons to whom the Software is furnished to do so, subject to
11 * the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be
14 * included in all copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 */
diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
index c305aadd02..c70f8a9ef4 100644
--- a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
+++ b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.04.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0"
6 6
7SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}_${PV}.tgz \ 7SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}_${PV}.tgz \
8" 8"
9SRC_URI[md5sum] = "1414aab86e2db1b4691bd4be82031012"
10SRC_URI[sha256sum] = "507bd2ce5360c7c98b91b0fdc2bed5c9320b5c9699f7d4a3d1c86b256896c15e" 9SRC_URI[sha256sum] = "507bd2ce5360c7c98b91b0fdc2bed5c9320b5c9699f7d4a3d1c86b256896c15e"
11 10
12inherit autotools-brokensep 11inherit autotools-brokensep
diff --git a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
index c58524aa64..feda6599a8 100644
--- a/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
+++ b/meta-oe/recipes-benchmark/cpuburn/cpuburn-arm_git.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/ssvb/cpuburn-arm.git;branch=master;protocol=https \
15 file://0003-burn.S-Remove-.func-.endfunc.patch \ 15 file://0003-burn.S-Remove-.func-.endfunc.patch \
16 " 16 "
17 17
18S = "${WORKDIR}/git"
19 18
20do_compile() { 19do_compile() {
21 20
diff --git a/meta-oe/recipes-benchmark/dbench/dbench_4.0.bb b/meta-oe/recipes-benchmark/dbench/dbench_4.0.bb
index 32f51fee49..d300c40a47 100644
--- a/meta-oe/recipes-benchmark/dbench/dbench_4.0.bb
+++ b/meta-oe/recipes-benchmark/dbench/dbench_4.0.bb
@@ -22,5 +22,4 @@ TARGET_CC_ARCH += "${LDFLAGS}"
22 22
23FILES:tbench = "${bindir}/tbench* ${prefix}/share/client.txt" 23FILES:tbench = "${bindir}/tbench* ${prefix}/share/client.txt"
24 24
25SRC_URI[md5sum] = "1fe56ff71b9a416f8889d7150ac54da4"
26SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a" 25SRC_URI[sha256sum] = "6001893f34e68a3cfeb5d424e1f2bfef005df96a22d86f35dc770c5bccf3aa8a"
diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/0001-fix-too-many-arguments-error-in-gcc15.patch b/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/0001-fix-too-many-arguments-error-in-gcc15.patch
new file mode 100644
index 0000000000..63701d9c97
--- /dev/null
+++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone-2.1/0001-fix-too-many-arguments-error-in-gcc15.patch
@@ -0,0 +1,32 @@
1From a0a976c0c4c2b92d61e71e00be4adfd8ea6d0d8f Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 10 Apr 2025 14:14:15 +0900
4Subject: [PATCH] fix too many arguments error in gcc15
5
6dhry_1.c: In function 'main':
7dhry_1.c:176:23: error: too many arguments to function 'Func_1'; expected 0, have 2
8 176 | if (Enum_Loc == Func_1 (Ch_Index, 'C'))
9 | ^~~~~~ ~~~~~~~~
10dhry_1.c:33:17: note: declared here
11 33 | Enumeration Func_1 ();
12 | ^~~~~~
13
14Upstream-Status: Inactive-Upstream [lastrelease: 1988]
15Signed-off-by: mark.yang <mark.yang@lge.com>
16---
17 dhry_1.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/dhry_1.c b/dhry_1.c
21index b081b86..e5a4873 100644
22--- a/dhry_1.c
23+++ b/dhry_1.c
24@@ -30,7 +30,7 @@ char Ch_1_Glob,
25 int Arr_1_Glob [50];
26 int Arr_2_Glob [50] [50];
27
28-Enumeration Func_1 ();
29+Enumeration Func_1 (Capital_Letter Ch_1_Par_Val, Capital_Letter Ch_2_Par_Val);
30 /* forward declaration necessary since Enumeration may not simply be int */
31
32 #ifndef REG
diff --git a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
index 5d27acbdc0..a8d750e885 100644
--- a/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
+++ b/meta-oe/recipes-benchmark/dhrystone/dhrystone_2.1.bb
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d1
5SRC_URI = "http://www.netlib.org/benchmark/dhry-c;downloadfilename=dhry-c.shar \ 5SRC_URI = "http://www.netlib.org/benchmark/dhry-c;downloadfilename=dhry-c.shar \
6 file://dhrystone.patch \ 6 file://dhrystone.patch \
7 file://dhrystone-c89.patch \ 7 file://dhrystone-c89.patch \
8 file://0001-fix-too-many-arguments-error-in-gcc15.patch \
8" 9"
9SRC_URI[md5sum] = "75aa5909c174eed98c134be2f56307da"
10SRC_URI[sha256sum] = "038a7e9169787125c3451a6c941f3aca5db2d2f3863871afcdce154ef17f4e3e" 10SRC_URI[sha256sum] = "038a7e9169787125c3451a6c941f3aca5db2d2f3863871afcdce154ef17f4e3e"
11 11
12# Need to override Makefile variables 12# Need to override Makefile variables
diff --git a/meta-oe/recipes-benchmark/fio/fio_3.36.bb b/meta-oe/recipes-benchmark/fio/fio_3.39.bb
index a871ed8fe5..345c7f08e7 100644
--- a/meta-oe/recipes-benchmark/fio/fio_3.36.bb
+++ b/meta-oe/recipes-benchmark/fio/fio_3.39.bb
@@ -22,11 +22,11 @@ PACKAGECONFIG_NUMA:armeb = ""
22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}" 22PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}"
23PACKAGECONFIG[numa] = ",--disable-numa,numactl" 23PACKAGECONFIG[numa] = ",--disable-numa,numactl"
24 24
25PV .= "+git"
26SRCREV = "b2403d413ee734e8835539319d8bc3429a0777ac"
27SRC_URI = "git://git.kernel.dk/fio.git;branch=master" 25SRC_URI = "git://git.kernel.dk/fio.git;branch=master"
26SRCREV = "a6e474c9e896e4ba1eb40066a03402afb040710a"
27
28UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
28 29
29S = "${WORKDIR}/git"
30 30
31# avoids build breaks when using no-static-libs.inc 31# avoids build breaks when using no-static-libs.inc
32DISABLE_STATIC = "" 32DISABLE_STATIC = ""
@@ -35,7 +35,7 @@ EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}'"
35EXTRA_OECONF = "${@bb.utils.contains('MACHINE_FEATURES', 'x86', '--disable-optimizations', '', d)}" 35EXTRA_OECONF = "${@bb.utils.contains('MACHINE_FEATURES', 'x86', '--disable-optimizations', '', d)}"
36 36
37do_configure() { 37do_configure() {
38 ./configure ${EXTRA_OECONF} 38 ./configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS}
39} 39}
40 40
41do_install() { 41do_install() {
diff --git a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
index 0b61d6ed62..8bcb763f06 100644
--- a/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
+++ b/meta-oe/recipes-benchmark/glmark2/glmark2_git.bb
@@ -21,7 +21,6 @@ SRC_URI = " \
21" 21"
22SRCREV = "42e3d8fe3aa88743ef90348138f643f7b04a9237" 22SRCREV = "42e3d8fe3aa88743ef90348138f643f7b04a9237"
23 23
24S = "${WORKDIR}/git"
25 24
26inherit meson pkgconfig features_check 25inherit meson pkgconfig features_check
27 26
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch b/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch
deleted file mode 100644
index a61a56a71d..0000000000
--- a/meta-oe/recipes-benchmark/iozone3/iozone3/0001-let-system-headers-provide-pread64.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 64389a67b93a53b9fb7e9e20e905a5ee4613606b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 15 Jan 2020 17:10:42 -0800
4Subject: [PATCH] let system headers provide pread64()
5
6The signature does not match with system headers anyway
7
8Fixes
9
10iozone.c:1270:9: error: redeclaration of 'pread64' must have the 'overloadable' attribute ssize_t pread64(); ^ /mnt/b/yoe/build/tmp/work/core2-64-yoe-linux/iozone3/488-r0/recipe-sysroot/usr/include/bits/unistd.h:83:1: note: previous overload of function is here pread64 (int __fd, void *const __clang_pass_object_size0 __buf, ^
111 error generated.
12
13Upstream-Status: Pending
14
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 iozone.c | 1 -
18 1 file changed, 1 deletion(-)
19
20diff --git a/iozone.c b/iozone.c
21index 090dd5f..fdea400 100644
22--- a/iozone.c
23+++ b/iozone.c
24@@ -1267,7 +1267,6 @@ int pit_gettimeofday();
25 #ifdef HAVE_ANSIC_C
26 #if defined (HAVE_PREAD) && defined(_LARGEFILE64_SOURCE)
27 ssize_t pwrite64();
28-ssize_t pread64();
29 #endif
30 #if !defined(linux)
31 char *getenv();
32--
332.25.0
34
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb
index 6ab1121efb..725b0af209 100644
--- a/meta-oe/recipes-benchmark/iozone3/iozone3_506.bb
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_507.bb
@@ -3,18 +3,17 @@ HOMEPAGE = "http://www.iozone.org/"
3SECTION = "console/tests" 3SECTION = "console/tests"
4LICENSE = "iozone3" 4LICENSE = "iozone3"
5LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \ 5LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \
6 file://iozone.c;beginline=276;endline=282;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \ 6 file://iozone.c;beginline=317;endline=323;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \
7" 7"
8SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \ 8SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \
9 file://parallelism.patch \ 9 file://parallelism.patch \
10 file://0001-let-system-headers-provide-pread64.patch \
11 file://copyright.txt \ 10 file://copyright.txt \
12" 11"
13SRC_URI[sha256sum] = "114ce5c071873b9a2c7ba6e73d05d5ef7e66564392acbfcdc0b3261db10fcbe7" 12SRC_URI[sha256sum] = "1e8087ada056f5d8018ee0bc76686d416fc2251ed03038055dbd0af78d1e5ce3"
14 13
15UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar" 14UPSTREAM_CHECK_REGEX = "iozone3_(?P<pver>\d+).tar"
16 15
17S = "${WORKDIR}/${BPN}_${PV}/src/current" 16S = "${UNPACKDIR}/${BPN}_${PV}/src/current"
18 17
19# 18#
20# All other arches can use the default OEMAKE except those 19# All other arches can use the default OEMAKE except those
diff --git a/meta-oe/recipes-benchmark/iperf2/iperf2/0001-Detect-bool-definition-considering-stdbool.h-being-p.patch b/meta-oe/recipes-benchmark/iperf2/iperf2/0001-Detect-bool-definition-considering-stdbool.h-being-p.patch
deleted file mode 100644
index dc3b85f8ef..0000000000
--- a/meta-oe/recipes-benchmark/iperf2/iperf2/0001-Detect-bool-definition-considering-stdbool.h-being-p.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 6df092a4153c6c37cfaddcabf2cd25a910a7f6e1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 2 Sep 2019 15:40:52 -0700
4Subject: [PATCH] Detect bool definition considering stdbool.h being present
5
6This helps in defining the value correctly on different platforms e.g.
7clang/libc++ depends on the definition coming from stdbool.h
8current builds fail to compile therefore
9
10TMPDIR/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/iperf2/2.0.13-r0/recipe-sysroot/usr/include/c++/v1/type_traits:742:29: error: redefinition of '__libcpp_is_integral<int>'
11template <> struct __libcpp_is_integral<int> : public true_type {};
12 ^~~~~~~~~~~~~~~~~~~~~~~~~
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16Upstream-Status: Pending
17
18 m4/dast.m4 | 7 ++++++-
19 1 file changed, 6 insertions(+), 1 deletion(-)
20
21--- a/m4/dast.m4
22+++ b/m4/dast.m4
23@@ -11,7 +11,12 @@ AH_TEMPLATE([false])
24
25 AC_DEFUN(DAST_CHECK_BOOL, [
26
27-AC_CHECK_SIZEOF(bool)
28+if test "$ac_cv_header_stdbool_h" = yes; then
29+ AC_CHECK_SIZEOF(bool,,[#include <stdbool.h>])
30+else
31+ AC_CHECK_SIZEOF(bool)
32+fi
33+
34 if test "$ac_cv_sizeof_bool" = 0 ; then
35 AC_DEFINE(bool, int)
36 fi
37--- a/configure.ac
38+++ b/configure.ac
39@@ -113,7 +113,7 @@ AC_SEARCH_LIBS([socket], [socket], [],
40
41 dnl Checks for header files.
42 AC_HEADER_STDC
43-AC_CHECK_HEADERS([arpa/inet.h libintl.h net/ethernet.h net/if.h linux/ip.h linux/udp.h linux/if_packet.h linux/filter.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h signal.h ifaddrs.h])
44+AC_CHECK_HEADERS([arpa/inet.h libintl.h net/ethernet.h net/if.h linux/ip.h linux/udp.h linux/if_packet.h linux/filter.h netdb.h netinet/in.h stdbool.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h signal.h ifaddrs.h])
45
46 dnl ===================================================================
47 dnl Checks for typedefs, structures
48--- a/include/util.h
49+++ b/include/util.h
50@@ -56,7 +56,9 @@
51 #ifdef HAVE_CONFIG_H
52 #include "config.h"
53 #endif
54-
55+#ifdef HAVE_STDBOOL_H
56+# include <stdbool.h>
57+#endif
58 #ifdef __cplusplus
59 extern "C" {
60 #endif
diff --git a/meta-oe/recipes-benchmark/iperf2/iperf2/0001-fix-for-buildroot-linux-breakage-ticket-342.patch b/meta-oe/recipes-benchmark/iperf2/iperf2/0001-fix-for-buildroot-linux-breakage-ticket-342.patch
new file mode 100644
index 0000000000..0a6bc7150b
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf2/iperf2/0001-fix-for-buildroot-linux-breakage-ticket-342.patch
@@ -0,0 +1,26 @@
1From a25566dd66fb0ca951b3b6f6fa5a4bfaac276c71 Mon Sep 17 00:00:00 2001
2From: Robert McMahon <rjmcmahon@rjmcmahon.com>
3Date: Tue, 12 Nov 2024 12:06:54 -0800
4Subject: [PATCH] fix for buildroot linux breakage, ticket 342
5
6Upstream-Status: Backport [https://sourceforge.net/p/iperf2/code/ci/a25566dd66fb0ca951b3b6f6fa5a4bfaac276c71/]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 src/checksums.c | 3 +++
11 1 file changed, 3 insertions(+)
12
13diff --git a/src/checksums.c b/src/checksums.c
14index 852f1952..d7a8109e 100644
15--- a/src/checksums.c
16+++ b/src/checksums.c
17@@ -47,6 +47,9 @@
18 * by Robert J. McMahon (rjmcmahon@rjmcmahon.com, bob.mcmahon@broadcom.com)
19 * -------------------------------------------------------------------
20 */
21+#ifndef _GNU_SOURCE
22+#define _GNU_SOURCE
23+#endif
24 #include "headers.h"
25
26 /*
diff --git a/meta-oe/recipes-benchmark/iperf2/iperf2_2.0.13.bb b/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb
index 86e5fef530..3d965dac00 100644
--- a/meta-oe/recipes-benchmark/iperf2/iperf2_2.0.13.bb
+++ b/meta-oe/recipes-benchmark/iperf2/iperf2_2.2.1.bb
@@ -5,13 +5,12 @@ LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://COPYING;md5=e136a7b2560d80bcbf0d9b3e1356ecff" 5LIC_FILES_CHKSUM = "file://COPYING;md5=e136a7b2560d80bcbf0d9b3e1356ecff"
6 6
7SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/iperf-${PV}.tar.gz \ 7SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/iperf-${PV}.tar.gz \
8 file://0001-Detect-bool-definition-considering-stdbool.h-being-p.patch \ 8 file://0001-fix-for-buildroot-linux-breakage-ticket-342.patch \
9" 9"
10 10
11SRC_URI[md5sum] = "31ea1c6d5cbf80b16ff3abe4288dad5e" 11SRC_URI[sha256sum] = "754ab0a7e28033dbea81308ef424bc7df4d6e2fe31b60cc536b61b51fefbd8fb"
12SRC_URI[sha256sum] = "c88adec966096a81136dda91b4bd19c27aae06df4d45a7f547a8e50d723778ad"
13 12
14S = "${WORKDIR}/iperf-${PV}" 13S = "${UNPACKDIR}/iperf-${PV}"
15 14
16inherit autotools pkgconfig 15inherit autotools pkgconfig
17 16
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch
new file mode 100644
index 0000000000..d3f3e712c9
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/0001-fix-build-with-gcc-15.patch
@@ -0,0 +1,66 @@
1From a46630d4e373e9a3ef974c1b67767f6816c66572 Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Mon, 9 Dec 2024 10:13:02 +0000
4Subject: [PATCH] fix build with gcc-15
5
6Upstream-Status: Submitted [https://github.com/esnet/iperf/pull/1805]
7
8Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
9---
10 src/iperf_api.c | 8 ++++----
11 src/iperf_api.h | 8 ++++----
12 2 files changed, 8 insertions(+), 8 deletions(-)
13
14diff --git a/src/iperf_api.c b/src/iperf_api.c
15index 7fb741e..4bb5b2f 100644
16--- a/src/iperf_api.c
17+++ b/src/iperf_api.c
18@@ -599,25 +599,25 @@ iperf_set_mapped_v4(struct iperf_test *ipt, const int val)
19 }
20
21 void
22-iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)())
23+iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *))
24 {
25 ipt->on_new_stream = callback;
26 }
27
28 void
29-iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)())
30+iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
31 {
32 ipt->on_test_start = callback;
33 }
34
35 void
36-iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)())
37+iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
38 {
39 ipt->on_connect = callback;
40 }
41
42 void
43-iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)())
44+iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *))
45 {
46 ipt->on_test_finish = callback;
47 }
48diff --git a/src/iperf_api.h b/src/iperf_api.h
49index 1313142..df10c38 100644
50--- a/src/iperf_api.h
51+++ b/src/iperf_api.h
52@@ -213,10 +213,10 @@ void iperf_set_dont_fragment( struct iperf_test* ipt, int dont_fragment );
53 void iperf_set_test_congestion_control(struct iperf_test* ipt, char* cc);
54 void iperf_set_test_mss(struct iperf_test* ipt, int mss);
55 void iperf_set_mapped_v4(struct iperf_test* ipt, const int val);
56-void iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)());
57-void iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)());
58-void iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)());
59-void iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)());
60+void iperf_set_on_new_stream_callback(struct iperf_test* ipt, void (*callback)(struct iperf_stream *));
61+void iperf_set_on_test_start_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
62+void iperf_set_on_test_connect_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
63+void iperf_set_on_test_finish_callback(struct iperf_test* ipt, void (*callback)(struct iperf_test *));
64
65 #if defined(HAVE_SSL)
66 void iperf_set_test_client_username(struct iperf_test *ipt, const char *client_username);
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
index 44fae0255f..08f29937c0 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.17.1.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
@@ -15,11 +15,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f9873a72f714e240530e759e103ac7b2"
15SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ 15SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
16 file://0002-Remove-pg-from-profile_CFLAGS.patch \ 16 file://0002-Remove-pg-from-profile_CFLAGS.patch \
17 file://0001-configure.ac-check-for-CPP-prog.patch \ 17 file://0001-configure.ac-check-for-CPP-prog.patch \
18 file://0001-fix-build-with-gcc-15.patch \
18 " 19 "
19 20
20SRCREV = "2acfcfe94e928e74542c9f107e02aa6dd4748a79" 21SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"
21 22
22S = "${WORKDIR}/git"
23 23
24inherit autotools 24inherit autotools
25 25
@@ -29,3 +29,5 @@ PACKAGECONFIG[lksctp] = "ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
29PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl" 29PACKAGECONFIG[openssl] = "--with-openssl=${RECIPE_SYSROOT}${prefix},--without-openssl,openssl"
30 30
31CFLAGS += "-D_GNU_SOURCE" 31CFLAGS += "-D_GNU_SOURCE"
32
33BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb b/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb
index 4ace4515ad..ae87262870 100644
--- a/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb
+++ b/meta-oe/recipes-benchmark/libc-bench/libc-bench_git.bb
@@ -13,7 +13,9 @@ SRC_URI = "git://git.musl-libc.org/libc-bench;branch=master \
13 file://0001-build-Do-not-override-ldflags-from-environment.patch \ 13 file://0001-build-Do-not-override-ldflags-from-environment.patch \
14 " 14 "
15 15
16S = "${WORKDIR}/git" 16# Upstream repo does not tag
17UPSTREAM_CHECK_COMMITS = "1"
18
17 19
18do_install () { 20do_install () {
19 install -d ${D}${bindir} 21 install -d ${D}${bindir}
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
deleted file mode 100644
index 0787ef27d2..0000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
+++ /dev/null
@@ -1,210 +0,0 @@
1From 0a163f60b4a316c4b6f1726a71c84755f3bd85e7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@lge.com>
3Date: Wed, 16 Sep 2020 04:36:04 -0700
4Subject: [PATCH] Revert "ld.hugetlbfs: fix -Ttext-segment argument on AArch64"
5
6This reverts commit 852dcc963ce44861ed7c4e225aa92ff2b5b43579.
7
8* works around
9 ERROR: libhugetlbfs-1_2.23-r0 do_populate_sysroot: Fatal errors occurred in subprocesses:
10 Command '['arm-oe-linux-gnueabi-strip', '--remove-section=.comment', '--remove-section=.note', 'libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw']' returned non-zero exit status 1.
11 Subprocess output:arm-oe-linux-gnueabi-strip:
12 libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58: error: PHDR segment not covered by LOAD segment
13 arm-oe-linux-gnueabi-strip: libhugetlbfs/1_2.23-r0/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/stmuFa58[.interp]: file format not recognized
14
15I don't see anything suspicious in the build (the same cmdline as in 2.22
16version), but it uses
17
18libhugetlbfs/1_2.22-r0-old/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
19 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
20-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
21-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
22-Werror=format-security -Werror=return-type
23--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.22-r0/recipe-sysroot
24-I.. -O2 -Wall -g -o obj32/linkhuge_rw.o -c linkhuge_rw.c
25libhugetlbfs/1_2.22-r0-old/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
26 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
27-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
28-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
29-Werror=format-security -Werror=return-type
30--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.22-r0/recipe-sysroot
31-B./obj32 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
32-ldl -L../obj32 -o obj32/linkhuge_rw -Wl,--no-as-needed -lpthread -ldl
33-lhugetlbfs_privutils -Wl,--hugetlbfs-align obj32/linkhuge_rw.o
34obj32/testutils.o
35libhugetlbfs/1_2.23-r0-new/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
36 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
37-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
38-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
39-Werror=format-security -Werror=return-type
40--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.23-r0/recipe-sysroot
41-I.. -O2 -Wall -g -o obj32/linkhuge_rw.o -c linkhuge_rw.c
42libhugetlbfs/1_2.23-r0-new/temp/log.do_compile:arm-oe-linux-gnueabi-gcc
43 -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -Wl,-O1
44-Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
45-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security
46-Werror=format-security -Werror=return-type
47--sysroot=/jenkins/mjansa/build/ros/oe-melodic-gatesgarth/libhugetlbfs/1_2.23-r0/recipe-sysroot
48-B./obj32 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
49-ldl -L../obj32 -o obj32/linkhuge_rw -Wl,--no-as-needed -lpthread -ldl
50-lhugetlbfs_privutils -Wl,--hugetlbfs-align obj32/linkhuge_rw.o
51obj32/testutils.o
52
53And the git log between 2.22 and 2.23 is also very short and looks
54reasonable.
55https://github.com/libhugetlbfs/libhugetlbfs/compare/2.22...2.23
56
57When checking with readelf -l it also shows the error about PHDR segment:
58arm-oe-linux-gnueabi-readelf -l
59./1_2.22-r0-old/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw
60
61Elf file type is DYN (Shared object file)
62Entry point 0x201105
63There are 10 program headers, starting at offset 52
64
65Program Headers:
66 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
67 PHDR 0x000034 0x00200034 0x00200034 0x00140 0x00140 R 0x4
68 INTERP 0x000174 0x00200174 0x00200174 0x0001d 0x0001d R 0x1
69 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
70 LOAD 0x000000 0x00200000 0x00200000 0x1222c 0x1222c R E 0x200000
71 LOAD 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x102e0 0x202ec RW 0x200000
72 DYNAMIC 0x1ffdf8 0x005ffdf8 0x005ffdf8 0x00128 0x00128 RW 0x4
73 NOTE 0x000194 0x00200194 0x00200194 0x00044 0x00044 R 0x4
74 GNU_EH_FRAME 0x012224 0x00212224 0x00212224 0x00008 0x00008 R 0x4
75 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
76 EXIDX 0x001c5c 0x00201c5c 0x00201c5c 0x00008 0x00008 R 0x4
77 GNU_RELRO 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x00210 0x00210 RW 0x4
78
79 Section to Segment mapping:
80 Segment Sections...
81 00
82 01 .interp
83 02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .dynstr
84.gnu.hash .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text
85.fini .ARM.extab .ARM.exidx .rodata .eh_frame .eh_frame_hdr
86 03 .fini_array .init_array .dynamic .got .data .bss
87 04 .dynamic
88 05 .note.ABI-tag .note.gnu.build-id
89 06 .eh_frame_hdr
90 07
91 08 .ARM.extab .ARM.exidx
92 09 .fini_array .init_array .dynamic .got
93
94arm-oe-linux-gnueabi-readelf -l
95./1_2.23-r0-new/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw
96
97Elf file type is DYN (Shared object file)
98Entry point 0x31cd1
99There are 10 program headers, starting at offset 52
100
101Program Headers:
102 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
103 PHDR 0x000000 0x00000000 0x00000000 0x00000 0x00000 R 0
104readelf: Error: the PHDR segment is not covered by a LOAD segment
105 INTERP 0x030d40 0x00030d40 0x00030d40 0x0001d 0x0001d R 0x1
106 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
107 LOAD 0x030d40 0x00030d40 0x00030d40 0x120b8 0x120b8 R E 0x200000
108 LOAD 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x102e0 0x202ec RW 0x200000
109 DYNAMIC 0x1ffdf8 0x003ffdf8 0x003ffdf8 0x00128 0x00128 RW 0x4
110 NOTE 0x030d60 0x00030d60 0x00030d60 0x00044 0x00044 R 0x4
111 GNU_EH_FRAME 0x042df0 0x00042df0 0x00042df0 0x00008 0x00008 R 0x4
112 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
113 EXIDX 0x032828 0x00032828 0x00032828 0x00008 0x00008 R 0x4
114 GNU_RELRO 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x00210 0x00210 RW 0x4
115
116 Section to Segment mapping:
117 Segment Sections...
118 00
119 01 .interp
120 02 .interp .note.ABI-tag .note.gnu.build-id .dynsym .dynstr
121.gnu.hash .gnu.version .gnu.version_r .rel.dyn .rel.plt .init .plt .text
122.fini .ARM.extab .ARM.exidx .rodata .eh_frame .eh_frame_hdr
123 03 .fini_array .init_array .dynamic .got .data .bss
124 04 .dynamic
125 05 .note.ABI-tag .note.gnu.build-id
126 06 .eh_frame_hdr
127 07
128 08 .ARM.extab .ARM.exidx
129 09 .fini_array .init_array .dynamic .got
130
131And the diff between these 2:
132
1331_2.22-r0-old/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw.readelf
1341_2.23-r0-new/sysroot-destdir/usr/lib/libhugetlbfs/tests/obj32/linkhuge_rw.readelf
135 Elf file type is DYN (Shared object file)
136-Entry point 0x201105
137+Entry point 0x31cd1
138 There are 10 program headers, starting at offset 52
139
140 Program Headers:
141 Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
142- PHDR 0x000034 0x00200034 0x00200034 0x00140 0x00140 R 0x4
143- INTERP 0x000174 0x00200174 0x00200174 0x0001d 0x0001d R 0x1
144+ PHDR 0x000000 0x00000000 0x00000000 0x00000 0x00000 R 0
145+readelf: Error: the PHDR segment is not covered by a LOAD segment
146+ INTERP 0x030d40 0x00030d40 0x00030d40 0x0001d 0x0001d R 0x1
147 [Requesting program interpreter: /usr/lib/ld-linux-armhf.so.3]
148- LOAD 0x000000 0x00200000 0x00200000 0x1222c 0x1222c R E 0x200000
149- LOAD 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x102e0 0x202ec RW 0x200000
150- DYNAMIC 0x1ffdf8 0x005ffdf8 0x005ffdf8 0x00128 0x00128 RW 0x4
151- NOTE 0x000194 0x00200194 0x00200194 0x00044 0x00044 R 0x4
152- GNU_EH_FRAME 0x012224 0x00212224 0x00212224 0x00008 0x00008 R 0x4
153+ LOAD 0x030d40 0x00030d40 0x00030d40 0x120b8 0x120b8 R E 0x200000
154+ LOAD 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x102e0 0x202ec RW 0x200000
155+ DYNAMIC 0x1ffdf8 0x003ffdf8 0x003ffdf8 0x00128 0x00128 RW 0x4
156+ NOTE 0x030d60 0x00030d60 0x00030d60 0x00044 0x00044 R 0x4
157+ GNU_EH_FRAME 0x042df0 0x00042df0 0x00042df0 0x00008 0x00008 R 0x4
158 GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x10
159- EXIDX 0x001c5c 0x00201c5c 0x00201c5c 0x00008 0x00008 R 0x4
160- GNU_RELRO 0x1ffdf0 0x005ffdf0 0x005ffdf0 0x00210 0x00210 RW 0x4
161+ EXIDX 0x032828 0x00032828 0x00032828 0x00008 0x00008 R 0x4
162+ GNU_RELRO 0x1ffdf0 0x003ffdf0 0x003ffdf0 0x00210 0x00210 RW 0x4
163
164 Section to Segment mapping:
165
166Revert fixes this build issue, but I still don't see why it fails this way.
167
168Upstream-Status: Pending
169
170Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
171
172# Please enter the commit message for your changes. Lines starting
173# with '#' will be ignored, and an empty message aborts the commit.
174#
175# Date: Wed Sep 16 13:43:09 2020 +0200
176#
177# On branch jansa/master
178# Changes to be committed:
179# new file: meta-oe/recipes-benchmark/libhugetlbfs/files/0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch
180# modified: meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
181#
182# Untracked files:
183# counts.txt
184# diff
185# log.svn
186# log.svn2
187# wip/
188#
189---
190 ld.hugetlbfs | 4 +---
191 1 file changed, 1 insertion(+), 3 deletions(-)
192
193diff --git a/ld.hugetlbfs b/ld.hugetlbfs
194index 5e4e497..6ee8238 100755
195--- a/ld.hugetlbfs
196+++ b/ld.hugetlbfs
197@@ -130,9 +130,7 @@ if [ "$HTLB_ALIGN" == "slice" ]; then
198 # targeting the ARM platform one needs to explicitly set the text segment offset
199 # otherwise it will be NULL.
200 case "$EMU" in
201- armelf*_linux_eabi|aarch64elf*|aarch64linux*)
202- printf -v TEXTADDR "%x" "$SLICE_SIZE"
203- HTLBOPTS="$HTLBOPTS -Ttext-segment=$TEXTADDR" ;;
204+ armelf*_linux_eabi|aarch64elf*|aarch64linux*) HTLBOPTS="$HTLBOPTS -Ttext-segment=$SLICE_SIZE" ;;
205 elf_i386) HTLBOPTS="$HTLBOPTS -Ttext-segment=0x08000000" ;;
206 elf64ppc|elf64lppc)
207 if [ "$MMU_TYPE" == "Hash" ] ; then
208--
2092.17.1
210
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
index a13c5389fb..3dbc34d08d 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch
@@ -1,20 +1,20 @@
1From 183a4dafe141197de5840f2e48c266ef209307aa Mon Sep 17 00:00:00 2001 1From b448672f1bc08dcef2ae07727ae6f124a3032a35 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Mon, 18 Jun 2012 16:37:05 +0800 3Date: Mon, 18 Jun 2012 16:37:05 +0800
4Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place 4Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place
5 5
6Upstream-Status: Inappropriate [oe-core specific] 6Upstream-Status: Inappropriate [oe-core specific]
7Signed-off-by: Ting Liu <b28495@freescale.com>
8 7
8Signed-off-by: Ting Liu <b28495@freescale.com>
9--- 9---
10 Makefile | 1 - 10 Makefile.in | 1 -
11 1 file changed, 1 deletion(-) 11 1 file changed, 1 deletion(-)
12 12
13diff --git a/Makefile b/Makefile 13diff --git a/Makefile.in b/Makefile.in
14index 51e41f0..373df3c 100644 14index 65ae5a4..25be577 100644
15--- a/Makefile 15--- a/Makefile.in
16+++ b/Makefile 16+++ b/Makefile.in
17@@ -177,7 +177,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) 17@@ -196,7 +196,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32))
18 REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) 18 REALLIB64 = $(realpath $(PREFIX)/$(LIB64))
19 ifneq ($(realpath $(PREFIX)),) 19 ifneq ($(realpath $(PREFIX)),)
20 ifeq ($(REALLIB32),$(REALLIB64)) 20 ifeq ($(REALLIB32),$(REALLIB64))
@@ -22,3 +22,6 @@ index 51e41f0..373df3c 100644
22 endif 22 endif
23 endif 23 endif
24 24
25--
262.25.1
27
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch
deleted file mode 100644
index 78a4cb0fc2..0000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From b6dba773491bbb7b4664dacdd87a12af860f1bd8 Mon Sep 17 00:00:00 2001
2From: Oleksiy Obitotskyy <oobitots@cisco.com>
3Date: Thu, 28 Jan 2021 05:43:33 -0800
4Subject: [PATCH] tests/makefile: Append CPPFLAGS rather then override
5
6CPPFLAGS overrided and we could miss some options needed.
7
8Upstream-Status: Submitted
9Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
10---
11 tests/Makefile | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/tests/Makefile b/tests/Makefile
15index 0ca3716..d262932 100644
16--- a/tests/Makefile
17+++ b/tests/Makefile
18@@ -33,8 +33,8 @@ HELPERS = get_hugetlbfs_path compare_kvers
19 HELPER_LIBS = libheapshrink.so
20 BADTOOLCHAIN = bad-toolchain.sh
21
22-CFLAGS = -O2 -Wall -g
23-CPPFLAGS = -I..
24+CFLAGS += -O2 -Wall -g
25+CPPFLAGS += -I..
26 STATIC_LIBHUGE = -Wl,--whole-archive -lhugetlbfs -Wl,--no-whole-archive
27 STATIC_LDLIBS = -Wl,--no-as-needed -lpthread
28 LDLIBS = $(STATIC_LDLIBS) -ldl -lhugetlbfs_privutils
29--
302.26.2.Cisco
31
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch
index f95e9e85a4..1b99c007f5 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch
@@ -1,4 +1,4 @@
1From 82a4f60ab24dff121f5f9d3bbcd9a8a28bb7caef Mon Sep 17 00:00:00 2001 1From d3903cbe348c6ecb2f38b37f20dafa6b0ca3b114 Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <B40290@freescale.com> 2From: Chunrong Guo <B40290@freescale.com>
3Date: Sun, 8 Sep 2013 23:21:49 -0500 3Date: Sun, 8 Sep 2013 23:21:49 -0500
4Subject: [PATCH] libhugetlbfs: avoid search host library path for cross 4Subject: [PATCH] libhugetlbfs: avoid search host library path for cross
@@ -7,7 +7,6 @@ Subject: [PATCH] libhugetlbfs: avoid search host library path for cross
7Upstream-Status: Inappropriate [oe-core specific] 7Upstream-Status: Inappropriate [oe-core specific]
8 8
9Signed-off-by: Chunrong Guo <B40290@freescale.com> 9Signed-off-by: Chunrong Guo <B40290@freescale.com>
10
11--- 10---
12 ldscripts/elf32ppclinux.xB | 2 +- 11 ldscripts/elf32ppclinux.xB | 2 +-
13 ldscripts/elf32ppclinux.xBDT | 2 +- 12 ldscripts/elf32ppclinux.xBDT | 2 +-
@@ -95,3 +94,6 @@ index 1855202..c62d245 100644
95 INPUT(-lhugetlbfs); 94 INPUT(-lhugetlbfs);
96 /* Do we need any of these for elf? 95 /* Do we need any of these for elf?
97 __DYNAMIC = 0; */ 96 __DYNAMIC = 0; */
97--
982.25.1
99
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch
index b8b2f8e6fb..98cdf2f51c 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-tests-Makefile-install-static-4G-edge-testcases.patch
@@ -1,22 +1,21 @@
1From f1ad8ff887f16daee8d06eca3df0f2541bfdaac0 Mon Sep 17 00:00:00 2001 1From 3e54866a0ea3c9e933e91213cbe6e55b7ff67b87 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Mon, 23 Sep 2013 08:00:55 +0000 3Date: Mon, 23 Sep 2013 08:00:55 +0000
4Subject: [PATCH] libhugetlbfs: add recipe 4Subject: [PATCH] tests/Makefile: install static 4G edge testcases
5
6Upstream-Status: Submitted
7 5
8TESTS_64 is empty, install will fail due to missing file operand 6TESTS_64 is empty, install will fail due to missing file operand
9 7
10Signed-off-by: Ting Liu <b28495@freescale.com> 8Upstream-Status: Submitted
11 9
10Signed-off-by: Ting Liu <b28495@freescale.com>
12--- 11---
13 tests/Makefile | 2 +- 12 tests/Makefile.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/tests/Makefile b/tests/Makefile 15diff --git a/tests/Makefile.in b/tests/Makefile.in
17index 073df96..0ca3716 100644 16index d33a228..d262932 100644
18--- a/tests/Makefile 17--- a/tests/Makefile.in
19+++ b/tests/Makefile 18+++ b/tests/Makefile.in
20@@ -295,7 +295,7 @@ obj64/install: 19@@ -295,7 +295,7 @@ obj64/install:
21 $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64 20 $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64
22 $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 21 $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64
@@ -26,3 +25,6 @@ index 073df96..0ca3716 100644
26 $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64) 25 $(INSTALL) -m 755 run_tests.py $(DESTDIR)$(INST_TESTSDIR64)
27 26
28 install: $(OBJDIRS:%=%/install) 27 install: $(OBJDIRS:%=%/install)
28--
292.25.1
30
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
index 83934abef8..6b010365a0 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch
@@ -1,4 +1,4 @@
1From 0077532b07e268347cb8557be6d70148d5f0e840 Mon Sep 17 00:00:00 2001 1From 86d3ebfc4da5ccbc82fdee4abaf2cbf758d82403 Mon Sep 17 00:00:00 2001
2From: Ting Liu <b28495@freescale.com> 2From: Ting Liu <b28495@freescale.com>
3Date: Wed, 21 Aug 2013 15:44:57 +0800 3Date: Wed, 21 Aug 2013 15:44:57 +0800
4Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm 4Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm
@@ -20,10 +20,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
20 1 file changed, 11 insertions(+), 1 deletion(-) 20 1 file changed, 11 insertions(+), 1 deletion(-)
21 21
22diff --git a/tests/run_tests.py b/tests/run_tests.py 22diff --git a/tests/run_tests.py b/tests/run_tests.py
23index 018264d..0aabcd1 100755 23index 4793262..6cd0241 100755
24--- a/tests/run_tests.py 24--- a/tests/run_tests.py
25+++ b/tests/run_tests.py 25+++ b/tests/run_tests.py
26@@ -245,9 +245,19 @@ def get_pagesizes(): 26@@ -250,9 +250,19 @@ def get_pagesizes():
27 Use libhugetlbfs' hugeadm utility to get a list of page sizes that have 27 Use libhugetlbfs' hugeadm utility to get a list of page sizes that have
28 active mount points and at least one huge page allocated to the pool. 28 active mount points and at least one huge page allocated to the pool.
29 """ 29 """
@@ -45,5 +45,5 @@ index 018264d..0aabcd1 100755
45 return sizes 45 return sizes
46 46
47-- 47--
482.7.4 482.25.1
49 49
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
index 7cc180a4b7..fc8776af66 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
@@ -1,4 +1,4 @@
1From b5887693d90c430291b644c2f5713b5fdd1777ce Mon Sep 17 00:00:00 2001 1From 8c7a379876e3c7a32bef8620f94a85d20b7b186f Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Tue, 4 Nov 2014 00:49:11 -0800 3Date: Tue, 4 Nov 2014 00:49:11 -0800
4Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for 4Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for
@@ -7,7 +7,6 @@ Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for
7Upstream-Status: Inappropriate [cross compile specific] 7Upstream-Status: Inappropriate [cross compile specific]
8 8
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
10
11--- 10---
12 ldscripts/elf_i386.xB | 1 - 11 ldscripts/elf_i386.xB | 1 -
13 ldscripts/elf_i386.xBDT | 1 - 12 ldscripts/elf_i386.xBDT | 1 -
@@ -37,3 +36,6 @@ index d72aebe..3bac1b1 100644
37 INPUT(-lhugetlbfs); 36 INPUT(-lhugetlbfs);
38 /* Do we need any of these for elf? 37 /* Do we need any of these for elf?
39 __DYNAMIC = 0; */ 38 __DYNAMIC = 0; */
39--
402.25.1
41
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch
index 914b0514f8..33a4efb1fa 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-stddef.h-for-ptrdiff_t.patch
@@ -1,18 +1,17 @@
1From 351d1de09dd80049b7a2cb02c5750635d0389873 Mon Sep 17 00:00:00 2001 1From 5fe5dae674e259bcdd57b9c6a0004111ab0700ce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:25:57 -0700 3Date: Thu, 21 Jun 2018 19:25:57 -0700
4Subject: [PATCH] include stddef.h for ptrdiff_t 4Subject: [PATCH] include stddef.h for ptrdiff_t
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 morecore.c | 1 + 10 morecore.c | 1 +
12 1 file changed, 1 insertion(+) 11 1 file changed, 1 insertion(+)
13 12
14diff --git a/morecore.c b/morecore.c 13diff --git a/morecore.c b/morecore.c
15index 6563bbd..0eef782 100644 14index 405c566..0edccd2 100644
16--- a/morecore.c 15--- a/morecore.c
17+++ b/morecore.c 16+++ b/morecore.c
18@@ -19,6 +19,7 @@ 17@@ -19,6 +19,7 @@
@@ -23,3 +22,6 @@ index 6563bbd..0eef782 100644
23 #include <stdio.h> 22 #include <stdio.h>
24 #include <stdlib.h> 23 #include <stdlib.h>
25 #include <malloc.h> 24 #include <malloc.h>
25--
262.25.1
27
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch
index 7ad6c43eb1..5b2c91b8a1 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0007-Mark-glibc-specific-code-so.patch
@@ -1,21 +1,20 @@
1From 0f548286848c70aa325c6748d80e8651389b4938 Mon Sep 17 00:00:00 2001 1From c98e64c56d0118a2d5f950eaceaed0e85eaa2543 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:32:59 -0700 3Date: Thu, 21 Jun 2018 19:32:59 -0700
4Subject: [PATCH] Mark glibc specific code so 4Subject: [PATCH] Mark glibc specific code so
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 morecore.c | 3 ++- 10 morecore.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
13 12
14diff --git a/morecore.c b/morecore.c 13diff --git a/morecore.c b/morecore.c
15index 0eef782..d48509c 100644 14index 0edccd2..db22216 100644
16--- a/morecore.c 15--- a/morecore.c
17+++ b/morecore.c 16+++ b/morecore.c
18@@ -364,6 +364,7 @@ void hugetlbfs_setup_morecore(void) 17@@ -371,6 +371,7 @@ void hugetlbfs_setup_morecore(void)
19 18
20 INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr); 19 INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr);
21 20
@@ -23,7 +22,7 @@ index 0eef782..d48509c 100644
23 heaptop = heapbase = (void *)heapaddr; 22 heaptop = heapbase = (void *)heapaddr;
24 if (__hugetlb_opts.thp_morecore) 23 if (__hugetlb_opts.thp_morecore)
25 __morecore = &thp_morecore; 24 __morecore = &thp_morecore;
26@@ -371,7 +372,6 @@ void hugetlbfs_setup_morecore(void) 25@@ -378,7 +379,6 @@ void hugetlbfs_setup_morecore(void)
27 __morecore = &hugetlbfs_morecore; 26 __morecore = &hugetlbfs_morecore;
28 27
29 /* Set some allocator options more appropriate for hugepages */ 28 /* Set some allocator options more appropriate for hugepages */
@@ -31,9 +30,13 @@ index 0eef782..d48509c 100644
31 if (__hugetlb_opts.shrink_ok) 30 if (__hugetlb_opts.shrink_ok)
32 mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2); 31 mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2);
33 else 32 else
34@@ -381,4 +381,5 @@ void hugetlbfs_setup_morecore(void) 33@@ -388,5 +388,6 @@ void hugetlbfs_setup_morecore(void)
35 * This doesn't appear to prohibit malloc() from falling back 34 * This doesn't appear to prohibit malloc() from falling back
36 * to mmap() if we run out of hugepages. */ 35 * to mmap() if we run out of hugepages. */
37 mallopt(M_MMAP_MAX, 0); 36 mallopt(M_MMAP_MAX, 0);
38+#endif 37+#endif
39 } 38 }
39 #endif /* HAS_MORECORE */
40--
412.25.1
42
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
index 858a8e511a..73844b71f9 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch
@@ -1,20 +1,19 @@
1From 9ff04d7acc700387e3837f8ab11a41efea5ee8b0 Mon Sep 17 00:00:00 2001 1From 4f69eb130dc2c67a90f2460cedb78f6db11dd6d2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:44:26 -0700 3Date: Thu, 21 Jun 2018 19:44:26 -0700
4Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux 4Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux
5 5
6musl does not have it 6musl does not have it
7 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10---
11Upstream-Status: Pending 8Upstream-Status: Pending
12 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
13 alloc.c | 15 ++++++++++++++- 12 alloc.c | 15 ++++++++++++++-
14 1 file changed, 14 insertions(+), 1 deletion(-) 13 1 file changed, 14 insertions(+), 1 deletion(-)
15 14
16diff --git a/alloc.c b/alloc.c 15diff --git a/alloc.c b/alloc.c
17index bce9464..cf7eb40 100644 16index b8ed663..a58c43d 100644
18--- a/alloc.c 17--- a/alloc.c
19+++ b/alloc.c 18+++ b/alloc.c
20@@ -245,6 +245,19 @@ void free_huge_pages(void *ptr) 19@@ -245,6 +245,19 @@ void free_huge_pages(void *ptr)
@@ -46,3 +45,6 @@ index bce9464..cf7eb40 100644
46 linemod = time(NULL); 45 linemod = time(NULL);
47 } 46 }
48 47
48--
492.25.1
50
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch
index c3f7b3e479..4fbf30e24b 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0009-shm.c-Mark-glibc-specific-changes-so.patch
@@ -1,13 +1,12 @@
1From 9ce323432a7f4d99f617970c7e35b607b9bbf843 Mon Sep 17 00:00:00 2001 1From 37239dd5f14a34b05e77b3ca6e34f96161f1339a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:48:04 -0700 3Date: Thu, 21 Jun 2018 19:48:04 -0700
4Subject: [PATCH] shm.c: Mark glibc specific changes so 4Subject: [PATCH] shm.c: Mark glibc specific changes so
5 5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8---
9Upstream-Status: Pending 6Upstream-Status: Pending
10 7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
11 shm.c | 3 ++- 10 shm.c | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
13 12
@@ -28,3 +27,6 @@ index 1f82cab..9447b63 100644
28 27
29 /* call syscall shmget through the generic syscall mechanism */ 28 /* call syscall shmget through the generic syscall mechanism */
30 static int syscall_shmget(key_t key, size_t size, int shmflg) 29 static int syscall_shmget(key_t key, size_t size, int shmflg)
30--
312.25.1
32
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
index 8bd1633392..a530a5267a 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0010-Include-dirent.h-for-ino_t.patch
@@ -1,4 +1,4 @@
1From bb8c370aaaf25b1fe1fbf984e73177018026cb91 Mon Sep 17 00:00:00 2001 1From ec9163c0436d1c77cecc941aca2e524b26001b15 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:51:02 -0700 3Date: Thu, 21 Jun 2018 19:51:02 -0700
4Subject: [PATCH] Include dirent.h for ino_t 4Subject: [PATCH] Include dirent.h for ino_t
@@ -6,13 +6,13 @@ Subject: [PATCH] Include dirent.h for ino_t
6Fixes 6Fixes
7error: unknown type name 'ino_t'; did you mean 'int'? 7error: unknown type name 'ino_t'; did you mean 'int'?
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 12
11Update for 2.22. 13Update for 2.22.
12Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> 14Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
13--- 15---
14Upstream-Status: Pending
15
16 tests/hugetests.h | 1 + 16 tests/hugetests.h | 1 +
17 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
18 18
@@ -29,5 +29,5 @@ index bc4e16a..fbe4dc0 100644
29 29
30 #include "libhugetlbfs_privutils.h" 30 #include "libhugetlbfs_privutils.h"
31-- 31--
322.7.4 322.25.1
33 33
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch
index e4f8030961..08de396d9f 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0011-include-limits.h-for-PATH_MAX.patch
@@ -1,4 +1,4 @@
1From 5f64aa8c47c2d3a155a97e262f89cc47394a69eb Mon Sep 17 00:00:00 2001 1From 79b76433f4b6f2f14914817b7e8ac0db1df39250 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 21 Jun 2018 19:58:53 -0700 3Date: Thu, 21 Jun 2018 19:58:53 -0700
4Subject: [PATCH] include limits.h for PATH_MAX 4Subject: [PATCH] include limits.h for PATH_MAX
@@ -7,17 +7,16 @@ Fixes
7 7
8error: 'PATH_MAX' undeclared 8error: 'PATH_MAX' undeclared
9 9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12---
13Upstream-Status: Pending 10Upstream-Status: Pending
14 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
15 hugeadm.c | 1 + 14 hugeadm.c | 1 +
16 tests/gethugepagesizes.c | 1 + 15 tests/gethugepagesizes.c | 1 +
17 2 files changed, 2 insertions(+) 16 2 files changed, 2 insertions(+)
18 17
19diff --git a/hugeadm.c b/hugeadm.c 18diff --git a/hugeadm.c b/hugeadm.c
20index fe4211d..8db274c 100644 19index 79a4867..65d5136 100644
21--- a/hugeadm.c 20--- a/hugeadm.c
22+++ b/hugeadm.c 21+++ b/hugeadm.c
23@@ -33,6 +33,7 @@ 22@@ -33,6 +33,7 @@
@@ -29,7 +28,7 @@ index fe4211d..8db274c 100644
29 #include <sys/stat.h> 28 #include <sys/stat.h>
30 #include <sys/types.h> 29 #include <sys/types.h>
31diff --git a/tests/gethugepagesizes.c b/tests/gethugepagesizes.c 30diff --git a/tests/gethugepagesizes.c b/tests/gethugepagesizes.c
32index 9551b38..2645e3f 100644 31index 5777265..990db69 100644
33--- a/tests/gethugepagesizes.c 32--- a/tests/gethugepagesizes.c
34+++ b/tests/gethugepagesizes.c 33+++ b/tests/gethugepagesizes.c
35@@ -29,6 +29,7 @@ 34@@ -29,6 +29,7 @@
@@ -40,3 +39,6 @@ index 9551b38..2645e3f 100644
40 39
41 #include "hugetests.h" 40 #include "hugetests.h"
42 41
42--
432.25.1
44
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch
index e45f283b38..0583df95ad 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-huge_page_setup_helper-use-python3-interpreter.patch
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0012-huge_page_setup_helper-use-python3-interpreter.patch
@@ -1,4 +1,4 @@
1From b77c61de4d88d2c6e5d31f4f5a5877cc4c61272e Mon Sep 17 00:00:00 2001 1From e5580e392b8764e1e6509c5a4ed13fb2ce7566b9 Mon Sep 17 00:00:00 2001
2From: Andrey Zhizhikin <andrey.z@gmail.com> 2From: Andrey Zhizhikin <andrey.z@gmail.com>
3Date: Mon, 27 Jan 2020 17:27:55 +0000 3Date: Mon, 27 Jan 2020 17:27:55 +0000
4Subject: [PATCH] huge_page_setup_helper: use python3 interpreter 4Subject: [PATCH] huge_page_setup_helper: use python3 interpreter
@@ -15,7 +15,7 @@ Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
15 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
16 16
17diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py 17diff --git a/huge_page_setup_helper.py b/huge_page_setup_helper.py
18index a9ba2bf..7ba0c92 100755 18index 01fc8dc..79a88ca 100755
19--- a/huge_page_setup_helper.py 19--- a/huge_page_setup_helper.py
20+++ b/huge_page_setup_helper.py 20+++ b/huge_page_setup_helper.py
21@@ -1,4 +1,4 @@ 21@@ -1,4 +1,4 @@
@@ -25,5 +25,5 @@ index a9ba2bf..7ba0c92 100755
25 # 25 #
26 # Tool to set up Linux large page support with minimal effort 26 # Tool to set up Linux large page support with minimal effort
27-- 27--
282.17.1 282.25.1
29 29
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch
new file mode 100644
index 0000000000..264a535cc7
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0013-elflink.c-include-libgen.h-for-basename.patch
@@ -0,0 +1,41 @@
1From 825444522d698991be04bbfa683a7cf785c6f72c Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 2 Oct 2024 00:06:34 +0800
4Subject: [PATCH] elflink.c: include libgen.h for basename
5
6Basename prototype has been removed from string.h from latest musl[1].
7Compilers e.g. clang-18 flags the absense of prototype as error.
8Therefore include libgen.h for providing it.
9
10elflink.c: In function 'get_shared_file_name':
11elflink.c:363:19: error: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
12 363 | binary2 = basename(binary);
13 | ^~~~~~~~
14elflink.c:363:17: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
15 363 | binary2 = basename(binary);
16 | ^
17
18[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
19
20Upstream-Status: Pending
21
22Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
23---
24 elflink.c | 1 +
25 1 file changed, 1 insertion(+)
26
27diff --git a/elflink.c b/elflink.c
28index 278d338..0e78d61 100644
29--- a/elflink.c
30+++ b/elflink.c
31@@ -38,6 +38,7 @@
32 #include <limits.h>
33 #include <elf.h>
34 #include <dlfcn.h>
35+#include <libgen.h>
36
37 #include "version.h"
38 #include "hugetlbfs.h"
39--
402.25.1
41
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb
new file mode 100644
index 0000000000..e688d6ede2
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_2.24.bb
@@ -0,0 +1,79 @@
1SUMMARY = "A library which provides easy access to huge pages of memory"
2HOMEPAGE = "https://github.com/libhugetlbfs/libhugetlbfs"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6RDEPENDS:${PN} += "bash"
7RDEPENDS:${PN}-tests += "bash python3-core python3-resource"
8
9PE = "1"
10
11SRCREV = "1322884fb0d55dc55f53563c1aa6328d118997e7"
12SRC_URI = " \
13 git://github.com/libhugetlbfs/libhugetlbfs.git;protocol=https;branch=master \
14 file://0001-skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
15 file://0002-libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
16 file://0003-tests-Makefile-install-static-4G-edge-testcases.patch \
17 file://0004-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
18 file://0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \
19 file://0006-include-stddef.h-for-ptrdiff_t.patch \
20 file://0007-Mark-glibc-specific-code-so.patch \
21 file://0008-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch \
22 file://0009-shm.c-Mark-glibc-specific-changes-so.patch \
23 file://0010-Include-dirent.h-for-ino_t.patch \
24 file://0011-include-limits.h-for-PATH_MAX.patch \
25 file://0012-huge_page_setup_helper-use-python3-interpreter.patch \
26 file://0013-elflink.c-include-libgen.h-for-basename.patch \
27"
28
29UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
30
31
32COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
33
34LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
35LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
36LIBHUGETLBFS_ARCH:powerpc = "ppc"
37LIBHUGETLBFS_ARCH:powerpc64 = "ppc64"
38LIBHUGETLBFS_ARCH:powerpc64le = "ppc64le"
39EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2"
40PARALLEL_MAKE = ""
41CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
42
43export HUGETLB_LDSCRIPT_PATH = "${S}/ldscripts"
44
45TARGET_CC_ARCH += "${LDFLAGS}"
46
47LDFLAGS += "-B${S}"
48
49inherit autotools-brokensep
50
51do_configure:prepend() {
52 ln -sf ld.hugetlbfs ${S}/ld
53 ln -sf ld.hugetlbfs ${S}/ld.bfd
54 ln -sf ld.hugetlbfs ${S}/ld.lld
55}
56
57do_install() {
58 oe_runmake PREFIX=${prefix} DESTDIR=${D} \
59 INST_TESTSDIR32=${libdir}/libhugetlbfs/tests \
60 INST_TESTSDIR64=${libdir}/libhugetlbfs/tests \
61 install-tests
62
63 sed -i \
64 -e 's|${RECIPE_SYSROOT_NATIVE}||g' \
65 -e 's|${RECIPE_SYSROOT}||g' \
66 -e 's|${S}||g' \
67 `find ${D}${libdir}/libhugetlbfs/tests -name dummy.ldscript`
68}
69
70PACKAGES =+ "${PN}-tests "
71FILES:${PN} += "${libdir}/*.so"
72FILES:${PN}-dev = "${includedir}"
73FILES:${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
74FILES:${PN}-tests += "${libdir}/libhugetlbfs/tests"
75
76INSANE_SKIP:${PN} = "dev-so"
77
78INHIBIT_PACKAGE_STRIP = "1"
79INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
deleted file mode 100644
index 80af9873b1..0000000000
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ /dev/null
@@ -1,79 +0,0 @@
1SUMMARY = "A library which provides easy access to huge pages of memory"
2HOMEPAGE = "https://github.com/libhugetlbfs/libhugetlbfs"
3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
5
6DEPENDS = "sysfsutils"
7RDEPENDS:${PN} += "bash python3-core"
8RDEPENDS:${PN}-tests += "bash python3-core"
9
10PV = "2.23"
11PE = "1"
12
13SRCREV = "6b126a4d7da9490fa40fe7e1b962edcb939feddc"
14SRC_URI = " \
15 git://github.com/libhugetlbfs/libhugetlbfs.git;protocol=https;branch=master \
16 file://skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch \
17 file://libhugetlbfs-avoid-search-host-library-path-for-cros.patch \
18 file://tests-Makefile-install-static-4G-edge-testcases.patch \
19 file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \
20 file://libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \
21 file://0001-include-stddef.h-for-ptrdiff_t.patch \
22 file://0002-Mark-glibc-specific-code-so.patch \
23 file://0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch \
24 file://0004-shm.c-Mark-glibc-specific-changes-so.patch \
25 file://0005-Include-dirent.h-for-ino_t.patch \
26 file://0006-include-limits.h-for-PATH_MAX.patch \
27 file://0001-huge_page_setup_helper-use-python3-interpreter.patch \
28 file://0001-Revert-ld.hugetlbfs-fix-Ttext-segment-argument-on-AA.patch \
29 file://0001-tests-makefile-Append-CPPFLAGS-rather-then-override.patch \
30"
31
32UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
33
34S = "${WORKDIR}/git"
35
36COMPATIBLE_HOST = "(i.86|x86_64|powerpc|powerpc64|aarch64|arm).*-linux*"
37
38LIBARGS = "LIB32=${baselib} LIB64=${baselib}"
39LIBHUGETLBFS_ARCH = "${TARGET_ARCH}"
40LIBHUGETLBFS_ARCH:powerpc = "ppc"
41LIBHUGETLBFS_ARCH:powerpc64 = "ppc64"
42LIBHUGETLBFS_ARCH:powerpc64le = "ppc64le"
43EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} BUILDTYPE=NATIVEONLY V=2"
44PARALLEL_MAKE = ""
45CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
46
47export HUGETLB_LDSCRIPT_PATH="${S}/ldscripts"
48
49TARGET_CC_ARCH += "${LDFLAGS}"
50
51#The CUSTOM_LDSCRIPTS doesn't work with the gold linker
52inherit cpan-base
53do_configure() {
54 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'ld-is-gold', d)}" ]; then
55 sed -i 's/CUSTOM_LDSCRIPTS = yes/CUSTOM_LDSCRIPTS = no/' Makefile
56 fi
57}
58
59do_install() {
60 oe_runmake PREFIX=${prefix} DESTDIR=${D} \
61 INST_TESTSDIR32=${libdir}/libhugetlbfs/tests \
62 INST_TESTSDIR64=${libdir}/libhugetlbfs/tests \
63 install-tests
64}
65
66
67PACKAGES =+ "${PN}-tests "
68FILES:${PN} += "${libdir}/*.so"
69FILES:${PN}-dev = "${includedir}"
70FILES:${PN}-dbg += "${libdir}/libhugetlbfs/tests/obj32/.debug ${libdir}/libhugetlbfs/tests/obj64/.debug"
71FILES:${PN}-tests += "${libdir}/libhugetlbfs/tests"
72
73INSANE_SKIP:${PN} = "dev-so"
74
75INHIBIT_PACKAGE_STRIP = "1"
76INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
77
78# see https://github.com/libhugetlbfs/libhugetlbfs/issues/52
79SKIP_RECIPE[libhugetlbfs] ?= "Needs porting to glibc 2.34+"
diff --git a/meta-oe/recipes-benchmark/linpack/linpack/0001-Fix-build-error-in-gcc-15.0.1-due-to-function-redecl.patch b/meta-oe/recipes-benchmark/linpack/linpack/0001-Fix-build-error-in-gcc-15.0.1-due-to-function-redecl.patch
new file mode 100644
index 0000000000..fbde7396c2
--- /dev/null
+++ b/meta-oe/recipes-benchmark/linpack/linpack/0001-Fix-build-error-in-gcc-15.0.1-due-to-function-redecl.patch
@@ -0,0 +1,52 @@
1From a1c1211fd6fc8d82053074c6dc531340f046c8d4 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Tue, 1 Apr 2025 16:06:56 +0900
4Subject: [PATCH] Fix build error in gcc 15.0.1 due to function redeclaration.
5
6Fix build error:
7linpacknew.c: In function 'dgefa':
8linpacknew.c:257:9: error: conflicting types for 'idamax'; have 'int(void)'
9 257 | int idamax(),j,k,kp1,l,nm1;
10 | ^~~~~~
11linpacknew.c:63:13: note: previous declaration of 'idamax' with type 'int(int, REAL *, int)' {aka 'int(int, double *, int)'}
12 63 | static int idamax (int n,REAL *dx,int incx);
13 | ^~~~~~
14linpacknew.c:272:21: error: too many arguments to function 'idamax'; expected 0, have 3
15 272 | l = idamax(n-k,&a[lda*k+k],1) + k;
16 | ^~~~~~ ~~~
17linpacknew.c:257:9: note: declared here
18 257 | int idamax(),j,k,kp1,l,nm1;
19 | ^~~~~~
20linpacknew.c:326:21: error: too many arguments to function 'idamax'; expected 0, have 3
21 326 | l = idamax(n-k,&a[lda*k+k],1) + k;
22 | ^~~~~~ ~~~
23linpacknew.c:257:9: note: declared here
24 257 | int idamax(),j,k,kp1,l,nm1;
25 | ^~~~~~
26
27The function was already declared as static int idamax(int n, REAL *dx, int incx);
28on line 63, but it was redeclared as int idamax() inside the dgefa function on line 257,
29causing a conflict.
30where functions are redeclared without parameters,
31causing conflicts with the original function definitions.
32
33Upstream-Status: Inactive-Upstream [lastrelease: 2/25/94]
34
35Signed-off-by: mark.yang <mark.yang@lge.com>
36---
37 linpacknew.c | 2 +-
38 1 file changed, 1 insertion(+), 1 deletion(-)
39
40diff --git a/linpacknew.c b/linpacknew.c
41index c656082..5c8687b 100644
42--- a/linpacknew.c
43+++ b/linpacknew.c
44@@ -254,7 +254,7 @@ static void dgefa(REAL *a,int lda,int n,int *ipvt,int *info,int roll)
45
46 {
47 REAL t;
48- int idamax(),j,k,kp1,l,nm1;
49+ int j,k,kp1,l,nm1;
50
51 /* gaussian elimination with partial pivoting */
52
diff --git a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
index a0327ee154..6a500dbf01 100644
--- a/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
+++ b/meta-oe/recipes-benchmark/linpack/linpack_1.0.bb
@@ -2,16 +2,15 @@ DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point com
2SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers" 2SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers"
3 3
4LICENSE = "PD" 4LICENSE = "PD"
5LIC_FILES_CHKSUM ="file://${UNPACKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87" 5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
6 6
7SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c \ 7SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c \
8 file://0001-linpack-Define-DP-only-when-SP-is-not-defined.patch \ 8 file://0001-linpack-Define-DP-only-when-SP-is-not-defined.patch \
9 file://0001-Fix-build-error-in-gcc-15.0.1-due-to-function-redecl.patch \
9 " 10 "
10SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4"
11SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e" 11SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e"
12 12
13S = "${WORKDIR}/sources" 13S = "${UNPACKDIR}"
14UNPACKDIR = "${S}"
15 14
16do_compile () { 15do_compile () {
17 ${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm 16 ${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench/0001-Fix-build-errors-related-to-incorrect-function-param.patch b/meta-oe/recipes-benchmark/lmbench/lmbench/0001-Fix-build-errors-related-to-incorrect-function-param.patch
new file mode 100644
index 0000000000..30f52023cd
--- /dev/null
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench/0001-Fix-build-errors-related-to-incorrect-function-param.patch
@@ -0,0 +1,252 @@
1From 8a6b5f649fe7f42aff4f69a8d99c522adb22f54c Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 10 Apr 2025 13:19:07 +0900
4Subject: [PATCH] Fix build errors related to incorrect function parameters in
5 gcc-15
6
7* see more details
8 http://errors.yoctoproject.org/Errors/Details/851798/
9
10 lat_rpc.c:172:1: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'}
11 172 | client_rpc_xact_1(char *argp, CLIENT *clnt)
12 | ^~~~~~~~~~~~~~~~~
13 bench.h:349:14: note: previous declaration of 'client_rpc_xact_1' with type 'char *(void)'
14 349 | extern char *client_rpc_xact_1();
15 | ^~~~~~~~~~~~~~~~~
16 lat_rpc.c: In function 'rpc_xact_1':
17 lat_rpc.c:189:1: warning: old-style function definition [-Wold-style-definition]
18 189 | rpc_xact_1(msg, transp)
19 | ^~~~~~~~~~
20 lat_rpc.c:192:1: error: number of arguments doesn't match prototype
21 192 | {
22 | ^
23 bench.h:348:14: error: prototype declaration
24 348 | extern char *rpc_xact_1();
25 | ^~~~~~~~~~
26
27 Fix errors due to old-style function declarations
28
29 The code was using old-style function declarations without proper prototypes,
30 which causes compilation errors with newer GCC versions. This patch updates
31 the function declarations to use modern C syntax with proper parameter types.
32
33Upstream-Status: Submitted [https://sourceforge.net/p/lmbench/patches/3]
34Signed-off-by: mark.yang <mark.yang@lge.com>
35---
36 src/bench.h | 4 ++--
37 src/lat_rpc.c | 24 ++++++++++--------------
38 src/lat_udp.c | 4 ++--
39 src/lmdd.c | 18 +++++++++---------
40 src/lmhttp.c | 4 ++--
41 5 files changed, 25 insertions(+), 29 deletions(-)
42
43diff --git a/src/bench.h b/src/bench.h
44index 1768ef7..4fc2822 100644
45--- a/src/bench.h
46+++ b/src/bench.h
47@@ -345,7 +345,7 @@ extern int sched_pin(int cpu);
48 #define XACT_VERS ((u_long)1)
49 #define RPC_XACT ((u_long)1)
50 #define RPC_EXIT ((u_long)2)
51-extern char *rpc_xact_1();
52-extern char *client_rpc_xact_1();
53+extern char *rpc_xact_1(char *msg, struct svc_req *rqstp);
54+extern char *client_rpc_xact_1(char *argp, CLIENT *clnt);
55
56 #endif /* _BENCH_H */
57diff --git a/src/lat_rpc.c b/src/lat_rpc.c
58index 9c02192..e1450af 100644
59--- a/src/lat_rpc.c
60+++ b/src/lat_rpc.c
61@@ -185,17 +185,15 @@ client_rpc_xact_1(char *argp, CLIENT *clnt)
62 * The remote procedure[s] that will be called
63 */
64 /* ARGSUSED */
65-char *
66-rpc_xact_1(msg, transp)
67- char *msg;
68- register SVCXPRT *transp;
69+char *
70+rpc_xact_1(char *msg, struct svc_req *rqstp /* transp is unused */)
71 {
72 static char r = 123;
73
74 return &r;
75 }
76
77-static void xact_prog_1();
78+static void xact_prog_1(struct svc_req *rqstp, register SVCXPRT *transp);
79
80 void
81 server_main()
82@@ -233,16 +231,14 @@ server_main()
83 }
84
85 static void
86-xact_prog_1(rqstp, transp)
87- struct svc_req *rqstp;
88- register SVCXPRT *transp;
89+xact_prog_1(struct svc_req *rqstp, register SVCXPRT *transp)
90 {
91 union {
92 char rpc_xact_1_arg;
93 } argument;
94 char *result;
95- bool_t (*xdr_argument)(), (*xdr_result)();
96- char *(*local)();
97+ bool_t (*xdr_argument)(XDR *, void *), (*xdr_result)(XDR *, void *);
98+ char *(*local)(char *, struct svc_req *);
99
100 switch (rqstp->rq_proc) {
101 case NULLPROC:
102@@ -250,9 +246,9 @@ xact_prog_1(rqstp, transp)
103 return;
104
105 case RPC_XACT:
106- xdr_argument = xdr_char;
107- xdr_result = xdr_char;
108- local = (char *(*)()) rpc_xact_1;
109+ xdr_argument = (bool_t (*)(XDR *, void *))xdr_char;
110+ xdr_result = (bool_t (*)(XDR *, void *))xdr_char;
111+ local = rpc_xact_1;
112 break;
113
114 case RPC_EXIT:
115@@ -269,7 +265,7 @@ xact_prog_1(rqstp, transp)
116 svcerr_decode(transp);
117 return;
118 }
119- result = (*local)(&argument, rqstp);
120+ result = local(&argument.rpc_xact_1_arg, rqstp);
121 if (result != NULL && !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) {
122 svcerr_systemerr(transp);
123 }
124diff --git a/src/lat_udp.c b/src/lat_udp.c
125index cdd2e9b..292d5c4 100644
126--- a/src/lat_udp.c
127+++ b/src/lat_udp.c
128@@ -19,7 +19,7 @@ char *id = "$Id$\n";
129
130 void client_main(int ac, char **av);
131 void server_main();
132-void timeout();
133+void timeout(int sig);
134 void init(iter_t iterations, void* cookie);
135 void cleanup(iter_t iterations, void* cookie);
136 void doit(iter_t iterations, void* cookie);
137@@ -164,7 +164,7 @@ cleanup(iter_t iterations, void* cookie)
138 }
139
140 void
141-timeout()
142+timeout(__attribute__((unused)) int sig)
143 {
144 fprintf(stderr, "Recv timed out\n");
145 exit(1);
146diff --git a/src/lmdd.c b/src/lmdd.c
147index dee37b4..da64b04 100644
148--- a/src/lmdd.c
149+++ b/src/lmdd.c
150@@ -76,7 +76,7 @@ int norepeats = -1;
151 bds_msg *m1, *m2;
152 #endif
153
154-uint64 getarg();
155+uint64 getarg(char *s, int ac, char **av);
156 int been_there(uint64 off);
157 int getfile(char *s, int ac, char **av);
158
159@@ -148,7 +148,7 @@ char *cmds[] = {
160
161
162 void error(char *);
163-void done();
164+void done(int sig);
165 #ifdef DBG
166 extern int dbg;
167 #endif
168@@ -162,7 +162,7 @@ main(int ac, char **av)
169 int Fork, misses, mismatch, outpat, inpat, in, timeopen, gotcnt;
170 int slp;
171 uint64 skip, size, count;
172- void chkarg();
173+ void chkarg(char *arg);
174 int i;
175 uint64 off = 0;
176 int touch;
177@@ -332,7 +332,7 @@ main(int ac, char **av)
178 register int moved;
179
180 if (gotcnt && count-- <= 0) {
181- done();
182+ done(0);
183 }
184
185 /*
186@@ -445,7 +445,7 @@ main(int ac, char **av)
187 perror("read");
188 }
189 if (moved <= 0) {
190- done();
191+ done(0);
192 }
193 if (inpat != -1) {
194 register int foo, cnt;
195@@ -458,7 +458,7 @@ main(int ac, char **av)
196 (uint)(off + foo*sizeof(int)),
197 buf[foo]);
198 if (mismatch != -1 && --misses == 0) {
199- done();
200+ done(0);
201 }
202 }
203 }
204@@ -523,7 +523,7 @@ main(int ac, char **av)
205 if (moved2 != moved) {
206 fprintf(stderr, "write: wanted=%d got=%d\n",
207 moved, moved2);
208- done();
209+ done(0);
210 }
211 if ((Wtmax != -1) || (Wtmin != -1)) {
212 int mics = stop(&start_tv, &stop_tv);
213@@ -560,7 +560,7 @@ main(int ac, char **av)
214 perror("write");
215 }
216 if (moved2 != moved) {
217- done();
218+ done(0);
219 }
220
221 if (touch) {
222@@ -626,7 +626,7 @@ chkarg(char *arg)
223 }
224
225 void
226-done(void)
227+done(__attribute__((unused)) int sig)
228 {
229 int i;
230 int step;
231diff --git a/src/lmhttp.c b/src/lmhttp.c
232index 41d9949..c2f3cb9 100644
233--- a/src/lmhttp.c
234+++ b/src/lmhttp.c
235@@ -26,7 +26,7 @@ char *buf;
236 char *bufs[3];
237 int Dflg, dflg, nflg, lflg, fflg, zflg;
238 int data, logfile;
239-void die();
240+void die(int sig);
241 void worker();
242 char *http_time(void);
243 char *date(time_t *tt);
244@@ -387,7 +387,7 @@ logit(int sock, char *name, int size)
245 nbytes += len;
246 }
247
248-void die()
249+void die(__attribute__((unused)) int sig)
250 {
251 if (nbytes) {
252 write(logfile, logbuf, nbytes);
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 6729e81fa5..acd4d6decf 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -29,8 +29,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
29 file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \ 29 file://0001-doc-Fix-typos-in-lat_unix_connect-manual-page.patch \
30 file://0001-bench.h-Fix-typo-in-specifying-string.h.patch \ 30 file://0001-bench.h-Fix-typo-in-specifying-string.h.patch \
31 file://0001-scripts-build-Fix-the-tests-to-build-with-clang15.patch \ 31 file://0001-scripts-build-Fix-the-tests-to-build-with-clang15.patch \
32 file://0001-Fix-build-errors-related-to-incorrect-function-param.patch \
32 " 33 "
33SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
34SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551" 34SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"
35 35
36UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lmbench/files/development/" 36UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lmbench/files/development/"
diff --git a/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb b/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb
index bb8c4625d5..1fd95de038 100644
--- a/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb
+++ b/meta-oe/recipes-benchmark/mbw/mbw_2.0.bb
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/raas/${BPN}.git;branch=master;protocol=https"
8 8
9SRCREV = "c3155b544a5065e8235508059c6512af6c46bd4d" 9SRCREV = "c3155b544a5065e8235508059c6512af6c46bd4d"
10 10
11S = "${WORKDIR}/git"
12 11
13do_install() { 12do_install() {
14 install -d ${D}${bindir} 13 install -d ${D}${bindir}
diff --git a/meta-oe/recipes-benchmark/memtester/memtester_4.6.0.bb b/meta-oe/recipes-benchmark/memtester/memtester_4.7.1.bb
index 42cee1108d..fd6713ea9f 100644
--- a/meta-oe/recipes-benchmark/memtester/memtester_4.6.0.bb
+++ b/meta-oe/recipes-benchmark/memtester/memtester_4.7.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
8SRC_URI = "http://pyropus.ca/software/memtester/old-versions/${BP}.tar.gz \ 8SRC_URI = "http://pyropus.ca/software/memtester/old-versions/${BP}.tar.gz \
9 file://Makefile.patch \ 9 file://Makefile.patch \
10 " 10 "
11SRC_URI[sha256sum] = "c9fe4eb7e80c8cef5202f9065c4c0682f5616647c0455e916a5700f98e3dbb2e" 11SRC_URI[sha256sum] = "e427de663f7bd22d1ebee8af12506a852c010bd4fcbca1e0e6b02972d298b5bb"
12 12
13do_compile () { 13do_compile () {
14 echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc 14 echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch
new file mode 100644
index 0000000000..8e01e17e91
--- /dev/null
+++ b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte/0001-Fix-build-error-with-gcc-15.patch
@@ -0,0 +1,34 @@
1From 3ee8798764919cd3f7d983f99f6189bbb940d639 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 10 Apr 2025 10:53:14 +0900
4Subject: [PATCH] Fix build error with gcc-15
5
6* Fix the following build error with gcc-15:
7nbench1.c:3520:13: error: conflicting types for 'adjust_mid_wts'; have 'void(int)'
8 3520 | static void adjust_mid_wts(int patt)
9 | ^~~~~~~~~~~~~~
10In file included from nbench1.c:64:
11nbench1.h:373:13: note: previous declaration of 'adjust_mid_wts' with type 'void(void)'
12 373 | static void adjust_mid_wts();
13 | ^~~~~~~~~~~~~~
14
15Upstream-Status: Inappropriate [no upstream]
16
17Signed-off-by: mark.yang <mark.yang@lge.com>
18---
19 nbench1.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/nbench1.h b/nbench1.h
23index 13a5907..b81ca82 100644
24--- a/nbench1.h
25+++ b/nbench1.h
26@@ -370,7 +370,7 @@ static void do_out_error(int patt);
27 static void worst_pass_error();
28 static void do_mid_error();
29 static void adjust_out_wts();
30-static void adjust_mid_wts();
31+static void adjust_mid_wts(int patt);
32 static void do_back_pass(int patt);
33 static void move_wt_changes();
34 static int check_out_error();
diff --git a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb
index b4d55be1b0..da03ebb291 100644
--- a/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb
+++ b/meta-oe/recipes-benchmark/nbench-byte/nbench-byte_2.2.3.bb
@@ -9,9 +9,9 @@ SECTION = "console/utils"
9 9
10SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \ 10SRC_URI = "https://fossies.org/linux/misc/old/${BP}.tar.gz \
11 file://nbench_32bits.patch \ 11 file://nbench_32bits.patch \
12 file://Makefile-add-more-dependencies-to-pointer.h.patch" 12 file://Makefile-add-more-dependencies-to-pointer.h.patch \
13 file://0001-Fix-build-error-with-gcc-15.patch"
13 14
14SRC_URI[md5sum] = "285dfab361080759d477ea1fe7d3093a"
15SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac" 15SRC_URI[sha256sum] = "723dd073f80e9969639eb577d2af4b540fc29716b6eafdac488d8f5aed9101ac"
16 16
17EXTRA_OEMAKE = "-e MAKEFLAGS=" 17EXTRA_OEMAKE = "-e MAKEFLAGS="
diff --git a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb
index 8de3314b3c..5f105c9f8e 100644
--- a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb
+++ b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_10.8.4.bb
@@ -11,7 +11,7 @@ SRC_URI = "http://www.phoronix-test-suite.com/releases/${BP}.tar.gz \
11 11
12SRC_URI[sha256sum] = "1f2092d536c0a3193efc53e4a50f3cee65c0ef1a78d31e5404f1c663fff7b7f4" 12SRC_URI[sha256sum] = "1f2092d536c0a3193efc53e4a50f3cee65c0ef1a78d31e5404f1c663fff7b7f4"
13 13
14S = "${WORKDIR}/phoronix-test-suite" 14S = "${UNPACKDIR}/phoronix-test-suite"
15 15
16inherit systemd allarch mime mime-xdg 16inherit systemd allarch mime mime-xdg
17 17
@@ -25,6 +25,9 @@ do_install() {
25 fi 25 fi
26} 26}
27 27
28PACKAGECONFIG ??= ""
29PACKAGECONFIG[pdf] = ",,,ttf-dejavu-sans"
30
28# It is not advisable to enable these services by default since they can cause 31# It is not advisable to enable these services by default since they can cause
29# continual target reboots if they encounter network problems. 32# continual target reboots if they encounter network problems.
30# 33#
diff --git a/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb b/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb
index b32f37153e..e034371604 100644
--- a/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb
+++ b/meta-oe/recipes-benchmark/qperf/qperf_0.4.11.bb
@@ -9,7 +9,6 @@ inherit autotools-brokensep
9SRCREV = "c706363815a38ff2c5cbc07b73e2cfaaa59bae0f" 9SRCREV = "c706363815a38ff2c5cbc07b73e2cfaaa59bae0f"
10SRC_URI = "git://github.com/linux-rdma/qperf.git;protocol=https;branch=master" 10SRC_URI = "git://github.com/linux-rdma/qperf.git;protocol=https;branch=master"
11 11
12S = "${WORKDIR}/git"
13 12
14do_configure() { 13do_configure() {
15 ./cleanup 14 ./cleanup
diff --git a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
index 629b123042..caefdb7b6b 100644
--- a/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
+++ b/meta-oe/recipes-benchmark/s-suite/s-suite_git.bb
@@ -6,7 +6,10 @@ SRCREV = "f97f1ae321d1fb8111a2c638075702ed2512ff07"
6PV = "3.6" 6PV = "3.6"
7SRC_URI = "git://github.com/Algodev-github/S.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/Algodev-github/S.git;protocol=https;branch=master"
8 8
9S = "${WORKDIR}/git" 9# Current PV is not a git tag but a Readme content, track commits to detect
10# upstream updates
11UPSTREAM_CHECK_COMMITS = "1"
12
10 13
11# installing in /opt/S-suite since the package has 14# installing in /opt/S-suite since the package has
12# dependencies to the directory structure. 15# dependencies to the directory structure.
diff --git a/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb b/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb
index ba61ff971e..2d450094b7 100644
--- a/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb
+++ b/meta-oe/recipes-benchmark/stressapptest/stressapptest_1.0.11.bb
@@ -18,6 +18,5 @@ GI_DATA_ENABLED:libc-musl:armv7a = "False"
18GI_DATA_ENABLED:libc-musl:armv7ve = "False" 18GI_DATA_ENABLED:libc-musl:armv7ve = "False"
19SRC_URI = "git://github.com/stressapptest/stressapptest;branch=master;protocol=https" 19SRC_URI = "git://github.com/stressapptest/stressapptest;branch=master;protocol=https"
20 20
21S = "${WORKDIR}/git"
22 21
23inherit autotools 22inherit autotools
diff --git a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
index 11e33fec55..198552e5c6 100644
--- a/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
+++ b/meta-oe/recipes-benchmark/sysbench/sysbench_1.0.20.bb
@@ -13,7 +13,6 @@ inherit autotools-brokensep pkgconfig
13SRC_URI = "git://github.com/akopytov/sysbench.git;protocol=https;branch=master" 13SRC_URI = "git://github.com/akopytov/sysbench.git;protocol=https;branch=master"
14SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557" 14SRCREV = "ebf1c90da05dea94648165e4f149abc20c979557"
15 15
16S = "${WORKDIR}/git"
17 16
18COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*" 17COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64).*-linux*"
19 18
diff --git a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
index 200a0de849..8f65a6135c 100644
--- a/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
+++ b/meta-oe/recipes-benchmark/tinymembench/tinymembench_git.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/ssvb/tinymembench.git;branch=master;protocol=https \
13 file://0001-asm-Delete-.func-.endfunc-directives.patch \ 13 file://0001-asm-Delete-.func-.endfunc-directives.patch \
14 " 14 "
15 15
16S = "${WORKDIR}/git"
17 16
18TARGET_CC_ARCH += "${LDFLAGS}" 17TARGET_CC_ARCH += "${LDFLAGS}"
19 18
diff --git a/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb b/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
index 0769715f45..98914836ed 100644
--- a/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
+++ b/meta-oe/recipes-benchmark/tiobench/tiobench_0.3.3.bb
@@ -11,7 +11,6 @@ SRC_URI = "\
11 file://0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch \ 11 file://0001-Drop-inline-of-crc32-function-to-fix-build-using-GCC.patch \
12 file://0001-Specify-printf-formats.patch \ 12 file://0001-Specify-printf-formats.patch \
13" 13"
14SRC_URI[md5sum] = "bf485bf820e693c79e6bd2a38702a128"
15SRC_URI[sha256sum] = "8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc" 14SRC_URI[sha256sum] = "8ad011059a35ac70cdb5e3d3999ceee44a8e8e9078926844b0685b7ea9db2bcc"
16 15
17EXTRA_OEMAKE = "PREFIX=${D}/usr" 16EXTRA_OEMAKE = "PREFIX=${D}/usr"
diff --git a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb
index ce28fc732c..0c6661567b 100644
--- a/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb
+++ b/meta-oe/recipes-benchmark/whetstone/whetstone_1.2.bb
@@ -2,14 +2,12 @@ DESCRIPTION = "Whetstone benchmark is a synthetic benchmark for evaluating the p
2SUMMARY = "CPU benchmark to measure floating point performance" 2SUMMARY = "CPU benchmark to measure floating point performance"
3 3
4LICENSE = "PD" 4LICENSE = "PD"
5LIC_FILES_CHKSUM ="file://${UNPACKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5" 5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5"
6 6
7SRC_URI = "http://www.netlib.org/benchmark/whetstone.c" 7SRC_URI = "http://www.netlib.org/benchmark/whetstone.c"
8SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb"
9SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf" 8SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf"
10 9
11S = "${WORKDIR}/sources" 10S = "${UNPACKDIR}"
12UNPACKDIR = "${S}"
13 11
14do_compile () { 12do_compile () {
15 ${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm 13 ${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm
diff --git a/meta-oe/recipes-bsp/acpitool/acpitool_0.5.1.bb b/meta-oe/recipes-bsp/acpitool/acpitool_0.5.1.bb
index b392581ecb..2a9ba574ef 100644
--- a/meta-oe/recipes-bsp/acpitool/acpitool_0.5.1.bb
+++ b/meta-oe/recipes-bsp/acpitool/acpitool_0.5.1.bb
@@ -9,5 +9,6 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BP}.tar.
9 9
10inherit autotools 10inherit autotools
11 11
12SRC_URI[md5sum] = "9e4ec55201be0be71ffbc56d38b42b57"
13SRC_URI[sha256sum] = "004fb6cd43102918b6302cf537a2db7ceadda04aef2e0906ddf230f820dad34f" 12SRC_URI[sha256sum] = "004fb6cd43102918b6302cf537a2db7ceadda04aef2e0906ddf230f820dad34f"
13
14UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/acpitool/files/acpitool/"
diff --git a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb b/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
index 4688ae860b..ec3cdcaa75 100644
--- a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
+++ b/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
@@ -10,7 +10,6 @@ REQUIRED_DISTRO_FEATURES = "polkit"
10SRC_URI = "git://gitlab.freedesktop.org/bolt/bolt.git;protocol=https;branch=master" 10SRC_URI = "git://gitlab.freedesktop.org/bolt/bolt.git;protocol=https;branch=master"
11SRCREV = "f03c50b22ae3fda26711ddabd91e2c5dd8103478" 11SRCREV = "f03c50b22ae3fda26711ddabd91e2c5dd8103478"
12 12
13S = "${WORKDIR}/git"
14 13
15CVE_PRODUCT = "freedesktop:bolt" 14CVE_PRODUCT = "freedesktop:bolt"
16 15
@@ -18,5 +17,5 @@ inherit cmake pkgconfig meson features_check
18 17
19FILES:${PN} += "${datadir}/dbus-1/* \ 18FILES:${PN} += "${datadir}/dbus-1/* \
20 ${datadir}/polkit-1/* \ 19 ${datadir}/polkit-1/* \
21 ${libdir}/systemd/* \ 20 ${systemd_system_unitdir} \
22 " 21"
diff --git a/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb b/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
index 302a61e8a8..515c009ead 100644
--- a/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
+++ b/meta-oe/recipes-bsp/con2fbmap/con2fbmap_git.bb
@@ -13,7 +13,9 @@ SRC_URI = "git://gitlab.com/pibox/con2fbmap.git;protocol=https;branch=master \
13 file://0001-con2fbmap-Add-missing-include-on-string.h.patch \ 13 file://0001-con2fbmap-Add-missing-include-on-string.h.patch \
14 " 14 "
15 15
16S = "${WORKDIR}/git" 16# Upstream repo does not tag
17UPSTREAM_CHECK_COMMITS = "1"
18
17 19
18inherit autotools 20inherit autotools
19 21
diff --git a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb b/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
index cb62ee46af..9e23a4b67d 100644
--- a/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
+++ b/meta-oe/recipes-bsp/cpufrequtils/cpufrequtils_008.bb
@@ -14,10 +14,12 @@ SRC_URI = "git://github.com/emagii/cpufrequtils.git;branch=master;protocol=https
14 file://0001-dont-unset-cflags.patch \ 14 file://0001-dont-unset-cflags.patch \
15" 15"
16 16
17# Upstream repo does not tag
18UPSTREAM_CHECK_COMMITS = "1"
19
17EXTRA_OEMAKE:append = " ${@['', 'NLS=false']['${USE_NLS}' == 'no']} " 20EXTRA_OEMAKE:append = " ${@['', 'NLS=false']['${USE_NLS}' == 'no']} "
18 21
19 22
20S = "${WORKDIR}/git"
21 23
22TARGET_CC_ARCH += "${LDFLAGS}" 24TARGET_CC_ARCH += "${LDFLAGS}"
23 25
diff --git a/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0001-add-support-for-cross-compilation.patch b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0001-add-support-for-cross-compilation.patch
new file mode 100644
index 0000000000..fbc0f5a18e
--- /dev/null
+++ b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0001-add-support-for-cross-compilation.patch
@@ -0,0 +1,21 @@
1Author: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2Date: Fri Jul 5 16:39:13 2024 +0200
3Upstream-Status: Submitted [https://github.com/DediProgSW/SF100Linux/pull/86]
4
5 Makefile: allow overriding CC
6
7 Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
8
9diff --git a/Makefile b/Makefile
10index 139e5c0c3c3c..226303a6921e 100644
11--- a/Makefile
12+++ b/Makefile
13@@ -12,7 +12,7 @@ endif
14 endif
15
16 PROGRAM = dpcmd
17-CC = gcc
18+CC ?= gcc
19 PREFIX ?= /usr/local
20
21 PKG_CONFIG ?= pkg-config
diff --git a/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0002-Makefile-add-conditional-stripping.patch b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0002-Makefile-add-conditional-stripping.patch
new file mode 100644
index 0000000000..0fc8ac5bd2
--- /dev/null
+++ b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher/0002-Makefile-add-conditional-stripping.patch
@@ -0,0 +1,39 @@
1From dac9d0ea5c419049c9ab0a5ba90d15d77a3271b0 Mon Sep 17 00:00:00 2001
2From: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
3Date: Mon, 22 Jul 2024 13:02:59 +0000
4Subject: [PATCH] Makefile: add conditional stripping
5Upstream-Status: Submitted [https://github.com/DediProgSW/SF100Linux/pull/88]
6
7This patch introduces a `NOSTRIP` conditional flag to the `install`
8target in the Makefile. The purpose of this flag is to allow the
9disabling of binary stripping during installation. This is
10particularly useful in development environments, such as BitBake,
11which handle stripping internally.
12
13When `NOSTRIP` is set to `1`, the `strip` command will be skipped
14during the installation process, preventing potential conflicts or
15redundant operations.
16
17Signed-off-by: Tymoteusz Burak <tymoteusz.burak@3mdeb.com>
18
19---
20 Makefile | 2 ++
21 1 file changed, 2 insertions(+)
22
23diff --git a/Makefile b/Makefile
24index 139e5c0..8b33320 100644
25--- a/Makefile
26+++ b/Makefile
27@@ -58,7 +58,9 @@ install: $(PROGRAM)
28 [ $(shell id -u) -eq 0 ] || (echo "Error: install needs root privileges" && false)
29 install -v -o 0 -g 0 -m 755 -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/DediProg
30 echo -n "install: " && install -v -o 0 -g 0 -m 0755 $(PROGRAM) $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
31+ifneq ($(NOSTRIP),1)
32 strip $(DESTDIR)$(PREFIX)/bin/$(PROGRAM)
33+endif
34 install -v -o 0 -g 0 -m 755 -d $(DESTDIR)$(PREFIX)/share/DediProg
35 echo -n "install: " && install -v -o 0 -g 0 -m 0644 ChipInfoDb.dedicfg $(DESTDIR)$(PREFIX)/share/DediProg/ChipInfoDb.dedicfg
36 install -v -o 0 -g 0 -m 755 -d $(DESTDIR)/etc/udev/rules.d
37--
382.30.2
39
diff --git a/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher_1.14.20.bb b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher_1.14.20.bb
new file mode 100644
index 0000000000..e0041b58e6
--- /dev/null
+++ b/meta-oe/recipes-bsp/dediprog-flasher/dediprog-flasher_1.14.20.bb
@@ -0,0 +1,38 @@
1DESCRIPTION = "Linux software for Dediprog SF100 and SF600 SPI flash programmers"
2SECTION = "devel"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb"
5
6DEPENDS = "libusb"
7
8SRCREV = "e691f2d432144e3dbc82e9e0eea1ebaed4f3becf"
9SRC_URI = " \
10 git://github.com/DediProgSW/SF100Linux.git;protocol=https;branch=master \
11 file://0001-add-support-for-cross-compilation.patch \
12 file://0002-Makefile-add-conditional-stripping.patch \
13 "
14
15EXTRA_OEMAKE = "NOSTRIP=1 DESTDIR=${D} PREFIX=${prefix}"
16
17PV = "1.0+${SRCPV}"
18
19
20do_install() {
21 oe_runmake install
22}
23
24do_install:append:class-nativesdk() {
25 # QA override: omit packaging dediprog's udev rule under /etc/udev.
26 # The file resides outside the nativesdk ${prefix} and must not pollute the
27 # host environment.
28 rm -rf ${D}/etc
29}
30
31FILES:${PN} += " \
32 ${bindir} \
33 ${datadir}/DediProg \
34"
35
36inherit pkgconfig
37
38BBCLASSEXTEND += " native nativesdk"
diff --git a/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb b/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb
index 6c80f4c81d..0d8f3c8a6b 100644
--- a/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb
+++ b/meta-oe/recipes-bsp/edac-utils/edac-utils_git.bb
@@ -13,7 +13,6 @@ DEPENDS = " sysfsutils"
13SRCREV = "1c57818ecee186aa47af0342149577df5302c022" 13SRCREV = "1c57818ecee186aa47af0342149577df5302c022"
14PV = "0.18+git" 14PV = "0.18+git"
15 15
16S = "${WORKDIR}/git"
17 16
18SRC_URI = "git://github.com/grondo/edac-utils;branch=master;protocol=https \ 17SRC_URI = "git://github.com/grondo/edac-utils;branch=master;protocol=https \
19 file://make-init-script-be-able-to-automatically-load-EDAC-.patch \ 18 file://make-init-script-be-able-to-automatically-load-EDAC-.patch \
diff --git a/meta-oe/recipes-bsp/firmwared/firmwared_git.bb b/meta-oe/recipes-bsp/firmwared/firmwared_git.bb
index f3760a40e6..1542ee73d1 100644
--- a/meta-oe/recipes-bsp/firmwared/firmwared_git.bb
+++ b/meta-oe/recipes-bsp/firmwared/firmwared_git.bb
@@ -13,7 +13,9 @@ SRC_URI = "git://github.com/teg/firmwared.git;branch=master;protocol=https \
13PV = "0+git" 13PV = "0+git"
14SRCREV = "2e6b5db43d63a5c0283a4cae9a6a20b7ad107a04" 14SRCREV = "2e6b5db43d63a5c0283a4cae9a6a20b7ad107a04"
15 15
16S = "${WORKDIR}/git" 16# Upstream repo does not tag
17UPSTREAM_CHECK_COMMITS = "1"
18
17 19
18DEPENDS = "glib-2.0 systemd" 20DEPENDS = "glib-2.0 systemd"
19 21
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
deleted file mode 100644
index e481c5a161..0000000000
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 2c777126765b4095bf481d5cfe4a21470374d940 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 30 Mar 2021 15:12:09 -0700
4Subject: [PATCH] flashrom: Mark RISCV as non memory-mapped I/O architecture
5
6Upstream-Status: Submitted [https://review.coreboot.org/c/flashrom/+/51960]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Change-Id: I55c4e8529d36f0850dd56441c3fb8602c5d889fd
9---
10 Makefile | 2 +-
11 hwaccess.h | 4 ++++
12 2 files changed, 5 insertions(+), 1 deletion(-)
13
14diff --git a/Makefile b/Makefile
15index 6d37d55..203e04b 100644
16--- a/Makefile
17+++ b/Makefile
18@@ -559,7 +559,7 @@ endif
19 # Disable all drivers needing raw access (memory, PCI, port I/O) on
20 # architectures with unknown raw access properties.
21 # Right now those architectures are alpha hppa m68k sh s390
22-ifneq ($(ARCH),$(filter $(ARCH),x86 mips ppc arm sparc arc))
23+ifneq ($(ARCH),$(filter $(ARCH),x86 mips ppc arm sparc arc riscv))
24 ifeq ($(CONFIG_RAYER_SPI), yes)
25 UNSUPPORTED_FEATURES += CONFIG_RAYER_SPI=yes
26 else
27diff --git a/hwaccess.h b/hwaccess.h
28index 5602c15..e79988a 100644
29--- a/hwaccess.h
30+++ b/hwaccess.h
31@@ -295,6 +295,10 @@ int libpayload_wrmsr(int addr, msr_t msr);
32
33 /* Non memory mapped I/O is not supported on ARC. */
34
35+#elif IS_RISCV
36+
37+/* Non memory mapped I/O is not supported on RISCV. */
38+
39 #else
40
41 #error Unknown architecture, please check if it supports PCI port IO.
42--
432.31.1
44
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch
deleted file mode 100644
index f3316aa264..0000000000
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 3334dd4e9fc34c79c3925c3c24869939d8955f21 Mon Sep 17 00:00:00 2001
2From: Rosen Penev <rosenp@gmail.com>
3Date: Sat, 18 Jul 2020 12:16:00 -0700
4Subject: [PATCH] hwaccess: use __asm__ as is done elsewhere
5
6Fixes compilation under powerpc platform. Made the change for the SPARC
7platform as well.
8
9../hwaccess.c: In function 'sync_primitive':
10../hwaccess.c:74:2: warning: implicit declaration of function 'asm'
11 [-Wimplicit-function-declaration]
12 74 | asm("eieio" : : : "memory");
13 | ^~~
14../hwaccess.c:74:13: error: expected ')' before ':' token
15 74 | asm("eieio" : : : "memory");
16
17Upstream-Status: Submitted [https://github.com/flashrom/flashrom/pull/155]
18Signed-off-by: Rosen Penev <rosenp@gmail.com>
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20---
21 hwaccess.c | 6 +++---
22 1 file changed, 3 insertions(+), 3 deletions(-)
23
24diff --git a/hwaccess.c b/hwaccess.c
25index 48ccb34..2a39989 100644
26--- a/hwaccess.c
27+++ b/hwaccess.c
28@@ -71,18 +71,18 @@ static inline void sync_primitive(void)
29 * See also https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/memory-barriers.txt
30 */
31 #if IS_PPC // cf. http://lxr.free-electrons.com/source/arch/powerpc/include/asm/barrier.h
32- asm("eieio" : : : "memory");
33+ __asm__ ("eieio" : : : "memory");
34 #elif IS_SPARC
35 #if defined(__sparc_v9__) || defined(__sparcv9)
36 /* Sparc V9 CPUs support three different memory orderings that range from x86-like TSO to PowerPC-like
37 * RMO. The modes can be switched at runtime thus to make sure we maintain the right order of access we
38 * use the strongest hardware memory barriers that exist on Sparc V9. */
39- asm volatile ("membar #Sync" ::: "memory");
40+ __asm__ volatile ("membar #Sync" ::: "memory");
41 #elif defined(__sparc_v8__) || defined(__sparcv8)
42 /* On SPARC V8 there is no RMO just PSO and that does not apply to I/O accesses... but if V8 code is run
43 * on V9 CPUs it might apply... or not... we issue a write barrier anyway. That's the most suitable
44 * operation in the V8 instruction set anyway. If you know better then please tell us. */
45- asm volatile ("stbar");
46+ __asm__ volatile ("stbar");
47 #else
48 #error Unknown and/or unsupported SPARC instruction set version detected.
49 #endif
50--
512.32.0
52
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
new file mode 100644
index 0000000000..8dfed855b4
--- /dev/null
+++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
@@ -0,0 +1,49 @@
1From 3ea99c117aa4c7a3502c93e4e4df50b3623e46c3 Mon Sep 17 00:00:00 2001
2From: Patrick Rudolph <patrick.rudolph@9elements.com>
3Date: Tue, 15 Oct 2024 10:42:05 +0200
4Subject: [PATCH 2/2] meson: Add options pciutils, ftdi, usb
5
6The options have been dropped in favor of an array option called programmer.
7Since this doesn't integrate well into yocto add back the old options.
8
9Upstream-Status: Inappropriate Just to fix yocto build system
10
11Change-Id: Ib697b9f7cc7fc553cfdeb75ae9d49a367badd286
12Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
13---
14 meson.build | 6 +++---
15 meson_options.txt | 3 +++
16 2 files changed, 6 insertions(+), 3 deletions(-)
17
18diff --git a/meson.build b/meson.build
19index 6c8d3d3..61b794d 100644
20--- a/meson.build
21+++ b/meson.build
22@@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
23
24 cpus_port_io = [ 'x86', 'x86_64' ]
25
26-group_ftdi = get_option('programmer').contains('group_ftdi')
27-group_pci = get_option('programmer').contains('group_pci')
28-group_usb = get_option('programmer').contains('group_usb')
29+group_ftdi = get_option('programmer').contains('group_ftdi') or get_option('ftdi')
30+group_pci = get_option('programmer').contains('group_pci') or get_option('pciutils')
31+group_usb = get_option('programmer').contains('group_usb') or get_option('usb')
32 group_i2c = get_option('programmer').contains('group_i2c')
33 group_serial = get_option('programmer').contains('group_serial')
34 group_jlink = get_option('programmer').contains('group_jlink')
35diff --git a/meson_options.txt b/meson_options.txt
36index 87456a9..570b152 100644
37--- a/meson_options.txt
38+++ b/meson_options.txt
39@@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
40 option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100,
41 description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.'
42 + ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.')
43+option('pciutils', type : 'boolean', value : false, description : 'Select programmer group pci')
44+option('usb', type : 'boolean', value : false, description : 'Select programmer group usb')
45+option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi')
46 option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260')
47--
482.43.0
49
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch b/meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch
deleted file mode 100644
index e45236ee07..0000000000
--- a/meta-oe/recipes-bsp/flashrom/flashrom/meson-fixes.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1Add a ftdi option alongside USB and PCI to control the external dependency, and
2ensure that the build is successful in all combinations of options.
3
4Upstream-Status: Pending
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7diff --git a/meson.build b/meson.build
8index 375089c..0df9d69 100644
9--- a/meson.build
10+++ b/meson.build
11@@ -91,6 +91,8 @@ else
12 config_digilent_spi = false
13 config_developerbox_spi = false
14 config_pickit2_spi = false
15+ config_stlinkv3_spi = false
16+ config_usbblaster_spi = false
17 endif
18
19 # some programmers require libpci
20@@ -118,6 +120,21 @@ else
21 config_satasii = false
22 endif
23
24+# some programmers require libftdi
25+if get_option('ftdi')
26+ deps += dependency('libftdi1')
27+else
28+ config_ft2232_spi = false
29+ config_usbblaster_spi = false
30+endif
31+
32+if not (target_machine.cpu_family() == 'x86' or target_machine.cpu_family() == 'x86_64')
33+ config_satamv = false
34+ config_nic3com = false
35+ config_rayer_spi = false
36+ config_nicrealtek = false
37+endif
38+
39 # set defines for configured programmers
40 if config_atahpt
41 srcs += 'atahpt.c'
42@@ -163,7 +180,6 @@ endif
43 if config_ft2232_spi
44 srcs += 'ft2232_spi.c'
45 cargs += '-DCONFIG_FT2232_SPI=1'
46- deps += dependency('libftdi1')
47 cargs += '-DHAVE_FT232H=1'
48 endif
49 if config_gfxnvidia
50@@ -216,6 +232,7 @@ endif
51 if config_nicintel
52 srcs += 'nicintel.c'
53 cargs += '-DCONFIG_NICINTEL=1'
54+ need_raw_access = true
55 endif
56 if config_nicintel_eeprom
57 srcs += 'nicintel_eeprom.c'
58diff --git a/meson_options.txt b/meson_options.txt
59index ea87311..b6b842d 100644
60--- a/meson_options.txt
61+++ b/meson_options.txt
62@@ -1,5 +1,6 @@
63 option('pciutils', type : 'boolean', value : true, description : 'use pciutils')
64 option('usb', type : 'boolean', value : true, description : 'use libusb1')
65+option('ftdi', type : 'boolean', value : true, description : 'use libftdi')
66
67 option('config_atahpt', type : 'boolean', value : false, description : 'Highpoint (HPT) ATA/RAID controllers')
68 option('config_atapromise', type : 'boolean', value : false, description : 'Promise ATA controller')
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
index b2592d294b..f7121e2503 100644
--- a/meta-oe/recipes-bsp/flashrom/flashrom_1.2.1.bb
+++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
@@ -3,14 +3,13 @@ LICENSE = "GPL-2.0-or-later"
3HOMEPAGE = "http://flashrom.org" 3HOMEPAGE = "http://flashrom.org"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.bz2 \ 6SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \
7 file://meson-fixes.patch \ 7 file://0002-meson-Add-options-pciutils-ftdi-usb.patch \
8 file://0001-flashrom-Mark-RISCV-as-non-memory-mapped-I-O-archite.patch \
9 file://0001-hwaccess-use-__asm__-as-is-done-elsewhere.patch \
10 " 8 "
11SRC_URI[sha256sum] = "89a7ff5beb08c89b8795bbd253a51b9453547a864c31793302296b56bbc56d65"
12 9
13S = "${WORKDIR}/flashrom-v${PV}" 10SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293"
11
12S = "${UNPACKDIR}/flashrom-v${PV}"
14 13
15inherit meson pkgconfig 14inherit meson pkgconfig
16 15
@@ -18,3 +17,5 @@ PACKAGECONFIG ??= "pci usb ftdi"
18PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils" 17PACKAGECONFIG[pci] = "-Dpciutils=true,-Dpciutils=false,pciutils"
19PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb" 18PACKAGECONFIG[usb] = "-Dusb=true,-Dusb=false,libusb"
20PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi" 19PACKAGECONFIG[ftdi] = "-Dftdi=true,-Dftdi=false,libftdi"
20
21EXTRA_OEMESON = "-Dbash_completion=disabled -Dtests=disabled"
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb
index d72f2d9c53..bbf2b1fdac 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb
@@ -6,7 +6,6 @@ SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \
6 file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch" 6 file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch"
7 7
8SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962" 8SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962"
9S = "${WORKDIR}/git"
10 9
11DEPENDS = "gnu-efi python3-pefile-native" 10DEPENDS = "gnu-efi python3-pefile-native"
12 11
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
index e6c276ba4e..a098bf8eea 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
@@ -6,14 +6,15 @@ DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-na
6 6
7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 7SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
8 file://run-ptest" 8 file://run-ptest"
9SRC_URI[sha256sum] = "4e554f77a8a73383a41d5637b62e6c8a8936e66cd1d18585baf29d7fe47fc4d7" 9SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37"
10 10
11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
12 13
13# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins 14# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
14PACKAGE_ARCH = "${MACHINE_ARCH}" 15PACKAGE_ARCH = "${MACHINE_ARCH}"
15 16
16inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages useradd 17inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
17 18
18GIDOCGEN_MESON_OPTION = 'docs' 19GIDOCGEN_MESON_OPTION = 'docs'
19GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' 20GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
@@ -115,17 +116,6 @@ DISABLE_NON_X86:x86 = ""
115DISABLE_NON_X86:x86-64 = "" 116DISABLE_NON_X86:x86-64 = ""
116PACKAGECONFIG:remove = "${DISABLE_NON_X86}" 117PACKAGECONFIG:remove = "${DISABLE_NON_X86}"
117 118
118USERADD_PACKAGES = "${PN}"
119USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd"
120
121do_install:append() {
122 if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then
123 #Fix up permissions on polkit rules.d to work with rpm4 constraints
124 chmod 700 ${D}/${datadir}/polkit-1/rules.d
125 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
126 fi
127}
128
129FILES:${PN} += "${libdir}/fwupd-plugins-* \ 119FILES:${PN} += "${libdir}/fwupd-plugins-* \
130 ${libdir}/fwupd-${PV} \ 120 ${libdir}/fwupd-${PV} \
131 ${systemd_unitdir} \ 121 ${systemd_unitdir} \
@@ -140,3 +130,5 @@ FILES:${PN} += "${libdir}/fwupd-plugins-* \
140FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \ 130FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
141 ${datadir}/installed-tests/" 131 ${datadir}/installed-tests/"
142RDEPENDS:${PN}-ptest += "gnome-desktop-testing" 132RDEPENDS:${PN}-ptest += "gnome-desktop-testing"
133
134INSANE_SKIP:${PN}-ptest += "buildpaths"
diff --git a/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb b/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb
index 57057c9bf5..d3d08720a6 100644
--- a/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb
+++ b/meta-oe/recipes-bsp/i2cdev/i2cdev_git.bb
@@ -4,7 +4,7 @@ DESCRIPTION = "\
4 utility lsi2c. \ 4 utility lsi2c. \
5" 5"
6HOMEPAGE = "https://github.com/costad2/i2cdev" 6HOMEPAGE = "https://github.com/costad2/i2cdev"
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "LGPL-2.1-only & GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "\ 8LIC_FILES_CHKSUM = "\
9 file://COPYING;md5=768997ba510a952bef1775c50bc22b00 \ 9 file://COPYING;md5=768997ba510a952bef1775c50bc22b00 \
10 file://include/libi2cdev.h;beginline=12;endline=25;md5=72486a5e192d6ac5c7e55a4a95e380a6 \ 10 file://include/libi2cdev.h;beginline=12;endline=25;md5=72486a5e192d6ac5c7e55a4a95e380a6 \
@@ -21,6 +21,5 @@ SRC_URI = "\
21" 21"
22SRCREV = "ed9ad777d842880e7ac6ca5e0de4bd2d3b4d02dc" 22SRCREV = "ed9ad777d842880e7ac6ca5e0de4bd2d3b4d02dc"
23 23
24S = "${WORKDIR}/git"
25 24
26inherit autotools 25inherit autotools
diff --git a/meta-oe/recipes-bsp/irda-utils/irda-utils_0.9.18.bb b/meta-oe/recipes-bsp/irda-utils/irda-utils_0.9.18.bb
index 22bb30a504..d4d76e0e59 100644
--- a/meta-oe/recipes-bsp/irda-utils/irda-utils_0.9.18.bb
+++ b/meta-oe/recipes-bsp/irda-utils/irda-utils_0.9.18.bb
@@ -16,7 +16,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/irda/irda-utils-${PV}.tar.gz \
16 file://musl.patch \ 16 file://musl.patch \
17 file://init" 17 file://init"
18 18
19SRC_URI[md5sum] = "84dc12aa4c3f61fccb8d8919bf4079bb"
20SRC_URI[sha256sum] = "61980551e46b2eaa9e17ad31cbc1a638074611fc33bff34163d10c7a67a9fdc6" 19SRC_URI[sha256sum] = "61980551e46b2eaa9e17ad31cbc1a638074611fc33bff34163d10c7a67a9fdc6"
21 20
22inherit update-rc.d 21inherit update-rc.d
diff --git a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb b/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
index 88a6e5bb30..ff3b29406b 100644
--- a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
+++ b/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
@@ -23,7 +23,6 @@ SRCREV = "b0edae14e8660b80ffe0384354038a9f62e2978d"
23COMPATIBLE_HOST = "(i.86|x86_64).*-linux" 23COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
24COMPATIBLE_HOST:libc-musl = "null" 24COMPATIBLE_HOST:libc-musl = "null"
25 25
26S = "${WORKDIR}/git"
27 26
28EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd', '', d)}" 27EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-systemd', '', d)}"
29 28
diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors-config_1.0.bb b/meta-oe/recipes-bsp/lm_sensors/lmsensors-config_1.0.bb
index 6fad255c89..aebdd25bda 100644
--- a/meta-oe/recipes-bsp/lm_sensors/lmsensors-config_1.0.bb
+++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors-config_1.0.bb
@@ -12,8 +12,7 @@ SRC_URI = "file://fancontrol \
12 file://sensors.conf \ 12 file://sensors.conf \
13 file://sensord \ 13 file://sensord \
14" 14"
15S = "${WORKDIR}/sources" 15S = "${UNPACKDIR}"
16UNPACKDIR = "${S}"
17 16
18PACKAGECONFIG ??= "sensord" 17PACKAGECONFIG ??= "sensord"
19PACKAGECONFIG[sensord] = ",," 18PACKAGECONFIG[sensord] = ",,"
diff --git a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
index 07027225c5..af0f5a7999 100644
--- a/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
+++ b/meta-oe/recipes-bsp/lm_sensors/lmsensors_3.6.0.bb
@@ -44,20 +44,19 @@ SYSTEMD_SERVICE:${PN}-fancontrol = "fancontrol.service"
44SYSTEMD_SERVICE:${PN}-sensord = "sensord.service" 44SYSTEMD_SERVICE:${PN}-sensord = "sensord.service"
45SYSTEMD_AUTO_ENABLE = "disable" 45SYSTEMD_AUTO_ENABLE = "disable"
46 46
47S = "${WORKDIR}/git"
48 47
49EXTRA_OEMAKE = 'EXLDFLAGS="${LDFLAGS}" \ 48EXTRA_OEMAKE = 'EXLDFLAGS="${LDFLAGS}" \
50 MACHINE=${TARGET_ARCH} PREFIX=${prefix} MANDIR=${mandir} \ 49 MACHINE=${TARGET_ARCH} PREFIX=${prefix} MANDIR=${mandir} \
51 LIBDIR=${libdir} \ 50 LIBDIR=${libdir} \
52 CC="${CC}" AR="${AR}"' 51 CC="${CC}" AR="${AR}" \
52 PROG_EXTRA="sensors ${PACKAGECONFIG_CONFARGS}"'
53 53
54do_compile() { 54do_compile() {
55 sed -i -e 's:^# \(PROG_EXTRA\):\1:' ${S}/Makefile
56 # Respect LDFLAGS 55 # Respect LDFLAGS
57 sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' ${S}/Makefile 56 sed -i -e 's/\$(LIBDIR)$/\$(LIBDIR) \$(LDFLAGS)/g' ${S}/Makefile
58 sed -i -e 's/\$(LIBSHSONAME) -o/$(LIBSHSONAME) \$(LDFLAGS) -o/g' \ 57 sed -i -e 's/\$(LIBSHSONAME) -o/$(LIBSHSONAME) \$(LDFLAGS) -o/g' \
59 ${S}/lib/Module.mk 58 ${S}/lib/Module.mk
60 oe_runmake user PROG_EXTRA="sensors ${PACKAGECONFIG_CONFARGS}" 59 oe_runmake user
61} 60}
62 61
63do_install() { 62do_install() {
diff --git a/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb
new file mode 100644
index 0000000000..9df6ee9efc
--- /dev/null
+++ b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb
@@ -0,0 +1,15 @@
1SUMMARY = "The lsscsi command lists information about SCSI devices in Linux"
2HOMEPAGE = "http://sg.danny.cz/scsi/lsscsi.html"
3LICENSE = "GPL-2.0-only"
4SECTION = "base"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
7SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz"
8
9SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1"
10
11inherit autotools
12
13S = "${UNPACKDIR}/lsscsi-${PV}"
14
15UPSTREAM_CHECK_REGEX = "lsscsi-(?P<pver>\d+(\.\d+)+)\.tgz"
diff --git a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb b/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb
deleted file mode 100644
index 9d3d7d8060..0000000000
--- a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1SUMMARY = "The lsscsi command lists information about SCSI devices in Linux"
2HOMEPAGE = "http://sg.danny.cz/scsi/lsscsi.html"
3LICENSE = "GPL-2.0-only"
4SECTION = "base"
5LIC_FILES_CHKSUM="file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
7SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz"
8
9SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15"
10
11inherit autotools
12
13S = "${WORKDIR}/lsscsi-${PV}r154"
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-Use-C99-types-for-uint32_t.patch b/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-Use-C99-types-for-uint32_t.patch
deleted file mode 100644
index be1452af51..0000000000
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-nvme-Use-C99-types-for-uint32_t.patch
+++ /dev/null
@@ -1,88 +0,0 @@
1From ac2ff1dbe0b44953de636c50c7d7f8c1e9f1e458 Mon Sep 17 00:00:00 2001
2From: Sam James <sam@gentoo.org>
3Date: Sat, 4 May 2024 09:13:06 +0100
4Subject: [PATCH] nvme: Use C99 types for uint32_t
5
6<stdint.h> provides `uint32_t`, while `u_int_32` is an unofficial/internal
7typedef that glibc happens to provide. This fixes the build on musl.
8
9Bug: https://bugs.gentoo.org/931194
10
11Upstream-Status: Backport [https://github.com/linux-nvme/nvme-cli/commit/ac2ff1dbe0b44953de636c50c7d7f8c1e9f1e458]
12Signed-off-by: Sam James <sam@gentoo.org>
13---
14 nvme.c | 13 +++++++------
15 util/base64.c | 5 +++--
16 2 files changed, 10 insertions(+), 8 deletions(-)
17
18diff --git a/nvme.c b/nvme.c
19index 46a2399a..5409ddf2 100644
20--- a/nvme.c
21+++ b/nvme.c
22@@ -34,6 +34,7 @@
23 #include <inttypes.h>
24 #include <locale.h>
25 #include <stdio.h>
26+#include <stdint.h>
27 #include <stdlib.h>
28 #include <string.h>
29 #include <unistd.h>
30@@ -9081,8 +9082,8 @@ static int check_dhchap_key(int argc, char **argv, struct command *command, stru
31
32 unsigned char decoded_key[128];
33 unsigned int decoded_len;
34- u_int32_t crc = crc32(0L, NULL, 0);
35- u_int32_t key_crc;
36+ uint32_t crc = crc32(0L, NULL, 0);
37+ uint32_t key_crc;
38 int err = 0, hmac;
39 struct config {
40 char *key;
41@@ -9150,10 +9151,10 @@ static int check_dhchap_key(int argc, char **argv, struct command *command, stru
42 return -EINVAL;
43 }
44 crc = crc32(crc, decoded_key, decoded_len);
45- key_crc = ((u_int32_t)decoded_key[decoded_len]) |
46- ((u_int32_t)decoded_key[decoded_len + 1] << 8) |
47- ((u_int32_t)decoded_key[decoded_len + 2] << 16) |
48- ((u_int32_t)decoded_key[decoded_len + 3] << 24);
49+ key_crc = ((uint32_t)decoded_key[decoded_len]) |
50+ ((uint32_t)decoded_key[decoded_len + 1] << 8) |
51+ ((uint32_t)decoded_key[decoded_len + 2] << 16) |
52+ ((uint32_t)decoded_key[decoded_len + 3] << 24);
53 if (key_crc != crc) {
54 nvme_show_error("CRC mismatch (key %08x, crc %08x)", key_crc, crc);
55 return -EINVAL;
56diff --git a/util/base64.c b/util/base64.c
57index 7f47cda6..0e89f2e9 100644
58--- a/util/base64.c
59+++ b/util/base64.c
60@@ -20,6 +20,7 @@
61 * MA 02110-1301, USA.
62 */
63
64+#include <stdint.h>
65 #include <stdlib.h>
66 #include <string.h>
67 #include <errno.h>
68@@ -42,7 +43,7 @@ static const char base64_table[65] =
69 int base64_encode(const unsigned char *src, int srclen, char *dst)
70 {
71 int i, bits = 0;
72- u_int32_t ac = 0;
73+ uint32_t ac = 0;
74 char *cp = dst;
75
76 for (i = 0; i < srclen; i++) {
77@@ -77,7 +78,7 @@ int base64_encode(const unsigned char *src, int srclen, char *dst)
78 */
79 int base64_decode(const char *src, int srclen, unsigned char *dst)
80 {
81- u_int32_t ac = 0;
82+ uint32_t ac = 0;
83 int i, bits = 0;
84 unsigned char *bp = dst;
85
86--
872.45.1
88
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-plugins-ssstc-Replace-__uint16_t-with-uint16_t.patch b/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-plugins-ssstc-Replace-__uint16_t-with-uint16_t.patch
deleted file mode 100644
index 1881b18aac..0000000000
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli/0001-plugins-ssstc-Replace-__uint16_t-with-uint16_t.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 47d33d8da7a5b7310a2c2f4328115b439039e46c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 21 May 2024 14:09:32 -0700
4Subject: [PATCH] plugins/ssstc: Replace __uint16_t with uint16_t
5
6uint16_t is ISO defined and comes from stdint.h, makes it
7portable across glibc and musl on linux.
8
9Upstream-Status: Submitted [https://github.com/linux-nvme/nvme-cli/pull/2351]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 plugins/ssstc/ssstc-nvme.c | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/plugins/ssstc/ssstc-nvme.c b/plugins/ssstc/ssstc-nvme.c
16index 03e4fe3f..302df988 100644
17--- a/plugins/ssstc/ssstc-nvme.c
18+++ b/plugins/ssstc/ssstc-nvme.c
19@@ -64,9 +64,9 @@ void show_ssstc_add_smart_log_jsn(struct nvme_additional_smart_log *smart,
20 unsigned int nsid, const char *devname)
21 {
22 struct json_object *root, *entry_stats, *dev_stats, *multi;
23- __uint16_t wear_level_min = 0;
24- __uint16_t wear_level_max = 0;
25- __uint16_t wear_level_avg = 0;
26+ uint16_t wear_level_min = 0;
27+ uint16_t wear_level_max = 0;
28+ uint16_t wear_level_avg = 0;
29 uint64_t raw_val = 0;
30
31 root = json_create_object();
32--
332.45.1
34
diff --git a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb
index 9b4288ff89..eae49b04ea 100644
--- a/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.9.1.bb
+++ b/meta-oe/recipes-bsp/nvme-cli/nvme-cli_2.12.bb
@@ -6,14 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8264535c0c4e9c6c335635c4026a8022 \
6 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ 6 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
7 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" 7 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
8DEPENDS = "json-c libnvme" 8DEPENDS = "json-c libnvme"
9SRCREV = "b340fd7dcf1aef76f8d46ab28bef3c170d310887" 9SRCREV = "71fa5d9310d6b41a69e844593423ac91b1453472"
10 10
11SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https \ 11SRC_URI = "git://github.com/linux-nvme/nvme-cli.git;branch=master;protocol=https"
12 file://0001-nvme-Use-C99-types-for-uint32_t.patch \
13 file://0001-plugins-ssstc-Replace-__uint16_t-with-uint16_t.patch \
14 "
15
16S = "${WORKDIR}/git"
17 12
18inherit bash-completion meson pkgconfig systemd 13inherit bash-completion meson pkgconfig systemd
19 14
@@ -32,3 +27,8 @@ FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions"
32ALLOW_EMPTY:${PN}-user = "1" 27ALLOW_EMPTY:${PN}-user = "1"
33 28
34RDEPENDS:${PN}-user = "util-linux-uuidgen" 29RDEPENDS:${PN}-user = "util-linux-uuidgen"
30
31# This one is reproducible only on 32bit MACHINEs
32# http://errors.yoctoproject.org/Errors/Details/766964/
33# git/plugins/virtium/virtium-nvme.c:205:63: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
34CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
index 2a736716db..0bdd8042f8 100644
--- a/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
+++ b/meta-oe/recipes-bsp/pcmciautils/pcmciautils_018.bb
@@ -15,7 +15,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/pcmcia/${BP}.tar.xz \
15 file://lex_sys_types.patch \ 15 file://lex_sys_types.patch \
16" 16"
17 17
18SRC_URI[md5sum] = "885431c3cefb76ffdad8cb985134e996"
19SRC_URI[sha256sum] = "57c27be8f04ef4d535bcfa988567316cc57659fe69068327486dab53791e6558" 18SRC_URI[sha256sum] = "57c27be8f04ef4d535bcfa988567316cc57659fe69068327486dab53791e6558"
20 19
21inherit pkgconfig 20inherit pkgconfig
diff --git a/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb b/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb
index 20e870ccb2..a270a23dde 100644
--- a/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb
+++ b/meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
6SRC_URI = "file://pointercal \ 6SRC_URI = "file://pointercal \
7 file://COPYING" 7 file://COPYING"
8 8
9S = "${WORKDIR}/sources" 9S = "${UNPACKDIR}"
10UNPACKDIR = "${S}"
11 10
12do_install() { 11do_install() {
13 # Only install file if it has a contents 12 # Only install file if it has a contents
diff --git a/meta-oe/recipes-connectivity/ace/ace_6.5.19.bb b/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb
index af4f2c54bb..35252c3efc 100644
--- a/meta-oe/recipes-connectivity/ace/ace_6.5.19.bb
+++ b/meta-oe/recipes-connectivity/ace/ace_8.0.2.bb
@@ -7,23 +7,30 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d2c090e9c730fd91677782d8e2091d77"
7 7
8DEPENDS += "openssl gperf-native" 8DEPENDS += "openssl gperf-native"
9 9
10SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_19/ACE-${PV}.tar.bz2 \ 10SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-8_0_2/ACE-${PV}.tar.bz2 \
11 file://ace_config.patch \ 11 file://ace_config.patch \
12 file://no_sysctl.patch \ 12 file://no_sysctl.patch \
13 " 13 "
14SRC_URI[sha256sum] = "739be290a38229aaa5b5150e6ea55ce427e80970f0ace4c5040ac46644526f41" 14SRC_URI[sha256sum] = "dba38a905858ec4a44c04b4bbaef42b891adf061e8c0bbdaa1dce2c04fcccb7f"
15
16UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
18
19CVE_STATUS[CVE-2009-1147] = "cpe-incorrect: this CVE is for vmware ace"
15 20
16COMPATIBLE_HOST:libc-musl = "null" 21COMPATIBLE_HOST:libc-musl = "null"
17 22
18S = "${WORKDIR}/ACE_wrappers" 23S = "${UNPACKDIR}/ACE_wrappers"
19B = "${WORKDIR}/ACE_wrappers/ace" 24B = "${UNPACKDIR}/ACE_wrappers/ace"
20export ACE_ROOT="${WORKDIR}/ACE_wrappers" 25export ACE_ROOT = "${UNPACKDIR}/ACE_wrappers"
21 26
22inherit pkgconfig 27inherit pkgconfig
23 28
24CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations" 29CXXFLAGS:append = " -fpermissive -Wno-deprecated-declarations"
25CXX:append = " -std=gnu++14 -ffile-prefix-map=${WORKDIR}= -fdebug-prefix-map=${WORKDIR}= " 30CXX:append = " -ffile-prefix-map=${UNPACKDIR}= "
26EXTRA_OEMAKE += "INSTALL_LIB=${baselib}" 31export CCFLAGS = "${CXXFLAGS}"
32
33EXTRA_OEMAKE += "INSTALL_LIB=${baselib} install_rpath=0"
27 34
28do_install() { 35do_install() {
29 export D="${D}" 36 export D="${D}"
@@ -37,5 +44,3 @@ do_install() {
37 44
38 rm -r ${D}/usr/share 45 rm -r ${D}/usr/share
39} 46}
40
41UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
diff --git a/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_10.1.0.bb b/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_10.1.0.bb
new file mode 100644
index 0000000000..fc020695e3
--- /dev/null
+++ b/meta-oe/recipes-connectivity/asyncmqtt/asyncmqtt_10.1.0.bb
@@ -0,0 +1,13 @@
1SUMMARY = "MQTT communication C++ library using Boost.Asio"
2HOMEPAGE = "https://github.com/redboltz/async_mqtt"
3LICENSE = "BSL-1.0"
4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e4224ccaecb14d942c71d31bef20d78c"
6
7SRC_URI = "git://github.com/redboltz/async_mqtt;protocol=http;branch=main;protocol=https"
8SRCREV = "21046ebc4a5475c14cea446715734c88fe33d276"
9
10DEPENDS = "openssl boost"
11
12
13inherit cmake
diff --git a/meta-oe/recipes-connectivity/gammu/python3-gammu_3.2.4.bb b/meta-oe/recipes-connectivity/gammu/python3-gammu_3.2.4.bb
index 1fdb76eeb4..52a0af810f 100644
--- a/meta-oe/recipes-connectivity/gammu/python3-gammu_3.2.4.bb
+++ b/meta-oe/recipes-connectivity/gammu/python3-gammu_3.2.4.bb
@@ -1,5 +1,5 @@
1SUMMARY = "Gammu bindings for Python" 1SUMMARY = "Gammu bindings for Python"
2DESCRIPTION ="Python bindings for the Gammu library." 2DESCRIPTION = "Python bindings for the Gammu library."
3HOMEPAGE = "https://wammu.eu/python-gammu/" 3HOMEPAGE = "https://wammu.eu/python-gammu/"
4BUGRACKER = "https://github.com/gammu/python-gammu/issues" 4BUGRACKER = "https://github.com/gammu/python-gammu/issues"
5LICENSE = "GPL-2.0-or-later" 5LICENSE = "GPL-2.0-or-later"
@@ -12,7 +12,7 @@ inherit pypi setuptools3 pkgconfig
12SRC_URI += "file://0001-setup.py-StrictVersion-packaging.version.patch" 12SRC_URI += "file://0001-setup.py-StrictVersion-packaging.version.patch"
13SRC_URI[sha256sum] = "49fc70f01bc192c43ff3ec815e082df5261ea4c8d36a695e977734c4eb4df868" 13SRC_URI[sha256sum] = "49fc70f01bc192c43ff3ec815e082df5261ea4c8d36a695e977734c4eb4df868"
14 14
15S = "${WORKDIR}/python-gammu-${PV}" 15S = "${UNPACKDIR}/python-gammu-${PV}"
16 16
17DEPENDS += "gammu python3-packaging-native" 17DEPENDS += "gammu python3-packaging-native"
18 18
diff --git a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
index 7ad28d594d..06f0b5bf0a 100644
--- a/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
+++ b/meta-oe/recipes-connectivity/gattlib/gattlib_git.bb
@@ -15,7 +15,8 @@ SRC_URI = "git://github.com/labapart/gattlib.git;branch=master;protocol=https \
15SRCBRANCH = "master" 15SRCBRANCH = "master"
16SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3" 16SRCREV = "33a8a275928b186381bb0aea0f9778e330e57ec3"
17 17
18S = "${WORKDIR}/git" 18
19CVE_STATUS[CVE-2019-6498] = "fixed-version: patch is already included in sources"
19 20
20PACKAGECONFIG[examples] = "-DGATTLIB_BUILD_EXAMPLES=ON,-DGATTLIB_BUILD_EXAMPLES=OFF" 21PACKAGECONFIG[examples] = "-DGATTLIB_BUILD_EXAMPLES=ON,-DGATTLIB_BUILD_EXAMPLES=OFF"
21 22
diff --git a/meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb b/meta-oe/recipes-connectivity/gensio/gensio_2.8.7.bb
index 1f85c46e2f..9325b1e5dc 100644
--- a/meta-oe/recipes-connectivity/gensio/gensio_2.8.4.bb
+++ b/meta-oe/recipes-connectivity/gensio/gensio_2.8.7.bb
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
5 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 5 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 " 6 "
7 7
8SRCREV = "300644fc02b7099ca27ca5bac88c47e159ba8a6b" 8SRCREV = "e4dbb9687bd5e887fa98a4cdcec012ea85da1ef2"
9 9
10SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master" 10SRC_URI = "git://github.com/cminyard/gensio;protocol=https;branch=master"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools 13inherit autotools
15 14
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd/defconfig b/meta-oe/recipes-connectivity/hostapd/hostapd/defconfig
index a62bec4034..7f8e0b9eaa 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd/defconfig
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd/defconfig
@@ -142,6 +142,9 @@ CONFIG_IEEE80211N=y
142# IEEE 802.11ac (Very High Throughput) support 142# IEEE 802.11ac (Very High Throughput) support
143CONFIG_IEEE80211AC=y 143CONFIG_IEEE80211AC=y
144 144
145# Simultaneous Authentication of Equals (SAE), WPA3-Personal
146CONFIG_SAE=y
147
145# Remove debugging code that is printing out debug messages to stdout. 148# Remove debugging code that is printing out debug messages to stdout.
146# This can be used to reduce the size of the hostapd considerably if debugging 149# This can be used to reduce the size of the hostapd considerably if debugging
147# code is not needed. 150# code is not needed.
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
index 44683bf735..693afe6c53 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.10.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.11.bb
@@ -2,7 +2,7 @@ SUMMARY = "User space daemon for extended IEEE 802.11 management"
2HOMEPAGE = "http://w1.fi/hostapd/" 2HOMEPAGE = "http://w1.fi/hostapd/"
3SECTION = "kernel/userland" 3SECTION = "kernel/userland"
4LICENSE = "BSD-3-Clause" 4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://hostapd/README;beginline=5;endline=47;md5=aa03b8bd6216d1a7ca01fd4b89863073" 5LIC_FILES_CHKSUM = "file://hostapd/README;beginline=5;endline=47;md5=8e2c69e491b28390f9de0df1f64ebd6d"
6 6
7DEPENDS = "libnl openssl" 7DEPENDS = "libnl openssl"
8 8
@@ -14,7 +14,7 @@ SRC_URI = " \
14" 14"
15 15
16 16
17SRC_URI[sha256sum] = "206e7c799b678572c2e3d12030238784bc4a9f82323b0156b4c9466f1498915d" 17SRC_URI[sha256sum] = "2b3facb632fd4f65e32f4bf82a76b4b72c501f995a4f62e330219fe7aed1747a"
18 18
19inherit update-rc.d systemd pkgconfig features_check 19inherit update-rc.d systemd pkgconfig features_check
20 20
diff --git a/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb b/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
index 62651bc308..14104ffcce 100644
--- a/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
+++ b/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
@@ -12,7 +12,6 @@ SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \
12 12
13SRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch" 13SRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch"
14 14
15SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
16SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0" 15SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"
17 16
18inherit autotools update-rc.d pkgconfig 17inherit autotools update-rc.d pkgconfig
diff --git a/meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb b/meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb
index 5b5af30607..95dba3a409 100644
--- a/meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb
+++ b/meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb
@@ -9,6 +9,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz
9SRC_URI[sha256sum] = "72a951cb0ad622785a8962801f005a3a412736c7e7e3ce152f176287c52fe062" 9SRC_URI[sha256sum] = "72a951cb0ad622785a8962801f005a3a412736c7e7e3ce152f176287c52fe062"
10 10
11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 11UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
12 13
13inherit autotools pkgconfig 14inherit autotools pkgconfig
14 15
diff --git a/meta-oe/recipes-connectivity/iwd/iwd/iwd b/meta-oe/recipes-connectivity/iwd/iwd/iwd
new file mode 100644
index 0000000000..89fc75c9ab
--- /dev/null
+++ b/meta-oe/recipes-connectivity/iwd/iwd/iwd
@@ -0,0 +1,42 @@
1#!/bin/sh
2
3DAEMON=/usr/libexec/iwd
4PIDFILE=/var/run/iwd.pid
5DESC="iNet wireless daemon"
6
7if [ -f /etc/default/iwd ] ; then
8 . /etc/default/iwd
9fi
10
11set -e
12
13do_start() {
14 start-stop-daemon --start --background --name iwd --quiet --exec $DAEMON
15}
16
17do_stop() {
18 start-stop-daemon --stop --oknodo --name iwd --quiet
19}
20
21case "$1" in
22 start)
23 echo "Starting $DESC"
24 do_start
25 ;;
26 stop)
27 echo "Stopping $DESC"
28 do_stop
29 ;;
30 restart|force-reload)
31 echo "Restarting $DESC"
32 do_stop
33 sleep 1
34 do_start
35 ;;
36 *)
37 echo "Usage: $0 {start|stop|restart|force-reload}" >&2
38 exit 1
39 ;;
40esac
41
42exit 0 \ No newline at end of file
diff --git a/meta-oe/recipes-connectivity/iwd/iwd_2.18.bb b/meta-oe/recipes-connectivity/iwd/iwd_3.8.bb
index 4d993031d3..80e36054bd 100644
--- a/meta-oe/recipes-connectivity/iwd/iwd_2.18.bb
+++ b/meta-oe/recipes-connectivity/iwd/iwd_3.8.bb
@@ -3,14 +3,15 @@ HOMEPAGE = "https://iwd.wiki.kernel.org/"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09" 4LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
5 5
6DEPENDS = "ell" 6DEPENDS = "dbus"
7 7
8SRC_URI = "https://www.kernel.org/pub/linux/network/wireless/${BP}.tar.xz \ 8SRC_URI = "https://www.kernel.org/pub/linux/network/wireless/${BP}.tar.xz \
9 file://0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch \ 9 file://0001-build-Use-abs_top_srcdir-instead-of-abs_srcdir-for-e.patch \
10 file://iwd \
10 " 11 "
11SRC_URI[sha256sum] = "100d029171d161411f6cd8e1f95708e3a4351fb19e6847ba04819377b5fed13e" 12SRC_URI[sha256sum] = "c556a5a5376270af68940e04e26765026fbbbe4941668317c274c91042611cdf"
12 13
13inherit autotools manpages pkgconfig python3native systemd 14inherit autotools manpages pkgconfig python3native systemd update-rc.d
14 15
15PACKAGECONFIG ??= " \ 16PACKAGECONFIG ??= " \
16 client \ 17 client \
@@ -24,7 +25,8 @@ PACKAGECONFIG[wired] = "--enable-wired,--disable-wired"
24PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono" 25PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono"
25PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd" 26PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd"
26 27
27EXTRA_OECONF = "--enable-external-ell" 28INITSCRIPT_NAME = "iwd"
29INITSCRIPT_PARAMS = "start 04 5 2 3 . stop 23 0 1 6 ."
28 30
29SYSTEMD_SERVICE:${PN} = " \ 31SYSTEMD_SERVICE:${PN} = " \
30 iwd.service \ 32 iwd.service \
@@ -38,6 +40,11 @@ do_configure:prepend() {
38do_install:append() { 40do_install:append() {
39 # If client and monitor are disabled, bindir is empty, causing a QA error 41 # If client and monitor are disabled, bindir is empty, causing a QA error
40 rmdir --ignore-fail-on-non-empty ${D}/${bindir} 42 rmdir --ignore-fail-on-non-empty ${D}/${bindir}
43
44 if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
45 install -d ${D}${sysconfdir}/init.d
46 install -m 0755 ${UNPACKDIR}/iwd ${D}${sysconfdir}/init.d/iwd
47 fi
41} 48}
42 49
43FILES:${PN} += " \ 50FILES:${PN} += " \
@@ -46,7 +53,7 @@ FILES:${PN} += " \
46 ${systemd_unitdir}/network \ 53 ${systemd_unitdir}/network \
47" 54"
48 55
49RDEPENDS:${PN} = "dbus" 56RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_dbus}"
50 57
51RRECOMMENDS:${PN} = "\ 58RRECOMMENDS:${PN} = "\
52 kernel-module-pkcs7-message \ 59 kernel-module-pkcs7-message \
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-Eliminate-old-style-function-declarations.patch b/meta-oe/recipes-connectivity/krb5/krb5/0001-Eliminate-old-style-function-declarations.patch
new file mode 100644
index 0000000000..3f90ccc56f
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-Eliminate-old-style-function-declarations.patch
@@ -0,0 +1,10803 @@
1From adf3daca40e5fb2a8c08fd36a5006e70fef4de0d Mon Sep 17 00:00:00 2001
2From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
3Date: Fri, 9 Jun 2023 23:53:53 -0400
4Subject: [PATCH] Eliminate old-style function declarations
5
6The C2x standard removes support for non-prototype function
7declarations, and clang 15 issues warnings for them
8(https://reviews.llvm.org/D122895). Add -Werror=strict-prototypes to
9the build and fix all of the non-prototype declarations and
10definitions.
11
12For RPC code, try to be consistent with libtirpc and recent *BSD
13versions of rpcgen. This includes casting each time a concrete
14function is used as an xdrproc_t value, since each XDR per-type
15function accepts a different object pointer type. A few invocations
16of xdrproc_t values pass a third argument with value LASTUNSIGNED,
17even though XDR per-type functions accept only two parameters.
18libtirpc has removed these third arguments; do so here as well.
19
20[ghudson@mit.edu: added -Werror=strict-prototypes and fixed
21declarations it breaks under gcc and clang; added xdrproc_t changes;
22rewrote commit message; style changes]
23
24Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
25Upstream-Status: Backport [https://github.com/krb5/krb5/commit/4b9d7f7c107f01a61600fddcd8cde3812d0366a2]
26
27---
28 src/aclocal.m4 | 2 +-
29 src/appl/gss-sample/gss-client.c | 29 +---
30 src/appl/gss-sample/gss-misc.c | 26 +--
31 src/appl/gss-sample/gss-server.c | 2 +-
32 src/appl/user_user/server.c | 5 +-
33 src/clients/kdestroy/kdestroy.c | 2 +-
34 src/clients/kinit/kinit.c | 4 +-
35 src/clients/klist/klist.c | 2 +-
36 src/clients/ksu/authorization.c | 95 ++++------
37 src/clients/ksu/ccache.c | 108 ++++--------
38 src/clients/ksu/heuristic.c | 94 ++++------
39 src/clients/ksu/krb_auth_su.c | 49 ++----
40 src/clients/ksu/main.c | 40 ++---
41 src/clients/kvno/kvno.c | 2 +-
42 src/include/gssrpc/auth_gssapi.h | 10 +-
43 src/include/gssrpc/xdr.h | 3 +-
44 src/include/k5-int.h | 2 +-
45 src/include/k5-plugin.h | 2 +-
46 src/include/net-server.h | 6 +-
47 src/kadmin/cli/getdate.y | 3 -
48 src/kadmin/cli/kadmin.c | 6 +-
49 src/kadmin/cli/keytab.c | 4 +-
50 src/kadmin/dbutil/kdb5_create.c | 16 +-
51 src/kadmin/dbutil/kdb5_destroy.c | 4 +-
52 src/kadmin/dbutil/kdb5_stash.c | 4 +-
53 src/kadmin/dbutil/kdb5_util.c | 24 +--
54 src/kadmin/dbutil/ovload.c | 14 +-
55 src/kadmin/dbutil/strtok.c | 4 +-
56 src/kadmin/ktutil/ktutil.c | 45 ++---
57 src/kadmin/ktutil/ktutil_funcs.c | 37 ++--
58 src/kadmin/server/ipropd_svc.c | 24 +--
59 src/kadmin/server/kadm_rpc_svc.c | 162 +++++++++---------
60 src/kadmin/server/ovsec_kadmd.c | 4 +-
61 src/kdc/t_ndr.c | 2 +-
62 src/kdc/t_replay.c | 6 +-
63 src/kprop/kpropd.c | 2 +-
64 src/kprop/kproplog.c | 4 +-
65 src/lib/apputils/net-server.c | 7 +-
66 src/lib/crypto/builtin/aes/aes-gen.c | 18 +-
67 .../crypto/builtin/camellia/camellia-gen.c | 18 +-
68 src/lib/crypto/builtin/des/des_int.h | 3 -
69 src/lib/crypto/builtin/des/destest.c | 21 +--
70 src/lib/crypto/builtin/des/t_verify.c | 15 +-
71 src/lib/crypto/builtin/sha1/t_shs.c | 7 +-
72 src/lib/crypto/builtin/sha1/t_shs3.c | 7 +-
73 src/lib/crypto/crypto_tests/aes-test.c | 8 +-
74 src/lib/crypto/crypto_tests/camellia-test.c | 8 +-
75 src/lib/crypto/crypto_tests/t_cf2.c | 4 +-
76 src/lib/crypto/crypto_tests/t_cts.c | 2 +-
77 src/lib/crypto/crypto_tests/t_encrypt.c | 2 +-
78 src/lib/crypto/crypto_tests/t_fork.c | 2 +-
79 src/lib/crypto/crypto_tests/t_hmac.c | 3 +-
80 src/lib/crypto/crypto_tests/t_mddriver.c | 25 ++-
81 src/lib/crypto/crypto_tests/t_nfold.c | 16 +-
82 src/lib/crypto/crypto_tests/t_prf.c | 2 +-
83 src/lib/crypto/crypto_tests/t_sha2.c | 2 +-
84 src/lib/gssapi/generic/t_seqstate.c | 2 +-
85 src/lib/gssapi/krb5/accept_sec_context.c | 76 +++-----
86 src/lib/gssapi/krb5/compare_name.c | 7 +-
87 src/lib/gssapi/krb5/context_time.c | 6 +-
88 src/lib/gssapi/krb5/delete_sec_context.c | 7 +-
89 src/lib/gssapi/krb5/disp_name.c | 9 +-
90 src/lib/gssapi/krb5/disp_status.c | 11 +-
91 src/lib/gssapi/krb5/export_sec_context.c | 7 +-
92 src/lib/gssapi/krb5/gssapi_krb5.c | 4 +-
93 src/lib/gssapi/krb5/import_name.c | 8 +-
94 src/lib/gssapi/krb5/import_sec_context.c | 10 +-
95 src/lib/gssapi/krb5/indicate_mechs.c | 4 +-
96 src/lib/gssapi/krb5/init_sec_context.c | 55 ++----
97 src/lib/gssapi/krb5/inq_context.c | 17 +-
98 src/lib/gssapi/krb5/inq_cred.c | 26 +--
99 src/lib/gssapi/krb5/inq_names.c | 6 +-
100 src/lib/gssapi/krb5/k5seal.c | 38 ++--
101 src/lib/gssapi/krb5/k5unseal.c | 51 ++----
102 src/lib/gssapi/krb5/process_context_token.c | 8 +-
103 src/lib/gssapi/krb5/rel_cred.c | 4 +-
104 src/lib/gssapi/krb5/rel_name.c | 4 +-
105 src/lib/gssapi/krb5/rel_oid.c | 8 +-
106 src/lib/gssapi/krb5/ser_sctx.c | 16 +-
107 src/lib/gssapi/krb5/util_cksum.c | 6 +-
108 src/lib/gssapi/krb5/util_seed.c | 5 +-
109 src/lib/gssapi/krb5/util_seqnum.c | 19 +-
110 src/lib/gssapi/krb5/val_cred.c | 4 +-
111 src/lib/gssapi/krb5/wrap_size_limit.c | 11 +-
112 .../gssapi/mechglue/g_accept_sec_context.c | 31 +---
113 src/lib/gssapi/mechglue/g_acquire_cred.c | 95 +++-------
114 .../gssapi/mechglue/g_acquire_cred_with_pw.c | 56 ++----
115 src/lib/gssapi/mechglue/g_canon_name.c | 10 +-
116 src/lib/gssapi/mechglue/g_compare_name.c | 12 +-
117 src/lib/gssapi/mechglue/g_context_time.c | 10 +-
118 .../gssapi/mechglue/g_delete_sec_context.c | 10 +-
119 src/lib/gssapi/mechglue/g_dsp_name.c | 12 +-
120 src/lib/gssapi/mechglue/g_dsp_status.c | 22 +--
121 src/lib/gssapi/mechglue/g_dup_name.c | 8 +-
122 src/lib/gssapi/mechglue/g_exp_sec_context.c | 10 +-
123 src/lib/gssapi/mechglue/g_export_name.c | 8 +-
124 src/lib/gssapi/mechglue/g_glue.c | 75 +++-----
125 src/lib/gssapi/mechglue/g_imp_name.c | 18 +-
126 src/lib/gssapi/mechglue/g_imp_sec_context.c | 11 +-
127 src/lib/gssapi/mechglue/g_init_sec_context.c | 37 +---
128 src/lib/gssapi/mechglue/g_initialize.c | 22 +--
129 src/lib/gssapi/mechglue/g_inq_cred.c | 31 +---
130 src/lib/gssapi/mechglue/g_inq_names.c | 8 +-
131 src/lib/gssapi/mechglue/g_mechname.c | 14 +-
132 src/lib/gssapi/mechglue/g_oid_ops.c | 27 +--
133 src/lib/gssapi/mechglue/g_process_context.c | 10 +-
134 src/lib/gssapi/mechglue/g_rel_buffer.c | 6 +-
135 src/lib/gssapi/mechglue/g_rel_cred.c | 7 +-
136 src/lib/gssapi/mechglue/g_rel_name.c | 7 +-
137 src/lib/gssapi/mechglue/g_rel_oid_set.c | 6 +-
138 src/lib/gssapi/mechglue/g_sign.c | 29 +---
139 src/lib/gssapi/mechglue/g_store_cred.c | 48 ++----
140 src/lib/gssapi/mechglue/g_unseal.c | 35 +---
141 src/lib/gssapi/mechglue/g_unwrap_aead.c | 19 +-
142 src/lib/gssapi/mechglue/g_unwrap_iov.c | 15 +-
143 src/lib/gssapi/mechglue/g_verify.c | 30 +---
144 src/lib/gssapi/mechglue/g_wrap_aead.c | 39 ++---
145 src/lib/gssapi/mechglue/g_wrap_iov.c | 43 +----
146 src/lib/kadm5/clnt/client_rpc.c | 1 +
147 src/lib/kadm5/kadm_rpc.h | 45 -----
148 src/lib/kadm5/kadm_rpc_xdr.c | 37 ++--
149 src/lib/kadm5/misc_free.c | 5 +-
150 src/lib/kadm5/srv/adb_xdr.c | 6 +-
151 src/lib/kadm5/srv/svr_principal.c | 12 +-
152 src/lib/kadm5/str_conv.c | 18 +-
153 src/lib/kadm5/t_kadm5.c | 22 +--
154 src/lib/kdb/kdb5.c | 8 +-
155 src/lib/kdb/kdb_cpw.c | 32 +---
156 src/lib/kdb/keytab.c | 19 +-
157 src/lib/kdb/t_stringattr.c | 2 +-
158 src/lib/krad/packet.c | 2 +-
159 src/lib/krad/t_attr.c | 2 +-
160 src/lib/krad/t_attrset.c | 2 +-
161 src/lib/krad/t_code.c | 2 +-
162 src/lib/krb5/ccache/cc_keyring.c | 2 +-
163 src/lib/krb5/krb/plugin.c | 2 +-
164 src/lib/krb5/krb/t_authdata.c | 2 +-
165 src/lib/krb5/krb/t_response_items.c | 2 +-
166 src/lib/krb5/krb/t_ser.c | 8 +-
167 src/lib/krb5/krb/t_sname_match.c | 2 +-
168 src/lib/krb5/krb/t_valid_times.c | 2 +-
169 src/lib/krb5/rcache/t_memrcache.c | 2 +-
170 src/lib/rpc/auth_gss.c | 4 +-
171 src/lib/rpc/auth_gssapi.c | 14 +-
172 src/lib/rpc/auth_gssapi_misc.c | 4 +-
173 src/lib/rpc/authunix_prot.c | 3 +-
174 src/lib/rpc/clnt_perror.c | 1 -
175 src/lib/rpc/clnt_raw.c | 2 +-
176 src/lib/rpc/dyn.c | 85 ++++-----
177 src/lib/rpc/pmap_clnt.c | 9 +-
178 src/lib/rpc/pmap_getmaps.c | 5 +-
179 src/lib/rpc/pmap_getport.c | 6 +-
180 src/lib/rpc/pmap_prot2.c | 3 +-
181 src/lib/rpc/pmap_rmt.c | 7 +-
182 src/lib/rpc/rpc_prot.c | 4 +-
183 src/lib/rpc/svc.c | 4 +-
184 src/lib/rpc/svc_auth_gss.c | 10 +-
185 src/lib/rpc/svc_auth_gssapi.c | 28 +--
186 src/lib/rpc/svc_simple.c | 4 +-
187 src/lib/rpc/unit-test/client.c | 18 +-
188 src/lib/rpc/unit-test/rpc_test_clnt.c | 4 +-
189 src/lib/rpc/unit-test/rpc_test_svc.c | 16 +-
190 src/lib/rpc/unit-test/server.c | 2 +-
191 src/lib/rpc/xdr.c | 4 +-
192 src/lib/rpc/xdr_array.c | 4 +-
193 src/lib/rpc/xdr_rec.c | 13 +-
194 src/lib/rpc/xdr_reference.c | 4 +-
195 src/lib/rpc/xdr_sizeof.c | 29 +---
196 src/plugins/kdb/db2/db2_exp.c | 4 +-
197 src/plugins/kdb/db2/libdb2/btree/bt_close.c | 10 +-
198 src/plugins/kdb/db2/libdb2/btree/bt_conv.c | 13 +-
199 src/plugins/kdb/db2/libdb2/btree/bt_delete.c | 34 +---
200 src/plugins/kdb/db2/libdb2/btree/bt_get.c | 6 +-
201 src/plugins/kdb/db2/libdb2/btree/bt_open.c | 12 +-
202 .../kdb/db2/libdb2/btree/bt_overflow.c | 16 +-
203 src/plugins/kdb/db2/libdb2/btree/bt_page.c | 8 +-
204 src/plugins/kdb/db2/libdb2/btree/bt_put.c | 11 +-
205 src/plugins/kdb/db2/libdb2/btree/bt_search.c | 17 +-
206 src/plugins/kdb/db2/libdb2/btree/bt_seq.c | 27 +--
207 src/plugins/kdb/db2/libdb2/btree/bt_split.c | 42 +----
208 src/plugins/kdb/db2/libdb2/btree/bt_utils.c | 18 +-
209 src/plugins/kdb/db2/libdb2/db/db.c | 26 ++-
210 src/plugins/kdb/db2/libdb2/hash/dbm.c | 50 ++----
211 src/plugins/kdb/db2/libdb2/hash/hash.c | 94 +++-------
212 src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c | 35 +---
213 src/plugins/kdb/db2/libdb2/hash/hash_func.c | 16 +-
214 src/plugins/kdb/db2/libdb2/hash/hash_log2.c | 3 +-
215 src/plugins/kdb/db2/libdb2/hash/hash_page.c | 121 ++++---------
216 src/plugins/kdb/db2/libdb2/hash/hsearch.c | 9 +-
217 src/plugins/kdb/db2/libdb2/mpool/mpool.c | 54 ++----
218 src/plugins/kdb/db2/libdb2/recno/rec_close.c | 7 +-
219 src/plugins/kdb/db2/libdb2/recno/rec_delete.c | 14 +-
220 src/plugins/kdb/db2/libdb2/recno/rec_get.c | 22 +--
221 src/plugins/kdb/db2/libdb2/recno/rec_open.c | 9 +-
222 src/plugins/kdb/db2/libdb2/recno/rec_put.c | 12 +-
223 src/plugins/kdb/db2/libdb2/recno/rec_search.c | 5 +-
224 src/plugins/kdb/db2/libdb2/recno/rec_seq.c | 5 +-
225 src/plugins/kdb/db2/libdb2/recno/rec_utils.c | 6 +-
226 src/plugins/kdb/db2/libdb2/test/dbtest.c | 59 ++-----
227 src/plugins/kdb/db2/pol_xdr.c | 2 +-
228 .../kdb/ldap/ldap_util/kdb5_ldap_util.c | 4 +-
229 src/plugins/kdb/lmdb/kdb_lmdb.c | 4 +-
230 src/plugins/kdb/test/kdb_test.c | 4 +-
231 .../preauth/pkinit/pkinit_crypto_openssl.c | 4 +-
232 src/plugins/preauth/spake/t_vectors.c | 2 +-
233 src/tests/asn.1/krb5_decode_test.c | 5 +-
234 src/tests/asn.1/krb5_encode_test.c | 13 +-
235 src/tests/asn.1/t_trval.c | 14 +-
236 src/tests/asn.1/trval.c | 73 +++-----
237 src/tests/conccache.c | 4 +-
238 src/tests/create/kdb5_mkdums.c | 16 +-
239 src/tests/forward.c | 2 +-
240 src/tests/gss-threads/gss-client.c | 4 +-
241 src/tests/gss-threads/gss-server.c | 2 +-
242 src/tests/gssapi/reload.c | 2 +-
243 src/tests/gssapi/t_add_cred.c | 2 +-
244 src/tests/gssapi/t_enctypes.c | 2 +-
245 src/tests/gssapi/t_invalid.c | 2 +-
246 src/tests/gssapi/t_oid.c | 2 +-
247 src/tests/gssapi/t_spnego.c | 2 +-
248 src/tests/hammer/kdc5_hammer.c | 36 ++--
249 src/tests/kdbtest.c | 2 +-
250 src/tests/misc/test_getpw.c | 2 +-
251 src/tests/plugorder.c | 2 +-
252 src/tests/shlib/t_loader.c | 2 +-
253 src/tests/softpkcs11/main.c | 2 +-
254 src/tests/t_inetd.c | 7 +-
255 src/tests/test1.c | 4 +-
256 src/tests/verify/kdb5_verify.c | 17 +-
257 src/util/et/error_message.c | 2 +-
258 src/util/et/test_et.c | 3 +-
259 src/util/profile/prof_init.c | 2 +-
260 src/util/profile/t_profile.c | 22 +--
261 src/util/profile/test_load.c | 2 +-
262 src/util/profile/test_parse.c | 5 +-
263 src/util/profile/test_profile.c | 10 +-
264 src/util/profile/test_vtable.c | 3 +-
265 src/util/ss/error.c | 13 +-
266 src/util/ss/execute_cmd.c | 23 +--
267 src/util/ss/help.c | 115 ++++++-------
268 src/util/ss/invocation.c | 13 +-
269 src/util/ss/list_rqs.c | 11 +-
270 src/util/ss/listen.c | 32 ++--
271 src/util/ss/pager.c | 10 +-
272 src/util/ss/parse.c | 6 +-
273 src/util/ss/prompt.c | 7 +-
274 src/util/ss/request_tbl.c | 11 +-
275 src/util/ss/requests.c | 2 +-
276 src/util/ss/ss.h | 1 -
277 src/util/ss/ss_internal.h | 3 +-
278 src/util/support/plugins.c | 10 +-
279 src/util/support/t_hashtab.c | 6 +-
280 src/util/support/t_hex.c | 3 +-
281 src/util/support/t_json.c | 2 +-
282 src/util/support/t_k5buf.c | 16 +-
283 src/util/support/t_unal.c | 3 +-
284 256 files changed, 1387 insertions(+), 2745 deletions(-)
285
286diff --git a/src/aclocal.m4 b/src/aclocal.m4
287index 3d66a87..6457cdc 100644
288--- a/src/aclocal.m4
289+++ b/src/aclocal.m4
290@@ -545,7 +545,7 @@ if test "$GCC" = yes ; then
291 TRY_WARN_CC_FLAG(-Wno-format-zero-length)
292 # Other flags here may not be supported on some versions of
293 # gcc that people want to use.
294- for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized no-maybe-uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int ; do
295+ for flag in overflow strict-overflow missing-format-attribute missing-prototypes return-type missing-braces parentheses switch unused-function unused-label unused-variable unused-value unknown-pragmas sign-compare newline-eof error=uninitialized no-maybe-uninitialized error=pointer-arith error=int-conversion error=incompatible-pointer-types error=discarded-qualifiers error=implicit-int error=strict-prototypes; do
296 TRY_WARN_CC_FLAG(-W$flag)
297 done
298 # old-style-definition? generates many, many warnings
299diff --git a/src/appl/gss-sample/gss-client.c b/src/appl/gss-sample/gss-client.c
300index 6e2aa33..0722ae1 100644
301--- a/src/appl/gss-sample/gss-client.c
302+++ b/src/appl/gss-sample/gss-client.c
303@@ -75,7 +75,7 @@ static gss_OID_desc gss_spnego_mechanism_oid_desc =
304 {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
305
306 static void
307-usage()
308+usage(void)
309 {
310 fprintf(stderr, "Usage: gss-client [-port port] [-mech mechanism] "
311 "[-spnego] [-d]\n");
312@@ -359,9 +359,7 @@ client_establish_context(int s, char *service_name, OM_uint32 gss_flags,
313 }
314
315 static void
316-read_file(file_name, in_buf)
317- char *file_name;
318- gss_buffer_t in_buf;
319+read_file(char *file_name, gss_buffer_t in_buf)
320 {
321 int fd, count;
322 struct stat stat_buf;
323@@ -431,21 +429,10 @@ read_file(file_name, in_buf)
324 * verifies it with gss_verify. -1 is returned if any step fails,
325 * otherwise 0 is returned. */
326 static int
327-call_server(host, port, oid, service_name, gss_flags, auth_flag,
328- wrap_flag, encrypt_flag, mic_flag, v1_format, msg, use_file,
329- mcount, username, password)
330- char *host;
331- u_short port;
332- gss_OID oid;
333- char *service_name;
334- OM_uint32 gss_flags;
335- int auth_flag, wrap_flag, encrypt_flag, mic_flag;
336- int v1_format;
337- char *msg;
338- int use_file;
339- int mcount;
340- char *username;
341- char *password;
342+call_server(char *host, u_short port, gss_OID oid, char *service_name,
343+ OM_uint32 gss_flags, int auth_flag, int wrap_flag,
344+ int encrypt_flag, int mic_flag, int v1_format, char *msg,
345+ int use_file, int mcount, char *username, char *password)
346 {
347 gss_ctx_id_t context = GSS_C_NO_CONTEXT;
348 gss_buffer_desc in_buf, out_buf;
349@@ -774,9 +761,7 @@ worker_bee(void *unused)
350 }
351
352 int
353-main(argc, argv)
354- int argc;
355- char **argv;
356+main(int argc, char **argv)
357 {
358 int i;
359
360diff --git a/src/appl/gss-sample/gss-misc.c b/src/appl/gss-sample/gss-misc.c
361index 1d051ed..7eb4c79 100644
362--- a/src/appl/gss-sample/gss-misc.c
363+++ b/src/appl/gss-sample/gss-misc.c
364@@ -157,10 +157,7 @@ read_all(int fildes, void *data, unsigned int nbyte)
365 * if an error occurs or if it could not write all the data.
366 */
367 int
368-send_token(s, flags, tok)
369- int s;
370- int flags;
371- gss_buffer_t tok;
372+send_token(int s, int flags, gss_buffer_t tok)
373 {
374 int ret;
375 unsigned char char_flags = (unsigned char) flags;
376@@ -230,10 +227,7 @@ send_token(s, flags, tok)
377 * and -1 if an error occurs or if it could not read all the data.
378 */
379 int
380-recv_token(s, flags, tok)
381- int s;
382- int *flags;
383- gss_buffer_t tok;
384+recv_token(int s, int *flags, gss_buffer_t tok)
385 {
386 int ret;
387 unsigned char char_flags;
388@@ -303,10 +297,7 @@ recv_token(s, flags, tok)
389 }
390
391 static void
392-display_status_1(m, code, type)
393- char *m;
394- OM_uint32 code;
395- int type;
396+display_status_1(char *m, OM_uint32 code, int type)
397 {
398 OM_uint32 min_stat;
399 gss_buffer_desc msg;
400@@ -344,10 +335,7 @@ display_status_1(m, code, type)
401 * followed by a newline.
402 */
403 void
404-display_status(msg, maj_stat, min_stat)
405- char *msg;
406- OM_uint32 maj_stat;
407- OM_uint32 min_stat;
408+display_status(char *msg, OM_uint32 maj_stat, OM_uint32 min_stat)
409 {
410 display_status_1(msg, maj_stat, GSS_C_GSS_CODE);
411 display_status_1(msg, min_stat, GSS_C_MECH_CODE);
412@@ -370,8 +358,7 @@ display_status(msg, maj_stat, min_stat)
413 */
414
415 void
416-display_ctx_flags(flags)
417- OM_uint32 flags;
418+display_ctx_flags(OM_uint32 flags)
419 {
420 if (flags & GSS_C_DELEG_FLAG)
421 fprintf(display_file, "context flag: GSS_C_DELEG_FLAG\n");
422@@ -388,8 +375,7 @@ display_ctx_flags(flags)
423 }
424
425 void
426-print_token(tok)
427- gss_buffer_t tok;
428+print_token(gss_buffer_t tok)
429 {
430 unsigned int i;
431 unsigned char *p = tok->value;
432diff --git a/src/appl/gss-sample/gss-server.c b/src/appl/gss-sample/gss-server.c
433index 9b6ce9f..0e9c857 100644
434--- a/src/appl/gss-sample/gss-server.c
435+++ b/src/appl/gss-sample/gss-server.c
436@@ -73,7 +73,7 @@ static OM_uint32
437 showLocalIdentity(OM_uint32 *minor, gss_name_t name);
438
439 static void
440-usage()
441+usage(void)
442 {
443 fprintf(stderr, "Usage: gss-server [-port port] [-verbose] [-once]");
444 #ifdef _WIN32
445diff --git a/src/appl/user_user/server.c b/src/appl/user_user/server.c
446index f2b5b61..afb3d2b 100644
447--- a/src/appl/user_user/server.c
448+++ b/src/appl/user_user/server.c
449@@ -39,9 +39,8 @@
450
451 /* fd 0 is a tcp socket used to talk to the client */
452
453-int main(argc, argv)
454- int argc;
455- char *argv[];
456+int
457+main(int argc, char *argv[])
458 {
459 krb5_data pname_data, tkt_data;
460 int sock = 0;
461diff --git a/src/clients/kdestroy/kdestroy.c b/src/clients/kdestroy/kdestroy.c
462index 774b729..48f672a 100644
463--- a/src/clients/kdestroy/kdestroy.c
464+++ b/src/clients/kdestroy/kdestroy.c
465@@ -47,7 +47,7 @@ char *progname;
466
467
468 static void
469-usage()
470+usage(void)
471 {
472 fprintf(stderr, _("Usage: %s [-A] [-q] [-c cache_name] [-p princ_name]\n"),
473 progname);
474diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c
475index f4c7b2b..7a33ffa 100644
476--- a/src/clients/kinit/kinit.c
477+++ b/src/clients/kinit/kinit.c
478@@ -45,7 +45,7 @@
479 #ifdef HAVE_PWD_H
480 #include <pwd.h>
481 static char *
482-get_name_from_os()
483+get_name_from_os(void)
484 {
485 struct passwd *pw;
486
487@@ -137,7 +137,7 @@ const char *shopts = "r:fpFPn54aAVl:s:c:kit:T:RS:vX:CEI:";
488 #define USAGE_BREAK "\n\t"
489
490 static void
491-usage()
492+usage(void)
493 {
494 fprintf(stderr,
495 _("Usage: %s [-V] [-l lifetime] [-s start_time] "
496diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
497index dcdc5a2..c797b16 100644
498--- a/src/clients/klist/klist.c
499+++ b/src/clients/klist/klist.c
500@@ -80,7 +80,7 @@ static void fillit(FILE *, unsigned int, int);
501 #define KEYTAB 2
502
503 static void
504-usage()
505+usage(void)
506 {
507 fprintf(stderr, _("Usage: %s [-e] [-V] [[-c] [-l] [-A] [-d] [-f] [-s] "
508 "[-a [-n]]] [-k [-i] [-t] [-K]] [-C] [name]\n"),
509diff --git a/src/clients/ksu/authorization.c b/src/clients/ksu/authorization.c
510index fb9d5d0..17a8a8f 100644
511--- a/src/clients/ksu/authorization.c
512+++ b/src/clients/ksu/authorization.c
513@@ -30,9 +30,8 @@
514
515 static void auth_cleanup (FILE *, FILE *, char *);
516
517-krb5_boolean fowner(fp, uid)
518- FILE *fp;
519- uid_t uid;
520+krb5_boolean
521+fowner(FILE *fp, uid_t uid)
522 {
523 struct stat sbuf;
524
525@@ -59,16 +58,10 @@ krb5_boolean fowner(fp, uid)
526 *
527 */
528
529-krb5_error_code krb5_authorization(context, principal, luser,
530- cmd, ok, out_fcmd)
531-/* IN */
532- krb5_context context;
533- krb5_principal principal;
534- const char *luser;
535- char *cmd;
536- /* OUT */
537- krb5_boolean *ok;
538- char **out_fcmd;
539+krb5_error_code
540+krb5_authorization(krb5_context context, krb5_principal principal,
541+ const char *luser, char *cmd, krb5_boolean *ok,
542+ char **out_fcmd)
543 {
544 struct passwd *pwd;
545 char *princname;
546@@ -178,10 +171,8 @@ any tokens after the principal name FALSE is returned.
547
548 ***********************************************************/
549
550-krb5_error_code k5login_lookup (fp, princname, found)
551- FILE *fp;
552- char *princname;
553- krb5_boolean *found;
554+krb5_error_code
555+k5login_lookup(FILE *fp, char *princname, krb5_boolean *found)
556 {
557
558 krb5_error_code retval;
559@@ -240,12 +231,9 @@ if princname is found{
560
561
562 ***********************************************************/
563-krb5_error_code k5users_lookup (fp, princname, cmd, found, out_fcmd)
564- FILE *fp;
565- char *princname;
566- char *cmd;
567- krb5_boolean *found;
568- char **out_fcmd;
569+krb5_error_code
570+k5users_lookup(FILE *fp, char *princname, char *cmd,
571+ krb5_boolean *found, char **out_fcmd)
572 {
573 krb5_error_code retval;
574 char * line;
575@@ -328,10 +316,8 @@ resolves it into a full path name.
576
577 ************************************************/
578
579-krb5_boolean fcmd_resolve(fcmd, out_fcmd, out_err)
580- char *fcmd;
581- char ***out_fcmd;
582- char **out_err;
583+krb5_boolean
584+fcmd_resolve(char *fcmd, char ***out_fcmd, char **out_err)
585 {
586 char * err;
587 char ** tmp_fcmd;
588@@ -407,8 +393,8 @@ cmd_single - checks if cmd consists of a path
589
590 ********************************************/
591
592-krb5_boolean cmd_single(cmd)
593- char * cmd;
594+krb5_boolean
595+cmd_single(char *cmd)
596 {
597
598 if ( ( strrchr( cmd, '/')) == NULL){
599@@ -423,9 +409,8 @@ cmd_arr_cmp_postfix - compares a command with the postfix
600 of fcmd
601 ********************************************/
602
603-int cmd_arr_cmp_postfix(fcmd_arr, cmd)
604- char **fcmd_arr;
605- char *cmd;
606+int
607+cmd_arr_cmp_postfix(char **fcmd_arr, char *cmd)
608 {
609 char * temp_fcmd;
610 char *ptr;
611@@ -457,9 +442,8 @@ cmd_arr_cmp - checks if cmd matches any
612
613 **********************************************/
614
615-int cmd_arr_cmp (fcmd_arr, cmd)
616- char **fcmd_arr;
617- char *cmd;
618+int
619+cmd_arr_cmp(char **fcmd_arr, char *cmd)
620 {
621 int result =1;
622 int i = 0;
623@@ -475,10 +459,8 @@ int cmd_arr_cmp (fcmd_arr, cmd)
624 }
625
626
627-krb5_boolean find_first_cmd_that_exists(fcmd_arr, cmd_out, err_out)
628- char **fcmd_arr;
629- char **cmd_out;
630- char **err_out;
631+krb5_boolean
632+find_first_cmd_that_exists(char **fcmd_arr, char **cmd_out, char **err_out)
633 {
634 struct stat st_temp;
635 int i = 0;
636@@ -517,12 +499,9 @@ returns 1 if there is an error, 0 if no error.
637
638 ***************************************************************/
639
640-int match_commands (fcmd, cmd, match, cmd_out, err_out)
641- char *fcmd;
642- char *cmd;
643- krb5_boolean *match;
644- char **cmd_out;
645- char **err_out;
646+int
647+match_commands(char *fcmd, char *cmd, krb5_boolean *match,
648+ char **cmd_out, char **err_out)
649 {
650 char ** fcmd_arr;
651 char * err;
652@@ -566,11 +545,8 @@ int match_commands (fcmd, cmd, match, cmd_out, err_out)
653 is set to null if eof.
654 *********************************************************/
655
656-krb5_error_code get_line (fp, out_line)
657-/* IN */
658- FILE *fp;
659- /* OUT */
660- char **out_line;
661+krb5_error_code
662+get_line(FILE *fp, char **out_line)
663 {
664 char * line, *r, *newline , *line_ptr;
665 int chunk_count = 1;
666@@ -615,9 +591,8 @@ will be returned as part of the first token.
667 Note: this routine reuses the space pointed to by line
668 ******************************************************/
669
670-char * get_first_token (line, lnext)
671- char *line;
672- char **lnext;
673+char *
674+get_first_token(char *line, char **lnext)
675 {
676
677 char * lptr, * out_ptr;
678@@ -651,8 +626,8 @@ Note: that this function modifies the stream
679 lnext to the next tocken.
680 **********************************************************/
681
682-char * get_next_token (lnext)
683- char **lnext;
684+char *
685+get_next_token (char **lnext)
686 {
687 char * lptr, * out_ptr;
688
689@@ -677,10 +652,8 @@ char * get_next_token (lnext)
690 return out_ptr;
691 }
692
693-static void auth_cleanup(users_fp, login_fp, princname)
694- FILE *users_fp;
695- FILE *login_fp;
696- char *princname;
697+static void
698+auth_cleanup(FILE *users_fp, FILE *login_fp, char *princname)
699 {
700
701 free (princname);
702@@ -690,8 +663,8 @@ static void auth_cleanup(users_fp, login_fp, princname)
703 fclose(login_fp);
704 }
705
706-void init_auth_names(pw_dir)
707- char *pw_dir;
708+void
709+init_auth_names(char *pw_dir)
710 {
711 const char *sep;
712 int r1, r2;
713diff --git a/src/clients/ksu/ccache.c b/src/clients/ksu/ccache.c
714index cbb9aa2..cca9ce2 100644
715--- a/src/clients/ksu/ccache.c
716+++ b/src/clients/ksu/ccache.c
717@@ -40,24 +40,18 @@ copies the default cache into the secondary cache,
718
719 ************************************************************************/
720
721-void show_credential();
722+void show_credential(krb5_context, krb5_creds *, krb5_ccache);
723
724 /* modifies only the cc_other, the algorithm may look a bit funny,
725 but I had to do it this way, since remove function did not come
726 with k5 beta 3 release.
727 */
728
729-krb5_error_code krb5_ccache_copy(context, cc_def, target_principal, cc_target,
730- restrict_creds, primary_principal, stored)
731-/* IN */
732- krb5_context context;
733- krb5_ccache cc_def;
734- krb5_principal target_principal;
735- krb5_ccache cc_target;
736- krb5_boolean restrict_creds;
737- krb5_principal primary_principal;
738- /* OUT */
739- krb5_boolean *stored;
740+krb5_error_code
741+krb5_ccache_copy(krb5_context context, krb5_ccache cc_def,
742+ krb5_principal target_principal, krb5_ccache cc_target,
743+ krb5_boolean restrict_creds, krb5_principal primary_principal,
744+ krb5_boolean *stored)
745 {
746 int i=0;
747 krb5_error_code retval=0;
748@@ -105,11 +99,9 @@ krb5_error_code krb5_ccache_copy(context, cc_def, target_principal, cc_target,
749 }
750
751
752-krb5_error_code krb5_store_all_creds(context, cc, creds_def, creds_other)
753- krb5_context context;
754- krb5_ccache cc;
755- krb5_creds **creds_def;
756- krb5_creds **creds_other;
757+krb5_error_code
758+krb5_store_all_creds(krb5_context context, krb5_ccache cc,
759+ krb5_creds **creds_def, krb5_creds **creds_other)
760 {
761
762 int i = 0;
763@@ -173,10 +165,8 @@ krb5_error_code krb5_store_all_creds(context, cc, creds_def, creds_other)
764 return 0;
765 }
766
767-krb5_boolean compare_creds(context, cred1, cred2)
768- krb5_context context;
769- krb5_creds *cred1;
770- krb5_creds *cred2;
771+krb5_boolean
772+compare_creds(krb5_context context, krb5_creds *cred1, krb5_creds *cred2)
773 {
774 krb5_boolean retval;
775
776@@ -188,13 +178,9 @@ krb5_boolean compare_creds(context, cred1, cred2)
777 return retval;
778 }
779
780-
781-
782-
783-krb5_error_code krb5_get_nonexp_tkts(context, cc, creds_array)
784- krb5_context context;
785- krb5_ccache cc;
786- krb5_creds ***creds_array;
787+krb5_error_code
788+krb5_get_nonexp_tkts(krb5_context context, krb5_ccache cc,
789+ krb5_creds ***creds_array)
790 {
791
792 krb5_creds creds, temp_tktq, temp_tkt;
793@@ -262,10 +248,8 @@ krb5_error_code krb5_get_nonexp_tkts(context, cc, creds_array)
794
795 }
796
797-
798-krb5_error_code krb5_check_exp(context, tkt_time)
799- krb5_context context;
800- krb5_ticket_times tkt_time;
801+krb5_error_code
802+krb5_check_exp(krb5_context context, krb5_ticket_times tkt_time)
803 {
804 krb5_error_code retval =0;
805 krb5_timestamp currenttime;
806@@ -290,9 +274,8 @@ krb5_error_code krb5_check_exp(context, tkt_time)
807 return 0;
808 }
809
810-
811-char *flags_string(cred)
812- krb5_creds *cred;
813+char *
814+flags_string(krb5_creds *cred)
815 {
816 static char buf[32];
817 int i = 0;
818@@ -323,7 +306,8 @@ char *flags_string(cred)
819 return(buf);
820 }
821
822-void printtime(krb5_timestamp ts)
823+void
824+printtime(krb5_timestamp ts)
825 {
826 char fmtbuf[18], fill = ' ';
827
828@@ -333,9 +317,7 @@ void printtime(krb5_timestamp ts)
829
830
831 krb5_error_code
832-krb5_get_login_princ(luser, princ_list)
833- const char *luser;
834- char ***princ_list;
835+krb5_get_login_princ(const char *luser, char ***princ_list)
836 {
837 struct stat sbuf;
838 struct passwd *pwd;
839@@ -420,13 +402,8 @@ krb5_get_login_princ(luser, princ_list)
840 return 0;
841 }
842
843-
844-
845 void
846-show_credential(context, cred, cc)
847- krb5_context context;
848- krb5_creds *cred;
849- krb5_ccache cc;
850+show_credential(krb5_context context, krb5_creds *cred, krb5_ccache cc)
851 {
852 krb5_error_code retval;
853 char *name, *sname, *flags;
854@@ -519,11 +496,9 @@ gen_sym(krb5_context context, char **sym_out)
855 return 0;
856 }
857
858-krb5_error_code krb5_ccache_overwrite(context, ccs, cct, primary_principal)
859- krb5_context context;
860- krb5_ccache ccs;
861- krb5_ccache cct;
862- krb5_principal primary_principal;
863+krb5_error_code
864+krb5_ccache_overwrite(krb5_context context, krb5_ccache ccs, krb5_ccache cct,
865+ krb5_principal primary_principal)
866 {
867 krb5_error_code retval=0;
868 krb5_principal temp_principal;
869@@ -560,14 +535,10 @@ krb5_error_code krb5_ccache_overwrite(context, ccs, cct, primary_principal)
870 return retval;
871 }
872
873-krb5_error_code krb5_store_some_creds(context, cc, creds_def, creds_other, prst,
874- stored)
875- krb5_context context;
876- krb5_ccache cc;
877- krb5_creds **creds_def;
878- krb5_creds **creds_other;
879- krb5_principal prst;
880- krb5_boolean *stored;
881+krb5_error_code
882+krb5_store_some_creds(krb5_context context, krb5_ccache cc,
883+ krb5_creds **creds_def, krb5_creds **creds_other,
884+ krb5_principal prst, krb5_boolean *stored)
885 {
886
887 int i = 0;
888@@ -610,10 +581,8 @@ krb5_error_code krb5_store_some_creds(context, cc, creds_def, creds_other, prst,
889 return 0;
890 }
891
892-krb5_error_code krb5_ccache_filter (context, cc, prst)
893- krb5_context context;
894- krb5_ccache cc;
895- krb5_principal prst;
896+krb5_error_code
897+krb5_ccache_filter(krb5_context context, krb5_ccache cc, krb5_principal prst)
898 {
899
900 int i=0;
901@@ -657,10 +626,9 @@ krb5_error_code krb5_ccache_filter (context, cc, prst)
902 return 0;
903 }
904
905-krb5_boolean krb5_find_princ_in_cred_list (context, creds_list, princ)
906- krb5_context context;
907- krb5_creds **creds_list;
908- krb5_principal princ;
909+krb5_boolean
910+krb5_find_princ_in_cred_list(krb5_context context, krb5_creds **creds_list,
911+ krb5_principal princ)
912 {
913
914 int i = 0;
915@@ -682,11 +650,9 @@ krb5_boolean krb5_find_princ_in_cred_list (context, creds_list, princ)
916 return temp_stored;
917 }
918
919-krb5_error_code krb5_find_princ_in_cache (context, cc, princ, found)
920- krb5_context context;
921- krb5_ccache cc;
922- krb5_principal princ;
923- krb5_boolean *found;
924+krb5_error_code
925+krb5_find_princ_in_cache(krb5_context context, krb5_ccache cc,
926+ krb5_principal princ, krb5_boolean *found)
927 {
928 krb5_error_code retval;
929 krb5_creds ** creds_list = NULL;
930diff --git a/src/clients/ksu/heuristic.c b/src/clients/ksu/heuristic.c
931index 4f7280f..e906de8 100644
932--- a/src/clients/ksu/heuristic.c
933+++ b/src/clients/ksu/heuristic.c
934@@ -41,9 +41,8 @@ get_all_princ_from_file - retrieves all principal names
935 static void close_time (int, FILE *, int, FILE *);
936 static krb5_boolean find_str_in_list (char **, char *);
937
938-krb5_error_code get_all_princ_from_file (fp, plist)
939- FILE *fp;
940- char ***plist;
941+krb5_error_code
942+get_all_princ_from_file(FILE *fp, char ***plist)
943 {
944
945 krb5_error_code retval;
946@@ -92,10 +91,8 @@ list_union - combines list1 and list2 into combined_list.
947 or used by combined_list.
948 **************************************************************/
949
950-krb5_error_code list_union(list1, list2, combined_list)
951- char **list1;
952- char **list2;
953- char ***combined_list;
954+krb5_error_code
955+list_union(char **list1, char **list2, char ***combined_list)
956 {
957
958 unsigned int c1 =0, c2 = 0, i=0, j=0;
959@@ -141,11 +138,7 @@ krb5_error_code list_union(list1, list2, combined_list)
960 }
961
962 krb5_error_code
963-filter(fp, cmd, k5users_list, k5users_filt_list)
964- FILE *fp;
965- char *cmd;
966- char **k5users_list;
967- char ***k5users_filt_list;
968+filter(FILE *fp, char *cmd, char **k5users_list, char ***k5users_filt_list)
969 {
970
971 krb5_error_code retval =0;
972@@ -195,10 +188,7 @@ filter(fp, cmd, k5users_list, k5users_filt_list)
973 }
974
975 krb5_error_code
976-get_authorized_princ_names(luser, cmd, princ_list)
977- const char *luser;
978- char *cmd;
979- char ***princ_list;
980+get_authorized_princ_names(const char *luser, char *cmd, char ***princ_list)
981 {
982
983 struct passwd *pwd;
984@@ -272,11 +262,8 @@ get_authorized_princ_names(luser, cmd, princ_list)
985 return 0;
986 }
987
988-static void close_time(k5users_flag, users_fp, k5login_flag, login_fp)
989- int k5users_flag;
990- FILE *users_fp;
991- int k5login_flag;
992- FILE *login_fp;
993+static void
994+close_time(int k5users_flag, FILE *users_fp, int k5login_flag, FILE *login_fp)
995 {
996
997 if (!k5users_flag) fclose(users_fp);
998@@ -284,9 +271,8 @@ static void close_time(k5users_flag, users_fp, k5login_flag, login_fp)
999
1000 }
1001
1002-static krb5_boolean find_str_in_list(list , elm)
1003- char **list;
1004- char *elm;
1005+static krb5_boolean
1006+find_str_in_list(char **list, char *elm)
1007 {
1008
1009 int i=0;
1010@@ -313,12 +299,9 @@ A principal is picked that has the best chance of getting in.
1011
1012 **********************************************************************/
1013
1014-
1015-krb5_error_code get_closest_principal(context, plist, client, found)
1016- krb5_context context;
1017- char **plist;
1018- krb5_principal *client;
1019- krb5_boolean *found;
1020+krb5_error_code
1021+get_closest_principal(krb5_context context, char **plist,
1022+ krb5_principal *client, krb5_boolean *found)
1023 {
1024 krb5_error_code retval =0;
1025 krb5_principal temp_client, best_client = NULL;
1026@@ -385,12 +368,9 @@ find_either_ticket checks to see whether there is a ticket for the
1027 end server or tgt, if neither is there the return FALSE,
1028 *****************************************************************/
1029
1030-krb5_error_code find_either_ticket (context, cc, client, end_server, found)
1031- krb5_context context;
1032- krb5_ccache cc;
1033- krb5_principal client;
1034- krb5_principal end_server;
1035- krb5_boolean *found;
1036+krb5_error_code
1037+find_either_ticket(krb5_context context, krb5_ccache cc, krb5_principal client,
1038+ krb5_principal end_server, krb5_boolean *found)
1039 {
1040
1041 krb5_principal kdc_server;
1042@@ -424,13 +404,9 @@ krb5_error_code find_either_ticket (context, cc, client, end_server, found)
1043 return 0;
1044 }
1045
1046-
1047-krb5_error_code find_ticket (context, cc, client, server, found)
1048- krb5_context context;
1049- krb5_ccache cc;
1050- krb5_principal client;
1051- krb5_principal server;
1052- krb5_boolean *found;
1053+krb5_error_code
1054+find_ticket(krb5_context context, krb5_ccache cc, krb5_principal client,
1055+ krb5_principal server, krb5_boolean *found)
1056 {
1057
1058 krb5_creds tgt, tgtq;
1059@@ -470,13 +446,9 @@ krb5_error_code find_ticket (context, cc, client, server, found)
1060 return 0;
1061 }
1062
1063-
1064-
1065-krb5_error_code find_princ_in_list (context, princ, plist, found)
1066- krb5_context context;
1067- krb5_principal princ;
1068- char **plist;
1069- krb5_boolean *found;
1070+krb5_error_code
1071+find_princ_in_list(krb5_context context, krb5_principal princ, char **plist,
1072+ krb5_boolean *found)
1073 {
1074
1075 int i=0;
1076@@ -516,21 +488,13 @@ path_out gets set to ...
1077
1078 ***********************************************************************/
1079
1080-krb5_error_code get_best_princ_for_target(context, source_uid, target_uid,
1081- source_user, target_user,
1082- cc_source, options, cmd,
1083- hostname, client, path_out)
1084- krb5_context context;
1085- uid_t source_uid;
1086- uid_t target_uid;
1087- char *source_user;
1088- char *target_user;
1089- krb5_ccache cc_source;
1090- krb5_get_init_creds_opt *options;
1091- char *cmd;
1092- char *hostname;
1093- krb5_principal *client;
1094- int *path_out;
1095+krb5_error_code
1096+get_best_princ_for_target(krb5_context context, uid_t source_uid,
1097+ uid_t target_uid, char *source_user,
1098+ char *target_user, krb5_ccache cc_source,
1099+ krb5_get_init_creds_opt *options, char *cmd,
1100+ char *hostname, krb5_principal *client,
1101+ int *path_out)
1102 {
1103
1104 princ_info princ_trials[10];
1105diff --git a/src/clients/ksu/krb_auth_su.c b/src/clients/ksu/krb_auth_su.c
1106index fb848dc..db10251 100644
1107--- a/src/clients/ksu/krb_auth_su.c
1108+++ b/src/clients/ksu/krb_auth_su.c
1109@@ -29,18 +29,13 @@
1110 #include "ksu.h"
1111
1112
1113-void plain_dump_principal ();
1114-
1115-krb5_boolean krb5_auth_check(context, client_pname, hostname, options,
1116- target_user, cc, path_passwd, target_uid)
1117- krb5_context context;
1118- krb5_principal client_pname;
1119- char *hostname;
1120- krb5_get_init_creds_opt *options;
1121- char *target_user;
1122- uid_t target_uid;
1123- krb5_ccache cc;
1124- int *path_passwd;
1125+void plain_dump_principal(krb5_context, krb5_principal);
1126+
1127+krb5_boolean
1128+krb5_auth_check(krb5_context context, krb5_principal client_pname,
1129+ char *hostname, krb5_get_init_creds_opt *options,
1130+ char *target_user, krb5_ccache cc, int *path_passwd,
1131+ uid_t target_uid)
1132 {
1133 krb5_principal client;
1134 krb5_verify_init_creds_opt vfy_opts;
1135@@ -137,13 +132,10 @@ krb5_boolean krb5_auth_check(context, client_pname, hostname, options,
1136 return (TRUE);
1137 }
1138
1139-krb5_boolean ksu_get_tgt_via_passwd(context, client, options, zero_password,
1140- creds_out)
1141- krb5_context context;
1142- krb5_principal client;
1143- krb5_get_init_creds_opt *options;
1144- krb5_boolean *zero_password;
1145- krb5_creds *creds_out;
1146+krb5_boolean
1147+ksu_get_tgt_via_passwd(krb5_context context, krb5_principal client,
1148+ krb5_get_init_creds_opt *options,
1149+ krb5_boolean *zero_password, krb5_creds *creds_out)
1150 {
1151 krb5_error_code code;
1152 krb5_creds creds;
1153@@ -212,11 +204,8 @@ krb5_boolean ksu_get_tgt_via_passwd(context, client, options, zero_password,
1154 return (TRUE);
1155 }
1156
1157-
1158-void dump_principal (context, str, p)
1159- krb5_context context;
1160- char *str;
1161- krb5_principal p;
1162+void
1163+dump_principal(krb5_context context, char *str, krb5_principal p)
1164 {
1165 char * stname;
1166 krb5_error_code retval;
1167@@ -228,9 +217,8 @@ void dump_principal (context, str, p)
1168 fprintf(stderr, " %s: %s\n", str, stname);
1169 }
1170
1171-void plain_dump_principal (context, p)
1172- krb5_context context;
1173- krb5_principal p;
1174+void
1175+plain_dump_principal (krb5_context context, krb5_principal p)
1176 {
1177 char * stname;
1178 krb5_error_code retval;
1179@@ -251,11 +239,8 @@ A principal is picked that has the best chance of getting in.
1180
1181 **********************************************************************/
1182
1183-
1184-krb5_error_code get_best_principal(context, plist, client)
1185- krb5_context context;
1186- char **plist;
1187- krb5_principal *client;
1188+krb5_error_code
1189+get_best_principal(krb5_context context, char **plist, krb5_principal *client)
1190 {
1191 krb5_error_code retval =0;
1192 krb5_principal temp_client, best_client = NULL;
1193diff --git a/src/clients/ksu/main.c b/src/clients/ksu/main.c
1194index af12861..7298436 100644
1195--- a/src/clients/ksu/main.c
1196+++ b/src/clients/ksu/main.c
1197@@ -64,7 +64,9 @@ static krb5_error_code resolve_target_cache(krb5_context ksu_context,
1198 /* insure the proper specification of target user as well as catching
1199 ill specified arguments to commands */
1200
1201-void usage (){
1202+void
1203+usage(void)
1204+{
1205 fprintf(stderr,
1206 _("Usage: %s [target user] [-n principal] [-c source cachename] "
1207 "[-k] [-r time] [-p|-P] [-f|-F] [-l lifetime] [-zZ] [-q] "
1208@@ -80,9 +82,7 @@ void usage (){
1209 static uid_t source_uid, target_uid;
1210
1211 int
1212-main (argc, argv)
1213- int argc;
1214- char ** argv;
1215+main(int argc, char ** argv)
1216 {
1217 int hp =0;
1218 int some_rest_copy = 0;
1219@@ -114,7 +114,6 @@ main (argc, argv)
1220 char ** params;
1221 int keep_target_cache = 0;
1222 int child_pid, child_pgrp, ret_pid;
1223- extern char * getpass(), *crypt();
1224 int pargc;
1225 char ** pargv;
1226 krb5_boolean stored = FALSE, cc_reused = FALSE, given_princ = FALSE;
1227@@ -965,11 +964,10 @@ cleanup:
1228
1229 #ifdef HAVE_GETUSERSHELL
1230
1231-int standard_shell(sh)
1232- char *sh;
1233+int
1234+standard_shell(char *sh)
1235 {
1236 char *cp;
1237- char *getusershell();
1238
1239 while ((cp = getusershell()) != NULL)
1240 if (!strcmp(cp, sh))
1241@@ -979,7 +977,8 @@ int standard_shell(sh)
1242
1243 #endif /* HAVE_GETUSERSHELL */
1244
1245-static char * ontty()
1246+static char *
1247+ontty(void)
1248 {
1249 char *p;
1250 static char buf[MAXPATHLEN + 5];
1251@@ -996,10 +995,8 @@ static char * ontty()
1252 return (buf);
1253 }
1254
1255-
1256-static int set_env_var(name, value)
1257- char *name;
1258- char *value;
1259+static int
1260+set_env_var(char *name, char *value)
1261 {
1262 char * env_var_buf;
1263
1264@@ -1008,9 +1005,8 @@ static int set_env_var(name, value)
1265
1266 }
1267
1268-static void sweep_up(context, cc)
1269- krb5_context context;
1270- krb5_ccache cc;
1271+static void
1272+sweep_up(krb5_context context, krb5_ccache cc)
1273 {
1274 krb5_error_code retval;
1275
1276@@ -1038,11 +1034,7 @@ get_params is to be called for the -a option or -e option to
1277 *****************************************************************/
1278
1279 krb5_error_code
1280-get_params(optindex, pargc, pargv, params)
1281- int *optindex;
1282- int pargc;
1283- char **pargv;
1284- char ***params;
1285+get_params(int *optindex, int pargc, char **pargv, char ***params)
1286 {
1287
1288 int i,j;
1289@@ -1075,10 +1067,8 @@ void print_status(const char *fmt, ...)
1290 }
1291
1292 krb5_error_code
1293-ksu_tgtname(context, server, client, tgtprinc)
1294- krb5_context context;
1295- const krb5_data *server, *client;
1296- krb5_principal *tgtprinc;
1297+ksu_tgtname(krb5_context context, const krb5_data *server,
1298+ const krb5_data *client, krb5_principal *tgtprinc)
1299 {
1300 return krb5_build_principal_ext(context, tgtprinc, client->length, client->data,
1301 KRB5_TGS_NAME_SIZE, KRB5_TGS_NAME,
1302diff --git a/src/clients/kvno/kvno.c b/src/clients/kvno/kvno.c
1303index 03f72f5..ac77a7d 100644
1304--- a/src/clients/kvno/kvno.c
1305+++ b/src/clients/kvno/kvno.c
1306@@ -39,7 +39,7 @@ static char *prog;
1307 static int quiet = 0;
1308
1309 static void
1310-xusage()
1311+xusage(void)
1312 {
1313 fprintf(stderr, _("usage: %s [-c ccache] [-e etype] [-k keytab] [-q] "
1314 "[-u | -S sname]\n"
1315diff --git a/src/include/gssrpc/auth_gssapi.h b/src/include/gssrpc/auth_gssapi.h
1316index 9d94853..63436a6 100644
1317--- a/src/include/gssrpc/auth_gssapi.h
1318+++ b/src/include/gssrpc/auth_gssapi.h
1319@@ -82,14 +82,12 @@ bool_t xdr_authgssapi_init_res(XDR *, auth_gssapi_init_res *);
1320
1321 bool_t auth_gssapi_wrap_data
1322 (OM_uint32 *major, OM_uint32 *minor,
1323- gss_ctx_id_t context, uint32_t seq_num, XDR
1324- *out_xdrs, bool_t (*xdr_func)(), caddr_t
1325- xdr_ptr);
1326+ gss_ctx_id_t context, uint32_t seq_num,
1327+ XDR *out_xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr);
1328 bool_t auth_gssapi_unwrap_data
1329 (OM_uint32 *major, OM_uint32 *minor,
1330- gss_ctx_id_t context, uint32_t seq_num, XDR
1331- *in_xdrs, bool_t (*xdr_func)(), caddr_t
1332- xdr_ptr);
1333+ gss_ctx_id_t context, uint32_t seq_num,
1334+ XDR *in_xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr);
1335
1336 AUTH *auth_gssapi_create
1337 (CLIENT *clnt,
1338diff --git a/src/include/gssrpc/xdr.h b/src/include/gssrpc/xdr.h
1339index da9e173..4e5c29b 100644
1340--- a/src/include/gssrpc/xdr.h
1341+++ b/src/include/gssrpc/xdr.h
1342@@ -102,7 +102,6 @@ enum xdr_op {
1343 *
1344 * XXX can't actually prototype it, because some take three args!!!
1345 */
1346-typedef bool_t (*xdrproc_t)();
1347
1348 /*
1349 * The XDR handle.
1350@@ -143,6 +142,8 @@ typedef struct XDR {
1351 int x_handy; /* extra private word */
1352 } XDR;
1353
1354+typedef bool_t (*xdrproc_t)(XDR *, void *);
1355+
1356 /*
1357 * Operations defined on a XDR handle
1358 *
1359diff --git a/src/include/k5-int.h b/src/include/k5-int.h
1360index 2f7791b..ce74b5a 100644
1361--- a/src/include/k5-int.h
1362+++ b/src/include/k5-int.h
1363@@ -2239,7 +2239,7 @@ make_data(void *data, unsigned int len)
1364 }
1365
1366 static inline krb5_data
1367-empty_data()
1368+empty_data(void)
1369 {
1370 return make_data(NULL, 0);
1371 }
1372diff --git a/src/include/k5-plugin.h b/src/include/k5-plugin.h
1373index 90809e1..5c5af58 100644
1374--- a/src/include/k5-plugin.h
1375+++ b/src/include/k5-plugin.h
1376@@ -97,7 +97,7 @@ krb5int_get_plugin_data (struct plugin_file_handle *, const char *, void **,
1377
1378 long KRB5_CALLCONV
1379 krb5int_get_plugin_func (struct plugin_file_handle *, const char *,
1380- void (**)(), struct errinfo *);
1381+ void (**)(void), struct errinfo *);
1382
1383
1384 long KRB5_CALLCONV
1385diff --git a/src/include/net-server.h b/src/include/net-server.h
1386index a30749d..29b235e 100644
1387--- a/src/include/net-server.h
1388+++ b/src/include/net-server.h
1389@@ -30,6 +30,7 @@
1390 #define NET_SERVER_H
1391
1392 #include <verto.h>
1393+#include <gssrpc/rpc.h>
1394
1395 /* The delimiter characters supported by the addresses string. */
1396 #define ADDRESSES_DELIM ",; "
1397@@ -64,13 +65,14 @@ krb5_error_code loop_add_udp_address(int default_port, const char *addresses);
1398 krb5_error_code loop_add_tcp_address(int default_port, const char *addresses);
1399 krb5_error_code loop_add_rpc_service(int default_port, const char *addresses,
1400 u_long prognum, u_long versnum,
1401- void (*dispatchfn)());
1402+ void (*dispatchfn)(struct svc_req *,
1403+ SVCXPRT *));
1404
1405 krb5_error_code loop_setup_network(verto_ctx *ctx, void *handle,
1406 const char *progname,
1407 int tcp_listen_backlog);
1408 krb5_error_code loop_setup_signals(verto_ctx *ctx, void *handle,
1409- void (*reset)());
1410+ void (*reset)(void *));
1411 void loop_free(verto_ctx *ctx);
1412
1413 /* to be supplied by the server application */
1414diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
1415index d14cf96..3d69f0b 100644
1416--- a/src/kadmin/cli/getdate.y
1417+++ b/src/kadmin/cli/getdate.y
1418@@ -100,9 +100,6 @@ struct my_timeb {
1419 #define bcopy(from, to, len) memcpy ((to), (from), (len))
1420 #endif
1421
1422-extern struct tm *gmtime();
1423-extern struct tm *localtime();
1424-
1425 #define yyparse getdate_yyparse
1426 #define yylex getdate_yylex
1427 #define yyerror getdate_yyerror
1428diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
1429index f3ea6fa..23b64b0 100644
1430--- a/src/kadmin/cli/kadmin.c
1431+++ b/src/kadmin/cli/kadmin.c
1432@@ -98,7 +98,7 @@ error(const char *fmt, ...)
1433 }
1434
1435 static void
1436-usage()
1437+usage(void)
1438 {
1439 error(_("Usage: %s [-r realm] [-p principal] [-q query] "
1440 "[clnt|local args]\n"
1441@@ -1130,7 +1130,7 @@ kadmin_parse_princ_args(int argc, char *argv[], kadm5_principal_ent_t oprinc,
1442 }
1443
1444 static void
1445-kadmin_addprinc_usage()
1446+kadmin_addprinc_usage(void)
1447 {
1448 error(_("usage: add_principal [options] principal\n"));
1449 error(_("\toptions are:\n"));
1450@@ -1154,7 +1154,7 @@ kadmin_addprinc_usage()
1451 }
1452
1453 static void
1454-kadmin_modprinc_usage()
1455+kadmin_modprinc_usage(void)
1456 {
1457 error(_("usage: modify_principal [options] principal\n"));
1458 error(_("\toptions are:\n"));
1459diff --git a/src/kadmin/cli/keytab.c b/src/kadmin/cli/keytab.c
1460index b0c8378..26f340a 100644
1461--- a/src/kadmin/cli/keytab.c
1462+++ b/src/kadmin/cli/keytab.c
1463@@ -50,14 +50,14 @@ static int quiet;
1464 static int norandkey;
1465
1466 static void
1467-add_usage()
1468+add_usage(void)
1469 {
1470 fprintf(stderr, _("Usage: ktadd [-k[eytab] keytab] [-q] [-e keysaltlist] "
1471 "[-norandkey] [principal | -glob princ-exp] [...]\n"));
1472 }
1473
1474 static void
1475-rem_usage()
1476+rem_usage(void)
1477 {
1478 fprintf(stderr, _("Usage: ktremove [-k[eytab] keytab] [-q] principal "
1479 "[kvno|\"all\"|\"old\"]\n"));
1480diff --git a/src/kadmin/dbutil/kdb5_create.c b/src/kadmin/dbutil/kdb5_create.c
1481index 038a0b2..9178fca 100644
1482--- a/src/kadmin/dbutil/kdb5_create.c
1483+++ b/src/kadmin/dbutil/kdb5_create.c
1484@@ -139,9 +139,8 @@ extern int exit_status;
1485 extern kadm5_config_params global_params;
1486 extern krb5_context util_context;
1487
1488-void kdb5_create(argc, argv)
1489- int argc;
1490- char *argv[];
1491+void
1492+kdb5_create(int argc, char *argv[])
1493 {
1494 int optchar;
1495
1496@@ -337,9 +336,7 @@ void kdb5_create(argc, argv)
1497 }
1498
1499 static krb5_error_code
1500-tgt_keysalt_iterate(ksent, ptr)
1501- krb5_key_salt_tuple *ksent;
1502- krb5_pointer ptr;
1503+tgt_keysalt_iterate(krb5_key_salt_tuple *ksent, krb5_pointer ptr)
1504 {
1505 krb5_context context;
1506 krb5_error_code kret;
1507@@ -378,11 +375,8 @@ tgt_keysalt_iterate(ksent, ptr)
1508 }
1509
1510 static krb5_error_code
1511-add_principal(context, princ, op, pblock)
1512- krb5_context context;
1513- krb5_principal princ;
1514- enum ap_op op;
1515- struct realm_info *pblock;
1516+add_principal(krb5_context context, krb5_principal princ, enum ap_op op,
1517+ struct realm_info *pblock)
1518 {
1519 krb5_error_code retval;
1520 krb5_db_entry *entry = NULL;
1521diff --git a/src/kadmin/dbutil/kdb5_destroy.c b/src/kadmin/dbutil/kdb5_destroy.c
1522index fffce74..556cf0b 100644
1523--- a/src/kadmin/dbutil/kdb5_destroy.c
1524+++ b/src/kadmin/dbutil/kdb5_destroy.c
1525@@ -39,9 +39,7 @@ char *yes = "yes\n"; /* \n to compare against result of
1526 fgets */
1527
1528 void
1529-kdb5_destroy(argc, argv)
1530- int argc;
1531- char *argv[];
1532+kdb5_destroy(int argc, char *argv[])
1533 {
1534 extern int optind;
1535 int optchar;
1536diff --git a/src/kadmin/dbutil/kdb5_stash.c b/src/kadmin/dbutil/kdb5_stash.c
1537index e05944f..eaba6cd 100644
1538--- a/src/kadmin/dbutil/kdb5_stash.c
1539+++ b/src/kadmin/dbutil/kdb5_stash.c
1540@@ -63,9 +63,7 @@ extern int exit_status;
1541 extern int close_policy_db;
1542
1543 void
1544-kdb5_stash(argc, argv)
1545- int argc;
1546- char *argv[];
1547+kdb5_stash(int argc, char *argv[])
1548 {
1549 extern char *optarg;
1550 extern int optind;
1551diff --git a/src/kadmin/dbutil/kdb5_util.c b/src/kadmin/dbutil/kdb5_util.c
1552index 19a5925..55d529f 100644
1553--- a/src/kadmin/dbutil/kdb5_util.c
1554+++ b/src/kadmin/dbutil/kdb5_util.c
1555@@ -143,8 +143,8 @@ struct _cmd_table {
1556 {NULL, NULL, 0},
1557 };
1558
1559-static struct _cmd_table *cmd_lookup(name)
1560- char *name;
1561+static struct _cmd_table *
1562+cmd_lookup(char *name)
1563 {
1564 struct _cmd_table *cmd = cmd_table;
1565 while (cmd->name) {
1566@@ -162,8 +162,9 @@ static struct _cmd_table *cmd_lookup(name)
1567 char **db5util_db_args = NULL;
1568 int db5util_db_args_size = 0;
1569
1570-static void extended_com_err_fn (const char *myprog, errcode_t code,
1571- const char *fmt, va_list args)
1572+static void
1573+extended_com_err_fn(const char *myprog, errcode_t code, const char *fmt,
1574+ va_list args)
1575 {
1576 const char *emsg;
1577 if (code) {
1578@@ -177,7 +178,8 @@ static void extended_com_err_fn (const char *myprog, errcode_t code,
1579 fprintf (stderr, "\n");
1580 }
1581
1582-int add_db_arg(char *arg)
1583+int
1584+add_db_arg(char *arg)
1585 {
1586 char **temp;
1587 db5util_db_args_size++;
1588@@ -191,9 +193,8 @@ int add_db_arg(char *arg)
1589 return 1;
1590 }
1591
1592-int main(argc, argv)
1593- int argc;
1594- char *argv[];
1595+int
1596+main(int argc, char *argv[])
1597 {
1598 struct _cmd_table *cmd = NULL;
1599 char *koptarg, **cmd_argv;
1600@@ -365,7 +366,8 @@ int main(argc, argv)
1601 * cannot be fetched (the master key stash file may not exist when the
1602 * program is run).
1603 */
1604-static int open_db_and_mkey()
1605+static int
1606+open_db_and_mkey()
1607 {
1608 krb5_error_code retval;
1609 krb5_data scratch, pwd, seed;
1610@@ -508,9 +510,7 @@ quit()
1611 }
1612
1613 static void
1614-add_random_key(argc, argv)
1615- int argc;
1616- char **argv;
1617+add_random_key(int argc, char **argv)
1618 {
1619 krb5_error_code ret;
1620 krb5_principal princ;
1621diff --git a/src/kadmin/dbutil/ovload.c b/src/kadmin/dbutil/ovload.c
1622index 15a5ab3..b2e6c00 100644
1623--- a/src/kadmin/dbutil/ovload.c
1624+++ b/src/kadmin/dbutil/ovload.c
1625@@ -11,9 +11,8 @@
1626
1627 #define LINESIZE 32768 /* XXX */
1628
1629-static int parse_pw_hist_ent(current, hist)
1630- char *current;
1631- osa_pw_hist_ent *hist;
1632+static int
1633+parse_pw_hist_ent(char *current, osa_pw_hist_ent *hist)
1634 {
1635 int tmp, i, j, ret;
1636 char *cp;
1637@@ -90,12 +89,9 @@ done:
1638 * [modifies]
1639 *
1640 */
1641-int process_ov_principal(kcontext, fname, filep, verbose, linenop)
1642- krb5_context kcontext;
1643- const char *fname;
1644- FILE *filep;
1645- krb5_boolean verbose;
1646- int *linenop;
1647+int
1648+process_ov_principal(krb5_context kcontext, const char *fname, FILE *filep,
1649+ krb5_boolean verbose, int *linenop)
1650 {
1651 XDR xdrs;
1652 osa_princ_ent_t rec;
1653diff --git a/src/kadmin/dbutil/strtok.c b/src/kadmin/dbutil/strtok.c
1654index dee466a..93f3e85 100644
1655--- a/src/kadmin/dbutil/strtok.c
1656+++ b/src/kadmin/dbutil/strtok.c
1657@@ -50,9 +50,7 @@
1658 */
1659
1660 char *
1661-nstrtok(s, delim)
1662- char *s;
1663- const char *delim;
1664+nstrtok(char *s, const char *delim)
1665 {
1666 const char *spanp;
1667 int c, sc;
1668diff --git a/src/kadmin/ktutil/ktutil.c b/src/kadmin/ktutil/ktutil.c
1669index 92d7023..87a69ca 100644
1670--- a/src/kadmin/ktutil/ktutil.c
1671+++ b/src/kadmin/ktutil/ktutil.c
1672@@ -39,9 +39,8 @@ extern ss_request_table ktutil_cmds;
1673 krb5_context kcontext;
1674 krb5_kt_list ktlist = NULL;
1675
1676-int main(argc, argv)
1677- int argc;
1678- char *argv[];
1679+int
1680+main(int argc, char *argv[])
1681 {
1682 krb5_error_code retval;
1683 int sci_idx;
1684@@ -63,9 +62,8 @@ int main(argc, argv)
1685 exit(0);
1686 }
1687
1688-void ktutil_clear_list(argc, argv)
1689- int argc;
1690- char *argv[];
1691+void
1692+ktutil_clear_list(int argc, char *argv[])
1693 {
1694 krb5_error_code retval;
1695
1696@@ -79,9 +77,8 @@ void ktutil_clear_list(argc, argv)
1697 ktlist = NULL;
1698 }
1699
1700-void ktutil_read_v5(argc, argv)
1701- int argc;
1702- char *argv[];
1703+void
1704+ktutil_read_v5(int argc, char *argv[])
1705 {
1706 krb5_error_code retval;
1707
1708@@ -94,17 +91,15 @@ void ktutil_read_v5(argc, argv)
1709 com_err(argv[0], retval, _("while reading keytab \"%s\""), argv[1]);
1710 }
1711
1712-void ktutil_read_v4(argc, argv)
1713- int argc;
1714- char *argv[];
1715+void
1716+ktutil_read_v4(int argc, char *argv[])
1717 {
1718 fprintf(stderr, _("%s: reading srvtabs is no longer supported\n"),
1719 argv[0]);
1720 }
1721
1722-void ktutil_write_v5(argc, argv)
1723- int argc;
1724- char *argv[];
1725+void
1726+ktutil_write_v5(int argc, char *argv[])
1727 {
1728 krb5_error_code retval;
1729
1730@@ -117,17 +112,15 @@ void ktutil_write_v5(argc, argv)
1731 com_err(argv[0], retval, _("while writing keytab \"%s\""), argv[1]);
1732 }
1733
1734-void ktutil_write_v4(argc, argv)
1735- int argc;
1736- char *argv[];
1737+void
1738+ktutil_write_v4(int argc, char *argv[])
1739 {
1740 fprintf(stderr, _("%s: writing srvtabs is no longer supported\n"),
1741 argv[0]);
1742 }
1743
1744-void ktutil_add_entry(argc, argv)
1745- int argc;
1746- char *argv[];
1747+void
1748+ktutil_add_entry(int argc, char *argv[])
1749 {
1750 krb5_error_code retval;
1751 char *princ = NULL;
1752@@ -183,9 +176,8 @@ void ktutil_add_entry(argc, argv)
1753 com_err(argv[0], retval, _("while adding new entry"));
1754 }
1755
1756-void ktutil_delete_entry(argc, argv)
1757- int argc;
1758- char *argv[];
1759+void
1760+ktutil_delete_entry(int argc, char *argv[])
1761 {
1762 krb5_error_code retval;
1763
1764@@ -198,9 +190,8 @@ void ktutil_delete_entry(argc, argv)
1765 com_err(argv[0], retval, _("while deleting entry %d"), atoi(argv[1]));
1766 }
1767
1768-void ktutil_list(argc, argv)
1769- int argc;
1770- char *argv[];
1771+void
1772+ktutil_list(int argc, char *argv[])
1773 {
1774 krb5_error_code retval;
1775 krb5_kt_list lp;
1776diff --git a/src/kadmin/ktutil/ktutil_funcs.c b/src/kadmin/ktutil/ktutil_funcs.c
1777index 56bed1b..e489b5b 100644
1778--- a/src/kadmin/ktutil/ktutil_funcs.c
1779+++ b/src/kadmin/ktutil/ktutil_funcs.c
1780@@ -37,9 +37,8 @@
1781 /*
1782 * Free a kt_list
1783 */
1784-krb5_error_code ktutil_free_kt_list(context, list)
1785- krb5_context context;
1786- krb5_kt_list list;
1787+krb5_error_code
1788+ktutil_free_kt_list(krb5_context context, krb5_kt_list list)
1789 {
1790 krb5_kt_list lp, prev;
1791 krb5_error_code retval = 0;
1792@@ -60,10 +59,8 @@ krb5_error_code ktutil_free_kt_list(context, list)
1793 * Delete a numbered entry in a kt_list. Takes a pointer to a kt_list
1794 * in case head gets deleted.
1795 */
1796-krb5_error_code ktutil_delete(context, list, idx)
1797- krb5_context context;
1798- krb5_kt_list *list;
1799- int idx;
1800+krb5_error_code
1801+ktutil_delete(krb5_context context, krb5_kt_list *list, int idx)
1802 {
1803 krb5_kt_list lp, prev;
1804 int i;
1805@@ -138,16 +135,10 @@ get_etype_info(krb5_context context, krb5_principal princ, int fetch,
1806 * password or key. If the keytab list is NULL, allocate a new
1807 * one first.
1808 */
1809-krb5_error_code ktutil_add(context, list, princ_str, fetch, kvno,
1810- enctype_str, use_pass, salt_str)
1811- krb5_context context;
1812- krb5_kt_list *list;
1813- char *princ_str;
1814- int fetch;
1815- krb5_kvno kvno;
1816- char *enctype_str;
1817- int use_pass;
1818- char *salt_str;
1819+krb5_error_code
1820+ktutil_add(krb5_context context, krb5_kt_list *list, char *princ_str,
1821+ int fetch, krb5_kvno kvno, char *enctype_str, int use_pass,
1822+ char *salt_str)
1823 {
1824 krb5_keytab_entry *entry = NULL;
1825 krb5_kt_list lp, *last;
1826@@ -269,10 +260,8 @@ cleanup:
1827 * Read in a keytab and append it to list. If list starts as NULL,
1828 * allocate a new one if necessary.
1829 */
1830-krb5_error_code ktutil_read_keytab(context, name, list)
1831- krb5_context context;
1832- char *name;
1833- krb5_kt_list *list;
1834+krb5_error_code
1835+ktutil_read_keytab(krb5_context context, char *name, krb5_kt_list *list)
1836 {
1837 krb5_kt_list lp = NULL, tail = NULL, back = NULL;
1838 krb5_keytab kt;
1839@@ -344,10 +333,8 @@ close_kt:
1840 /*
1841 * Takes a kt_list and writes it to the named keytab.
1842 */
1843-krb5_error_code ktutil_write_keytab(context, list, name)
1844- krb5_context context;
1845- krb5_kt_list list;
1846- char *name;
1847+krb5_error_code
1848+ktutil_write_keytab(krb5_context context, krb5_kt_list list, char *name)
1849 {
1850 krb5_kt_list lp;
1851 krb5_keytab kt;
1852diff --git a/src/kadmin/server/ipropd_svc.c b/src/kadmin/server/ipropd_svc.c
1853index 56e9b90..e5dd233 100644
1854--- a/src/kadmin/server/ipropd_svc.c
1855+++ b/src/kadmin/server/ipropd_svc.c
1856@@ -535,8 +535,8 @@ krb5_iprop_prog_1(struct svc_req *rqstp,
1857 kdb_last_t iprop_get_updates_1_arg;
1858 } argument;
1859 void *result;
1860- bool_t (*_xdr_argument)(), (*_xdr_result)();
1861- void *(*local)(/* union XXX *, struct svc_req * */);
1862+ xdrproc_t _xdr_argument, _xdr_result;
1863+ void *(*local)(char *, struct svc_req *);
1864 char *whoami = "krb5_iprop_prog_1";
1865
1866 if (!check_iprop_rpcsec_auth(rqstp)) {
1867@@ -555,21 +555,21 @@ krb5_iprop_prog_1(struct svc_req *rqstp,
1868 return;
1869
1870 case IPROP_GET_UPDATES:
1871- _xdr_argument = xdr_kdb_last_t;
1872- _xdr_result = xdr_kdb_incr_result_t;
1873- local = (void *(*)()) iprop_get_updates_1_svc;
1874+ _xdr_argument = (xdrproc_t)xdr_kdb_last_t;
1875+ _xdr_result = (xdrproc_t)xdr_kdb_incr_result_t;
1876+ local = (void *(*)(char *, struct svc_req *))iprop_get_updates_1_svc;
1877 break;
1878
1879 case IPROP_FULL_RESYNC:
1880- _xdr_argument = xdr_void;
1881- _xdr_result = xdr_kdb_fullresync_result_t;
1882- local = (void *(*)()) iprop_full_resync_1_svc;
1883+ _xdr_argument = (xdrproc_t)xdr_void;
1884+ _xdr_result = (xdrproc_t)xdr_kdb_fullresync_result_t;
1885+ local = (void *(*)(char *, struct svc_req *))iprop_full_resync_1_svc;
1886 break;
1887
1888 case IPROP_FULL_RESYNC_EXT:
1889- _xdr_argument = xdr_u_int32;
1890- _xdr_result = xdr_kdb_fullresync_result_t;
1891- local = (void *(*)()) iprop_full_resync_ext_1_svc;
1892+ _xdr_argument = (xdrproc_t)xdr_u_int32;
1893+ _xdr_result = (xdrproc_t)xdr_kdb_fullresync_result_t;
1894+ local = (void *(*)(char *, struct svc_req *))iprop_full_resync_ext_1_svc;
1895 break;
1896
1897 default:
1898@@ -587,7 +587,7 @@ krb5_iprop_prog_1(struct svc_req *rqstp,
1899 svcerr_decode(transp);
1900 return;
1901 }
1902- result = (*local)(&argument, rqstp);
1903+ result = (*local)((char *)&argument, rqstp);
1904
1905 if (_xdr_result && result != NULL &&
1906 !svc_sendreply(transp, _xdr_result, result)) {
1907diff --git a/src/kadmin/server/kadm_rpc_svc.c b/src/kadmin/server/kadm_rpc_svc.c
1908index 8371fa7..f0e43d9 100644
1909--- a/src/kadmin/server/kadm_rpc_svc.c
1910+++ b/src/kadmin/server/kadm_rpc_svc.c
1911@@ -9,6 +9,7 @@
1912 #include <gssapi/gssapi_krb5.h> /* for gss_nt_krb5_name */
1913 #include <syslog.h>
1914 #include <kadm5/kadm_rpc.h>
1915+#include <kadm5/admin_xdr.h>
1916 #include <krb5.h>
1917 #include <kadm5/admin.h>
1918 #include <adm_proto.h>
1919@@ -36,9 +37,8 @@ static int check_rpcsec_auth(struct svc_req *);
1920 * Modifies:
1921 */
1922
1923-void kadm_1(rqstp, transp)
1924- struct svc_req *rqstp;
1925- SVCXPRT *transp;
1926+void
1927+kadm_1(struct svc_req *rqstp, SVCXPRT *transp)
1928 {
1929 union {
1930 cprinc_arg create_principal_2_arg;
1931@@ -73,8 +73,8 @@ void kadm_1(rqstp, transp)
1932 getpkeys_ret get_principal_keys_ret;
1933 } result;
1934 bool_t retval;
1935- bool_t (*xdr_argument)(), (*xdr_result)();
1936- bool_t (*local)();
1937+ xdrproc_t xdr_argument, xdr_result;
1938+ bool_t (*local)(char *, void *, struct svc_req *);
1939
1940 if (rqstp->rq_cred.oa_flavor != AUTH_GSSAPI &&
1941 !check_rpcsec_auth(rqstp)) {
1942@@ -92,153 +92,153 @@ void kadm_1(rqstp, transp)
1943 return;
1944
1945 case CREATE_PRINCIPAL:
1946- xdr_argument = xdr_cprinc_arg;
1947- xdr_result = xdr_generic_ret;
1948- local = (bool_t (*)()) create_principal_2_svc;
1949+ xdr_argument = (xdrproc_t)xdr_cprinc_arg;
1950+ xdr_result = (xdrproc_t)xdr_generic_ret;
1951+ local = (bool_t (*)(char *, void *, struct svc_req *))create_principal_2_svc;
1952 break;
1953
1954 case DELETE_PRINCIPAL:
1955- xdr_argument = xdr_dprinc_arg;
1956- xdr_result = xdr_generic_ret;
1957- local = (bool_t (*)()) delete_principal_2_svc;
1958+ xdr_argument = (xdrproc_t)xdr_dprinc_arg;
1959+ xdr_result = (xdrproc_t)xdr_generic_ret;
1960+ local = (bool_t (*)(char *, void *, struct svc_req *))delete_principal_2_svc;
1961 break;
1962
1963 case MODIFY_PRINCIPAL:
1964- xdr_argument = xdr_mprinc_arg;
1965- xdr_result = xdr_generic_ret;
1966- local = (bool_t (*)()) modify_principal_2_svc;
1967+ xdr_argument = (xdrproc_t)xdr_mprinc_arg;
1968+ xdr_result = (xdrproc_t)xdr_generic_ret;
1969+ local = (bool_t (*)(char *, void *, struct svc_req *))modify_principal_2_svc;
1970 break;
1971
1972 case RENAME_PRINCIPAL:
1973- xdr_argument = xdr_rprinc_arg;
1974- xdr_result = xdr_generic_ret;
1975- local = (bool_t (*)()) rename_principal_2_svc;
1976+ xdr_argument = (xdrproc_t)xdr_rprinc_arg;
1977+ xdr_result = (xdrproc_t)xdr_generic_ret;
1978+ local = (bool_t (*)(char *, void *, struct svc_req *))rename_principal_2_svc;
1979 break;
1980
1981 case GET_PRINCIPAL:
1982- xdr_argument = xdr_gprinc_arg;
1983- xdr_result = xdr_gprinc_ret;
1984- local = (bool_t (*)()) get_principal_2_svc;
1985+ xdr_argument = (xdrproc_t)xdr_gprinc_arg;
1986+ xdr_result = (xdrproc_t)xdr_gprinc_ret;
1987+ local = (bool_t (*)(char *, void *, struct svc_req *))get_principal_2_svc;
1988 break;
1989
1990 case GET_PRINCS:
1991- xdr_argument = xdr_gprincs_arg;
1992- xdr_result = xdr_gprincs_ret;
1993- local = (bool_t (*)()) get_princs_2_svc;
1994+ xdr_argument = (xdrproc_t)xdr_gprincs_arg;
1995+ xdr_result = (xdrproc_t)xdr_gprincs_ret;
1996+ local = (bool_t (*)(char *, void *, struct svc_req *))get_princs_2_svc;
1997 break;
1998
1999 case CHPASS_PRINCIPAL:
2000- xdr_argument = xdr_chpass_arg;
2001- xdr_result = xdr_generic_ret;
2002- local = (bool_t (*)()) chpass_principal_2_svc;
2003+ xdr_argument = (xdrproc_t)xdr_chpass_arg;
2004+ xdr_result = (xdrproc_t)xdr_generic_ret;
2005+ local = (bool_t (*)(char *, void *, struct svc_req *))chpass_principal_2_svc;
2006 break;
2007
2008 case SETKEY_PRINCIPAL:
2009- xdr_argument = xdr_setkey_arg;
2010- xdr_result = xdr_generic_ret;
2011- local = (bool_t (*)()) setkey_principal_2_svc;
2012+ xdr_argument = (xdrproc_t)xdr_setkey_arg;
2013+ xdr_result = (xdrproc_t)xdr_generic_ret;
2014+ local = (bool_t (*)(char *, void *, struct svc_req *))setkey_principal_2_svc;
2015 break;
2016
2017 case CHRAND_PRINCIPAL:
2018- xdr_argument = xdr_chrand_arg;
2019- xdr_result = xdr_chrand_ret;
2020- local = (bool_t (*)()) chrand_principal_2_svc;
2021+ xdr_argument = (xdrproc_t)xdr_chrand_arg;
2022+ xdr_result = (xdrproc_t)xdr_chrand_ret;
2023+ local = (bool_t (*)(char *, void *, struct svc_req *))chrand_principal_2_svc;
2024 break;
2025
2026 case CREATE_POLICY:
2027- xdr_argument = xdr_cpol_arg;
2028- xdr_result = xdr_generic_ret;
2029- local = (bool_t (*)()) create_policy_2_svc;
2030+ xdr_argument = (xdrproc_t)xdr_cpol_arg;
2031+ xdr_result = (xdrproc_t)xdr_generic_ret;
2032+ local = (bool_t (*)(char *, void *, struct svc_req *))create_policy_2_svc;
2033 break;
2034
2035 case DELETE_POLICY:
2036- xdr_argument = xdr_dpol_arg;
2037- xdr_result = xdr_generic_ret;
2038- local = (bool_t (*)()) delete_policy_2_svc;
2039+ xdr_argument = (xdrproc_t)xdr_dpol_arg;
2040+ xdr_result = (xdrproc_t)xdr_generic_ret;
2041+ local = (bool_t (*)(char *, void *, struct svc_req *))delete_policy_2_svc;
2042 break;
2043
2044 case MODIFY_POLICY:
2045- xdr_argument = xdr_mpol_arg;
2046- xdr_result = xdr_generic_ret;
2047- local = (bool_t (*)()) modify_policy_2_svc;
2048+ xdr_argument = (xdrproc_t)xdr_mpol_arg;
2049+ xdr_result = (xdrproc_t)xdr_generic_ret;
2050+ local = (bool_t (*)(char *, void *, struct svc_req *))modify_policy_2_svc;
2051 break;
2052
2053 case GET_POLICY:
2054- xdr_argument = xdr_gpol_arg;
2055- xdr_result = xdr_gpol_ret;
2056- local = (bool_t (*)()) get_policy_2_svc;
2057+ xdr_argument = (xdrproc_t)xdr_gpol_arg;
2058+ xdr_result = (xdrproc_t)xdr_gpol_ret;
2059+ local = (bool_t (*)(char *, void *, struct svc_req *))get_policy_2_svc;
2060 break;
2061
2062 case GET_POLS:
2063- xdr_argument = xdr_gpols_arg;
2064- xdr_result = xdr_gpols_ret;
2065- local = (bool_t (*)()) get_pols_2_svc;
2066+ xdr_argument = (xdrproc_t)xdr_gpols_arg;
2067+ xdr_result = (xdrproc_t)xdr_gpols_ret;
2068+ local = (bool_t (*)(char *, void *, struct svc_req *))get_pols_2_svc;
2069 break;
2070
2071 case GET_PRIVS:
2072- xdr_argument = xdr_u_int32;
2073- xdr_result = xdr_getprivs_ret;
2074- local = (bool_t (*)()) get_privs_2_svc;
2075+ xdr_argument = (xdrproc_t)xdr_u_int32;
2076+ xdr_result = (xdrproc_t)xdr_getprivs_ret;
2077+ local = (bool_t (*)(char *, void *, struct svc_req *))get_privs_2_svc;
2078 break;
2079
2080 case INIT:
2081- xdr_argument = xdr_u_int32;
2082- xdr_result = xdr_generic_ret;
2083- local = (bool_t (*)()) init_2_svc;
2084+ xdr_argument = (xdrproc_t)xdr_u_int32;
2085+ xdr_result = (xdrproc_t)xdr_generic_ret;
2086+ local = (bool_t (*)(char *, void *, struct svc_req *))init_2_svc;
2087 break;
2088
2089 case CREATE_PRINCIPAL3:
2090- xdr_argument = xdr_cprinc3_arg;
2091- xdr_result = xdr_generic_ret;
2092- local = (bool_t (*)()) create_principal3_2_svc;
2093+ xdr_argument = (xdrproc_t)xdr_cprinc3_arg;
2094+ xdr_result = (xdrproc_t)xdr_generic_ret;
2095+ local = (bool_t (*)(char *, void *, struct svc_req *))create_principal3_2_svc;
2096 break;
2097
2098 case CHPASS_PRINCIPAL3:
2099- xdr_argument = xdr_chpass3_arg;
2100- xdr_result = xdr_generic_ret;
2101- local = (bool_t (*)()) chpass_principal3_2_svc;
2102+ xdr_argument = (xdrproc_t)xdr_chpass3_arg;
2103+ xdr_result = (xdrproc_t)xdr_generic_ret;
2104+ local = (bool_t (*)(char *, void *, struct svc_req *))chpass_principal3_2_svc;
2105 break;
2106
2107 case CHRAND_PRINCIPAL3:
2108- xdr_argument = xdr_chrand3_arg;
2109- xdr_result = xdr_chrand_ret;
2110- local = (bool_t (*)()) chrand_principal3_2_svc;
2111+ xdr_argument = (xdrproc_t)xdr_chrand3_arg;
2112+ xdr_result = (xdrproc_t)xdr_chrand_ret;
2113+ local = (bool_t (*)(char *, void *, struct svc_req *))chrand_principal3_2_svc;
2114 break;
2115
2116 case SETKEY_PRINCIPAL3:
2117- xdr_argument = xdr_setkey3_arg;
2118- xdr_result = xdr_generic_ret;
2119- local = (bool_t (*)()) setkey_principal3_2_svc;
2120+ xdr_argument = (xdrproc_t)xdr_setkey3_arg;
2121+ xdr_result = (xdrproc_t)xdr_generic_ret;
2122+ local = (bool_t (*)(char *, void *, struct svc_req *))setkey_principal3_2_svc;
2123 break;
2124
2125 case PURGEKEYS:
2126- xdr_argument = xdr_purgekeys_arg;
2127- xdr_result = xdr_generic_ret;
2128- local = (bool_t (*)()) purgekeys_2_svc;
2129+ xdr_argument = (xdrproc_t)xdr_purgekeys_arg;
2130+ xdr_result = (xdrproc_t)xdr_generic_ret;
2131+ local = (bool_t (*)(char *, void *, struct svc_req *))purgekeys_2_svc;
2132 break;
2133
2134 case GET_STRINGS:
2135- xdr_argument = xdr_gstrings_arg;
2136- xdr_result = xdr_gstrings_ret;
2137- local = (bool_t (*)()) get_strings_2_svc;
2138+ xdr_argument = (xdrproc_t)xdr_gstrings_arg;
2139+ xdr_result = (xdrproc_t)xdr_gstrings_ret;
2140+ local = (bool_t (*)(char *, void *, struct svc_req *))get_strings_2_svc;
2141 break;
2142
2143 case SET_STRING:
2144- xdr_argument = xdr_sstring_arg;
2145- xdr_result = xdr_generic_ret;
2146- local = (bool_t (*)()) set_string_2_svc;
2147+ xdr_argument = (xdrproc_t)xdr_sstring_arg;
2148+ xdr_result = (xdrproc_t)xdr_generic_ret;
2149+ local = (bool_t (*)(char *, void *, struct svc_req *))set_string_2_svc;
2150 break;
2151
2152 case SETKEY_PRINCIPAL4:
2153- xdr_argument = xdr_setkey4_arg;
2154- xdr_result = xdr_generic_ret;
2155- local = (bool_t (*)()) setkey_principal4_2_svc;
2156+ xdr_argument = (xdrproc_t)xdr_setkey4_arg;
2157+ xdr_result = (xdrproc_t)xdr_generic_ret;
2158+ local = (bool_t (*)(char *, void *, struct svc_req *))setkey_principal4_2_svc;
2159 break;
2160
2161 case EXTRACT_KEYS:
2162- xdr_argument = xdr_getpkeys_arg;
2163- xdr_result = xdr_getpkeys_ret;
2164- local = (bool_t (*)()) get_principal_keys_2_svc;
2165+ xdr_argument = (xdrproc_t)xdr_getpkeys_arg;
2166+ xdr_result = (xdrproc_t)xdr_getpkeys_ret;
2167+ local = (bool_t (*)(char *, void *, struct svc_req *))get_principal_keys_2_svc;
2168 break;
2169
2170 default:
2171@@ -253,7 +253,7 @@ void kadm_1(rqstp, transp)
2172 return;
2173 }
2174 memset(&result, 0, sizeof(result));
2175- retval = (*local)(&argument, &result, rqstp);
2176+ retval = (*local)((char *)&argument, &result, rqstp);
2177 if (retval && !svc_sendreply(transp, xdr_result, (void *)&result)) {
2178 krb5_klog_syslog(LOG_ERR, "WARNING! Unable to send function results, "
2179 "continuing.");
2180diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c
2181index b29a0f5..a9508af 100644
2182--- a/src/kadmin/server/ovsec_kadmd.c
2183+++ b/src/kadmin/server/ovsec_kadmd.c
2184@@ -77,7 +77,7 @@ static krb5_context context;
2185 static char *progname;
2186
2187 static void
2188-usage()
2189+usage(void)
2190 {
2191 fprintf(stderr, _("Usage: kadmind [-x db_args]* [-r realm] [-m] [-nofork] "
2192 "[-port port-number]\n"
2193@@ -173,7 +173,7 @@ setup_loop(kadm5_config_params *params, int proponly, verto_ctx **ctx_out)
2194
2195 /* Point GSSAPI at the KDB keytab so we don't need an actual file keytab. */
2196 static krb5_error_code
2197-setup_kdb_keytab()
2198+setup_kdb_keytab(void)
2199 {
2200 krb5_error_code ret;
2201
2202diff --git a/src/kdc/t_ndr.c b/src/kdc/t_ndr.c
2203index a3ac661..c2a2414 100644
2204--- a/src/kdc/t_ndr.c
2205+++ b/src/kdc/t_ndr.c
2206@@ -173,7 +173,7 @@ test_dec_enc(uint8_t *blob, size_t len, char *name, int fail)
2207 #define RUN_TEST_FAIL(blob) test_dec_enc(blob, sizeof(blob), #blob, 1)
2208
2209 int
2210-main()
2211+main(void)
2212 {
2213 printf("Running NDR tests...\n");
2214
2215diff --git a/src/kdc/t_replay.c b/src/kdc/t_replay.c
2216index 57aad88..c9c9d65 100644
2217--- a/src/kdc/t_replay.c
2218+++ b/src/kdc/t_replay.c
2219@@ -570,7 +570,8 @@ test_kdc_insert_lookaside_cache_expire(void **state)
2220 assert_int_equal(total_size, e2_size);
2221 }
2222
2223-int main()
2224+int
2225+main(void)
2226 {
2227 int ret;
2228
2229@@ -611,7 +612,8 @@ int main()
2230
2231 #else /* NOCACHE */
2232
2233-int main()
2234+int
2235+main(void)
2236 {
2237 return 0;
2238 }
2239diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c
2240index aa3c81e..1b530fc 100644
2241--- a/src/kprop/kpropd.c
2242+++ b/src/kprop/kpropd.c
2243@@ -165,7 +165,7 @@ static kadm5_ret_t kadm5_get_kiprop_host_srv_name(krb5_context context,
2244 char **host_service_name);
2245
2246 static void
2247-usage()
2248+usage(void)
2249 {
2250 fprintf(stderr,
2251 _("\nUsage: %s [-r realm] [-s keytab] [-d] [-D] [-S]\n"
2252diff --git a/src/kprop/kproplog.c b/src/kprop/kproplog.c
2253index 06af2a1..1f10aa6 100644
2254--- a/src/kprop/kproplog.c
2255+++ b/src/kprop/kproplog.c
2256@@ -24,7 +24,7 @@
2257 static char *progname;
2258
2259 static void
2260-usage()
2261+usage(void)
2262 {
2263 fprintf(stderr, _("\nUsage: %s [-h] [-v] [-v] [-e num]\n\t%s -R\n\n"),
2264 progname, progname);
2265@@ -393,7 +393,7 @@ print_update(kdb_hlog_t *ulog, uint32_t entry, uint32_t ulogentries,
2266 print_attr(&upd.kdb_update.kdbe_t_val[j], verbose > 1 ? 1 : 0);
2267 }
2268
2269- xdr_free(xdr_kdb_incr_update_t, (char *)&upd);
2270+ xdr_free((xdrproc_t)xdr_kdb_incr_update_t, (char *)&upd);
2271 free(dbprinc);
2272 }
2273 }
2274diff --git a/src/lib/apputils/net-server.c b/src/lib/apputils/net-server.c
2275index 1bdc793..75372d8 100644
2276--- a/src/lib/apputils/net-server.c
2277+++ b/src/lib/apputils/net-server.c
2278@@ -203,7 +203,7 @@ struct connection {
2279 struct rpc_svc_data {
2280 u_long prognum;
2281 u_long versnum;
2282- void (*dispatch)();
2283+ void (*dispatch)(struct svc_req *, SVCXPRT *);
2284 };
2285
2286 struct bind_address {
2287@@ -255,7 +255,7 @@ free_sighup_context(verto_ctx *ctx, verto_ev *ev)
2288 }
2289
2290 krb5_error_code
2291-loop_setup_signals(verto_ctx *ctx, void *handle, void (*reset)())
2292+loop_setup_signals(verto_ctx *ctx, void *handle, void (*reset)(void *))
2293 {
2294 struct sighup_context *sc;
2295 verto_ev *ev;
2296@@ -434,7 +434,8 @@ loop_add_tcp_address(int default_port, const char *addresses)
2297
2298 krb5_error_code
2299 loop_add_rpc_service(int default_port, const char *addresses, u_long prognum,
2300- u_long versnum, void (*dispatchfn)())
2301+ u_long versnum,
2302+ void (*dispatchfn)(struct svc_req *, SVCXPRT *))
2303 {
2304 struct rpc_svc_data svc;
2305
2306diff --git a/src/lib/crypto/builtin/aes/aes-gen.c b/src/lib/crypto/builtin/aes/aes-gen.c
2307index b528d37..4d7a16e 100644
2308--- a/src/lib/crypto/builtin/aes/aes-gen.c
2309+++ b/src/lib/crypto/builtin/aes/aes-gen.c
2310@@ -54,7 +54,8 @@ uint8_t test_case[NTESTS][4 * B] = {
2311 aes_encrypt_ctx ctx;
2312 aes_decrypt_ctx dctx;
2313
2314-static void init ()
2315+static void
2316+init (void)
2317 {
2318 AES_RETURN r;
2319
2320@@ -71,7 +72,8 @@ static void hexdump(const unsigned char *ptr, size_t len)
2321 printf ("%s%02X", (i % 16 == 0) ? "\n " : " ", ptr[i]);
2322 }
2323
2324-static void fips_test ()
2325+static void
2326+fips_test (void)
2327 {
2328 static const unsigned char fipskey[16] = {
2329 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
2330@@ -254,7 +256,8 @@ cts_dec (unsigned char *out, unsigned char *in, unsigned char *iv,
2331 memcpy(out+B, pn, len-B);
2332 }
2333
2334-static void ecb_test ()
2335+static void
2336+ecb_test (void)
2337 {
2338 unsigned int testno;
2339 uint8_t output[4 * B], tmp[4 * B];
2340@@ -285,7 +288,8 @@ static void ecb_test ()
2341
2342 unsigned char ivec[16] = { 0 };
2343
2344-static void cbc_test ()
2345+static void
2346+cbc_test (void)
2347 {
2348 unsigned int testno;
2349 uint8_t output[4 * B], tmp[4 * B];
2350@@ -314,7 +318,8 @@ static void cbc_test ()
2351 printf ("\n");
2352 }
2353
2354-static void cts_test ()
2355+static void
2356+cts_test (void)
2357 {
2358 unsigned int testno;
2359 uint8_t output[4 * B], tmp[4 * B];
2360@@ -339,7 +344,8 @@ static void cts_test ()
2361 printf ("\n");
2362 }
2363
2364-int main ()
2365+int
2366+main (void)
2367 {
2368 init ();
2369 fips_test ();
2370diff --git a/src/lib/crypto/builtin/camellia/camellia-gen.c b/src/lib/crypto/builtin/camellia/camellia-gen.c
2371index 23b69c1..6eca0e0 100644
2372--- a/src/lib/crypto/builtin/camellia/camellia-gen.c
2373+++ b/src/lib/crypto/builtin/camellia/camellia-gen.c
2374@@ -19,7 +19,8 @@ struct {
2375 } test_case[NTESTS];
2376 camellia_ctx ctx, dctx;
2377
2378-static void init ()
2379+static void
2380+init (void)
2381 {
2382 size_t i, j;
2383 cam_rval r;
2384@@ -46,7 +47,8 @@ static void hexdump(const unsigned char *ptr, size_t len)
2385 printf ("%s%02X", (i % 16 == 0) ? "\n " : " ", ptr[i]);
2386 }
2387
2388-static void fips_test ()
2389+static void
2390+fips_test (void)
2391 {
2392 static const unsigned char fipskey[16] = {
2393 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
2394@@ -234,7 +236,8 @@ cts_dec (unsigned char *out, unsigned char *in, unsigned char *iv,
2395 memcpy(out+B, pn, len-B);
2396 }
2397
2398-static void ecb_test ()
2399+static void
2400+ecb_test (void)
2401 {
2402 size_t testno;
2403 unsigned char tmp[4*B];
2404@@ -265,7 +268,8 @@ static void ecb_test ()
2405
2406 unsigned char ivec[16] = { 0 };
2407
2408-static void cbc_test ()
2409+static void
2410+cbc_test (void)
2411 {
2412 size_t testno;
2413 unsigned char tmp[4*B];
2414@@ -294,7 +298,8 @@ static void cbc_test ()
2415 printf ("\n");
2416 }
2417
2418-static void cts_test ()
2419+static void
2420+cts_test (void)
2421 {
2422 size_t testno;
2423 unsigned char tmp[4*B];
2424@@ -319,7 +324,8 @@ static void cts_test ()
2425 printf ("\n");
2426 }
2427
2428-int main ()
2429+int
2430+main (void)
2431 {
2432 init ();
2433 fips_test ();
2434diff --git a/src/lib/crypto/builtin/des/des_int.h b/src/lib/crypto/builtin/des/des_int.h
2435index f8dc6b2..46fed7d 100644
2436--- a/src/lib/crypto/builtin/des/des_int.h
2437+++ b/src/lib/crypto/builtin/des/des_int.h
2438@@ -203,9 +203,6 @@ krb5_error_code mit_des_combine_subkeys(const krb5_keyblock *,
2439 const krb5_keyblock *,
2440 krb5_keyblock **);
2441
2442-/* f_pcbc.c */
2443-int mit_des_pcbc_encrypt();
2444-
2445 /* f_sched.c */
2446 int mit_des_make_key_sched(mit_des_cblock, mit_des_key_schedule);
2447
2448diff --git a/src/lib/crypto/builtin/des/destest.c b/src/lib/crypto/builtin/des/destest.c
2449index 5211430..0a1a5be 100644
2450--- a/src/lib/crypto/builtin/des/destest.c
2451+++ b/src/lib/crypto/builtin/des/destest.c
2452@@ -62,9 +62,7 @@ void des_cblock_print_file (mit_des_cblock, FILE *);
2453 krb5_octet zeroblock[8] = {0,0,0,0,0,0,0,0};
2454
2455 int
2456-main(argc, argv)
2457- int argc;
2458- char *argv[];
2459+main(int argc, char *argv[])
2460 {
2461 char block1[17], block2[17], block3[17];
2462 /* Force tests of unaligned accesses. */
2463@@ -151,9 +149,7 @@ int value[128] = {
2464 };
2465
2466 void
2467-convert(text, cblock)
2468- char *text;
2469- unsigned char cblock[];
2470+convert(char *text, unsigned char cblock[])
2471 {
2472 int i;
2473 for (i = 0; i < 8; i++) {
2474@@ -173,16 +169,13 @@ convert(text, cblock)
2475 */
2476
2477 int
2478-mit_des_is_weak_key(key)
2479- mit_des_cblock key;
2480+mit_des_is_weak_key(mit_des_cblock key)
2481 {
2482 return 0; /* fake it out for testing */
2483 }
2484
2485 void
2486-des_cblock_print_file(x, fp)
2487- mit_des_cblock x;
2488- FILE *fp;
2489+des_cblock_print_file(mit_des_cblock x, FILE *fp)
2490 {
2491 unsigned char *y = (unsigned char *) x;
2492 int i = 0;
2493@@ -207,8 +200,7 @@ des_cblock_print_file(x, fp)
2494 * correct des parity.
2495 */
2496 int
2497-mit_des_check_key_parity(key)
2498- mit_des_cblock key;
2499+mit_des_check_key_parity(mit_des_cblock key)
2500 {
2501 unsigned int i;
2502
2503@@ -226,8 +218,7 @@ mit_des_check_key_parity(key)
2504 }
2505
2506 void
2507-mit_des_fixup_key_parity(key)
2508- mit_des_cblock key;
2509+mit_des_fixup_key_parity(mit_des_cblock key)
2510 {
2511 unsigned int i;
2512 for (i=0; i<sizeof(mit_des_cblock); i++)
2513diff --git a/src/lib/crypto/builtin/des/t_verify.c b/src/lib/crypto/builtin/des/t_verify.c
2514index 4a19933..11f1a40 100644
2515--- a/src/lib/crypto/builtin/des/t_verify.c
2516+++ b/src/lib/crypto/builtin/des/t_verify.c
2517@@ -128,9 +128,7 @@ unsigned char mresult[8] = {
2518 mit_des_key_schedule sched;
2519
2520 int
2521-main(argc,argv)
2522- int argc;
2523- char *argv[];
2524+main(int argc, char *argv[])
2525 {
2526 /* Local Declarations */
2527 size_t in_length;
2528@@ -335,9 +333,7 @@ main(argc,argv)
2529 }
2530
2531 static void
2532-do_encrypt(in,out)
2533- unsigned char *in;
2534- unsigned char *out;
2535+do_encrypt(unsigned char *in, unsigned char *out)
2536 {
2537 int i, j;
2538 for (i =1; i<=nflag; i++) {
2539@@ -359,9 +355,7 @@ do_encrypt(in,out)
2540 }
2541
2542 static void
2543-do_decrypt(in,out)
2544- unsigned char *out;
2545- unsigned char *in;
2546+do_decrypt(unsigned char *in, unsigned char *out)
2547 /* try to invert it */
2548 {
2549 int i, j;
2550@@ -388,8 +382,7 @@ do_decrypt(in,out)
2551 */
2552
2553 int
2554-mit_des_is_weak_key(key)
2555- mit_des_cblock key;
2556+mit_des_is_weak_key(mit_des_cblock key)
2557 {
2558 return 0; /* fake it out for testing */
2559 }
2560diff --git a/src/lib/crypto/builtin/sha1/t_shs.c b/src/lib/crypto/builtin/sha1/t_shs.c
2561index c1d18f5..a668cb0 100644
2562--- a/src/lib/crypto/builtin/sha1/t_shs.c
2563+++ b/src/lib/crypto/builtin/sha1/t_shs.c
2564@@ -29,9 +29,8 @@ static SHS_LONG shsTestResults[][ 5 ] = {
2565 };
2566 #endif /* NEW_SHS */
2567
2568-static int compareSHSresults(shsInfo, shsTestLevel)
2569- SHS_INFO *shsInfo;
2570- int shsTestLevel;
2571+static int
2572+compareSHSresults(SHS_INFO *shsInfo, int shsTestLevel)
2573 {
2574 int i, fail = 0;
2575
2576@@ -55,7 +54,7 @@ static int compareSHSresults(shsInfo, shsTestLevel)
2577 }
2578
2579 int
2580-main()
2581+main(int argc, char *argv[])
2582 {
2583 SHS_INFO shsInfo;
2584 unsigned int i;
2585diff --git a/src/lib/crypto/builtin/sha1/t_shs3.c b/src/lib/crypto/builtin/sha1/t_shs3.c
2586index 7aa0bbd..87caf7f 100644
2587--- a/src/lib/crypto/builtin/sha1/t_shs3.c
2588+++ b/src/lib/crypto/builtin/sha1/t_shs3.c
2589@@ -55,9 +55,7 @@ int mode;
2590 int Dflag;
2591
2592 int
2593-main(argc,argv)
2594- int argc;
2595- char **argv;
2596+main(int argc, char **argv)
2597 {
2598 char *argp;
2599
2600@@ -131,8 +129,7 @@ static void process(void)
2601
2602 #ifndef shsDigest
2603 static unsigned char *
2604-shsDigest(si)
2605- SHS_INFO *si;
2606+shsDigest(SHS_INFO *si)
2607 {
2608 longReverse(si->digest, SHS_DIGESTSIZE);
2609 return (unsigned char*) si->digest;
2610diff --git a/src/lib/crypto/crypto_tests/aes-test.c b/src/lib/crypto/crypto_tests/aes-test.c
2611index a7382a4..d26f711 100644
2612--- a/src/lib/crypto/crypto_tests/aes-test.c
2613+++ b/src/lib/crypto/crypto_tests/aes-test.c
2614@@ -37,14 +37,14 @@ static char plain[16], cipher[16], zero[16];
2615
2616 static krb5_keyblock enc_key;
2617 static krb5_data ivec;
2618-static void init()
2619+static void init(void)
2620 {
2621 enc_key.contents = (krb5_octet *)key;
2622 enc_key.length = 16;
2623 ivec.data = zero;
2624 ivec.length = 16;
2625 }
2626-static void enc()
2627+static void enc(void)
2628 {
2629 krb5_key k;
2630 krb5_crypto_iov iov;
2631@@ -93,7 +93,7 @@ static void vk_test_1(int len, krb5_enctype etype)
2632 }
2633 printf("\n==========\n");
2634 }
2635-static void vk_test()
2636+static void vk_test(void)
2637 {
2638 vk_test_1(16, ENCTYPE_AES128_CTS_HMAC_SHA1_96);
2639 vk_test_1(32, ENCTYPE_AES256_CTS_HMAC_SHA1_96);
2640@@ -119,7 +119,7 @@ static void vt_test_1(int len, krb5_enctype etype)
2641 }
2642 printf("\n==========\n");
2643 }
2644-static void vt_test()
2645+static void vt_test(void)
2646 {
2647 vt_test_1(16, ENCTYPE_AES128_CTS_HMAC_SHA1_96);
2648 vt_test_1(32, ENCTYPE_AES256_CTS_HMAC_SHA1_96);
2649diff --git a/src/lib/crypto/crypto_tests/camellia-test.c b/src/lib/crypto/crypto_tests/camellia-test.c
2650index 23d1466..ca6579f 100644
2651--- a/src/lib/crypto/crypto_tests/camellia-test.c
2652+++ b/src/lib/crypto/crypto_tests/camellia-test.c
2653@@ -35,14 +35,14 @@ static char plain[16], cipher[16], zero[16];
2654
2655 static krb5_keyblock enc_key;
2656 static krb5_data ivec;
2657-static void init()
2658+static void init(void)
2659 {
2660 enc_key.contents = (unsigned char *)key;
2661 enc_key.length = 16;
2662 ivec.data = zero;
2663 ivec.length = 16;
2664 }
2665-static void enc()
2666+static void enc(void)
2667 {
2668 krb5_key k;
2669 krb5_crypto_iov iov;
2670@@ -91,7 +91,7 @@ static void vk_test_1(int len)
2671 }
2672 printf("\n==========\n");
2673 }
2674-static void vk_test()
2675+static void vk_test(void)
2676 {
2677 vk_test_1(16);
2678 vk_test_1(32);
2679@@ -117,7 +117,7 @@ static void vt_test_1(int len, krb5_enctype etype)
2680 }
2681 printf("\n==========\n");
2682 }
2683-static void vt_test()
2684+static void vt_test(void)
2685 {
2686 vt_test_1(16, ENCTYPE_CAMELLIA128_CTS_CMAC);
2687 vt_test_1(32, ENCTYPE_CAMELLIA256_CTS_CMAC);
2688diff --git a/src/lib/crypto/crypto_tests/t_cf2.c b/src/lib/crypto/crypto_tests/t_cf2.c
2689index 67c9dcd..4c894ad 100644
2690--- a/src/lib/crypto/crypto_tests/t_cf2.c
2691+++ b/src/lib/crypto/crypto_tests/t_cf2.c
2692@@ -46,7 +46,9 @@
2693 #include <stdio.h>
2694 #include <string.h>
2695
2696-int main () {
2697+int
2698+main(void)
2699+{
2700 krb5_error_code ret;
2701 char pepper1[1025], pepper2[1025];
2702 krb5_keyblock *k1 = NULL, *k2 = NULL, *out = NULL;
2703diff --git a/src/lib/crypto/crypto_tests/t_cts.c b/src/lib/crypto/crypto_tests/t_cts.c
2704index fe50516..f8a5a53 100644
2705--- a/src/lib/crypto/crypto_tests/t_cts.c
2706+++ b/src/lib/crypto/crypto_tests/t_cts.c
2707@@ -77,7 +77,7 @@ static void printk(const char *descr, krb5_keyblock *k) {
2708 printd(descr, &d);
2709 }
2710
2711-static void test_cts()
2712+static void test_cts(void)
2713 {
2714 static const char input[4*16] =
2715 "I would like the General Gau's Chicken, please, and wonton soup.";
2716diff --git a/src/lib/crypto/crypto_tests/t_encrypt.c b/src/lib/crypto/crypto_tests/t_encrypt.c
2717index bd9b946..64092ef 100644
2718--- a/src/lib/crypto/crypto_tests/t_encrypt.c
2719+++ b/src/lib/crypto/crypto_tests/t_encrypt.c
2720@@ -88,7 +88,7 @@ display(const char *msg, const krb5_data *d)
2721 }
2722
2723 int
2724-main ()
2725+main(void)
2726 {
2727 krb5_context context = 0;
2728 krb5_data in, in2, out, out2, check, check2, state, signdata;
2729diff --git a/src/lib/crypto/crypto_tests/t_fork.c b/src/lib/crypto/crypto_tests/t_fork.c
2730index 428fc8a..8be7474 100644
2731--- a/src/lib/crypto/crypto_tests/t_fork.c
2732+++ b/src/lib/crypto/crypto_tests/t_fork.c
2733@@ -55,7 +55,7 @@ prepare_enc_data(krb5_key key, size_t in_len, krb5_enc_data *enc_data)
2734 }
2735
2736 int
2737-main()
2738+main(void)
2739 {
2740 krb5_keyblock kb_aes, kb_rc4;
2741 krb5_key key_aes, key_rc4;
2742diff --git a/src/lib/crypto/crypto_tests/t_hmac.c b/src/lib/crypto/crypto_tests/t_hmac.c
2743index da359cb..e40136b 100644
2744--- a/src/lib/crypto/crypto_tests/t_hmac.c
2745+++ b/src/lib/crypto/crypto_tests/t_hmac.c
2746@@ -122,7 +122,8 @@ static krb5_error_code hmac1(const struct krb5_hash_provider *h,
2747 return err;
2748 }
2749
2750-static void test_hmac()
2751+static void
2752+test_hmac(void)
2753 {
2754 krb5_keyblock key;
2755 krb5_data in, out;
2756diff --git a/src/lib/crypto/crypto_tests/t_mddriver.c b/src/lib/crypto/crypto_tests/t_mddriver.c
2757index ad65d03..035f825 100644
2758--- a/src/lib/crypto/crypto_tests/t_mddriver.c
2759+++ b/src/lib/crypto/crypto_tests/t_mddriver.c
2760@@ -111,9 +111,8 @@ struct md_test_entry md_test_suite[] = {
2761 -t - runs time trial
2762 -x - runs test script
2763 */
2764-int main (argc, argv)
2765- int argc;
2766- char *argv[];
2767+int
2768+main(int argc, char *argv[])
2769 {
2770 int i;
2771
2772@@ -128,10 +127,8 @@ int main (argc, argv)
2773 return (0);
2774 }
2775
2776-static void MDHash (bytes, len, count, out)
2777- char *bytes;
2778- size_t len, count;
2779- unsigned char *out;
2780+static void
2781+MDHash(char *bytes, size_t len, size_t count, unsigned char *out)
2782 {
2783 krb5_crypto_iov *iov;
2784 krb5_data outdata = make_data (out, MDProvider.hashsize);
2785@@ -150,8 +147,8 @@ static void MDHash (bytes, len, count, out)
2786
2787 /* Digests a string and prints the result.
2788 */
2789-static void MDString (string)
2790- char *string;
2791+static void
2792+MDString(char *string)
2793 {
2794 unsigned char digest[16];
2795
2796@@ -164,7 +161,8 @@ static void MDString (string)
2797 /* Measures the time to digest TEST_BLOCK_COUNT TEST_BLOCK_LEN-byte
2798 blocks.
2799 */
2800-static void MDTimeTrial ()
2801+static void
2802+MDTimeTrial(void)
2803 {
2804 time_t endTime, startTime;
2805 unsigned char block[TEST_BLOCK_LEN], digest[16];
2806@@ -197,7 +195,8 @@ static void MDTimeTrial ()
2807
2808 /* Digests a reference suite of strings and prints the results.
2809 */
2810-static void MDTestSuite ()
2811+static void
2812+MDTestSuite(void)
2813 {
2814 #ifdef HAVE_TEST_SUITE
2815 struct md_test_entry *entry;
2816@@ -246,8 +245,8 @@ static void MDTestSuite ()
2817
2818 /* Prints a message digest in hexadecimal.
2819 */
2820-static void MDPrint (digest)
2821- unsigned char digest[16];
2822+static void
2823+MDPrint(unsigned char digest[16])
2824 {
2825 unsigned int i;
2826
2827diff --git a/src/lib/crypto/crypto_tests/t_nfold.c b/src/lib/crypto/crypto_tests/t_nfold.c
2828index b94353c..a741b61 100644
2829--- a/src/lib/crypto/crypto_tests/t_nfold.c
2830+++ b/src/lib/crypto/crypto_tests/t_nfold.c
2831@@ -33,17 +33,20 @@
2832
2833 #define ASIZE(ARRAY) (sizeof(ARRAY)/sizeof(ARRAY[0]))
2834
2835-static void printhex (size_t len, const unsigned char *p)
2836+static void
2837+printhex(size_t len, const unsigned char *p)
2838 {
2839 while (len--)
2840 printf ("%02x", 0xff & *p++);
2841 }
2842
2843-static void printstringhex (const unsigned char *p) {
2844+static void
2845+printstringhex(const unsigned char *p) {
2846 printhex (strlen ((const char *) p), p);
2847 }
2848
2849-static void rfc_tests ()
2850+static void
2851+rfc_tests(void)
2852 {
2853 unsigned i;
2854 struct {
2855@@ -92,7 +95,8 @@ static void rfc_tests ()
2856 }
2857 }
2858
2859-static void fold_kerberos(unsigned int nbytes)
2860+static void
2861+fold_kerberos(unsigned int nbytes)
2862 {
2863 unsigned char cipher_text[300];
2864 unsigned int j;
2865@@ -125,9 +129,7 @@ unsigned char nfold_192[4][24] = {
2866 };
2867
2868 int
2869-main(argc, argv)
2870- int argc;
2871- char *argv[];
2872+main(int argc, char *argv[])
2873 {
2874 unsigned char cipher_text[64];
2875 unsigned int i, j;
2876diff --git a/src/lib/crypto/crypto_tests/t_prf.c b/src/lib/crypto/crypto_tests/t_prf.c
2877index d9877bd..6fa0afb 100644
2878--- a/src/lib/crypto/crypto_tests/t_prf.c
2879+++ b/src/lib/crypto/crypto_tests/t_prf.c
2880@@ -116,7 +116,7 @@ struct test {
2881 };
2882
2883 int
2884-main()
2885+main(void)
2886 {
2887 krb5_error_code ret;
2888 krb5_data output;
2889diff --git a/src/lib/crypto/crypto_tests/t_sha2.c b/src/lib/crypto/crypto_tests/t_sha2.c
2890index e6fa584..776c4e9 100644
2891--- a/src/lib/crypto/crypto_tests/t_sha2.c
2892+++ b/src/lib/crypto/crypto_tests/t_sha2.c
2893@@ -137,7 +137,7 @@ hash_test(const struct krb5_hash_provider *hash, struct test *tests)
2894 }
2895
2896 int
2897-main()
2898+main(void)
2899 {
2900 hash_test(&krb5int_hash_sha256, sha256_tests);
2901 hash_test(&krb5int_hash_sha384, sha384_tests);
2902diff --git a/src/lib/gssapi/generic/t_seqstate.c b/src/lib/gssapi/generic/t_seqstate.c
2903index 8f44fcf..4df1ed6 100644
2904--- a/src/lib/gssapi/generic/t_seqstate.c
2905+++ b/src/lib/gssapi/generic/t_seqstate.c
2906@@ -164,7 +164,7 @@ struct test {
2907 };
2908
2909 int
2910-main()
2911+main(void)
2912 {
2913 size_t i, j;
2914 enum width w;
2915diff --git a/src/lib/gssapi/krb5/accept_sec_context.c b/src/lib/gssapi/krb5/accept_sec_context.c
2916index b35e11b..227aa54 100644
2917--- a/src/lib/gssapi/krb5/accept_sec_context.c
2918+++ b/src/lib/gssapi/krb5/accept_sec_context.c
2919@@ -160,11 +160,8 @@ create_constrained_deleg_creds(OM_uint32 *minor_status,
2920
2921 /* Decode, decrypt and store the forwarded creds in the local ccache. */
2922 static krb5_error_code
2923-rd_and_store_for_creds(context, auth_context, inbuf, out_cred)
2924- krb5_context context;
2925- krb5_auth_context auth_context;
2926- krb5_data *inbuf;
2927- krb5_gss_cred_id_t *out_cred;
2928+rd_and_store_for_creds(krb5_context context, krb5_auth_context auth_context,
2929+ krb5_data *inbuf, krb5_gss_cred_id_t *out_cred)
2930 {
2931 krb5_creds ** creds = NULL;
2932 krb5_error_code retval;
2933@@ -286,20 +283,12 @@ cleanup:
2934 * Performs third leg of DCE authentication
2935 */
2936 static OM_uint32
2937-kg_accept_dce(minor_status, context_handle, verifier_cred_handle,
2938- input_token, input_chan_bindings, src_name, mech_type,
2939- output_token, ret_flags, time_rec, delegated_cred_handle)
2940- OM_uint32 *minor_status;
2941- gss_ctx_id_t *context_handle;
2942- gss_cred_id_t verifier_cred_handle;
2943- gss_buffer_t input_token;
2944- gss_channel_bindings_t input_chan_bindings;
2945- gss_name_t *src_name;
2946- gss_OID *mech_type;
2947- gss_buffer_t output_token;
2948- OM_uint32 *ret_flags;
2949- OM_uint32 *time_rec;
2950- gss_cred_id_t *delegated_cred_handle;
2951+kg_accept_dce(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
2952+ gss_cred_id_t verifier_cred_handle, gss_buffer_t input_token,
2953+ gss_channel_bindings_t input_chan_bindings, gss_name_t *src_name,
2954+ gss_OID *mech_type, gss_buffer_t output_token,
2955+ OM_uint32 *ret_flags, OM_uint32 *time_rec,
2956+ gss_cred_id_t *delegated_cred_handle)
2957 {
2958 krb5_error_code code;
2959 krb5_gss_ctx_id_rec *ctx = 0;
2960@@ -637,23 +626,13 @@ fail:
2961 }
2962
2963 static OM_uint32
2964-kg_accept_krb5(minor_status, context_handle,
2965- verifier_cred_handle, input_token,
2966- input_chan_bindings, src_name, mech_type,
2967- output_token, ret_flags, time_rec,
2968- delegated_cred_handle, exts)
2969- OM_uint32 *minor_status;
2970- gss_ctx_id_t *context_handle;
2971- gss_cred_id_t verifier_cred_handle;
2972- gss_buffer_t input_token;
2973- gss_channel_bindings_t input_chan_bindings;
2974- gss_name_t *src_name;
2975- gss_OID *mech_type;
2976- gss_buffer_t output_token;
2977- OM_uint32 *ret_flags;
2978- OM_uint32 *time_rec;
2979- gss_cred_id_t *delegated_cred_handle;
2980- krb5_gss_ctx_ext_t exts;
2981+kg_accept_krb5(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
2982+ gss_cred_id_t verifier_cred_handle, gss_buffer_t input_token,
2983+ gss_channel_bindings_t input_chan_bindings,
2984+ gss_name_t *src_name, gss_OID *mech_type,
2985+ gss_buffer_t output_token, OM_uint32 *ret_flags,
2986+ OM_uint32 *time_rec, gss_cred_id_t *delegated_cred_handle,
2987+ krb5_gss_ctx_ext_t exts)
2988 {
2989 krb5_context context;
2990 unsigned char *ptr;
2991@@ -1310,22 +1289,15 @@ krb5_gss_accept_sec_context_ext(
2992 }
2993
2994 OM_uint32 KRB5_CALLCONV
2995-krb5_gss_accept_sec_context(minor_status, context_handle,
2996- verifier_cred_handle, input_token,
2997- input_chan_bindings, src_name, mech_type,
2998- output_token, ret_flags, time_rec,
2999- delegated_cred_handle)
3000- OM_uint32 *minor_status;
3001- gss_ctx_id_t *context_handle;
3002- gss_cred_id_t verifier_cred_handle;
3003- gss_buffer_t input_token;
3004- gss_channel_bindings_t input_chan_bindings;
3005- gss_name_t *src_name;
3006- gss_OID *mech_type;
3007- gss_buffer_t output_token;
3008- OM_uint32 *ret_flags;
3009- OM_uint32 *time_rec;
3010- gss_cred_id_t *delegated_cred_handle;
3011+krb5_gss_accept_sec_context(OM_uint32 *minor_status,
3012+ gss_ctx_id_t *context_handle,
3013+ gss_cred_id_t verifier_cred_handle,
3014+ gss_buffer_t input_token,
3015+ gss_channel_bindings_t input_chan_bindings,
3016+ gss_name_t *src_name, gss_OID *mech_type,
3017+ gss_buffer_t output_token, OM_uint32 *ret_flags,
3018+ OM_uint32 *time_rec,
3019+ gss_cred_id_t *delegated_cred_handle)
3020 {
3021 krb5_gss_ctx_ext_rec exts;
3022
3023diff --git a/src/lib/gssapi/krb5/compare_name.c b/src/lib/gssapi/krb5/compare_name.c
3024index 3f3788d..3aa5a0d 100644
3025--- a/src/lib/gssapi/krb5/compare_name.c
3026+++ b/src/lib/gssapi/krb5/compare_name.c
3027@@ -28,11 +28,8 @@
3028 #include "gssapiP_krb5.h"
3029
3030 OM_uint32 KRB5_CALLCONV
3031-krb5_gss_compare_name(minor_status, name1, name2, name_equal)
3032- OM_uint32 *minor_status;
3033- gss_name_t name1;
3034- gss_name_t name2;
3035- int *name_equal;
3036+krb5_gss_compare_name(OM_uint32 *minor_status, gss_name_t name1,
3037+ gss_name_t name2, int *name_equal)
3038 {
3039 krb5_context context;
3040 krb5_error_code code;
3041diff --git a/src/lib/gssapi/krb5/context_time.c b/src/lib/gssapi/krb5/context_time.c
3042index 226de05..0ab885d 100644
3043--- a/src/lib/gssapi/krb5/context_time.c
3044+++ b/src/lib/gssapi/krb5/context_time.c
3045@@ -28,10 +28,8 @@
3046 */
3047
3048 OM_uint32 KRB5_CALLCONV
3049-krb5_gss_context_time(minor_status, context_handle, time_rec)
3050- OM_uint32 *minor_status;
3051- gss_ctx_id_t context_handle;
3052- OM_uint32 *time_rec;
3053+krb5_gss_context_time(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3054+ OM_uint32 *time_rec)
3055 {
3056 krb5_error_code code;
3057 krb5_gss_ctx_id_rec *ctx;
3058diff --git a/src/lib/gssapi/krb5/delete_sec_context.c b/src/lib/gssapi/krb5/delete_sec_context.c
3059index 4b9dfae..92e84b7 100644
3060--- a/src/lib/gssapi/krb5/delete_sec_context.c
3061+++ b/src/lib/gssapi/krb5/delete_sec_context.c
3062@@ -28,10 +28,9 @@
3063 */
3064
3065 OM_uint32 KRB5_CALLCONV
3066-krb5_gss_delete_sec_context(minor_status, context_handle, output_token)
3067- OM_uint32 *minor_status;
3068- gss_ctx_id_t *context_handle;
3069- gss_buffer_t output_token;
3070+krb5_gss_delete_sec_context(OM_uint32 *minor_status,
3071+ gss_ctx_id_t *context_handle,
3072+ gss_buffer_t output_token)
3073 {
3074 krb5_context context;
3075 krb5_gss_ctx_id_rec *ctx;
3076diff --git a/src/lib/gssapi/krb5/disp_name.c b/src/lib/gssapi/krb5/disp_name.c
3077index b097bf0..75fef01 100644
3078--- a/src/lib/gssapi/krb5/disp_name.c
3079+++ b/src/lib/gssapi/krb5/disp_name.c
3080@@ -24,12 +24,9 @@
3081 #include "gssapiP_krb5.h"
3082
3083 OM_uint32 KRB5_CALLCONV
3084-krb5_gss_display_name(minor_status, input_name, output_name_buffer,
3085- output_name_type)
3086- OM_uint32 *minor_status;
3087- gss_name_t input_name;
3088- gss_buffer_t output_name_buffer;
3089- gss_OID *output_name_type;
3090+krb5_gss_display_name(OM_uint32 *minor_status, gss_name_t input_name,
3091+ gss_buffer_t output_name_buffer,
3092+ gss_OID *output_name_type)
3093 {
3094 krb5_context context;
3095 krb5_error_code code;
3096diff --git a/src/lib/gssapi/krb5/disp_status.c b/src/lib/gssapi/krb5/disp_status.c
3097index 6ff62a9..71000b7 100644
3098--- a/src/lib/gssapi/krb5/disp_status.c
3099+++ b/src/lib/gssapi/krb5/disp_status.c
3100@@ -154,14 +154,9 @@ void krb5_gss_delete_error_info(void *p)
3101 /**/
3102
3103 OM_uint32 KRB5_CALLCONV
3104-krb5_gss_display_status(minor_status, status_value, status_type,
3105- mech_type, message_context, status_string)
3106- OM_uint32 *minor_status;
3107- OM_uint32 status_value;
3108- int status_type;
3109- gss_OID mech_type;
3110- OM_uint32 *message_context;
3111- gss_buffer_t status_string;
3112+krb5_gss_display_status(OM_uint32 *minor_status, OM_uint32 status_value,
3113+ int status_type, gss_OID mech_type,
3114+ OM_uint32 *message_context, gss_buffer_t status_string)
3115 {
3116 status_string->length = 0;
3117 status_string->value = NULL;
3118diff --git a/src/lib/gssapi/krb5/export_sec_context.c b/src/lib/gssapi/krb5/export_sec_context.c
3119index 44e5008..9730e05 100644
3120--- a/src/lib/gssapi/krb5/export_sec_context.c
3121+++ b/src/lib/gssapi/krb5/export_sec_context.c
3122@@ -27,10 +27,9 @@
3123 #include "gssapiP_krb5.h"
3124 #ifndef LEAN_CLIENT
3125 OM_uint32 KRB5_CALLCONV
3126-krb5_gss_export_sec_context(minor_status, context_handle, interprocess_token)
3127- OM_uint32 *minor_status;
3128- gss_ctx_id_t *context_handle;
3129- gss_buffer_t interprocess_token;
3130+krb5_gss_export_sec_context(OM_uint32 *minor_status,
3131+ gss_ctx_id_t *context_handle,
3132+ gss_buffer_t interprocess_token)
3133 {
3134 krb5_context context = NULL;
3135 krb5_error_code kret;
3136diff --git a/src/lib/gssapi/krb5/gssapi_krb5.c b/src/lib/gssapi/krb5/gssapi_krb5.c
3137index 1e62b07..370b7d1 100644
3138--- a/src/lib/gssapi/krb5/gssapi_krb5.c
3139+++ b/src/lib/gssapi/krb5/gssapi_krb5.c
3140@@ -197,9 +197,7 @@ g_set kg_vdb = G_SET_INIT;
3141 * so handling the expiration/invalidation condition here isn't needed.
3142 */
3143 OM_uint32
3144-kg_get_defcred(minor_status, cred)
3145- OM_uint32 *minor_status;
3146- gss_cred_id_t *cred;
3147+kg_get_defcred(OM_uint32 *minor_status, gss_cred_id_t *cred)
3148 {
3149 OM_uint32 major;
3150
3151diff --git a/src/lib/gssapi/krb5/import_name.c b/src/lib/gssapi/krb5/import_name.c
3152index f64635a..cc6883b 100644
3153--- a/src/lib/gssapi/krb5/import_name.c
3154+++ b/src/lib/gssapi/krb5/import_name.c
3155@@ -120,12 +120,8 @@ parse_hostbased(const char *str, size_t len,
3156 }
3157
3158 OM_uint32 KRB5_CALLCONV
3159-krb5_gss_import_name(minor_status, input_name_buffer,
3160- input_name_type, output_name)
3161- OM_uint32 *minor_status;
3162- gss_buffer_t input_name_buffer;
3163- gss_OID input_name_type;
3164- gss_name_t *output_name;
3165+krb5_gss_import_name(OM_uint32 *minor_status, gss_buffer_t input_name_buffer,
3166+ gss_OID input_name_type, gss_name_t *output_name)
3167 {
3168 krb5_context context;
3169 krb5_principal princ = NULL;
3170diff --git a/src/lib/gssapi/krb5/import_sec_context.c b/src/lib/gssapi/krb5/import_sec_context.c
3171index 7d26f4d..e39c036 100644
3172--- a/src/lib/gssapi/krb5/import_sec_context.c
3173+++ b/src/lib/gssapi/krb5/import_sec_context.c
3174@@ -32,8 +32,7 @@
3175 * Fix up the OID of the mechanism so that uses the static version of
3176 * the OID if possible.
3177 */
3178-gss_OID krb5_gss_convert_static_mech_oid(oid)
3179- gss_OID oid;
3180+gss_OID krb5_gss_convert_static_mech_oid(gss_OID oid)
3181 {
3182 const gss_OID_desc *p;
3183 OM_uint32 minor_status;
3184@@ -49,10 +48,9 @@ gss_OID krb5_gss_convert_static_mech_oid(oid)
3185 }
3186
3187 OM_uint32 KRB5_CALLCONV
3188-krb5_gss_import_sec_context(minor_status, interprocess_token, context_handle)
3189- OM_uint32 *minor_status;
3190- gss_buffer_t interprocess_token;
3191- gss_ctx_id_t *context_handle;
3192+krb5_gss_import_sec_context(OM_uint32 *minor_status,
3193+ gss_buffer_t interprocess_token,
3194+ gss_ctx_id_t *context_handle)
3195 {
3196 krb5_context context;
3197 krb5_error_code kret = 0;
3198diff --git a/src/lib/gssapi/krb5/indicate_mechs.c b/src/lib/gssapi/krb5/indicate_mechs.c
3199index 45538cb..49d55e6 100644
3200--- a/src/lib/gssapi/krb5/indicate_mechs.c
3201+++ b/src/lib/gssapi/krb5/indicate_mechs.c
3202@@ -29,9 +29,7 @@
3203 #include "mglueP.h"
3204
3205 OM_uint32 KRB5_CALLCONV
3206-krb5_gss_indicate_mechs(minor_status, mech_set)
3207- OM_uint32 *minor_status;
3208- gss_OID_set *mech_set;
3209+krb5_gss_indicate_mechs(OM_uint32 *minor_status, gss_OID_set *mech_set)
3210 {
3211 return generic_gss_copy_oid_set(minor_status, kg_all_mechs, mech_set);
3212 }
3213diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c
3214index 5748b84..0397fe1 100644
3215--- a/src/lib/gssapi/krb5/init_sec_context.c
3216+++ b/src/lib/gssapi/krb5/init_sec_context.c
3217@@ -117,14 +117,10 @@ int krb5_gss_dbg_client_expcreds = 0;
3218 * Common code which fetches the correct krb5 credentials from the
3219 * ccache.
3220 */
3221-static krb5_error_code get_credentials(context, cred, server, now,
3222- endtime, out_creds)
3223- krb5_context context;
3224- krb5_gss_cred_id_t cred;
3225- krb5_gss_name_t server;
3226- krb5_timestamp now;
3227- krb5_timestamp endtime;
3228- krb5_creds **out_creds;
3229+static krb5_error_code
3230+get_credentials(krb5_context context, krb5_gss_cred_id_t cred,
3231+ krb5_gss_name_t server, krb5_timestamp now,
3232+ krb5_timestamp endtime, krb5_creds **out_creds)
3233 {
3234 krb5_error_code code;
3235 krb5_creds in_creds, evidence_creds, mcreds, *result_creds = NULL;
3236@@ -365,17 +361,11 @@ cleanup:
3237 }
3238
3239 static krb5_error_code
3240-make_ap_req_v1(context, ctx, cred, k_cred, ad_context,
3241- chan_bindings, mech_type, token, exts)
3242- krb5_context context;
3243- krb5_gss_ctx_id_rec *ctx;
3244- krb5_gss_cred_id_t cred;
3245- krb5_creds *k_cred;
3246- krb5_authdata_context ad_context;
3247- gss_channel_bindings_t chan_bindings;
3248- gss_OID mech_type;
3249- gss_buffer_t token;
3250- krb5_gss_ctx_ext_t exts;
3251+make_ap_req_v1(krb5_context context, krb5_gss_ctx_id_rec *ctx,
3252+ krb5_gss_cred_id_t cred, krb5_creds *k_cred,
3253+ krb5_authdata_context ad_context,
3254+ gss_channel_bindings_t chan_bindings, gss_OID mech_type,
3255+ gss_buffer_t token, krb5_gss_ctx_ext_t exts)
3256 {
3257 krb5_flags mk_req_flags = 0;
3258 krb5_error_code code;
3259@@ -1048,24 +1038,15 @@ krb5int_gss_use_kdc_context(OM_uint32 *minor_status,
3260 #endif
3261
3262 OM_uint32 KRB5_CALLCONV
3263-krb5_gss_init_sec_context(minor_status, claimant_cred_handle,
3264- context_handle, target_name, mech_type,
3265- req_flags, time_req, input_chan_bindings,
3266- input_token, actual_mech_type, output_token,
3267- ret_flags, time_rec)
3268- OM_uint32 *minor_status;
3269- gss_cred_id_t claimant_cred_handle;
3270- gss_ctx_id_t *context_handle;
3271- gss_name_t target_name;
3272- gss_OID mech_type;
3273- OM_uint32 req_flags;
3274- OM_uint32 time_req;
3275- gss_channel_bindings_t input_chan_bindings;
3276- gss_buffer_t input_token;
3277- gss_OID *actual_mech_type;
3278- gss_buffer_t output_token;
3279- OM_uint32 *ret_flags;
3280- OM_uint32 *time_rec;
3281+krb5_gss_init_sec_context(OM_uint32 *minor_status,
3282+ gss_cred_id_t claimant_cred_handle,
3283+ gss_ctx_id_t *context_handle,
3284+ gss_name_t target_name, gss_OID mech_type,
3285+ OM_uint32 req_flags, OM_uint32 time_req,
3286+ gss_channel_bindings_t input_chan_bindings,
3287+ gss_buffer_t input_token, gss_OID *actual_mech_type,
3288+ gss_buffer_t output_token, OM_uint32 *ret_flags,
3289+ OM_uint32 *time_rec)
3290 {
3291 krb5_gss_ctx_ext_rec exts;
3292
3293diff --git a/src/lib/gssapi/krb5/inq_context.c b/src/lib/gssapi/krb5/inq_context.c
3294index 97678e3..f8229f9 100644
3295--- a/src/lib/gssapi/krb5/inq_context.c
3296+++ b/src/lib/gssapi/krb5/inq_context.c
3297@@ -78,18 +78,11 @@
3298 #include "gssapiP_krb5.h"
3299
3300 OM_uint32 KRB5_CALLCONV
3301-krb5_gss_inquire_context(minor_status, context_handle, initiator_name,
3302- acceptor_name, lifetime_rec, mech_type, ret_flags,
3303- locally_initiated, opened)
3304- OM_uint32 *minor_status;
3305- gss_ctx_id_t context_handle;
3306- gss_name_t *initiator_name;
3307- gss_name_t *acceptor_name;
3308- OM_uint32 *lifetime_rec;
3309- gss_OID *mech_type;
3310- OM_uint32 *ret_flags;
3311- int *locally_initiated;
3312- int *opened;
3313+krb5_gss_inquire_context(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3314+ gss_name_t *initiator_name, gss_name_t *acceptor_name,
3315+ OM_uint32 *lifetime_rec, gss_OID *mech_type,
3316+ OM_uint32 *ret_flags, int *locally_initiated,
3317+ int *opened)
3318 {
3319 krb5_context context;
3320 krb5_error_code code;
3321diff --git a/src/lib/gssapi/krb5/inq_cred.c b/src/lib/gssapi/krb5/inq_cred.c
3322index 0e67595..e968f8a 100644
3323--- a/src/lib/gssapi/krb5/inq_cred.c
3324+++ b/src/lib/gssapi/krb5/inq_cred.c
3325@@ -73,14 +73,9 @@
3326 #include "gssapiP_krb5.h"
3327
3328 OM_uint32 KRB5_CALLCONV
3329-krb5_gss_inquire_cred(minor_status, cred_handle, name, lifetime_ret,
3330- cred_usage, mechanisms)
3331- OM_uint32 *minor_status;
3332- gss_cred_id_t cred_handle;
3333- gss_name_t *name;
3334- OM_uint32 *lifetime_ret;
3335- gss_cred_usage_t *cred_usage;
3336- gss_OID_set *mechanisms;
3337+krb5_gss_inquire_cred(OM_uint32 *minor_status, gss_cred_id_t cred_handle,
3338+ gss_name_t *name, OM_uint32 *lifetime_ret,
3339+ gss_cred_usage_t *cred_usage, gss_OID_set *mechanisms)
3340 {
3341 krb5_context context;
3342 gss_cred_id_t defcred = GSS_C_NO_CREDENTIAL;
3343@@ -209,16 +204,11 @@ cleanup:
3344
3345 /* V2 interface */
3346 OM_uint32 KRB5_CALLCONV
3347-krb5_gss_inquire_cred_by_mech(minor_status, cred_handle,
3348- mech_type, name, initiator_lifetime,
3349- acceptor_lifetime, cred_usage)
3350- OM_uint32 *minor_status;
3351- gss_cred_id_t cred_handle;
3352- gss_OID mech_type;
3353- gss_name_t *name;
3354- OM_uint32 *initiator_lifetime;
3355- OM_uint32 *acceptor_lifetime;
3356- gss_cred_usage_t *cred_usage;
3357+krb5_gss_inquire_cred_by_mech(OM_uint32 *minor_status,
3358+ gss_cred_id_t cred_handle, gss_OID mech_type,
3359+ gss_name_t *name, OM_uint32 *initiator_lifetime,
3360+ OM_uint32 *acceptor_lifetime,
3361+ gss_cred_usage_t *cred_usage)
3362 {
3363 krb5_gss_cred_id_t cred;
3364 OM_uint32 lifetime;
3365diff --git a/src/lib/gssapi/krb5/inq_names.c b/src/lib/gssapi/krb5/inq_names.c
3366index b326adb..4a3709b 100644
3367--- a/src/lib/gssapi/krb5/inq_names.c
3368+++ b/src/lib/gssapi/krb5/inq_names.c
3369@@ -27,10 +27,8 @@
3370 #include "gssapiP_krb5.h"
3371
3372 OM_uint32 KRB5_CALLCONV
3373-krb5_gss_inquire_names_for_mech(minor_status, mechanism, name_types)
3374- OM_uint32 *minor_status;
3375- gss_OID mechanism;
3376- gss_OID_set *name_types;
3377+krb5_gss_inquire_names_for_mech(OM_uint32 *minor_status, gss_OID mechanism,
3378+ gss_OID_set *name_types)
3379 {
3380 OM_uint32 major, minor;
3381
3382diff --git a/src/lib/gssapi/krb5/k5seal.c b/src/lib/gssapi/krb5/k5seal.c
3383index 99275be..71df11e 100644
3384--- a/src/lib/gssapi/krb5/k5seal.c
3385+++ b/src/lib/gssapi/krb5/k5seal.c
3386@@ -290,16 +290,10 @@ make_seal_token_v1 (krb5_context context,
3387 and do not encode the ENC_TYPE, MSG_LENGTH, or MSG_TEXT fields */
3388
3389 OM_uint32
3390-kg_seal(minor_status, context_handle, conf_req_flag, qop_req,
3391- input_message_buffer, conf_state, output_message_buffer, toktype)
3392- OM_uint32 *minor_status;
3393- gss_ctx_id_t context_handle;
3394- int conf_req_flag;
3395- gss_qop_t qop_req;
3396- gss_buffer_t input_message_buffer;
3397- int *conf_state;
3398- gss_buffer_t output_message_buffer;
3399- int toktype;
3400+kg_seal(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3401+ int conf_req_flag, gss_qop_t qop_req,
3402+ gss_buffer_t input_message_buffer, int *conf_state,
3403+ gss_buffer_t output_message_buffer, int toktype)
3404 {
3405 krb5_gss_ctx_id_rec *ctx;
3406 krb5_error_code code;
3407@@ -361,16 +355,10 @@ kg_seal(minor_status, context_handle, conf_req_flag, qop_req,
3408 }
3409
3410 OM_uint32 KRB5_CALLCONV
3411-krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
3412- qop_req, input_message_buffer, conf_state,
3413- output_message_buffer)
3414- OM_uint32 *minor_status;
3415- gss_ctx_id_t context_handle;
3416- int conf_req_flag;
3417- gss_qop_t qop_req;
3418- gss_buffer_t input_message_buffer;
3419- int *conf_state;
3420- gss_buffer_t output_message_buffer;
3421+krb5_gss_wrap(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3422+ int conf_req_flag, gss_qop_t qop_req,
3423+ gss_buffer_t input_message_buffer, int *conf_state,
3424+ gss_buffer_t output_message_buffer)
3425 {
3426 return(kg_seal(minor_status, context_handle, conf_req_flag,
3427 qop_req, input_message_buffer, conf_state,
3428@@ -378,13 +366,9 @@ krb5_gss_wrap(minor_status, context_handle, conf_req_flag,
3429 }
3430
3431 OM_uint32 KRB5_CALLCONV
3432-krb5_gss_get_mic(minor_status, context_handle, qop_req,
3433- message_buffer, message_token)
3434- OM_uint32 *minor_status;
3435- gss_ctx_id_t context_handle;
3436- gss_qop_t qop_req;
3437- gss_buffer_t message_buffer;
3438- gss_buffer_t message_token;
3439+krb5_gss_get_mic(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3440+ gss_qop_t qop_req, gss_buffer_t message_buffer,
3441+ gss_buffer_t message_token)
3442 {
3443 return(kg_seal(minor_status, context_handle, 0,
3444 qop_req, message_buffer, NULL,
3445diff --git a/src/lib/gssapi/krb5/k5unseal.c b/src/lib/gssapi/krb5/k5unseal.c
3446index 9b183bc..c63e04b 100644
3447--- a/src/lib/gssapi/krb5/k5unseal.c
3448+++ b/src/lib/gssapi/krb5/k5unseal.c
3449@@ -58,17 +58,10 @@
3450 conf_state is only valid if SEAL. */
3451
3452 static OM_uint32
3453-kg_unseal_v1(context, minor_status, ctx, ptr, bodysize, message_buffer,
3454- conf_state, qop_state, toktype)
3455- krb5_context context;
3456- OM_uint32 *minor_status;
3457- krb5_gss_ctx_id_rec *ctx;
3458- unsigned char *ptr;
3459- int bodysize;
3460- gss_buffer_t message_buffer;
3461- int *conf_state;
3462- gss_qop_t *qop_state;
3463- int toktype;
3464+kg_unseal_v1(krb5_context context, OM_uint32 *minor_status,
3465+ krb5_gss_ctx_id_rec *ctx, unsigned char *ptr, int bodysize,
3466+ gss_buffer_t message_buffer, int *conf_state,
3467+ gss_qop_t *qop_state, int toktype)
3468 {
3469 krb5_error_code code;
3470 int conflen = 0;
3471@@ -360,15 +353,9 @@ kg_unseal_v1(context, minor_status, ctx, ptr, bodysize, message_buffer,
3472 conf_state is only valid if SEAL. */
3473
3474 OM_uint32
3475-kg_unseal(minor_status, context_handle, input_token_buffer,
3476- message_buffer, conf_state, qop_state, toktype)
3477- OM_uint32 *minor_status;
3478- gss_ctx_id_t context_handle;
3479- gss_buffer_t input_token_buffer;
3480- gss_buffer_t message_buffer;
3481- int *conf_state;
3482- gss_qop_t *qop_state;
3483- int toktype;
3484+kg_unseal(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3485+ gss_buffer_t input_token_buffer, gss_buffer_t message_buffer,
3486+ int *conf_state, gss_qop_t *qop_state, int toktype)
3487 {
3488 krb5_gss_ctx_id_rec *ctx;
3489 unsigned char *ptr;
3490@@ -439,15 +426,10 @@ kg_unseal(minor_status, context_handle, input_token_buffer,
3491 }
3492
3493 OM_uint32 KRB5_CALLCONV
3494-krb5_gss_unwrap(minor_status, context_handle,
3495- input_message_buffer, output_message_buffer,
3496- conf_state, qop_state)
3497- OM_uint32 *minor_status;
3498- gss_ctx_id_t context_handle;
3499- gss_buffer_t input_message_buffer;
3500- gss_buffer_t output_message_buffer;
3501- int *conf_state;
3502- gss_qop_t *qop_state;
3503+krb5_gss_unwrap(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3504+ gss_buffer_t input_message_buffer,
3505+ gss_buffer_t output_message_buffer, int *conf_state,
3506+ gss_qop_t *qop_state)
3507 {
3508 OM_uint32 rstat;
3509
3510@@ -458,14 +440,9 @@ krb5_gss_unwrap(minor_status, context_handle,
3511 }
3512
3513 OM_uint32 KRB5_CALLCONV
3514-krb5_gss_verify_mic(minor_status, context_handle,
3515- message_buffer, token_buffer,
3516- qop_state)
3517- OM_uint32 *minor_status;
3518- gss_ctx_id_t context_handle;
3519- gss_buffer_t message_buffer;
3520- gss_buffer_t token_buffer;
3521- gss_qop_t *qop_state;
3522+krb5_gss_verify_mic(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3523+ gss_buffer_t message_buffer, gss_buffer_t token_buffer,
3524+ gss_qop_t *qop_state)
3525 {
3526 OM_uint32 rstat;
3527
3528diff --git a/src/lib/gssapi/krb5/process_context_token.c b/src/lib/gssapi/krb5/process_context_token.c
3529index a672f48..67805fb 100644
3530--- a/src/lib/gssapi/krb5/process_context_token.c
3531+++ b/src/lib/gssapi/krb5/process_context_token.c
3532@@ -28,11 +28,9 @@
3533 */
3534
3535 OM_uint32 KRB5_CALLCONV
3536-krb5_gss_process_context_token(minor_status, context_handle,
3537- token_buffer)
3538- OM_uint32 *minor_status;
3539- gss_ctx_id_t context_handle;
3540- gss_buffer_t token_buffer;
3541+krb5_gss_process_context_token(OM_uint32 *minor_status,
3542+ gss_ctx_id_t context_handle,
3543+ gss_buffer_t token_buffer)
3544 {
3545 krb5_gss_ctx_id_rec *ctx;
3546 OM_uint32 majerr;
3547diff --git a/src/lib/gssapi/krb5/rel_cred.c b/src/lib/gssapi/krb5/rel_cred.c
3548index 0da6c1b..9e04e2f 100644
3549--- a/src/lib/gssapi/krb5/rel_cred.c
3550+++ b/src/lib/gssapi/krb5/rel_cred.c
3551@@ -24,9 +24,7 @@
3552 #include "gssapiP_krb5.h"
3553
3554 OM_uint32 KRB5_CALLCONV
3555-krb5_gss_release_cred(minor_status, cred_handle)
3556- OM_uint32 *minor_status;
3557- gss_cred_id_t *cred_handle;
3558+krb5_gss_release_cred(OM_uint32 *minor_status, gss_cred_id_t *cred_handle)
3559 {
3560 krb5_context context;
3561 krb5_gss_cred_id_t cred;
3562diff --git a/src/lib/gssapi/krb5/rel_name.c b/src/lib/gssapi/krb5/rel_name.c
3563index 3dabe32..558bb6d 100644
3564--- a/src/lib/gssapi/krb5/rel_name.c
3565+++ b/src/lib/gssapi/krb5/rel_name.c
3566@@ -24,9 +24,7 @@
3567 #include "gssapiP_krb5.h"
3568
3569 OM_uint32 KRB5_CALLCONV
3570-krb5_gss_release_name(minor_status, input_name)
3571- OM_uint32 *minor_status;
3572- gss_name_t *input_name;
3573+krb5_gss_release_name(OM_uint32 *minor_status, gss_name_t *input_name)
3574 {
3575 krb5_context context;
3576 krb5_error_code code;
3577diff --git a/src/lib/gssapi/krb5/rel_oid.c b/src/lib/gssapi/krb5/rel_oid.c
3578index 739efe4..900c410 100644
3579--- a/src/lib/gssapi/krb5/rel_oid.c
3580+++ b/src/lib/gssapi/krb5/rel_oid.c
3581@@ -27,9 +27,7 @@
3582 #include "gssapiP_krb5.h"
3583
3584 OM_uint32
3585-krb5_gss_release_oid(minor_status, oid)
3586- OM_uint32 *minor_status;
3587- gss_OID *oid;
3588+krb5_gss_release_oid(OM_uint32 *minor_status, gss_OID *oid)
3589 {
3590 /*
3591 * The V2 API says the following!
3592@@ -52,9 +50,7 @@ krb5_gss_release_oid(minor_status, oid)
3593 }
3594
3595 OM_uint32 KRB5_CALLCONV
3596-krb5_gss_internal_release_oid(minor_status, oid)
3597- OM_uint32 *minor_status;
3598- gss_OID *oid;
3599+krb5_gss_internal_release_oid(OM_uint32 *minor_status, gss_OID *oid)
3600 {
3601 /*
3602 * This function only knows how to release internal OIDs. It will
3603diff --git a/src/lib/gssapi/krb5/ser_sctx.c b/src/lib/gssapi/krb5/ser_sctx.c
3604index 9e2d32e..1129b6a 100644
3605--- a/src/lib/gssapi/krb5/ser_sctx.c
3606+++ b/src/lib/gssapi/krb5/ser_sctx.c
3607@@ -137,10 +137,8 @@ kg_oid_size(gss_OID oid, size_t *sizep)
3608 }
3609
3610 static krb5_error_code
3611-kg_seqstate_externalize(arg, buffer, lenremain)
3612- g_seqnum_state arg;
3613- krb5_octet **buffer;
3614- size_t *lenremain;
3615+kg_seqstate_externalize(g_seqnum_state arg, krb5_octet **buffer,
3616+ size_t *lenremain)
3617 {
3618 krb5_error_code err;
3619 err = krb5_ser_pack_int32(KV5M_GSS_QUEUE, buffer, lenremain);
3620@@ -152,10 +150,8 @@ kg_seqstate_externalize(arg, buffer, lenremain)
3621 }
3622
3623 static krb5_error_code
3624-kg_seqstate_internalize(argp, buffer, lenremain)
3625- g_seqnum_state *argp;
3626- krb5_octet **buffer;
3627- size_t *lenremain;
3628+kg_seqstate_internalize(g_seqnum_state *argp, krb5_octet **buffer,
3629+ size_t *lenremain)
3630 {
3631 krb5_int32 ibuf;
3632 krb5_octet *bp;
3633@@ -193,9 +189,7 @@ kg_seqstate_internalize(argp, buffer, lenremain)
3634 }
3635
3636 static krb5_error_code
3637-kg_seqstate_size(arg, sizep)
3638- g_seqnum_state arg;
3639- size_t *sizep;
3640+kg_seqstate_size(g_seqnum_state arg, size_t *sizep)
3641 {
3642 krb5_error_code kret;
3643 size_t required;
3644diff --git a/src/lib/gssapi/krb5/util_cksum.c b/src/lib/gssapi/krb5/util_cksum.c
3645index 5b87956..5f7694f 100644
3646--- a/src/lib/gssapi/krb5/util_cksum.c
3647+++ b/src/lib/gssapi/krb5/util_cksum.c
3648@@ -28,10 +28,8 @@
3649
3650 /* Checksumming the channel bindings always uses plain MD5. */
3651 krb5_error_code
3652-kg_checksum_channel_bindings(context, cb, cksum)
3653- krb5_context context;
3654- gss_channel_bindings_t cb;
3655- krb5_checksum *cksum;
3656+kg_checksum_channel_bindings(krb5_context context, gss_channel_bindings_t cb,
3657+ krb5_checksum *cksum)
3658 {
3659 struct k5buf buf;
3660 size_t sumlen;
3661diff --git a/src/lib/gssapi/krb5/util_seed.c b/src/lib/gssapi/krb5/util_seed.c
3662index 6e1c9ac..6857363 100644
3663--- a/src/lib/gssapi/krb5/util_seed.c
3664+++ b/src/lib/gssapi/krb5/util_seed.c
3665@@ -29,10 +29,7 @@
3666 static const unsigned char zeros[16] = {0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0};
3667
3668 krb5_error_code
3669-kg_make_seed(context, key, seed)
3670- krb5_context context;
3671- krb5_key key;
3672- unsigned char *seed;
3673+kg_make_seed(krb5_context context, krb5_key key, unsigned char *seed)
3674 {
3675 krb5_error_code code;
3676 krb5_key rkey = NULL;
3677diff --git a/src/lib/gssapi/krb5/util_seqnum.c b/src/lib/gssapi/krb5/util_seqnum.c
3678index bef631d..a5a4d5c 100644
3679--- a/src/lib/gssapi/krb5/util_seqnum.c
3680+++ b/src/lib/gssapi/krb5/util_seqnum.c
3681@@ -30,13 +30,8 @@
3682 */
3683
3684 krb5_error_code
3685-kg_make_seq_num(context, key, direction, seqnum, cksum, buf)
3686- krb5_context context;
3687- krb5_key key;
3688- int direction;
3689- krb5_ui_4 seqnum;
3690- unsigned char *cksum;
3691- unsigned char *buf;
3692+kg_make_seq_num(krb5_context context, krb5_key key, int direction,
3693+ krb5_ui_4 seqnum, unsigned char *cksum, unsigned char *buf)
3694 {
3695 unsigned char plain[8];
3696
3697@@ -59,13 +54,9 @@ kg_make_seq_num(context, key, direction, seqnum, cksum, buf)
3698 return(kg_encrypt(context, key, KG_USAGE_SEQ, cksum, plain, buf, 8));
3699 }
3700
3701-krb5_error_code kg_get_seq_num(context, key, cksum, buf, direction, seqnum)
3702- krb5_context context;
3703- krb5_key key;
3704- unsigned char *cksum;
3705- unsigned char *buf;
3706- int *direction;
3707- krb5_ui_4 *seqnum;
3708+krb5_error_code
3709+kg_get_seq_num(krb5_context context, krb5_key key, unsigned char *cksum,
3710+ unsigned char *buf, int *direction, krb5_ui_4 *seqnum)
3711 {
3712 krb5_error_code code;
3713 unsigned char plain[8];
3714diff --git a/src/lib/gssapi/krb5/val_cred.c b/src/lib/gssapi/krb5/val_cred.c
3715index cb1cb93..83e7634 100644
3716--- a/src/lib/gssapi/krb5/val_cred.c
3717+++ b/src/lib/gssapi/krb5/val_cred.c
3718@@ -57,9 +57,7 @@ krb5_gss_validate_cred_1(OM_uint32 *minor_status, gss_cred_id_t cred_handle,
3719 }
3720
3721 OM_uint32
3722-krb5_gss_validate_cred(minor_status, cred_handle)
3723- OM_uint32 *minor_status;
3724- gss_cred_id_t cred_handle;
3725+krb5_gss_validate_cred(OM_uint32 *minor_status, gss_cred_id_t cred_handle)
3726 {
3727 krb5_context context;
3728 krb5_error_code code;
3729diff --git a/src/lib/gssapi/krb5/wrap_size_limit.c b/src/lib/gssapi/krb5/wrap_size_limit.c
3730index 7959f42..8ea6ce1 100644
3731--- a/src/lib/gssapi/krb5/wrap_size_limit.c
3732+++ b/src/lib/gssapi/krb5/wrap_size_limit.c
3733@@ -74,14 +74,9 @@
3734
3735 /* V2 interface */
3736 OM_uint32 KRB5_CALLCONV
3737-krb5_gss_wrap_size_limit(minor_status, context_handle, conf_req_flag,
3738- qop_req, req_output_size, max_input_size)
3739- OM_uint32 *minor_status;
3740- gss_ctx_id_t context_handle;
3741- int conf_req_flag;
3742- gss_qop_t qop_req;
3743- OM_uint32 req_output_size;
3744- OM_uint32 *max_input_size;
3745+krb5_gss_wrap_size_limit(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
3746+ int conf_req_flag, gss_qop_t qop_req,
3747+ OM_uint32 req_output_size, OM_uint32 *max_input_size)
3748 {
3749 krb5_gss_ctx_id_rec *ctx;
3750 OM_uint32 data_size, conflen;
3751diff --git a/src/lib/gssapi/mechglue/g_accept_sec_context.c b/src/lib/gssapi/mechglue/g_accept_sec_context.c
3752index 4f2a66e..e4eff1f 100644
3753--- a/src/lib/gssapi/mechglue/g_accept_sec_context.c
3754+++ b/src/lib/gssapi/mechglue/g_accept_sec_context.c
3755@@ -128,30 +128,13 @@ allow_mech_by_default(gss_OID mech)
3756 }
3757
3758 OM_uint32 KRB5_CALLCONV
3759-gss_accept_sec_context (minor_status,
3760- context_handle,
3761- verifier_cred_handle,
3762- input_token_buffer,
3763- input_chan_bindings,
3764- src_name,
3765- mech_type,
3766- output_token,
3767- ret_flags,
3768- time_rec,
3769- d_cred)
3770-
3771-OM_uint32 * minor_status;
3772-gss_ctx_id_t * context_handle;
3773-gss_cred_id_t verifier_cred_handle;
3774-gss_buffer_t input_token_buffer;
3775-gss_channel_bindings_t input_chan_bindings;
3776-gss_name_t * src_name;
3777-gss_OID * mech_type;
3778-gss_buffer_t output_token;
3779-OM_uint32 * ret_flags;
3780-OM_uint32 * time_rec;
3781-gss_cred_id_t * d_cred;
3782-
3783+gss_accept_sec_context(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
3784+ gss_cred_id_t verifier_cred_handle,
3785+ gss_buffer_t input_token_buffer,
3786+ gss_channel_bindings_t input_chan_bindings,
3787+ gss_name_t *src_name, gss_OID *mech_type,
3788+ gss_buffer_t output_token, OM_uint32 *ret_flags,
3789+ OM_uint32 *time_rec, gss_cred_id_t *d_cred)
3790 {
3791 OM_uint32 status, temp_status, temp_minor_status;
3792 OM_uint32 temp_ret_flags = 0;
3793diff --git a/src/lib/gssapi/mechglue/g_acquire_cred.c b/src/lib/gssapi/mechglue/g_acquire_cred.c
3794index c885f56..2fc9c5c 100644
3795--- a/src/lib/gssapi/mechglue/g_acquire_cred.c
3796+++ b/src/lib/gssapi/mechglue/g_acquire_cred.c
3797@@ -85,24 +85,10 @@ val_acq_cred_args(
3798
3799
3800 OM_uint32 KRB5_CALLCONV
3801-gss_acquire_cred(minor_status,
3802- desired_name,
3803- time_req,
3804- desired_mechs,
3805- cred_usage,
3806- output_cred_handle,
3807- actual_mechs,
3808- time_rec)
3809-
3810-OM_uint32 * minor_status;
3811-gss_name_t desired_name;
3812-OM_uint32 time_req;
3813-gss_OID_set desired_mechs;
3814-int cred_usage;
3815-gss_cred_id_t * output_cred_handle;
3816-gss_OID_set * actual_mechs;
3817-OM_uint32 * time_rec;
3818-
3819+gss_acquire_cred(OM_uint32 *minor_status, gss_name_t desired_name,
3820+ OM_uint32 time_req, gss_OID_set desired_mechs,
3821+ int cred_usage, gss_cred_id_t *output_cred_handle,
3822+ gss_OID_set *actual_mechs, OM_uint32 *time_rec)
3823 {
3824 return gss_acquire_cred_from(minor_status, desired_name, time_req,
3825 desired_mechs, cred_usage, NULL,
3826@@ -110,26 +96,11 @@ OM_uint32 * time_rec;
3827 }
3828
3829 OM_uint32 KRB5_CALLCONV
3830-gss_acquire_cred_from(minor_status,
3831- desired_name,
3832- time_req,
3833- desired_mechs,
3834- cred_usage,
3835- cred_store,
3836- output_cred_handle,
3837- actual_mechs,
3838- time_rec)
3839-
3840-OM_uint32 * minor_status;
3841-gss_name_t desired_name;
3842-OM_uint32 time_req;
3843-gss_OID_set desired_mechs;
3844-int cred_usage;
3845-gss_const_key_value_set_t cred_store;
3846-gss_cred_id_t * output_cred_handle;
3847-gss_OID_set * actual_mechs;
3848-OM_uint32 * time_rec;
3849-
3850+gss_acquire_cred_from(OM_uint32 * minor_status, gss_name_t desired_name,
3851+ OM_uint32 time_req, gss_OID_set desired_mechs,
3852+ int cred_usage, gss_const_key_value_set_t cred_store,
3853+ gss_cred_id_t *output_cred_handle,
3854+ gss_OID_set *actual_mechs, OM_uint32 *time_rec)
3855 {
3856 OM_uint32 major = GSS_S_FAILURE, tmpMinor;
3857 OM_uint32 first_major = GSS_S_COMPLETE, first_minor = 0;
3858@@ -397,22 +368,12 @@ error:
3859
3860 /* V2 KRB5_CALLCONV */
3861 OM_uint32 KRB5_CALLCONV
3862-gss_add_cred(minor_status, input_cred_handle,
3863- desired_name, desired_mech, cred_usage,
3864- initiator_time_req, acceptor_time_req,
3865- output_cred_handle, actual_mechs,
3866- initiator_time_rec, acceptor_time_rec)
3867- OM_uint32 *minor_status;
3868- gss_cred_id_t input_cred_handle;
3869- gss_name_t desired_name;
3870- gss_OID desired_mech;
3871- gss_cred_usage_t cred_usage;
3872- OM_uint32 initiator_time_req;
3873- OM_uint32 acceptor_time_req;
3874- gss_cred_id_t *output_cred_handle;
3875- gss_OID_set *actual_mechs;
3876- OM_uint32 *initiator_time_rec;
3877- OM_uint32 *acceptor_time_rec;
3878+gss_add_cred(OM_uint32 *minor_status, gss_cred_id_t input_cred_handle,
3879+ gss_name_t desired_name, gss_OID desired_mech,
3880+ gss_cred_usage_t cred_usage, OM_uint32 initiator_time_req,
3881+ OM_uint32 acceptor_time_req, gss_cred_id_t *output_cred_handle,
3882+ gss_OID_set *actual_mechs, OM_uint32 *initiator_time_rec,
3883+ OM_uint32 *acceptor_time_rec)
3884 {
3885 return gss_add_cred_from(minor_status, input_cred_handle, desired_name,
3886 desired_mech, cred_usage, initiator_time_req,
3887@@ -422,25 +383,13 @@ gss_add_cred(minor_status, input_cred_handle,
3888 }
3889
3890 OM_uint32 KRB5_CALLCONV
3891-gss_add_cred_from(minor_status, input_cred_handle,
3892- desired_name, desired_mech,
3893- cred_usage,
3894- initiator_time_req, acceptor_time_req,
3895- cred_store,
3896- output_cred_handle, actual_mechs,
3897- initiator_time_rec, acceptor_time_rec)
3898- OM_uint32 *minor_status;
3899- gss_cred_id_t input_cred_handle;
3900- gss_name_t desired_name;
3901- gss_OID desired_mech;
3902- gss_cred_usage_t cred_usage;
3903- OM_uint32 initiator_time_req;
3904- OM_uint32 acceptor_time_req;
3905- gss_const_key_value_set_t cred_store;
3906- gss_cred_id_t *output_cred_handle;
3907- gss_OID_set *actual_mechs;
3908- OM_uint32 *initiator_time_rec;
3909- OM_uint32 *acceptor_time_rec;
3910+gss_add_cred_from(OM_uint32 *minor_status, gss_cred_id_t input_cred_handle,
3911+ gss_name_t desired_name, gss_OID desired_mech,
3912+ gss_cred_usage_t cred_usage, OM_uint32 initiator_time_req,
3913+ OM_uint32 acceptor_time_req,
3914+ gss_const_key_value_set_t cred_store,
3915+ gss_cred_id_t *output_cred_handle, gss_OID_set *actual_mechs,
3916+ OM_uint32 *initiator_time_rec, OM_uint32 *acceptor_time_rec)
3917 {
3918 OM_uint32 status, temp_minor_status;
3919 OM_uint32 time_req, time_rec = 0, *time_recp = NULL;
3920diff --git a/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c b/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
3921index cc34acc..86abf98 100644
3922--- a/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
3923+++ b/src/lib/gssapi/mechglue/g_acquire_cred_with_pw.c
3924@@ -98,26 +98,12 @@ val_acq_cred_pw_args(
3925
3926
3927 OM_uint32 KRB5_CALLCONV
3928-gss_acquire_cred_with_password(
3929- minor_status,
3930- desired_name,
3931- password,
3932- time_req,
3933- desired_mechs,
3934- cred_usage,
3935- output_cred_handle,
3936- actual_mechs,
3937- time_rec)
3938-
3939-OM_uint32 * minor_status;
3940-const gss_name_t desired_name;
3941-const gss_buffer_t password;
3942-OM_uint32 time_req;
3943-const gss_OID_set desired_mechs;
3944-int cred_usage;
3945-gss_cred_id_t * output_cred_handle;
3946-gss_OID_set * actual_mechs;
3947-OM_uint32 * time_rec;
3948+gss_acquire_cred_with_password(OM_uint32 *minor_status,
3949+ const gss_name_t desired_name,
3950+ const gss_buffer_t password, OM_uint32 time_req,
3951+ const gss_OID_set desired_mechs, int cred_usage,
3952+ gss_cred_id_t *output_cred_handle,
3953+ gss_OID_set *actual_mechs, OM_uint32 *time_rec)
3954 {
3955 OM_uint32 major = GSS_S_FAILURE;
3956 OM_uint32 initTimeOut, acceptTimeOut, outTime = GSS_C_INDEFINITE;
3957@@ -306,23 +292,19 @@ val_add_cred_pw_args(
3958
3959 /* V2 KRB5_CALLCONV */
3960 OM_uint32 KRB5_CALLCONV
3961-gss_add_cred_with_password(minor_status, input_cred_handle,
3962- desired_name, desired_mech, password, cred_usage,
3963- initiator_time_req, acceptor_time_req,
3964- output_cred_handle, actual_mechs,
3965- initiator_time_rec, acceptor_time_rec)
3966- OM_uint32 *minor_status;
3967- const gss_cred_id_t input_cred_handle;
3968- const gss_name_t desired_name;
3969- const gss_OID desired_mech;
3970- const gss_buffer_t password;
3971- gss_cred_usage_t cred_usage;
3972- OM_uint32 initiator_time_req;
3973- OM_uint32 acceptor_time_req;
3974- gss_cred_id_t *output_cred_handle;
3975- gss_OID_set *actual_mechs;
3976- OM_uint32 *initiator_time_rec;
3977- OM_uint32 *acceptor_time_rec;
3978+gss_add_cred_with_password(
3979+ OM_uint32 *minor_status,
3980+ const gss_cred_id_t input_cred_handle,
3981+ const gss_name_t desired_name,
3982+ const gss_OID desired_mech,
3983+ const gss_buffer_t password,
3984+ gss_cred_usage_t cred_usage,
3985+ OM_uint32 initiator_time_req,
3986+ OM_uint32 acceptor_time_req,
3987+ gss_cred_id_t *output_cred_handle,
3988+ gss_OID_set *actual_mechs,
3989+ OM_uint32 *initiator_time_rec,
3990+ OM_uint32 *acceptor_time_rec)
3991 {
3992 OM_uint32 status, temp_minor_status;
3993 OM_uint32 time_req, time_rec;
3994diff --git a/src/lib/gssapi/mechglue/g_canon_name.c b/src/lib/gssapi/mechglue/g_canon_name.c
3995index 61f657f..c5214db 100644
3996--- a/src/lib/gssapi/mechglue/g_canon_name.c
3997+++ b/src/lib/gssapi/mechglue/g_canon_name.c
3998@@ -54,14 +54,8 @@ val_canon_name_args(
3999
4000
4001 OM_uint32 KRB5_CALLCONV
4002-gss_canonicalize_name(minor_status,
4003- input_name,
4004- mech_type,
4005- output_name)
4006-OM_uint32 *minor_status;
4007-const gss_name_t input_name;
4008-const gss_OID mech_type;
4009-gss_name_t *output_name;
4010+gss_canonicalize_name(OM_uint32 *minor_status, const gss_name_t input_name,
4011+ const gss_OID mech_type, gss_name_t *output_name)
4012 {
4013 gss_union_name_t in_union, out_union = NULL, dest_union = NULL;
4014 OM_uint32 major_status = GSS_S_FAILURE, tmpmin;
4015diff --git a/src/lib/gssapi/mechglue/g_compare_name.c b/src/lib/gssapi/mechglue/g_compare_name.c
4016index af2e76b..74a9529 100644
4017--- a/src/lib/gssapi/mechglue/g_compare_name.c
4018+++ b/src/lib/gssapi/mechglue/g_compare_name.c
4019@@ -59,16 +59,8 @@ val_comp_name_args(
4020
4021
4022 OM_uint32 KRB5_CALLCONV
4023-gss_compare_name (minor_status,
4024- name1,
4025- name2,
4026- name_equal)
4027-
4028-OM_uint32 * minor_status;
4029-gss_name_t name1;
4030-gss_name_t name2;
4031-int * name_equal;
4032-
4033+gss_compare_name(OM_uint32 * minor_status, gss_name_t name1, gss_name_t name2,
4034+ int * name_equal)
4035 {
4036 OM_uint32 major_status, temp_minor;
4037 gss_union_name_t union_name1, union_name2;
4038diff --git a/src/lib/gssapi/mechglue/g_context_time.c b/src/lib/gssapi/mechglue/g_context_time.c
4039index c947e76..b11b32d 100644
4040--- a/src/lib/gssapi/mechglue/g_context_time.c
4041+++ b/src/lib/gssapi/mechglue/g_context_time.c
4042@@ -29,14 +29,8 @@
4043 #include "mglueP.h"
4044
4045 OM_uint32 KRB5_CALLCONV
4046-gss_context_time (minor_status,
4047- context_handle,
4048- time_rec)
4049-
4050-OM_uint32 * minor_status;
4051-gss_ctx_id_t context_handle;
4052-OM_uint32 * time_rec;
4053-
4054+gss_context_time(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
4055+ OM_uint32 * time_rec)
4056 {
4057 OM_uint32 status;
4058 gss_union_ctx_id_t ctx;
4059diff --git a/src/lib/gssapi/mechglue/g_delete_sec_context.c b/src/lib/gssapi/mechglue/g_delete_sec_context.c
4060index 574ff02..dc86cce 100644
4061--- a/src/lib/gssapi/mechglue/g_delete_sec_context.c
4062+++ b/src/lib/gssapi/mechglue/g_delete_sec_context.c
4063@@ -62,14 +62,8 @@ val_del_sec_ctx_args(
4064
4065
4066 OM_uint32 KRB5_CALLCONV
4067-gss_delete_sec_context (minor_status,
4068- context_handle,
4069- output_token)
4070-
4071-OM_uint32 * minor_status;
4072-gss_ctx_id_t * context_handle;
4073-gss_buffer_t output_token;
4074-
4075+gss_delete_sec_context(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
4076+ gss_buffer_t output_token)
4077 {
4078 OM_uint32 status;
4079 gss_union_ctx_id_t ctx;
4080diff --git a/src/lib/gssapi/mechglue/g_dsp_name.c b/src/lib/gssapi/mechglue/g_dsp_name.c
4081index 21867c8..fae64f7 100644
4082--- a/src/lib/gssapi/mechglue/g_dsp_name.c
4083+++ b/src/lib/gssapi/mechglue/g_dsp_name.c
4084@@ -70,16 +70,8 @@ val_dsp_name_args(
4085
4086
4087 OM_uint32 KRB5_CALLCONV
4088-gss_display_name (minor_status,
4089- input_name,
4090- output_name_buffer,
4091- output_name_type)
4092-
4093-OM_uint32 * minor_status;
4094-gss_name_t input_name;
4095-gss_buffer_t output_name_buffer;
4096-gss_OID * output_name_type;
4097-
4098+gss_display_name(OM_uint32 *minor_status, gss_name_t input_name,
4099+ gss_buffer_t output_name_buffer, gss_OID *output_name_type)
4100 {
4101 OM_uint32 major_status;
4102 gss_union_name_t union_name;
4103diff --git a/src/lib/gssapi/mechglue/g_dsp_status.c b/src/lib/gssapi/mechglue/g_dsp_status.c
4104index 70e8492..14a7a82 100644
4105--- a/src/lib/gssapi/mechglue/g_dsp_status.c
4106+++ b/src/lib/gssapi/mechglue/g_dsp_status.c
4107@@ -36,20 +36,9 @@
4108 static OM_uint32 displayMajor(OM_uint32, OM_uint32 *, gss_buffer_t);
4109
4110 OM_uint32 KRB5_CALLCONV
4111-gss_display_status (minor_status,
4112- status_value,
4113- status_type,
4114- req_mech_type,
4115- message_context,
4116- status_string)
4117-
4118-OM_uint32 * minor_status;
4119-OM_uint32 status_value;
4120-int status_type;
4121-gss_OID req_mech_type;
4122-OM_uint32 * message_context;
4123-gss_buffer_t status_string;
4124-
4125+gss_display_status(OM_uint32 *minor_status, OM_uint32 status_value,
4126+ int status_type, gss_OID req_mech_type,
4127+ OM_uint32 *message_context, gss_buffer_t status_string)
4128 {
4129 gss_OID mech_type = (gss_OID) req_mech_type;
4130 gss_mechanism mech;
4131@@ -147,10 +136,7 @@ gss_buffer_t status_string;
4132 * >= 2 - the supplementary error code bit shifted by 1
4133 */
4134 static OM_uint32
4135-displayMajor(status, msgCtxt, outStr)
4136-OM_uint32 status;
4137-OM_uint32 *msgCtxt;
4138-gss_buffer_t outStr;
4139+displayMajor(OM_uint32 status, OM_uint32 *msgCtxt, gss_buffer_t outStr)
4140 {
4141 OM_uint32 oneVal, mask = 0x1, currErr;
4142 char *errStr = NULL;
4143diff --git a/src/lib/gssapi/mechglue/g_dup_name.c b/src/lib/gssapi/mechglue/g_dup_name.c
4144index ff01db2..bf6eb60 100644
4145--- a/src/lib/gssapi/mechglue/g_dup_name.c
4146+++ b/src/lib/gssapi/mechglue/g_dup_name.c
4147@@ -51,12 +51,8 @@ val_dup_name_args(
4148
4149
4150 OM_uint32 KRB5_CALLCONV
4151-gss_duplicate_name(minor_status,
4152- src_name,
4153- dest_name)
4154-OM_uint32 *minor_status;
4155-const gss_name_t src_name;
4156-gss_name_t *dest_name;
4157+gss_duplicate_name(OM_uint32 *minor_status, const gss_name_t src_name,
4158+ gss_name_t *dest_name)
4159 {
4160 gss_union_name_t src_union, dest_union;
4161 OM_uint32 major_status = GSS_S_FAILURE;
4162diff --git a/src/lib/gssapi/mechglue/g_exp_sec_context.c b/src/lib/gssapi/mechglue/g_exp_sec_context.c
4163index a04afe3..68a3267 100644
4164--- a/src/lib/gssapi/mechglue/g_exp_sec_context.c
4165+++ b/src/lib/gssapi/mechglue/g_exp_sec_context.c
4166@@ -68,14 +68,8 @@ val_exp_sec_ctx_args(
4167
4168
4169 OM_uint32 KRB5_CALLCONV
4170-gss_export_sec_context(minor_status,
4171- context_handle,
4172- interprocess_token)
4173-
4174-OM_uint32 * minor_status;
4175-gss_ctx_id_t * context_handle;
4176-gss_buffer_t interprocess_token;
4177-
4178+gss_export_sec_context(OM_uint32 *minor_status, gss_ctx_id_t *context_handle,
4179+ gss_buffer_t interprocess_token)
4180 {
4181 OM_uint32 status;
4182 OM_uint32 length;
4183diff --git a/src/lib/gssapi/mechglue/g_export_name.c b/src/lib/gssapi/mechglue/g_export_name.c
4184index c845f8c..2e0611d 100644
4185--- a/src/lib/gssapi/mechglue/g_export_name.c
4186+++ b/src/lib/gssapi/mechglue/g_export_name.c
4187@@ -20,12 +20,8 @@
4188 #include <errno.h>
4189
4190 OM_uint32 KRB5_CALLCONV
4191-gss_export_name(minor_status,
4192- input_name,
4193- exported_name)
4194-OM_uint32 * minor_status;
4195-const gss_name_t input_name;
4196-gss_buffer_t exported_name;
4197+gss_export_name(OM_uint32 *minor_status, const gss_name_t input_name,
4198+ gss_buffer_t exported_name)
4199 {
4200 gss_union_name_t union_name;
4201
4202diff --git a/src/lib/gssapi/mechglue/g_glue.c b/src/lib/gssapi/mechglue/g_glue.c
4203index 176fbe6..47f4993 100644
4204--- a/src/lib/gssapi/mechglue/g_glue.c
4205+++ b/src/lib/gssapi/mechglue/g_glue.c
4206@@ -75,9 +75,8 @@ static gss_OID_desc gss_krb5_mechanism_oid_desc =
4207
4208 #define NTLMSSP_SIGNATURE "NTLMSSP"
4209
4210-OM_uint32 gssint_get_mech_type(OID, token)
4211- gss_OID OID;
4212- gss_buffer_t token;
4213+OM_uint32
4214+gssint_get_mech_type(gss_OID OID, gss_buffer_t token)
4215 {
4216 /* Check for interoperability exceptions */
4217 if (token->length >= sizeof(NTLMSSP_SIGNATURE) &&
4218@@ -163,12 +162,10 @@ import_internal_attributes(OM_uint32 *minor,
4219 * Internal routines to get and release an internal mechanism name
4220 */
4221
4222-OM_uint32 gssint_import_internal_name (minor_status, mech_type, union_name,
4223- internal_name)
4224-OM_uint32 *minor_status;
4225-gss_OID mech_type;
4226-gss_union_name_t union_name;
4227-gss_name_t *internal_name;
4228+OM_uint32
4229+gssint_import_internal_name(OM_uint32 *minor_status, gss_OID mech_type,
4230+ gss_union_name_t union_name,
4231+ gss_name_t *internal_name)
4232 {
4233 OM_uint32 status, tmpMinor;
4234 gss_mechanism mech;
4235@@ -220,12 +217,10 @@ gss_name_t *internal_name;
4236 return (status);
4237 }
4238
4239-OM_uint32 gssint_export_internal_name(minor_status, mech_type,
4240- internal_name, name_buf)
4241- OM_uint32 *minor_status;
4242- const gss_OID mech_type;
4243- const gss_name_t internal_name;
4244- gss_buffer_t name_buf;
4245+OM_uint32
4246+gssint_export_internal_name(OM_uint32 *minor_status, const gss_OID mech_type,
4247+ const gss_name_t internal_name,
4248+ gss_buffer_t name_buf)
4249 {
4250 OM_uint32 status;
4251 gss_mechanism mech;
4252@@ -307,13 +302,10 @@ OM_uint32 gssint_export_internal_name(minor_status, mech_type,
4253 return (GSS_S_COMPLETE);
4254 } /* gssint_export_internal_name */
4255
4256-OM_uint32 gssint_display_internal_name (minor_status, mech_type, internal_name,
4257- external_name, name_type)
4258-OM_uint32 *minor_status;
4259-gss_OID mech_type;
4260-gss_name_t internal_name;
4261-gss_buffer_t external_name;
4262-gss_OID *name_type;
4263+OM_uint32
4264+gssint_display_internal_name(OM_uint32 *minor_status, gss_OID mech_type,
4265+ gss_name_t internal_name,
4266+ gss_buffer_t external_name, gss_OID *name_type)
4267 {
4268 OM_uint32 status;
4269 gss_mechanism mech;
4270@@ -337,10 +329,9 @@ gss_OID *name_type;
4271 return (GSS_S_BAD_MECH);
4272 }
4273
4274-OM_uint32 gssint_release_internal_name (minor_status, mech_type, internal_name)
4275-OM_uint32 *minor_status;
4276-gss_OID mech_type;
4277-gss_name_t *internal_name;
4278+OM_uint32
4279+gssint_release_internal_name(OM_uint32 *minor_status, gss_OID mech_type,
4280+ gss_name_t *internal_name)
4281 {
4282 OM_uint32 status;
4283 gss_mechanism mech;
4284@@ -362,14 +353,10 @@ gss_name_t *internal_name;
4285 return (GSS_S_BAD_MECH);
4286 }
4287
4288-OM_uint32 gssint_delete_internal_sec_context (minor_status,
4289- mech_type,
4290- internal_ctx,
4291- output_token)
4292-OM_uint32 *minor_status;
4293-gss_OID mech_type;
4294-gss_ctx_id_t *internal_ctx;
4295-gss_buffer_t output_token;
4296+OM_uint32
4297+gssint_delete_internal_sec_context(OM_uint32 *minor_status, gss_OID mech_type,
4298+ gss_ctx_id_t *internal_ctx,
4299+ gss_buffer_t output_token)
4300 {
4301 OM_uint32 status;
4302 gss_mechanism mech;
4303@@ -394,12 +381,10 @@ gss_buffer_t output_token;
4304 * name. Note that internal_name should be considered "consumed" by
4305 * this call, whether or not we return an error.
4306 */
4307-OM_uint32 gssint_convert_name_to_union_name(minor_status, mech,
4308- internal_name, external_name)
4309- OM_uint32 *minor_status;
4310- gss_mechanism mech;
4311- gss_name_t internal_name;
4312- gss_name_t *external_name;
4313+OM_uint32
4314+gssint_convert_name_to_union_name(OM_uint32 *minor_status, gss_mechanism mech,
4315+ gss_name_t internal_name,
4316+ gss_name_t *external_name)
4317 {
4318 OM_uint32 major_status,tmp;
4319 gss_union_name_t union_name;
4320@@ -473,9 +458,7 @@ allocation_failure:
4321 * external union credential.
4322 */
4323 gss_cred_id_t
4324-gssint_get_mechanism_cred(union_cred, mech_type)
4325- gss_union_cred_t union_cred;
4326- gss_OID mech_type;
4327+gssint_get_mechanism_cred(gss_union_cred_t union_cred, gss_OID mech_type)
4328 {
4329 int i;
4330
4331@@ -494,10 +477,8 @@ gssint_get_mechanism_cred(union_cred, mech_type)
4332 * Both space for the structure and the data is allocated.
4333 */
4334 OM_uint32
4335-gssint_create_copy_buffer(srcBuf, destBuf, addNullChar)
4336- const gss_buffer_t srcBuf;
4337- gss_buffer_t *destBuf;
4338- int addNullChar;
4339+gssint_create_copy_buffer(const gss_buffer_t srcBuf, gss_buffer_t *destBuf,
4340+ int addNullChar)
4341 {
4342 gss_buffer_t aBuf;
4343 unsigned int len;
4344diff --git a/src/lib/gssapi/mechglue/g_imp_name.c b/src/lib/gssapi/mechglue/g_imp_name.c
4345index a805078..65fa6c0 100644
4346--- a/src/lib/gssapi/mechglue/g_imp_name.c
4347+++ b/src/lib/gssapi/mechglue/g_imp_name.c
4348@@ -81,16 +81,8 @@ val_imp_name_args(
4349 static gss_buffer_desc emptyNameBuffer;
4350
4351 OM_uint32 KRB5_CALLCONV
4352-gss_import_name(minor_status,
4353- input_name_buffer,
4354- input_name_type,
4355- output_name)
4356-
4357-OM_uint32 * minor_status;
4358-gss_buffer_t input_name_buffer;
4359-gss_OID input_name_type;
4360-gss_name_t * output_name;
4361-
4362+gss_import_name(OM_uint32 * minor_status, gss_buffer_t input_name_buffer,
4363+ gss_OID input_name_type, gss_name_t * output_name)
4364 {
4365 gss_union_name_t union_name;
4366 OM_uint32 tmp, major_status = GSS_S_FAILURE;
4367@@ -183,10 +175,8 @@ allocation_failure:
4368 }
4369
4370 static OM_uint32
4371-importExportName(minor, unionName, inputNameType)
4372- OM_uint32 *minor;
4373- gss_union_name_t unionName;
4374- gss_OID inputNameType;
4375+importExportName(OM_uint32 *minor, gss_union_name_t unionName,
4376+ gss_OID inputNameType)
4377 {
4378 gss_OID_desc mechOid;
4379 gss_buffer_desc expName;
4380diff --git a/src/lib/gssapi/mechglue/g_imp_sec_context.c b/src/lib/gssapi/mechglue/g_imp_sec_context.c
4381index 6315201..55a3136 100644
4382--- a/src/lib/gssapi/mechglue/g_imp_sec_context.c
4383+++ b/src/lib/gssapi/mechglue/g_imp_sec_context.c
4384@@ -69,14 +69,9 @@ val_imp_sec_ctx_args(
4385
4386
4387 OM_uint32 KRB5_CALLCONV
4388-gss_import_sec_context(minor_status,
4389- interprocess_token,
4390- context_handle)
4391-
4392-OM_uint32 * minor_status;
4393-gss_buffer_t interprocess_token;
4394-gss_ctx_id_t * context_handle;
4395-
4396+gss_import_sec_context(OM_uint32 *minor_status,
4397+ gss_buffer_t interprocess_token,
4398+ gss_ctx_id_t *context_handle)
4399 {
4400 OM_uint32 length = 0;
4401 OM_uint32 status;
4402diff --git a/src/lib/gssapi/mechglue/g_init_sec_context.c b/src/lib/gssapi/mechglue/g_init_sec_context.c
4403index a58074c..d639a8d 100644
4404--- a/src/lib/gssapi/mechglue/g_init_sec_context.c
4405+++ b/src/lib/gssapi/mechglue/g_init_sec_context.c
4406@@ -88,34 +88,15 @@ val_init_sec_ctx_args(
4407
4408
4409 OM_uint32 KRB5_CALLCONV
4410-gss_init_sec_context (minor_status,
4411- claimant_cred_handle,
4412- context_handle,
4413- target_name,
4414- req_mech_type,
4415- req_flags,
4416- time_req,
4417- input_chan_bindings,
4418- input_token,
4419- actual_mech_type,
4420- output_token,
4421- ret_flags,
4422- time_rec)
4423-
4424-OM_uint32 * minor_status;
4425-gss_cred_id_t claimant_cred_handle;
4426-gss_ctx_id_t * context_handle;
4427-gss_name_t target_name;
4428-gss_OID req_mech_type;
4429-OM_uint32 req_flags;
4430-OM_uint32 time_req;
4431-gss_channel_bindings_t input_chan_bindings;
4432-gss_buffer_t input_token;
4433-gss_OID * actual_mech_type;
4434-gss_buffer_t output_token;
4435-OM_uint32 * ret_flags;
4436-OM_uint32 * time_rec;
4437-
4438+gss_init_sec_context(OM_uint32 *minor_status,
4439+ gss_cred_id_t claimant_cred_handle,
4440+ gss_ctx_id_t *context_handle, gss_name_t target_name,
4441+ gss_OID req_mech_type, OM_uint32 req_flags,
4442+ OM_uint32 time_req,
4443+ gss_channel_bindings_t input_chan_bindings,
4444+ gss_buffer_t input_token, gss_OID *actual_mech_type,
4445+ gss_buffer_t output_token, OM_uint32 *ret_flags,
4446+ OM_uint32 *time_rec)
4447 {
4448 OM_uint32 status, temp_minor_status;
4449 gss_union_name_t union_name;
4450diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c
4451index 22f6c61..7e36c4a 100644
4452--- a/src/lib/gssapi/mechglue/g_initialize.c
4453+++ b/src/lib/gssapi/mechglue/g_initialize.c
4454@@ -169,9 +169,7 @@ gssint_mechglue_initialize_library(void)
4455 * This routine requires direct access to the mechList.
4456 */
4457 OM_uint32 KRB5_CALLCONV
4458-gss_release_oid(minor_status, oid)
4459-OM_uint32 *minor_status;
4460-gss_OID *oid;
4461+gss_release_oid(OM_uint32 *minor_status, gss_OID *oid)
4462 {
4463 OM_uint32 major;
4464 gss_mech_info aMech;
4465@@ -267,9 +265,7 @@ prune_deprecated(gss_OID_set mech_set)
4466 * a mech oid set, and only update it once the file has changed.
4467 */
4468 OM_uint32 KRB5_CALLCONV
4469-gss_indicate_mechs(minorStatus, mechSet_out)
4470-OM_uint32 *minorStatus;
4471-gss_OID_set *mechSet_out;
4472+gss_indicate_mechs(OM_uint32 *minorStatus, gss_OID_set *mechSet_out)
4473 {
4474 OM_uint32 status;
4475
4476@@ -417,8 +413,7 @@ build_mechSet(void)
4477 * caller is responsible for freeing the memory
4478 */
4479 char *
4480-gssint_get_modOptions(oid)
4481-const gss_OID oid;
4482+gssint_get_modOptions(const gss_OID oid)
4483 {
4484 gss_mech_info aMech;
4485 char *modOptions = NULL;
4486@@ -479,7 +474,7 @@ load_if_changed(const char *pathname, time_t last, time_t *highest)
4487 /* Try to load any config files which have changed since the last call. Config
4488 * files are MECH_CONF and any files matching MECH_CONF_PATTERN. */
4489 static void
4490-loadConfigFiles()
4491+loadConfigFiles(void)
4492 {
4493 glob_t globbuf;
4494 time_t highest = (time_t)-1, now;
4495@@ -679,7 +674,8 @@ gssint_register_mechinfo(gss_mech_info template)
4496 memset(&errinfo, 0, sizeof(errinfo)); \
4497 if (krb5int_get_plugin_func(_dl, \
4498 #_symbol, \
4499- (void (**)())&(_mech)->_symbol, \
4500+ (void (**)(void)) \
4501+ &(_mech)->_symbol, \
4502 &errinfo) || errinfo.code) { \
4503 (_mech)->_symbol = NULL; \
4504 k5_clear_error(&errinfo); \
4505@@ -801,7 +797,7 @@ build_dynamicMech(void *dl, const gss_OID mech_type)
4506 memset(&errinfo, 0, sizeof(errinfo)); \
4507 if (krb5int_get_plugin_func(_dl, \
4508 "gssi" #_nsym, \
4509- (void (**)())&(_mech)->_psym \
4510+ (void (**)(void))&(_mech)->_psym \
4511 ## _nsym, \
4512 &errinfo) || errinfo.code) { \
4513 (_mech)->_psym ## _nsym = NULL; \
4514@@ -948,7 +944,7 @@ loadInterMech(gss_mech_info minfo)
4515 }
4516
4517 if (krb5int_get_plugin_func(dl, MECH_INTERPOSER_SYM,
4518- (void (**)())&isym, &errinfo) != 0)
4519+ (void (**)(void))&isym, &errinfo) != 0)
4520 goto cleanup;
4521
4522 /* Get a list of mechs to interpose. */
4523@@ -1184,7 +1180,7 @@ gssint_get_mechanism(gss_const_OID oid)
4524 return ((gss_mechanism)NULL);
4525 }
4526
4527- if (krb5int_get_plugin_func(dl, MECH_SYM, (void (**)())&sym,
4528+ if (krb5int_get_plugin_func(dl, MECH_SYM, (void (**)(void))&sym,
4529 &errinfo) == 0) {
4530 /* Call the symbol to get the mechanism table */
4531 aMech->mech = (*sym)(aMech->mech_type);
4532diff --git a/src/lib/gssapi/mechglue/g_inq_cred.c b/src/lib/gssapi/mechglue/g_inq_cred.c
4533index 4ed7774..0aa9acc 100644
4534--- a/src/lib/gssapi/mechglue/g_inq_cred.c
4535+++ b/src/lib/gssapi/mechglue/g_inq_cred.c
4536@@ -35,20 +35,9 @@
4537 #include <time.h>
4538
4539 OM_uint32 KRB5_CALLCONV
4540-gss_inquire_cred(minor_status,
4541- cred_handle,
4542- name,
4543- lifetime,
4544- cred_usage,
4545- mechanisms)
4546-
4547-OM_uint32 * minor_status;
4548-gss_cred_id_t cred_handle;
4549-gss_name_t * name;
4550-OM_uint32 * lifetime;
4551-int * cred_usage;
4552-gss_OID_set * mechanisms;
4553-
4554+gss_inquire_cred(OM_uint32 *minor_status, gss_cred_id_t cred_handle,
4555+ gss_name_t *name, OM_uint32 *lifetime, int *cred_usage,
4556+ gss_OID_set *mechanisms)
4557 {
4558 OM_uint32 status, temp_minor_status;
4559 gss_union_cred_t union_cred;
4560@@ -159,15 +148,11 @@ error:
4561 }
4562
4563 OM_uint32 KRB5_CALLCONV
4564-gss_inquire_cred_by_mech(minor_status, cred_handle, mech_type, name,
4565- initiator_lifetime, acceptor_lifetime, cred_usage)
4566- OM_uint32 *minor_status;
4567- gss_cred_id_t cred_handle;
4568- gss_OID mech_type;
4569- gss_name_t *name;
4570- OM_uint32 *initiator_lifetime;
4571- OM_uint32 *acceptor_lifetime;
4572- gss_cred_usage_t *cred_usage;
4573+gss_inquire_cred_by_mech(OM_uint32 *minor_status, gss_cred_id_t cred_handle,
4574+ gss_OID mech_type, gss_name_t *name,
4575+ OM_uint32 *initiator_lifetime,
4576+ OM_uint32 *acceptor_lifetime,
4577+ gss_cred_usage_t *cred_usage)
4578 {
4579 gss_union_cred_t union_cred;
4580 gss_cred_id_t mech_cred;
4581diff --git a/src/lib/gssapi/mechglue/g_inq_names.c b/src/lib/gssapi/mechglue/g_inq_names.c
4582index d22af8b..066c00c 100644
4583--- a/src/lib/gssapi/mechglue/g_inq_names.c
4584+++ b/src/lib/gssapi/mechglue/g_inq_names.c
4585@@ -32,12 +32,8 @@
4586
4587 /* Last argument new for V2 */
4588 OM_uint32 KRB5_CALLCONV
4589-gss_inquire_names_for_mech(minor_status, mechanism, name_types)
4590-
4591-OM_uint32 * minor_status;
4592-gss_OID mechanism;
4593-gss_OID_set * name_types;
4594-
4595+gss_inquire_names_for_mech(OM_uint32 *minor_status, gss_OID mechanism,
4596+ gss_OID_set *name_types)
4597 {
4598 OM_uint32 status;
4599 gss_OID selected_mech = GSS_C_NO_OID, public_mech;
4600diff --git a/src/lib/gssapi/mechglue/g_mechname.c b/src/lib/gssapi/mechglue/g_mechname.c
4601index cfb0a0d..5664fa1 100644
4602--- a/src/lib/gssapi/mechglue/g_mechname.c
4603+++ b/src/lib/gssapi/mechglue/g_mechname.c
4604@@ -20,8 +20,8 @@ static gss_mech_spec_name name_list = NULL;
4605 /*
4606 * generic searching helper function.
4607 */
4608-static gss_mech_spec_name search_mech_spec(name_type)
4609- gss_OID name_type;
4610+static gss_mech_spec_name
4611+search_mech_spec(gss_OID name_type)
4612 {
4613 gss_mech_spec_name p;
4614
4615@@ -36,8 +36,8 @@ static gss_mech_spec_name search_mech_spec(name_type)
4616 * Given a name_type, if it is specific to a mechanism, return the
4617 * mechanism OID. Otherwise, return NULL.
4618 */
4619-gss_OID gss_find_mechanism_from_name_type(name_type)
4620- gss_OID name_type;
4621+gss_OID
4622+gss_find_mechanism_from_name_type(gss_OID name_type)
4623 {
4624 gss_mech_spec_name p;
4625
4626@@ -54,10 +54,8 @@ gss_OID gss_find_mechanism_from_name_type(name_type)
4627 * Otherwise, enter the pair into the registry.
4628 */
4629 OM_uint32
4630-gss_add_mech_name_type(minor_status, name_type, mech)
4631- OM_uint32 *minor_status;
4632- gss_OID name_type;
4633- gss_OID mech;
4634+gss_add_mech_name_type(OM_uint32 *minor_status, gss_OID name_type,
4635+ gss_OID mech)
4636 {
4637 OM_uint32 major_status, tmp;
4638 gss_mech_spec_name p;
4639diff --git a/src/lib/gssapi/mechglue/g_oid_ops.c b/src/lib/gssapi/mechglue/g_oid_ops.c
4640index 1d7970c..f29fb3b 100644
4641--- a/src/lib/gssapi/mechglue/g_oid_ops.c
4642+++ b/src/lib/gssapi/mechglue/g_oid_ops.c
4643@@ -33,9 +33,7 @@
4644 */
4645
4646 OM_uint32 KRB5_CALLCONV
4647-gss_create_empty_oid_set(minor_status, oid_set)
4648- OM_uint32 *minor_status;
4649- gss_OID_set *oid_set;
4650+gss_create_empty_oid_set(OM_uint32 *minor_status, gss_OID_set *oid_set)
4651 {
4652 OM_uint32 status;
4653 status = generic_gss_create_empty_oid_set(minor_status, oid_set);
4654@@ -45,10 +43,8 @@ gss_create_empty_oid_set(minor_status, oid_set)
4655 }
4656
4657 OM_uint32 KRB5_CALLCONV
4658-gss_add_oid_set_member(minor_status, member_oid, oid_set)
4659- OM_uint32 *minor_status;
4660- gss_OID member_oid;
4661- gss_OID_set *oid_set;
4662+gss_add_oid_set_member(OM_uint32 *minor_status, gss_OID member_oid,
4663+ gss_OID_set *oid_set)
4664 {
4665 OM_uint32 status;
4666 status = generic_gss_add_oid_set_member(minor_status, member_oid, oid_set);
4667@@ -58,20 +54,14 @@ gss_add_oid_set_member(minor_status, member_oid, oid_set)
4668 }
4669
4670 OM_uint32 KRB5_CALLCONV
4671-gss_test_oid_set_member(minor_status, member, set, present)
4672- OM_uint32 *minor_status;
4673- gss_OID member;
4674- gss_OID_set set;
4675- int *present;
4676+gss_test_oid_set_member(OM_uint32 *minor_status, gss_OID member,
4677+ gss_OID_set set, int *present)
4678 {
4679 return generic_gss_test_oid_set_member(minor_status, member, set, present);
4680 }
4681
4682 OM_uint32 KRB5_CALLCONV
4683-gss_oid_to_str(minor_status, oid, oid_str)
4684- OM_uint32 *minor_status;
4685- gss_OID oid;
4686- gss_buffer_t oid_str;
4687+gss_oid_to_str(OM_uint32 *minor_status, gss_OID oid, gss_buffer_t oid_str)
4688 {
4689 OM_uint32 status = generic_gss_oid_to_str(minor_status, oid, oid_str);
4690 if (status != GSS_S_COMPLETE)
4691@@ -80,10 +70,7 @@ gss_oid_to_str(minor_status, oid, oid_str)
4692 }
4693
4694 OM_uint32 KRB5_CALLCONV
4695-gss_str_to_oid(minor_status, oid_str, oid)
4696- OM_uint32 *minor_status;
4697- gss_buffer_t oid_str;
4698- gss_OID *oid;
4699+gss_str_to_oid(OM_uint32 *minor_status, gss_buffer_t oid_str, gss_OID *oid)
4700 {
4701 OM_uint32 status = generic_gss_str_to_oid(minor_status, oid_str, oid);
4702 if (status != GSS_S_COMPLETE)
4703diff --git a/src/lib/gssapi/mechglue/g_process_context.c b/src/lib/gssapi/mechglue/g_process_context.c
4704index 3968b5d..2b3f6c7 100644
4705--- a/src/lib/gssapi/mechglue/g_process_context.c
4706+++ b/src/lib/gssapi/mechglue/g_process_context.c
4707@@ -29,14 +29,8 @@
4708 #include "mglueP.h"
4709
4710 OM_uint32 KRB5_CALLCONV
4711-gss_process_context_token (minor_status,
4712- context_handle,
4713- token_buffer)
4714-
4715-OM_uint32 * minor_status;
4716-gss_ctx_id_t context_handle;
4717-gss_buffer_t token_buffer;
4718-
4719+gss_process_context_token(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
4720+ gss_buffer_t token_buffer)
4721 {
4722 OM_uint32 status;
4723 gss_union_ctx_id_t ctx;
4724diff --git a/src/lib/gssapi/mechglue/g_rel_buffer.c b/src/lib/gssapi/mechglue/g_rel_buffer.c
4725index 8c3328a..60117bd 100644
4726--- a/src/lib/gssapi/mechglue/g_rel_buffer.c
4727+++ b/src/lib/gssapi/mechglue/g_rel_buffer.c
4728@@ -33,11 +33,7 @@
4729 #endif
4730
4731 OM_uint32 KRB5_CALLCONV
4732-gss_release_buffer (minor_status,
4733- buffer)
4734-
4735-OM_uint32 * minor_status;
4736-gss_buffer_t buffer;
4737+gss_release_buffer(OM_uint32 *minor_status, gss_buffer_t buffer)
4738 {
4739 if (minor_status)
4740 *minor_status = 0;
4741diff --git a/src/lib/gssapi/mechglue/g_rel_cred.c b/src/lib/gssapi/mechglue/g_rel_cred.c
4742index ccdee05..ee3d1d7 100644
4743--- a/src/lib/gssapi/mechglue/g_rel_cred.c
4744+++ b/src/lib/gssapi/mechglue/g_rel_cred.c
4745@@ -31,12 +31,7 @@
4746 #endif
4747
4748 OM_uint32 KRB5_CALLCONV
4749-gss_release_cred(minor_status,
4750- cred_handle)
4751-
4752-OM_uint32 * minor_status;
4753-gss_cred_id_t * cred_handle;
4754-
4755+gss_release_cred(OM_uint32 *minor_status, gss_cred_id_t *cred_handle)
4756 {
4757 OM_uint32 status, temp_status;
4758 int j;
4759diff --git a/src/lib/gssapi/mechglue/g_rel_name.c b/src/lib/gssapi/mechglue/g_rel_name.c
4760index e008692..d490f9f 100644
4761--- a/src/lib/gssapi/mechglue/g_rel_name.c
4762+++ b/src/lib/gssapi/mechglue/g_rel_name.c
4763@@ -34,12 +34,7 @@
4764 #include <string.h>
4765
4766 OM_uint32 KRB5_CALLCONV
4767-gss_release_name (minor_status,
4768- input_name)
4769-
4770-OM_uint32 * minor_status;
4771-gss_name_t * input_name;
4772-
4773+gss_release_name(OM_uint32 *minor_status, gss_name_t *input_name)
4774 {
4775 gss_union_name_t union_name;
4776
4777diff --git a/src/lib/gssapi/mechglue/g_rel_oid_set.c b/src/lib/gssapi/mechglue/g_rel_oid_set.c
4778index fa008d6..9151dd2 100644
4779--- a/src/lib/gssapi/mechglue/g_rel_oid_set.c
4780+++ b/src/lib/gssapi/mechglue/g_rel_oid_set.c
4781@@ -33,11 +33,7 @@
4782 #endif
4783
4784 OM_uint32 KRB5_CALLCONV
4785-gss_release_oid_set (minor_status,
4786- set)
4787-
4788-OM_uint32 * minor_status;
4789-gss_OID_set * set;
4790+gss_release_oid_set(OM_uint32 *minor_status, gss_OID_set *set)
4791 {
4792 return generic_gss_release_oid_set(minor_status, set);
4793 }
4794diff --git a/src/lib/gssapi/mechglue/g_sign.c b/src/lib/gssapi/mechglue/g_sign.c
4795index 03fbd8c..c9af1da 100644
4796--- a/src/lib/gssapi/mechglue/g_sign.c
4797+++ b/src/lib/gssapi/mechglue/g_sign.c
4798@@ -66,18 +66,9 @@ val_get_mic_args(
4799
4800
4801 OM_uint32 KRB5_CALLCONV
4802-gss_get_mic (minor_status,
4803- context_handle,
4804- qop_req,
4805- message_buffer,
4806- msg_token)
4807-
4808-OM_uint32 * minor_status;
4809-gss_ctx_id_t context_handle;
4810-gss_qop_t qop_req;
4811-gss_buffer_t message_buffer;
4812-gss_buffer_t msg_token;
4813-
4814+gss_get_mic(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
4815+ gss_qop_t qop_req, gss_buffer_t message_buffer,
4816+ gss_buffer_t msg_token)
4817 {
4818 OM_uint32 status;
4819 gss_union_ctx_id_t ctx;
4820@@ -118,18 +109,8 @@ gss_buffer_t msg_token;
4821 }
4822
4823 OM_uint32 KRB5_CALLCONV
4824-gss_sign (minor_status,
4825- context_handle,
4826- qop_req,
4827- message_buffer,
4828- msg_token)
4829-
4830-OM_uint32 * minor_status;
4831-gss_ctx_id_t context_handle;
4832-int qop_req;
4833-gss_buffer_t message_buffer;
4834-gss_buffer_t msg_token;
4835-
4836+gss_sign(OM_uint32 *minor_status, gss_ctx_id_t context_handle, int qop_req,
4837+ gss_buffer_t message_buffer, gss_buffer_t msg_token)
4838 {
4839 return (gss_get_mic(minor_status, context_handle, (gss_qop_t) qop_req,
4840 message_buffer, msg_token));
4841diff --git a/src/lib/gssapi/mechglue/g_store_cred.c b/src/lib/gssapi/mechglue/g_store_cred.c
4842index c2b6ddf..231b3e8 100644
4843--- a/src/lib/gssapi/mechglue/g_store_cred.c
4844+++ b/src/lib/gssapi/mechglue/g_store_cred.c
4845@@ -93,24 +93,10 @@ val_store_cred_args(
4846
4847
4848 OM_uint32 KRB5_CALLCONV
4849-gss_store_cred(minor_status,
4850- input_cred_handle,
4851- cred_usage,
4852- desired_mech,
4853- overwrite_cred,
4854- default_cred,
4855- elements_stored,
4856- cred_usage_stored)
4857-
4858-OM_uint32 *minor_status;
4859-gss_cred_id_t input_cred_handle;
4860-gss_cred_usage_t cred_usage;
4861-const gss_OID desired_mech;
4862-OM_uint32 overwrite_cred;
4863-OM_uint32 default_cred;
4864-gss_OID_set *elements_stored;
4865-gss_cred_usage_t *cred_usage_stored;
4866-
4867+gss_store_cred(OM_uint32 *minor_status, gss_cred_id_t input_cred_handle,
4868+ gss_cred_usage_t cred_usage, const gss_OID desired_mech,
4869+ OM_uint32 overwrite_cred, OM_uint32 default_cred,
4870+ gss_OID_set *elements_stored, gss_cred_usage_t *cred_usage_stored)
4871 {
4872 return gss_store_cred_into(minor_status, input_cred_handle, cred_usage,
4873 desired_mech, overwrite_cred, default_cred,
4874@@ -119,26 +105,12 @@ gss_cred_usage_t *cred_usage_stored;
4875 }
4876
4877 OM_uint32 KRB5_CALLCONV
4878-gss_store_cred_into(minor_status,
4879- input_cred_handle,
4880- cred_usage,
4881- desired_mech,
4882- overwrite_cred,
4883- default_cred,
4884- cred_store,
4885- elements_stored,
4886- cred_usage_stored)
4887-
4888-OM_uint32 *minor_status;
4889-gss_cred_id_t input_cred_handle;
4890-gss_cred_usage_t cred_usage;
4891-gss_OID desired_mech;
4892-OM_uint32 overwrite_cred;
4893-OM_uint32 default_cred;
4894-gss_const_key_value_set_t cred_store;
4895-gss_OID_set *elements_stored;
4896-gss_cred_usage_t *cred_usage_stored;
4897-
4898+gss_store_cred_into(OM_uint32 *minor_status, gss_cred_id_t input_cred_handle,
4899+ gss_cred_usage_t cred_usage, gss_OID desired_mech,
4900+ OM_uint32 overwrite_cred, OM_uint32 default_cred,
4901+ gss_const_key_value_set_t cred_store,
4902+ gss_OID_set *elements_stored,
4903+ gss_cred_usage_t *cred_usage_stored)
4904 {
4905 OM_uint32 major_status = GSS_S_FAILURE;
4906 gss_union_cred_t union_cred;
4907diff --git a/src/lib/gssapi/mechglue/g_unseal.c b/src/lib/gssapi/mechglue/g_unseal.c
4908index c208635..2be3745 100644
4909--- a/src/lib/gssapi/mechglue/g_unseal.c
4910+++ b/src/lib/gssapi/mechglue/g_unseal.c
4911@@ -29,20 +29,10 @@
4912 #include "mglueP.h"
4913
4914 OM_uint32 KRB5_CALLCONV
4915-gss_unwrap (minor_status,
4916- context_handle,
4917- input_message_buffer,
4918- output_message_buffer,
4919- conf_state,
4920- qop_state)
4921-
4922-OM_uint32 * minor_status;
4923-gss_ctx_id_t context_handle;
4924-gss_buffer_t input_message_buffer;
4925-gss_buffer_t output_message_buffer;
4926-int * conf_state;
4927-gss_qop_t * qop_state;
4928-
4929+gss_unwrap(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
4930+ gss_buffer_t input_message_buffer,
4931+ gss_buffer_t output_message_buffer,
4932+ int *conf_state, gss_qop_t *qop_state)
4933 {
4934 /* EXPORT DELETE START */
4935 OM_uint32 status;
4936@@ -111,20 +101,9 @@ gss_qop_t * qop_state;
4937 }
4938
4939 OM_uint32 KRB5_CALLCONV
4940-gss_unseal (minor_status,
4941- context_handle,
4942- input_message_buffer,
4943- output_message_buffer,
4944- conf_state,
4945- qop_state)
4946-
4947-OM_uint32 * minor_status;
4948-gss_ctx_id_t context_handle;
4949-gss_buffer_t input_message_buffer;
4950-gss_buffer_t output_message_buffer;
4951-int * conf_state;
4952-int * qop_state;
4953-
4954+gss_unseal(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
4955+ gss_buffer_t input_message_buffer,
4956+ gss_buffer_t output_message_buffer, int *conf_state, int *qop_state)
4957 {
4958 return (gss_unwrap(minor_status, context_handle,
4959 input_message_buffer,
4960diff --git a/src/lib/gssapi/mechglue/g_unwrap_aead.c b/src/lib/gssapi/mechglue/g_unwrap_aead.c
4961index 0682bd8..5c9ff30 100644
4962--- a/src/lib/gssapi/mechglue/g_unwrap_aead.c
4963+++ b/src/lib/gssapi/mechglue/g_unwrap_aead.c
4964@@ -154,20 +154,11 @@ gssint_unwrap_aead (gss_mechanism mech,
4965 }
4966
4967 OM_uint32 KRB5_CALLCONV
4968-gss_unwrap_aead (minor_status,
4969- context_handle,
4970- input_message_buffer,
4971- input_assoc_buffer,
4972- output_payload_buffer,
4973- conf_state,
4974- qop_state)
4975-OM_uint32 * minor_status;
4976-gss_ctx_id_t context_handle;
4977-gss_buffer_t input_message_buffer;
4978-gss_buffer_t input_assoc_buffer;
4979-gss_buffer_t output_payload_buffer;
4980-int *conf_state;
4981-gss_qop_t *qop_state;
4982+gss_unwrap_aead(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
4983+ gss_buffer_t input_message_buffer,
4984+ gss_buffer_t input_assoc_buffer,
4985+ gss_buffer_t output_payload_buffer,
4986+ int *conf_state, gss_qop_t *qop_state)
4987 {
4988
4989 OM_uint32 status;
4990diff --git a/src/lib/gssapi/mechglue/g_unwrap_iov.c b/src/lib/gssapi/mechglue/g_unwrap_iov.c
4991index 599be2c..bf9c3bc 100644
4992--- a/src/lib/gssapi/mechglue/g_unwrap_iov.c
4993+++ b/src/lib/gssapi/mechglue/g_unwrap_iov.c
4994@@ -59,18 +59,9 @@ val_unwrap_iov_args(
4995
4996
4997 OM_uint32 KRB5_CALLCONV
4998-gss_unwrap_iov (minor_status,
4999- context_handle,
5000- conf_state,
5001- qop_state,
5002- iov,
5003- iov_count)
5004-OM_uint32 * minor_status;
5005-gss_ctx_id_t context_handle;
5006-int * conf_state;
5007-gss_qop_t *qop_state;
5008-gss_iov_buffer_desc * iov;
5009-int iov_count;
5010+gss_unwrap_iov(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
5011+ int *conf_state, gss_qop_t *qop_state,
5012+ gss_iov_buffer_desc *iov, int iov_count)
5013 {
5014 /* EXPORT DELETE START */
5015
5016diff --git a/src/lib/gssapi/mechglue/g_verify.c b/src/lib/gssapi/mechglue/g_verify.c
5017index 8996fce..86ade66 100644
5018--- a/src/lib/gssapi/mechglue/g_verify.c
5019+++ b/src/lib/gssapi/mechglue/g_verify.c
5020@@ -29,18 +29,9 @@
5021 #include "mglueP.h"
5022
5023 OM_uint32 KRB5_CALLCONV
5024-gss_verify_mic (minor_status,
5025- context_handle,
5026- message_buffer,
5027- token_buffer,
5028- qop_state)
5029-
5030-OM_uint32 * minor_status;
5031-gss_ctx_id_t context_handle;
5032-gss_buffer_t message_buffer;
5033-gss_buffer_t token_buffer;
5034-gss_qop_t * qop_state;
5035-
5036+gss_verify_mic(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
5037+ gss_buffer_t message_buffer, gss_buffer_t token_buffer,
5038+ gss_qop_t *qop_state)
5039 {
5040 OM_uint32 status;
5041 gss_union_ctx_id_t ctx;
5042@@ -89,18 +80,9 @@ gss_qop_t * qop_state;
5043 }
5044
5045 OM_uint32 KRB5_CALLCONV
5046-gss_verify (minor_status,
5047- context_handle,
5048- message_buffer,
5049- token_buffer,
5050- qop_state)
5051-
5052-OM_uint32 * minor_status;
5053-gss_ctx_id_t context_handle;
5054-gss_buffer_t message_buffer;
5055-gss_buffer_t token_buffer;
5056-int * qop_state;
5057-
5058+gss_verify(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
5059+ gss_buffer_t message_buffer, gss_buffer_t token_buffer,
5060+ int *qop_state)
5061 {
5062 return (gss_verify_mic(minor_status, context_handle,
5063 message_buffer, token_buffer,
5064diff --git a/src/lib/gssapi/mechglue/g_wrap_aead.c b/src/lib/gssapi/mechglue/g_wrap_aead.c
5065index 7fe3b7b..5a6570f 100644
5066--- a/src/lib/gssapi/mechglue/g_wrap_aead.c
5067+++ b/src/lib/gssapi/mechglue/g_wrap_aead.c
5068@@ -177,15 +177,11 @@ gssint_wrap_aead_iov_shim(gss_mechanism mech,
5069 }
5070
5071 OM_uint32
5072-gssint_wrap_aead (gss_mechanism mech,
5073- OM_uint32 *minor_status,
5074- gss_union_ctx_id_t ctx,
5075- int conf_req_flag,
5076- gss_qop_t qop_req,
5077- gss_buffer_t input_assoc_buffer,
5078- gss_buffer_t input_payload_buffer,
5079- int *conf_state,
5080- gss_buffer_t output_message_buffer)
5081+gssint_wrap_aead(gss_mechanism mech, OM_uint32 *minor_status,
5082+ gss_union_ctx_id_t ctx, int conf_req_flag, gss_qop_t qop_req,
5083+ gss_buffer_t input_assoc_buffer,
5084+ gss_buffer_t input_payload_buffer,
5085+ int *conf_state, gss_buffer_t output_message_buffer)
5086 {
5087 /* EXPORT DELETE START */
5088 OM_uint32 status;
5089@@ -223,22 +219,15 @@ gssint_wrap_aead (gss_mechanism mech,
5090 }
5091
5092 OM_uint32 KRB5_CALLCONV
5093-gss_wrap_aead (minor_status,
5094- context_handle,
5095- conf_req_flag,
5096- qop_req,
5097- input_assoc_buffer,
5098- input_payload_buffer,
5099- conf_state,
5100- output_message_buffer)
5101-OM_uint32 * minor_status;
5102-gss_ctx_id_t context_handle;
5103-int conf_req_flag;
5104-gss_qop_t qop_req;
5105-gss_buffer_t input_assoc_buffer;
5106-gss_buffer_t input_payload_buffer;
5107-int * conf_state;
5108-gss_buffer_t output_message_buffer;
5109+gss_wrap_aead (
5110+ OM_uint32 * minor_status,
5111+ gss_ctx_id_t context_handle,
5112+ int conf_req_flag,
5113+ gss_qop_t qop_req,
5114+ gss_buffer_t input_assoc_buffer,
5115+ gss_buffer_t input_payload_buffer,
5116+ int * conf_state,
5117+ gss_buffer_t output_message_buffer)
5118 {
5119 OM_uint32 status;
5120 gss_mechanism mech;
5121diff --git a/src/lib/gssapi/mechglue/g_wrap_iov.c b/src/lib/gssapi/mechglue/g_wrap_iov.c
5122index 14447c4..aaf3a93 100644
5123--- a/src/lib/gssapi/mechglue/g_wrap_iov.c
5124+++ b/src/lib/gssapi/mechglue/g_wrap_iov.c
5125@@ -60,20 +60,9 @@ val_wrap_iov_args(
5126
5127
5128 OM_uint32 KRB5_CALLCONV
5129-gss_wrap_iov (minor_status,
5130- context_handle,
5131- conf_req_flag,
5132- qop_req,
5133- conf_state,
5134- iov,
5135- iov_count)
5136-OM_uint32 * minor_status;
5137-gss_ctx_id_t context_handle;
5138-int conf_req_flag;
5139-gss_qop_t qop_req;
5140-int * conf_state;
5141-gss_iov_buffer_desc * iov;
5142-int iov_count;
5143+gss_wrap_iov(OM_uint32 * minor_status, gss_ctx_id_t context_handle,
5144+ int conf_req_flag, gss_qop_t qop_req, int *conf_state,
5145+ gss_iov_buffer_desc *iov, int iov_count)
5146 {
5147 /* EXPORT DELETE START */
5148
5149@@ -120,20 +109,10 @@ int iov_count;
5150 }
5151
5152 OM_uint32 KRB5_CALLCONV
5153-gss_wrap_iov_length (minor_status,
5154- context_handle,
5155- conf_req_flag,
5156- qop_req,
5157- conf_state,
5158- iov,
5159- iov_count)
5160-OM_uint32 * minor_status;
5161-gss_ctx_id_t context_handle;
5162-int conf_req_flag;
5163-gss_qop_t qop_req;
5164-int * conf_state;
5165-gss_iov_buffer_desc * iov;
5166-int iov_count;
5167+gss_wrap_iov_length(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
5168+ int conf_req_flag, gss_qop_t qop_req,
5169+ int *conf_state, gss_iov_buffer_desc *iov,
5170+ int iov_count)
5171 {
5172 /* EXPORT DELETE START */
5173
5174@@ -239,12 +218,8 @@ gss_get_mic_iov_length(OM_uint32 *minor_status, gss_ctx_id_t context_handle,
5175 }
5176
5177 OM_uint32 KRB5_CALLCONV
5178-gss_release_iov_buffer (minor_status,
5179- iov,
5180- iov_count)
5181-OM_uint32 * minor_status;
5182-gss_iov_buffer_desc * iov;
5183-int iov_count;
5184+gss_release_iov_buffer(OM_uint32 * minor_status, gss_iov_buffer_desc *iov,
5185+ int iov_count)
5186 {
5187 OM_uint32 status = GSS_S_COMPLETE;
5188 int i;
5189diff --git a/src/lib/kadm5/clnt/client_rpc.c b/src/lib/kadm5/clnt/client_rpc.c
5190index d84d158..c8d844e 100644
5191--- a/src/lib/kadm5/clnt/client_rpc.c
5192+++ b/src/lib/kadm5/clnt/client_rpc.c
5193@@ -1,6 +1,7 @@
5194 /* -*- mode: c; c-file-style: "bsd"; indent-tabs-mode: t -*- */
5195 #include <gssrpc/rpc.h>
5196 #include <kadm5/kadm_rpc.h>
5197+#include <kadm5/admin_xdr.h>
5198 #include <krb5.h>
5199 #include <kadm5/admin.h>
5200 #include <string.h> /* for memset prototype */
5201diff --git a/src/lib/kadm5/kadm_rpc.h b/src/lib/kadm5/kadm_rpc.h
5202index 5099c6c..9efe49a 100644
5203--- a/src/lib/kadm5/kadm_rpc.h
5204+++ b/src/lib/kadm5/kadm_rpc.h
5205@@ -360,49 +360,4 @@ extern enum clnt_stat get_principal_keys_2(getpkeys_arg *, getpkeys_ret *,
5206 CLIENT *);
5207 extern bool_t get_principal_keys_2_svc(getpkeys_arg *, getpkeys_ret *,
5208 struct svc_req *);
5209-
5210-extern bool_t xdr_cprinc_arg ();
5211-extern bool_t xdr_cprinc3_arg ();
5212-extern bool_t xdr_generic_ret ();
5213-extern bool_t xdr_dprinc_arg ();
5214-extern bool_t xdr_mprinc_arg ();
5215-extern bool_t xdr_rprinc_arg ();
5216-extern bool_t xdr_gprincs_arg ();
5217-extern bool_t xdr_gprincs_ret ();
5218-extern bool_t xdr_chpass_arg ();
5219-extern bool_t xdr_chpass3_arg ();
5220-extern bool_t xdr_setkey_arg ();
5221-extern bool_t xdr_setkey3_arg ();
5222-extern bool_t xdr_setkey4_arg ();
5223-extern bool_t xdr_chrand_arg ();
5224-extern bool_t xdr_chrand3_arg ();
5225-extern bool_t xdr_chrand_ret ();
5226-extern bool_t xdr_gprinc_arg ();
5227-extern bool_t xdr_gprinc_ret ();
5228-extern bool_t xdr_kadm5_ret_t ();
5229-extern bool_t xdr_kadm5_principal_ent_rec ();
5230-extern bool_t xdr_kadm5_policy_ent_rec ();
5231-extern bool_t xdr_krb5_keyblock ();
5232-extern bool_t xdr_krb5_principal ();
5233-extern bool_t xdr_krb5_enctype ();
5234-extern bool_t xdr_krb5_octet ();
5235-extern bool_t xdr_krb5_int32 ();
5236-extern bool_t xdr_u_int32 ();
5237-extern bool_t xdr_cpol_arg ();
5238-extern bool_t xdr_dpol_arg ();
5239-extern bool_t xdr_mpol_arg ();
5240-extern bool_t xdr_gpol_arg ();
5241-extern bool_t xdr_gpol_ret ();
5242-extern bool_t xdr_gpols_arg ();
5243-extern bool_t xdr_gpols_ret ();
5244-extern bool_t xdr_getprivs_ret ();
5245-extern bool_t xdr_purgekeys_arg ();
5246-extern bool_t xdr_gstrings_arg ();
5247-extern bool_t xdr_gstrings_ret ();
5248-extern bool_t xdr_sstring_arg ();
5249-extern bool_t xdr_krb5_string_attr ();
5250-extern bool_t xdr_kadm5_key_data ();
5251-extern bool_t xdr_getpkeys_arg ();
5252-extern bool_t xdr_getpkeys_ret ();
5253-
5254 #endif /* __KADM_RPC_H__ */
5255diff --git a/src/lib/kadm5/kadm_rpc_xdr.c b/src/lib/kadm5/kadm_rpc_xdr.c
5256index 287cae7..5e052dd 100644
5257--- a/src/lib/kadm5/kadm_rpc_xdr.c
5258+++ b/src/lib/kadm5/kadm_rpc_xdr.c
5259@@ -408,7 +408,7 @@ _xdr_kadm5_principal_ent_rec(XDR *xdrs, kadm5_principal_ent_rec *objp,
5260 return (FALSE);
5261 }
5262 if (!xdr_nulltype(xdrs, (void **) &objp->mod_name,
5263- xdr_krb5_principal)) {
5264+ (xdrproc_t)xdr_krb5_principal)) {
5265 return (FALSE);
5266 }
5267 if (!xdr_krb5_timestamp(xdrs, &objp->mod_date)) {
5268@@ -451,12 +451,13 @@ _xdr_kadm5_principal_ent_rec(XDR *xdrs, kadm5_principal_ent_rec *objp,
5269 return (FALSE);
5270 }
5271 if (!xdr_nulltype(xdrs, (void **) &objp->tl_data,
5272- xdr_krb5_tl_data)) {
5273+ (xdrproc_t)xdr_krb5_tl_data)) {
5274 return FALSE;
5275 }
5276 n = objp->n_key_data;
5277 r = xdr_array(xdrs, (caddr_t *) &objp->key_data, &n, objp->n_key_data,
5278- sizeof(krb5_key_data), xdr_krb5_key_data_nocontents);
5279+ sizeof(krb5_key_data),
5280+ (xdrproc_t)xdr_krb5_key_data_nocontents);
5281 objp->n_key_data = n;
5282 if (!r) {
5283 return (FALSE);
5284@@ -528,7 +529,7 @@ _xdr_kadm5_policy_ent_rec(XDR *xdrs, kadm5_policy_ent_rec *objp, int vers)
5285 return (FALSE);
5286 }
5287 if (!xdr_nulltype(xdrs, (void **) &objp->tl_data,
5288- xdr_krb5_tl_data)) {
5289+ (xdrproc_t)xdr_krb5_tl_data)) {
5290 return FALSE;
5291 }
5292 }
5293@@ -576,7 +577,7 @@ xdr_cprinc3_arg(XDR *xdrs, cprinc3_arg *objp)
5294 if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple,
5295 (unsigned int *)&objp->n_ks_tuple, ~0,
5296 sizeof(krb5_key_salt_tuple),
5297- xdr_krb5_key_salt_tuple)) {
5298+ (xdrproc_t)xdr_krb5_key_salt_tuple)) {
5299 return (FALSE);
5300 }
5301 if (!xdr_nullstring(xdrs, &objp->passwd)) {
5302@@ -668,7 +669,7 @@ xdr_gprincs_ret(XDR *xdrs, gprincs_ret *objp)
5303 }
5304 if (!xdr_array(xdrs, (caddr_t *) &objp->princs,
5305 (unsigned int *) &objp->count, ~0,
5306- sizeof(char *), xdr_nullstring)) {
5307+ sizeof(char *), (xdrproc_t)xdr_nullstring)) {
5308 return (FALSE);
5309 }
5310 }
5311@@ -706,7 +707,7 @@ xdr_chpass3_arg(XDR *xdrs, chpass3_arg *objp)
5312 if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple,
5313 (unsigned int*)&objp->n_ks_tuple, ~0,
5314 sizeof(krb5_key_salt_tuple),
5315- xdr_krb5_key_salt_tuple)) {
5316+ (xdrproc_t)xdr_krb5_key_salt_tuple)) {
5317 return (FALSE);
5318 }
5319 if (!xdr_nullstring(xdrs, &objp->pass)) {
5320@@ -726,7 +727,7 @@ xdr_setkey_arg(XDR *xdrs, setkey_arg *objp)
5321 }
5322 if (!xdr_array(xdrs, (caddr_t *) &objp->keyblocks,
5323 (unsigned int *) &objp->n_keys, ~0,
5324- sizeof(krb5_keyblock), xdr_krb5_keyblock)) {
5325+ sizeof(krb5_keyblock), (xdrproc_t)xdr_krb5_keyblock)) {
5326 return (FALSE);
5327 }
5328 return (TRUE);
5329@@ -746,12 +747,13 @@ xdr_setkey3_arg(XDR *xdrs, setkey3_arg *objp)
5330 }
5331 if (!xdr_array(xdrs, (caddr_t *) &objp->ks_tuple,
5332 (unsigned int *) &objp->n_ks_tuple, ~0,
5333- sizeof(krb5_key_salt_tuple), xdr_krb5_key_salt_tuple)) {
5334+ sizeof(krb5_key_salt_tuple),
5335+ (xdrproc_t)xdr_krb5_key_salt_tuple)) {
5336 return (FALSE);
5337 }
5338 if (!xdr_array(xdrs, (caddr_t *) &objp->keyblocks,
5339 (unsigned int *) &objp->n_keys, ~0,
5340- sizeof(krb5_keyblock), xdr_krb5_keyblock)) {
5341+ sizeof(krb5_keyblock), (xdrproc_t)xdr_krb5_keyblock)) {
5342 return (FALSE);
5343 }
5344 return (TRUE);
5345@@ -771,7 +773,8 @@ xdr_setkey4_arg(XDR *xdrs, setkey4_arg *objp)
5346 }
5347 if (!xdr_array(xdrs, (caddr_t *) &objp->key_data,
5348 (unsigned int *) &objp->n_key_data, ~0,
5349- sizeof(kadm5_key_data), xdr_kadm5_key_data)) {
5350+ sizeof(kadm5_key_data),
5351+ (xdrproc_t)xdr_kadm5_key_data)) {
5352 return FALSE;
5353 }
5354 return TRUE;
5355@@ -804,7 +807,7 @@ xdr_chrand3_arg(XDR *xdrs, chrand3_arg *objp)
5356 if (!xdr_array(xdrs, (caddr_t *)&objp->ks_tuple,
5357 (unsigned int*)&objp->n_ks_tuple, ~0,
5358 sizeof(krb5_key_salt_tuple),
5359- xdr_krb5_key_salt_tuple)) {
5360+ (xdrproc_t)xdr_krb5_key_salt_tuple)) {
5361 return (FALSE);
5362 }
5363 return (TRUE);
5364@@ -822,7 +825,8 @@ xdr_chrand_ret(XDR *xdrs, chrand_ret *objp)
5365 if (objp->code == KADM5_OK) {
5366 if (!xdr_array(xdrs, (char **)&objp->keys,
5367 (unsigned int *)&objp->n_keys, ~0,
5368- sizeof(krb5_keyblock), xdr_krb5_keyblock))
5369+ sizeof(krb5_keyblock),
5370+ (xdrproc_t)xdr_krb5_keyblock))
5371 return FALSE;
5372 }
5373
5374@@ -965,7 +969,7 @@ xdr_gpols_ret(XDR *xdrs, gpols_ret *objp)
5375 }
5376 if (!xdr_array(xdrs, (caddr_t *) &objp->pols,
5377 (unsigned int *) &objp->count, ~0,
5378- sizeof(char *), xdr_nullstring)) {
5379+ sizeof(char *), (xdrproc_t)xdr_nullstring)) {
5380 return (FALSE);
5381 }
5382 }
5383@@ -1030,7 +1034,7 @@ xdr_gstrings_ret(XDR *xdrs, gstrings_ret *objp)
5384 if (!xdr_array(xdrs, (caddr_t *) &objp->strings,
5385 (unsigned int *) &objp->count, ~0,
5386 sizeof(krb5_string_attr),
5387- xdr_krb5_string_attr)) {
5388+ (xdrproc_t)xdr_krb5_string_attr)) {
5389 return (FALSE);
5390 }
5391 }
5392@@ -1198,7 +1202,8 @@ xdr_getpkeys_ret(XDR *xdrs, getpkeys_ret *objp)
5393 if (objp->code == KADM5_OK) {
5394 if (!xdr_array(xdrs, (caddr_t *) &objp->key_data,
5395 (unsigned int *) &objp->n_key_data, ~0,
5396- sizeof(kadm5_key_data), xdr_kadm5_key_data)) {
5397+ sizeof(kadm5_key_data),
5398+ (xdrproc_t)xdr_kadm5_key_data)) {
5399 return FALSE;
5400 }
5401 }
5402diff --git a/src/lib/kadm5/misc_free.c b/src/lib/kadm5/misc_free.c
5403index 74d2376..9ac47bb 100644
5404--- a/src/lib/kadm5/misc_free.c
5405+++ b/src/lib/kadm5/misc_free.c
5406@@ -41,9 +41,8 @@ kadm5_free_name_list(void *server_handle, char **names, int count)
5407 }
5408
5409 /* XXX this ought to be in libkrb5.a, but isn't */
5410-kadm5_ret_t krb5_free_key_data_contents(context, key)
5411- krb5_context context;
5412- krb5_key_data *key;
5413+kadm5_ret_t
5414+krb5_free_key_data_contents(krb5_context context, krb5_key_data *key)
5415 {
5416 int i, idx;
5417
5418diff --git a/src/lib/kadm5/srv/adb_xdr.c b/src/lib/kadm5/srv/adb_xdr.c
5419index fc73297..b6ffdb8 100644
5420--- a/src/lib/kadm5/srv/adb_xdr.c
5421+++ b/src/lib/kadm5/srv/adb_xdr.c
5422@@ -53,8 +53,7 @@ xdr_osa_pw_hist_ent(XDR *xdrs, osa_pw_hist_ent *objp)
5423 {
5424 if (!xdr_array(xdrs, (caddr_t *) &objp->key_data,
5425 (u_int *) &objp->n_key_data, ~0,
5426- sizeof(krb5_key_data),
5427- xdr_krb5_key_data))
5428+ sizeof(krb5_key_data), (xdrproc_t)xdr_krb5_key_data))
5429 return (FALSE);
5430 return (TRUE);
5431 }
5432@@ -88,8 +87,7 @@ xdr_osa_princ_ent_rec(XDR *xdrs, osa_princ_ent_t objp)
5433 return (FALSE);
5434 if (!xdr_array(xdrs, (caddr_t *) &objp->old_keys,
5435 (unsigned int *) &objp->old_key_len, ~0,
5436- sizeof(osa_pw_hist_ent),
5437- xdr_osa_pw_hist_ent))
5438+ sizeof(osa_pw_hist_ent), (xdrproc_t)xdr_osa_pw_hist_ent))
5439 return (FALSE);
5440 return (TRUE);
5441 }
5442diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c
5443index 8c3ad3a..d5bb0b1 100644
5444--- a/src/lib/kadm5/srv/svr_principal.c
5445+++ b/src/lib/kadm5/srv/svr_principal.c
5446@@ -30,9 +30,9 @@ static int decrypt_key_data(krb5_context context,
5447 /*
5448 * XXX Functions that ought to be in libkrb5.a, but aren't.
5449 */
5450-kadm5_ret_t krb5_copy_key_data_contents(context, from, to)
5451- krb5_context context;
5452- krb5_key_data *from, *to;
5453+kadm5_ret_t
5454+krb5_copy_key_data_contents(krb5_context context, krb5_key_data *from,
5455+ krb5_key_data *to)
5456 {
5457 int i, idx;
5458
5459@@ -75,10 +75,8 @@ static krb5_tl_data *dup_tl_data(krb5_tl_data *tl)
5460 }
5461
5462 /* This is in lib/kdb/kdb_cpw.c, but is static */
5463-static void cleanup_key_data(context, count, data)
5464- krb5_context context;
5465- int count;
5466- krb5_key_data * data;
5467+static void
5468+cleanup_key_data(krb5_context context, int count, krb5_key_data *data)
5469 {
5470 int i;
5471
5472diff --git a/src/lib/kadm5/str_conv.c b/src/lib/kadm5/str_conv.c
5473index 7982956..f2fae83 100644
5474--- a/src/lib/kadm5/str_conv.c
5475+++ b/src/lib/kadm5/str_conv.c
5476@@ -267,11 +267,8 @@ cleanup:
5477 * Salttype may be negative to indicate a search for only a enctype.
5478 */
5479 krb5_boolean
5480-krb5_keysalt_is_present(ksaltlist, nksalts, enctype, salttype)
5481- krb5_key_salt_tuple *ksaltlist;
5482- krb5_int32 nksalts;
5483- krb5_enctype enctype;
5484- krb5_int32 salttype;
5485+krb5_keysalt_is_present(krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalts,
5486+ krb5_enctype enctype, krb5_int32 salttype)
5487 {
5488 krb5_boolean foundit;
5489 int i;
5490@@ -375,12 +372,11 @@ cleanup:
5491 * If ignoresalt set, then salttype is ignored.
5492 */
5493 krb5_error_code
5494-krb5_keysalt_iterate(ksaltlist, nksalt, ignoresalt, iterator, arg)
5495- krb5_key_salt_tuple *ksaltlist;
5496- krb5_int32 nksalt;
5497- krb5_boolean ignoresalt;
5498- krb5_error_code (*iterator) (krb5_key_salt_tuple *, krb5_pointer);
5499- krb5_pointer arg;
5500+krb5_keysalt_iterate(krb5_key_salt_tuple *ksaltlist, krb5_int32 nksalt,
5501+ krb5_boolean ignoresalt,
5502+ krb5_error_code (*iterator)(krb5_key_salt_tuple *,
5503+ void *),
5504+ void *arg)
5505 {
5506 int i;
5507 krb5_error_code kret;
5508diff --git a/src/lib/kadm5/t_kadm5.c b/src/lib/kadm5/t_kadm5.c
5509index 153147f..b3ab100 100644
5510--- a/src/lib/kadm5/t_kadm5.c
5511+++ b/src/lib/kadm5/t_kadm5.c
5512@@ -276,7 +276,7 @@ cpw_test_succeed(char *user, krb5_principal princ, char *pass)
5513 }
5514
5515 static void
5516-test_chpass()
5517+test_chpass(void)
5518 {
5519 krb5_principal princ = parse_princ("chpass-test");
5520 krb5_principal hist_princ = parse_princ("kadmin/history");
5521@@ -334,7 +334,7 @@ cpol_test_compare(char *user, kadm5_policy_ent_t ent, uint32_t mask)
5522 }
5523
5524 static void
5525-test_create_policy()
5526+test_create_policy(void)
5527 {
5528 void *handle;
5529 kadm5_policy_ent_rec ent;
5530@@ -440,7 +440,7 @@ cprinc_test_compare(char *user, kadm5_principal_ent_t ent, uint32_t mask,
5531 }
5532
5533 static void
5534-test_create_principal()
5535+test_create_principal(void)
5536 {
5537 void *handle;
5538 kadm5_principal_ent_rec ent;
5539@@ -535,7 +535,7 @@ dpol_test_succeed(char *user, char *name)
5540 }
5541
5542 static void
5543-test_delete_policy()
5544+test_delete_policy(void)
5545 {
5546 krb5_principal princ = parse_princ("delete-policy-test-princ");
5547
5548@@ -587,7 +587,7 @@ dprinc_test_succeed(char *user, krb5_principal princ)
5549 }
5550
5551 static void
5552-test_delete_principal()
5553+test_delete_principal(void)
5554 {
5555 krb5_principal princ = parse_princ("delete-principal-test");
5556
5557@@ -638,7 +638,7 @@ gpol_test_fail(char *user, char *name, krb5_error_code code)
5558 }
5559
5560 static void
5561-test_get_policy()
5562+test_get_policy(void)
5563 {
5564 /* Fails with unknown policy. */
5565 dpol_test_fail("admin", "unknown-policy", KADM5_UNK_POLICY);
5566@@ -684,7 +684,7 @@ gprinc_test_fail(char *user, krb5_principal princ, krb5_error_code code)
5567 }
5568
5569 static void
5570-test_get_principal()
5571+test_get_principal(void)
5572 {
5573 void *handle;
5574 kadm5_principal_ent_rec ent;
5575@@ -743,7 +743,7 @@ test_get_principal()
5576 }
5577
5578 static void
5579-test_init_destroy()
5580+test_init_destroy(void)
5581 {
5582 krb5_context ctx;
5583 kadm5_ret_t ret;
5584@@ -1019,7 +1019,7 @@ mpol_test_compare(void *handle, kadm5_policy_ent_t ent, uint32_t mask)
5585 }
5586
5587 static void
5588-test_modify_policy()
5589+test_modify_policy(void)
5590 {
5591 kadm5_policy_ent_rec ent;
5592
5593@@ -1109,7 +1109,7 @@ mprinc_test_compare(char *user, kadm5_principal_ent_t ent, uint32_t mask)
5594 }
5595
5596 static void
5597-test_modify_principal()
5598+test_modify_principal(void)
5599 {
5600 void *handle;
5601 krb5_principal princ = parse_princ("modify-principal-test");
5602@@ -1233,7 +1233,7 @@ rnd_test_succeed(char *user, krb5_principal princ)
5603 }
5604
5605 static void
5606-test_randkey()
5607+test_randkey(void)
5608 {
5609 void *handle;
5610 krb5_principal princ = parse_princ("randkey-principal-test");
5611diff --git a/src/lib/kdb/kdb5.c b/src/lib/kdb/kdb5.c
5612index 415ae64..0837f56 100644
5613--- a/src/lib/kdb/kdb5.c
5614+++ b/src/lib/kdb/kdb5.c
5615@@ -75,13 +75,13 @@ free_mkey_list(krb5_context context, krb5_keylist_node *mkey_list)
5616 }
5617
5618 int
5619-kdb_init_lock_list()
5620+kdb_init_lock_list(void)
5621 {
5622 return k5_mutex_finish_init(&db_lock);
5623 }
5624
5625 static int
5626-kdb_lock_list()
5627+kdb_lock_list(void)
5628 {
5629 int err;
5630 err = CALL_INIT_FUNCTION (kdb_init_lock_list);
5631@@ -92,14 +92,14 @@ kdb_lock_list()
5632 }
5633
5634 void
5635-kdb_fini_lock_list()
5636+kdb_fini_lock_list(void)
5637 {
5638 if (INITIALIZER_RAN(kdb_init_lock_list))
5639 k5_mutex_destroy(&db_lock);
5640 }
5641
5642 static void
5643-kdb_unlock_list()
5644+kdb_unlock_list(void)
5645 {
5646 k5_mutex_unlock(&db_lock);
5647 }
5648diff --git a/src/lib/kdb/kdb_cpw.c b/src/lib/kdb/kdb_cpw.c
5649index 450860f..c33c7cf 100644
5650--- a/src/lib/kdb/kdb_cpw.c
5651+++ b/src/lib/kdb/kdb_cpw.c
5652@@ -57,10 +57,7 @@
5653 enum save { DISCARD_ALL, KEEP_LAST_KVNO, KEEP_ALL };
5654
5655 int
5656-krb5_db_get_key_data_kvno(context, count, data)
5657- krb5_context context;
5658- int count;
5659- krb5_key_data * data;
5660+krb5_db_get_key_data_kvno(krb5_context context, int count, krb5_key_data *data)
5661 {
5662 int i, kvno;
5663 /* Find last key version number */
5664@@ -73,10 +70,7 @@ krb5_db_get_key_data_kvno(context, count, data)
5665 }
5666
5667 static void
5668-cleanup_key_data(context, count, data)
5669- krb5_context context;
5670- int count;
5671- krb5_key_data * data;
5672+cleanup_key_data(krb5_context context, int count, krb5_key_data *data)
5673 {
5674 int i;
5675
5676@@ -149,13 +143,9 @@ preserve_old_keys(krb5_context context, krb5_keyblock *mkey,
5677 }
5678
5679 static krb5_error_code
5680-add_key_rnd(context, master_key, ks_tuple, ks_tuple_count, db_entry, kvno)
5681- krb5_context context;
5682- krb5_keyblock * master_key;
5683- krb5_key_salt_tuple * ks_tuple;
5684- int ks_tuple_count;
5685- krb5_db_entry * db_entry;
5686- int kvno;
5687+add_key_rnd(krb5_context context, krb5_keyblock *master_key,
5688+ krb5_key_salt_tuple *ks_tuple, int ks_tuple_count,
5689+ krb5_db_entry *db_entry, int kvno)
5690 {
5691 krb5_keyblock key;
5692 int i, j;
5693@@ -246,15 +236,9 @@ make_random_salt(krb5_context context, krb5_keysalt *salt_out)
5694 * If passwd is NULL the assumes that the caller wants a random password.
5695 */
5696 static krb5_error_code
5697-add_key_pwd(context, master_key, ks_tuple, ks_tuple_count, passwd,
5698- db_entry, kvno)
5699- krb5_context context;
5700- krb5_keyblock * master_key;
5701- krb5_key_salt_tuple * ks_tuple;
5702- int ks_tuple_count;
5703- const char * passwd;
5704- krb5_db_entry * db_entry;
5705- int kvno;
5706+add_key_pwd(krb5_context context, krb5_keyblock *master_key,
5707+ krb5_key_salt_tuple *ks_tuple, int ks_tuple_count,
5708+ const char *passwd, krb5_db_entry *db_entry, int kvno)
5709 {
5710 krb5_error_code retval;
5711 krb5_keysalt key_salt;
5712diff --git a/src/lib/kdb/keytab.c b/src/lib/kdb/keytab.c
5713index a623e00..346cf96 100644
5714--- a/src/lib/kdb/keytab.c
5715+++ b/src/lib/kdb/keytab.c
5716@@ -71,10 +71,7 @@ krb5_db_register_keytab(krb5_context context)
5717 }
5718
5719 krb5_error_code
5720-krb5_ktkdb_resolve(context, name, id)
5721- krb5_context context;
5722- const char * name;
5723- krb5_keytab * id;
5724+krb5_ktkdb_resolve(krb5_context context, const char *name, krb5_keytab *id)
5725 {
5726 if ((*id = (krb5_keytab) malloc(sizeof(**id))) == NULL)
5727 return(ENOMEM);
5728@@ -84,9 +81,7 @@ krb5_ktkdb_resolve(context, name, id)
5729 }
5730
5731 krb5_error_code
5732-krb5_ktkdb_close(context, kt)
5733- krb5_context context;
5734- krb5_keytab kt;
5735+krb5_ktkdb_close(krb5_context context, krb5_keytab kt)
5736 {
5737 /*
5738 * This routine is responsible for freeing all memory allocated
5739@@ -119,13 +114,9 @@ krb5_ktkdb_set_context(krb5_context ctx)
5740 }
5741
5742 krb5_error_code
5743-krb5_ktkdb_get_entry(in_context, id, principal, kvno, enctype, entry)
5744- krb5_context in_context;
5745- krb5_keytab id;
5746- krb5_const_principal principal;
5747- krb5_kvno kvno;
5748- krb5_enctype enctype;
5749- krb5_keytab_entry * entry;
5750+krb5_ktkdb_get_entry(krb5_context in_context, krb5_keytab id,
5751+ krb5_const_principal principal, krb5_kvno kvno,
5752+ krb5_enctype enctype, krb5_keytab_entry *entry)
5753 {
5754 krb5_context context;
5755 krb5_error_code kerror = 0;
5756diff --git a/src/lib/kdb/t_stringattr.c b/src/lib/kdb/t_stringattr.c
5757index 1174036..2c64301 100644
5758--- a/src/lib/kdb/t_stringattr.c
5759+++ b/src/lib/kdb/t_stringattr.c
5760@@ -38,7 +38,7 @@
5761 */
5762
5763 int
5764-main()
5765+main(void)
5766 {
5767 krb5_db_entry *ent;
5768 krb5_context context;
5769diff --git a/src/lib/krad/packet.c b/src/lib/krad/packet.c
5770index c597174..aee830b 100644
5771--- a/src/lib/krad/packet.c
5772+++ b/src/lib/krad/packet.c
5773@@ -200,7 +200,7 @@ auth_generate_response(krb5_context ctx, const char *secret,
5774
5775 /* Create a new packet. */
5776 static krad_packet *
5777-packet_new()
5778+packet_new(void)
5779 {
5780 krad_packet *pkt;
5781
5782diff --git a/src/lib/krad/t_attr.c b/src/lib/krad/t_attr.c
5783index eb2a780..2bce7aa 100644
5784--- a/src/lib/krad/t_attr.c
5785+++ b/src/lib/krad/t_attr.c
5786@@ -40,7 +40,7 @@ const static unsigned char auth[] = {
5787 };
5788
5789 int
5790-main()
5791+main(void)
5792 {
5793 unsigned char outbuf[MAX_ATTRSETSIZE];
5794 const char *decoded = "accept";
5795diff --git a/src/lib/krad/t_attrset.c b/src/lib/krad/t_attrset.c
5796index 7928335..085f4b2 100644
5797--- a/src/lib/krad/t_attrset.c
5798+++ b/src/lib/krad/t_attrset.c
5799@@ -40,7 +40,7 @@ const static unsigned char encpass[] = {
5800 };
5801
5802 int
5803-main()
5804+main(void)
5805 {
5806 unsigned char buffer[KRAD_PACKET_SIZE_MAX], encoded[MAX_ATTRSETSIZE];
5807 const char *username = "testUser", *password = "accept";
5808diff --git a/src/lib/krad/t_code.c b/src/lib/krad/t_code.c
5809index b245a7e..6cd522a 100644
5810--- a/src/lib/krad/t_code.c
5811+++ b/src/lib/krad/t_code.c
5812@@ -30,7 +30,7 @@
5813 #include "t_test.h"
5814
5815 int
5816-main()
5817+main(void)
5818 {
5819 const char *tmp;
5820
5821diff --git a/src/lib/krb5/ccache/cc_keyring.c b/src/lib/krb5/ccache/cc_keyring.c
5822index 1dadeef..ab3cda6 100644
5823--- a/src/lib/krb5/ccache/cc_keyring.c
5824+++ b/src/lib/krb5/ccache/cc_keyring.c
5825@@ -314,7 +314,7 @@ get_persistent_real(uid_t uid)
5826 * for the session anchor.
5827 */
5828 static key_serial_t
5829-session_write_anchor()
5830+session_write_anchor(void)
5831 {
5832 key_serial_t s, u;
5833
5834diff --git a/src/lib/krb5/krb/plugin.c b/src/lib/krb5/krb/plugin.c
5835index 3bb7a38..1286e9e 100644
5836--- a/src/lib/krb5/krb/plugin.c
5837+++ b/src/lib/krb5/krb/plugin.c
5838@@ -355,7 +355,7 @@ load_if_needed(krb5_context context, struct plugin_mapping *map,
5839 krb5_error_code ret;
5840 char *symname = NULL;
5841 struct plugin_file_handle *handle = NULL;
5842- void (*initvt_fn)();
5843+ void (*initvt_fn)(void);
5844
5845 if (map->module != NULL || map->dyn_path == NULL)
5846 return;
5847diff --git a/src/lib/krb5/krb/t_authdata.c b/src/lib/krb5/krb/t_authdata.c
5848index dd834b9..44f4a1c 100644
5849--- a/src/lib/krb5/krb/t_authdata.c
5850+++ b/src/lib/krb5/krb/t_authdata.c
5851@@ -74,7 +74,7 @@ static void compare_authdata(const krb5_authdata *adc1, krb5_authdata *adc2) {
5852 }
5853
5854 int
5855-main()
5856+main(void)
5857 {
5858 krb5_context context;
5859 krb5_authdata **results;
5860diff --git a/src/lib/krb5/krb/t_response_items.c b/src/lib/krb5/krb/t_response_items.c
5861index 0deb929..a6b02ca 100644
5862--- a/src/lib/krb5/krb/t_response_items.c
5863+++ b/src/lib/krb5/krb/t_response_items.c
5864@@ -61,7 +61,7 @@ nstrcmp(const char *a, const char *b)
5865 }
5866
5867 int
5868-main()
5869+main(void)
5870 {
5871 k5_response_items *ri;
5872
5873diff --git a/src/lib/krb5/krb/t_ser.c b/src/lib/krb5/krb/t_ser.c
5874index d6746b7..9780c2e 100644
5875--- a/src/lib/krb5/krb/t_ser.c
5876+++ b/src/lib/krb5/krb/t_ser.c
5877@@ -195,7 +195,7 @@ ser_checksum(krb5_checksum *cksum)
5878 }
5879
5880 static void
5881-ser_context_test()
5882+ser_context_test(void)
5883 {
5884 krb5_context context;
5885 profile_t sprofile;
5886@@ -216,7 +216,7 @@ ser_context_test()
5887 }
5888
5889 static void
5890-ser_acontext_test()
5891+ser_acontext_test(void)
5892 {
5893 krb5_auth_context actx;
5894 krb5_address local_address;
5895@@ -306,7 +306,7 @@ ser_acontext_test()
5896 }
5897
5898 static void
5899-ser_princ_test()
5900+ser_princ_test(void)
5901 {
5902 krb5_principal princ;
5903 char pname[1024];
5904@@ -320,7 +320,7 @@ ser_princ_test()
5905 }
5906
5907 static void
5908-ser_cksum_test()
5909+ser_cksum_test(void)
5910 {
5911 krb5_checksum checksum;
5912 krb5_octet ckdata[24];
5913diff --git a/src/lib/krb5/krb/t_sname_match.c b/src/lib/krb5/krb/t_sname_match.c
5914index 021b720..ee5623c 100644
5915--- a/src/lib/krb5/krb/t_sname_match.c
5916+++ b/src/lib/krb5/krb/t_sname_match.c
5917@@ -80,7 +80,7 @@ struct test {
5918 };
5919
5920 int
5921-main()
5922+main(void)
5923 {
5924 size_t i;
5925 struct test *t;
5926diff --git a/src/lib/krb5/krb/t_valid_times.c b/src/lib/krb5/krb/t_valid_times.c
5927index e4b5f1b..1a8036e 100644
5928--- a/src/lib/krb5/krb/t_valid_times.c
5929+++ b/src/lib/krb5/krb/t_valid_times.c
5930@@ -36,7 +36,7 @@
5931 #define BOUNDARY (uint32_t)INT32_MIN
5932
5933 int
5934-main()
5935+main(void)
5936 {
5937 krb5_error_code ret;
5938 krb5_context context;
5939diff --git a/src/lib/krb5/rcache/t_memrcache.c b/src/lib/krb5/rcache/t_memrcache.c
5940index 6f212b0..665da75 100644
5941--- a/src/lib/krb5/rcache/t_memrcache.c
5942+++ b/src/lib/krb5/rcache/t_memrcache.c
5943@@ -33,7 +33,7 @@
5944 #include "memrcache.c"
5945
5946 int
5947-main()
5948+main(void)
5949 {
5950 krb5_error_code ret;
5951 krb5_context context;
5952diff --git a/src/lib/rpc/auth_gss.c b/src/lib/rpc/auth_gss.c
5953index 319bc75..f61322d 100644
5954--- a/src/lib/rpc/auth_gss.c
5955+++ b/src/lib/rpc/auth_gss.c
5956@@ -445,9 +445,9 @@ authgss_refresh(AUTH *auth, struct rpc_msg *msg)
5957 memset(&gr, 0, sizeof(gr));
5958
5959 call_stat = clnt_call(gd->clnt, NULLPROC,
5960- xdr_rpc_gss_init_args,
5961+ (xdrproc_t)xdr_rpc_gss_init_args,
5962 &send_token,
5963- xdr_rpc_gss_init_res,
5964+ (xdrproc_t)xdr_rpc_gss_init_res,
5965 (caddr_t)&gr, AUTH_TIMEOUT);
5966
5967 gss_release_buffer(&min_stat, &send_token);
5968diff --git a/src/lib/rpc/auth_gssapi.c b/src/lib/rpc/auth_gssapi.c
5969index 8ab7ab5..b5e03b9 100644
5970--- a/src/lib/rpc/auth_gssapi.c
5971+++ b/src/lib/rpc/auth_gssapi.c
5972@@ -283,11 +283,11 @@ next_token:
5973
5974 PRINTF(("gssapi_create: calling GSSAPI_INIT (%d)\n", init_func));
5975
5976- xdr_free(xdr_authgssapi_init_res, &call_res);
5977+ xdr_free((xdrproc_t)xdr_authgssapi_init_res, &call_res);
5978 memset(&call_res, 0, sizeof(call_res));
5979 callstat = clnt_call(clnt, init_func,
5980- xdr_authgssapi_init_arg, &call_arg,
5981- xdr_authgssapi_init_res, &call_res,
5982+ (xdrproc_t)xdr_authgssapi_init_arg, &call_arg,
5983+ (xdrproc_t)xdr_authgssapi_init_res, &call_res,
5984 timeout);
5985 gss_release_buffer(minor_stat, &call_arg.token);
5986
5987@@ -436,7 +436,7 @@ next_token:
5988 /* don't assume the caller will want to change clnt->cl_auth */
5989 clnt->cl_auth = save_auth;
5990
5991- xdr_free(xdr_authgssapi_init_res, &call_res);
5992+ xdr_free((xdrproc_t)xdr_authgssapi_init_res, &call_res);
5993 return auth;
5994
5995 /******************************************************************/
5996@@ -458,7 +458,7 @@ cleanup:
5997 if (rpc_createerr.cf_stat == 0)
5998 rpc_createerr.cf_stat = RPC_AUTHERROR;
5999
6000- xdr_free(xdr_authgssapi_init_res, &call_res);
6001+ xdr_free((xdrproc_t)xdr_authgssapi_init_res, &call_res);
6002 return auth;
6003 }
6004
6005@@ -760,7 +760,7 @@ skip_call:
6006 static bool_t auth_gssapi_wrap(
6007 AUTH *auth,
6008 XDR *out_xdrs,
6009- bool_t (*xdr_func)(),
6010+ xdrproc_t xdr_func,
6011 caddr_t xdr_ptr)
6012 {
6013 OM_uint32 gssstat, minor_stat;
6014@@ -791,7 +791,7 @@ static bool_t auth_gssapi_wrap(
6015 static bool_t auth_gssapi_unwrap(
6016 AUTH *auth,
6017 XDR *in_xdrs,
6018- bool_t (*xdr_func)(),
6019+ xdrproc_t xdr_func,
6020 caddr_t xdr_ptr)
6021 {
6022 OM_uint32 gssstat, minor_stat;
6023diff --git a/src/lib/rpc/auth_gssapi_misc.c b/src/lib/rpc/auth_gssapi_misc.c
6024index a60eb7f..57fc1fb 100644
6025--- a/src/lib/rpc/auth_gssapi_misc.c
6026+++ b/src/lib/rpc/auth_gssapi_misc.c
6027@@ -199,7 +199,7 @@ bool_t auth_gssapi_wrap_data(
6028 gss_ctx_id_t context,
6029 uint32_t seq_num,
6030 XDR *out_xdrs,
6031- bool_t (*xdr_func)(),
6032+ xdrproc_t xdr_func,
6033 caddr_t xdr_ptr)
6034 {
6035 gss_buffer_desc in_buf, out_buf;
6036@@ -267,7 +267,7 @@ bool_t auth_gssapi_unwrap_data(
6037 gss_ctx_id_t context,
6038 uint32_t seq_num,
6039 XDR *in_xdrs,
6040- bool_t (*xdr_func)(),
6041+ xdrproc_t xdr_func,
6042 caddr_t xdr_ptr)
6043 {
6044 gss_buffer_desc in_buf, out_buf;
6045diff --git a/src/lib/rpc/authunix_prot.c b/src/lib/rpc/authunix_prot.c
6046index 512d5a5..92276c3 100644
6047--- a/src/lib/rpc/authunix_prot.c
6048+++ b/src/lib/rpc/authunix_prot.c
6049@@ -58,7 +58,8 @@ xdr_authunix_parms(XDR *xdrs, struct authunix_parms *p)
6050 && xdr_int(xdrs, &(p->aup_uid))
6051 && xdr_int(xdrs, &(p->aup_gid))
6052 && xdr_array(xdrs, (caddr_t *)&(p->aup_gids),
6053- &(p->aup_len), NGRPS, sizeof(int), xdr_int) ) {
6054+ &(p->aup_len), NGRPS, sizeof(int),
6055+ (xdrproc_t)xdr_int)) {
6056 return (TRUE);
6057 }
6058 return (FALSE);
6059diff --git a/src/lib/rpc/clnt_perror.c b/src/lib/rpc/clnt_perror.c
6060index fcc3657..912b267 100644
6061--- a/src/lib/rpc/clnt_perror.c
6062+++ b/src/lib/rpc/clnt_perror.c
6063@@ -76,7 +76,6 @@ char *
6064 clnt_sperror(CLIENT *rpch, char *s)
6065 {
6066 struct rpc_err e;
6067- void clnt_perrno();
6068 char *err;
6069 char *bufstart = get_buf();
6070 char *str = bufstart;
6071diff --git a/src/lib/rpc/clnt_raw.c b/src/lib/rpc/clnt_raw.c
6072index dcbb5cf..7e62a5c 100644
6073--- a/src/lib/rpc/clnt_raw.c
6074+++ b/src/lib/rpc/clnt_raw.c
6075@@ -80,7 +80,7 @@ static struct clnt_ops client_ops = {
6076 clntraw_control
6077 };
6078
6079-void svc_getreq();
6080+void svc_getreq(int);
6081
6082 /*
6083 * Create a client handle for memory based rpc.
6084diff --git a/src/lib/rpc/dyn.c b/src/lib/rpc/dyn.c
6085index bce1fd2..a505f34 100644
6086--- a/src/lib/rpc/dyn.c
6087+++ b/src/lib/rpc/dyn.c
6088@@ -30,10 +30,8 @@
6089 /*
6090 * Made obsolete by DynInsert, now just a convenience function.
6091 */
6092-int DynAppend(obj, els, num)
6093- DynObjectP obj;
6094- DynPtr els;
6095- int num;
6096+int
6097+DynAppend(DynObjectP obj, DynPtr els, int num)
6098 {
6099 return DynInsert(obj, DynSize(obj), els, num);
6100 }
6101@@ -52,8 +50,8 @@ int DynAppend(obj, els, num)
6102
6103 static int default_increment = DEFAULT_INC;
6104
6105-DynObjectP DynCreate(el_size, inc)
6106- int el_size, inc;
6107+DynObjectP
6108+DynCreate(int el_size, int inc)
6109 {
6110 DynObjectP obj;
6111
6112@@ -77,8 +75,8 @@ DynObjectP DynCreate(el_size, inc)
6113 return obj;
6114 }
6115
6116-DynObjectP DynCopy(obj)
6117- DynObjectP obj;
6118+DynObjectP
6119+DynCopy(DynObjectP obj)
6120 {
6121 DynObjectP obj1;
6122
6123@@ -104,8 +102,8 @@ DynObjectP DynCopy(obj)
6124 return obj1;
6125 }
6126
6127-int DynDestroy(obj)
6128- /*@only@*/DynObjectP obj;
6129+int
6130+DynDestroy(/*@only@*/DynObjectP obj)
6131 {
6132 if (obj->paranoid) {
6133 if (obj->debug)
6134@@ -118,8 +116,8 @@ int DynDestroy(obj)
6135 return DYN_OK;
6136 }
6137
6138-int DynRelease(obj)
6139- DynObjectP obj;
6140+int
6141+DynRelease(DynObjectP obj)
6142 {
6143 if (obj->debug)
6144 fprintf(stderr, "dyn: release: freeing object structure.\n");
6145@@ -134,9 +132,8 @@ int DynRelease(obj)
6146 * contains the source code for the function DynDebug().
6147 */
6148
6149-int DynDebug(obj, state)
6150- DynObjectP obj;
6151- int state;
6152+int
6153+DynDebug(DynObjectP obj, int state)
6154 {
6155 obj->debug = state;
6156
6157@@ -155,9 +152,8 @@ int DynDebug(obj, state)
6158 * Checkers! Get away from that "hard disk erase" button!
6159 * (Stupid dog. He almost did it to me again ...)
6160 */
6161-int DynDelete(obj, idx)
6162- DynObjectP obj;
6163- int idx;
6164+int
6165+DynDelete(DynObjectP obj, int idx)
6166 {
6167 if (idx < 0) {
6168 if (obj->debug)
6169@@ -219,9 +215,8 @@ int DynDelete(obj, idx)
6170 * contains the source code for the function DynInitZero().
6171 */
6172
6173-int DynInitzero(obj, state)
6174- DynObjectP obj;
6175- int state;
6176+int
6177+DynInitzero(DynObjectP obj, int state)
6178 {
6179 obj->initzero = state;
6180
6181@@ -237,10 +232,8 @@ int DynInitzero(obj, state)
6182 * contains the source code for the function DynInsert().
6183 */
6184
6185-int DynInsert(obj, idx, els_in, num)
6186- DynObjectP obj;
6187- void *els_in;
6188- int idx, num;
6189+int
6190+DynInsert(DynObjectP obj, int idx, void *els_in, int num)
6191 {
6192 DynPtr els = (DynPtr) els_in;
6193 int ret;
6194@@ -290,9 +283,8 @@ int DynInsert(obj, idx, els_in, num)
6195 * contains the source code for the function DynDebug().
6196 */
6197
6198-int DynParanoid(obj, state)
6199- DynObjectP obj;
6200- int state;
6201+int
6202+DynParanoid(DynObjectP obj, int state)
6203 {
6204 obj->paranoid = state;
6205
6206@@ -308,8 +300,8 @@ int DynParanoid(obj, state)
6207 * contains the source code for the functions DynGet() and DynAdd().
6208 */
6209
6210-DynPtr DynArray(obj)
6211- DynObjectP obj;
6212+DynPtr
6213+DynArray(DynObjectP obj)
6214 {
6215 if (obj->debug)
6216 fprintf(stderr, "dyn: array: returning array pointer %p.\n",
6217@@ -318,9 +310,8 @@ DynPtr DynArray(obj)
6218 return obj->array;
6219 }
6220
6221-DynPtr DynGet(obj, num)
6222- DynObjectP obj;
6223- int num;
6224+DynPtr
6225+DynGet(DynObjectP obj, int num)
6226 {
6227 if (num < 0) {
6228 if (obj->debug)
6229@@ -342,9 +333,7 @@ DynPtr DynGet(obj, num)
6230 return (DynPtr) obj->array + obj->el_size*num;
6231 }
6232
6233-int DynAdd(obj, el)
6234- DynObjectP obj;
6235- void *el;
6236+int DynAdd(DynObjectP obj, void *el)
6237 {
6238 int ret;
6239
6240@@ -364,10 +353,8 @@ int DynAdd(obj, el)
6241 * obj->num_el) will not be updated properly and many other functions
6242 * in the library will lose. Have a nice day.
6243 */
6244-int DynPut(obj, el_in, idx)
6245- DynObjectP obj;
6246- void *el_in;
6247- int idx;
6248+int
6249+DynPut(DynObjectP obj, void *el_in, int idx)
6250 {
6251 DynPtr el = (DynPtr) el_in;
6252 int ret;
6253@@ -397,9 +384,8 @@ int DynPut(obj, el_in, idx)
6254 /*
6255 * Resize the array so that element req exists.
6256 */
6257-int _DynResize(obj, req)
6258- DynObjectP obj;
6259- int req;
6260+int
6261+_DynResize(DynObjectP obj, int req)
6262 {
6263 int size;
6264
6265@@ -430,9 +416,8 @@ int _DynResize(obj, req)
6266 * Ideally, this function should not be called from outside the
6267 * library. However, nothing will break if it is.
6268 */
6269-int _DynRealloc(obj, num_incs)
6270- DynObjectP obj;
6271- int num_incs;
6272+int
6273+_DynRealloc(DynObjectP obj, int num_incs)
6274 {
6275 DynPtr temp;
6276 int new_size_in_bytes;
6277@@ -475,8 +460,8 @@ int _DynRealloc(obj, num_incs)
6278 * contains the source code for the function DynSize().
6279 */
6280
6281-int DynSize(obj)
6282- DynObjectP obj;
6283+int
6284+DynSize(DynObjectP obj)
6285 {
6286 if (obj->debug)
6287 fprintf(stderr, "dyn: size: returning size %d.\n", obj->num_el);
6288@@ -484,8 +469,8 @@ int DynSize(obj)
6289 return obj->num_el;
6290 }
6291
6292-int DynCapacity(obj)
6293- DynObjectP obj;
6294+int
6295+DynCapacity(DynObjectP obj)
6296 {
6297 if (obj->debug)
6298 fprintf(stderr, "dyn: capacity: returning cap of %d.\n", obj->size);
6299diff --git a/src/lib/rpc/pmap_clnt.c b/src/lib/rpc/pmap_clnt.c
6300index 952a251..5c3bba3 100644
6301--- a/src/lib/rpc/pmap_clnt.c
6302+++ b/src/lib/rpc/pmap_clnt.c
6303@@ -54,8 +54,6 @@ static char sccsid[] = "@(#)pmap_clnt.c 1.37 87/08/11 Copyr 1984 Sun Micro";
6304 static struct timeval timeout = { 5, 0 };
6305 static struct timeval tottimeout = { 60, 0 };
6306
6307-void clnt_perror();
6308-
6309 /*
6310 * Set a mapping between program,version and port.
6311 * Calls the pmap service remotely to do the mapping.
6312@@ -128,7 +126,8 @@ pmap_set(
6313 }
6314 }
6315 #endif
6316- if (CLNT_CALL(client, PMAPPROC_SET, xdr_pmap, &parms, xdr_bool, &rslt,
6317+ if (CLNT_CALL(client, PMAPPROC_SET, (xdrproc_t)xdr_pmap, &parms,
6318+ (xdrproc_t)xdr_bool, &rslt,
6319 tottimeout) != RPC_SUCCESS) {
6320 clnt_perror(client, "Cannot register service");
6321 return (FALSE);
6322@@ -161,8 +160,8 @@ pmap_unset(
6323 parms.pm_prog = program;
6324 parms.pm_vers = version;
6325 parms.pm_port = parms.pm_prot = 0;
6326- CLNT_CALL(client, PMAPPROC_UNSET, xdr_pmap, &parms, xdr_bool, &rslt,
6327- tottimeout);
6328+ CLNT_CALL(client, PMAPPROC_UNSET, (xdrproc_t)xdr_pmap, &parms,
6329+ (xdrproc_t)xdr_bool, &rslt, tottimeout);
6330 CLNT_DESTROY(client);
6331 (void)close(sock);
6332 return (rslt);
6333diff --git a/src/lib/rpc/pmap_getmaps.c b/src/lib/rpc/pmap_getmaps.c
6334index b8a9cec..a9c4c52 100644
6335--- a/src/lib/rpc/pmap_getmaps.c
6336+++ b/src/lib/rpc/pmap_getmaps.c
6337@@ -77,8 +77,9 @@ pmap_getmaps(struct sockaddr_in *address)
6338 client = clnttcp_create(address, PMAPPROG,
6339 PMAPVERS, &sock, 50, 500);
6340 if (client != (CLIENT *)NULL) {
6341- if (CLNT_CALL(client, PMAPPROC_DUMP, xdr_void, NULL, xdr_pmaplist,
6342- &head, minutetimeout) != RPC_SUCCESS) {
6343+ if (CLNT_CALL(client, PMAPPROC_DUMP, xdr_void, NULL,
6344+ (xdrproc_t)xdr_pmaplist, &head,
6345+ minutetimeout) != RPC_SUCCESS) {
6346 clnt_perror(client, "pmap_getmaps rpc problem");
6347 }
6348 CLNT_DESTROY(client);
6349diff --git a/src/lib/rpc/pmap_getport.c b/src/lib/rpc/pmap_getport.c
6350index 66635a1..2d0792b 100644
6351--- a/src/lib/rpc/pmap_getport.c
6352+++ b/src/lib/rpc/pmap_getport.c
6353@@ -79,8 +79,10 @@ pmap_getport(
6354 parms.pm_vers = version;
6355 parms.pm_prot = protocol;
6356 parms.pm_port = 0; /* not needed or used */
6357- if (CLNT_CALL(client, PMAPPROC_GETPORT, xdr_pmap, &parms,
6358- xdr_u_short, &port, tottimeout) != RPC_SUCCESS){
6359+ if (CLNT_CALL(client, PMAPPROC_GETPORT,
6360+ (xdrproc_t)xdr_pmap, &parms,
6361+ (xdrproc_t)xdr_u_short, &port,
6362+ tottimeout) != RPC_SUCCESS){
6363 rpc_createerr.cf_stat = RPC_PMAPFAILURE;
6364 clnt_geterr(client, &rpc_createerr.cf_error);
6365 } else if (port == 0) {
6366diff --git a/src/lib/rpc/pmap_prot2.c b/src/lib/rpc/pmap_prot2.c
6367index aeccac6..3c0c612 100644
6368--- a/src/lib/rpc/pmap_prot2.c
6369+++ b/src/lib/rpc/pmap_prot2.c
6370@@ -109,7 +109,8 @@ xdr_pmaplist(XDR *xdrs, struct pmaplist **rp)
6371 if (freeing)
6372 next = &((*rp)->pml_next);
6373 if (! xdr_reference(xdrs, (caddr_t *)rp,
6374- (u_int)sizeof(struct pmaplist), xdr_pmap))
6375+ (u_int)sizeof(struct pmaplist),
6376+ (xdrproc_t)xdr_pmap))
6377 return (FALSE);
6378 rp = (freeing) ? next : &((*rp)->pml_next);
6379 }
6380diff --git a/src/lib/rpc/pmap_rmt.c b/src/lib/rpc/pmap_rmt.c
6381index 522cb20..79d52fe 100644
6382--- a/src/lib/rpc/pmap_rmt.c
6383+++ b/src/lib/rpc/pmap_rmt.c
6384@@ -105,8 +105,9 @@ pmap_rmtcall(
6385 r.port_ptr = port_ptr;
6386 r.results_ptr = resp;
6387 r.xdr_results = xdrres;
6388- stat = CLNT_CALL(client, PMAPPROC_CALLIT, xdr_rmtcall_args, &a,
6389- xdr_rmtcallres, &r, tout);
6390+ stat = CLNT_CALL(client, PMAPPROC_CALLIT,
6391+ (xdrproc_t)xdr_rmtcall_args, &a,
6392+ (xdrproc_t)xdr_rmtcallres, &r, tout);
6393 CLNT_DESTROY(client);
6394 } else {
6395 stat = RPC_FAILED;
6396@@ -344,7 +345,7 @@ clnt_broadcast(
6397 recv_again:
6398 msg.acpted_rply.ar_verf = gssrpc__null_auth;
6399 msg.acpted_rply.ar_results.where = (caddr_t)&r;
6400- msg.acpted_rply.ar_results.proc = xdr_rmtcallres;
6401+ msg.acpted_rply.ar_results.proc = (xdrproc_t)xdr_rmtcallres;
6402 readfds = mask;
6403 t2 = t;
6404 switch (select(gssrpc__rpc_dtablesize(), &readfds, (fd_set *)NULL,
6405diff --git a/src/lib/rpc/rpc_prot.c b/src/lib/rpc/rpc_prot.c
6406index 9b82e12..296968b 100644
6407--- a/src/lib/rpc/rpc_prot.c
6408+++ b/src/lib/rpc/rpc_prot.c
6409@@ -132,8 +132,8 @@ xdr_rejected_reply(XDR *xdrs, struct rejected_reply *rr)
6410 }
6411
6412 static struct xdr_discrim reply_dscrm[3] = {
6413- { (int)MSG_ACCEPTED, xdr_accepted_reply },
6414- { (int)MSG_DENIED, xdr_rejected_reply },
6415+ { (int)MSG_ACCEPTED, (xdrproc_t)xdr_accepted_reply },
6416+ { (int)MSG_DENIED, (xdrproc_t)xdr_rejected_reply },
6417 { __dontcare__, NULL_xdrproc_t } };
6418
6419 /*
6420diff --git a/src/lib/rpc/svc.c b/src/lib/rpc/svc.c
6421index cfbc7aa..0bcf04e 100644
6422--- a/src/lib/rpc/svc.c
6423+++ b/src/lib/rpc/svc.c
6424@@ -80,7 +80,7 @@ static struct svc_callout {
6425 struct svc_callout *sc_next;
6426 rpcprog_t sc_prog;
6427 rpcprog_t sc_vers;
6428- void (*sc_dispatch)();
6429+ void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
6430 } *svc_head;
6431
6432 static struct svc_callout *svc_find(rpcprog_t, rpcvers_t,
6433@@ -162,7 +162,7 @@ svc_register(
6434 SVCXPRT *xprt,
6435 rpcprog_t prog,
6436 rpcvers_t vers,
6437- void (*dispatch)(),
6438+ void (*dispatch)(struct svc_req *, SVCXPRT *),
6439 int protocol)
6440 {
6441 struct svc_callout *prev;
6442diff --git a/src/lib/rpc/svc_auth_gss.c b/src/lib/rpc/svc_auth_gss.c
6443index aba7694..98d601c 100644
6444--- a/src/lib/rpc/svc_auth_gss.c
6445+++ b/src/lib/rpc/svc_auth_gss.c
6446@@ -193,7 +193,7 @@ svcauth_gss_accept_sec_context(struct svc_req *rqst,
6447 /* Deserialize arguments. */
6448 memset(&recv_tok, 0, sizeof(recv_tok));
6449
6450- if (!svc_getargs(rqst->rq_xprt, xdr_rpc_gss_init_args,
6451+ if (!svc_getargs(rqst->rq_xprt, (xdrproc_t)xdr_rpc_gss_init_args,
6452 (caddr_t)&recv_tok))
6453 return (FALSE);
6454
6455@@ -209,7 +209,8 @@ svcauth_gss_accept_sec_context(struct svc_req *rqst,
6456 NULL,
6457 NULL);
6458
6459- svc_freeargs(rqst->rq_xprt, xdr_rpc_gss_init_args, (caddr_t)&recv_tok);
6460+ svc_freeargs(rqst->rq_xprt, (xdrproc_t)xdr_rpc_gss_init_args,
6461+ (caddr_t)&recv_tok);
6462
6463 log_status("accept_sec_context", gr->gr_major, gr->gr_minor);
6464 if (gr->gr_major != GSS_S_COMPLETE &&
6465@@ -495,7 +496,8 @@ gssrpc__svcauth_gss(struct svc_req *rqst, struct rpc_msg *msg,
6466 }
6467 *no_dispatch = TRUE;
6468
6469- call_stat = svc_sendreply(rqst->rq_xprt, xdr_rpc_gss_init_res,
6470+ call_stat = svc_sendreply(rqst->rq_xprt,
6471+ (xdrproc_t)xdr_rpc_gss_init_res,
6472 (caddr_t)&gr);
6473
6474 gss_release_buffer(&min_stat, &gr.gr_token);
6475@@ -544,7 +546,7 @@ gssrpc__svcauth_gss(struct svc_req *rqst, struct rpc_msg *msg,
6476 }
6477 retstat = AUTH_OK;
6478 freegc:
6479- xdr_free(xdr_rpc_gss_cred, gc);
6480+ xdr_free((xdrproc_t)xdr_rpc_gss_cred, gc);
6481 log_debug("returning %d from svcauth_gss()", retstat);
6482 return (retstat);
6483 }
6484diff --git a/src/lib/rpc/svc_auth_gssapi.c b/src/lib/rpc/svc_auth_gssapi.c
6485index b7ffee4..267c154 100644
6486--- a/src/lib/rpc/svc_auth_gssapi.c
6487+++ b/src/lib/rpc/svc_auth_gssapi.c
6488@@ -201,7 +201,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6489 if (! xdr_authgssapi_creds(&xdrs, &creds)) {
6490 PRINTF(("svcauth_gssapi: failed decoding creds\n"));
6491 LOG_MISCERR("protocol error in client credentials");
6492- xdr_free(xdr_authgssapi_creds, &creds);
6493+ xdr_free((xdrproc_t)xdr_authgssapi_creds, &creds);
6494 XDR_DESTROY(&xdrs);
6495 ret = AUTH_BADCRED;
6496 goto error;
6497@@ -223,7 +223,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6498 if (creds.auth_msg && rqst->rq_proc == AUTH_GSSAPI_EXIT) {
6499 PRINTF(("svcauth_gssapi: GSSAPI_EXIT, cleaning up\n"));
6500 svc_sendreply(rqst->rq_xprt, xdr_void, NULL);
6501- xdr_free(xdr_authgssapi_creds, &creds);
6502+ xdr_free((xdrproc_t)xdr_authgssapi_creds, &creds);
6503 cleanup();
6504 exit(0);
6505 }
6506@@ -306,7 +306,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6507
6508 /* call is for us, deserialize arguments */
6509 memset(&call_arg, 0, sizeof(call_arg));
6510- if (! svc_getargs(rqst->rq_xprt, xdr_authgssapi_init_arg,
6511+ if (! svc_getargs(rqst->rq_xprt, (xdrproc_t)xdr_authgssapi_init_arg,
6512 &call_arg)) {
6513 PRINTF(("svcauth_gssapi: cannot decode args\n"));
6514 LOG_MISCERR("protocol error in procedure arguments");
6515@@ -446,7 +446,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6516 minor_stat = call_res.gss_minor;
6517
6518 /* done with call args */
6519- xdr_free(xdr_authgssapi_init_arg, &call_arg);
6520+ xdr_free((xdrproc_t)xdr_authgssapi_init_arg, &call_arg);
6521
6522 PRINTF(("svcauth_gssapi: accept_sec_context returned %#x %#x\n",
6523 call_res.gss_major, call_res.gss_minor));
6524@@ -459,7 +459,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6525 badauth(call_res.gss_major, call_res.gss_minor, rqst->rq_xprt);
6526
6527 gss_release_buffer(&minor_stat, &output_token);
6528- svc_sendreply(rqst->rq_xprt, xdr_authgssapi_init_res,
6529+ svc_sendreply(rqst->rq_xprt, (xdrproc_t)xdr_authgssapi_init_res,
6530 (caddr_t) &call_res);
6531 *no_dispatch = TRUE;
6532 ret = AUTH_OK;
6533@@ -492,7 +492,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6534 }
6535
6536 PRINTF(("svcauth_gssapi: sending reply\n"));
6537- svc_sendreply(rqst->rq_xprt, xdr_authgssapi_init_res,
6538+ svc_sendreply(rqst->rq_xprt, (xdrproc_t)xdr_authgssapi_init_res,
6539 (caddr_t) &call_res);
6540 *no_dispatch = TRUE;
6541
6542@@ -583,11 +583,13 @@ enum auth_stat gssrpc__svcauth_gssapi(
6543 case AUTH_GSSAPI_MSG:
6544 PRINTF(("svcauth_gssapi: GSSAPI_MSG, getting args\n"));
6545 memset(&call_arg, 0, sizeof(call_arg));
6546- if (! svc_getargs(rqst->rq_xprt, xdr_authgssapi_init_arg,
6547+ if (! svc_getargs(rqst->rq_xprt,
6548+ (xdrproc_t)xdr_authgssapi_init_arg,
6549 &call_arg)) {
6550 PRINTF(("svcauth_gssapi: cannot decode args\n"));
6551 LOG_MISCERR("protocol error in call arguments");
6552- xdr_free(xdr_authgssapi_init_arg, &call_arg);
6553+ xdr_free((xdrproc_t)xdr_authgssapi_init_arg,
6554+ &call_arg);
6555 ret = AUTH_BADCRED;
6556 goto error;
6557 }
6558@@ -598,7 +600,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6559 &call_arg.token);
6560
6561 /* done with call args */
6562- xdr_free(xdr_authgssapi_init_arg, &call_arg);
6563+ xdr_free((xdrproc_t)xdr_authgssapi_init_arg, &call_arg);
6564
6565 if (gssstat != GSS_S_COMPLETE) {
6566 AUTH_GSSAPI_DISPLAY_STATUS(("processing token",
6567@@ -641,7 +643,7 @@ enum auth_stat gssrpc__svcauth_gssapi(
6568 if (creds.client_handle.length != 0) {
6569 PRINTF(("svcauth_gssapi: freeing client_handle len %d\n",
6570 (int) creds.client_handle.length));
6571- xdr_free(xdr_authgssapi_creds, &creds);
6572+ xdr_free((xdrproc_t)xdr_authgssapi_creds, &creds);
6573 }
6574
6575 PRINTF(("\n"));
6576@@ -651,7 +653,7 @@ error:
6577 if (creds.client_handle.length != 0) {
6578 PRINTF(("svcauth_gssapi: freeing client_handle len %d\n",
6579 (int) creds.client_handle.length));
6580- xdr_free(xdr_authgssapi_creds, &creds);
6581+ xdr_free((xdrproc_t)xdr_authgssapi_creds, &creds);
6582 }
6583
6584 PRINTF(("\n"));
6585@@ -1079,7 +1081,7 @@ void svcauth_gssapi_set_log_miscerr_func(
6586 static bool_t svc_auth_gssapi_wrap(
6587 SVCAUTH *auth,
6588 XDR *out_xdrs,
6589- bool_t (*xdr_func)(),
6590+ xdrproc_t xdr_func,
6591 caddr_t xdr_ptr)
6592 {
6593 OM_uint32 gssstat, minor_stat;
6594@@ -1102,7 +1104,7 @@ static bool_t svc_auth_gssapi_wrap(
6595 static bool_t svc_auth_gssapi_unwrap(
6596 SVCAUTH *auth,
6597 XDR *in_xdrs,
6598- bool_t (*xdr_func)(),
6599+ xdrproc_t xdr_func,
6600 caddr_t xdr_ptr)
6601 {
6602 svc_auth_gssapi_data *client_data = SVCAUTH_PRIVATE(auth);
6603diff --git a/src/lib/rpc/svc_simple.c b/src/lib/rpc/svc_simple.c
6604index 315275f..aa6c0a6 100644
6605--- a/src/lib/rpc/svc_simple.c
6606+++ b/src/lib/rpc/svc_simple.c
6607@@ -48,7 +48,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
6608 #include <netdb.h>
6609
6610 static struct proglst {
6611- char *(*p_progname)();
6612+ char *(*p_progname)(void *);
6613 int p_prognum;
6614 int p_procnum;
6615 xdrproc_t p_inproc, p_outproc;
6616@@ -62,7 +62,7 @@ registerrpc(
6617 rpcprog_t prognum,
6618 rpcvers_t versnum,
6619 rpcproc_t procnum,
6620- char *(*progname)(),
6621+ char *(*progname)(void *),
6622 xdrproc_t inproc,
6623 xdrproc_t outproc)
6624 {
6625diff --git a/src/lib/rpc/unit-test/client.c b/src/lib/rpc/unit-test/client.c
6626index c9a812b..9b907bc 100644
6627--- a/src/lib/rpc/unit-test/client.c
6628+++ b/src/lib/rpc/unit-test/client.c
6629@@ -42,7 +42,7 @@ char *whoami;
6630 #ifdef __GNUC__
6631 __attribute__((noreturn))
6632 #endif
6633-static void usage()
6634+static void usage(void)
6635 {
6636 fprintf(stderr, "usage: %s {-t|-u} [-a] [-s num] [-m num] host service [count]\n",
6637 whoami);
6638@@ -50,9 +50,7 @@ static void usage()
6639 }
6640
6641 int
6642-main(argc, argv)
6643- int argc;
6644- char **argv;
6645+main(int argc, char **argv)
6646 {
6647 char *host, *port, *target, *echo_arg, **echo_resp, buf[BIG_BUF];
6648 CLIENT *clnt;
6649@@ -172,7 +170,7 @@ main(argc, argv)
6650 strcmp(echo_arg, (*echo_resp) + 6) != 0)
6651 fprintf(stderr, "RPC_TEST_ECHO call %d response wrong: "
6652 "arg = %s, resp = %s\n", i, echo_arg, *echo_resp);
6653- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6654+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6655 }
6656
6657 /*
6658@@ -194,7 +192,7 @@ main(argc, argv)
6659 clnt_perror(clnt, whoami);
6660 } else {
6661 fprintf(stderr, "bad seq didn't cause failure\n");
6662- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6663+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6664 }
6665
6666 AUTH_PRIVATE(clnt->cl_auth)->seq_num -= 3;
6667@@ -207,7 +205,7 @@ main(argc, argv)
6668 if (echo_resp == NULL)
6669 clnt_perror(clnt, "Sequence number improperly reset");
6670 else
6671- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6672+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6673
6674 /*
6675 * Now simulate a lost server response, and see if
6676@@ -219,7 +217,7 @@ main(argc, argv)
6677 if (echo_resp == NULL)
6678 clnt_perror(clnt, "Auto-resynchronization failed");
6679 else
6680- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6681+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6682
6683 /*
6684 * Now make sure auto-resyncrhonization actually worked
6685@@ -229,7 +227,7 @@ main(argc, argv)
6686 if (echo_resp == NULL)
6687 clnt_perror(clnt, "Auto-resynchronization did not work");
6688 else
6689- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6690+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6691
6692 if (! auth_once) {
6693 tmp_auth = clnt->cl_auth;
6694@@ -259,7 +257,7 @@ main(argc, argv)
6695 strcmp(echo_arg, (*echo_resp) + 6) != 0)
6696 fprintf(stderr,
6697 "RPC_TEST_LENGTHS call %d response wrong\n", i);
6698- gssrpc_xdr_free(xdr_wrapstring, echo_resp);
6699+ gssrpc_xdr_free((xdrproc_t)xdr_wrapstring, echo_resp);
6700 }
6701
6702 /* cycle from 1 to 255 */
6703diff --git a/src/lib/rpc/unit-test/rpc_test_clnt.c b/src/lib/rpc/unit-test/rpc_test_clnt.c
6704index 4e4a18a..b914167 100644
6705--- a/src/lib/rpc/unit-test/rpc_test_clnt.c
6706+++ b/src/lib/rpc/unit-test/rpc_test_clnt.c
6707@@ -5,9 +5,7 @@
6708 static struct timeval TIMEOUT = { 25, 0 };
6709
6710 char **
6711-rpc_test_echo_1(argp, clnt)
6712- char **argp;
6713- CLIENT *clnt;
6714+rpc_test_echo_1(char **argp, CLIENT *clnt)
6715 {
6716 static char *clnt_res;
6717
6718diff --git a/src/lib/rpc/unit-test/rpc_test_svc.c b/src/lib/rpc/unit-test/rpc_test_svc.c
6719index c54c081..3aa7674 100644
6720--- a/src/lib/rpc/unit-test/rpc_test_svc.c
6721+++ b/src/lib/rpc/unit-test/rpc_test_svc.c
6722@@ -14,16 +14,14 @@ static int _rpcsvcstate = _IDLE; /* Set when a request is serviced */
6723 static int _rpcsvccount = 0; /* Number of requests being serviced */
6724
6725 void
6726-rpc_test_prog_1_svc(rqstp, transp)
6727- struct svc_req *rqstp;
6728- SVCXPRT *transp;
6729+rpc_test_prog_1_svc(struct svc_req *rqstp, SVCXPRT *transp)
6730 {
6731 union {
6732 char *rpc_test_echo_1_arg;
6733 } argument;
6734 char *result;
6735- bool_t (*xdr_argument)(), (*xdr_result)();
6736- char *(*local)();
6737+ xdrproc_t xdr_argument, xdr_result;
6738+ char *(*local)(char *, struct svc_req *);
6739
6740 _rpcsvccount++;
6741 switch (rqstp->rq_proc) {
6742@@ -35,9 +33,9 @@ rpc_test_prog_1_svc(rqstp, transp)
6743 return;
6744
6745 case RPC_TEST_ECHO:
6746- xdr_argument = xdr_wrapstring;
6747- xdr_result = xdr_wrapstring;
6748- local = (char *(*)()) rpc_test_echo_1_svc;
6749+ xdr_argument = (xdrproc_t)xdr_wrapstring;
6750+ xdr_result = (xdrproc_t)xdr_wrapstring;
6751+ local = (char *(*)(char *, struct svc_req *)) rpc_test_echo_1_svc;
6752 break;
6753
6754 default:
6755@@ -53,7 +51,7 @@ rpc_test_prog_1_svc(rqstp, transp)
6756 _rpcsvcstate = _SERVED;
6757 return;
6758 }
6759- result = (*local)(&argument, rqstp);
6760+ result = (*local)((char *)&argument, rqstp);
6761 if (result != NULL && !svc_sendreply(transp, xdr_result, result)) {
6762 svcerr_systemerr(transp);
6763 }
6764diff --git a/src/lib/rpc/unit-test/server.c b/src/lib/rpc/unit-test/server.c
6765index c3bbcbf..4400b96 100644
6766--- a/src/lib/rpc/unit-test/server.c
6767+++ b/src/lib/rpc/unit-test/server.c
6768@@ -40,7 +40,7 @@ static void rpc_test_badverf(gss_name_t client, gss_name_t server,
6769 #define SERVICE_NAME "host"
6770 #endif
6771
6772-static void usage()
6773+static void usage(void)
6774 {
6775 fprintf(stderr, "Usage: server {-t|-u} [svc-debug] [misc-debug]\n");
6776 exit(1);
6777diff --git a/src/lib/rpc/xdr.c b/src/lib/rpc/xdr.c
6778index 24c3de4..49c31b3 100644
6779--- a/src/lib/rpc/xdr.c
6780+++ b/src/lib/rpc/xdr.c
6781@@ -579,14 +579,14 @@ xdr_union(
6782 */
6783 for (; choices->proc != NULL_xdrproc_t; choices++) {
6784 if (choices->value == dscm)
6785- return ((*(choices->proc))(xdrs, unp, LASTUNSIGNED));
6786+ return choices->proc(xdrs, unp);
6787 }
6788
6789 /*
6790 * no match - execute the default xdr routine if there is one
6791 */
6792 return ((dfault == NULL_xdrproc_t) ? FALSE :
6793- (*dfault)(xdrs, unp, LASTUNSIGNED));
6794+ (*dfault)(xdrs, unp));
6795 }
6796
6797
6798diff --git a/src/lib/rpc/xdr_array.c b/src/lib/rpc/xdr_array.c
6799index aeaa7f2..3507d53 100644
6800--- a/src/lib/rpc/xdr_array.c
6801+++ b/src/lib/rpc/xdr_array.c
6802@@ -113,7 +113,7 @@ xdr_array(
6803 * now we xdr each element of array
6804 */
6805 for (i = 0; (i < c) && stat; i++) {
6806- stat = (*elproc)(xdrs, target, LASTUNSIGNED);
6807+ stat = (*elproc)(xdrs, target);
6808 target += elsize;
6809 }
6810
6811@@ -150,7 +150,7 @@ xdr_vector(
6812
6813 elptr = basep;
6814 for (i = 0; i < nelem; i++) {
6815- if (! (*xdr_elem)(xdrs, elptr, LASTUNSIGNED)) {
6816+ if (! (*xdr_elem)(xdrs, elptr)) {
6817 return(FALSE);
6818 }
6819 elptr += elemsize;
6820diff --git a/src/lib/rpc/xdr_rec.c b/src/lib/rpc/xdr_rec.c
6821index 1f6a776..1852540 100644
6822--- a/src/lib/rpc/xdr_rec.c
6823+++ b/src/lib/rpc/xdr_rec.c
6824@@ -99,7 +99,7 @@ typedef struct rec_strm {
6825 /*
6826 * out-goung bits
6827 */
6828- int (*writeit)();
6829+ int (*writeit)(caddr_t, caddr_t, int);
6830 caddr_t out_base; /* output buffer (points to frag header) */
6831 caddr_t out_finger; /* next output position */
6832 caddr_t out_boundry; /* data cannot up to this address */
6833@@ -108,7 +108,7 @@ typedef struct rec_strm {
6834 /*
6835 * in-coming bits
6836 */
6837- int (*readit)();
6838+ int (*readit)(caddr_t, caddr_t, int);
6839 uint32_t in_size; /* fixed size of the input buffer */
6840 caddr_t in_base;
6841 caddr_t in_finger; /* location of next byte to be had */
6842@@ -140,8 +140,10 @@ xdrrec_create(
6843 u_int sendsize,
6844 u_int recvsize,
6845 caddr_t tcp_handle,
6846- int (*readit)(), /* like read, but pass it a tcp_handle, not sock */
6847- int (*writeit)() /* like write, but pass it a tcp_handle, not sock */
6848+ /* like read, but pass it a tcp_handle, not sock */
6849+ int (*readit)(caddr_t, caddr_t, int),
6850+ /* like write, but pass it a tcp_handle, not sock */
6851+ int (*writeit)(caddr_t, caddr_t, int)
6852 )
6853 {
6854 RECSTREAM *rstrm = mem_alloc(sizeof(RECSTREAM));
6855@@ -528,8 +530,7 @@ get_input_bytes(RECSTREAM *rstrm, caddr_t addr, int len)
6856 }
6857
6858 static bool_t /* next four bytes of input stream are treated as a header */
6859-set_input_fragment(rstrm)
6860- RECSTREAM *rstrm;
6861+set_input_fragment(RECSTREAM *rstrm)
6862 {
6863 uint32_t header;
6864
6865diff --git a/src/lib/rpc/xdr_reference.c b/src/lib/rpc/xdr_reference.c
6866index eff279d..f3d4b7d 100644
6867--- a/src/lib/rpc/xdr_reference.c
6868+++ b/src/lib/rpc/xdr_reference.c
6869@@ -47,8 +47,6 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
6870 #include <gssrpc/types.h>
6871 #include <gssrpc/xdr.h>
6872
6873-#define LASTUNSIGNED ((u_int)0-1)
6874-
6875 /*
6876 * XDR an indirect pointer
6877 * xdr_reference is for recursively translating a structure that is
6878@@ -88,7 +86,7 @@ xdr_reference(
6879 break;
6880 }
6881
6882- stat = (*proc)(xdrs, loc, LASTUNSIGNED);
6883+ stat = (*proc)(xdrs, loc);
6884
6885 if (xdrs->x_op == XDR_FREE) {
6886 mem_free(loc, size);
6887diff --git a/src/lib/rpc/xdr_sizeof.c b/src/lib/rpc/xdr_sizeof.c
6888index 5b77fa6..0c460e7 100644
6889--- a/src/lib/rpc/xdr_sizeof.c
6890+++ b/src/lib/rpc/xdr_sizeof.c
6891@@ -43,9 +43,7 @@
6892
6893 /* ARGSUSED */
6894 static bool_t
6895-x_putlong(xdrs, longp)
6896- XDR *xdrs;
6897- long *longp;
6898+x_putlong(XDR *xdrs, long *longp)
6899 {
6900 xdrs->x_handy += BYTES_PER_XDR_UNIT;
6901 return (TRUE);
6902@@ -53,10 +51,7 @@ x_putlong(xdrs, longp)
6903
6904 /* ARGSUSED */
6905 static bool_t
6906-x_putbytes(xdrs, bp, len)
6907- XDR *xdrs;
6908- char *bp;
6909- int len;
6910+x_putbytes(XDR *xdrs, char *bp, u_int len)
6911 {
6912 xdrs->x_handy += len;
6913
6914@@ -64,26 +59,21 @@ x_putbytes(xdrs, bp, len)
6915 }
6916
6917 static u_int
6918-x_getpostn(xdrs)
6919- XDR *xdrs;
6920+x_getpostn(XDR *xdrs)
6921 {
6922 return (xdrs->x_handy);
6923 }
6924
6925 /* ARGSUSED */
6926 static bool_t
6927-x_setpostn(xdrs, pos)
6928- XDR *xdrs;
6929- u_int pos;
6930+x_setpostn(XDR *xdrs, u_int pos)
6931 {
6932 /* This is not allowed */
6933 return (FALSE);
6934 }
6935
6936 static rpc_inline_t *
6937-x_inline(xdrs, len)
6938- XDR *xdrs;
6939- int len;
6940+x_inline(XDR *xdrs, int len)
6941 {
6942 if (len == 0) {
6943 return (NULL);
6944@@ -110,15 +100,14 @@ x_inline(xdrs, len)
6945 }
6946
6947 static int
6948-harmless()
6949+harmless(void)
6950 {
6951 /* Always return FALSE/NULL, as the case may be */
6952 return (0);
6953 }
6954
6955 static void
6956-x_destroy(xdrs)
6957- XDR *xdrs;
6958+x_destroy(XDR *xdrs)
6959 {
6960 xdrs->x_handy = 0;
6961 xdrs->x_private = NULL;
6962@@ -130,9 +119,7 @@ x_destroy(xdrs)
6963 }
6964
6965 unsigned long
6966-xdr_sizeof(func, data)
6967- xdrproc_t func;
6968- void *data;
6969+xdr_sizeof(xdrproc_t func, void *data)
6970 {
6971 XDR x;
6972 struct xdr_ops ops;
6973diff --git a/src/plugins/kdb/db2/db2_exp.c b/src/plugins/kdb/db2/db2_exp.c
6974index 7cf8aa4..9b75f34 100644
6975--- a/src/plugins/kdb/db2/db2_exp.c
6976+++ b/src/plugins/kdb/db2/db2_exp.c
6977@@ -68,7 +68,7 @@ k5_mutex_t *krb5_db2_mutex;
6978 return result; \
6979 } \
6980 /* hack: decl to allow a following ";" */ \
6981- static TYPE wrap_##NAME ()
6982+ static TYPE wrap_##NAME ARGLIST
6983
6984 /* Two special cases: void (can't assign result), and krb5_error_code
6985 (return error from locking code). */
6986@@ -81,7 +81,7 @@ k5_mutex_t *krb5_db2_mutex;
6987 k5_mutex_unlock (krb5_db2_mutex); \
6988 } \
6989 /* hack: decl to allow a following ";" */ \
6990- static void wrap_##NAME ()
6991+ static void wrap_##NAME ARGLIST
6992
6993 #define WRAP_K(NAME,ARGLIST,ARGNAMES) \
6994 WRAP(NAME,krb5_error_code,ARGLIST,ARGNAMES)
6995diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_close.c b/src/plugins/kdb/db2/libdb2/btree/bt_close.c
6996index 11be134..f12d74b 100644
6997--- a/src/plugins/kdb/db2/libdb2/btree/bt_close.c
6998+++ b/src/plugins/kdb/db2/libdb2/btree/bt_close.c
6999@@ -61,8 +61,7 @@ static int bt_meta __P((BTREE *));
7000 * RET_ERROR, RET_SUCCESS
7001 */
7002 int
7003-__bt_close(dbp)
7004- DB *dbp;
7005+__bt_close(DB *dbp)
7006 {
7007 BTREE *t;
7008 int fd;
7009@@ -116,9 +115,7 @@ __bt_close(dbp)
7010 * RET_SUCCESS, RET_ERROR.
7011 */
7012 int
7013-__bt_sync(dbp, flags)
7014- const DB *dbp;
7015- u_int flags;
7016+__bt_sync(const DB *dbp, u_int flags)
7017 {
7018 BTREE *t;
7019 int status;
7020@@ -160,8 +157,7 @@ __bt_sync(dbp, flags)
7021 * RET_ERROR, RET_SUCCESS
7022 */
7023 static int
7024-bt_meta(t)
7025- BTREE *t;
7026+bt_meta(BTREE *t)
7027 {
7028 BTMETA m;
7029 void *p;
7030diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_conv.c b/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
7031index c0644ed..99c4af5 100644
7032--- a/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
7033+++ b/src/plugins/kdb/db2/libdb2/btree/bt_conv.c
7034@@ -59,10 +59,7 @@ static void mswap __P((PAGE *));
7035 * h: page to convert
7036 */
7037 void
7038-__bt_pgin(t, pg, pp)
7039- void *t;
7040- db_pgno_t pg;
7041- void *pp;
7042+__bt_pgin(void *t, db_pgno_t pg, void *pp)
7043 {
7044 PAGE *h;
7045 indx_t i, top;
7046@@ -128,10 +125,7 @@ __bt_pgin(t, pg, pp)
7047 }
7048
7049 void
7050-__bt_pgout(t, pg, pp)
7051- void *t;
7052- db_pgno_t pg;
7053- void *pp;
7054+__bt_pgout(void *t, db_pgno_t pg, void *pp)
7055 {
7056 PAGE *h;
7057 indx_t i, top;
7058@@ -203,8 +197,7 @@ __bt_pgout(t, pg, pp)
7059 * p: page to convert
7060 */
7061 static void
7062-mswap(pg)
7063- PAGE *pg;
7064+mswap(PAGE *pg)
7065 {
7066 char *p;
7067
7068diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_delete.c b/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
7069index 28cc24d..f8dd59e 100644
7070--- a/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
7071+++ b/src/plugins/kdb/db2/libdb2/btree/bt_delete.c
7072@@ -59,10 +59,7 @@ static int __bt_stkacq __P((BTREE *, PAGE **, CURSOR *));
7073 * Return RET_SPECIAL if the key is not found.
7074 */
7075 int
7076-__bt_delete(dbp, key, flags)
7077- const DB *dbp;
7078- const DBT *key;
7079- u_int flags;
7080+__bt_delete(const DB *dbp, const DBT *key, u_int flags)
7081 {
7082 BTREE *t;
7083 CURSOR *c;
7084@@ -140,10 +137,7 @@ __bt_delete(dbp, key, flags)
7085 * 0 on success, 1 on failure
7086 */
7087 static int
7088-__bt_stkacq(t, hp, c)
7089- BTREE *t;
7090- PAGE **hp;
7091- CURSOR *c;
7092+__bt_stkacq(BTREE *t, PAGE **hp, CURSOR *c)
7093 {
7094 BINTERNAL *bi;
7095 EPG *e;
7096@@ -288,9 +282,7 @@ ret: mpool_put(t->bt_mp, h, 0);
7097 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
7098 */
7099 static int
7100-__bt_bdelete(t, key)
7101- BTREE *t;
7102- const DBT *key;
7103+__bt_bdelete(BTREE *t, const DBT *key)
7104 {
7105 EPG *e;
7106 PAGE *h;
7107@@ -375,9 +367,7 @@ loop: if ((e = __bt_search(t, key, &exact)) == NULL)
7108 * mpool_put's the page
7109 */
7110 static int
7111-__bt_pdelete(t, h)
7112- BTREE *t;
7113- PAGE *h;
7114+__bt_pdelete(BTREE *t, PAGE *h)
7115 {
7116 BINTERNAL *bi;
7117 PAGE *pg;
7118@@ -471,11 +461,7 @@ __bt_pdelete(t, h)
7119 * RET_SUCCESS, RET_ERROR.
7120 */
7121 int
7122-__bt_dleaf(t, key, h, idx)
7123- BTREE *t;
7124- const DBT *key;
7125- PAGE *h;
7126- u_int idx;
7127+__bt_dleaf(BTREE *t, const DBT *key, PAGE *h, u_int idx)
7128 {
7129 BLEAF *bl;
7130 indx_t cnt, *ip, offset;
7131@@ -536,11 +522,7 @@ __bt_dleaf(t, key, h, idx)
7132 * RET_SUCCESS, RET_ERROR.
7133 */
7134 static int
7135-__bt_curdel(t, key, h, idx)
7136- BTREE *t;
7137- const DBT *key;
7138- PAGE *h;
7139- u_int idx;
7140+__bt_curdel(BTREE *t, const DBT *key, PAGE *h, u_int idx)
7141 {
7142 CURSOR *c;
7143 EPG e;
7144@@ -635,9 +617,7 @@ dup2: c->pg.pgno = e.page->pgno;
7145 * h: page to be deleted
7146 */
7147 int
7148-__bt_relink(t, h)
7149- BTREE *t;
7150- PAGE *h;
7151+__bt_relink(BTREE *t, PAGE *h)
7152 {
7153 PAGE *pg;
7154
7155diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_get.c b/src/plugins/kdb/db2/libdb2/btree/bt_get.c
7156index b631821..012a341 100644
7157--- a/src/plugins/kdb/db2/libdb2/btree/bt_get.c
7158+++ b/src/plugins/kdb/db2/libdb2/btree/bt_get.c
7159@@ -60,11 +60,7 @@ static char sccsid[] = "@(#)bt_get.c 8.6 (Berkeley) 7/20/94";
7160 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
7161 */
7162 int
7163-__bt_get(dbp, key, data, flags)
7164- const DB *dbp;
7165- const DBT *key;
7166- DBT *data;
7167- u_int flags;
7168+__bt_get(const DB *dbp, const DBT *key, DBT *data, u_int flags)
7169 {
7170 BTREE *t;
7171 EPG *e;
7172diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_open.c b/src/plugins/kdb/db2/libdb2/btree/bt_open.c
7173index 2977b17..0bb19d7 100644
7174--- a/src/plugins/kdb/db2/libdb2/btree/bt_open.c
7175+++ b/src/plugins/kdb/db2/libdb2/btree/bt_open.c
7176@@ -89,10 +89,8 @@ static int tmp __P((void));
7177 *
7178 */
7179 DB *
7180-__bt_open(fname, flags, mode, openinfo, dflags)
7181- const char *fname;
7182- int flags, mode, dflags;
7183- const BTREEINFO *openinfo;
7184+__bt_open(const char *fname, int flags, int mode, const BTREEINFO *openinfo,
7185+ int dflags)
7186 {
7187 struct stat sb;
7188 BTMETA m;
7189@@ -352,8 +350,7 @@ err: if (t) {
7190 * RET_ERROR, RET_SUCCESS
7191 */
7192 static int
7193-nroot(t)
7194- BTREE *t;
7195+nroot(BTREE *t)
7196 {
7197 PAGE *meta, *root;
7198 db_pgno_t npg;
7199@@ -458,8 +455,7 @@ byteorder()
7200 }
7201
7202 int
7203-__bt_fd(dbp)
7204- const DB *dbp;
7205+__bt_fd(const DB *dbp)
7206 {
7207 BTREE *t;
7208
7209diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c b/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
7210index 8b1f597..8301b5d 100644
7211--- a/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
7212+++ b/src/plugins/kdb/db2/libdb2/btree/bt_overflow.c
7213@@ -77,12 +77,7 @@ static char sccsid[] = "@(#)bt_overflow.c 8.5 (Berkeley) 7/16/94";
7214 * RET_ERROR, RET_SUCCESS
7215 */
7216 int
7217-__ovfl_get(t, p, ssz, buf, bufsz)
7218- BTREE *t;
7219- void *p;
7220- size_t *ssz;
7221- void **buf;
7222- size_t *bufsz;
7223+__ovfl_get(BTREE *t, void *p, size_t *ssz, void **buf, size_t *bufsz)
7224 {
7225 PAGE *h;
7226 db_pgno_t pg;
7227@@ -136,10 +131,7 @@ __ovfl_get(t, p, ssz, buf, bufsz)
7228 * RET_ERROR, RET_SUCCESS
7229 */
7230 int
7231-__ovfl_put(t, dbt, pg)
7232- BTREE *t;
7233- const DBT *dbt;
7234- db_pgno_t *pg;
7235+__ovfl_put(BTREE *t, const DBT *dbt, db_pgno_t *pg)
7236 {
7237 PAGE *h, *last;
7238 void *p;
7239@@ -190,9 +182,7 @@ __ovfl_put(t, dbt, pg)
7240 * RET_ERROR, RET_SUCCESS
7241 */
7242 int
7243-__ovfl_delete(t, p)
7244- BTREE *t;
7245- void *p;
7246+__ovfl_delete(BTREE *t, void *p)
7247 {
7248 PAGE *h;
7249 db_pgno_t pg;
7250diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_page.c b/src/plugins/kdb/db2/libdb2/btree/bt_page.c
7251index 3663cf7..38aa39a 100644
7252--- a/src/plugins/kdb/db2/libdb2/btree/bt_page.c
7253+++ b/src/plugins/kdb/db2/libdb2/btree/bt_page.c
7254@@ -57,9 +57,7 @@ static char sccsid[] = "@(#)bt_page.c 8.4 (Berkeley) 11/2/95";
7255 * mpool_put's the page.
7256 */
7257 int
7258-__bt_free(t, h)
7259- BTREE *t;
7260- PAGE *h;
7261+__bt_free(BTREE *t, PAGE *h)
7262 {
7263 /* Insert the page at the head of the free list. */
7264 h->prevpg = P_INVALID;
7265@@ -83,9 +81,7 @@ __bt_free(t, h)
7266 * Pointer to a page, NULL on error.
7267 */
7268 PAGE *
7269-__bt_new(t, npg)
7270- BTREE *t;
7271- db_pgno_t *npg;
7272+__bt_new(BTREE *t, db_pgno_t *npg)
7273 {
7274 PAGE *h;
7275
7276diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_put.c b/src/plugins/kdb/db2/libdb2/btree/bt_put.c
7277index 7d65928..1303c0b 100644
7278--- a/src/plugins/kdb/db2/libdb2/btree/bt_put.c
7279+++ b/src/plugins/kdb/db2/libdb2/btree/bt_put.c
7280@@ -64,11 +64,7 @@ static EPG *bt_fast __P((BTREE *, const DBT *, const DBT *, int *));
7281 * tree and R_NOOVERWRITE specified.
7282 */
7283 int
7284-__bt_put(dbp, key, data, flags)
7285- const DB *dbp;
7286- DBT *key;
7287- const DBT *data;
7288- u_int flags;
7289+__bt_put(const DB *dbp, DBT *key, const DBT *data, u_int flags)
7290 {
7291 BTREE *t;
7292 DBT tkey, tdata;
7293@@ -272,10 +268,7 @@ u_long bt_cache_hit, bt_cache_miss;
7294 * EPG for new record or NULL if not found.
7295 */
7296 static EPG *
7297-bt_fast(t, key, data, exactp)
7298- BTREE *t;
7299- const DBT *key, *data;
7300- int *exactp;
7301+bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp)
7302 {
7303 PAGE *h;
7304 u_int32_t nbytes;
7305diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_search.c b/src/plugins/kdb/db2/libdb2/btree/bt_search.c
7306index c633d14..ed512cc 100644
7307--- a/src/plugins/kdb/db2/libdb2/btree/bt_search.c
7308+++ b/src/plugins/kdb/db2/libdb2/btree/bt_search.c
7309@@ -63,10 +63,7 @@ static int __bt_sprev __P((BTREE *, PAGE *, const DBT *, int *));
7310 * the bt_cur field of the tree. A pointer to the field is returned.
7311 */
7312 EPG *
7313-__bt_search(t, key, exactp)
7314- BTREE *t;
7315- const DBT *key;
7316- int *exactp;
7317+__bt_search(BTREE *t, const DBT *key, int *exactp)
7318 {
7319 PAGE *h;
7320 indx_t base, idx, lim;
7321@@ -148,11 +145,7 @@ next: BT_PUSH(t, h->pgno, idx);
7322 * If an exact match found.
7323 */
7324 static int
7325-__bt_snext(t, h, key, exactp)
7326- BTREE *t;
7327- PAGE *h;
7328- const DBT *key;
7329- int *exactp;
7330+__bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp)
7331 {
7332 BINTERNAL *bi;
7333 EPG e;
7334@@ -228,11 +221,7 @@ __bt_snext(t, h, key, exactp)
7335 * If an exact match found.
7336 */
7337 static int
7338-__bt_sprev(t, h, key, exactp)
7339- BTREE *t;
7340- PAGE *h;
7341- const DBT *key;
7342- int *exactp;
7343+__bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp)
7344 {
7345 BINTERNAL *bi;
7346 EPG e;
7347diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_seq.c b/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
7348index 2c8c2de..97db44a 100644
7349--- a/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
7350+++ b/src/plugins/kdb/db2/libdb2/btree/bt_seq.c
7351@@ -102,10 +102,7 @@ static int bt_rseq_prev(BTREE *, EPG *);
7352 * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key.
7353 */
7354 int
7355-__bt_seq(dbp, key, data, flags)
7356- const DB *dbp;
7357- DBT *key, *data;
7358- u_int flags;
7359+__bt_seq(const DB *dbp, DBT *key, DBT *data, u_int flags)
7360 {
7361 BTREE *t;
7362 EPG e;
7363@@ -179,11 +176,7 @@ __bt_seq(dbp, key, data, flags)
7364 * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key.
7365 */
7366 static int
7367-__bt_seqset(t, ep, key, flags)
7368- BTREE *t;
7369- EPG *ep;
7370- DBT *key;
7371- int flags;
7372+__bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags)
7373 {
7374 PAGE *h;
7375 db_pgno_t pg;
7376@@ -273,10 +266,7 @@ __bt_seqset(t, ep, key, flags)
7377 * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key.
7378 */
7379 static int
7380-__bt_seqadv(t, ep, flags)
7381- BTREE *t;
7382- EPG *ep;
7383- int flags;
7384+__bt_seqadv(BTREE *t, EPG *ep, int flags)
7385 {
7386 CURSOR *c;
7387 PAGE *h;
7388@@ -495,11 +485,7 @@ bt_rseq_prev(BTREE *t, EPG *ep)
7389 * or RET_SPECIAL if no such key exists.
7390 */
7391 static int
7392-__bt_first(t, key, erval, exactp)
7393- BTREE *t;
7394- const DBT *key;
7395- EPG *erval;
7396- int *exactp;
7397+__bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp)
7398 {
7399 PAGE *h, *hprev;
7400 EPG *ep, save;
7401@@ -596,10 +582,7 @@ __bt_first(t, key, erval, exactp)
7402 * index: page index
7403 */
7404 void
7405-__bt_setcur(t, pgno, idx)
7406- BTREE *t;
7407- db_pgno_t pgno;
7408- u_int idx;
7409+__bt_setcur(BTREE *t, db_pgno_t pgno, u_int idx)
7410 {
7411 /* Lose any already deleted key. */
7412 if (t->bt_cursor.key.data != NULL) {
7413diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_split.c b/src/plugins/kdb/db2/libdb2/btree/bt_split.c
7414index c7e4e72..8901bd6 100644
7415--- a/src/plugins/kdb/db2/libdb2/btree/bt_split.c
7416+++ b/src/plugins/kdb/db2/libdb2/btree/bt_split.c
7417@@ -79,13 +79,8 @@ u_long bt_rootsplit, bt_split, bt_sortsplit, bt_pfxsaved;
7418 * RET_ERROR, RET_SUCCESS
7419 */
7420 int
7421-__bt_split(t, sp, key, data, flags, ilen, argskip)
7422- BTREE *t;
7423- PAGE *sp;
7424- const DBT *key, *data;
7425- int flags;
7426- size_t ilen;
7427- u_int32_t argskip;
7428+__bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags,
7429+ size_t ilen, u_int32_t argskip)
7430 {
7431 BINTERNAL *bi = NULL;
7432 BLEAF *bl = NULL, *tbl;
7433@@ -345,11 +340,7 @@ err2: mpool_put(t->bt_mp, l, 0);
7434 * Pointer to page in which to insert or NULL on error.
7435 */
7436 static PAGE *
7437-bt_page(t, h, lp, rp, skip, ilen)
7438- BTREE *t;
7439- PAGE *h, **lp, **rp;
7440- indx_t *skip;
7441- size_t ilen;
7442+bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
7443 {
7444 PAGE *l, *r, *tp;
7445 db_pgno_t npg;
7446@@ -450,11 +441,7 @@ bt_page(t, h, lp, rp, skip, ilen)
7447 * Pointer to page in which to insert or NULL on error.
7448 */
7449 static PAGE *
7450-bt_root(t, h, lp, rp, skip, ilen)
7451- BTREE *t;
7452- PAGE *h, **lp, **rp;
7453- indx_t *skip;
7454- size_t ilen;
7455+bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
7456 {
7457 PAGE *l, *r, *tp;
7458 db_pgno_t lnpg, rnpg;
7459@@ -497,9 +484,7 @@ bt_root(t, h, lp, rp, skip, ilen)
7460 * RET_ERROR, RET_SUCCESS
7461 */
7462 static int
7463-bt_rroot(t, h, l, r)
7464- BTREE *t;
7465- PAGE *h, *l, *r;
7466+bt_rroot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
7467 {
7468 char *dest;
7469
7470@@ -537,9 +522,7 @@ bt_rroot(t, h, l, r)
7471 * RET_ERROR, RET_SUCCESS
7472 */
7473 static int
7474-bt_broot(t, h, l, r)
7475- BTREE *t;
7476- PAGE *h, *l, *r;
7477+bt_broot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
7478 {
7479 BINTERNAL *bi;
7480 BLEAF *bl;
7481@@ -617,11 +600,7 @@ bt_broot(t, h, l, r)
7482 * Pointer to page in which to insert.
7483 */
7484 static PAGE *
7485-bt_psplit(t, h, l, r, pskip, ilen)
7486- BTREE *t;
7487- PAGE *h, *l, *r;
7488- indx_t *pskip;
7489- size_t ilen;
7490+bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
7491 {
7492 BINTERNAL *bi;
7493 BLEAF *bl;
7494@@ -796,9 +775,7 @@ bt_psplit(t, h, l, r, pskip, ilen)
7495 * RET_SUCCESS, RET_ERROR.
7496 */
7497 static int
7498-bt_preserve(t, pg)
7499- BTREE *t;
7500- db_pgno_t pg;
7501+bt_preserve(BTREE *t, db_pgno_t pg)
7502 {
7503 PAGE *h;
7504
7505@@ -824,8 +801,7 @@ bt_preserve(t, pg)
7506 * all the way back to bt_split/bt_rroot and it's not very clean.
7507 */
7508 static recno_t
7509-rec_total(h)
7510- PAGE *h;
7511+rec_total(PAGE *h)
7512 {
7513 recno_t recs;
7514 indx_t nxt, top;
7515diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_utils.c b/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
7516index be2f24f..13d1f2c 100644
7517--- a/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
7518+++ b/src/plugins/kdb/db2/libdb2/btree/bt_utils.c
7519@@ -64,11 +64,8 @@ static char sccsid[] = "@(#)bt_utils.c 8.8 (Berkeley) 7/20/94";
7520 * RET_SUCCESS, RET_ERROR.
7521 */
7522 int
7523-__bt_ret(t, e, key, rkey, data, rdata, copy)
7524- BTREE *t;
7525- EPG *e;
7526- DBT *key, *rkey, *data, *rdata;
7527- int copy;
7528+__bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata,
7529+ int copy)
7530 {
7531 BLEAF *bl;
7532 void *p;
7533@@ -150,10 +147,7 @@ dataonly:
7534 * > 0 if k1 is > record
7535 */
7536 int
7537-__bt_cmp(t, k1, e)
7538- BTREE *t;
7539- const DBT *k1;
7540- EPG *e;
7541+__bt_cmp(BTREE *t, const DBT *k1, EPG *e)
7542 {
7543 BINTERNAL *bi;
7544 BLEAF *bl;
7545@@ -213,8 +207,7 @@ __bt_cmp(t, k1, e)
7546 * > 0 if a is > b
7547 */
7548 int
7549-__bt_defcmp(a, b)
7550- const DBT *a, *b;
7551+__bt_defcmp(const DBT *a, const DBT *b)
7552 {
7553 size_t len;
7554 u_char *p1, *p2;
7555@@ -243,8 +236,7 @@ __bt_defcmp(a, b)
7556 * Number of bytes needed to distinguish b from a.
7557 */
7558 size_t
7559-__bt_defpfx(a, b)
7560- const DBT *a, *b;
7561+__bt_defpfx(const DBT *a, const DBT *b)
7562 {
7563 u_char *p1, *p2;
7564 size_t cnt, len;
7565diff --git a/src/plugins/kdb/db2/libdb2/db/db.c b/src/plugins/kdb/db2/libdb2/db/db.c
7566index fba7795..f85484f 100644
7567--- a/src/plugins/kdb/db2/libdb2/db/db.c
7568+++ b/src/plugins/kdb/db2/libdb2/db/db.c
7569@@ -45,11 +45,8 @@ static char sccsid[] = "@(#)db.c 8.4 (Berkeley) 2/21/94";
7570 #include "db-int.h"
7571
7572 DB *
7573-kdb2_dbopen(fname, flags, mode, type, openinfo)
7574- const char *fname;
7575- int flags, mode;
7576- DBTYPE type;
7577- const void *openinfo;
7578+kdb2_dbopen(const char *fname, int flags, int mode, DBTYPE type,
7579+ const void *openinfo)
7580 {
7581
7582 #define DB_FLAGS (DB_LOCK | DB_SHMEM | DB_TXN)
7583@@ -74,7 +71,7 @@ kdb2_dbopen(fname, flags, mode, type, openinfo)
7584 }
7585
7586 static int
7587-__dberr()
7588+__dberr(void)
7589 {
7590 return (RET_ERROR);
7591 }
7592@@ -86,14 +83,15 @@ __dberr()
7593 * dbp: pointer to the DB structure.
7594 */
7595 void
7596-__dbpanic(dbp)
7597- DB *dbp;
7598+__dbpanic(DB *dbp)
7599 {
7600 /* The only thing that can succeed is a close. */
7601- dbp->del = (int (*)())__dberr;
7602- dbp->fd = (int (*)())__dberr;
7603- dbp->get = (int (*)())__dberr;
7604- dbp->put = (int (*)())__dberr;
7605- dbp->seq = (int (*)())__dberr;
7606- dbp->sync = (int (*)())__dberr;
7607+ dbp->del = (int (*)(const struct __db *, const DBT *, u_int))__dberr;
7608+ dbp->fd = (int (*)(const struct __db *))__dberr;
7609+ dbp->get = (int (*)(const struct __db *, const DBT *, DBT *,
7610+ u_int))__dberr;
7611+ dbp->put = (int (*)(const struct __db *, DBT *, const DBT *,
7612+ u_int))__dberr;
7613+ dbp->seq = (int (*)(const struct __db *, DBT *, DBT *, u_int))__dberr;
7614+ dbp->sync = (int (*)(const struct __db *, u_int))__dberr;
7615 }
7616diff --git a/src/plugins/kdb/db2/libdb2/hash/dbm.c b/src/plugins/kdb/db2/libdb2/hash/dbm.c
7617index 4878cbc..2dca256 100644
7618--- a/src/plugins/kdb/db2/libdb2/hash/dbm.c
7619+++ b/src/plugins/kdb/db2/libdb2/hash/dbm.c
7620@@ -69,8 +69,7 @@ static DBM *__cur_db;
7621 static void no_open_db __P((void));
7622
7623 int
7624-kdb2_dbminit(file)
7625- char *file;
7626+kdb2_dbminit(char *file)
7627 {
7628 if (__cur_db != NULL)
7629 (void)kdb2_dbm_close(__cur_db);
7630@@ -82,8 +81,7 @@ kdb2_dbminit(file)
7631 }
7632
7633 datum
7634-kdb2_fetch(key)
7635- datum key;
7636+kdb2_fetch(datum key)
7637 {
7638 datum item;
7639
7640@@ -111,8 +109,7 @@ kdb2_firstkey()
7641 }
7642
7643 datum
7644-kdb2_nextkey(key)
7645- datum key;
7646+kdb2_nextkey(datum key)
7647 {
7648 datum item;
7649
7650@@ -126,8 +123,7 @@ kdb2_nextkey(key)
7651 }
7652
7653 int
7654-kdb2_delete(key)
7655- datum key;
7656+kdb2_delete(datum key)
7657 {
7658 if (__cur_db == NULL) {
7659 no_open_db();
7660@@ -137,8 +133,7 @@ kdb2_delete(key)
7661 }
7662
7663 int
7664-kdb2_store(key, dat)
7665- datum key, dat;
7666+kdb2_store(datum key, datum dat)
7667 {
7668 if (__cur_db == NULL) {
7669 no_open_db();
7670@@ -159,9 +154,7 @@ no_open_db()
7671 * NULL on failure
7672 */
7673 DBM *
7674-kdb2_dbm_open(file, flags, mode)
7675- const char *file;
7676- int flags, mode;
7677+kdb2_dbm_open(const char *file, int flags, int mode)
7678 {
7679 HASHINFO info;
7680 char path[MAXPATHLEN];
7681@@ -183,8 +176,7 @@ kdb2_dbm_open(file, flags, mode)
7682 * Nothing.
7683 */
7684 void
7685-kdb2_dbm_close(db)
7686- DBM *db;
7687+kdb2_dbm_close(DBM *db)
7688 {
7689 (void)(db->close)(db);
7690 }
7691@@ -195,9 +187,7 @@ kdb2_dbm_close(db)
7692 * NULL on failure
7693 */
7694 datum
7695-kdb2_dbm_fetch(db, key)
7696- DBM *db;
7697- datum key;
7698+kdb2_dbm_fetch(DBM *db, datum key)
7699 {
7700 datum retval;
7701 int status;
7702@@ -226,8 +216,7 @@ kdb2_dbm_fetch(db, key)
7703 * NULL on failure
7704 */
7705 datum
7706-kdb2_dbm_firstkey(db)
7707- DBM *db;
7708+kdb2_dbm_firstkey(DBM *db)
7709 {
7710 int status;
7711 datum retkey;
7712@@ -254,8 +243,7 @@ kdb2_dbm_firstkey(db)
7713 * NULL on failure
7714 */
7715 datum
7716-kdb2_dbm_nextkey(db)
7717- DBM *db;
7718+kdb2_dbm_nextkey(DBM *db)
7719 {
7720 int status;
7721 datum retkey;
7722@@ -282,9 +270,7 @@ kdb2_dbm_nextkey(db)
7723 * <0 failure
7724 */
7725 int
7726-kdb2_dbm_delete(db, key)
7727- DBM *db;
7728- datum key;
7729+kdb2_dbm_delete(DBM *db, datum key)
7730 {
7731 int status;
7732
7733@@ -310,10 +296,7 @@ kdb2_dbm_delete(db, key)
7734 * 1 if DBM_INSERT and entry exists
7735 */
7736 int
7737-kdb2_dbm_store(db, key, content, flags)
7738- DBM *db;
7739- datum key, content;
7740- int flags;
7741+kdb2_dbm_store(DBM *db, datum key, datum content, int flags)
7742 {
7743 #ifdef NEED_COPY
7744 DBT k, c;
7745@@ -331,8 +314,7 @@ kdb2_dbm_store(db, key, content, flags)
7746 }
7747
7748 int
7749-kdb2_dbm_error(db)
7750- DBM *db;
7751+kdb2_dbm_error(DBM *db)
7752 {
7753 HTAB *hp;
7754
7755@@ -341,8 +323,7 @@ kdb2_dbm_error(db)
7756 }
7757
7758 int
7759-kdb2_dbm_clearerr(db)
7760- DBM *db;
7761+kdb2_dbm_clearerr(DBM *db)
7762 {
7763 HTAB *hp;
7764
7765@@ -352,8 +333,7 @@ kdb2_dbm_clearerr(db)
7766 }
7767
7768 int
7769-kdb2_dbm_dirfno(db)
7770- DBM *db;
7771+kdb2_dbm_dirfno(DBM *db)
7772 {
7773 return(((HTAB *)db->internal)->fp);
7774 }
7775diff --git a/src/plugins/kdb/db2/libdb2/hash/hash.c b/src/plugins/kdb/db2/libdb2/hash/hash.c
7776index 862dbb1..7c3e951 100644
7777--- a/src/plugins/kdb/db2/libdb2/hash/hash.c
7778+++ b/src/plugins/kdb/db2/libdb2/hash/hash.c
7779@@ -94,10 +94,8 @@ u_int32_t hash_accesses, hash_collisions, hash_expansions, hash_overflows,
7780 /* OPEN/CLOSE */
7781
7782 extern DB *
7783-__kdb2_hash_open(file, flags, mode, info, dflags)
7784- const char *file;
7785- int flags, mode, dflags;
7786- const HASHINFO *info; /* Special directives for create */
7787+__kdb2_hash_open(const char *file, int flags, int mode, const HASHINFO *info,
7788+ int dflags)
7789 {
7790 struct stat statbuf;
7791 DB *dbp;
7792@@ -260,8 +258,7 @@ error0:
7793 }
7794
7795 static int32_t
7796-hash_close(dbp)
7797- DB *dbp;
7798+hash_close(DB *dbp)
7799 {
7800 HTAB *hashp;
7801 int32_t retval;
7802@@ -276,8 +273,7 @@ hash_close(dbp)
7803 }
7804
7805 static int32_t
7806-hash_fd(dbp)
7807- const DB *dbp;
7808+hash_fd(const DB *dbp)
7809 {
7810 HTAB *hashp;
7811
7812@@ -294,10 +290,7 @@ hash_fd(dbp)
7813
7814 /************************** LOCAL CREATION ROUTINES **********************/
7815 static HTAB *
7816-init_hash(hashp, file, info)
7817- HTAB *hashp;
7818- const char *file;
7819- const HASHINFO *info;
7820+init_hash(HTAB *hashp, const char *file, const HASHINFO *info)
7821 {
7822 struct stat statbuf;
7823
7824@@ -349,9 +342,7 @@ init_hash(hashp, file, info)
7825 * Returns 0 on No Error
7826 */
7827 static int32_t
7828-init_htab(hashp, nelem)
7829- HTAB *hashp;
7830- int32_t nelem;
7831+init_htab(HTAB *hashp, int32_t nelem)
7832 {
7833 int32_t l2, nbuckets;
7834
7835@@ -403,9 +394,7 @@ init_htab(hashp, nelem)
7836 * Functions to get/put hash header. We access the file directly.
7837 */
7838 static u_int32_t
7839-hget_header(hashp, page_size)
7840- HTAB *hashp;
7841- u_int32_t page_size;
7842+hget_header(HTAB *hashp, u_int32_t page_size)
7843 {
7844 u_int32_t num_copied;
7845 u_int8_t *hdr_dest;
7846@@ -431,8 +420,7 @@ hget_header(hashp, page_size)
7847 }
7848
7849 static void
7850-hput_header(hashp)
7851- HTAB *hashp;
7852+hput_header(HTAB *hashp)
7853 {
7854 HASHHDR *whdrp;
7855 #if DB_BYTE_ORDER == DB_LITTLE_ENDIAN
7856@@ -462,8 +450,7 @@ hput_header(hashp)
7857 * structure, freeing all allocated space.
7858 */
7859 static int32_t
7860-hdestroy(hashp)
7861- HTAB *hashp;
7862+hdestroy(HTAB *hashp)
7863 {
7864 int32_t save_errno;
7865
7866@@ -549,9 +536,7 @@ hdestroy(hashp)
7867 * -1 ERROR
7868 */
7869 static int32_t
7870-hash_sync(dbp, flags)
7871- const DB *dbp;
7872- u_int32_t flags;
7873+hash_sync(const DB *dbp, u_int32_t flags)
7874 {
7875 HTAB *hashp;
7876
7877@@ -570,8 +555,7 @@ hash_sync(dbp, flags)
7878 * -1 indicates that errno should be set
7879 */
7880 static int32_t
7881-flush_meta(hashp)
7882- HTAB *hashp;
7883+flush_meta(HTAB *hashp)
7884 {
7885 int32_t i;
7886
7887@@ -607,11 +591,7 @@ flush_meta(hashp)
7888 /* *** make sure this is true! */
7889
7890 static int32_t
7891-hash_get(dbp, key, data, flag)
7892- const DB *dbp;
7893- const DBT *key;
7894- DBT *data;
7895- u_int32_t flag;
7896+hash_get(const DB *dbp, const DBT *key, DBT *data, u_int32_t flag)
7897 {
7898 HTAB *hashp;
7899
7900@@ -624,11 +604,7 @@ hash_get(dbp, key, data, flag)
7901 }
7902
7903 static int32_t
7904-hash_put(dbp, key, data, flag)
7905- const DB *dbp;
7906- DBT *key;
7907- const DBT *data;
7908- u_int32_t flag;
7909+hash_put(const DB *dbp, DBT *key, const DBT *data, u_int32_t flag)
7910 {
7911 HTAB *hashp;
7912
7913@@ -646,10 +622,7 @@ hash_put(dbp, key, data, flag)
7914 }
7915
7916 static int32_t
7917-hash_delete(dbp, key, flag)
7918- const DB *dbp;
7919- const DBT *key;
7920- u_int32_t flag; /* Ignored */
7921+hash_delete(const DB *dbp, const DBT *key, u_int32_t flag)
7922 {
7923 HTAB *hashp;
7924
7925@@ -670,11 +643,7 @@ hash_delete(dbp, key, flag)
7926 * Assume that hashp has been set in wrapper routine.
7927 */
7928 static int32_t
7929-hash_access(hashp, action, key, val)
7930- HTAB *hashp;
7931- ACTION action;
7932- const DBT *key;
7933- DBT *val;
7934+hash_access(HTAB *hashp, ACTION action, const DBT *key, DBT *val)
7935 {
7936 DBT page_key, page_val;
7937 CURSOR cursor;
7938@@ -791,8 +760,7 @@ found: __get_item_done(hashp, &cursor);
7939
7940 /* ****************** CURSORS ********************************** */
7941 CURSOR *
7942-__cursor_creat(dbp)
7943- const DB *dbp;
7944+__cursor_creat(const DB *dbp)
7945 {
7946 CURSOR *new_curs;
7947 HTAB *hashp;
7948@@ -823,11 +791,7 @@ __cursor_creat(dbp)
7949 }
7950
7951 static int32_t
7952-cursor_get(dbp, cursorp, key, val, flags)
7953- const DB *dbp;
7954- CURSOR *cursorp;
7955- DBT *key, *val;
7956- u_int32_t flags;
7957+cursor_get(const DB *dbp, CURSOR *cursorp, DBT *key, DBT *val, u_int32_t flags)
7958 {
7959 HTAB *hashp;
7960 ITEM_INFO item_info;
7961@@ -896,10 +860,7 @@ cursor_get(dbp, cursorp, key, val, flags)
7962 }
7963
7964 static int32_t
7965-cursor_delete(dbp, cursor, flags)
7966- const DB *dbp;
7967- CURSOR *cursor;
7968- u_int32_t flags;
7969+cursor_delete(const DB *dbp, CURSOR *cursor, u_int32_t flags)
7970 {
7971 /* XXX this is empirically determined, so it might not be completely
7972 correct, but it seems to work. At the very least it fixes
7973@@ -912,10 +873,7 @@ cursor_delete(dbp, cursor, flags)
7974 }
7975
7976 static int32_t
7977-hash_seq(dbp, key, val, flag)
7978- const DB *dbp;
7979- DBT *key, *val;
7980- u_int32_t flag;
7981+hash_seq(const DB *dbp, DBT *key, DBT *val, u_int32_t flag)
7982 {
7983 HTAB *hashp;
7984
7985@@ -939,8 +897,7 @@ hash_seq(dbp, key, val, flag)
7986 * -1 ==> Error
7987 */
7988 int32_t
7989-__expand_table(hashp)
7990- HTAB *hashp;
7991+__expand_table(HTAB *hashp)
7992 {
7993 u_int32_t old_bucket, new_bucket;
7994 int32_t spare_ndx;
7995@@ -979,10 +936,7 @@ __expand_table(hashp)
7996 }
7997
7998 u_int32_t
7999-__call_hash(hashp, k, len)
8000- HTAB *hashp;
8001- int8_t *k;
8002- int32_t len;
8003+__call_hash(HTAB *hashp, int8_t *k, int32_t len)
8004 {
8005 u_int32_t n, bucket;
8006
8007@@ -998,8 +952,7 @@ __call_hash(hashp, k, len)
8008 * Hashp->hdr needs to be byteswapped.
8009 */
8010 static void
8011-swap_header_copy(srcp, destp)
8012- HASHHDR *srcp, *destp;
8013+swap_header_copy(HASHHDR *srcp, HASHHDR *destp)
8014 {
8015 int32_t i;
8016
8017@@ -1024,8 +977,7 @@ swap_header_copy(srcp, destp)
8018 }
8019
8020 static void
8021-swap_header(hashp)
8022- HTAB *hashp;
8023+swap_header(HTAB *hashp)
8024 {
8025 HASHHDR *hdrp;
8026 int32_t i;
8027diff --git a/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c b/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
8028index 4b95278..6befb7a 100644
8029--- a/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
8030+++ b/src/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
8031@@ -83,10 +83,7 @@ static int32_t collect_data __P((HTAB *, PAGE16 *, int32_t));
8032 * -1 ==> ERROR
8033 */
8034 int32_t
8035-__big_insert(hashp, pagep, key, val)
8036- HTAB *hashp;
8037- PAGE16 *pagep;
8038- const DBT *key, *val;
8039+__big_insert(HTAB *hashp, PAGE16 *pagep, const DBT *key, const DBT *val)
8040 {
8041 size_t key_size, val_size;
8042 indx_t key_move_bytes, val_move_bytes;
8043@@ -185,11 +182,7 @@ __big_delete(hashp, pagep, ndx)
8044 * -1 error
8045 */
8046 int32_t
8047-__find_bigpair(hashp, cursorp, key, size)
8048- HTAB *hashp;
8049- CURSOR *cursorp;
8050- int8_t *key;
8051- int32_t size;
8052+__find_bigpair(HTAB *hashp, CURSOR *cursorp, int8_t *key, int32_t size)
8053 {
8054 PAGE16 *pagep, *hold_pagep;
8055 db_pgno_t next_pgno;
8056@@ -257,11 +250,7 @@ __find_bigpair(hashp, cursorp, key, size)
8057 * Fill in the key and data for this big pair.
8058 */
8059 int32_t
8060-__big_keydata(hashp, pagep, key, val, ndx)
8061- HTAB *hashp;
8062- PAGE16 *pagep;
8063- DBT *key, *val;
8064- int32_t ndx;
8065+__big_keydata(HTAB *hashp, PAGE16 *pagep, DBT *key, DBT *val, int32_t ndx)
8066 {
8067 ITEM_INFO ii;
8068 PAGE16 *key_pagep;
8069@@ -315,11 +304,8 @@ __get_bigkey(hashp, pagep, ndx, key)
8070 * Return the big key and data indicated in item_info.
8071 */
8072 int32_t
8073-__big_return(hashp, item_info, val, on_bigkey_page)
8074- HTAB *hashp;
8075- ITEM_INFO *item_info;
8076- DBT *val;
8077- int32_t on_bigkey_page;
8078+__big_return(HTAB *hashp, ITEM_INFO *item_info, DBT *val,
8079+ int32_t on_bigkey_page)
8080 {
8081 PAGE16 *pagep;
8082 db_pgno_t next_pgno;
8083@@ -366,11 +352,7 @@ __big_return(hashp, item_info, val, on_bigkey_page)
8084 * Return total length of data; -1 if error.
8085 */
8086 static int32_t
8087-collect_key(hashp, pagep, len, last_page)
8088- HTAB *hashp;
8089- PAGE16 *pagep;
8090- int32_t len;
8091- db_pgno_t *last_page;
8092+collect_key(HTAB *hashp, PAGE16 *pagep, int32_t len, db_pgno_t *last_page)
8093 {
8094 PAGE16 *next_pagep;
8095 int32_t totlen, retval;
8096@@ -434,10 +416,7 @@ collect_key(hashp, pagep, len, last_page)
8097 * Return total length of data; -1 if error.
8098 */
8099 static int32_t
8100-collect_data(hashp, pagep, len)
8101- HTAB *hashp;
8102- PAGE16 *pagep;
8103- int32_t len;
8104+collect_data(HTAB *hashp, PAGE16 *pagep, int32_t len)
8105 {
8106 PAGE16 *next_pagep;
8107 int32_t totlen, retval;
8108diff --git a/src/plugins/kdb/db2/libdb2/hash/hash_func.c b/src/plugins/kdb/db2/libdb2/hash/hash_func.c
8109index 1dee694..f169be6 100644
8110--- a/src/plugins/kdb/db2/libdb2/hash/hash_func.c
8111+++ b/src/plugins/kdb/db2/libdb2/hash/hash_func.c
8112@@ -66,9 +66,7 @@ u_int32_t (*__default_hash) __P((const void *, size_t)) = hash4;
8113
8114 #if 0
8115 static u_int32_t
8116-hash1(key, len)
8117- const void *key;
8118- size_t len;
8119+hash1(const void *key, size_t len)
8120 {
8121 u_int32_t h;
8122 u_int8_t *k;
8123@@ -88,9 +86,7 @@ hash1(key, len)
8124 #define dcharhash(h, c) ((h) = 0x63c63cd9*(h) + 0x9c39c33d + (c))
8125
8126 static u_int32_t
8127-hash2(key, len)
8128- const void *key;
8129- size_t len;
8130+hash2(const void *key, size_t len)
8131 {
8132 u_int32_t h;
8133 u_int8_t *e, c, *k;
8134@@ -116,9 +112,7 @@ hash2(key, len)
8135 * Ozan Yigit's original sdbm hash.
8136 */
8137 static u_int32_t
8138-hash3(key, len)
8139- const void *key;
8140- size_t len;
8141+hash3(const void *key, size_t len)
8142 {
8143 u_int32_t n, loop;
8144 u_int8_t *k;
8145@@ -159,9 +153,7 @@ hash3(key, len)
8146
8147 /* Chris Torek's hash function. */
8148 static u_int32_t
8149-hash4(key, len)
8150- const void *key;
8151- size_t len;
8152+hash4(const void *key, size_t len)
8153 {
8154 u_int32_t h, loop;
8155 const u_int8_t *k;
8156diff --git a/src/plugins/kdb/db2/libdb2/hash/hash_log2.c b/src/plugins/kdb/db2/libdb2/hash/hash_log2.c
8157index 8c710e5..7fdfd85 100644
8158--- a/src/plugins/kdb/db2/libdb2/hash/hash_log2.c
8159+++ b/src/plugins/kdb/db2/libdb2/hash/hash_log2.c
8160@@ -44,8 +44,7 @@ static char sccsid[] = "@(#)hash_log2.c 8.4 (Berkeley) 11/7/95";
8161 #include "extern.h"
8162
8163 u_int32_t
8164-__kdb2_log2(num)
8165- u_int32_t num;
8166+__kdb2_log2(u_int32_t num)
8167 {
8168 u_int32_t i, limit;
8169
8170diff --git a/src/plugins/kdb/db2/libdb2/hash/hash_page.c b/src/plugins/kdb/db2/libdb2/hash/hash_page.c
8171index 0da3571..dba29e0 100644
8172--- a/src/plugins/kdb/db2/libdb2/hash/hash_page.c
8173+++ b/src/plugins/kdb/db2/libdb2/hash/hash_page.c
8174@@ -84,11 +84,8 @@ static void account_page(HTAB *, db_pgno_t, int);
8175 #endif
8176
8177 u_int32_t
8178-__get_item(hashp, cursorp, key, val, item_info)
8179- HTAB *hashp;
8180- CURSOR *cursorp;
8181- DBT *key, *val;
8182- ITEM_INFO *item_info;
8183+__get_item(HTAB *hashp, CURSOR *cursorp, DBT *key, DBT *val,
8184+ ITEM_INFO *item_info)
8185 {
8186 db_pgno_t next_pgno;
8187 int32_t i;
8188@@ -159,9 +156,7 @@ __get_item(hashp, cursorp, key, val, item_info)
8189 }
8190
8191 u_int32_t
8192-__get_item_reset(hashp, cursorp)
8193- HTAB *hashp;
8194- CURSOR *cursorp;
8195+__get_item_reset(HTAB *hashp, CURSOR *cursorp)
8196 {
8197 if (cursorp->pagep)
8198 __put_page(hashp, cursorp->pagep, A_RAW, 0);
8199@@ -174,9 +169,7 @@ __get_item_reset(hashp, cursorp)
8200 }
8201
8202 u_int32_t
8203-__get_item_done(hashp, cursorp)
8204- HTAB *hashp;
8205- CURSOR *cursorp;
8206+__get_item_done(HTAB *hashp, CURSOR *cursorp)
8207 {
8208 if (cursorp->pagep)
8209 __put_page(hashp, cursorp->pagep, A_RAW, 0);
8210@@ -190,11 +183,8 @@ __get_item_done(hashp, cursorp)
8211 }
8212
8213 u_int32_t
8214-__get_item_first(hashp, cursorp, key, val, item_info)
8215- HTAB *hashp;
8216- CURSOR *cursorp;
8217- DBT *key, *val;
8218- ITEM_INFO *item_info;
8219+__get_item_first(HTAB *hashp, CURSOR *cursorp, DBT *key, DBT *val,
8220+ ITEM_INFO *item_info)
8221 {
8222 __get_item_reset(hashp, cursorp);
8223 cursorp->bucket = 0;
8224@@ -206,11 +196,8 @@ __get_item_first(hashp, cursorp, key, val, item_info)
8225 * just returns the page number and index of the bigkey pointer pair.
8226 */
8227 u_int32_t
8228-__get_item_next(hashp, cursorp, key, val, item_info)
8229- HTAB *hashp;
8230- CURSOR *cursorp;
8231- DBT *key, *val;
8232- ITEM_INFO *item_info;
8233+__get_item_next(HTAB *hashp, CURSOR *cursorp, DBT *key, DBT *val,
8234+ ITEM_INFO *item_info)
8235 {
8236 int status;
8237
8238@@ -224,9 +211,7 @@ __get_item_next(hashp, cursorp, key, val, item_info)
8239 * Put a non-big pair on a page.
8240 */
8241 static void
8242-putpair(p, key, val)
8243- PAGE8 *p;
8244- const DBT *key, *val;
8245+putpair(PAGE8 *p, const DBT *key, const DBT *val)
8246 {
8247 u_int16_t *pagep, n, off;
8248
8249@@ -275,10 +260,7 @@ prev_realkey(pagep, n)
8250 * -1 error
8251 */
8252 extern int32_t
8253-__delpair(hashp, cursorp, item_info)
8254- HTAB *hashp;
8255- CURSOR *cursorp;
8256- ITEM_INFO *item_info;
8257+__delpair(HTAB *hashp, CURSOR *cursorp, ITEM_INFO *item_info)
8258 {
8259 PAGE16 *pagep;
8260 indx_t ndx;
8261@@ -412,9 +394,7 @@ __delpair(hashp, cursorp, item_info)
8262 }
8263
8264 extern int32_t
8265-__split_page(hashp, obucket, nbucket)
8266- HTAB *hashp;
8267- u_int32_t obucket, nbucket;
8268+__split_page(HTAB *hashp, u_int32_t obucket, u_int32_t nbucket)
8269 {
8270 DBT key, val;
8271 ITEM_INFO old_ii, new_ii;
8272@@ -661,9 +641,7 @@ add_bigptr(hashp, item_info, big_pgno)
8273 * NULL on error
8274 */
8275 extern PAGE16 *
8276-__add_ovflpage(hashp, pagep)
8277- HTAB *hashp;
8278- PAGE16 *pagep;
8279+__add_ovflpage(HTAB *hashp, PAGE16 *pagep)
8280 {
8281 PAGE16 *new_pagep;
8282 u_int16_t ovfl_num;
8283@@ -768,10 +746,7 @@ page_init(hashp, pagep, pgno, type)
8284 }
8285
8286 int32_t
8287-__new_page(hashp, addr, addr_type)
8288- HTAB *hashp;
8289- u_int32_t addr;
8290- int32_t addr_type;
8291+__new_page(HTAB *hashp, u_int32_t addr, int32_t addr_type)
8292 {
8293 db_pgno_t paddr;
8294 PAGE16 *pagep;
8295@@ -804,10 +779,7 @@ __new_page(hashp, addr, addr_type)
8296 }
8297
8298 int32_t
8299-__delete_page(hashp, pagep, page_type)
8300- HTAB *hashp;
8301- PAGE16 *pagep;
8302- int32_t page_type;
8303+__delete_page(HTAB *hashp, PAGE16 *pagep, int32_t page_type)
8304 {
8305 if (page_type == A_OVFL)
8306 __free_ovflpage(hashp, pagep);
8307@@ -815,9 +787,7 @@ __delete_page(hashp, pagep, page_type)
8308 }
8309
8310 static u_int8_t
8311-is_bitmap_pgno(hashp, pgno)
8312- HTAB *hashp;
8313- db_pgno_t pgno;
8314+is_bitmap_pgno(HTAB *hashp, db_pgno_t pgno)
8315 {
8316 int32_t i;
8317
8318@@ -828,10 +798,7 @@ is_bitmap_pgno(hashp, pgno)
8319 }
8320
8321 void
8322-__pgin_routine(pg_cookie, pgno, page)
8323- void *pg_cookie;
8324- db_pgno_t pgno;
8325- void *page;
8326+__pgin_routine(void *pg_cookie, db_pgno_t pgno, void *page)
8327 {
8328 HTAB *hashp;
8329 PAGE16 *pagep;
8330@@ -868,10 +835,7 @@ __pgin_routine(pg_cookie, pgno, page)
8331 }
8332
8333 void
8334-__pgout_routine(pg_cookie, pgno, page)
8335- void *pg_cookie;
8336- db_pgno_t pgno;
8337- void *page;
8338+__pgout_routine(void *pg_cookie, db_pgno_t pgno, void *page)
8339 {
8340 HTAB *hashp;
8341 PAGE16 *pagep;
8342@@ -905,10 +869,7 @@ __pgout_routine(pg_cookie, pgno, page)
8343 * -1 ==>failure
8344 */
8345 extern int32_t
8346-__put_page(hashp, pagep, addr_type, is_dirty)
8347- HTAB *hashp;
8348- PAGE16 *pagep;
8349- int32_t addr_type, is_dirty;
8350+__put_page(HTAB *hashp, PAGE16 *pagep, int32_t addr_type, int32_t is_dirty)
8351 {
8352 #if DEBUG_SLOW
8353 account_page(hashp,
8354@@ -924,10 +885,7 @@ __put_page(hashp, pagep, addr_type, is_dirty)
8355 * -1 indicates FAILURE
8356 */
8357 extern PAGE16 *
8358-__get_page(hashp, addr, addr_type)
8359- HTAB *hashp;
8360- u_int32_t addr;
8361- int32_t addr_type;
8362+__get_page(HTAB *hashp, u_int32_t addr, int32_t addr_type)
8363 {
8364 PAGE16 *pagep;
8365 db_pgno_t paddr;
8366@@ -958,8 +916,7 @@ __get_page(hashp, addr, addr_type)
8367 }
8368
8369 static void
8370-swap_page_header_in(pagep)
8371- PAGE16 *pagep;
8372+swap_page_header_in(PAGE16 *pagep)
8373 {
8374 u_int32_t i;
8375
8376@@ -977,8 +934,7 @@ swap_page_header_in(pagep)
8377 }
8378
8379 static void
8380-swap_page_header_out(pagep)
8381- PAGE16 *pagep;
8382+swap_page_header_out(PAGE16 *pagep)
8383 {
8384 u_int32_t i;
8385
8386@@ -1001,9 +957,7 @@ swap_page_header_out(pagep)
8387 * once they are read in.
8388 */
8389 extern int32_t
8390-__ibitmap(hashp, pnum, nbits, ndx)
8391- HTAB *hashp;
8392- int32_t pnum, nbits, ndx;
8393+__ibitmap(HTAB *hashp, int32_t pnum, int32_t nbits, int32_t ndx)
8394 {
8395 u_int32_t *ip;
8396 int32_t clearbytes, clearints;
8397@@ -1027,8 +981,7 @@ __ibitmap(hashp, pnum, nbits, ndx)
8398 }
8399
8400 static u_int32_t
8401-first_free(map)
8402- u_int32_t map;
8403+first_free(u_int32_t map)
8404 {
8405 u_int32_t i, mask;
8406
8407@@ -1044,8 +997,7 @@ first_free(map)
8408 * returns 0 on error
8409 */
8410 static u_int16_t
8411-overflow_page(hashp)
8412- HTAB *hashp;
8413+overflow_page(HTAB *hashp)
8414 {
8415 u_int32_t *freep;
8416 u_int32_t bit, first_page, free_bit, free_page, i, in_use_bits, j;
8417@@ -1206,9 +1158,7 @@ found:
8418
8419 #ifdef DEBUG
8420 int
8421-bucket_to_page(hashp, n)
8422- HTAB *hashp;
8423- int n;
8424+bucket_to_page(HTAB *hashp, int n)
8425 {
8426 int ret_val;
8427
8428@@ -1219,9 +1169,7 @@ bucket_to_page(hashp, n)
8429 }
8430
8431 int32_t
8432-oaddr_to_page(hashp, n)
8433- HTAB *hashp;
8434- int n;
8435+oaddr_to_page(HTAB *hashp, int n)
8436 {
8437 int ret_val, temp;
8438
8439@@ -1234,9 +1182,7 @@ oaddr_to_page(hashp, n)
8440 #endif /* DEBUG */
8441
8442 static indx_t
8443-page_to_oaddr(hashp, pgno)
8444- HTAB *hashp;
8445- db_pgno_t pgno;
8446+page_to_oaddr(HTAB *hashp, db_pgno_t pgno)
8447 {
8448 int32_t sp, ret_val;
8449
8450@@ -1268,9 +1214,7 @@ page_to_oaddr(hashp, pgno)
8451 * Mark this overflow page as free.
8452 */
8453 extern void
8454-__free_ovflpage(hashp, pagep)
8455- HTAB *hashp;
8456- PAGE16 *pagep;
8457+__free_ovflpage(HTAB *hashp, PAGE16 *pagep)
8458 {
8459 u_int32_t *freep;
8460 u_int32_t bit_address, free_page, free_bit;
8461@@ -1307,9 +1251,7 @@ __free_ovflpage(hashp, pagep)
8462 }
8463
8464 static u_int32_t *
8465-fetch_bitmap(hashp, ndx)
8466- HTAB *hashp;
8467- int32_t ndx;
8468+fetch_bitmap(HTAB *hashp, int32_t ndx)
8469 {
8470 if (ndx >= hashp->nmaps)
8471 return (NULL);
8472@@ -1322,10 +1264,7 @@ fetch_bitmap(hashp, ndx)
8473
8474 #ifdef DEBUG_SLOW
8475 static void
8476-account_page(hashp, pgno, inout)
8477- HTAB *hashp;
8478- db_pgno_t pgno;
8479- int inout;
8480+account_page(HTAB *hashp, db_pgno_t pgno, int inout)
8481 {
8482 static struct {
8483 db_pgno_t pgno;
8484diff --git a/src/plugins/kdb/db2/libdb2/hash/hsearch.c b/src/plugins/kdb/db2/libdb2/hash/hsearch.c
8485index 02ff7ef..ffcdfcf 100644
8486--- a/src/plugins/kdb/db2/libdb2/hash/hsearch.c
8487+++ b/src/plugins/kdb/db2/libdb2/hash/hsearch.c
8488@@ -50,8 +50,7 @@ static DB *dbp = NULL;
8489 static ENTRY retval;
8490
8491 extern int
8492-hcreate(nel)
8493- u_int nel;
8494+hcreate(u_int nel)
8495 {
8496 HASHINFO info;
8497
8498@@ -66,9 +65,7 @@ hcreate(nel)
8499 }
8500
8501 extern ENTRY *
8502-hsearch(item, action)
8503- ENTRY item;
8504- ACTION action;
8505+hsearch(ENTRY item, ACTION action)
8506 {
8507 DBT key, val;
8508 int status;
8509@@ -98,7 +95,7 @@ hsearch(item, action)
8510 }
8511
8512 extern void
8513-hdestroy()
8514+hdestroy(void)
8515 {
8516 if (dbp) {
8517 (void)(dbp->close)(dbp);
8518diff --git a/src/plugins/kdb/db2/libdb2/mpool/mpool.c b/src/plugins/kdb/db2/libdb2/mpool/mpool.c
8519index 0fcfd4a..028fb18 100644
8520--- a/src/plugins/kdb/db2/libdb2/mpool/mpool.c
8521+++ b/src/plugins/kdb/db2/libdb2/mpool/mpool.c
8522@@ -56,10 +56,7 @@ static int mpool_write __P((MPOOL *, BKT *));
8523 * Initialize a memory pool.
8524 */
8525 MPOOL *
8526-mpool_open(key, fd, pagesize, maxcache)
8527- void *key;
8528- int fd;
8529- db_pgno_t pagesize, maxcache;
8530+mpool_open(void *key, int fd, db_pgno_t pagesize, db_pgno_t maxcache)
8531 {
8532 struct stat sb;
8533 MPOOL *mp;
8534@@ -96,11 +93,8 @@ mpool_open(key, fd, pagesize, maxcache)
8535 * Initialize input/output filters.
8536 */
8537 void
8538-mpool_filter(mp, pgin, pgout, pgcookie)
8539- MPOOL *mp;
8540- void (*pgin) __P((void *, db_pgno_t, void *));
8541- void (*pgout) __P((void *, db_pgno_t, void *));
8542- void *pgcookie;
8543+mpool_filter(MPOOL *mp, void (*pgin) __P((void *, db_pgno_t, void *)),
8544+ void (*pgout) __P((void *, db_pgno_t, void *)), void *pgcookie)
8545 {
8546 mp->pgin = pgin;
8547 mp->pgout = pgout;
8548@@ -112,10 +106,7 @@ mpool_filter(mp, pgin, pgout, pgcookie)
8549 * Get a new page of memory.
8550 */
8551 void *
8552-mpool_new(mp, pgnoaddr, flags)
8553- MPOOL *mp;
8554- db_pgno_t *pgnoaddr;
8555- u_int flags;
8556+mpool_new(MPOOL *mp, db_pgno_t *pgnoaddr, u_int flags)
8557 {
8558 struct _hqh *head;
8559 BKT *bp;
8560@@ -149,9 +140,7 @@ mpool_new(mp, pgnoaddr, flags)
8561 }
8562
8563 int
8564-mpool_delete(mp, page)
8565- MPOOL *mp;
8566- void *page;
8567+mpool_delete(MPOOL *mp, void *page)
8568 {
8569 struct _hqh *head;
8570 BKT *bp;
8571@@ -180,10 +169,7 @@ mpool_delete(mp, page)
8572 * Get a page.
8573 */
8574 void *
8575-mpool_get(mp, pgno, flags)
8576- MPOOL *mp;
8577- db_pgno_t pgno;
8578- u_int flags; /* XXX not used? */
8579+mpool_get(MPOOL *mp, db_pgno_t pgno, u_int flags)
8580 {
8581 struct _hqh *head;
8582 BKT *bp;
8583@@ -278,10 +264,7 @@ mpool_get(mp, pgno, flags)
8584 * Return a page.
8585 */
8586 int
8587-mpool_put(mp, page, flags)
8588- MPOOL *mp;
8589- void *page;
8590- u_int flags;
8591+mpool_put(MPOOL *mp, void *page, u_int flags)
8592 {
8593 BKT *bp;
8594
8595@@ -307,8 +290,7 @@ mpool_put(mp, page, flags)
8596 * Close the buffer pool.
8597 */
8598 int
8599-mpool_close(mp)
8600- MPOOL *mp;
8601+mpool_close(MPOOL *mp)
8602 {
8603 BKT *bp;
8604
8605@@ -328,8 +310,7 @@ mpool_close(mp)
8606 * Sync the pool to disk.
8607 */
8608 int
8609-mpool_sync(mp)
8610- MPOOL *mp;
8611+mpool_sync(MPOOL *mp)
8612 {
8613 BKT *bp;
8614
8615@@ -348,8 +329,7 @@ mpool_sync(mp)
8616 * Get a page from the cache (or create one).
8617 */
8618 static BKT *
8619-mpool_bkt(mp)
8620- MPOOL *mp;
8621+mpool_bkt(MPOOL *mp)
8622 {
8623 struct _hqh *head;
8624 BKT *bp;
8625@@ -407,9 +387,7 @@ new: if ((bp = (BKT *)malloc(sizeof(BKT) + mp->pagesize)) == NULL)
8626 * Write a page to disk.
8627 */
8628 static int
8629-mpool_write(mp, bp)
8630- MPOOL *mp;
8631- BKT *bp;
8632+mpool_write(MPOOL *mp, BKT *bp)
8633 {
8634 off_t off;
8635
8636@@ -451,9 +429,7 @@ mpool_write(mp, bp)
8637 * Lookup a page in the cache.
8638 */
8639 static BKT *
8640-mpool_look(mp, pgno)
8641- MPOOL *mp;
8642- db_pgno_t pgno;
8643+mpool_look(MPOOL *mp, db_pgno_t pgno)
8644 {
8645 struct _hqh *head;
8646 BKT *bp;
8647@@ -478,8 +454,7 @@ mpool_look(mp, pgno)
8648 * Print out cache statistics.
8649 */
8650 void
8651-mpool_stat(mp)
8652- MPOOL *mp;
8653+mpool_stat(MPOOL *mp)
8654 {
8655 BKT *bp;
8656 int cnt;
8657@@ -520,8 +495,7 @@ mpool_stat(mp)
8658 }
8659 #else
8660 void
8661-mpool_stat(mp)
8662- MPOOL *mp;
8663+mpool_stat(MPOOL *mp)
8664 {
8665 }
8666 #endif
8667diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_close.c b/src/plugins/kdb/db2/libdb2/recno/rec_close.c
8668index 4ef4dd1..b858e5c 100644
8669--- a/src/plugins/kdb/db2/libdb2/recno/rec_close.c
8670+++ b/src/plugins/kdb/db2/libdb2/recno/rec_close.c
8671@@ -59,8 +59,7 @@ static char sccsid[] = "@(#)rec_close.c 8.9 (Berkeley) 11/18/94";
8672 * RET_ERROR, RET_SUCCESS
8673 */
8674 int
8675-__rec_close(dbp)
8676- DB *dbp;
8677+__rec_close(DB *dbp)
8678 {
8679 BTREE *t;
8680 int status;
8681@@ -108,9 +107,7 @@ __rec_close(dbp)
8682 * RET_SUCCESS, RET_ERROR.
8683 */
8684 int
8685-__rec_sync(dbp, flags)
8686- const DB *dbp;
8687- u_int flags;
8688+__rec_sync(const DB *dbp, u_int flags)
8689 {
8690 struct iovec iov[2];
8691 BTREE *t;
8692diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_delete.c b/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
8693index b69c9ad..7e574df 100644
8694--- a/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
8695+++ b/src/plugins/kdb/db2/libdb2/recno/rec_delete.c
8696@@ -61,10 +61,7 @@ static int rec_rdelete __P((BTREE *, recno_t));
8697 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
8698 */
8699 int
8700-__rec_delete(dbp, key, flags)
8701- const DB *dbp;
8702- const DBT *key;
8703- u_int flags;
8704+__rec_delete(const DB *dbp, const DBT *key, u_int flags)
8705 {
8706 BTREE *t;
8707 recno_t nrec;
8708@@ -117,9 +114,7 @@ einval: errno = EINVAL;
8709 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
8710 */
8711 static int
8712-rec_rdelete(t, nrec)
8713- BTREE *t;
8714- recno_t nrec;
8715+rec_rdelete(BTREE *t, recno_t nrec)
8716 {
8717 EPG *e;
8718 PAGE *h;
8719@@ -151,10 +146,7 @@ rec_rdelete(t, nrec)
8720 * RET_SUCCESS, RET_ERROR.
8721 */
8722 int
8723-__rec_dleaf(t, h, idx)
8724- BTREE *t;
8725- PAGE *h;
8726- u_int32_t idx;
8727+__rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
8728 {
8729 RLEAF *rl;
8730 indx_t *ip, cnt, offset;
8731diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_get.c b/src/plugins/kdb/db2/libdb2/recno/rec_get.c
8732index 230b2d4..c89cb55 100644
8733--- a/src/plugins/kdb/db2/libdb2/recno/rec_get.c
8734+++ b/src/plugins/kdb/db2/libdb2/recno/rec_get.c
8735@@ -60,11 +60,7 @@ static char sccsid[] = "@(#)rec_get.c 8.9 (Berkeley) 8/18/94";
8736 * RET_ERROR, RET_SUCCESS and RET_SPECIAL if the key not found.
8737 */
8738 int
8739-__rec_get(dbp, key, data, flags)
8740- const DB *dbp;
8741- const DBT *key;
8742- DBT *data;
8743- u_int flags;
8744+__rec_get(const DB *dbp, const DBT *key, DBT *data, u_int flags)
8745 {
8746 BTREE *t;
8747 EPG *e;
8748@@ -119,9 +115,7 @@ __rec_get(dbp, key, data, flags)
8749 * RET_ERROR, RET_SUCCESS
8750 */
8751 int
8752-__rec_fpipe(t, top)
8753- BTREE *t;
8754- recno_t top;
8755+__rec_fpipe(BTREE *t, recno_t top)
8756 {
8757 DBT data;
8758 recno_t nrec;
8759@@ -175,9 +169,7 @@ __rec_fpipe(t, top)
8760 * RET_ERROR, RET_SUCCESS
8761 */
8762 int
8763-__rec_vpipe(t, top)
8764- BTREE *t;
8765- recno_t top;
8766+__rec_vpipe(BTREE *t, recno_t top)
8767 {
8768 DBT data;
8769 recno_t nrec;
8770@@ -232,9 +224,7 @@ __rec_vpipe(t, top)
8771 * RET_ERROR, RET_SUCCESS
8772 */
8773 int
8774-__rec_fmap(t, top)
8775- BTREE *t;
8776- recno_t top;
8777+__rec_fmap(BTREE *t, recno_t top)
8778 {
8779 DBT data;
8780 recno_t nrec;
8781@@ -282,9 +272,7 @@ __rec_fmap(t, top)
8782 * RET_ERROR, RET_SUCCESS
8783 */
8784 int
8785-__rec_vmap(t, top)
8786- BTREE *t;
8787- recno_t top;
8788+__rec_vmap(BTREE *t, recno_t top)
8789 {
8790 DBT data;
8791 u_char *sp, *ep;
8792diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_open.c b/src/plugins/kdb/db2/libdb2/recno/rec_open.c
8793index d8b26e7..acbf03d 100644
8794--- a/src/plugins/kdb/db2/libdb2/recno/rec_open.c
8795+++ b/src/plugins/kdb/db2/libdb2/recno/rec_open.c
8796@@ -55,10 +55,8 @@ static char sccsid[] = "@(#)rec_open.c 8.12 (Berkeley) 11/18/94";
8797 #include "recno.h"
8798
8799 DB *
8800-__rec_open(fname, flags, mode, openinfo, dflags)
8801- const char *fname;
8802- int flags, mode, dflags;
8803- const RECNOINFO *openinfo;
8804+__rec_open(const char *fname, int flags, int mode, const RECNOINFO *openinfo,
8805+ int dflags)
8806 {
8807 BTREE *t;
8808 BTREEINFO btopeninfo;
8809@@ -226,8 +224,7 @@ err: sverrno = errno;
8810 }
8811
8812 int
8813-__rec_fd(dbp)
8814- const DB *dbp;
8815+__rec_fd(const DB *dbp)
8816 {
8817 BTREE *t;
8818
8819diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_put.c b/src/plugins/kdb/db2/libdb2/recno/rec_put.c
8820index c53c957..8456f1d 100644
8821--- a/src/plugins/kdb/db2/libdb2/recno/rec_put.c
8822+++ b/src/plugins/kdb/db2/libdb2/recno/rec_put.c
8823@@ -59,11 +59,7 @@ static char sccsid[] = "@(#)rec_put.c 8.7 (Berkeley) 8/18/94";
8824 * already in the tree and R_NOOVERWRITE specified.
8825 */
8826 int
8827-__rec_put(dbp, key, data, flags)
8828- const DB *dbp;
8829- DBT *key;
8830- const DBT *data;
8831- u_int flags;
8832+__rec_put(const DB *dbp, DBT *key, const DBT *data, u_int flags)
8833 {
8834 BTREE *t;
8835 DBT fdata, tdata;
8836@@ -187,11 +183,7 @@ einval: errno = EINVAL;
8837 * RET_ERROR, RET_SUCCESS
8838 */
8839 int
8840-__rec_iput(t, nrec, data, flags)
8841- BTREE *t;
8842- recno_t nrec;
8843- const DBT *data;
8844- u_int flags;
8845+__rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
8846 {
8847 DBT tdata;
8848 EPG *e;
8849diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_search.c b/src/plugins/kdb/db2/libdb2/recno/rec_search.c
8850index 244d79f..55e5ba8 100644
8851--- a/src/plugins/kdb/db2/libdb2/recno/rec_search.c
8852+++ b/src/plugins/kdb/db2/libdb2/recno/rec_search.c
8853@@ -61,10 +61,7 @@ static char sccsid[] = "@(#)rec_search.c 8.4 (Berkeley) 7/14/94";
8854 * the bt_cur field of the tree. A pointer to the field is returned.
8855 */
8856 EPG *
8857-__rec_search(t, recno, op)
8858- BTREE *t;
8859- recno_t recno;
8860- enum SRCHOP op;
8861+__rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
8862 {
8863 indx_t idx;
8864 PAGE *h;
8865diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_seq.c b/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
8866index 8af1378..cf48ea2 100644
8867--- a/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
8868+++ b/src/plugins/kdb/db2/libdb2/recno/rec_seq.c
8869@@ -58,10 +58,7 @@ static char sccsid[] = "@(#)rec_seq.c 8.3 (Berkeley) 7/14/94";
8870 * RET_ERROR, RET_SUCCESS or RET_SPECIAL if there's no next key.
8871 */
8872 int
8873-__rec_seq(dbp, key, data, flags)
8874- const DB *dbp;
8875- DBT *key, *data;
8876- u_int flags;
8877+__rec_seq(const DB *dbp, DBT *key, DBT *data, u_int flags)
8878 {
8879 BTREE *t;
8880 EPG *e;
8881diff --git a/src/plugins/kdb/db2/libdb2/recno/rec_utils.c b/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
8882index f757a72..2eaa39b 100644
8883--- a/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
8884+++ b/src/plugins/kdb/db2/libdb2/recno/rec_utils.c
8885@@ -59,11 +59,7 @@ static char sccsid[] = "@(#)rec_utils.c 8.6 (Berkeley) 7/16/94";
8886 * RET_SUCCESS, RET_ERROR.
8887 */
8888 int
8889-__rec_ret(t, e, nrec, key, data)
8890- BTREE *t;
8891- EPG *e;
8892- recno_t nrec;
8893- DBT *key, *data;
8894+__rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data)
8895 {
8896 RLEAF *rl;
8897 void *p;
8898diff --git a/src/plugins/kdb/db2/libdb2/test/dbtest.c b/src/plugins/kdb/db2/libdb2/test/dbtest.c
8899index 5d76b1d..04bf34b 100644
8900--- a/src/plugins/kdb/db2/libdb2/test/dbtest.c
8901+++ b/src/plugins/kdb/db2/libdb2/test/dbtest.c
8902@@ -121,9 +121,7 @@ DB *XXdbp; /* Global for gdb. */
8903 u_long XXlineno; /* Fast breakpoint for gdb. */
8904
8905 int
8906-main(argc, argv)
8907- int argc;
8908- char *argv[];
8909+main(int argc, char *argv[])
8910 {
8911 extern int optind;
8912 extern char *optarg;
8913@@ -380,8 +378,7 @@ lkey: switch (command) {
8914 #define NOOVERWRITE "put failed, would overwrite key\n"
8915
8916 void
8917-compare(db1, db2)
8918- DBT *db1, *db2;
8919+compare(DBT *db1, DBT *db2)
8920 {
8921 size_t len;
8922 u_char *p1, *p2;
8923@@ -402,9 +399,7 @@ compare(db1, db2)
8924 }
8925
8926 void
8927-get(dbp, kp)
8928- DB *dbp;
8929- DBT *kp;
8930+get(DB *dbp, DBT *kp)
8931 {
8932 DBT data;
8933
8934@@ -437,9 +432,7 @@ get(dbp, kp)
8935 }
8936
8937 void
8938-getdata(dbp, kp, dp)
8939- DB *dbp;
8940- DBT *kp, *dp;
8941+getdata(DB *dbp, DBT *kp, DBT *dp)
8942 {
8943 switch (dbp->get(dbp, kp, dp, flags)) {
8944 case 0:
8945@@ -454,9 +447,7 @@ getdata(dbp, kp, dp)
8946 }
8947
8948 void
8949-put(dbp, kp, dp)
8950- DB *dbp;
8951- DBT *kp, *dp;
8952+put(DB *dbp, DBT *kp, DBT *dp)
8953 {
8954 switch (dbp->put(dbp, kp, dp, flags)) {
8955 case 0:
8956@@ -473,9 +464,7 @@ put(dbp, kp, dp)
8957 }
8958
8959 void
8960-rem(dbp, kp)
8961- DB *dbp;
8962- DBT *kp;
8963+rem(DB *dbp, DBT *kp)
8964 {
8965 switch (dbp->del(dbp, kp, flags)) {
8966 case 0:
8967@@ -502,8 +491,7 @@ rem(dbp, kp)
8968 }
8969
8970 void
8971-synk(dbp)
8972- DB *dbp;
8973+synk(DB *dbp)
8974 {
8975 switch (dbp->sync(dbp, flags)) {
8976 case 0:
8977@@ -515,9 +503,7 @@ synk(dbp)
8978 }
8979
8980 void
8981-seq(dbp, kp)
8982- DB *dbp;
8983- DBT *kp;
8984+seq(DB *dbp, DBT *kp)
8985 {
8986 DBT data;
8987
8988@@ -551,10 +537,7 @@ seq(dbp, kp)
8989 }
8990
8991 void
8992-dump(dbp, rev, recurse)
8993- DB *dbp;
8994- int rev;
8995- int recurse;
8996+dump(DB *dbp, int rev, int recurse)
8997 {
8998 DBT key, data;
8999 int lflags, nflags;
9000@@ -588,8 +571,7 @@ done: return;
9001 }
9002
9003 void
9004-unlinkpg(dbp)
9005- DB *dbp;
9006+unlinkpg(DB *dbp)
9007 {
9008 BTREE *t = dbp->internal;
9009 PAGE *h = NULL;
9010@@ -623,8 +605,7 @@ cleanup:
9011 }
9012
9013 u_int
9014-setflags(s)
9015- char *s;
9016+setflags(char *s)
9017 {
9018 char *p;
9019
9020@@ -648,8 +629,7 @@ setflags(s)
9021 }
9022
9023 char *
9024-sflags(lflags)
9025- int lflags;
9026+sflags(int lflags)
9027 {
9028 switch (lflags) {
9029 case R_CURSOR: return ("R_CURSOR");
9030@@ -667,8 +647,7 @@ sflags(lflags)
9031 }
9032
9033 DBTYPE
9034-dbtype(s)
9035- char *s;
9036+dbtype(char *s)
9037 {
9038 if (!strcmp(s, "btree"))
9039 return (DB_BTREE);
9040@@ -681,9 +660,7 @@ dbtype(s)
9041 }
9042
9043 void *
9044-setinfo(db_type, s)
9045- DBTYPE db_type;
9046- char *s;
9047+setinfo(DBTYPE db_type, char *s)
9048 {
9049 static BTREEINFO ib;
9050 static HASHINFO ih;
9051@@ -777,9 +754,7 @@ setinfo(db_type, s)
9052 }
9053
9054 void *
9055-rfile(name, lenp)
9056- char *name;
9057- size_t *lenp;
9058+rfile(char *name, size_t *lenp)
9059 {
9060 struct stat sb;
9061 void *p;
9062@@ -806,9 +781,7 @@ rfile(name, lenp)
9063 }
9064
9065 void *
9066-xmalloc(text, len)
9067- char *text;
9068- size_t len;
9069+xmalloc(char *text, size_t len)
9070 {
9071 void *p;
9072
9073diff --git a/src/plugins/kdb/db2/pol_xdr.c b/src/plugins/kdb/db2/pol_xdr.c
9074index e857633..448d4b0 100644
9075--- a/src/plugins/kdb/db2/pol_xdr.c
9076+++ b/src/plugins/kdb/db2/pol_xdr.c
9077@@ -82,7 +82,7 @@ xdr_osa_policy_ent_rec(XDR *xdrs, osa_policy_ent_t objp)
9078 if (!xdr_short(xdrs, &objp->n_tl_data))
9079 return (FALSE);
9080 if (!xdr_nulltype(xdrs, (void **) &objp->tl_data,
9081- xdr_krb5_tl_data))
9082+ (xdrproc_t)xdr_krb5_tl_data))
9083 return FALSE;
9084 }
9085 return (TRUE);
9086diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
9087index 0b56ba8..7ddea92 100644
9088--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
9089+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c
9090@@ -186,8 +186,8 @@ static struct _cmd_table {
9091 * The function cmd_lookup returns the structure matching the
9092 * command name and returns NULL if nothing matches.
9093 */
9094-static struct _cmd_table *cmd_lookup(name)
9095- char *name;
9096+static struct _cmd_table *
9097+cmd_lookup(const char *name)
9098 {
9099 int i;
9100
9101diff --git a/src/plugins/kdb/lmdb/kdb_lmdb.c b/src/plugins/kdb/lmdb/kdb_lmdb.c
9102index bd288e2..dbab796 100644
9103--- a/src/plugins/kdb/lmdb/kdb_lmdb.c
9104+++ b/src/plugins/kdb/lmdb/kdb_lmdb.c
9105@@ -468,13 +468,13 @@ error:
9106 }
9107
9108 static krb5_error_code
9109-klmdb_lib_init()
9110+klmdb_lib_init(void)
9111 {
9112 return 0;
9113 }
9114
9115 static krb5_error_code
9116-klmdb_lib_cleanup()
9117+klmdb_lib_cleanup(void)
9118 {
9119 return 0;
9120 }
9121diff --git a/src/plugins/kdb/test/kdb_test.c b/src/plugins/kdb/test/kdb_test.c
9122index f4d4380..8d14091 100644
9123--- a/src/plugins/kdb/test/kdb_test.c
9124+++ b/src/plugins/kdb/test/kdb_test.c
9125@@ -312,13 +312,13 @@ make_strings(char **stringattrs, krb5_db_entry *ent)
9126 }
9127
9128 static krb5_error_code
9129-test_init()
9130+test_init(void)
9131 {
9132 return 0;
9133 }
9134
9135 static krb5_error_code
9136-test_cleanup()
9137+test_cleanup(void)
9138 {
9139 return 0;
9140 }
9141diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
9142index cb9c796..4c81256 100644
9143--- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
9144+++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
9145@@ -3450,7 +3450,7 @@ load_pkcs11_module(krb5_context context, const char *modname,
9146 CK_RV (*getflist)(CK_FUNCTION_LIST_PTR_PTR);
9147 struct errinfo einfo = EMPTY_ERRINFO;
9148 const char *errmsg = NULL;
9149- void (*sym)();
9150+ void (*sym)(void);
9151 long err;
9152 CK_RV rv;
9153
9154@@ -3469,7 +3469,7 @@ load_pkcs11_module(krb5_context context, const char *modname,
9155 goto error;
9156 }
9157
9158- getflist = (CK_RV (*)())sym;
9159+ getflist = (CK_RV (*)(CK_FUNCTION_LIST_PTR_PTR))sym;
9160 rv = (*getflist)(p11p);
9161 if (rv != CKR_OK) {
9162 TRACE_PKINIT_PKCS11_GETFLIST_FAILED(context, pkcs11err(rv));
9163diff --git a/src/plugins/preauth/spake/t_vectors.c b/src/plugins/preauth/spake/t_vectors.c
9164index 2279202..983b305 100644
9165--- a/src/plugins/preauth/spake/t_vectors.c
9166+++ b/src/plugins/preauth/spake/t_vectors.c
9167@@ -464,7 +464,7 @@ run_test(const struct test *t)
9168 }
9169
9170 int
9171-main()
9172+main(void)
9173 {
9174 size_t i;
9175
9176diff --git a/src/tests/asn.1/krb5_decode_test.c b/src/tests/asn.1/krb5_decode_test.c
9177index 926aa94..2fa6dce 100644
9178--- a/src/tests/asn.1/krb5_decode_test.c
9179+++ b/src/tests/asn.1/krb5_decode_test.c
9180@@ -54,9 +54,8 @@ static void ktest_free_reply_key_pack(krb5_context context,
9181 static void ktest_free_kkdcp_message(krb5_context context,
9182 krb5_kkdcp_message *val);
9183
9184-int main(argc, argv)
9185- int argc;
9186- char **argv;
9187+int
9188+main(int argc, char **argv)
9189 {
9190 krb5_data code;
9191 krb5_error_code retval;
9192diff --git a/src/tests/asn.1/krb5_encode_test.c b/src/tests/asn.1/krb5_encode_test.c
9193index 26c064e..f4e754b 100644
9194--- a/src/tests/asn.1/krb5_encode_test.c
9195+++ b/src/tests/asn.1/krb5_encode_test.c
9196@@ -37,7 +37,7 @@ krb5_context test_context;
9197 int error_count = 0;
9198 int do_trval = 0;
9199 int first_trval = 1;
9200-int trval2();
9201+int trval2(FILE *, unsigned char *, int, int, int *);
9202
9203 static void
9204 encoder_print_results(krb5_data *code, char *typestring, char *description)
9205@@ -51,7 +51,7 @@ encoder_print_results(krb5_data *code, char *typestring, char *description)
9206 else
9207 printf("\n");
9208 printf("encode_krb5_%s%s:\n", typestring, description);
9209- r = trval2(stdout, code->data, code->length, 0, &rlen);
9210+ r = trval2(stdout, (uint8_t *)code->data, code->length, 0, &rlen);
9211 printf("\n");
9212 if (rlen < 0 || (unsigned int) rlen != code->length) {
9213 printf("Error: length mismatch: was %d, parsed %d\n",
9214@@ -72,9 +72,8 @@ encoder_print_results(krb5_data *code, char *typestring, char *description)
9215 ktest_destroy_data(&code);
9216 }
9217
9218-static void PRS(argc, argv)
9219- int argc;
9220- char **argv;
9221+static void
9222+PRS(int argc, char **argv)
9223 {
9224 extern char *optarg;
9225 int optchar;
9226@@ -107,9 +106,7 @@ static void PRS(argc, argv)
9227 }
9228
9229 int
9230-main(argc, argv)
9231- int argc;
9232- char **argv;
9233+main(int argc, char **argv)
9234 {
9235 krb5_data *code;
9236 krb5_error_code retval;
9237diff --git a/src/tests/asn.1/t_trval.c b/src/tests/asn.1/t_trval.c
9238index 57d8253..009ed5b 100644
9239--- a/src/tests/asn.1/t_trval.c
9240+++ b/src/tests/asn.1/t_trval.c
9241@@ -36,7 +36,8 @@
9242 -DSTANDALONE code. */
9243 #include "trval.c"
9244
9245-static void usage()
9246+static void
9247+usage(void)
9248 {
9249 fprintf(stderr, "Usage: trval [--types] [--krb5] [--krb5decode] [--hex] [-notypebytes] [file]\n");
9250 exit(1);
9251@@ -46,10 +47,8 @@ static void usage()
9252 * Returns true if the option was selected. Allow "-option" and
9253 * "--option" syntax, since we used to accept only "-option"
9254 */
9255-static
9256-int check_option(word, option)
9257- char *word;
9258- char *option;
9259+static int
9260+check_option(char *word, char *option)
9261 {
9262 if (word[0] != '-')
9263 return 0;
9264@@ -60,9 +59,8 @@ int check_option(word, option)
9265 return 1;
9266 }
9267
9268-int main(argc, argv)
9269- int argc;
9270- char **argv;
9271+int
9272+main(int argc, char **argv)
9273 {
9274 int optflg = 1;
9275 FILE *fp;
9276diff --git a/src/tests/asn.1/trval.c b/src/tests/asn.1/trval.c
9277index c14bcde..e0e58cc 100644
9278--- a/src/tests/asn.1/trval.c
9279+++ b/src/tests/asn.1/trval.c
9280@@ -120,7 +120,8 @@ int trval2 (FILE *, unsigned char *, int, int, int *);
9281
9282 /****************************************************************************/
9283
9284-static int convert_nibble(int ch)
9285+static int
9286+convert_nibble(int ch)
9287 {
9288 if (isdigit(ch))
9289 return (ch - '0');
9290@@ -131,9 +132,8 @@ static int convert_nibble(int ch)
9291 return -1;
9292 }
9293
9294-int trval(fin, fout)
9295- FILE *fin;
9296- FILE *fout;
9297+int
9298+trval(FILE *fin, FILE *fout)
9299 {
9300 unsigned char *p;
9301 unsigned int maxlen;
9302@@ -169,12 +169,8 @@ int trval(fin, fout)
9303 return(r);
9304 }
9305
9306-int trval2(fp, enc, len, lev, rlen)
9307- FILE *fp;
9308- unsigned char *enc;
9309- int len;
9310- int lev;
9311- int *rlen;
9312+int
9313+trval2(FILE *fp, unsigned char *enc, int len, int lev, int *rlen)
9314 {
9315 int l, eid, elen, xlen, r, rlen2 = 0;
9316 int rlen_ext = 0;
9317@@ -248,10 +244,8 @@ context_restart:
9318 return(r);
9319 }
9320
9321-int decode_len(fp, enc, len)
9322- FILE *fp;
9323- unsigned char *enc;
9324- int len;
9325+int
9326+decode_len(FILE *fp, unsigned char *enc, int len)
9327 {
9328 int rlen;
9329 int i;
9330@@ -270,12 +264,8 @@ int decode_len(fp, enc, len)
9331 /*
9332 * This is the printing function for bit strings
9333 */
9334-int do_prim_bitstring(fp, tag, enc, len, lev)
9335- FILE *fp;
9336- int tag;
9337- unsigned char *enc;
9338- int len;
9339- int lev;
9340+int
9341+do_prim_bitstring(FILE *fp, int tag, unsigned char *enc, int len, int lev)
9342 {
9343 int i;
9344 long num = 0;
9345@@ -297,12 +287,8 @@ int do_prim_bitstring(fp, tag, enc, len, lev)
9346 /*
9347 * This is the printing function for integers
9348 */
9349-int do_prim_int(fp, tag, enc, len, lev)
9350- FILE *fp;
9351- int tag;
9352- unsigned char *enc;
9353- int len;
9354- int lev;
9355+int
9356+do_prim_int(FILE *fp, int tag, unsigned char *enc, int len, int lev)
9357 {
9358 int i;
9359 long num = 0;
9360@@ -327,12 +313,8 @@ int do_prim_int(fp, tag, enc, len, lev)
9361 * This is the printing function which we use if it's a string or
9362 * other other type which is best printed as a string
9363 */
9364-int do_prim_string(fp, tag, enc, len, lev)
9365- FILE *fp;
9366- int tag;
9367- unsigned char *enc;
9368- int len;
9369- int lev;
9370+int
9371+do_prim_string(FILE *fp, int tag, unsigned char *enc, int len, int lev)
9372 {
9373 int i;
9374
9375@@ -349,12 +331,8 @@ int do_prim_string(fp, tag, enc, len, lev)
9376 return 1;
9377 }
9378
9379-int do_prim(fp, tag, enc, len, lev)
9380- FILE *fp;
9381- int tag;
9382- unsigned char *enc;
9383- int len;
9384- int lev;
9385+int
9386+do_prim(FILE *fp, int tag, unsigned char *enc, int len, int lev)
9387 {
9388 int n;
9389 int i;
9390@@ -396,12 +374,8 @@ int do_prim(fp, tag, enc, len, lev)
9391 return(OK);
9392 }
9393
9394-int do_cons(fp, enc, len, lev, rlen)
9395- FILE *fp;
9396- unsigned char *enc;
9397- int len;
9398- int lev;
9399- int *rlen;
9400+int
9401+do_cons(FILE *fp, unsigned char *enc, int len, int lev, int *rlen)
9402 {
9403 int n;
9404 int r = 0;
9405@@ -430,9 +404,8 @@ struct typestring_table {
9406 int new_appl;
9407 };
9408
9409-static char *lookup_typestring(table, key1, key2)
9410- struct typestring_table *table;
9411- int key1, key2;
9412+static char *
9413+lookup_typestring(struct typestring_table *table, int key1, int key2)
9414 {
9415 struct typestring_table *ent;
9416
9417@@ -700,10 +673,8 @@ struct typestring_table krb5_fields[] = {
9418 };
9419 #endif
9420
9421-void print_tag_type(fp, eid, lev)
9422- FILE *fp;
9423- int eid;
9424- int lev;
9425+void
9426+print_tag_type(FILE *fp, int eid, int lev)
9427 {
9428 int tag = eid & ID_TAG;
9429 int do_space = 1;
9430diff --git a/src/tests/conccache.c b/src/tests/conccache.c
9431index 7b0ca63..9fe5305 100644
9432--- a/src/tests/conccache.c
9433+++ b/src/tests/conccache.c
9434@@ -110,7 +110,7 @@ refresh_cache(krb5_context context)
9435 }
9436
9437 static pid_t
9438-spawn_cred_subprocess()
9439+spawn_cred_subprocess(void)
9440 {
9441 krb5_context context;
9442 pid_t pid;
9443@@ -133,7 +133,7 @@ spawn_cred_subprocess()
9444 }
9445
9446 static pid_t
9447-spawn_refresh_subprocess()
9448+spawn_refresh_subprocess(void)
9449 {
9450 krb5_context context;
9451 pid_t pid;
9452diff --git a/src/tests/create/kdb5_mkdums.c b/src/tests/create/kdb5_mkdums.c
9453index 7c06666..61ca9f6 100644
9454--- a/src/tests/create/kdb5_mkdums.c
9455+++ b/src/tests/create/kdb5_mkdums.c
9456@@ -56,9 +56,7 @@ struct mblock {
9457 int set_dbname_help (char *, char *);
9458
9459 static void
9460-usage(who, status)
9461- char *who;
9462- int status;
9463+usage(char *who, int status)
9464 {
9465 fprintf(stderr,
9466 "usage: %s -p prefix -n num_to_create [-d dbpathname] [-r realmname]\n",
9467@@ -83,9 +81,7 @@ static krb5_boolean manual_mkey = FALSE;
9468 void add_princ (krb5_context, char *);
9469
9470 int
9471-main(argc, argv)
9472- int argc;
9473- char *argv[];
9474+main(int argc, char *argv[])
9475 {
9476 extern char *optarg;
9477 int optchar, i, n;
9478@@ -209,9 +205,7 @@ main(argc, argv)
9479 }
9480
9481 void
9482-add_princ(context, str_newprinc)
9483- krb5_context context;
9484- char * str_newprinc;
9485+add_princ(krb5_context context, char *str_newprinc)
9486 {
9487 krb5_error_code retval;
9488 krb5_principal newprinc;
9489@@ -317,9 +311,7 @@ error: /* Do cleanup of newentry regardless of error */
9490 }
9491
9492 int
9493-set_dbname_help(pname, dbname)
9494- char *pname;
9495- char *dbname;
9496+set_dbname_help(char *pname, char *dbname)
9497 {
9498 krb5_error_code retval;
9499 krb5_data pwd, scratch;
9500diff --git a/src/tests/forward.c b/src/tests/forward.c
9501index 7327cc9..90f359a 100644
9502--- a/src/tests/forward.c
9503+++ b/src/tests/forward.c
9504@@ -51,7 +51,7 @@ check(krb5_error_code code)
9505 }
9506
9507 int
9508-main()
9509+main(void)
9510 {
9511 krb5_ccache cc;
9512 krb5_creds mcred, tgt, *fcred;
9513diff --git a/src/tests/gss-threads/gss-client.c b/src/tests/gss-threads/gss-client.c
9514index c0cf25d..8c006c2 100644
9515--- a/src/tests/gss-threads/gss-client.c
9516+++ b/src/tests/gss-threads/gss-client.c
9517@@ -68,7 +68,7 @@
9518 static int verbose = 1;
9519
9520 static void
9521-usage()
9522+usage(void)
9523 {
9524 fprintf(stderr, "Usage: gss-client [-port port] [-mech mechanism] [-d]\n");
9525 fprintf(stderr, " [-seq] [-noreplay] [-nomutual]");
9526@@ -134,7 +134,7 @@ get_server_info(char *host, u_short port)
9527 * displayed and -1 is returned.
9528 */
9529 static int
9530-connect_to_server()
9531+connect_to_server(void)
9532 {
9533 int s;
9534
9535diff --git a/src/tests/gss-threads/gss-server.c b/src/tests/gss-threads/gss-server.c
9536index a9f980e..e0a3773 100644
9537--- a/src/tests/gss-threads/gss-server.c
9538+++ b/src/tests/gss-threads/gss-server.c
9539@@ -74,7 +74,7 @@
9540 #endif
9541
9542 static void
9543-usage()
9544+usage(void)
9545 {
9546 fprintf(stderr, "Usage: gss-server [-port port] [-verbose] [-once]");
9547 #ifdef _WIN32
9548diff --git a/src/tests/gssapi/reload.c b/src/tests/gssapi/reload.c
9549index 4fe3565..00bda32 100644
9550--- a/src/tests/gssapi/reload.c
9551+++ b/src/tests/gssapi/reload.c
9552@@ -64,7 +64,7 @@ load_gssapi(void)
9553 }
9554
9555 int
9556-main()
9557+main(void)
9558 {
9559 void *support;
9560
9561diff --git a/src/tests/gssapi/t_add_cred.c b/src/tests/gssapi/t_add_cred.c
9562index 68b37e3..7ab52d6 100644
9563--- a/src/tests/gssapi/t_add_cred.c
9564+++ b/src/tests/gssapi/t_add_cred.c
9565@@ -43,7 +43,7 @@
9566 #include "common.h"
9567
9568 int
9569-main()
9570+main(void)
9571 {
9572 OM_uint32 minor, major;
9573 gss_cred_id_t cred1, cred2;
9574diff --git a/src/tests/gssapi/t_enctypes.c b/src/tests/gssapi/t_enctypes.c
9575index 3fd31e2..3325db7 100644
9576--- a/src/tests/gssapi/t_enctypes.c
9577+++ b/src/tests/gssapi/t_enctypes.c
9578@@ -47,7 +47,7 @@
9579 */
9580
9581 static void
9582-usage()
9583+usage(void)
9584 {
9585 errout("Usage: t_enctypes [-i initenctypes] [-a accenctypes] "
9586 "targetname");
9587diff --git a/src/tests/gssapi/t_invalid.c b/src/tests/gssapi/t_invalid.c
9588index 882e163..c4a5a99 100644
9589--- a/src/tests/gssapi/t_invalid.c
9590+++ b/src/tests/gssapi/t_invalid.c
9591@@ -559,7 +559,7 @@ try_accept(void *value, size_t len)
9592
9593 /* Accept contexts using superficially valid but truncated encapsulations. */
9594 static void
9595-test_short_encapsulation()
9596+test_short_encapsulation(void)
9597 {
9598 /* Include just the initial application tag, to see if we overrun reading
9599 * the sequence length. */
9600diff --git a/src/tests/gssapi/t_oid.c b/src/tests/gssapi/t_oid.c
9601index 1c9d394..6425313 100644
9602--- a/src/tests/gssapi/t_oid.c
9603+++ b/src/tests/gssapi/t_oid.c
9604@@ -129,7 +129,7 @@ oid_equal(gss_OID o1, gss_OID o2)
9605 }
9606
9607 int
9608-main()
9609+main(void)
9610 {
9611 size_t i;
9612 OM_uint32 major, minor;
9613diff --git a/src/tests/gssapi/t_spnego.c b/src/tests/gssapi/t_spnego.c
9614index 2483228..4091739 100644
9615--- a/src/tests/gssapi/t_spnego.c
9616+++ b/src/tests/gssapi/t_spnego.c
9617@@ -195,7 +195,7 @@ test_mskrb_oid(gss_name_t tname, gss_cred_id_t acred)
9618 /* Check that we return a compatibility NegTokenInit2 message containing
9619 * NegHints for an empty initiator token. */
9620 static void
9621-test_neghints()
9622+test_neghints(void)
9623 {
9624 OM_uint32 major, minor;
9625 gss_buffer_desc itok = GSS_C_EMPTY_BUFFER, atok;
9626diff --git a/src/tests/hammer/kdc5_hammer.c b/src/tests/hammer/kdc5_hammer.c
9627index 8220fd9..76ef527 100644
9628--- a/src/tests/hammer/kdc5_hammer.c
9629+++ b/src/tests/hammer/kdc5_hammer.c
9630@@ -68,9 +68,7 @@ int get_tgt
9631 krb5_ccache);
9632
9633 static void
9634-usage(who, status)
9635-char *who;
9636-int status;
9637+usage(char *who, int status)
9638 {
9639 fprintf(stderr,
9640 "usage: %s -p prefix -n num_to_check [-c cachename] [-r realmname]\n",
9641@@ -100,9 +98,7 @@ struct h_timer tgs_req_times = { 0.0, 1000000.0, -1.0, 0 };
9642 tstart_time.tv_usec))/1000000.0)))
9643
9644 int
9645-main(argc, argv)
9646- int argc;
9647- char **argv;
9648+main(int argc, char **argv)
9649 {
9650 krb5_ccache ccache = NULL;
9651 char *cache_name = NULL; /* -f option */
9652@@ -271,11 +267,8 @@ main(argc, argv)
9653
9654
9655 static krb5_error_code
9656-get_server_key(context, server, enctype, key)
9657- krb5_context context;
9658- krb5_principal server;
9659- krb5_enctype enctype;
9660- krb5_keyblock ** key;
9661+get_server_key(krb5_context context, krb5_principal server,
9662+ krb5_enctype enctype, krb5_keyblock **key)
9663 {
9664 krb5_error_code retval;
9665 krb5_encrypt_block eblock;
9666@@ -311,15 +304,10 @@ cleanup_salt:
9667 return retval;
9668 }
9669
9670-int verify_cs_pair(context, p_client_str, p_client, service, hostname,
9671- p_num, c_depth, s_depth, ccache)
9672- krb5_context context;
9673- char *p_client_str;
9674- krb5_principal p_client;
9675- char * service;
9676- char * hostname;
9677- int p_num, c_depth, s_depth;
9678- krb5_ccache ccache;
9679+int
9680+verify_cs_pair(krb5_context context, char *p_client_str,
9681+ krb5_principal p_client, char *service, char *hostname,
9682+ int p_num, int c_depth, int s_depth, krb5_ccache ccache)
9683 {
9684 krb5_error_code retval;
9685 krb5_creds creds;
9686@@ -433,11 +421,9 @@ cleanup:
9687 return retval;
9688 }
9689
9690-int get_tgt (context, p_client_str, p_client, ccache)
9691- krb5_context context;
9692- char *p_client_str;
9693- krb5_principal *p_client;
9694- krb5_ccache ccache;
9695+int
9696+get_tgt(krb5_context context, char *p_client_str, krb5_principal *p_client,
9697+ krb5_ccache ccache)
9698 {
9699 long lifetime = KRB5_DEFAULT_LIFE; /* -l option */
9700 krb5_error_code code;
9701diff --git a/src/tests/kdbtest.c b/src/tests/kdbtest.c
9702index 3f61f3e..6459c33 100644
9703--- a/src/tests/kdbtest.c
9704+++ b/src/tests/kdbtest.c
9705@@ -271,7 +271,7 @@ iter_pol_handler(void *data, osa_policy_ent_t pol)
9706 }
9707
9708 int
9709-main()
9710+main(void)
9711 {
9712 krb5_db_entry *ent;
9713 osa_policy_ent_t pol;
9714diff --git a/src/tests/misc/test_getpw.c b/src/tests/misc/test_getpw.c
9715index 6031e15..59ff5d3 100644
9716--- a/src/tests/misc/test_getpw.c
9717+++ b/src/tests/misc/test_getpw.c
9718@@ -32,7 +32,7 @@
9719 #include <unistd.h>
9720 #include <sys/types.h>
9721
9722-int main()
9723+int main(void)
9724 {
9725 uid_t my_uid;
9726 struct passwd *pwd, pwx;
9727diff --git a/src/tests/plugorder.c b/src/tests/plugorder.c
9728index e1245e4..a2b7e34 100644
9729--- a/src/tests/plugorder.c
9730+++ b/src/tests/plugorder.c
9731@@ -77,7 +77,7 @@ blt3(krb5_context context, int maj_ver, int min_ver, krb5_plugin_vtable vtable)
9732 }
9733
9734 int
9735-main()
9736+main(void)
9737 {
9738 krb5_plugin_initvt_fn *modules = NULL, *mod;
9739 struct krb5_pwqual_vtable_st vt;
9740diff --git a/src/tests/shlib/t_loader.c b/src/tests/shlib/t_loader.c
9741index 29481a7..203f023 100644
9742--- a/src/tests/shlib/t_loader.c
9743+++ b/src/tests/shlib/t_loader.c
9744@@ -180,7 +180,7 @@ static void do_close(void *libhandle)
9745
9746 #endif
9747
9748-int main()
9749+int main(void)
9750 {
9751 void *celib, *k5lib, *gsslib, *celib2;
9752
9753diff --git a/src/tests/softpkcs11/main.c b/src/tests/softpkcs11/main.c
9754index 82b05ff..908f926 100644
9755--- a/src/tests/softpkcs11/main.c
9756+++ b/src/tests/softpkcs11/main.c
9757@@ -860,7 +860,7 @@ func_not_supported(void)
9758 }
9759
9760 static char *
9761-get_rcfilename()
9762+get_rcfilename(void)
9763 {
9764 struct passwd *pw;
9765 const char *home = NULL;
9766diff --git a/src/tests/t_inetd.c b/src/tests/t_inetd.c
9767index d22cf31..3790467 100644
9768--- a/src/tests/t_inetd.c
9769+++ b/src/tests/t_inetd.c
9770@@ -59,16 +59,15 @@
9771
9772 char *progname;
9773
9774-static void usage()
9775+static void
9776+usage(void)
9777 {
9778 fprintf(stderr, "%s: port program argv0 argv1 ...\n", progname);
9779 exit(1);
9780 }
9781
9782 int
9783-main(argc, argv)
9784- int argc;
9785- char **argv;
9786+main(int argc, char **argv)
9787 {
9788 unsigned short port;
9789 char *path;
9790diff --git a/src/tests/test1.c b/src/tests/test1.c
9791index aed656e..b213a34 100644
9792--- a/src/tests/test1.c
9793+++ b/src/tests/test1.c
9794@@ -31,7 +31,7 @@ unsigned char key_two[8] = { 0xea, 0x89, 0x57, 0x76, 0x5b, 0xcd, 0x0d, 0x34 };
9795
9796 extern void dump_data();
9797
9798-tkt_test_1()
9799+tkt_test_1(void)
9800 {
9801 krb5_data *data;
9802 krb5_ticket tk_in, *tk_out;
9803@@ -185,7 +185,7 @@ tkt_test_1()
9804
9805
9806
9807-main()
9808+main(void)
9809 {
9810 krb5_init_ets();
9811 tkt_test_1();
9812diff --git a/src/tests/verify/kdb5_verify.c b/src/tests/verify/kdb5_verify.c
9813index 3b152ba..d53e92a 100644
9814--- a/src/tests/verify/kdb5_verify.c
9815+++ b/src/tests/verify/kdb5_verify.c
9816@@ -50,9 +50,7 @@ struct mblock {
9817 int set_dbname_help (krb5_context, char *, char *);
9818
9819 static void
9820-usage(who, status)
9821- char *who;
9822- int status;
9823+usage(char *who, int status)
9824 {
9825 fprintf(stderr,
9826 "usage: %s -p prefix -n num_to_check [-d dbpathname] [-r realmname]\n",
9827@@ -78,9 +76,7 @@ static krb5_boolean manual_mkey = FALSE;
9828 int check_princ (krb5_context, char *);
9829
9830 int
9831-main(argc, argv)
9832- int argc;
9833- char *argv[];
9834+main(int argc, char *argv[])
9835 {
9836 extern char *optarg;
9837 int optchar, i, n;
9838@@ -221,9 +217,7 @@ main(argc, argv)
9839 }
9840
9841 int
9842-check_princ(context, str_princ)
9843- krb5_context context;
9844- char * str_princ;
9845+check_princ(krb5_context context, char *str_princ)
9846 {
9847 krb5_error_code retval;
9848 krb5_db_entry *kdbe = NULL;
9849@@ -343,10 +337,7 @@ out:
9850 }
9851
9852 int
9853-set_dbname_help(context, pname, dbname)
9854- krb5_context context;
9855- char *pname;
9856- char *dbname;
9857+set_dbname_help(krb5_context context, char *pname, char *dbname)
9858 {
9859 krb5_error_code retval;
9860 krb5_data pwd, scratch;
9861diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c
9862index 7dc02a3..13ad3af 100644
9863--- a/src/util/et/error_message.c
9864+++ b/src/util/et/error_message.c
9865@@ -82,7 +82,7 @@ void com_err_terminate(void)
9866 #endif
9867
9868 static char *
9869-get_thread_buffer ()
9870+get_thread_buffer(void)
9871 {
9872 char *cp;
9873 cp = k5_getspecific(K5_KEY_COM_ERR);
9874diff --git a/src/util/et/test_et.c b/src/util/et/test_et.c
9875index 9faf10f..2002e5f 100644
9876--- a/src/util/et/test_et.c
9877+++ b/src/util/et/test_et.c
9878@@ -17,7 +17,8 @@ extern const char *error_table_name (errcode_t);
9879 extern int sys_nerr;
9880 #endif
9881
9882-int main()
9883+int
9884+main(void)
9885 {
9886 printf("Before initiating error table:\n\n");
9887 #ifndef EXPORT_LIST
9888diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
9889index cc92248..077c852 100644
9890--- a/src/util/profile/prof_init.c
9891+++ b/src/util/profile/prof_init.c
9892@@ -103,7 +103,7 @@ init_load_module(const char *modspec, profile_t *ret_profile)
9893 struct errinfo einfo = { 0 };
9894 prf_lib_handle_t lib_handle = NULL;
9895 struct plugin_file_handle *plhandle = NULL;
9896- void *cbdata = NULL, (*fptr)();
9897+ void *cbdata = NULL, (*fptr)(void);
9898 int have_lock = 0, have_cbdata = 0;
9899 struct profile_vtable vtable = { 1 }; /* Set minor_ver to 1, rest null. */
9900 errcode_t err;
9901diff --git a/src/util/profile/t_profile.c b/src/util/profile/t_profile.c
9902index b0e715b..bffd115 100644
9903--- a/src/util/profile/t_profile.c
9904+++ b/src/util/profile/t_profile.c
9905@@ -72,7 +72,7 @@ write_file(const char *name, int nlines, ...)
9906 /* Regression test for #2685 (profile iterator breaks when modifications
9907 * made) */
9908 static void
9909-test_iterate()
9910+test_iterate(void)
9911 {
9912 profile_t p;
9913 void *iter;
9914@@ -129,7 +129,7 @@ test_iterate()
9915 * global shared profiles list.
9916 */
9917 static void
9918-test_shared()
9919+test_shared(void)
9920 {
9921 profile_t a, b;
9922 struct utimbuf times;
9923@@ -164,7 +164,7 @@ test_shared()
9924 /* Regression test for #2950 (profile_clear_relation not reflected within
9925 * handle where deletion is performed) */
9926 static void
9927-test_clear()
9928+test_clear(void)
9929 {
9930 profile_t p;
9931 const char *names[] = { "test section 1", "quux", NULL };
9932@@ -183,7 +183,7 @@ test_clear()
9933 }
9934
9935 static void
9936-test_include()
9937+test_include(void)
9938 {
9939 profile_t p;
9940 const char *names[] = { "test section 1", "bar", NULL };
9941@@ -237,7 +237,7 @@ test_include()
9942
9943 /* Test syntactic independence of included profile files. */
9944 static void
9945-test_independence()
9946+test_independence(void)
9947 {
9948 profile_t p;
9949 const char *names1[] = { "sec1", "var", "a", NULL };
9950@@ -264,7 +264,7 @@ test_independence()
9951
9952 /* Regression test for #7971 (deleted sections should not be iterable) */
9953 static void
9954-test_delete_section()
9955+test_delete_section(void)
9956 {
9957 profile_t p;
9958 const char *sect[] = { "test section 1", NULL };
9959@@ -290,7 +290,7 @@ test_delete_section()
9960 /* Regression test for #7971 (profile_clear_relation() error with deleted node
9961 * at end of value set) */
9962 static void
9963-test_delete_clear_relation()
9964+test_delete_clear_relation(void)
9965 {
9966 profile_t p;
9967 const char *names[] = { "test section 1", "testkey", NULL };
9968@@ -305,7 +305,7 @@ test_delete_clear_relation()
9969
9970 /* Test that order of relations is preserved if some relations are deleted. */
9971 static void
9972-test_delete_ordering()
9973+test_delete_ordering(void)
9974 {
9975 profile_t p;
9976 const char *names[] = { "test section 1", "testkey", NULL };
9977@@ -329,7 +329,7 @@ test_delete_ordering()
9978 /* Regression test for #8431 (profile_flush_to_file erroneously changes flag
9979 * state on source object) */
9980 static void
9981-test_flush_to_file()
9982+test_flush_to_file(void)
9983 {
9984 profile_t p;
9985
9986@@ -349,7 +349,7 @@ test_flush_to_file()
9987 /* Regression test for #7863 (multiply-specified subsections should
9988 * be merged) */
9989 static void
9990-test_merge_subsections()
9991+test_merge_subsections(void)
9992 {
9993 profile_t p;
9994 const char *n1[] = { "test section 2", "child_section2", "child", NULL };
9995@@ -374,7 +374,7 @@ test_merge_subsections()
9996 }
9997
9998 int
9999-main()
10000+main(void)
10001 {
10002 test_iterate();
10003 test_shared();
10004diff --git a/src/util/profile/test_load.c b/src/util/profile/test_load.c
10005index cb870ef..fe2d1e3 100644
10006--- a/src/util/profile/test_load.c
10007+++ b/src/util/profile/test_load.c
10008@@ -29,7 +29,7 @@
10009 #include "prof_int.h"
10010
10011 int
10012-main()
10013+main(void)
10014 {
10015 profile_t pr, pr2;
10016 const char *files[] = { "./modtest.conf", NULL };
10017diff --git a/src/util/profile/test_parse.c b/src/util/profile/test_parse.c
10018index 9f2631e..0532254 100644
10019--- a/src/util/profile/test_parse.c
10020+++ b/src/util/profile/test_parse.c
10021@@ -11,9 +11,8 @@
10022
10023 void dump_profile (struct profile_node *root, int level);
10024
10025-int main(argc, argv)
10026- int argc;
10027- char **argv;
10028+int
10029+main(int argc, char **argv)
10030 {
10031 struct profile_node *root;
10032 unsigned long retval;
10033diff --git a/src/util/profile/test_profile.c b/src/util/profile/test_profile.c
10034index 6f6fcc7..31b1063 100644
10035--- a/src/util/profile/test_profile.c
10036+++ b/src/util/profile/test_profile.c
10037@@ -19,8 +19,8 @@ const char *program_name = "test_profile";
10038 #define PRINT_VALUE 1
10039 #define PRINT_VALUES 2
10040
10041-static void do_batchmode(profile)
10042- profile_t profile;
10043+static void
10044+do_batchmode(profile_t profile)
10045 {
10046 errcode_t retval;
10047 int argc, ret;
10048@@ -108,10 +108,8 @@ static void do_batchmode(profile)
10049
10050 }
10051
10052-
10053-int main(argc, argv)
10054- int argc;
10055- char **argv;
10056+int
10057+main(int argc, char **argv)
10058 {
10059 profile_t profile;
10060 long retval;
10061diff --git a/src/util/profile/test_vtable.c b/src/util/profile/test_vtable.c
10062index 9a0b227..a7b6f54 100644
10063--- a/src/util/profile/test_vtable.c
10064+++ b/src/util/profile/test_vtable.c
10065@@ -232,7 +232,8 @@ struct profile_vtable full_vtable = {
10066 full_flush
10067 };
10068
10069-int main()
10070+int
10071+main(void)
10072 {
10073 profile_t profile;
10074 char **values, *str, *name, *value;
10075diff --git a/src/util/ss/error.c b/src/util/ss/error.c
10076index b5768a6..e5cd1b2 100644
10077--- a/src/util/ss/error.c
10078+++ b/src/util/ss/error.c
10079@@ -33,8 +33,8 @@
10080 #include "com_err.h"
10081 #include "copyright.h"
10082
10083-char * ss_name(sci_idx)
10084- int sci_idx;
10085+char *
10086+ss_name(int sci_idx)
10087 {
10088 ss_data *infop;
10089
10090@@ -50,7 +50,8 @@ char * ss_name(sci_idx)
10091 }
10092 }
10093
10094-void ss_error (int sci_idx, long code, const char * fmt, ...)
10095+void
10096+ss_error(int sci_idx, long code, const char *fmt, ...)
10097 {
10098 char *whoami;
10099 va_list pvar;
10100@@ -61,10 +62,8 @@ void ss_error (int sci_idx, long code, const char * fmt, ...)
10101 va_end(pvar);
10102 }
10103
10104-void ss_perror (sci_idx, code, msg) /* for compatibility */
10105- int sci_idx;
10106- long code;
10107- char const *msg;
10108+void
10109+ss_perror(int sci_idx, long code, char const *msg) /* for compatibility */
10110 {
10111 ss_error (sci_idx, code, "%s", msg);
10112 }
10113diff --git a/src/util/ss/execute_cmd.c b/src/util/ss/execute_cmd.c
10114index c06ee56..065c241 100644
10115--- a/src/util/ss/execute_cmd.c
10116+++ b/src/util/ss/execute_cmd.c
10117@@ -52,11 +52,9 @@
10118 * Notes:
10119 */
10120
10121-static int check_request_table (rqtbl, argc, argv, sci_idx)
10122- ss_request_table *rqtbl;
10123- int argc;
10124- char *argv[];
10125- int sci_idx;
10126+static int
10127+check_request_table(ss_request_table *rqtbl, int argc, char *argv[],
10128+ int sci_idx)
10129 {
10130 ss_request_entry *request;
10131 ss_data *info;
10132@@ -101,10 +99,8 @@ static int check_request_table (rqtbl, argc, argv, sci_idx)
10133 * Notes:
10134 */
10135
10136-static int really_execute_command (sci_idx, argc, argv)
10137- int sci_idx;
10138- int argc;
10139- char **argv[];
10140+static int
10141+really_execute_command(int sci_idx, int argc, char **argv[])
10142 {
10143 ss_request_table **rqtbl;
10144 ss_data *info;
10145@@ -135,9 +131,7 @@ static int really_execute_command (sci_idx, argc, argv)
10146 */
10147
10148 int
10149-ss_execute_command(sci_idx, argv)
10150- int sci_idx;
10151- char *argv[];
10152+ss_execute_command(int sci_idx, char *argv[])
10153 {
10154 unsigned int i, argc;
10155 char **argp;
10156@@ -172,9 +166,8 @@ ss_execute_command(sci_idx, argv)
10157 * Notes:
10158 */
10159
10160-int ss_execute_line (sci_idx, line_ptr)
10161- int sci_idx;
10162- char *line_ptr;
10163+int
10164+ss_execute_line(int sci_idx, char *line_ptr)
10165 {
10166 char **argv;
10167 int argc, ret;
10168diff --git a/src/util/ss/help.c b/src/util/ss/help.c
10169index 6d333c9..747fde5 100644
10170--- a/src/util/ss/help.c
10171+++ b/src/util/ss/help.c
10172@@ -15,11 +15,8 @@
10173 #include "copyright.h"
10174
10175
10176-void ss_help (argc, argv, sci_idx, info_ptr)
10177- int argc;
10178- char const * const *argv;
10179- int sci_idx;
10180- pointer info_ptr;
10181+void
10182+ss_help(int argc, char const * const *argv, int sci_idx, pointer info_ptr)
10183 {
10184 char buffer[MAXPATHLEN];
10185 char const *request_name;
10186@@ -81,15 +78,11 @@ got_it:
10187 ss_page_stdin();
10188 default:
10189 (void) close(fd); /* what can we do if it fails? */
10190-#ifdef WAIT_USES_INT
10191- while (wait((int *)NULL) != child) {
10192-#else
10193- while (wait((union wait *)NULL) != child) {
10194-#endif
10195- /* do nothing if wrong pid */
10196- };
10197- }
10198+ while (wait(NULL) != child) {
10199+ /* do nothing if wrong pid */
10200+ };
10201 }
10202+}
10203
10204 #ifndef USE_DIRENT_H
10205 #include <sys/dir.h>
10206@@ -97,60 +90,56 @@ got_it:
10207 #include <dirent.h>
10208 #endif
10209
10210- void ss_add_info_dir(sci_idx, info_dir, code_ptr)
10211- int sci_idx;
10212- char *info_dir;
10213- int *code_ptr;
10214- {
10215- ss_data *info;
10216- DIR *d;
10217- int n_dirs;
10218- char **dirs;
10219+void
10220+ss_add_info_dir(int sci_idx, char *info_dir, int *code_ptr)
10221+{
10222+ ss_data *info;
10223+ DIR *d;
10224+ int n_dirs;
10225+ char **dirs;
10226
10227- info = ss_info(sci_idx);
10228- if ((info_dir == NULL) || (*info_dir == '\0')) {
10229- *code_ptr = SS_ET_NO_INFO_DIR;
10230- return;
10231- }
10232- if ((d = opendir(info_dir)) == (DIR *)NULL) {
10233- *code_ptr = errno;
10234- return;
10235- }
10236- closedir(d);
10237- dirs = info->info_dirs;
10238- for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++)
10239- ; /* get number of non-NULL dir entries */
10240- dirs = (char **)realloc((char *)dirs,
10241- (unsigned)(n_dirs + 2)*sizeof(char *));
10242- if (dirs == (char **)NULL) {
10243- info->info_dirs = (char **)NULL;
10244- *code_ptr = errno;
10245- return;
10246- }
10247- info->info_dirs = dirs;
10248- dirs[n_dirs + 1] = (char *)NULL;
10249- dirs[n_dirs] = strdup(info_dir);
10250- *code_ptr = 0;
10251+ info = ss_info(sci_idx);
10252+ if ((info_dir == NULL) || (*info_dir == '\0')) {
10253+ *code_ptr = SS_ET_NO_INFO_DIR;
10254+ return;
10255+ }
10256+ if ((d = opendir(info_dir)) == (DIR *)NULL) {
10257+ *code_ptr = errno;
10258+ return;
10259 }
10260+ closedir(d);
10261+ dirs = info->info_dirs;
10262+ for (n_dirs = 0; dirs[n_dirs] != (char *)NULL; n_dirs++)
10263+ ; /* get number of non-NULL dir entries */
10264+ dirs = (char **)realloc((char *)dirs,
10265+ (unsigned)(n_dirs + 2)*sizeof(char *));
10266+ if (dirs == (char **)NULL) {
10267+ info->info_dirs = (char **)NULL;
10268+ *code_ptr = errno;
10269+ return;
10270+ }
10271+ info->info_dirs = dirs;
10272+ dirs[n_dirs + 1] = (char *)NULL;
10273+ dirs[n_dirs] = strdup(info_dir);
10274+ *code_ptr = 0;
10275+}
10276
10277- void ss_delete_info_dir(sci_idx, info_dir, code_ptr)
10278- int sci_idx;
10279- char *info_dir;
10280- int *code_ptr;
10281- {
10282- char **i_d;
10283- char **info_dirs;
10284+void
10285+ss_delete_info_dir(int sci_idx, char *info_dir, int *code_ptr)
10286+{
10287+ char **i_d;
10288+ char **info_dirs;
10289
10290- info_dirs = ss_info(sci_idx)->info_dirs;
10291- for (i_d = info_dirs; *i_d; i_d++) {
10292- if (!strcmp(*i_d, info_dir)) {
10293- while (*i_d) {
10294- *i_d = *(i_d+1);
10295- i_d++;
10296- }
10297- *code_ptr = 0;
10298- return;
10299+ info_dirs = ss_info(sci_idx)->info_dirs;
10300+ for (i_d = info_dirs; *i_d; i_d++) {
10301+ if (!strcmp(*i_d, info_dir)) {
10302+ while (*i_d) {
10303+ *i_d = *(i_d+1);
10304+ i_d++;
10305 }
10306+ *code_ptr = 0;
10307+ return;
10308 }
10309- *code_ptr = SS_ET_NO_INFO_DIR;
10310 }
10311+ *code_ptr = SS_ET_NO_INFO_DIR;
10312+}
10313diff --git a/src/util/ss/invocation.c b/src/util/ss/invocation.c
10314index 378bc3e..7736c95 100644
10315--- a/src/util/ss/invocation.c
10316+++ b/src/util/ss/invocation.c
10317@@ -36,12 +36,10 @@
10318 _ss_table[sci_idx], make sure you change the allocation routine to
10319 not assume there are no null pointers in the middle of the
10320 array. */
10321-int ss_create_invocation(subsystem_name, version_string, info_ptr,
10322- request_table_ptr, code_ptr)
10323- char *subsystem_name, *version_string;
10324- char *info_ptr;
10325- ss_request_table *request_table_ptr;
10326- int *code_ptr;
10327+int
10328+ss_create_invocation(char *subsystem_name, char *version_string,
10329+ char *info_ptr, ss_request_table *request_table_ptr,
10330+ int *code_ptr)
10331 {
10332 int sci_idx;
10333 ss_data *new_table;
10334@@ -115,8 +113,7 @@ int ss_create_invocation(subsystem_name, version_string, info_ptr,
10335 }
10336
10337 void
10338-ss_delete_invocation(sci_idx)
10339- int sci_idx;
10340+ss_delete_invocation(int sci_idx)
10341 {
10342 ss_data *t;
10343 int ignored_code;
10344diff --git a/src/util/ss/list_rqs.c b/src/util/ss/list_rqs.c
10345index c0882bf..8376e21 100644
10346--- a/src/util/ss/list_rqs.c
10347+++ b/src/util/ss/list_rqs.c
10348@@ -21,15 +21,8 @@ static char const twentyfive_spaces[26] =
10349 static char const NL[2] = "\n";
10350
10351 void
10352-ss_list_requests(argc, argv, sci_idx, info_ptr)
10353- int argc;
10354- const char * const *argv;
10355- int sci_idx;
10356-#ifdef __STDC__
10357- void *info_ptr;
10358-#else
10359- char *info_ptr;
10360-#endif
10361+ss_list_requests(int argc, const char * const *argv, int sci_idx,
10362+ void *info_ptr)
10363 {
10364 ss_request_entry *entry;
10365 char const *const *name;
10366diff --git a/src/util/ss/listen.c b/src/util/ss/listen.c
10367index fe18475..79f258f 100644
10368--- a/src/util/ss/listen.c
10369+++ b/src/util/ss/listen.c
10370@@ -28,7 +28,8 @@ static jmp_buf listen_jmpb;
10371
10372 #ifdef NO_READLINE
10373 /* Dumb replacement for readline when we don't have support for a real one. */
10374-static char *readline(const char *prompt)
10375+static char *
10376+readline(const char *prompt)
10377 {
10378 struct termios termbuf;
10379 char input[BUFSIZ];
10380@@ -49,20 +50,21 @@ static char *readline(const char *prompt)
10381 }
10382
10383 /* No-op replacement for add_history() when we have no readline support. */
10384-static void add_history(const char *line)
10385+static void
10386+add_history(const char *line)
10387 {
10388 }
10389 #endif
10390
10391-static void listen_int_handler(signo)
10392- int signo;
10393+static void
10394+listen_int_handler(int signo)
10395 {
10396 putc('\n', stdout);
10397 longjmp(listen_jmpb, 1);
10398 }
10399
10400-int ss_listen (sci_idx)
10401- int sci_idx;
10402+int
10403+ss_listen(int sci_idx)
10404 {
10405 char *cp;
10406 ss_data *info;
10407@@ -83,12 +85,12 @@ int ss_listen (sci_idx)
10408 info->abort = 0;
10409
10410 #ifdef POSIX_SIGNALS
10411- csig.sa_handler = (void (*)())0;
10412+ csig.sa_handler = (void (*)(int))0;
10413 sigemptyset(&nmask);
10414 sigaddset(&nmask, SIGINT);
10415 sigprocmask(SIG_BLOCK, &nmask, &omask);
10416 #else
10417- sig_cont = (void (*)())0;
10418+ sig_cont = (void (*)(int))0;
10419 mask = sigblock(sigmask(SIGINT));
10420 #endif
10421
10422@@ -115,7 +117,7 @@ int ss_listen (sci_idx)
10423 nsig.sa_handler = listen_int_handler; /* fgets is not signal-safe */
10424 osig = csig;
10425 sigaction(SIGCONT, &nsig, &csig);
10426- if ((void (*)())csig.sa_handler==(void (*)())listen_int_handler)
10427+ if ((void (*)(int))csig.sa_handler==(void (*)(int))listen_int_handler)
10428 csig = osig;
10429 #else
10430 old_sig_cont = sig_cont;
10431@@ -166,20 +168,16 @@ egress:
10432 return code;
10433 }
10434
10435-void ss_abort_subsystem(sci_idx, code)
10436- int sci_idx;
10437- int code;
10438+void
10439+ss_abort_subsystem(int sci_idx, int code)
10440 {
10441 ss_info(sci_idx)->abort = 1;
10442 ss_info(sci_idx)->exit_status = code;
10443
10444 }
10445
10446-void ss_quit(argc, argv, sci_idx, infop)
10447- int argc;
10448- char const * const *argv;
10449- int sci_idx;
10450- pointer infop;
10451+void
10452+ss_quit(int argc, char const * const *argv, int sci_idx, pointer infop)
10453 {
10454 ss_abort_subsystem(sci_idx, 0);
10455 }
10456diff --git a/src/util/ss/pager.c b/src/util/ss/pager.c
10457index 3e47ed3..255c721 100644
10458--- a/src/util/ss/pager.c
10459+++ b/src/util/ss/pager.c
10460@@ -10,13 +10,13 @@
10461 #include "copyright.h"
10462 #include <errno.h>
10463 #include <stdio.h>
10464+#include <stdlib.h>
10465 #include <sys/types.h>
10466 #include <sys/file.h>
10467 #include <signal.h>
10468
10469 static char MORE[] = "more";
10470 extern char *_ss_pager_name;
10471-extern char *getenv();
10472
10473 /*
10474 * this needs a *lot* of work....
10475@@ -25,10 +25,10 @@ extern char *getenv();
10476 * handle SIGINT sensibly
10477 * allow finer control -- put-page-break-here
10478 */
10479-void ss_page_stdin();
10480+void ss_page_stdin(void);
10481
10482 #ifndef NO_FORK
10483-int ss_pager_create()
10484+int ss_pager_create(void)
10485 {
10486 int filedes[2];
10487
10488@@ -56,7 +56,7 @@ int ss_pager_create()
10489 }
10490 }
10491 #else /* don't fork */
10492-int ss_pager_create()
10493+int ss_pager_create(void)
10494 {
10495 int fd;
10496 fd = open("/dev/tty", O_WRONLY, 0);
10497@@ -66,7 +66,7 @@ int ss_pager_create()
10498 }
10499 #endif
10500
10501-void ss_page_stdin()
10502+void ss_page_stdin(void)
10503 {
10504 int i;
10505 #ifdef POSIX_SIGNALS
10506diff --git a/src/util/ss/parse.c b/src/util/ss/parse.c
10507index 78a831b..6fb031c 100644
10508--- a/src/util/ss/parse.c
10509+++ b/src/util/ss/parse.c
10510@@ -53,10 +53,8 @@ enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING };
10511 #define NEW_ARGV(old,n) (char **)realloc((char *)old, \
10512 (unsigned)(n+2)*sizeof(char*))
10513
10514-char **ss_parse (sci_idx, line_ptr, argc_ptr)
10515- int sci_idx;
10516- char *line_ptr;
10517- int *argc_ptr;
10518+char **
10519+ss_parse(int sci_idx, char *line_ptr, int *argc_ptr)
10520 {
10521 char **argv, *cp;
10522 char **newargv;
10523diff --git a/src/util/ss/prompt.c b/src/util/ss/prompt.c
10524index 5aa2ad6..48e57d6 100644
10525--- a/src/util/ss/prompt.c
10526+++ b/src/util/ss/prompt.c
10527@@ -11,16 +11,13 @@
10528 #include "ss_internal.h"
10529
10530 void
10531-ss_set_prompt(sci_idx, new_prompt)
10532- int sci_idx;
10533- char *new_prompt;
10534+ss_set_prompt(int sci_idx, char *new_prompt)
10535 {
10536 ss_info(sci_idx)->prompt = new_prompt;
10537 }
10538
10539 char *
10540-ss_get_prompt(sci_idx)
10541- int sci_idx;
10542+ss_get_prompt(int sci_idx)
10543 {
10544 return(ss_info(sci_idx)->prompt);
10545 }
10546diff --git a/src/util/ss/request_tbl.c b/src/util/ss/request_tbl.c
10547index 03cde1b..fc4461b 100644
10548--- a/src/util/ss/request_tbl.c
10549+++ b/src/util/ss/request_tbl.c
10550@@ -11,11 +11,7 @@
10551 #define ssrt ss_request_table /* for some readable code... */
10552
10553 void
10554-ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr)
10555- int sci_idx;
10556- ssrt *rqtbl_ptr;
10557- int position; /* 1 -> becomes second... */
10558- int *code_ptr;
10559+ss_add_request_table(int sci_idx, ssrt *rqtbl_ptr, int position, int *code_ptr)
10560 {
10561 ss_data *info;
10562 int i, size;
10563@@ -44,10 +40,7 @@ ss_add_request_table(sci_idx, rqtbl_ptr, position, code_ptr)
10564 }
10565
10566 void
10567-ss_delete_request_table(sci_idx, rqtbl_ptr, code_ptr)
10568- int sci_idx;
10569- ssrt *rqtbl_ptr;
10570- int *code_ptr;
10571+ss_delete_request_table(int sci_idx, ssrt *rqtbl_ptr, int *code_ptr)
10572 {
10573 ss_data *info;
10574 ssrt **rt1, **rt2;
10575diff --git a/src/util/ss/requests.c b/src/util/ss/requests.c
10576index aa6752f..651f220 100644
10577--- a/src/util/ss/requests.c
10578+++ b/src/util/ss/requests.c
10579@@ -9,7 +9,7 @@
10580 #include <stdio.h>
10581 #include "ss_internal.h"
10582
10583-#define DECLARE(name) void name(argc,argv,sci_idx,info_ptr)int argc,sci_idx;const char * const *argv; pointer info_ptr;
10584+#define DECLARE(name) void name(int argc, const char *const *argv, int sci_idx, pointer info_ptr)
10585
10586 /*
10587 * ss_self_identify -- assigned by default to the "." request
10588diff --git a/src/util/ss/ss.h b/src/util/ss/ss.h
10589index 38d8974..faac0d9 100644
10590--- a/src/util/ss/ss.h
10591+++ b/src/util/ss/ss.h
10592@@ -48,7 +48,6 @@ typedef struct _ss_rp_options { /* DEFAULT VALUES */
10593 void ss_help __SS_PROTO;
10594 void ss_list_requests __SS_PROTO;
10595 void ss_quit __SS_PROTO;
10596-char *ss_current_request();
10597 char *ss_name(int);
10598 void ss_error (int, long, char const *, ...)
10599 #if !defined(__cplusplus) && (__GNUC__ > 2)
10600diff --git a/src/util/ss/ss_internal.h b/src/util/ss/ss_internal.h
10601index 1f5ddff..cdd88af 100644
10602--- a/src/util/ss/ss_internal.h
10603+++ b/src/util/ss/ss_internal.h
10604@@ -84,8 +84,7 @@ typedef struct _ss_data { /* init values */
10605 #define ss_info(sci_idx) (_ss_table[sci_idx])
10606 #define ss_current_request(sci_idx,code_ptr) \
10607 (*code_ptr=0,ss_info(sci_idx)->current_request)
10608-void ss_unknown_function();
10609-void ss_delete_info_dir();
10610+void ss_delete_info_dir(int, char *, int *);
10611 char **ss_parse (int, char *, int *);
10612 ss_abbrev_info *ss_abbrev_initialize (char *, int *);
10613 void ss_page_stdin (void);
10614diff --git a/src/util/support/plugins.c b/src/util/support/plugins.c
10615index 0850565..253b118 100644
10616--- a/src/util/support/plugins.c
10617+++ b/src/util/support/plugins.c
10618@@ -240,13 +240,13 @@ krb5int_get_plugin_data(struct plugin_file_handle *h, const char *csymname,
10619
10620 long KRB5_CALLCONV
10621 krb5int_get_plugin_func(struct plugin_file_handle *h, const char *csymname,
10622- void (**sym_out)(), struct errinfo *ep)
10623+ void (**sym_out)(void), struct errinfo *ep)
10624 {
10625 void *dptr = NULL;
10626 long ret = get_sym(h, csymname, &dptr, ep);
10627
10628 if (!ret)
10629- *sym_out = (void (*)())dptr;
10630+ *sym_out = (void (*)(void))dptr;
10631 return ret;
10632 }
10633
10634@@ -552,7 +552,7 @@ krb5int_get_plugin_dir_func (struct plugin_dir_handle *dirhandle,
10635 struct errinfo *ep)
10636 {
10637 long err = 0;
10638- void (**p)() = NULL;
10639+ void (**p)(void) = NULL;
10640 size_t count = 0;
10641
10642 /* XXX Do we need to add a leading "_" to the symbol name on any
10643@@ -569,10 +569,10 @@ krb5int_get_plugin_dir_func (struct plugin_dir_handle *dirhandle,
10644 int i = 0;
10645
10646 for (i = 0; !err && (dirhandle->files[i] != NULL); i++) {
10647- void (*sym)() = NULL;
10648+ void (*sym)(void) = NULL;
10649
10650 if (krb5int_get_plugin_func (dirhandle->files[i], symname, &sym, ep) == 0) {
10651- void (**newp)() = NULL;
10652+ void (**newp)(void) = NULL;
10653
10654 count++;
10655 newp = realloc (p, ((count + 1) * sizeof (*p))); /* +1 for NULL */
10656diff --git a/src/util/support/t_hashtab.c b/src/util/support/t_hashtab.c
10657index f51abc4..d90d5d9 100644
10658--- a/src/util/support/t_hashtab.c
10659+++ b/src/util/support/t_hashtab.c
10660@@ -104,7 +104,7 @@ const uint64_t vectors[64] = {
10661 };
10662
10663 static void
10664-test_siphash()
10665+test_siphash(void)
10666 {
10667 uint8_t seq[64];
10668 uint64_t k0, k1, hval;
10669@@ -122,7 +122,7 @@ test_siphash()
10670 }
10671
10672 static void
10673-test_hashtab()
10674+test_hashtab(void)
10675 {
10676 int st;
10677 struct k5_hashtab *ht;
10678@@ -168,7 +168,7 @@ test_hashtab()
10679 }
10680
10681 int
10682-main()
10683+main(void)
10684 {
10685 test_siphash();
10686 test_hashtab();
10687diff --git a/src/util/support/t_hex.c b/src/util/support/t_hex.c
10688index a586a1b..40e6aa2 100644
10689--- a/src/util/support/t_hex.c
10690+++ b/src/util/support/t_hex.c
10691@@ -137,7 +137,8 @@ struct {
10692 { "F8F9FAFBFCFDFEFF", "\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF", 8, 1 },
10693 };
10694
10695-int main()
10696+int
10697+main(void)
10698 {
10699 size_t i;
10700 char *hex;
10701diff --git a/src/util/support/t_json.c b/src/util/support/t_json.c
10702index 1f22924..bacca6f 100644
10703--- a/src/util/support/t_json.c
10704+++ b/src/util/support/t_json.c
10705@@ -86,7 +86,7 @@ check(int pred, const char *str)
10706 }
10707
10708 static void
10709-test_array()
10710+test_array(void)
10711 {
10712 k5_json_string v1;
10713 k5_json_number v2;
10714diff --git a/src/util/support/t_k5buf.c b/src/util/support/t_k5buf.c
10715index 734b272..18e7e9b 100644
10716--- a/src/util/support/t_k5buf.c
10717+++ b/src/util/support/t_k5buf.c
10718@@ -54,7 +54,7 @@ check_buf(struct k5buf *buf, const char *name)
10719 }
10720
10721 static void
10722-test_basic()
10723+test_basic(void)
10724 {
10725 struct k5buf buf;
10726 char storage[1024];
10727@@ -76,7 +76,7 @@ test_basic()
10728 }
10729
10730 static void
10731-test_realloc()
10732+test_realloc(void)
10733 {
10734 struct k5buf buf;
10735 char data[1024];
10736@@ -132,7 +132,7 @@ test_realloc()
10737 }
10738
10739 static void
10740-test_overflow()
10741+test_overflow(void)
10742 {
10743 struct k5buf buf;
10744 char storage[10];
10745@@ -153,7 +153,7 @@ test_overflow()
10746 }
10747
10748 static void
10749-test_error()
10750+test_error(void)
10751 {
10752 struct k5buf buf;
10753 char storage[1];
10754@@ -173,7 +173,7 @@ test_error()
10755 }
10756
10757 static void
10758-test_truncate()
10759+test_truncate(void)
10760 {
10761 struct k5buf buf;
10762
10763@@ -188,7 +188,7 @@ test_truncate()
10764 }
10765
10766 static void
10767-test_binary()
10768+test_binary(void)
10769 {
10770 struct k5buf buf;
10771 char data[] = { 'a', 0, 'b' }, *s;
10772@@ -205,7 +205,7 @@ test_binary()
10773 }
10774
10775 static void
10776-test_fmt()
10777+test_fmt(void)
10778 {
10779 struct k5buf buf;
10780 char storage[10], data[1024];
10781@@ -246,7 +246,7 @@ test_fmt()
10782 }
10783
10784 int
10785-main()
10786+main(void)
10787 {
10788 test_basic();
10789 test_realloc();
10790diff --git a/src/util/support/t_unal.c b/src/util/support/t_unal.c
10791index f67cd31..6d097f0 100644
10792--- a/src/util/support/t_unal.c
10793+++ b/src/util/support/t_unal.c
10794@@ -2,7 +2,8 @@
10795 #undef NDEBUG
10796 #include "k5-platform.h"
10797
10798-int main ()
10799+int
10800+main(void)
10801 {
10802 /* Test some low-level assumptions the Kerberos code depends
10803 on. */
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0001-Fix-more-non-prototype-functions.patch b/meta-oe/recipes-connectivity/krb5/krb5/0001-Fix-more-non-prototype-functions.patch
new file mode 100644
index 0000000000..d4267b3bf7
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/0001-Fix-more-non-prototype-functions.patch
@@ -0,0 +1,862 @@
1From 5a9aa1607ff2bc94369c89f4c99725125b923977 Mon Sep 17 00:00:00 2001
2From: Arjun <pkillarjun@protonmail.com>
3Date: Thu, 9 May 2024 20:47:08 +0530
4Subject: [PATCH 1/2] Fix more non-prototype functions
5
6Add "void" designations to more function declarations and definitions
7not changed by commits 3ae9244cd021a75eba909d872a92c25db490714d and
84b9d7f7c107f01a61600fddcd8cde3812d0366a2.
9
10[ghudson@mit.edu: change additional functions; split into two commits;
11rewrote commit message]
12
13Upstream-Status: Backport [https://github.com/krb5/krb5/commit/623d649ba852839ba4822934bad9f97c184bf3ab]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 src/ccapi/common/win/OldCC/ccutils.c | 2 +-
17 src/ccapi/common/win/OldCC/ccutils.h | 2 +-
18 src/ccapi/common/win/OldCC/util.h | 2 +-
19 src/ccapi/common/win/win-utils.c | 2 +-
20 src/ccapi/common/win/win-utils.h | 4 +-
21 src/ccapi/lib/ccapi_context.h | 2 +-
22 src/ccapi/lib/win/dllmain.h | 2 +-
23 src/ccapi/server/ccs_server.c | 2 +-
24 src/ccapi/server/ccs_server.h | 2 +-
25 src/ccapi/server/win/WorkQueue.h | 8 +--
26 src/ccapi/test/pingtest.c | 2 +-
27 src/include/gssrpc/netdb.h | 4 +-
28 src/include/port-sockets.h | 2 +-
29 src/kadmin/cli/getdate.y | 2 +-
30 src/kadmin/dbutil/kdb5_util.c | 2 +-
31 src/kprop/kprop.c | 2 +-
32 src/lib/crypto/crypto_tests/t_pkcs5.c | 4 +-
33 src/lib/crypto/crypto_tests/vectors.c | 10 ++--
34 src/lib/gssapi/generic/maptest.c | 2 +-
35 src/lib/krb5/ccache/ccapi/stdcc.c | 6 +-
36 src/lib/krb5/ccache/ccapi/winccld.c | 9 ++-
37 src/lib/krb5/ccache/ccbase.c | 2 +-
38 src/lib/krb5/krb/bld_princ.c | 4 +-
39 src/lib/krb5/krb/conv_creds.c | 2 +-
40 src/lib/krb5/krb/init_ctx.c | 2 +-
41 src/lib/krb5/os/dnsglue.c | 4 +-
42 src/lib/krb5/os/localaddr.c | 6 +-
43 src/lib/rpc/getrpcent.c | 6 +-
44 src/lib/win_glue.c | 8 +--
45 src/plugins/kdb/db2/kdb_db2.c | 4 +-
46 src/plugins/kdb/db2/libdb2/hash/dbm.c | 2 +-
47 .../kdb/ldap/libkdb_ldap/kdb_ldap_conn.c | 4 +-
48 src/tests/threads/gss-perf.c | 4 +-
49 src/tests/threads/init_ctx.c | 2 +-
50 src/tests/threads/profread.c | 2 +-
51 src/tests/threads/t_rcache.c | 2 +-
52 src/util/et/com_err.c | 4 +-
53 src/util/et/error_message.c | 2 +-
54 src/util/profile/prof_file.c | 4 +-
55 src/util/support/secure_getenv.c | 2 +-
56 src/windows/include/leashwin.h | 60 +++++++++----------
57 41 files changed, 100 insertions(+), 99 deletions(-)
58
59diff --git a/src/ccapi/common/win/OldCC/ccutils.c b/src/ccapi/common/win/OldCC/ccutils.c
60index 403c67e..7abaefa 100644
61--- a/src/ccapi/common/win/OldCC/ccutils.c
62+++ b/src/ccapi/common/win/OldCC/ccutils.c
63@@ -30,7 +30,7 @@
64 #include "cci_debugging.h"
65 #include "util.h"
66
67-BOOL isNT() {
68+BOOL isNT(void) {
69 OSVERSIONINFO osvi;
70 DWORD status = 0;
71 BOOL bSupportedVersion = FALSE;
72diff --git a/src/ccapi/common/win/OldCC/ccutils.h b/src/ccapi/common/win/OldCC/ccutils.h
73index 9da3d87..0fb7e14 100644
74--- a/src/ccapi/common/win/OldCC/ccutils.h
75+++ b/src/ccapi/common/win/OldCC/ccutils.h
76@@ -33,7 +33,7 @@ extern "C" {
77 #define REPLY_SUFFIX (char*)"reply"
78 #define LISTEN_SUFFIX (char*)"listen"
79
80-BOOL isNT();
81+BOOL isNT(void);
82 char* allocEventName (char* uuid, char* suffix);
83 HANDLE createThreadEvent(char* uuid, char* suffix);
84 HANDLE openThreadEvent (char* uuid, char* suffix);
85diff --git a/src/ccapi/common/win/OldCC/util.h b/src/ccapi/common/win/OldCC/util.h
86index 45e069a..7ee5319 100644
87--- a/src/ccapi/common/win/OldCC/util.h
88+++ b/src/ccapi/common/win/OldCC/util.h
89@@ -30,7 +30,7 @@
90 extern "C" {
91 #endif
92
93-BOOL isNT();
94+BOOL isNT(void);
95
96 void*
97 user_allocate(
98diff --git a/src/ccapi/common/win/win-utils.c b/src/ccapi/common/win/win-utils.c
99index b49cca8..d9018a6 100644
100--- a/src/ccapi/common/win/win-utils.c
101+++ b/src/ccapi/common/win/win-utils.c
102@@ -60,7 +60,7 @@ char* serverEndpoint(const char* user) {
103 return _serverEndpoint;
104 }
105
106-char* timestamp() {
107+char* timestamp(void) {
108 SYSTEMTIME _stime;
109 GetSystemTime(&_stime);
110 GetTimeFormat(LOCALE_SYSTEM_DEFAULT, 0, &_stime, "HH:mm:ss", _ts, sizeof(_ts)-1);
111diff --git a/src/ccapi/common/win/win-utils.h b/src/ccapi/common/win/win-utils.h
112index 41cab24..94d0a9f 100644
113--- a/src/ccapi/common/win/win-utils.h
114+++ b/src/ccapi/common/win/win-utils.h
115@@ -50,6 +50,6 @@ char* clientEndpoint(const char* UUID);
116 char* serverEndpoint(const char* UUID);
117 extern unsigned char* pszProtocolSequence;
118
119-char* timestamp();
120+char* timestamp(void);
121
122-#endif // _win_utils_h
123\ No newline at end of file
124+#endif // _win_utils_h
125diff --git a/src/ccapi/lib/ccapi_context.h b/src/ccapi/lib/ccapi_context.h
126index 51b8982..88f0ee8 100644
127--- a/src/ccapi/lib/ccapi_context.h
128+++ b/src/ccapi/lib/ccapi_context.h
129@@ -79,7 +79,7 @@ cc_int32 ccapi_context_compare (cc_context_t in_context,
130 cc_uint32 *out_equal);
131
132 #ifdef WIN32
133-void cci_thread_init__auxinit();
134+void cci_thread_init__auxinit(void);
135 #endif
136
137
138diff --git a/src/ccapi/lib/win/dllmain.h b/src/ccapi/lib/win/dllmain.h
139index 8238566..28ca34e 100644
140--- a/src/ccapi/lib/win/dllmain.h
141+++ b/src/ccapi/lib/win/dllmain.h
142@@ -32,7 +32,7 @@
143 extern "C" { // we need to export the C interface
144 #endif
145
146-DWORD GetTlsIndex();
147+DWORD GetTlsIndex(void);
148
149 #ifdef __cplusplus
150 }
151diff --git a/src/ccapi/server/ccs_server.c b/src/ccapi/server/ccs_server.c
152index 1fc8d2c..de74b71 100644
153--- a/src/ccapi/server/ccs_server.c
154+++ b/src/ccapi/server/ccs_server.c
155@@ -402,7 +402,7 @@ cc_int32 ccs_server_send_reply (ccs_pipe_t in_reply_pipe,
156
157 /* ------------------------------------------------------------------------ */
158
159-cc_uint64 ccs_server_client_count ()
160+cc_uint64 ccs_server_client_count (void)
161 {
162 return ccs_client_array_count (g_client_array);
163 }
164diff --git a/src/ccapi/server/ccs_server.h b/src/ccapi/server/ccs_server.h
165index e920ad9..f71ab06 100644
166--- a/src/ccapi/server/ccs_server.h
167+++ b/src/ccapi/server/ccs_server.h
168@@ -48,6 +48,6 @@ cc_int32 ccs_server_send_reply (ccs_pipe_t in_reply_pipe,
169 cc_int32 in_reply_err,
170 k5_ipc_stream in_reply_data);
171
172-cc_uint64 ccs_server_client_count ();
173+cc_uint64 ccs_server_client_count (void);
174
175 #endif /* CCS_SERVER_H */
176diff --git a/src/ccapi/server/win/WorkQueue.h b/src/ccapi/server/win/WorkQueue.h
177index 68aa8b1..66a2960 100644
178--- a/src/ccapi/server/win/WorkQueue.h
179+++ b/src/ccapi/server/win/WorkQueue.h
180@@ -29,14 +29,14 @@
181 #include "windows.h"
182 #include "ccs_pipe.h"
183
184-EXTERN_C int worklist_initialize();
185+EXTERN_C int worklist_initialize(void);
186
187-EXTERN_C int worklist_cleanup();
188+EXTERN_C int worklist_cleanup(void);
189
190 /* Wait for work to be added to the list (via worklist_add) from another thread */
191-EXTERN_C void worklist_wait();
192+EXTERN_C void worklist_wait(void);
193
194-EXTERN_C BOOL worklist_isEmpty();
195+EXTERN_C BOOL worklist_isEmpty(void);
196
197 EXTERN_C int worklist_add( const long rpcmsg,
198 const ccs_pipe_t pipe,
199diff --git a/src/ccapi/test/pingtest.c b/src/ccapi/test/pingtest.c
200index 0ffc15e..24327c2 100644
201--- a/src/ccapi/test/pingtest.c
202+++ b/src/ccapi/test/pingtest.c
203@@ -23,7 +23,7 @@ extern cc_int32 cci_os_ipc_msg( cc_int32 in_launch_server,
204
205 static DWORD dwTlsIndex;
206
207-DWORD GetTlsIndex() {return dwTlsIndex;}
208+DWORD GetTlsIndex(void) {return dwTlsIndex;}
209
210 RPC_STATUS send_test(char* endpoint) {
211 unsigned char* pszNetworkAddress = NULL;
212diff --git a/src/include/gssrpc/netdb.h b/src/include/gssrpc/netdb.h
213index f933fbb..2f62edf 100644
214--- a/src/include/gssrpc/netdb.h
215+++ b/src/include/gssrpc/netdb.h
216@@ -53,6 +53,8 @@ struct rpcent {
217 };
218 #endif /*STRUCT_RPCENT_IN_RPC_NETDB_H*/
219
220-struct rpcent *getrpcbyname(), *getrpcbynumber(), *getrpcent();
221+struct rpcent *getrpcbyname(const char *name);
222+struct rpcent *getrpcbynumber(int number);
223+struct rpcent *getrpcent(void);
224
225 #endif
226diff --git a/src/include/port-sockets.h b/src/include/port-sockets.h
227index 57e5d1d..228e4cf 100644
228--- a/src/include/port-sockets.h
229+++ b/src/include/port-sockets.h
230@@ -111,7 +111,7 @@ static __inline void TranslatedWSASetLastError(int posix_error)
231 * Translate Winsock errors to their POSIX counterparts. This is necessary for
232 * MSVC 2010+, where both Winsock and POSIX errors are defined.
233 */
234-static __inline int TranslatedWSAGetLastError()
235+static __inline int TranslatedWSAGetLastError(void)
236 {
237 int err = WSAGetLastError();
238 switch (err) {
239diff --git a/src/kadmin/cli/getdate.y b/src/kadmin/cli/getdate.y
240index 3d69f0b..b69e26e 100644
241--- a/src/kadmin/cli/getdate.y
242+++ b/src/kadmin/cli/getdate.y
243@@ -775,7 +775,7 @@ LookupWord(char *buff)
244
245
246 static int
247-yylex()
248+yylex(void)
249 {
250 char c;
251 char *p;
252diff --git a/src/kadmin/dbutil/kdb5_util.c b/src/kadmin/dbutil/kdb5_util.c
253index 55d529f..3a07fd5 100644
254--- a/src/kadmin/dbutil/kdb5_util.c
255+++ b/src/kadmin/dbutil/kdb5_util.c
256@@ -74,7 +74,7 @@ int exit_status = 0;
257 krb5_context util_context;
258 kadm5_config_params global_params;
259
260-void usage()
261+void usage(void)
262 {
263 fprintf(stderr,
264 _("Usage: kdb5_util [-r realm] [-d dbname] "
265diff --git a/src/kprop/kprop.c b/src/kprop/kprop.c
266index 8f9fd69..e8f7feb 100644
267--- a/src/kprop/kprop.c
268+++ b/src/kprop/kprop.c
269@@ -80,7 +80,7 @@ static void send_error(krb5_context context, krb5_creds *my_creds, int fd,
270 char *err_text, krb5_error_code err_code);
271 static void update_last_prop_file(char *hostname, char *file_name);
272
273-static void usage()
274+static void usage(void)
275 {
276 fprintf(stderr, _("\nUsage: %s [-r realm] [-f file] [-d] [-P port] "
277 "[-s keytab] replica_host\n\n"), progname);
278diff --git a/src/lib/crypto/crypto_tests/t_pkcs5.c b/src/lib/crypto/crypto_tests/t_pkcs5.c
279index 8e87a80..f4bb33e 100644
280--- a/src/lib/crypto/crypto_tests/t_pkcs5.c
281+++ b/src/lib/crypto/crypto_tests/t_pkcs5.c
282@@ -38,7 +38,7 @@ static void printdata (krb5_data *d) {
283 printhex (d->length, d->data);
284 }
285
286-static void test_pbkdf2_rfc3211()
287+static void test_pbkdf2_rfc3211(void)
288 {
289 char x[100];
290 krb5_error_code err;
291@@ -92,7 +92,7 @@ static void test_pbkdf2_rfc3211()
292 }
293 }
294
295-int main ()
296+int main(void)
297 {
298 test_pbkdf2_rfc3211();
299 return 0;
300diff --git a/src/lib/crypto/crypto_tests/vectors.c b/src/lib/crypto/crypto_tests/vectors.c
301index bcf5c91..314d5c7 100644
302--- a/src/lib/crypto/crypto_tests/vectors.c
303+++ b/src/lib/crypto/crypto_tests/vectors.c
304@@ -56,7 +56,7 @@ static void printdata (krb5_data *d) { printhex (d->length, d->data); }
305
306 static void printkey (krb5_keyblock *k) { printhex (k->length, k->contents); }
307
308-static void test_nfold ()
309+static void test_nfold (void)
310 {
311 int i;
312 static const struct {
313@@ -96,7 +96,7 @@ static void test_nfold ()
314 so try to generate them. */
315
316 static void
317-test_mit_des_s2k ()
318+test_mit_des_s2k (void)
319 {
320 static const struct {
321 const char *pass;
322@@ -190,7 +190,7 @@ test_s2k (krb5_enctype enctype)
323 }
324 }
325
326-static void test_des3_s2k () { test_s2k (ENCTYPE_DES3_CBC_SHA1); }
327+static void test_des3_s2k (void) { test_s2k (ENCTYPE_DES3_CBC_SHA1); }
328
329 static void
330 keyToData (krb5_keyblock *k, krb5_data *d)
331@@ -227,7 +227,7 @@ void DR (krb5_data *out, krb5_keyblock *in, const krb5_data *usage) {
332 #define KEYBYTES 21
333 #define KEYLENGTH 24
334
335-void test_dr_dk ()
336+void test_dr_dk (void)
337 {
338 static const struct {
339 unsigned char keydata[KEYLENGTH];
340@@ -371,7 +371,7 @@ static void printk(const char *descr, krb5_keyblock *k) {
341
342
343 static void
344-test_pbkdf2()
345+test_pbkdf2(void)
346 {
347 static struct {
348 int count;
349diff --git a/src/lib/gssapi/generic/maptest.c b/src/lib/gssapi/generic/maptest.c
350index 566d88c..ab3ed90 100644
351--- a/src/lib/gssapi/generic/maptest.c
352+++ b/src/lib/gssapi/generic/maptest.c
353@@ -42,7 +42,7 @@ static void intprt(int v, FILE *f)
354
355 foo foo1;
356
357-int main ()
358+int main (void)
359 {
360 elt v1 = { 1, 2 }, v2 = { 3, 4 };
361 const elt *vp;
362diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c
363index 427b329..9cd2ad3 100644
364--- a/src/lib/krb5/ccache/ccapi/stdcc.c
365+++ b/src/lib/krb5/ccache/ccapi/stdcc.c
366@@ -101,7 +101,7 @@ krb5_cc_ops krb5_cc_stdcc_ops = {
367 * changes made. We register a unique message type with which
368 * we'll communicate to all other processes.
369 */
370-static void cache_changed()
371+static void cache_changed(void)
372 {
373 static unsigned int message = 0;
374
375@@ -112,7 +112,7 @@ static void cache_changed()
376 }
377 #else /* _WIN32 */
378
379-static void cache_changed()
380+static void cache_changed(void)
381 {
382 return;
383 }
384@@ -242,7 +242,7 @@ static krb5_error_code stdccv3_setup (krb5_context context,
385 }
386
387 /* krb5_stdcc_shutdown is exported; use the old name */
388-void krb5_stdcc_shutdown()
389+void krb5_stdcc_shutdown(void)
390 {
391 if (gCntrlBlock) { cc_context_release(gCntrlBlock); }
392 gCntrlBlock = NULL;
393diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c
394index 8b2e90c..62b1bd7 100644
395--- a/src/lib/krb5/ccache/ccapi/winccld.c
396+++ b/src/lib/krb5/ccache/ccapi/winccld.c
397@@ -18,8 +18,8 @@ extern const krb5_cc_ops krb5_fcc_ops;
398
399 static int krb5_win_ccdll_loaded = 0;
400
401-extern void krb5_win_ccdll_load();
402-extern int krb5_is_ccdll_loaded();
403+extern void krb5_win_ccdll_load(krb5_context context);
404+extern int krb5_is_ccdll_loaded(void);
405
406 /*
407 * return codes
408@@ -81,8 +81,7 @@ static int LoadFuncs(const char* dll_name, FUNC_INFO fi[],
409 return LF_OK;
410 }
411
412-void krb5_win_ccdll_load(context)
413- krb5_context context;
414+void krb5_win_ccdll_load(krb5_context context)
415 {
416 krb5_cc_register(context, &krb5_fcc_ops, 0);
417 if (krb5_win_ccdll_loaded)
418@@ -93,7 +92,7 @@ void krb5_win_ccdll_load(context)
419 krb5_cc_dfl_ops = &krb5_cc_stdcc_ops; /* Use stdcc! */
420 }
421
422-int krb5_is_ccdll_loaded()
423+int krb5_is_ccdll_loaded(void)
424 {
425 return krb5_win_ccdll_loaded;
426 }
427diff --git a/src/lib/krb5/ccache/ccbase.c b/src/lib/krb5/ccache/ccbase.c
428index 5a01320..696b681 100644
429--- a/src/lib/krb5/ccache/ccbase.c
430+++ b/src/lib/krb5/ccache/ccbase.c
431@@ -614,7 +614,7 @@ k5_cccol_unlock(krb5_context context)
432
433 /* necessary to make reentrant locks play nice with krb5int_cc_finalize */
434 void
435-k5_cccol_force_unlock()
436+k5_cccol_force_unlock(void)
437 {
438 /* sanity check */
439 if ((&cccol_lock)->refcount == 0) {
440diff --git a/src/lib/krb5/krb/bld_princ.c b/src/lib/krb5/krb/bld_princ.c
441index ff8265a..701454f 100644
442--- a/src/lib/krb5/krb/bld_princ.c
443+++ b/src/lib/krb5/krb/bld_princ.c
444@@ -170,13 +170,13 @@ const krb5_principal_data anon_princ = {
445 };
446
447 const krb5_data * KRB5_CALLCONV
448-krb5_anonymous_realm()
449+krb5_anonymous_realm(void)
450 {
451 return &anon_realm_data;
452 }
453
454 krb5_const_principal KRB5_CALLCONV
455-krb5_anonymous_principal()
456+krb5_anonymous_principal(void)
457 {
458 return &anon_princ;
459 }
460diff --git a/src/lib/krb5/krb/conv_creds.c b/src/lib/krb5/krb/conv_creds.c
461index 6f46088..8d0a317 100644
462--- a/src/lib/krb5/krb/conv_creds.c
463+++ b/src/lib/krb5/krb/conv_creds.c
464@@ -55,7 +55,7 @@ krb524_convert_creds_kdc(krb5_context context, krb5_creds *v5creds,
465 return KRB524_KRB4_DISABLED;
466 }
467
468-void KRB5_CALLCONV krb524_init_ets ()
469+void KRB5_CALLCONV krb524_init_ets (void)
470 {
471 }
472 #endif
473diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c
474index a6c2bbe..8fd9403 100644
475--- a/src/lib/krb5/krb/init_ctx.c
476+++ b/src/lib/krb5/krb/init_ctx.c
477@@ -66,7 +66,7 @@ static krb5_enctype default_enctype_list[] = {
478 };
479
480 #if (defined(_WIN32))
481-extern krb5_error_code krb5_vercheck();
482+extern krb5_error_code krb5_vercheck(void);
483 extern void krb5_win_ccdll_load(krb5_context context);
484 #endif
485
486diff --git a/src/lib/krb5/os/dnsglue.c b/src/lib/krb5/os/dnsglue.c
487index 668a7a6..5da550c 100644
488--- a/src/lib/krb5/os/dnsglue.c
489+++ b/src/lib/krb5/os/dnsglue.c
490@@ -439,7 +439,7 @@ cleanup:
491 }
492
493 char *
494-k5_primary_domain()
495+k5_primary_domain(void)
496 {
497 return NULL;
498 }
499@@ -497,7 +497,7 @@ errout:
500 }
501
502 char *
503-k5_primary_domain()
504+k5_primary_domain(void)
505 {
506 char *domain;
507 DECLARE_HANDLE(h);
508diff --git a/src/lib/krb5/os/localaddr.c b/src/lib/krb5/os/localaddr.c
509index 92d765f..4e9d07f 100644
510--- a/src/lib/krb5/os/localaddr.c
511+++ b/src/lib/krb5/os/localaddr.c
512@@ -363,7 +363,7 @@ struct linux_ipv6_addr_list {
513 struct linux_ipv6_addr_list *next;
514 };
515 static struct linux_ipv6_addr_list *
516-get_linux_ipv6_addrs ()
517+get_linux_ipv6_addrs (void)
518 {
519 struct linux_ipv6_addr_list *lst = 0;
520 FILE *f;
521@@ -1082,7 +1082,7 @@ static int print_addr (/*@unused@*/ void *dataptr, struct sockaddr *sa)
522 return 0;
523 }
524
525-int main ()
526+int main (void)
527 {
528 int r;
529
530@@ -1417,7 +1417,7 @@ get_localaddrs (krb5_context context, krb5_address ***addr, int use_profile)
531 * by Robert Quinn
532 */
533 #if defined(_WIN32)
534-static struct hostent *local_addr_fallback_kludge()
535+static struct hostent *local_addr_fallback_kludge(void)
536 {
537 static struct hostent host;
538 static SOCKADDR_IN addr;
539diff --git a/src/lib/rpc/getrpcent.c b/src/lib/rpc/getrpcent.c
540index ad6793f..b3d94bc 100644
541--- a/src/lib/rpc/getrpcent.c
542+++ b/src/lib/rpc/getrpcent.c
543@@ -56,10 +56,10 @@ struct rpcdata {
544 char line[BUFSIZ+1];
545 char *domain;
546 } *rpcdata;
547-static struct rpcdata *get_rpcdata();
548+static struct rpcdata *get_rpcdata(void);
549
550-static struct rpcent *interpret();
551-struct hostent *gethostent();
552+static struct rpcent *interpret(void);
553+struct hostent *gethostent(void);
554
555 static char RPCDB[] = "/etc/rpc";
556
557diff --git a/src/lib/win_glue.c b/src/lib/win_glue.c
558index d650cc3..011acda 100644
559--- a/src/lib/win_glue.c
560+++ b/src/lib/win_glue.c
561@@ -6,7 +6,7 @@
562 #include "asn1_err.h"
563 #include "kdb5_err.h"
564 #include "profile.h"
565-extern void krb5_stdcc_shutdown();
566+extern void krb5_stdcc_shutdown(void);
567 #endif
568 #ifdef GSSAPI
569 #include "gssapi/generic/gssapi_err_generic.h"
570@@ -233,7 +233,7 @@ static int CallVersionServer(app_title, app_version, app_ini, code_cover)
571 #endif
572
573 #ifdef TIMEBOMB
574-static krb5_error_code do_timebomb()
575+static krb5_error_code do_timebomb(void)
576 {
577 char buf[1024];
578 long timeleft;
579@@ -276,7 +276,7 @@ static krb5_error_code do_timebomb()
580 * doesn't allow you to make messaging calls from LibMain. So, we now
581 * do the timebomb/version server stuff from krb5_init_context().
582 */
583-krb5_error_code krb5_vercheck()
584+krb5_error_code krb5_vercheck(void)
585 {
586 static int verchecked = 0;
587 if (verchecked)
588@@ -314,7 +314,7 @@ krb5_error_code krb5_vercheck()
589
590 static HINSTANCE hlibinstance;
591
592-HINSTANCE get_lib_instance()
593+HINSTANCE get_lib_instance(void)
594 {
595 return hlibinstance;
596 }
597diff --git a/src/plugins/kdb/db2/kdb_db2.c b/src/plugins/kdb/db2/kdb_db2.c
598index 2c163d9..381228e 100644
599--- a/src/plugins/kdb/db2/kdb_db2.c
600+++ b/src/plugins/kdb/db2/kdb_db2.c
601@@ -1165,13 +1165,13 @@ krb5_db2_set_lockmode(krb5_context context, krb5_boolean mode)
602 * DAL API functions
603 */
604 krb5_error_code
605-krb5_db2_lib_init()
606+krb5_db2_lib_init(void)
607 {
608 return 0;
609 }
610
611 krb5_error_code
612-krb5_db2_lib_cleanup()
613+krb5_db2_lib_cleanup(void)
614 {
615 /* right now, no cleanup required */
616 return 0;
617diff --git a/src/plugins/kdb/db2/libdb2/hash/dbm.c b/src/plugins/kdb/db2/libdb2/hash/dbm.c
618index 2dca256..8e23d4c 100644
619--- a/src/plugins/kdb/db2/libdb2/hash/dbm.c
620+++ b/src/plugins/kdb/db2/libdb2/hash/dbm.c
621@@ -95,7 +95,7 @@ kdb2_fetch(datum key)
622 }
623
624 datum
625-kdb2_firstkey()
626+kdb2_firstkey(void)
627 {
628 datum item;
629
630diff --git a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
631index cee4b7b..5e77d5e 100644
632--- a/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
633+++ b/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c
634@@ -314,13 +314,13 @@ krb5_ldap_rebind(krb5_ldap_context *ldap_context,
635 * DAL API functions
636 */
637 krb5_error_code
638-krb5_ldap_lib_init()
639+krb5_ldap_lib_init(void)
640 {
641 return 0;
642 }
643
644 krb5_error_code
645-krb5_ldap_lib_cleanup()
646+krb5_ldap_lib_cleanup(void)
647 {
648 /* right now, no cleanup required */
649 return 0;
650diff --git a/src/tests/threads/gss-perf.c b/src/tests/threads/gss-perf.c
651index f3630c2..0ca6d84 100644
652--- a/src/tests/threads/gss-perf.c
653+++ b/src/tests/threads/gss-perf.c
654@@ -78,7 +78,7 @@ static void usage (void) __attribute__((noreturn));
655 static void set_target (char *);
656
657 static void
658-usage ()
659+usage (void)
660 {
661 fprintf (stderr, "usage: %s [ options ] service-name\n", prog);
662 fprintf (stderr, " service-name\tGSSAPI host-based service name (e.g., 'host@FQDN')\n");
663@@ -249,7 +249,7 @@ do_accept (gss_buffer_desc *msg, int iter)
664 }
665
666 static gss_buffer_desc
667-do_init ()
668+do_init (void)
669 {
670 OM_uint32 maj_stat, min_stat;
671 gss_ctx_id_t ctx = GSS_C_NO_CONTEXT;
672diff --git a/src/tests/threads/init_ctx.c b/src/tests/threads/init_ctx.c
673index 42619a9..dc3d417 100644
674--- a/src/tests/threads/init_ctx.c
675+++ b/src/tests/threads/init_ctx.c
676@@ -57,7 +57,7 @@ static int do_pause;
677 static void usage (void) __attribute__((noreturn));
678
679 static void
680-usage ()
681+usage (void)
682 {
683 fprintf (stderr, "usage: %s [ options ]\n", prog);
684 fprintf (stderr, "options:\n");
685diff --git a/src/tests/threads/profread.c b/src/tests/threads/profread.c
686index be28ba4..69bdb05 100644
687--- a/src/tests/threads/profread.c
688+++ b/src/tests/threads/profread.c
689@@ -59,7 +59,7 @@ static int do_pause;
690 static void usage (void) __attribute__((noreturn));
691
692 static void
693-usage ()
694+usage (void)
695 {
696 fprintf (stderr, "usage: %s [ options ]\n", prog);
697 fprintf (stderr, "options:\n");
698diff --git a/src/tests/threads/t_rcache.c b/src/tests/threads/t_rcache.c
699index 07c45cc..8121429 100644
700--- a/src/tests/threads/t_rcache.c
701+++ b/src/tests/threads/t_rcache.c
702@@ -51,7 +51,7 @@ int n_threads = DEFAULT_N_THREADS;
703 int interval = DEFAULT_INTERVAL;
704 int *ip;
705
706-static void wait_for_tick ()
707+static void wait_for_tick (void)
708 {
709 time_t now, next;
710 now = time(0);
711diff --git a/src/util/et/com_err.c b/src/util/et/com_err.c
712index c1e3be7..2e74a4f 100644
713--- a/src/util/et/com_err.c
714+++ b/src/util/et/com_err.c
715@@ -35,7 +35,7 @@ static /*@null@*/ et_old_error_hook_func com_err_hook = 0;
716 k5_mutex_t com_err_hook_lock = K5_MUTEX_PARTIAL_INITIALIZER;
717
718 #if defined(_WIN32)
719-BOOL isGuiApp() {
720+BOOL isGuiApp(void) {
721 DWORD mypid;
722 HANDLE myprocess;
723 mypid = GetCurrentProcessId();
724@@ -161,7 +161,7 @@ et_old_error_hook_func set_com_err_hook (et_old_error_hook_func new_proc)
725 return x;
726 }
727
728-et_old_error_hook_func reset_com_err_hook ()
729+et_old_error_hook_func reset_com_err_hook (void)
730 {
731 et_old_error_hook_func x;
732
733diff --git a/src/util/et/error_message.c b/src/util/et/error_message.c
734index 13ad3af..94445a9 100644
735--- a/src/util/et/error_message.c
736+++ b/src/util/et/error_message.c
737@@ -303,7 +303,7 @@ remove_error_table(const struct error_table *et)
738 return ENOENT;
739 }
740
741-int com_err_finish_init()
742+int com_err_finish_init(void)
743 {
744 return CALL_INIT_FUNCTION(com_err_initialize);
745 }
746diff --git a/src/util/profile/prof_file.c b/src/util/profile/prof_file.c
747index aa951df..c10a368 100644
748--- a/src/util/profile/prof_file.c
749+++ b/src/util/profile/prof_file.c
750@@ -509,11 +509,11 @@ void profile_dereference_data_locked(prf_data_t data)
751 profile_free_file_data(data);
752 }
753
754-void profile_lock_global()
755+void profile_lock_global(void)
756 {
757 k5_mutex_lock(&g_shared_trees_mutex);
758 }
759-void profile_unlock_global()
760+void profile_unlock_global(void)
761 {
762 k5_mutex_unlock(&g_shared_trees_mutex);
763 }
764diff --git a/src/util/support/secure_getenv.c b/src/util/support/secure_getenv.c
765index 6df0591..c9b34b6 100644
766--- a/src/util/support/secure_getenv.c
767+++ b/src/util/support/secure_getenv.c
768@@ -68,7 +68,7 @@ static int elevated_privilege = 0;
769 MAKE_INIT_FUNCTION(k5_secure_getenv_init);
770
771 int
772-k5_secure_getenv_init()
773+k5_secure_getenv_init(void)
774 {
775 int saved_errno = errno;
776
777diff --git a/src/windows/include/leashwin.h b/src/windows/include/leashwin.h
778index 08b9c7d..c85e6df 100644
779--- a/src/windows/include/leashwin.h
780+++ b/src/windows/include/leashwin.h
781@@ -160,51 +160,51 @@ void Leash_reset_defaults(void);
782 #define GOOD_TICKETS 1
783
784 /* Leash Configuration functions - alters Current User Registry */
785-DWORD Leash_get_default_lifetime();
786+DWORD Leash_get_default_lifetime(void);
787 DWORD Leash_set_default_lifetime(DWORD minutes);
788-DWORD Leash_reset_default_lifetime();
789-DWORD Leash_get_default_renew_till();
790+DWORD Leash_reset_default_lifetime(void);
791+DWORD Leash_get_default_renew_till(void);
792 DWORD Leash_set_default_renew_till(DWORD minutes);
793-DWORD Leash_reset_default_renew_till();
794-DWORD Leash_get_default_renewable();
795+DWORD Leash_reset_default_renew_till(void);
796+DWORD Leash_get_default_renewable(void);
797 DWORD Leash_set_default_renewable(DWORD onoff);
798-DWORD Leash_reset_default_renewable();
799-DWORD Leash_get_default_forwardable();
800+DWORD Leash_reset_default_renewable(void);
801+DWORD Leash_get_default_forwardable(void);
802 DWORD Leash_set_default_forwardable(DWORD onoff);
803-DWORD Leash_reset_default_forwardable();
804-DWORD Leash_get_default_noaddresses();
805+DWORD Leash_reset_default_forwardable(void);
806+DWORD Leash_get_default_noaddresses(void);
807 DWORD Leash_set_default_noaddresses(DWORD onoff);
808-DWORD Leash_reset_default_noaddresses();
809-DWORD Leash_get_default_proxiable();
810+DWORD Leash_reset_default_noaddresses(void);
811+DWORD Leash_get_default_proxiable(void);
812 DWORD Leash_set_default_proxiable(DWORD onoff);
813-DWORD Leash_reset_default_proxiable();
814-DWORD Leash_get_default_publicip();
815+DWORD Leash_reset_default_proxiable(void);
816+DWORD Leash_get_default_publicip(void);
817 DWORD Leash_set_default_publicip(DWORD ipv4addr);
818-DWORD Leash_reset_default_publicip();
819-DWORD Leash_get_hide_kinit_options();
820+DWORD Leash_reset_default_publicip(void);
821+DWORD Leash_get_hide_kinit_options(void);
822 DWORD Leash_set_hide_kinit_options(DWORD onoff);
823-DWORD Leash_reset_hide_kinit_options();
824-DWORD Leash_get_default_life_min();
825+DWORD Leash_reset_hide_kinit_options(void);
826+DWORD Leash_get_default_life_min(void);
827 DWORD Leash_set_default_life_min(DWORD minutes);
828-DWORD Leash_reset_default_life_min();
829-DWORD Leash_get_default_life_max();
830+DWORD Leash_reset_default_life_min(void);
831+DWORD Leash_get_default_life_max(void);
832 DWORD Leash_set_default_life_max(DWORD minutes);
833-DWORD Leash_reset_default_life_max();
834-DWORD Leash_get_default_renew_min();
835+DWORD Leash_reset_default_life_max(void);
836+DWORD Leash_get_default_renew_min(void);
837 DWORD Leash_set_default_renew_min(DWORD minutes);
838-DWORD Leash_reset_default_renew_min();
839-DWORD Leash_get_default_renew_max();
840+DWORD Leash_reset_default_renew_min(void);
841+DWORD Leash_get_default_renew_max(void);
842 DWORD Leash_set_default_renew_max(DWORD minutes);
843-DWORD Leash_reset_default_renew_max();
844-DWORD Leash_get_default_uppercaserealm();
845+DWORD Leash_reset_default_renew_max(void);
846+DWORD Leash_get_default_uppercaserealm(void);
847 DWORD Leash_set_default_uppercaserealm(DWORD onoff);
848-DWORD Leash_reset_default_uppercaserealm();
849-DWORD Leash_get_default_mslsa_import();
850+DWORD Leash_reset_default_uppercaserealm(void);
851+DWORD Leash_get_default_mslsa_import(void);
852 DWORD Leash_set_default_mslsa_import(DWORD onoffmatch);
853-DWORD Leash_reset_default_mslsa_import();
854-DWORD Leash_get_default_preserve_kinit_settings();
855+DWORD Leash_reset_default_mslsa_import(void);
856+DWORD Leash_get_default_preserve_kinit_settings(void);
857 DWORD Leash_set_default_preserve_kinit_settings(DWORD onoff);
858-DWORD Leash_reset_default_preserve_kinit_settings();
859+DWORD Leash_reset_default_preserve_kinit_settings(void);
860 #ifdef __cplusplus
861 }
862 #endif
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/0002-Avoid-strict-prototype-compiler-errors.patch b/meta-oe/recipes-connectivity/krb5/krb5/0002-Avoid-strict-prototype-compiler-errors.patch
new file mode 100644
index 0000000000..63072c790c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/0002-Avoid-strict-prototype-compiler-errors.patch
@@ -0,0 +1,379 @@
1From 422c63a716a55da5c750396c0f215b5be9e060b6 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Steffen=20Kie=C3=9F?=
3 <steffen.kiess@cis.iti.uni-stuttgart.de>
4Date: Tue, 13 Feb 2024 18:39:27 +0100
5Subject: [PATCH 2/2] Avoid strict-prototype compiler errors
6
7Commit 4b9d7f7c107f01a61600fddcd8cde3812d0366a2 added the
8-Werror=strict-prototypes parameter to the build process, but left
9behind 28 function definitions using "()" instead of "(void)". Most
10of these definitions could not cause compiler errors for various
11reasons (such as an accompanying prototype), but a few could cause
12errors in gcc depending on the build configuration.
13
14For consistency and safety, add "(void)" to all 28 definitions.
15
16[ghudson@mit.edu: rewrote commit message]
17
18Upstream-Status: Backport [https://github.com/krb5/krb5/commit/3ae9244cd021a75eba909d872a92c25db490714d]
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20---
21 src/clients/kcpytkt/kcpytkt.c | 2 +-
22 src/clients/kdeltkt/kdeltkt.c | 2 +-
23 src/clients/kinit/kinit.c | 4 ++--
24 src/clients/kinit/kinit_kdb.c | 2 +-
25 src/clients/klist/klist.c | 4 ++--
26 src/kadmin/cli/kadmin.c | 2 +-
27 src/kadmin/dbutil/kdb5_util.c | 4 ++--
28 src/kdc/main.c | 2 +-
29 src/kprop/kpropd.c | 4 ++--
30 src/lib/crypto/builtin/enc_provider/aes.c | 2 +-
31 src/lib/crypto/openssl/hmac.c | 2 +-
32 src/lib/krb5/ccache/t_memory.c | 4 ++--
33 src/lib/krb5/ccache/t_stdio.c | 4 ++--
34 src/plugins/kdb/db2/libdb2/btree/bt_debug.c | 2 +-
35 src/plugins/kdb/db2/libdb2/btree/bt_open.c | 4 ++--
36 src/plugins/kdb/db2/libdb2/hash/dbm.c | 2 +-
37 src/plugins/kdb/db2/libdb2/test/btree.tests/main.c | 2 +-
38 src/plugins/kdb/db2/libdb2/test/dbtest.c | 2 +-
39 src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 2 +-
40 src/plugins/tls/k5tls/openssl.c | 2 +-
41 src/tests/asn.1/make-vectors.c | 2 +-
42 21 files changed, 28 insertions(+), 28 deletions(-)
43
44diff --git a/src/clients/kcpytkt/kcpytkt.c b/src/clients/kcpytkt/kcpytkt.c
45index 0b88022..f1d50e5 100644
46--- a/src/clients/kcpytkt/kcpytkt.c
47+++ b/src/clients/kcpytkt/kcpytkt.c
48@@ -10,7 +10,7 @@ static char *prog;
49 static int quiet = 0;
50
51 static void
52-xusage()
53+xusage(void)
54 {
55 fprintf(stderr, "xusage: %s [-c from_ccache] [-e etype] [-f flags] "
56 "dest_ccache service1 service2 ...\n", prog);
57diff --git a/src/clients/kdeltkt/kdeltkt.c b/src/clients/kdeltkt/kdeltkt.c
58index cd0bf63..66a32a8 100644
59--- a/src/clients/kdeltkt/kdeltkt.c
60+++ b/src/clients/kdeltkt/kdeltkt.c
61@@ -10,7 +10,7 @@ static char *prog;
62 static int quiet = 0;
63
64 static void
65-xusage()
66+xusage(void)
67 {
68 fprintf(stderr, "xusage: %s [-c ccache] [-e etype] [-f flags] service1 "
69 "service2 ...\n", prog);
70diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c
71index 7a33ffa..b27b723 100644
72--- a/src/clients/kinit/kinit.c
73+++ b/src/clients/kinit/kinit.c
74@@ -55,7 +55,7 @@ get_name_from_os(void)
75 #else /* HAVE_PWD_H */
76 #ifdef _WIN32
77 static char *
78-get_name_from_os()
79+get_name_from_os(void)
80 {
81 static char name[1024];
82 DWORD name_size = sizeof(name);
83@@ -69,7 +69,7 @@ get_name_from_os()
84 }
85 #else /* _WIN32 */
86 static char *
87-get_name_from_os()
88+get_name_from_os(void)
89 {
90 return NULL;
91 }
92diff --git a/src/clients/kinit/kinit_kdb.c b/src/clients/kinit/kinit_kdb.c
93index fbd174b..4e7cd50 100644
94--- a/src/clients/kinit/kinit_kdb.c
95+++ b/src/clients/kinit/kinit_kdb.c
96@@ -69,7 +69,7 @@ kinit_kdb_init(krb5_context *pcontext, char *realm)
97 }
98
99 void
100-kinit_kdb_fini()
101+kinit_kdb_fini(void)
102 {
103 kadm5_destroy(server_handle);
104 }
105diff --git a/src/clients/klist/klist.c b/src/clients/klist/klist.c
106index c797b16..27cf0ee 100644
107--- a/src/clients/klist/klist.c
108+++ b/src/clients/klist/klist.c
109@@ -359,7 +359,7 @@ do_keytab(const char *name)
110 }
111
112 static void
113-list_all_ccaches()
114+list_all_ccaches(void)
115 {
116 krb5_error_code ret;
117 krb5_ccache cache;
118@@ -451,7 +451,7 @@ show_all_ccaches(void)
119 }
120
121 static void
122-do_ccache()
123+do_ccache(void)
124 {
125 krb5_error_code ret;
126 krb5_ccache cache;
127diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
128index 23b64b0..c1256f7 100644
129--- a/src/kadmin/cli/kadmin.c
130+++ b/src/kadmin/cli/kadmin.c
131@@ -607,7 +607,7 @@ kadmin_startup(int argc, char *argv[], char **request_out, char ***args_out)
132 }
133
134 int
135-quit()
136+quit(void)
137 {
138 kadm5_ret_t retval;
139
140diff --git a/src/kadmin/dbutil/kdb5_util.c b/src/kadmin/dbutil/kdb5_util.c
141index 3a07fd5..187428e 100644
142--- a/src/kadmin/dbutil/kdb5_util.c
143+++ b/src/kadmin/dbutil/kdb5_util.c
144@@ -367,7 +367,7 @@ main(int argc, char *argv[])
145 * program is run).
146 */
147 static int
148-open_db_and_mkey()
149+open_db_and_mkey(void)
150 {
151 krb5_error_code retval;
152 krb5_data scratch, pwd, seed;
153@@ -489,7 +489,7 @@ open_db_and_mkey()
154 #endif
155
156 int
157-quit()
158+quit(void)
159 {
160 krb5_error_code retval;
161 static krb5_boolean finished = 0;
162diff --git a/src/kdc/main.c b/src/kdc/main.c
163index bfdfef5..ad1d1bf 100644
164--- a/src/kdc/main.c
165+++ b/src/kdc/main.c
166@@ -854,7 +854,7 @@ write_pid_file(const char *path)
167 }
168
169 static void
170-finish_realms()
171+finish_realms(void)
172 {
173 int i;
174
175diff --git a/src/kprop/kpropd.c b/src/kprop/kpropd.c
176index 1b530fc..b11f3a9 100644
177--- a/src/kprop/kpropd.c
178+++ b/src/kprop/kpropd.c
179@@ -376,7 +376,7 @@ get_wildcard_addr(struct addrinfo **res)
180 }
181
182 static void
183-do_standalone()
184+do_standalone(void)
185 {
186 struct sockaddr_in frominet;
187 struct addrinfo *res;
188@@ -630,7 +630,7 @@ full_resync(CLIENT *clnt)
189 * Returns non-zero on failure due to errors.
190 */
191 krb5_error_code
192-do_iprop()
193+do_iprop(void)
194 {
195 kadm5_ret_t retval;
196 krb5_principal iprop_svc_principal = NULL;
197diff --git a/src/lib/crypto/builtin/enc_provider/aes.c b/src/lib/crypto/builtin/enc_provider/aes.c
198index 7fa9449..39e2a84 100644
199--- a/src/lib/crypto/builtin/enc_provider/aes.c
200+++ b/src/lib/crypto/builtin/enc_provider/aes.c
201@@ -69,7 +69,7 @@ void k5_iEnc256_CBC(struct aes_data *data);
202 void k5_iDec256_CBC(struct aes_data *data);
203
204 static krb5_boolean
205-aesni_supported_by_cpu()
206+aesni_supported_by_cpu(void)
207 {
208 unsigned int a, b, c, d;
209
210diff --git a/src/lib/crypto/openssl/hmac.c b/src/lib/crypto/openssl/hmac.c
211index bf12b8d..799d700 100644
212--- a/src/lib/crypto/openssl/hmac.c
213+++ b/src/lib/crypto/openssl/hmac.c
214@@ -70,7 +70,7 @@
215
216 #define HMAC_CTX_new compat_hmac_ctx_new
217 static HMAC_CTX *
218-compat_hmac_ctx_new()
219+compat_hmac_ctx_new(void)
220 {
221 HMAC_CTX *ctx;
222
223diff --git a/src/lib/krb5/ccache/t_memory.c b/src/lib/krb5/ccache/t_memory.c
224index 6d103a0..0f94e82 100644
225--- a/src/lib/krb5/ccache/t_memory.c
226+++ b/src/lib/krb5/ccache/t_memory.c
227@@ -85,7 +85,7 @@ krb5_creds test_creds = {
228 };
229
230 void
231-init_test_cred()
232+init_test_cred(void)
233 {
234 test_creds.client = (krb5_principal) malloc(sizeof(krb5_data *)*3);
235 test_creds.client[0] = &client1;
236@@ -104,7 +104,7 @@ init_test_cred()
237 };
238
239 void
240-mcc_test()
241+mcc_test(void)
242 {
243 krb5_ccache id;
244 krb5_creds creds;
245diff --git a/src/lib/krb5/ccache/t_stdio.c b/src/lib/krb5/ccache/t_stdio.c
246index 15185e3..06a9c2d 100644
247--- a/src/lib/krb5/ccache/t_stdio.c
248+++ b/src/lib/krb5/ccache/t_stdio.c
249@@ -98,7 +98,7 @@ krb5_creds test_creds = {
250 };
251
252 void
253-init_test_cred()
254+init_test_cred(void)
255 {
256 test_creds.client = (krb5_principal) malloc(sizeof(krb5_data *)*3);
257 test_creds.client[0] = &client1;
258@@ -118,7 +118,7 @@ init_test_cred()
259
260 int flags = 0;
261 void
262-scc_test()
263+scc_test(void)
264 {
265 krb5_ccache id;
266 krb5_creds creds;
267diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_debug.c b/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
268index bc71076..5a955e0 100644
269--- a/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
270+++ b/src/plugins/kdb/db2/libdb2/btree/bt_debug.c
271@@ -56,7 +56,7 @@ static FILE *tracefp;
272 * initialize debugging.
273 */
274 static void
275-__bt_dinit()
276+__bt_dinit(void)
277 {
278 static int first = 1;
279
280diff --git a/src/plugins/kdb/db2/libdb2/btree/bt_open.c b/src/plugins/kdb/db2/libdb2/btree/bt_open.c
281index 0bb19d7..56bab19 100644
282--- a/src/plugins/kdb/db2/libdb2/btree/bt_open.c
283+++ b/src/plugins/kdb/db2/libdb2/btree/bt_open.c
284@@ -390,7 +390,7 @@ nroot(BTREE *t)
285 }
286
287 static int
288-tmp()
289+tmp(void)
290 {
291 #ifdef SIG_BLOCK
292 sigset_t set, oset;
293@@ -437,7 +437,7 @@ tmp()
294 }
295
296 static int
297-byteorder()
298+byteorder(void)
299 {
300 u_int32_t x;
301 u_char *p;
302diff --git a/src/plugins/kdb/db2/libdb2/hash/dbm.c b/src/plugins/kdb/db2/libdb2/hash/dbm.c
303index 8e23d4c..6e5e96b 100644
304--- a/src/plugins/kdb/db2/libdb2/hash/dbm.c
305+++ b/src/plugins/kdb/db2/libdb2/hash/dbm.c
306@@ -143,7 +143,7 @@ kdb2_store(datum key, datum dat)
307 }
308
309 static void
310-no_open_db()
311+no_open_db(void)
312 {
313 (void)fprintf(stderr, "dbm: no open database.\n");
314 }
315diff --git a/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c b/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
316index 088f903..eec843d 100644
317--- a/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
318+++ b/src/plugins/kdb/db2/libdb2/test/btree.tests/main.c
319@@ -908,7 +908,7 @@ keydata(key, data)
320 }
321
322 void
323-usage()
324+usage(void)
325 {
326 (void)fprintf(stderr,
327 "usage: %s [-bdluw] [-c cache] [-i file] [-p page] [file]\n",
328diff --git a/src/plugins/kdb/db2/libdb2/test/dbtest.c b/src/plugins/kdb/db2/libdb2/test/dbtest.c
329index 04bf34b..a2866b4 100644
330--- a/src/plugins/kdb/db2/libdb2/test/dbtest.c
331+++ b/src/plugins/kdb/db2/libdb2/test/dbtest.c
332@@ -792,7 +792,7 @@ xmalloc(char *text, size_t len)
333 }
334
335 void
336-usage()
337+usage(void)
338 {
339 (void)fprintf(stderr,
340 "usage: dbtest [-l] [-f file] [-i info] [-o file] type script\n");
341diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
342index 4c81256..4a8b6d9 100644
343--- a/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
344+++ b/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
345@@ -3075,7 +3075,7 @@ cleanup:
346 }
347
348 int
349-pkinit_openssl_init()
350+pkinit_openssl_init(void)
351 {
352 /* Initialize OpenSSL. */
353 ERR_load_crypto_strings();
354diff --git a/src/plugins/tls/k5tls/openssl.c b/src/plugins/tls/k5tls/openssl.c
355index 99fda7f..aab67c0 100644
356--- a/src/plugins/tls/k5tls/openssl.c
357+++ b/src/plugins/tls/k5tls/openssl.c
358@@ -49,7 +49,7 @@ static int ex_handle_id = -1;
359 MAKE_INIT_FUNCTION(init_openssl);
360
361 int
362-init_openssl()
363+init_openssl(void)
364 {
365 SSL_library_init();
366 SSL_load_error_strings();
367diff --git a/src/tests/asn.1/make-vectors.c b/src/tests/asn.1/make-vectors.c
368index 2fc8546..6f2b7dd 100644
369--- a/src/tests/asn.1/make-vectors.c
370+++ b/src/tests/asn.1/make-vectors.c
371@@ -224,7 +224,7 @@ printbuf(void)
372 }
373
374 int
375-main()
376+main(void)
377 {
378 /* Initialize values which can't use static initializers. */
379 asn_long2INTEGER(&otp_format, 2); /* Alphanumeric */
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/CVE-2024-26458_CVE-2024-26461.patch b/meta-oe/recipes-connectivity/krb5/krb5/CVE-2024-26458_CVE-2024-26461.patch
new file mode 100644
index 0000000000..46eb6aa96c
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/CVE-2024-26458_CVE-2024-26461.patch
@@ -0,0 +1,207 @@
1From c5f9c816107f70139de11b38aa02db2f1774ee0d Mon Sep 17 00:00:00 2001
2From: Greg Hudson <ghudson@mit.edu>
3Date: Tue, 5 Mar 2024 19:53:07 -0500
4Subject: [PATCH] Fix two unlikely memory leaks
5
6In gss_krb5int_make_seal_token_v3(), one of the bounds checks (which
7could probably never be triggered) leaks plain.data. Fix this leak
8and use current practices for cleanup throughout the function.
9
10In xmt_rmtcallres() (unused within the tree and likely elsewhere),
11store port_ptr into crp->port_ptr as soon as it is allocated;
12otherwise it could leak if the subsequent xdr_u_int32() operation
13fails.
14
15CVE: CVE-2024-26458 CVE-2024-26461
16Upstream-Status: Backport [https://github.com/krb5/krb5/commit/c5f9c816107f70139de11b38aa02db2f1774ee0d]
17
18Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
19---
20 src/lib/gssapi/krb5/k5sealv3.c | 56 +++++++++++++++-------------------
21 src/lib/rpc/pmap_rmt.c | 9 +++---
22 2 files changed, 29 insertions(+), 36 deletions(-)
23
24diff --git a/src/lib/gssapi/krb5/k5sealv3.c b/src/lib/gssapi/krb5/k5sealv3.c
25index 1fcbdfb..d3210c1 100644
26--- a/src/lib/gssapi/krb5/k5sealv3.c
27+++ b/src/lib/gssapi/krb5/k5sealv3.c
28@@ -65,7 +65,7 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
29 int conf_req_flag, int toktype)
30 {
31 size_t bufsize = 16;
32- unsigned char *outbuf = 0;
33+ unsigned char *outbuf = NULL;
34 krb5_error_code err;
35 int key_usage;
36 unsigned char acceptor_flag;
37@@ -75,9 +75,13 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
38 #endif
39 size_t ec;
40 unsigned short tok_id;
41- krb5_checksum sum;
42+ krb5_checksum sum = { 0 };
43 krb5_key key;
44 krb5_cksumtype cksumtype;
45+ krb5_data plain = empty_data();
46+
47+ token->value = NULL;
48+ token->length = 0;
49
50 acceptor_flag = ctx->initiate ? 0 : FLAG_SENDER_IS_ACCEPTOR;
51 key_usage = (toktype == KG_TOK_WRAP_MSG
52@@ -107,14 +111,15 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
53 #endif
54
55 if (toktype == KG_TOK_WRAP_MSG && conf_req_flag) {
56- krb5_data plain;
57 krb5_enc_data cipher;
58 size_t ec_max;
59 size_t encrypt_size;
60
61 /* 300: Adds some slop. */
62- if (SIZE_MAX - 300 < message->length)
63- return ENOMEM;
64+ if (SIZE_MAX - 300 < message->length) {
65+ err = ENOMEM;
66+ goto cleanup;
67+ }
68 ec_max = SIZE_MAX - message->length - 300;
69 if (ec_max > 0xffff)
70 ec_max = 0xffff;
71@@ -126,20 +131,20 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
72 #endif
73 err = alloc_data(&plain, message->length + 16 + ec);
74 if (err)
75- return err;
76+ goto cleanup;
77
78 /* Get size of ciphertext. */
79 encrypt_size = krb5_encrypt_size(plain.length, key->keyblock.enctype);
80 if (encrypt_size > SIZE_MAX / 2) {
81 err = ENOMEM;
82- goto error;
83+ goto cleanup;
84 }
85 bufsize = 16 + encrypt_size;
86 /* Allocate space for header plus encrypted data. */
87 outbuf = gssalloc_malloc(bufsize);
88 if (outbuf == NULL) {
89- free(plain.data);
90- return ENOMEM;
91+ err = ENOMEM;
92+ goto cleanup;
93 }
94
95 /* TOK_ID */
96@@ -164,11 +169,8 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
97 cipher.ciphertext.length = bufsize - 16;
98 cipher.enctype = key->keyblock.enctype;
99 err = krb5_k_encrypt(context, key, key_usage, 0, &plain, &cipher);
100- zap(plain.data, plain.length);
101- free(plain.data);
102- plain.data = 0;
103 if (err)
104- goto error;
105+ goto cleanup;
106
107 /* Now that we know we're returning a valid token.... */
108 ctx->seq_send++;
109@@ -181,7 +183,6 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
110 /* If the rotate fails, don't worry about it. */
111 #endif
112 } else if (toktype == KG_TOK_WRAP_MSG && !conf_req_flag) {
113- krb5_data plain;
114 size_t cksumsize;
115
116 /* Here, message is the application-supplied data; message2 is
117@@ -193,21 +194,19 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
118 wrap_with_checksum:
119 err = alloc_data(&plain, message->length + 16);
120 if (err)
121- return err;
122+ goto cleanup;
123
124 err = krb5_c_checksum_length(context, cksumtype, &cksumsize);
125 if (err)
126- goto error;
127+ goto cleanup;
128
129 assert(cksumsize <= 0xffff);
130
131 bufsize = 16 + message2->length + cksumsize;
132 outbuf = gssalloc_malloc(bufsize);
133 if (outbuf == NULL) {
134- free(plain.data);
135- plain.data = 0;
136 err = ENOMEM;
137- goto error;
138+ goto cleanup;
139 }
140
141 /* TOK_ID */
142@@ -239,23 +238,15 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
143 if (message2->length)
144 memcpy(outbuf + 16, message2->value, message2->length);
145
146- sum.contents = outbuf + 16 + message2->length;
147- sum.length = cksumsize;
148-
149 err = krb5_k_make_checksum(context, cksumtype, key,
150 key_usage, &plain, &sum);
151- zap(plain.data, plain.length);
152- free(plain.data);
153- plain.data = 0;
154 if (err) {
155 zap(outbuf,bufsize);
156- goto error;
157+ goto cleanup;
158 }
159 if (sum.length != cksumsize)
160 abort();
161 memcpy(outbuf + 16 + message2->length, sum.contents, cksumsize);
162- krb5_free_checksum_contents(context, &sum);
163- sum.contents = 0;
164 /* Now that we know we're actually generating the token... */
165 ctx->seq_send++;
166
167@@ -285,12 +276,13 @@ gss_krb5int_make_seal_token_v3 (krb5_context context,
168
169 token->value = outbuf;
170 token->length = bufsize;
171- return 0;
172+ outbuf = NULL;
173+ err = 0;
174
175-error:
176+cleanup:
177+ krb5_free_checksum_contents(context, &sum);
178+ zapfree(plain.data, plain.length);
179 gssalloc_free(outbuf);
180- token->value = NULL;
181- token->length = 0;
182 return err;
183 }
184
185diff --git a/src/lib/rpc/pmap_rmt.c b/src/lib/rpc/pmap_rmt.c
186index 8c7e30c..522cb20 100644
187--- a/src/lib/rpc/pmap_rmt.c
188+++ b/src/lib/rpc/pmap_rmt.c
189@@ -160,11 +160,12 @@ xdr_rmtcallres(
190 caddr_t port_ptr;
191
192 port_ptr = (caddr_t)(void *)crp->port_ptr;
193- if (xdr_reference(xdrs, &port_ptr, sizeof (uint32_t),
194- xdr_u_int32) && xdr_u_int32(xdrs, &crp->resultslen)) {
195- crp->port_ptr = (uint32_t *)(void *)port_ptr;
196+ if (!xdr_reference(xdrs, &port_ptr, sizeof (uint32_t),
197+ (xdrproc_t)xdr_u_int32))
198+ return (FALSE);
199+ crp->port_ptr = (uint32_t *)(void *)port_ptr;
200+ if (xdr_u_int32(xdrs, &crp->resultslen))
201 return ((*(crp->xdr_results))(xdrs, crp->results_ptr));
202- }
203 return (FALSE);
204 }
205
206--
2072.40.0
diff --git a/meta-oe/recipes-connectivity/krb5/krb5/CVE-2025-24528.patch b/meta-oe/recipes-connectivity/krb5/krb5/CVE-2025-24528.patch
new file mode 100644
index 0000000000..ac6039edf1
--- /dev/null
+++ b/meta-oe/recipes-connectivity/krb5/krb5/CVE-2025-24528.patch
@@ -0,0 +1,68 @@
1From 78ceba024b64d49612375be4a12d1c066b0bfbd0 Mon Sep 17 00:00:00 2001
2From: Zoltan Borbely <Zoltan.Borbely@morganstanley.com>
3Date: Tue, 28 Jan 2025 16:39:25 -0500
4Subject: [PATCH] Prevent overflow when calculating ulog block size
5
6In kdb_log.c:resize(), log an error and fail if the update size is
7larger than the largest possible block size (2^16-1).
8
9CVE-2025-24528:
10
11In MIT krb5 release 1.7 and later with incremental propagation
12enabled, an authenticated attacker can cause kadmind to write beyond
13the end of the mapped region for the iprop log file, likely causing a
14process crash.
15
16[ghudson@mit.edu: edited commit message and added CVE description]
17
18ticket: 9159 (new)
19tags: pullup
20target_version: 1.21-next
21
22CVE: CVE-2025-24528
23
24Upstream-Status: Backport [https://github.com/krb5/krb5/commit/78ceba024b64d49612375be4a12d1c066b0bfbd0]
25
26Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
27---
28 src/lib/kdb/kdb_log.c | 10 ++++++++--
29 1 file changed, 8 insertions(+), 2 deletions(-)
30
31diff --git a/src/lib/kdb/kdb_log.c b/src/lib/kdb/kdb_log.c
32index 2659a25..68fae91 100644
33--- a/src/lib/kdb/kdb_log.c
34+++ b/src/lib/kdb/kdb_log.c
35@@ -183,7 +183,7 @@ extend_file_to(int fd, unsigned int new_size)
36 */
37 static krb5_error_code
38 resize(kdb_hlog_t *ulog, uint32_t ulogentries, int ulogfd,
39- unsigned int recsize)
40+ unsigned int recsize, const kdb_incr_update_t *upd)
41 {
42 unsigned int new_block, new_size;
43
44@@ -195,6 +195,12 @@ resize(kdb_hlog_t *ulog, uint32_t ulogentries, int ulogfd,
45 new_block *= ULOG_BLOCK;
46 new_size += ulogentries * new_block;
47
48+ if (new_block > UINT16_MAX) {
49+ syslog(LOG_ERR, _("ulog overflow caused by principal %.*s"),
50+ upd->kdb_princ_name.utf8str_t_len,
51+ upd->kdb_princ_name.utf8str_t_val);
52+ return KRB5_LOG_ERROR;
53+ }
54 if (new_size > MAXLOGLEN)
55 return KRB5_LOG_ERROR;
56
57@@ -291,7 +297,7 @@ store_update(kdb_log_context *log_ctx, kdb_incr_update_t *upd)
58 recsize = sizeof(kdb_ent_header_t) + upd_size;
59
60 if (recsize > ulog->kdb_block) {
61- retval = resize(ulog, ulogentries, log_ctx->ulogfd, recsize);
62+ retval = resize(ulog, ulogentries, log_ctx->ulogfd, recsize, upd);
63 if (retval)
64 return retval;
65 }
66--
672.40.0
68
diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.21.3.bb
index ed12fee94c..c042dba5a7 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.21.2.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.21.3.bb
@@ -14,13 +14,16 @@ DESCRIPTION = "Kerberos is a system for authenticating users and services on a n
14HOMEPAGE = "http://web.mit.edu/Kerberos/" 14HOMEPAGE = "http://web.mit.edu/Kerberos/"
15SECTION = "console/network" 15SECTION = "console/network"
16LICENSE = "MIT" 16LICENSE = "MIT"
17LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=32cb3a99207053d9f5c1ef177c4d6e34" 17LIC_FILES_CHKSUM = "file://${S}/../NOTICE;md5=71c06694263581762668e88b7b77a1a5"
18 18
19inherit autotools-brokensep binconfig perlnative systemd update-rc.d pkgconfig 19inherit autotools-brokensep binconfig perlnative systemd update-rc.d pkgconfig
20 20
21SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" 21SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
22SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \ 22SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \
23 file://debian-suppress-usr-lib-in-krb5-config.patch;striplevel=2 \ 23 file://debian-suppress-usr-lib-in-krb5-config.patch;striplevel=2 \
24 file://0001-Eliminate-old-style-function-declarations.patch;patchdir=.. \
25 file://0001-Fix-more-non-prototype-functions.patch;patchdir=.. \
26 file://0002-Avoid-strict-prototype-compiler-errors.patch;patchdir=.. \
24 file://crosscompile_nm.patch \ 27 file://crosscompile_nm.patch \
25 file://etc/init.d/krb5-kdc \ 28 file://etc/init.d/krb5-kdc \
26 file://etc/init.d/krb5-admin-server \ 29 file://etc/init.d/krb5-admin-server \
@@ -28,14 +31,16 @@ SRC_URI = "http://web.mit.edu/kerberos/dist/${BPN}/${SHRT_VER}/${BP}.tar.gz \
28 file://etc/default/krb5-admin-server \ 31 file://etc/default/krb5-admin-server \
29 file://krb5-kdc.service \ 32 file://krb5-kdc.service \
30 file://krb5-admin-server.service \ 33 file://krb5-admin-server.service \
34 file://CVE-2024-26458_CVE-2024-26461.patch;striplevel=2 \
35 file://CVE-2025-24528.patch;striplevel=2 \
31" 36"
32 37
33SRC_URI[sha256sum] = "9560941a9d843c0243a71b17a7ac6fe31c7cebb5bce3983db79e52ae7e850491" 38SRC_URI[sha256sum] = "b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35"
34 39
35CVE_PRODUCT = "kerberos" 40CVE_PRODUCT = "kerberos"
36CVE_VERSION = "5-${PV}" 41CVE_VERSION = "5-${PV}"
37 42
38S = "${WORKDIR}/${BP}/src" 43S = "${UNPACKDIR}/${BP}/src"
39 44
40DEPENDS = "bison-native ncurses util-linux e2fsprogs e2fsprogs-native openssl" 45DEPENDS = "bison-native ncurses util-linux e2fsprogs e2fsprogs-native openssl"
41 46
diff --git a/meta-oe/recipes-connectivity/libev/libev_4.33.bb b/meta-oe/recipes-connectivity/libev/libev_4.33.bb
index 346e78b1de..6d29900a48 100644
--- a/meta-oe/recipes-connectivity/libev/libev_4.33.bb
+++ b/meta-oe/recipes-connectivity/libev/libev_4.33.bb
@@ -5,7 +5,6 @@ LICENSE = "BSD-2-Clause | GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d6ad416afd040c90698edcdf1cbee347"
6 6
7SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz" 7SRC_URI = "http://dist.schmorp.de/libev/Attic/${BP}.tar.gz"
8SRC_URI[md5sum] = "a3433f23583167081bf4acdd5b01b34f"
9SRC_URI[sha256sum] = "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea" 8SRC_URI[sha256sum] = "507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea"
10 9
11inherit autotools 10inherit autotools
diff --git a/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.2.0.bb b/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.2.bb
index c9e9c90d7d..8b7306b598 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice-glue/libimobiledevice-glue_1.3.2.bb
@@ -8,8 +8,7 @@ HOMEPAGE = "http://www.libimobiledevice.org/"
8 8
9DEPENDS = "libplist" 9DEPENDS = "libplist"
10 10
11SRCREV = "fde8946a3988790fd5d3f01fc0a1fd43609ab1d1" 11SRCREV = "aef2bf0f5bfe961ad83d224166462d87b1df2b00"
12SRC_URI = "git://github.com/libimobiledevice/libimobiledevice-glue;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libimobiledevice-glue;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git"
15inherit autotools pkgconfig 14inherit autotools pkgconfig
diff --git a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
index b8d7e8872b..3c93c9a37b 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
@@ -14,7 +14,6 @@ SRCREV = "860ffb707af3af94467d2ece4ad258dda957c6cd"
14SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master \ 14SRC_URI = "git://github.com/libimobiledevice/libimobiledevice;protocol=https;branch=master \
15 file://0001-include-unistd.h-for-usleep.patch" 15 file://0001-include-unistd.h-for-usleep.patch"
16 16
17S = "${WORKDIR}/git"
18inherit autotools pkgconfig 17inherit autotools pkgconfig
19 18
20EXTRA_OECONF = " --without-cython " 19EXTRA_OECONF = " --without-cython "
diff --git a/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb b/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb
index 29f67d39d8..6049369290 100644
--- a/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.0.bb
+++ b/meta-oe/recipes-connectivity/libirecovery/libirecovery_1.2.1.bb
@@ -8,8 +8,7 @@ HOMEPAGE = "http://www.libimobiledevice.org/"
8 8
9DEPENDS = "libimobiledevice-glue libusb1 readline" 9DEPENDS = "libimobiledevice-glue libusb1 readline"
10 10
11SRCREV = "2254dab893ec439f9a73235ea07194afa77399db" 11SRCREV = "2fb767d784c01269a0ded5bacd5539aee3768c35"
12SRC_URI = "git://github.com/libimobiledevice/libirecovery;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libirecovery;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git"
15inherit autotools pkgconfig 14inherit autotools pkgconfig
diff --git a/meta-oe/recipes-connectivity/libmbim/libmbim_1.30.0.bb b/meta-oe/recipes-connectivity/libmbim/libmbim_1.33.1.bb
index a227124498..27d28d71cb 100644
--- a/meta-oe/recipes-connectivity/libmbim/libmbim_1.30.0.bb
+++ b/meta-oe/recipes-connectivity/libmbim/libmbim_1.33.1.bb
@@ -11,10 +11,9 @@ DEPENDS = "glib-2.0 glib-2.0-native libgudev"
11 11
12inherit meson pkgconfig bash-completion gobject-introspection upstream-version-is-even 12inherit meson pkgconfig bash-completion gobject-introspection upstream-version-is-even
13 13
14SRCREV = "8415687e4f30ae5e36f407f179c8147f1529725c" 14SRCREV = "e10df4b6b3edfe6a46d93f7f5f5cab31c29a7091"
15SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/libmbim.git;protocol=https;branch=mbim-1-30" 15SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/libmbim.git;protocol=https;branch=main"
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OEMESON = " \ 18EXTRA_OEMESON = " \
20 -Dgtk_doc=false \ 19 -Dgtk_doc=false \
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch b/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch
new file mode 100644
index 0000000000..9cd4b2fbd6
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libmtp/libmtp/0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch
@@ -0,0 +1,33 @@
1From 0644188a537a06bc6d04483b21e23b80987eb497 Mon Sep 17 00:00:00 2001
2From: Hieu Van Nguyen <hieu2.nguyen@lge.com>
3Date: Fri, 11 Oct 2024 04:21:21 +0000
4Subject: [PATCH] util/mtp-hotplug.c: Enable stack memory protection
5
6Use "return 0" instead of "exit(0)" at the end of main()
7function to enable checking for Stack Overflow at Runtime.
8
9Use "return 0" to let the program exit normally by returning from
10the main function. This allows the compiler to perform necessary
11cleanup operations, including stack canary checks.
12
13__stack_chk_fail function isn't being invoked when using exit(0) at
14the end of the main function
15$ objdump -T ./util/.libs/mtp-hotplug | grep __stack_chk_fail
16This return empty.
17---
18Upstream-Status: Backport [https://github.com/libmtp/libmtp/commit/e89dbb6ecf244936acc9a52aa4af9635bda5926a]
19
20 util/mtp-hotplug.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/util/mtp-hotplug.c b/util/mtp-hotplug.c
24index b5bc6da40f..db75cb38a1 100644
25--- a/util/mtp-hotplug.c
26+++ b/util/mtp-hotplug.c
27@@ -301,5 +301,5 @@ int main (int argc, char **argv)
28 printf("\n");
29 }
30
31- exit (0);
32+ return 0;
33 }
diff --git a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
index 94cbef8fc1..69dff50cd7 100644
--- a/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
+++ b/meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
@@ -18,9 +18,13 @@ DEPENDS = "libusb1 gettext-native"
18DEPENDS:append:class-target = " ${BPN}-native" 18DEPENDS:append:class-target = " ${BPN}-native"
19 19
20SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz" 20SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
21SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch" 21SRC_URI:append:class-target = " file://0001-Use-native-mtp-hotplug.patch \
22 file://0002-util-mtp-hotplug.c-Enable-stack-memory-protection.patch"
22SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135" 23SRC_URI[sha256sum] = "f4c1ceb3df020a6cb851110f620c14fe399518c494ed252039cbfb4e34335135"
23 24
25UPSTREAM_CHECK_URI = "https://github.com/libmtp/libmtp/releases"
26UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
27
24inherit autotools pkgconfig lib_package 28inherit autotools pkgconfig lib_package
25 29
26EXTRA_OECONF += " \ 30EXTRA_OECONF += " \
diff --git a/meta-oe/recipes-connectivity/libndp/libndp_1.8.bb b/meta-oe/recipes-connectivity/libndp/libndp_1.9.bb
index 80946317e4..fdf5694e9f 100644
--- a/meta-oe/recipes-connectivity/libndp/libndp_1.8.bb
+++ b/meta-oe/recipes-connectivity/libndp/libndp_1.9.bb
@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/jpirko/libndp;branch=master;protocol=https \
7 file://0001-libndp-Fix-signature-of-sendto-API.patch \ 7 file://0001-libndp-Fix-signature-of-sendto-API.patch \
8 " 8 "
9# tag for v1.8 9# tag for v1.8
10SRCREV = "009ce9cd9b950ffa1f4f94c9436027b936850d0c" 10SRCREV = "2730638bf88984b09531813974f9bd14e1a50165"
11S = "${WORKDIR}/git"
12 11
13inherit autotools 12inherit autotools
diff --git a/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb b/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb
index b4648832f1..0594b2485e 100644
--- a/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb
+++ b/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/libnet/libnet.git;protocol=https;branch=master"
13SRC_URI[sha256sum] = "1e9e9054d688b059bcbaf878d8c4fbf69bfc0c9386cd4e7779fbb53339050d2e" 13SRC_URI[sha256sum] = "1e9e9054d688b059bcbaf878d8c4fbf69bfc0c9386cd4e7779fbb53339050d2e"
14SRCREV = "deaebdfe2743e8a6f04d3c307d9272afeeecfade" 14SRCREV = "deaebdfe2743e8a6f04d3c307d9272afeeecfade"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit autotools binconfig multilib_script 17inherit autotools binconfig multilib_script
19MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/libnet-config" 18MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/libnet-config"
diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch
index 978f38d019..ffb6bfbea8 100644
--- a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch
+++ b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch
@@ -1,4 +1,4 @@
1From 95708ff427c12b58e53fab225a08c811ca358394 Mon Sep 17 00:00:00 2001 1From 0d5d6a14f6e9c2ff8998ebb3acbefcad6221952f Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 3 May 2023 22:27:10 +0200 3Date: Wed, 3 May 2023 22:27:10 +0200
4Subject: [PATCH] CMakeLists.txt: respect ${CMAKE_INSTALL_LIBDIR} for multilib 4Subject: [PATCH] CMakeLists.txt: respect ${CMAKE_INSTALL_LIBDIR} for multilib
@@ -29,11 +29,11 @@ Upstream-Status: Pending
29 2 files changed, 5 insertions(+), 5 deletions(-) 29 2 files changed, 5 insertions(+), 5 deletions(-)
30 30
31diff --git a/CMakeLists.txt b/CMakeLists.txt 31diff --git a/CMakeLists.txt b/CMakeLists.txt
32index 5be774d..6b4fd25 100644 32index 1b94d2e..a295403 100644
33--- a/CMakeLists.txt 33--- a/CMakeLists.txt
34+++ b/CMakeLists.txt 34+++ b/CMakeLists.txt
35@@ -7,11 +7,11 @@ project(libnfs 35@@ -7,11 +7,11 @@ project(libnfs
36 set(SOVERSION 11.2.0 CACHE STRING "" FORCE) 36 set(SOVERSION 16.2.0 CACHE STRING "" FORCE)
37 37
38 set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for binaries") 38 set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation directory for binaries")
39-set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries") 39-set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
@@ -48,10 +48,10 @@ index 5be774d..6b4fd25 100644
48 option(BUILD_SHARED_LIBS "Build shared libraries" ON) 48 option(BUILD_SHARED_LIBS "Build shared libraries" ON)
49 option(ENABLE_TESTS "Build and run test programs" OFF) 49 option(ENABLE_TESTS "Build and run test programs" OFF)
50diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt 50diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
51index 88ba7b8..5ff89dc 100644 51index 987b735..9b2032f 100644
52--- a/lib/CMakeLists.txt 52--- a/lib/CMakeLists.txt
53+++ b/lib/CMakeLists.txt 53+++ b/lib/CMakeLists.txt
54@@ -23,5 +23,5 @@ set_target_properties(nfs PROPERTIES 54@@ -24,5 +24,5 @@ set_target_properties(nfs PROPERTIES
55 55
56 install(TARGETS nfs EXPORT libnfs 56 install(TARGETS nfs EXPORT libnfs
57 RUNTIME DESTINATION bin 57 RUNTIME DESTINATION bin
diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Test-for-sys-uio.h.patch b/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Test-for-sys-uio.h.patch
deleted file mode 100644
index de3ab82292..0000000000
--- a/meta-oe/recipes-connectivity/libnfs/libnfs/0001-cmake-Test-for-sys-uio.h.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From d0fa719d49f38777911a8e99717f2d4b30811080 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 12 Feb 2024 19:24:54 -0800
4Subject: [PATCH] cmake: Test for sys/uio.h
5
6writev() API is used in few places and it will need including sys/uio.h
7for getting the funciton signature
8
9Upstream-Status: Submitted [https://github.com/sahlberg/libnfs/pull/440]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 cmake/ConfigureChecks.cmake | 1 +
13 cmake/config.h.cmake | 3 +++
14 2 files changed, 4 insertions(+)
15
16diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake
17index 0258fc8..c26a02d 100644
18--- a/cmake/ConfigureChecks.cmake
19+++ b/cmake/ConfigureChecks.cmake
20@@ -22,6 +22,7 @@ check_include_file("sys/stat.h" HAVE_SYS_STAT_H)
21 check_include_file("sys/sysmacros.h" HAVE_SYS_SYSMACROS_H)
22 check_include_file("sys/time.h" HAVE_SYS_TIME_H)
23 check_include_file("sys/types.h" HAVE_SYS_TYPES_H)
24+check_include_file("sys/uio.h" HAVE_SYS_UIO_H)
25 check_include_file("sys/vfs.h" HAVE_SYS_VFS_H)
26 check_include_file("unistd.h" HAVE_UNISTD_H)
27 check_include_file("utime.h" HAVE_UTIME_H)
28diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake
29index 4016c6c..6263896 100644
30--- a/cmake/config.h.cmake
31+++ b/cmake/config.h.cmake
32@@ -90,6 +90,9 @@
33 /* Define to 1 if you have the <sys/types.h> header file. */
34 #cmakedefine HAVE_SYS_TYPES_H
35
36+/* Define to 1 if you have the <sys/uio.h> header file. */
37+#cmakedefine HAVE_SYS_UIO_H
38+
39 /* Define to 1 if you have the <sys/vfs.h> header file. */
40 #cmakedefine HAVE_SYS_VFS_H
41
42--
432.43.1
44
diff --git a/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.3.bb b/meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb
index a6eabc6095..83f32d3a07 100644
--- a/meta-oe/recipes-connectivity/libnfs/libnfs_5.0.3.bb
+++ b/meta-oe/recipes-connectivity/libnfs/libnfs_6.0.2.bb
@@ -3,13 +3,12 @@ HOMEPAGE = "https://github.com/sahlberg/libnfs"
3LICENSE = "LGPL-2.1-only & BSD-2-Clause & GPL-3.0-only" 3LICENSE = "LGPL-2.1-only & BSD-2-Clause & GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada" 4LIC_FILES_CHKSUM = "file://COPYING;md5=825301ba17efc9d188ee0abd4b924ada"
5 5
6SRC_URI = " \ 6SRC_URI = "git://github.com/sahlberg/libnfs.git;protocol=https;branch=master \
7 git://github.com/sahlberg/libnfs.git;protocol=https;branch=master \ 7 file://0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch \
8 file://0001-CMakeLists.txt-respect-CMAKE_INSTALL_LIBDIR-for-mult.patch \ 8 "
9 file://0001-cmake-Test-for-sys-uio.h.patch \ 9SRCREV = "18c5c73ee88bb7dc8da0d55dc95164bb77e49dc6"
10" 10
11SRCREV = "4379837536d9eac537810dc7b13071136049b22a" 11DEPENDS += "gnutls"
12S = "${WORKDIR}/git"
13 12
14inherit cmake 13inherit cmake
15 14
diff --git a/meta-oe/recipes-connectivity/libqmi/libqmi_1.34.0.bb b/meta-oe/recipes-connectivity/libqmi/libqmi_1.34.0.bb
index 94164a0b5a..8dc7ec3773 100644
--- a/meta-oe/recipes-connectivity/libqmi/libqmi_1.34.0.bb
+++ b/meta-oe/recipes-connectivity/libqmi/libqmi_1.34.0.bb
@@ -15,7 +15,6 @@ inherit meson pkgconfig bash-completion gobject-introspection upstream-version-i
15SRCREV = "3f07d6e5b4677558543b3b4484ea88ad92257e92" 15SRCREV = "3f07d6e5b4677558543b3b4484ea88ad92257e92"
16SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/libqmi.git;protocol=https;branch=qmi-1-34" 16SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/libqmi.git;protocol=https;branch=qmi-1-34"
17 17
18S = "${WORKDIR}/git"
19 18
20PACKAGECONFIG ??= "udev mbim" 19PACKAGECONFIG ??= "udev mbim"
21PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,libgudev" 20PACKAGECONFIG[udev] = "-Dudev=true,-Dudev=false,libgudev"
diff --git a/meta-oe/recipes-connectivity/libqrtr-glib/libqrtr-glib_git.bb b/meta-oe/recipes-connectivity/libqrtr-glib/libqrtr-glib_git.bb
index 3549cac568..f195008650 100644
--- a/meta-oe/recipes-connectivity/libqrtr-glib/libqrtr-glib_git.bb
+++ b/meta-oe/recipes-connectivity/libqrtr-glib/libqrtr-glib_git.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/libqrtr-glib.git;protoc
10PV = "1.2.2+git" 10PV = "1.2.2+git"
11SRCREV = "8991f0e93713ebf4da48ae4f23940ead42f64c8c" 11SRCREV = "8991f0e93713ebf4da48ae4f23940ead42f64c8c"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit meson pkgconfig gobject-introspection 14inherit meson pkgconfig gobject-introspection
16 15
diff --git a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb
index f2de1f468d..6bfcbec25f 100644
--- a/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb
+++ b/meta-oe/recipes-connectivity/libtorrent-rasterbar/libtorrent-rasterbar_2.0.10.bb
@@ -7,13 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8b6cb42d66e6b3c47a909c3ce678a7b"
7DEPENDS = "boost openssl" 7DEPENDS = "boost openssl"
8 8
9SRC_URI = "git://github.com/arvidn/libtorrent.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/arvidn/libtorrent.git;branch=master;protocol=https \
10 git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=git/deps/try_signal;name=try_signal" 10 git://github.com/arvidn/try_signal.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/deps/try_signal;name=try_signal"
11 11
12SRCREV = "74bc93a37a5e31c78f0aa02037a68fb9ac5deb41" 12SRCREV = "74bc93a37a5e31c78f0aa02037a68fb9ac5deb41"
13SRCREV_try_signal = "105cce59972f925a33aa6b1c3109e4cd3caf583d" 13SRCREV_try_signal = "105cce59972f925a33aa6b1c3109e4cd3caf583d"
14SRCREV_FORMAT .= "_try_signal" 14SRCREV_FORMAT .= "_try_signal"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit cmake pkgconfig python3targetconfig 17inherit cmake pkgconfig python3targetconfig
19 18
diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb
index c7a0562db4..220bb62c64 100644
--- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_0.14.0.bb
@@ -6,16 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6 6
7DEPENDS = "zlib libsigc++-2.0 openssl cppunit" 7DEPENDS = "zlib libsigc++-2.0 openssl cppunit"
8 8
9PV = "0.13.8+git"
10
11SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https" 9SRC_URI = "git://github.com/rakshasa/libtorrent;branch=master;protocol=https"
12SRCREV = "e60f222241319aaae482789517ad00ae9344bd13" 10SRCREV = "08fb6635ba249665cb08a4de1b955288d25c21e1"
13 11
14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 12UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
15 13
16CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product" 14CVE_STATUS[CVE-2009-1760] = "backported-patch: patched in our product"
17 15
18S = "${WORKDIR}/git"
19 16
20CVE_PRODUCT = "" 17CVE_PRODUCT = ""
21 18
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-sll_protocol-may-be-be16.patch b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-sll_protocol-may-be-be16.patch
new file mode 100644
index 0000000000..c27644ef7d
--- /dev/null
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets/0001-sll_protocol-may-be-be16.patch
@@ -0,0 +1,29 @@
1From 99e3ad14c60599e5d73e4d5597c95c3b91780547 Mon Sep 17 00:00:00 2001
2From: Andy Green <andy@warmcat.com>
3Date: Wed, 22 Jan 2025 10:08:55 +0000
4Subject: [PATCH] sll_protocol may be be16
5
6Google's fuzzer platform blows a warning
7
8/src/libwebsockets/lib/plat/unix/unix-sockets.c:497:21: warning: implicit conversion loses integer precision: 'uint32_t' (aka 'unsigned int') to '__be16' (aka 'unsigned short') [-Wimplicit-int-conversion]
9 497 | sll.sll_protocol = (uint32_t)(htons((uint16_t)0x800));
10
11Upstream-Status: Backport [https://github.com/warmcat/libwebsockets/commit/2ffb8c6d5eaab509a133f3a6d922e170ae95dd59]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 lib/plat/unix/unix-sockets.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/lib/plat/unix/unix-sockets.c b/lib/plat/unix/unix-sockets.c
18index 1a40c9cf..61292ff8 100644
19--- a/lib/plat/unix/unix-sockets.c
20+++ b/lib/plat/unix/unix-sockets.c
21@@ -453,7 +453,7 @@ lws_plat_rawudp_broadcast(uint8_t *p, const uint8_t *canned, size_t canned_len,
22
23 memset(&sll, 0, sizeof(sll));
24 sll.sll_family = AF_PACKET;
25- sll.sll_protocol = (uint32_t)(htons((uint16_t)0x800));
26+ sll.sll_protocol = (uint16_t)(htons((uint16_t)0x800));
27 sll.sll_halen = 6;
28 sll.sll_ifindex = (int)if_nametoindex(iface);
29 memset(sll.sll_addr, 0xff, 6);
diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb
index 3170d37f5b..0751cff178 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.3.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.3.5.bb
@@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=382bfdf329e774859fd401eaf850d29b"
6DEPENDS = "zlib" 6DEPENDS = "zlib"
7DEPENDS:append:class-native = " libcap-native" 7DEPENDS:append:class-native = " libcap-native"
8 8
9S = "${WORKDIR}/git" 9SRCREV = "ab9df9cfc39de7a49967f18387b6b76310947442"
10SRCREV = "4415e84c095857629863804e941b9e1c2e9347ef" 10SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable \
11SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;branch=v4.3-stable" 11 file://0001-sll_protocol-may-be-be16.patch \
12 "
12 13
13UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases" 14UPSTREAM_CHECK_URI = "https://github.com/warmcat/${BPN}/releases"
14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 15UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch
deleted file mode 100644
index b117dcf670..0000000000
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 6120cee594c543d17ae015bc601012debcf57177 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Oct 2023 10:43:42 +0100
4Subject: [PATCH] include string.h for strncpy()
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7Upstream-Status: Backport [master: 6120cee594c543d17ae015bc601012debcf57177]
8---
9 interface.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/interface.c b/interface.c
13index 29229ad6f53d..9a83c36933e7 100644
14--- a/interface.c
15+++ b/interface.c
16@@ -5,6 +5,7 @@
17 * @note SPDX-License-Identifier: GPL-2.0+
18 */
19 #include <stdlib.h>
20+#include <string.h>
21 #include "interface.h"
22
23 struct interface {
24--
252.34.1
26
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch
deleted file mode 100644
index 3cf3a63b94..0000000000
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From cffb4807ac0b9ff7aea2aa4f3842985b5363d184 Mon Sep 17 00:00:00 2001
2From: Luca Fancellu <luca.fancellu@arm.com>
3Date: Mon, 23 Oct 2023 10:43:43 +0100
4Subject: [PATCH] linuxptp: Use ${CC} in incdefs.sh
5
6The Makefile is defining CC and incdefs.sh is using
7${CROSS_COMPILE}cpp inside it, allowing both to use different
8compilers depending on what the user pass during make invocation
9as CC.
10
11Align them using ${CC} also inside incdefs.sh.
12
13Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
14Upstream-Status: Backport [master: cffb4807ac0b9ff7aea2aa4f3842985b5363d184]
15---
16 incdefs.sh | 2 +-
17 makefile | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/incdefs.sh b/incdefs.sh
21index a9e94f777f6b..391e63c7fac6 100755
22--- a/incdefs.sh
23+++ b/incdefs.sh
24@@ -27,7 +27,7 @@ user_flags()
25 printf " -D_GNU_SOURCE"
26
27 # Get list of directories searched for header files.
28- dirs=$(echo "" | ${CROSS_COMPILE}cpp -Wp,-v 2>&1 >/dev/null | grep ^" /")
29+ dirs=$(${CC} -E -Wp,-v -xc /dev/null 2>&1 >/dev/null | grep ^" /")
30
31 # Look for clock_adjtime().
32 for d in $dirs; do
33diff --git a/makefile b/makefile
34index 3e3b8b35fc96..7fc5f6fb8fa8 100644
35--- a/makefile
36+++ b/makefile
37@@ -39,7 +39,7 @@ OBJECTS = $(OBJ) hwstamp_ctl.o nsm.o phc2sys.o phc_ctl.o pmc.o pmc_agent.o \
38 SRC = $(OBJECTS:.o=.c)
39 DEPEND = $(OBJECTS:.o=.d)
40 srcdir := $(dir $(lastword $(MAKEFILE_LIST)))
41-incdefs := $(shell $(srcdir)/incdefs.sh)
42+incdefs := $(shell CC="$(CC)" $(srcdir)/incdefs.sh)
43 version := $(shell $(srcdir)/version.sh $(srcdir))
44 VPATH = $(srcdir)
45
46--
472.34.1
48
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb
index d1a73841a1..421113cdfc 100644
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb
+++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb
@@ -5,27 +5,19 @@ HOMEPAGE = "http://linuxptp.sourceforge.net/"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7 7
8LINUXPTP_SRC_URI = "http://sourceforge.net/projects/linuxptp" 8SRC_URI = "https://downloads.nwtime.org/linuxptp/linuxptp-${PV}.tgz \
9
10SRC_URI = "${LINUXPTP_SRC_URI}/files/v4.1/linuxptp-${PV}.tgz \
11 file://0001-include-string.h-for-strncpy.patch \
12 file://0002-linuxptp-Use-CC-in-incdefs.sh.patch \
13 file://systemd/phc2sys@.service.in \ 9 file://systemd/phc2sys@.service.in \
14 file://systemd/ptp4l@.service.in \ 10 file://systemd/ptp4l@.service.in \
15 " 11 "
16 12
17SRC_URI[md5sum] = "1db8699fc155965341759be5e5aad938" 13SRC_URI[sha256sum] = "61757bc0a58d789b8fcbdddf56c88a0230597184a70dcb2ac05b4c6b619f7d5c"
18SRC_URI[sha256sum] = "e1743d44f8208897e30895da3579e670ff919b914feb4b5a949f3e421ddde535"
19 14
20inherit systemd 15inherit systemd
21 16
22UPSTREAM_CHECK_URI = "${LINUXPTP_SRC_URI}/files/"
23UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
24
25EXTRA_OEMAKE = "CC='${CC}' EXTRA_CFLAGS='${CFLAGS}' mandir='${mandir}' \ 17EXTRA_OEMAKE = "CC='${CC}' EXTRA_CFLAGS='${CFLAGS}' mandir='${mandir}' \
26 sbindir='${sbindir}'" 18 sbindir='${sbindir}'"
27 19
28export KBUILD_OUTPUT="${RECIPE_SYSROOT}" 20export KBUILD_OUTPUT = "${RECIPE_SYSROOT}"
29 21
30LINUXPTP_SYSTEMD_SERVICES = "phc2sys@.service ptp4l@.service" 22LINUXPTP_SYSTEMD_SERVICES = "phc2sys@.service ptp4l@.service"
31 23
diff --git a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.22.0.bb b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.22.0.bb
index 6b4336eb80..82cc1167e2 100644
--- a/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.22.0.bb
+++ b/meta-oe/recipes-connectivity/modemmanager/modemmanager_1.22.0.bb
@@ -14,7 +14,6 @@ DEPENDS = "glib-2.0 libgudev libxslt-native dbus"
14SRCREV = "03f786ce66360d67c669f4f122f8aa458e6f01ea" 14SRCREV = "03f786ce66360d67c669f4f122f8aa458e6f01ea"
15SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/ModemManager.git;protocol=https;branch=mm-1-22" 15SRC_URI = "git://gitlab.freedesktop.org/mobile-broadband/ModemManager.git;protocol=https;branch=mm-1-22"
16 16
17S = "${WORKDIR}/git"
18 17
19# strict, permissive 18# strict, permissive
20MODEMMANAGER_POLKIT_TYPE ??= "permissive" 19MODEMMANAGER_POLKIT_TYPE ??= "permissive"
diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb b/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
index 693ec12d3c..bea22b18e2 100644
--- a/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
+++ b/meta-oe/recipes-connectivity/mosh/mosh_1.4.0.bb
@@ -48,3 +48,4 @@ RDEPENDS:${PN}-server += "openssh-sshd"
48ARM_INSTRUCTION_SET = "arm" 48ARM_INSTRUCTION_SET = "arm"
49 49
50CXXFLAGS:append = " -std=c++17" 50CXXFLAGS:append = " -std=c++17"
51LDFLAGS:append:riscv32 = " -latomic"
diff --git a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
index 7348274948..be8482ab50 100644
--- a/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
+++ b/meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
@@ -12,10 +12,12 @@ DEPENDS:append:class-target = " bluez5"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \ 13SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \
14" 14"
15SRC_URI[md5sum] = "f6e0b6cb7dcfd731460a7e9a91429a3a"
16SRC_URI[sha256sum] = "158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc" 15SRC_URI[sha256sum] = "158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc"
17 16
18S = "${WORKDIR}/${BP}-Source" 17UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/openobex/files/openobex/"
18UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
19
20S = "${UNPACKDIR}/${BP}-Source"
19 21
20inherit cmake pkgconfig 22inherit cmake pkgconfig
21 23
diff --git a/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb b/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb
index f7a98fb61e..30326e89ef 100644
--- a/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb
+++ b/meta-oe/recipes-connectivity/obexftp/obexftp_0.24.2.bb
@@ -11,9 +11,11 @@ SRC_URI = "http://downloads.sourceforge.net/openobex/${BP}-Source.tar.gz \
11 file://0001-apps-CMakeLists.txt-Explicitly-link-libbfb-and-libmu.patch \ 11 file://0001-apps-CMakeLists.txt-Explicitly-link-libbfb-and-libmu.patch \
12 file://make_fuse_swig_optional.patch \ 12 file://make_fuse_swig_optional.patch \
13" 13"
14SRC_URI[md5sum] = "157a9d1b2ed220203f7084db906de73c"
15SRC_URI[sha256sum] = "d40fb48e0a0eea997b3e582774b29f793919a625d54b87182e31a3f3d1c989a3" 14SRC_URI[sha256sum] = "d40fb48e0a0eea997b3e582774b29f793919a625d54b87182e31a3f3d1c989a3"
16 15
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/openobex/files/obexftp/"
17UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
18
17inherit cmake pkgconfig 19inherit cmake pkgconfig
18 20
19OECMAKE_GENERATOR = "Unix Makefiles" 21OECMAKE_GENERATOR = "Unix Makefiles"
@@ -25,7 +27,7 @@ PACKAGECONFIG[swig] = "-DENABLE_SWIG=ON,-DENABLE_SWIG=OFF,swig"
25 27
26DEPENDS:remove:class-native = "fuse-native" 28DEPENDS:remove:class-native = "fuse-native"
27 29
28S = "${WORKDIR}/${BP}-Source" 30S = "${UNPACKDIR}/${BP}-Source"
29 31
30EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON \ 32EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON \
31 -DENABLE_PERL=OFF -DENABLE_PYTHON=OFF \ 33 -DENABLE_PERL=OFF -DENABLE_PYTHON=OFF \
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch
new file mode 100644
index 0000000000..4215f698c7
--- /dev/null
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c/0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch
@@ -0,0 +1,37 @@
1From 02fa96d0d59211e64483273e5253ca45c4395154 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 9 Apr 2025 19:05:55 +0900
4Subject: [PATCH] Fix build error due to bool keyword with gcc-15
5
6* gcc-15 uses gnu23 for c.
7 'bool' is a keyword.
8TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: error: 'bool' cannot be defined via 'typedef'
9 31 | typedef unsigned int bool;
10 | ^~~~
11TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: note: 'bool' is a keyword with '-std=c23' onwards
12TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:1: warning: useless type name in empty declaration
13 31 | typedef unsigned int bool;
14 | ^~~~~~~
15
16Upstream-Status: Submitted [https://github.com/eclipse-paho/paho.mqtt.c/pull/1595]
17Signed-off-by: mark.yang <mark.yang@lge.com>
18Signed-off-by: markyang92 <pllpokko@alumni.kaist.ac.kr>
19
20---
21 src/MQTTPacket.h | 2 ++
22 1 file changed, 2 insertions(+)
23
24diff --git a/src/MQTTPacket.h b/src/MQTTPacket.h
25index fd384ae9..0c64a0f4 100644
26--- a/src/MQTTPacket.h
27+++ b/src/MQTTPacket.h
28@@ -28,7 +28,9 @@
29 #include "LinkedList.h"
30 #include "Clients.h"
31
32+#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
33 typedef unsigned int bool;
34+#endif
35 typedef void* (*pf)(int, unsigned char, char*, size_t);
36
37 #include "MQTTProperties.h"
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb
index 6f229001f6..ad6637ed88 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.13.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.14.bb
@@ -10,13 +10,15 @@ LIC_FILES_CHKSUM = " \
10 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ 10 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
11" 11"
12 12
13SRC_URI = "git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master" 13SRC_URI = " \
14 git://github.com/eclipse/paho.mqtt.c;protocol=https;branch=master \
15 file://0001-Fix-build-error-due-to-bool-keyword-with-gcc-15.patch \
16"
14 17
15SRCREV = "07a875788d8cc6f5833b12581d6e3e349b34d719" 18SRCREV = "2150ba29d9df24ad1733c460eb099f292af84ee5"
16 19
17DEPENDS = "openssl" 20DEPENDS = "openssl"
18 21
19S = "${WORKDIR}/git"
20 22
21inherit cmake 23inherit cmake
22 24
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
deleted file mode 100644
index fba9a8767f..0000000000
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp/0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From 2a0dd2b300242230faa92cf8e26ccd70231bc9ef Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 19 Mar 2022 23:37:58 -0700
4Subject: [PATCH] cmake: Use CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR
5
6This ensures the install paths are not hardcoded.
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11---
12 cmake/CMakeLists.txt | 4 ++--
13 src/samples/CMakeLists.txt | 4 ++--
14 2 files changed, 4 insertions(+), 4 deletions(-)
15
16diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
17index a9f8908..7eadc60 100644
18--- a/cmake/CMakeLists.txt
19+++ b/cmake/CMakeLists.txt
20@@ -11,7 +11,7 @@ export(EXPORT ${package_name}
21 FILE "${CMAKE_CURRENT_BINARY_DIR}/${package_name}Targets.cmake"
22 NAMESPACE ${package_name}::)
23
24-install(EXPORT ${package_name} DESTINATION lib/cmake/${package_name}
25+install(EXPORT ${package_name} DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name}
26 FILE ${package_name}Targets.cmake
27 NAMESPACE ${package_name}::)
28
29@@ -19,4 +19,4 @@ install(FILES
30 "${CMAKE_CURRENT_BINARY_DIR}/${package_name}Config.cmake"
31 FindPahoMqttC.cmake
32 "${CMAKE_CURRENT_BINARY_DIR}/${package_name}ConfigVersion.cmake"
33- DESTINATION lib/cmake/${package_name})
34+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${package_name})
35diff --git a/src/samples/CMakeLists.txt b/src/samples/CMakeLists.txt
36index 3ca0a75..c915cd5 100644
37--- a/src/samples/CMakeLists.txt
38+++ b/src/samples/CMakeLists.txt
39@@ -71,7 +71,7 @@ endforeach()
40
41 ## install binaries
42 install(TARGETS ${EXECUTABLES} EXPORT PahoMqttCppSamples
43- RUNTIME DESTINATION bin
44+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
45 )
46
47 ## Build the SSL/TLS samples, if selected
48@@ -89,7 +89,7 @@ if(PAHO_WITH_SSL)
49 endforeach()
50
51 install(TARGETS ${SSL_EXECUTABLES} EXPORT PahoMqttCppSamples
52- RUNTIME DESTINATION bin
53+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
54 )
55 endif()
56
57--
582.34.1
59
diff --git a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.2.bb b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.5.3.bb
index 1b2e51c3ac..5b4aed3001 100644
--- a/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.3.2.bb
+++ b/meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.5.3.bb
@@ -5,20 +5,17 @@ SECTION = "console/network"
5LICENSE = "EPL-2.0 | EDL-1.0" 5LICENSE = "EPL-2.0 | EDL-1.0"
6 6
7LIC_FILES_CHKSUM = " \ 7LIC_FILES_CHKSUM = " \
8 file://src/mqtt/message.h;beginline=9;endline=18;md5=c5ceecf5ab99d44dcfaaabdce289071b \ 8 file://LICENSE;md5=c0fa3a632eea67f4079c54df781d1441 \
9 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \ 9 file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3 \
10 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \ 10 file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
11" 11"
12 12
13SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=v1.3.x \ 13SRC_URI = "git://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=master;tag=v${PV}"
14 file://0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch \ 14SRCREV = "17ff3dc0270738adc710667be44847eebc038ae0"
15 "
16SRCREV = "5e0d1bf37b4826d680ec066ec42afd133851a681"
17 15
18DEPENDS = "openssl paho-mqtt-c" 16DEPENDS = "openssl paho-mqtt-c"
19 17
20S = "${WORKDIR}/git"
21 18
22inherit cmake 19inherit cmake
23 20
24EXTRA_OECMAKE += "-DPAHO_WITH_SSL=ON" 21EXTRA_OECMAKE += "-DPAHO_WITH_SSL=ON -DPAHO_BUILD_EXAMPLES=OFF"
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
new file mode 100644
index 0000000000..fb793548a2
--- /dev/null
+++ b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
@@ -0,0 +1,52 @@
1From 16974cb6a9f10fbd08db964ee0d9f074ef430db6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Mar 2025 11:55:12 -0800
4Subject: [PATCH] Remove whitespace in operator"" _json
5
6Clang 20+ errors about this whitespace.
7
8Fixes
9git/3rdParty/json/include/json.hpp:24428:58: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
10 24428 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
11 | ~~~~~~~~~~~~^~~~~
12 | operator""_json
13
14Upstream-Status: Backport [ Its fixed in json import post 2024.9 release ]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 3rdParty/json/include/json.hpp | 8 ++++----
18 1 file changed, 4 insertions(+), 4 deletions(-)
19
20diff --git a/3rdParty/json/include/json.hpp b/3rdParty/json/include/json.hpp
21index 60ba1df..6eceb7c 100644
22--- a/3rdParty/json/include/json.hpp
23+++ b/3rdParty/json/include/json.hpp
24@@ -24353,7 +24353,7 @@ inline namespace json_literals
25 /// @brief user-defined string literal for JSON values
26 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
27 JSON_HEDLEY_NON_NULL(1)
28-inline nlohmann::json operator "" _json(const char* s, std::size_t n)
29+inline nlohmann::json operator ""_json(const char* s, std::size_t n)
30 {
31 return nlohmann::json::parse(s, s + n);
32 }
33@@ -24361,7 +24361,7 @@ inline nlohmann::json operator "" _json(const char* s, std::size_t n)
34 /// @brief user-defined string literal for JSON pointer
35 /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/
36 JSON_HEDLEY_NON_NULL(1)
37-inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n)
38+inline nlohmann::json::json_pointer operator ""_json_pointer(const char* s, std::size_t n)
39 {
40 return nlohmann::json::json_pointer(std::string(s, n));
41 }
42@@ -24425,8 +24425,8 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC
43 } // namespace std
44
45 #if JSON_USE_GLOBAL_UDLS
46- using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
47- using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers)
48+ using nlohmann::literals::json_literals::operator ""_json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers)
49+ using nlohmann::literals::json_literals::operator ""_json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers)
50 #endif
51
52 // #include <nlohmann/detail/macro_unscope.hpp>
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-initialize-timespec-variable.patch b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-initialize-timespec-variable.patch
deleted file mode 100644
index f2e210fc67..0000000000
--- a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-initialize-timespec-variable.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From 298dec6f87061914c85049faca3d0ff3310d1794 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 6 May 2024 12:15:30 -0700
4Subject: [PATCH] initialize timespec variable
5
6Fixes build warnings with GCC14
7
8/mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux/pcapplusplus/23.09/git/Packet++/src/RawPacket.cpp: In constructor 'pcpp::RawPacket::RawPacket(const uint8_t*, int, timeval, bool, pcpp::LinkLayerType)':
9/mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux/pcapplusplus/23.09/git/Packet++/src/RawPacket.cpp:23:18: error: 'nsec_time.timespec::<anonymous>' is used uninitialized [-Werror=uninitialized]
10 23 | timespec nsec_time;
11 | ^~~~~~~~~
12cc1plus: all warnings being treated as errors
13
14Upstream-Status: Submitted [https://github.com/seladb/PcapPlusPlus/pull/1389]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 Packet++/src/RawPacket.cpp | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/Packet++/src/RawPacket.cpp b/Packet++/src/RawPacket.cpp
21index 8ad52d52..07dbbbe2 100644
22--- a/Packet++/src/RawPacket.cpp
23+++ b/Packet++/src/RawPacket.cpp
24@@ -20,7 +20,7 @@ void RawPacket::init(bool deleteRawDataAtDestructor)
25
26 RawPacket::RawPacket(const uint8_t* pRawData, int rawDataLen, timeval timestamp, bool deleteRawDataAtDestructor, LinkLayerType layerType)
27 {
28- timespec nsec_time;
29+ timespec nsec_time = {};
30 TIMEVAL_TO_TIMESPEC(&timestamp, &nsec_time);
31 init(deleteRawDataAtDestructor);
32 setRawData(pRawData, rawDataLen, nsec_time, layerType);
33--
342.45.0
35
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-packet-Initialize-m_ExternalRawData-in-IDnsResource-.patch b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-packet-Initialize-m_ExternalRawData-in-IDnsResource-.patch
deleted file mode 100644
index b6389e0e3f..0000000000
--- a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-packet-Initialize-m_ExternalRawData-in-IDnsResource-.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 742f564ee80749e9f1f3363092775545e37c0f87 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 9 May 2024 17:02:09 -0700
4Subject: [PATCH] packet++: Initialize m_ExternalRawData in IDnsResource
5 constructor
6
7Fixes following warning with GCC-14
8
9Packet++/src/DnsResource.cpp:29:24: error: '*this.pcpp::IDnsResource::m_ExternalRawData' may be used uninitialized [-Werror=maybe-uninitialized]
10 29 | return m_ExternalRawData;
11 | ^~~~~~~~~~~~~~~~~
12
13Upstream-Status: Submitted [https://github.com/seladb/PcapPlusPlus/pull/1391]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 Packet++/src/DnsResource.cpp | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/Packet++/src/DnsResource.cpp b/Packet++/src/DnsResource.cpp
20index fec1bf05..c1f97041 100644
21--- a/Packet++/src/DnsResource.cpp
22+++ b/Packet++/src/DnsResource.cpp
23@@ -10,7 +10,7 @@ namespace pcpp
24 {
25
26 IDnsResource::IDnsResource(DnsLayer* dnsLayer, size_t offsetInLayer)
27- : m_DnsLayer(dnsLayer), m_OffsetInLayer(offsetInLayer), m_NextResource(nullptr)
28+ : m_DnsLayer(dnsLayer), m_OffsetInLayer(offsetInLayer), m_NextResource(nullptr), m_ExternalRawData(nullptr)
29 {
30 char decodedName[4096];
31 m_NameLength = decodeName((const char*)getRawData(), decodedName);
32--
332.45.0
34
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb
index 9db0222172..a04102aa42 100644
--- a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_23.09.bb
+++ b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb
@@ -8,12 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
8DEPENDS = "libpcap" 8DEPENDS = "libpcap"
9 9
10SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master \ 10SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master \
11 file://0001-packet-Initialize-m_ExternalRawData-in-IDnsResource-.patch \ 11 file://0001-Remove-whitespace-in-operator-_json.patch \
12 file://0001-initialize-timespec-variable.patch" 12 "
13SRCREV = "4af4b8b04e6d5dd40b8e69cc30c5c1f62e7fe368"
13 14
14SRCREV = "4cf8ed44f9dd145f874dc1dd747dfefcfcab75be"
15
16S = "${WORKDIR}/git"
17 15
18inherit cmake 16inherit cmake
19 17
diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch b/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch
deleted file mode 100644
index dfd1f98759..0000000000
--- a/meta-oe/recipes-connectivity/rabbitmq-c/files/CVE-2023-35789.patch
+++ /dev/null
@@ -1,131 +0,0 @@
1CVE: CVE-2023-35789
2Upstream-Status: Backport [ https://github.com/alanxz/rabbitmq-c/commit/463054383fbeef889b409a7f843df5365288e2a0 ]
3Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
4
5From 463054383fbeef889b409a7f843df5365288e2a0 Mon Sep 17 00:00:00 2001
6From: Christian Kastner <ckk@kvr.at>
7Date: Tue, 13 Jun 2023 14:21:52 +0200
8Subject: [PATCH] Add option to read username/password from file (#781)
9
10* Add option to read username/password from file
11---
12 tools/common.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++
13 1 file changed, 66 insertions(+)
14
15diff --git a/tools/common.c b/tools/common.c
16index 73b47e25..7efe557b 100644
17--- a/tools/common.c
18+++ b/tools/common.c
19@@ -18,6 +18,11 @@
20 #include "compat.h"
21 #endif
22
23+/* For when reading auth data from a file */
24+#define MAXAUTHTOKENLEN 128
25+#define USERNAMEPREFIX "username:"
26+#define PASSWORDPREFIX "password:"
27+
28 void die(const char *fmt, ...) {
29 va_list ap;
30 va_start(ap, fmt);
31@@ -125,6 +130,7 @@ static char *amqp_vhost;
32 static char *amqp_username;
33 static char *amqp_password;
34 static int amqp_heartbeat = 0;
35+static char *amqp_authfile;
36 #ifdef WITH_SSL
37 static int amqp_ssl = 0;
38 static char *amqp_cacert = "/etc/ssl/certs/cacert.pem";
39@@ -147,6 +153,8 @@ struct poptOption connect_options[] = {
40 "the password to login with", "password"},
41 {"heartbeat", 0, POPT_ARG_INT, &amqp_heartbeat, 0,
42 "heartbeat interval, set to 0 to disable", "heartbeat"},
43+ {"authfile", 0, POPT_ARG_STRING, &amqp_authfile, 0,
44+ "path to file containing username/password for authentication", "file"},
45 #ifdef WITH_SSL
46 {"ssl", 0, POPT_ARG_NONE, &amqp_ssl, 0, "connect over SSL/TLS", NULL},
47 {"cacert", 0, POPT_ARG_STRING, &amqp_cacert, 0,
48@@ -158,6 +166,50 @@ struct poptOption connect_options[] = {
49 #endif /* WITH_SSL */
50 {NULL, '\0', 0, NULL, 0, NULL, NULL}};
51
52+void read_authfile(const char *path) {
53+ size_t n;
54+ FILE *fp = NULL;
55+ char token[MAXAUTHTOKENLEN];
56+
57+ if ((amqp_username = malloc(MAXAUTHTOKENLEN)) == NULL ||
58+ (amqp_password = malloc(MAXAUTHTOKENLEN)) == NULL) {
59+ die("Out of memory");
60+ } else if ((fp = fopen(path, "r")) == NULL) {
61+ die("Could not read auth data file %s", path);
62+ }
63+
64+ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL ||
65+ strncmp(token, USERNAMEPREFIX, strlen(USERNAMEPREFIX))) {
66+ die("Malformed auth file (missing username)");
67+ }
68+ strncpy(amqp_username, &token[strlen(USERNAMEPREFIX)], MAXAUTHTOKENLEN);
69+ /* Missing newline means token was cut off */
70+ n = strlen(amqp_username);
71+ if (amqp_username[n - 1] != '\n') {
72+ die("Username too long");
73+ } else {
74+ amqp_username[n - 1] = '\0';
75+ }
76+
77+ if (fgets(token, MAXAUTHTOKENLEN, fp) == NULL ||
78+ strncmp(token, PASSWORDPREFIX, strlen(PASSWORDPREFIX))) {
79+ die("Malformed auth file (missing password)");
80+ }
81+ strncpy(amqp_password, &token[strlen(PASSWORDPREFIX)], MAXAUTHTOKENLEN);
82+ /* Missing newline means token was cut off */
83+ n = strlen(amqp_password);
84+ if (amqp_password[n - 1] != '\n') {
85+ die("Password too long");
86+ } else {
87+ amqp_password[n - 1] = '\0';
88+ }
89+
90+ (void)fgetc(fp);
91+ if (!feof(fp)) {
92+ die("Malformed auth file (trailing data)");
93+ }
94+}
95+
96 static void init_connection_info(struct amqp_connection_info *ci) {
97 ci->user = NULL;
98 ci->password = NULL;
99@@ -237,6 +289,8 @@ static void init_connection_info(struct amqp_connection_info *ci) {
100 if (amqp_username) {
101 if (amqp_url) {
102 die("--username and --url options cannot be used at the same time");
103+ } else if (amqp_authfile) {
104+ die("--username and --authfile options cannot be used at the same time");
105 }
106
107 ci->user = amqp_username;
108@@ -245,11 +299,23 @@ static void init_connection_info(struct amqp_connection_info *ci) {
109 if (amqp_password) {
110 if (amqp_url) {
111 die("--password and --url options cannot be used at the same time");
112+ } else if (amqp_authfile) {
113+ die("--password and --authfile options cannot be used at the same time");
114 }
115
116 ci->password = amqp_password;
117 }
118
119+ if (amqp_authfile) {
120+ if (amqp_url) {
121+ die("--authfile and --url options cannot be used at the same time");
122+ }
123+
124+ read_authfile(amqp_authfile);
125+ ci->user = amqp_username;
126+ ci->password = amqp_password;
127+ }
128+
129 if (amqp_vhost) {
130 if (amqp_url) {
131 die("--vhost and --url options cannot be used at the same time");
diff --git a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.15.0.bb
index ea80ec3344..4fd6302f2c 100644
--- a/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.13.0.bb
+++ b/meta-oe/recipes-connectivity/rabbitmq-c/rabbitmq-c_0.15.0.bb
@@ -4,12 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7e12f6e40e662e039e2f02b4893011ec"
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6SRC_URI = "git://github.com/alanxz/rabbitmq-c.git;branch=master;protocol=https \ 6SRC_URI = "git://github.com/alanxz/rabbitmq-c.git;branch=master;protocol=https \
7 file://CVE-2023-35789.patch \
8" 7"
9# v0.13.0-master 8SRCREV = "84b81cd97a1b5515d3d4b304796680da24c666d8"
10SRCREV = "974d71adceae6d742ae20a4c880d99c131f1460a"
11 9
12S = "${WORKDIR}/git"
13 10
14DEPENDS = "popt openssl" 11DEPENDS = "popt openssl"
15 12
diff --git a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb
index d9cca404d7..02a97cd6e3 100644
--- a/meta-oe/recipes-connectivity/rtorrent/rtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/rtorrent/rtorrent_0.10.0.bb
@@ -6,11 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurses" 6DEPENDS = "autoconf-archive libsigc++-2.0 curl cppunit libtool libtorrent ncurses"
7 7
8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https" 8SRC_URI = "git://github.com/rakshasa/rtorrent;branch=master;protocol=https"
9SRCREV = "d067bd802e44f0e6a747aabcc311ada2175fd550" 9SRCREV = "a88cab6d2e764e22cac232ef8d5af039d41b8280"
10 10
11PV = "0.9.8+git"
12
13S = "${WORKDIR}/git"
14 11
15PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" 12PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
16 13
diff --git a/meta-oe/recipes-connectivity/ser2net/ser2net_4.6.2.bb b/meta-oe/recipes-connectivity/ser2net/ser2net_4.6.5.bb
index f23692816c..59322dae09 100644
--- a/meta-oe/recipes-connectivity/ser2net/ser2net_4.6.2.bb
+++ b/meta-oe/recipes-connectivity/ser2net/ser2net_4.6.5.bb
@@ -11,7 +11,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/ser2net/ser2net/ser2net-${PV}.tar.gz \
11 file://ser2net.service \ 11 file://ser2net.service \
12" 12"
13 13
14SRC_URI[sha256sum] = "63bafcd65bb9270a93b7d5cdde58ccf4d279603ff6d044ac4b484a257cda82ce" 14SRC_URI[sha256sum] = "96dfc3fd06b1bf4d7c1f46d7e8cc1eff555de64f419d76f57bd0346e000f9781"
15 15
16UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/ser2net/files/ser2net" 16UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/ser2net/files/ser2net"
17 17
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
index 9e54968633..e5a3f88867 100644
--- a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
+++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.21.bb
@@ -11,11 +11,10 @@ SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \
11 file://0001-Make-extern-declarations-to-avoid-duplicate-var-defi.patch \ 11 file://0001-Make-extern-declarations-to-avoid-duplicate-var-defi.patch \
12 " 12 "
13 13
14SRC_URI[md5sum] = "6a9f038fb38a49cc3a4f8f14a88fb8af"
15SRC_URI[sha256sum] = "a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084" 14SRC_URI[sha256sum] = "a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084"
16 15
17 16
18S = "${WORKDIR}/${BPN}" 17S = "${UNPACKDIR}/${BPN}"
19 18
20EXTRA_OEMAKE += "LFLAGS='${LDFLAGS}'" 19EXTRA_OEMAKE += "LFLAGS='${LDFLAGS}'"
21 20
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
index e083039232..56af002d0b 100644
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
+++ b/meta-oe/recipes-connectivity/telepathy/telepathy-glib_0.24.1.bb
@@ -5,7 +5,6 @@ DEPENDS = "glib-2.0 dbus hostpython-runtime-native dbus-native dbus-glib libxslt
5LICENSE = "LGPL-2.1-or-later" 5LICENSE = "LGPL-2.1-or-later"
6 6
7SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BP}.tar.gz" 7SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${BP}.tar.gz"
8SRC_URI[md5sum] = "cbeb0a24acc26e7f095be281c324da69"
9SRC_URI[sha256sum] = "9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7f7d5eb" 8SRC_URI[sha256sum] = "9e0df1d8f857e0270cf0b32e2d1ca5a24aa7282873361785d573f72ad7f7d5eb"
10 9
11LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e" 10LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch b/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch
deleted file mode 100644
index 2cd2c78c31..0000000000
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-idle/fix-svc-gtk-doc.h-target.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Upstream-Status: Pending
2
3Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
4--- a/extensions/Makefile.am
5+++ b/extensions/Makefile.am
6@@ -37,8 +37,8 @@ _gen/all.xml: all.xml $(wildcard $(srcdi
7 --xinclude $(tools_dir)/identity.xsl \
8 $< > $@
9
10-extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl
11+extensions.html _gen/svc-gtk-doc.h: _gen/all.xml $(tools_dir)/doc-generator.xsl
12 $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) \
13 $(tools_dir)/doc-generator.xsl \
14 $< > $@
15
diff --git a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb b/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb
deleted file mode 100644
index 039cfc3a89..0000000000
--- a/meta-oe/recipes-connectivity/telepathy/telepathy-idle_0.2.0.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1SUMMARY = "Telepathy IRC connection manager"
2DESCRIPTION = "Telepathy implementation of the Internet Relay Chat protocols."
3HOMEPAGE = "http://telepathy.freedesktop.org/wiki/"
4DEPENDS = "glib-2.0 dbus telepathy-glib openssl libxslt-native"
5LICENSE = "LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
7 file://src/idle.c;beginline=1;endline=19;md5=b06b1e2594423111a1a7910b0eefc7f9"
8
9SRC_URI = "http://telepathy.freedesktop.org/releases/${BPN}/${BPN}-${PV}.tar.gz \
10 file://fix-svc-gtk-doc.h-target.patch"
11SRC_URI[md5sum] = "92a2de5198284cbd3c430b0d1a971a86"
12SRC_URI[sha256sum] = "3013ad4b38d14ee630b8cc8ada5e95ccaa849b9a6fe15d2eaf6d0717d76f2fab"
13
14inherit autotools pkgconfig ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "pythonnative", "", d)}
15
16FILES:${PN} += "${datadir}/telepathy \
17 ${datadir}/dbus-1"
18
19python() {
20 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
21 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
22}
diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb
index 23db052b9e..9c50317eff 100644
--- a/meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb
+++ b/meta-oe/recipes-connectivity/thrift/thrift_0.22.0.bb
@@ -9,8 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c40a383cb3f747e0c7abbf1482f194f0 \
9DEPENDS = "thrift-native boost flex-native bison-native openssl zlib" 9DEPENDS = "thrift-native boost flex-native bison-native openssl zlib"
10 10
11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \ 11SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \
12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch" 12 file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \
13SRC_URI[sha256sum] = "b5d8311a779470e1502c027f428a1db542f5c051c8e1280ccd2163fa935ff2d6" 13 "
14SRC_URI[sha256sum] = "794a0e455787960d9f27ab92c38e34da27e8deeda7a5db0e59dc64a00df8a1e5"
14 15
15BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
16 17
diff --git a/meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb b/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb
index b9ed3d925d..5d0dd6a389 100644
--- a/meta-oe/recipes-connectivity/transmission/transmission_4.0.5.bb
+++ b/meta-oe/recipes-connectivity/transmission/transmission_4.0.6.bb
@@ -4,7 +4,7 @@ HOMEPAGE = "https://transmissionbt.com/"
4LICENSE = "MIT & GPL-2.0-only" 4LICENSE = "MIT & GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=ba8199e739948e198310093de27175fa" 5LIC_FILES_CHKSUM = "file://COPYING;md5=ba8199e739948e198310093de27175fa"
6 6
7DEPENDS = "curl libevent gnutls openssl libtool intltool-native glib-2.0-native" 7DEPENDS = "curl libevent libpsl gnutls openssl libtool intltool-native glib-2.0-native"
8RDEPENDS:${PN}-web = "${PN}" 8RDEPENDS:${PN}-web = "${PN}"
9 9
10SRC_URI = " \ 10SRC_URI = " \
@@ -12,14 +12,15 @@ SRC_URI = " \
12 file://transmission-daemon \ 12 file://transmission-daemon \
13" 13"
14 14
15# Transmission release 4.0.5 15# Transmission release 4.0.6
16SRCREV = "a6fe2a64aa7eca089f96006cf082a12f0cde937f" 16SRCREV = "38c164933e9f77c110b48fe745861c3b98e3d83e"
17 17
18S = "${WORKDIR}/git"
19 18
20inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg 19inherit cmake gettext update-rc.d pkgconfig systemd mime-xdg
21 20
22PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ 21LDFLAGS:append:riscv32 = " -latomic"
22
23PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'gtk', '', d)} \
23 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" 24 ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
24 25
25PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4," 26PACKAGECONFIG[gtk] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF,gtk4 gtkmm4,"
diff --git a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
index 569d6a41cf..5a880ed6d2 100644
--- a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
+++ b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
@@ -14,7 +14,6 @@ PV = "1.1.2+git"
14SRCREV = "01c94c77f59404924f1c46d99c4e5e0c7817281b" 14SRCREV = "01c94c77f59404924f1c46d99c4e5e0c7817281b"
15SRC_URI = "git://github.com/libimobiledevice/usbmuxd;protocol=https;branch=master" 15SRC_URI = "git://github.com/libimobiledevice/usbmuxd;protocol=https;branch=master"
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OECONF += "--without-preflight" 18EXTRA_OECONF += "--without-preflight"
20 19
diff --git a/meta-oe/recipes-connectivity/wifi-test-suite/files/0001-wfa_cmdproc-Store-return-value-into-location.patch b/meta-oe/recipes-connectivity/wifi-test-suite/files/0005-wfa_cmdproc-Store-return-value-into-location.patch
index 074f0fe7bb..074f0fe7bb 100644
--- a/meta-oe/recipes-connectivity/wifi-test-suite/files/0001-wfa_cmdproc-Store-return-value-into-location.patch
+++ b/meta-oe/recipes-connectivity/wifi-test-suite/files/0005-wfa_cmdproc-Store-return-value-into-location.patch
diff --git a/meta-oe/recipes-connectivity/wifi-test-suite/files/0006-make-CFLAGS-appendable.patch b/meta-oe/recipes-connectivity/wifi-test-suite/files/0006-make-CFLAGS-appendable.patch
new file mode 100644
index 0000000000..9d20403866
--- /dev/null
+++ b/meta-oe/recipes-connectivity/wifi-test-suite/files/0006-make-CFLAGS-appendable.patch
@@ -0,0 +1,60 @@
1From ef4ead927f69452c95b80e5bf042f67897f67e9d Mon Sep 17 00:00:00 2001
2From: Alper Ak <alperyasinak1@gmail.com>
3Date: Mon, 23 Jun 2025 15:46:37 +0300
4Subject: [PATCH] Allow extra CFLAGS via EXTRA_CFLAGS variable
5
6This patch introduces an EXTRA_CFLAGS variable to the Makefile, which is
7appended to CFLAGS. This allows users or external build systems to pass
8their additional compiler flags.
9
10Upstream-Status: Submitted [https://github.com/Wi-FiTestSuite/Wi-FiTestSuite-Linux-DUT/pull/61]
11
12Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
13---
14 Makefile.inc | 15 ++++++++-------
15 1 file changed, 8 insertions(+), 7 deletions(-)
16
17diff --git a/Makefile.inc b/Makefile.inc
18index 0094bdf..76729b9 100644
19--- a/Makefile.inc
20+++ b/Makefile.inc
21@@ -22,28 +22,29 @@ UCC=ucc
22 CON=console_src
23 WTG=WTGService
24 MAKE?=make
25+EXTRA_CFLAGS ?=
26
27 # This is for WMM-PS
28 #for Ext TG
29-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -Wall -I../inc
30+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -Wall -I../inc ${EXTRA_CFLAGS}
31
32 ## for WMM-AC, WMM-PS, Voice, PMF, TDLS Test-Bed
33-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -DWFA_STA_TB -Wall -I../inc
34+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -DWFA_STA_TB -Wall -I../inc ${EXTRA_CFLAGS}
35
36 ## for WMM-AC, WMM-PS Test-Bed
37-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_STA_TB -Wall -I../inc
38+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_STA_TB -Wall -I../inc ${EXTRA_CFLAGS}
39
40 ## for non-Test-Bed WMM-AC, WMM-PS and Voice
41-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -Wall -I../inc
42+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -Wall -I../inc ${EXTRA_CFLAGS}
43
44 ## for PC-ENDPOINT
45-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -DWFA_PC_CONSOLE -Wall -I../inc
46+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_VOICE_EXT -DWFA_PC_CONSOLE -Wall -I../inc ${EXTRA_CFLAGS}
47
48 ## for PC-ENDPOINT No Voice
49-#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_PC_CONSOLE -DWFA_STA_TB -Wall -I../inc
50+#CFLAGS = -g -O2 -D_REENTRANT -DWFA_WMM_PS_EXT -DWFA_WMM_AC -DWFA_PC_CONSOLE -DWFA_STA_TB -Wall -I../inc ${EXTRA_CFLAGS}
51
52 # This is for WPA2 as default
53-CFLAGS = -g -O2 -D_REENTRANT -Wall -I../inc
54+CFLAGS = -g -O2 -D_REENTRANT -Wall -I../inc ${EXTRA_CFLAGS}
55
56 DUTLIBS = ../lib/libwfa_dut.a -lpthread
57 CALIBS = ../lib/libwfa_ca.a -lpthread
58--
592.43.0
60
diff --git a/meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb b/meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb
index eda01ca388..357789ad88 100644
--- a/meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb
+++ b/meta-oe/recipes-connectivity/wifi-test-suite/wifi-test-suite_10.10.1.bb
@@ -7,7 +7,6 @@ LICENSE = "ISC"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0542427ed5c315ca34aa09ae7a85ed32" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0542427ed5c315ca34aa09ae7a85ed32"
8SECTION = "test" 8SECTION = "test"
9 9
10S = "${WORKDIR}/git"
11SRCREV = "12e85fbeca8ca21a632d18e55089a8a7606d64aa" 10SRCREV = "12e85fbeca8ca21a632d18e55089a8a7606d64aa"
12SRC_URI = "git://github.com/Wi-FiTestSuite/Wi-FiTestSuite-Linux-DUT.git;branch=master;protocol=https \ 11SRC_URI = "git://github.com/Wi-FiTestSuite/Wi-FiTestSuite-Linux-DUT.git;branch=master;protocol=https \
13 file://0001-Use-toolchain-from-environment-variables.patch \ 12 file://0001-Use-toolchain-from-environment-variables.patch \
@@ -15,7 +14,8 @@ SRC_URI = "git://github.com/Wi-FiTestSuite/Wi-FiTestSuite-Linux-DUT.git;branch=m
15 file://0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch \ 14 file://0003-fix-path-to-usr-sbin-for-script-and-make-script-for-.patch \
16 file://0004-run-ranlib-per-library-and-use-AR.patch \ 15 file://0004-run-ranlib-per-library-and-use-AR.patch \
17 file://fno-common.patch \ 16 file://fno-common.patch \
18 file://0001-wfa_cmdproc-Store-return-value-into-location.patch \ 17 file://0005-wfa_cmdproc-Store-return-value-into-location.patch \
18 file://0006-make-CFLAGS-appendable.patch \
19" 19"
20 20
21# to avoid host path QA error 21# to avoid host path QA error
@@ -38,3 +38,10 @@ do_install () {
38} 38}
39 39
40RDEPENDS:${PN} = "wpa-supplicant" 40RDEPENDS:${PN} = "wpa-supplicant"
41
42# http://errors.yoctoproject.org/Errors/Details/766893/
43# wfa_cmdproc.c:467:68: error: passing argument 3 of 'strtok_r' from incompatible pointer type [-Wincompatible-pointer-types]
44# wfa_cs.c:4175:57: error: initialization of 'caStaGetEventDetails_t *' {aka 'struct ca_sta_get_event_details *'} from incompatible pointer type 'caStaMngServ_t *' {aka 'struct ca_sta_manage_service *'} [-Wincompatible-pointer-types]
45CFLAGS += "-Wno-error=incompatible-pointer-types"
46
47export EXTRA_CFLAGS = "${CFLAGS}"
diff --git a/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb
index 99e3ccacac..165872e2b1 100644
--- a/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb
+++ b/meta-oe/recipes-connectivity/wvdial/wvdial_1.61.bb
@@ -13,12 +13,15 @@ SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.
13 file://typo_pon.wvdial.1.patch \ 13 file://typo_pon.wvdial.1.patch \
14 file://musl-support.patch \ 14 file://musl-support.patch \
15 " 15 "
16SRC_URI[md5sum] = "37e9a2d664effe4efd44c0e1a20136de"
17SRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82" 16SRC_URI[sha256sum] = "99906d9560cbdbc97e1855e7b0a7169f1e11983be3ac539140423f09debced82"
18 17
18# code.google.com/archive page is generated by javascript from JSON and does not
19# allow devtool to find the latest version
20UPSTREAM_VERSION_UNKNOWN = "1"
21
19COMPATIBLE_HOST:libc-musl = "null" 22COMPATIBLE_HOST:libc-musl = "null"
20EXTRA_OEMAKE = "" 23EXTRA_OEMAKE = ""
21export WVLINK="${LD}" 24export WVLINK = "${LD}"
22 25
23PARALLEL_MAKE = "" 26PARALLEL_MAKE = ""
24 27
diff --git a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
index 3453f3e964..4bb4c11d6f 100644
--- a/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
+++ b/meta-oe/recipes-connectivity/wvdial/wvstreams_4.6.1.bb
@@ -25,9 +25,12 @@ SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.
25 file://0001-Fix-narrowing-conversion-error.patch \ 25 file://0001-Fix-narrowing-conversion-error.patch \
26 " 26 "
27 27
28SRC_URI[md5sum] = "2760dac31a43d452a19a3147bfde571c"
29SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633" 28SRC_URI[sha256sum] = "8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633"
30 29
30# The code.google.com/archive page is generated using Javascript from a JSON file and does not
31# allow devtool to find the latest version
32UPSTREAM_VERSION_UNKNOWN = "1"
33
31COMPATIBLE_HOST:libc-musl = "null" 34COMPATIBLE_HOST:libc-musl = "null"
32 35
33inherit autotools-brokensep pkgconfig 36inherit autotools-brokensep pkgconfig
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix/0001-initialize-msghdr-portably.patch b/meta-oe/recipes-connectivity/zabbix/zabbix/0001-initialize-msghdr-portably.patch
deleted file mode 100644
index a7a1dc1986..0000000000
--- a/meta-oe/recipes-connectivity/zabbix/zabbix/0001-initialize-msghdr-portably.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 37b662cf44e14b33e93759d4b129d23095b41372 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Aug 2022 23:55:02 -0700
4Subject: [PATCH] initialize msghdr portably
5
6on linux we have musl as an option for system C library and current
7initialization assumes the structure to be same as glibc, therefore
8initialize the elements of structure instead, so it can work on both
9glibc and musl.
10
11Fixes
12net.c:115:79: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion]
13 struct msghdr s_msg = { (void *)&s_sa, sizeof(struct sockaddr_nl), s_io, 1, NULL, 0, 0};
14 ^~~~
15
16Upstream-Status: Submitted [https://github.com/zabbix/zabbix/pull/77]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/libs/zbxsysinfo/linux/net.c | 12 ++++++++++--
20 1 file changed, 10 insertions(+), 2 deletions(-)
21
22diff --git a/src/libs/zbxsysinfo/linux/net.c b/src/libs/zbxsysinfo/linux/net.c
23index 1425a3604d..98f03de0dd 100644
24--- a/src/libs/zbxsysinfo/linux/net.c
25+++ b/src/libs/zbxsysinfo/linux/net.c
26@@ -114,13 +114,21 @@ static int find_tcp_port_by_state_nl(unsigned short port, int state, int *found)
27
28 struct sockaddr_nl s_sa = { AF_NETLINK, 0, 0, 0 };
29 struct iovec s_io[1] = { { &request, sizeof(request) } };
30- struct msghdr s_msg = { (void *)&s_sa, sizeof(struct sockaddr_nl), s_io, 1, NULL, 0, 0};
31+ struct msghdr s_msg = { 0 };
32+ s_msg.msg_name = (void *)&s_sa;
33+ s_msg.msg_namelen = sizeof(struct sockaddr_nl);
34+ s_msg.msg_iov = s_io;
35+ s_msg.msg_iovlen = 1;
36
37 char buffer[BUFSIZ] = { 0 };
38
39 struct sockaddr_nl r_sa = { AF_NETLINK, 0, 0, 0 };
40 struct iovec r_io[1] = { { buffer, BUFSIZ } };
41- struct msghdr r_msg = { (void *)&r_sa, sizeof(struct sockaddr_nl), r_io, 1, NULL, 0, 0};
42+ struct msghdr r_msg = { 0 };
43+ r_msg.msg_name = (void *)&r_sa;
44+ r_msg.msg_namelen = sizeof(struct sockaddr_nl);
45+ r_msg.msg_iov = r_io;
46+ r_msg.msg_iovlen = 1;
47
48 struct nlmsghdr *r_hdr;
49
50--
512.37.3
52
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_6.2.7.bb b/meta-oe/recipes-connectivity/zabbix/zabbix_7.0.9.bb
index 46c09a02a5..a7c5478b64 100644
--- a/meta-oe/recipes-connectivity/zabbix/zabbix_6.2.7.bb
+++ b/meta-oe/recipes-connectivity/zabbix/zabbix_7.0.9.bb
@@ -17,18 +17,17 @@ organisations with a few servers and for large companies with a \
17multitude of servers." 17multitude of servers."
18HOMEPAGE = "http://www.zabbix.com/" 18HOMEPAGE = "http://www.zabbix.com/"
19SECTION = "Applications/Internet" 19SECTION = "Applications/Internet"
20LICENSE = "GPL-2.0-or-later" 20LICENSE = "AGPL-3.0-only"
21LIC_FILES_CHKSUM = "file://COPYING;md5=300e938ad303147fede2294ed78fe02e" 21LIC_FILES_CHKSUM = "file://COPYING;md5=eb1e647870add0502f8f010b19de32af"
22DEPENDS = "libevent libpcre openldap virtual/libiconv zlib" 22DEPENDS = "libevent libpcre openldap virtual/libiconv zlib"
23 23
24PACKAGE_ARCH = "${MACHINE_ARCH}" 24PACKAGE_ARCH = "${MACHINE_ARCH}"
25 25
26SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/6.2/${BPN}-${PV}.tar.gz \ 26SRC_URI = "https://cdn.zabbix.com/zabbix/sources/stable/7.0/${BPN}-${PV}.tar.gz \
27 file://0001-Fix-configure.ac.patch \ 27 file://0001-Fix-configure.ac.patch \
28 file://0001-initialize-msghdr-portably.patch \
29 file://zabbix-agent.service \ 28 file://zabbix-agent.service \
30" 29"
31SRC_URI[sha256sum] = "6d423810667b948ed22052d9aa84a035e2d4b92cbe8efdb669cac529806b722d" 30SRC_URI[sha256sum] = "8d7755576f30b5d6099ff5e3574549fc248229c017f9753828565174125069f6"
32 31
33inherit autotools-brokensep linux-kernel-base pkgconfig systemd useradd 32inherit autotools-brokensep linux-kernel-base pkgconfig systemd useradd
34 33
diff --git a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb
index dcea339dfd..012dbe5f57 100644
--- a/meta-oe/recipes-connectivity/zeromq/cppzmq_4.10.0.bb
+++ b/meta-oe/recipes-connectivity/zeromq/cppzmq_4.11.0.bb
@@ -4,17 +4,15 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=db174eaf7b55a34a7c89551197f66e94"
5DEPENDS = "zeromq" 5DEPENDS = "zeromq"
6 6
7SRCREV = "c94c20743ed7d4aa37835a5c46567ab0790d4acc" 7SRCREV = "3bcbd9dad2f57180aacd4b4aea292a74f0de7ef4"
8 8
9SRC_URI = "git://github.com/zeromq/cppzmq.git;branch=master;protocol=https" 9SRC_URI = "git://github.com/zeromq/cppzmq.git;branch=master;protocol=https"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake 12inherit cmake
14 13
15EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF" 14EXTRA_OECMAKE = "-DCPPZMQ_BUILD_TESTS=OFF"
16 15
17PACKAGES = "${PN}-dev" 16ALLOW_EMPTY:${PN} = "1"
18 17
19RDEPENDS:${PN}-dev = "zeromq-dev zeromq-staticdev" 18BBCLASSEXTEND = "native nativesdk"
20DEV_PKG_DEPENDENCY = ""
diff --git a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
index 5ae72df862..33a339f5c3 100644
--- a/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
+++ b/meta-oe/recipes-connectivity/zeromq/czmq_4.2.1.bb
@@ -6,10 +6,10 @@ DEPENDS = "zeromq"
6 6
7SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz" 7SRC_URI = "https://github.com/zeromq/czmq/releases/download/v${PV}/czmq-${PV}.tar.gz"
8 8
9SRC_URI[md5sum] = "471e9ec120fc66a2fe2aae14359e3cfa"
10SRC_URI[sha256sum] = "5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39" 9SRC_URI[sha256sum] = "5d720a204c2a58645d6f7643af15d563a712dad98c9d32c1ed913377daa6ac39"
11 10
12UPSTREAM_CHECK_URI = "https://github.com/zeromq/${BPN}/releases" 11UPSTREAM_CHECK_URI = "https://github.com/zeromq/${BPN}/releases"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
13 13
14inherit cmake pkgconfig 14inherit cmake pkgconfig
15 15
diff --git a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
index 555458217a..7569d3200d 100644
--- a/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
+++ b/meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb
@@ -13,6 +13,7 @@ SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}
13SRC_URI[sha256sum] = "6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43" 13SRC_URI[sha256sum] = "6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43"
14 14
15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases" 15UPSTREAM_CHECK_URI = "https://github.com/${BPN}/libzmq/releases"
16UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+\.\d+\.\d+)"
16 17
17inherit cmake ptest pkgconfig 18inherit cmake ptest pkgconfig
18 19
diff --git a/meta-oe/recipes-core/basu/basu_0.2.1.bb b/meta-oe/recipes-core/basu/basu_0.2.1.bb
index 1b4d5a0fe5..330fe1c607 100644
--- a/meta-oe/recipes-core/basu/basu_0.2.1.bb
+++ b/meta-oe/recipes-core/basu/basu_0.2.1.bb
@@ -8,7 +8,6 @@ SRC_URI = "git://git.sr.ht/~emersion/basu;protocol=https;branch=master"
8 8
9DEPENDS += "gperf-native" 9DEPENDS += "gperf-native"
10 10
11S = "${WORKDIR}/git"
12PV = "0.2.1+git" 11PV = "0.2.1+git"
13SRCREV = "a08cf5a575325435040d35710dbac3d0c32b1676" 12SRCREV = "a08cf5a575325435040d35710dbac3d0c32b1676"
14 13
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb
deleted file mode 100644
index e89d1327e8..0000000000
--- a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.1.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SUMMARY = "D-Bus wrapper in C++ for dbus"
2HOMEPAGE = "https://dbus-cxx.github.io/"
3BUGTRACKER = "https://github.com/libsigcplusplus/libsigcplusplus/issues"
4SECTION = "base"
5LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
7
8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
9SRCREV = "732a5becb4349e02ffce407a3fd4d75cc3d82421"
10
11DEPENDS = "\
12 dbus \
13 libsigc++-3 \
14"
15
16RDEPENDS:${PN} = "\
17 dbus \
18 libsigc++-3 \
19"
20
21S = "${WORKDIR}/git"
22
23inherit pkgconfig cmake
24
25OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
diff --git a/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb
new file mode 100644
index 0000000000..0908409e1e
--- /dev/null
+++ b/meta-oe/recipes-core/dbus-cxx/dbus-cxx_2.5.2.bb
@@ -0,0 +1,42 @@
1SUMMARY = "D-Bus implementation in C++"
2HOMEPAGE = "https://dbus-cxx.github.io/"
3BUGTRACKER = "https://github.com/dbus-cxx/dbus-cxx/issues"
4SECTION = "base"
5LICENSE = "LGPL-3.0-or-later | BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=24594f493407a4cd401ce9794e0b9308"
7
8SRC_URI = "git://github.com/dbus-cxx/dbus-cxx.git;branch=master;protocol=https"
9SRCREV = "f2637e726207ecfbdaaf02744e1b36e54f929c9d"
10
11DEPENDS = "libsigc++-3"
12
13RDEPENDS:${PN}:class-target = "${VIRTUAL-RUNTIME_dbus}"
14
15
16inherit pkgconfig cmake
17
18OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
19EXTRA_OECMAKE = "-DBUILD_TESTING=OFF -DTOOLS_BUNDLED_CPPGENERATE=OFF"
20
21PACKAGECONFIG ??= ""
22PACKAGECONFIG:class-native ?= "tools"
23PACKAGECONFIG:class-nativesdk ?= "tools"
24
25PACKAGECONFIG[tools] = "-DENABLE_TOOLS=ON,-DENABLE_TOOLS=OFF,popt cppgenerate dbus"
26PACKAGECONFIG[glib] = "-DENABLE_GLIB_SUPPORT=ON,-DENABLE_GLIB_SUPPORT=OFF,glib-2.0"
27PACKAGECONFIG[uv] = "-DENABLE_UV_SUPPORT=ON,-DENABLE_UV_SUPPORT=OFF,libuv"
28
29PACKAGES =+ " ${PN}-tools ${PN}-glib ${PN}-uv ${PN}-glib-dev ${PN}-uv-dev "
30FILES:${PN}-tools = "${bindir}/dbus-cxx-xml2cpp ${bindir}/dbus-cxx-introspect"
31FILES:${PN}-glib = "${libdir}/libdbus-cxx-glib.so.* "
32FILES:${PN}-glib-dev = "${includedir}/dbus-cxx-glib-2.0/* \
33 ${libdir}/pkgconfig/dbus-cxx-glib-2.0.pc \
34 ${libdir}/libdbus-cxx-glib.so \
35 "
36FILES:${PN}-uv = "${libdir}/libdbus-cxx-uv.so.* "
37FILES:${PN}-uv-dev = "${includedir}/dbus-cxx-uv-2.0/* \
38 ${libdir}/pkgconfig/dbus-cxx-uv-2.0.pc\
39 ${libdir}/libdbus-cxx-uv.so \
40 "
41
42BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_32.bb b/meta-oe/recipes-core/dbus/dbus-broker_32.bb
deleted file mode 100644
index 900b5e3ac8..0000000000
--- a/meta-oe/recipes-core/dbus/dbus-broker_32.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SUMMARY = "dbus broker"
2DESCRIPTION = "Drop-in replacement for dbus-daemon."
3
4SECTION = "base"
5
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
8
9SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz"
10SRC_URI[sha256sum] = "bea7f653e7251063c5f427e9e3f93562d38a0d8667ae6d49fb56f113605985de"
11
12UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases"
13
14inherit meson pkgconfig systemd features_check
15
16DEPENDS = "expat systemd"
17DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)}"
18DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)}"
19
20RDEPENDS:${PN} += "dbus-common"
21
22REQUIRED_DISTRO_FEATURES = "systemd"
23
24SYSTEMD_SERVICE:${PN} = "${BPN}.service"
25
26FILES:${PN} += "${systemd_system_unitdir}"
27FILES:${PN} += "${systemd_user_unitdir}"
28FILES:${PN} += "${nonarch_libdir}/systemd/catalog"
29
30EXTRA_OEMESON += " -Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
31EXTRA_OEMESON += " -Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
32
diff --git a/meta-oe/recipes-core/dbus/dbus-broker_36.bb b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
new file mode 100644
index 0000000000..8c8f2d2469
--- /dev/null
+++ b/meta-oe/recipes-core/dbus/dbus-broker_36.bb
@@ -0,0 +1,38 @@
1SUMMARY = "dbus broker"
2DESCRIPTION = "Drop-in replacement for dbus-daemon."
3SECTION = "base"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
6DEPENDS = "\
7 expat \
8 systemd \
9 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit (>= 3.0)', '', d)} \
10 ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'libselinux (>= 3.2)', '', d)} \
11"
12
13SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/${BP}.tar.xz"
14SRC_URI[sha256sum] = "d333d99bd2688135b6d6961e7ad1360099d186078781c87102230910ea4e162b"
15
16UPSTREAM_CHECK_URI = "https://github.com/bus1/${BPN}/releases"
17UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+)"
18
19SYSTEMD_SERVICE:${PN} = "${BPN}.service"
20
21inherit meson pkgconfig systemd features_check
22
23EXTRA_OEMESON += "-Daudit=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
24EXTRA_OEMESON += "-Dselinux=${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'true', 'false', d)}"
25
26REQUIRED_DISTRO_FEATURES = "systemd"
27
28do_install:append() {
29 install -d ${D}${sysconfdir}/systemd/user
30 ln -s ${systemd_user_unitdir}/dbus-broker.service ${D}${sysconfdir}/systemd/user/dbus.service
31}
32
33RCONFLICTS:${PN} = "dbus"
34RDEPENDS:${PN} += "dbus-common"
35
36FILES:${PN} += "${nonarch_libdir}/systemd/catalog"
37FILES:${PN} += "${systemd_system_unitdir}"
38FILES:${PN} += "${systemd_user_unitdir}"
diff --git a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb
index cbe82d42e7..e99bf28ce5 100644
--- a/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb
+++ b/meta-oe/recipes-core/dbus/dbus-daemon-proxy_git.bb
@@ -8,7 +8,10 @@ PV = "0.0.0+git"
8SRC_URI = "git://github.com/alban/dbus-daemon-proxy;branch=master;protocol=https \ 8SRC_URI = "git://github.com/alban/dbus-daemon-proxy;branch=master;protocol=https \
9 file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \ 9 file://0001-dbus-daemon-proxy-Return-DBUS_HANDLER_RESULT_NOT_YET.patch \
10 " 10 "
11S = "${WORKDIR}/git" 11
12# Upstream repo does not tag
13UPSTREAM_CHECK_COMMITS = "1"
14
12 15
13inherit pkgconfig 16inherit pkgconfig
14 17
diff --git a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
index 8e8f544e8e..e24ebe447a 100644
--- a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
+++ b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
@@ -15,9 +15,11 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/dbus-cplusplus/dbus-c++/${PV}/${BP}.tar
15 file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \ 15 file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \
16 file://0001-pipe.c-Use-a-string-instead-of-char.patch \ 16 file://0001-pipe.c-Use-a-string-instead-of-char.patch \
17 " 17 "
18SRC_URI[md5sum] = "e752116f523fa88ef041e63d3dee4de2"
19SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61" 18SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61"
20 19
20UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dbus-cplusplus/files"
21UPSTREAM_CHECK_REGEX = "libdbus-c---(?P<pver>\d+(\.\d+)+)"
22
21inherit autotools pkgconfig 23inherit autotools pkgconfig
22 24
23EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests" 25EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests"
diff --git a/meta-oe/recipes-core/emlog/emlog.inc b/meta-oe/recipes-core/emlog/emlog.inc
index 631e52f388..ff2a106c6e 100644
--- a/meta-oe/recipes-core/emlog/emlog.inc
+++ b/meta-oe/recipes-core/emlog/emlog.inc
@@ -4,9 +4,11 @@ LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5 5
6SRC_URI = "git://github.com/nicupavel/emlog.git;protocol=https;branch=master" 6SRC_URI = "git://github.com/nicupavel/emlog.git;protocol=https;branch=master"
7SRC_URI += "file://0001-emlog-Do-not-use-no_llseek-with-kernel-6.12.0.patch"
7SRCREV = "a9bbf324fde131ff4cf064e32674086c4ced4dca" 8SRCREV = "a9bbf324fde131ff4cf064e32674086c4ced4dca"
8PV = "0.70+git" 9PV = "0.70+git"
9S = "${WORKDIR}/git" 10
11CVE_PRODUCT = "nicupavel:emlog"
10 12
11EXTRA_OEMAKE += " \ 13EXTRA_OEMAKE += " \
12 CFLAGS='${TARGET_CFLAGS}' \ 14 CFLAGS='${TARGET_CFLAGS}' \
diff --git a/meta-oe/recipes-core/emlog/emlog/0001-Remove-modules_clean-from-clean-target.patch b/meta-oe/recipes-core/emlog/files/0001-Remove-modules_clean-from-clean-target.patch
index beba528b33..beba528b33 100644
--- a/meta-oe/recipes-core/emlog/emlog/0001-Remove-modules_clean-from-clean-target.patch
+++ b/meta-oe/recipes-core/emlog/files/0001-Remove-modules_clean-from-clean-target.patch
diff --git a/meta-oe/recipes-core/emlog/files/0001-emlog-Do-not-use-no_llseek-with-kernel-6.12.0.patch b/meta-oe/recipes-core/emlog/files/0001-emlog-Do-not-use-no_llseek-with-kernel-6.12.0.patch
new file mode 100644
index 0000000000..86f719b0bb
--- /dev/null
+++ b/meta-oe/recipes-core/emlog/files/0001-emlog-Do-not-use-no_llseek-with-kernel-6.12.0.patch
@@ -0,0 +1,32 @@
1From dca01ea62833249d78ac3bdf277b73424bf93e89 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 14 Dec 2024 09:55:10 -0800
4Subject: [PATCH] emlog: Do not use no_llseek with kernel 6.12.0+
5
6no_llseek is finally gone with 6.12-rc1 [1]
7
8[1] https://github.com/torvalds/linux/commit/cb787f4ac0c2e439ea8d7e6387b925f74576bdf8
9
10Upstream-Status: Submitted [https://github.com/nicupavel/emlog/pull/16]
11---
12 emlog.c | 7 ++++++-
13 1 file changed, 6 insertions(+), 1 deletion(-)
14
15diff --git a/emlog.c b/emlog.c
16index 2ead738..b45c72d 100644
17--- a/emlog.c
18+++ b/emlog.c
19@@ -464,7 +464,12 @@ static const struct file_operations emlog_fops = {
20 .open = emlog_open,
21 .release = emlog_release,
22 .poll = emlog_poll,
23- .llseek = no_llseek, /* no_llseek by default introduced at v2.6.37-rc1 */
24+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0)
25+ /* no_llseek by default introduced at v2.6.37-rc1 and
26+ * removed in 6.12.0
27+ */
28+ .llseek = no_llseek,
29+#endif
30 .owner = THIS_MODULE,
31 };
32
diff --git a/meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch b/meta-oe/recipes-core/emlog/files/Drop-use-of-error-h.patch
index 4c5a191ac4..4c5a191ac4 100644
--- a/meta-oe/recipes-core/emlog/emlog/Drop-use-of-error-h.patch
+++ b/meta-oe/recipes-core/emlog/files/Drop-use-of-error-h.patch
diff --git a/meta-oe/recipes-core/emlog/emlog/emlog.initd b/meta-oe/recipes-core/emlog/files/emlog.initd
index 361cf8029e..361cf8029e 100644
--- a/meta-oe/recipes-core/emlog/emlog/emlog.initd
+++ b/meta-oe/recipes-core/emlog/files/emlog.initd
diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.8.bb b/meta-oe/recipes-core/glfw/glfw_3.3.8.bb
index 684355ef3e..8abb13b580 100644
--- a/meta-oe/recipes-core/glfw/glfw_3.3.8.bb
+++ b/meta-oe/recipes-core/glfw/glfw_3.3.8.bb
@@ -14,7 +14,6 @@ PV .= "+git"
14SRCREV = "7482de6071d21db77a7236155da44c172a7f6c9e" 14SRCREV = "7482de6071d21db77a7236155da44c172a7f6c9e"
15SRC_URI = "git://github.com/glfw/glfw.git;branch=3.3-stable;protocol=https" 15SRC_URI = "git://github.com/glfw/glfw.git;branch=3.3-stable;protocol=https"
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF" 18EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
20 19
diff --git a/meta-oe/recipes-core/glib-2.0/glib-testing_0.1.1.bb b/meta-oe/recipes-core/glib-2.0/glib-testing_0.1.1.bb
index ebcc2b267b..97a5592f94 100644
--- a/meta-oe/recipes-core/glib-2.0/glib-testing_0.1.1.bb
+++ b/meta-oe/recipes-core/glib-2.0/glib-testing_0.1.1.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
6SRC_URI = "git://gitlab.gnome.org/pwithnall/libglib-testing.git;protocol=https;branch=main" 6SRC_URI = "git://gitlab.gnome.org/pwithnall/libglib-testing.git;protocol=https;branch=main"
7 7
8PV = "0.1.1" 8PV = "0.1.1"
9S = "${WORKDIR}/git"
10SRCREV = "e326f73a7139c5e54fcf926896ae6e4cc899a1a7" 9SRCREV = "e326f73a7139c5e54fcf926896ae6e4cc899a1a7"
11 10
12inherit meson pkgconfig 11inherit meson pkgconfig
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.80.0.bb b/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.80.0.bb
index a45d31edc2..48a1a2a624 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.80.0.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.80.0.bb
@@ -14,7 +14,7 @@ SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
14 14
15SRC_URI[archive.sha256sum] = "539b0a29e15a96676c4f0594541250566c5ca44da5d4d87a3732fa2d07909e4a" 15SRC_URI[archive.sha256sum] = "539b0a29e15a96676c4f0594541250566c5ca44da5d4d87a3732fa2d07909e4a"
16 16
17S = "${WORKDIR}/${GNOMEBN}-${PV}" 17S = "${UNPACKDIR}/${GNOMEBN}-${PV}"
18 18
19FILES:${PN} = "${libdir}/lib*.so.*" 19FILES:${PN} = "${libdir}/lib*.so.*"
20FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/${BPN}/include/ ${libdir}/${BPN}/proc/ ${libdir}/giomm-2.68/include/" 20FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/${BPN}/include/ ${libdir}/${BPN}/proc/ ${libdir}/giomm-2.68/include/"
diff --git a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.2.bb b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
index c78dd55ca6..7c7a3fafb7 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm_2.66.2.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm_2.66.7.bb
@@ -12,7 +12,7 @@ inherit gnomebase
12 12
13SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" 13SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
14 14
15SRC_URI[archive.sha256sum] = "b2a4cd7b9ae987794cbb5a1becc10cecb65182b9bb841868625d6bbb123edb1d" 15SRC_URI[archive.sha256sum] = "fe02c1e5f5825940d82b56b6ec31a12c06c05c1583cfe62f934d0763e1e542b3"
16 16
17FILES:${PN} = "${libdir}/lib*.so.*" 17FILES:${PN} = "${libdir}/lib*.so.*"
18FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/" 18FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"
@@ -24,7 +24,7 @@ EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross -Dmaintainer-mode=fa
24do_write_config:append() { 24do_write_config:append() {
25 cat >${WORKDIR}/meson-${PN}.cross <<EOF 25 cat >${WORKDIR}/meson-${PN}.cross <<EOF
26[binaries] 26[binaries]
27m4 = '${bindir}/m4' 27m4 = '${bindir_native}/m4'
28perl = '${bindir}/perl' 28perl = '${bindir_native}/perl'
29EOF 29EOF
30} 30}
diff --git a/meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb b/meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb
index da942e8bee..e8e1750b0e 100644
--- a/meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb
+++ b/meta-oe/recipes-core/images/meta-oe-image-ptest-all.bb
@@ -9,7 +9,7 @@ REQUIRED_DISTRO_FEATURES = "ptest"
9require conf/include/ptest-packagelists-meta-oe.inc 9require conf/include/ptest-packagelists-meta-oe.inc
10 10
11# Include the full set of ptests 11# Include the full set of ptests
12PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE} ${PTESTS_PROBLEMS_META_OE}" 12PTESTS_META_OE = "${PTESTS_FAST_META_OE} ${PTESTS_SLOW_META_OE}"
13 13
14do_testimage[noexec] = "1" 14do_testimage[noexec] = "1"
15do_testimage[depends] = "${@' '.join(['meta-oe-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_OE').split()])}" 15do_testimage[depends] = "${@' '.join(['meta-oe-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_OE').split()])}"
diff --git a/meta-oe/recipes-core/libnfc/libnfc_git.bb b/meta-oe/recipes-core/libnfc/libnfc_git.bb
index a97a2841f7..ac3a0d85a4 100644
--- a/meta-oe/recipes-core/libnfc/libnfc_git.bb
+++ b/meta-oe/recipes-core/libnfc/libnfc_git.bb
@@ -9,7 +9,6 @@ inherit autotools pkgconfig
9 9
10PV = "1.8.0+git" 10PV = "1.8.0+git"
11 11
12S = "${WORKDIR}/git"
13SRCREV = "f02ff51449240102c27a97173dc495e8e7789046" 12SRCREV = "f02ff51449240102c27a97173dc495e8e7789046"
14SRC_URI = "git://github.com/nfc-tools/libnfc.git;branch=master;protocol=https" 13SRC_URI = "git://github.com/nfc-tools/libnfc.git;branch=master;protocol=https"
15 14
diff --git a/meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb b/meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb
index b2eb5dd094..3496220fe1 100644
--- a/meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb
+++ b/meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb
@@ -5,10 +5,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
5 5
6DEPENDS = "mm-common" 6DEPENDS = "mm-common"
7 7
8SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.12/libsigc++-${PV}.tar.xz" 8SRC_URI = "${GNOME_MIRROR}/libsigc++/2.12/libsigc++-${PV}.tar.xz"
9SRC_URI[sha256sum] = "a9dbee323351d109b7aee074a9cb89ca3e7bcf8ad8edef1851f4cf359bd50843" 9SRC_URI[sha256sum] = "a9dbee323351d109b7aee074a9cb89ca3e7bcf8ad8edef1851f4cf359bd50843"
10 10
11S = "${WORKDIR}/libsigc++-${PV}" 11UPSTREAM_CHECK_URI = "https://download.gnome.org/sources/libsigc++/2.12/"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
13
14S = "${UNPACKDIR}/libsigc++-${PV}"
12 15
13inherit meson 16inherit meson
14 17
diff --git a/meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb b/meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb
index 0753457c9d..0bfe55fd93 100644
--- a/meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb
+++ b/meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb
@@ -5,15 +5,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=959bffe2993816eb32ec4bc1ec1d5875"
5 5
6DEPENDS = "mm-common" 6DEPENDS = "mm-common"
7 7
8SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libsigc++/3.6/libsigc++-${PV}.tar.xz" 8SRC_URI = "${GNOME_MIRROR}/libsigc++/3.6/libsigc++-${PV}.tar.xz"
9SRC_URI[sha256sum] = "c3d23b37dfd6e39f2e09f091b77b1541fbfa17c4f0b6bf5c89baef7229080e17" 9SRC_URI[sha256sum] = "c3d23b37dfd6e39f2e09f091b77b1541fbfa17c4f0b6bf5c89baef7229080e17"
10 10
11S = "${WORKDIR}/libsigc++-${PV}" 11UPSTREAM_CHECK_URI = "https://download.gnome.org/sources/libsigc++/3.6/"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
13
14S = "${UNPACKDIR}/libsigc++-${PV}"
12 15
13inherit setuptools3 meson 16inherit setuptools3 meson
14 17
15FILES:${PN}-dev += "${libdir}/sigc++-*/" 18FILES:${PN}-dev += "${libdir}/sigc++-*/"
16FILES:${PN}-doc += "${datadir}/devhelp" 19FILES:${PN}-doc += "${datadir}/devhelp"
17 20
18BBCLASSEXTEND = "native" 21BBCLASSEXTEND = "native nativesdk"
19SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" 22SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
diff --git a/meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb b/meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb
index ada0199476..58c2697b9a 100644
--- a/meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb
+++ b/meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb
@@ -11,9 +11,11 @@ DEPENDS = "libxml2 glibmm"
11GNOMEBN = "libxml++" 11GNOMEBN = "libxml++"
12inherit gnomebase ptest 12inherit gnomebase ptest
13 13
14S = "${WORKDIR}/libxml++-${PV}" 14S = "${UNPACKDIR}/libxml++-${PV}"
15 15
16SRC_URI[archive.sha256sum] = "15c38307a964fa6199f4da6683a599eb7e63cc89198545b36349b87cf9aa0098" 16SRC_URI[archive.sha256sum] = "15c38307a964fa6199f4da6683a599eb7e63cc89198545b36349b87cf9aa0098"
17 17
18UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
19
18FILES:${PN}-doc += "${datadir}/devhelp" 20FILES:${PN}-doc += "${datadir}/devhelp"
19FILES:${PN}-dev += "${libdir}/libxml++-${@gnome_verdir("${PV}")}/include/libxml++config.h" 21FILES:${PN}-dev += "${libdir}/libxml++-${@gnome_verdir("${PV}")}/include/libxml++config.h"
diff --git a/meta-oe/recipes-core/mdbus2/mdbus2_git.bb b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
index a7ac358f27..948d50b471 100644
--- a/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
+++ b/meta-oe/recipes-core/mdbus2/mdbus2_git.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/freesmartphone/mdbus.git;protocol=https;branch=maste
11 " 11 "
12SRCREV = "28202692d0b441000f4ddb8f347f72d1355021aa" 12SRCREV = "28202692d0b441000f4ddb8f347f72d1355021aa"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit autotools pkgconfig vala 15inherit autotools pkgconfig vala
17 16
diff --git a/meta-oe/recipes-core/minizip-ng/minizip-ng/0001-crypt.h-Remove-register-keyword.patch b/meta-oe/recipes-core/minizip-ng/minizip-ng/0001-crypt.h-Remove-register-keyword.patch
new file mode 100644
index 0000000000..c471b098d4
--- /dev/null
+++ b/meta-oe/recipes-core/minizip-ng/minizip-ng/0001-crypt.h-Remove-register-keyword.patch
@@ -0,0 +1,35 @@
1From 469beab0747549599959a30188deb3b27df3a346 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 2 Apr 2025 11:19:54 +0800
4Subject: [PATCH] crypt.h: Remove register keyword
5
6Fixes:
7 | In file included from /buildarea/tmp/work/core2-64-poky-linux/minizip-ng/4.0.8/git/test/test_compat.cc:17:
8 | /buildarea/tmp/work/core2-64-poky-linux/minizip-ng/4.0.8/git/compat/crypt.h:62:9: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
9 | 62 | register int keyshift = (int)((*(pkeys + 1)) >> 24);
10 | | ^~~~~~~~
11 | 1 error generated.
12
13Upstream-Status: Submitted [https://github.com/zlib-ng/minizip-ng/pull/853]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16---
17 compat/crypt.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/compat/crypt.h b/compat/crypt.h
21index 41c6454..ccdd83a 100644
22--- a/compat/crypt.h
23+++ b/compat/crypt.h
24@@ -59,7 +59,7 @@ static int update_keys(unsigned long *pkeys, const z_crc_t *pcrc_32_tab, int c)
25 (*(pkeys + 1)) += (*(pkeys + 0)) & 0xff;
26 (*(pkeys + 1)) = (*(pkeys + 1)) * 134775813L + 1;
27 {
28- register int keyshift = (int)((*(pkeys + 1)) >> 24);
29+ int keyshift = (int)((*(pkeys + 1)) >> 24);
30 (*(pkeys + 2)) = CRC32((*(pkeys + 2)), keyshift);
31 }
32 return c;
33--
342.34.1
35
diff --git a/meta-oe/recipes-core/minizip-ng/minizip-ng/run-ptest b/meta-oe/recipes-core/minizip-ng/minizip-ng/run-ptest
new file mode 100644
index 0000000000..9c2dc81e35
--- /dev/null
+++ b/meta-oe/recipes-core/minizip-ng/minizip-ng/run-ptest
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3cd tests && ./gtest_minizip --gtest_print_time=0 | sed -E '/^\[ RUN/d ; s/\[ OK \]/PASS: / ; s/\[ DISABLED \]/SKIP: / ; s/\[ FAILED \]/FAIL: /'
diff --git a/meta-oe/recipes-core/minizip-ng/minizip-ng_4.0.8.bb b/meta-oe/recipes-core/minizip-ng/minizip-ng_4.0.8.bb
new file mode 100644
index 0000000000..cf98c0cf2e
--- /dev/null
+++ b/meta-oe/recipes-core/minizip-ng/minizip-ng_4.0.8.bb
@@ -0,0 +1,44 @@
1SUMMARY = "Zlib manipulation Library"
2DESCRIPTION = "minizip-ng is a zip manipulation library written in C that is supported \
3on Windows, macOS, and Linux."
4HOMEPAGE = "https://github.com/zlib-ng/minizip-ng"
5SECTION = "libs"
6LICENSE = "Zlib"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=36964f044224efeedd694983c34e716f"
8
9SRC_URI = "git://github.com/zlib-ng/minizip-ng.git;protocol=https;branch=master \
10 file://0001-crypt.h-Remove-register-keyword.patch \
11 file://run-ptest \
12"
13
14SRCREV = "55db144e03027b43263e5ebcb599bf0878ba58de"
15
16
17RCONFLICTS:${PN} += "minizip"
18
19DEPENDS = "xz openssl bzip2"
20
21inherit cmake pkgconfig ptest
22
23EXTRA_OECMAKE = "-DMZ_FORCE_FETCH_LIBS=OFF \
24 -DBUILD_SHARED_LIBS=ON \
25"
26
27PACKAGECONFIG ??= "zlib ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'test', '', d)}"
28PACKAGECONFIG[zlib] = "-DMZ_ZLIB=ON,-DMZ_ZLIB=OFF, zlib"
29PACKAGECONFIG[zlib-ng] = "-DMZ_ZLIB=ON,-DMZ_ZLIB=OFF, zlib-ng"
30PACKAGECONFIG[test] = "-DMZ_BUILD_TESTS=ON -DMZ_BUILD_UNIT_TESTS=ON, -DMZ_BUILD_TESTS=OFF -DMZ_BUILD_UNIT_TESTS=OFF, googletest"
31
32
33do_install:append () {
34 # remove absolute paths
35 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/minizip/minizip.cmake
36}
37
38do_install_ptest() {
39 install -d ${D}${PTEST_PATH}/tests
40 cp ${B}/test/gtest_minizip ${D}${PTEST_PATH}/tests
41 # encrypt and stream test need the LICENSE file
42 cp ${S}/LICENSE ${D}${PTEST_PATH}/tests
43}
44
diff --git a/meta-oe/recipes-core/minizip/minizip_1.3.1.bb b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb
new file mode 100644
index 0000000000..56cd28c9ae
--- /dev/null
+++ b/meta-oe/recipes-core/minizip/minizip_1.3.1.bb
@@ -0,0 +1,25 @@
1SUMMARY = "Minizip Compression Library"
2DESCRIPTION = "Minizip is a general-purpose, patent-free, lossless data compression \
3library which is used by many different programs."
4HOMEPAGE = "http://www.winimage.com/zLibDll/minizip.html"
5SECTION = "libs"
6LICENSE = "Zlib"
7LIC_FILES_CHKSUM = "file://zip.h;beginline=14;endline=30;md5=8eaa8535a3a1a2296b303f40f75385e7"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/zlib/${PV}/zlib-${PV}.tar.gz"
10UPSTREAM_CHECK_URI = "http://zlib.net/"
11
12S = "${UNPACKDIR}/zlib-${PV}/contrib/minizip"
13
14SRC_URI[sha256sum] = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23"
15
16PACKAGECONFIG ??= "demos"
17PACKAGECONFIG[demos] = "--enable-demos=yes,,,"
18
19RCONFLICTS:${PN} += "minizip-ng"
20
21DEPENDS = "zlib"
22
23inherit autotools
24
25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-core/mm-common/mm-common/0001-meson.build-do-not-ask-for-python-installation-versi.patch b/meta-oe/recipes-core/mm-common/mm-common/0001-meson.build-do-not-ask-for-python-installation-versi.patch
deleted file mode 100644
index 4866a5fbe0..0000000000
--- a/meta-oe/recipes-core/mm-common/mm-common/0001-meson.build-do-not-ask-for-python-installation-versi.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From af4069263487399be82ee53d48b1edda7f8e594e Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Mon, 4 Nov 2019 19:19:47 +0100
4Subject: [PATCH] meson.build: do not ask for python installation / version
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Even by adding python3-setuptools-native the following error is not fixed so
10just ask for python3 executable.
11
12| meson.build:9:0: ERROR: <ExternalProgram 'python3' -> ['<...>/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools
13
14Upstream-Status: Inappropriate [OE specific]
15
16Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
17
18rebase for 1.0.4
19Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
20
21---
22 meson.build | 7 +------
23 1 file changed, 1 insertion(+), 6 deletions(-)
24
25diff --git a/meson.build b/meson.build
26index 8a18c36..34fd546 100644
27--- a/meson.build
28+++ b/meson.build
29@@ -7,12 +7,7 @@ project('mm-common',
30 # and meson.add_install_script(python3, ...)
31 )
32
33-python3 = import('python').find_installation()
34-python_version = python3.language_version()
35-python_version_req = '>= 3.5'
36-if not python_version.version_compare(python_version_req)
37- error('Requires Python @0@, found @1@.'.format(python_version_req, python_version))
38-endif
39+python3 = import('python3').find_python()
40
41 # Use these instead of meson.source_root() and meson.build_root().
42 # source_root() and build_root() are not useful, if this is a subproject.
43--
442.25.1
45
diff --git a/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb b/meta-oe/recipes-core/mm-common/mm-common_1.0.7.bb
index 56f7b5af6f..cb1b710954 100644
--- a/meta-oe/recipes-core/mm-common/mm-common_1.0.4.bb
+++ b/meta-oe/recipes-core/mm-common/mm-common_1.0.7.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Common GNOME build files for C++ bindings" 1SUMMARY = "Common GNOME build files for C++ bindings"
2LICENSE = "GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=570a9b3749dd0463a1778803b12a6dce"
4 4
5 5
6inherit gnomebase 6inherit gnomebase
@@ -8,10 +8,9 @@ inherit gnomebase
8# All the recipe does is stage python and shell script, some autotools files; nothing is compiled. 8# All the recipe does is stage python and shell script, some autotools files; nothing is compiled.
9inherit allarch 9inherit allarch
10 10
11SRC_URI[archive.sha256sum] = "e954c09b4309a7ef93e13b69260acdc5738c907477eb381b78bb1e414ee6dbd8" 11SRC_URI[archive.sha256sum] = "494abfce781418259b1e9d8888c73af4de4b6f3be36cc75d9baa8baa0f2a7a39"
12SRC_URI += "file://0001-meson.build-do-not-ask-for-python-installation-versi.patch"
13 12
14BBCLASSEXTEND = "native" 13BBCLASSEXTEND = "native nativesdk"
15 14
16# These files aren't very usefull on target image, package them all in nnPN-dev 15# These files aren't very usefull on target image, package them all in nnPN-dev
17FILES:${PN} = "" 16FILES:${PN} = ""
diff --git a/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb b/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb
index 0bb45b8eaf..9c4db7efec 100644
--- a/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb
+++ b/meta-oe/recipes-core/musl-rpmatch/musl-rpmatch_git.bb
@@ -7,6 +7,8 @@ SRC_URI = "gitsm://github.com/pullmoll/musl-rpmatch.git;protocol=https;branch=ma
7PV = "1.0+git" 7PV = "1.0+git"
8SRCREV = "46267b154987d3e1f25d3a75423faa62bb5ee342" 8SRCREV = "46267b154987d3e1f25d3a75423faa62bb5ee342"
9 9
10# Upstream repo has not made releases/tags after 1.0
11UPSTREAM_CHECK_COMMITS = "1"
12
10inherit autotools 13inherit autotools
11 14
12S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-core/ndctl/ndctl_v79.bb b/meta-oe/recipes-core/ndctl/ndctl_v79.bb
index 9a4bc49d12..4014e3bca6 100644
--- a/meta-oe/recipes-core/ndctl/ndctl_v79.bb
+++ b/meta-oe/recipes-core/ndctl/ndctl_v79.bb
@@ -18,14 +18,13 @@ UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)"
18 18
19DEPENDS = "kmod udev json-c keyutils iniparser libtraceevent libtracefs" 19DEPENDS = "kmod udev json-c keyutils iniparser libtraceevent libtracefs"
20 20
21S = "${WORKDIR}/git"
22 21
23EXTRA_OEMESON += "-Ddestructive=enabled -Diniparserdir=${STAGING_INCDIR}/iniparser" 22EXTRA_OEMESON += "-Diniparserdir=${STAGING_INCDIR}/iniparser"
24 23
25PACKAGECONFIG ??= "tests ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" 24PACKAGECONFIG ??= "tests ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
26PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" 25PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
27PACKAGECONFIG[tests] = "-Dtest=enabled, -Dtest=disabled," 26PACKAGECONFIG[tests] = "-Dtest=enabled -Ddestructive=enabled, -Dtest=disabled,"
28PACKAGECONFIG[docs] = "-Ddocs=enabled -Dasciidoctor=enabled,-Ddocs=disabled -Dasciidoctor=disabled, asciidoc-native" 27PACKAGECONFIG[docs] = "-Ddocs=enabled -Dasciidoctor=disabled,-Ddocs=disabled, asciidoc-native xmlto-native"
29 28
30SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" 29SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}"
31SYSTEMD_SERVICE:${PN} = "ndctl-monitor.service daxdev-reconfigure@.service" 30SYSTEMD_SERVICE:${PN} = "ndctl-monitor.service daxdev-reconfigure@.service"
diff --git a/meta-oe/recipes-core/opencl/clpeak_1.1.5.bb b/meta-oe/recipes-core/opencl/clpeak_1.1.5.bb
new file mode 100644
index 0000000000..a765f1530f
--- /dev/null
+++ b/meta-oe/recipes-core/opencl/clpeak_1.1.5.bb
@@ -0,0 +1,14 @@
1SUMMARY = "OpenCL synthetic benchmarking tool"
2DESCRIPTION = "OpenCL benchmarking tool to measure peak capabilities"
3
4SRC_URI = "git://github.com/krrishnarraj/clpeak.git;protocol=https;branch=master"
5
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
8
9SRCREV = "b2e647ffb8f42aa22ce4b0194d6ef6d16d5002b0"
10
11
12inherit cmake
13
14DEPENDS += "opencl-clhpp virtual/opencl-icd"
diff --git a/meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch b/meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch
new file mode 100644
index 0000000000..1654bf48c6
--- /dev/null
+++ b/meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch
@@ -0,0 +1,42 @@
1From 85888592e178c7923cd1bc1d69cee530906c80a4 Mon Sep 17 00:00:00 2001
2From: Ewan Crawford <ewan@codeplay.com>
3Date: Tue, 14 Jan 2025 17:14:29 +0000
4Subject: [PATCH] Command-buffer supported queue properties (#265)
5
6Header update generated from OpenCL-Docs PR XML change
7https://github.com/KhronosGroup/OpenCL-Docs/pull/850
8
9Upstream-Status: Backport [https://github.com/KhronosGroup/OpenCL-Headers/commit/d32c5bb219d7ba90ad4f251cf0bb903c08f8e5db]
10Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
11---
12 CL/cl_ext.h | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/CL/cl_ext.h b/CL/cl_ext.h
16index 1a48985e167b..be5b473ff150 100644
17--- a/CL/cl_ext.h
18+++ b/CL/cl_ext.h
19@@ -52,7 +52,7 @@ extern "C" {
20 "cl_khr_command_buffer"
21
22
23-#define CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION CL_MAKE_VERSION(0, 9, 5)
24+#define CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION CL_MAKE_VERSION(0, 9, 6)
25
26 typedef cl_bitfield cl_device_command_buffer_capabilities_khr;
27 typedef struct _cl_command_buffer_khr* cl_command_buffer_khr;
28@@ -66,13 +66,13 @@ typedef struct _cl_mutable_command_khr* cl_mutable_command_khr;
29
30 /* cl_device_info */
31 #define CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR 0x12A9
32+#define CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR 0x129A
33 #define CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR 0x12AA
34
35 /* cl_device_command_buffer_capabilities_khr - bitfield */
36 #define CL_COMMAND_BUFFER_CAPABILITY_KERNEL_PRINTF_KHR (1 << 0)
37 #define CL_COMMAND_BUFFER_CAPABILITY_DEVICE_SIDE_ENQUEUE_KHR (1 << 1)
38 #define CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR (1 << 2)
39-#define CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR (1 << 3)
40
41 /* cl_command_buffer_properties_khr */
42 #define CL_COMMAND_BUFFER_FLAGS_KHR 0x1293
diff --git a/meta-oe/recipes-core/opencl/files/0001-Ignore-Compiler-Warnings.patch b/meta-oe/recipes-core/opencl/files/0001-Ignore-Compiler-Warnings.patch
new file mode 100644
index 0000000000..2e8b52d794
--- /dev/null
+++ b/meta-oe/recipes-core/opencl/files/0001-Ignore-Compiler-Warnings.patch
@@ -0,0 +1,43 @@
1From 082ce10dd191f036f5a6e1fb31134e9736ba3643 Mon Sep 17 00:00:00 2001
2From: Antonios Christidis <a-christidis@ti.com>
3Date: Fri, 17 Jan 2025 15:05:39 -0600
4Subject: [PATCH] Create CMake option ENABLE_WERROR
5
6This creates an option that can be toggled on or off when configuring the project.
7By default, it's set to ON
8
9Upstream-Status: Pending
10Signed-off-by: Antonios Christidis <a-christidis@ti.com>
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13---
14 CMakeLists.txt | 4 +++-
15 1 file changed, 3 insertions(+), 1 deletion(-)
16
17--- a/CMakeLists.txt
18+++ b/CMakeLists.txt
19@@ -19,6 +19,16 @@ add_definitions(-DCL_USE_DEPRECATED_OPEN
20 add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_0_APIS=1)
21 add_definitions(-DCL_NO_EXTENSION_PROTOTYPES)
22
23+option(ENABLE_WERROR "Enable warnings as errors" ON)
24+
25+if(ENABLE_WERROR)
26+ if(MSVC)
27+ add_compile_options(/WX)
28+ else()
29+ add_compile_options(-Werror)
30+ endif()
31+endif()
32+
33 option(USE_CL_EXPERIMENTAL "Use Experimental definitions" OFF)
34 if(USE_CL_EXPERIMENTAL)
35 add_definitions(-DCL_EXPERIMENTAL)
36@@ -99,7 +109,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_C
37 add_cxx_flag_if_supported(-Wmisleading-indentation)
38 add_cxx_flag_if_supported(-Wunused-function)
39 add_cxx_flag_if_supported(-Wunused-variable)
40- add_cxx_flag_if_supported(-Werror)
41 if(NOT CMAKE_BUILD_TYPE MATCHES "Release|RelWithDebInfo|MinSizeRel")
42 # Enable more warnings if not doing a release build.
43 add_cxx_flag_if_supported(-Wall)
diff --git a/meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb b/meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb
index d43ea281ae..9e32242e31 100644
--- a/meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb
+++ b/meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/OCL-dev/ocl-icd.git;protocol=https;branch=master"
9 9
10SRCREV = "fdde6677b21329432db8b481e2637cd10f7d3cb2" 10SRCREV = "fdde6677b21329432db8b481e2637cd10f7d3cb2"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools 13inherit autotools
15 14
diff --git a/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb b/meta-oe/recipes-core/opencl/opencl-clhpp_2024.10.24.bb
index 7ae0362d37..7335712d6f 100644
--- a/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb
+++ b/meta-oe/recipes-core/opencl/opencl-clhpp_2024.10.24.bb
@@ -1,23 +1,25 @@
1SUMMARY = "OpenCL API C++ bindings" 1SUMMARY = "OpenCL API C++ bindings"
2DESCRIPTION = "OpenCL API C++ bindings from Khronos" 2DESCRIPTION = "OpenCL API C++ bindings from Khronos"
3 3
4SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https;branch=main"
5
6LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
8 6
9PV = "2.0.16+git" 7DEPENDS = "opencl-headers"
10SRCREV = "1df82b9749739f2681081092ae163bb0f0d40f66" 8
9SRCREV = "c7b4aded1cab9560b226041dd962f63375a9a384"
10
11SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https;branch=main"
11 12
12S = "${WORKDIR}/git"
13 13
14inherit cmake 14inherit cmake
15 15
16EXTRA_OECMAKE = " \ 16EXTRA_OECMAKE = " \
17 -DBUILD_DOCS=OFF \ 17 -DBUILD_DOCS=OFF \
18 -DBUILD_EXAMPLES=OFF \ 18 -DBUILD_EXAMPLES=OFF \
19 -DBUILD_TESTS=OFF \ 19 -DBUILD_TESTING=OFF \
20 " 20 "
21 21
22# Headers only so PN is empty 22# Headers only so PN is empty
23RDEPENDS:${PN}-dev = "" 23RDEPENDS:${PN}-dev = ""
24
25BBCLASSEXTEND += "native nativesdk"
diff --git a/meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb b/meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb
new file mode 100644
index 0000000000..c766a66640
--- /dev/null
+++ b/meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb
@@ -0,0 +1,30 @@
1SUMMARY = "OpenCL CTS"
2DESCRIPTION = "OpenCL CTS test suite"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
5
6inherit pkgconfig cmake
7
8DEPENDS += "opencl-headers opencl-icd-loader"
9RDEPENDS:${PN} += "python3-core python3-io"
10
11
12SRC_URI = "git://github.com/KhronosGroup/OpenCL-CTS.git;protocol=https;branch=main;lfs=0 \
13 file://0001-Ignore-Compiler-Warnings.patch"
14
15SRCREV = "5b3518096ca7b82854daadb2b2fae704fe2d9cb5"
16
17EXTRA_OECMAKE:append = " -DENABLE_WERROR=OFF -DCL_INCLUDE_DIR=${STAGING_INCDIR} -DCL_LIB_DIR=${STAGING_LIBDIR} -DOPENCL_LIBRARIES=OpenCL"
18
19SECURITY_STRINGFORMAT:remove = "-Werror=format-security"
20
21do_install() {
22 install -d ${D}${bindir}/opencl_test_conformance
23 cp -r ${B}/test_conformance/* ${D}${bindir}/opencl_test_conformance
24 sed -i 's:/usr/bin/python:/usr/bin/python3:g' ${D}${bindir}/opencl_test_conformance/run_conformance.py
25 find "${D}${bindir}/opencl_test_conformance" -name cmake_install.cmake -type f -delete
26 find "${D}${bindir}/opencl_test_conformance" -name CMakeFiles -type d -exec rm -rf "{}" \; -depth
27}
28
29COMPATIBLE_HOST:riscv64 = "null"
30COMPATIBLE_HOST:riscv32 = "null"
diff --git a/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb b/meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb
index 01e83c812c..0ec2fe5f33 100644
--- a/meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb
+++ b/meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb
@@ -4,16 +4,15 @@ LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5SECTION = "base" 5SECTION = "base"
6 6
7S = "${WORKDIR}/git" 7SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6"
8SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" 8SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https \
9SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" 9 file://0001-Command-buffer-supported-queue-properties-265.patch \
10 "
11
12inherit cmake
13
14EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"
10 15
11do_configure[noexec] = "1"
12do_compile[noexec] = "1"
13ALLOW_EMPTY:${PN} = "1" 16ALLOW_EMPTY:${PN} = "1"
14 17
15do_install () {
16 install -d ${D}${includedir}/CL/
17 install -m 0644 ${S}/CL/*.h ${D}${includedir}/CL
18}
19BBCLASSEXTEND = "native nativesdk" 18BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-core/opencl/opencl-icd-loader_2024.05.08.bb b/meta-oe/recipes-core/opencl/opencl-icd-loader_2024.05.08.bb
index 38db7a2453..7cfc75f5ed 100644
--- a/meta-oe/recipes-core/opencl/opencl-icd-loader_2024.05.08.bb
+++ b/meta-oe/recipes-core/opencl/opencl-icd-loader_2024.05.08.bb
@@ -11,7 +11,6 @@ DEPENDS += "opencl-headers"
11PROVIDES = "virtual/opencl-icd" 11PROVIDES = "virtual/opencl-icd"
12RPROVIDES:${PN} = "virtual-opencl-icd" 12RPROVIDES:${PN} = "virtual-opencl-icd"
13 13
14S = "${WORKDIR}/git"
15 14
16SRCREV = "861b68b290e76d08e7241608479c16431f529945" 15SRCREV = "861b68b290e76d08e7241608479c16431f529945"
17SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git;branch=main;protocol=https" 16SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git;branch=main;protocol=https"
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index bc40f56b99..2055a0ff91 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -7,24 +7,20 @@ PROVIDES = "${PACKAGES}"
7PACKAGES = "\ 7PACKAGES = "\
8 packagegroup-meta-oe \ 8 packagegroup-meta-oe \
9 packagegroup-meta-oe-benchmarks \ 9 packagegroup-meta-oe-benchmarks \
10 packagegroup-meta-oe-bsp \
10 packagegroup-meta-oe-connectivity \ 11 packagegroup-meta-oe-connectivity \
11 packagegroup-meta-oe-connectivity-python2 \
12 packagegroup-meta-oe-core \ 12 packagegroup-meta-oe-core \
13 packagegroup-meta-oe-crypto \ 13 packagegroup-meta-oe-crypto \
14 packagegroup-meta-oe-bsp \
15 packagegroup-meta-oe-dbs \ 14 packagegroup-meta-oe-dbs \
16 packagegroup-meta-oe-dbs-python2 \
17 packagegroup-meta-oe-devtools \ 15 packagegroup-meta-oe-devtools \
18 packagegroup-meta-oe-extended \ 16 packagegroup-meta-oe-extended \
19 packagegroup-meta-oe-extended-python2 \
20 packagegroup-meta-oe-kernel \ 17 packagegroup-meta-oe-kernel \
21 packagegroup-meta-oe-multimedia \ 18 packagegroup-meta-oe-multimedia \
22 packagegroup-meta-oe-navigation \ 19 packagegroup-meta-oe-navigation \
23 packagegroup-meta-oe-printing \ 20 packagegroup-meta-oe-printing \
24 packagegroup-meta-oe-shells \
25 packagegroup-meta-oe-security \ 21 packagegroup-meta-oe-security \
22 packagegroup-meta-oe-shells \
26 packagegroup-meta-oe-support \ 23 packagegroup-meta-oe-support \
27 packagegroup-meta-oe-support-python2 \
28 packagegroup-meta-oe-test \ 24 packagegroup-meta-oe-test \
29 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ 25 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
30 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \ 26 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -36,14 +32,11 @@ RDEPENDS:packagegroup-meta-oe = "\
36 packagegroup-meta-oe-benchmarks \ 32 packagegroup-meta-oe-benchmarks \
37 packagegroup-meta-oe-bsp \ 33 packagegroup-meta-oe-bsp \
38 packagegroup-meta-oe-connectivity \ 34 packagegroup-meta-oe-connectivity \
39 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-connectivity-python2", "", d)} \
40 packagegroup-meta-oe-core \ 35 packagegroup-meta-oe-core \
41 packagegroup-meta-oe-crypto \ 36 packagegroup-meta-oe-crypto \
42 packagegroup-meta-oe-dbs \ 37 packagegroup-meta-oe-dbs \
43 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-dbs-python2", "", d)} \
44 packagegroup-meta-oe-devtools \ 38 packagegroup-meta-oe-devtools \
45 packagegroup-meta-oe-extended \ 39 packagegroup-meta-oe-extended \
46 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-extended-python2", "", d)} \
47 packagegroup-meta-oe-kernel \ 40 packagegroup-meta-oe-kernel \
48 packagegroup-meta-oe-multimedia \ 41 packagegroup-meta-oe-multimedia \
49 packagegroup-meta-oe-navigation \ 42 packagegroup-meta-oe-navigation \
@@ -51,7 +44,6 @@ RDEPENDS:packagegroup-meta-oe = "\
51 packagegroup-meta-oe-security \ 44 packagegroup-meta-oe-security \
52 packagegroup-meta-oe-shells \ 45 packagegroup-meta-oe-shells \
53 packagegroup-meta-oe-support \ 46 packagegroup-meta-oe-support \
54 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "packagegroup-meta-oe-support-python2", "", d)} \
55 packagegroup-meta-oe-test \ 47 packagegroup-meta-oe-test \
56 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \ 48 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-gnome", "", d)} \
57 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \ 49 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "packagegroup-meta-oe-graphics", "", d)} \
@@ -94,7 +86,7 @@ RDEPENDS:packagegroup-meta-oe-benchmarks:remove:mips64el = "tinymembench"
94RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv64 = "libhugetlbfs" 86RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv64 = "libhugetlbfs"
95RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv32 = "libhugetlbfs" 87RDEPENDS:packagegroup-meta-oe-benchmarks:remove:riscv32 = "libhugetlbfs"
96 88
97RDEPENDS:packagegroup-meta-oe-bsp ="\ 89RDEPENDS:packagegroup-meta-oe-bsp = "\
98 acpitool \ 90 acpitool \
99 cpufrequtils \ 91 cpufrequtils \
100 edac-utils \ 92 edac-utils \
@@ -103,10 +95,10 @@ RDEPENDS:packagegroup-meta-oe-bsp ="\
103 fwupd \ 95 fwupd \
104 fwupd-efi \ 96 fwupd-efi \
105 irda-utils \ 97 irda-utils \
98 lmsensors \
106 lmsensors-config-cgi \ 99 lmsensors-config-cgi \
107 lmsensors-config-fancontrol \ 100 lmsensors-config-fancontrol \
108 lmsensors-config-sensord \ 101 lmsensors-config-sensord \
109 lmsensors \
110 lsscsi \ 102 lsscsi \
111 nvme-cli \ 103 nvme-cli \
112 pcmciautils \ 104 pcmciautils \
@@ -123,8 +115,9 @@ RDEPENDS:packagegroup-meta-oe-bsp:remove:powerpc64le = "efivar efibootmgr fwupd
123RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv64 = "efivar efibootmgr fwupd fwupd-efi" 115RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv64 = "efivar efibootmgr fwupd fwupd-efi"
124RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv32 = "efivar efibootmgr fwupd fwupd-efi" 116RDEPENDS:packagegroup-meta-oe-bsp:remove:riscv32 = "efivar efibootmgr fwupd fwupd-efi"
125 117
126RDEPENDS:packagegroup-meta-oe-connectivity ="\ 118RDEPENDS:packagegroup-meta-oe-connectivity = "\
127 cyrus-sasl \ 119 cyrus-sasl \
120 czmq \
128 gammu \ 121 gammu \
129 gattlib \ 122 gattlib \
130 gensio \ 123 gensio \
@@ -148,8 +141,8 @@ RDEPENDS:packagegroup-meta-oe-connectivity ="\
148 modemmanager \ 141 modemmanager \
149 mosh \ 142 mosh \
150 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "obex-data-server", "", d)} \ 143 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "obex-data-server", "", d)} \
151 openobex \
152 obexftp \ 144 obexftp \
145 openobex \
153 packagegroup-tools-bluetooth \ 146 packagegroup-tools-bluetooth \
154 paho-mqtt-c \ 147 paho-mqtt-c \
155 paho-mqtt-cpp \ 148 paho-mqtt-cpp \
@@ -163,45 +156,40 @@ RDEPENDS:packagegroup-meta-oe-connectivity ="\
163 usbmuxd \ 156 usbmuxd \
164 wifi-test-suite \ 157 wifi-test-suite \
165 zabbix \ 158 zabbix \
166 czmq \
167 zeromq \ 159 zeromq \
168" 160"
169 161
170RDEPENDS:packagegroup-meta-oe-connectivity:append:libc-glibc = " wvstreams wvdial" 162RDEPENDS:packagegroup-meta-oe-connectivity:append:libc-glibc = " wvstreams wvdial"
171 163
172RDEPENDS:packagegroup-meta-oe-connectivity-python2 = "\
173 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "telepathy-idle", "", d)} \
174"
175
176# dracut needs dracut 164# dracut needs dracut
177RDEPENDS:packagegroup-meta-oe-core = "\ 165RDEPENDS:packagegroup-meta-oe-core = "\
178 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "dbus-broker", "", d)} \ 166 ${@bb.utils.filter('VIRTUAL-RUNTIME_dbus', 'dbus-broker', d)} \
167 dbus-cxx \
179 dbus-daemon-proxy \ 168 dbus-daemon-proxy \
180 libdbus-c++ \ 169 distro-feed-configs \
181 emlog \ 170 emlog \
182 kernel-module-emlog \
183 glibmm \ 171 glibmm \
172 kernel-module-emlog \
173 libdbus-c++ \
184 libnfc \ 174 libnfc \
185 libsigc++-2.0 \ 175 libsigc++-2.0 \
186 libsigc++-3 \ 176 libsigc++-3 \
187 mdbus2 \ 177 mdbus2 \
188 distro-feed-configs \
189 mm-common \ 178 mm-common \
190 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "ndctl", "", d)} \ 179 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "ndctl", "", d)} \
191 pim435 \ 180 pim435 \
192 proxy-libintl \ 181 proxy-libintl \
193 safec \ 182 safec \
194 sdbus-c++-tools \
195 sdbus-c++ \ 183 sdbus-c++ \
184 sdbus-c++-tools \
196 toybox \ 185 toybox \
197 usleep \ 186 usleep \
198 dbus-cxx \
199" 187"
200RDEPENDS:packagegroup-meta-oe-core:append:libc-glibc = " ${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "glfw", "", d)}" 188RDEPENDS:packagegroup-meta-oe-core:append:libc-glibc = " ${@bb.utils.contains("DISTRO_FEATURES", "x11 opengl", "glfw", "", d)}"
201RDEPENDS:packagegroup-meta-oe-core:remove:riscv64 = "safec" 189RDEPENDS:packagegroup-meta-oe-core:remove:riscv64 = "safec"
202RDEPENDS:packagegroup-meta-oe-core:remove:riscv32 = "safec" 190RDEPENDS:packagegroup-meta-oe-core:remove:riscv32 = "safec"
203 191
204RDEPENDS:packagegroup-meta-oe-crypto ="\ 192RDEPENDS:packagegroup-meta-oe-crypto = "\
205 botan \ 193 botan \
206 cryptsetup \ 194 cryptsetup \
207 fsverity-utils \ 195 fsverity-utils \
@@ -212,8 +200,7 @@ RDEPENDS:packagegroup-meta-oe-crypto ="\
212" 200"
213RDEPENDS:packagegroup-meta-oe-crypto:remove:riscv32 = "botan" 201RDEPENDS:packagegroup-meta-oe-crypto:remove:riscv32 = "botan"
214 202
215RDEPENDS:packagegroup-meta-oe-dbs ="\ 203RDEPENDS:packagegroup-meta-oe-dbs = "\
216 influxdb \
217 leveldb \ 204 leveldb \
218 libdbi \ 205 libdbi \
219 lmdb \ 206 lmdb \
@@ -225,94 +212,89 @@ RDEPENDS:packagegroup-meta-oe-dbs ="\
225" 212"
226RDEPENDS:packagegroup-meta-oe-dbs:remove:libc-musl:powerpc = "rocksdb" 213RDEPENDS:packagegroup-meta-oe-dbs:remove:libc-musl:powerpc = "rocksdb"
227 214
228RDEPENDS:packagegroup-meta-oe-dbs-python2 ="\ 215RDEPENDS:packagegroup-meta-oe-devtools = "\
229 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'mysql-python', '', d), "", d)} \
230"
231
232RDEPENDS:packagegroup-meta-oe-devtools ="\
233 abseil-cpp \ 216 abseil-cpp \
217 android-tools \
218 android-tools-conf \
234 apitrace \ 219 apitrace \
235 breakpad \ 220 breakpad \
236 android-tools-conf \ 221 capnproto-compiler \
237 android-tools \
238 concurrencykit \
239 cgdb \ 222 cgdb \
240 ctags \
241 debootstrap \
242 cjson \ 223 cjson \
243 cloc \ 224 cloc \
244 icon-slicer \ 225 concurrencykit \
245 cscope \ 226 cscope \
227 ctags \
246 dbd-mariadb \ 228 dbd-mariadb \
229 debootstrap \
247 dmalloc \ 230 dmalloc \
248 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnf-plugin-tui", "", d)} \ 231 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnf-plugin-tui", "", d)} \
249 doxygen \ 232 doxygen \
250 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany-plugins geany", "", d)} \
251 jemalloc \
252 lemon \
253 flatbuffers \ 233 flatbuffers \
254 heaptrack \ 234 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany-plugins geany", "", d)} \
255 libparse-yapp-perl \
256 libubox \
257 ltrace \
258 luajit \
259 mcpp \
260 memstat \
261 giflib \ 235 giflib \
262 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "glade", "", d)} \ 236 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "glade", "", d)} \
263 grpc \ 237 grpc \
264 guider \ 238 guider \
265 php \ 239 heaptrack \
240 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "icon-slicer", "", d)} \
241 ipc-run \
266 iptraf-ng \ 242 iptraf-ng \
243 jemalloc \
267 jq \ 244 jq \
268 json-spirit \
269 serialcheck \
270 tclap \
271 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "tk", "", d)} \
272 uw-imap \
273 jsoncpp \ 245 jsoncpp \
274 jsonrpc \ 246 jsonrpc \
275 yajl \ 247 json-schema-validator \
276 yajl \ 248 json-spirit \
277 kconfig-frontends \ 249 kconfig-frontends \
250 lemon \
251 libdbi-perl \
252 libdev-checklib-perl \
278 libgee \ 253 libgee \
254 libio-pty-perl \
255 libjson-perl \
256 libparse-yapp-perl \
257 libperlio-gzip-perl \
279 libsombok3 \ 258 libsombok3 \
259 libubox \
260 libxerces-c \
280 lshw \ 261 lshw \
262 ltrace \
263 luajit \
281 luaposix \ 264 luaposix \
282 capnproto-compiler \ 265 mcpp \
266 memstat \
267 mercurial \
268 microsoft-gsl \
283 mpich \ 269 mpich \
284 msgpack-c \ 270 msgpack-c \
285 msgpack-cpp \ 271 msgpack-cpp \
286 mercurial \
287 nodejs \ 272 nodejs \
288 openocd \ 273 openocd \
289 pax-utils \ 274 pax-utils \
290 ipc-run \ 275 php \
291 libdbi-perl \
292 libdev-checklib-perl \
293 libio-pty-perl \
294 libjson-perl \
295 libperlio-gzip-perl \
296 ply \ 276 ply \
297 protobuf-c \ 277 poke \
298 protobuf \ 278 protobuf \
279 protobuf-c \
299 pugixml \ 280 pugixml \
300 python3-distutils-extra \ 281 python3-distutils-extra \
301 python3-pycups \ 282 python3-pycups \
302 rapidjson \ 283 rapidjson \
284 serialcheck \
303 squashfs-tools-ng \ 285 squashfs-tools-ng \
286 tclap \
287 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "tk", "", d)} \
304 uftrace \ 288 uftrace \
289 uw-imap \
305 valijson \ 290 valijson \
306 libxerces-c \
307 xerces-c-samples \ 291 xerces-c-samples \
308 xmlrpc-c \ 292 xmlrpc-c \
293 yajl \
309 yasm \ 294 yasm \
310 json-schema-validator \
311 poke \
312 microsoft-gsl \
313" 295"
314RDEPENDS:packagegroup-meta-oe-devtools:append:x86 = " cpuid msr-tools pahole pmtools" 296RDEPENDS:packagegroup-meta-oe-devtools:append:x86 = " cpuid msr-tools pahole"
315RDEPENDS:packagegroup-meta-oe-devtools:append:x86-64 = " cpuid msr-tools pahole pcimem pmtools" 297RDEPENDS:packagegroup-meta-oe-devtools:append:x86-64 = " cpuid msr-tools pahole pcimem"
316RDEPENDS:packagegroup-meta-oe-devtools:append:riscv64 = " pcimem" 298RDEPENDS:packagegroup-meta-oe-devtools:append:riscv64 = " pcimem"
317RDEPENDS:packagegroup-meta-oe-devtools:append:arm = " pcimem" 299RDEPENDS:packagegroup-meta-oe-devtools:append:arm = " pcimem"
318RDEPENDS:packagegroup-meta-oe-devtools:append:aarch64 = " pahole pcimem" 300RDEPENDS:packagegroup-meta-oe-devtools:append:aarch64 = " pahole pcimem"
@@ -332,111 +314,111 @@ RDEPENDS:packagegroup-meta-oe-devtools:remove:libc-musl:riscv32 = "php"
332RDEPENDS:packagegroup-meta-oe-devtools:remove:aarch64 = "concurrencykit" 314RDEPENDS:packagegroup-meta-oe-devtools:remove:aarch64 = "concurrencykit"
333RDEPENDS:packagegroup-meta-oe-devtools:remove:x86 = "ply" 315RDEPENDS:packagegroup-meta-oe-devtools:remove:x86 = "ply"
334 316
335RDEPENDS:packagegroup-meta-oe-extended ="\ 317RDEPENDS:packagegroup-meta-oe-extended = "\
336 bitwise \ 318 bitwise \
337 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \ 319 ${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland opengl", "boinc-client", "", d)} \
338 brotli \ 320 brotli \
339 byacc \ 321 byacc \
322 can-utils \
323 canutils \
340 cmatrix \ 324 cmatrix \
341 cmpi-bindings \ 325 cmpi-bindings \
342 collectd \ 326 collectd \
343 ddrescue \ 327 ddrescue \
344 dialog \ 328 dialog \
345 duktape \
346 enscript \
347 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnuplot", "", d)} \
348 dlt-daemon \ 329 dlt-daemon \
349 docopt.cpp \ 330 docopt.cpp \
350 iotop \ 331 duktape \
351 dumb-init \ 332 dumb-init \
352 konkretcmpi \ 333 enscript \
353 figlet \ 334 figlet \
354 libcec \
355 libdivecomputer \
356 fluentbit \ 335 fluentbit \
357 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libgxim", "", d)} \ 336 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gnuplot", "", d)} \
358 liblognorm \
359 libmodbus \
360 haveged \ 337 haveged \
361 hexedit \ 338 hexedit \
362 hiredis \ 339 hiredis \
363 hplip \ 340 hplip \
364 hwloc \ 341 hwloc \
365 libleak \
366 libuio \
367 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libwmf", "", d)} \
368 libyang \
369 lprng \
370 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "icewm", "", d)} \ 342 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "icewm", "", d)} \
371 md5deep \
372 indent \ 343 indent \
373 jansson \ 344 iotop \
374 nana \
375 nicstat \
376 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "openwsman", "", d)} \
377 p7zip \
378 isomd5sum \ 345 isomd5sum \
346 jansson \
379 jpnevulator \ 347 jpnevulator \
380 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "polkit-group-rule-datetime polkit-group-rule-network polkit", "", d)} \ 348 konkretcmpi \
381 rarpd \
382 redis \
383 libfastjson \
384 librelp \
385 sblim-cmpi-devel \
386 sblim-sfc-common \
387 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sblim-sfcb ", "", d)} \
388 sblim-sfcc \
389 libblockdev \ 349 libblockdev \
390 sgpio \ 350 libcec \
391 smartmontools \
392 can-utils \
393 canutils \
394 libsocketcan \
395 libconfig \ 351 libconfig \
396 linuxconsole \ 352 libdivecomputer \
397 uml-utilities \ 353 libfastjson \
354 libfile-fnmatch-perl \
355 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libgxim", "", d)} \
398 libidn \ 356 libidn \
399 libqb \ 357 libleak \
400 wipe \
401 libzip \
402 zram \
403 libplist \
404 libusbmuxd \
405 liblockfile \ 358 liblockfile \
406 liblogging \ 359 liblogging \
360 liblognorm \
361 libmodbus \
362 libplist \
407 libpwquality \ 363 libpwquality \
364 libqb \
365 librelp \
408 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "libreport", "", d)} \ 366 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "libreport", "", d)} \
409 libserialport \ 367 libserialport \
368 libsigrok \
369 libsigrokdecode \
370 libsocketcan \
410 libstatgrab \ 371 libstatgrab \
372 libuio \
373 libusbmuxd \
374 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libwmf", "", d)} \
375 libyang \
376 libzip \
377 linuxconsole \
411 lockfile-progs \ 378 lockfile-progs \
412 logwatch \ 379 logwatch \
380 lprng \
381 md5deep \
413 mraa \ 382 mraa \
383 nana \
384 nicstat \
385 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "openwsman", "", d)} \
414 ostree \ 386 ostree \
387 7zip \
415 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-plugin-ccreds pam-plugin-ldapdb pam-ssh-agent-auth", "", d)} \ 388 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "pam-plugin-ccreds pam-plugin-ldapdb pam-ssh-agent-auth", "", d)} \
416 pegtl \ 389 pegtl \
417 libfile-fnmatch-perl \ 390 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "polkit-group-rule-datetime polkit-group-rule-network polkit", "", d)} \
391 rarpd \
392 redis \
393 redis-plus-plus \
418 rrdtool \ 394 rrdtool \
419 sanlock \ 395 sanlock \
396 sblim-cmpi-devel \
397 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sblim-sfcb ", "", d)} \
398 sblim-sfcc \
399 sblim-sfc-common \
420 scsirastools \ 400 scsirastools \
421 sedutil \ 401 sedutil \
422 libsigrok \ 402 sgpio \
423 libsigrokdecode \
424 s-nail \
425 sigrok-cli \ 403 sigrok-cli \
404 smartmontools \
405 s-nail \
426 snappy \ 406 snappy \
427 tipcutils \ 407 tipcutils \
428 tiptop \ 408 tiptop \
429 tmate \ 409 tmate \
430 tmux \ 410 tmux \
431 triggerhappy \ 411 triggerhappy \
412 uml-utilities \
432 upm \ 413 upm \
433 vlock \ 414 vlock \
434 volume-key \ 415 volume-key \
416 wipe \
435 wxwidgets \ 417 wxwidgets \
436 zlog \ 418 zlog \
419 zram \
437 zstd \ 420 zstd \
438 zsync-curl \ 421 zsync-curl \
439 redis-plus-plus \
440" 422"
441RDEPENDS:packagegroup-meta-oe-extended:append:libc-musl = " libexecinfo" 423RDEPENDS:packagegroup-meta-oe-extended:append:libc-musl = " libexecinfo"
442RDEPENDS:packagegroup-meta-oe-extended:append:x86-64 = " pmdk libx86-1" 424RDEPENDS:packagegroup-meta-oe-extended:append:x86-64 = " pmdk libx86-1"
@@ -451,170 +433,175 @@ RDEPENDS:packagegroup-meta-oe-extended:remove:powerpc64le = "upm mraa sysdig"
451RDEPENDS:packagegroup-meta-oe-extended:remove:riscv64 = "upm libleak mraa sysdig tiptop" 433RDEPENDS:packagegroup-meta-oe-extended:remove:riscv64 = "upm libleak mraa sysdig tiptop"
452RDEPENDS:packagegroup-meta-oe-extended:remove:riscv32 = "upm libleak mraa sysdig tiptop" 434RDEPENDS:packagegroup-meta-oe-extended:remove:riscv32 = "upm libleak mraa sysdig tiptop"
453 435
454RDEPENDS:packagegroup-meta-oe-extended-python2 ="\ 436RDEPENDS:packagegroup-meta-oe-gnome = "\
455 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'openlmi-tools', '', d), "", d)} \
456"
457
458RDEPENDS:packagegroup-meta-oe-gnome ="\
459 atkmm \ 437 atkmm \
460 gcab \ 438 gcab \
461 gnome-common \
462 gmime \ 439 gmime \
463 libjcat \ 440 gnome-common \
441 gnome-theme-adwaita \
464 gtk+ \ 442 gtk+ \
465 gtkmm3 \
466 gtkmm \ 443 gtkmm \
467 ${@bb.utils.contains("DISTRO_FEATURES", "gobject-introspection-data", "libpeas", "", d)} \ 444 gtkmm3 \
445 libjcat \
468 pyxdg \ 446 pyxdg \
469 gnome-theme-adwaita \
470" 447"
471 448
472RDEPENDS:packagegroup-meta-oe-graphics ="\ 449RDEPENDS:packagegroup-meta-oe-graphics = "\
450 bdftopcf \
473 cairomm \ 451 cairomm \
474 directfb-examples \ 452 deqp-runner \
475 directfb \
476 fbgrab \
477 dietsplash \ 453 dietsplash \
454 directfb \
455 directfb-examples \
478 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnfdragora", "", d)} \ 456 ${@bb.utils.contains("PACKAGE_CLASSES", "package_rpm", "dnfdragora", "", d)} \
479 fontforge \ 457 fbgrab \
480 fbida \ 458 fbida \
481 feh \ 459 feh \
460 font-adobe-100dpi \
461 font-adobe-utopia-100dpi \
462 font-bh-100dpi \
463 font-bh-lucidatypewriter-100dpi \
464 font-bitstream-100dpi \
465 font-cursor-misc \
466 fontforge \
467 font-misc-misc \
482 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut", "", d)} \ 468 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "freeglut", "", d)} \
483 ftgl \ 469 ftgl \
484 fvwm \ 470 fvwm \
485 gtkperf \
486 gphoto2 \ 471 gphoto2 \
487 imlib2 \
488 libgphoto2 \
489 graphviz \ 472 graphviz \
473 gtkperf \
490 gtkwave \ 474 gtkwave \
475 iceauth \
476 imlib2 \
491 jasper \ 477 jasper \
492 libforms \
493 lxdm \
494 numlockx \
495 nyancat \
496 obconf \
497 openbox \
498 packagegroup-fonts-truetype \
499 qrencode \
500 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
501 leptonica \ 478 leptonica \
502 libvncserver \ 479 libforms \
480 libgphoto2 \
503 libmng \ 481 libmng \
482 libsdl \
483 libsdl2-image \
484 libsdl2-mixer \
485 libsdl2-net \
486 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libsdl2-ttf", "", d)} \
504 libsdl-gfx \ 487 libsdl-gfx \
505 libsdl-image \ 488 libsdl-image \
506 libsdl-mixer \ 489 libsdl-mixer \
507 libsdl-net \ 490 libsdl-net \
508 libsdl-ttf \ 491 libsdl-ttf \
509 libsdl2-image \ 492 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "libvdpau vdpauinfo", "", d)} \
510 libsdl2-mixer \ 493 libvncserver \
511 libsdl2-net \ 494 libxaw6 \
512 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "libsdl2-ttf", "", d)} \ 495 libxpresent \
513 libsdl \ 496 libyui \
497 libyui-ncurses \
514 lvgl \ 498 lvgl \
515 ttf-arphic-uming \ 499 lxdm \
516 ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif \ 500 numlockx \
517 ttf-abyssinica \ 501 nyancat \
502 obconf \
503 openbox \
504 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", d)} \
505 openjpeg \
506 packagegroup-fonts-truetype \
507 pangomm \
508 parallel-deqp-runner \
509 qrencode \
510 sessreg \
511 setxkbmap \
512 source-code-pro-fonts \
518 source-han-sans-cn-fonts \ 513 source-han-sans-cn-fonts \
519 source-han-sans-jp-fonts \ 514 source-han-sans-jp-fonts \
520 source-han-sans-kr-fonts \ 515 source-han-sans-kr-fonts \
521 source-han-sans-tw-fonts \ 516 source-han-sans-tw-fonts \
522 source-code-pro-fonts \ 517 spirv-shader-generator \
518 spirv-tools \
519 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "st", "", d)} \
520 stalonetray \
521 surf \
522 terminus-font-consolefonts \
523 terminus-font-pcf \
524 tesseract \
525 tesseract-lang \
526 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \
527 tslib \
528 ttf-abyssinica \
529 ttf-arphic-uming \
530 ttf-dejavu-common \
531 ttf-dejavu-mathtexgyre \
523 ttf-dejavu-sans \ 532 ttf-dejavu-sans \
524 ttf-dejavu-sans-condensed \ 533 ttf-dejavu-sans-condensed \
525 ttf-dejavu-sans-mono \ 534 ttf-dejavu-sans-mono \
526 ttf-dejavu-serif \ 535 ttf-dejavu-serif \
527 ttf-dejavu-serif-condensed \ 536 ttf-dejavu-serif-condensed \
528 ttf-dejavu-mathtexgyre \ 537 ttf-droid-sans \
529 ttf-dejavu-common \ 538 ttf-droid-sans-fallback \
539 ttf-droid-sans-japanese \
540 ttf-droid-sans-mono \
541 ttf-droid-serif \
530 ttf-gentium \ 542 ttf-gentium \
531 ttf-hunky-sans \ 543 ttf-hunky-sans \
532 ttf-hunky-serif \ 544 ttf-hunky-serif \
533 ttf-ipag ttf-ipagp ttf-ipamp ttf-ipam \
534 ttf-lohit \
535 ttf-inconsolata \ 545 ttf-inconsolata \
536 ttf-liberation-sans-narrow \ 546 ttf-ipag \
547 ttf-ipagp \
548 ttf-ipam \
549 ttf-ipamp \
537 ttf-liberation-mono \ 550 ttf-liberation-mono \
538 ttf-liberation-sans \ 551 ttf-liberation-sans \
552 ttf-liberation-sans-narrow \
539 ttf-liberation-serif \ 553 ttf-liberation-serif \
540 ttf-lklug \ 554 ttf-lklug \
555 ttf-lohit \
541 ttf-noto-emoji-color \ 556 ttf-noto-emoji-color \
542 ttf-noto-emoji-regular \ 557 ttf-noto-emoji-regular \
558 ttf-pt-sans \
559 ttf-roboto \
543 ttf-sazanami-gothic \ 560 ttf-sazanami-gothic \
544 ttf-sazanami-mincho \ 561 ttf-sazanami-mincho \
545 ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho \ 562 ttf-takao-gothic \
563 ttf-takao-mincho \
564 ttf-takao-pgothic \
565 ttf-takao-pmincho \
546 ttf-tlwg \ 566 ttf-tlwg \
547 ttf-roboto \
548 ttf-wqy-zenhei \
549 ttf-pt-sans \
550 ttf-vlgothic \
551 ttf-ubuntu-mono \ 567 ttf-ubuntu-mono \
552 ttf-ubuntu-sans \ 568 ttf-ubuntu-sans \
553 libyui-ncurses \ 569 ttf-vlgothic \
554 libyui \ 570 ttf-wqy-zenhei \
555 x11vnc \
556 terminus-font-consolefonts \
557 terminus-font-pcf \
558 xdotool \
559 xkbevd \
560 bdftopcf \
561 iceauth \
562 sessreg \
563 xgamma \
564 setxkbmap \
565 xkbutils \
566 twm \ 571 twm \
572 unclutter-xfixes \
573 ${@bb.utils.contains("DISTRO_FEATURES", "opengl vulkan", "vulkan-cts", "", d)} \
574 x11vnc \
575 xcb-util-cursor \
567 xclock \ 576 xclock \
577 xcursorgen \
578 xdotool \
579 xf86-input-tslib \
580 xf86-input-void \
581 xf86-video-armsoc \
582 xf86-video-ati \
568 xfontsel \ 583 xfontsel \
584 xgamma \
585 xkbevd \
569 xkbprint \ 586 xkbprint \
587 xkbutils \
570 xlsatoms \ 588 xlsatoms \
571 xlsclients \ 589 xlsclients \
572 xlsfonts \ 590 xlsfonts \
573 xmag \ 591 xmag \
574 xmessage \ 592 xmessage \
593 xorg-fonts-100dpi \
594 xorg-sgml-doctools \
575 xrdb \ 595 xrdb \
576 xrefresh \ 596 xrefresh \
597 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \
577 xsetroot \ 598 xsetroot \
578 xstdcmap \ 599 xstdcmap \
579 xterm \ 600 xterm \
580 xwd \ 601 xwd \
581 xwud \ 602 xwud \
582 xorg-sgml-doctools \
583 xf86-input-tslib \
584 xf86-input-void \
585 xf86-video-armsoc \
586 xf86-video-ati \
587 font-adobe-100dpi \
588 font-adobe-utopia-100dpi \
589 font-bh-100dpi \
590 font-bh-lucidatypewriter-100dpi \
591 font-bitstream-100dpi \
592 font-cursor-misc \
593 font-misc-misc \
594 xorg-fonts-100dpi \
595 libxaw6 \
596 libxpresent \
597 xcb-util-cursor \
598 xserver-common \
599 openjpeg \
600 pangomm \
601 spirv-shader-generator \
602 spirv-tools \
603 stalonetray \
604 surf \
605 tesseract-lang \
606 tesseract \
607 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "tigervnc", "", d)} \
608 tslib \
609 unclutter-xfixes \
610 libvdpau \
611 xcursorgen \
612 ${@bb.utils.contains("DISTRO_FEATURES", "x11 pam", "xscreensaver", "", d)} \
613 yad \ 603 yad \
614 ydotool \ 604 ydotool \
615 parallel-deqp-runner \
616 ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "opengl-es-cts", "", d)} \
617 ${@bb.utils.contains("DISTRO_FEATURES", "opengl vulkan", "vulkan-cts", "", d)} \
618" 605"
619RDEPENDS:packagegroup-meta-oe-graphics:append:x86 = " renderdoc xf86-video-nouveau xf86-video-mga" 606RDEPENDS:packagegroup-meta-oe-graphics:append:x86 = " renderdoc xf86-video-nouveau xf86-video-mga"
620RDEPENDS:packagegroup-meta-oe-graphics:append:x86-64 = " renderdoc xf86-video-nouveau xf86-video-mga" 607RDEPENDS:packagegroup-meta-oe-graphics:append:x86-64 = " renderdoc xf86-video-nouveau xf86-video-mga"
@@ -623,12 +610,12 @@ RDEPENDS:packagegroup-meta-oe-graphics:append:aarch64 = " renderdoc"
623 610
624RDEPENDS:packagegroup-meta-oe-graphics:remove:libc-musl = "renderdoc" 611RDEPENDS:packagegroup-meta-oe-graphics:remove:libc-musl = "renderdoc"
625 612
626RDEPENDS:packagegroup-meta-oe-kernel ="\ 613RDEPENDS:packagegroup-meta-oe-kernel = "\
627 agent-proxy \ 614 agent-proxy \
628 crash \ 615 broadcom-bt-firmware \
629 cpupower \ 616 cpupower \
617 crash \
630 ipmitool \ 618 ipmitool \
631 broadcom-bt-firmware \
632 kernel-selftest \ 619 kernel-selftest \
633 minicoredumper \ 620 minicoredumper \
634 oprofile \ 621 oprofile \
@@ -645,282 +632,274 @@ RDEPENDS:packagegroup-meta-oe-kernel:append:powerpc64 = " libpfm4"
645RDEPENDS:packagegroup-meta-oe-kernel:remove = "kernel-selftest" 632RDEPENDS:packagegroup-meta-oe-kernel:remove = "kernel-selftest"
646RDEPENDS:packagegroup-meta-oe-kernel:remove:libc-musl = "bpftool crash intel-speed-select kernel-selftest minicoredumper turbostat" 633RDEPENDS:packagegroup-meta-oe-kernel:remove:libc-musl = "bpftool crash intel-speed-select kernel-selftest minicoredumper turbostat"
647 634
648RDEPENDS:packagegroup-meta-oe-kernel:remove:mipsarcho32 = "makedumpfile"
649RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64 = "crash" 635RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64 = "crash"
650RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64el = "crash" 636RDEPENDS:packagegroup-meta-oe-kernel:remove:mips64el = "crash"
651 637
652RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv64 = "crash oprofile" 638RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv64 = "crash oprofile"
653RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv32 = "crash makedumpfile oprofile" 639RDEPENDS:packagegroup-meta-oe-kernel:remove:riscv32 = "crash oprofile"
654 640
655RDEPENDS:packagegroup-meta-oe-multimedia ="\ 641RDEPENDS:packagegroup-meta-oe-multimedia = "\
656 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "faad2", "", d)} \ 642 a2jmidid \
643 audiofile \
657 dirsplit \ 644 dirsplit \
645 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "faad2", "", d)} \
658 genisoimage \ 646 genisoimage \
659 icedax \ 647 icedax \
660 wodim \
661 id3lib \ 648 id3lib \
662 audiofile \
663 a2jmidid \
664 jack-server \ 649 jack-server \
665 jack-utils \ 650 jack-utils \
666 libass \ 651 libass \
667 libcdio-paranoia \
668 libcdio \ 652 libcdio \
653 libcdio-paranoia \
654 libdvdread \
669 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "libmad", "", d)} \ 655 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "libmad", "", d)} \
656 libmikmod \
670 libmms \ 657 libmms \
671 libdvdread \ 658 libmodplug \
672 libopus \ 659 libopus \
660 libopusenc \
661 libvpx \
673 live555-examples \ 662 live555-examples \
674 live555-mediaserver \ 663 live555-mediaserver \
675 libmikmod \ 664 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "mpv", "", d)} \
676 libmodplug \ 665 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pavucontrol", "", d)} \
677 sound-theme-freedesktop \ 666 sound-theme-freedesktop \
678 yavta \
679 v4l-utils \ 667 v4l-utils \
680 wavpack \ 668 wavpack \
681 libvpx \ 669 wodim \
682 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xsp", "", d)} \ 670 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "xsp", "", d)} \
683 ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "mpv", "", d)} \ 671 yavta \
684 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pavucontrol", "", d)} \
685 libopusenc \
686" 672"
687 673
688RDEPENDS:packagegroup-meta-oe-navigation ="\ 674RDEPENDS:packagegroup-meta-oe-navigation = "\
675 geoclue \
689 geos \ 676 geos \
690 ${@bb.utils.contains("DISTRO_FEATURES", "bluz4", "gpsd-machine-conf gpsd", "", d)} \ 677 ${@bb.utils.contains("DISTRO_FEATURES", "bluz4", "gpsd-machine-conf gpsd", "", d)} \
691 geoclue \
692 libspatialite \ 678 libspatialite \
693 proj \ 679 proj \
694" 680"
695 681
696RDEPENDS:packagegroup-meta-oe-printing ="\ 682RDEPENDS:packagegroup-meta-oe-printing = "\
697 cups-filters \ 683 cups-filters \
698 gutenprint \ 684 gutenprint \
699 qpdf \ 685 qpdf \
700" 686"
701 687
702RDEPENDS:packagegroup-meta-oe-security ="\ 688RDEPENDS:packagegroup-meta-oe-security = "\
689 auditd \
703 keyutils \ 690 keyutils \
704 nmap \ 691 nmap \
705 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "passwdqc", "", d)} \ 692 ${@bb.utils.contains("DISTRO_FEATURES", "pam", "passwdqc", "", d)} \
706 softhsm \ 693 softhsm \
707 tomoyo-tools \ 694 tomoyo-tools \
708 auditd \
709" 695"
710 696
711RDEPENDS:packagegroup-meta-oe-shells ="\ 697RDEPENDS:packagegroup-meta-oe-shells = "\
712 dash \ 698 dash \
713 mksh \ 699 mksh \
714 tcsh \ 700 tcsh \
715 zsh \ 701 zsh \
716" 702"
717 703
718RDEPENDS:packagegroup-meta-oe-support ="\ 704RDEPENDS:packagegroup-meta-oe-support = "\
719 anthy \
720 atop \
721 ace-cloud-editor \ 705 ace-cloud-editor \
722 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "driverctl", "", d)} \ 706 anthy \
723 frame \
724 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \
725 grail \
726 asio \ 707 asio \
708 atop \
727 augeas \ 709 augeas \
728 avro-c \ 710 avro-c \
729 bdwgc \ 711 bdwgc \
730 c-ares \ 712 c-ares \
713 ccid \
714 ckermit \
715 clinfo \
731 cmark \ 716 cmark \
732 ${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \ 717 ${@bb.utils.contains("DISTRO_FEATURES", "polkit gobject-introspection-data", "colord", "", d)} \
733 consolation \ 718 consolation \
734 cpprest \ 719 c-periphery \
735 ctapi-common \ 720 ctapi-common \
721 daemonize \
722 daemontools \
723 devmem2 \
736 dfu-util \ 724 dfu-util \
737 dhex \ 725 dhex \
738 digitemp \ 726 digitemp \
739 dool \ 727 dool \
728 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "driverctl", "", d)} \
729 eject \
730 emacs \
731 enca \
732 epeg \
740 espeak \ 733 espeak \
741 evemu-tools \ 734 evemu-tools \
742 exiv2 \ 735 exiv2 \
743 libnice \ 736 fbset \
744 c-periphery \ 737 fbset-modes \
738 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "fltk", "", d)} \
739 frame \
740 freerdp \
745 function2 \ 741 function2 \
742 funyahoo-plusplus \
746 gd \ 743 gd \
744 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "geis", "", d)} \
745 gengetopt \
747 gflags \ 746 gflags \
748 glog \ 747 glog \
748 googlebenchmark \
749 gperftools \ 749 gperftools \
750 gpm \ 750 gpm \
751 gradm \
752 grail \
753 gsl \
751 gsoap \ 754 gsoap \
755 hddtemp \
752 hdf5 \ 756 hdf5 \
757 hidapi \
753 hstr \ 758 hstr \
754 htop \ 759 htop \
755 hunspell-dictionaries \
756 hunspell \ 760 hunspell \
757 hwdata \ 761 hunspell-dictionaries \
758 iksemel \ 762 icyque \
759 gengetopt \
760 googlebenchmark \
761 imagemagick \ 763 imagemagick \
764 imapfilter \
762 iniparser \ 765 iniparser \
763 inotify-tools \ 766 inotify-tools \
764 joe \ 767 joe \
765 lcms \ 768 lcms \
766 lcov \ 769 lcov \
767 imapfilter \ 770 libatasmart \
768 libbytesize \ 771 libbytesize \
772 libcanberra \
773 libcereal \
769 libcyusbserial \ 774 libcyusbserial \
775 libdevmapper \
770 libestr \ 776 libestr \
771 libfann \ 777 libfann \
772 libftdi \ 778 libftdi \
773 libjs-jquery-globalize \
774 libjs-jquery-cookie \
775 ccid \
776 zchunk \
777 libgpiod \
778 libmanette \
779 ckermit \
780 libcereal \
781 daemontools \
782 libiio \
783 devmem2 \
784 libgit2 \ 779 libgit2 \
780 libgpiod \
781 libgusb \
785 libharu \ 782 libharu \
786 eject \ 783 libiio \
787 enca \ 784 libinih \
788 epeg \ 785 libjs-jquery-cookie \
786 libjs-jquery-globalize \
787 libjs-jquery-icheck \
788 libjs-sizzle \
789 libmanette \
790 libmicrohttpd \
791 libmimetic \
789 libmxml \ 792 libmxml \
790 fbset-modes \ 793 libnice \
791 fbset \ 794 liboauth \
792 liboop \ 795 liboop \
793 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "fltk", "", d)} \ 796 libotr \
794 freerdp \
795 libgusb \
796 emacs \
797 libp11 \ 797 libp11 \
798 libraw1394 \ 798 libraw1394 \
799 gradm \
800 gsl \
801 librsync \ 799 librsync \
802 hddtemp \ 800 libsass \
803 hidapi \ 801 libsmi \
804 libsoc \ 802 libsoc \
805 libmimetic \ 803 libssh \
806 libinih \ 804 libssh2 \
807 libtar \ 805 libtar \
808 libteam \ 806 libteam \
807 libtinyxml \
808 libtinyxml2 \
809 liburing \
809 libusb-compat \ 810 libusb-compat \
810 libatasmart \ 811 libusbg \
811 libcanberra \
812 libssh \
813 libssh2 \
814 libee \
815 libusbgx-config \
816 libusbgx \ 812 libusbgx \
813 libusbgx-config \
814 libutempter \
815 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "links-x11", "links", d)} \
817 lockdev \ 816 lockdev \
817 log4c \
818 log4cpp \
818 logwarn \ 819 logwarn \
819 libjs-sizzle \ 820 lvm2 \
820 liblinebreak \
821 mailcap \ 821 mailcap \
822 liboauth \ 822 mbuffer \
823 mg \ 823 mg \
824 mime-support \
825 minini \
824 monit \ 826 monit \
825 mscgen \ 827 mscgen \
826 libsmi \ 828 multipath-tools \
827 remmina \ 829 nano \
828 neon \ 830 neon \
829 nmon \ 831 nmon \
830 libjs-jquery-icheck \
831 libtinyxml \
832 libusbg \
833 libutempter \
834 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "links-x11", "links", d)} \
835 log4c \
836 log4cpp \
837 nspr \ 832 nspr \
838 libdevmapper \
839 lvm2 \
840 nss \ 833 nss \
841 mbuffer \
842 onig \
843 mime-support \
844 minini \
845 multipath-tools \
846 numactl \ 834 numactl \
847 clinfo \ 835 onig \
848 opencv \
849 opensc \
850 openct \ 836 openct \
837 opencv \
851 openldap \ 838 openldap \
852 wbxml2 \ 839 opensc \
853 p910nd \ 840 p910nd \
854 libtinyxml2 \ 841 pcp \
842 pcsc-lite \
843 pcsc-tools \
855 picocom \ 844 picocom \
856 funyahoo-plusplus \
857 icyque \
858 libotr \
859 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \
860 pidgin \ 845 pidgin \
861 purple-skypeweb \ 846 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "pidgin-otr", "", d)} \
862 pidgin-sipe \ 847 pidgin-sipe \
863 pngcheck \ 848 pngcheck \
864 poco \ 849 poco \
865 poppler-data \
866 poppler \ 850 poppler \
851 poppler-data \
867 portaudio-v19 \ 852 portaudio-v19 \
853 pps-tools \
868 procmail \ 854 procmail \
869 pxaregs \ 855 purple-skypeweb \
870 pv \ 856 pv \
871 rsnapshot \ 857 pxaregs \
872 pps-tools \
873 raptor2 \ 858 raptor2 \
874 rdfind \ 859 rdfind \
875 re2 \ 860 re2 \
861 read-edid \
862 remmina \
863 rsnapshot \
864 sassc \
865 satyr \
876 sdmon \ 866 sdmon \
877 sdparm \ 867 sdparm \
878 serial-forward \ 868 serial-forward \
879 read-edid \ 869 sg3-utils \
880 spitools \ 870 sharutils \
881 libsass \
882 sassc \
883 smarty \ 871 smarty \
872 spitools \
873 srecord \
874 ssiapi \
875 stm32flash \
884 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \ 876 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "synergy", "", d)} \
885 syslog-ng \ 877 syslog-ng \
886 system-config-keyboard \
887 tbb \ 878 tbb \
888 satyr \ 879 tokyocabinet \
889 pcp \
890 pcsc-lite \
891 pcsc-tools \
892 sharutils \
893 sg3-utils \
894 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "uim", "", d)} \
895 uchardet \
896 srecord \
897 ssiapi \
898 tree \ 880 tree \
899 utouch-evemu \ 881 uchardet \
900 utouch-frame \
901 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "utouch-mtview", "", d)} \
902 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "udisks2", "", d)} \ 882 ${@bb.utils.contains("DISTRO_FEATURES", "polkit", "udisks2", "", d)} \
903 stm32flash \
904 tokyocabinet \
905 xmlstarlet \
906 thin-provisioning-tools \
907 uhubctl \ 883 uhubctl \
908 zile \ 884 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "uim", "", d)} \
885 unicode-ucd \
909 unixodbc \ 886 unixodbc \
910 daemonize \
911 upower \ 887 upower \
912 unicode-ucd \
913 xdelta3 \
914 uriparser \ 888 uriparser \
915 nano \ 889 usb-modeswitch \
890 usb-modeswitch-data \
891 utouch-evemu \
892 utouch-frame \
893 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "utouch-mtview", "", d)} \
894 wbxml2 \
895 xdelta3 \
916 xdg-user-dirs \ 896 xdg-user-dirs \
917 xmlsec1 \ 897 xmlsec1 \
918 usb-modeswitch-data \ 898 xmlstarlet \
919 usb-modeswitch \
920 liburing \
921 zbar \
922 libmicrohttpd \
923 yaml-cpp \ 899 yaml-cpp \
900 zbar \
901 zchunk \
902 zile \
924" 903"
925RDEPENDS:packagegroup-meta-oe-support:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" 904RDEPENDS:packagegroup-meta-oe-support:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
926RDEPENDS:packagegroup-meta-oe-support:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" 905RDEPENDS:packagegroup-meta-oe-support:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}"
@@ -928,11 +907,7 @@ RDEPENDS:packagegroup-meta-oe-support:append:aarch64 = " ne10"
928RDEPENDS:packagegroup-meta-oe-support:append:x86 = " mcelog mce-inject mce-test vboxguestdrivers" 907RDEPENDS:packagegroup-meta-oe-support:append:x86 = " mcelog mce-inject mce-test vboxguestdrivers"
929RDEPENDS:packagegroup-meta-oe-support:append:x86-64 = " mcelog mce-inject mce-test vboxguestdrivers" 908RDEPENDS:packagegroup-meta-oe-support:append:x86-64 = " mcelog mce-inject mce-test vboxguestdrivers"
930 909
931RDEPENDS:packagegroup-meta-oe-support-python2 ="\ 910RDEPENDS:packagegroup-meta-oe-support:remove:arm = "numactl"
932 ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', 'lio-utils', '', d), "", d)} \
933"
934
935RDEPENDS:packagegroup-meta-oe-support:remove:arm ="numactl"
936RDEPENDS:packagegroup-meta-oe-support:remove:mipsarch = "gperftools" 911RDEPENDS:packagegroup-meta-oe-support:remove:mipsarch = "gperftools"
937RDEPENDS:packagegroup-meta-oe-support:remove:riscv64 = "gperftools uim" 912RDEPENDS:packagegroup-meta-oe-support:remove:riscv64 = "gperftools uim"
938RDEPENDS:packagegroup-meta-oe-support:remove:riscv32 = "gperftools uim" 913RDEPENDS:packagegroup-meta-oe-support:remove:riscv32 = "gperftools uim"
@@ -941,7 +916,7 @@ RDEPENDS:packagegroup-meta-oe-support:remove:powerpc64le = "libcereal ssiapi"
941RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl = "pcp" 916RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl = "pcp"
942RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl:powerpc = "gsl" 917RDEPENDS:packagegroup-meta-oe-support:remove:libc-musl:powerpc = "gsl"
943 918
944RDEPENDS:packagegroup-meta-oe-test ="\ 919RDEPENDS:packagegroup-meta-oe-test = "\
945 bats \ 920 bats \
946 cmocka \ 921 cmocka \
947 cppunit \ 922 cppunit \
@@ -964,19 +939,18 @@ RDEPENDS:packagegroup-meta-oe-test:remove:riscv64 = "fwts"
964RDEPENDS:packagegroup-meta-oe-test:remove:riscv32 = "fwts" 939RDEPENDS:packagegroup-meta-oe-test:remove:riscv32 = "fwts"
965 940
966RDEPENDS:packagegroup-meta-oe-ptest-packages = "\ 941RDEPENDS:packagegroup-meta-oe-ptest-packages = "\
967 zeromq-ptest \ 942 cmocka-ptest \
943 hiredis-ptest \
968 leveldb-ptest \ 944 leveldb-ptest \
969 psqlodbc-ptest \ 945 libteam-ptest \
946 minicoredumper-ptest \
947 oprofile-ptest \
948 poco-ptest \
970 protobuf-ptest \ 949 protobuf-ptest \
950 psqlodbc-ptest \
971 rsyslog-ptest \ 951 rsyslog-ptest \
972 oprofile-ptest \
973 libteam-ptest \
974 uthash-ptest \ 952 uthash-ptest \
975 libee-ptest \ 953 zeromq-ptest \
976 poco-ptest \
977 cmocka-ptest \
978 minicoredumper-ptest \
979 hiredis-ptest \
980" 954"
981RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86 = " mcelog-ptest" 955RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86 = " mcelog-ptest"
982RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86-64 = " mcelog-ptest" 956RDEPENDS:packagegroup-meta-oe-ptest-packages:append:x86-64 = " mcelog-ptest"
diff --git a/meta-oe/recipes-core/pim435/pim435_git.bb b/meta-oe/recipes-core/pim435/pim435_git.bb
index 80e3cc6298..a18e889683 100644
--- a/meta-oe/recipes-core/pim435/pim435_git.bb
+++ b/meta-oe/recipes-core/pim435/pim435_git.bb
@@ -11,7 +11,10 @@ LIC_FILES_CHKSUM = "file://LICENSES/MIT.txt;md5=7dda4e90ded66ab88b86f76169f28663
11 11
12SRC_URI = "git://gitlab.eclipse.org/eclipse/oniro-blueprints/core/pim435;protocol=https;branch=main" 12SRC_URI = "git://gitlab.eclipse.org/eclipse/oniro-blueprints/core/pim435;protocol=https;branch=main"
13SRCREV = "445ed623ec8d3ecbb1d566900b4ef3fb3031d689" 13SRCREV = "445ed623ec8d3ecbb1d566900b4ef3fb3031d689"
14S = "${WORKDIR}/git" 14
15# Upstream repo does not tag
16UPSTREAM_CHECK_COMMITS = "1"
17
15 18
16DEPENDS = "i2c-tools" 19DEPENDS = "i2c-tools"
17 20
diff --git a/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch b/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch
deleted file mode 100644
index 58838500bf..0000000000
--- a/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From f270f80d4c36a22a0f7b8de8fb6b1abef6f7b183 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 15 Feb 2022 16:23:10 +0800
4Subject: [PATCH] plymouth : Add the retain-splash option
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Adding the "retain-splash” option to tell plymouth to keep the boot
10splash’s contents on screen even after plymouth exits to make the
11splash screen show more friendly on the system which boots so fast.
12
13Upstream-Status: Inappropriate [embedded specific]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16---
17 systemd-units/plymouth-quit.service.in | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/systemd-units/plymouth-quit.service.in b/systemd-units/plymouth-quit.service.in
21index ed9f9b9..147e9ee 100644
22--- a/systemd-units/plymouth-quit.service.in
23+++ b/systemd-units/plymouth-quit.service.in
24@@ -3,7 +3,7 @@ Description=Terminate Plymouth Boot Screen
25 After=rc-local.service plymouth-start.service systemd-user-sessions.service
26
27 [Service]
28-ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit
29+ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit --retain-splash
30 Type=oneshot
31 RemainAfterExit=yes
32 TimeoutSec=20
33--
342.17.1
35
diff --git a/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch b/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
deleted file mode 100644
index 7ba1034e93..0000000000
--- a/meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 658eac007d14d836cb002a5675487bac63d50324 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 7 Feb 2022 03:22:12 +0000
4Subject: [PATCH] plymouth-start.service.in: add related kernel parameter
5
6Add extra kernel parameter to make the plymouth splash screen
7display during boot.
8
9Upstream-Status: Submitted [https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/156]
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12---
13 systemd-units/plymouth-start.service.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/systemd-units/plymouth-start.service.in b/systemd-units/plymouth-start.service.in
17index 830a62d..c20aabe 100644
18--- a/systemd-units/plymouth-start.service.in
19+++ b/systemd-units/plymouth-start.service.in
20@@ -9,7 +9,7 @@ ConditionVirtualization=!container
21 IgnoreOnIsolate=true
22
23 [Service]
24-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
25+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --kernel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=@plymouthruntimedir@/pid --attach-to-session
26 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
27 Type=forking
28 RemainAfterExit=yes
29--
302.31.1
31
diff --git a/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb b/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb
index cdf24477a7..05fe5c51e7 100644
--- a/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb
+++ b/meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb
@@ -11,8 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
11SRC_URI = " \ 11SRC_URI = " \
12 http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.xz \ 12 http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.xz \
13 file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \ 13 file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \
14 file://0001-plymouth-start-service-in-add-related-kernel-paramet.patch \
15 file://0001-plymouth-Add-the-retain-splash-option.patch \
16 file://0001-Drop-libdl-references.patch \ 14 file://0001-Drop-libdl-references.patch \
17 file://0001-Avoid-linking-to-plymouth_logo_file.patch \ 15 file://0001-Avoid-linking-to-plymouth_logo_file.patch \
18 file://0001-Make-themes-build-optional.patch \ 16 file://0001-Make-themes-build-optional.patch \
diff --git a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
index 86a2331bd3..c56160571a 100644
--- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
+++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
@@ -1,5 +1,5 @@
1SUMMARY = "Proxy libintl" 1SUMMARY = "Proxy libintl"
2HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/" 2HOMEPAGE = "https://download.gnome.org/binaries/win32/dependencies/"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "LGPL-2.0-only" 4LICENSE = "LGPL-2.0-only"
5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e" 5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
@@ -7,11 +7,12 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/src/proxy-libintl/COPYING.LIB.txt;md5=bc
7PROVIDES = "virtual/libintl" 7PROVIDES = "virtual/libintl"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/${BPN}-dev_${PV}_win32.zip \ 10 https://download.gnome.org/binaries/win32/dependencies/${BPN}-dev_${PV}_win32.zip \
11" 11"
12SRC_URI[md5sum] = "aef407c2b97ee829383aadd867c61d1e"
13SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91" 12SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91"
14 13
14UPSTREAM_CHECK_REGEX = "${BPN}-dev_(?P<pver>\d+)_win32\.zip"
15
15PACKAGES = "${PN} ${PN}-dev" 16PACKAGES = "${PN} ${PN}-dev"
16FILES:${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a" 17FILES:${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
17INSANE_SKIP:${PN}-dev = "staticdev" 18INSANE_SKIP:${PN}-dev = "staticdev"
diff --git a/meta-oe/recipes-core/safec/safec_3.7.1.bb b/meta-oe/recipes-core/safec/safec_3.7.1.bb
index 9dd6f1c7cc..a2f66e9a1a 100644
--- a/meta-oe/recipes-core/safec/safec_3.7.1.bb
+++ b/meta-oe/recipes-core/safec/safec_3.7.1.bb
@@ -6,7 +6,6 @@ SECTION = "lib"
6 6
7inherit autotools pkgconfig 7inherit autotools pkgconfig
8 8
9S = "${WORKDIR}/git"
10SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8" 9SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8"
11SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \
12 file://0001-strpbrk_s-Remove-unused-variable-len.patch \ 11 file://0001-strpbrk_s-Remove-unused-variable-len.patch \
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_255.6.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_255.6.bb
index ceb422325c..9c39d40d23 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_255.6.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd_255.6.bb
@@ -55,7 +55,6 @@ CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0 "
55 55
56EXTRA_OEMESON += "-Dstatic-libsystemd=pic" 56EXTRA_OEMESON += "-Dstatic-libsystemd=pic"
57 57
58S = "${WORKDIR}/git"
59 58
60RDEPENDS:${PN}-dev = "" 59RDEPENDS:${PN}-dev = ""
61 60
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.0.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.1.0.bb
index af112ced88..0467c834b8 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.0.0.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-tools_2.1.0.bb
@@ -8,9 +8,9 @@ inherit cmake
8 8
9DEPENDS += "expat" 9DEPENDS += "expat"
10 10
11SRCREV = "e62472b210d9e7f06a5e611c23471d414c99a99c" 11SRCREV = "0261d0ec60b68c1f0a6ec9acf63d1379f7d569f8"
12SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;subpath=tools" 12SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;tag=v${PV};subpath=tools"
13 13
14S = "${WORKDIR}/tools" 14S = "${UNPACKDIR}/tools"
15 15
16BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.1.0.bb
index 2b6bb1011a..62b30e9894 100644
--- a/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.0.0.bb
+++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++_2.1.0.bb
@@ -16,16 +16,14 @@ PACKAGECONFIG[with-tests] = "-DSDBUSCPP_BUILD_TESTS=ON -DSDBUSCPP_INSTALL_TESTS=
16 16
17DEPENDS += "expat" 17DEPENDS += "expat"
18 18
19PV .= "+git" 19SRCREV = "0261d0ec60b68c1f0a6ec9acf63d1379f7d569f8"
20SRCREV = "e62472b210d9e7f06a5e611c23471d414c99a99c" 20SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master;tag=v${PV} \
21SRC_URI = "git://github.com/Kistler-Group/sdbus-cpp.git;protocol=https;branch=master \
22 file://run-ptest" 21 file://run-ptest"
23 22
24EXTRA_OECMAKE = "-DSDBUSCPP_BUILD_CODEGEN=OFF \ 23EXTRA_OECMAKE = "-DSDBUSCPP_BUILD_CODEGEN=OFF \
25 -DSDBUSCPP_BUILD_DOCS=ON \ 24 -DSDBUSCPP_BUILD_DOCS=ON \
26 -DSDBUSCPP_BUILD_DOXYGEN_DOCS=OFF" 25 -DSDBUSCPP_BUILD_DOXYGEN_DOCS=OFF"
27 26
28S = "${WORKDIR}/git"
29 27
30# Link libatomic on architectures without 64bit atomics fixes 28# Link libatomic on architectures without 64bit atomics fixes
31# libsdbus-c++.so.1.1.0: undefined reference to `__atomic_load_8' 29# libsdbus-c++.so.1.1.0: undefined reference to `__atomic_load_8'
@@ -46,6 +44,6 @@ do_install_ptest() {
46FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/" 44FILES:${PN}-ptest =+ "${sysconfdir}/dbus-1/system.d/"
47FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp" 45FILES:${PN}-dev += "${bindir}/sdbus-c++-xml2cpp"
48 46
49RDEPENDS:${PN}-ptest += "dbus" 47RDEPENDS:${PN}-ptest += "${VIRTUAL-RUNTIME_dbus}"
50# It adds -isystem which is spurious, no idea where it gets it from 48# It adds -isystem which is spurious, no idea where it gets it from
51CCACHE_DISABLE = "1" 49CCACHE_DISABLE = "1"
diff --git a/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb b/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb
new file mode 100644
index 0000000000..15b60af02e
--- /dev/null
+++ b/meta-oe/recipes-core/systemd/systemd-repart-native_257.6.bb
@@ -0,0 +1,59 @@
1# SPDX-License-Identifier: MIT
2#
3# Copyright Leica Geosystems AG
4#
5
6SUMMARY = "systemd-repart"
7DESCRIPTION = "systemd-repart grows and adds partitions to a partition table, based on the configuration files described in repart.d(5), or generates a Discoverable Disk Image (DDI) for a system extension (sysext, see systemd-sysext(8))."
8HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
9
10LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
11LICENSE:libsystemd = "LGPL-2.1-or-later"
12LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
13 file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
14
15SRCREV = "00a12c234e2506f5cab683460199575f13c454db"
16SRCBRANCH = "v257-stable"
17SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}"
18
19S = "${WORKDIR}/git"
20
21DEPENDS = " \
22 cryptsetup-native \
23 gperf-native \
24 libcap \
25 python3-jinja2-native \
26 util-linux \
27"
28
29inherit meson pkgconfig gettext native
30
31MESON_TARGET = "systemd-repart"
32
33# Helper variables to clarify locations. This mirrors the logic in systemd's
34# build system.
35rootprefix ?= "${root_prefix}"
36rootlibdir ?= "${base_libdir}"
37rootlibexecdir = "${rootprefix}/lib"
38
39EXTRA_OEMESON += "-Dnobody-user=nobody \
40 -Dnobody-group=nogroup \
41 -Drootlibdir=${rootlibdir} \
42 -Drootprefix=${rootprefix} \
43 -Ddefault-locale=C \
44 -Dmode=release \
45 -Dsystem-alloc-uid-min=101 \
46 -Dsystem-uid-max=999 \
47 -Dsystem-alloc-gid-min=101 \
48 -Dsystem-gid-max=999 \
49"
50
51do_install() {
52 install -d ${D}${bindir}/
53 install -m 0755 ${B}/systemd-repart ${D}${bindir}/systemd-repart
54 install -d ${D}${libdir}/
55 install -m 0644 ${B}/src/shared/libsystemd-shared-257.so ${D}${libdir}/libsystemd-shared-257.so
56
57 install -d ${D}${libdir}/systemd/repart/
58 cp -r ${S}/src/repart/definitions ${D}${libdir}/systemd/repart/
59}
diff --git a/meta-oe/recipes-core/toybox/toybox_0.8.11.bb b/meta-oe/recipes-core/toybox/toybox_0.8.12.bb
index db071a1995..7281bb5684 100644
--- a/meta-oe/recipes-core/toybox/toybox_0.8.11.bb
+++ b/meta-oe/recipes-core/toybox/toybox_0.8.12.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=78659a599b9325da368f2f1eb88f19c7"
8inherit cml1 update-alternatives 8inherit cml1 update-alternatives
9 9
10SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz" 10SRC_URI = "http://www.landley.net/toybox/downloads/${BPN}-${PV}.tar.gz"
11SRC_URI[sha256sum] = "15aa3f832f4ec1874db761b9950617f99e1e38144c22da39a71311093bfe67dc" 11SRC_URI[sha256sum] = "ad88a921133ae2231d9f2df875ec0bd42af4429145caea7d7db9e02208a6fd2e"
12 12
13SECTION = "base" 13SECTION = "base"
14 14
diff --git a/meta-oe/recipes-core/usleep/usleep_1.2.bb b/meta-oe/recipes-core/usleep/usleep_1.2.bb
index 882ac2c2ff..530104e964 100644
--- a/meta-oe/recipes-core/usleep/usleep_1.2.bb
+++ b/meta-oe/recipes-core/usleep/usleep_1.2.bb
@@ -3,8 +3,7 @@ SECTION = "base"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5 5
6S = "${WORKDIR}/sources" 6S = "${UNPACKDIR}"
7UNPACKDIR = "${S}"
8DEPENDS = "popt" 7DEPENDS = "popt"
9 8
10SRC_URI = "file://usleep.c \ 9SRC_URI = "file://usleep.c \
@@ -32,3 +31,7 @@ ALTERNATIVE_LINK_NAME[usleep] = "${base_bindir}/usleep"
32 31
33ALTERNATIVE:${PN}-doc = "usleep.1" 32ALTERNATIVE:${PN}-doc = "usleep.1"
34ALTERNATIVE_LINK_NAME[usleep.1] = "${mandir}/man1/usleep.1" 33ALTERNATIVE_LINK_NAME[usleep.1] = "${mandir}/man1/usleep.1"
34
35# http://errors.yoctoproject.org/Errors/Details/766900/
36# usleep.c:47:43: error: passing argument 3 of 'poptGetContext' from incompatible pointer type [-Wincompatible-pointer-types]
37CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc
index 3a5bee7cee..ca88d426a7 100644
--- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc
@@ -2,587 +2,1041 @@
2 2
3# from Cargo.lock 3# from Cargo.lock
4SRC_URI += " \ 4SRC_URI += " \
5 crate://crates.io/adler/1.0.2 \ 5 crate://crates.io/adler2/2.0.0 \
6 crate://crates.io/ahash/0.7.8 \ 6 crate://crates.io/aho-corasick/1.1.3 \
7 crate://crates.io/aho-corasick/1.0.4 \ 7 crate://crates.io/allocator-api2/0.2.21 \
8 crate://crates.io/android-tzdata/0.1.1 \ 8 crate://crates.io/android-tzdata/0.1.1 \
9 crate://crates.io/android_system_properties/0.1.5 \ 9 crate://crates.io/android_system_properties/0.1.5 \
10 crate://crates.io/anstream/0.5.0 \ 10 crate://crates.io/ansi-width/0.1.0 \
11 crate://crates.io/anstyle/1.0.0 \ 11 crate://crates.io/anstream/0.6.18 \
12 crate://crates.io/anstyle-parse/0.2.0 \ 12 crate://crates.io/anstyle/1.0.10 \
13 crate://crates.io/anstyle-query/1.0.0 \ 13 crate://crates.io/anstyle-parse/0.2.6 \
14 crate://crates.io/anstyle-wincon/2.1.0 \ 14 crate://crates.io/anstyle-query/1.1.2 \
15 crate://crates.io/arbitrary/1.3.2 \ 15 crate://crates.io/anstyle-wincon/3.0.7 \
16 crate://crates.io/arrayref/0.3.6 \ 16 crate://crates.io/arbitrary/1.4.1 \
17 crate://crates.io/arrayvec/0.7.4 \ 17 crate://crates.io/arrayref/0.3.9 \
18 crate://crates.io/autocfg/1.1.0 \ 18 crate://crates.io/arrayvec/0.7.6 \
19 crate://crates.io/bigdecimal/0.4.0 \ 19 crate://crates.io/autocfg/1.4.0 \
20 crate://crates.io/bigdecimal/0.4.8 \
20 crate://crates.io/binary-heap-plus/0.5.0 \ 21 crate://crates.io/binary-heap-plus/0.5.0 \
21 crate://crates.io/bindgen/0.63.0 \ 22 crate://crates.io/bincode/2.0.1 \
23 crate://crates.io/bincode_derive/2.0.1 \
24 crate://crates.io/bindgen/0.71.1 \
22 crate://crates.io/bitflags/1.3.2 \ 25 crate://crates.io/bitflags/1.3.2 \
23 crate://crates.io/bitflags/2.4.2 \ 26 crate://crates.io/bitflags/2.9.0 \
24 crate://crates.io/bitvec/1.0.1 \ 27 crate://crates.io/bitvec/1.0.1 \
25 crate://crates.io/blake2b_simd/1.0.2 \ 28 crate://crates.io/blake2b_simd/1.0.3 \
26 crate://crates.io/blake3/1.5.1 \ 29 crate://crates.io/blake3/1.8.2 \
27 crate://crates.io/block-buffer/0.10.3 \ 30 crate://crates.io/block-buffer/0.10.4 \
28 crate://crates.io/bstr/1.9.1 \ 31 crate://crates.io/bstr/1.12.0 \
29 crate://crates.io/bumpalo/3.11.1 \ 32 crate://crates.io/bumpalo/3.17.0 \
30 crate://crates.io/bytecount/0.6.8 \ 33 crate://crates.io/bytecount/0.6.8 \
31 crate://crates.io/byteorder/1.5.0 \ 34 crate://crates.io/byteorder/1.5.0 \
32 crate://crates.io/cc/1.0.79 \ 35 crate://crates.io/cc/1.2.16 \
33 crate://crates.io/cexpr/0.6.0 \ 36 crate://crates.io/cexpr/0.6.0 \
34 crate://crates.io/cfg-if/1.0.0 \ 37 crate://crates.io/cfg-if/1.0.0 \
35 crate://crates.io/cfg_aliases/0.1.1 \ 38 crate://crates.io/cfg_aliases/0.2.1 \
36 crate://crates.io/chrono/0.4.38 \ 39 crate://crates.io/chrono/0.4.41 \
37 crate://crates.io/clang-sys/1.4.0 \ 40 crate://crates.io/chrono-tz/0.10.3 \
38 crate://crates.io/clap/4.4.2 \ 41 crate://crates.io/chrono-tz-build/0.4.0 \
39 crate://crates.io/clap_builder/4.4.2 \ 42 crate://crates.io/clang-sys/1.8.1 \
40 crate://crates.io/clap_complete/4.4.0 \ 43 crate://crates.io/clap/4.5.38 \
41 crate://crates.io/clap_lex/0.5.0 \ 44 crate://crates.io/clap_builder/4.5.38 \
42 crate://crates.io/clap_mangen/0.2.9 \ 45 crate://crates.io/clap_complete/4.5.50 \
43 crate://crates.io/colorchoice/1.0.0 \ 46 crate://crates.io/clap_lex/0.7.4 \
47 crate://crates.io/clap_mangen/0.2.26 \
48 crate://crates.io/colorchoice/1.0.3 \
44 crate://crates.io/compare/0.1.0 \ 49 crate://crates.io/compare/0.1.0 \
45 crate://crates.io/console/0.15.8 \ 50 crate://crates.io/console/0.15.11 \
46 crate://crates.io/const-random/0.1.16 \ 51 crate://crates.io/const-random/0.1.18 \
47 crate://crates.io/const-random-macro/0.1.16 \ 52 crate://crates.io/const-random-macro/0.1.16 \
48 crate://crates.io/constant_time_eq/0.3.0 \ 53 crate://crates.io/constant_time_eq/0.3.1 \
49 crate://crates.io/core-foundation-sys/0.8.3 \ 54 crate://crates.io/convert_case/0.7.1 \
55 crate://crates.io/core-foundation-sys/0.8.7 \
50 crate://crates.io/coz/0.1.3 \ 56 crate://crates.io/coz/0.1.3 \
51 crate://crates.io/cpp/0.5.9 \ 57 crate://crates.io/cpp/0.5.10 \
52 crate://crates.io/cpp_build/0.5.9 \ 58 crate://crates.io/cpp_build/0.5.10 \
53 crate://crates.io/cpp_common/0.5.9 \ 59 crate://crates.io/cpp_common/0.5.10 \
54 crate://crates.io/cpp_macros/0.5.9 \ 60 crate://crates.io/cpp_macros/0.5.10 \
55 crate://crates.io/cpufeatures/0.2.5 \ 61 crate://crates.io/cpufeatures/0.2.17 \
56 crate://crates.io/crc32fast/1.4.0 \ 62 crate://crates.io/crc32fast/1.4.2 \
57 crate://crates.io/crossbeam-channel/0.5.10 \ 63 crate://crates.io/crossbeam-deque/0.8.6 \
58 crate://crates.io/crossbeam-deque/0.8.4 \ 64 crate://crates.io/crossbeam-epoch/0.9.18 \
59 crate://crates.io/crossbeam-epoch/0.9.17 \ 65 crate://crates.io/crossbeam-utils/0.8.21 \
60 crate://crates.io/crossbeam-utils/0.8.19 \ 66 crate://crates.io/crossterm/0.29.0 \
61 crate://crates.io/crossterm/0.27.0 \
62 crate://crates.io/crossterm_winapi/0.9.1 \ 67 crate://crates.io/crossterm_winapi/0.9.1 \
63 crate://crates.io/crunchy/0.2.2 \ 68 crate://crates.io/crunchy/0.2.3 \
64 crate://crates.io/crypto-common/0.1.6 \ 69 crate://crates.io/crypto-common/0.1.6 \
65 crate://crates.io/ctrlc/3.4.4 \ 70 crate://crates.io/ctor/0.4.2 \
66 crate://crates.io/data-encoding/2.5.0 \ 71 crate://crates.io/ctor-proc-macro/0.0.5 \
67 crate://crates.io/data-encoding-macro/0.1.14 \ 72 crate://crates.io/ctrlc/3.4.7 \
68 crate://crates.io/data-encoding-macro-internal/0.1.12 \ 73 crate://crates.io/data-encoding/2.9.0 \
69 crate://crates.io/derive_arbitrary/1.3.2 \ 74 crate://crates.io/data-encoding-macro/0.1.18 \
75 crate://crates.io/data-encoding-macro-internal/0.1.16 \
76 crate://crates.io/deranged/0.4.0 \
77 crate://crates.io/derive_arbitrary/1.4.1 \
78 crate://crates.io/derive_more/2.0.1 \
79 crate://crates.io/derive_more-impl/2.0.1 \
70 crate://crates.io/diff/0.1.13 \ 80 crate://crates.io/diff/0.1.13 \
71 crate://crates.io/digest/0.10.7 \ 81 crate://crates.io/digest/0.10.7 \
72 crate://crates.io/dlv-list/0.5.0 \ 82 crate://crates.io/displaydoc/0.2.5 \
83 crate://crates.io/dlv-list/0.5.2 \
73 crate://crates.io/dns-lookup/2.0.4 \ 84 crate://crates.io/dns-lookup/2.0.4 \
74 crate://crates.io/dunce/1.0.4 \ 85 crate://crates.io/document-features/0.2.11 \
75 crate://crates.io/either/1.8.0 \ 86 crate://crates.io/dtor/0.0.6 \
76 crate://crates.io/encode_unicode/0.3.6 \ 87 crate://crates.io/dtor-proc-macro/0.0.5 \
77 crate://crates.io/env_logger/0.8.4 \ 88 crate://crates.io/dunce/1.0.5 \
78 crate://crates.io/errno/0.3.8 \ 89 crate://crates.io/either/1.15.0 \
90 crate://crates.io/encode_unicode/1.0.0 \
91 crate://crates.io/equivalent/1.0.2 \
92 crate://crates.io/errno/0.3.10 \
79 crate://crates.io/exacl/0.12.0 \ 93 crate://crates.io/exacl/0.12.0 \
80 crate://crates.io/fastrand/2.0.1 \ 94 crate://crates.io/fastrand/2.3.0 \
81 crate://crates.io/file_diff/1.0.0 \ 95 crate://crates.io/file_diff/1.0.0 \
82 crate://crates.io/filedescriptor/0.8.2 \ 96 crate://crates.io/filedescriptor/0.8.3 \
83 crate://crates.io/filetime/0.2.23 \ 97 crate://crates.io/filetime/0.2.25 \
84 crate://crates.io/flate2/1.0.28 \ 98 crate://crates.io/flate2/1.1.1 \
99 crate://crates.io/fluent/0.17.0 \
100 crate://crates.io/fluent-bundle/0.16.0 \
101 crate://crates.io/fluent-langneg/0.13.0 \
102 crate://crates.io/fluent-syntax/0.12.0 \
85 crate://crates.io/fnv/1.0.7 \ 103 crate://crates.io/fnv/1.0.7 \
104 crate://crates.io/foldhash/0.1.4 \
86 crate://crates.io/fs_extra/1.3.0 \ 105 crate://crates.io/fs_extra/1.3.0 \
87 crate://crates.io/fsevent-sys/4.1.0 \ 106 crate://crates.io/fsevent-sys/4.1.0 \
88 crate://crates.io/fts-sys/0.2.4 \ 107 crate://crates.io/fts-sys/0.2.16 \
89 crate://crates.io/fundu/2.0.0 \
90 crate://crates.io/fundu-core/0.3.0 \
91 crate://crates.io/funty/2.0.0 \ 108 crate://crates.io/funty/2.0.0 \
92 crate://crates.io/futures/0.3.28 \ 109 crate://crates.io/futures-core/0.3.31 \
93 crate://crates.io/futures-channel/0.3.28 \ 110 crate://crates.io/futures-macro/0.3.31 \
94 crate://crates.io/futures-core/0.3.28 \ 111 crate://crates.io/futures-task/0.3.31 \
95 crate://crates.io/futures-executor/0.3.28 \ 112 crate://crates.io/futures-timer/3.0.3 \
96 crate://crates.io/futures-io/0.3.28 \ 113 crate://crates.io/futures-util/0.3.31 \
97 crate://crates.io/futures-macro/0.3.28 \
98 crate://crates.io/futures-sink/0.3.28 \
99 crate://crates.io/futures-task/0.3.28 \
100 crate://crates.io/futures-timer/3.0.2 \
101 crate://crates.io/futures-util/0.3.28 \
102 crate://crates.io/gcd/2.3.0 \ 114 crate://crates.io/gcd/2.3.0 \
103 crate://crates.io/generic-array/0.14.6 \ 115 crate://crates.io/generic-array/0.14.7 \
104 crate://crates.io/getrandom/0.2.9 \ 116 crate://crates.io/getrandom/0.2.15 \
105 crate://crates.io/glob/0.3.1 \ 117 crate://crates.io/getrandom/0.3.1 \
106 crate://crates.io/half/2.4.0 \ 118 crate://crates.io/glob/0.3.2 \
107 crate://crates.io/hashbrown/0.12.3 \ 119 crate://crates.io/half/2.6.0 \
108 crate://crates.io/hashbrown/0.14.3 \ 120 crate://crates.io/hashbrown/0.14.5 \
109 crate://crates.io/hermit-abi/0.3.2 \ 121 crate://crates.io/hashbrown/0.15.2 \
110 crate://crates.io/hex/0.4.3 \ 122 crate://crates.io/hex/0.4.3 \
111 crate://crates.io/hex-literal/0.4.1 \ 123 crate://crates.io/hex-literal/1.0.0 \
112 crate://crates.io/hostname/0.4.0 \ 124 crate://crates.io/hostname/0.4.1 \
113 crate://crates.io/iana-time-zone/0.1.53 \ 125 crate://crates.io/iana-time-zone/0.1.63 \
114 crate://crates.io/iana-time-zone-haiku/0.1.2 \ 126 crate://crates.io/iana-time-zone-haiku/0.1.2 \
115 crate://crates.io/indicatif/0.17.3 \ 127 crate://crates.io/indexmap/2.7.1 \
116 crate://crates.io/inotify/0.9.6 \ 128 crate://crates.io/indicatif/0.17.11 \
129 crate://crates.io/inotify/0.11.0 \
117 crate://crates.io/inotify-sys/0.1.5 \ 130 crate://crates.io/inotify-sys/0.1.5 \
118 crate://crates.io/io-lifetimes/1.0.11 \ 131 crate://crates.io/intl-memoizer/0.5.3 \
119 crate://crates.io/itertools/0.12.1 \ 132 crate://crates.io/intl_pluralrules/7.0.2 \
120 crate://crates.io/itoa/1.0.4 \ 133 crate://crates.io/is_terminal_polyfill/1.70.1 \
121 crate://crates.io/js-sys/0.3.64 \ 134 crate://crates.io/itertools/0.13.0 \
122 crate://crates.io/keccak/0.1.4 \ 135 crate://crates.io/itertools/0.14.0 \
123 crate://crates.io/kqueue/1.0.7 \ 136 crate://crates.io/itoa/1.0.15 \
124 crate://crates.io/kqueue-sys/1.0.3 \ 137 crate://crates.io/js-sys/0.3.77 \
125 crate://crates.io/lazy_static/1.4.0 \ 138 crate://crates.io/keccak/0.1.5 \
126 crate://crates.io/lazycell/1.3.0 \ 139 crate://crates.io/kqueue/1.0.8 \
127 crate://crates.io/libc/0.2.153 \ 140 crate://crates.io/kqueue-sys/1.0.4 \
128 crate://crates.io/libloading/0.7.4 \ 141 crate://crates.io/lazy_static/1.5.0 \
129 crate://crates.io/libm/0.2.7 \ 142 crate://crates.io/libc/0.2.172 \
130 crate://crates.io/linux-raw-sys/0.3.8 \ 143 crate://crates.io/libloading/0.8.6 \
131 crate://crates.io/linux-raw-sys/0.4.12 \ 144 crate://crates.io/libm/0.2.11 \
132 crate://crates.io/lock_api/0.4.9 \ 145 crate://crates.io/libredox/0.1.3 \
133 crate://crates.io/log/0.4.20 \ 146 crate://crates.io/libz-rs-sys/0.5.0 \
134 crate://crates.io/lru/0.7.8 \ 147 crate://crates.io/linux-raw-sys/0.4.15 \
135 crate://crates.io/lscolors/0.16.0 \ 148 crate://crates.io/linux-raw-sys/0.9.4 \
149 crate://crates.io/litrs/0.4.1 \
150 crate://crates.io/lock_api/0.4.12 \
151 crate://crates.io/lockfree-object-pool/0.1.6 \
152 crate://crates.io/log/0.4.26 \
153 crate://crates.io/lru/0.12.5 \
154 crate://crates.io/lscolors/0.20.0 \
136 crate://crates.io/md-5/0.10.6 \ 155 crate://crates.io/md-5/0.10.6 \
137 crate://crates.io/memchr/2.7.1 \ 156 crate://crates.io/memchr/2.7.4 \
138 crate://crates.io/memmap2/0.9.0 \ 157 crate://crates.io/memmap2/0.9.5 \
139 crate://crates.io/minimal-lexical/0.2.1 \ 158 crate://crates.io/minimal-lexical/0.2.1 \
140 crate://crates.io/miniz_oxide/0.7.2 \ 159 crate://crates.io/miniz_oxide/0.8.5 \
141 crate://crates.io/mio/0.8.11 \ 160 crate://crates.io/mio/1.0.3 \
142 crate://crates.io/nix/0.28.0 \ 161 crate://crates.io/nix/0.30.1 \
143 crate://crates.io/nom/7.1.3 \ 162 crate://crates.io/nom/7.1.3 \
144 crate://crates.io/notify/6.0.1 \ 163 crate://crates.io/nom/8.0.0 \
145 crate://crates.io/nu-ansi-term/0.49.0 \ 164 crate://crates.io/notify/8.0.0 \
146 crate://crates.io/num-bigint/0.4.4 \ 165 crate://crates.io/notify-types/2.0.0 \
147 crate://crates.io/num-integer/0.1.45 \ 166 crate://crates.io/nu-ansi-term/0.50.1 \
167 crate://crates.io/num-bigint/0.4.6 \
168 crate://crates.io/num-conv/0.1.0 \
169 crate://crates.io/num-integer/0.1.46 \
148 crate://crates.io/num-modular/0.5.1 \ 170 crate://crates.io/num-modular/0.5.1 \
149 crate://crates.io/num-prime/0.4.3 \ 171 crate://crates.io/num-prime/0.4.4 \
150 crate://crates.io/num-traits/0.2.18 \ 172 crate://crates.io/num-traits/0.2.19 \
151 crate://crates.io/num_threads/0.1.6 \ 173 crate://crates.io/num_threads/0.1.7 \
152 crate://crates.io/number_prefix/0.4.0 \ 174 crate://crates.io/number_prefix/0.4.0 \
153 crate://crates.io/once_cell/1.19.0 \ 175 crate://crates.io/once_cell/1.20.3 \
154 crate://crates.io/onig/6.4.0 \ 176 crate://crates.io/onig/6.5.1 \
155 crate://crates.io/onig_sys/69.8.1 \ 177 crate://crates.io/onig_sys/69.9.1 \
156 crate://crates.io/ordered-multimap/0.7.3 \ 178 crate://crates.io/ordered-multimap/0.7.3 \
157 crate://crates.io/os_display/0.1.3 \ 179 crate://crates.io/os_display/0.1.4 \
158 crate://crates.io/parking_lot/0.12.1 \ 180 crate://crates.io/parking_lot/0.12.3 \
159 crate://crates.io/parking_lot_core/0.9.9 \ 181 crate://crates.io/parking_lot_core/0.9.10 \
160 crate://crates.io/parse_datetime/0.5.0 \ 182 crate://crates.io/parse-zoneinfo/0.3.1 \
161 crate://crates.io/peeking_take_while/0.1.2 \ 183 crate://crates.io/parse_datetime/0.9.0 \
162 crate://crates.io/phf/0.11.2 \ 184 crate://crates.io/phf/0.11.3 \
163 crate://crates.io/phf_codegen/0.11.2 \ 185 crate://crates.io/phf_codegen/0.11.3 \
164 crate://crates.io/phf_generator/0.11.1 \ 186 crate://crates.io/phf_generator/0.11.3 \
165 crate://crates.io/phf_shared/0.11.2 \ 187 crate://crates.io/phf_shared/0.11.3 \
166 crate://crates.io/pin-project-lite/0.2.9 \ 188 crate://crates.io/pin-project-lite/0.2.16 \
167 crate://crates.io/pin-utils/0.1.0 \ 189 crate://crates.io/pin-utils/0.1.0 \
168 crate://crates.io/pkg-config/0.3.26 \ 190 crate://crates.io/pkg-config/0.3.32 \
169 crate://crates.io/platform-info/2.0.3 \ 191 crate://crates.io/platform-info/2.0.5 \
170 crate://crates.io/portable-atomic/0.3.15 \ 192 crate://crates.io/portable-atomic/1.11.0 \
171 crate://crates.io/ppv-lite86/0.2.17 \ 193 crate://crates.io/powerfmt/0.2.0 \
172 crate://crates.io/pretty_assertions/1.4.0 \ 194 crate://crates.io/ppv-lite86/0.2.20 \
173 crate://crates.io/proc-macro2/1.0.63 \ 195 crate://crates.io/pretty_assertions/1.4.1 \
174 crate://crates.io/procfs/0.16.0 \ 196 crate://crates.io/prettyplease/0.2.30 \
175 crate://crates.io/procfs-core/0.16.0 \ 197 crate://crates.io/proc-macro-crate/3.3.0 \
198 crate://crates.io/proc-macro2/1.0.95 \
199 crate://crates.io/procfs/0.17.0 \
200 crate://crates.io/procfs-core/0.17.0 \
176 crate://crates.io/quick-error/2.0.1 \ 201 crate://crates.io/quick-error/2.0.1 \
177 crate://crates.io/quickcheck/1.0.3 \ 202 crate://crates.io/quote/1.0.40 \
178 crate://crates.io/quote/1.0.29 \
179 crate://crates.io/radium/0.7.0 \ 203 crate://crates.io/radium/0.7.0 \
180 crate://crates.io/rand/0.8.5 \ 204 crate://crates.io/rand/0.8.5 \
205 crate://crates.io/rand/0.9.1 \
181 crate://crates.io/rand_chacha/0.3.1 \ 206 crate://crates.io/rand_chacha/0.3.1 \
207 crate://crates.io/rand_chacha/0.9.0 \
182 crate://crates.io/rand_core/0.6.4 \ 208 crate://crates.io/rand_core/0.6.4 \
183 crate://crates.io/rand_pcg/0.3.1 \ 209 crate://crates.io/rand_core/0.9.3 \
184 crate://crates.io/rayon/1.10.0 \ 210 crate://crates.io/rayon/1.10.0 \
185 crate://crates.io/rayon-core/1.12.1 \ 211 crate://crates.io/rayon-core/1.12.1 \
186 crate://crates.io/redox_syscall/0.4.1 \ 212 crate://crates.io/redox_syscall/0.5.10 \
187 crate://crates.io/redox_syscall/0.5.0 \ 213 crate://crates.io/regex/1.11.1 \
188 crate://crates.io/reference-counted-singleton/0.1.2 \ 214 crate://crates.io/regex-automata/0.4.9 \
189 crate://crates.io/regex/1.10.4 \ 215 crate://crates.io/regex-syntax/0.8.5 \
190 crate://crates.io/regex-automata/0.4.4 \ 216 crate://crates.io/relative-path/1.9.3 \
191 crate://crates.io/regex-syntax/0.8.2 \ 217 crate://crates.io/rlimit/0.10.2 \
192 crate://crates.io/relative-path/1.8.0 \ 218 crate://crates.io/roff/0.2.2 \
193 crate://crates.io/rlimit/0.10.1 \ 219 crate://crates.io/rstest/0.25.0 \
194 crate://crates.io/roff/0.2.1 \ 220 crate://crates.io/rstest_macros/0.25.0 \
195 crate://crates.io/rstest/0.19.0 \ 221 crate://crates.io/rust-ini/0.21.1 \
196 crate://crates.io/rstest_macros/0.19.0 \
197 crate://crates.io/rust-ini/0.21.0 \
198 crate://crates.io/rustc-hash/1.1.0 \ 222 crate://crates.io/rustc-hash/1.1.0 \
199 crate://crates.io/rustc_version/0.4.0 \ 223 crate://crates.io/rustc-hash/2.1.1 \
200 crate://crates.io/rustix/0.37.26 \ 224 crate://crates.io/rustc_version/0.4.1 \
201 crate://crates.io/rustix/0.38.31 \ 225 crate://crates.io/rustix/0.38.44 \
226 crate://crates.io/rustix/1.0.1 \
227 crate://crates.io/rustversion/1.0.20 \
202 crate://crates.io/same-file/1.0.6 \ 228 crate://crates.io/same-file/1.0.6 \
203 crate://crates.io/scopeguard/1.2.0 \ 229 crate://crates.io/scopeguard/1.2.0 \
204 crate://crates.io/self_cell/1.0.3 \ 230 crate://crates.io/self_cell/1.2.0 \
205 crate://crates.io/selinux/0.4.0 \ 231 crate://crates.io/selinux/0.5.1 \
206 crate://crates.io/selinux-sys/0.6.2 \ 232 crate://crates.io/selinux-sys/0.6.14 \
207 crate://crates.io/semver/1.0.14 \ 233 crate://crates.io/semver/1.0.26 \
208 crate://crates.io/serde/1.0.193 \ 234 crate://crates.io/serde/1.0.219 \
209 crate://crates.io/serde_derive/1.0.193 \ 235 crate://crates.io/serde-big-array/0.5.1 \
236 crate://crates.io/serde_derive/1.0.219 \
210 crate://crates.io/sha1/0.10.6 \ 237 crate://crates.io/sha1/0.10.6 \
211 crate://crates.io/sha2/0.10.8 \ 238 crate://crates.io/sha2/0.10.9 \
212 crate://crates.io/sha3/0.10.8 \ 239 crate://crates.io/sha3/0.10.8 \
213 crate://crates.io/shlex/1.3.0 \ 240 crate://crates.io/shlex/1.3.0 \
214 crate://crates.io/signal-hook/0.3.17 \ 241 crate://crates.io/signal-hook/0.3.18 \
215 crate://crates.io/signal-hook-mio/0.2.3 \ 242 crate://crates.io/signal-hook-mio/0.2.4 \
216 crate://crates.io/signal-hook-registry/1.4.1 \ 243 crate://crates.io/signal-hook-registry/1.4.2 \
217 crate://crates.io/siphasher/0.3.10 \ 244 crate://crates.io/simd-adler32/0.3.7 \
218 crate://crates.io/slab/0.4.7 \ 245 crate://crates.io/siphasher/1.0.1 \
246 crate://crates.io/slab/0.4.9 \
219 crate://crates.io/sm3/0.4.2 \ 247 crate://crates.io/sm3/0.4.2 \
220 crate://crates.io/smallvec/1.13.1 \ 248 crate://crates.io/smallvec/1.15.0 \
221 crate://crates.io/smawk/0.3.1 \ 249 crate://crates.io/smawk/0.3.2 \
222 crate://crates.io/socket2/0.5.3 \ 250 crate://crates.io/socket2/0.5.8 \
223 crate://crates.io/strsim/0.10.0 \ 251 crate://crates.io/strsim/0.11.1 \
224 crate://crates.io/syn/1.0.109 \ 252 crate://crates.io/syn/2.0.99 \
225 crate://crates.io/syn/2.0.32 \
226 crate://crates.io/tap/1.0.1 \ 253 crate://crates.io/tap/1.0.1 \
227 crate://crates.io/tempfile/3.10.1 \ 254 crate://crates.io/tempfile/3.20.0 \
228 crate://crates.io/terminal_size/0.2.6 \ 255 crate://crates.io/terminal_size/0.4.2 \
229 crate://crates.io/terminal_size/0.3.0 \ 256 crate://crates.io/textwrap/0.16.2 \
230 crate://crates.io/textwrap/0.16.1 \ 257 crate://crates.io/thiserror/1.0.69 \
231 crate://crates.io/thiserror/1.0.37 \ 258 crate://crates.io/thiserror/2.0.12 \
232 crate://crates.io/thiserror-impl/1.0.37 \ 259 crate://crates.io/thiserror-impl/1.0.69 \
233 crate://crates.io/time/0.3.20 \ 260 crate://crates.io/thiserror-impl/2.0.12 \
234 crate://crates.io/time-core/0.1.0 \ 261 crate://crates.io/time/0.3.41 \
235 crate://crates.io/time-macros/0.2.8 \ 262 crate://crates.io/time-core/0.1.4 \
263 crate://crates.io/time-macros/0.2.22 \
236 crate://crates.io/tiny-keccak/2.0.2 \ 264 crate://crates.io/tiny-keccak/2.0.2 \
265 crate://crates.io/tinystr/0.8.1 \
266 crate://crates.io/toml_datetime/0.6.8 \
267 crate://crates.io/toml_edit/0.22.24 \
237 crate://crates.io/trim-in-place/0.1.7 \ 268 crate://crates.io/trim-in-place/0.1.7 \
238 crate://crates.io/typenum/1.15.0 \ 269 crate://crates.io/type-map/0.5.0 \
239 crate://crates.io/unicode-ident/1.0.5 \ 270 crate://crates.io/typenum/1.18.0 \
271 crate://crates.io/unic-langid/0.9.6 \
272 crate://crates.io/unic-langid-impl/0.9.6 \
273 crate://crates.io/unicode-ident/1.0.18 \
240 crate://crates.io/unicode-linebreak/0.1.5 \ 274 crate://crates.io/unicode-linebreak/0.1.5 \
241 crate://crates.io/unicode-segmentation/1.11.0 \ 275 crate://crates.io/unicode-segmentation/1.12.0 \
242 crate://crates.io/unicode-width/0.1.11 \ 276 crate://crates.io/unicode-width/0.1.14 \
243 crate://crates.io/unicode-xid/0.2.4 \ 277 crate://crates.io/unicode-width/0.2.0 \
244 crate://crates.io/unindent/0.2.1 \ 278 crate://crates.io/unicode-xid/0.2.6 \
245 crate://crates.io/utf8parse/0.2.1 \ 279 crate://crates.io/unindent/0.2.4 \
246 crate://crates.io/uuid/1.7.0 \ 280 crate://crates.io/unty/0.0.4 \
247 crate://crates.io/uutils_term_grid/0.3.0 \ 281 crate://crates.io/utf8parse/0.2.2 \
248 crate://crates.io/version_check/0.9.4 \ 282 crate://crates.io/utmp-classic/0.1.6 \
283 crate://crates.io/utmp-classic-raw/0.1.3 \
284 crate://crates.io/uuid/1.15.1 \
285 crate://crates.io/uutils_term_grid/0.7.0 \
286 crate://crates.io/version_check/0.9.5 \
287 crate://crates.io/virtue/0.0.18 \
249 crate://crates.io/walkdir/2.5.0 \ 288 crate://crates.io/walkdir/2.5.0 \
250 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ 289 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
251 crate://crates.io/wasm-bindgen/0.2.87 \ 290 crate://crates.io/wasi/0.13.3+wasi-0.2.2 \
252 crate://crates.io/wasm-bindgen-backend/0.2.87 \ 291 crate://crates.io/wasm-bindgen/0.2.100 \
253 crate://crates.io/wasm-bindgen-macro/0.2.87 \ 292 crate://crates.io/wasm-bindgen-backend/0.2.100 \
254 crate://crates.io/wasm-bindgen-macro-support/0.2.87 \ 293 crate://crates.io/wasm-bindgen-macro/0.2.100 \
255 crate://crates.io/wasm-bindgen-shared/0.2.87 \ 294 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
256 crate://crates.io/which/4.3.0 \ 295 crate://crates.io/wasm-bindgen-shared/0.2.100 \
296 crate://crates.io/web-time/1.1.0 \
257 crate://crates.io/wild/2.2.1 \ 297 crate://crates.io/wild/2.2.1 \
258 crate://crates.io/winapi/0.3.9 \ 298 crate://crates.io/winapi/0.3.9 \
259 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ 299 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
260 crate://crates.io/winapi-util/0.1.8 \ 300 crate://crates.io/winapi-util/0.1.9 \
261 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ 301 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
262 crate://crates.io/windows/0.52.0 \ 302 crate://crates.io/windows-core/0.60.1 \
263 crate://crates.io/windows-core/0.52.0 \ 303 crate://crates.io/windows-implement/0.59.0 \
264 crate://crates.io/windows-sys/0.45.0 \ 304 crate://crates.io/windows-interface/0.59.1 \
305 crate://crates.io/windows-link/0.1.1 \
306 crate://crates.io/windows-result/0.3.1 \
307 crate://crates.io/windows-strings/0.3.1 \
265 crate://crates.io/windows-sys/0.48.0 \ 308 crate://crates.io/windows-sys/0.48.0 \
266 crate://crates.io/windows-sys/0.52.0 \ 309 crate://crates.io/windows-sys/0.52.0 \
267 crate://crates.io/windows-targets/0.42.2 \ 310 crate://crates.io/windows-sys/0.59.0 \
268 crate://crates.io/windows-targets/0.48.0 \ 311 crate://crates.io/windows-targets/0.48.5 \
269 crate://crates.io/windows-targets/0.52.0 \ 312 crate://crates.io/windows-targets/0.52.6 \
270 crate://crates.io/windows_aarch64_gnullvm/0.42.2 \ 313 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
271 crate://crates.io/windows_aarch64_gnullvm/0.48.0 \ 314 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
272 crate://crates.io/windows_aarch64_gnullvm/0.52.0 \ 315 crate://crates.io/windows_aarch64_msvc/0.48.5 \
273 crate://crates.io/windows_aarch64_msvc/0.42.2 \ 316 crate://crates.io/windows_aarch64_msvc/0.52.6 \
274 crate://crates.io/windows_aarch64_msvc/0.48.0 \ 317 crate://crates.io/windows_i686_gnu/0.48.5 \
275 crate://crates.io/windows_aarch64_msvc/0.52.0 \ 318 crate://crates.io/windows_i686_gnu/0.52.6 \
276 crate://crates.io/windows_i686_gnu/0.42.2 \ 319 crate://crates.io/windows_i686_gnullvm/0.52.6 \
277 crate://crates.io/windows_i686_gnu/0.48.0 \ 320 crate://crates.io/windows_i686_msvc/0.48.5 \
278 crate://crates.io/windows_i686_gnu/0.52.0 \ 321 crate://crates.io/windows_i686_msvc/0.52.6 \
279 crate://crates.io/windows_i686_msvc/0.42.2 \ 322 crate://crates.io/windows_x86_64_gnu/0.48.5 \
280 crate://crates.io/windows_i686_msvc/0.48.0 \ 323 crate://crates.io/windows_x86_64_gnu/0.52.6 \
281 crate://crates.io/windows_i686_msvc/0.52.0 \ 324 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
282 crate://crates.io/windows_x86_64_gnu/0.42.2 \ 325 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
283 crate://crates.io/windows_x86_64_gnu/0.48.0 \ 326 crate://crates.io/windows_x86_64_msvc/0.48.5 \
284 crate://crates.io/windows_x86_64_gnu/0.52.0 \ 327 crate://crates.io/windows_x86_64_msvc/0.52.6 \
285 crate://crates.io/windows_x86_64_gnullvm/0.42.2 \ 328 crate://crates.io/winnow/0.7.3 \
286 crate://crates.io/windows_x86_64_gnullvm/0.48.0 \ 329 crate://crates.io/wit-bindgen-rt/0.33.0 \
287 crate://crates.io/windows_x86_64_gnullvm/0.52.0 \
288 crate://crates.io/windows_x86_64_msvc/0.42.2 \
289 crate://crates.io/windows_x86_64_msvc/0.48.0 \
290 crate://crates.io/windows_x86_64_msvc/0.52.0 \
291 crate://crates.io/wyz/0.5.1 \ 330 crate://crates.io/wyz/0.5.1 \
292 crate://crates.io/xattr/1.3.1 \ 331 crate://crates.io/xattr/1.5.0 \
293 crate://crates.io/yansi/0.5.1 \ 332 crate://crates.io/yansi/1.0.1 \
294 crate://crates.io/z85/3.0.5 \ 333 crate://crates.io/z85/3.0.6 \
295 crate://crates.io/zip/1.1.1 \ 334 crate://crates.io/zerocopy/0.7.35 \
335 crate://crates.io/zerocopy-derive/0.7.35 \
336 crate://crates.io/zerofrom/0.1.6 \
337 crate://crates.io/zerovec/0.11.2 \
338 crate://crates.io/zip/4.0.0 \
339 crate://crates.io/zlib-rs/0.5.0 \
340 crate://crates.io/zopfli/0.8.1 \
296" 341"
297 342
298SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 343SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
299SRC_URI[ahash-0.7.8.sha256sum] = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" 344SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
300SRC_URI[aho-corasick-1.0.4.sha256sum] = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a" 345SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
301SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" 346SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
302SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" 347SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
303SRC_URI[anstream-0.5.0.sha256sum] = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" 348SRC_URI[ansi-width-0.1.0.sha256sum] = "219e3ce6f2611d83b51ec2098a12702112c29e57203a6b0a0929b2cddb486608"
304SRC_URI[anstyle-1.0.0.sha256sum] = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" 349SRC_URI[anstream-0.6.18.sha256sum] = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
305SRC_URI[anstyle-parse-0.2.0.sha256sum] = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" 350SRC_URI[anstyle-1.0.10.sha256sum] = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
306SRC_URI[anstyle-query-1.0.0.sha256sum] = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" 351SRC_URI[anstyle-parse-0.2.6.sha256sum] = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
307SRC_URI[anstyle-wincon-2.1.0.sha256sum] = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" 352SRC_URI[anstyle-query-1.1.2.sha256sum] = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
308SRC_URI[arbitrary-1.3.2.sha256sum] = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" 353SRC_URI[anstyle-wincon-3.0.7.sha256sum] = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e"
309SRC_URI[arrayref-0.3.6.sha256sum] = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 354SRC_URI[arbitrary-1.4.1.sha256sum] = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
310SRC_URI[arrayvec-0.7.4.sha256sum] = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" 355SRC_URI[arrayref-0.3.9.sha256sum] = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
311SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 356SRC_URI[arrayvec-0.7.6.sha256sum] = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
312SRC_URI[bigdecimal-0.4.0.sha256sum] = "5274a6b6e0ee020148397245b973e30163b7bffbc6d473613f850cb99888581e" 357SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
358SRC_URI[bigdecimal-0.4.8.sha256sum] = "1a22f228ab7a1b23027ccc6c350b72868017af7ea8356fbdf19f8d991c690013"
313SRC_URI[binary-heap-plus-0.5.0.sha256sum] = "e4551d8382e911ecc0d0f0ffb602777988669be09447d536ff4388d1def11296" 359SRC_URI[binary-heap-plus-0.5.0.sha256sum] = "e4551d8382e911ecc0d0f0ffb602777988669be09447d536ff4388d1def11296"
314SRC_URI[bindgen-0.63.0.sha256sum] = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885" 360SRC_URI[bincode-2.0.1.sha256sum] = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740"
361SRC_URI[bincode_derive-2.0.1.sha256sum] = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09"
362SRC_URI[bindgen-0.71.1.sha256sum] = "5f58bf3d7db68cfbac37cfc485a8d711e87e064c3d0fe0435b92f7a407f9d6b3"
315SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 363SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
316SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" 364SRC_URI[bitflags-2.9.0.sha256sum] = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
317SRC_URI[bitvec-1.0.1.sha256sum] = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 365SRC_URI[bitvec-1.0.1.sha256sum] = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c"
318SRC_URI[blake2b_simd-1.0.2.sha256sum] = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" 366SRC_URI[blake2b_simd-1.0.3.sha256sum] = "06e903a20b159e944f91ec8499fe1e55651480c541ea0a584f5d967c49ad9d99"
319SRC_URI[blake3-1.5.1.sha256sum] = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" 367SRC_URI[blake3-1.8.2.sha256sum] = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
320SRC_URI[block-buffer-0.10.3.sha256sum] = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" 368SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
321SRC_URI[bstr-1.9.1.sha256sum] = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" 369SRC_URI[bstr-1.12.0.sha256sum] = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
322SRC_URI[bumpalo-3.11.1.sha256sum] = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" 370SRC_URI[bumpalo-3.17.0.sha256sum] = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
323SRC_URI[bytecount-0.6.8.sha256sum] = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" 371SRC_URI[bytecount-0.6.8.sha256sum] = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce"
324SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" 372SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
325SRC_URI[cc-1.0.79.sha256sum] = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" 373SRC_URI[cc-1.2.16.sha256sum] = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
326SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766" 374SRC_URI[cexpr-0.6.0.sha256sum] = "6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766"
327SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 375SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
328SRC_URI[cfg_aliases-0.1.1.sha256sum] = "fd16c4719339c4530435d38e511904438d07cce7950afa3718a84ac36c10e89e" 376SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
329SRC_URI[chrono-0.4.38.sha256sum] = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" 377SRC_URI[chrono-0.4.41.sha256sum] = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
330SRC_URI[clang-sys-1.4.0.sha256sum] = "fa2e27ae6ab525c3d369ded447057bca5438d86dc3a68f6faafb8269ba82ebf3" 378SRC_URI[chrono-tz-0.10.3.sha256sum] = "efdce149c370f133a071ca8ef6ea340b7b88748ab0810097a9e2976eaa34b4f3"
331SRC_URI[clap-4.4.2.sha256sum] = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" 379SRC_URI[chrono-tz-build-0.4.0.sha256sum] = "e94fea34d77a245229e7746bd2beb786cd2a896f306ff491fb8cecb3074b10a7"
332SRC_URI[clap_builder-4.4.2.sha256sum] = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" 380SRC_URI[clang-sys-1.8.1.sha256sum] = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4"
333SRC_URI[clap_complete-4.4.0.sha256sum] = "586a385f7ef2f8b4d86bddaa0c094794e7ccbfe5ffef1f434fe928143fc783a5" 381SRC_URI[clap-4.5.38.sha256sum] = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000"
334SRC_URI[clap_lex-0.5.0.sha256sum] = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" 382SRC_URI[clap_builder-4.5.38.sha256sum] = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120"
335SRC_URI[clap_mangen-0.2.9.sha256sum] = "bb0f09a0ca8f0dd8ac92c546b426f466ef19828185c6d504c80c48c9c2768ed9" 383SRC_URI[clap_complete-4.5.50.sha256sum] = "c91d3baa3bcd889d60e6ef28874126a0b384fd225ab83aa6d8a801c519194ce1"
336SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" 384SRC_URI[clap_lex-0.7.4.sha256sum] = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
385SRC_URI[clap_mangen-0.2.26.sha256sum] = "724842fa9b144f9b89b3f3d371a89f3455eea660361d13a554f68f8ae5d6c13a"
386SRC_URI[colorchoice-1.0.3.sha256sum] = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
337SRC_URI[compare-0.1.0.sha256sum] = "120133d4db2ec47efe2e26502ee984747630c67f51974fca0b6c1340cf2368d3" 387SRC_URI[compare-0.1.0.sha256sum] = "120133d4db2ec47efe2e26502ee984747630c67f51974fca0b6c1340cf2368d3"
338SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb" 388SRC_URI[console-0.15.11.sha256sum] = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
339SRC_URI[const-random-0.1.16.sha256sum] = "11df32a13d7892ec42d51d3d175faba5211ffe13ed25d4fb348ac9e9ce835593" 389SRC_URI[const-random-0.1.18.sha256sum] = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
340SRC_URI[const-random-macro-0.1.16.sha256sum] = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e" 390SRC_URI[const-random-macro-0.1.16.sha256sum] = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
341SRC_URI[constant_time_eq-0.3.0.sha256sum] = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" 391SRC_URI[constant_time_eq-0.3.1.sha256sum] = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
342SRC_URI[core-foundation-sys-0.8.3.sha256sum] = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 392SRC_URI[convert_case-0.7.1.sha256sum] = "bb402b8d4c85569410425650ce3eddc7d698ed96d39a73f941b08fb63082f1e7"
393SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
343SRC_URI[coz-0.1.3.sha256sum] = "cef55b3fe2f5477d59e12bc792e8b3c95a25bd099eadcfae006ecea136de76e2" 394SRC_URI[coz-0.1.3.sha256sum] = "cef55b3fe2f5477d59e12bc792e8b3c95a25bd099eadcfae006ecea136de76e2"
344SRC_URI[cpp-0.5.9.sha256sum] = "bfa65869ef853e45c60e9828aa08cdd1398cb6e13f3911d9cb2a079b144fcd64" 395SRC_URI[cpp-0.5.10.sha256sum] = "f36bcac3d8234c1fb813358e83d1bb6b0290a3d2b3b5efc6b88bfeaf9d8eec17"
345SRC_URI[cpp_build-0.5.9.sha256sum] = "0e361fae2caf9758164b24da3eedd7f7d7451be30d90d8e7b5d2be29a2f0cf5b" 396SRC_URI[cpp_build-0.5.10.sha256sum] = "27f8638c97fbd79cc6fc80b616e0e74b49bac21014faed590bbc89b7e2676c90"
346SRC_URI[cpp_common-0.5.9.sha256sum] = "3e1a2532e4ed4ea13031c13bc7bc0dbca4aae32df48e9d77f0d1e743179f2ea1" 397SRC_URI[cpp_common-0.5.10.sha256sum] = "25fcfea2ee05889597d35e986c2ad0169694320ae5cc8f6d2640a4bb8a884560"
347SRC_URI[cpp_macros-0.5.9.sha256sum] = "47ec9cc90633446f779ef481a9ce5a0077107dd5b87016440448d908625a83fd" 398SRC_URI[cpp_macros-0.5.10.sha256sum] = "d156158fe86e274820f5a53bc9edb0885a6e7113909497aa8d883b69dd171871"
348SRC_URI[cpufeatures-0.2.5.sha256sum] = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" 399SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
349SRC_URI[crc32fast-1.4.0.sha256sum] = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" 400SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
350SRC_URI[crossbeam-channel-0.5.10.sha256sum] = "82a9b73a36529d9c47029b9fb3a6f0ea3cc916a261195352ba19e770fc1748b2" 401SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
351SRC_URI[crossbeam-deque-0.8.4.sha256sum] = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" 402SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
352SRC_URI[crossbeam-epoch-0.9.17.sha256sum] = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" 403SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
353SRC_URI[crossbeam-utils-0.8.19.sha256sum] = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" 404SRC_URI[crossterm-0.29.0.sha256sum] = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b"
354SRC_URI[crossterm-0.27.0.sha256sum] = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df"
355SRC_URI[crossterm_winapi-0.9.1.sha256sum] = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" 405SRC_URI[crossterm_winapi-0.9.1.sha256sum] = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
356SRC_URI[crunchy-0.2.2.sha256sum] = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 406SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
357SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 407SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
358SRC_URI[ctrlc-3.4.4.sha256sum] = "672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345" 408SRC_URI[ctor-0.4.2.sha256sum] = "a4735f265ba6a1188052ca32d461028a7d1125868be18e287e756019da7607b5"
359SRC_URI[data-encoding-2.5.0.sha256sum] = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" 409SRC_URI[ctor-proc-macro-0.0.5.sha256sum] = "4f211af61d8efdd104f96e57adf5e426ba1bc3ed7a4ead616e15e5881fd79c4d"
360SRC_URI[data-encoding-macro-0.1.14.sha256sum] = "20c01c06f5f429efdf2bae21eb67c28b3df3cf85b7dd2d8ef09c0838dac5d33e" 410SRC_URI[ctrlc-3.4.7.sha256sum] = "46f93780a459b7d656ef7f071fe699c4d3d2cb201c4b24d085b6ddc505276e73"
361SRC_URI[data-encoding-macro-internal-0.1.12.sha256sum] = "0047d07f2c89b17dd631c80450d69841a6b5d7fb17278cbc43d7e4cfcf2576f3" 411SRC_URI[data-encoding-2.9.0.sha256sum] = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
362SRC_URI[derive_arbitrary-1.3.2.sha256sum] = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" 412SRC_URI[data-encoding-macro-0.1.18.sha256sum] = "47ce6c96ea0102f01122a185683611bd5ac8d99e62bc59dd12e6bda344ee673d"
413SRC_URI[data-encoding-macro-internal-0.1.16.sha256sum] = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976"
414SRC_URI[deranged-0.4.0.sha256sum] = "9c9e6a11ca8224451684bc0d7d5a7adbf8f2fd6887261a1cfc3c0432f9d4068e"
415SRC_URI[derive_arbitrary-1.4.1.sha256sum] = "30542c1ad912e0e3d22a1935c290e12e8a29d704a420177a31faad4a601a0800"
416SRC_URI[derive_more-2.0.1.sha256sum] = "093242cf7570c207c83073cf82f79706fe7b8317e98620a47d5be7c3d8497678"
417SRC_URI[derive_more-impl-2.0.1.sha256sum] = "bda628edc44c4bb645fbe0f758797143e4e07926f7ebf4e9bdfbd3d2ce621df3"
363SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" 418SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
364SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" 419SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
365SRC_URI[dlv-list-0.5.0.sha256sum] = "d529fd73d344663edfd598ccb3f344e46034db51ebd103518eae34338248ad73" 420SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
421SRC_URI[dlv-list-0.5.2.sha256sum] = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f"
366SRC_URI[dns-lookup-2.0.4.sha256sum] = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" 422SRC_URI[dns-lookup-2.0.4.sha256sum] = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc"
367SRC_URI[dunce-1.0.4.sha256sum] = "56ce8c6da7551ec6c462cbaf3bfbc75131ebbfa1c944aeaa9dab51ca1c5f0c3b" 423SRC_URI[document-features-0.2.11.sha256sum] = "95249b50c6c185bee49034bcb378a49dc2b5dff0be90ff6616d31d64febab05d"
368SRC_URI[either-1.8.0.sha256sum] = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" 424SRC_URI[dtor-0.0.6.sha256sum] = "97cbdf2ad6846025e8e25df05171abfb30e3ababa12ee0a0e44b9bbe570633a8"
369SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" 425SRC_URI[dtor-proc-macro-0.0.5.sha256sum] = "7454e41ff9012c00d53cf7f475c5e3afa3b91b7c90568495495e8d9bf47a1055"
370SRC_URI[env_logger-0.8.4.sha256sum] = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" 426SRC_URI[dunce-1.0.5.sha256sum] = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
371SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" 427SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
428SRC_URI[encode_unicode-1.0.0.sha256sum] = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
429SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
430SRC_URI[errno-0.3.10.sha256sum] = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
372SRC_URI[exacl-0.12.0.sha256sum] = "22be12de19decddab85d09f251ec8363f060ccb22ec9c81bc157c0c8433946d8" 431SRC_URI[exacl-0.12.0.sha256sum] = "22be12de19decddab85d09f251ec8363f060ccb22ec9c81bc157c0c8433946d8"
373SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" 432SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
374SRC_URI[file_diff-1.0.0.sha256sum] = "31a7a908b8f32538a2143e59a6e4e2508988832d5d4d6f7c156b3cbc762643a5" 433SRC_URI[file_diff-1.0.0.sha256sum] = "31a7a908b8f32538a2143e59a6e4e2508988832d5d4d6f7c156b3cbc762643a5"
375SRC_URI[filedescriptor-0.8.2.sha256sum] = "7199d965852c3bac31f779ef99cbb4537f80e952e2d6aa0ffeb30cce00f4f46e" 434SRC_URI[filedescriptor-0.8.3.sha256sum] = "e40758ed24c9b2eeb76c35fb0aebc66c626084edd827e07e1552279814c6682d"
376SRC_URI[filetime-0.2.23.sha256sum] = "1ee447700ac8aa0b2f2bd7bc4462ad686ba06baa6727ac149a2d6277f0d240fd" 435SRC_URI[filetime-0.2.25.sha256sum] = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586"
377SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" 436SRC_URI[flate2-1.1.1.sha256sum] = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
437SRC_URI[fluent-0.17.0.sha256sum] = "8137a6d5a2c50d6b0ebfcb9aaa91a28154e0a70605f112d30cb0cd4a78670477"
438SRC_URI[fluent-bundle-0.16.0.sha256sum] = "01203cb8918f5711e73891b347816d932046f95f54207710bda99beaeb423bf4"
439SRC_URI[fluent-langneg-0.13.0.sha256sum] = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
440SRC_URI[fluent-syntax-0.12.0.sha256sum] = "54f0d287c53ffd184d04d8677f590f4ac5379785529e5e08b1c8083acdd5c198"
378SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" 441SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
442SRC_URI[foldhash-0.1.4.sha256sum] = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f"
379SRC_URI[fs_extra-1.3.0.sha256sum] = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" 443SRC_URI[fs_extra-1.3.0.sha256sum] = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
380SRC_URI[fsevent-sys-4.1.0.sha256sum] = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2" 444SRC_URI[fsevent-sys-4.1.0.sha256sum] = "76ee7a02da4d231650c7cea31349b889be2f45ddb3ef3032d2ec8185f6313fd2"
381SRC_URI[fts-sys-0.2.4.sha256sum] = "9a66c0a21e344f20c87b4ca12643cf4f40a7018f132c98d344e989b959f49dd1" 445SRC_URI[fts-sys-0.2.16.sha256sum] = "43119ec0f2227f8505c8bb6c60606b5eefc328607bfe1a421e561c4decfa02ab"
382SRC_URI[fundu-2.0.0.sha256sum] = "6c04cb831a8dccadfe3774b07cba4574a1ec24974d761510e65d8a543c2d7cb4"
383SRC_URI[fundu-core-0.3.0.sha256sum] = "76a889e633afd839fb5b04fe53adfd588cefe518e71ec8d3c929698c6daf2acd"
384SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 446SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
385SRC_URI[futures-0.3.28.sha256sum] = "23342abe12aba583913b2e62f22225ff9c950774065e4bfb61a19cd9770fec40" 447SRC_URI[futures-core-0.3.31.sha256sum] = "05f29059c0c2090612e8d742178b0580d2dc940c837851ad723096f87af6663e"
386SRC_URI[futures-channel-0.3.28.sha256sum] = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" 448SRC_URI[futures-macro-0.3.31.sha256sum] = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
387SRC_URI[futures-core-0.3.28.sha256sum] = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" 449SRC_URI[futures-task-0.3.31.sha256sum] = "f90f7dce0722e95104fcb095585910c0977252f286e354b5e3bd38902cd99988"
388SRC_URI[futures-executor-0.3.28.sha256sum] = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0" 450SRC_URI[futures-timer-3.0.3.sha256sum] = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24"
389SRC_URI[futures-io-0.3.28.sha256sum] = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964" 451SRC_URI[futures-util-0.3.31.sha256sum] = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81"
390SRC_URI[futures-macro-0.3.28.sha256sum] = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
391SRC_URI[futures-sink-0.3.28.sha256sum] = "f43be4fe21a13b9781a69afa4985b0f6ee0e1afab2c6f454a8cf30e2b2237b6e"
392SRC_URI[futures-task-0.3.28.sha256sum] = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
393SRC_URI[futures-timer-3.0.2.sha256sum] = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c"
394SRC_URI[futures-util-0.3.28.sha256sum] = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
395SRC_URI[gcd-2.3.0.sha256sum] = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a" 452SRC_URI[gcd-2.3.0.sha256sum] = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a"
396SRC_URI[generic-array-0.14.6.sha256sum] = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" 453SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
397SRC_URI[getrandom-0.2.9.sha256sum] = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4" 454SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
398SRC_URI[glob-0.3.1.sha256sum] = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" 455SRC_URI[getrandom-0.3.1.sha256sum] = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8"
399SRC_URI[half-2.4.0.sha256sum] = "b5eceaaeec696539ddaf7b333340f1af35a5aa87ae3e4f3ead0532f72affab2e" 456SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
400SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 457SRC_URI[half-2.6.0.sha256sum] = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
401SRC_URI[hashbrown-0.14.3.sha256sum] = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" 458SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
402SRC_URI[hermit-abi-0.3.2.sha256sum] = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" 459SRC_URI[hashbrown-0.15.2.sha256sum] = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
403SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 460SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
404SRC_URI[hex-literal-0.4.1.sha256sum] = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" 461SRC_URI[hex-literal-1.0.0.sha256sum] = "bcaaec4551594c969335c98c903c1397853d4198408ea609190f420500f6be71"
405SRC_URI[hostname-0.4.0.sha256sum] = "f9c7c7c8ac16c798734b8a24560c1362120597c40d5e1459f09498f8f6c8f2ba" 462SRC_URI[hostname-0.4.1.sha256sum] = "a56f203cd1c76362b69e3863fd987520ac36cf70a8c92627449b2f64a8cf7d65"
406SRC_URI[iana-time-zone-0.1.53.sha256sum] = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" 463SRC_URI[iana-time-zone-0.1.63.sha256sum] = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
407SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" 464SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
408SRC_URI[indicatif-0.17.3.sha256sum] = "cef509aa9bc73864d6756f0d34d35504af3cf0844373afe9b8669a5b8005a729" 465SRC_URI[indexmap-2.7.1.sha256sum] = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
409SRC_URI[inotify-0.9.6.sha256sum] = "f8069d3ec154eb856955c1c0fbffefbf5f3c40a104ec912d4797314c1801abff" 466SRC_URI[indicatif-0.17.11.sha256sum] = "183b3088984b400f4cfac3620d5e076c84da5364016b4f49473de574b2586235"
467SRC_URI[inotify-0.11.0.sha256sum] = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3"
410SRC_URI[inotify-sys-0.1.5.sha256sum] = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb" 468SRC_URI[inotify-sys-0.1.5.sha256sum] = "e05c02b5e89bff3b946cedeca278abc628fe811e604f027c45a8aa3cf793d0eb"
411SRC_URI[io-lifetimes-1.0.11.sha256sum] = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" 469SRC_URI[intl-memoizer-0.5.3.sha256sum] = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
412SRC_URI[itertools-0.12.1.sha256sum] = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" 470SRC_URI[intl_pluralrules-7.0.2.sha256sum] = "078ea7b7c29a2b4df841a7f6ac8775ff6074020c6776d48491ce2268e068f972"
413SRC_URI[itoa-1.0.4.sha256sum] = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" 471SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
414SRC_URI[js-sys-0.3.64.sha256sum] = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" 472SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
415SRC_URI[keccak-0.1.4.sha256sum] = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" 473SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
416SRC_URI[kqueue-1.0.7.sha256sum] = "2c8fc60ba15bf51257aa9807a48a61013db043fcf3a78cb0d916e8e396dcad98" 474SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
417SRC_URI[kqueue-sys-1.0.3.sha256sum] = "8367585489f01bc55dd27404dcf56b95e6da061a256a666ab23be9ba96a2e587" 475SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
418SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 476SRC_URI[keccak-0.1.5.sha256sum] = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654"
419SRC_URI[lazycell-1.3.0.sha256sum] = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" 477SRC_URI[kqueue-1.0.8.sha256sum] = "7447f1ca1b7b563588a205fe93dea8df60fd981423a768bc1c0ded35ed147d0c"
420SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" 478SRC_URI[kqueue-sys-1.0.4.sha256sum] = "ed9625ffda8729b85e45cf04090035ac368927b8cebc34898e7c120f52e4838b"
421SRC_URI[libloading-0.7.4.sha256sum] = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f" 479SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
422SRC_URI[libm-0.2.7.sha256sum] = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" 480SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
423SRC_URI[linux-raw-sys-0.3.8.sha256sum] = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" 481SRC_URI[libloading-0.8.6.sha256sum] = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
424SRC_URI[linux-raw-sys-0.4.12.sha256sum] = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" 482SRC_URI[libm-0.2.11.sha256sum] = "8355be11b20d696c8f18f6cc018c4e372165b1fa8126cef092399c9951984ffa"
425SRC_URI[lock_api-0.4.9.sha256sum] = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df" 483SRC_URI[libredox-0.1.3.sha256sum] = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d"
426SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" 484SRC_URI[libz-rs-sys-0.5.0.sha256sum] = "6489ca9bd760fe9642d7644e827b0c9add07df89857b0416ee15c1cc1a3b8c5a"
427SRC_URI[lru-0.7.8.sha256sum] = "e999beba7b6e8345721bd280141ed958096a2e4abdf74f67ff4ce49b4b54e47a" 485SRC_URI[linux-raw-sys-0.4.15.sha256sum] = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
428SRC_URI[lscolors-0.16.0.sha256sum] = "ab0b209ec3976527806024406fe765474b9a1750a0ed4b8f0372364741f50e7b" 486SRC_URI[linux-raw-sys-0.9.4.sha256sum] = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
487SRC_URI[litrs-0.4.1.sha256sum] = "b4ce301924b7887e9d637144fdade93f9dfff9b60981d4ac161db09720d39aa5"
488SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
489SRC_URI[lockfree-object-pool-0.1.6.sha256sum] = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e"
490SRC_URI[log-0.4.26.sha256sum] = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e"
491SRC_URI[lru-0.12.5.sha256sum] = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
492SRC_URI[lscolors-0.20.0.sha256sum] = "61183da5de8ba09a58e330d55e5ea796539d8443bd00fdeb863eac39724aa4ab"
429SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" 493SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
430SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" 494SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
431SRC_URI[memmap2-0.9.0.sha256sum] = "deaba38d7abf1d4cca21cc89e932e542ba2b9258664d2a9ef0e61512039c9375" 495SRC_URI[memmap2-0.9.5.sha256sum] = "fd3f7eed9d3848f8b98834af67102b720745c4ec028fcd0aa0239277e7de374f"
432SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" 496SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
433SRC_URI[miniz_oxide-0.7.2.sha256sum] = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" 497SRC_URI[miniz_oxide-0.8.5.sha256sum] = "8e3e04debbb59698c15bacbb6d93584a8c0ca9cc3213cb423d31f760d8843ce5"
434SRC_URI[mio-0.8.11.sha256sum] = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" 498SRC_URI[mio-1.0.3.sha256sum] = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd"
435SRC_URI[nix-0.28.0.sha256sum] = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4" 499SRC_URI[nix-0.30.1.sha256sum] = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
436SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" 500SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
437SRC_URI[notify-6.0.1.sha256sum] = "5738a2795d57ea20abec2d6d76c6081186709c0024187cd5977265eda6598b51" 501SRC_URI[nom-8.0.0.sha256sum] = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
438SRC_URI[nu-ansi-term-0.49.0.sha256sum] = "c073d3c1930d0751774acf49e66653acecb416c3a54c6ec095a9b11caddb5a68" 502SRC_URI[notify-8.0.0.sha256sum] = "2fee8403b3d66ac7b26aee6e40a897d85dc5ce26f44da36b8b73e987cc52e943"
439SRC_URI[num-bigint-0.4.4.sha256sum] = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" 503SRC_URI[notify-types-2.0.0.sha256sum] = "5e0826a989adedc2a244799e823aece04662b66609d96af8dff7ac6df9a8925d"
440SRC_URI[num-integer-0.1.45.sha256sum] = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 504SRC_URI[nu-ansi-term-0.50.1.sha256sum] = "d4a28e057d01f97e61255210fcff094d74ed0466038633e95017f5beb68e4399"
505SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
506SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
507SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
441SRC_URI[num-modular-0.5.1.sha256sum] = "64a5fe11d4135c3bcdf3a95b18b194afa9608a5f6ff034f5d857bc9a27fb0119" 508SRC_URI[num-modular-0.5.1.sha256sum] = "64a5fe11d4135c3bcdf3a95b18b194afa9608a5f6ff034f5d857bc9a27fb0119"
442SRC_URI[num-prime-0.4.3.sha256sum] = "5f4e3bc495f6e95bc15a6c0c55ac00421504a5a43d09e3cc455d1fea7015581d" 509SRC_URI[num-prime-0.4.4.sha256sum] = "e238432a7881ec7164503ccc516c014bf009be7984cde1ba56837862543bdec3"
443SRC_URI[num-traits-0.2.18.sha256sum] = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" 510SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
444SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" 511SRC_URI[num_threads-0.1.7.sha256sum] = "5c7398b9c8b70908f6371f47ed36737907c87c52af34c268fed0bf0ceb92ead9"
445SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" 512SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
446SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" 513SRC_URI[once_cell-1.20.3.sha256sum] = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
447SRC_URI[onig-6.4.0.sha256sum] = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f" 514SRC_URI[onig-6.5.1.sha256sum] = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0"
448SRC_URI[onig_sys-69.8.1.sha256sum] = "7b829e3d7e9cc74c7e315ee8edb185bf4190da5acde74afd7fc59c35b1f086e7" 515SRC_URI[onig_sys-69.9.1.sha256sum] = "c7f86c6eef3d6df15f23bcfb6af487cbd2fed4e5581d58d5bf1f5f8b7f6727dc"
449SRC_URI[ordered-multimap-0.7.3.sha256sum] = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79" 516SRC_URI[ordered-multimap-0.7.3.sha256sum] = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79"
450SRC_URI[os_display-0.1.3.sha256sum] = "7a6229bad892b46b0dcfaaeb18ad0d2e56400f5aaea05b768bde96e73676cf75" 517SRC_URI[os_display-0.1.4.sha256sum] = "ad5fd71b79026fb918650dde6d125000a233764f1c2f1659a1c71118e33ea08f"
451SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 518SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
452SRC_URI[parking_lot_core-0.9.9.sha256sum] = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" 519SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
453SRC_URI[parse_datetime-0.5.0.sha256sum] = "3bbf4e25b13841080e018a1e666358adfe5e39b6d353f986ca5091c210b586a1" 520SRC_URI[parse-zoneinfo-0.3.1.sha256sum] = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24"
454SRC_URI[peeking_take_while-0.1.2.sha256sum] = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099" 521SRC_URI[parse_datetime-0.9.0.sha256sum] = "2fd3830b49ee3a0dcc8fdfadc68c6354c97d00101ac1cac5b2eee25d35c42066"
455SRC_URI[phf-0.11.2.sha256sum] = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" 522SRC_URI[phf-0.11.3.sha256sum] = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
456SRC_URI[phf_codegen-0.11.2.sha256sum] = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" 523SRC_URI[phf_codegen-0.11.3.sha256sum] = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
457SRC_URI[phf_generator-0.11.1.sha256sum] = "b1181c94580fa345f50f19d738aaa39c0ed30a600d95cb2d3e23f94266f14fbf" 524SRC_URI[phf_generator-0.11.3.sha256sum] = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
458SRC_URI[phf_shared-0.11.2.sha256sum] = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" 525SRC_URI[phf_shared-0.11.3.sha256sum] = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
459SRC_URI[pin-project-lite-0.2.9.sha256sum] = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" 526SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b"
460SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 527SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
461SRC_URI[pkg-config-0.3.26.sha256sum] = "6ac9a59f73473f1b8d852421e59e64809f025994837ef743615c6d0c5b305160" 528SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
462SRC_URI[platform-info-2.0.3.sha256sum] = "d5ff316b9c4642feda973c18f0decd6c8b0919d4722566f6e4337cce0dd88217" 529SRC_URI[platform-info-2.0.5.sha256sum] = "7539aeb3fdd8cb4f6a331307cf71a1039cee75e94e8a71725b9484f4a0d9451a"
463SRC_URI[portable-atomic-0.3.15.sha256sum] = "15eb2c6e362923af47e13c23ca5afb859e83d54452c55b0b9ac763b8f7c1ac16" 530SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
464SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" 531SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
465SRC_URI[pretty_assertions-1.4.0.sha256sum] = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" 532SRC_URI[ppv-lite86-0.2.20.sha256sum] = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04"
466SRC_URI[proc-macro2-1.0.63.sha256sum] = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" 533SRC_URI[pretty_assertions-1.4.1.sha256sum] = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
467SRC_URI[procfs-0.16.0.sha256sum] = "731e0d9356b0c25f16f33b5be79b1c57b562f141ebfcdb0ad8ac2c13a24293b4" 534SRC_URI[prettyplease-0.2.30.sha256sum] = "f1ccf34da56fc294e7d4ccf69a85992b7dfb826b7cf57bac6a70bba3494cc08a"
468SRC_URI[procfs-core-0.16.0.sha256sum] = "2d3554923a69f4ce04c4a754260c338f505ce22642d3830e049a399fc2059a29" 535SRC_URI[proc-macro-crate-3.3.0.sha256sum] = "edce586971a4dfaa28950c6f18ed55e0406c1ab88bbce2c6f6293a7aaba73d35"
536SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
537SRC_URI[procfs-0.17.0.sha256sum] = "cc5b72d8145275d844d4b5f6d4e1eef00c8cd889edb6035c21675d1bb1f45c9f"
538SRC_URI[procfs-core-0.17.0.sha256sum] = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec"
469SRC_URI[quick-error-2.0.1.sha256sum] = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" 539SRC_URI[quick-error-2.0.1.sha256sum] = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
470SRC_URI[quickcheck-1.0.3.sha256sum] = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6" 540SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
471SRC_URI[quote-1.0.29.sha256sum] = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105"
472SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 541SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
473SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 542SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
543SRC_URI[rand-0.9.1.sha256sum] = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
474SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 544SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
545SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
475SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" 546SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
476SRC_URI[rand_pcg-0.3.1.sha256sum] = "59cad018caf63deb318e5a4586d99a24424a364f40f1e5778c29aca23f4fc73e" 547SRC_URI[rand_core-0.9.3.sha256sum] = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
477SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" 548SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
478SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" 549SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
479SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" 550SRC_URI[redox_syscall-0.5.10.sha256sum] = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
480SRC_URI[redox_syscall-0.5.0.sha256sum] = "13c178f952cc7eac391f3124bd9851d1ac0bdbc4c9de2d892ccd5f0d8b160e96" 551SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
481SRC_URI[reference-counted-singleton-0.1.2.sha256sum] = "f1bfbf25d7eb88ddcbb1ec3d755d0634da8f7657b2cb8b74089121409ab8228f" 552SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
482SRC_URI[regex-1.10.4.sha256sum] = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" 553SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
483SRC_URI[regex-automata-0.4.4.sha256sum] = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a" 554SRC_URI[relative-path-1.9.3.sha256sum] = "ba39f3699c378cd8970968dcbff9c43159ea4cfbd88d43c00b22f2ef10a435d2"
484SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" 555SRC_URI[rlimit-0.10.2.sha256sum] = "7043b63bd0cd1aaa628e476b80e6d4023a3b50eb32789f2728908107bd0c793a"
485SRC_URI[relative-path-1.8.0.sha256sum] = "4bf2521270932c3c7bed1a59151222bd7643c79310f2916f01925e1e16255698" 556SRC_URI[roff-0.2.2.sha256sum] = "88f8660c1ff60292143c98d08fc6e2f654d722db50410e3f3797d40baaf9d8f3"
486SRC_URI[rlimit-0.10.1.sha256sum] = "3560f70f30a0f16d11d01ed078a07740fe6b489667abc7c7b029155d9f21c3d8" 557SRC_URI[rstest-0.25.0.sha256sum] = "6fc39292f8613e913f7df8fa892b8944ceb47c247b78e1b1ae2f09e019be789d"
487SRC_URI[roff-0.2.1.sha256sum] = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" 558SRC_URI[rstest_macros-0.25.0.sha256sum] = "1f168d99749d307be9de54d23fd226628d99768225ef08f6ffb52e0182a27746"
488SRC_URI[rstest-0.19.0.sha256sum] = "9d5316d2a1479eeef1ea21e7f9ddc67c191d497abc8fc3ba2467857abbb68330" 559SRC_URI[rust-ini-0.21.1.sha256sum] = "4e310ef0e1b6eeb79169a1171daf9abcb87a2e17c03bee2c4bb100b55c75409f"
489SRC_URI[rstest_macros-0.19.0.sha256sum] = "04a9df72cc1f67020b0d63ad9bfe4a323e459ea7eb68e03bd9824db49f9a4c25"
490SRC_URI[rust-ini-0.21.0.sha256sum] = "0d625ed57d8f49af6cfa514c42e1a71fadcff60eb0b1c517ff82fe41aa025b41"
491SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 560SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
492SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" 561SRC_URI[rustc-hash-2.1.1.sha256sum] = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
493SRC_URI[rustix-0.37.26.sha256sum] = "84f3f8f960ed3b5a59055428714943298bf3fa2d4a1d53135084e0544829d995" 562SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
494SRC_URI[rustix-0.38.31.sha256sum] = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" 563SRC_URI[rustix-0.38.44.sha256sum] = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
564SRC_URI[rustix-1.0.1.sha256sum] = "dade4812df5c384711475be5fcd8c162555352945401aed22a35bffeab61f657"
565SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
495SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" 566SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
496SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" 567SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
497SRC_URI[self_cell-1.0.3.sha256sum] = "58bf37232d3bb9a2c4e641ca2a11d83b5062066f88df7fed36c28772046d65ba" 568SRC_URI[self_cell-1.2.0.sha256sum] = "0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749"
498SRC_URI[selinux-0.4.0.sha256sum] = "a00576725d21b588213fbd4af84cd7e4cc4304e8e9bd6c0f5a1498a3e2ca6a51" 569SRC_URI[selinux-0.5.1.sha256sum] = "e37f432dfe840521abd9a72fefdf88ed7ad0f43bbea7d9d1d3d80383e9f4ad13"
499SRC_URI[selinux-sys-0.6.2.sha256sum] = "806d381649bb85347189d2350728817418138d11d738e2482cb644ec7f3c755d" 570SRC_URI[selinux-sys-0.6.14.sha256sum] = "280da3df1236da180be5ac50a893b26a1d3c49e3a44acb2d10d1f082523ff916"
500SRC_URI[semver-1.0.14.sha256sum] = "e25dfac463d778e353db5be2449d1cce89bd6fd23c9f1ea21310ce6e5a1b29c4" 571SRC_URI[semver-1.0.26.sha256sum] = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
501SRC_URI[serde-1.0.193.sha256sum] = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" 572SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
502SRC_URI[serde_derive-1.0.193.sha256sum] = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" 573SRC_URI[serde-big-array-0.5.1.sha256sum] = "11fc7cc2c76d73e0f27ee52abbd64eec84d46f370c88371120433196934e4b7f"
574SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
503SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" 575SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
504SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" 576SRC_URI[sha2-0.10.9.sha256sum] = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
505SRC_URI[sha3-0.10.8.sha256sum] = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" 577SRC_URI[sha3-0.10.8.sha256sum] = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
506SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 578SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
507SRC_URI[signal-hook-0.3.17.sha256sum] = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" 579SRC_URI[signal-hook-0.3.18.sha256sum] = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
508SRC_URI[signal-hook-mio-0.2.3.sha256sum] = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" 580SRC_URI[signal-hook-mio-0.2.4.sha256sum] = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd"
509SRC_URI[signal-hook-registry-1.4.1.sha256sum] = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" 581SRC_URI[signal-hook-registry-1.4.2.sha256sum] = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
510SRC_URI[siphasher-0.3.10.sha256sum] = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" 582SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
511SRC_URI[slab-0.4.7.sha256sum] = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" 583SRC_URI[siphasher-1.0.1.sha256sum] = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
584SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
512SRC_URI[sm3-0.4.2.sha256sum] = "ebb9a3b702d0a7e33bc4d85a14456633d2b165c2ad839c5fd9a8417c1ab15860" 585SRC_URI[sm3-0.4.2.sha256sum] = "ebb9a3b702d0a7e33bc4d85a14456633d2b165c2ad839c5fd9a8417c1ab15860"
513SRC_URI[smallvec-1.13.1.sha256sum] = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" 586SRC_URI[smallvec-1.15.0.sha256sum] = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
514SRC_URI[smawk-0.3.1.sha256sum] = "f67ad224767faa3c7d8b6d91985b78e70a1324408abcb1cfcc2be4c06bc06043" 587SRC_URI[smawk-0.3.2.sha256sum] = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
515SRC_URI[socket2-0.5.3.sha256sum] = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" 588SRC_URI[socket2-0.5.8.sha256sum] = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8"
516SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" 589SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
517SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" 590SRC_URI[syn-2.0.99.sha256sum] = "e02e925281e18ffd9d640e234264753c43edc62d64b2d4cf898f1bc5e75f3fc2"
518SRC_URI[syn-2.0.32.sha256sum] = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2"
519SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 591SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
520SRC_URI[tempfile-3.10.1.sha256sum] = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1" 592SRC_URI[tempfile-3.20.0.sha256sum] = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
521SRC_URI[terminal_size-0.2.6.sha256sum] = "8e6bf6f19e9f8ed8d4048dc22981458ebcf406d67e94cd422e5ecd73d63b3237" 593SRC_URI[terminal_size-0.4.2.sha256sum] = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed"
522SRC_URI[terminal_size-0.3.0.sha256sum] = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" 594SRC_URI[textwrap-0.16.2.sha256sum] = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
523SRC_URI[textwrap-0.16.1.sha256sum] = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" 595SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
524SRC_URI[thiserror-1.0.37.sha256sum] = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" 596SRC_URI[thiserror-2.0.12.sha256sum] = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
525SRC_URI[thiserror-impl-1.0.37.sha256sum] = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" 597SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
526SRC_URI[time-0.3.20.sha256sum] = "cd0cbfecb4d19b5ea75bb31ad904eb5b9fa13f21079c3b92017ebdf4999a5890" 598SRC_URI[thiserror-impl-2.0.12.sha256sum] = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
527SRC_URI[time-core-0.1.0.sha256sum] = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd" 599SRC_URI[time-0.3.41.sha256sum] = "8a7619e19bc266e0f9c5e6686659d394bc57973859340060a69221e57dbc0c40"
528SRC_URI[time-macros-0.2.8.sha256sum] = "fd80a657e71da814b8e5d60d3374fc6d35045062245d80224748ae522dd76f36" 600SRC_URI[time-core-0.1.4.sha256sum] = "c9e9a38711f559d9e3ce1cdb06dd7c5b8ea546bc90052da6d06bb76da74bb07c"
601SRC_URI[time-macros-0.2.22.sha256sum] = "3526739392ec93fd8b359c8e98514cb3e8e021beb4e5f597b00a0221f8ed8a49"
529SRC_URI[tiny-keccak-2.0.2.sha256sum] = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" 602SRC_URI[tiny-keccak-2.0.2.sha256sum] = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
603SRC_URI[tinystr-0.8.1.sha256sum] = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
604SRC_URI[toml_datetime-0.6.8.sha256sum] = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
605SRC_URI[toml_edit-0.22.24.sha256sum] = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474"
530SRC_URI[trim-in-place-0.1.7.sha256sum] = "343e926fc669bc8cde4fa3129ab681c63671bae288b1f1081ceee6d9d37904fc" 606SRC_URI[trim-in-place-0.1.7.sha256sum] = "343e926fc669bc8cde4fa3129ab681c63671bae288b1f1081ceee6d9d37904fc"
531SRC_URI[typenum-1.15.0.sha256sum] = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" 607SRC_URI[type-map-0.5.0.sha256sum] = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"
532SRC_URI[unicode-ident-1.0.5.sha256sum] = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" 608SRC_URI[typenum-1.18.0.sha256sum] = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
609SRC_URI[unic-langid-0.9.6.sha256sum] = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05"
610SRC_URI[unic-langid-impl-0.9.6.sha256sum] = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658"
611SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
533SRC_URI[unicode-linebreak-0.1.5.sha256sum] = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f" 612SRC_URI[unicode-linebreak-0.1.5.sha256sum] = "3b09c83c3c29d37506a3e260c08c03743a6bb66a9cd432c6934ab501a190571f"
534SRC_URI[unicode-segmentation-1.11.0.sha256sum] = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" 613SRC_URI[unicode-segmentation-1.12.0.sha256sum] = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
535SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" 614SRC_URI[unicode-width-0.1.14.sha256sum] = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
536SRC_URI[unicode-xid-0.2.4.sha256sum] = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" 615SRC_URI[unicode-width-0.2.0.sha256sum] = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
537SRC_URI[unindent-0.2.1.sha256sum] = "5aa30f5ea51ff7edfc797c6d3f9ec8cbd8cfedef5371766b7181d33977f4814f" 616SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
538SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" 617SRC_URI[unindent-0.2.4.sha256sum] = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
539SRC_URI[uuid-1.7.0.sha256sum] = "f00cc9702ca12d3c81455259621e676d0f7251cec66a21e98fe2e9a37db93b2a" 618SRC_URI[unty-0.0.4.sha256sum] = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
540SRC_URI[uutils_term_grid-0.3.0.sha256sum] = "b389452a568698688dda38802068378a16c15c4af9b153cdd99b65391292bbc7" 619SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
541SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 620SRC_URI[utmp-classic-0.1.6.sha256sum] = "e24c654e19afaa6b8f3877ece5d3bed849c2719c56f6752b18ca7da4fcc6e85a"
621SRC_URI[utmp-classic-raw-0.1.3.sha256sum] = "22c226537a3d6e01c440c1926ca0256dbee2d19b2229ede6fc4863a6493dd831"
622SRC_URI[uuid-1.15.1.sha256sum] = "e0f540e3240398cce6128b64ba83fdbdd86129c16a3aa1a3a252efd66eb3d587"
623SRC_URI[uutils_term_grid-0.7.0.sha256sum] = "fcba141ce511bad08e80b43f02976571072e1ff4286f7d628943efbd277c6361"
624SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
625SRC_URI[virtue-0.0.18.sha256sum] = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1"
542SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" 626SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
543SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 627SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
544SRC_URI[wasm-bindgen-0.2.87.sha256sum] = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" 628SRC_URI[wasi-0.13.3+wasi-0.2.2.sha256sum] = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2"
545SRC_URI[wasm-bindgen-backend-0.2.87.sha256sum] = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" 629SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
546SRC_URI[wasm-bindgen-macro-0.2.87.sha256sum] = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" 630SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
547SRC_URI[wasm-bindgen-macro-support-0.2.87.sha256sum] = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" 631SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
548SRC_URI[wasm-bindgen-shared-0.2.87.sha256sum] = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" 632SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
549SRC_URI[which-4.3.0.sha256sum] = "1c831fbbee9e129a8cf93e7747a82da9d95ba8e16621cae60ec2cdc849bacb7b" 633SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
634SRC_URI[web-time-1.1.0.sha256sum] = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
550SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1" 635SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1"
551SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 636SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
552SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 637SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
553SRC_URI[winapi-util-0.1.8.sha256sum] = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" 638SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
554SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 639SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
555SRC_URI[windows-0.52.0.sha256sum] = "e48a53791691ab099e5e2ad123536d0fff50652600abaf43bbf952894110d0be" 640SRC_URI[windows-core-0.60.1.sha256sum] = "ca21a92a9cae9bf4ccae5cf8368dce0837100ddf6e6d57936749e85f152f6247"
556SRC_URI[windows-core-0.52.0.sha256sum] = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" 641SRC_URI[windows-implement-0.59.0.sha256sum] = "83577b051e2f49a058c308f17f273b570a6a758386fc291b5f6a934dd84e48c1"
557SRC_URI[windows-sys-0.45.0.sha256sum] = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0" 642SRC_URI[windows-interface-0.59.1.sha256sum] = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
643SRC_URI[windows-link-0.1.1.sha256sum] = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
644SRC_URI[windows-result-0.3.1.sha256sum] = "06374efe858fab7e4f881500e6e86ec8bc28f9462c47e5a9941a0142ad86b189"
645SRC_URI[windows-strings-0.3.1.sha256sum] = "87fa48cc5d406560701792be122a10132491cff9d0aeb23583cc2dcafc847319"
558SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" 646SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
559SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" 647SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
560SRC_URI[windows-targets-0.42.2.sha256sum] = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071" 648SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
561SRC_URI[windows-targets-0.48.0.sha256sum] = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" 649SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
562SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" 650SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
563SRC_URI[windows_aarch64_gnullvm-0.42.2.sha256sum] = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" 651SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
564SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" 652SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
565SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" 653SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
566SRC_URI[windows_aarch64_msvc-0.42.2.sha256sum] = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" 654SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
567SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" 655SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
568SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" 656SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
569SRC_URI[windows_i686_gnu-0.42.2.sha256sum] = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" 657SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
570SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" 658SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
571SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" 659SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
572SRC_URI[windows_i686_msvc-0.42.2.sha256sum] = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" 660SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
573SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" 661SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
574SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" 662SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
575SRC_URI[windows_x86_64_gnu-0.42.2.sha256sum] = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" 663SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
576SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" 664SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
577SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" 665SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
578SRC_URI[windows_x86_64_gnullvm-0.42.2.sha256sum] = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" 666SRC_URI[winnow-0.7.3.sha256sum] = "0e7f4ea97f6f78012141bcdb6a216b2609f0979ada50b20ca5b52dde2eac2bb1"
579SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" 667SRC_URI[wit-bindgen-rt-0.33.0.sha256sum] = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c"
580SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e"
581SRC_URI[windows_x86_64_msvc-0.42.2.sha256sum] = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
582SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
583SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
584SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" 668SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
585SRC_URI[xattr-1.3.1.sha256sum] = "8da84f1a25939b27f6820d92aed108f83ff920fdf11a7b19366c27c4cda81d4f" 669SRC_URI[xattr-1.5.0.sha256sum] = "0d65cbf2f12c15564212d48f4e3dfb87923d25d611f2aed18f4cb23f0413d89e"
586SRC_URI[yansi-0.5.1.sha256sum] = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec" 670SRC_URI[yansi-1.0.1.sha256sum] = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
587SRC_URI[z85-3.0.5.sha256sum] = "2a599daf1b507819c1121f0bf87fa37eb19daac6aff3aefefd4e6e2e0f2020fc" 671SRC_URI[z85-3.0.6.sha256sum] = "9b3a41ce106832b4da1c065baa4c31cf640cf965fa1483816402b7f6b96f0a64"
588SRC_URI[zip-1.1.1.sha256sum] = "f2655979068a1f8fa91cb9e8e5b9d3ee54d18e0ddc358f2f4a395afc0929a84b" 672SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0"
673SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
674SRC_URI[zerofrom-0.1.6.sha256sum] = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
675SRC_URI[zerovec-0.11.2.sha256sum] = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
676SRC_URI[zip-4.0.0.sha256sum] = "153a6fff49d264c4babdcfa6b4d534747f520e56e8f0f384f3b808c4b64cc1fd"
677SRC_URI[zlib-rs-0.5.0.sha256sum] = "868b928d7949e09af2f6086dfc1e01936064cc7a819253bce650d4e2a2d63ba8"
678SRC_URI[zopfli-0.8.1.sha256sum] = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946"
679# from fuzz/Cargo.lock
680SRC_URI += " \
681 crate://crates.io/aho-corasick/1.1.3 \
682 crate://crates.io/android-tzdata/0.1.1 \
683 crate://crates.io/android_system_properties/0.1.5 \
684 crate://crates.io/anstream/0.6.18 \
685 crate://crates.io/anstyle/1.0.10 \
686 crate://crates.io/anstyle-parse/0.2.6 \
687 crate://crates.io/anstyle-query/1.1.2 \
688 crate://crates.io/anstyle-wincon/3.0.8 \
689 crate://crates.io/arbitrary/1.4.1 \
690 crate://crates.io/arrayref/0.3.9 \
691 crate://crates.io/arrayvec/0.7.6 \
692 crate://crates.io/autocfg/1.4.0 \
693 crate://crates.io/bigdecimal/0.4.8 \
694 crate://crates.io/binary-heap-plus/0.5.0 \
695 crate://crates.io/bitflags/2.9.1 \
696 crate://crates.io/blake2b_simd/1.0.3 \
697 crate://crates.io/blake3/1.8.2 \
698 crate://crates.io/block-buffer/0.10.4 \
699 crate://crates.io/bstr/1.12.0 \
700 crate://crates.io/bumpalo/3.17.0 \
701 crate://crates.io/bytecount/0.6.8 \
702 crate://crates.io/cc/1.2.23 \
703 crate://crates.io/cfg-if/1.0.0 \
704 crate://crates.io/cfg_aliases/0.2.1 \
705 crate://crates.io/chrono/0.4.41 \
706 crate://crates.io/chrono-tz/0.10.3 \
707 crate://crates.io/chrono-tz-build/0.4.1 \
708 crate://crates.io/clap/4.5.38 \
709 crate://crates.io/clap_builder/4.5.38 \
710 crate://crates.io/clap_lex/0.7.4 \
711 crate://crates.io/colorchoice/1.0.3 \
712 crate://crates.io/compare/0.1.0 \
713 crate://crates.io/console/0.15.11 \
714 crate://crates.io/const-random/0.1.18 \
715 crate://crates.io/const-random-macro/0.1.16 \
716 crate://crates.io/constant_time_eq/0.3.1 \
717 crate://crates.io/core-foundation-sys/0.8.7 \
718 crate://crates.io/cpufeatures/0.2.17 \
719 crate://crates.io/crc32fast/1.4.2 \
720 crate://crates.io/crossbeam-deque/0.8.6 \
721 crate://crates.io/crossbeam-epoch/0.9.18 \
722 crate://crates.io/crossbeam-utils/0.8.21 \
723 crate://crates.io/crunchy/0.2.3 \
724 crate://crates.io/crypto-common/0.1.6 \
725 crate://crates.io/ctrlc/3.4.7 \
726 crate://crates.io/data-encoding/2.9.0 \
727 crate://crates.io/data-encoding-macro/0.1.18 \
728 crate://crates.io/data-encoding-macro-internal/0.1.16 \
729 crate://crates.io/digest/0.10.7 \
730 crate://crates.io/displaydoc/0.2.5 \
731 crate://crates.io/dlv-list/0.5.2 \
732 crate://crates.io/dunce/1.0.5 \
733 crate://crates.io/either/1.15.0 \
734 crate://crates.io/encode_unicode/1.0.0 \
735 crate://crates.io/errno/0.3.12 \
736 crate://crates.io/fastrand/2.3.0 \
737 crate://crates.io/fluent/0.17.0 \
738 crate://crates.io/fluent-bundle/0.16.0 \
739 crate://crates.io/fluent-langneg/0.13.0 \
740 crate://crates.io/fluent-syntax/0.12.0 \
741 crate://crates.io/fnv/1.0.7 \
742 crate://crates.io/generic-array/0.14.7 \
743 crate://crates.io/getrandom/0.2.16 \
744 crate://crates.io/getrandom/0.3.3 \
745 crate://crates.io/glob/0.3.2 \
746 crate://crates.io/hashbrown/0.14.5 \
747 crate://crates.io/hex/0.4.3 \
748 crate://crates.io/iana-time-zone/0.1.63 \
749 crate://crates.io/iana-time-zone-haiku/0.1.2 \
750 crate://crates.io/intl-memoizer/0.5.3 \
751 crate://crates.io/intl_pluralrules/7.0.2 \
752 crate://crates.io/is_terminal_polyfill/1.70.1 \
753 crate://crates.io/itertools/0.14.0 \
754 crate://crates.io/jobserver/0.1.33 \
755 crate://crates.io/js-sys/0.3.77 \
756 crate://crates.io/keccak/0.1.5 \
757 crate://crates.io/libc/0.2.172 \
758 crate://crates.io/libfuzzer-sys/0.4.9 \
759 crate://crates.io/libm/0.2.15 \
760 crate://crates.io/linux-raw-sys/0.9.4 \
761 crate://crates.io/log/0.4.27 \
762 crate://crates.io/md-5/0.10.6 \
763 crate://crates.io/memchr/2.7.4 \
764 crate://crates.io/nix/0.30.1 \
765 crate://crates.io/nom/8.0.0 \
766 crate://crates.io/num-bigint/0.4.6 \
767 crate://crates.io/num-integer/0.1.46 \
768 crate://crates.io/num-traits/0.2.19 \
769 crate://crates.io/number_prefix/0.4.0 \
770 crate://crates.io/once_cell/1.21.3 \
771 crate://crates.io/once_cell_polyfill/1.70.1 \
772 crate://crates.io/onig/6.5.1 \
773 crate://crates.io/onig_sys/69.9.1 \
774 crate://crates.io/ordered-multimap/0.7.3 \
775 crate://crates.io/os_display/0.1.4 \
776 crate://crates.io/parse-zoneinfo/0.3.1 \
777 crate://crates.io/parse_datetime/0.9.0 \
778 crate://crates.io/phf/0.11.3 \
779 crate://crates.io/phf_codegen/0.11.3 \
780 crate://crates.io/phf_generator/0.11.3 \
781 crate://crates.io/phf_shared/0.11.3 \
782 crate://crates.io/pkg-config/0.3.32 \
783 crate://crates.io/ppv-lite86/0.2.21 \
784 crate://crates.io/proc-macro2/1.0.95 \
785 crate://crates.io/quote/1.0.40 \
786 crate://crates.io/r-efi/5.2.0 \
787 crate://crates.io/rand/0.8.5 \
788 crate://crates.io/rand/0.9.1 \
789 crate://crates.io/rand_chacha/0.9.0 \
790 crate://crates.io/rand_core/0.6.4 \
791 crate://crates.io/rand_core/0.9.3 \
792 crate://crates.io/rayon/1.10.0 \
793 crate://crates.io/rayon-core/1.12.1 \
794 crate://crates.io/regex/1.11.1 \
795 crate://crates.io/regex-automata/0.4.9 \
796 crate://crates.io/regex-syntax/0.8.5 \
797 crate://crates.io/rust-ini/0.21.1 \
798 crate://crates.io/rustc-hash/1.1.0 \
799 crate://crates.io/rustc-hash/2.1.1 \
800 crate://crates.io/rustix/1.0.7 \
801 crate://crates.io/rustversion/1.0.20 \
802 crate://crates.io/self_cell/1.2.0 \
803 crate://crates.io/serde/1.0.219 \
804 crate://crates.io/serde_derive/1.0.219 \
805 crate://crates.io/sha1/0.10.6 \
806 crate://crates.io/sha2/0.10.9 \
807 crate://crates.io/sha3/0.10.8 \
808 crate://crates.io/shlex/1.3.0 \
809 crate://crates.io/similar/2.7.0 \
810 crate://crates.io/siphasher/1.0.1 \
811 crate://crates.io/sm3/0.4.2 \
812 crate://crates.io/smallvec/1.15.0 \
813 crate://crates.io/strsim/0.11.1 \
814 crate://crates.io/syn/2.0.101 \
815 crate://crates.io/tempfile/3.20.0 \
816 crate://crates.io/terminal_size/0.4.2 \
817 crate://crates.io/thiserror/2.0.12 \
818 crate://crates.io/thiserror-impl/2.0.12 \
819 crate://crates.io/tiny-keccak/2.0.2 \
820 crate://crates.io/tinystr/0.8.1 \
821 crate://crates.io/trim-in-place/0.1.7 \
822 crate://crates.io/type-map/0.5.0 \
823 crate://crates.io/typenum/1.18.0 \
824 crate://crates.io/unic-langid/0.9.6 \
825 crate://crates.io/unic-langid-impl/0.9.6 \
826 crate://crates.io/unicode-ident/1.0.18 \
827 crate://crates.io/unicode-width/0.2.0 \
828 crate://crates.io/utf8parse/0.2.2 \
829 crate://crates.io/version_check/0.9.5 \
830 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
831 crate://crates.io/wasi/0.14.2+wasi-0.2.4 \
832 crate://crates.io/wasm-bindgen/0.2.100 \
833 crate://crates.io/wasm-bindgen-backend/0.2.100 \
834 crate://crates.io/wasm-bindgen-macro/0.2.100 \
835 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
836 crate://crates.io/wasm-bindgen-shared/0.2.100 \
837 crate://crates.io/wild/2.2.1 \
838 crate://crates.io/winapi-util/0.1.9 \
839 crate://crates.io/windows-core/0.61.2 \
840 crate://crates.io/windows-implement/0.60.0 \
841 crate://crates.io/windows-interface/0.59.1 \
842 crate://crates.io/windows-link/0.1.1 \
843 crate://crates.io/windows-result/0.3.4 \
844 crate://crates.io/windows-strings/0.4.2 \
845 crate://crates.io/windows-sys/0.59.0 \
846 crate://crates.io/windows-targets/0.52.6 \
847 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
848 crate://crates.io/windows_aarch64_msvc/0.52.6 \
849 crate://crates.io/windows_i686_gnu/0.52.6 \
850 crate://crates.io/windows_i686_gnullvm/0.52.6 \
851 crate://crates.io/windows_i686_msvc/0.52.6 \
852 crate://crates.io/windows_x86_64_gnu/0.52.6 \
853 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
854 crate://crates.io/windows_x86_64_msvc/0.52.6 \
855 crate://crates.io/wit-bindgen-rt/0.39.0 \
856 crate://crates.io/z85/3.0.6 \
857 crate://crates.io/zerocopy/0.8.25 \
858 crate://crates.io/zerocopy-derive/0.8.25 \
859 crate://crates.io/zerofrom/0.1.6 \
860 crate://crates.io/zerovec/0.11.2 \
861"
862
863SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
864SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
865SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
866SRC_URI[anstream-0.6.18.sha256sum] = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b"
867SRC_URI[anstyle-1.0.10.sha256sum] = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9"
868SRC_URI[anstyle-parse-0.2.6.sha256sum] = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9"
869SRC_URI[anstyle-query-1.1.2.sha256sum] = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c"
870SRC_URI[anstyle-wincon-3.0.8.sha256sum] = "6680de5231bd6ee4c6191b8a1325daa282b415391ec9d3a37bd34f2060dc73fa"
871SRC_URI[arbitrary-1.4.1.sha256sum] = "dde20b3d026af13f561bdd0f15edf01fc734f0dafcedbaf42bba506a9517f223"
872SRC_URI[arrayref-0.3.9.sha256sum] = "76a2e8124351fda1ef8aaaa3bbd7ebbcb486bbcd4225aca0aa0d84bb2db8fecb"
873SRC_URI[arrayvec-0.7.6.sha256sum] = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
874SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
875SRC_URI[bigdecimal-0.4.8.sha256sum] = "1a22f228ab7a1b23027ccc6c350b72868017af7ea8356fbdf19f8d991c690013"
876SRC_URI[binary-heap-plus-0.5.0.sha256sum] = "e4551d8382e911ecc0d0f0ffb602777988669be09447d536ff4388d1def11296"
877SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
878SRC_URI[blake2b_simd-1.0.3.sha256sum] = "06e903a20b159e944f91ec8499fe1e55651480c541ea0a584f5d967c49ad9d99"
879SRC_URI[blake3-1.8.2.sha256sum] = "3888aaa89e4b2a40fca9848e400f6a658a5a3978de7be858e209cafa8be9a4a0"
880SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
881SRC_URI[bstr-1.12.0.sha256sum] = "234113d19d0d7d613b40e86fb654acf958910802bcceab913a4f9e7cda03b1a4"
882SRC_URI[bumpalo-3.17.0.sha256sum] = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
883SRC_URI[bytecount-0.6.8.sha256sum] = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce"
884SRC_URI[cc-1.2.23.sha256sum] = "5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766"
885SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
886SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
887SRC_URI[chrono-0.4.41.sha256sum] = "c469d952047f47f91b68d1cba3f10d63c11d73e4636f24f08daf0278abf01c4d"
888SRC_URI[chrono-tz-0.10.3.sha256sum] = "efdce149c370f133a071ca8ef6ea340b7b88748ab0810097a9e2976eaa34b4f3"
889SRC_URI[chrono-tz-build-0.4.1.sha256sum] = "8f10f8c9340e31fc120ff885fcdb54a0b48e474bbd77cab557f0c30a3e569402"
890SRC_URI[clap-4.5.38.sha256sum] = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000"
891SRC_URI[clap_builder-4.5.38.sha256sum] = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120"
892SRC_URI[clap_lex-0.7.4.sha256sum] = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6"
893SRC_URI[colorchoice-1.0.3.sha256sum] = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990"
894SRC_URI[compare-0.1.0.sha256sum] = "120133d4db2ec47efe2e26502ee984747630c67f51974fca0b6c1340cf2368d3"
895SRC_URI[console-0.15.11.sha256sum] = "054ccb5b10f9f2cbf51eb355ca1d05c2d279ce1804688d0db74b4733a5aeafd8"
896SRC_URI[const-random-0.1.18.sha256sum] = "87e00182fe74b066627d63b85fd550ac2998d4b0bd86bfed477a0ae4c7c71359"
897SRC_URI[const-random-macro-0.1.16.sha256sum] = "f9d839f2a20b0aee515dc581a6172f2321f96cab76c1a38a4c584a194955390e"
898SRC_URI[constant_time_eq-0.3.1.sha256sum] = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6"
899SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
900SRC_URI[cpufeatures-0.2.17.sha256sum] = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
901SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
902SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
903SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
904SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
905SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929"
906SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
907SRC_URI[ctrlc-3.4.7.sha256sum] = "46f93780a459b7d656ef7f071fe699c4d3d2cb201c4b24d085b6ddc505276e73"
908SRC_URI[data-encoding-2.9.0.sha256sum] = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
909SRC_URI[data-encoding-macro-0.1.18.sha256sum] = "47ce6c96ea0102f01122a185683611bd5ac8d99e62bc59dd12e6bda344ee673d"
910SRC_URI[data-encoding-macro-internal-0.1.16.sha256sum] = "8d162beedaa69905488a8da94f5ac3edb4dd4788b732fadb7bd120b2625c1976"
911SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
912SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
913SRC_URI[dlv-list-0.5.2.sha256sum] = "442039f5147480ba31067cb00ada1adae6892028e40e45fc5de7b7df6dcc1b5f"
914SRC_URI[dunce-1.0.5.sha256sum] = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
915SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
916SRC_URI[encode_unicode-1.0.0.sha256sum] = "34aa73646ffb006b8f5147f3dc182bd4bcb190227ce861fc4a4844bf8e3cb2c0"
917SRC_URI[errno-0.3.12.sha256sum] = "cea14ef9355e3beab063703aa9dab15afd25f0667c341310c1e5274bb1d0da18"
918SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
919SRC_URI[fluent-0.17.0.sha256sum] = "8137a6d5a2c50d6b0ebfcb9aaa91a28154e0a70605f112d30cb0cd4a78670477"
920SRC_URI[fluent-bundle-0.16.0.sha256sum] = "01203cb8918f5711e73891b347816d932046f95f54207710bda99beaeb423bf4"
921SRC_URI[fluent-langneg-0.13.0.sha256sum] = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
922SRC_URI[fluent-syntax-0.12.0.sha256sum] = "54f0d287c53ffd184d04d8677f590f4ac5379785529e5e08b1c8083acdd5c198"
923SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
924SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
925SRC_URI[getrandom-0.2.16.sha256sum] = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
926SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
927SRC_URI[glob-0.3.2.sha256sum] = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
928SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
929SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
930SRC_URI[iana-time-zone-0.1.63.sha256sum] = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
931SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
932SRC_URI[intl-memoizer-0.5.3.sha256sum] = "310da2e345f5eb861e7a07ee182262e94975051db9e4223e909ba90f392f163f"
933SRC_URI[intl_pluralrules-7.0.2.sha256sum] = "078ea7b7c29a2b4df841a7f6ac8775ff6074020c6776d48491ce2268e068f972"
934SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
935SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
936SRC_URI[jobserver-0.1.33.sha256sum] = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"
937SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
938SRC_URI[keccak-0.1.5.sha256sum] = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654"
939SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
940SRC_URI[libfuzzer-sys-0.4.9.sha256sum] = "cf78f52d400cf2d84a3a973a78a592b4adc535739e0a5597a0da6f0c357adc75"
941SRC_URI[libm-0.2.15.sha256sum] = "f9fbbcab51052fe104eb5e5d351cf728d30a5be1fe14d9be8a3b097481fb97de"
942SRC_URI[linux-raw-sys-0.9.4.sha256sum] = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
943SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
944SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf"
945SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
946SRC_URI[nix-0.30.1.sha256sum] = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
947SRC_URI[nom-8.0.0.sha256sum] = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
948SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9"
949SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f"
950SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
951SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
952SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
953SRC_URI[once_cell_polyfill-1.70.1.sha256sum] = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
954SRC_URI[onig-6.5.1.sha256sum] = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0"
955SRC_URI[onig_sys-69.9.1.sha256sum] = "c7f86c6eef3d6df15f23bcfb6af487cbd2fed4e5581d58d5bf1f5f8b7f6727dc"
956SRC_URI[ordered-multimap-0.7.3.sha256sum] = "49203cdcae0030493bad186b28da2fa25645fa276a51b6fec8010d281e02ef79"
957SRC_URI[os_display-0.1.4.sha256sum] = "ad5fd71b79026fb918650dde6d125000a233764f1c2f1659a1c71118e33ea08f"
958SRC_URI[parse-zoneinfo-0.3.1.sha256sum] = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24"
959SRC_URI[parse_datetime-0.9.0.sha256sum] = "2fd3830b49ee3a0dcc8fdfadc68c6354c97d00101ac1cac5b2eee25d35c42066"
960SRC_URI[phf-0.11.3.sha256sum] = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078"
961SRC_URI[phf_codegen-0.11.3.sha256sum] = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a"
962SRC_URI[phf_generator-0.11.3.sha256sum] = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d"
963SRC_URI[phf_shared-0.11.3.sha256sum] = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5"
964SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
965SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
966SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778"
967SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
968SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
969SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
970SRC_URI[rand-0.9.1.sha256sum] = "9fbfd9d094a40bf3ae768db9361049ace4c0e04a4fd6b359518bd7b73a73dd97"
971SRC_URI[rand_chacha-0.9.0.sha256sum] = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
972SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
973SRC_URI[rand_core-0.9.3.sha256sum] = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
974SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
975SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
976SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
977SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
978SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
979SRC_URI[rust-ini-0.21.1.sha256sum] = "4e310ef0e1b6eeb79169a1171daf9abcb87a2e17c03bee2c4bb100b55c75409f"
980SRC_URI[rustc-hash-1.1.0.sha256sum] = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
981SRC_URI[rustc-hash-2.1.1.sha256sum] = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
982SRC_URI[rustix-1.0.7.sha256sum] = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
983SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
984SRC_URI[self_cell-1.2.0.sha256sum] = "0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749"
985SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
986SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
987SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba"
988SRC_URI[sha2-0.10.9.sha256sum] = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
989SRC_URI[sha3-0.10.8.sha256sum] = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
990SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
991SRC_URI[similar-2.7.0.sha256sum] = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa"
992SRC_URI[siphasher-1.0.1.sha256sum] = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
993SRC_URI[sm3-0.4.2.sha256sum] = "ebb9a3b702d0a7e33bc4d85a14456633d2b165c2ad839c5fd9a8417c1ab15860"
994SRC_URI[smallvec-1.15.0.sha256sum] = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9"
995SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
996SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
997SRC_URI[tempfile-3.20.0.sha256sum] = "e8a64e3985349f2441a1a9ef0b853f869006c3855f2cda6862a94d26ebb9d6a1"
998SRC_URI[terminal_size-0.4.2.sha256sum] = "45c6481c4829e4cc63825e62c49186a34538b7b2750b73b266581ffb612fb5ed"
999SRC_URI[thiserror-2.0.12.sha256sum] = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
1000SRC_URI[thiserror-impl-2.0.12.sha256sum] = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
1001SRC_URI[tiny-keccak-2.0.2.sha256sum] = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237"
1002SRC_URI[tinystr-0.8.1.sha256sum] = "5d4f6d1145dcb577acf783d4e601bc1d76a13337bb54e6233add580b07344c8b"
1003SRC_URI[trim-in-place-0.1.7.sha256sum] = "343e926fc669bc8cde4fa3129ab681c63671bae288b1f1081ceee6d9d37904fc"
1004SRC_URI[type-map-0.5.0.sha256sum] = "deb68604048ff8fa93347f02441e4487594adc20bb8a084f9e564d2b827a0a9f"
1005SRC_URI[typenum-1.18.0.sha256sum] = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f"
1006SRC_URI[unic-langid-0.9.6.sha256sum] = "a28ba52c9b05311f4f6e62d5d9d46f094bd6e84cb8df7b3ef952748d752a7d05"
1007SRC_URI[unic-langid-impl-0.9.6.sha256sum] = "dce1bf08044d4b7a94028c93786f8566047edc11110595914de93362559bc658"
1008SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
1009SRC_URI[unicode-width-0.2.0.sha256sum] = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
1010SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
1011SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
1012SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
1013SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
1014SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
1015SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
1016SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
1017SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
1018SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
1019SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1"
1020SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
1021SRC_URI[windows-core-0.61.2.sha256sum] = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3"
1022SRC_URI[windows-implement-0.60.0.sha256sum] = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
1023SRC_URI[windows-interface-0.59.1.sha256sum] = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
1024SRC_URI[windows-link-0.1.1.sha256sum] = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
1025SRC_URI[windows-result-0.3.4.sha256sum] = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6"
1026SRC_URI[windows-strings-0.4.2.sha256sum] = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57"
1027SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
1028SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1029SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1030SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1031SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1032SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1033SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1034SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1035SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1036SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
1037SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
1038SRC_URI[z85-3.0.6.sha256sum] = "9b3a41ce106832b4da1c065baa4c31cf640cf965fa1483816402b7f6b96f0a64"
1039SRC_URI[zerocopy-0.8.25.sha256sum] = "a1702d9583232ddb9174e01bb7c15a2ab8fb1bc6f227aa1233858c351a3ba0cb"
1040SRC_URI[zerocopy-derive-0.8.25.sha256sum] = "28a6e20d751156648aa063f3800b706ee209a32c0b4d9f24be3d980b01be55ef"
1041SRC_URI[zerofrom-0.1.6.sha256sum] = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5"
1042SRC_URI[zerovec-0.11.2.sha256sum] = "4a05eb080e015ba39cc9e23bbe5e7fb04d5fb040350f99f34e338d5fdd294428"
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0001-do-not-compile-stdbuf.patch b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0001-do-not-compile-stdbuf.patch
new file mode 100644
index 0000000000..e4f5627f12
--- /dev/null
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0001-do-not-compile-stdbuf.patch
@@ -0,0 +1,39 @@
1From 5c08d92aae49f83e3b52ae58e566ef48c749f3c7 Mon Sep 17 00:00:00 2001
2From: Etienne Cordonnier <ecordonnier@snap.com>
3Date: Fri, 7 Mar 2025 16:39:33 +0100
4Subject: [PATCH] do not compile stdbuf
5
6Due to including the host version of libstdbuf.so, stdbuf does not work when cross-compiled. See https://github.com/uutils/coreutils/issues/6591#issuecomment-2706575853 for details
7
8Upstream-Status: Inappropriate [OE-Specific]
9
10Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
11---
12 Cargo.toml | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/Cargo.toml b/Cargo.toml
16index ea87ccea79..e218719363 100644
17--- a/Cargo.toml
18+++ b/Cargo.toml
19@@ -154,7 +154,7 @@ feat_os_macos = [
20 feat_os_unix = [
21 "feat_Tier1",
22 #
23- "feat_require_crate_cpp",
24+ # don't compile feature_require_crate_cpp per default (which contains only stdbuf). "feat_require_crate_cpp",
25 "feat_require_unix",
26 "feat_require_unix_utmpx",
27 "feat_require_unix_hostid",
28@@ -189,7 +189,7 @@ feat_os_unix_android = [
29 # ** NOTE: these `feat_require_...` sets should be minimized as much as possible to encourage cross-platform availability of utilities
30 #
31 # "feat_require_crate_cpp" == set of utilities requiring the `cpp` crate (which fail to compile on several platforms; as of 2020-04-23)
32-feat_require_crate_cpp = ["stdbuf"]
33+feat_require_crate_cpp = []
34 # "feat_require_unix" == set of utilities requiring support which is only available on unix platforms (as of 2020-04-23)
35 feat_require_unix = [
36 "chgrp",
37--
382.43.0
39
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0002-Bump-onig-from-6.4.0-to-6.5.1.patch b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0002-Bump-onig-from-6.4.0-to-6.5.1.patch
new file mode 100644
index 0000000000..65f60386af
--- /dev/null
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils/0002-Bump-onig-from-6.4.0-to-6.5.1.patch
@@ -0,0 +1,131 @@
1From a0cf06ea8c3b698bda57dfdb181274078a489cf0 Mon Sep 17 00:00:00 2001
2From: Daniel Hofstetter <daniel.hofstetter@42dh.com>
3Date: Sat, 24 May 2025 07:43:10 +0200
4Subject: [PATCH] Bump onig from 6.4.0 to 6.5.1
5
6Upstream-Status: Backport [https://github.com/uutils/coreutils/commit/04e7de1546c0f1e6908416fd09f0e2153ec95901]
7Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
8---
9 Cargo.lock | 10 +++++-----
10 Cargo.toml | 2 +-
11 fuzz/Cargo.lock | 22 ++++++++--------------
12 3 files changed, 14 insertions(+), 20 deletions(-)
13
14diff --git a/Cargo.lock b/Cargo.lock
15index 63ec9c208..5a6fac168 100644
16--- a/Cargo.lock
17+++ b/Cargo.lock
18@@ -1620,11 +1620,11 @@ checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"
19
20 [[package]]
21 name = "onig"
22-version = "6.4.0"
23+version = "6.5.1"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
25-checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f"
26+checksum = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0"
27 dependencies = [
28- "bitflags 1.3.2",
29+ "bitflags 2.9.0",
30 "libc",
31 "once_cell",
32 "onig_sys",
33@@ -1632,9 +1632,9 @@ dependencies = [
34
35 [[package]]
36 name = "onig_sys"
37-version = "69.8.1"
38+version = "69.9.1"
39 source = "registry+https://github.com/rust-lang/crates.io-index"
40-checksum = "7b829e3d7e9cc74c7e315ee8edb185bf4190da5acde74afd7fc59c35b1f086e7"
41+checksum = "c7f86c6eef3d6df15f23bcfb6af487cbd2fed4e5581d58d5bf1f5f8b7f6727dc"
42 dependencies = [
43 "cc",
44 "pkg-config",
45diff --git a/Cargo.toml b/Cargo.toml
46index a4c9d3200..9d1b732be 100644
47--- a/Cargo.toml
48+++ b/Cargo.toml
49@@ -318,7 +318,7 @@ num-bigint = "0.4.4"
50 num-prime = "0.4.4"
51 num-traits = "0.2.19"
52 number_prefix = "0.4"
53-onig = { version = "~6.4", default-features = false }
54+onig = { version = "~6.5.1", default-features = false }
55 parse_datetime = "0.9.0"
56 phf = "0.11.2"
57 phf_codegen = "0.11.2"
58diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock
59index 06faf0f5f..c946c3225 100644
60--- a/fuzz/Cargo.lock
61+++ b/fuzz/Cargo.lock
62@@ -122,12 +122,6 @@ dependencies = [
63 "compare",
64 ]
65
66-[[package]]
67-name = "bitflags"
68-version = "1.3.2"
69-source = "registry+https://github.com/rust-lang/crates.io-index"
70-checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
71-
72 [[package]]
73 name = "bitflags"
74 version = "2.9.1"
75@@ -660,7 +654,7 @@ version = "0.30.1"
76 source = "registry+https://github.com/rust-lang/crates.io-index"
77 checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6"
78 dependencies = [
79- "bitflags 2.9.1",
80+ "bitflags",
81 "cfg-if",
82 "cfg_aliases",
83 "libc",
84@@ -723,11 +717,11 @@ checksum = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad"
85
86 [[package]]
87 name = "onig"
88-version = "6.4.0"
89+version = "6.5.1"
90 source = "registry+https://github.com/rust-lang/crates.io-index"
91-checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f"
92+checksum = "336b9c63443aceef14bea841b899035ae3abe89b7c486aaf4c5bd8aafedac3f0"
93 dependencies = [
94- "bitflags 1.3.2",
95+ "bitflags",
96 "libc",
97 "once_cell",
98 "onig_sys",
99@@ -735,9 +729,9 @@ dependencies = [
100
101 [[package]]
102 name = "onig_sys"
103-version = "69.8.1"
104+version = "69.9.1"
105 source = "registry+https://github.com/rust-lang/crates.io-index"
106-checksum = "7b829e3d7e9cc74c7e315ee8edb185bf4190da5acde74afd7fc59c35b1f086e7"
107+checksum = "c7f86c6eef3d6df15f23bcfb6af487cbd2fed4e5581d58d5bf1f5f8b7f6727dc"
108 dependencies = [
109 "cc",
110 "pkg-config",
111@@ -969,7 +963,7 @@ version = "1.0.7"
112 source = "registry+https://github.com/rust-lang/crates.io-index"
113 checksum = "c71e83d6afe7ff64890ec6b71d6a69bb8a610ab78ce364b3352876bb4c801266"
114 dependencies = [
115- "bitflags 2.9.1",
116+ "bitflags",
117 "errno",
118 "libc",
119 "linux-raw-sys",
120@@ -1632,7 +1626,7 @@ version = "0.39.0"
121 source = "registry+https://github.com/rust-lang/crates.io-index"
122 checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
123 dependencies = [
124- "bitflags 2.9.1",
125+ "bitflags",
126 ]
127
128 [[package]]
129--
1302.43.0
131
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.26.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.1.0.bb
index 5668aaac5b..fb95a2de5c 100644
--- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.26.bb
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.1.0.bb
@@ -7,14 +7,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e74349878141b240070458d414ab3b64"
7 7
8inherit cargo cargo-update-recipe-crates 8inherit cargo cargo-update-recipe-crates
9 9
10SRC_URI += "git://github.com/uutils/coreutils.git;protocol=https;branch=main" 10SRC_URI += "git://github.com/uutils/coreutils.git;protocol=https;branch=main \
11 file://0001-do-not-compile-stdbuf.patch \
12 file://0002-Bump-onig-from-6.4.0-to-6.5.1.patch \
13"
11 14
12# musl not supported because the libc crate does not support functions like "endutxent" at the moment, 15SRCREV = "18b963ed6f612ac30ebca92426280cf4c1451f6a"
13# so src/uucore/src/lib/features.rs disables utmpx when targetting musl.
14COMPATIBLE_HOST:libc-musl = "null"
15
16SRCREV = "f95f363096610d7e5e1556d6d0a32b5018065c4c"
17S = "${WORKDIR}/git"
18 16
19require ${BPN}-crates.inc 17require ${BPN}-crates.inc
20 18
@@ -22,21 +20,13 @@ PROVIDES = "coreutils"
22RPROVIDES:${PN} = "coreutils" 20RPROVIDES:${PN} = "coreutils"
23 21
24PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" 22PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
25 23PACKAGECONFIG[selinux] = "--features feat_selinux,,clang-native libselinux-native libselinux"
26PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux"
27 24
28CARGO_BUILD_FLAGS += "--features unix" 25CARGO_BUILD_FLAGS += "--features unix"
29CARGO_BUILD_FLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', '--features feat_selinux', '', d)}"
30
31DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'clang-native libselinux-native', '', d)}"
32
33export LIBCLANG_PATH = "${WORKDIR}/recipe-sysroot-native${libdir}"
34export SELINUX_LIB_DIR = "${WORKDIR}/recipe-sysroot-native${libdir}"
35export SELINUX_INCLUDE_DIR = "${WORKDIR}/recipe-sysroot-native${includedir}"
36 26
37# The code which follows is strongly inspired from the GNU coreutils bitbake recipe: 27# The code which follows is strongly inspired from the GNU coreutils bitbake recipe:
38 28
39# [ df mktemp nice printenv base64 gets a special treatment and is not included in this 29# df mktemp nice printenv base32 base64 get a special treatment and are not included in this
40bindir_progs = "[ arch basename cksum comm csplit cut dir dircolors dirname du \ 30bindir_progs = "[ arch basename cksum comm csplit cut dir dircolors dirname du \
41 env expand expr factor fmt fold groups head hostid id install \ 31 env expand expr factor fmt fold groups head hostid id install \
42 join link logname md5sum mkfifo nl nohup nproc od paste pathchk \ 32 join link logname md5sum mkfifo nl nohup nproc od paste pathchk \
@@ -49,7 +39,7 @@ bindir_progs += "${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'chcon runcon'
49base_bindir_progs = "cat chgrp chmod chown cp date dd echo false hostname kill ln ls mkdir \ 39base_bindir_progs = "cat chgrp chmod chown cp date dd echo false hostname kill ln ls mkdir \
50 mknod mv pwd rm rmdir sleep stty sync touch true uname stat" 40 mknod mv pwd rm rmdir sleep stty sync touch true uname stat"
51 41
52sbindir_progs= "chroot" 42sbindir_progs = "chroot"
53 43
54inherit update-alternatives 44inherit update-alternatives
55 45
@@ -71,3 +61,8 @@ python __anonymous() {
71 for prog in d.getVar('sbindir_progs').split(): 61 for prog in d.getVar('sbindir_progs').split():
72 d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog)) 62 d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('sbindir'), prog))
73} 63}
64
65do_compile:prepend() {
66 # In principle this is supposed to be exported by the project's .cargo/config.toml file, but for some reason it's not working
67 export PROJECT_NAME_FOR_VERSION_STRING="uutils coreutils"
68}
diff --git a/meta-oe/recipes-crypto/botan/botan_3.4.0.bb b/meta-oe/recipes-crypto/botan/botan_3.7.1.bb
index 8cd1aa64cc..74f895cf3c 100644
--- a/meta-oe/recipes-crypto/botan/botan_3.4.0.bb
+++ b/meta-oe/recipes-crypto/botan/botan_3.7.1.bb
@@ -1,13 +1,13 @@
1SUMMARY = "Crypto and TLS for C++11" 1SUMMARY = "Crypto and TLS for C++11"
2HOMEPAGE = "https://botan.randombit.net" 2HOMEPAGE = "https://botan.randombit.net"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://license.txt;md5=f5254d3abe90ec5bb82c5694ff751546" 4LIC_FILES_CHKSUM = "file://license.txt;md5=3f911cecfc74a2d9f1ead9a07bd92a6e"
5SECTION = "libs" 5SECTION = "libs"
6 6
7SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz" 7SRC_URI = "https://botan.randombit.net/releases/Botan-${PV}.tar.xz"
8SRC_URI[sha256sum] = "71843afcc0a2c585f8f33fa304f0b58ae4b9c5d8306f894667b3746044277557" 8SRC_URI[sha256sum] = "fc0620463461caaea8e60f06711d7e437a3ad1eebd6de4ac29c14bbd901ccd1b"
9 9
10S = "${WORKDIR}/Botan-${PV}" 10S = "${UNPACKDIR}/Botan-${PV}"
11 11
12inherit python3native siteinfo lib_package 12inherit python3native siteinfo lib_package
13 13
@@ -18,8 +18,8 @@ CPU:armv7ve = "armv7"
18 18
19do_configure() { 19do_configure() {
20 python3 ${S}/configure.py \ 20 python3 ${S}/configure.py \
21 --prefix="${D}${exec_prefix}" \ 21 --prefix="${exec_prefix}" \
22 --libdir="${D}${libdir}" \ 22 --libdir="${libdir}" \
23 --cpu="${CPU}" \ 23 --cpu="${CPU}" \
24 --cc-bin="${CXX}" \ 24 --cc-bin="${CXX}" \
25 --cxxflags="${CXXFLAGS}" \ 25 --cxxflags="${CXXFLAGS}" \
@@ -39,14 +39,27 @@ do_compile() {
39 oe_runmake 39 oe_runmake
40} 40}
41do_install() { 41do_install() {
42 oe_runmake install 42 oe_runmake DESTDIR=${D} install
43 sed -i -e "s|${D}||g" ${D}${libdir}/pkgconfig/botan-3.pc 43 sed -i -e 's|${WORKDIR}|<scrubbed>|g' ${D}${includedir}/botan-3/botan/build.h
44
45 # Add botan binary and test tool
46 install -d ${D}${bindir}
47 install -d ${D}${datadir}/${PN}/tests/data
48 install -m 0755 ${B}/botan-test ${D}${bindir}
49 cp -R --no-dereference --preserve=mode,links -v ${B}/src/tests/data/* ${D}${datadir}/${PN}/tests/data/
44} 50}
45 51
46PACKAGES += "${PN}-python3" 52PACKAGES += "${PN}-test ${PN}-python3"
47 53
48FILES:${PN}-python3 = "${libdir}/python3" 54FILES:${PN}-python3 = "${libdir}/python3"
49 55
50RDEPENDS:${PN}-python3 += "python3" 56RDEPENDS:${PN}-python3 += "python3"
51 57RDEPENDS:${PN}-bin += "${PN}"
58RDEPENDS:${PN}-test += "${PN}"
59FILES:${PN}:remove = "${bindir}/*"
60FILES:${PN}-bin:remove = "${bindir}/*"
61FILES:${PN}-bin = "${bindir}/botan"
62FILES:${PN}-test = "${bindir}/botan-test ${datadir}/${PN}/tests/data"
52COMPATIBLE_HOST:riscv32 = "null" 63COMPATIBLE_HOST:riscv32 = "null"
64
65BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.2.bb b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb
index 504c718b96..91ea446851 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.2.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.7.5.bb
@@ -20,7 +20,7 @@ DEPENDS:append:libc-musl = " argp-standalone"
20LDFLAGS:append:libc-musl = " -largp" 20LDFLAGS:append:libc-musl = " -largp"
21 21
22SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz" 22SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz"
23SRC_URI[sha256sum] = "219ebf74e8eddf96624a0376477e5a6f8f350a67aaf36e7dadb114d94b3afef4" 23SRC_URI[sha256sum] = "d2be4395b8f503b0ebf4b2d81db90c35a97050a358ee21fe62a0dfb66e5d5522"
24 24
25inherit autotools gettext pkgconfig 25inherit autotools gettext pkgconfig
26 26
@@ -53,7 +53,7 @@ PACKAGECONFIG[veritysetup] = "--enable-veritysetup,--disable-veritysetup"
53PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption" 53PACKAGECONFIG[luks2-reencryption] = "--enable-luks2-reencryption,--disable-luks2-reencryption"
54PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup" 54PACKAGECONFIG[integritysetup] = "--enable-integritysetup,--disable-integritysetup"
55PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" 55PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
56PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,udev lvm2-udevrules" 56PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,,,udev lvm2"
57PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto" 57PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto"
58# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't 58# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't
59# recognized. 59# recognized.
diff --git a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.5.bb b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.6.bb
index 1c2c6e21e0..840c04e52e 100644
--- a/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.5.bb
+++ b/meta-oe/recipes-crypto/fsverity-utils/fsverity-utils_1.6.bb
@@ -9,10 +9,9 @@ SECTION = "console"
9LICENSE = "MIT" 9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=bc974d217b525ea216a336adb73e1220"
11 11
12SRCREV = "20e87c13075a8e5660a8d69fd6c93d4f7c5f01a5" 12SRCREV = "2543e6e5037c0b1b448282c2793f8a6ce8b12d71"
13SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git;branch=master" 13SRC_URI = "git://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git;branch=master"
14 14
15S = "${WORKDIR}/git"
16 15
17DEPENDS = "openssl" 16DEPENDS = "openssl"
18 17
diff --git a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb
index a34614dd9d..7d27081964 100644
--- a/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb
+++ b/meta-oe/recipes-crypto/libkcapi/libkcapi_1.5.0.bb
@@ -3,7 +3,6 @@ HOMEPAGE = "https://www.chronox.de/libkcapi/index.html"
3LICENSE = "BSD-3-Clause | GPL-2.0-only" 3LICENSE = "BSD-3-Clause | GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3d8a091d797491204567185a6efce70f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=3d8a091d797491204567185a6efce70f"
5 5
6S = "${WORKDIR}/git"
7SRCREV = "fc937358e71253a6efaa3ba74885364976b040ea" 6SRCREV = "fc937358e71253a6efaa3ba74885364976b040ea"
8SRC_URI = "git://github.com/smuellerDD/libkcapi.git;branch=master;protocol=https \ 7SRC_URI = "git://github.com/smuellerDD/libkcapi.git;branch=master;protocol=https \
9 " 8 "
diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch b/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch
new file mode 100644
index 0000000000..5e2afbab9d
--- /dev/null
+++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt/0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch
@@ -0,0 +1,119 @@
1From 046d1474a9a367d4b7772233e026855f1b55d58c Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Tue, 1 Apr 2025 17:58:49 +0900
4Subject: [PATCH] fix parameter-related unexpected error in gcc 15.0.1
5
6* see more details: http://errors.yoctoproject.org/Errors/Details/850150/
7 des.c:199:9: error: too many arguments to function 'spinit'; expected 0, have 1
8 199 | spinit(key);
9 | ^~~~~~ ~~~
10 des.c:38:56: note: declared here
11 38 | static void permute_ip(), permute_fp(), perminit_ip(), spinit(),
12 | ^~~~~~
13
14* Move function forward declarations to .h file to fix the following errors:
15 tripledes.c: In function '_mcrypt_desinit':
16 tripledes.c:198:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types]
17 198 | perminit(&key->iperm, ip);
18 | ^~~~~~~~~~~
19 | |
20 | char (*)[16][16][8]
21 In file included from tripledes.c:23:
22 tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]'
23 11 | static void perminit(char perm[][16][8], char p[64]);
24 | ~~~~~^~~~~~~~~~~~~
25 tripledes.c:199:18: error: passing argument 1 of 'perminit' from incompatible pointer type [-Wincompatible-pointer-types]
26 199 | perminit(&key->fperm, fp);
27 | ^~~~~~~~~~~
28 | |
29 | char (*)[16][16][8]
30 tripledes.h:11:27: note: expected 'char (*)[16][8]' but argument is of type 'char (*)[16][16][8]'
31 11 | static void perminit(char perm[][16][8], char p[64]);
32 | ~~~~~^~~~~~~~~~~~~
33
34 Changed parameter from &key to key
35 perminit(key->iperm, ip);
36 perminit(key->fperm, fp);
37
38Signed-off-by: mark.yang <mark.yang@lge.com>
39
40Upstream-Status: Pending
41---
42 modules/algorithms/des.c | 5 -----
43 modules/algorithms/des.h | 6 ++++++
44 modules/algorithms/tripledes.c | 8 ++------
45 modules/algorithms/tripledes.h | 5 +++++
46 4 files changed, 13 insertions(+), 11 deletions(-)
47
48diff --git a/modules/algorithms/des.c b/modules/algorithms/des.c
49index 5810811..695e740 100644
50--- a/modules/algorithms/des.c
51+++ b/modules/algorithms/des.c
52@@ -35,11 +35,6 @@
53
54 /* #define NULL 0 */
55
56-static void permute_ip(), permute_fp(), perminit_ip(), spinit(),
57-perminit_fp();
58-static word32 f();
59-
60-
61 /* Tables defined in the Data Encryption Standard documents */
62
63 /* initial permutation IP */
64diff --git a/modules/algorithms/des.h b/modules/algorithms/des.h
65index c333c5b..65dba63 100644
66--- a/modules/algorithms/des.h
67+++ b/modules/algorithms/des.h
68@@ -5,3 +5,9 @@ typedef struct des_key {
69 char fperm[16][16][8];
70 } DES_KEY;
71
72+static void permute_ip(char *inblock, DES_KEY * key, char *outblock);
73+static void permute_fp(char *inblock, DES_KEY * key, char *outblock);
74+static void perminit_ip(DES_KEY * key);
75+static void spinit(DES_KEY * key);
76+static void perminit_fp(DES_KEY * key);
77+static word32 f(DES_KEY * key, register word32 r, register char *subkey);
78diff --git a/modules/algorithms/tripledes.c b/modules/algorithms/tripledes.c
79index 7b3c324..67985db 100644
80--- a/modules/algorithms/tripledes.c
81+++ b/modules/algorithms/tripledes.c
82@@ -36,10 +36,6 @@
83
84 /* #define NULL 0 */
85
86-static void permute(), perminit(), spinit();
87-static word32 f();
88-
89-
90 /* Tables defined in the Data Encryption Standard documents */
91
92 /* initial permutation IP */
93@@ -199,8 +195,8 @@ static int _mcrypt_desinit(TRIPLEDES_KEY * key)
94 spinit(key, 0);
95 spinit(key, 1);
96 spinit(key, 2);
97- perminit(&key->iperm, ip);
98- perminit(&key->fperm, fp);
99+ perminit(key->iperm, ip);
100+ perminit(key->fperm, fp);
101
102
103 return 0;
104diff --git a/modules/algorithms/tripledes.h b/modules/algorithms/tripledes.h
105index dec7682..10c7bc6 100644
106--- a/modules/algorithms/tripledes.h
107+++ b/modules/algorithms/tripledes.h
108@@ -7,3 +7,8 @@ typedef struct triple_des_key {
109
110 } TRIPLEDES_KEY;
111
112+static void permute(char *inblock, char perm[16][16][8], char *outblock);
113+static void perminit(char perm[16][16][8], char p[64]);
114+static void spinit(TRIPLEDES_KEY * key, int pos);
115+static word32 f(TRIPLEDES_KEY * key, int pos, register word32 r, register char *subkey);
116+
117--
1182.34.1
119
diff --git a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
index cfa056d71d..c55a01d3b9 100644
--- a/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
+++ b/meta-oe/recipes-crypto/libmcrypt/libmcrypt_2.5.8.bb
@@ -4,9 +4,11 @@ LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" 4LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
5DEPENDS = "libtool" 5DEPENDS = "libtool"
6 6
7SRC_URI = "${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz" 7SRC_URI = " \
8 ${SOURCEFORGE_MIRROR}/project/mcrypt/Libmcrypt/${PV}/libmcrypt-${PV}.tar.gz \
9 file://0001-fix-parameter-related-unexpected-error-in-gcc-15.0.1.patch \
10"
8 11
9SRC_URI[md5sum] = "0821830d930a86a5c69110837c55b7da"
10SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e" 12SRC_URI[sha256sum] = "e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e"
11 13
12UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/" 14UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcrypt/files/Libmcrypt/"
diff --git a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb
index 5479007d92..a9a147c35b 100644
--- a/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb
+++ b/meta-oe/recipes-crypto/libtomcrypt/libtomcrypt_1.18.2.bb
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/libtom/libtomcrypt.git;protocol=https;branch=master
21 21
22SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853" 22SRCREV = "7e7eb695d581782f04b24dc444cbfde86af59853"
23 23
24S = "${WORKDIR}/git"
25 24
26inherit pkgconfig 25inherit pkgconfig
27 26
diff --git a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
index 813c6ec4c8..a601d88e7c 100644
--- a/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
+++ b/meta-oe/recipes-crypto/monocypher/monocypher_4.0.2.bb
@@ -11,7 +11,7 @@ SRC_URI[sha512sum] = "bf275d4c53ff94af6cdc723a4e002e9f080f4d1436c86c76bb37870b34
11 11
12MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz " 12MIRRORS = "https://.*/.* https://github.com/LoupVaillant/Monocypher/releases/download/${PV}/${BPN}-${PV}.tar.gz "
13 13
14S = "${WORKDIR}/${BPN}-${PV}" 14S = "${UNPACKDIR}/${BPN}-${PV}"
15 15
16CFLAGS += "-pedantic -Wall -Wextra -O3" 16CFLAGS += "-pedantic -Wall -Wextra -O3"
17EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'" 17EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'CFLAGS=${CFLAGS}' 'LIBDIR=${libdir}'"
diff --git a/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb b/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb
index d3922cf79e..15d0aefc36 100644
--- a/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb
+++ b/meta-oe/recipes-crypto/pkcs11-helper/pkcs11-helper_1.30.0.bb
@@ -17,7 +17,6 @@ LIC_FILES_CHKSUM = " \
17" 17"
18SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https" 18SRC_URI = "git://github.com/OpenSC/${BPN}.git;branch=master;protocol=https"
19 19
20S = "${WORKDIR}/git"
21# master 20# master
22SRCREV = "8bed16034f629a0361fa8ff89deed2b43dc45d8b" 21SRCREV = "8bed16034f629a0361fa8ff89deed2b43dc45d8b"
23PV .= "+1.30.0+git" 22PV .= "+1.30.0+git"
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
index 9506d0e55d..580b92b3b3 100644
--- a/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
+++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb
@@ -38,7 +38,7 @@ USERADD_PACKAGES = "${PN}"
38USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb" 38USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb"
39 39
40do_install:prepend() { 40do_install:prepend() {
41 test -e ${B}/src/${GO_IMPORT}/build.py && rm ${B}/src/${GO_IMPORT}/build.py 41 test -e ${B}/src/${GO_IMPORT}/build.py && rm ${B}/src/${GO_IMPORT}/build.py
42 test -e ${B}/src/${GO_IMPORT}/build.sh && rm ${B}/src/${GO_IMPORT}/build.sh 42 test -e ${B}/src/${GO_IMPORT}/build.sh && rm ${B}/src/${GO_IMPORT}/build.sh
43 rm -rf ${B}/src/${GO_IMPORT}/Dockerfile* 43 rm -rf ${B}/src/${GO_IMPORT}/Dockerfile*
44 44
@@ -75,3 +75,6 @@ INITSCRIPT_NAME = "influxdb"
75INITSCRIPT_PARAMS = "defaults" 75INITSCRIPT_PARAMS = "defaults"
76 76
77SYSTEMD_SERVICE:${PN} = "influxdb.service" 77SYSTEMD_SERVICE:${PN} = "influxdb.service"
78
79CVE_STATUS[CVE-2019-10329] = "cpe-incorrect: Version does not match and only the Jenkins plugin is affected."
80SKIP_RECIPE[influxdb] ?= "QA Issue: task do_compile has network enabled"
diff --git a/meta-oe/recipes-dbs/leveldb/leveldb_1.23.bb b/meta-oe/recipes-dbs/leveldb/leveldb_1.23.bb
index 60b486df78..9cefc528ae 100644
--- a/meta-oe/recipes-dbs/leveldb/leveldb_1.23.bb
+++ b/meta-oe/recipes-dbs/leveldb/leveldb_1.23.bb
@@ -11,7 +11,6 @@ SRC_URI = "gitsm://github.com/google/${BPN}.git;branch=main;protocol=https \
11" 11"
12 12
13SRCREV = "068d5ee1a3ac40dabd00d211d5013af44be55bea" 13SRCREV = "068d5ee1a3ac40dabd00d211d5013af44be55bea"
14S = "${WORKDIR}/git"
15 14
16inherit cmake ptest 15inherit cmake ptest
17PACKAGECONFIG ??= "" 16PACKAGECONFIG ??= ""
diff --git a/meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb b/meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb
index 7322916499..9623ef7f19 100644
--- a/meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb
+++ b/meta-oe/recipes-dbs/libdbi/libdbi_0.9.0.bb
@@ -1,5 +1,4 @@
1require ${PN}.inc 1require ${PN}.inc
2 2
3 3
4SRC_URI[md5sum] = "05e2ceeac4bc85fbe40de8b4b22d9ab3"
5SRC_URI[sha256sum] = "dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503" 4SRC_URI[sha256sum] = "dafb6cdca524c628df832b6dd0bf8fabceb103248edb21762c02d3068fca4503"
diff --git a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb
index b2f1920f6b..065c8559ff 100644
--- a/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb
+++ b/meta-oe/recipes-dbs/lmdb/lmdb_0.9.31.bb
@@ -18,7 +18,7 @@ SRCREV = "ce201088de95d26fc0da36ba805bf2ddc2ba74ff"
18 18
19inherit ptest 19inherit ptest
20 20
21S = "${WORKDIR}/git/libraries/liblmdb" 21S = "${UNPACKDIR}/${BP}/libraries/liblmdb"
22 22
23do_compile() { 23do_compile() {
24 oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" XCFLAGS="${CFLAGS}" 24 oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" XCFLAGS="${CFLAGS}"
diff --git a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb b/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.6.bb
index 578357b480..578357b480 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb-native_10.11.7.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb-native_11.4.6.bb
diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc
index 4bfa1c9caa..13e55ebacd 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb.inc
+++ b/meta-oe/recipes-dbs/mysql/mariadb.inc
@@ -17,26 +17,26 @@ SRC_URI = "https://archive.mariadb.org/${BP}/source/${BP}.tar.gz \
17 file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \ 17 file://0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch \
18 file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \ 18 file://0001-aio_linux-Check-if-syscall-exists-before-using-it.patch \
19 file://ssize_t.patch \ 19 file://ssize_t.patch \
20 file://mm_malloc.patch \
21 file://sys_futex.patch \ 20 file://sys_futex.patch \
22 file://cross-compiling.patch \ 21 file://cross-compiling.patch \
23 file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \ 22 file://0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch \
24 file://lfs64.patch \ 23 file://lfs64.patch \
25 file://0001-Add-missing-includes-cstdint-and-cstdio.patch \ 24 file://0001-Add-missing-includes-cstdint-and-cstdio.patch \
26 file://0001-Remove-the-compile_time_assert-lines.patch \ 25 file://0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch \
27 file://0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch \ 26 file://riscv32.patch \
28 " 27 "
29SRC_URI:append:libc-musl = " file://ppc-remove-glibc-dep.patch" 28SRC_URI[sha256sum] = "1b26c0bb2d025dbfac3b9852d2b7eafda56a171b67ac2e27831ec0414fb7df07"
30SRC_URI[sha256sum] = "5239a245ed90517e96396605cd01ccd8f73cd7442d1b3076b6ffe258110e5157"
31 29
32UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases" 30UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/tags"
33 31
34BINCONFIG_GLOB = "mysql_config" 32BINCONFIG_GLOB = "mysql_config"
35 33
36inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig 34inherit cmake gettext binconfig update-rc.d systemd multilib_script multilib_header pkgconfig
37 35
38MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \ 36MULTILIB_SCRIPTS = "${PN}-server:${bindir}/mariadbd-safe \
39 ${PN}-setupdb:${bindir}/mariadb-install-db" 37 ${PN}-setupdb:${bindir}/mariadb-install-db \
38 libmysqlclient-dev:${bindir}/mysql_config \
39 "
40 40
41INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb" 41INITSCRIPT_PACKAGES = "${PN}-server ${PN}-setupdb"
42INITSCRIPT_NAME:${PN}-server = "mysqld" 42INITSCRIPT_NAME:${PN}-server = "mysqld"
@@ -63,20 +63,14 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} lz4 openssl"
63EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'" 63EXTRA_OEMAKE = "'GEN_LEX_HASH=${STAGING_BINDIR_NATIVE}/gen_lex_hash'"
64 64
65PACKAGECONFIG:class-native = "" 65PACKAGECONFIG:class-native = ""
66PACKAGECONFIG[pam] = "-DPLUGIN_AUTH_PAM=YES,-DPLUGIN_AUTH_PAM=NO,libpam" 66PACKAGECONFIG[pam] = "-DPLUGIN_AUTH_PAM=YES -DINSTALL_PAMDIR=${base_libdir}/security,-DPLUGIN_AUTH_PAM=NO,libpam"
67PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind" 67PACKAGECONFIG[valgrind] = "-DWITH_VALGRIND=TRUE,-DWITH_VALGRIND=FALSE,valgrind"
68PACKAGECONFIG[krb5] = ", ,krb5" 68PACKAGECONFIG[krb5] = ", ,krb5"
69PACKAGECONFIG[lz4] = ", ,lz4" 69PACKAGECONFIG[lz4] = ", ,lz4"
70PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl" 70PACKAGECONFIG[openssl] = "-DWITH_SSL='system',-DWITH_SSL='bundled',openssl"
71 71
72# MariaDB doesn't link properly with gold
73# https://mariadb.atlassian.net/browse/MDEV-5982
74TARGET_CFLAGS += "-fuse-ld=bfd"
75LDFLAGS += " -pthread" 72LDFLAGS += " -pthread"
76 73
77BUILD_CFLAGS += "-fuse-ld=bfd"
78BUILD_CXXFLAGS += "-fuse-ld=bfd"
79
80LDFLAGS:x86:toolchain-clang = "-latomic" 74LDFLAGS:x86:toolchain-clang = "-latomic"
81LDFLAGS:riscv32:toolchain-clang = "-latomic" 75LDFLAGS:riscv32:toolchain-clang = "-latomic"
82 76
@@ -93,11 +87,14 @@ EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \
93 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \ 87 -DINSTALL_DOCDIR:PATH=${datadir}/doc/${BPN} \
94 -DINSTALL_LIBDIR:PATH=${baselib} \ 88 -DINSTALL_LIBDIR:PATH=${baselib} \
95 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \ 89 -DINSTALL_PLUGINDIR:PATH=${baselib}/plugin \
90 -DINSTALL_PCDIR:PATH=${baselib}/pkgconfig \
96 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \ 91 -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \
97 -DMYSQL_DATADIR:PATH=/var/mysql \ 92 -DMYSQL_DATADIR:PATH=/var/mysql \
98 -DCAT_EXECUTABLE=`which cat` \ 93 -DCAT_EXECUTABLE=`which cat` \
99 -DSTACK_DIRECTION=1 \
100 -DHAVE_SYSTEM_LIBFMT_EXITCODE=0 \ 94 -DHAVE_SYSTEM_LIBFMT_EXITCODE=0 \
95 -DLSTAT_FOLLOWS_SLASHED_SYMLINK_EXITCODE=0 \
96 -DSTAT_EMPTY_STRING_BUG_EXITCODE=0 \
97 -DMASK_LONGDOUBLE_EXITCODE=0 \
101 -DCMAKE_AR:FILEPATH=${AR}" 98 -DCMAKE_AR:FILEPATH=${AR}"
102 99
103 100
@@ -160,6 +157,7 @@ mariadb_sysroot_preprocess () {
160 157
161do_install() { 158do_install() {
162 oe_runmake 'DESTDIR=${D}' install 159 oe_runmake 'DESTDIR=${D}' install
160 oe_multilib_header mysql/mariadb_version.h mysql/server/my_config.h mysql/server/private/config.h
163 161
164 install -d ${D}/${sysconfdir}/init.d 162 install -d ${D}/${sysconfdir}/init.d
165 install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/ 163 install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/
@@ -182,16 +180,8 @@ do_install() {
182 # mini-benchmark used for Gitlab-CI to run on every commit to catch 180 # mini-benchmark used for Gitlab-CI to run on every commit to catch
183 # if there are severe performance regressions. 181 # if there are severe performance regressions.
184 # remove it to avoid introducing bash dependency 182 # remove it to avoid introducing bash dependency
185 if [ -f ${D}${datadir}/mysql/mini-benchmark ]; then 183 if [ -f ${D}${datadir}/mariadb/mini-benchmark ]; then
186 rm -rf ${D}${datadir}/mysql/mini-benchmark 184 rm -rf ${D}${datadir}/mariadb/mini-benchmark
187 fi
188 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
189 pam_so=$(find ${D} -name pam_user_map.so)
190 if [ x"${pam_so}" != x ]; then
191 pam_dir=$(dirname ${pam_so})
192 mv ${pam_dir} ${D}/${libdir}
193 rmdir --ignore-fail-on-non-empty ${pam_dir%security}
194 fi
195 fi 185 fi
196} 186}
197 187
@@ -343,9 +333,9 @@ FILES:${PN}-server = "\
343 ${sbindir}/mysqld \ 333 ${sbindir}/mysqld \
344 ${sbindir}/mariadbd \ 334 ${sbindir}/mariadbd \
345 ${libdir}/plugin/*.so \ 335 ${libdir}/plugin/*.so \
346 ${libdir}/security/*.so \ 336 ${base_libdir}/security/*.so \
347 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ 337 ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \
348 ${datadir}/mysql/ \ 338 ${datadir}/mariadb/ \
349 ${localstatedir}/mysql/ \ 339 ${localstatedir}/mysql/ \
350 ${sysconfdir}/init.d/mysqld \ 340 ${sysconfdir}/init.d/mysqld \
351 ${sysconfdir}/my.cnf \ 341 ${sysconfdir}/my.cnf \
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch
index f8ccb998be..bc1b992919 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Add-missing-includes-cstdint-and-cstdio.patch
@@ -1,4 +1,4 @@
1From 68100b1f2243304289b9a9a35e8fb0e1bb0cf70f Mon Sep 17 00:00:00 2001 1From ef47f8f41722b90a86ace86f0f509b4775c2f725 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 24 Jan 2023 21:40:43 -0800 3Date: Tue, 24 Jan 2023 21:40:43 -0800
4Subject: [PATCH] Add missing includes <cstdint> and <cstdio> 4Subject: [PATCH] Add missing includes <cstdint> and <cstdio>
@@ -11,27 +11,14 @@ Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13--- 13---
14 .../rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h | 1 + 14 storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 +
15 storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h | 1 + 15 .../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 +
16 .../rocksdb/rocksdb/table/block_based/data_block_hash_index.h | 1 + 16 storage/rocksdb/rocksdb/util/slice.cc | 2 +-
17 storage/rocksdb/rocksdb/util/slice.cc | 1 + 17 storage/rocksdb/rocksdb/util/string_util.h | 1 +
18 storage/rocksdb/rocksdb/util/string_util.h | 1 + 18 4 files changed, 4 insertions(+), 1 deletion(-)
19 5 files changed, 5 insertions(+)
20 19
21diff --git a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
22index 963c1d8e..73487edd 100644
23--- a/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
24+++ b/storage/rocksdb/rocksdb/db/compaction/compaction_iteration_stats.h
25@@ -5,6 +5,7 @@
26
27 #pragma once
28
29+#include <cstdint>
30 #include "rocksdb/rocksdb_namespace.h"
31
32 struct CompactionIterationStats {
33diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h 20diff --git a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
34index c7f93b4c..3c2ab805 100644 21index 7fb9d489..f7b4e6f0 100644
35--- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h 22--- a/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
36+++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h 23+++ b/storage/rocksdb/rocksdb/include/rocksdb/utilities/checkpoint.h
37@@ -8,6 +8,7 @@ 24@@ -8,6 +8,7 @@
@@ -55,30 +42,29 @@ index f356395f..32152217 100644
55 #include <vector> 42 #include <vector>
56 43
57diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc 44diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc
58index 6db11cc9..c26b6a21 100644 45index 3c3656de..b18d7f5d 100644
59--- a/storage/rocksdb/rocksdb/util/slice.cc 46--- a/storage/rocksdb/rocksdb/util/slice.cc
60+++ b/storage/rocksdb/rocksdb/util/slice.cc 47+++ b/storage/rocksdb/rocksdb/util/slice.cc
61@@ -8,6 +8,7 @@ 48@@ -12,7 +12,7 @@
62 // found in the LICENSE file. See the AUTHORS file for names of contributors. 49 #include <stdio.h>
63 50
64 #include <algorithm> 51 #include <algorithm>
52-
65+#include <cstdint> 53+#include <cstdint>
54 #include "rocksdb/convenience.h"
66 #include "rocksdb/slice_transform.h" 55 #include "rocksdb/slice_transform.h"
67 #include "rocksdb/slice.h" 56 #include "rocksdb/utilities/object_registry.h"
68 #include "util/string_util.h" 57diff --git a/storage/rocksdb/rocksdb/util/string_util.h b/storage/rocksdb/rocksdb/util/string_util.h
69 58index 7794dbb0..b480177e 100644
70diff --git a/util/string_util.h b/util/string_util.h
71index 55d106fff02..11178fd1d7b 100644
72--- a/storage/rocksdb/rocksdb/util/string_util.h 59--- a/storage/rocksdb/rocksdb/util/string_util.h
73+++ b/storage/rocksdb/rocksdb/util/string_util.h 60+++ b/storage/rocksdb/rocksdb/util/string_util.h
74@@ -6,6 +6,7 @@ 61@@ -6,6 +6,7 @@
75 62
76 #pragma once 63 #pragma once
77 64
78+#include <cstdint> 65+#include <cstdint>
79 #include <sstream> 66 #include <sstream>
80 #include <string> 67 #include <string>
81 #include <unordered_map> 68 #include <unordered_map>
82-- 69--
832.25.1 702.40.0
84
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch
new file mode 100644
index 0000000000..2a1c74a68c
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Ensure-compatibility-with-ARMv9-by-updating-.arch-di.patch
@@ -0,0 +1,41 @@
1From 0b1ba174bd5148c0675b335fcebde767a56e10bb Mon Sep 17 00:00:00 2001
2From: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
3Date: Mon, 2 Dec 2024 02:18:46 +0000
4Subject: [PATCH] Ensure compatibility with ARMv9 by updating .arch directive
5
6The pmem_cvap() function currently uses the '.arch armv8.2-a' directive
7for the 'dc cvap' instruction. This will cause build errors below when
8compiling for ARMv9 systems. Update the '.arch' directive to 'armv9.4-a'
9to ensure compatibility with ARMv9 architectures.
10
11{standard input}: Assembler messages:
12{standard input}:169: Error: selected processor does not support `retaa'
13{standard input}:286: Error: selected processor does not support `retaa'
14make[2]: *** [storage/innobase/CMakeFiles/innobase_embedded.dir/build.make:
151644: storage/innobase/CMakeFiles/innobase_embedded.dir/sync/cache.cc.o]
16Error 1
17
18Upstream-Status: Submitted
19
20Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
21---
22 storage/innobase/sync/cache.cc | 5 +++++
23 1 file changed, 5 insertions(+)
24
25diff --git a/storage/innobase/sync/cache.cc b/storage/innobase/sync/cache.cc
26index 43d642d0..c5e67709 100644
27--- a/storage/innobase/sync/cache.cc
28+++ b/storage/innobase/sync/cache.cc
29@@ -82,7 +82,12 @@ static void pmem_cvap(const void* buf, size_t size)
30 for (uintptr_t u= uintptr_t(buf) & ~(CPU_LEVEL1_DCACHE_LINESIZE),
31 end= uintptr_t(buf) + size;
32 u < end; u+= CPU_LEVEL1_DCACHE_LINESIZE)
33+#if defined __ARM_ARCH && __ARM_ARCH == 9
34+ __asm__ __volatile__(".arch armv9.4-a\n dc cvap, %0" :: "r"(u) : "memory");
35+#else
36 __asm__ __volatile__(".arch armv8.2-a\n dc cvap, %0" :: "r"(u) : "memory");
37+#endif
38+
39 __asm__ __volatile__("dmb ishst" ::: "memory");
40 }
41
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
index d8671b76b0..8105d3d785 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-Fix-library-LZ4-lookup.patch
@@ -1,18 +1,17 @@
1From f15fbdf1244ca9ce01c5507660a86d685ed88bcf Mon Sep 17 00:00:00 2001 1From 2e64c0c22f630cbc301d385e46021853116f9c75 Mon Sep 17 00:00:00 2001
2From: Sumit Garg <sumit.garg@linaro.org> 2From: Sumit Garg <sumit.garg@linaro.org>
3Date: Mon, 21 Mar 2022 15:08:40 +0800 3Date: Mon, 21 Mar 2022 15:08:40 +0800
4Subject: [PATCH] Fix library LZ4 lookup. 4Subject: [PATCH] Fix library LZ4 lookup.
5 5
6Upstream-Status: Pending
6Signed-off-by: Sumit Garg <sumit.garg@linaro.org> 7Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
7Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 8Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
8--- 9---
9Upstream-Status: Pending
10
11 cmake/FindLZ4.cmake | 9 +++++++-- 10 cmake/FindLZ4.cmake | 9 +++++++--
12 1 file changed, 7 insertions(+), 2 deletions(-) 11 1 file changed, 7 insertions(+), 2 deletions(-)
13 12
14diff --git a/cmake/FindLZ4.cmake b/cmake/FindLZ4.cmake 13diff --git a/cmake/FindLZ4.cmake b/cmake/FindLZ4.cmake
15index eebd859..094241c 100644 14index eebd8596..094241ce 100644
16--- a/cmake/FindLZ4.cmake 15--- a/cmake/FindLZ4.cmake
17+++ b/cmake/FindLZ4.cmake 16+++ b/cmake/FindLZ4.cmake
18@@ -1,5 +1,10 @@ 17@@ -1,5 +1,10 @@
@@ -28,6 +27,3 @@ index eebd859..094241c 100644
28 27
29 if(LZ4_INCLUDE_DIRS AND EXISTS "${LZ4_INCLUDE_DIRS}/lz4.h") 28 if(LZ4_INCLUDE_DIRS AND EXISTS "${LZ4_INCLUDE_DIRS}/lz4.h")
30 file(STRINGS "${LZ4_INCLUDE_DIRS}/lz4.h" LZ4_H REGEX "^#define LZ4_VERSION_[MR]") 29 file(STRINGS "${LZ4_INCLUDE_DIRS}/lz4.h" LZ4_H REGEX "^#define LZ4_VERSION_[MR]")
31--
322.25.1
33
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch
deleted file mode 100644
index 3e42535dad..0000000000
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-MDEV-33439-Fix-build-with-libxml2-2.12.patch
+++ /dev/null
@@ -1,170 +0,0 @@
1From dae52f5916ef59434c93f0b716270f59dd0c3a94 Mon Sep 17 00:00:00 2001
2From: Jan Tojnar <jtojnar@gmail.com>
3Date: Sun, 7 Jan 2024 10:19:54 +0100
4Subject: [PATCH] MDEV-33439 Fix build with libxml2 2.12
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9libxml2 2.12.0 made `xmlGetLastError()` return `const` pointer:
10
11https://gitlab.gnome.org/GNOME/libxml2/-/commit/61034116d0a3c8b295c6137956adc3ae55720711
12
13Clang 16 does not like this:
14
15 error: assigning to 'xmlErrorPtr' (aka '_xmlError *') from 'const xmlError *' (aka 'const _xmlError *') discards qualifiers
16 error: cannot initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') with an rvalue of type 'const xmlError *' (aka 'const _xmlError *')
17
18Let’s update the variables to `const`.
19For older versions, it will be automatically converted.
20
21But then `xmlResetError(xmlError*)` will not like the `const` pointer:
22
23 error: no matching function for call to 'xmlResetError'
24 note: candidate function not viable: 1st argument ('const xmlError *' (aka 'const _xmlError *')) would lose const qualifier
25
26Let’s replace it with `xmlResetLastError()`.
27
28ALso remove `LIBXMLDOC::Xerr` protected member property.
29It was introduced in 65b0e5455b547a3d574fa77b34cce23ae3bea0a0
30along with the `xmlResetError` calls.
31It does not appear to be used for anything.
32
33Upstream-Status: Backport [https://github.com/MariaDB/server/pull/2983]
34Signed-off-by: Khem Raj <raj.khem@gmail.com>
35---
36 storage/connect/libdoc.cpp | 39 +++++++++++++++++++-------------------
37 1 file changed, 19 insertions(+), 20 deletions(-)
38
39diff --git a/storage/connect/libdoc.cpp b/storage/connect/libdoc.cpp
40index 67f22ce2..ab588dd4 100644
41--- a/storage/connect/libdoc.cpp
42+++ b/storage/connect/libdoc.cpp
43@@ -93,7 +93,6 @@ class LIBXMLDOC : public XMLDOCUMENT {
44 xmlXPathContextPtr Ctxp;
45 xmlXPathObjectPtr Xop;
46 xmlXPathObjectPtr NlXop;
47- xmlErrorPtr Xerr;
48 char *Buf; // Temporary
49 bool Nofreelist;
50 }; // end of class LIBXMLDOC
51@@ -327,7 +326,6 @@ LIBXMLDOC::LIBXMLDOC(char *nsl, char *nsdf, char *enc, PFBLOCK fp)
52 Ctxp = NULL;
53 Xop = NULL;
54 NlXop = NULL;
55- Xerr = NULL;
56 Buf = NULL;
57 Nofreelist = false;
58 } // end of LIBXMLDOC constructor
59@@ -365,8 +363,8 @@ bool LIBXMLDOC::ParseFile(PGLOBAL g, char *fn)
60 Encoding = (char*)Docp->encoding;
61
62 return false;
63- } else if ((Xerr = xmlGetLastError()))
64- xmlResetError(Xerr);
65+ } else if (xmlGetLastError())
66+ xmlResetLastError();
67
68 return true;
69 } // end of ParseFile
70@@ -505,9 +503,9 @@ int LIBXMLDOC::DumpDoc(PGLOBAL g, char *ofn)
71 #if 1
72 // This function does not crash (
73 if (xmlSaveFormatFileEnc((const char *)ofn, Docp, Encoding, 0) < 0) {
74- xmlErrorPtr err = xmlGetLastError();
75+ const xmlError *err = xmlGetLastError();
76 strcpy(g->Message, (err) ? err->message : "Error saving XML doc");
77- xmlResetError(Xerr);
78+ xmlResetLastError();
79 rc = -1;
80 } // endif Save
81 // rc = xmlDocDump(of, Docp);
82@@ -546,8 +544,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
83 if (Nlist) {
84 xmlXPathFreeNodeSet(Nlist);
85
86- if ((Xerr = xmlGetLastError()))
87- xmlResetError(Xerr);
88+ if (xmlGetLastError())
89+ xmlResetLastError();
90
91 Nlist = NULL;
92 } // endif Nlist
93@@ -555,8 +553,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
94 if (Xop) {
95 xmlXPathFreeObject(Xop);
96
97- if ((Xerr = xmlGetLastError()))
98- xmlResetError(Xerr);
99+ if (xmlGetLastError())
100+ xmlResetLastError();
101
102 Xop = NULL;
103 } // endif Xop
104@@ -564,8 +562,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
105 if (NlXop) {
106 xmlXPathFreeObject(NlXop);
107
108- if ((Xerr = xmlGetLastError()))
109- xmlResetError(Xerr);
110+ if (xmlGetLastError())
111+ xmlResetLastError();
112
113 NlXop = NULL;
114 } // endif NlXop
115@@ -573,8 +571,8 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
116 if (Ctxp) {
117 xmlXPathFreeContext(Ctxp);
118
119- if ((Xerr = xmlGetLastError()))
120- xmlResetError(Xerr);
121+ if (xmlGetLastError())
122+ xmlResetLastError();
123
124 Ctxp = NULL;
125 } // endif Ctxp
126@@ -590,6 +588,7 @@ void LIBXMLDOC::CloseDoc(PGLOBAL g, PFBLOCK xp)
127 /******************************************************************/
128 xmlNodeSetPtr LIBXMLDOC::GetNodeList(PGLOBAL g, xmlNodePtr np, char *xp)
129 {
130+ const xmlError *xerr;
131 xmlNodeSetPtr nl;
132
133 if (trace(1))
134@@ -649,11 +648,11 @@ xmlNodeSetPtr LIBXMLDOC::GetNodeList(PGLOBAL g, xmlNodePtr np, char *xp)
135 } else
136 xmlXPathFreeObject(Xop); // Caused node not found
137
138- if ((Xerr = xmlGetLastError())) {
139- strcpy(g->Message, Xerr->message);
140- xmlResetError(Xerr);
141+ if ((xerr = xmlGetLastError())) {
142+ strcpy(g->Message, xerr->message);
143+ xmlResetLastError();
144 return NULL;
145- } // endif Xerr
146+ } // endif xerr
147
148 } // endif Xop
149
150@@ -1079,7 +1078,7 @@ void XML2NODE::AddText(PGLOBAL g, PCSZ txtp)
151 /******************************************************************/
152 void XML2NODE::DeleteChild(PGLOBAL g, PXNODE dnp)
153 {
154- xmlErrorPtr xerr;
155+ const xmlError *xerr;
156
157 if (trace(1))
158 htrc("DeleteChild: node=%p\n", dnp);
159@@ -1122,7 +1121,7 @@ void XML2NODE::DeleteChild(PGLOBAL g, PXNODE dnp)
160 if (trace(1))
161 htrc("DeleteChild: errmsg=%-.256s\n", xerr->message);
162
163- xmlResetError(xerr);
164+ xmlResetLastError();
165 } // end of DeleteChild
166
167 /* -------------------- class XML2NODELIST ---------------------- */
168--
1692.44.0
170
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-Remove-the-compile_time_assert-lines.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-Remove-the-compile_time_assert-lines.patch
deleted file mode 100644
index 9a6e28297b..0000000000
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-Remove-the-compile_time_assert-lines.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From cc5f1d0759b367265a1a000287e2ec15c31eb518 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 26 Feb 2024 14:56:02 +0800
4Subject: [PATCH] Remove the compile_time_assert lines
5
6Remove the problematic compile_time_assert lines to fix the below build
7failure on 32-bit arm.
8 In file included from TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/mariadb/10.11.7/mariadb-10.11.7/tests/mysql_client_test.c:38:
9 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/mariadb/10.11.7/mariadb-10.11.7/tests/mysql_client_fw.c:1438:3: error: 'compile_time_assert' declared as an array with a negative size
10 1438 | compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12
13Upstream-Status: Inappropriate [Upstream will bring the asset back
14 in a new way [1]]
15[1] https://jira.mariadb.org/browse/MDEV-33429
16
17Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
18---
19 tests/mysql_client_fw.c | 8 --------
20 1 file changed, 8 deletions(-)
21
22diff --git a/tests/mysql_client_fw.c b/tests/mysql_client_fw.c
23index c9e64678..5c0c7ce2 100644
24--- a/tests/mysql_client_fw.c
25+++ b/tests/mysql_client_fw.c
26@@ -1430,14 +1430,6 @@ int main(int argc, char **argv)
27 tests_to_run[i]= NULL;
28 }
29
30-#ifdef _WIN32
31- /* must be the same in C/C and embedded, 1208 on 64bit, 968 on 32bit */
32- compile_time_assert(sizeof(MYSQL) == 60*sizeof(void*)+728);
33-#else
34- /* must be the same in C/C and embedded, 1272 on 64bit, 964 on 32bit */
35- compile_time_assert(sizeof(MYSQL) == 77*sizeof(void*)+656);
36-#endif
37-
38 if (mysql_server_init(embedded_server_arg_count,
39 embedded_server_args,
40 (char**) embedded_server_groups))
41--
422.25.1
43
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_linux-Check-if-syscall-exists-before-using-it.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_linux-Check-if-syscall-exists-before-using-it.patch
index aba9b9d966..eddfdaaf77 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_linux-Check-if-syscall-exists-before-using-it.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-aio_linux-Check-if-syscall-exists-before-using-it.patch
@@ -1,4 +1,4 @@
1From 0a3222338efc108c831fbdd719a47d35f4b0adcd Mon Sep 17 00:00:00 2001 1From f9f019049a9bb09471e8303d4510afae07f225c8 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Aug 2021 06:49:25 +0000 3Date: Wed, 18 Aug 2021 06:49:25 +0000
4Subject: [PATCH] aio_linux: Check if syscall exists before using it 4Subject: [PATCH] aio_linux: Check if syscall exists before using it
@@ -10,19 +10,17 @@ tpool/aio_linux.cc:63:20: error: '__NR_io_getevents' was not declared in this sc
10 | ^~~~~~~~~~~~~~~~~ 10 | ^~~~~~~~~~~~~~~~~
11 | io_getevents 11 | io_getevents
12 12
13Upstream-Staus: Pending 13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15--- 15---
16Upstream-Status: Pending
17
18 tpool/aio_linux.cc | 4 ++++ 16 tpool/aio_linux.cc | 4 ++++
19 1 file changed, 4 insertions(+) 17 1 file changed, 4 insertions(+)
20 18
21diff --git a/tpool/aio_linux.cc b/tpool/aio_linux.cc 19diff --git a/tpool/aio_linux.cc b/tpool/aio_linux.cc
22index 4abc213..da75411 100644 20index 507c6b92..a6adf1af 100644
23--- a/tpool/aio_linux.cc 21--- a/tpool/aio_linux.cc
24+++ b/tpool/aio_linux.cc 22+++ b/tpool/aio_linux.cc
25@@ -58,6 +58,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/ 23@@ -59,6 +59,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1301 USA*/
26 */ 24 */
27 static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev) 25 static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev)
28 { 26 {
@@ -30,7 +28,7 @@ index 4abc213..da75411 100644
30 int saved_errno= errno; 28 int saved_errno= errno;
31 int ret= syscall(__NR_io_getevents, reinterpret_cast<long>(ctx), 29 int ret= syscall(__NR_io_getevents, reinterpret_cast<long>(ctx),
32 min_nr, nr, ev, 0); 30 min_nr, nr, ev, 0);
33@@ -67,6 +68,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev) 31@@ -68,6 +69,9 @@ static int my_getevents(io_context_t ctx, long min_nr, long nr, io_event *ev)
34 errno= saved_errno; 32 errno= saved_errno;
35 } 33 }
36 return ret; 34 return ret;
@@ -40,6 +38,3 @@ index 4abc213..da75411 100644
40 } 38 }
41 39
42 40
43--
442.29.2
45
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch
index 0a2eed44f4..bfcd45b64b 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-innobase-Define-__NR_futex-if-it-does-not-exist.patch
@@ -1,4 +1,4 @@
1From d611f78198dee64bb6a05933d200b544e2510b76 Mon Sep 17 00:00:00 2001 1From 3a29c2f7afe10bf0bc0529b5d9ea44866946ac5a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 14 Nov 2020 14:37:13 -0800 3Date: Sat, 14 Nov 2020 14:37:13 -0800
4Subject: [PATCH] innobase: Define __NR_futex if it does not exist 4Subject: [PATCH] innobase: Define __NR_futex if it does not exist
@@ -19,7 +19,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 1 file changed, 3 insertions(+) 19 1 file changed, 3 insertions(+)
20 20
21diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc 21diff --git a/storage/innobase/log/log0sync.cc b/storage/innobase/log/log0sync.cc
22index 7799e605..4fab8f74 100644 22index 0de283ca..265ab691 100644
23--- a/storage/innobase/log/log0sync.cc 23--- a/storage/innobase/log/log0sync.cc
24+++ b/storage/innobase/log/log0sync.cc 24+++ b/storage/innobase/log/log0sync.cc
25@@ -66,6 +66,9 @@ Note that if write operation is very fast, a) or b) can be fine as alternative. 25@@ -66,6 +66,9 @@ Note that if write operation is very fast, a) or b) can be fine as alternative.
@@ -32,6 +32,3 @@ index 7799e605..4fab8f74 100644
32 #endif 32 #endif
33 33
34 #include <atomic> 34 #include <atomic>
35--
362.29.2
37
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch b/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch
index 456a2bad64..1475bb1a51 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/0001-sql-CMakeLists.txt-fix-gen_lex_hash-not-found.patch
@@ -1,4 +1,4 @@
1From f92f657973997df30afdb0032c88ad3a14ead46b Mon Sep 17 00:00:00 2001 1From 360d41c1dd2d28d5102d66179095cedacaf5dc3a Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 23 Sep 2022 15:48:21 +0800 3Date: Fri, 23 Sep 2022 15:48:21 +0800
4Subject: [PATCH] sql/CMakeLists.txt: fix gen_lex_hash not found 4Subject: [PATCH] sql/CMakeLists.txt: fix gen_lex_hash not found
@@ -15,10 +15,10 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
15 1 file changed, 22 insertions(+), 8 deletions(-) 15 1 file changed, 22 insertions(+), 8 deletions(-)
16 16
17diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt 17diff --git a/sql/CMakeLists.txt b/sql/CMakeLists.txt
18index 241b482..27a3991 100644 18index 0195555e..507136cb 100644
19--- a/sql/CMakeLists.txt 19--- a/sql/CMakeLists.txt
20+++ b/sql/CMakeLists.txt 20+++ b/sql/CMakeLists.txt
21@@ -60,11 +60,18 @@ ${CMAKE_BINARY_DIR}/sql 21@@ -64,11 +64,18 @@ ${CMAKE_BINARY_DIR}/sql
22 ${CMAKE_SOURCE_DIR}/tpool 22 ${CMAKE_SOURCE_DIR}/tpool
23 ) 23 )
24 24
@@ -41,7 +41,7 @@ index 241b482..27a3991 100644
41 41
42 FIND_PACKAGE(BISON 2.4) 42 FIND_PACKAGE(BISON 2.4)
43 43
44@@ -372,11 +379,18 @@ IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR) 44@@ -405,11 +412,18 @@ IF(NOT CMAKE_CROSSCOMPILING OR DEFINED CMAKE_CROSSCOMPILING_EMULATOR)
45 ADD_EXECUTABLE(gen_lex_hash gen_lex_hash.cc) 45 ADD_EXECUTABLE(gen_lex_hash gen_lex_hash.cc)
46 ENDIF() 46 ENDIF()
47 47
@@ -64,6 +64,3 @@ index 241b482..27a3991 100644
64 64
65 MYSQL_ADD_EXECUTABLE(mariadb-tzinfo-to-sql tztime.cc) 65 MYSQL_ADD_EXECUTABLE(mariadb-tzinfo-to-sql tztime.cc)
66 SET_TARGET_PROPERTIES(mariadb-tzinfo-to-sql PROPERTIES COMPILE_FLAGS "-DTZINFO2SQL") 66 SET_TARGET_PROPERTIES(mariadb-tzinfo-to-sql PROPERTIES COMPILE_FLAGS "-DTZINFO2SQL")
67--
682.25.1
69
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch b/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch
index ac94279585..2841a59a73 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/configure.cmake-fix-valgrind.patch
@@ -1,4 +1,4 @@
1From 24e2b0edc2612acefcc48414bb6f0aeb086061a9 Mon Sep 17 00:00:00 2001 1From c24181245bc502a384635d7f7f48f12863f84c2f Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Tue, 26 Feb 2019 23:57:06 -0800 3Date: Tue, 26 Feb 2019 23:57:06 -0800
4Subject: [PATCH] configure.cmake: fix valgrind 4Subject: [PATCH] configure.cmake: fix valgrind
@@ -16,16 +16,15 @@ Upstream-Status: Inappropriate [oe specific]
16 16
17Signed-off-by: Jackie Huang <jackie.huang@windriver.com> 17Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
18Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 18Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
19
20--- 19---
21 configure.cmake | 5 ++--- 20 configure.cmake | 5 ++---
22 1 file changed, 2 insertions(+), 3 deletions(-) 21 1 file changed, 2 insertions(+), 3 deletions(-)
23 22
24diff --git a/configure.cmake b/configure.cmake 23diff --git a/configure.cmake b/configure.cmake
25index 3cfc4b31..d017b3b3 100644 24index 61f30a75..3e730082 100644
26--- a/configure.cmake 25--- a/configure.cmake
27+++ b/configure.cmake 26+++ b/configure.cmake
28@@ -930,10 +930,9 @@ HAVE_GCC_C11_ATOMICS) 27@@ -881,10 +881,9 @@ ENDIF()
29 28
30 IF(WITH_VALGRIND) 29 IF(WITH_VALGRIND)
31 SET(HAVE_valgrind 1) 30 SET(HAVE_valgrind 1)
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch
index d0d6e3c730..dc34c07d31 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/cross-compiling.patch
@@ -1,4 +1,4 @@
1From 80be37351d995654f86b838f6b5ed47e8a90261b Mon Sep 17 00:00:00 2001 1From b6d8dbb7e930f5caa9e3e3c71706b0cf9eea7bb3 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 23 Sep 2022 12:05:17 +0800 3Date: Fri, 23 Sep 2022 12:05:17 +0800
4Subject: [PATCH] CMakeLists.txt: not include import_executables.cmake 4Subject: [PATCH] CMakeLists.txt: not include import_executables.cmake
@@ -14,10 +14,10 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14 1 file changed, 5 deletions(-) 14 1 file changed, 5 deletions(-)
15 15
16diff --git a/CMakeLists.txt b/CMakeLists.txt 16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index f9e2b1b..34924ba 100644 17index 3828420c..ee38615a 100644
18--- a/CMakeLists.txt 18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt 19+++ b/CMakeLists.txt
20@@ -394,11 +394,6 @@ CHECK_LIBFMT() 20@@ -428,11 +428,6 @@ CHECK_LIBFMT()
21 ADD_SUBDIRECTORY(tpool) 21 ADD_SUBDIRECTORY(tpool)
22 CHECK_SYSTEMD() 22 CHECK_SYSTEMD()
23 23
@@ -29,6 +29,3 @@ index f9e2b1b..34924ba 100644
29 # 29 #
30 # Setup maintainer mode options. Platform checks are 30 # Setup maintainer mode options. Platform checks are
31 # not run with the warning options as to not perturb fragile checks 31 # not run with the warning options as to not perturb fragile checks
32--
332.25.1
34
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
index 05b0cf8ff7..39b7fad983 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/fix-arm-atomic.patch
@@ -1,4 +1,4 @@
1From f447aca534d1a12809eeb146e8220d305cc3884d Mon Sep 17 00:00:00 2001 1From af4247cd24eab2d728fb3592f6e125ef5290361b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 9 Apr 2020 14:07:19 +0800 3Date: Thu, 9 Apr 2020 14:07:19 +0800
4Subject: [PATCH] build_rocksdb.cmake: fix atomic support on arm 4Subject: [PATCH] build_rocksdb.cmake: fix atomic support on arm
@@ -16,10 +16,10 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16 1 file changed, 3 insertions(+) 16 1 file changed, 3 insertions(+)
17 17
18diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake 18diff --git a/storage/rocksdb/build_rocksdb.cmake b/storage/rocksdb/build_rocksdb.cmake
19index d7895b0..3bcd52a 100644 19index e89dbfc0..acc6b48e 100644
20--- a/storage/rocksdb/build_rocksdb.cmake 20--- a/storage/rocksdb/build_rocksdb.cmake
21+++ b/storage/rocksdb/build_rocksdb.cmake 21+++ b/storage/rocksdb/build_rocksdb.cmake
22@@ -470,6 +470,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc) 22@@ -490,6 +490,9 @@ list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/build_version.cc)
23 23
24 ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES}) 24 ADD_CONVENIENCE_LIBRARY(rocksdblib ${SOURCES})
25 target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS}) 25 target_link_libraries(rocksdblib ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
@@ -29,6 +29,3 @@ index d7895b0..3bcd52a 100644
29 IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") 29 IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
30 set_target_properties(rocksdblib PROPERTIES COMPILE_FLAGS "-fPIC -fno-builtin-memcmp -Wno-error") 30 set_target_properties(rocksdblib PROPERTIES COMPILE_FLAGS "-fPIC -fno-builtin-memcmp -Wno-error")
31 endif() 31 endif()
32--
332.7.4
34
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/lfs64.patch b/meta-oe/recipes-dbs/mysql/mariadb/lfs64.patch
index 7a685a6521..d53eb99e4c 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/lfs64.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/lfs64.patch
@@ -1,5 +1,15 @@
1From 24667f728fabe141a92d4de828ab24d9fe953b08 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 25 Dec 2022 19:23:17 -0800
4Subject: [PATCH] mariadb: Alias lseek64/open64/ftruncate64 on musl systems
5
1Upstream-Status: Pending 6Upstream-Status: Pending
7---
8 storage/connect/os.h | 4 +++-
9 1 file changed, 3 insertions(+), 1 deletion(-)
2 10
11diff --git a/storage/connect/os.h b/storage/connect/os.h
12index 7d0d5cab..10da630f 100644
3--- a/storage/connect/os.h 13--- a/storage/connect/os.h
4+++ b/storage/connect/os.h 14+++ b/storage/connect/os.h
5@@ -2,13 +2,15 @@ 15@@ -2,13 +2,15 @@
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch b/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch
deleted file mode 100644
index 6aa6c84882..0000000000
--- a/meta-oe/recipes-dbs/mysql/mariadb/mm_malloc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Pending
2
3--- a/storage/rocksdb/rocksdb/port/jemalloc_helper.h
4+++ b/storage/rocksdb/rocksdb/port/jemalloc_helper.h
5@@ -5,7 +5,7 @@
6
7 #pragma once
8
9-#if defined(__clang__)
10+#if defined(__clang__) && defined(__GLIBC__)
11 // glibc's `posix_memalign()` declaration specifies `throw()` while clang's
12 // declaration does not. There is a hack in clang to make its re-declaration
13 // compatible with glibc's if they are declared consecutively. That hack breaks
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/mysql-systemd-start b/meta-oe/recipes-dbs/mysql/mariadb/mysql-systemd-start
index 189c02021d..b7ae09a4f7 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/mysql-systemd-start
+++ b/meta-oe/recipes-dbs/mysql/mariadb/mysql-systemd-start
@@ -34,7 +34,7 @@ install_db () {
34 [ -d "$datadir/mysql" ] && exit 0 34 [ -d "$datadir/mysql" ] && exit 0
35 35
36 # Create initial db 36 # Create initial db
37 /usr/bin/mysql_install_db --rpm --datadir="$datadir" --user=mysql 37 /usr/bin/mariadb-install-db --rpm --datadir="$datadir" --user=mysql
38 exit 0 38 exit 0
39} 39}
40 40
@@ -51,7 +51,7 @@ pinger () {
51 51
52 while /bin/true ; do 52 while /bin/true ; do
53 sleep 1 53 sleep 1
54 mysqladmin --no-defaults --socket="$adminsocket" --user=UNKNOWN_MYSQL_USER ping >/dev/null 2>&1 && break 54 mariadb-admin --no-defaults --socket="$adminsocket" --user=UNKNOWN_MYSQL_USER ping >/dev/null 2>&1 && break
55 done 55 done
56 exit 0 56 exit 0
57} 57}
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/mysqld.service b/meta-oe/recipes-dbs/mysql/mariadb/mysqld.service
index d88361703d..9c47fede1c 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/mysqld.service
+++ b/meta-oe/recipes-dbs/mysql/mariadb/mysqld.service
@@ -13,7 +13,7 @@ Group=mysql
13PermissionsStartOnly=true 13PermissionsStartOnly=true
14 14
15# Start main service 15# Start main service
16ExecStart=@BINDIR@/mysqld_safe --basedir=@PREFIX@ 16ExecStart=@BINDIR@/mariadbd-safe --basedir=@PREFIX@
17 17
18# Don't signal startup success before a ping works 18# Don't signal startup success before a ping works
19ExecStartPost=@BINDIR@/mysql-systemd-start post 19ExecStartPost=@BINDIR@/mysql-systemd-start post
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch b/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch
deleted file mode 100644
index 3787b74ad1..0000000000
--- a/meta-oe/recipes-dbs/mysql/mariadb/ppc-remove-glibc-dep.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1Upstream-Status: Pending
2
3Remove glibc specific function dependencies
4
5Sourced from: https://git.alpinelinux.org/aports/tree/main/mariadb/ppc-remove-glibc-dep.patch
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8diff --git a/include/my_cpu.h b/include/my_cpu.h
9index f2e26fca..94599b74 100644
10--- a/include/my_cpu.h
11+++ b/include/my_cpu.h
12@@ -24,17 +24,16 @@
13 */
14
15 #ifdef _ARCH_PWR8
16-#include <sys/platform/ppc.h>
17 /* Very low priority */
18-#define HMT_very_low() __ppc_set_ppr_very_low()
19+#define HMT_very_low() asm volatile("or 31,31,31")
20 /* Low priority */
21-#define HMT_low() __ppc_set_ppr_low()
22+#define HMT_low() asm volatile ("or 1,1,1")
23 /* Medium low priority */
24-#define HMT_medium_low() __ppc_set_ppr_med_low()
25+#define HMT_medium_low() asm volatile ("or 6,6,6")
26 /* Medium priority */
27-#define HMT_medium() __ppc_set_ppr_med()
28+#define HMT_medium() asm volatile ("or 2,2,2")
29 /* Medium high priority */
30-#define HMT_medium_high() __ppc_set_ppr_med_high()
31+#define HMT_medium_high() asm volatile("or 5,5,5")
32 /* High priority */
33 #define HMT_high() asm volatile("or 3,3,3")
34 #else
35@@ -72,7 +71,7 @@ static inline void MY_RELAX_CPU(void)
36 __asm__ __volatile__ ("pause");
37 #endif
38 #elif defined(_ARCH_PWR8)
39- __ppc_get_timebase();
40+ __builtin_ppc_get_timebase();
41 #elif defined __GNUC__ && (defined __arm__ || defined __aarch64__)
42 /* Mainly, prevent the compiler from optimizing away delay loops */
43 __asm__ __volatile__ ("":::"memory");
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch b/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch
new file mode 100644
index 0000000000..24b86584e3
--- /dev/null
+++ b/meta-oe/recipes-dbs/mysql/mariadb/riscv32.patch
@@ -0,0 +1,19 @@
1Do not use static_cast in C sources
2
3C compiler does not recognise static_cast which is a C++ keyword
4and bails out compiling mysys/my_rdtsc.c, use traditional typecast
5instead
6
7Upstream-Status: Submitted [https://github.com/MariaDB/server/pull/1981/files#r2032207090]
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9--- a/include/my_rdtsc.h
10+++ b/include/my_rdtsc.h
11@@ -226,7 +226,7 @@ static inline ulonglong my_timer_cycles(
12 "sub %0, zero, %0\n"
13 "and %1, %1, %0\n"
14 : "=r"(result_hi0), "=r"(result_lo), "=r"(result_hi1));
15- return (static_cast<ulonglong>(result_hi1) << 32) | result_lo;
16+ return ((ulonglong)result_hi1 << 32) | result_lo;
17 # else
18 ulonglong result;
19 __asm __volatile__("rdtime %0" : "=r"(result));
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch
index 4e499d4137..819b65f041 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/ssize_t.patch
@@ -1,7 +1,16 @@
1ssize_t comes from sys/types.h therefore include it 1From cfa843c91a036d0926c76c6dec6fd2a1f38e4843 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 31 May 2021 21:55:00 -0700
4Subject: [PATCH] ssize_t comes from sys/types.h therefore include it
2 5
3Upstream-Status: Pending 6Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 wsrep-lib/include/wsrep/gtid.hpp | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/wsrep-lib/include/wsrep/gtid.hpp b/wsrep-lib/include/wsrep/gtid.hpp
13index 0d49c58d..d61a6585 100644
5--- a/wsrep-lib/include/wsrep/gtid.hpp 14--- a/wsrep-lib/include/wsrep/gtid.hpp
6+++ b/wsrep-lib/include/wsrep/gtid.hpp 15+++ b/wsrep-lib/include/wsrep/gtid.hpp
7@@ -25,7 +25,7 @@ 16@@ -25,7 +25,7 @@
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch b/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch
index 233d9e6af6..30c9e2452a 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/support-files-CMakeLists.txt-fix-do_populate_sysroot.patch
@@ -1,4 +1,4 @@
1From 4ac5b555d058d4d489f25a3806a787b7b2465d09 Mon Sep 17 00:00:00 2001 1From 34713c3bba68cb94b373b750c1c8fcc0b04b2c45 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 27 Feb 2019 22:41:26 -0800 3Date: Wed, 27 Feb 2019 22:41:26 -0800
4Subject: [PATCH] support-files/CMakeLists.txt: fix do_populate_sysroot issue 4Subject: [PATCH] support-files/CMakeLists.txt: fix do_populate_sysroot issue
@@ -10,16 +10,15 @@ ERROR: mariadb-native-10.3.13-r0 do_populate_sysroot: sstate found an absolute p
10Upstream-Status: Inappropriate [oe build specific] 10Upstream-Status: Inappropriate [oe build specific]
11 11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13
14--- 13---
15 support-files/CMakeLists.txt | 7 ------- 14 support-files/CMakeLists.txt | 7 -------
16 1 file changed, 7 deletions(-) 15 1 file changed, 7 deletions(-)
17 16
18diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt 17diff --git a/support-files/CMakeLists.txt b/support-files/CMakeLists.txt
19index b5767432..56733de1 100644 18index ee1d420e..a99c0605 100644
20--- a/support-files/CMakeLists.txt 19--- a/support-files/CMakeLists.txt
21+++ b/support-files/CMakeLists.txt 20+++ b/support-files/CMakeLists.txt
22@@ -165,12 +165,5 @@ IF(UNIX) 21@@ -245,12 +245,5 @@ IF(UNIX AND NOT WITHOUT_SERVER)
23 INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR} 22 INSTALL(FILES rpm/enable_encryption.preset DESTINATION ${INSTALL_SYSCONF2DIR}
24 COMPONENT IniFiles) 23 COMPONENT IniFiles)
25 ENDIF() 24 ENDIF()
diff --git a/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch b/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch
index 3244ab8da2..3840472213 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch
+++ b/meta-oe/recipes-dbs/mysql/mariadb/sys_futex.patch
@@ -1,14 +1,22 @@
1Use SYS_futex for syscall 1From 166811dfcfc61e7646275aa993d7d7f4b02d1f49 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 3 Apr 2021 12:40:14 -0700
4Subject: [PATCH] Use SYS_futex for syscall
2 5
3glibc defines SYS_futex and on newer 32bit CPUs like RISCV-32, arc there 6glibc defines SYS_futex and on newer 32bit CPUs like RISCV-32, arc there
4is no 32bit time_t therefore define SYS_futex in terms of SYS_futex_time64 7is no 32bit time_t therefore define SYS_futex in terms of SYS_futex_time64
5 8
6Upstream-Status: Pending 9Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 storage/innobase/sync/srw_lock.cc | 6 ++++++
13 1 file changed, 6 insertions(+)
8 14
15diff --git a/storage/innobase/sync/srw_lock.cc b/storage/innobase/sync/srw_lock.cc
16index 28b586de..3ee71142 100644
9--- a/storage/innobase/sync/srw_lock.cc 17--- a/storage/innobase/sync/srw_lock.cc
10+++ b/storage/innobase/sync/srw_lock.cc 18+++ b/storage/innobase/sync/srw_lock.cc
11@@ -210,6 +210,12 @@ void ssux_lock_low::wake() { WakeByAddre 19@@ -226,6 +226,12 @@ void ssux_lock_impl<spinloop>::wake() noexcept { WakeByAddressSingle(&readers);
12 # ifdef __linux__ 20 # ifdef __linux__
13 # include <linux/futex.h> 21 # include <linux/futex.h>
14 # include <sys/syscall.h> 22 # include <sys/syscall.h>
diff --git a/meta-oe/recipes-dbs/mysql/mariadb_10.11.7.bb b/meta-oe/recipes-dbs/mysql/mariadb_11.4.6.bb
index b1d1355e2b..b1d1355e2b 100644
--- a/meta-oe/recipes-dbs/mysql/mariadb_10.11.7.bb
+++ b/meta-oe/recipes-dbs/mysql/mariadb_11.4.6.bb
diff --git a/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch b/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch
deleted file mode 100644
index 173241ea5c..0000000000
--- a/meta-oe/recipes-dbs/mysql/mysql-python/0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 45436592aa64308b2ab46f84c6107c6d7de0a3ec Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 6 Mar 2019 00:16:17 -0800
4Subject: [PATCH] _mysql.c: fix compilation with MariaDB 10.3.13
5
6Use standard API function MYSQL_OPT_RECONNECT
7instead of direct modification of internal structures
8which does not work for MariaDB.
9
10Upstream-Status: Pending
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 _mysql.c | 9 ++++++++-
15 1 file changed, 8 insertions(+), 1 deletion(-)
16
17--- a/_mysql.c
18+++ b/_mysql.c
19@@ -2002,7 +2002,14 @@ _mysql_ConnectionObject_ping(
20 int r, reconnect = -1;
21 if (!PyArg_ParseTuple(args, "|I", &reconnect)) return NULL;
22 check_connection(self);
23- if ( reconnect != -1 ) self->connection.reconnect = reconnect;
24+ if ( reconnect != -1 ) {
25+#if MYSQL_VERSION_ID >= 50013
26+ my_bool recon = reconnect;
27+ mysql_options(&self->connection, MYSQL_OPT_RECONNECT, &recon);
28+#else
29+ self->connection.reconnect = reconnect;
30+#endif
31+ }
32 Py_BEGIN_ALLOW_THREADS
33 r = mysql_ping(&(self->connection));
34 Py_END_ALLOW_THREADS
diff --git a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb b/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
deleted file mode 100644
index 15f6b6fb9a..0000000000
--- a/meta-oe/recipes-dbs/mysql/mysql-python_1.2.5.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Python interface to MySQL"
2HOMEPAGE = "https://github.com/farcepest/MySQLdb1"
3SECTION = "devel/python"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6
7DEPENDS = "mysql5"
8
9SRCNAME = "MySQL-python"
10
11SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.zip \
12 file://0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch \
13"
14SRC_URI[md5sum] = "654f75b302db6ed8dc5a898c625e030c"
15SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74"
16
17S = "${WORKDIR}/${SRCNAME}-${PV}"
18
19SKIP_RECIPE[mysql-python] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
20
21inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)}
22
23python() {
24 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
25 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
26}
diff --git a/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch b/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch
new file mode 100644
index 0000000000..89a509087f
--- /dev/null
+++ b/meta-oe/recipes-dbs/postgresql/files/0001-tcl.m4-Recognize-tclsh9.patch
@@ -0,0 +1,26 @@
1From f0d8240dbf594e6dfab31fd7d70ce340ac365a65 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 3 Nov 2024 15:50:50 -0800
4Subject: [PATCH] tcl.m4: Recognize tclsh9
5
6Add missing support to recognize tclsh9 as supported
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 config/tcl.m4 | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/config/tcl.m4 b/config/tcl.m4
15index 9de31a5..568fd45 100644
16--- a/config/tcl.m4
17+++ b/config/tcl.m4
18@@ -4,7 +4,7 @@
19
20
21 AC_DEFUN([PGAC_PATH_TCLSH],
22-[PGAC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.6 tclsh86 tclsh8.5 tclsh85 tclsh8.4 tclsh84])
23+[PGAC_PATH_PROGS(TCLSH, [tclsh tcl tclsh9.0 tclsh90 tclsh8.6 tclsh86 tclsh8.5 tclsh85 tclsh8.4 tclsh84])
24 AC_ARG_VAR(TCLSH, [Tcl interpreter program (tclsh)])dnl
25 if test x"$TCLSH" = x""; then
26 AC_MSG_ERROR([Tcl shell not found])
diff --git a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
index 9df4d073ff..4382741da9 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0003-configure.ac-bypass-autoconf-2.69-version-check.patch
@@ -1,7 +1,7 @@
1From 30b1b37d309f67ba6d58f2197bd917107bc7d56c Mon Sep 17 00:00:00 2001 1From 84febaf9330fe99802f75bcd0606ac7d86c35b25 Mon Sep 17 00:00:00 2001
2From: Yi Fan Yu <yifan.yu@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Fri, 5 Feb 2021 17:15:42 -0500 3Date: Fri, 5 Feb 2021 17:15:42 -0500
4Subject: [PATCH 3/5] configure.ac: bypass autoconf 2.69 version check 4Subject: [PATCH] configure.ac: bypass autoconf 2.69 version check
5 5
6for upgrade to autoconf 2.71 6for upgrade to autoconf 2.71
7 7
@@ -13,20 +13,17 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
13 1 file changed, 4 deletions(-) 13 1 file changed, 4 deletions(-)
14 14
15diff --git a/configure.ac b/configure.ac 15diff --git a/configure.ac b/configure.ac
16index 401ce30..27f382d 100644 16index 493d5cd..f0fa973 100644
17--- a/configure.ac 17--- a/configure.ac
18+++ b/configure.ac 18+++ b/configure.ac
19@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros 19@@ -19,10 +19,6 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
20 20
21 AC_INIT([PostgreSQL], [16.3], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/]) 21 AC_INIT([PostgreSQL], [17.5], [pgsql-bugs@lists.postgresql.org], [], [https://www.postgresql.org/])
22 22
23-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. 23-m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
24-Untested combinations of 'autoconf' and PostgreSQL versions are not 24-Untested combinations of 'autoconf' and PostgreSQL versions are not
25-recommended. You can remove the check from 'configure.ac' but it is then 25-recommended. You can remove the check from 'configure.ac' but it is then
26-your responsibility whether the result works or not.])]) 26-your responsibility whether the result works or not.])])
27 AC_COPYRIGHT([Copyright (c) 1996-2023, PostgreSQL Global Development Group]) 27 AC_COPYRIGHT([Copyright (c) 1996-2024, PostgreSQL Global Development Group])
28 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) 28 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
29 AC_CONFIG_AUX_DIR(config) 29 AC_CONFIG_AUX_DIR(config)
30--
312.25.1
32
diff --git a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
index ff0582ab80..d94f028036 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0004-config_info.c-not-expose-build-info.patch
@@ -1,7 +1,7 @@
1From 5be3ffdf767c1efcbfd2d1be87aa83f2e37e348e Mon Sep 17 00:00:00 2001 1From 62733bdc9346651637d9e5ac7cbf8d7311ef5d97 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 1 Aug 2022 15:44:38 +0800 3Date: Mon, 1 Aug 2022 15:44:38 +0800
4Subject: [PATCH 4/5] config_info.c: not expose build info 4Subject: [PATCH] config_info.c: not expose build info
5 5
6Don't collect the build information to fix the buildpaths issue. 6Don't collect the build information to fix the buildpaths issue.
7 7
@@ -14,10 +14,10 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14 2 files changed, 2 insertions(+), 70 deletions(-) 14 2 files changed, 2 insertions(+), 70 deletions(-)
15 15
16diff --git a/configure.ac b/configure.ac 16diff --git a/configure.ac b/configure.ac
17index 27f382d..3dd6bb1 100644 17index f0fa973..8ccd8bc 100644
18--- a/configure.ac 18--- a/configure.ac
19+++ b/configure.ac 19+++ b/configure.ac
20@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2023, PostgreSQL Global Development Group]) 20@@ -23,7 +23,7 @@ AC_COPYRIGHT([Copyright (c) 1996-2024, PostgreSQL Global Development Group])
21 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) 21 AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
22 AC_CONFIG_AUX_DIR(config) 22 AC_CONFIG_AUX_DIR(config)
23 AC_PREFIX_DEFAULT(/usr/local/pgsql) 23 AC_PREFIX_DEFAULT(/usr/local/pgsql)
@@ -27,7 +27,7 @@ index 27f382d..3dd6bb1 100644
27 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`] 27 [PG_MAJORVERSION=`expr "$PACKAGE_VERSION" : '\([0-9][0-9]*\)'`]
28 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`] 28 [PG_MINORVERSION=`expr "$PACKAGE_VERSION" : '.*\.\([0-9][0-9]*\)'`]
29diff --git a/src/common/config_info.c b/src/common/config_info.c 29diff --git a/src/common/config_info.c b/src/common/config_info.c
30index 09e78a6..86e4230 100644 30index 89c1ccb..a2206de 100644
31--- a/src/common/config_info.c 31--- a/src/common/config_info.c
32+++ b/src/common/config_info.c 32+++ b/src/common/config_info.c
33@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len) 33@@ -38,7 +38,7 @@ get_configdata(const char *my_exec_path, size_t *configdata_len)
@@ -114,6 +114,3 @@ index 09e78a6..86e4230 100644
114 configdata[i].name = pstrdup("VERSION"); 114 configdata[i].name = pstrdup("VERSION");
115 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION); 115 configdata[i].setting = pstrdup("PostgreSQL " PG_VERSION);
116 i++; 116 i++;
117--
1182.25.1
119
diff --git a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
index af36da4927..8219fc80e9 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
@@ -1,7 +1,7 @@
1From 1a8b94140988d2ee5ff987b0bb3e7c3e936b8c01 Mon Sep 17 00:00:00 2001 1From d1fb37569b5a8c21968f69164e8bc6e4bb0185eb Mon Sep 17 00:00:00 2001
2From: Manoj Saun <manojsingh.saun@windriver.com> 2From: Manoj Saun <manojsingh.saun@windriver.com>
3Date: Wed, 22 Mar 2023 08:07:26 +0000 3Date: Wed, 22 Mar 2023 08:07:26 +0000
4Subject: [PATCH 5/5] postgresql: fix ptest failure of sysviews 4Subject: [PATCH] postgresql: fix ptest failure of sysviews
5 5
6The patch "0001-config_info.c-not-expose-build-info.patch" hides the debug info 6The patch "0001-config_info.c-not-expose-build-info.patch" hides the debug info
7in pg_config table which reduces the count of rows from pg_config and leads to 7in pg_config table which reduces the count of rows from pg_config and leads to
@@ -19,12 +19,12 @@ Signed-off-by: Manoj Saun <manojsingh.saun@windriver.com>
19 2 files changed, 2 insertions(+), 2 deletions(-) 19 2 files changed, 2 insertions(+), 2 deletions(-)
20 20
21diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out 21diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out
22index 001c6e7..8256898 100644 22index 2176a54..a84bc27 100644
23--- a/src/test/regress/expected/sysviews.out 23--- a/src/test/regress/expected/sysviews.out
24+++ b/src/test/regress/expected/sysviews.out 24+++ b/src/test/regress/expected/sysviews.out
25@@ -29,7 +29,7 @@ select name, ident, parent, level, total_bytes >= free_bytes 25@@ -52,7 +52,7 @@ from pg_backend_memory_contexts where name = 'Caller tuples';
26 (1 row)
27 26
27 rollback;
28 -- At introduction, pg_config had 23 entries; it may grow 28 -- At introduction, pg_config had 23 entries; it may grow
29-select count(*) > 20 as ok from pg_config; 29-select count(*) > 20 as ok from pg_config;
30+select count(*) > 13 as ok from pg_config; 30+select count(*) > 13 as ok from pg_config;
@@ -32,11 +32,11 @@ index 001c6e7..8256898 100644
32 ---- 32 ----
33 t 33 t
34diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql 34diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql
35index 351e469..84c113e 100644 35index b047fb5..d1e3999 100644
36--- a/src/test/regress/sql/sysviews.sql 36--- a/src/test/regress/sql/sysviews.sql
37+++ b/src/test/regress/sql/sysviews.sql 37+++ b/src/test/regress/sql/sysviews.sql
38@@ -18,7 +18,7 @@ select name, ident, parent, level, total_bytes >= free_bytes 38@@ -33,7 +33,7 @@ from pg_backend_memory_contexts where name = 'Caller tuples';
39 from pg_backend_memory_contexts where level = 0; 39 rollback;
40 40
41 -- At introduction, pg_config had 23 entries; it may grow 41 -- At introduction, pg_config had 23 entries; it may grow
42-select count(*) > 20 as ok from pg_config; 42-select count(*) > 20 as ok from pg_config;
@@ -45,5 +45,5 @@ index 351e469..84c113e 100644
45 -- We expect no cursors in this test; see also portals.sql 45 -- We expect no cursors in this test; see also portals.sql
46 select count(*) = 0 as ok from pg_cursors; 46 select count(*) = 0 as ok from pg_cursors;
47-- 47--
482.25.1 482.34.1
49 49
diff --git a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
index 1f735f322b..a2f0500a8c 100644
--- a/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/not-check-libperl.patch
@@ -1,4 +1,4 @@
1From 56b830edecff1cac5f8a8a956e7a7eeef2aa7c17 Mon Sep 17 00:00:00 2001 1From 1a9416bae71aa935797add3fa11407732ad010c0 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 27 Nov 2018 13:25:15 +0800 3Date: Tue, 27 Nov 2018 13:25:15 +0800
4Subject: [PATCH] not check libperl under cross compiling 4Subject: [PATCH] not check libperl under cross compiling
@@ -20,10 +20,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
20 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
21 21
22diff --git a/configure.ac b/configure.ac 22diff --git a/configure.ac b/configure.ac
23index fba79ee..7170f26 100644 23index f398184..493d5cd 100644
24--- a/configure.ac 24--- a/configure.ac
25+++ b/configure.ac 25+++ b/configure.ac
26@@ -2297,7 +2297,7 @@ Use --without-tcl to disable building PL/Tcl.]) 26@@ -2336,7 +2336,7 @@ Use --without-tcl to disable building PL/Tcl.])
27 fi 27 fi
28 28
29 # check for <perl.h> 29 # check for <perl.h>
@@ -32,6 +32,3 @@ index fba79ee..7170f26 100644
32 ac_save_CPPFLAGS=$CPPFLAGS 32 ac_save_CPPFLAGS=$CPPFLAGS
33 CPPFLAGS="$CPPFLAGS $perl_includespec" 33 CPPFLAGS="$CPPFLAGS $perl_includespec"
34 AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])], 34 AC_CHECK_HEADER(perl.h, [], [AC_MSG_ERROR([header file <perl.h> is required for Perl])],
35--
362.34.1
37
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql.inc b/meta-oe/recipes-dbs/postgresql/postgresql.inc
index 2dd7dd6fda..040b3d5e34 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql.inc
+++ b/meta-oe/recipes-dbs/postgresql/postgresql.inc
@@ -19,7 +19,7 @@ DESCRIPTION = "\
19" 19"
20HOMEPAGE = "http://www.postgresql.com" 20HOMEPAGE = "http://www.postgresql.com"
21LICENSE = "0BSD" 21LICENSE = "0BSD"
22DEPENDS = "libnsl2 readline tzcode-native" 22DEPENDS = "libnsl2 tzcode-native perl bison-native"
23 23
24ARM_INSTRUCTION_SET = "arm" 24ARM_INSTRUCTION_SET = "arm"
25 25
@@ -37,9 +37,9 @@ LEAD_SONAME = "libpq.so"
37export LDFLAGS_SL = "${LDFLAGS}" 37export LDFLAGS_SL = "${LDFLAGS}"
38export LDFLAGS_EX_BE = "-Wl,--export-dynamic" 38export LDFLAGS_EX_BE = "-Wl,--export-dynamic"
39 39
40inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext cpan-base multilib_header 40inherit autotools pkgconfig perlnative python3native python3targetconfig useradd update-rc.d systemd gettext perl-version multilib_header
41 41
42CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR} -I${STAGING_INCDIR}/tcl8.6" 42CFLAGS += "-I${STAGING_INCDIR}/${PYTHON_DIR}"
43 43
44SYSTEMD_SERVICE:${PN} = "postgresql.service" 44SYSTEMD_SERVICE:${PN} = "postgresql.service"
45SYSTEMD_AUTO_ENABLE:${PN} = "disable" 45SYSTEMD_AUTO_ENABLE:${PN} = "disable"
@@ -55,7 +55,7 @@ pkg_postinst:${PN} () {
55 55
56PACKAGECONFIG ??= " \ 56PACKAGECONFIG ??= " \
57 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \ 57 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)} \
58 openssl python uuid libxml tcl perl zlib icu \ 58 openssl python uuid libxml perl zlib icu readline \
59" 59"
60PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native," 60PACKAGECONFIG[tcl] = "--with-tcl --with-tclconfig=${STAGING_BINDIR_CROSS},--without-tcl,tcl tcl-native,"
61PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl" 61PACKAGECONFIG[perl] = "--with-perl,--without-perl,perl,perl"
@@ -71,8 +71,9 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
71PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4" 71PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4"
72PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl" 72PACKAGECONFIG[openssl] = "--with-ssl=openssl,ac_cv_file__dev_urandom=yes,openssl"
73PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu" 73PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu,icu"
74PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
74 75
75EXTRA_OECONF += "--enable-thread-safety --disable-rpath \ 76EXTRA_OECONF += "--disable-rpath \
76 --datadir=${datadir}/${BPN} \ 77 --datadir=${datadir}/${BPN} \
77 --sysconfdir=${sysconfdir}/${BPN} \ 78 --sysconfdir=${sysconfdir}/${BPN} \
78" 79"
@@ -122,10 +123,18 @@ python populate_packages:prepend() {
122 123
123} 124}
124 125
126# Same as the function in cpan-base.bbclass (but without the perl RDEPENDS)
127def is_target(d):
128 if not bb.data.inherits_class('native', d):
129 return "yes"
130 return "no"
131
125# This will make native perl use target settings (for include dirs etc.) 132# This will make native perl use target settings (for include dirs etc.)
126export PERLCONFIGTARGET = "${@is_target(d)}" 133export PERLCONFIGTARGET = "${@is_target(d)}"
127export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}" 134export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}"
128 135
136EXTRA_AUTORECONF += "-I config"
137
129do_configure() { 138do_configure() {
130 # do_configure 139 # do_configure
131 autotools_do_configure 140 autotools_do_configure
@@ -168,6 +177,11 @@ do_configure() {
168 177
169do_compile:append() { 178do_compile:append() {
170 oe_runmake -C contrib all 179 oe_runmake -C contrib all
180
181 for f in `find ${B} -name "*.[c|h]"`;
182 do
183 sed -i -e 's,${B}/../,,' $f
184 done
171} 185}
172 186
173# server needs to configure user and group 187# server needs to configure user and group
@@ -235,7 +249,7 @@ postgresql_fix_sources () {
235 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \ 249 for f in ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/Util.c \
236 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do 250 ${PKGD}${TARGET_DBGSRC_DIR}/src/pl/plperl/SPI.c; do
237 if [ -e $f ]; then 251 if [ -e $f ]; then
238 sed -i -e 's#${B}/../${P}#${TARGET_DBGSRC_DIR}#g' $f 252 sed -i -e 's#${B}/../${BP}#${TARGET_DBGSRC_DIR}#g' $f
239 fi 253 fi
240 done 254 done
241} 255}
diff --git a/meta-oe/recipes-dbs/postgresql/postgresql_16.3.bb b/meta-oe/recipes-dbs/postgresql/postgresql_17.5.bb
index 6df719cd98..b7fce886f8 100644
--- a/meta-oe/recipes-dbs/postgresql/postgresql_16.3.bb
+++ b/meta-oe/recipes-dbs/postgresql/postgresql_17.5.bb
@@ -1,6 +1,6 @@
1require postgresql.inc 1require postgresql.inc
2 2
3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=89afbb2d7716371015101c2b2cb4297a" 3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d5dd73e90ee1a572679460ee67233fcc"
4 4
5SRC_URI += "\ 5SRC_URI += "\
6 file://not-check-libperl.patch \ 6 file://not-check-libperl.patch \
@@ -9,8 +9,9 @@ SRC_URI += "\
9 file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \ 9 file://0003-configure.ac-bypass-autoconf-2.69-version-check.patch \
10 file://0004-config_info.c-not-expose-build-info.patch \ 10 file://0004-config_info.c-not-expose-build-info.patch \
11 file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \ 11 file://0005-postgresql-fix-ptest-failure-of-sysviews.patch \
12 file://0001-tcl.m4-Recognize-tclsh9.patch \
12" 13"
13 14
14SRC_URI[sha256sum] = "331963d5d3dc4caf4216a049fa40b66d6bcb8c730615859411b9518764e60585" 15SRC_URI[sha256sum] = "fcb7ab38e23b264d1902cb25e6adafb4525a6ebcbd015434aeef9eda80f528d8"
15 16
16CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it." 17CVE_STATUS[CVE-2017-8806] = "not-applicable-config: Ddoesn't apply to out configuration of postgresql so we can safely ignore it."
diff --git a/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch b/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch
new file mode 100644
index 0000000000..9cc5ad9b86
--- /dev/null
+++ b/meta-oe/recipes-dbs/psqlodbc/files/0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch
@@ -0,0 +1,45 @@
1From 5bfa9f1cd0523a0cad70cacf5ecf8c1aeb06c4d0 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Tue, 22 Apr 2025 17:47:02 +0000
4Subject: [PATCH] configure: make sure to call AC_CHECK_HEADER_STDBOOL
5
6before using ac_cv_sizeof_bool
7
8It was called after this conditional, so PG_USE_STDBOOL wasn't set
9even when it should be as shown in at the end of config.log:
10
11 ac_cv_header_stdbool_h=yes
12 ac_cv_sizeof_bool=1
13 ac_cv_type__Bool=yes
14 #define SIZEOF_BOOL 1
15 #define HAVE__BOOL 1
16 #define HAVE_STDBOOL_H 1
17
18* fixes:
19 https://github.com/postgresql-interfaces/psqlodbc/issues/110
20 https://github.com/postgresql-interfaces/psqlodbc/issues/94
21
22Upstream-Status: Submitted [https://github.com/postgresql-interfaces/psqlodbc/pull/112]
23
24Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
25---
26 configure.ac | 4 +++-
27 1 file changed, 3 insertions(+), 1 deletion(-)
28
29diff --git a/configure.ac b/configure.ac
30index f35c825..ea363ca 100644
31--- a/configure.ac
32+++ b/configure.ac
33@@ -28,9 +28,11 @@ AC_CHECK_SIZEOF([bool], [],
34 #include <stdbool.h>
35 #endif])
36
37+AC_CHECK_HEADER_STDBOOL()
38+
39 dnl We use <stdbool.h> if we have it and it declares type bool as having
40 dnl size 1. Otherwise, c.h will fall back to declaring bool as unsigned char.
41-if test "$ac_cv_header_stdbool_h" = yes -a "$ac_cv_sizeof_bool" = 1; then
42+if test "$ac_cv_header_stdbool_h" = yes && test "$ac_cv_sizeof_bool" = 1; then
43 AC_DEFINE([PG_USE_STDBOOL], 1,
44 [Define to 1 to use <stdbool.h> to define type bool.])
45 fi
diff --git a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
index a1ef8e75e9..dfd7f6a1e6 100644
--- a/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
+++ b/meta-oe/recipes-dbs/psqlodbc/psqlodbc_16.00.0000.bb
@@ -19,10 +19,11 @@ HOMEPAGE = "https://odbc.postgresql.org/"
19LICENSE = "LGPL-2.0-only" 19LICENSE = "LGPL-2.0-only"
20LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692" 20LIC_FILES_CHKSUM = "file://license.txt;md5=6db3822fc7512e83087ba798da013692"
21 21
22SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions/src/${BPN}-${PV}.tar.gz \ 22SRC_URI = "http://ftp.postgresql.org/pub/odbc/versions.old/src/${BPN}-${PV}.tar.gz \
23 file://psqlodbc-remove-some-checks-for-cross-compiling.patch \ 23 file://psqlodbc-remove-some-checks-for-cross-compiling.patch \
24 file://psqlodbc-donot-use-the-hardcode-libdir.patch \ 24 file://psqlodbc-donot-use-the-hardcode-libdir.patch \
25 file://psqlodbc-fix-for-ptest-support.patch \ 25 file://psqlodbc-fix-for-ptest-support.patch \
26 file://0001-configure-make-sure-to-call-AC_CHECK_HEADER_STDBOOL.patch \
26 file://run-ptest \ 27 file://run-ptest \
27" 28"
28 29
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch
new file mode 100644
index 0000000000..b0a949fe31
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch
@@ -0,0 +1,42 @@
1From 9abf6cd09c60f0be9a85c055dfdf43698f057f73 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 25 Sep 2024 13:47:37 +0800
4Subject: [PATCH] CMakeLists.txt: Make the test discovery occur on target
5
6Set DISCOVERY_MODE to PRE_TEST to delay test discovery until just
7prior to test execution on the target to fix the build failure as
8the default POST_BUILD behavior is not desirable in cross-compiling
9env.
10
11/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build/env_basic_test: error while loading shared libraries: libgflags.so.2.2: cannot open shared object file: No such file or directory
12CMake Error at /build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/recipe-sysroot-native/usr/share/cmake-3.30/Modules/GoogleTestAddTests.cmake:112 (message):
13 Error running test executable.
14
15 Path: '/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build/env_basic_test'
16 Working directory: '/build/tmp/work/core2-64-wrs-linux/rocksdb/9.0.0/build'
17 Result: 127
18 Output:
19
20Upstream-Status: Inappropriate [oe specific]
21
22Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
23---
24 CMakeLists.txt | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/CMakeLists.txt b/CMakeLists.txt
28index 403ad1243..f34397798 100644
29--- a/CMakeLists.txt
30+++ b/CMakeLists.txt
31@@ -1502,7 +1502,7 @@ if(WITH_TESTS)
32 )
33 target_link_libraries(${exename}${ARTIFACT_SUFFIX} testutillib${ARTIFACT_SUFFIX} testharness gtest ${THIRDPARTY_LIBS} ${ROCKSDB_LIB})
34 if(NOT "${exename}" MATCHES "db_sanity_test")
35- gtest_discover_tests(${exename} DISCOVERY_TIMEOUT 120)
36+ gtest_discover_tests(${exename} DISCOVERY_TIMEOUT 120 DISCOVERY_MODE PRE_TEST)
37 add_dependencies(rocksdb_check ${exename}${ARTIFACT_SUFFIX})
38 endif()
39 endforeach(sourcefile ${TESTS})
40--
412.34.1
42
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch
new file mode 100644
index 0000000000..168bd76ac7
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch
@@ -0,0 +1,65 @@
1From 90eba5458cb4ac2f83cac8aa550927876e6a9a09 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= <lnicola@dend.ro>
3Date: Wed, 5 Mar 2025 15:42:46 +0200
4Subject: [PATCH] Add missing include (#13365)
5
6* see more details: http://errors.yoctoproject.org/Errors/Details/851177/
7In file included from TOPDIR/tmp/work/core2-64-oe-linux/rocksdb/9.10.0/git/db/blob/blob_file_meta.cc:6:
8TOPDIR/tmp/work/core2-64-oe-linux/rocksdb/9.10.0/git/db/blob/blob_file_meta.h:28:7: error: 'uint64_t' has not been declared
9 28 | uint64_t blob_file_number, uint64_t total_blob_count,
10 | ^~~~~~~~
11TOPDIR/tmp/work/core2-64-oe-linux/rocksdb/9.10.0/git/db/blob/blob_file_meta.h:15:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
12 14 | #include "rocksdb/rocksdb_namespace.h"
13 +++ |+#include <cstdint>
14 15 |
15TOPDIR/tmp/work/core2-64-oe-linux/rocksdb/9.10.0/git/db/blob/blob_file_meta.h:28:34: error: 'uint64_t' has not been declared
16 28 | uint64_t blob_file_number, uint64_t total_blob_count,
17 | ^~~~~~~~
18...
19
20* See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
21
22Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/13437]
23Signed-off-by: mark.yang <mark.yang@lge.com>
24---
25 db/blob/blob_file_meta.h | 1 +
26 include/rocksdb/trace_record.h | 1 +
27 include/rocksdb/write_batch_base.h | 1 +
28 3 files changed, 3 insertions(+)
29
30diff --git a/db/blob/blob_file_meta.h b/db/blob/blob_file_meta.h
31index d7c8a1243..2e47726f8 100644
32--- a/db/blob/blob_file_meta.h
33+++ b/db/blob/blob_file_meta.h
34@@ -6,6 +6,7 @@
35 #pragma once
36
37 #include <cassert>
38+#include <cstdint>
39 #include <iosfwd>
40 #include <memory>
41 #include <string>
42diff --git a/include/rocksdb/trace_record.h b/include/rocksdb/trace_record.h
43index 8f9c3ee2f..d321f5387 100644
44--- a/include/rocksdb/trace_record.h
45+++ b/include/rocksdb/trace_record.h
46@@ -5,6 +5,7 @@
47
48 #pragma once
49
50+#include <cstdint>
51 #include <memory>
52 #include <string>
53 #include <vector>
54diff --git a/include/rocksdb/write_batch_base.h b/include/rocksdb/write_batch_base.h
55index 3334a1292..43b186029 100644
56--- a/include/rocksdb/write_batch_base.h
57+++ b/include/rocksdb/write_batch_base.h
58@@ -9,6 +9,7 @@
59 #pragma once
60
61 #include <cstddef>
62+#include <cstdint>
63
64 #include "rocksdb/attribute_groups.h"
65 #include "rocksdb/rocksdb_namespace.h"
diff --git a/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch
new file mode 100644
index 0000000000..a872be5b54
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/0001-checkpoint.h-Add-missing-includes-cstdint.patch
@@ -0,0 +1,41 @@
1From 31012cdfa435d9203da3c3de8127b66bf018692a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 24 Jan 2023 21:40:43 -0800
4Subject: [PATCH] checkpoint.h: Add missing includes <cstdint>
5
6It uses uint64_t and it comes from <cstdint>
7This is needed with GCC 13 and newer [1]
8
9[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
13* build error:
14FAILED: CMakeFiles/checkpoint_test.dir/utilities/checkpoint/checkpoint_test.cc.o
15In file included from rocksdb/9.10.0/git/utilities/checkpoint/checkpoint_test.cc:11:
16rocksdb/9.10.0/git/include/rocksdb/utilities/checkpoint.h:49:35: error: 'uint64_t' has not been declared
17 49 | uint64_t log_size_for_flush = 0,
18 | ^~~~~~~~
19rocksdb/9.10.0/git/include/rocksdb/utilities/checkpoint.h:14:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
20 13 | #include "rocksdb/status.h"
21 +++ |+#include <cstdint>
22 14 |
23
24Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/11137]
25Signed-off-by: mark.yang <mark.yang@lge.com>
26---
27 include/rocksdb/utilities/checkpoint.h | 1 +
28 1 file changed, 1 insertion(+)
29
30Index: git/include/rocksdb/utilities/checkpoint.h
31===================================================================
32--- git.orig/include/rocksdb/utilities/checkpoint.h
33+++ git/include/rocksdb/utilities/checkpoint.h
34@@ -7,6 +7,7 @@
35
36 #pragma once
37
38+#include <cstdint>
39 #include <string>
40 #include <vector>
41
diff --git a/meta-oe/recipes-dbs/rocksdb/files/run-ptest b/meta-oe/recipes-dbs/rocksdb/files/run-ptest
new file mode 100644
index 0000000000..45406fdfa1
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2ptestdir=$(dirname "$(readlink -f "$0")")
3cd "$ptestdir"/tests || exit
4
5for test in *_test; do
6 if ./${test} >/dev/null 2>&1; then
7 echo "PASS: ${test}"
8 else
9 echo "FAIL: ${test}"
10 fi
11done
12
diff --git a/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch b/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch
new file mode 100644
index 0000000000..9a85e8db45
--- /dev/null
+++ b/meta-oe/recipes-dbs/rocksdb/files/static_library_as_option.patch
@@ -0,0 +1,71 @@
1From 285d306494bde3e9c24c8cd6fea1eb380a304d03 Mon Sep 17 00:00:00 2001
2From: Bindu-Bhabu <bindudaniel1996@gmail.com>
3Date: Fri, 26 Jul 2024 15:14:45 +0530
4Subject: Add option to CMake for building static libraries
5
6ROCKSDB creates a STATIC library target reference by default.
7Modify the cmake so that the STATIC library is also an option
8just like creating a SHARED library and set default to ON.
9
10Upstream-Status: Submitted [https://github.com/facebook/rocksdb/pull/12890]
11
12Signed-off-by: Nisha Parrakat <nisha.m.parrakat@bmw.de>
13Signed-off-by: Bindu Bhabu <bhabu.bindu@kpit.com>
14---
15 CMakeLists.txt | 29 +++++++++++++++++------------
16 1 file changed, 17 insertions(+), 12 deletions(-)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 93b884dd9c1..2ca925d505c 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -98,6 +98,7 @@ if (WITH_WINDOWS_UTF8_FILENAMES)
23 add_definitions(-DROCKSDB_WINDOWS_UTF8_FILENAMES)
24 endif()
25 option(ROCKSDB_BUILD_SHARED "Build shared versions of the RocksDB libraries" ON)
26+option(ROCKSDB_BUILD_STATIC "Build static versions of the RocksDB libraries" ON)
27
28 if( NOT DEFINED CMAKE_CXX_STANDARD )
29 set(CMAKE_CXX_STANDARD 17)
30@@ -1139,11 +1140,13 @@ string(REGEX REPLACE "[^0-9: /-]+" "" GIT_DATE "${GIT_DATE}")
31 set(BUILD_VERSION_CC ${CMAKE_BINARY_DIR}/build_version.cc)
32 configure_file(util/build_version.cc.in ${BUILD_VERSION_CC} @ONLY)
33
34-add_library(${ROCKSDB_STATIC_LIB} STATIC ${SOURCES} ${BUILD_VERSION_CC})
35-target_include_directories(${ROCKSDB_STATIC_LIB} PUBLIC
36- $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>)
37-target_link_libraries(${ROCKSDB_STATIC_LIB} PRIVATE
38- ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
39+if(ROCKSDB_BUILD_STATIC)
40+ add_library(${ROCKSDB_STATIC_LIB} STATIC ${SOURCES} ${BUILD_VERSION_CC})
41+ target_include_directories(${ROCKSDB_STATIC_LIB} PUBLIC
42+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>)
43+ target_link_libraries(${ROCKSDB_STATIC_LIB} PRIVATE
44+ ${THIRDPARTY_LIBS} ${SYSTEM_LIBS})
45+endif()
46
47 if(ROCKSDB_BUILD_SHARED)
48 add_library(${ROCKSDB_SHARED_LIB} SHARED ${SOURCES} ${BUILD_VERSION_CC})
49@@ -1238,13 +1241,15 @@ if(NOT WIN32 OR ROCKSDB_INSTALL_ON_WINDOWS)
50
51 install(DIRECTORY "${PROJECT_SOURCE_DIR}/cmake/modules" COMPONENT devel DESTINATION ${package_config_destination})
52
53- install(
54- TARGETS ${ROCKSDB_STATIC_LIB}
55- EXPORT RocksDBTargets
56- COMPONENT devel
57- ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
58- INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
59- )
60+ if(ROCKSDB_BUILD_STATIC)
61+ install(
62+ TARGETS ${ROCKSDB_STATIC_LIB}
63+ EXPORT RocksDBTargets
64+ COMPONENT devel
65+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
66+ INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}"
67+ )
68+ endif()
69
70 if(ROCKSDB_BUILD_SHARED)
71 install(
diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb
index 444351dbb4..5bbb010f8b 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_9.0.0.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_9.10.0.bb
@@ -6,8 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.Apache;md5=3b83ef96387f14655fc854ddc3c6bd57 \
6 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 6 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
7 file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837" 7 file://LICENSE.leveldb;md5=fb04ff57a14f308f2eed4a9b87d45837"
8 8
9SRCREV = "f4441966592636253fd5ab0bb9ed44fc2697fc53" 9SRCREV = "ae8fb3e5000e46d8d4c9dbf3a36019c0aaceebff"
10SRCBRANCH = "9.0.fb" 10SRCBRANCH = "9.10.fb"
11 11
12SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=https \ 12SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=https \
13 file://0001-cmake-Add-check-for-atomic-support.patch \ 13 file://0001-cmake-Add-check-for-atomic-support.patch \
@@ -17,6 +17,11 @@ SRC_URI = "git://github.com/facebook/${BPN}.git;branch=${SRCBRANCH};protocol=htt
17 file://0005-Implement-timer-implementation-for-mips-platform.patch \ 17 file://0005-Implement-timer-implementation-for-mips-platform.patch \
18 file://0006-Implement-timer-for-arm-v6.patch \ 18 file://0006-Implement-timer-for-arm-v6.patch \
19 file://0007-Fix-declaration-scope-of-LE_LOAD32-in-crc32c.patch \ 19 file://0007-Fix-declaration-scope-of-LE_LOAD32-in-crc32c.patch \
20 file://static_library_as_option.patch \
21 file://0001-CMakeLists.txt-Make-the-test-discovery-occur-on-targ.patch \
22 file://run-ptest \
23 file://0001-Fix-build-error-with-gcc-13-by-adding-cstdint-header.patch \
24 file://0001-checkpoint.h-Add-missing-includes-cstdint.patch \
20 " 25 "
21 26
22SRC_URI:append:riscv32 = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" 27SRC_URI:append:riscv32 = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch"
@@ -24,9 +29,8 @@ SRC_URI:append:mips = " file://0001-replace-old-sync-with-new-atomic-builtin-equ
24SRC_URI:append:powerpc = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" 29SRC_URI:append:powerpc = " file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch"
25SRC_URI:remove:toolchain-clang:riscv32 = "file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch" 30SRC_URI:remove:toolchain-clang:riscv32 = "file://0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch"
26 31
27S = "${WORKDIR}/git"
28 32
29inherit cmake 33inherit cmake ptest
30 34
31PACKAGECONFIG ??= "bzip2 zlib lz4 gflags" 35PACKAGECONFIG ??= "bzip2 zlib lz4 gflags"
32PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2" 36PACKAGECONFIG[bzip2] = "-DWITH_BZ2=ON,-DWITH_BZ2=OFF,bzip2"
@@ -39,10 +43,11 @@ PACKAGECONFIG[gflags] = "-DWITH_GFLAGS=ON,-DWITH_GFLAGS=OFF,gflags"
39# Tools and tests currently don't compile on armv5 so we disable them 43# Tools and tests currently don't compile on armv5 so we disable them
40EXTRA_OECMAKE = "\ 44EXTRA_OECMAKE = "\
41 -DPORTABLE=ON \ 45 -DPORTABLE=ON \
42 -DWITH_TESTS=OFF \ 46 -DWITH_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \
43 -DWITH_BENCHMARK_TOOLS=OFF \ 47 -DWITH_BENCHMARK_TOOLS=OFF \
44 -DWITH_TOOLS=OFF \ 48 -DWITH_TOOLS=OFF \
45 -DFAIL_ON_WARNINGS=OFF \ 49 -DFAIL_ON_WARNINGS=OFF \
50 -DROCKSDB_BUILD_STATIC=OFF \
46" 51"
47 52
48CXXFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}" 53CXXFLAGS += "${@bb.utils.contains('SELECTED_OPTIMIZATION', '-Og', '-DXXH_NO_INLINE_HINTS', '', d)}"
@@ -52,6 +57,21 @@ do_install:append() {
52 sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake 57 sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
53} 58}
54 59
60do_install_ptest() {
61 install -d ${D}${PTEST_PATH}/tests
62 # only cover the basic test as all the tests need to take about 6 hours
63 # time ./run-ptest
64 # real 356m32.956s
65 # user 252m32.004s
66 # sys 178m50.246s
67 install -m 0755 ${B}/env_basic_test ${D}${PTEST_PATH}/tests/
68 install -m 0755 ${B}/db_basic_test ${D}${PTEST_PATH}/tests/
69 install -m 0755 ${B}/agg_merge_test ${D}${PTEST_PATH}/tests/
70 install -m 0755 ${B}/testutil_test ${D}${PTEST_PATH}/tests/
71 install -m 0755 ${B}/cache_test ${D}${PTEST_PATH}/tests/
72}
73
55# Need toku_time_now() implemented for ppc/musl 74# Need toku_time_now() implemented for ppc/musl
56# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h 75# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
57COMPATIBLE_HOST:libc-musl:powerpc = "null" 76COMPATIBLE_HOST:libc-musl:powerpc = "null"
77COMPATIBLE_HOST:armv5 = 'null'
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
index 5242b29e06..6fecf25603 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0001-absl-always-use-asm-sgidefs.h.patch
@@ -1,7 +1,7 @@
1From 738549dea7a4e6c462a79962c414eaa450c2cffd Mon Sep 17 00:00:00 2001 1From 11faa06436fdeb0c9948080a11f9a99d3b5ba16c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 9 Apr 2020 13:06:27 -0700 3Date: Thu, 9 Apr 2020 13:06:27 -0700
4Subject: [PATCH 1/3] absl: always use <asm/sgidefs.h> 4Subject: [PATCH] absl: always use <asm/sgidefs.h>
5 5
6Fixes mips/musl build, since sgidefs.h is not present on all C libraries 6Fixes mips/musl build, since sgidefs.h is not present on all C libraries
7but on linux asm/sgidefs.h is there and contains same definitions, using 7but on linux asm/sgidefs.h is there and contains same definitions, using
@@ -10,13 +10,12 @@ that makes it portable.
10Upstream-Status: Pending 10Upstream-Status: Pending
11 11
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14--- 13---
15 absl/base/internal/direct_mmap.h | 6 +----- 14 absl/base/internal/direct_mmap.h | 6 +-----
16 1 file changed, 1 insertion(+), 5 deletions(-) 15 1 file changed, 1 insertion(+), 5 deletions(-)
17 16
18diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h 17diff --git a/absl/base/internal/direct_mmap.h b/absl/base/internal/direct_mmap.h
19index e492bb0..c8a4fba 100644 18index 1beb2ee4..140b0697 100644
20--- a/absl/base/internal/direct_mmap.h 19--- a/absl/base/internal/direct_mmap.h
21+++ b/absl/base/internal/direct_mmap.h 20+++ b/absl/base/internal/direct_mmap.h
22@@ -41,13 +41,9 @@ 21@@ -41,13 +41,9 @@
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
deleted file mode 100644
index b92a487523..0000000000
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-Remove-maes-option-from-cross-compilation.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From d25cf3b9aa873595a19e197cc29ab46c0093bff1 Mon Sep 17 00:00:00 2001
2From: Sinan Kaya <sinan.kaya@microsoft.com>
3Date: Mon, 3 Feb 2020 03:25:57 +0000
4Subject: [PATCH 2/3] Remove maes option from cross-compilation
5
6---
7Upstream-Status: Pending
8
9 absl/copts/GENERATED_AbseilCopts.cmake | 4 ----
10 absl/copts/GENERATED_copts.bzl | 4 ----
11 2 files changed, 8 deletions(-)
12
13diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
14index a4ab1aa2041e..23b9253c1f00 100644
15--- a/absl/copts/GENERATED_AbseilCopts.cmake
16+++ b/absl/copts/GENERATED_AbseilCopts.cmake
17@@ -158,7 +158,3 @@ list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS
18 list(APPEND ABSL_RANDOM_HWAES_MSVC_X64_FLAGS
19 )
20
21-list(APPEND ABSL_RANDOM_HWAES_X64_FLAGS
22- "-maes"
23- "-msse4.1"
24-)
25diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
26index a6efc98e11d4..1e847f769501 100644
27--- a/absl/copts/GENERATED_copts.bzl
28+++ b/absl/copts/GENERATED_copts.bzl
29@@ -159,7 +159,3 @@ ABSL_RANDOM_HWAES_ARM64_FLAGS = [
30 ABSL_RANDOM_HWAES_MSVC_X64_FLAGS = [
31 ]
32
33-ABSL_RANDOM_HWAES_X64_FLAGS = [
34- "-maes",
35- "-msse4.1",
36-]
37--
382.36.1
39
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-abseil-ppc-fixes.patch
index f2ebd9f08c..a0b99dd206 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/abseil-ppc-fixes.patch
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0002-abseil-ppc-fixes.patch
@@ -1,4 +1,7 @@
1Upstream-Status: Pending 1From 5891332fecd3bf707b58dda56b4b3f80583b5ef9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Sep 2024 20:53:06 +0800
4Subject: [PATCH] abseil: ppc fixes
2 5
3An all-in-one patch that fixes several issues: 6An all-in-one patch that fixes several issues:
4 7
@@ -9,14 +12,24 @@ An all-in-one patch that fixes several issues:
9 12
10Sourced from void linux 13Sourced from void linux
11 14
15Upstream-Status: Pending
16
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 absl/base/internal/unscaledcycleclock.cc | 4 ++--
20 absl/base/internal/unscaledcycleclock_config.h | 3 ++-
21 absl/debugging/internal/examine_stack.cc | 8 +++++++-
22 absl/debugging/internal/stacktrace_config.h | 2 +-
23 4 files changed, 12 insertions(+), 5 deletions(-)
13 24
25diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc
26index 68f92730..5dbfaab6 100644
14--- a/absl/base/internal/unscaledcycleclock.cc 27--- a/absl/base/internal/unscaledcycleclock.cc
15+++ b/absl/base/internal/unscaledcycleclock.cc 28+++ b/absl/base/internal/unscaledcycleclock.cc
16@@ -20,7 +20,7 @@ 29@@ -20,7 +20,7 @@
17 #include <intrin.h> 30 #include <intrin.h>
18 #endif 31 #endif
19 32
20-#if defined(__powerpc__) || defined(__ppc__) 33-#if defined(__powerpc__) || defined(__ppc__)
21+#if (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__) 34+#if (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)
22 #ifdef __GLIBC__ 35 #ifdef __GLIBC__
@@ -25,30 +38,34 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25@@ -58,7 +58,7 @@ double UnscaledCycleClock::Frequency() { 38@@ -58,7 +58,7 @@ double UnscaledCycleClock::Frequency() {
26 return base_internal::NominalCPUFrequency(); 39 return base_internal::NominalCPUFrequency();
27 } 40 }
28 41
29-#elif defined(__powerpc__) || defined(__ppc__) 42-#elif defined(__powerpc__) || defined(__ppc__)
30+#elif (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__) 43+#elif (defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)
31 44
32 int64_t UnscaledCycleClock::Now() { 45 int64_t UnscaledCycleClock::Now() {
33 #ifdef __GLIBC__ 46 #ifdef __GLIBC__
47diff --git a/absl/base/internal/unscaledcycleclock_config.h b/absl/base/internal/unscaledcycleclock_config.h
48index 43a3dabe..196a8535 100644
34--- a/absl/base/internal/unscaledcycleclock_config.h 49--- a/absl/base/internal/unscaledcycleclock_config.h
35+++ b/absl/base/internal/unscaledcycleclock_config.h 50+++ b/absl/base/internal/unscaledcycleclock_config.h
36@@ -21,7 +21,8 @@ 51@@ -21,7 +21,8 @@
37 52
38 // The following platforms have an implementation of a hardware counter. 53 // The following platforms have an implementation of a hardware counter.
39 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \ 54 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \
40- defined(__powerpc__) || defined(__ppc__) || defined(__riscv) || \ 55- defined(__powerpc__) || defined(__ppc__) || defined(_M_IX86) || \
41+ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \ 56+ ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \
42+ defined(__riscv) || \ 57+ defined(_M_IX86) || \
43 defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC)) 58 (defined(_M_X64) && !defined(_M_ARM64EC))
44 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1 59 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1
45 #else 60 #else
61diff --git a/absl/debugging/internal/examine_stack.cc b/absl/debugging/internal/examine_stack.cc
62index 3dd6ba1a..f923b055 100644
46--- a/absl/debugging/internal/examine_stack.cc 63--- a/absl/debugging/internal/examine_stack.cc
47+++ b/absl/debugging/internal/examine_stack.cc 64+++ b/absl/debugging/internal/examine_stack.cc
48@@ -33,6 +33,10 @@ 65@@ -36,6 +36,10 @@
49 #include <csignal> 66 #include <csignal>
50 #include <cstdio> 67 #include <cstdio>
51 68
52+#if defined(__powerpc__) 69+#if defined(__powerpc__)
53+#include <asm/ptrace.h> 70+#include <asm/ptrace.h>
54+#endif 71+#endif
@@ -56,7 +73,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
56 #include "absl/base/attributes.h" 73 #include "absl/base/attributes.h"
57 #include "absl/base/internal/raw_logging.h" 74 #include "absl/base/internal/raw_logging.h"
58 #include "absl/base/macros.h" 75 #include "absl/base/macros.h"
59@@ -174,8 +178,10 @@ void* GetProgramCounter(void* const vuc) { 76@@ -177,8 +181,10 @@ void* GetProgramCounter(void* const vuc) {
60 return reinterpret_cast<void*>(context->uc_mcontext.pc); 77 return reinterpret_cast<void*>(context->uc_mcontext.pc);
61 #elif defined(__powerpc64__) 78 #elif defined(__powerpc64__)
62 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]); 79 return reinterpret_cast<void*>(context->uc_mcontext.gp_regs[32]);
@@ -68,9 +85,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
68 #elif defined(__riscv) 85 #elif defined(__riscv)
69 return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]); 86 return reinterpret_cast<void*>(context->uc_mcontext.__gregs[REG_PC]);
70 #elif defined(__s390__) && !defined(__s390x__) 87 #elif defined(__s390__) && !defined(__s390x__)
88diff --git a/absl/debugging/internal/stacktrace_config.h b/absl/debugging/internal/stacktrace_config.h
89index 88949fe9..4e26a6b7 100644
71--- a/absl/debugging/internal/stacktrace_config.h 90--- a/absl/debugging/internal/stacktrace_config.h
72+++ b/absl/debugging/internal/stacktrace_config.h 91+++ b/absl/debugging/internal/stacktrace_config.h
73@@ -60,7 +60,7 @@ 92@@ -67,7 +67,7 @@
74 #elif defined(__i386__) || defined(__x86_64__) 93 #elif defined(__i386__) || defined(__x86_64__)
75 #define ABSL_STACKTRACE_INL_HEADER \ 94 #define ABSL_STACKTRACE_INL_HEADER \
76 "absl/debugging/internal/stacktrace_x86-inl.inc" 95 "absl/debugging/internal/stacktrace_x86-inl.inc"
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
deleted file mode 100644
index 1a80a428b7..0000000000
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0003-Remove-neon-option-from-cross-compilation.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From fb24c3e3539b5743d398a429a302a3886186f261 Mon Sep 17 00:00:00 2001
2From: Jonas Gorski <jonas.gorski@bisdn.de>
3Date: Thu, 16 Jun 2022 11:46:31 +0000
4Subject: [PATCH 3/3] Remove neon option from cross compilation
5
6Not every arm platform supports neon instructions, so do not enforce
7them.
8
9Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
10---
11Upstream-Status: Pending
12
13 absl/copts/GENERATED_AbseilCopts.cmake | 4 ----
14 absl/copts/GENERATED_copts.bzl | 4 ----
15 2 files changed, 8 deletions(-)
16
17diff --git a/absl/copts/GENERATED_AbseilCopts.cmake b/absl/copts/GENERATED_AbseilCopts.cmake
18index 23b9253c1f00..5d112a97f3e4 100644
19--- a/absl/copts/GENERATED_AbseilCopts.cmake
20+++ b/absl/copts/GENERATED_AbseilCopts.cmake
21@@ -147,10 +147,6 @@ list(APPEND ABSL_MSVC_TEST_FLAGS
22 "/DNOMINMAX"
23 )
24
25-list(APPEND ABSL_RANDOM_HWAES_ARM32_FLAGS
26- "-mfpu=neon"
27-)
28-
29 list(APPEND ABSL_RANDOM_HWAES_ARM64_FLAGS
30 "-march=armv8-a+crypto"
31 )
32diff --git a/absl/copts/GENERATED_copts.bzl b/absl/copts/GENERATED_copts.bzl
33index 1e847f769501..3e10db204faf 100644
34--- a/absl/copts/GENERATED_copts.bzl
35+++ b/absl/copts/GENERATED_copts.bzl
36@@ -148,10 +148,6 @@ ABSL_MSVC_TEST_FLAGS = [
37 "/DNOMINMAX",
38 ]
39
40-ABSL_RANDOM_HWAES_ARM32_FLAGS = [
41- "-mfpu=neon",
42-]
43-
44 ABSL_RANDOM_HWAES_ARM64_FLAGS = [
45 "-march=armv8-a+crypto",
46 ]
47--
482.36.1
49
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
deleted file mode 100644
index 461df7a608..0000000000
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp/0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From 7335a36d0b5c1c597566f9aa3f458a5b6817c3b4 Mon Sep 17 00:00:00 2001
2From: aurel32 <aurelien@aurel32.net>
3Date: Fri, 22 Mar 2024 14:21:13 -0700
4Subject: [PATCH] PR #1644: unscaledcycleclock: remove RISC-V support
5
6Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/1644
7
8Starting with Linux 6.6 [1], RDCYCLE is a privileged instruction on RISC-V and can't be used directly from userland. There is a sysctl option to change that as a transition period, but it will eventually disappear.
9
10The RDTIME instruction is another less accurate alternative, however its frequency varies from board to board, and there is currently now way to get its frequency from userland [2].
11
12Therefore this patch just removes the code for unscaledcycleclock on RISC-V. Without processor specific implementation, abseil relies on std::chrono::steady_clock::now().time_since_epoch() which is basically a wrapper around clock_gettime (CLOCK_MONOTONIC), which in turns use __vdso_clock_gettime(). On RISC-V this VDSO is just a wrapper around RDTIME correctly scaled to use nanoseconds units.
13
14This fixes the testsuite on riscv64, tested on a VisionFive 2 board.
15
16[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc4c07c89aada16229084eeb93895c95b7eabaa3
17[2] https://github.com/abseil/abseil-cpp/pull/1631
18Merge 43356a2548cfde76e164d446cb69004b488c6a71 into 76f8011beabdaee872b5fde7546e02407b220cb1
19
20Merging this change closes #1644
21
22COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/1644 from aurel32:rv64-no-unscaledcycleclock 43356a2548cfde76e164d446cb69004b488c6a71
23PiperOrigin-RevId: 618286262
24Change-Id: Ie4120a727e7d0bb185df6e06ea145c780ebe6652
25
26Upstream-Status: Backport [https://github.com/abseil/abseil-cpp/commit/7335a36d]
27[Adapted to apply on top of meta-oe's patch stack]
28Signed-off-by: Scott Murray <scott.murray@konsulko.com>
29---
30 absl/base/internal/unscaledcycleclock.cc | 12 ------------
31 absl/base/internal/unscaledcycleclock_config.h | 5 ++---
32 2 files changed, 2 insertions(+), 15 deletions(-)
33
34diff --git a/absl/base/internal/unscaledcycleclock.cc b/absl/base/internal/unscaledcycleclock.cc
35index f11fecb3..103b4f6a 100644
36--- a/absl/base/internal/unscaledcycleclock.cc
37+++ b/absl/base/internal/unscaledcycleclock.cc
38@@ -121,18 +121,6 @@ double UnscaledCycleClock::Frequency() {
39 return aarch64_timer_frequency;
40 }
41
42-#elif defined(__riscv)
43-
44-int64_t UnscaledCycleClock::Now() {
45- int64_t virtual_timer_value;
46- asm volatile("rdcycle %0" : "=r"(virtual_timer_value));
47- return virtual_timer_value;
48-}
49-
50-double UnscaledCycleClock::Frequency() {
51- return base_internal::NominalCPUFrequency();
52-}
53-
54 #elif defined(_M_IX86) || defined(_M_X64)
55
56 #pragma intrinsic(__rdtsc)
57diff --git a/absl/base/internal/unscaledcycleclock_config.h b/absl/base/internal/unscaledcycleclock_config.h
58index 5e232c1a..83552fc5 100644
59--- a/absl/base/internal/unscaledcycleclock_config.h
60+++ b/absl/base/internal/unscaledcycleclock_config.h
61@@ -22,7 +22,6 @@
62 // The following platforms have an implementation of a hardware counter.
63 #if defined(__i386__) || defined(__x86_64__) || defined(__aarch64__) || \
64 ((defined(__powerpc__) || defined(__ppc__)) && defined(__GLIBC__)) || \
65- defined(__riscv) || \
66 defined(_M_IX86) || (defined(_M_X64) && !defined(_M_ARM64EC))
67 #define ABSL_HAVE_UNSCALED_CYCLECLOCK_IMPLEMENTATION 1
68 #else
69@@ -54,8 +53,8 @@
70 #if ABSL_USE_UNSCALED_CYCLECLOCK
71 // This macro can be used to test if UnscaledCycleClock::Frequency()
72 // is NominalCPUFrequency() on a particular platform.
73-#if (defined(__i386__) || defined(__x86_64__) || defined(__riscv) || \
74- defined(_M_IX86) || defined(_M_X64))
75+#if (defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || \
76+ defined(_M_X64))
77 #define ABSL_INTERNAL_UNSCALED_CYCLECLOCK_FREQUENCY_IS_CPU_FREQUENCY
78 #endif
79 #endif
80--
812.44.0
82
diff --git a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb
index 87ab239311..4afbba963a 100644
--- a/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20240116.2.bb
+++ b/meta-oe/recipes-devtools/abseil-cpp/abseil-cpp_20250512.1.bb
@@ -7,17 +7,13 @@ SECTION = "libs"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=df52c6edb7adc22e533b2bacc3bd3915"
9 9
10SRCREV = "d7aaad83b488fd62bd51c81ecf16cd938532cc0a" 10SRCREV = "76bb24329e8bf5f39704eb10d21b9a80befa7c81"
11BRANCH = "lts_2024_01_16" 11BRANCH = "lts_2025_05_12"
12SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \ 12SRC_URI = "git://github.com/abseil/abseil-cpp;branch=${BRANCH};protocol=https \
13 file://0001-absl-always-use-asm-sgidefs.h.patch \ 13 file://0001-absl-always-use-asm-sgidefs.h.patch \
14 file://0002-Remove-maes-option-from-cross-compilation.patch \ 14 file://0002-abseil-ppc-fixes.patch \
15 file://abseil-ppc-fixes.patch \ 15 "
16 file://0003-Remove-neon-option-from-cross-compilation.patch \
17 file://0004-PR-1644-unscaledcycleclock-remove-RISC-V-support.patch \
18 "
19 16
20S = "${WORKDIR}/git"
21 17
22inherit cmake 18inherit cmake
23 19
@@ -28,7 +24,7 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
28 24
29SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}" 25SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
30 26
31PACKAGES_DYNAMIC = "^libabsl-*" 27PACKAGES_DYNAMIC += "^libabsl-*"
32PACKAGES_DYNAMIC:class-native = "" 28PACKAGES_DYNAMIC:class-native = ""
33 29
34PACKAGESPLITFUNCS =+ "split_dynamic_packages" 30PACKAGESPLITFUNCS =+ "split_dynamic_packages"
diff --git a/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb b/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb
index 87c09f5118..e027b8d4aa 100644
--- a/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb
+++ b/meta-oe/recipes-devtools/aer-inject/aer-inject_1.0.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.gi
15" 15"
16SRCREV = "9bd5e2c7886fca72f139cd8402488a2235957d41" 16SRCREV = "9bd5e2c7886fca72f139cd8402488a2235957d41"
17 17
18S = "${WORKDIR}/git"
19 18
20DEPENDS = "bison-native" 19DEPENDS = "bison-native"
21 20
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
index a91229f908..342e7fd1a5 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf-configfs_1.0.bb
@@ -3,8 +3,7 @@ SECTION = "console/utils"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5 5
6S = "${WORKDIR}/sources" 6S = "${UNPACKDIR}"
7UNPACKDIR = "${S}"
8 7
9SRC_URI = " \ 8SRC_URI = " \
10 file://android-gadget-setup \ 9 file://android-gadget-setup \
@@ -36,3 +35,4 @@ FILES:${PN} += " \
36 35
37PROVIDES += "android-tools-conf" 36PROVIDES += "android-tools-conf"
38RPROVIDES:${PN} = "android-tools-conf" 37RPROVIDES:${PN} = "android-tools-conf"
38BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
index abf21803e5..764d6b404f 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
5 5
6SRC_URI = "file://android-gadget-setup" 6SRC_URI = "file://android-gadget-setup"
7 7
8S = "${WORKDIR}/sources" 8S = "${UNPACKDIR}"
9UNPACKDIR = "${S}"
10 9
11PACKAGE_ARCH = "${MACHINE_ARCH}" 10PACKAGE_ARCH = "${MACHINE_ARCH}"
12 11
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service b/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service
index ddf8d7f74e..b6661f2e39 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/android-tools-adbd.service
@@ -1,6 +1,6 @@
1[Unit] 1[Unit]
2Description=Android Debug Bridge 2Description=Android Debug Bridge
3ConditionPathExists=/var/usb-debugging-enabled 3ConditionPathExists=/etc/usb-debugging-enabled
4Before=android-system.service 4Before=android-system.service
5 5
6[Service] 6[Service]
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch b/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
new file mode 100644
index 0000000000..b77c0ebc13
--- /dev/null
+++ b/meta-oe/recipes-devtools/android-tools/android-tools/extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch
@@ -0,0 +1,69 @@
1From c9f8cb184a7218c97ff966db44da6dd814c0e273 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 21 Mar 2025 09:49:32 +0000
4Subject: [PATCH] ext4_utils: drop unused parameter from allocate_inode()
5
6* fixes build with gcc-15:
7 http://errors.yoctoproject.org/Errors/Details/848455/
8
9TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_directory':
10TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:115:29: error: too many arguments to function 'allocate_inode'; expected 0, have 1
11 115 | inode_num = allocate_inode(info);
12 | ^~~~~~~~~~~~~~ ~~~~
13In file included from TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:32:
14TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
15 61 | u32 allocate_inode();
16 | ^~~~~~~~~~~~~~
17TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_file':
18TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:183:21: error: too many arguments to function 'allocate_inode'; expected 0, have 1
19 183 | inode_num = allocate_inode(info);
20 | ^~~~~~~~~~~~~~ ~~~~
21TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
22 61 | u32 allocate_inode();
23 | ^~~~~~~~~~~~~~
24TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c: In function 'make_link':
25TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/contents.c:218:21: error: too many arguments to function 'allocate_inode'; expected 0, have 1
26 218 | inode_num = allocate_inode(info);
27 | ^~~~~~~~~~~~~~ ~~~~
28TOPDIR/tmp/work/core2-64-oe-linux/android-tools/5.1.1.r37/git/system/extras/ext4_utils/allocate.h:61:5: note: declared here
29 61 | u32 allocate_inode();
30 | ^~~~~~~~~~~~~~
31make: *** [<builtin>: contents.o] Error 1
32
33Upstream-Status: Pending [this whole code was removed in newer version android-9.0.0_r1 https://android.googlesource.com/platform/system/extras/+/7a837fcd6e9c0e0219f743052c78cc1c5988dfaf]
34Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
35---
36 ext4_utils/contents.c | 6 +++---
37 1 file changed, 3 insertions(+), 3 deletions(-)
38
39diff --git a/ext4_utils/contents.c b/ext4_utils/contents.c
40index 3144de93f..ac1b71706 100644
41--- a/ext4_utils/contents.c
42+++ b/ext4_utils/contents.c
43@@ -112,7 +112,7 @@ u32 make_directory(u32 dir_inode_num, u32 entries, struct dentry *dentries,
44 len = blocks * info.block_size;
45
46 if (dir_inode_num) {
47- inode_num = allocate_inode(info);
48+ inode_num = allocate_inode();
49 } else {
50 dir_inode_num = EXT4_ROOT_INO;
51 inode_num = EXT4_ROOT_INO;
52@@ -180,7 +180,7 @@ u32 make_file(const char *filename, u64 len)
53 struct ext4_inode *inode;
54 u32 inode_num;
55
56- inode_num = allocate_inode(info);
57+ inode_num = allocate_inode();
58 if (inode_num == EXT4_ALLOCATE_FAILED) {
59 error("failed to allocate inode\n");
60 return EXT4_ALLOCATE_FAILED;
61@@ -215,7 +215,7 @@ u32 make_link(const char *link)
62 u32 inode_num;
63 u32 len = strlen(link);
64
65- inode_num = allocate_inode(info);
66+ inode_num = allocate_inode();
67 if (inode_num == EXT4_ALLOCATE_FAILED) {
68 error("failed to allocate inode\n");
69 return EXT4_ALLOCATE_FAILED;
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
index 6343256d39..c04a1ef8c4 100644
--- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
+++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb
@@ -21,11 +21,11 @@ SRCREV_build = "16e987def3d7d8f7d30805eb95cef69e52a87dbc"
21 21
22SRCREV_FORMAT = "core_extras_libhardware_libselinux_build" 22SRCREV_FORMAT = "core_extras_libhardware_libselinux_build"
23SRC_URI = " \ 23SRC_URI = " \
24 git://${ANDROID_MIRROR}/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=git/system/core \ 24 git://${ANDROID_MIRROR}/platform/system/core;name=core;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/system/core \
25 git://${ANDROID_MIRROR}/platform/system/extras;name=extras;protocol=https;nobranch=1;destsuffix=git/system/extras \ 25 git://${ANDROID_MIRROR}/platform/system/extras;name=extras;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/system/extras \
26 git://${ANDROID_MIRROR}/platform/hardware/libhardware;name=libhardware;protocol=https;nobranch=1;destsuffix=git/hardware/libhardware \ 26 git://${ANDROID_MIRROR}/platform/hardware/libhardware;name=libhardware;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/hardware/libhardware \
27 git://${ANDROID_MIRROR}/platform/external/libselinux;name=libselinux;protocol=https;nobranch=1;destsuffix=git/external/libselinux \ 27 git://${ANDROID_MIRROR}/platform/external/libselinux;name=libselinux;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/libselinux \
28 git://${ANDROID_MIRROR}/platform/build;name=build;protocol=https;nobranch=1;destsuffix=git/build \ 28 git://${ANDROID_MIRROR}/platform/build;name=build;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/build \
29 file://core/0001-adb-remove-selinux-extensions.patch;patchdir=system/core \ 29 file://core/0001-adb-remove-selinux-extensions.patch;patchdir=system/core \
30 file://core/0002-adb-Use-local-sockets-where-appropriate.patch;patchdir=system/core \ 30 file://core/0002-adb-Use-local-sockets-where-appropriate.patch;patchdir=system/core \
31 file://core/0003-adb-define-shell-command.patch;patchdir=system/core \ 31 file://core/0003-adb-define-shell-command.patch;patchdir=system/core \
@@ -48,6 +48,7 @@ SRC_URI = " \
48 file://core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch;patchdir=system/core \ 48 file://core/0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch;patchdir=system/core \
49 file://extras/0001-ext4_utils-remove-selinux-extensions.patch;patchdir=system/extras \ 49 file://extras/0001-ext4_utils-remove-selinux-extensions.patch;patchdir=system/extras \
50 file://extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch;patchdir=system/extras \ 50 file://extras/0002-ext4_utils-add-o-argument-to-preserve-ownership.patch;patchdir=system/extras \
51 file://extras/0003-ext4_utils-drop-unused-parameter-from-allocate_inode.patch;patchdir=system/extras \
51 file://libselinux/0001-Remove-bionic-specific-calls.patch;patchdir=external/libselinux \ 52 file://libselinux/0001-Remove-bionic-specific-calls.patch;patchdir=external/libselinux \
52 file://libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch;patchdir=external/libselinux \ 53 file://libselinux/0001-libselinux-Do-not-define-gettid-if-glibc-2.30-is-use.patch;patchdir=external/libselinux \
53 file://android-tools-adbd.service \ 54 file://android-tools-adbd.service \
@@ -61,7 +62,6 @@ SRC_URI = " \
61" 62"
62 63
63 64
64S = "${WORKDIR}/git"
65B = "${WORKDIR}/${BPN}" 65B = "${WORKDIR}/${BPN}"
66 66
67# http://errors.yoctoproject.org/Errors/Details/133881/ 67# http://errors.yoctoproject.org/Errors/Details/133881/
@@ -187,9 +187,3 @@ FILES:${PN}-fstools = "\
187" 187"
188 188
189BBCLASSEXTEND = "native" 189BBCLASSEXTEND = "native"
190
191android_tools_enable_devmode() {
192 touch ${IMAGE_ROOTFS}/var/usb-debugging-enabled
193}
194
195ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch
new file mode 100644
index 0000000000..9ce6693061
--- /dev/null
+++ b/meta-oe/recipes-devtools/apitrace/apitrace/0001-Explicit-header-stdint.patch
@@ -0,0 +1,42 @@
1From 952bad1469ea747012bdc48c48993bd5f13eec04 Mon Sep 17 00:00:00 2001
2From: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
3Date: Fri, 21 Mar 2025 05:02:23 +0000
4Subject: [PATCH] Explicit header: stdint
5
6Fix building with GCC-15. It no longer includes it by default.
7
8Upstream-Status: Backport [https://github.com/apitrace/apitrace/commit/952bad1469ea747012bdc48c48993bd5f13eec04]
9
10Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
11---
12 frametrim/ft_dependecyobject.hpp | 1 +
13 retrace/metric_writer.cpp | 1 +
14 2 files changed, 2 insertions(+)
15
16diff --git a/frametrim/ft_dependecyobject.hpp b/frametrim/ft_dependecyobject.hpp
17index 2cd0b768..0f17b601 100644
18--- a/frametrim/ft_dependecyobject.hpp
19+++ b/frametrim/ft_dependecyobject.hpp
20@@ -28,6 +28,7 @@
21 #pragma once
22
23 #include "ft_tracecall.hpp"
24+#include <stdint.h>
25
26 namespace frametrim {
27
28diff --git a/retrace/metric_writer.cpp b/retrace/metric_writer.cpp
29index e923ed1d..4e4ce748 100644
30--- a/retrace/metric_writer.cpp
31+++ b/retrace/metric_writer.cpp
32@@ -24,6 +24,7 @@
33 **************************************************************************/
34
35 #include <iostream>
36+#include <stdint.h>
37
38 #include "metric_writer.hpp"
39
40--
412.34.1
42
diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb b/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb
index d872c4dbb5..244d9a3c6f 100644
--- a/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb
+++ b/meta-oe/recipes-devtools/apitrace/apitrace_11.1.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
8SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764" 8SRCREV = "9352fc02bba106fbbeef9e8452ef34643c0d0764"
9PV .= "+11.1+git" 9PV .= "+11.1+git"
10SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \ 10SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
11 file://0001-Explicit-header-stdint.patch \
11 " 12 "
12 13
13S = "${WORKDIR}/git"
14 14
15DEPENDS += "zlib libpng python3-native" 15DEPENDS += "zlib libpng python3-native"
16 16
diff --git a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb b/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb
deleted file mode 100644
index d0e0446eb8..0000000000
--- a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13-native_2.13.bb
+++ /dev/null
@@ -1,67 +0,0 @@
1SUMMARY = "A GNU tool that produce shell scripts to automatically configure software"
2DESCRIPTION = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically \
3configure software source code packages. Autoconf creates a configuration script for a package from a template \
4file that lists the operating system features that the package can use, in the form of M4 macro calls."
5SECTION = "devel"
6
7HOMEPAGE = "http://www.gnu.org/software/autoconf/"
8
9LICENSE = "GPL-3.0-only"
10LICENSE = "GPL-2.0-only & GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
12
13SRC_URI = " \
14 ${GNU_MIRROR}/autoconf/autoconf-${PV}.tar.gz \
15 file://0001-Add-config.guess-config.sub-install-to-destdir.patch \
16"
17
18S = "${WORKDIR}/${BPN}"
19SRC_URI[md5sum] = "9de56d4a161a723228220b0f425dc711"
20SRC_URI[sha256sum] = "f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e"
21
22inherit texinfo native
23
24DEPENDS += "m4-native gnu-config-native"
25RDEPENDS:${PN} = "m4-native gnu-config-native"
26
27PERL = "${USRBINPATH}/perl"
28
29CACHED_CONFIGUREVARS += "ac_cv_path_PERL='${PERL}'"
30
31CONFIGUREOPTS = " \
32 --build=${BUILD_SYS} \
33 --host=${HOST_SYS} \
34 --target=${TARGET_SYS} \
35 --prefix=${prefix} \
36 --exec_prefix=${exec_prefix} \
37 --bindir=${bindir} \
38 --sbindir=${sbindir} \
39 --libexecdir=${libexecdir} \
40 --datadir=${datadir} \
41 --sysconfdir=${sysconfdir} \
42 --sharedstatedir=${sharedstatedir} \
43 --localstatedir=${localstatedir} \
44 --libdir=${libdir} \
45 --includedir=${includedir} \
46 --oldincludedir=${includedir} \
47 --infodir=${infodir} \
48 --mandir=${mandir} \
49 --disable-silent-rules \
50"
51
52EXTRA_OECONF += "ac_cv_path_M4=m4 ac_cv_prog_TEST_EMACS=no"
53
54do_configure() {
55 ./configure ${CONFIGUREOPTS}
56}
57
58do_install() {
59 oe_runmake 'DESTDIR=${D}' install
60
61 # avoid conflicts with standard autotools
62 ver="213"
63 for file in `find ${D}${bindir} -type f`; do
64 mv $file $file$ver
65 done
66 mv ${D}${datadir}/autoconf ${D}${datadir}/autoconf213
67}
diff --git a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13/0001-Add-config.guess-config.sub-install-to-destdir.patch b/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13/0001-Add-config.guess-config.sub-install-to-destdir.patch
deleted file mode 100644
index f6e9ecb9a0..0000000000
--- a/meta-oe/recipes-devtools/autoconf-2.13/autoconf-2.13/0001-Add-config.guess-config.sub-install-to-destdir.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1From 3d3e23f7b14e87849405a4e109a69b76696615fc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Wed, 11 Dec 2019 23:18:19 +0100
4Subject: [PATCH] Add config.guess config.sub / install to destdir
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [Configuration]
10
11Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
12---
13 Makefile.in | 18 +++++++++---------
14 1 file changed, 9 insertions(+), 9 deletions(-)
15
16diff --git a/Makefile.in b/Makefile.in
17index a6c94d4..4b1b708 100644
18--- a/Makefile.in
19+++ b/Makefile.in
20@@ -137,23 +137,23 @@ installcheck: all install
21 cd testsuite && ${MAKE} AUTOCONF=${bindir}/autoconf $@
22
23 installdirs:
24- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(acdatadir)
25+ $(SHELL) ${srcdir}/mkinstalldirs ${DESTDIR}$(bindir) ${DESTDIR}$(infodir) ${DESTDIR}$(acdatadir)
26
27 install: all $(M4FILES) acconfig.h installdirs install-info
28 for p in $(ASCRIPTS); do \
29- $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
30+ $(INSTALL_PROGRAM) $$p ${DESTDIR}$(bindir)/`echo $$p|sed '$(transform)'`; \
31 done
32 for i in $(M4FROZEN); do \
33- $(INSTALL_DATA) $$i $(acdatadir)/$$i; \
34+ $(INSTALL_DATA) $$i ${DESTDIR}$(acdatadir)/$$i; \
35 done
36 for i in $(M4FILES) acconfig.h; do \
37- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
38+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
39 done
40 -if test -f autoscan; then \
41- $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \
42+ $(INSTALL_PROGRAM) autoscan ${DESTDIR}$(bindir)/`echo autoscan|sed '$(transform)'`; \
43 for i in acfunctions acheaders acidentifiers acprograms \
44- acmakevars; do \
45- $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \
46+ acmakevars config.guess config.sub; do \
47+ $(INSTALL_DATA) $(srcdir)/$$i ${DESTDIR}$(acdatadir)/$$i; \
48 done; \
49 else :; fi
50
51@@ -161,11 +161,11 @@ install: all $(M4FILES) acconfig.h installdirs install-info
52 install-info: info installdirs
53 if test -f autoconf.info; then \
54 for i in *.info*; do \
55- $(INSTALL_DATA) $$i $(infodir)/$$i; \
56+ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/$$i; \
57 done; \
58 else \
59 for i in $(srcdir)/*.info*; do \
60- $(INSTALL_DATA) $$i $(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
61+ $(INSTALL_DATA) $$i ${DESTDIR}$(infodir)/`echo $$i | sed 's|^$(srcdir)/||'`; \
62 done; \
63 fi
64
65--
662.21.0
67
diff --git a/meta-oe/recipes-devtools/b4/b4_0.14.2.bb b/meta-oe/recipes-devtools/b4/b4_0.14.2.bb
new file mode 100644
index 0000000000..794e1d24dd
--- /dev/null
+++ b/meta-oe/recipes-devtools/b4/b4_0.14.2.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Utility to work with patches made available via a public-inbox archive like lore.kernel.org."
2
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5
6inherit pypi python_pep517 python_setuptools_build_meta
7
8SRC_URI[sha256sum] = "4f835b6e5ae30eff6004bb25c15fd8f4f6ecd1105596e86db1871fef7d18113d"
9
10RDEPENDS:${PN} += " \
11 python3-mailbox \
12 python3-requests \
13"
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb b/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb
index 3bf4371e85..0e51289507 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_2023.06.01.bb
@@ -27,9 +27,9 @@ SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac"
27SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31" 27SRCREV_lss = "9719c1e1e676814c456b55f5f070eabad6709d31"
28 28
29SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \ 29SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=https \
30 git://github.com/google/googletest.git;destsuffix=git/src/testing/gtest;name=gtest;branch=main;protocol=https \ 30 git://github.com/google/googletest.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/testing/gtest;name=gtest;branch=main;protocol=https \
31 git://github.com/protocolbuffers/protobuf.git;destsuffix=git/src/third_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https \ 31 git://github.com/protocolbuffers/protobuf.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/protobuf/protobuf;name=protobuf;branch=master;protocol=https \
32 git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=git/src/third_party/lss;name=lss \ 32 git://chromium.googlesource.com/linux-syscall-support;protocol=https;branch=main;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/third_party/lss;name=lss \
33 file://0001-include-sys-reg.h-to-get-__WORDSIZE-on-musl-libc.patch \ 33 file://0001-include-sys-reg.h-to-get-__WORDSIZE-on-musl-libc.patch \
34 file://0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch \ 34 file://0003-Fix-conflict-between-musl-libc-dirent.h-and-lss.patch \
35 file://0001-Turn-off-sign-compare-for-musl-libc.patch \ 35 file://0001-Turn-off-sign-compare-for-musl-libc.patch \
@@ -41,7 +41,6 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad;branch=main;protocol=h
41 file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \ 41 file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
42 file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \ 42 file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
43" 43"
44S = "${WORKDIR}/git"
45 44
46CXXFLAGS += "-D_GNU_SOURCE" 45CXXFLAGS += "-D_GNU_SOURCE"
47LDFLAGS:append:libc-musl = " -lucontext" 46LDFLAGS:append:libc-musl = " -lucontext"
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto/0001-Export-binaries-only-for-native-build.patch b/meta-oe/recipes-devtools/capnproto/capnproto/0001-Export-binaries-only-for-native-build.patch
new file mode 100644
index 0000000000..7677d96b23
--- /dev/null
+++ b/meta-oe/recipes-devtools/capnproto/capnproto/0001-Export-binaries-only-for-native-build.patch
@@ -0,0 +1,53 @@
1From e654a7015f5e8f20bf7681681cc2b80082303007 Mon Sep 17 00:00:00 2001
2From: Gyorgy Sarvari <skandigraun@gmail.com>
3Date: Tue, 25 Feb 2025 13:43:42 +0100
4Subject: [PATCH] Export binaries only for native build
5
6By default, the cmake configuratione exports all generated files,
7so when using the generated cmake file with a find_package command,
8it verifies that these files actually exist.
9
10When using the cross-compiled version of capnproto, the generated
11binaries are not available in RECIPE_SYSROOT (since they can be
12used as RDEPENDS only, but not usable as DEPENDS), and due to
13this the compilation fails.
14
15To avoid this, check during the compilation of capnproto if it is
16being cross-compiled, or not. If is it cross-compiled, then only
17install the generated binary files in their final location, but
18don't export them. When not cross-compiling, do the same, but also
19export the files (which is the default behavior).
20
21Upstream-Status: Inappropriate [oe specific: see above message]
22
23Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
24---
25 c++/src/capnp/CMakeLists.txt | 15 ++++++++++++++-
26 1 file changed, 14 insertions(+), 1 deletion(-)
27
28diff --git a/c++/src/capnp/CMakeLists.txt b/c++/src/capnp/CMakeLists.txt
29index 9980fde6..8732db93 100644
30--- a/src/capnp/CMakeLists.txt
31+++ b/src/capnp/CMakeLists.txt
32@@ -210,7 +210,20 @@ if(NOT CAPNP_LITE)
33 target_link_libraries(capnpc_capnp capnp kj)
34 set_target_properties(capnpc_capnp PROPERTIES OUTPUT_NAME capnpc-capnp)
35
36- install(TARGETS capnp_tool capnpc_cpp capnpc_capnp ${INSTALL_TARGETS_DEFAULT_ARGS})
37+ if(NOT CMAKE_CROSSCOMPILING)
38+ install(TARGETS capnp_tool capnpc_cpp capnpc_capnp ${INSTALL_TARGETS_DEFAULT_ARGS})
39+ else()
40+ # INSTALL_TARGETS_CROSS_COMPILED_BINARY_ARGS is identical to INSTALL_TARGETS_DEFAULT_ARGS,
41+ # except that the installed files are not exported, so when the generated cmake file
42+ # is used by a find_package command, it won't try to find these files.
43+ set(INSTALL_TARGETS_CROSS_COMPILED_BINARY_ARGS
44+ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
45+ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
46+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
47+ )
48+
49+ install(TARGETS capnp_tool capnpc_cpp capnpc_capnp ${INSTALL_TARGETS_CROSS_COMPILED_BINARY_ARGS})
50+ endif()
51
52 if(WIN32)
53 # On Windows platforms symlinks are not guaranteed to support. Also different version of CMake handle create_symlink in a different way.
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb b/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
index cb4aef5224..0ea243fd20 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_1.0.2.bb
@@ -5,13 +5,16 @@ SECTION = "console/tools"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9" 6LIC_FILES_CHKSUM = "file://../LICENSE;md5=a05663ae6cca874123bf667a60dca8c9"
7 7
8SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https" 8SRC_URI = "git://github.com/sandstorm-io/capnproto.git;branch=release-${PV};protocol=https \
9 file://0001-Export-binaries-only-for-native-build.patch"
9SRCREV = "1a0e12c0a3ba1f0dbbad45ddfef555166e0a14fc" 10SRCREV = "1a0e12c0a3ba1f0dbbad45ddfef555166e0a14fc"
10 11
11S = "${WORKDIR}/git/c++" 12S = "${UNPACKDIR}/${BP}/c++"
12 13
13inherit cmake 14inherit cmake
14 15
16CVE_PRODUCT = "capnproto capnp"
17
15CXXFLAGS:append:mips = " -latomic" 18CXXFLAGS:append:mips = " -latomic"
16CXXFLAGS:append:powerpc = " -latomic" 19CXXFLAGS:append:powerpc = " -latomic"
17CXXFLAGS:append:riscv32 = " -latomic" 20CXXFLAGS:append:riscv32 = " -latomic"
diff --git a/meta-oe/recipes-devtools/cbindgen/cbindgen/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch b/meta-oe/recipes-devtools/cbindgen/cbindgen/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
new file mode 100644
index 0000000000..75086aba75
--- /dev/null
+++ b/meta-oe/recipes-devtools/cbindgen/cbindgen/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
@@ -0,0 +1,38 @@
1From 6ab6af57cbd3b3b0cd4ba04f7f65693e1ca69870 Mon Sep 17 00:00:00 2001
2From: Dan Gohman <dev@sunfishcode.online>
3Date: Sun, 6 Apr 2025 05:22:49 -0700
4Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu
5
6Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on
7riscv32gc-unknown-linux-gnu.
8
9Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/4382]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/unix/linux_like/linux/arch/generic/mod.rs | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15diff --git a/src/unix/linux_like/linux/arch/generic/mod.rs b/src/unix/linux_like/linux/arch/generic/mod.rs
16index 2f437e1..db1f1e7 100644
17--- a/src/unix/linux_like/linux/arch/generic/mod.rs
18+++ b/src/unix/linux_like/linux/arch/generic/mod.rs
19@@ -114,6 +114,7 @@ cfg_if! {
20 target_arch = "x86_64",
21 target_arch = "arm",
22 target_arch = "aarch64",
23+ target_arch = "riscv32",
24 target_arch = "riscv64",
25 target_arch = "s390x",
26 target_arch = "csky",
27@@ -218,7 +219,10 @@ cfg_if! {
28 // where S stands for size (int, long, struct...)
29 // where T stands for type ('f','v','X'...)
30 // where N stands for NR (NumbeR)
31- if #[cfg(any(target_arch = "x86", target_arch = "arm", target_arch = "csky"))] {
32+ if #[cfg(any(target_arch = "x86",
33+ target_arch = "arm",
34+ target_arch = "riscv32",
35+ target_arch = "csky"))] {
36 pub const FS_IOC_GETFLAGS: ::Ioctl = 0x80046601;
37 pub const FS_IOC_SETFLAGS: ::Ioctl = 0x40046602;
38 pub const FS_IOC_GETVERSION: ::Ioctl = 0x80047601;
diff --git a/meta-oe/recipes-devtools/cbindgen/cbindgen_0.28.0.bb b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.28.0.bb
new file mode 100644
index 0000000000..8a6337a0d2
--- /dev/null
+++ b/meta-oe/recipes-devtools/cbindgen/cbindgen_0.28.0.bb
@@ -0,0 +1,148 @@
1SUMMARY = "cbindgen creates C/C++11 headers for Rust libraries which expose a public C API"
2HOMEPAGE = "https://github.com/mozilla/cbindgen"
3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3"
5
6SRC_URI += "git://github.com/mozilla/cbindgen.git;protocol=https;branch=master \
7 file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.155"
8SRCREV = "bd78bbe59b10eda6ef1255e4acda95c56c6d0279"
9
10inherit cargo pkgconfig
11
12SRC_URI += " \
13 crate://crates.io/anstream/0.6.15 \
14 crate://crates.io/anstyle-parse/0.2.5 \
15 crate://crates.io/anstyle-query/1.1.1 \
16 crate://crates.io/anstyle-wincon/3.0.4 \
17 crate://crates.io/anstyle/1.0.8 \
18 crate://crates.io/autocfg/1.3.0 \
19 crate://crates.io/bitflags/2.6.0 \
20 crate://crates.io/cfg-if/1.0.0 \
21 crate://crates.io/clap/4.5.15 \
22 crate://crates.io/clap_builder/4.5.15 \
23 crate://crates.io/clap_lex/0.7.2 \
24 crate://crates.io/colorchoice/1.0.2 \
25 crate://crates.io/dashmap/5.5.3 \
26 crate://crates.io/diff/0.1.13 \
27 crate://crates.io/equivalent/1.0.1 \
28 crate://crates.io/errno/0.3.9 \
29 crate://crates.io/fastrand/2.1.0 \
30 crate://crates.io/hashbrown/0.14.5 \
31 crate://crates.io/heck/0.4.1 \
32 crate://crates.io/indexmap/2.3.0 \
33 crate://crates.io/is_terminal_polyfill/1.70.1 \
34 crate://crates.io/itoa/1.0.11 \
35 crate://crates.io/lazy_static/1.5.0 \
36 crate://crates.io/libc/0.2.155 \
37 crate://crates.io/linux-raw-sys/0.4.14 \
38 crate://crates.io/lock_api/0.4.12 \
39 crate://crates.io/log/0.4.22 \
40 crate://crates.io/memchr/2.7.4 \
41 crate://crates.io/once_cell/1.19.0 \
42 crate://crates.io/parking_lot/0.12.3 \
43 crate://crates.io/parking_lot_core/0.9.10 \
44 crate://crates.io/pretty_assertions/1.4.0 \
45 crate://crates.io/proc-macro2/1.0.86 \
46 crate://crates.io/quote/1.0.36 \
47 crate://crates.io/redox_syscall/0.5.3 \
48 crate://crates.io/rustix/0.38.34 \
49 crate://crates.io/ryu/1.0.18 \
50 crate://crates.io/scopeguard/1.2.0 \
51 crate://crates.io/serde/1.0.205 \
52 crate://crates.io/serde_derive/1.0.205 \
53 crate://crates.io/serde_json/1.0.122 \
54 crate://crates.io/serde_spanned/0.6.7 \
55 crate://crates.io/serial_test/2.0.0 \
56 crate://crates.io/serial_test_derive/2.0.0 \
57 crate://crates.io/smallvec/1.13.2 \
58 crate://crates.io/strsim/0.11.1 \
59 crate://crates.io/syn/2.0.85 \
60 crate://crates.io/tempfile/3.12.0 \
61 crate://crates.io/toml/0.8.19 \
62 crate://crates.io/toml_datetime/0.6.8 \
63 crate://crates.io/toml_edit/0.22.20 \
64 crate://crates.io/unicode-ident/1.0.12 \
65 crate://crates.io/utf8parse/0.2.2 \
66 crate://crates.io/windows-sys/0.52.0 \
67 crate://crates.io/windows-sys/0.59.0 \
68 crate://crates.io/windows-targets/0.52.6 \
69 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
70 crate://crates.io/windows_aarch64_msvc/0.52.6 \
71 crate://crates.io/windows_i686_gnu/0.52.6 \
72 crate://crates.io/windows_i686_gnullvm/0.52.6 \
73 crate://crates.io/windows_i686_msvc/0.52.6 \
74 crate://crates.io/windows_x86_64_gnu/0.52.6 \
75 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
76 crate://crates.io/windows_x86_64_msvc/0.52.6 \
77 crate://crates.io/winnow/0.6.18 \
78 crate://crates.io/yansi/0.5.1 \
79"
80
81SRC_URI[anstream-0.6.15.sha256sum] = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526"
82SRC_URI[anstyle-parse-0.2.5.sha256sum] = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb"
83SRC_URI[anstyle-query-1.1.1.sha256sum] = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a"
84SRC_URI[anstyle-wincon-3.0.4.sha256sum] = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8"
85SRC_URI[anstyle-1.0.8.sha256sum] = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1"
86SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0"
87SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
88SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
89SRC_URI[clap-4.5.15.sha256sum] = "11d8838454fda655dafd3accb2b6e2bea645b9e4078abe84a22ceb947235c5cc"
90SRC_URI[clap_builder-4.5.15.sha256sum] = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6"
91SRC_URI[clap_lex-0.7.2.sha256sum] = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97"
92SRC_URI[colorchoice-1.0.2.sha256sum] = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0"
93SRC_URI[dashmap-5.5.3.sha256sum] = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
94SRC_URI[diff-0.1.13.sha256sum] = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8"
95SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
96SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba"
97SRC_URI[fastrand-2.1.0.sha256sum] = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
98SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
99SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
100SRC_URI[indexmap-2.3.0.sha256sum] = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0"
101SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf"
102SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
103SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
104SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"
105SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
106SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
107SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
108SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
109SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
110SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27"
111SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
112SRC_URI[pretty_assertions-1.4.0.sha256sum] = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66"
113SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77"
114SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
115SRC_URI[redox_syscall-0.5.3.sha256sum] = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4"
116SRC_URI[rustix-0.38.34.sha256sum] = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f"
117SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
118SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
119SRC_URI[serde-1.0.205.sha256sum] = "e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150"
120SRC_URI[serde_derive-1.0.205.sha256sum] = "692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1"
121SRC_URI[serde_json-1.0.122.sha256sum] = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da"
122SRC_URI[serde_spanned-0.6.7.sha256sum] = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d"
123SRC_URI[serial_test-2.0.0.sha256sum] = "0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d"
124SRC_URI[serial_test_derive-2.0.0.sha256sum] = "91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f"
125SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
126SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
127SRC_URI[syn-2.0.85.sha256sum] = "5023162dfcd14ef8f32034d8bcd4cc5ddc61ef7a247c024a33e24e1f24d21b56"
128SRC_URI[tempfile-3.12.0.sha256sum] = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64"
129SRC_URI[toml-0.8.19.sha256sum] = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
130SRC_URI[toml_datetime-0.6.8.sha256sum] = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41"
131SRC_URI[toml_edit-0.22.20.sha256sum] = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d"
132SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
133SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
134SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
135SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
136SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
137SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
138SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
139SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
140SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
141SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
142SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
143SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
144SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
145SRC_URI[winnow-0.6.18.sha256sum] = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f"
146SRC_URI[yansi-0.5.1.sha256sum] = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
147
148BBCLASSEXTEND += "native"
diff --git a/meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb b/meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb
index 922dfc7763..fbd3618b4f 100644
--- a/meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb
+++ b/meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb
@@ -13,6 +13,8 @@ SRC_URI = "http://cgdb.me/files/${BP}.tar.gz \
13 file://0001-cgdb-Do-not-search-for-cgdb.txt-in-build-dir.patch" 13 file://0001-cgdb-Do-not-search-for-cgdb.txt-in-build-dir.patch"
14SRC_URI[sha256sum] = "0d38b524d377257b106bad6d856d8ae3304140e1ee24085343e6ddf1b65811f1" 14SRC_URI[sha256sum] = "0d38b524d377257b106bad6d856d8ae3304140e1ee24085343e6ddf1b65811f1"
15 15
16EXTRA_AUTORECONF += "-I config"
17
16CACHED_CONFIGUREVARS = "ac_cv_file__dev_ptmx=yes ac_cv_rl_version=6.2 ac_cv_file__proc_self_status=yes" 18CACHED_CONFIGUREVARS = "ac_cv_file__dev_ptmx=yes ac_cv_rl_version=6.2 ac_cv_file__proc_self_status=yes"
17EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR} \ 19EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR} \
18 --with-ncurses=${STAGING_LIBDIR}" 20 --with-ncurses=${STAGING_LIBDIR}"
diff --git a/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb b/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb
index 5e992845a1..33c8c28531 100644
--- a/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb
+++ b/meta-oe/recipes-devtools/cjson/cjson_1.7.18.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/DaveGamble/cJSON.git;branch=master;protocol=https \
9 " 9 "
10SRCREV = "acc76239bee01d8e9c858ae2cab296704e52d916" 10SRCREV = "acc76239bee01d8e9c858ae2cab296704e52d916"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit cmake pkgconfig ptest 13inherit cmake pkgconfig ptest
15 14
@@ -24,6 +23,11 @@ do_install_ptest() {
24 sed s#${B}#${PTEST_PATH}# ${B}/CTestTestfile.cmake > ${D}${PTEST_PATH}/CTestTestfile.cmake 23 sed s#${B}#${PTEST_PATH}# ${B}/CTestTestfile.cmake > ${D}${PTEST_PATH}/CTestTestfile.cmake
25 sed s#${B}#${PTEST_PATH}# ${B}/tests/CTestTestfile.cmake > ${D}${PTEST_PATH}/tests/CTestTestfile.cmake 24 sed s#${B}#${PTEST_PATH}# ${B}/tests/CTestTestfile.cmake > ${D}${PTEST_PATH}/tests/CTestTestfile.cmake
26 sed s#${B}#${PTEST_PATH}# ${B}/fuzzing/CTestTestfile.cmake > ${D}${PTEST_PATH}/fuzzing/CTestTestfile.cmake 25 sed s#${B}#${PTEST_PATH}# ${B}/fuzzing/CTestTestfile.cmake > ${D}${PTEST_PATH}/fuzzing/CTestTestfile.cmake
26 # The cmake files also contain full paths to original CMakeLists.txt file in _BACKTRACE_TRIPLES property;
27 # these are not needed for successful ptests as we don't install the CMakeLists.txt files anyway.
28 sed -i s#${S}#${PTEST_PATH}#g ${D}${PTEST_PATH}/CTestTestfile.cmake
29 sed -i s#${S}#${PTEST_PATH}#g ${D}${PTEST_PATH}/tests/CTestTestfile.cmake
30 sed -i s#${S}#${PTEST_PATH}#g ${D}${PTEST_PATH}/fuzzing/CTestTestfile.cmake
27 # install test artifacts 31 # install test artifacts
28 install ${B}/cJSON_test ${D}${PTEST_PATH} 32 install ${B}/cJSON_test ${D}${PTEST_PATH}
29 install ${B}/tests/cjson_add ${B}/tests/*_tests ${B}/tests/parse_* ${B}/tests/print_* ${B}/tests/readme_examples ${D}${PTEST_PATH}/tests/ 33 install ${B}/tests/cjson_add ${B}/tests/*_tests ${B}/tests/parse_* ${B}/tests/print_* ${B}/tests/readme_examples ${D}${PTEST_PATH}/tests/
diff --git a/meta-oe/recipes-devtools/cloc/cloc_1.98.bb b/meta-oe/recipes-devtools/cloc/cloc_1.98.bb
index ea5f00669f..6d349c1e58 100644
--- a/meta-oe/recipes-devtools/cloc/cloc_1.98.bb
+++ b/meta-oe/recipes-devtools/cloc/cloc_1.98.bb
@@ -1,13 +1,14 @@
1SUMMARY = "Count blank lines, comment lines, and physical lines of source code \ 1SUMMARY = "Count blank lines, comment lines, and physical lines of source code \
2in many programming languages." 2in many programming languages."
3 3
4LICENSE="GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
6 6
7SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.gz" 7SRC_URI = "https://github.com/AlDanial/cloc/releases/download/v${PV}/${BP}.tar.gz"
8SRC_URI[sha256sum] = "5fe0b159eb75718df7308a4f61470eaddf82170733929999e37a3fbb4651cf8a" 8SRC_URI[sha256sum] = "5fe0b159eb75718df7308a4f61470eaddf82170733929999e37a3fbb4651cf8a"
9 9
10UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases" 10UPSTREAM_CHECK_URI = "https://github.com/AlDanial/${BPN}/releases"
11UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
11 12
12do_configure[noexec] = "1" 13do_configure[noexec] = "1"
13do_compile[noexec] = "1" 14do_compile[noexec] = "1"
diff --git a/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
index 47a3d88853..ab4e6148e9 100644
--- a/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
+++ b/meta-oe/recipes-devtools/concurrencykit/concurrencykit_git.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/concurrencykit/ck.git;branch=master;protocol=https \
14 file://0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch \ 14 file://0001-configure-Fix-compoiler-detection-logic-for-cross-co.patch \
15 file://0001-build-Use-ilp32d-abi-on-riscv32-and-lp64d-on-rv64.patch" 15 file://0001-build-Use-ilp32d-abi-on-riscv32-and-lp64d-on-rv64.patch"
16 16
17S = "${WORKDIR}/git"
18 17
19COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64|powerpc|powerpc64|riscv32|riscv64).*-linux*" 18COMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64|powerpc|powerpc64|riscv32|riscv64).*-linux*"
20 19
diff --git a/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb b/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb
new file mode 100644
index 0000000000..6e709b6e7e
--- /dev/null
+++ b/meta-oe/recipes-devtools/cppgenerate/cppgenerate_0.3.bb
@@ -0,0 +1,13 @@
1SUMMARY = "C++ Code Generator library"
2BUGTRACKER = "https://github.com/rm5248/libcppgenerate/issues"
3SECTION = "libs"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
6
7SRC_URI = "git://github.com/rm5248/libcppgenerate.git;branch=master;protocol=https"
8SRCREV = "930c5503f76c877b72b9ff8546353d6f422bd010"
9
10
11inherit cmake
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
index ed339e0160..36614ca19d 100644
--- a/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
+++ b/meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "cpuid dumps detailed information about the CPU(s) gathered \
3from the CPUID instruction, and also determines the exact model of CPU(s). \ 3from the CPUID instruction, and also determines the exact model of CPU(s). \
4It supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, \ 4It supports Intel, AMD, and VIA CPUs, as well as older Transmeta, Cyrix, \
5UMC, NexGen, Rise, and SiS CPUs" 5UMC, NexGen, Rise, and SiS CPUs"
6HOMEPAGE="http://www.etallen.com/cpuid.html" 6HOMEPAGE = "http://www.etallen.com/cpuid.html"
7LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9 9
@@ -17,9 +17,7 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
17inherit perlnative 17inherit perlnative
18 18
19do_install () { 19do_install () {
20 oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} install 20 oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} INSTALL_STRIP="" install
21} 21}
22 22
23RDEPENDS:${PN} = "perl" 23RDEPENDS:${PN} = "perl"
24
25INSANE_SKIP:${PN} += "already-stripped"
diff --git a/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb b/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb
new file mode 100644
index 0000000000..98419a8069
--- /dev/null
+++ b/meta-oe/recipes-devtools/cpuset/cpuset_1.6.2.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Cpuset manipulation tool"
2HOMEPAGE = "https://github.com/SUSE/cpuset"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6SRC_URI = "git://github.com/SUSE/cpuset.git;protocol=https;branch=master"
7
8SRCREV = "4f80263208935f0df4f616cf9d8cb7285599a670"
9
10inherit setuptools3
11
12RDEPENDS:${PN} += "python3-core python3-logging python3-pydoc"
diff --git a/meta-oe/recipes-devtools/cscope/cscope_15.9.bb b/meta-oe/recipes-devtools/cscope/cscope_15.9.bb
index 99f3ba85de..fad885dd43 100644
--- a/meta-oe/recipes-devtools/cscope/cscope_15.9.bb
+++ b/meta-oe/recipes-devtools/cscope/cscope_15.9.bb
@@ -20,5 +20,4 @@ DEPENDS += "ncurses"
20 20
21SRC_URI = "http://downloads.sourceforge.net/project/cscope/cscope/v${PV}/${BP}.tar.gz" 21SRC_URI = "http://downloads.sourceforge.net/project/cscope/cscope/v${PV}/${BP}.tar.gz"
22 22
23SRC_URI[md5sum] = "16f3cce078b6c0e42299def4028eea6f"
24SRC_URI[sha256sum] = "c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159" 23SRC_URI[sha256sum] = "c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159"
diff --git a/meta-oe/recipes-devtools/ctags/ctags_6.1.20240602.0.bb b/meta-oe/recipes-devtools/ctags/ctags_6.2.20250615.0.bb
index f8add448b8..c794278f57 100644
--- a/meta-oe/recipes-devtools/ctags/ctags_6.1.20240602.0.bb
+++ b/meta-oe/recipes-devtools/ctags/ctags_6.2.20250615.0.bb
@@ -14,10 +14,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
14 14
15inherit autotools-brokensep pkgconfig manpages 15inherit autotools-brokensep pkgconfig manpages
16 16
17SRCREV = "653ca9204527fe1da7ecf97c3da4308f9ab17d2c" 17SRCREV = "0644fb80a8250cc3ca6ba00037e490768fe4492e"
18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https" 18SRC_URI = "git://github.com/universal-ctags/ctags;branch=master;protocol=https;tag=p${PV}"
19 19
20S = "${WORKDIR}/git"
21 20
22PACKAGECONFIG ??= " \ 21PACKAGECONFIG ??= " \
23 readcmd \ 22 readcmd \
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch b/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch
index 12dd238108..faa66e0268 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-support-to-override-usr-sbin-and-usr-share.patch
@@ -1,20 +1,20 @@
1From 87d0174e8d56e7458dc94f05f82ab7a67a5cf7d0 Mon Sep 17 00:00:00 2001 1From 6c8b0a3f9c09a7a135d95ff18038bcba22e87b86 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 8 Apr 2021 14:06:05 +0800 3Date: Thu, 8 Apr 2021 14:06:05 +0800
4Subject: [PATCH 1/2] support to override /usr/sbin and /usr/share 4Subject: [PATCH] support to override /usr/sbin and /usr/share
5 5
6Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55] 6Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]
7 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9--- 9---
10 Makefile | 12 +++++++----- 10 Makefile | 10 ++++++----
11 1 file changed, 7 insertions(+), 5 deletions(-) 11 1 file changed, 6 insertions(+), 4 deletions(-)
12 12
13diff --git a/Makefile b/Makefile 13diff --git a/Makefile b/Makefile
14index 8516803..a2d8c00 100644 14index 21a9a39..649f465 100644
15--- a/Makefile 15--- a/Makefile
16+++ b/Makefile 16+++ b/Makefile
17@@ -5,14 +5,16 @@ all: 17@@ -5,13 +5,15 @@ all:
18 18
19 clean: 19 clean:
20 20
@@ -28,14 +28,12 @@ index 8516803..a2d8c00 100644
28+ mkdir -p $(DESTDIR)$(sbindir) 28+ mkdir -p $(DESTDIR)$(sbindir)
29 29
30 cp -a scripts/* $(DSDIR)/scripts/ 30 cp -a scripts/* $(DSDIR)/scripts/
31 install -o root -g root -m 0644 functions $(DSDIR)/ 31 install -m 0644 functions $(DSDIR)/
32 32
33- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap 33- sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
34- chown root:root $(DESTDIR)/usr/sbin/debootstrap
35- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap 34- chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
36+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(sbindir)/debootstrap 35+ sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)$(sbindir)/debootstrap
37+ chown root:root $(DESTDIR)$(sbindir)/debootstrap
38+ chmod 0755 $(DESTDIR)$(sbindir)/debootstrap 36+ chmod 0755 $(DESTDIR)$(sbindir)/debootstrap
39-- 37--
402.17.1 382.25.1
41 39
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch b/meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch
index 69329df4ea..daec80f614 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap/0002-support-to-override-usr-bin-arch-test.patch
@@ -1,7 +1,7 @@
1From f0420b201f2fb5286ccf5657faa6b38cd2680e10 Mon Sep 17 00:00:00 2001 1From b7a476cbcd507c03094811690d5497a7e9e15afc Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 8 Apr 2021 14:08:06 +0800 3Date: Thu, 8 Apr 2021 14:08:06 +0800
4Subject: [PATCH 2/2] support to override /usr/bin/arch-test 4Subject: [PATCH] support to override /usr/bin/arch-test
5 5
6Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55] 6Upstream-Status: Submitted [https://salsa.debian.org/installer-team/debootstrap/-/merge_requests/55]
7 7
@@ -11,12 +11,12 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11 1 file changed, 8 insertions(+), 4 deletions(-) 11 1 file changed, 8 insertions(+), 4 deletions(-)
12 12
13diff --git a/debootstrap b/debootstrap 13diff --git a/debootstrap b/debootstrap
14index 9b9e58d..a3cf3af 100755 14index 43a7383..0cce33e 100755
15--- a/debootstrap 15--- a/debootstrap
16+++ b/debootstrap 16+++ b/debootstrap
17@@ -51,6 +51,10 @@ INRELEASE_PATH="" 17@@ -51,6 +51,10 @@ INRELEASE_PATH=""
18
18 DEF_MIRROR="http://deb.debian.org/debian" 19 DEF_MIRROR="http://deb.debian.org/debian"
19 DEF_HTTPS_MIRROR="https://deb.debian.org/debian"
20 20
21+if [ -z "$ARCH_TEST" ]; then 21+if [ -z "$ARCH_TEST" ]; then
22+ ARCH_TEST="/usr/bin/arch-test" 22+ ARCH_TEST="/usr/bin/arch-test"
@@ -25,7 +25,7 @@ index 9b9e58d..a3cf3af 100755
25 # set $CONTAINER 25 # set $CONTAINER
26 detect_container 26 detect_container
27 27
28@@ -645,12 +649,12 @@ fi 28@@ -666,12 +670,12 @@ fi
29 29
30 ########################################################################### 30 ###########################################################################
31 31
@@ -42,6 +42,3 @@ index 9b9e58d..a3cf3af 100755
42 else 42 else
43 ret=3 43 ret=3
44 fi 44 fi
45--
462.17.1
47
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch b/meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch
index 2a5f233165..0c1a7a65a8 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap/0001-do-not-hardcode-the-full-path-of-dpkg.patch
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap/0003-do-not-hardcode-the-full-path-of-dpkg.patch
@@ -1,4 +1,4 @@
1From e735fb23f46f0c3c7a1144ba6b4050bfc0015a05 Mon Sep 17 00:00:00 2001 1From 33c4bc9540d6d9aee6d885b89d530130d50b8052 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 2 Jun 2021 13:34:35 +0800 3Date: Wed, 2 Jun 2021 13:34:35 +0800
4Subject: [PATCH] do not hardcode the full path of dpkg 4Subject: [PATCH] do not hardcode the full path of dpkg
@@ -16,10 +16,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/debootstrap b/debootstrap 18diff --git a/debootstrap b/debootstrap
19index a3cf3af..5e96c3e 100755 19index 0cce33e..7586c58 100755
20--- a/debootstrap 20--- a/debootstrap
21+++ b/debootstrap 21+++ b/debootstrap
22@@ -538,7 +538,7 @@ fi 22@@ -553,7 +553,7 @@ fi
23 23
24 if in_path dpkg && \ 24 if in_path dpkg && \
25 dpkg --print-architecture >/dev/null 2>&1; then 25 dpkg --print-architecture >/dev/null 2>&1; then
@@ -28,6 +28,3 @@ index a3cf3af..5e96c3e 100755
28 elif in_path udpkg && \ 28 elif in_path udpkg && \
29 udpkg --print-architecture >/dev/null 2>&1; then 29 udpkg --print-architecture >/dev/null 2>&1; then
30 HOST_ARCH=$(/usr/bin/udpkg --print-architecture) 30 HOST_ARCH=$(/usr/bin/udpkg --print-architecture)
31--
322.27.0
33
diff --git a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.141.bb
index c28a51749c..9287962ab7 100644
--- a/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.132.bb
+++ b/meta-oe/recipes-devtools/debootstrap/debootstrap_1.0.141.bb
@@ -2,18 +2,18 @@ SUMMARY = "Install a Debian system into a subdirectory"
2HOMEPAGE = "https://wiki.debian.org/Debootstrap" 2HOMEPAGE = "https://wiki.debian.org/Debootstrap"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=1e68ced6e1689d4cd9dac75ff5225608" 5LIC_FILES_CHKSUM = "file://debian/copyright;md5=e7b45429ef05610abf91ac199fdb3a6e"
6 6
7SRC_URI = "\ 7SRC_URI = "\
8 ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \ 8 ${DEBIAN_MIRROR}/main/d/debootstrap/debootstrap_${PV}.tar.gz \
9 file://0001-support-to-override-usr-sbin-and-usr-share.patch \ 9 file://0001-support-to-override-usr-sbin-and-usr-share.patch \
10 file://0002-support-to-override-usr-bin-arch-test.patch \ 10 file://0002-support-to-override-usr-bin-arch-test.patch \
11 file://0001-do-not-hardcode-the-full-path-of-dpkg.patch \ 11 file://0003-do-not-hardcode-the-full-path-of-dpkg.patch \
12" 12"
13 13
14SRC_URI[sha256sum] = "d963a465314ac0e8fd5392573def042e6663e8edf3d08ace4bbd0d27ee8431f7" 14SRC_URI[sha256sum] = "232ec755f4b1f445f829996885846abba6f1b6fd55d049476ab26ddd8c4b4e1b"
15 15
16S = "${WORKDIR}/debootstrap" 16S = "${UNPACKDIR}/debootstrap"
17 17
18DEPENDS = " \ 18DEPENDS = " \
19 virtual/fakeroot-native \ 19 virtual/fakeroot-native \
diff --git a/meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb b/meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb
index 2f0d8a3400..79252f94ae 100644
--- a/meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb
+++ b/meta-oe/recipes-devtools/dmalloc/dmalloc_5.5.2.bb
@@ -28,7 +28,6 @@ SRC_URI = "http://dmalloc.com/releases/dmalloc-${PV}.tgz \
28 file://0001-undefined-strdup-macro.patch \ 28 file://0001-undefined-strdup-macro.patch \
29" 29"
30 30
31SRC_URI[md5sum] = "f92e5606c23a8092f3d5694e8d1c932e"
32SRC_URI[sha256sum] = "d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a" 31SRC_URI[sha256sum] = "d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a"
33 32
34ARM_INSTRUCTION_SET = "arm" 33ARM_INSTRUCTION_SET = "arm"
diff --git a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
index 599675a345..bc558b7d62 100644
--- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
+++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_1.4.bb
@@ -10,7 +10,6 @@ SRC_URI:append:class-target = " file://oe-remote.repo.sample"
10 10
11inherit setuptools3-base 11inherit setuptools3-base
12 12
13S = "${WORKDIR}/git"
14 13
15do_install:append() { 14do_install:append() {
16 install -d ${D}${datadir}/dnf 15 install -d ${D}${datadir}/dnf
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch b/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch
deleted file mode 100644
index 47c8edb497..0000000000
--- a/meta-oe/recipes-devtools/doxygen/doxygen/0001-build-don-t-look-for-Iconv.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 24650b0c7db6b213a2eaa5061b75b9f1b43f1ce9 Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <brgl@bgdev.pl>
3Date: Fri, 23 Nov 2018 11:44:56 +0100
4Subject: [PATCH] build: don't look for Iconv
5
6Drop the find_package() for Iconv. CMake is unable to find iconv.h in
7native build but all modern systems supply it as part of the standard
8C library. We don't need this check in meta-openembedded.
9
10Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
11Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
12
13Upstream-Status: Inappropriate
14- upstream doxygen must build on many architectures, this change is
15 too intrusive for upstream
16---
17 CMakeLists.txt | 4 ----
18 1 file changed, 4 deletions(-)
19
20diff --git a/CMakeLists.txt b/CMakeLists.txt
21index 06b9696f..f30b46b8 100644
22--- a/CMakeLists.txt
23+++ b/CMakeLists.txt
24@@ -117,10 +117,6 @@ if (sqlite3)
25 endif()
26 endif()
27
28-find_package(Iconv REQUIRED)
29-include_directories(${ICONV_INCLUDE_DIR})
30-
31-
32 #set(DOXYDOCS ${PROJECT_SOURCE_DIR}/doc CACHE INTERNAL "Path to doxygen docs")
33 set(DOXYDOCS ${PROJECT_BINARY_DIR}/doc)
34 set(ENV{DOXYGEN_DOCDIR} ${DOXYDOCS})
35--
362.27.0
37
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch b/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch
deleted file mode 100644
index 796bc61ddc..0000000000
--- a/meta-oe/recipes-devtools/doxygen/doxygen/doxygen-native-only-check-python3.patch
+++ /dev/null
@@ -1,232 +0,0 @@
1From daf686508f2ee4711d93e96e5b100e50bf161656 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Wed, 26 Aug 2020 10:52:10 +0300
4Subject: [PATCH] doxygen: Fix Python issues for doxygen-native
5
6It fails to compile doxygen-native when /usr/bin/python is a link
7to python3 on build host:
8
9| Failed to import the site module
10| Traceback (most recent call last):
11| File "/usr/lib64/python3.6/site.py", line 564, in <module>
12| main()
13| File "/usr/lib64/python3.6/site.py", line 550, in main
14| known_paths = addusersitepackages(known_paths)
15| File "/usr/lib64/python3.6/site.py", line 282, in addusersitepackages
16| user_site = getusersitepackages()
17| File "/usr/lib64/python3.6/site.py", line 258, in getusersitepackages
18| user_base = getuserbase() # this will also set USER_BASE
19| File "/usr/lib64/python3.6/site.py", line 248, in getuserbase
20| USER_BASE = get_config_var('userbase')
21| File "/usr/lib64/python3.6/sysconfig.py", line 604, in get_config_var
22| return get_config_vars().get(name)
23| File "/usr/lib64/python3.6/sysconfig.py", line 553, in get_config_vars
24| _init_posix(_CONFIG_VARS)
25| File "/usr/lib64/python3.6/sysconfig.py", line 424, in _init_posix
26| _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
27| ModuleNotFoundError: No module named '_sysconfigdata'
28
29Replace find_package PythonInterp with Python3 to fix this issue
30that it uses python3 from python3-native. And it also replaces the
31result variable PYTHON_EXECUTABLE with Python3_EXECUTABLE.
32
33This patch is only needded by doxygen-native.
34
35Updated to apply to release 1.9.1.
36
37Upstream-Status: Inappropriate [oe specific]
38
39Co-Authored-By: Kai Kang <kai.kang@windriver.com>
40Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
41Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
42
43---
44 CMakeLists.txt | 2 +-
45 addon/doxywizard/CMakeLists.txt | 6 +++---
46 doc/CMakeLists.txt | 6 +++---
47 examples/CMakeLists.txt | 4 ++--
48 libmscgen/CMakeLists.txt | 2 +-
49 src/CMakeLists.txt | 10 +++++-----
50 testing/CMakeLists.txt | 4 ++--
51 7 files changed, 17 insertions(+), 17 deletions(-)
52
53diff --git a/CMakeLists.txt b/CMakeLists.txt
54index 2455793..28f0d83 100644
55--- a/CMakeLists.txt
56+++ b/CMakeLists.txt
57@@ -105,7 +105,7 @@ else ()
58 endif ()
59
60 find_program(DOT NAMES dot)
61-find_package(PythonInterp REQUIRED)
62+find_package(Python3 REQUIRED)
63 find_package(FLEX REQUIRED)
64 find_package(BISON REQUIRED)
65 if (BISON_VERSION VERSION_LESS 2.7)
66diff --git a/addon/doxywizard/CMakeLists.txt b/addon/doxywizard/CMakeLists.txt
67index 63ac8e3..d37d1d0 100644
68--- a/addon/doxywizard/CMakeLists.txt
69+++ b/addon/doxywizard/CMakeLists.txt
70@@ -57,7 +57,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/settings.h PROPERTIES GENERA
71
72 # generate version.cpp
73 add_custom_command(
74- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/version.py ${VERSION} > ${GENERATED_SRC_WIZARD}/version.cpp
75+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/version.py ${VERSION} > ${GENERATED_SRC_WIZARD}/version.cpp
76 DEPENDS ${PROJECT_SOURCE_DIR}/VERSION ${PROJECT_SOURCE_DIR}/src/version.py
77 OUTPUT ${GENERATED_SRC_WIZARD}/version.cpp
78 )
79@@ -65,7 +65,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/version.cpp PROPERTIES GENER
80
81 # generate configdoc.cpp
82 add_custom_command(
83- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/configgen.py -wiz ${PROJECT_SOURCE_DIR}/src/config.xml > ${GENERATED_SRC_WIZARD}/configdoc.cpp
84+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/configgen.py -wiz ${PROJECT_SOURCE_DIR}/src/config.xml > ${GENERATED_SRC_WIZARD}/configdoc.cpp
85 DEPENDS ${PROJECT_SOURCE_DIR}/src/configgen.py ${PROJECT_SOURCE_DIR}/src/config.xml
86 OUTPUT ${GENERATED_SRC_WIZARD}/configdoc.cpp
87 )
88@@ -74,7 +74,7 @@ set_source_files_properties(${GENERATED_SRC_WIZARD}/configdoc.cpp PROPERTIES GEN
89 set(LEX_FILES config_doxyw)
90 foreach(lex_file ${LEX_FILES})
91 add_custom_command(
92- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l > ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
93+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l > ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
94 DEPENDS ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/addon/doxywizard/${lex_file}.l
95 OUTPUT ${GENERATED_SRC_WIZARD}/${lex_file}.l.h
96 )
97diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
98index ec63ceb..49a2bda 100644
99--- a/doc/CMakeLists.txt
100+++ b/doc/CMakeLists.txt
101@@ -168,7 +168,7 @@ configure_file(${PROJECT_SOURCE_DIR}/doc/doxyindexer.1 ${PROJECT_BINARY_DIR
102
103 # doc/language.doc (see tag Doxyfile:INPUT)
104 add_custom_command(
105- COMMAND ${PYTHON_EXECUTABLE} translator.py ${PROJECT_SOURCE_DIR}
106+ COMMAND ${Python3_EXECUTABLE} translator.py ${PROJECT_SOURCE_DIR}
107 DEPENDS ${PROJECT_SOURCE_DIR}/doc/maintainers.txt ${PROJECT_SOURCE_DIR}/doc/language.tpl ${PROJECT_BINARY_DIR}/doc/translator.py ${LANG_FILES}
108 OUTPUT language.doc
109 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/doc
110@@ -177,7 +177,7 @@ set_source_files_properties(language.doc PROPERTIES GENERATED 1)
111
112 # doc/config.doc (see tag Doxyfile:INPUT)
113 add_custom_command(
114- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/src/configgen.py -doc ${TOP}/src/config.xml > config.doc
115+ COMMAND ${Python3_EXECUTABLE} ${TOP}/src/configgen.py -doc ${TOP}/src/config.xml > config.doc
116 DEPENDS ${TOP}/src/config.xml ${TOP}/src/configgen.py
117 OUTPUT config.doc
118 WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/doc/
119@@ -228,7 +228,7 @@ add_custom_target(docs_chm
120 COMMAND ${CMAKE_COMMAND} -E echo " for file in files:" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
121 COMMAND ${CMAKE_COMMAND} -E echo " if file.endswith('.html') or file.endswith('.png') or file.endswith('.css') or file.endswith('.gif'):" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
122 COMMAND ${CMAKE_COMMAND} -E echo " print(os.path.join(root, file))" >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py
123- COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm ${PYTHON_EXECUTABLE} ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual.hhp
124+ COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm ${Python3_EXECUTABLE} ${PROJECT_BINARY_DIR}/chm/doxygen_manual_examples_chm.py >> ${PROJECT_BINARY_DIR}/chm/doxygen_manual.hhp
125 COMMAND ${CMAKE_COMMAND} -E chdir ${PROJECT_BINARY_DIR}/chm "${HTML_HELP_COMPILER}" doxygen_manual.hhp || echo > nul
126 COMMAND ${CMAKE_COMMAND} -E rename ${PROJECT_BINARY_DIR}/chm/index.chm ${PROJECT_BINARY_DIR}/chm/doxygen_manual.chm
127 DEPENDS ${PROJECT_BINARY_DIR}/doc/language.doc ${PROJECT_BINARY_DIR}/doc/config.doc
128diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
129index 194b427..248b807 100644
130--- a/examples/CMakeLists.txt
131+++ b/examples/CMakeLists.txt
132@@ -54,7 +54,7 @@ foreach (f_inp ${BASIC_EXAMPLES})
133 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html/examples/${f}
134 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/latex/examples/${f}
135 COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen ${f}.cfg
136- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
137+ COMMAND ${Python3_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
138 DEPENDS doxygen ${f}.${f_ext} ${f}.cfg ${TOP}/examples/strip_example.py
139 OUTPUT ${PROJECT_BINARY_DIR}/html/examples/${f}/html/index.html ${PROJECT_BINARY_DIR}/latex/examples/${f}/latex/refman_doc.tex
140 )
141@@ -73,7 +73,7 @@ if (DOT)
142 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/html/examples/diagrams
143 COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_BINARY_DIR}/latex/examples/diagrams
144 COMMAND ${EXECUTABLE_OUTPUT_PATH}/doxygen diagrams.cfg
145- COMMAND ${PYTHON_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman.tex > ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman_doc.tex
146+ COMMAND ${Python3_EXECUTABLE} ${TOP}/examples/strip_example.py < ${PROJECT_BINARY_DIR}/html/examples/diagrams/latex/refman.tex > ${PROJECT_BINARY_DIR}/html/examples/diagrams/latex/refman_doc.tex
147 DEPENDS doxygen diagrams_a.h diagrams_b.h diagrams_c.h diagrams_d.h diagrams_e.h diagrams.cfg ${TOP}/examples/strip_example.py
148 OUTPUT ${PROJECT_BINARY_DIR}/html/examples/diagrams/html/index.html ${PROJECT_BINARY_DIR}/latex/examples/diagrams/latex/refman_doc.tex
149 )
150diff --git a/libmscgen/CMakeLists.txt b/libmscgen/CMakeLists.txt
151index 34cf4d8..f015afc 100644
152--- a/libmscgen/CMakeLists.txt
153+++ b/libmscgen/CMakeLists.txt
154@@ -7,7 +7,7 @@ include_directories(
155 set(LEX_FILES mscgen_lexer)
156 foreach(lex_file ${LEX_FILES})
157 add_custom_command(
158- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
159+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
160 DEPENDS ${PROJECT_SOURCE_DIR}/src/scan_states.py ${PROJECT_SOURCE_DIR}/libmscgen/${lex_file}.l
161 OUTPUT ${GENERATED_SRC}/${lex_file}.l.h
162 )
163diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
164index 0e0c5f7..c1d3ca5 100644
165--- a/src/CMakeLists.txt
166+++ b/src/CMakeLists.txt
167@@ -40,7 +40,7 @@ set_source_files_properties(${GENERATED_SRC}/settings.h PROPERTIES GENERATED 1)
168
169 # configvalues.h
170 add_custom_command(
171- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maph ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.h
172+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maph ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.h
173 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
174 OUTPUT ${GENERATED_SRC}/configvalues.h
175 )
176@@ -52,7 +52,7 @@ add_custom_target(
177
178 # configvalues.cpp
179 add_custom_command(
180- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maps ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.cpp
181+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -maps ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configvalues.cpp
182 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
183 OUTPUT ${GENERATED_SRC}/configvalues.cpp
184 )
185@@ -60,7 +60,7 @@ set_source_files_properties(${GENERATED_SRC}/configvalues.cpp PROPERTIES GENERAT
186
187 # configoptions.cpp
188 add_custom_command(
189- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -cpp ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configoptions.cpp
190+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/configgen.py -cpp ${CMAKE_CURRENT_LIST_DIR}/config.xml > ${GENERATED_SRC}/configoptions.cpp
191 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/config.xml ${CMAKE_CURRENT_LIST_DIR}/configgen.py
192 OUTPUT ${GENERATED_SRC}/configoptions.cpp
193 )
194@@ -95,7 +95,7 @@ endif()
195 # resources.cpp
196 add_custom_command(
197 COMMENT "Generating ${GENERATED_SRC}/resources.cpp"
198- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py ${PROJECT_SOURCE_DIR}/templates ${GENERATED_SRC}/resources.cpp
199+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py ${PROJECT_SOURCE_DIR}/templates ${GENERATED_SRC}/resources.cpp
200 DEPENDS ${RESOURCES} ${CMAKE_CURRENT_LIST_DIR}/res2cc_cmd.py
201 OUTPUT ${GENERATED_SRC}/resources.cpp
202 )
203@@ -126,7 +126,7 @@ foreach(lex_file ${LEX_FILES})
204 set(LEX_FILES_H ${LEX_FILES_H} " " ${GENERATED_SRC}/${lex_file}.l.h CACHE INTERNAL "Stores generated files")
205 set(LEX_FILES_CPP ${LEX_FILES_CPP} " " ${GENERATED_SRC}/${lex_file}.cpp CACHE INTERNAL "Stores generated files")
206 add_custom_command(
207- COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
208+ COMMAND ${Python3_EXECUTABLE} ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l > ${GENERATED_SRC}/${lex_file}.l.h
209 DEPENDS ${CMAKE_CURRENT_LIST_DIR}/scan_states.py ${CMAKE_CURRENT_LIST_DIR}/${lex_file}.l
210 OUTPUT ${GENERATED_SRC}/${lex_file}.l.h
211 )
212diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt
213index fd6912e..0af1865 100644
214--- a/testing/CMakeLists.txt
215+++ b/testing/CMakeLists.txt
216@@ -1,7 +1,7 @@
217 # run all tests sequentially (keep for backward compatibility)
218 add_custom_target(tests
219 COMMENT "Running doxygen tests..."
220- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
221+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --doxygen ${PROJECT_BINARY_DIR}/bin/doxygen --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
222 DEPENDS doxygen
223 )
224
225@@ -19,6 +19,6 @@ foreach(TEST_FILE ${TEST_FILES})
226 string(REGEX REPLACE "^.*/([0-9][0-9][0-9]*).*$" "\\1" TEST_ID "${TEST_FILE}")
227 # add a test target for each test
228 add_test(NAME ${TEST_NAME}
229- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
230+ COMMAND ${Python3_EXECUTABLE} ${PROJECT_SOURCE_DIR}/testing/runtests.py --id ${TEST_ID} --doxygen $<TARGET_FILE:doxygen> --inputdir ${PROJECT_SOURCE_DIR}/testing --outputdir ${PROJECT_BINARY_DIR}/testing
231 )
232 endforeach()
diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb b/meta-oe/recipes-devtools/doxygen/doxygen_1.14.0.bb
index 8bd0992bd6..512a63549e 100644
--- a/meta-oe/recipes-devtools/doxygen/doxygen_1.9.3.bb
+++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.14.0.bb
@@ -4,13 +4,16 @@ HOMEPAGE = "http://www.doxygen.org/"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6 6
7DEPENDS = "flex-native bison-native" 7DEPENDS = "bison-native flex-native"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \ 9SRC_URI = "\
10 file://0001-build-don-t-look-for-Iconv.patch \ 10 git://github.com/doxygen/doxygen.git;branch=master;protocol=https \
11" 11"
12SRC_URI:append:class-native = " file://doxygen-native-only-check-python3.patch" 12
13SRC_URI[sha256sum] = "f352dbc3221af7012b7b00935f2dfdc9fb67a97d43287d2f6c81c50449d254e0" 13SRCREV = "cbe58f6237b2238c9af7f51c6b7afb8bbf52c866"
14
15
16UPSTREAM_CHECK_GITTAGREGEX = "Release_(?P<pver>\d+(\_\d+)+)"
14 17
15inherit cmake python3native 18inherit cmake python3native
16 19
@@ -18,4 +21,5 @@ EXTRA_OECMAKE += "\
18 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ 21 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
19 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \ 22 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines' \
20" 23"
24
21BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.7.bb b/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb
index 2c594d229e..c6db2ef38c 100644
--- a/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.7.bb
+++ b/meta-oe/recipes-devtools/editorconfig/editorconfig-core-c_0.12.9.bb
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38f617473e9f7373b5e79baf437accf8"
6 6
7SRC_URI = "git://github.com/editorconfig/editorconfig-core-c.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/editorconfig/editorconfig-core-c.git;protocol=https;branch=master"
8 8
9S = "${WORKDIR}/git" 9SRCREV = "e082c947e7f7b14240195d55c060a6e1eda1b0a1"
10SRCREV = "fd8cf1e94ecf4e6e4493833f96140cf9bd17578e"
11 10
12inherit cmake 11inherit cmake
13 12
diff --git a/meta-oe/recipes-devtools/exprtk/exprtk_git.bb b/meta-oe/recipes-devtools/exprtk/exprtk_git.bb
index 4019f26899..bdaa39b402 100644
--- a/meta-oe/recipes-devtools/exprtk/exprtk_git.bb
+++ b/meta-oe/recipes-devtools/exprtk/exprtk_git.bb
@@ -1,13 +1,12 @@
1SUMMARY = "Expression parser" 1SUMMARY = "Expression parser"
2HOMEPAGE = "https://github.com/ArashPartow/exprtk" 2HOMEPAGE = "https://www.partow.net/programming/exprtk/index.html"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6SRCREV = "f46bffcd6966d38a09023fb37ba9335214c9b959" 6SRCREV = "a4b17d543f072d2e3ba564e4bc5c3a0d2b05c338"
7 7
8SRC_URI = "git://github.com/ArashPartow/exprtk.git;branch=release;protocol=https" 8SRC_URI = "git://github.com/ArashPartow/exprtk.git;branch=release;protocol=https"
9 9
10S = "${WORKDIR}/git"
11 10
12# other packages commonly reference the file directly as "exprtk.hpp" 11# other packages commonly reference the file directly as "exprtk.hpp"
13# create symlink to allow this usage 12# create symlink to allow this usage
diff --git a/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb b/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
index a4cd7ad157..83e9383d4a 100644
--- a/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
+++ b/meta-oe/recipes-devtools/extract-cert/extract-cert_0.3.bb
@@ -7,7 +7,6 @@ DEPENDS = "openssl"
7SRC_URI = "git://git.pengutronix.de/git/extract-cert;protocol=https;branch=master;" 7SRC_URI = "git://git.pengutronix.de/git/extract-cert;protocol=https;branch=master;"
8SRCREV = "d652b4e8279aef2a85f58676ab472744bafeafc9" 8SRCREV = "d652b4e8279aef2a85f58676ab472744bafeafc9"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit meson pkgconfig 11inherit meson pkgconfig
13 12
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
index 183554e2c8..c51a49ba01 100644
--- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
@@ -13,7 +13,6 @@ DEPENDS = "flatbuffers-native"
13RDEPENDS:${PN}-compiler = "${PN}" 13RDEPENDS:${PN}-compiler = "${PN}"
14RDEPENDS:${PN}-dev += "${PN}-compiler" 14RDEPENDS:${PN}-dev += "${PN}-compiler"
15 15
16S = "${WORKDIR}/git"
17 16
18EXTRA_OECMAKE += " \ 17EXTRA_OECMAKE += " \
19 -DFLATBUFFERS_BUILD_TESTS=OFF \ 18 -DFLATBUFFERS_BUILD_TESTS=OFF \
@@ -23,6 +22,11 @@ EXTRA_OECMAKE:append:class-target = " -DFLATBUFFERS_FLATC_EXECUTABLE=${STAGING_B
23 22
24inherit cmake python3native 23inherit cmake python3native
25 24
25rm_flatc_cmaketarget_for_target() {
26 rm -f "${SYSROOT_DESTDIR}/${libdir}/cmake/flatbuffers/FlatcTargets.cmake"
27}
28SYSROOT_PREPROCESS_FUNCS:class-target += "rm_flatc_cmaketarget_for_target"
29
26FILES:${PN}-compiler = "${bindir}" 30FILES:${PN}-compiler = "${bindir}"
27 31
28BBCLASSEXTEND = "native nativesdk" 32BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
index 8f6c4c68f1..36b448a41c 100644
--- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
@@ -1,3 +1,3 @@
1PV = "24.3.25" 1PV = "25.2.10"
2SRCREV = "595bf0007ab1929570c7671f091313c8fc20644e" 2SRCREV = "1c514626e83c20fffa8557e75641848e1e15cd5e"
3SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https" 3SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https"
diff --git a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
index 5d3c73fd9a..feb206f27c 100644
--- a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7require flatbuffers.inc 7require flatbuffers.inc
8 8
9S = "${WORKDIR}/git/python" 9S = "${UNPACKDIR}/${BP}/python"
10 10
11RDEPENDS:${PN} = "flatbuffers" 11RDEPENDS:${PN} = "flatbuffers"
12 12
13inherit setuptools3 13inherit setuptools3
14 14
15BBCLASSEXTEND = "native" 15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
index 2530dac526..2565e3b9bd 100644
--- a/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
+++ b/meta-oe/recipes-devtools/flatcc/flatcc_git.bb
@@ -14,7 +14,6 @@ SRC_URI = " \
14" 14"
15SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196" 15SRCREV = "1653ec964730ec7d9892a08a1695ada6d20f5196"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit cmake 18inherit cmake
20 19
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins/0001-projectorganizer-fix-invalid-string-comparison.patch b/meta-oe/recipes-devtools/geany/geany-plugins/0001-projectorganizer-fix-invalid-string-comparison.patch
new file mode 100644
index 0000000000..5a0650aec1
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany-plugins/0001-projectorganizer-fix-invalid-string-comparison.patch
@@ -0,0 +1,24 @@
1From 8dfd7f2cba428f5eb232fbbe3427c64171bae0f4 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= <techet@gmail.com>
3Date: Tue, 5 Mar 2024 18:36:37 +0100
4Subject: [PATCH 1/3] projectorganizer: fix invalid string comparison
5
6Upstream-Status: Backport [https://github.com/geany/geany-plugins/commit/8dfd7f2cba428f5eb232fbbe3427c64171bae0f4]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 projectorganizer/src/prjorg-sidebar.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/projectorganizer/src/prjorg-sidebar.c b/projectorganizer/src/prjorg-sidebar.c
13index b6422f0..0139473 100644
14--- a/projectorganizer/src/prjorg-sidebar.c
15+++ b/projectorganizer/src/prjorg-sidebar.c
16@@ -346,7 +346,7 @@ static gchar *get_fallback_dir_of_selection(void)
17 {
18 locale_path = g_path_get_dirname(doc->real_path);
19
20- if (locale_path && locale_path == '.')
21+ if (locale_path && *locale_path == '.')
22 {
23 g_free(locale_path);
24 locale_path = NULL;
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins/0002-projectorganizer-fix-various-warnings.patch b/meta-oe/recipes-devtools/geany/geany-plugins/0002-projectorganizer-fix-various-warnings.patch
new file mode 100644
index 0000000000..c70f4d6e15
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany-plugins/0002-projectorganizer-fix-various-warnings.patch
@@ -0,0 +1,45 @@
1From 58d47e60bdcec62fe74b4a38eaf39d16a9c80d42 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= <techet@gmail.com>
3Date: Tue, 5 Mar 2024 18:40:10 +0100
4Subject: [PATCH 2/3] projectorganizer: fix various warnings
5
6Upstream-Status: Backport [https://github.com/geany/geany-plugins/commit/58d47e60bdcec62fe74b4a38eaf39d16a9c80d42]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 projectorganizer/src/prjorg-sidebar.c | 9 +++------
10 1 file changed, 3 insertions(+), 6 deletions(-)
11
12diff --git a/projectorganizer/src/prjorg-sidebar.c b/projectorganizer/src/prjorg-sidebar.c
13index 0139473..e67cce2 100644
14--- a/projectorganizer/src/prjorg-sidebar.c
15+++ b/projectorganizer/src/prjorg-sidebar.c
16@@ -382,7 +382,8 @@ void on_open_file_manager(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gp
17
18 if (locale_path)
19 {
20- gchar *command, *open_command;
21+ const gchar *open_command;
22+ gchar *command;
23
24 open_command = PRJORG_COMMAND_OPEN;
25 command = g_strconcat (open_command, " \"", locale_path, "\"", NULL);
26@@ -1562,7 +1563,7 @@ gchar **prjorg_sidebar_get_expanded_paths(void)
27 (GtkTreeViewMappingFunc)on_map_expanded, expanded_paths);
28 g_ptr_array_add(expanded_paths, NULL);
29
30- return g_ptr_array_free(expanded_paths, FALSE);
31+ return (gchar **)g_ptr_array_free(expanded_paths, FALSE);
32 }
33
34
35@@ -1587,10 +1588,6 @@ void prjorg_sidebar_update_full(gboolean reload, gchar **expanded_paths)
36
37 if (reload)
38 {
39- GtkTreeSelection *treesel;
40- GtkTreeIter iter;
41- GtkTreeModel *model;
42-
43 expand_data->expanded_paths = expanded_paths != NULL ? expanded_paths : prjorg_sidebar_get_expanded_paths();
44 expand_data->selected_path = get_selected_path();
45
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins/0003-projectorganizer-Use-g_pattern_spec_match_string-ins.patch b/meta-oe/recipes-devtools/geany/geany-plugins/0003-projectorganizer-Use-g_pattern_spec_match_string-ins.patch
new file mode 100644
index 0000000000..4c4e11c6cd
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany-plugins/0003-projectorganizer-Use-g_pattern_spec_match_string-ins.patch
@@ -0,0 +1,89 @@
1From a4a7c4af7f62eb55c0bd100ed1d308e6512a66ce Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ji=C5=99=C3=AD=20Techet?= <techet@gmail.com>
3Date: Tue, 23 Apr 2024 18:43:51 +0200
4Subject: [PATCH 3/3] projectorganizer: Use g_pattern_spec_match_string() instead of g_pattern_match_string()
5
6Eliminates a warning on newer glib versions. Adds a fallback on older versions.
7
8Upstream-Status: Backport [https://github.com/geany/geany-plugins/commit/a4a7c4af7f62eb55c0bd100ed1d308e6512a66ce]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 projectorganizer/src/prjorg-project.c | 2 +-
12 projectorganizer/src/prjorg-sidebar.c | 4 ++--
13 projectorganizer/src/prjorg-utils.c | 4 ++--
14 projectorganizer/src/prjorg-utils.h | 5 +++++
15 4 files changed, 10 insertions(+), 5 deletions(-)
16
17diff --git a/projectorganizer/src/prjorg-project.c b/projectorganizer/src/prjorg-project.c
18index a767ab8..71dc6e1 100644
19--- a/projectorganizer/src/prjorg-project.c
20+++ b/projectorganizer/src/prjorg-project.c
21@@ -216,7 +216,7 @@ static gboolean match_basename(gconstpointer pft, gconstpointer user_data)
22 {
23 GPatternSpec *pattern = g_pattern_spec_new(ft->pattern[j]);
24
25- if (g_pattern_match_string(pattern, utf8_base_filename))
26+ if (g_pattern_spec_match_string(pattern, utf8_base_filename))
27 {
28 ret = TRUE;
29 g_pattern_spec_free(pattern);
30diff --git a/projectorganizer/src/prjorg-sidebar.c b/projectorganizer/src/prjorg-sidebar.c
31index e67cce2..b7536ee 100644
32--- a/projectorganizer/src/prjorg-sidebar.c
33+++ b/projectorganizer/src/prjorg-sidebar.c
34@@ -657,7 +657,7 @@ static void find_file_recursive(GtkTreeIter *iter, gboolean case_sensitive, gboo
35 if (!case_sensitive)
36 SETPTR(utf8_name, g_utf8_strdown(utf8_name, -1));
37
38- if (g_pattern_match_string(pattern, utf8_name))
39+ if (g_pattern_spec_match_string(pattern, utf8_name))
40 {
41 gchar *utf8_base_path = get_project_base_path();
42 gchar *utf8_path, *rel_path;
43@@ -840,7 +840,7 @@ static gboolean match(TMTag *tag, const gchar *name, gboolean declaration, gbool
44 matches = g_strcmp0(name_case, name) == 0;
45 break;
46 case MATCH_PATTERN:
47- matches = g_pattern_match_string(pspec, name_case);
48+ matches = g_pattern_spec_match_string(pspec, name_case);
49 break;
50 case MATCH_PREFIX:
51 matches = g_str_has_prefix(name_case, name);
52diff --git a/projectorganizer/src/prjorg-utils.c b/projectorganizer/src/prjorg-utils.c
53index 2a8847e..0b573e5 100644
54--- a/projectorganizer/src/prjorg-utils.c
55+++ b/projectorganizer/src/prjorg-utils.c
56@@ -80,7 +80,7 @@ gboolean patterns_match(GSList *patterns, const gchar *str)
57 foreach_slist (elem, patterns)
58 {
59 GPatternSpec *pattern = elem->data;
60- if (g_pattern_match_string(pattern, str))
61+ if (g_pattern_spec_match_string(pattern, str))
62 return TRUE;
63 }
64 return FALSE;
65@@ -269,7 +269,7 @@ gchar *try_find_header_source(gchar *utf8_file_name, gboolean is_header, GSList
66 full_name = elem->data;
67 gchar *base_name = g_path_get_basename(full_name);
68
69- if (g_pattern_match_string(pattern, base_name))
70+ if (g_pattern_spec_match_string(pattern, base_name))
71 {
72 if ((is_header && patterns_match(source_patterns, base_name)) ||
73 (!is_header && patterns_match(header_patterns, base_name)))
74diff --git a/projectorganizer/src/prjorg-utils.h b/projectorganizer/src/prjorg-utils.h
75index c3719a9..50ed123 100644
76--- a/projectorganizer/src/prjorg-utils.h
77+++ b/projectorganizer/src/prjorg-utils.h
78@@ -19,6 +19,11 @@
79 #ifndef __PRJORG_UTILS_H__
80 #define __PRJORG_UTILS_H__
81
82+
83+ #if ! GLIB_CHECK_VERSION(2, 70, 0)
84+ # define g_pattern_spec_match_string g_pattern_match_string
85+ #endif
86+
87 gchar *get_relative_path(const gchar *utf8_parent, const gchar *utf8_descendant);
88
89 gboolean patterns_match(GSList *patterns, const gchar *str);
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch b/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch
new file mode 100644
index 0000000000..563416bf92
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany-plugins/geany-plugins-2.0-gcc15.patch
@@ -0,0 +1,30 @@
1Fix build with GCC-15
2
3Upstream-Status: Backport [https://github.com/geany/geany-plugins/pull/1389]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/git-changebar/src/gcb-plugin.c
6+++ b/git-changebar/src/gcb-plugin.c
7@@ -1410,9 +1410,9 @@ read_setting_boolean (GKeyFile *kf,
8 const gchar *key,
9 gpointer value)
10 {
11- gboolean *bool = value;
12+ gboolean *boolean = value;
13
14- *bool = utils_get_setting_boolean (kf, group, key, *bool);
15+ *boolean = utils_get_setting_boolean (kf, group, key, *boolean);
16 }
17
18 static void
19@@ -1421,9 +1421,9 @@ write_setting_boolean (GKeyFile *kf,
20 const gchar *key,
21 gconstpointer value)
22 {
23- const gboolean *bool = value;
24+ const gboolean *boolean = value;
25
26- g_key_file_set_boolean (kf, group, key, *bool);
27+ g_key_file_set_boolean (kf, group, key, *boolean);
28 }
29
30 /* loads @filename in @kf and return %FALSE if failed, emitting a warning
diff --git a/meta-oe/recipes-devtools/geany/geany-plugins_1.38.bb b/meta-oe/recipes-devtools/geany/geany-plugins_2.0.bb
index 1ed2993bf0..9a19e5dc98 100644
--- a/meta-oe/recipes-devtools/geany/geany-plugins_1.38.bb
+++ b/meta-oe/recipes-devtools/geany/geany-plugins_2.0.bb
@@ -15,7 +15,7 @@ DEPENDS = " \
15 fribidi \ 15 fribidi \
16 geany \ 16 geany \
17 libxml2 \ 17 libxml2 \
18 libsoup-2.4 \ 18 libsoup \
19 enchant2 \ 19 enchant2 \
20 intltool-native \ 20 intltool-native \
21 libassuan \ 21 libassuan \
@@ -30,12 +30,12 @@ REQUIRED_DISTRO_FEATURES = "x11"
30 30
31SRC_URI = " \ 31SRC_URI = " \
32 https://plugins.geany.org/${BPN}/${BP}.tar.bz2 \ 32 https://plugins.geany.org/${BPN}/${BP}.tar.bz2 \
33 file://0001-Use-pkg-config-to-find-gpgme.patch \ 33 file://geany-plugins-2.0-gcc15.patch \
34 file://0001-git-changebar-Adjust-structs-for-libgit2-1.4.x.patch \ 34 file://0001-projectorganizer-fix-invalid-string-comparison.patch \
35 file://0001-geany.m4-Do-not-tinker-with-pkg-config-paths.patch \ 35 file://0002-projectorganizer-fix-various-warnings.patch \
36 file://0001-scope-Use-0-instead-of-NULL-for-gboolean.patch \ 36 file://0003-projectorganizer-Use-g_pattern_spec_match_string-ins.patch \
37" 37"
38SRC_URI[sha256sum] = "1c578a7ebb390aa8882f195acd3d8da3ceb73925d291b28dec90cd3e5fd20586" 38SRC_URI[sha256sum] = "9fc2ec5c99a74678fb9e8cdfbd245d3e2061a448d70fd110a6aefb62dd514705"
39 39
40do_configure:prepend() { 40do_configure:prepend() {
41 rm -f ${S}/build/cache/glib-gettext.m4 41 rm -f ${S}/build/cache/glib-gettext.m4
@@ -75,8 +75,6 @@ PLUGINS += "${PN}-defineformat"
75LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe" 75LIC_FILES_CHKSUM += "file://defineformat/COPYING;md5=751419260aa954499f7abaabaa882bbe"
76FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so" 76FILES:${PN}-defineformat = "${libdir}/geany/defineformat.so"
77 77
78# no gnome devhelp in some common layer
79EXTRA_OECONF += "--disable-devhelp"
80#PLUGINS += "${PN}-devhelp" 78#PLUGINS += "${PN}-devhelp"
81#LIC_FILES_CHKSUM += "file://devhelp/COPYING;md5=d32239bcb673463ab874e80d47fae504" 79#LIC_FILES_CHKSUM += "file://devhelp/COPYING;md5=d32239bcb673463ab874e80d47fae504"
82#LICENSE:${PN}-devhelp = "GPLv3" 80#LICENSE:${PN}-devhelp = "GPLv3"
@@ -165,8 +163,6 @@ EXTRA_OECONF += "--disable-peg-markdown"
165#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 163#LIC_FILES_CHKSUM += "file://markdown/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
166#FILES:${PN}-markdown = "${libdir}/geany/markdown.so" 164#FILES:${PN}-markdown = "${libdir}/geany/markdown.so"
167 165
168# | checking whether the GTK version in use is compatible with plugin multiterm... no
169EXTRA_OECONF += "--disable-multiterm"
170#PLUGINS += "${PN}-multiterm" 166#PLUGINS += "${PN}-multiterm"
171#LIC_FILES_CHKSUM += "file://multiterm/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 167#LIC_FILES_CHKSUM += "file://multiterm/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
172#FILES:${PN}-multiterm = "${libdir}/geany/multiterm.so" 168#FILES:${PN}-multiterm = "${libdir}/geany/multiterm.so"
diff --git a/meta-oe/recipes-devtools/geany/geany/0001-configure-Upgrade-to-a-modern-Gettext.patch b/meta-oe/recipes-devtools/geany/geany/0001-configure-Upgrade-to-a-modern-Gettext.patch
index b966847195..e6db688974 100644
--- a/meta-oe/recipes-devtools/geany/geany/0001-configure-Upgrade-to-a-modern-Gettext.patch
+++ b/meta-oe/recipes-devtools/geany/geany/0001-configure-Upgrade-to-a-modern-Gettext.patch
@@ -11,12 +11,11 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 11
12--- a/configure.ac 12--- a/configure.ac
13+++ b/configure.ac 13+++ b/configure.ac
14@@ -8,7 +8,7 @@ AC_CONFIG_AUX_DIR([build-aux]) 14@@ -9,6 +9,7 @@ AC_CONFIG_MACRO_DIR([m4])
15 AC_CONFIG_MACRO_DIR([m4])
16 AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests subdir-objects]) 15 AM_INIT_AUTOMAKE([1.11 -Wall parallel-tests subdir-objects])
17 AC_CONFIG_HEADERS([config.h]) 16 AC_CONFIG_HEADERS([config.h])
18-
19+AC_PROG_INTLTOOL
20 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
21 17
22 GEANY_PREFIX 18+AC_PROG_INTLTOOL
19 # Silence "AC_LINK_IFELSE before AC_USE_SYSTEM_EXTENSIONS" warnings
20 # Note: Enables _GNU_SOURCE on Linux
21 AC_USE_SYSTEM_EXTENSIONS
diff --git a/meta-oe/recipes-devtools/geany/geany/geany-2.0-gcc15.patch b/meta-oe/recipes-devtools/geany/geany/geany-2.0-gcc15.patch
new file mode 100644
index 0000000000..2886b73d22
--- /dev/null
+++ b/meta-oe/recipes-devtools/geany/geany/geany-2.0-gcc15.patch
@@ -0,0 +1,146 @@
1Fix build with GCC-15
2
3Upstream-Status: Backport [https://sourceforge.net/p/scintilla/code/ci/c7ffad21b23dfad4e8e9f36bb587acc2f6e84fee/]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6--- a/scintilla/gtk/PlatGTK.cxx
7+++ b/scintilla/gtk/PlatGTK.cxx
8@@ -5,6 +5,7 @@
9
10 #include <cstddef>
11 #include <cstdlib>
12+#include <cstdint>
13 #include <cstring>
14 #include <cstdio>
15 #include <cmath>
16--- a/scintilla/src/AutoComplete.cxx
17+++ b/scintilla/src/AutoComplete.cxx
18@@ -7,6 +7,7 @@
19
20 #include <cstddef>
21 #include <cstdlib>
22+#include <cstdint>
23 #include <cassert>
24 #include <cstring>
25 #include <cstdio>
26--- a/scintilla/src/CallTip.cxx
27+++ b/scintilla/src/CallTip.cxx
28@@ -7,6 +7,7 @@
29
30 #include <cstddef>
31 #include <cstdlib>
32+#include <cstdint>
33 #include <cassert>
34 #include <cstring>
35 #include <cstdio>
36--- a/scintilla/src/CellBuffer.cxx
37+++ b/scintilla/src/CellBuffer.cxx
38@@ -7,6 +7,7 @@
39
40 #include <cstddef>
41 #include <cstdlib>
42+#include <cstdint>
43 #include <cassert>
44 #include <cstring>
45 #include <cstdio>
46--- a/scintilla/src/ChangeHistory.cxx
47+++ b/scintilla/src/ChangeHistory.cxx
48@@ -7,6 +7,7 @@
49
50 #include <cstddef>
51 #include <cstdlib>
52+#include <cstdint>
53 #include <cassert>
54
55 #include <stdexcept>
56--- a/scintilla/src/Decoration.cxx
57+++ b/scintilla/src/Decoration.cxx
58@@ -6,6 +6,7 @@
59
60 #include <cstddef>
61 #include <cstdlib>
62+#include <cstdint>
63 #include <cstring>
64 #include <cstdio>
65 #include <cstdarg>
66--- a/scintilla/src/Document.cxx
67+++ b/scintilla/src/Document.cxx
68@@ -7,6 +7,7 @@
69
70 #include <cstddef>
71 #include <cstdlib>
72+#include <cstdint>
73 #include <cassert>
74 #include <cstring>
75 #include <cstdio>
76--- a/scintilla/src/Indicator.cxx
77+++ b/scintilla/src/Indicator.cxx
78@@ -5,6 +5,7 @@
79 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
80 // The License.txt file describes the conditions under which this software may be distributed.
81
82+#include <cstdint>
83 #include <cmath>
84
85 #include <stdexcept>
86--- a/scintilla/src/KeyMap.cxx
87+++ b/scintilla/src/KeyMap.cxx
88@@ -6,6 +6,7 @@
89 // The License.txt file describes the conditions under which this software may be distributed.
90
91 #include <cstdlib>
92+#include <cstdint>
93
94 #include <stdexcept>
95 #include <string_view>
96--- a/scintilla/src/LineMarker.cxx
97+++ b/scintilla/src/LineMarker.cxx
98@@ -5,6 +5,7 @@
99 // Copyright 1998-2011 by Neil Hodgson <neilh@scintilla.org>
100 // The License.txt file describes the conditions under which this software may be distributed.
101
102+#include <cstdint>
103 #include <cstring>
104 #include <cmath>
105
106--- a/scintilla/src/PerLine.cxx
107+++ b/scintilla/src/PerLine.cxx
108@@ -6,6 +6,7 @@
109 // The License.txt file describes the conditions under which this software may be distributed.
110
111 #include <cstddef>
112+#include <cstdint>
113 #include <cassert>
114 #include <cstring>
115
116--- a/scintilla/src/Style.cxx
117+++ b/scintilla/src/Style.cxx
118@@ -5,6 +5,8 @@
119 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
120 // The License.txt file describes the conditions under which this software may be distributed.
121
122+#include <cstdint>
123+
124 #include <stdexcept>
125 #include <string_view>
126 #include <vector>
127--- a/scintilla/src/ViewStyle.cxx
128+++ b/scintilla/src/ViewStyle.cxx
129@@ -6,6 +6,7 @@
130 // The License.txt file describes the conditions under which this software may be distributed.
131
132 #include <cstddef>
133+#include <cstdint>
134 #include <cassert>
135 #include <cstring>
136 #include <cmath>
137--- a/scintilla/src/XPM.cxx
138+++ b/scintilla/src/XPM.cxx
139@@ -6,6 +6,7 @@
140 // The License.txt file describes the conditions under which this software may be distributed.
141
142 #include <cstdlib>
143+#include <cstdint>
144 #include <cstring>
145 #include <climits>
146
diff --git a/meta-oe/recipes-devtools/geany/geany_1.38.bb b/meta-oe/recipes-devtools/geany/geany_2.0.bb
index d75e3b57fb..4b51195e08 100644
--- a/meta-oe/recipes-devtools/geany/geany_1.38.bb
+++ b/meta-oe/recipes-devtools/geany/geany_2.0.bb
@@ -11,8 +11,9 @@ REQUIRED_DISTRO_FEATURES = "x11"
11 11
12SRC_URI = "https://download.geany.org/${BP}.tar.bz2 \ 12SRC_URI = "https://download.geany.org/${BP}.tar.bz2 \
13 file://0001-configure-Upgrade-to-a-modern-Gettext.patch \ 13 file://0001-configure-Upgrade-to-a-modern-Gettext.patch \
14 file://geany-2.0-gcc15.patch \
14 " 15 "
15SRC_URI[sha256sum] = "abff176e4d48bea35ee53037c49c82f90b6d4c23e69aed6e4a5ca8ccd3aad546" 16SRC_URI[sha256sum] = "565b4cd2f0311c1e3a167ec71c4a32dba642e0fe554ae5bb6b8177b7a74ccc92"
16 17
17FILES:${PN} += "${datadir}/icons" 18FILES:${PN} += "${datadir}/icons"
18 19
diff --git a/meta-oe/recipes-devtools/giflib/files/add_suffix_to_convert_binary_used_in_Makefile.patch b/meta-oe/recipes-devtools/giflib/files/add_suffix_to_convert_binary_used_in_Makefile.patch
deleted file mode 100644
index a01b28ac6d..0000000000
--- a/meta-oe/recipes-devtools/giflib/files/add_suffix_to_convert_binary_used_in_Makefile.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1Subject: Modify binary name "convert" to "convert.im7"
2
3The change is needed to resolve the below compilation error
4after giflib version upgrade. Log data follows:
5| DEBUG: Executing shell function do_compile
6| NOTE: make -j 8
7| make -C doc
8| make[1]: Entering directory '../giflib/5.2.2/giflib-5.2.2/doc'
9| convert ../pic/gifgrid.gif -resize 50x50 giflib-logo.gif
10| make[1]: convert: No such file or directory
11| make[1]: *** [Makefile:46: giflib-logo.gif] Error 127
12| make[1]: Leaving directory '../giflib/5.2.2/giflib-5.2.2/doc'
13| make: *** [Makefile:93: all] Error 2
14| ERROR: oe_runmake failed
15
16Added dependency on ImageMagick which includes "convert" utility,
17to ensure availability of required tool during compilation process.
18
19This patch updates the binary name used in Makefile from
20"convert" to "convert.im7" for resizing the logo image used in HTML
21documentation as Imagemagick installs binary in this format.
22
23Below commits justify the cause of adding the suffix to binaries
24provided by ImageMagic package:
25https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/imagemagick?id=dcbb49f707e7ad9bf755dd3275ffc442154b8144
26https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-support/imagemagick?id=6e0c24e9b3f9d430dec57f61f8c12c74bca5375d
27
28Signed-off-by: Bhabu Bindu <bhabubindu@kpit.com>
29Upstream-Status: Inappropriate [OE specific]
30
31===================================================================
32--- a/doc/Makefile
33+++ b/doc/Makefile
34@@ -43,7 +43,7 @@
35
36 # Logo image file for HTML docs
37 giflib-logo.gif: ../pic/gifgrid.gif
38- convert $^ -resize 50x50 $@
39+ convert.im7 $^ -resize 50x50 $@
40
41 # Philosophical choice: the website gets the internal manual pages
42 allhtml: $(XMLALL:.xml=.html) giflib-logo.gif
diff --git a/meta-oe/recipes-devtools/giflib/giflib/0001-Makefile-fix-typo-in-soname-argument.patch b/meta-oe/recipes-devtools/giflib/giflib/0001-Makefile-fix-typo-in-soname-argument.patch
new file mode 100644
index 0000000000..dc87ed60b9
--- /dev/null
+++ b/meta-oe/recipes-devtools/giflib/giflib/0001-Makefile-fix-typo-in-soname-argument.patch
@@ -0,0 +1,34 @@
1From 7f0cd4b6b56183b0afbefd01425e5ebd2b8733b4 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Mon, 8 Jul 2024 13:18:11 +0200
4Subject: [PATCH] Makefile: fix typo in soname argument
5
6* introduced in:
7 https://sourceforge.net/p/giflib/code/ci/b65c7ac2905c0842e7977a7b51d83af4486ca7b8/
8 there is no LIBUTILMAJOR variable only LIBUTILSOMAJOR leading to:
9
10 ld: fatal error: -soname: must take a non-empty argument
11 collect2: error: ld returned 1 exit status
12
13 with some linkers like GOLD
14
15Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
16---
17Upstream-Status: Submitted [https://sourceforge.net/p/giflib/code/merge-requests/17/]
18
19 Makefile | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/Makefile b/Makefile
23index 87966a9..41b149e 100644
24--- a/Makefile
25+++ b/Makefile
26@@ -109,7 +109,7 @@ $(LIBUTILSO): $(UOBJECTS) $(UHEADERS)
27 ifeq ($(UNAME), Darwin)
28 $(CC) $(CFLAGS) -dynamiclib -current_version $(LIBVER) $(OBJECTS) -o $(LIBUTILSO)
29 else
30- $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,$(LIBUTILMAJOR) -o $(LIBUTILSO) $(UOBJECTS)
31+ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,$(LIBUTILSOMAJOR) -o $(LIBUTILSO) $(UOBJECTS)
32 endif
33
34 libutil.a: $(UOBJECTS) $(UHEADERS)
diff --git a/meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb b/meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb
index 7d8a175fe3..aa47f93095 100644
--- a/meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb
+++ b/meta-oe/recipes-devtools/giflib/giflib_5.2.2.bb
@@ -5,14 +5,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ae11c61b04b2917be39b11f78d71519a"
5 5
6CVE_PRODUCT = "giflib_project:giflib" 6CVE_PRODUCT = "giflib_project:giflib"
7 7
8DEPENDS = "xmlto-native imagemagick-native" 8DEPENDS = "xmlto-native"
9 9
10SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.gz \ 10SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.gz \
11 file://add_suffix_to_convert_binary_used_in_Makefile.patch" 11 https://sourceforge.net/p/giflib/code/ci/d54b45b0240d455bbaedee4be5203d2703e59967/tree/doc/giflib-logo.gif?format=raw;subdir=${BP}/doc;name=logo;downloadfilename=giflib-logo.gif \
12 file://0001-Makefile-fix-typo-in-soname-argument.patch \
13"
12 14
15SRC_URI[logo.sha256sum] = "1a54383986adad1521d00e003b4c482c27e8bc60690be944a1f3319c75abc2c9"
13SRC_URI[sha256sum] = "be7ffbd057cadebe2aa144542fd90c6838c6a083b5e8a9048b8ee3b66b29d5fb" 16SRC_URI[sha256sum] = "be7ffbd057cadebe2aa144542fd90c6838c6a083b5e8a9048b8ee3b66b29d5fb"
14 17
15
16do_install() { 18do_install() {
17 # using autotools's default will end up in /usr/local 19 # using autotools's default will end up in /usr/local
18 oe_runmake DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} install 20 oe_runmake DESTDIR=${D} PREFIX=${prefix} LIBDIR=${libdir} install
diff --git a/meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch b/meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch
new file mode 100644
index 0000000000..ae44862ccf
--- /dev/null
+++ b/meta-oe/recipes-devtools/glade/glade/CVE-2020-36774.patch
@@ -0,0 +1,54 @@
1From 8f1ed202ad21c787ec406f531905b4cda64fb13c Mon Sep 17 00:00:00 2001
2From: Juan Pablo Ugarte <juanpablougarte@gmail.com>
3Date: Fri, 2 Oct 2020 16:08:23 -0300
4Subject: [PATCH] GladeGtkBox: fix glade_gtk_box_post_create
5
6Some widgets with contruct properties like GtkMessageDialog get
7rebuilt right after they are created on project loading so we need
8to check glade_project_is_loading() intead of GLADE_CREATE_LOAD
9and use the object ad the connect data to make sure it gets disconected
10if it was the object being rebuilt
11
12Fix issue #479 "Glade 3.36.0 segfaults when opening a file"
13
14CVE: CVE-2020-36774
15Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/glade/-/commit/7acdd3c6f6934f47b8974ebc2190a59ea5d2ed17]
16
17Signed-off-by: Peng Zhang <peng.zhang1.cn@windriver.com>
18---
19 plugins/gtk+/glade-gtk-box.c | 8 ++++----
20 1 file changed, 4 insertions(+), 4 deletions(-)
21
22diff --git a/plugins/gtk+/glade-gtk-box.c b/plugins/gtk+/glade-gtk-box.c
23index 1153c957..c995524e 100644
24--- a/plugins/gtk+/glade-gtk-box.c
25+++ b/plugins/gtk+/glade-gtk-box.c
26@@ -57,9 +57,9 @@ glade_gtk_box_create_editable (GladeWidgetAdaptor *adaptor,
27 }
28
29 static void
30-glade_gtk_box_parse_finished (GladeProject *project, GladeWidget *gbox)
31+glade_gtk_box_parse_finished (GladeProject *project, GObject *box)
32 {
33- GObject *box = glade_widget_get_object (gbox);
34+ GladeWidget *gbox = glade_widget_get_from_gobject (box);
35
36 glade_widget_property_set (gbox, "use-center-child",
37 gtk_box_get_center_widget (GTK_BOX (box)) != NULL);
38@@ -86,11 +86,11 @@ glade_gtk_box_post_create (GladeWidgetAdaptor *adaptor,
39 g_signal_connect (G_OBJECT (gwidget), "configure-end",
40 G_CALLBACK (glade_gtk_box_configure_end), container);
41
42- if (reason == GLADE_CREATE_LOAD)
43+ if (glade_project_is_loading (project))
44 {
45 g_signal_connect_object (project, "parse-finished",
46 G_CALLBACK (glade_gtk_box_parse_finished),
47- gwidget, 0);
48+ container, 0);
49 }
50 }
51
52--
532.34.1
54
diff --git a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb b/meta-oe/recipes-devtools/glade/glade_3.36.0.bb
index d11751a4b2..3645de3cc3 100644
--- a/meta-oe/recipes-devtools/glade/glade_3.22.2.bb
+++ b/meta-oe/recipes-devtools/glade/glade_3.36.0.bb
@@ -1,26 +1,33 @@
1SUMMARY = "Glade - A User Interface Designer" 1SUMMARY = "Glade - A User Interface Designer"
2HOMEPAGE = "http://www.gnu.org/software/gnash" 2HOMEPAGE = "https://glade.gnome.org"
3LICENSE = "GPL-2.0-only & LGPL-2.0-only" 3LICENSE = "GPL-2.0-only & LGPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
5 file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ 5 file://COPYING.GPL;md5=4641e94ec96f98fabc56ff9cc48be14b \
6 file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475" 6 file://COPYING.LGPL;md5=81227099add6b483afd7b1d4fc4e93b7"
7DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \ 7DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native itstool-native \
8 gnome-common-native \ 8 gnome-common-native \
9 autoconf-archive-native \ 9 autoconf-archive-native \
10" 10"
11GNOMEBASEBUILDCLASS = "autotools" 11GNOMEBASEBUILDCLASS = "autotools"
12inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg gtk-doc 12inherit features_check autotools gettext pkgconfig gnomebase gobject-introspection mime-xdg gtk-doc
13 13
14# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. 14# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
15# cairo would at least needed to be built with xlib. 15# cairo would at least needed to be built with xlib.
16ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 16ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
17 17
18SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade/3.22/glade-${PV}.tar.xz \ 18SRC_URI = "${GNOME_MIRROR}/glade/3.36/glade-${PV}.tar.xz \
19 file://remove-yelp-help-rules-var.patch \ 19 file://remove-yelp-help-rules-var.patch \
20 file://CVE-2020-36774.patch \
20 " 21 "
21SRC_URI[md5sum] = "c074fa378c8f1ad80d20133c4ae6f42d" 22SRC_URI[sha256sum] = "19b546b527cc46213ccfc8022d49ec57e618fe2caa9aa51db2d2862233ea6f08"
22SRC_URI[sha256sum] = "edefa6eb24b4d15bd52589121dc109bc08c286157c41288deb74dd9cc3f26a21"
23 23
24EXTRA_OECONF += "--disable-man-pages" 24EXTRA_OECONF += "--disable-man-pages"
25 25
26FILES:${PN} += "${datadir}/glade ${datadir}/metainfo ${libdir}/glade/modules/libgladegtk.so" 26FILES:${PN} += "${datadir}/glade ${datadir}/metainfo ${libdir}/glade/modules/libgladegtk.so"
27
28
29
30
31
32
33
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.60.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb
index 63c696a623..53867b8fe6 100644
--- a/meta-oe/recipes-devtools/grpc/grpc_1.60.1.bb
+++ b/meta-oe/recipes-devtools/grpc/grpc_1.71.0.bb
@@ -3,11 +3,15 @@ Provides gRPC libraries for multiple languages written on top of shared C core l
3(C++, Node.js, Python, Ruby, Objective-C, PHP, C#)" 3(C++, Node.js, Python, Ruby, Objective-C, PHP, C#)"
4HOMEPAGE = "https://github.com/grpc/grpc" 4HOMEPAGE = "https://github.com/grpc/grpc"
5SECTION = "libs" 5SECTION = "libs"
6LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0" 6LICENSE = "Apache-2.0 & BSD-3-Clause & MPL-2.0 & MIT & BSD-2-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" 7LIC_FILES_CHKSUM = " \
8 file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \
9 file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \
10 file://third_party/xxhash/LICENSE;md5=cdfe7764d5685d8e08b3df302885d7f3 \
11"
8 12
9DEPENDS = "c-ares protobuf protobuf-native openssl libnsl2 abseil-cpp re2 zlib" 13DEPENDS = "abseil-cpp c-ares openssl protobuf protobuf-native re2 zlib"
10DEPENDS:append:class-target = " googletest grpc-native " 14DEPENDS:append:class-target = " grpc-native"
11DEPENDS:append:class-nativesdk = " grpc-native " 15DEPENDS:append:class-nativesdk = " grpc-native "
12 16
13PACKAGE_BEFORE_PN = "${PN}-compiler" 17PACKAGE_BEFORE_PN = "${PN}-compiler"
@@ -19,14 +23,11 @@ RDEPENDS:${PN}-dev:append:class-native = " ${PN}-compiler"
19# Both dependencies are mutually exclusive 23# Both dependencies are mutually exclusive
20# RDEPENDS:${PN}-dev += "${PN}-compiler" 24# RDEPENDS:${PN}-dev += "${PN}-compiler"
21 25
22S = "${WORKDIR}/git" 26SRCREV_grpc = "4e9357bca1408596663a218c0c608a4c0560a867"
23SRCREV_grpc = "e5ae3b6b44bf3b64d24bfb4b4f82556239b986db" 27BRANCH = "v1.71.x"
24BRANCH = "v1.60.x"
25SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \ 28SRC_URI = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=${BRANCH} \
26 file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \ 29 file://0001-cmake-Link-with-libatomic-on-rv32-rv64.patch \
27 " 30 "
28# Fixes build with older compilers 4.8 especially on ubuntu 14.04
29CXXFLAGS:append:class-native = " -Wl,--no-as-needed"
30 31
31inherit cmake pkgconfig 32inherit cmake pkgconfig
32 33
@@ -52,7 +53,7 @@ PACKAGECONFIG[objective-c] = "-DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=ON,-DgRPC_BUI
52PACKAGECONFIG[php] = "-DgRPC_BUILD_GRPC_PHP_PLUGIN=ON,-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF" 53PACKAGECONFIG[php] = "-DgRPC_BUILD_GRPC_PHP_PLUGIN=ON,-DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF"
53PACKAGECONFIG[python] = "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=ON,-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF" 54PACKAGECONFIG[python] = "-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=ON,-DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF"
54PACKAGECONFIG[ruby] = "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=ON,-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF" 55PACKAGECONFIG[ruby] = "-DgRPC_BUILD_GRPC_RUBY_PLUGIN=ON,-DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF"
55PACKAGECONFIG[protobuf-lite] = "-DgRPC_USE_PROTO_LITE=ON,-DgRPC_USE_PROTO_LITE=OFF,protobuf-lite" 56PACKAGECONFIG[protobuf-lite] = "-DgRPC_USE_PROTO_LITE=ON,-DgRPC_USE_PROTO_LITE=OFF"
56PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,," 57PACKAGECONFIG[shared] = "-DBUILD_SHARED_LIBS=ON,-DBUILD_SHARED_LIBS=OFF,,"
57 58
58do_configure:prepend() { 59do_configure:prepend() {
diff --git a/meta-oe/recipes-devtools/guider/guider_3.9.8.bb b/meta-oe/recipes-devtools/guider/guider_3.9.9.bb
index 0d93297a07..27f39ed1e1 100644
--- a/meta-oe/recipes-devtools/guider/guider_3.9.8.bb
+++ b/meta-oe/recipes-devtools/guider/guider_3.9.9.bb
@@ -1,16 +1,15 @@
1SUMMARY = "performance analyzer" 1SUMMARY = "unified performance analyzer"
2HOMEPAGE = "https://github.com/iipeace/guider" 2HOMEPAGE = "https://github.com/iipeace/guider"
3BUGTRACKER = "https://github.com/iipeace/guider/issues" 3BUGTRACKER = "https://github.com/iipeace/guider/issues"
4 4
5LICENSE = "GPL-2.0-or-later" 5LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2"
7 7
8PV = "3.9.8+git" 8PV = "3.9.9"
9 9
10SRC_URI = "git://github.com/iipeace/${BPN};branch=master;protocol=https" 10SRC_URI = "git://github.com/iipeace/${BPN};branch=master;protocol=https;tag=versions/${PV}"
11SRCREV = "a502cd93b13235b7539557a91328de00b7c51bc3" 11SRCREV = "118ab61773463e56dedc78f5cf6723b97a4ad946"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit setuptools3 14inherit setuptools3
16 15
diff --git a/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb b/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb
index be2c0f5394..3aca51ee3e 100644
--- a/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb
+++ b/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb
@@ -19,7 +19,6 @@ SRC_URI = "git://github.com/KDE/heaptrack.git;protocol=https;branch=master \
19 19
20SRCREV = "bc9e3744bcc47de978673d1e382f4125a1ab5fa8" 20SRCREV = "bc9e3744bcc47de978673d1e382f4125a1ab5fa8"
21 21
22S = "${WORKDIR}/git"
23 22
24inherit cmake 23inherit cmake
25 24
@@ -30,3 +29,33 @@ COMPATIBLE_HOST:riscv32 = "null"
30COMPATIBLE_HOST:riscv64 = "null" 29COMPATIBLE_HOST:riscv64 = "null"
31 30
32BBCLASSEXTEND = "native" 31BBCLASSEXTEND = "native"
32
33# http://errors.yoctoproject.org/Errors/Details/766879/
34# buildResult:
35# variable: "LIBUNWIND_HAS_UNW_BACKTRACE"
36# cached: true
37# stdout: |
38# Change Dir: '/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build/CMakeFiles/CMakeScratch/TryCompile-kguYrO'
39#
40# Run Build Command(s): ninja -v cmTC_51d86
41# [1/2] ccache /OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/aarch64-webos-linux-gcc --sysroot=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot -DLIBUNWIND_HAS_UNW_BACKTRACE -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/git=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/git=/usr/src/debug/heaptrack/1.2.0 -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot= -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot= -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot-native= -o CMakeFiles/cmTC_51d86.dir/src.c.o -c /OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build/CMakeFiles/CMakeScratch/TryCompile-kguYrO/src.c
42# FAILED: CMakeFiles/cmTC_51d86.dir/src.c.o
43# ccache /OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot-native/usr/bin/aarch64-webos-linux/aarch64-webos-linux-gcc --sysroot=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot -DLIBUNWIND_HAS_UNW_BACKTRACE -mcpu=cortex-a72+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/git=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/git=/usr/src/debug/heaptrack/1.2.0 -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build=/usr/src/debug/heaptrack/1.2.0 -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot= -fmacro-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot= -fdebug-prefix-map=/OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/recipe-sysroot-native= -o CMakeFiles/cmTC_51d86.dir/src.c.o -c /OE/lge/build/webos/styhead/BUILD/work/raspberrypi4_64-webos-linux/heaptrack/1.2.0/build/CMakeFiles/CMakeScratch/TryCompile-kguYrO/src.c
44# src.c: In function 'main':
45# src.c:3:43: error: passing argument 1 of 'unw_backtrace' from incompatible pointer type [-Wincompatible-pointer-types]
46# 3 | int main() { void* buf[10]; unw_backtrace(&buf, 10); return 0; }
47# | ^~~~
48# | |
49# | void * (*)[10]
50# In file included from ../../../../recipe-sysroot/usr/include/libunwind-aarch64.h:232,
51# from ../../../../recipe-sysroot/usr/include/libunwind-64.h:7,
52# from ../../../../recipe-sysroot/usr/include/libunwind.h:27,
53# from src.c:2:
54# ../../../../recipe-sysroot/usr/include/libunwind-common.h:290:27: note: expected 'void **' but argument is of type 'void * (*)[10]'
55# 290 | extern int unw_backtrace (void **, int);
56# | ^~~~~~~
57# ninja: build stopped: subcommand failed.
58#
59# exitCode: 1
60#
61CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-devtools/icon-slicer/files/hotspotfix.patch b/meta-oe/recipes-devtools/icon-slicer/files/hotspotfix.patch
new file mode 100644
index 0000000000..1f8730aba0
--- /dev/null
+++ b/meta-oe/recipes-devtools/icon-slicer/files/hotspotfix.patch
@@ -0,0 +1,27 @@
1Description: Fix hotspot y coordinate
2Author: Tim Swast <tswast@gmail.com>
3
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6--- a/src/main.c
7+++ b/src/main.c
8@@ -103,7 +103,7 @@
9 if (n_channels == 3)
10 {
11 out->x = start_x;
12- out->y = start_x;
13+ out->y = start_y;
14 out->width = source->gridsize;
15 out->height = source->gridsize;
16
17@@ -137,8 +137,8 @@
18 {
19 min_x = start_x + i;
20 max_x = start_x + i + 1;
21- min_y = start_y + i;
22- max_y = start_y + i + 1;
23+ min_y = start_y + j;
24+ max_y = start_y + j + 1;
25
26 found = TRUE;
27 }
diff --git a/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb b/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
index 8e7b0ba5a0..f9ae4de0fb 100644
--- a/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
+++ b/meta-oe/recipes-devtools/icon-slicer/icon-slicer_0.3.bb
@@ -1,13 +1,16 @@
1LICENSE = "GPL-2.0-only" 1LICENSE = "GPL-2.0-only"
2LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 2LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
3 3
4DEPENDS = "gdk-pixbuf popt" 4DEPENDS = "gdk-pixbuf popt xcursorgen"
5 5
6SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BPN}-${PV}.tar.gz \ 6SRC_URI = "http://freedesktop.org/software/${BPN}/releases/${BPN}-${PV}.tar.gz \
7 file://0001-Makefile.am-no-examples.patch" 7 file://0001-Makefile.am-no-examples.patch \
8SRC_URI[md5sum] = "5c5374d4f265b0abe4daef1d03f87104" 8 file://hotspotfix.patch \
9 "
9SRC_URI[sha256sum] = "05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d" 10SRC_URI[sha256sum] = "05f0216dd0c25a17859de66357f64da5033375b6fbf5f31ca54867311160b64d"
10 11
11inherit autotools pkgconfig 12inherit autotools pkgconfig features_check
13# because of xcursorgen dependency
14REQUIRED_DISTRO_FEATURES = "x11"
12 15
13BBCLASSEXTEND = "native" 16BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
index cc21c8beae..aa1f417604 100644
--- a/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
+++ b/meta-oe/recipes-devtools/jemalloc/jemalloc_5.3.0.bb
@@ -20,7 +20,6 @@ SRCREV = "630434bb0ac619f7beec927569782d924c459385"
20PV_LONG := "${PV}-171-g${SRCREV}" 20PV_LONG := "${PV}-171-g${SRCREV}"
21PV .= "+git" 21PV .= "+git"
22 22
23S = "${WORKDIR}/git"
24 23
25inherit autotools ptest 24inherit autotools ptest
26 25
diff --git a/meta-oe/recipes-devtools/jq/jq_1.7.1.bb b/meta-oe/recipes-devtools/jq/jq_1.8.0.bb
index 6b12335513..af35324b5f 100644
--- a/meta-oe/recipes-devtools/jq/jq_1.7.1.bb
+++ b/meta-oe/recipes-devtools/jq/jq_1.8.0.bb
@@ -6,13 +6,13 @@ HOMEPAGE = "https://jqlang.github.io/jq/"
6BUGTRACKER = "https://github.com/jqlang/jq/issues" 6BUGTRACKER = "https://github.com/jqlang/jq/issues"
7SECTION = "utils" 7SECTION = "utils"
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=488f4e0b04c0456337fb70d1ac1758ba" 9LIC_FILES_CHKSUM = "file://COPYING;md5=08ffb5ac7e7e6bfc66968b89f01f512a"
10 10
11GITHUB_BASE_URI = "https://github.com/jqlang/${BPN}/releases/" 11GITHUB_BASE_URI = "https://github.com/jqlang/${BPN}/releases/"
12SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz \ 12SRC_URI = "${GITHUB_BASE_URI}/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15SRC_URI[sha256sum] = "478c9ca129fd2e3443fe27314b455e211e0d8c60bc8ff7df703873deeee580c2" 15SRC_URI[sha256sum] = "91811577f91d9a6195ff50c2bffec9b72c8429dc05ec3ea022fd95c06d2b319c"
16 16
17inherit autotools github-releases ptest 17inherit autotools github-releases ptest
18 18
diff --git a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb
index 02dcdb2696..241fd328d8 100644
--- a/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb
+++ b/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.2.0.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/pboettch/json-schema-validator;branch=main;protocol=
11 11
12SRCREV = "6b17782d6a5d1dee5d2c4fc5d25ffb1123913431" 12SRCREV = "6b17782d6a5d1dee5d2c4fc5d25ffb1123913431"
13 13
14S = "${WORKDIR}/git"
15 14
16DEPENDS += "nlohmann-json" 15DEPENDS += "nlohmann-json"
17 16
diff --git a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
index d6e42c81d5..56ddaf59a5 100644
--- a/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
+++ b/meta-oe/recipes-devtools/json-spirit/json-spirit_4.08.bb
@@ -16,7 +16,7 @@ SRC_URI = "file://json_spirit_v${PV}.zip \
16 file://0001-Link-to-libatomic.patch \ 16 file://0001-Link-to-libatomic.patch \
17" 17"
18 18
19S = "${WORKDIR}/json_spirit_v${PV}" 19S = "${UNPACKDIR}/json_spirit_v${PV}"
20 20
21inherit cmake 21inherit cmake
22 22
diff --git a/meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.5.bb b/meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.6.bb
index c54dc94666..f68ffd2c0f 100644
--- a/meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.5.bb
+++ b/meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.6.bb
@@ -13,13 +13,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926"
13 13
14PE = "1" 14PE = "1"
15 15
16SRCREV = "5defb4ed1a4293b8e2bf641e16b156fb9de498cc" 16SRCREV = "89e2973c754a9c02a49974d839779b151e95afd6"
17SRC_URI = "git://github.com/open-source-parsers/jsoncpp;branch=master;protocol=https" 17SRC_URI = "git://github.com/open-source-parsers/jsoncpp;branch=master;protocol=https"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit cmake 20inherit cmake
22 21
23EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF" 22EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DBUILD_OBJECT_LIBS=OFF -DJSONCPP_WITH_TESTS=OFF"
24 23
25BBCLASSEXTEND = "native" 24BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.4.1.bb b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.4.1.bb
index 544922f05d..ae86e20a4a 100644
--- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.4.1.bb
+++ b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.4.1.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp;branch=master;protocol=http
13 13
14SRCREV = "ec5ce12fc9c0299e1454cc002c70218b5a6f005b" 14SRCREV = "ec5ce12fc9c0299e1454cc002c70218b5a6f005b"
15 15
16S = "${WORKDIR}/git"
17 16
18PACKAGECONFIG ?= "" 17PACKAGECONFIG ?= ""
19PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,," 18PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,,"
@@ -25,4 +24,8 @@ EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO
25 -DCMAKE_LIBRARY_PATH=${libdir} \ 24 -DCMAKE_LIBRARY_PATH=${libdir} \
26" 25"
27 26
27do_install:append() {
28 sed -i -e 's#${RECIPE_SYSROOT}#\${CMAKE_SYSROOT}#g' ${D}${libdir}/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake
29}
30
28FILES:${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake" 31FILES:${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake"
diff --git a/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.0.bb b/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.1.bb
index 19424337f7..5ad953d260 100644
--- a/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.0.bb
+++ b/meta-oe/recipes-devtools/jwt-cpp/jwt-cpp_0.7.1.bb
@@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8325a5ce4414c65ffdda392e0d96a9ff"
7SRC_URI = "git://github.com/Thalhammer/jwt-cpp.git;branch=master;protocol=https \ 7SRC_URI = "git://github.com/Thalhammer/jwt-cpp.git;branch=master;protocol=https \
8 " 8 "
9 9
10SRCREV = "08bcf77a687fb06e34138e9e9fa12a4ecbe12332" 10SRCREV = "e71e0c2d584baff06925bbb3aad683f677e4d498"
11 11
12S = "${WORKDIR}/git"
13 12
14DEPENDS = "openssl" 13DEPENDS = "openssl"
15 14
diff --git a/meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb b/meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb
index b894f0ba03..43a61908f5 100644
--- a/meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb
+++ b/meta-oe/recipes-devtools/kconfig-frontends/kconfig-frontends_4.11.0.1.bb
@@ -20,7 +20,9 @@ SRC_URI = "git://gitlab.com/ymorin/kconfig-frontends.git;protocol=https;branch=4
20 20
21SRCREV = "f22fce3a308be1c7790ebefc6bbedb33c5f7c86a" 21SRCREV = "f22fce3a308be1c7790ebefc6bbedb33c5f7c86a"
22 22
23S = "${WORKDIR}/git" 23# Upstream repo does not tag
24UPSTREAM_CHECK_COMMITS = "1"
25
24 26
25inherit autotools pkgconfig 27inherit autotools pkgconfig
26do_configure:prepend () { 28do_configure:prepend () {
diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb b/meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb
deleted file mode 100644
index fef9d3a80e..0000000000
--- a/meta-oe/recipes-devtools/lapack/lapack_3.12.0.bb
+++ /dev/null
@@ -1,59 +0,0 @@
1SUMMARY = "Linear Algebra PACKage"
2URL = "http://www.netlib.org/lapack"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d0e7a458f9fcbf0a3ba97cef3128b85d"
5
6# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
7# Enabling FORTRAN
8# Note this is not officially supported and is just illustrated here to
9# show an example of how it can be done
10# You'll also need your fortran recipe to depend on libgfortran
11#FORTRAN:forcevariable = ",fortran"
12#RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"
13
14DEPENDS = "libgfortran \
15 ${@bb.utils.contains('PTEST_ENABLED', '1', 'rsync-native', '', d)} \
16 "
17RDEPENDS:${PN}-ptest += "cmake"
18
19SRCREV = "04b044e020a3560ccfa9988c8a80a1fb7083fc2e"
20SRC_URI = "git://github.com/Reference-LAPACK/lapack.git;protocol=https;branch=master \
21 ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
22 "
23S = "${WORKDIR}/git"
24
25PACKAGECONFIG ?= ""
26PACKAGECONFIG[lapacke] = "-DLAPACKE=ON,-DLAPACKE=OFF"
27
28EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON \
29 ${@bb.utils.contains('PTEST_ENABLED', '1', ' -DBUILD_TESTING=ON', '', d)} \
30 "
31OECMAKE_GENERATOR = "Unix Makefiles"
32
33inherit cmake pkgconfig ptest
34EXCLUDE_FROM_WORLD = "1"
35
36do_install_ptest () {
37 rsync -a ${B}/TESTING ${D}${PTEST_PATH} \
38 --exclude CMakeFiles \
39 --exclude cmake_install.cmake \
40 --exclude Makefile
41 rsync -a ${B}/BLAS ${D}${PTEST_PATH} \
42 --exclude CMakeFiles \
43 --exclude cmake_install.cmake \
44 --exclude Makefile
45 rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \
46 --exclude CMakeFiles \
47 --exclude cmake_install.cmake \
48 --exclude Makefile
49 cp -r ${B}/bin ${D}${PTEST_PATH}
50 cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH}
51 cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}
52 cp ${S}/TESTING/*.in ${S}/TESTING/runtest.cmake ${D}${PTEST_PATH}/TESTING
53 cp ${S}/BLAS/TESTING/*.in ${D}${PTEST_PATH}/BLAS/TESTING
54 sed -i -e 's#${B}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
55 sed -i -e 's#${S}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
56 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
57 sed -i -e 's#${PYTHON}#/usr/bin/python3#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
58 sed -i -e 's#${WORKDIR}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
59}
diff --git a/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
new file mode 100644
index 0000000000..63069b4b83
--- /dev/null
+++ b/meta-oe/recipes-devtools/lapack/lapack_3.12.1.bb
@@ -0,0 +1,105 @@
1SUMMARY = "Linear Algebra PACKage"
2URL = "http://www.netlib.org/lapack"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d0e7a458f9fcbf0a3ba97cef3128b85d"
5
6# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
7# Enabling FORTRAN
8# Note this is not officially supported and is just illustrated here to
9# show an example of how it can be done
10# You'll also need your fortran recipe to depend on libgfortran
11#FORTRAN:forcevariable = ",fortran"
12#RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"
13
14DEPENDS = "libgfortran \
15 ${@bb.utils.contains('PTEST_ENABLED', '1', 'rsync-native', '', d)} \
16 "
17RDEPENDS:${PN}-ptest += "cmake"
18
19SRCREV = "5ebe92156143a341ab7b14bf76560d30093cfc54"
20SRC_URI = "git://github.com/Reference-LAPACK/lapack.git;protocol=https;branch=master \
21 ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
22 "
23
24PACKAGECONFIG ?= ""
25PACKAGECONFIG[lapacke] = "-DLAPACKE=ON,-DLAPACKE=OFF"
26PACKAGECONFIG[cblas] = "-DCBLAS=ON,-DCBLAS=OFF"
27
28EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON \
29 ${@bb.utils.contains('PTEST_ENABLED', '1', ' -DBUILD_TESTING=ON', '', d)} \
30 "
31OECMAKE_GENERATOR = "Unix Makefiles"
32
33inherit cmake pkgconfig ptest
34EXCLUDE_FROM_WORLD = "1"
35
36# The `xerbla.o` file contains an absolute path in `xerbla.f.o`, but the options
37# `-fdebug-prefix-map` and `-ffile-prefix-map` cannot be used because gfortran does
38# not support them. And we cannot easily change CMake to use relative paths, because
39# it will convert them to absolute paths when generating Unix Makefiles or Ninja:
40# https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#why-does-cmake-use-full-paths-or-can-i-copy-my-build-tree
41# https://gitlab.kitware.com/cmake/cmake/-/issues/13894
42#
43# To address this issue, we manually replace the absolute path with a relative path
44# in the generated `build.make` file.
45#
46# An issue has been reported: https://github.com/Reference-LAPACK/lapack/issues/1087,
47# requesting a fix in the source code.
48#
49# This workaround resolves the TMPDIR [buildpaths] issue by converting the absolute path
50# of `xerbla.f` to a relative path. The steps are as follows:
51#
52# 1. Locate all `build.make` files after the `do_configure` step is completed.
53# 2. Compute the relative path for various `*.f` files based on the current build directory.
54# 3. Replace the absolute path with the calculated relative path in the `build.make` files
55#
56# Additionally, when ptests are enabled, apply a simpler workaround for ptest code:
57# - Replace occurrences of `${WORKDIR}` in all `build.make` files under the TESTING directory, excluding
58# the MATGEN subdirectory, with a relative path prefix of `"../../.."`.
59do_configure:append(){
60 for file in `find ${B} -name build.make`; do
61 # Replacing all .f files found with:
62 # for f in $(find ${S} -name \*.f -printf " %f" | sort -u); do
63 # would be more reliable with other optional PACKAGECONFIGs, but also very slow as there are
64 # ~ 3500 of them and this loop takes around 20 minutes
65 for f in xerbla.f c_cblat1.f c_cblat2.f c_cblat3.f c_dblat1.f c_dblat2.f c_dblat3.f c_sblat1.f c_sblat2.f c_sblat3.f c_zblat1.f c_zblat2.f c_zblat3.f cchkdmd.f90 dchkdmd.f90 schkdmd.f90 zchkdmd.f90; do
66 sed -i -e "s#\(.*-c \).*\(/$f \)#\1$(grep "\-c .*$f" $file | awk -F'cd ' '{print $2}'| \
67 awk "{src=\$1; sub(/.*-c /, \"\"); sub(/$f.*/, \"\"); obj=\$0; print src, obj}" | \
68 while read src obj; do echo "$(realpath --relative-to="$src" "$obj")"; done)\2#g" $file
69 done
70 done
71 if ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)} ; then
72 for file in `find . -name build.make -path '*TESTING*' -not -path '*MATGEN*'`; do
73 sed -i -e "s#\(.*-c \)\(${WORKDIR}\)\(.*.[f|F] \)#\1../../..\3#g" $file
74 done
75 fi
76}
77
78do_install_ptest () {
79 rsync -a ${B}/TESTING ${D}${PTEST_PATH} \
80 --exclude CMakeFiles \
81 --exclude cmake_install.cmake \
82 --exclude Makefile
83 rsync -a ${B}/BLAS ${D}${PTEST_PATH} \
84 --exclude CMakeFiles \
85 --exclude cmake_install.cmake \
86 --exclude Makefile
87 rsync -a ${B}/LAPACKE ${D}${PTEST_PATH} \
88 --exclude CMakeFiles \
89 --exclude cmake_install.cmake \
90 --exclude Makefile \
91 --exclude lapacke.pc
92 cp -r ${B}/bin ${D}${PTEST_PATH}
93 cp -r ${B}/lapack_testing.py ${D}${PTEST_PATH}
94 cp ${B}/CTestTestfile.cmake ${D}${PTEST_PATH}
95 cp ${S}/TESTING/*.in ${S}/TESTING/runtest.cmake ${D}${PTEST_PATH}/TESTING
96 cp ${S}/BLAS/TESTING/*.in ${D}${PTEST_PATH}/BLAS/TESTING
97 sed -i -e 's#${B}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
98 sed -i -e 's#${S}#${PTEST_PATH}#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
99 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
100 sed -i -e 's#${PYTHON}#/usr/bin/python3#g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
101 sed -i -e 's#${WORKDIR}##g' `find ${D}${PTEST_PATH} -name CTestTestfile.cmake`
102}
103
104# It needs fortran compiler and we do not enable fortran with clang yet
105TOOLCHAIN = "gcc"
diff --git a/meta-oe/recipes-devtools/ldns/ldns_1.8.3.bb b/meta-oe/recipes-devtools/ldns/ldns_1.8.4.bb
index 16816e62d8..f071f579df 100644
--- a/meta-oe/recipes-devtools/ldns/ldns_1.8.3.bb
+++ b/meta-oe/recipes-devtools/ldns/ldns_1.8.4.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=34330f15b2b4abbbaaa7623f79a6a019"
5 5
6SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz" 6SRC_URI = "https://www.nlnetlabs.nl/downloads/ldns/ldns-${PV}.tar.gz"
7SRC_URI[sha256sum] = "c3f72dd1036b2907e3a56e6acf9dfb2e551256b3c1bbd9787942deeeb70e7860" 7SRC_URI[sha256sum] = "838b907594baaff1cd767e95466a7745998ae64bc74be038dccc62e2de2e4247"
8 8
9DEPENDS = "openssl" 9DEPENDS = "openssl"
10 10
@@ -19,5 +19,6 @@ do_install:append() {
19 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \ 19 sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
20 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \ 20 -e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
21 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \ 21 -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
22 -i ${D}${libdir}/pkgconfig/*.pc 22 -e 's@${RECIPE_SYSROOT}@@g' \
23 -i ${D}${libdir}/pkgconfig/*.pc ${D}${bindir}/ldns-config
23} 24}
diff --git a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
index 2904a454dc..8a8491b76b 100644
--- a/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
+++ b/meta-oe/recipes-devtools/lemon/lemon_3.44.2.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/sqlite/sqlite;protocol=https;branch=branch-3.44"
9 9
10SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b" 10SRCREV = "c8f9803dc32bfee78a9ca2b1abbe39499729219b"
11 11
12S = "${WORKDIR}/git"
13 12
14do_compile() { 13do_compile() {
15 ${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon 14 ${CC} ${CFLAGS} ${LDFLAGS} tool/lemon.c -o lemon
diff --git a/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch b/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch
new file mode 100644
index 0000000000..7c500e0b54
--- /dev/null
+++ b/meta-oe/recipes-devtools/libabigail/libabigail/0001-Check-for-correct-fts-module.patch
@@ -0,0 +1,91 @@
1From 0db4af09f1bf4456527b5f6ec60fc1305e770c4c Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Tue, 9 Jul 2024 15:19:35 +0100
4Subject: [PATCH] configure.ac: improve fts checks
5
6The current code checks explicitly for musl and if so uses pkg-config to
7find fts-standalone. This is suboptimal because musl may not be the only
8libc to need a standalone fts implementation, and fts-standalone is an
9old gentoo-specific name[1] so libabigail won't build on any other system
10against musl.
11
12Instead, use AC_SEARCH_LIBS to look for fts_open in libc then libfts. Do
13this before the check for behaviour just in case someone has a standalone
14and broken implementation. I assume that the standalone fts is installed
15on the standard search path, which should be a fair assumption.
16
17As we're not using pkg-config anymore the required link flags are now in
18LIBS, so remove all instances of FTS_CFLAGS and FTS_LIBS.
19
20[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-libs/fts-standalone?id=a403fe6c61d1aaeecd58d521f3def2f6d3513449
21
22Upstream-Status: Submitted [https://sourceware.org/pipermail/libabigail/2024q3/005973.html]
23Signed-off-by: Ross Burton <ross.burton@arm.com>
24---
25 configure.ac | 9 ++++-----
26 src/Makefile.am | 4 ++--
27 tools/Makefile.am | 2 --
28 3 files changed, 6 insertions(+), 9 deletions(-)
29
30diff --git a/configure.ac b/configure.ac
31index e118a9c0..0aff2ec2 100644
32--- a/configure.ac
33+++ b/configure.ac
34@@ -281,6 +281,10 @@ fi
35
36 AC_SUBST(VISIBILITY_FLAGS)
37
38+# glibc and BSD include fts into their libc, but musl does not so check if we
39+# need to explicitly link to the standalone musl-fts.
40+AC_SEARCH_LIBS([fts_open], [fts])
41+
42 dnl Older glibc had a broken fts that didn't work with Large File Systems.
43 dnl We want the version that can handler LFS, but include workaround if we
44 dnl get a bad one. Add define to CFLAGS (not AC_DEFINE it) since we need to
45@@ -295,11 +299,6 @@ AS_IF([test "x$ac_cv_bad_fts" = "xyes"],
46 [CFLAGS="$CFLAGS -DBAD_FTS=1",
47 CXXFLAGS="$CXXFLAGS -DBAD_FTS=1"])
48
49-dnl On musl, we need to find fts-standalone
50-AS_CASE(
51- [${host_os}], [*-musl*], [
52- PKG_CHECK_MODULES([FTS], [fts-standalone])
53-])
54
55 dnl Check for dependency: libelf, libdw, libebl (elfutils)
56 dnl Note that we need to use at least elfutils 0.159 but
57diff --git a/src/Makefile.am b/src/Makefile.am
58index 3044c136..1c98bf84 100644
59--- a/src/Makefile.am
60+++ b/src/Makefile.am
61@@ -52,12 +52,12 @@ if BTF_READER
62 libabigail_la_SOURCES += abg-btf-reader.cc
63 endif
64
65-libabigail_la_LIBADD = $(DEPS_LIBS) $(FTS_LIBS)
66+libabigail_la_LIBADD = $(DEPS_LIBS)
67 libabigail_la_LDFLAGS = -lpthread -Wl,--as-needed -no-undefined -version-info $(LIBABIGAIL_SO_CURRENT):$(LIBABIGAIL_SO_REVISION):$(LIBABIGAIL_SO_AGE)
68
69 CUSTOM_MACROS = -DABIGAIL_ROOT_SYSTEM_LIBDIR=\"${libdir}\"
70
71 AM_CPPFLAGS=\
72-$(CUSTOM_MACROS) $(DEPS_CPPFLAGS) $(FTS_CFLAGS) \
73+$(CUSTOM_MACROS) $(DEPS_CPPFLAGS) \
74 -Wall -I$(abs_top_srcdir) -I$(abs_top_srcdir)/include \
75 -I$(abs_top_builddir)/include -I$(abs_top_builddir)
76diff --git a/tools/Makefile.am b/tools/Makefile.am
77index cbb5ce10..ea2d300c 100644
78--- a/tools/Makefile.am
79+++ b/tools/Makefile.am
80@@ -41,8 +41,6 @@ abicompatdir = $(bindir)
81
82 abipkgdiff_SOURCES = abipkgdiff.cc
83 abipkgdiffdir = $(bindir)
84-abipkgdiff_CPPFLAGS = $(FTS_CFLAGS)
85-abipkgdiff_LDADD = $(FTS_LIBS)
86 abipkgdiff_LDFLAGS = $(abs_top_builddir)/src/libabigail.la -pthread
87
88 kmidiff_SOURCES = kmidiff.cc
89--
902.34.1
91
diff --git a/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb b/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb
new file mode 100644
index 0000000000..5c262d2880
--- /dev/null
+++ b/meta-oe/recipes-devtools/libabigail/libabigail_2.5.bb
@@ -0,0 +1,17 @@
1SUMMARY = "The ABI Generic Analysis and Instrumentation Library"
2HOMEPAGE = "https://sourceware.org/libabigail/"
3
4LICENSE = "Apache-2.0-with-LLVM-exception"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0bcd48c3bdfef0c9d9fd17726e4b7dab"
6
7SRC_URI = "http://mirrors.kernel.org/sourceware/${BPN}/${BP}.tar.xz \
8 file://0001-Check-for-correct-fts-module.patch \
9 "
10SRC_URI[sha256sum] = "7cfc4e9b00ae38d87fb0c63beabb32b9cbf9ce410e52ceeb5ad5b3c5beb111f3"
11
12DEPENDS = "elfutils libxml2"
13DEPENDS:append:libc-musl = " fts"
14
15inherit autotools pkgconfig lib_package
16
17BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/libgee/libgee_0.20.6.bb b/meta-oe/recipes-devtools/libgee/libgee_0.20.6.bb
deleted file mode 100644
index 4f9099ff0f..0000000000
--- a/meta-oe/recipes-devtools/libgee/libgee_0.20.6.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "libgee is a collection library providing GObject-based interfaces \
2and classes for commonly used data structures."
3HOMEPAGE = "http://live.gnome.org/Libgee"
4SECTION = "libs"
5DEPENDS = "glib-2.0"
6
7BBCLASSEXTEND = "native"
8LICENSE = "LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
10
11GNOMEBASEBUILDCLASS = "autotools"
12inherit gnomebase vala gobject-introspection
13
14CFLAGS += "-Wno-incompatible-pointer-types"
15
16do_configure:prepend() {
17 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
18 for i in ${MACROS}; do
19 rm -f m4/$i
20 done
21}
22
23SRC_URI[archive.sha256sum] = "1bf834f5e10d60cc6124d74ed3c1dd38da646787fbf7872220b8b4068e476d4d"
diff --git a/meta-oe/recipes-devtools/libgee/libgee_0.20.8.bb b/meta-oe/recipes-devtools/libgee/libgee_0.20.8.bb
new file mode 100644
index 0000000000..7e29c72c02
--- /dev/null
+++ b/meta-oe/recipes-devtools/libgee/libgee_0.20.8.bb
@@ -0,0 +1,58 @@
1DESCRIPTION = "libgee is a collection library providing GObject-based interfaces \
2and classes for commonly used data structures."
3HOMEPAGE = "http://live.gnome.org/Libgee"
4SECTION = "libs"
5DEPENDS = "glib-2.0"
6
7BBCLASSEXTEND = "native"
8LICENSE = "LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
10
11GNOMEBASEBUILDCLASS = "autotools"
12inherit gnomebase vala gobject-introspection
13
14CFLAGS += "-Wno-incompatible-pointer-types"
15
16do_configure:prepend() {
17 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
18 for i in ${MACROS}; do
19 rm -f m4/$i
20 done
21}
22
23SRC_URI[archive.sha256sum] = "189815ac143d89867193b0c52b7dc31f3aa108a15f04d6b5dca2b6adfad0b0ee"
24
25# http://errors.yoctoproject.org/Errors/Details/766884/
26# libgee-0.20.6/gee/concurrentlist.c:1169:177: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
27# libgee-0.20.6/gee/concurrentlist.c:1175:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
28# libgee-0.20.6/gee/concurrentlist.c:2385:194: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
29# libgee-0.20.6/gee/concurrentlist.c:2438:177: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
30# libgee-0.20.6/gee/concurrentlist.c:2460:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
31# libgee-0.20.6/gee/concurrentlist.c:2469:177: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
32# libgee-0.20.6/gee/concurrentlist.c:2481:185: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
33# libgee-0.20.6/gee/concurrentlist.c:2640:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
34# libgee-0.20.6/gee/concurrentlist.c:2641:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
35# libgee-0.20.6/gee/concurrentlist.c:2750:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
36# libgee-0.20.6/gee/concurrentlist.c:469:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
37# libgee-0.20.6/gee/concurrentlist.c:514:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
38# libgee-0.20.6/gee/concurrentlist.c:713:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
39# libgee-0.20.6/gee/concurrentset.c:3635:185: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
40# libgee-0.20.6/gee/concurrentset.c:4950:201: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
41# libgee-0.20.6/gee/concurrentset.c:5378:201: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
42# libgee-0.20.6/gee/concurrentset.c:5428:226: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
43# libgee-0.20.6/gee/concurrentset.c:5480:218: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
44# libgee-0.20.6/gee/concurrentset.c:5530:238: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
45# libgee-0.20.6/gee/concurrentset.c:5532:234: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
46# libgee-0.20.6/gee/concurrentset.c:5623:246: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
47# libgee-0.20.6/gee/concurrentset.c:5625:242: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
48# libgee-0.20.6/gee/concurrentset.c:7088:194: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
49# libgee-0.20.6/gee/concurrentset.c:7157:177: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
50# libgee-0.20.6/gee/concurrentset.c:7184:168: error: passing argument 4 of 'gee_hazard_pointer_set_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
51# libgee-0.20.6/gee/concurrentset.c:7198:177: error: passing argument 4 of 'gee_hazard_pointer_get_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
52# libgee-0.20.6/gee/concurrentset.c:7215:185: error: passing argument 4 of 'gee_hazard_pointer_compare_and_exchange_pointer' from incompatible pointer type [-Wincompatible-pointer-types]
53# libgee-0.20.6/gee/hashmap.c:4089:30: error: assignment to 'gboolean (*)(GeeMapIterator *)' {aka 'int (*)(struct _GeeMapIterator *)'} from incompatible pointer type 'gboolean (*)(GeeHashMapNodeIterator *)' {aka 'int (*)(struct _GeeHashMapNodeIterator *)'} [-Wincompatible-pointer-types]
54# libgee-0.20.6/gee/hazardpointer.c:430:134: error: passing argument 4 of 'gee_hazard_pointer_release_policy_swap' from incompatible pointer type [-Wincompatible-pointer-types]
55# libgee-0.20.6/gee/hazardpointer.c:430:171: error: passing argument 5 of 'gee_hazard_pointer_release_policy_swap' from incompatible pointer type [-Wincompatible-pointer-types]
56# libgee-0.20.6/gee/hazardpointer.c:434:134: error: passing argument 4 of 'gee_hazard_pointer_release_policy_swap' from incompatible pointer type [-Wincompatible-pointer-types]
57# libgee-0.20.6/gee/hazardpointer.c:434:171: error: passing argument 5 of 'gee_hazard_pointer_release_policy_swap' from incompatible pointer type [-Wincompatible-pointer-types]
58CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
index 9b18269bcb..3616eb519d 100644
--- a/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
+++ b/meta-oe/recipes-devtools/libsombok3/libsombok3_2.4.0.bb
@@ -16,7 +16,6 @@ inherit autotools-brokensep pkgconfig
16# sombok-2.4.0 16# sombok-2.4.0
17SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc" 17SRCREV = "0098d85a037ef5c99a648a3669a077781a45e8cc"
18 18
19S = "${WORKDIR}/git"
20 19
21# Disable libthai support 20# Disable libthai support
22EXTRA_OECONF = "--disable-libthai" 21EXTRA_OECONF = "--disable-libthai"
diff --git a/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch b/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch
new file mode 100644
index 0000000000..c8c9922d55
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch
@@ -0,0 +1,46 @@
1From dee78f822d8a5b985e565e5c1ef42a59557aa8fc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Mar 2025 11:35:46 -0800
4Subject: [PATCH] Remove whitespace in operator""
5
6Clang 20+ errors about this whitespace.
7
8Fixes
9include/toml11/impl/../fwd/literal_fwd.hpp:22:26: error: identifier '_toml' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
10| 22 | ::toml::value operator"" _toml(const char* str, std::size_t len);
11| | ~~~~~~~~~~~^~~~~
12| | operator""_toml
13
14Upstream-Status: Submitted [https://github.com/ToruNiina/toml11/pull/285]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 include/toml11/fwd/literal_fwd.hpp | 2 +-
18 include/toml11/impl/literal_impl.hpp | 2 +-
19 2 files changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/include/toml11/fwd/literal_fwd.hpp b/include/toml11/fwd/literal_fwd.hpp
22index e46612c..82f62b7 100644
23--- a/include/toml11/fwd/literal_fwd.hpp
24+++ b/include/toml11/fwd/literal_fwd.hpp
25@@ -19,7 +19,7 @@ inline namespace literals
26 inline namespace toml_literals
27 {
28
29-::toml::value operator"" _toml(const char* str, std::size_t len);
30+::toml::value operator""_toml(const char* str, std::size_t len);
31
32 #if defined(TOML11_HAS_CHAR8_T)
33 // value of u8"" literal has been changed from char to char8_t and char8_t is
34diff --git a/include/toml11/impl/literal_impl.hpp b/include/toml11/impl/literal_impl.hpp
35index e8298c2..067d4ed 100644
36--- a/include/toml11/impl/literal_impl.hpp
37+++ b/include/toml11/impl/literal_impl.hpp
38@@ -115,7 +115,7 @@ inline namespace toml_literals
39 {
40
41 TOML11_INLINE ::toml::value
42-operator"" _toml(const char* str, std::size_t len)
43+operator""_toml(const char* str, std::size_t len)
44 {
45 if(len == 0)
46 {
diff --git a/meta-oe/recipes-devtools/libtoml11/files/run-ptest b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
new file mode 100755
index 0000000000..9bc480aa7f
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3cd tests
4for atest in test_* ; do
5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1
7 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}"
9 else
10 echo "FAIL: ${atest}"
11 fi
12done
diff --git a/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
new file mode 100644
index 0000000000..38786b79ed
--- /dev/null
+++ b/meta-oe/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
@@ -0,0 +1,38 @@
1SUMMARY = "TOML for Modern C++"
2DESCRIPTION = "toml11 is a feature-rich TOML language library for \
3 C++11/14/17/20."
4
5HOMEPAGE = "https://github.com/ToruNiina/toml11"
6
7SECTION = "libs"
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=44d1fcf70c7aa6991533c38daf7befa3"
11
12PE = "1"
13
14SRCREV = "be08ba2be2a964edcdb3d3e3ea8d100abc26f286"
15SRCREV_json = "8c391e04fe4195d8be862c97f38cfe10e2a3472e"
16SRCREV_doctest = "ae7a13539fb71f270b87eb2e874fbac80bc8dda2"
17
18SRC_URI = "git://github.com/ToruNiina/toml11;branch=main;protocol=https \
19 git://github.com/nlohmann/json;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/tests/extlib/json;name=json;branch=develop;protocol=https \
20 git://github.com/doctest/doctest;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/tests/extlib/doctest;name=doctest;branch=master;protocol=https \
21 file://0001-Remove-whitespace-in-operator.patch \
22 file://run-ptest \
23"
24SRCREV_FORMAT = "json_doctest"
25
26
27inherit cmake ptest
28
29EXTRA_OECMAKE += "-DTOML11_PRECOMPILE=ON \
30 -DTOML11_BUILD_TESTS=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "ON", "OFF", d)} \
31"
32
33ALLOW_EMPTY:${PN} = "1"
34
35do_install_ptest () {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -r ${B}/tests/test_* ${D}${PTEST_PATH}/tests
38}
diff --git a/meta-oe/recipes-devtools/libubox/libubox_git.bb b/meta-oe/recipes-devtools/libubox/libubox_git.bb
index 39e18cdafd..394cf9c000 100644
--- a/meta-oe/recipes-devtools/libubox/libubox_git.bb
+++ b/meta-oe/recipes-devtools/libubox/libubox_git.bb
@@ -22,7 +22,9 @@ SRC_URI = "\
22SRCREV = "07413cce72e19520af55dfcbc765484f5ab41dd9" 22SRCREV = "07413cce72e19520af55dfcbc765484f5ab41dd9"
23PV = "1.0.1+git" 23PV = "1.0.1+git"
24 24
25S = "${WORKDIR}/git" 25# Upstream repo does not tag
26UPSTREAM_CHECK_COMMITS = "1"
27
26 28
27inherit cmake pkgconfig 29inherit cmake pkgconfig
28 30
diff --git a/meta-oe/recipes-devtools/lshw/lshw_02.20.bb b/meta-oe/recipes-devtools/lshw/lshw_02.20.bb
index 0fb68d8684..95e2084255 100644
--- a/meta-oe/recipes-devtools/lshw/lshw_02.20.bb
+++ b/meta-oe/recipes-devtools/lshw/lshw_02.20.bb
@@ -18,7 +18,6 @@ SRC_URI = " \
18 file://0001-disable-docbook2man.patch \ 18 file://0001-disable-docbook2man.patch \
19" 19"
20 20
21S = "${WORKDIR}/git"
22 21
23inherit pkgconfig 22inherit pkgconfig
24 23
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ARM-code-has-unreachable-code-after-switch-statement.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-ARM-code-has-unreachable-code-after-switch-statement.patch
deleted file mode 100644
index c896e3ebb0..0000000000
--- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ARM-code-has-unreachable-code-after-switch-statement.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 95ff340a74af16cca89fd5c5ca99890821053209 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 22 Apr 2017 00:47:16 -0700
4Subject: [PATCH] ARM code has unreachable code after switch statement move
5 initialization
6
7Fixed
8sysdeps/linux-gnu/arm/trace.c:173:33: error: statement will never be executed [-Werror=switch-unreachable]
9 uint32_t operand1, operand2, result = 0;
10 ^~~~~~
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14Upstream-Status: Pending
15
16 sysdeps/linux-gnu/arm/trace.c | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19diff --git a/sysdeps/linux-gnu/arm/trace.c b/sysdeps/linux-gnu/arm/trace.c
20index 5e51e91..f974d1f 100644
21--- a/sysdeps/linux-gnu/arm/trace.c
22+++ b/sysdeps/linux-gnu/arm/trace.c
23@@ -155,6 +155,8 @@ arm_get_next_pcs(struct process *proc,
24 const unsigned cond = BITS(this_instr, 28, 31);
25 const unsigned opcode = BITS(this_instr, 24, 27);
26
27+ uint32_t operand1, operand2, result = 0;
28+
29 if (cond == COND_NV)
30 switch (opcode) {
31 arch_addr_t addr;
32@@ -170,7 +172,6 @@ arm_get_next_pcs(struct process *proc,
33 }
34 else
35 switch (opcode) {
36- uint32_t operand1, operand2, result = 0;
37 case 0x0:
38 case 0x1: /* data processing */
39 case 0x2:
40--
412.12.2
42
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-Fix-tautological-compare-warning.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-Fix-tautological-compare-warning.patch
deleted file mode 100644
index a599d0e191..0000000000
--- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-Fix-tautological-compare-warning.patch
+++ /dev/null
@@ -1,261 +0,0 @@
1From 0af8ced6376f2256b9daac301c851e1c99c3b035 Mon Sep 17 00:00:00 2001
2From: Adam Trhon <adam.trhon@tbs-biometrics.com>
3Date: Fri, 12 May 2017 13:39:11 +0200
4Subject: [PATCH] Fix tautological compare warning
5
6By default, gcc ignores warning from code generated by macros
7(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80369). When
8ltrace is compiled under icecream the warning *is generated*
9(https://github.com/icecc/icecream/issues/202)
10and the compilation fails (because of -Werror).
11
12Upstream-Status: Submitted [ltrace-devel@lists.alioth.debian.org]
13
14Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com>
15---
16 filter.c | 4 ++--
17 sysdeps/linux-gnu/arm/fetch.c | 2 +-
18 sysdeps/linux-gnu/arm/trace.c | 2 +-
19 sysdeps/linux-gnu/ia64/fetch.c | 2 +-
20 sysdeps/linux-gnu/metag/trace.c | 2 +-
21 sysdeps/linux-gnu/mips/plt.c | 2 +-
22 sysdeps/linux-gnu/ppc/fetch.c | 2 +-
23 sysdeps/linux-gnu/ppc/plt.c | 2 +-
24 sysdeps/linux-gnu/ppc/trace.c | 4 ++--
25 sysdeps/linux-gnu/s390/fetch.c | 2 +-
26 sysdeps/linux-gnu/s390/trace.c | 4 ++--
27 sysdeps/linux-gnu/x86/fetch.c | 2 +-
28 sysdeps/linux-gnu/x86/trace.c | 4 ++--
29 value.c | 4 ++--
30 14 files changed, 19 insertions(+), 19 deletions(-)
31
32diff --git a/filter.c b/filter.c
33index ba50c40..a65856d 100644
34--- a/filter.c
35+++ b/filter.c
36@@ -79,7 +79,7 @@ filter_lib_matcher_name_init(struct filter_lib_matcher *matcher,
37 {
38 switch (type) {
39 case FLM_MAIN:
40- assert(type != type);
41+ assert(!"Unexpected value of type");
42 abort();
43
44 case FLM_SONAME:
45@@ -137,7 +137,7 @@ matcher_matches_library(struct filter_lib_matcher *matcher, struct library *lib)
46 case FLM_MAIN:
47 return lib->type == LT_LIBTYPE_MAIN;
48 }
49- assert(matcher->type != matcher->type);
50+ assert(!"Unexpected value of matcher->type");
51 abort();
52 }
53
54diff --git a/sysdeps/linux-gnu/arm/fetch.c b/sysdeps/linux-gnu/arm/fetch.c
55index b500448..8f75fcf 100644
56--- a/sysdeps/linux-gnu/arm/fetch.c
57+++ b/sysdeps/linux-gnu/arm/fetch.c
58@@ -317,7 +317,7 @@ arch_fetch_retval(struct fetch_context *ctx, enum tof type,
59 memmove(data, ctx->regs.uregs, sz);
60 return 0;
61 }
62- assert(info->type != info->type);
63+ assert(!"Unexpected value of info->type");
64 abort();
65 }
66
67diff --git a/sysdeps/linux-gnu/arm/trace.c b/sysdeps/linux-gnu/arm/trace.c
68index 5e51e91..e76bf63 100644
69--- a/sysdeps/linux-gnu/arm/trace.c
70+++ b/sysdeps/linux-gnu/arm/trace.c
71@@ -701,7 +701,7 @@ arch_type_sizeof(struct process *proc, struct arg_type_info *info)
72 return (size_t)-2;
73
74 default:
75- assert(info->type != info->type);
76+ assert(!"Unexpected value of info->type");
77 abort();
78 }
79 }
80diff --git a/sysdeps/linux-gnu/ia64/fetch.c b/sysdeps/linux-gnu/ia64/fetch.c
81index 171c7a2..ee2fbc7 100644
82--- a/sysdeps/linux-gnu/ia64/fetch.c
83+++ b/sysdeps/linux-gnu/ia64/fetch.c
84@@ -409,7 +409,7 @@ arch_fetch_arg_next(struct fetch_context *ctx, enum tof type,
85 case ARGTYPE_ARRAY:
86 /* Arrays decay into pointers. XXX Fortran? */
87 default:
88- assert(info->type != info->type);
89+ assert(!"Unexpected value of info->type");
90 abort();
91 }
92 }
93diff --git a/sysdeps/linux-gnu/metag/trace.c b/sysdeps/linux-gnu/metag/trace.c
94index ad5fffe..7a843d6 100644
95--- a/sysdeps/linux-gnu/metag/trace.c
96+++ b/sysdeps/linux-gnu/metag/trace.c
97@@ -142,7 +142,7 @@ get_regval_from_unit(enum metag_unitnum unit, unsigned int reg,
98 return regs->ax[reg][0];
99 /* We really shouldn't be here. */
100 default:
101- assert(unit != unit);
102+ assert(!"Unexpected value of unit");
103 abort();
104 }
105 return 0;
106diff --git a/sysdeps/linux-gnu/mips/plt.c b/sysdeps/linux-gnu/mips/plt.c
107index c7c10ac..ca2307d 100644
108--- a/sysdeps/linux-gnu/mips/plt.c
109+++ b/sysdeps/linux-gnu/mips/plt.c
110@@ -651,7 +651,7 @@ mips_stub_bp_continue(struct breakpoint *bp, struct process *proc)
111 break;
112 }
113
114- assert(bp->libsym->arch.type != bp->libsym->arch.type);
115+ assert(!"Unexpected value of bp->libsym->arch.type");
116 abort();
117 }
118
119diff --git a/sysdeps/linux-gnu/ppc/fetch.c b/sysdeps/linux-gnu/ppc/fetch.c
120index c6cbd71..5db5675 100644
121--- a/sysdeps/linux-gnu/ppc/fetch.c
122+++ b/sysdeps/linux-gnu/ppc/fetch.c
123@@ -502,7 +502,7 @@ allocate_argument(struct fetch_context *ctx, struct process *proc,
124 case ARGTYPE_ARRAY:
125 /* Arrays decay into pointers. XXX Fortran? */
126 default:
127- assert(info->type != info->type);
128+ assert(!"Unexpected value of info->type");
129 abort();
130 }
131
132diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
133index 5f81889..781da03 100644
134--- a/sysdeps/linux-gnu/ppc/plt.c
135+++ b/sysdeps/linux-gnu/ppc/plt.c
136@@ -1085,7 +1085,7 @@ ppc_plt_bp_continue(struct breakpoint *bp, struct process *proc)
137 break;
138 }
139
140- assert(bp->libsym->arch.type != bp->libsym->arch.type);
141+ assert(!"Unexpected value of bp->libsym->arch.type");
142 abort();
143 }
144
145diff --git a/sysdeps/linux-gnu/ppc/trace.c b/sysdeps/linux-gnu/ppc/trace.c
146index 5aab538..caa6035 100644
147--- a/sysdeps/linux-gnu/ppc/trace.c
148+++ b/sysdeps/linux-gnu/ppc/trace.c
149@@ -217,7 +217,7 @@ arch_type_sizeof(struct process *proc, struct arg_type_info *info)
150 return (size_t)-2;
151
152 default:
153- assert(info->type != info->type);
154+ assert(!"Unexpected value of info->type");
155 abort();
156 break;
157 }
158@@ -231,7 +231,7 @@ arch_type_alignof(struct process *proc, struct arg_type_info *info)
159
160 switch (info->type) {
161 default:
162- assert(info->type != info->type);
163+ assert(!"Unexpected value of info->type");
164 abort();
165 break;
166
167diff --git a/sysdeps/linux-gnu/s390/fetch.c b/sysdeps/linux-gnu/s390/fetch.c
168index 4ad5951..4721c30 100644
169--- a/sysdeps/linux-gnu/s390/fetch.c
170+++ b/sysdeps/linux-gnu/s390/fetch.c
171@@ -266,7 +266,7 @@ arch_fetch_arg_next(struct fetch_context *ctx, enum tof type,
172 return allocate_gpr(ctx, proc, info, valuep, sz);
173
174 default:
175- assert(info->type != info->type);
176+ assert(!"Unexpected value of info->type");
177 abort();
178 }
179 return -1;
180diff --git a/sysdeps/linux-gnu/s390/trace.c b/sysdeps/linux-gnu/s390/trace.c
181index 78b04c3..24f7801 100644
182--- a/sysdeps/linux-gnu/s390/trace.c
183+++ b/sysdeps/linux-gnu/s390/trace.c
184@@ -213,7 +213,7 @@ arch_type_sizeof(struct process *proc, struct arg_type_info *info)
185 return (size_t)-2;
186
187 default:
188- assert(info->type != info->type);
189+ assert(!"Unexpected value of info->type");
190 abort();
191 }
192 }
193@@ -226,7 +226,7 @@ arch_type_alignof(struct process *proc, struct arg_type_info *info)
194
195 switch (info->type) {
196 default:
197- assert(info->type != info->type);
198+ assert(!"Unexpected value of info->type");
199 break;
200
201 case ARGTYPE_CHAR:
202diff --git a/sysdeps/linux-gnu/x86/fetch.c b/sysdeps/linux-gnu/x86/fetch.c
203index 6868101..ae2ed79 100644
204--- a/sysdeps/linux-gnu/x86/fetch.c
205+++ b/sysdeps/linux-gnu/x86/fetch.c
206@@ -523,7 +523,7 @@ classify(struct process *proc, struct fetch_context *context,
207
208 default:
209 /* Unsupported type. */
210- assert(info->type != info->type);
211+ assert(!"Unexpected value of info->type");
212 abort();
213 }
214 abort();
215diff --git a/sysdeps/linux-gnu/x86/trace.c b/sysdeps/linux-gnu/x86/trace.c
216index 6a1a6a5..d8d2115 100644
217--- a/sysdeps/linux-gnu/x86/trace.c
218+++ b/sysdeps/linux-gnu/x86/trace.c
219@@ -145,7 +145,7 @@ arch_type_sizeof(struct process *proc, struct arg_type_info *info)
220 return (size_t)-2;
221
222 default:
223- assert(info->type != info->type);
224+ assert(!"Unexpected value of info->type");
225 abort();
226 }
227 }
228@@ -158,7 +158,7 @@ arch_type_alignof(struct process *proc, struct arg_type_info *info)
229
230 switch (info->type) {
231 default:
232- assert(info->type != info->type);
233+ assert(!"Unexpected value of info->type");
234 abort();
235 break;
236
237diff --git a/value.c b/value.c
238index 2125ba9..30edb4e 100644
239--- a/value.c
240+++ b/value.c
241@@ -363,7 +363,7 @@ value_set_word(struct value *value, long word)
242 u.u64 = word;
243 break;
244 default:
245- assert(sz != sz);
246+ assert(!"Unexpected value of sz");
247 abort();
248 }
249
250@@ -414,7 +414,7 @@ value_extract_word(struct value *value, long *retp,
251 *retp = (long)u.u64;
252 return 0;
253 default:
254- assert(sz != sz);
255+ assert(!"Unexpected value of sz");
256 abort();
257 }
258 }
259--
2602.12.0
261
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ensure-the-struct-pointers-are-null-initilized.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-ensure-the-struct-pointers-are-null-initilized.patch
deleted file mode 100644
index 9def41ca60..0000000000
--- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ensure-the-struct-pointers-are-null-initilized.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 67a8fa478a4484bc4dbfb3ac74e11be1dd5af594 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Dec 2019 19:35:48 -0800
4Subject: [PATCH] ensure the struct pointers are null initilized
5
6Do not delete if pointer is already null
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 expr.c | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15diff --git a/expr.c b/expr.c
16index 4059a32..5ffd0ad 100644
17--- a/expr.c
18+++ b/expr.c
19@@ -189,10 +189,8 @@ int
20 expr_clone(struct expr_node *retp, const struct expr_node *node)
21 {
22 *retp = *node;
23-
24+ struct expr_node *nlhs = 0, *nrhs = 0;
25 switch (node->kind) {
26- struct expr_node *nlhs;
27- struct expr_node *nrhs;
28
29 case EXPR_OP_ARGNO:
30 case EXPR_OP_SELF:
31@@ -236,8 +234,10 @@ expr_clone(struct expr_node *retp, const struct expr_node *node)
32 if (expr_alloc_and_clone(&nlhs, node->lhs, node->own_lhs) < 0) {
33 if (node->kind == EXPR_OP_CALL2
34 && node->u.call.own_rhs) {
35- expr_destroy(nrhs);
36- free(nrhs);
37+ if (nrhs) {
38+ expr_destroy(nrhs);
39+ free(nrhs);
40+ }
41 return -1;
42 }
43 }
44--
452.24.1
46
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ppc-plt-do-not-free-symbol-libsym.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-ppc-plt-do-not-free-symbol-libsym.patch
deleted file mode 100644
index 4793e561c0..0000000000
--- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-ppc-plt-do-not-free-symbol-libsym.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From f47672bed5905ae382e80b09dafca9a8da45aa67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 19 Apr 2022 18:44:36 -0700
4Subject: [PATCH] ppc/plt: do not free symbol libsym
5
6delete_symbol_chain() will call free as well if sybol is non-null
7it also fixes use-after-free warnings that compiler emits
8
9Upstream-Status: Submitted [https://gitlab.com/cespedes/ltrace/-/merge_requests/2]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 sysdeps/linux-gnu/ppc/plt.c | 1 -
13 1 file changed, 1 deletion(-)
14
15diff --git a/sysdeps/linux-gnu/ppc/plt.c b/sysdeps/linux-gnu/ppc/plt.c
16index 5f81889..7c1c025 100644
17--- a/sysdeps/linux-gnu/ppc/plt.c
18+++ b/sysdeps/linux-gnu/ppc/plt.c
19@@ -687,7 +687,6 @@ arch_elf_add_func_entry(struct process *proc, struct ltelf *lte,
20 if (libsym == NULL
21 || library_symbol_init(libsym, addr, full_name, 1,
22 LS_TOPLT_NONE) < 0) {
23- free(libsym);
24 delete_symbol_chain(libsym);
25 libsym = NULL;
26 fprintf(stderr, "Couldn't add symbol %s"
27--
282.36.0
29
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-proc-Make-PROC_PID_FILE-not-use-variable-length-arra.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-proc-Make-PROC_PID_FILE-not-use-variable-length-arra.patch
new file mode 100644
index 0000000000..3e166f0deb
--- /dev/null
+++ b/meta-oe/recipes-devtools/ltrace/ltrace/0001-proc-Make-PROC_PID_FILE-not-use-variable-length-arra.patch
@@ -0,0 +1,34 @@
1From f2f6082cb112cf3b8a6a5bfc989e4a4f6a1bff27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 3 Sep 2024 20:41:20 +0000
4Subject: [PATCH] proc: Make PROC_PID_FILE not use variable length array
5
6This helps in compiling with clang which is not happy about VLA
7
8| ../../../git/sysdeps/linux-gnu/proc.c:70:3: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
9| 70 | PROC_PID_FILE(proc_exe, "/proc/%d/exe", pid);
10| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11| ../../../git/sysdeps/linux-gnu/proc.c:59:11: note: expanded from macro 'PROC_PID_FILE'
12| 59 | char VAR[strlen(FORMAT) + 6]; \
13| | ^~~~~~~~~~~~~~~~~~
14
15Upstream-Status: Pending
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 sysdeps/linux-gnu/proc.c | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
20
21diff --git a/sysdeps/linux-gnu/proc.c b/sysdeps/linux-gnu/proc.c
22index b954997..f37e4e8 100644
23--- a/sysdeps/linux-gnu/proc.c
24+++ b/sysdeps/linux-gnu/proc.c
25@@ -56,7 +56,8 @@
26 #define MAX_DELAY 100000 /* 100000 microseconds = 0.1 seconds */
27
28 #define PROC_PID_FILE(VAR, FORMAT, PID) \
29- char VAR[strlen(FORMAT) + 6]; \
30+ enum { buflen_ ## VAR = strlen(FORMAT)}; \
31+ char VAR[buflen_ ## VAR + 6]; \
32 sprintf(VAR, FORMAT, PID)
33
34 /*
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace/0001-replace-readdir_r-with-readdir.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-replace-readdir_r-with-readdir.patch
deleted file mode 100644
index 65c7d535eb..0000000000
--- a/meta-oe/recipes-devtools/ltrace/ltrace/0001-replace-readdir_r-with-readdir.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 64f98f84fd88797e219f9dde1ca387fee4b509f0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 24 Apr 2016 16:58:17 -0700
4Subject: [PATCH] replace readdir_r with readdir
5
6glibc 2.24 has deprecated readdir_r
7
8https://sourceware.org/ml/libc-alpha/2016-02/msg00093.html
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Submitted
13
14 sysdeps/linux-gnu/proc.c | 5 +++--
15 1 file changed, 3 insertions(+), 2 deletions(-)
16
17diff --git a/sysdeps/linux-gnu/proc.c b/sysdeps/linux-gnu/proc.c
18index 953fd86..edb716d 100644
19--- a/sysdeps/linux-gnu/proc.c
20+++ b/sysdeps/linux-gnu/proc.c
21@@ -242,9 +242,10 @@ process_tasks(pid_t pid, pid_t **ret_tasks, size_t *ret_n)
22 size_t alloc = 0;
23
24 while (1) {
25- struct dirent entry;
26 struct dirent *result;
27- if (readdir_r(d, &entry, &result) != 0) {
28+ errno = 0;
29+ result = readdir(d);
30+ if (errno != 0) {
31 fail:
32 free(tasks);
33 closedir(d);
34--
352.8.0
36
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index 63971970cf..f84d989eef 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -11,36 +11,31 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
11 11
12PE = "1" 12PE = "1"
13PV = "7.91+git" 13PV = "7.91+git"
14SRCREV = "c22d359433b333937ee3d803450dc41998115685" 14SRCREV = "8eabf684ba6b11ae7a1a843aca3c0657c6329d73"
15 15
16DEPENDS = "elfutils" 16DEPENDS = "elfutils"
17SRC_URI = "git://github.com/sparkleholic/ltrace.git;protocol=https;branch=master \ 17SRC_URI = "git://gitlab.com/cespedes/ltrace.git;protocol=https;branch=main \
18 file://configure-allow-to-disable-selinux-support.patch \ 18 file://configure-allow-to-disable-selinux-support.patch \
19 file://0001-replace-readdir_r-with-readdir.patch \
20 file://0001-Use-correct-enum-type.patch \ 19 file://0001-Use-correct-enum-type.patch \
21 file://0002-Fix-const-qualifier-error.patch \ 20 file://0002-Fix-const-qualifier-error.patch \
22 file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \
23 file://0001-Fix-tautological-compare-warning.patch \
24 file://0001-Add-support-for-mips64-n32-n64.patch \ 21 file://0001-Add-support-for-mips64-n32-n64.patch \
25 file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \ 22 file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \
26 file://0001-mips-plt.c-Delete-include-error.h.patch \ 23 file://0001-mips-plt.c-Delete-include-error.h.patch \
27 file://0001-move-fprintf-into-same-block-where-modname-and-symna.patch \ 24 file://0001-move-fprintf-into-same-block-where-modname-and-symna.patch \
28 file://0001-hook-Do-not-append-int-to-std-string.patch \ 25 file://0001-hook-Do-not-append-int-to-std-string.patch \
29 file://0001-Bug-fix-for-data-type-length-judgment.patch \ 26 file://0001-Bug-fix-for-data-type-length-judgment.patch \
30 file://0001-ensure-the-struct-pointers-are-null-initilized.patch \
31 file://0001-ppc-Remove-unused-host_powerpc64-function.patch \ 27 file://0001-ppc-Remove-unused-host_powerpc64-function.patch \
32 file://0001-mips-Use-hardcodes-values-for-ABI-syscall-bases.patch \ 28 file://0001-mips-Use-hardcodes-values-for-ABI-syscall-bases.patch \
33 file://0001-ppc-plt-do-not-free-symbol-libsym.patch \
34 file://0001-Fix-type-of-single-bit-bitfields.patch \ 29 file://0001-Fix-type-of-single-bit-bitfields.patch \
30 file://0001-proc-Make-PROC_PID_FILE-not-use-variable-length-arra.patch \
35 " 31 "
36SRC_URI:append:libc-musl = " file://add_ppc64le.patch" 32SRC_URI:append:libc-musl = " file://add_ppc64le.patch"
37 33
38S = "${WORKDIR}/git"
39 34
40inherit autotools 35inherit autotools
41 36
42PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" 37PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
43PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind" 38PACKAGECONFIG[unwind] = "--with-libunwind --without-elfutils,--without-libunwind,libunwind"
44PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" 39PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
45 40
46COMPATIBLE_HOST:riscv64 = "null" 41COMPATIBLE_HOST:riscv64 = "null"
diff --git a/meta-oe/recipes-devtools/luajit/luajit/clang.patch b/meta-oe/recipes-devtools/luajit/luajit/clang.patch
deleted file mode 100644
index 807cc4417f..0000000000
--- a/meta-oe/recipes-devtools/luajit/luajit/clang.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1clang pretends to be gcc 4.2.0 which is a big lie when it comes
2to features, its same as latest gcc
3
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5Upstream-Status: Pending
6
7Index: LuaJIT-2.0.5/src/lj_arch.h
8===================================================================
9--- LuaJIT-2.0.5.orig/src/lj_arch.h
10+++ LuaJIT-2.0.5/src/lj_arch.h
11@@ -436,7 +436,7 @@
12 #endif
13 #endif
14 #elif !LJ_TARGET_PS3
15-#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
16+#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) && !defined(__clang__)
17 #error "Need at least GCC 4.3 or newer"
18 #endif
19 #endif
diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb
index 240271d410..f4a1345ab2 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_git.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Just-In-Time Compiler for Lua" 1SUMMARY = "Just-In-Time Compiler for Lua"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=076b97f5c7e61532f7f6f3865f04da57" 3LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=d421a5e2a24207f5e260537399a9a38b"
4HOMEPAGE = "http://luajit.org" 4HOMEPAGE = "http://luajit.org"
5 5
6SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \ 6SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
@@ -9,9 +9,8 @@ SRC_URI = "git://luajit.org/git/luajit-2.0.git;protocol=http;branch=v2.1 \
9 " 9 "
10 10
11PV = "2.1" 11PV = "2.1"
12SRCREV = "c525bcb9024510cad9e170e12b6209aedb330f83" 12SRCREV = "538a82133ad6fddfd0ca64de167c4aca3bc1a2da"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit pkgconfig binconfig siteinfo 15inherit pkgconfig binconfig siteinfo
17 16
@@ -21,7 +20,7 @@ BBCLASSEXTEND = "native"
21# Host luajit needs to be compiled with the same pointer size 20# Host luajit needs to be compiled with the same pointer size
22# If you want to cross-compile to any 32 bit target on an x64 OS, 21# If you want to cross-compile to any 32 bit target on an x64 OS,
23# you need to install the multilib development package (e.g. 22# you need to install the multilib development package (e.g.
24# libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part 23# libc6-dev:i386 on Debian/Ubuntu) and build a 32 bit host part
25# (HOST_CC="gcc -m32"). 24# (HOST_CC="gcc -m32").
26BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" 25BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}"
27 26
diff --git a/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb b/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
index 1d27eb2588..59bc4dfcfe 100644
--- a/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
+++ b/meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
@@ -8,7 +8,6 @@ DEPENDS += "lua-native lua virtual/crypt"
8SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v36.2;protocol=https \ 8SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v36.2;protocol=https \
9" 9"
10SRCREV = "5a8d8c768fc3c51f42cb591e9523a60399efc6a1" 10SRCREV = "5a8d8c768fc3c51f42cb591e9523a60399efc6a1"
11S = "${WORKDIR}/git"
12LUA_VERSION = "5.4" 11LUA_VERSION = "5.4"
13 12
14B = "${S}" 13B = "${S}"
@@ -16,7 +15,7 @@ B = "${S}"
16inherit pkgconfig 15inherit pkgconfig
17 16
18do_compile() { 17do_compile() {
19 ${S}/build-aux/luke 18 ${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
20} 19}
21 20
22do_install() { 21do_install() {
diff --git a/meta-oe/recipes-devtools/makeself/makeself_2.5.0.bb b/meta-oe/recipes-devtools/makeself/makeself_2.5.0.bb
index f94025dd05..57c8417f44 100644
--- a/meta-oe/recipes-devtools/makeself/makeself_2.5.0.bb
+++ b/meta-oe/recipes-devtools/makeself/makeself_2.5.0.bb
@@ -14,7 +14,6 @@ SRC_URI = "\
14 14
15SRCREV = "09488c50c6bdc40aec8e3a9b23a539c5054a634c" 15SRCREV = "09488c50c6bdc40aec8e3a9b23a539c5054a634c"
16 16
17S = "${WORKDIR}/git"
18 17
19do_configure[noexec] = "1" 18do_configure[noexec] = "1"
20do_compile[noexec] = "1" 19do_compile[noexec] = "1"
diff --git a/meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb b/meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb
index 028a8f9e46..4590b49955 100644
--- a/meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb
+++ b/meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb
@@ -11,6 +11,5 @@ DEPENDS = "libmodbus (>=3.1.4)"
11SRC_URI = "git://github.com/epsilonrt/mbpoll;protocol=https;branch=master" 11SRC_URI = "git://github.com/epsilonrt/mbpoll;protocol=https;branch=master"
12SRCREV = "a0bd6c08d3d15b086f2104477295c0705aed366a" 12SRCREV = "a0bd6c08d3d15b086f2104477295c0705aed366a"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit pkgconfig cmake 15inherit pkgconfig cmake
diff --git a/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb
index 9445856730..dfa77770a7 100644
--- a/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb
+++ b/meta-oe/recipes-devtools/mcpp/mcpp_2.7.2.bb
@@ -7,12 +7,21 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
7 file://ice-mcpp.patch \ 7 file://ice-mcpp.patch \
8 file://0001-configure-Fix-checks-for-system-headers.patch \ 8 file://0001-configure-Fix-checks-for-system-headers.patch \
9 file://CVE-2019-14274.patch" 9 file://CVE-2019-14274.patch"
10SRC_URI[md5sum] = "512de48c87ab023a69250edc7a0c7b05"
11SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864" 10SRC_URI[sha256sum] = "3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864"
12 11
12UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mcpp/files/mcpp/"
13UPSTREAM_CHECK_REGEX = "${BPN}/V\.(?P<pver>\d+(\.\d+)+)"
14
13inherit autotools 15inherit autotools
14 16
15EXTRA_OECONF = " --enable-mcpplib " 17EXTRA_OECONF = " --enable-mcpplib "
16 18
17BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
18 20
21# http://errors.yoctoproject.org/Errors/Details/766883/
22# mcpp-2.7.2/src/expand.c:713:21: error: assignment to 'char *' from incompatible pointer type 'LOCATION *' {aka 'struct location *'} [-Wincompatible-pointer-types]
23CFLAGS += "-Wno-error=incompatible-pointer-types"
24
25# http://errors.yoctoproject.org/Errors/Details/850149/
26# ../../mcpp-2.7.2/src/system.c:3436:15: error: expected identifier or '*' before 'true'
27CFLAGS += "-std=gnu17"
diff --git a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
index 7e0ff54dc5..a65782d017 100644
--- a/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
+++ b/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
@@ -8,7 +8,7 @@ SECTION = "devtool"
8 8
9LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
10 10
11S = "${WORKDIR}/memstattool" 11S = "${UNPACKDIR}/memstattool"
12 12
13LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb" 13LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
14 14
@@ -16,7 +16,6 @@ SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.g
16 file://0001-Include-limits.h-for-PATH_MAX-definition.patch \ 16 file://0001-Include-limits.h-for-PATH_MAX-definition.patch \
17 " 17 "
18 18
19SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462"
20SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" 19SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
21 20
22do_install:append(){ 21do_install:append(){
diff --git a/meta-oe/recipes-devtools/memtool/memtool/run-ptest b/meta-oe/recipes-devtools/memtool/memtool/run-ptest
new file mode 100644
index 0000000000..865da9f69e
--- /dev/null
+++ b/meta-oe/recipes-devtools/memtool/memtool/run-ptest
@@ -0,0 +1,27 @@
1#!/bin/sh
2
3# SPDX-FileCopyrightText: 2024 Bosch Sicherheitssysteme GmbH
4#
5# SPDX-License-Identifier: MIT
6
7fail_count=0
8all_count=0
9
10for test_suite in tests/test_*
11do
12 if "./$test_suite"
13 then
14 echo "PASS: $test_suite"
15 else
16 echo "FAIL: $test_suite"
17 fail_count=$((fail_count + 1))
18 fi
19 all_count=$((all_count + 1))
20done
21
22if [ $fail_count -eq 0 ]
23then
24 echo "PASS: All $all_count tests passed"
25else
26 echo "FAIL: $fail_count of $all_count tests failed"
27fi
diff --git a/meta-oe/recipes-devtools/memtool/memtool/test_read_write_plainfiles.sh b/meta-oe/recipes-devtools/memtool/memtool/test_read_write_plainfiles.sh
new file mode 100644
index 0000000000..a74975d392
--- /dev/null
+++ b/meta-oe/recipes-devtools/memtool/memtool/test_read_write_plainfiles.sh
@@ -0,0 +1,69 @@
1#!/bin/bash
2
3# SPDX-FileCopyrightText: 2024 Bosch Sicherheitssysteme GmbH
4#
5# SPDX-License-Identifier: MIT
6
7# This script verifies the behavior of memtool against plain files.
8
9readonly PLAIN_FILE=$(mktemp)
10FAIL_COUNT=0
11
12setup() {
13 echo "Hello World!" >"$PLAIN_FILE"
14}
15
16teardown() {
17 rm "$PLAIN_FILE"
18}
19
20verify() {
21 ACTUAL=$1
22 EXPECTED=$2
23 TEST_NAME=$3
24
25 if [ "$ACTUAL" = "$EXPECTED" ]; then
26 echo "pass: $TEST_NAME"
27 else
28 echo "FAIL: $TEST_NAME"
29 echo " Expected: $EXPECTED"
30 echo " Actual: $ACTUAL"
31 FAIL_COUNT=$((FAIL_COUNT + 1))
32 fi
33}
34
35# Test Case: Verifies that the expected string of bytes is read from a plain file starting from
36# the offset 6 and reading 6 bytes.
37test_memtool_read() {
38 EXPECTED="00000006: 57 6f 72 6c 64 21 World!"
39 ACTUAL=$(memtool md -s "$PLAIN_FILE" -b 0x6+6)
40 verify "$ACTUAL" "$EXPECTED" "memtool read from plain file"
41}
42
43# Test Case 2: Verifies that the expected string of bytes is written to a plain file starting from
44# and then read the result.
45test_memtool_write() {
46 # Usage of 'od' ensures correct endianess.
47 readonly replace_str_bytes=$(echo "Yocto!" | od -t d4 -A n)
48
49 # shellcheck disable=SC2086 # We want to pass the bytes as separate arguments.
50 memtool mw -d "$PLAIN_FILE" 0x6+6 $replace_str_bytes
51
52 EXPECTED="00000006: 59 6f 63 74 6f 21 Yocto!"
53 ACTUAL=$(memtool md -s "$PLAIN_FILE" -b 0x6+6)
54 verify "$ACTUAL" "$EXPECTED" "memtool write to plain file"
55}
56
57for test_case in $(declare -F | grep test_memtool_ | cut -f 3 -d ' '); do
58 setup
59 $test_case
60 teardown
61done
62
63if [ $FAIL_COUNT -eq 0 ]; then
64 echo "Test Passed: memtool plain file read/write functionality is correct."
65 exit 0
66else
67 echo "Test FAILED: memtool plain file read/write functionality is incorrect. Check the logs."
68 exit 1
69fi
diff --git a/meta-oe/recipes-devtools/memtool/memtool_2018.03.0.bb b/meta-oe/recipes-devtools/memtool/memtool_2018.03.0.bb
new file mode 100644
index 0000000000..1e2e93bcd5
--- /dev/null
+++ b/meta-oe/recipes-devtools/memtool/memtool_2018.03.0.bb
@@ -0,0 +1,31 @@
1# SPDX-FileCopyrightText: 2024 Bosch Sicherheitssysteme GmbH
2#
3# SPDX-License-Identifier: MIT
4
5SUMMARY = "A tool to manipulate and read memory mapped registers"
6DESCRIPTION = "memtool is a program that allows to access memory mapped registers. This is useful \
7to inspect and modify registers from the command line. memtool can also operate on plain files, \
8and access PHY registers."
9HOMEPAGE = "https://github.com/pengutronix/memtool"
10BUGTRACKER = "https://github.com/pengutronix/memtool/issues"
11SECTION = "devtool"
12
13LICENSE = "GPL-2.0-only"
14LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
15
16SRC_URI = " \
17 http://www.pengutronix.de/software/memtool/downloads/memtool-${PV}.tar.xz \
18 file://run-ptest \
19 file://test_read_write_plainfiles.sh \
20"
21
22SRC_URI[sha256sum] = "87cb7175266ff3a00a9c1f541c4c6c93693ffbe8dcc0d97a60d13c45ff860900"
23
24inherit autotools ptest
25
26do_install_ptest () {
27 install -d ${D}${PTEST_PATH}/tests
28 install -m 0755 ${UNPACKDIR}/test_* ${D}${PTEST_PATH}/tests
29}
30
31RDEPENDS:${PN}-ptest += "bash coreutils"
diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_6.6.3.bb b/meta-oe/recipes-devtools/mercurial/mercurial_6.6.3.bb
index 89e6744dca..a312be4aa7 100644
--- a/meta-oe/recipes-devtools/mercurial/mercurial_6.6.3.bb
+++ b/meta-oe/recipes-devtools/mercurial/mercurial_6.6.3.bb
@@ -12,11 +12,11 @@ inherit python3native python3targetconfig
12SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" 12SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz"
13SRC_URI[sha256sum] = "f75d6a4a75823a1b7d713a4967eca2f596f466e58fc6bc06d72642932fd7e307" 13SRC_URI[sha256sum] = "f75d6a4a75823a1b7d713a4967eca2f596f466e58fc6bc06d72642932fd7e307"
14 14
15S = "${WORKDIR}/mercurial-${PV}" 15S = "${UNPACKDIR}/mercurial-${PV}"
16 16
17BBCLASSEXTEND = "native" 17BBCLASSEXTEND = "native"
18 18
19export LDSHARED="${CCLD} -shared" 19export LDSHARED = "${CCLD} -shared"
20 20
21EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ 21EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
22 PREFIX=${prefix}" 22 PREFIX=${prefix}"
@@ -34,3 +34,4 @@ PACKAGES =+ "${PN}-python"
34FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}" 34FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}"
35FILES:${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}" 35FILES:${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}"
36 36
37CVE_STATUS[CVE-2022-43410] = "cpe-incorrect: The recipe used in the `meta-openembedded` is a different mercurial package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-devtools/microcom/microcom_2023.09.0.bb b/meta-oe/recipes-devtools/microcom/microcom_2023.09.0.bb
index 4bb3e62d9f..73d434cba5 100644
--- a/meta-oe/recipes-devtools/microcom/microcom_2023.09.0.bb
+++ b/meta-oe/recipes-devtools/microcom/microcom_2023.09.0.bb
@@ -6,6 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c9f7c009791eaa4b9ca90dc4c9538d24"
6SRC_URI = "https://github.com/pengutronix/microcom/releases/download/v${PV}/microcom-${PV}.tar.xz" 6SRC_URI = "https://github.com/pengutronix/microcom/releases/download/v${PV}/microcom-${PV}.tar.xz"
7SRC_URI[sha256sum] = "ef42184bb35c9762b3e9c70748696f7478efacad8412a88aaf2d9a6a500231a1" 7SRC_URI[sha256sum] = "ef42184bb35c9762b3e9c70748696f7478efacad8412a88aaf2d9a6a500231a1"
8 8
9UPSTREAM_CHECK_URI = "${HOMEPAGE}/releases"
10UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
11
9DEPENDS = "readline" 12DEPENDS = "readline"
10 13
11inherit autotools update-alternatives 14inherit autotools update-alternatives
diff --git a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb
index 6e29b2459d..2fbbf8f06a 100644
--- a/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb
+++ b/meta-oe/recipes-devtools/microsoft-gsl/microsoft-gsl_4.0.0.bb
@@ -16,7 +16,6 @@ SRC_URI = "git://github.com/microsoft/GSL.git;protocol=https;branch=main \
16" 16"
17SRCREV = "a3534567187d2edc428efd3f13466ff75fe5805c" 17SRCREV = "a3534567187d2edc428efd3f13466ff75fe5805c"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit cmake pkgconfig ptest 20inherit cmake pkgconfig ptest
22 21
@@ -43,3 +42,8 @@ FILES:${PN}-ptest = "${bindir}/gsl*_tests"
43CVE_PRODUCT = "microsoft:gsl" 42CVE_PRODUCT = "microsoft:gsl"
44 43
45BBCLASSEXTEND = "native nativesdk" 44BBCLASSEXTEND = "native nativesdk"
45
46# This one is reproducible only on 32bit arm MACHINEs (didn't see it with qemux86 or qemux86-64 builds)
47# http://errors.yoctoproject.org/Errors/Details/766976/
48# lib32-microsoft-gsl/4.0.0/git/tests/span_tests.cpp:1275:34: error: value computed is not used [-Werror=unused-value]
49CXXFLAGS += "-Wno-error=unused-value"
diff --git a/meta-oe/recipes-devtools/mpich/mpich_4.2.1.bb b/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb
index 9fd8c3bb7b..6babba3de7 100644
--- a/meta-oe/recipes-devtools/mpich/mpich_4.2.1.bb
+++ b/meta-oe/recipes-devtools/mpich/mpich_4.3.0.bb
@@ -3,10 +3,10 @@ HOMEPAGE = "http://www.mpich.org/"
3SECTION = "devel" 3SECTION = "devel"
4 4
5LICENSE = "BSD-2-Clause" 5LICENSE = "BSD-2-Clause"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=7a88f0d96d0d7396a7c66bf353235b62" 6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a296dfb961b957b0e8adf67d8478d3d"
7 7
8SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz" 8SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz"
9SRC_URI[sha256sum] = "23331b2299f287c3419727edc2df8922d7e7abbb9fd0ac74e03b9966f9ad42d7" 9SRC_URI[sha256sum] = "5e04132984ad83cab9cc53f76072d2b5ef5a6d24b0a9ff9047a8ff96121bcc63"
10 10
11RDEPENDS:${PN} += "bash perl libxml2" 11RDEPENDS:${PN} += "bash perl libxml2"
12 12
diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb b/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb
index 40d997a52c..aa7629763c 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-c_6.0.0.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/msgpack/msgpack-c;branch=c_master;protocol=https \
11 " 11 "
12SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802" 12SRCREV = "8160ede5e20fd3019a77eea46d9c72cf6163f802"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake pkgconfig 15inherit cmake pkgconfig
17 16
diff --git a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.0.bb b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb
index 5f5507bc74..3457964609 100644
--- a/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.0.bb
+++ b/meta-oe/recipes-devtools/msgpack/msgpack-cpp_6.1.1.bb
@@ -8,9 +8,12 @@ LIC_FILES_CHKSUM = "file://NOTICE;md5=7a858c074723608e08614061dc044352 \
8 " 8 "
9 9
10SRC_URI = "https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/msgpack-cxx-${PV}.tar.gz" 10SRC_URI = "https://github.com/msgpack/msgpack-c/releases/download/cpp-${PV}/msgpack-cxx-${PV}.tar.gz"
11SRC_URI[sha256sum] = "23ede7e93c8efee343ad8c6514c28f3708207e5106af3b3e4969b3a9ed7039e7" 11SRC_URI[sha256sum] = "5fd555742e37bbd58d166199e669f01f743c7b3c6177191dd7b31fb0c37fa191"
12 12
13S = "${WORKDIR}/msgpack-cxx-${PV}" 13UPSTREAM_CHECK_URI = "https://github.com/msgpack/msgpack-c/releases"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
15
16S = "${UNPACKDIR}/msgpack-cxx-${PV}"
14 17
15DEPENDS += "boost" 18DEPENDS += "boost"
16 19
diff --git a/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
index 05220c2492..2183170ba6 100644
--- a/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
+++ b/meta-oe/recipes-devtools/msr-tools/msr-tools_1.3.bb
@@ -5,10 +5,9 @@ LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=11;md5=678a3928c85604242
5SECTION = "devel" 5SECTION = "devel"
6 6
7SRC_URI = "https://01.org/sites/default/files/downloads/msr-tools/msr-tools-${PV}.zip" 7SRC_URI = "https://01.org/sites/default/files/downloads/msr-tools/msr-tools-${PV}.zip"
8SRC_URI[md5sum] = "67d18527f64fd707c9b7a79f13d19fd5"
9SRC_URI[sha256sum] = "f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e" 8SRC_URI[sha256sum] = "f9457b5340f5f274da4239a461f0db6b514142b40461559d9c6150f05aab1d1e"
10 9
11S = "${WORKDIR}/msr-tools-master" 10S = "${UNPACKDIR}/msr-tools-master"
12 11
13COMPATIBLE_HOST = '(i.86|x86_64).*-linux' 12COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
14 13
diff --git a/meta-oe/recipes-devtools/musl/musl-nscd_git.bb b/meta-oe/recipes-devtools/musl/musl-nscd_git.bb
index 82e5c3bc5e..ef2553760d 100644
--- a/meta-oe/recipes-devtools/musl/musl-nscd_git.bb
+++ b/meta-oe/recipes-devtools/musl/musl-nscd_git.bb
@@ -20,7 +20,6 @@ UPSTREAM_CHECK_COMMITS = "1"
20 20
21inherit autotools-brokensep 21inherit autotools-brokensep
22 22
23S = "${WORKDIR}/git"
24 23
25do_configure () { 24do_configure () {
26 # no debug set -s flag 25 # no debug set -s flag
diff --git a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
index 36e46021bb..ec87535ec7 100644
--- a/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
+++ b/meta-oe/recipes-devtools/nlohmann-fifo/nlohmann-fifo_git.bb
@@ -12,7 +12,6 @@ SRCREV = "d732aaf9a315415ae8fd7eb11e3a4c1f80e42a48"
12 12
13UPSTREAM_CHECK_COMMITS = "1" 13UPSTREAM_CHECK_COMMITS = "1"
14 14
15S = "${WORKDIR}/git"
16 15
17# nlohmann-fifo is a header only C++ library, so the main package will be empty. 16# nlohmann-fifo is a header only C++ library, so the main package will be empty.
18 17
diff --git a/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest b/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
index 2f00267d50..d39ee6df8f 100755
--- a/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
+++ b/meta-oe/recipes-devtools/nlohmann-json/files/run-ptest
@@ -3,7 +3,11 @@
3cd tests 3cd tests
4for atest in test-* ; do 4for atest in test-* ; do
5 rm -rf tests.log 5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1 6 if [ ${atest} = "test-locale-cpp_cpp11" ]; then
7 ./${atest} --test-case-exclude="locale-dependent test (LC_NUMERIC=de_DE)" > tests.log 2>&1
8 else
9 ./${atest} > tests.log 2>&1
10 fi
7 if [ $? = 0 ] ; then 11 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}" 12 echo "PASS: ${atest}"
9 else 13 else
diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb
index 194e80546e..1dfcc6ad75 100644
--- a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.11.3.bb
+++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.12.0.bb
@@ -2,21 +2,20 @@ SUMMARY = "JSON for modern C++"
2HOMEPAGE = "https://nlohmann.github.io/json/" 2HOMEPAGE = "https://nlohmann.github.io/json/"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588" 5LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=3b489645de9825cca5beeb9a7e18b6eb"
6 6
7CVE_PRODUCT = "json-for-modern-cpp" 7CVE_PRODUCT = "json-for-modern-cpp"
8 8
9SRC_URI = "git://github.com/nlohmann/json.git;branch=develop;protocol=https \ 9SRC_URI = "git://github.com/nlohmann/json.git;branch=master;protocol=https \
10 git://github.com/nlohmann/json_test_data.git;destsuffix=git/json_test_data;name=json-test-data;branch=master;protocol=https \ 10 git://github.com/nlohmann/json_test_data.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/json_test_data;name=json-test-data;branch=master;protocol=https \
11 file://run-ptest \ 11 file://run-ptest \
12" 12"
13 13
14SRCREV = "9cca280a4d0ccf0c08f47a99aa71d1b0e52f8d03" 14SRCREV = "55f93686c01528224f448c19128836e7df245f72"
15SRCREV_json-test-data = "a1375cea09d27cc1c4cadb8d00470375b421ac37" 15SRCREV_json-test-data = "a1375cea09d27cc1c4cadb8d00470375b421ac37"
16 16
17SRCREV_FORMAT .= "_json-test-data" 17SRCREV_FORMAT .= "_json-test-data"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit cmake ptest 20inherit cmake ptest
22 21
@@ -25,7 +24,7 @@ EXTRA_OECMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', '-DJSON_BuildTests=
25# nlohmann-json is a header only C++ library, so the main package will be empty. 24# nlohmann-json is a header only C++ library, so the main package will be empty.
26ALLOW_EMPTY:${PN} = "1" 25ALLOW_EMPTY:${PN} = "1"
27RDEPENDS:${PN}-dev = "" 26RDEPENDS:${PN}-dev = ""
28RDEPENDS:${PN}-ptest = "perl" 27RDEPENDS:${PN}-ptest = "perl locale-base-de-de"
29 28
30BBCLASSEXTEND = "native nativesdk" 29BBCLASSEXTEND = "native nativesdk"
31 30
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.13/oe-npm-cache b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.16/oe-npm-cache
index eb0f143eae..eb0f143eae 100755
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-20.13/oe-npm-cache
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-22.16/oe-npm-cache
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb
index d4b818f967..1dcd1f7926 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_22.16.bb
@@ -8,8 +8,7 @@ SRC_URI = "\
8 8
9inherit native 9inherit native
10 10
11S = "${WORKDIR}/sources" 11S = "${UNPACKDIR}"
12UNPACKDIR = "${S}"
13 12
14B = "${WORKDIR}/build" 13B = "${WORKDIR}/build"
15 14
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
index 12f6cd8b96..f692eedd41 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Disable-running-gyp-files-for-bundled-deps.patch
@@ -1,4 +1,4 @@
1From 7d94bfe53beeb2d25eb5f2ff6b1d509df7e6ab80 Mon Sep 17 00:00:00 2001 1From 689e098cbde130ecde523ae39df3567456271fda Mon Sep 17 00:00:00 2001
2From: Zuzana Svetlikova <zsvetlik@redhat.com> 2From: Zuzana Svetlikova <zsvetlik@redhat.com>
3Date: Thu, 27 Apr 2017 14:25:42 +0200 3Date: Thu, 27 Apr 2017 14:25:42 +0200
4Subject: [PATCH] Disable running gyp on shared deps 4Subject: [PATCH] Disable running gyp on shared deps
@@ -28,19 +28,20 @@ python prune_sources() {
28 shutil.rmtree(d.getVar('S') + '/deps/zlib') 28 shutil.rmtree(d.getVar('S') + '/deps/zlib')
29} 29}
30do_unpack[postfuncs] += "prune_sources" 30do_unpack[postfuncs] += "prune_sources"
31
32--- 31---
33 Makefile | 2 +- 32 Makefile | 2 +-
34 1 file changed, 1 insertion(+), 1 deletion(-) 33 1 file changed, 1 insertion(+), 1 deletion(-)
35 34
35diff --git a/Makefile b/Makefile
36index dba16e5e..da4faffc 100644
36--- a/Makefile 37--- a/Makefile
37+++ b/Makefile 38+++ b/Makefile
38@@ -169,7 +169,7 @@ with-code-cache test-code-cache: 39@@ -173,7 +173,7 @@ with-code-cache test-code-cache:
39 $(warning '$@' target is a noop) 40 $(warning '$@' target is a noop)
40 41
41 out/Makefile: config.gypi common.gypi node.gyp \ 42 out/Makefile: config.gypi common.gypi common_node.gypi node.gyp \
42- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \ 43- deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
43+ deps/llhttp/llhttp.gyp \ 44+ deps/llhttp/llhttp.gyp \
44 deps/simdutf/simdutf.gyp deps/ada/ada.gyp \ 45 deps/simdutf/simdutf.gyp deps/ada/ada.gyp deps/nbytes/nbytes.gyp \
45 tools/v8_gypfiles/toolchain.gypi tools/v8_gypfiles/features.gypi \ 46 tools/v8_gypfiles/toolchain.gypi \
46 tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp 47 tools/v8_gypfiles/features.gypi \
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-Do-not-use-glob-in-deps.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Do-not-use-glob-in-deps.patch
new file mode 100644
index 0000000000..551869523e
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-Do-not-use-glob-in-deps.patch
@@ -0,0 +1,22 @@
1// Revert the patch found here https://github.com/nodejs/node/commit/fe1dd26398e1887b96b2dc51ab59371ad4d6bc20?diff=unified&w=0
2// so that the dependencies are still explicitly enumerated. That way we
3// can pick and choose which pieces to build and which to use existing system
4// packages for.
5
6Upstream-Status: Inappropriate [embedded specific]
7
8
9--- a/Makefile 2025-01-11 14:37:29.059536707 -0500
10+++ b/Makefile 2025-01-11 14:39:52.419867046 -0500
11@@ -171,7 +171,8 @@
12 $(warning '$@' target is a noop)
13
14 out/Makefile: config.gypi common.gypi common_node.gypi node.gyp \
15- deps/*/*.gyp \
16+ deps/uv/uv.gyp deps/llhttp/llhttp.gyp deps/zlib/zlib.gyp \
17+ deps/simdutf/simdutf.gyp deps/ada/ada.gyp deps/nbytes/nbytes.gyp \
18 tools/v8_gypfiles/toolchain.gypi \
19 tools/v8_gypfiles/features.gypi \
20 tools/v8_gypfiles/inspector.gypi tools/v8_gypfiles/v8.gyp
21
22
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
deleted file mode 100644
index 39026d0742..0000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-build-fix-build-with-Python-3.12.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From 656f6c91f1da7f1e1ffb01e2de7d9026a84958b5 Mon Sep 17 00:00:00 2001
2From: Luigi Pinca <luigipinca@gmail.com>
3Date: Wed, 8 Nov 2023 21:20:53 +0100
4Subject: [PATCH] build: fix build with Python 3.12
5
6Replace `distutils.version.StrictVersion` with
7`packaging.version.Version`.
8
9Refs: https://github.com/nodejs/node/pull/50209#issuecomment-1795852539
10PR-URL: https://github.com/nodejs/node/pull/50582
11Reviewed-By: Richard Lau <rlau@redhat.com>
12Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
13
14Upstream-Status: Backport [https://github.com/nodejs/node/commit/95534ad82f4e33f53fd50efe633d43f8da70cba6]
15Signed-off-by: Alexander Kanavin <alex@linutronix.de>
16---
17 configure.py | 11 +++++------
18 1 file changed, 5 insertions(+), 6 deletions(-)
19
20diff --git a/configure.py b/configure.py
21index 62f041ce..18fe7c14 100755
22--- a/configure.py
23+++ b/configure.py
24@@ -14,8 +14,6 @@ import bz2
25 import io
26 from pathlib import Path
27
28-from distutils.version import StrictVersion
29-
30 # If not run from node/, cd to node/.
31 os.chdir(Path(__file__).parent)
32
33@@ -30,6 +28,7 @@ tools_path = Path('tools')
34
35 sys.path.insert(0, str(tools_path / 'gyp' / 'pylib'))
36 from gyp.common import GetFlavor
37+from packaging.version import Version
38
39 # imports in tools/configure.d
40 sys.path.insert(0, str(tools_path / 'configure.d'))
41@@ -1565,10 +1564,10 @@ def configure_openssl(o):
42 # supported asm compiler for AVX2. See https://github.com/openssl/openssl/
43 # blob/OpenSSL_1_1_0-stable/crypto/modes/asm/aesni-gcm-x86_64.pl#L52-L69
44 openssl110_asm_supported = \
45- ('gas_version' in variables and StrictVersion(variables['gas_version']) >= StrictVersion('2.23')) or \
46- ('xcode_version' in variables and StrictVersion(variables['xcode_version']) >= StrictVersion('5.0')) or \
47- ('llvm_version' in variables and StrictVersion(variables['llvm_version']) >= StrictVersion('3.3')) or \
48- ('nasm_version' in variables and StrictVersion(variables['nasm_version']) >= StrictVersion('2.10'))
49+ ('gas_version' in variables and Version(variables['gas_version']) >= Version('2.23')) or \
50+ ('xcode_version' in variables and Version(variables['xcode_version']) >= Version('5.0')) or \
51+ ('llvm_version' in variables and Version(variables['llvm_version']) >= Version('3.3')) or \
52+ ('nasm_version' in variables and Version(variables['nasm_version']) >= Version('2.10'))
53
54 if is_x86 and not openssl110_asm_supported:
55 error('''Did not find a new enough assembler, install one or build with
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch
new file mode 100644
index 0000000000..532d3c5f51
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-custom-env.patch
@@ -0,0 +1,18 @@
1From 9c1a31afdcf368f794b9f5378cb3fe759570f905 Mon Sep 17 00:00:00 2001
2From: Jason Schonberg <schonm@gmail.com>
3Date: Tue, 30 Apr 2024 21:48:33 -0400
4Subject: [PATCH] Update to nodejs 22.0.0
5
6Upstream-Status: Inappropriate [embedded specific]
7---
8 test/fixtures/run-script/node_modules/.bin/custom-env | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/test/fixtures/run-script/node_modules/.bin/custom-env b/test/fixtures/run-script/node_modules/.bin/custom-env
12index e6f291c6..1430f2e9 100755
13--- a/test/fixtures/run-script/node_modules/.bin/custom-env
14+++ b/test/fixtures/run-script/node_modules/.bin/custom-env
15@@ -1,2 +1,2 @@
16-#!/bin/bash
17+#!/bin/sh
18 echo "$CUSTOM_ENV"
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
new file mode 100644
index 0000000000..01ae50cdc4
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-deps-disable-io_uring-support-in-libuv.patch
@@ -0,0 +1,60 @@
1From 79af9bd6ac1040f1fe3c6cab26b2d040ad907870 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 1 Mar 2024 15:46:11 +0800
4Subject: [PATCH] deps: disable io_uring support in libuv
5
6Refer [1], Pseudo fails to intercept some of the syscalls when io_uring
7enabled. Refer [2], always disable io_uring support in libuv to fix
8issue in [1].
9
10[1] https://git.openembedded.org/meta-openembedded/commit/?id=d08453978c31ee41d28206c6ff198d7d9d701d88
11[2] https://github.com/nodejs/node/commit/686da19abb
12
13Upstream-Status: Inappropriate [oe specific]
14
15Signed-off-by: Changqing Li <changqing.li@windriver.com>
16Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
17---
18 deps/uv/src/unix/linux.c | 29 +----------------------------
19 1 file changed, 1 insertion(+), 28 deletions(-)
20
21diff --git a/deps/uv/src/unix/linux.c b/deps/uv/src/unix/linux.c
22index 803a9a9d3f0..a4735f56cf0 100644
23--- a/deps/uv/src/unix/linux.c
24+++ b/deps/uv/src/unix/linux.c
25@@ -465,34 +465,7 @@ static int uv__use_io_uring(void) {
26 /* See https://github.com/libuv/libuv/issues/4283. */
27 return 0; /* Random SIGSEGV in signal handler. */
28 #else
29- /* Ternary: unknown=0, yes=1, no=-1 */
30- static _Atomic int use_io_uring;
31- char* val;
32- int use;
33-
34- use = atomic_load_explicit(&use_io_uring, memory_order_relaxed);
35-
36- if (use == 0) {
37- use = uv__kernel_version() >=
38-#if defined(__hppa__)
39- /* io_uring first supported on parisc in 6.1, functional in .51 */
40- /* https://lore.kernel.org/all/cb912694-b1fe-dbb0-4d8c-d608f3526905@gmx.de/ */
41- /* 6.1.51 */ 0x060133
42-#else
43- /* Older kernels have a bug where the sqpoll thread uses 100% CPU. */
44- /* 5.10.186 */ 0x050ABA
45-#endif
46- ? 1 : -1;
47-
48- /* But users can still enable it if they so desire. */
49- val = getenv("UV_USE_IO_URING");
50- if (val != NULL)
51- use = atoi(val) ? 1 : -1;
52-
53- atomic_store_explicit(&use_io_uring, use, memory_order_relaxed);
54- }
55-
56- return use > 0;
57+ return 0; /* pseudo doesn't support io_uring https://bugzilla.yoctoproject.org/show_bug.cgi?id=15244 */
58 #endif
59 }
60
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
deleted file mode 100644
index 9d878dfb8d..0000000000
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-gyp-resolve-python-3.12-issues.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From bf8c96ba6936050ed4a0de5bc8aeeaf2b3c50dc1 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 7 Dec 2023 12:54:30 +0100
4Subject: [PATCH] gyp: resolve python 3.12 issues
5
6Upstream has updated gyp wholesale in the main branch, so
7this patch can be dropped in due time.
8
9Upstream-Status: Inappropriate [issue will be fixed upstream with the next nodejs LTS update]
10
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12---
13 deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py | 4 ++--
14 tools/gyp/pylib/gyp/input.py | 4 ++--
15 2 files changed, 4 insertions(+), 4 deletions(-)
16
17diff --git a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
18index d9699a0a..173e9465 100644
19--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
20+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py
21@@ -16,7 +16,7 @@ import subprocess
22 import sys
23 import threading
24 import traceback
25-from distutils.version import StrictVersion
26+from packaging.version import Version
27 from gyp.common import GypError
28 from gyp.common import OrderedSet
29
30@@ -1183,7 +1183,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil
31 else:
32 ast_code = compile(cond_expr_expanded, "<string>", "eval")
33 cached_conditions_asts[cond_expr_expanded] = ast_code
34- env = {"__builtins__": {}, "v": StrictVersion}
35+ env = {"__builtins__": {}, "v": Version}
36 if eval(ast_code, env, variables):
37 return true_dict
38 return false_dict
39diff --git a/tools/gyp/pylib/gyp/input.py b/tools/gyp/pylib/gyp/input.py
40index 354958bf..ab6112e5 100644
41--- a/tools/gyp/pylib/gyp/input.py
42+++ b/tools/gyp/pylib/gyp/input.py
43@@ -16,7 +16,7 @@ import subprocess
44 import sys
45 import threading
46 import traceback
47-from distutils.version import StrictVersion
48+from packaging.version import Version
49 from gyp.common import GypError
50 from gyp.common import OrderedSet
51
52@@ -1190,7 +1190,7 @@ def EvalSingleCondition(cond_expr, true_dict, false_dict, phase, variables, buil
53 else:
54 ast_code = compile(cond_expr_expanded, "<string>", "eval")
55 cached_conditions_asts[cond_expr_expanded] = ast_code
56- env = {"__builtins__": {}, "v": StrictVersion}
57+ env = {"__builtins__": {}, "v": Version}
58 if eval(ast_code, env, variables):
59 return true_dict
60 return false_dict
61--
622.39.2
63
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
index 5af87d866e..5e617e6554 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-liftoff-Correct-function-signatures.patch
@@ -1,7 +1,7 @@
1From dc3652c0abcdf8573fd044907b19d8eda7ca1124 Mon Sep 17 00:00:00 2001 1From 33393507ba8209f0d6b85b391c525b4c70807275 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Jul 2023 12:33:16 +0000 3Date: Mon, 3 Jul 2023 12:33:16 +0000
4Subject: [PATCH] [liftoff] Correct function signatures 4Subject: [PATCH] Correct function signatures
5 5
6Fixes builds on mips where clang reports an error 6Fixes builds on mips where clang reports an error
7../deps/v8/src/wasm/baseline/mips/liftoff-assembler-mips.h:661:5: error: no matching member function for call to 'Move' 7../deps/v8/src/wasm/baseline/mips/liftoff-assembler-mips.h:661:5: error: no matching member function for call to 'Move'
@@ -13,15 +13,15 @@ Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/v8/v8/+/3
13Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com> 13Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
14--- 14---
15 deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++--- 15 deps/v8/src/wasm/baseline/liftoff-assembler.h | 6 +++---
16 deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h | 2 +- 16 .../src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h | 2 +-
17 deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h | 2 +- 17 .../src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h | 2 +-
18 3 files changed, 5 insertions(+), 5 deletions(-) 18 3 files changed, 5 insertions(+), 5 deletions(-)
19 19
20diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h 20diff --git a/deps/v8/src/wasm/baseline/liftoff-assembler.h b/deps/v8/src/wasm/baseline/liftoff-assembler.h
21index aef63c64..f2a11b01 100644 21index 7cb2f500..713d16db 100644
22--- a/deps/v8/src/wasm/baseline/liftoff-assembler.h 22--- a/deps/v8/src/wasm/baseline/liftoff-assembler.h
23+++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h 23+++ b/deps/v8/src/wasm/baseline/liftoff-assembler.h
24@@ -717,7 +717,7 @@ class LiftoffAssembler : public MacroAssembler { 24@@ -681,7 +681,7 @@ class LiftoffAssembler : public MacroAssembler {
25 void FinishCall(const ValueKindSig*, compiler::CallDescriptor*); 25 void FinishCall(const ValueKindSig*, compiler::CallDescriptor*);
26 26
27 // Move {src} into {dst}. {src} and {dst} must be different. 27 // Move {src} into {dst}. {src} and {dst} must be different.
@@ -30,7 +30,7 @@ index aef63c64..f2a11b01 100644
30 30
31 // Parallel register move: For a list of tuples <dst, src, kind>, move the 31 // Parallel register move: For a list of tuples <dst, src, kind>, move the
32 // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore 32 // {src} register of kind {kind} into {dst}. If {src} equals {dst}, ignore
33@@ -884,8 +884,8 @@ class LiftoffAssembler : public MacroAssembler { 33@@ -851,8 +851,8 @@ class LiftoffAssembler : public MacroAssembler {
34 inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset, 34 inline void MoveStackValue(uint32_t dst_offset, uint32_t src_offset,
35 ValueKind); 35 ValueKind);
36 36
@@ -41,24 +41,24 @@ index aef63c64..f2a11b01 100644
41 41
42 inline void Spill(int offset, LiftoffRegister, ValueKind); 42 inline void Spill(int offset, LiftoffRegister, ValueKind);
43 inline void Spill(int offset, WasmValue); 43 inline void Spill(int offset, WasmValue);
44diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 44diff --git a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
45index 96cba24c..53e1842d 100644 45index bd59f162..56b4d70c 100644
46--- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 46--- a/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
47+++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64.h 47+++ b/deps/v8/src/wasm/baseline/mips64/liftoff-assembler-mips64-inl.h
48@@ -592,7 +592,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, 48@@ -672,7 +672,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
49 pinned.set(dst_op.rm()); 49 pinned.set(dst_op.rm());
50 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned); 50 LiftoffRegister tmp = kScratchReg2;
51 // Save original value. 51 // Save original value.
52- Move(tmp, src, type.value_type()); 52- Move(tmp, src, type.value_type());
53+ Move(tmp, src, type.value_type().kind()); 53+ Move(tmp, src, type.value_type().kind());
54 54
55 src = tmp; 55 src = tmp;
56 pinned.set(tmp); 56 pinned.set(tmp);
57diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 57diff --git a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
58index 1d6ae09e..397e82b2 100644 58index a3c94af0..456e5334 100644
59--- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 59--- a/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
60+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64.h 60+++ b/deps/v8/src/wasm/baseline/riscv/liftoff-assembler-riscv64-inl.h
61@@ -286,7 +286,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg, 61@@ -452,7 +452,7 @@ void LiftoffAssembler::Store(Register dst_addr, Register offset_reg,
62 pinned.set(dst_op.rm()); 62 pinned.set(dst_op.rm());
63 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned); 63 LiftoffRegister tmp = GetUnusedRegister(src.reg_class(), pinned);
64 // Save original value. 64 // Save original value.
@@ -67,5 +67,3 @@ index 1d6ae09e..397e82b2 100644
67 67
68 src = tmp; 68 src = tmp;
69 pinned.set(tmp); 69 pinned.set(tmp);
70--
712.40.0
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch
new file mode 100644
index 0000000000..5fd6aee351
--- /dev/null
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0001-positional-args.patch
@@ -0,0 +1,19 @@
1From 07ee84863fa4a9e4d5f155632478587b0acbf71a Mon Sep 17 00:00:00 2001
2From: Jason Schonberg <schonm@gmail.com>
3Date: Tue, 30 Apr 2024 21:48:33 -0400
4Subject: [PATCH] Update to nodejs 22.0.0
5
6Upstream-Status: Inappropriate [embedded specific]
7---
8 test/fixtures/run-script/node_modules/.bin/positional-args | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/test/fixtures/run-script/node_modules/.bin/positional-args b/test/fixtures/run-script/node_modules/.bin/positional-args
12index 2d809237..3dc5314f 100755
13--- a/test/fixtures/run-script/node_modules/.bin/positional-args
14+++ b/test/fixtures/run-script/node_modules/.bin/positional-args
15@@ -1,3 +1,3 @@
16-#!/bin/bash
17+#!/bin/sh
18 echo "Arguments: '$@'"
19 echo "The total number of arguments are: $#"
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch b/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
index 97ed972cee..cc920118a2 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/0004-v8-don-t-override-ARM-CFLAGS.patch
@@ -1,4 +1,4 @@
1From 47ee5cc5501289205d3e8e9f27ea9daf18cebac1 Mon Sep 17 00:00:00 2001 1From afc085af7b6b935a5e14fc3f40db47df02ca3af2 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net> 2From: =?UTF-8?q?Andr=C3=A9=20Draszik?= <git@andred.net>
3Date: Sat, 9 Nov 2019 14:45:30 +0000 3Date: Sat, 9 Nov 2019 14:45:30 +0000
4Subject: [PATCH] v8: don't override ARM CFLAGS 4Subject: [PATCH] v8: don't override ARM CFLAGS
@@ -28,10 +28,10 @@ Signed-off-by: André Draszik <git@andred.net>
28 1 file changed, 2 insertions(+), 50 deletions(-) 28 1 file changed, 2 insertions(+), 50 deletions(-)
29 29
30diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi 30diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi
31index 264b3e478e..0b41848145 100644 31index 9d1b0987..4df15e60 100644
32--- a/tools/v8_gypfiles/toolchain.gypi 32--- a/tools/v8_gypfiles/toolchain.gypi
33+++ b/tools/v8_gypfiles/toolchain.gypi 33+++ b/tools/v8_gypfiles/toolchain.gypi
34@@ -211,31 +211,7 @@ 34@@ -203,31 +203,7 @@
35 'target_conditions': [ 35 'target_conditions': [
36 ['_toolset=="host"', { 36 ['_toolset=="host"', {
37 'conditions': [ 37 'conditions': [
@@ -64,7 +64,7 @@ index 264b3e478e..0b41848145 100644
64 # Host not built with an Arm CXX compiler (simulator build). 64 # Host not built with an Arm CXX compiler (simulator build).
65 'conditions': [ 65 'conditions': [
66 [ 'arm_float_abi=="hard"', { 66 [ 'arm_float_abi=="hard"', {
67@@ -254,31 +230,7 @@ 67@@ -246,31 +222,7 @@
68 }], # _toolset=="host" 68 }], # _toolset=="host"
69 ['_toolset=="target"', { 69 ['_toolset=="target"', {
70 'conditions': [ 70 'conditions': [
@@ -97,6 +97,3 @@ index 264b3e478e..0b41848145 100644
97 # Target not built with an Arm CXX compiler (simulator build). 97 # Target not built with an Arm CXX compiler (simulator build).
98 'conditions': [ 98 'conditions': [
99 [ 'arm_float_abi=="hard"', { 99 [ 'arm_float_abi=="hard"', {
100--
1012.20.1
102
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
index cb0237309e..d987ac50be 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/libatomic.patch
@@ -1,21 +1,77 @@
1Link mksnapshot with libatomic on x86 1From 15e751e4b79475fb34e4b32a3ca54119b20c564a Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 17 Aug 2024 21:33:18 +0800
4Subject: [PATCH] link libatomic for clang conditionally
2 5
3Clang-12 on x86 emits atomic builtins 6Clang emits atomic builtin, explicitly link libatomic conditionally:
7- For target build, always link -latomic for clang as usual
8- For host build, if host and target have same bit width, cross compiling
9 is enabled, and host toolchain is gcc which does not link -latomic;
10 if host and target have different bit width, no cross compiling,
11 host build is the same with target build that requires to link
12 -latomic;
4 13
5Fixes 14Fix:
6| module-compiler.cc:(.text._ZN2v88internal4wasm12_GLOBAL__N_123ExecuteCompilationUnitsERKSt10shared_ptrINS2_22BackgroundCompileTokenEEPNS0_8CountersEiNS2_19CompileBaselineOnlyE+0x558): un 15|tmp-glibc/work/core2-64-wrs-linux/nodejs/20.13.0/node-v20.13.0/out/Release/node_js2c: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
7defined reference to `__atomic_load'
8 16
9Upstream-Status: Pending 17Upstream-Status: Inappropriate [OE specific]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 18
19Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
20---
21 node.gyp | 13 ++++++++++++-
22 tools/v8_gypfiles/v8.gyp | 15 ++++++++++++---
23 2 files changed, 24 insertions(+), 4 deletions(-)
24
25diff --git a/node.gyp b/node.gyp
26index b425f443..f296f35c 100644
27--- a/node.gyp
28+++ b/node.gyp
29@@ -487,7 +487,18 @@
30 ],
31 }],
32 ['OS=="linux" and clang==1', {
33- 'libraries': ['-latomic'],
34+ 'target_conditions': [
35+ ['_toolset=="host"', {
36+ 'conditions': [
37+ ['"<!(echo $HOST_AND_TARGET_SAME_WIDTH)"=="0"', {
38+ 'libraries': ['-latomic'],
39+ }],
40+ ],
41+ }],
42+ ['_toolset=="target"', {
43+ 'libraries': ['-latomic'],
44+ }],
45+ ],
46 }],
47 ],
48 },
49diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp
50index b23263cf..dcabf4ca 100644
12--- a/tools/v8_gypfiles/v8.gyp 51--- a/tools/v8_gypfiles/v8.gyp
13+++ b/tools/v8_gypfiles/v8.gyp 52+++ b/tools/v8_gypfiles/v8.gyp
14@@ -1436,6 +1436,7 @@ 53@@ -1100,9 +1100,18 @@
15 { 54 # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library
16 'target_name': 'mksnapshot', 55 # to implement atomic memory access
17 'type': 'executable', 56 ['v8_current_cpu in ["mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', {
18+ 'libraries': [ '-latomic' ], 57- 'link_settings': {
19 'dependencies': [ 58- 'libraries': ['-latomic', ],
20 'v8_base_without_compiler', 59- },
21 'v8_compiler_for_mksnapshot', 60+ 'target_conditions': [
61+ ['_toolset=="host"', {
62+ 'conditions': [
63+ ['"<!(echo $HOST_AND_TARGET_SAME_WIDTH)"=="0"', {
64+ 'libraries': ['-latomic'],
65+ }],
66+ ],
67+ }],
68+ ['_toolset=="target"', {
69+ 'libraries': ['-latomic', ],
70+ }],
71+ ],
72 }],
73 ],
74 }, # v8_base_without_compiler
75--
762.35.5
77
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch b/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
index 141889ad23..6f08c71e18 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
+++ b/meta-oe/recipes-devtools/nodejs/nodejs/system-c-ares.patch
@@ -1,11 +1,19 @@
1keep nodejs compatible with c-ares 1.17.1 1From ce931ad5f5aba60e8e77f39e0af43bce7d25d287 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 4 Mar 2024 11:05:25 -0500
4Subject: [PATCH] keep nodejs compatible with c-ares 1.17.1
2 5
3Upstream-Status: Inappropriate [c-ares specific] 6Upstream-Status: Inappropriate [c-ares specific]
4Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/cares_wrap.h | 10 +++++++++-
10 1 file changed, 9 insertions(+), 1 deletion(-)
5 11
12diff --git a/src/cares_wrap.h b/src/cares_wrap.h
13index 021ef1c9..820c5d88 100644
6--- a/src/cares_wrap.h 14--- a/src/cares_wrap.h
7+++ b/src/cares_wrap.h 15+++ b/src/cares_wrap.h
8@@ -22,7 +22,15 @@ 16@@ -23,7 +23,15 @@
9 # include <netdb.h> 17 # include <netdb.h>
10 #endif // __POSIX__ 18 #endif // __POSIX__
11 19
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_20.13.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb
index 25b59495e2..679acafabf 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_20.13.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.16.0.bb
@@ -1,15 +1,16 @@
1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript" 1DESCRIPTION = "nodeJS Evented I/O for V8 JavaScript"
2HOMEPAGE = "http://nodejs.org" 2HOMEPAGE = "http://nodejs.org"
3LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0" 3LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=cef54676c547a5bbab44aa8be3be9ef7" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=b4f41dcacabc8f07b9ca7dee2f188a00"
5 5
6CVE_PRODUCT = "nodejs node.js" 6CVE_PRODUCT = "nodejs node.js"
7 7
8DEPENDS = "openssl file-replacement-native python3-packaging-native" 8DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-native"
9DEPENDS:append:class-target = " qemu-native"
10DEPENDS:append:class-native = " c-ares-native" 9DEPENDS:append:class-native = " c-ares-native"
11 10
12inherit pkgconfig python3native qemu ptest 11inherit pkgconfig python3native ptest siteinfo
12inherit_defer ${@bb.utils.contains('HOST_AND_TARGET_SAME_WIDTH', '0', 'qemu', '', d)}
13
13 14
14COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*" 15COMPATIBLE_MACHINE:armv4 = "(!.*armv4).*"
15COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*" 16COMPATIBLE_MACHINE:armv5 = "(!.*armv5).*"
@@ -18,27 +19,29 @@ COMPATIBLE_MACHINE:mips64 = "(!.*mips64).*"
18COMPATIBLE_HOST:riscv64 = "null" 19COMPATIBLE_HOST:riscv64 = "null"
19COMPATIBLE_HOST:riscv32 = "null" 20COMPATIBLE_HOST:riscv32 = "null"
20COMPATIBLE_HOST:powerpc = "null" 21COMPATIBLE_HOST:powerpc = "null"
22COMPATIBLE_HOST:powerpc64le = "null"
21 23
22SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ 24SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
25 file://0001-Do-not-use-glob-in-deps.patch \
23 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \ 26 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \
24 file://0004-v8-don-t-override-ARM-CFLAGS.patch \ 27 file://0004-v8-don-t-override-ARM-CFLAGS.patch \
25 file://system-c-ares.patch \ 28 file://system-c-ares.patch \
26 file://0001-liftoff-Correct-function-signatures.patch \ 29 file://0001-liftoff-Correct-function-signatures.patch \
30 file://libatomic.patch \
31 file://0001-deps-disable-io_uring-support-in-libuv.patch \
32 file://0001-positional-args.patch \
33 file://0001-custom-env.patch \
27 file://run-ptest \ 34 file://run-ptest \
28 " 35 "
29
30SRC_URI:append:class-target = " \ 36SRC_URI:append:class-target = " \
31 file://0001-Using-native-binaries.patch \ 37 file://0001-Using-native-binaries.patch \
32 " 38 "
33SRC_URI:append:toolchain-clang:x86 = " \
34 file://libatomic.patch \
35 "
36SRC_URI:append:toolchain-clang:powerpc64le = " \ 39SRC_URI:append:toolchain-clang:powerpc64le = " \
37 file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \ 40 file://0001-ppc64-Do-not-use-mminimal-toc-with-clang.patch \
38 " 41 "
39SRC_URI[sha256sum] = "11d229fcad7e6e10f450301223c602043f021cda51259ffafc7e55e484b37dc7" 42SRC_URI[sha256sum] = "720894f323e5c1ac24968eb2676660c90730d715cb7f090be71a668662a17c37"
40 43
41S = "${WORKDIR}/node-v${PV}" 44S = "${UNPACKDIR}/node-v${PV}"
42 45
43CVE_PRODUCT += "node.js" 46CVE_PRODUCT += "node.js"
44 47
@@ -66,28 +69,14 @@ ARCHFLAGS ?= ""
66 69
67PACKAGECONFIG ??= "ares brotli icu zlib" 70PACKAGECONFIG ??= "ares brotli icu zlib"
68 71
69PACKAGECONFIG[ares] = "--shared-cares,,c-ares" 72PACKAGECONFIG[ares] = "--shared-cares,,c-ares c-ares-native"
70PACKAGECONFIG[brotli] = "--shared-brotli,,brotli" 73PACKAGECONFIG[brotli] = "--shared-brotli,,brotli brotli-native"
71PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu" 74PACKAGECONFIG[icu] = "--with-intl=system-icu,--without-intl,icu icu-native"
72PACKAGECONFIG[libuv] = "--shared-libuv,,libuv" 75PACKAGECONFIG[libuv] = "--shared-libuv,,libuv"
73PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2" 76PACKAGECONFIG[nghttp2] = "--shared-nghttp2,,nghttp2"
74PACKAGECONFIG[shared] = "--shared" 77PACKAGECONFIG[shared] = "--shared"
75PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" 78PACKAGECONFIG[zlib] = "--shared-zlib,,zlib"
76 79
77# We don't want to cross-compile during target compile,
78# and we need to use the right flags during host compile,
79# too.
80EXTRA_OEMAKE = "\
81 CC.host='${CC} -pie -fPIE' \
82 CFLAGS.host='${CPPFLAGS} ${CFLAGS}' \
83 CXX.host='${CXX} -pie -fPIE' \
84 CXXFLAGS.host='${CPPFLAGS} ${CXXFLAGS}' \
85 LDFLAGS.host='${LDFLAGS}' \
86 AR.host='${AR}' \
87 \
88 builddir_name=./ \
89"
90
91EXTRANATIVEPATH += "file-native" 80EXTRANATIVEPATH += "file-native"
92 81
93python prune_sources() { 82python prune_sources() {
@@ -110,16 +99,22 @@ do_unpack[postfuncs] += "prune_sources"
110# V8's JIT infrastructure requires binaries such as mksnapshot and 99# V8's JIT infrastructure requires binaries such as mksnapshot and
111# mkpeephole to be run in the host during the build. However, these 100# mkpeephole to be run in the host during the build. However, these
112# binaries must have the same bit-width as the target (e.g. a x86_64 101# binaries must have the same bit-width as the target (e.g. a x86_64
113# host targeting ARMv6 needs to produce a 32-bit binary). Instead of 102# host targeting ARMv6 needs to produce a 32-bit binary).
114# depending on a third Yocto toolchain, we just build those binaries 103# 1. If host and target have the different bit width, run those
115# for the target and run them on the host with QEMU. 104# binaries for the target and run them on the host with QEMU.
105# 2. If host and target have the same bit width, enable upstream
106# cross compile support and no QEMU
116python do_create_v8_qemu_wrapper () { 107python do_create_v8_qemu_wrapper () {
117 """Creates a small wrapper that invokes QEMU to run some target V8 binaries 108 """Creates a small wrapper that invokes QEMU to run some target V8 binaries
118 on the host.""" 109 on the host."""
119 qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'), 110 qemu_libdirs = [d.expand('${STAGING_DIR_HOST}${libdir}'),
120 d.expand('${STAGING_DIR_HOST}${base_libdir}')] 111 d.expand('${STAGING_DIR_HOST}${base_libdir}')]
121 qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), 112 qemu_cmd = ""
122 qemu_libdirs) 113
114 if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "0":
115 qemu_cmd = qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'),
116 qemu_libdirs)
117
123 wrapper_path = d.expand('${B}/v8-qemu-wrapper.sh') 118 wrapper_path = d.expand('${B}/v8-qemu-wrapper.sh')
124 with open(wrapper_path, 'w') as wrapper_file: 119 with open(wrapper_path, 'w') as wrapper_file:
125 wrapper_file.write("""#!/bin/sh 120 wrapper_file.write("""#!/bin/sh
@@ -138,6 +133,14 @@ addtask create_v8_qemu_wrapper after do_configure before do_compile
138 133
139LDFLAGS:append:x86 = " -latomic" 134LDFLAGS:append:x86 = " -latomic"
140 135
136export CC_host
137export CFLAGS_host
138export CXX_host
139export CXXFLAGS_host
140export LDFLAGS_host
141export AR_host
142export HOST_AND_TARGET_SAME_WIDTH
143
141CROSS_FLAGS = "--cross-compiling" 144CROSS_FLAGS = "--cross-compiling"
142CROSS_FLAGS:class-native = "--no-cross-compiling" 145CROSS_FLAGS:class-native = "--no-cross-compiling"
143 146
@@ -179,4 +182,37 @@ RDEPENDS:${PN}-npm = "bash python3-core python3-shell python3-datetime \
179PACKAGES =+ "${PN}-systemtap" 182PACKAGES =+ "${PN}-systemtap"
180FILES:${PN}-systemtap = "${datadir}/systemtap" 183FILES:${PN}-systemtap = "${datadir}/systemtap"
181 184
185do_configure[prefuncs] += "set_gyp_variables"
186do_compile[prefuncs] += "set_gyp_variables"
187do_install[prefuncs] += "set_gyp_variables"
188python set_gyp_variables () {
189 if d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "0":
190 # We don't want to cross-compile during target compile,
191 # and we need to use the right flags during host compile,
192 # too.
193 d.setVar("CC_host", d.getVar("CC") + " -pie -fPIE")
194 d.setVar("CFLAGS_host", d.getVar("CFLAGS"))
195 d.setVar("CXX_host", d.getVar("CXX") + " -pie -fPIE")
196 d.setVar("CXXFLAGS_host", d.getVar("CXXFLAGS"))
197 d.setVar("LDFLAGS_host", d.getVar("LDFLAGS"))
198 d.setVar("AR_host", d.getVar("AR"))
199 elif d.getVar("HOST_AND_TARGET_SAME_WIDTH") == "1":
200 # Enable upstream cross compile support
201 d.setVar("CC_host", d.getVar("BUILD_CC"))
202 d.setVar("CFLAGS_host", d.getVar("BUILD_CFLAGS"))
203 d.setVar("CXX_host", d.getVar("BUILD_CXX"))
204 d.setVar("CXXFLAGS_host", d.getVar("BUILD_CXXFLAGS"))
205 d.setVar("LDFLAGS_host", d.getVar("BUILD_LDFLAGS"))
206 d.setVar("AR_host", d.getVar("BUILD_AR"))
207}
208
209python __anonymous () {
210 # 32 bit target and 64 bit host (x86-64 or aarch64) have different bit width
211 if d.getVar("SITEINFO_BITS") == "32" and "64" in d.getVar("BUILD_ARCH"):
212 d.setVar("HOST_AND_TARGET_SAME_WIDTH", "0")
213 d.appendVar("DEPENDS:class-target", " qemu-native")
214 else:
215 d.setVar("HOST_AND_TARGET_SAME_WIDTH", "1")
216}
217
182BBCLASSEXTEND = "native" 218BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch b/meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch
new file mode 100644
index 0000000000..a7d7552d5a
--- /dev/null
+++ b/meta-oe/recipes-devtools/openocd/openocd/0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch
@@ -0,0 +1,38 @@
1From 65969a2b73ce93db4c80f1706677351b0e57fa72 Mon Sep 17 00:00:00 2001
2From: Sofiane HAMAM <sofiane.hamam@smile.fr>
3Date: Fri, 28 Mar 2025 12:31:17 +0100
4Subject: [PATCH] Makefile.am: Use SOURCE_DATE_EPOCH environment variable
5
6This package defines PKGBLDDATE as build timestamp which makes
7it non reproducible. Use SOURCE_DATE_EPOCH if it is found, otherwise
8use build timestamp. Following best practices, see :
9https://reproducible-builds.org/docs/source-date-epoch/
10
11The patch is BSD compatible too.
12
13Change-Id: I26c1a00f2e8059ae31fe72a794b5962af5a84f44
14Co-developed-by: Yoann Congal <yoann.congal@smile.fr>
15Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
16Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
17
18Upstream-Status: Backport [https://repo.or.cz/openocd.git?a=commit;h=6834f022b96fb1c7f5829166578e01a0ac223cb0]
19---
20 src/Makefile.am | 5 ++++-
21 1 file changed, 4 insertions(+), 1 deletion(-)
22
23diff --git a/src/Makefile.am b/src/Makefile.am
24index 6d79cd631..9ca697407 100644
25--- a/src/Makefile.am
26+++ b/src/Makefile.am
27@@ -30,7 +30,10 @@ if RELEASE
28 else
29 %C%_libopenocd_la_CPPFLAGS += -DRELSTR=\"`$(top_srcdir)/guess-rev.sh $(top_srcdir)`\"
30 %C%_libopenocd_la_CPPFLAGS += -DGITVERSION=\"`cd $(top_srcdir) && git describe`\"
31-%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`date +%F-%R`\"
32+%C%_libopenocd_la_CPPFLAGS += -DPKGBLDDATE=\"`DATE_FMT=+%F-%R; \
33+ SOURCE_DATE_EPOCH="$${SOURCE_DATE_EPOCH:-$$(date +%s)}"; \
34+ date -u -d "@$$SOURCE_DATE_EPOCH" "$$DATE_FMT" 2>/dev/null || \
35+ date -u -r "$$SOURCE_DATE_EPOCH" "$$DATE_FMT" 2>/dev/null || date -u "$$DATE_FMT"`\"
36 endif
37
38 # add default CPPFLAGS
diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb
index 559fe29ff8..3bbe33ca1d 100644
--- a/meta-oe/recipes-devtools/openocd/openocd_git.bb
+++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb
@@ -7,8 +7,9 @@ RDEPENDS:${PN} = "libusb1"
7SRC_URI = " \ 7SRC_URI = " \
8 git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \ 8 git://repo.or.cz/openocd.git;protocol=http;name=openocd;branch=master \
9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \ 9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \
10 git://github.com/msteveb/jimtcl.git;protocol=https;destsuffix=git/jimtcl;name=jimtcl;branch=master \ 10 git://github.com/msteveb/jimtcl.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/jimtcl;name=jimtcl;branch=master \
11 git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink;branch=master \ 11 git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/src/jtag/drivers/libjaylink;name=libjaylink;branch=master \
12 file://0001-Makefile.am-Use-SOURCE_DATE_EPOCH-environment-variab.patch \
12" 13"
13 14
14SRCREV_FORMAT = "openocd" 15SRCREV_FORMAT = "openocd"
@@ -18,7 +19,6 @@ SRCREV_jimtcl = "fcbb4499a6b46ef69e7a95da53e30796e20817f0"
18SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4" 19SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4"
19 20
20PV = "0.12+git" 21PV = "0.12+git"
21S = "${WORKDIR}/git"
22 22
23inherit pkgconfig autotools-brokensep gettext 23inherit pkgconfig autotools-brokensep gettext
24 24
diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
index 4f7dfd4cca..7dc18d7aa2 100644
--- a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
+++ b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
@@ -4,7 +4,6 @@ Date: Wed, 15 Sep 2021 17:54:01 +0200
4Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3 4Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3
5 5
6Upstream-Status: Inappropriate [OE specific] 6Upstream-Status: Inappropriate [OE specific]
7
8--- 7---
9 ostra/ostra-cg | 2 +- 8 ostra/ostra-cg | 2 +-
10 ostra/python/ostra.py | 2 +- 9 ostra/python/ostra.py | 2 +-
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb b/meta-oe/recipes-devtools/pahole/pahole_1.29.bb
index 1334c850e6..aca915bf32 100644
--- a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
+++ b/meta-oe/recipes-devtools/pahole/pahole_1.29.bb
@@ -7,17 +7,16 @@ DEPENDS = "elfutils zlib libbpf"
7 7
8# Depends on MACHINE_ARCH libbpf 8# Depends on MACHINE_ARCH libbpf
9PACKAGE_ARCH = "${MACHINE_ARCH}" 9PACKAGE_ARCH = "${MACHINE_ARCH}"
10COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux" 10COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
11 11
12SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d" 12SRCREV = "b9cc7963051b2099795129450f9b70c81950d02f"
13SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \ 13SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
14 file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch" 14 file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit cmake pkgconfig 17inherit cmake pkgconfig
19 18
20PACKAGECONFIG[python3] = ",,python3-core,python3-core" 19PACKAGECONFIG[python3] = ",,python3,python3-core"
21 20
22EXTRA_OECMAKE = "-D__LIB=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF" 21EXTRA_OECMAKE = "-D__LIB=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=OFF"
23 22
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb
index d512c85704..4e80ca87ee 100644
--- a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb
+++ b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb
@@ -30,6 +30,6 @@ PACKAGECONFIG ??= ""
30 30
31PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" 31PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap"
32PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" 32PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp"
33PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" 33PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, python3-pyelftools"
34 34
35EXTRA_OECONF += "--enable-largefile" 35EXTRA_OECONF += "--enable-largefile"
diff --git a/meta-oe/recipes-devtools/pcimem/pcimem_2.0.bb b/meta-oe/recipes-devtools/pcimem/pcimem_2.0.bb
index 85c4fa95ae..130980b0cd 100644
--- a/meta-oe/recipes-devtools/pcimem/pcimem_2.0.bb
+++ b/meta-oe/recipes-devtools/pcimem/pcimem_2.0.bb
@@ -10,7 +10,9 @@ COMPATIBLE_HOST = "(x86_64|aarch64|arm|riscv64)"
10SRCREV = "09724edb1783a98da2b7ae53c5aaa87493aabc9b" 10SRCREV = "09724edb1783a98da2b7ae53c5aaa87493aabc9b"
11SRC_URI = "git://github.com/billfarrow/pcimem.git;branch=master;protocol=https" 11SRC_URI = "git://github.com/billfarrow/pcimem.git;branch=master;protocol=https"
12 12
13S = "${WORKDIR}/git" 13# Upstream repo does not tag
14UPSTREAM_CHECK_COMMITS = "1"
15
14 16
15do_install() { 17do_install() {
16 install -D -m 0755 ${B}/pcimem ${D}${bindir}/pcimem 18 install -D -m 0755 ${B}/pcimem ${D}${bindir}/pcimem
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch b/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch
deleted file mode 100644
index d08721ae65..0000000000
--- a/meta-oe/recipes-devtools/perfetto/files/0001-Add-missing-header-cstdint-for-uintXX_t-types.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From e63949205682bbd2a0e33e256119472d704a2549 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 29 Jan 2023 22:03:01 -0800
4Subject: [PATCH] Add missing header <cstdint> for uintXX_t types
5
6This is detected by gcc-13
7gcc 13 moved some includes around and as a result <cstdint> is no
8longer transitively included [1]. Explicitly include it for uintXX_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://android-review.googlesource.com/c/platform/external/perfetto/+/2399128]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 include/perfetto/ext/base/http/sha1.h | 1 +
16 include/perfetto/ext/base/uuid.h | 1 +
17 src/traced/probes/common/cpu_freq_info.h | 1 +
18 3 files changed, 3 insertions(+)
19
20diff --git a/include/perfetto/ext/base/http/sha1.h b/include/perfetto/ext/base/http/sha1.h
21index c583d69d4..7e3a48c83 100644
22--- a/include/perfetto/ext/base/http/sha1.h
23+++ b/include/perfetto/ext/base/http/sha1.h
24@@ -20,6 +20,7 @@
25 #include <stddef.h>
26
27 #include <array>
28+#include <cstdint>
29 #include <string>
30
31 namespace perfetto {
32diff --git a/include/perfetto/ext/base/uuid.h b/include/perfetto/ext/base/uuid.h
33index 1b4c53815..472042fab 100644
34--- a/include/perfetto/ext/base/uuid.h
35+++ b/include/perfetto/ext/base/uuid.h
36@@ -18,6 +18,7 @@
37 #define INCLUDE_PERFETTO_EXT_BASE_UUID_H_
38
39 #include <array>
40+#include <cstdint>
41 #include <string>
42
43 #include "perfetto/ext/base/optional.h"
44diff --git a/src/traced/probes/common/cpu_freq_info.h b/src/traced/probes/common/cpu_freq_info.h
45index 36f7f9c09..8232cbf64 100644
46--- a/src/traced/probes/common/cpu_freq_info.h
47+++ b/src/traced/probes/common/cpu_freq_info.h
48@@ -17,6 +17,7 @@
49 #ifndef SRC_TRACED_PROBES_COMMON_CPU_FREQ_INFO_H_
50 #define SRC_TRACED_PROBES_COMMON_CPU_FREQ_INFO_H_
51
52+#include <cstdint>
53 #include <map>
54 #include <string>
55 #include <vector>
56--
572.39.1
58
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
new file mode 100644
index 0000000000..3b7ca951ae
--- /dev/null
+++ b/meta-oe/recipes-devtools/perfetto/files/0001-fix-musl-build.patch
@@ -0,0 +1,40 @@
1From 485c21940eb0100a33b7efea40a83e7f79e765f8 Mon Sep 17 00:00:00 2001
2From: Etienne Cordonnier <ecordonnier@snap.com>
3Date: Sun, 22 Sep 2024 20:17:52 +0200
4Subject: [PATCH] fix musl build
5
6Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
7---
8Upstream-Status: Pending
9
10 sdk/perfetto.cc | 1 -
11 src/base/utils.cc | 1 -
12 2 files changed, 2 deletions(-)
13
14diff --git a/sdk/perfetto.cc b/sdk/perfetto.cc
15index b10dd5aa92..2eb90f0d15 100644
16--- a/sdk/perfetto.cc
17+++ b/sdk/perfetto.cc
18@@ -6558,7 +6558,6 @@ std::optional<int32_t> GetTimezoneOffsetMins() {
19
20 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
21 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
22-#include <linux/prctl.h>
23 #include <sys/prctl.h>
24
25 #ifndef PR_GET_TAGGED_ADDR_CTRL
26diff --git a/src/base/utils.cc b/src/base/utils.cc
27index 0d9318c136..419c7dbc1a 100644
28--- a/src/base/utils.cc
29+++ b/src/base/utils.cc
30@@ -40,7 +40,6 @@
31
32 #if PERFETTO_BUILDFLAG(PERFETTO_OS_LINUX) || \
33 PERFETTO_BUILDFLAG(PERFETTO_OS_ANDROID)
34-#include <linux/prctl.h>
35 #include <sys/prctl.h>
36
37 #ifndef PR_GET_TAGGED_ADDR_CTRL
38--
392.43.0
40
diff --git a/meta-oe/recipes-devtools/perfetto/libperfetto.bb b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
index c8f56fd527..8383db3cc0 100644
--- a/meta-oe/recipes-devtools/perfetto/libperfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto.bb
@@ -1,5 +1,5 @@
1LICENSE = "Apache-2.0" 1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=f87516e0b698007e9e75a1fe1012b390" 2LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d"
3 3
4require perfetto.inc 4require perfetto.inc
5 5
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
index ae644747c1..719663a802 100644
--- a/meta-oe/recipes-devtools/perfetto/files/0001-meson-add-pc-file-for-lib_perfetto.patch
+++ b/meta-oe/recipes-devtools/perfetto/libperfetto/0001-meson-add-pc-file-for-lib_perfetto.patch
@@ -3,21 +3,22 @@ From: Markus Volk <f_l_k@t-online.de>
3Date: Mon, 17 Oct 2022 19:20:53 +0200 3Date: Mon, 17 Oct 2022 19:20:53 +0200
4Subject: [PATCH] meson: add PC file for lib_perfetto 4Subject: [PATCH] meson: add PC file for lib_perfetto
5 5
6Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
6--- 7---
7Upstream-Status: Pending 8Upstream-Status: Pending
8 9
9 meson.build | 12 ++++++++++-- 10 meson.build | 10 +++++++++-
10 1 file changed, 10 insertions(+), 2 deletions(-) 11 1 file changed, 9 insertions(+), 1 deletion(-)
11 12
13diff --git a/meson.build b/meson.build
14index 8fb1e26275..3ef3ebf27d 100644
12--- a/meson.build 15--- a/meson.build
13+++ b/meson.build 16+++ b/meson.build
14@@ -19,9 +19,12 @@ 17@@ -19,8 +19,11 @@
15 project( 18 project(
16 'perfetto', 19 'perfetto',
17 ['cpp'], 20 ['cpp'],
18- default_options: ['cpp_std=c++17'] 21+ version: '47.0'
19+ default_options: ['cpp_std=c++17'],
20+ version: '31.0'
21 ) 22 )
22 23
23+soversion = meson.project_version() 24+soversion = meson.project_version()
@@ -25,7 +26,7 @@ Upstream-Status: Pending
25 fs = import('fs') 26 fs = import('fs')
26 27
27 if not fs.is_dir('sdk') 28 if not fs.is_dir('sdk')
28@@ -36,8 +39,9 @@ if host_machine.system() == 'android' 29@@ -35,8 +38,9 @@ if host_machine.system() == 'android'
29 deps_perfetto += cpp.find_library('log') 30 deps_perfetto += cpp.find_library('log')
30 endif 31 endif
31 32
@@ -36,7 +37,7 @@ Upstream-Status: Pending
36 sources: 'sdk/perfetto.cc', 37 sources: 'sdk/perfetto.cc',
37 dependencies: deps_perfetto, 38 dependencies: deps_perfetto,
38 install: true, 39 install: true,
39@@ -50,6 +54,10 @@ dir_perfetto_trace = join_paths(meson.cu 40@@ -50,6 +54,10 @@ dir_perfetto_trace = join_paths(meson.current_source_dir(),
40 41
41 install_data(dir_perfetto_trace / 'perfetto_trace.proto') 42 install_data(dir_perfetto_trace / 'perfetto_trace.proto')
42 43
@@ -47,3 +48,6 @@ Upstream-Status: Pending
47 dep_perfetto = declare_dependency( 48 dep_perfetto = declare_dependency(
48 link_with: lib_perfetto, 49 link_with: lib_perfetto,
49 include_directories: inc_perfetto, 50 include_directories: inc_perfetto,
51--
522.43.0
53
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.bb b/meta-oe/recipes-devtools/perfetto/perfetto.bb
index 7e9408b0b2..e284ec8d1e 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.bb
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.bb
@@ -1,46 +1,51 @@
1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib" 1LICENSE = "Apache-2.0 & BSD-3-Clause & MIT & Zlib"
2 2
3LIC_FILES_CHKSUM = "file://LICENSE;md5=f87516e0b698007e9e75a1fe1012b390 \ 3LIC_FILES_CHKSUM = "file://LICENSE;md5=d2572d98547d43906b53615f856a8c2d \
4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \ 4 file://buildtools/libcxx/LICENSE.TXT;md5=55d89dd7eec8d3b4204b680e27da3953 \
5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \ 5 file://buildtools/libcxxabi/LICENSE.TXT;md5=7b9334635b542c56868400a46b272b1e \
6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \ 6 file://buildtools/libunwind/LICENSE.TXT;md5=f66970035d12f196030658b11725e1a1 \
7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \ 7 file://buildtools/protobuf/LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \
8 file://buildtools/zlib/LICENSE;md5=f09575dbfb09420642318b413159496f \ 8 file://buildtools/zlib/LICENSE;md5=8c75f2b4df47a77f9445315a9500cd1c \
9 file://debian/copyright;md5=4e08364c82141f181de69d0a2b89d612 \ 9 file://debian/copyright;md5=4e08364c82141f181de69d0a2b89d612 \
10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7" 10 file://python/LICENSE;md5=c602a632c34ade9c78a976734077bce7"
11 11
12# Dependencies from perfetto/tools/install-build-deps
12SRC_URI:append = " \ 13SRC_URI:append = " \
13 git://github.com/protocolbuffers/protobuf.git;branch=3.9.x;protocol=https;destsuffix=git/buildtools/protobuf;name=protobuf \ 14 git://github.com/protocolbuffers/protobuf.git;branch=main;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/protobuf;name=protobuf \
14 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;destsuffix=git/buildtools/libcxx;branch=main;name=libcxx \ 15 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/libcxx;branch=main;name=libcxx \
15 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https;destsuffix=git/buildtools/libcxxabi;branch=main;name=libcxxabi \ 16 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/libcxxabi;branch=main;name=libcxxabi \
16 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https;destsuffix=git/buildtools/libunwind;branch=main;name=libunwind \ 17 git://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/libunwind;branch=main;name=libunwind \
17 git://android.googlesource.com/platform/system/libbase.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libbase;name=libbase \ 18 git://android.googlesource.com/platform/system/libbase.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-libbase;name=libbase \
18 git://android.googlesource.com/platform/system/unwinding.git;branch=master;protocol=https;destsuffix=git/buildtools/android-unwinding;name=unwinding \ 19 git://android.googlesource.com/platform/system/unwinding.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-unwinding;name=unwinding \
19 git://android.googlesource.com/platform/system/logging.git;branch=master;protocol=https;destsuffix=git/buildtools/android-logging;name=logging \ 20 git://android.googlesource.com/platform/system/logging.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-logging;name=logging \
20 git://android.googlesource.com/platform/system/libprocinfo.git;branch=master;protocol=https;destsuffix=git/buildtools/android-libprocinfo;name=libprocinfo \ 21 git://android.googlesource.com/platform/system/libprocinfo.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-libprocinfo;name=libprocinfo \
21 git://android.googlesource.com/platform/system/core.git;branch=master;protocol=https;destsuffix=git/buildtools/android-core;name=core \ 22 git://android.googlesource.com/platform/system/core.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/android-core;name=core \
22 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=git/buildtools/bionic;name=bionic \ 23 git://android.googlesource.com/platform/bionic.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/bionic;name=bionic \
23 git://android.googlesource.com/platform/external/zlib.git;branch=master;protocol=https;destsuffix=git/buildtools/zlib;name=zlib \ 24 git://android.googlesource.com/platform/external/zlib.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zlib;name=zlib \
24 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=git/buildtools/lzma;name=lzma \ 25 git://android.googlesource.com/platform/external/lzma.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/lzma;name=lzma \
25 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=git/buildtools/;name=gn \ 26 git://android.googlesource.com/platform/external/zstd.git;branch=master;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/zstd;name=zstd \
27 https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/buildtools/;name=gn \
26 \ 28 \
27 file://0001-Remove-check_build_deps-build-steps.patch \ 29 file://0001-Remove-check_build_deps-build-steps.patch \
28 file://0001-Add-missing-header-cstdint-for-uintXX_t-types.patch" 30 file://0002-traced-fix-missing-include.patch \
31 file://0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch \
32 "
29 33
30SRCREV_bionic = "4b0e16bc72a82a63c699977376a7d6eadca1b206" 34SRCREV_bionic = "a0d0355105cb9d4a4b5384897448676133d7b8e2"
31SRCREV_core = "9e6cef7f07d8c11b3ea820938aeb7ff2e9dbaa52" 35SRCREV_core = "9e6cef7f07d8c11b3ea820938aeb7ff2e9dbaa52"
32SRCREV_lzma = "7851dce6f4ca17f5caa1c93a4e0a45686b1d56c3" 36SRCREV_lzma = "7851dce6f4ca17f5caa1c93a4e0a45686b1d56c3"
33SRCREV_libprocinfo = "fd214c13ededecae97a3b15b5fccc8925a749a84" 37SRCREV_libprocinfo = "fd214c13ededecae97a3b15b5fccc8925a749a84"
34SRCREV_logging = "7b36b566c9113fc703d68f76e8f40c0c2432481c" 38SRCREV_logging = "7b36b566c9113fc703d68f76e8f40c0c2432481c"
35SRCREV_unwinding = "d66882575ebe3700d6a6b10185f3aee28acc1051" 39SRCREV_unwinding = "4b59ea8471e89d01300481a92de3230b79b6d7c7"
36SRCREV_protobuf = "6a59a2ad1f61d9696092f79b6d74368b4d7970a3" 40SRCREV_protobuf = "f0dc78d7e6e331b8c6bb2d5283e06aa26883ca7c"
37SRCREV_libbase = "78f1c2f83e625bdf66d55b48bdb3a301c20d2fb3" 41SRCREV_libbase = "78f1c2f83e625bdf66d55b48bdb3a301c20d2fb3"
38SRCREV_libcxx = "f8571eaba606bde2eb8cd34b30104ca33e7c207e" 42SRCREV_libcxx = "852bc6746f45add53fec19f3a29280e69e358d44"
39SRCREV_libcxxabi = "8dd405113a4f3694e910b79785dd7fb7535a888a" 43SRCREV_libcxxabi = "a37a3aa431f132b02a58656f13984d51098330a2"
40SRCREV_libunwind = "aabcd8753678f1536e15eb6385a948470debdae4" 44SRCREV_libunwind = "419b03c0b8f20d6da9ddcb0d661a94a97cdd7dad"
41SRCREV_zlib = "5c85a2da4c13eda07f69d81a1579a5afddd35f59" 45SRCREV_zlib = "6d3f6aa0f87c9791ca7724c279ef61384f331dfd"
46SRCREV_zstd = "77211fcc5e08c781734a386402ada93d0d18d093"
42 47
43SRCREV_FORMAT .="_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib" 48SRCREV_FORMAT .= "_bionic_core_lzma_libprocinfo_logging_unwinding_protobuf_libbase_libcxx_libcxxabi_libunwind_zlib_zstd"
44 49
45SRC_URI[gn.sha256sum] = "f706aaa0676e3e22f5fc9ca482295d7caee8535d1869f99efa2358177b64f5cd" 50SRC_URI[gn.sha256sum] = "f706aaa0676e3e22f5fc9ca482295d7caee8535d1869f99efa2358177b64f5cd"
46 51
@@ -96,8 +101,8 @@ do_configure () {
96 101
97 ARGS=$ARGS" target_os=\"linux\"" 102 ARGS=$ARGS" target_os=\"linux\""
98 ARGS=$ARGS" target_cpu=\"$arch\"" 103 ARGS=$ARGS" target_cpu=\"$arch\""
99 ARGS=$ARGS" target_cc=\"$CC_BIN ${TUNE_CCARGS}\"" 104 ARGS=$ARGS" target_cc=\"$CC_BIN ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\""
100 ARGS=$ARGS" target_cxx=\"$CXX_BIN -std=c++11 ${TUNE_CCARGS}\"" 105 ARGS=$ARGS" target_cxx=\"$CXX_BIN ${TUNE_CCARGS} ${DEBUG_PREFIX_MAP}\""
101 ARGS=$ARGS" target_strip=\"$STRIP_BIN\"" # 106 ARGS=$ARGS" target_strip=\"$STRIP_BIN\"" #
102 ARGS=$ARGS" target_sysroot=\"${RECIPE_SYSROOT}\"" 107 ARGS=$ARGS" target_sysroot=\"${RECIPE_SYSROOT}\""
103 ARGS=$ARGS" target_linker=\"$CC_BIN ${TUNE_CCARGS} ${LDFLAGS}\"" 108 ARGS=$ARGS" target_linker=\"$CC_BIN ${TUNE_CCARGS} ${LDFLAGS}\""
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.inc b/meta-oe/recipes-devtools/perfetto/perfetto.inc
index 4b06c5bf04..1c7e9144cc 100644
--- a/meta-oe/recipes-devtools/perfetto/perfetto.inc
+++ b/meta-oe/recipes-devtools/perfetto/perfetto.inc
@@ -1,10 +1,12 @@
1SUMMARY = "Perfetto - System profiling, app tracing and trace analysis." 1SUMMARY = "Perfetto - System profiling, app tracing and trace analysis."
2HOMEPAGE = "https://github.com/google/perfetto" 2HOMEPAGE = "https://github.com/google/perfetto"
3 3
4SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1" 4# Add only patches here which are used by both perfetto and libperfetto
5SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1 \
6 file://0001-fix-musl-build.patch \
7 "
5 8
6SRCREV_perfetto = "b8da07095979310818f0efde2ef3c69ea70d62c5" 9SRCREV_perfetto = "c74251226a8caa0b43377902ee06d2570faa0c15"
7SRCREV_FORMAT = "perfetto" 10SRCREV_FORMAT = "perfetto"
8PV = "31.0" 11PV = "47.0"
9 12
10S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
index c10400aef4..118c3aed4a 100644
--- a/meta-oe/recipes-devtools/perfetto/files/0001-Remove-check_build_deps-build-steps.patch
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0001-Remove-check_build_deps-build-steps.patch
@@ -1,4 +1,4 @@
1From 3b7091243ec03054ca8800b51b85a1c09e7e3075 Mon Sep 17 00:00:00 2001 1From 07ddc4b9b7a6fec73cdc295baba353944857212e Mon Sep 17 00:00:00 2001
2From: Sui Chen <suichen6@gmail.com> 2From: Sui Chen <suichen6@gmail.com>
3Date: Mon, 13 Jun 2022 17:46:49 +0000 3Date: Mon, 13 Jun 2022 17:46:49 +0000
4Subject: [PATCH] Remove "check_build_deps" build steps 4Subject: [PATCH] Remove "check_build_deps" build steps
@@ -11,6 +11,7 @@ Also setting "is_cross_compiling" to true, so that the host-side tools
11rather than the Bitbake-generated one. 11rather than the Bitbake-generated one.
12 12
13Signed-off-by: Sui Chen <suichen6@gmail.com> 13Signed-off-by: Sui Chen <suichen6@gmail.com>
14Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
14--- 15---
15Upstream-Status: Pending 16Upstream-Status: Pending
16 17
@@ -20,10 +21,10 @@ Upstream-Status: Pending
20 3 files changed, 9 insertions(+), 9 deletions(-) 21 3 files changed, 9 insertions(+), 9 deletions(-)
21 22
22diff --git a/gn/BUILD.gn b/gn/BUILD.gn 23diff --git a/gn/BUILD.gn b/gn/BUILD.gn
23index 8a7ca72a8..e4a2d39f0 100644 24index ed055ee700..ea79979ec5 100644
24--- a/gn/BUILD.gn 25--- a/gn/BUILD.gn
25+++ b/gn/BUILD.gn 26+++ b/gn/BUILD.gn
26@@ -111,7 +111,6 @@ group("default_deps") { 27@@ -117,7 +117,6 @@ group("default_deps") {
27 deps = [ ":gen_buildflags" ] 28 deps = [ ":gen_buildflags" ]
28 if (perfetto_build_standalone) { 29 if (perfetto_build_standalone) {
29 public_deps = [ 30 public_deps = [
@@ -32,10 +33,10 @@ index 8a7ca72a8..e4a2d39f0 100644
32 "//gn/standalone/sanitizers:deps", 33 "//gn/standalone/sanitizers:deps",
33 ] 34 ]
34diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn 35diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
35index 582e9b867..9c77ac64c 100644 36index 36fb6371a5..f7bc97b1a6 100644
36--- a/gn/standalone/BUILD.gn 37--- a/gn/standalone/BUILD.gn
37+++ b/gn/standalone/BUILD.gn 38+++ b/gn/standalone/BUILD.gn
38@@ -441,10 +441,10 @@ config("android_liblog") { 39@@ -469,10 +469,10 @@ config("android_liblog") {
39 } 40 }
40 41
41 # Checks that tools/install-build-deps has been run since it last changed. 42 # Checks that tools/install-build-deps has been run since it last changed.
@@ -53,7 +54,7 @@ index 582e9b867..9c77ac64c 100644
53+# args = [ "--android" ] 54+# args = [ "--android" ]
54+#} 55+#}
55diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn 56diff --git a/gn/standalone/BUILDCONFIG.gn b/gn/standalone/BUILDCONFIG.gn
56index 6f32686c1..c041989b0 100644 57index 05ed548f9d..94db724b2b 100644
57--- a/gn/standalone/BUILDCONFIG.gn 58--- a/gn/standalone/BUILDCONFIG.gn
58+++ b/gn/standalone/BUILDCONFIG.gn 59+++ b/gn/standalone/BUILDCONFIG.gn
59@@ -59,8 +59,9 @@ declare_args() { 60@@ -59,8 +59,9 @@ declare_args() {
@@ -67,7 +68,4 @@ index 6f32686c1..c041989b0 100644
67+ is_cross_compiling = true 68+ is_cross_compiling = true
68 } 69 }
69 default_configs = [ 70 default_configs = [
70 "//gn/standalone:debug_symbols", 71 "//gn/standalone:default",
71--
722.37.1
73
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch
new file mode 100644
index 0000000000..225810e511
--- /dev/null
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0001-add-missing-includes-for-the-build-with-use_libcxx_m.patch
@@ -0,0 +1,105 @@
1From 3953f56f98420e2ecb0e1c4542e20bfbb81da965 Mon Sep 17 00:00:00 2001
2From: Takuto Ikuta <tikuta@google.com>
3Date: Mon, 9 Dec 2024 18:45:36 +0900
4Subject: [PATCH] add missing includes for the build with use_libcxx_modules
5
6This is to fix build error when we set use_libcxx_modules=true in
7chromium build.
8
9Bug: 40440396
10Change-Id: I0cca5190c2c3551cc62bafafd12da9283e4afdd4
11
12Upstream-Status: Backport [3953f56 add missing includes for the build with use_libcxx_modules]
13- Removed some patches for files that do not exist in the current version v47.0
14
15Signed-off-by: mark.yang <mark.yang@lge.com>
16---
17
18diff --git a/include/perfetto/base/flat_set.h b/include/perfetto/base/flat_set.h
19index 9390537b39..5be590ea6b 100644
20--- a/include/perfetto/base/flat_set.h
21+++ b/include/perfetto/base/flat_set.h
22@@ -17,7 +17,10 @@
23 #ifndef INCLUDE_PERFETTO_BASE_FLAT_SET_H_
24 #define INCLUDE_PERFETTO_BASE_FLAT_SET_H_
25
26+#include <stddef.h>
27+
28 #include <algorithm>
29+#include <utility>
30 #include <vector>
31
32 // A vector-based set::set-like container.
33diff --git a/include/perfetto/base/time.h b/include/perfetto/base/time.h
34index 6436503d20..8de7648267 100644
35--- a/include/perfetto/base/time.h
36+++ b/include/perfetto/base/time.h
37@@ -17,6 +17,7 @@
38 #ifndef INCLUDE_PERFETTO_BASE_TIME_H_
39 #define INCLUDE_PERFETTO_BASE_TIME_H_
40
41+#include <stdint.h>
42 #include <time.h>
43
44 #include <chrono>
45diff --git a/include/perfetto/ext/base/string_utils.h b/include/perfetto/ext/base/string_utils.h
46index c8264a2fb7..3b15e55771 100644
47--- a/include/perfetto/ext/base/string_utils.h
48+++ b/include/perfetto/ext/base/string_utils.h
49@@ -24,6 +24,7 @@
50 #include <cinttypes>
51 #include <optional>
52 #include <string>
53+#include <system_error>
54 #include <vector>
55
56 #include "perfetto/ext/base/string_view.h"
57diff --git a/include/perfetto/ext/base/subprocess.h b/include/perfetto/ext/base/subprocess.h
58index 12121e0284..4075169df1 100644
59--- a/include/perfetto/ext/base/subprocess.h
60+++ b/include/perfetto/ext/base/subprocess.h
61@@ -20,6 +20,7 @@
62 #include <condition_variable>
63 #include <functional>
64 #include <initializer_list>
65+#include <memory>
66 #include <mutex>
67 #include <optional>
68 #include <string>
69diff --git a/include/perfetto/ext/base/waitable_event.h b/include/perfetto/ext/base/waitable_event.h
70index 0e786196f8..a4b268a2f3 100644
71--- a/include/perfetto/ext/base/waitable_event.h
72+++ b/include/perfetto/ext/base/waitable_event.h
73@@ -17,6 +17,8 @@
74 #ifndef INCLUDE_PERFETTO_EXT_BASE_WAITABLE_EVENT_H_
75 #define INCLUDE_PERFETTO_EXT_BASE_WAITABLE_EVENT_H_
76
77+#include <stdint.h>
78+
79 #include <condition_variable>
80 #include <mutex>
81
82diff --git a/include/perfetto/ext/tracing/core/slice.h b/include/perfetto/ext/tracing/core/slice.h
83index 063043bdc6..cdabc39465 100644
84--- a/include/perfetto/ext/tracing/core/slice.h
85+++ b/include/perfetto/ext/tracing/core/slice.h
86@@ -18,6 +18,7 @@
87 #define INCLUDE_PERFETTO_EXT_TRACING_CORE_SLICE_H_
88
89 #include <stddef.h>
90+#include <stdint.h>
91 #include <string.h>
92
93 #include <memory>
94diff --git a/src/trace_processor/util/trace_blob_view_reader.h b/src/trace_processor/util/trace_blob_view_reader.h
95index c39ffaba7c..6ffa7ff050 100644
96--- a/src/trace_processor/util/trace_blob_view_reader.h
97+++ b/src/trace_processor/util/trace_blob_view_reader.h
98@@ -19,6 +19,7 @@
99
100 #include <cstddef>
101 #include <optional>
102+#include <vector>
103
104 #include "perfetto/ext/base/circular_queue.h"
105 #include "perfetto/trace_processor/trace_blob_view.h"
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch b/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
new file mode 100644
index 0000000000..49b7989359
--- /dev/null
+++ b/meta-oe/recipes-devtools/perfetto/perfetto/0002-traced-fix-missing-include.patch
@@ -0,0 +1,28 @@
1From d005c0123b2f929b918359a53ffe61d7ca2212a0 Mon Sep 17 00:00:00 2001
2From: Lalit Maganti <lalitm@google.com>
3Date: Wed, 14 Aug 2024 11:56:47 +0100
4Subject: [PATCH] traced: fix missing include
5
6Change-Id: Ib9ce8ce5b057e89fa451ccef228228d607b36793
7Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
8---
9Upstream-Status: Backport [https://github.com/google/perfetto/commit/d005c0123b2f929b918359a53ffe61d7ca2212a0]
10
11 src/traced/probes/sys_stats/sys_stats_data_source.h | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/src/traced/probes/sys_stats/sys_stats_data_source.h b/src/traced/probes/sys_stats/sys_stats_data_source.h
15index e09cd8a2ca..7e4749bdcd 100644
16--- a/src/traced/probes/sys_stats/sys_stats_data_source.h
17+++ b/src/traced/probes/sys_stats/sys_stats_data_source.h
18@@ -21,6 +21,7 @@
19
20 #include <map>
21 #include <memory>
22+#include <optional>
23 #include <string>
24
25 #include "perfetto/ext/base/paged_memory.h"
26--
272.43.0
28
diff --git a/meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb b/meta-oe/recipes-devtools/perl/dbd-mariadb_1.24.bb
index 0eaf2137b6..65f2ec232a 100644
--- a/meta-oe/recipes-devtools/perl/dbd-mariadb_1.23.bb
+++ b/meta-oe/recipes-devtools/perl/dbd-mariadb_1.24.bb
@@ -6,11 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d0a06964340e5c0cde88b7af611f755c"
6DEPENDS = "libdbi-perl-native libdev-checklib-perl-native libmysqlclient" 6DEPENDS = "libdbi-perl-native libdev-checklib-perl-native libmysqlclient"
7 7
8SRC_URI = "${CPAN_MIRROR}/authors/id/P/PA/PALI/DBD-MariaDB-${PV}.tar.gz" 8SRC_URI = "${CPAN_MIRROR}/authors/id/P/PA/PALI/DBD-MariaDB-${PV}.tar.gz"
9SRC_URI[sha256sum] = "0d0c76c660ddd55570e48f3e2fdea8f621a69ac0ed48190e8cfcafcb5e9b859d" 9SRC_URI[sha256sum] = "f977a25b4116a0a95a7c8a894fd37097abe19af9a6a9ed4d800604ec17873fe4"
10 10
11RDEPENDS:${PN} = "libdbi-perl" 11RDEPENDS:${PN} = "libdbi-perl"
12 12
13S = "${WORKDIR}/DBD-MariaDB-${PV}" 13S = "${UNPACKDIR}/DBD-MariaDB-${PV}"
14 14
15inherit cpan 15inherit cpan
16 16
diff --git a/meta-oe/recipes-devtools/perl/exiftool_12.85.bb b/meta-oe/recipes-devtools/perl/exiftool_12.89.bb
index 66e9a3b719..69a4f79815 100644
--- a/meta-oe/recipes-devtools/perl/exiftool_12.85.bb
+++ b/meta-oe/recipes-devtools/perl/exiftool_12.89.bb
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://perl-Image-ExifTool.spec;beginline=5;endline=5;md5=ff
7 7
8inherit cpan 8inherit cpan
9 9
10SRCREV = "405674e0c477931b60b10a78828483ef54761385" 10SRCREV = "e04534a40925354187e8432d44248229d774f34a"
11SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master" 11SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master"
12 12
13S = "${WORKDIR}/git"
14 13
15RDEPENDS:${PN} = " \ 14RDEPENDS:${PN} = " \
16 perl \ 15 perl \
diff --git a/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb b/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb
index e28b6ea018..9cdb0a52cc 100644
--- a/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb
+++ b/meta-oe/recipes-devtools/perl/ipc-run_20231003.0.bb
@@ -12,7 +12,6 @@ DEPENDS = "perl"
12SRC_URI = "git://github.com/toddr/IPC-Run.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/toddr/IPC-Run.git;branch=master;protocol=https"
13SRCREV = "ad56c3b5f5a211d32bbb8ac29f180d707ee58c1b" 13SRCREV = "ad56c3b5f5a211d32bbb8ac29f180d707ee58c1b"
14 14
15S = "${WORKDIR}/git"
16 15
17inherit cpan 16inherit cpan
18 17
diff --git a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.67.bb
index b2266394d6..4886333f3a 100644
--- a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb
+++ b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.67.bb
@@ -8,9 +8,9 @@ SRCNAME = "Config-General"
8 8
9SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz" 9SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz"
10 10
11SRC_URI[sha256sum] = "4d6d5754be3a9f30906836f0cc10e554c8832e14e7a1341efb15b05d706fc58f" 11SRC_URI[sha256sum] = "473d65127b23dac0e8039c01e28bc4072cb9a6e93e81a1ea4893cea08c698db0"
12 12
13S = "${WORKDIR}/${SRCNAME}-${PV}" 13S = "${UNPACKDIR}/${SRCNAME}-${PV}"
14 14
15EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" 15EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
16 16
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch b/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch
deleted file mode 100644
index b41bbe0a50..0000000000
--- a/meta-oe/recipes-devtools/perl/libdbi-perl/CVE-2014-10402.patch
+++ /dev/null
@@ -1,56 +0,0 @@
1Backport patch to fix CVE-2014-10402.
2
3CVE: CVE-2014-10402
4Upstream-Status: Backport [https://github.com/rehsack/dbi/commit/19d0fb1]
5
6Ref:
7https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972180#12
8
9Signed-off-by: Kai Kang <kai.kang@windriver.com>
10
11
12From 19d0fb169eed475e1c053e99036b8668625cfa94 Mon Sep 17 00:00:00 2001
13From: Jens Rehsack <sno@netbsd.org>
14Date: Tue, 6 Oct 2020 10:22:17 +0200
15Subject: [PATCH] lib/DBD/File.pm: fix CVE-2014-10401
16
17Dig into the root cause of RT#99508 - which resulted in CVE-2014-10401 - and
18figure out that DBI->parse_dsn is the wrong helper to parse our attributes in
19DSN, since in DBD::dr::connect only the "dbname" remains from DSN which causes
20parse_dsn to bailout.
21
22Parsing on our own similar to parse_dsn shows the way out.
23
24Signed-off-by: Jens Rehsack <sno@netbsd.org>
25---
26 lib/DBD/File.pm | 7 +++++--
27 1 file changed, 5 insertions(+), 2 deletions(-)
28
29diff --git a/lib/DBD/File.pm b/lib/DBD/File.pm
30index fb14e9a..f55076f 100644
31--- a/lib/DBD/File.pm
32+++ b/lib/DBD/File.pm
33@@ -109,7 +109,11 @@ sub connect
34 # We do not (yet) care about conflicting attributes here
35 # my $dbh = DBI->connect ("dbi:CSV:f_dir=test", undef, undef, { f_dir => "text" });
36 # will test here that both test and text should exist
37- if (my $attr_hash = (DBI->parse_dsn ($dbname))[3]) {
38+ #
39+ # Parsing on our own similar to parse_dsn to find attributes in 'dbname' parameter.
40+ if ($dbname) {
41+ my @attrs = split /;/ => $dbname;
42+ my $attr_hash = { map { split /\s*=>?\s*|\s*,\s*/, $_} @attrs };
43 if (defined $attr_hash->{f_dir} && ! -d $attr_hash->{f_dir}) {
44 my $msg = "No such directory '$attr_hash->{f_dir}";
45 $drh->set_err (2, $msg);
46@@ -120,7 +124,6 @@ sub connect
47 if ($attr and defined $attr->{f_dir} && ! -d $attr->{f_dir}) {
48 my $msg = "No such directory '$attr->{f_dir}";
49 $drh->set_err (2, $msg);
50- $attr->{RaiseError} and croak $msg;
51 return;
52 }
53
54--
552.17.1
56
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb
index 1fee83a8fd..c128cb7154 100644
--- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb
@@ -4,18 +4,15 @@ DESCRIPTION = "DBI is a database access Application Programming Interface \
4of functions, variables and conventions that provide a consistent \ 4of functions, variables and conventions that provide a consistent \
5database interface independent of the actual database being used. \ 5database interface independent of the actual database being used. \
6" 6"
7HOMEPAGE = "http://search.cpan.org/dist/DBI/" 7HOMEPAGE = "https://metacpan.org/dist/DBI"
8SECTION = "libs" 8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later" 9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=65f65488c774efe1da488e36ad6c4a36"
11 11
12SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \ 12SRC_URI = "${CPAN_MIRROR}/authors/id/H/HM/HMBRAND/DBI-${PV}.tgz"
13 file://CVE-2014-10402.patch \ 13SRC_URI[sha256sum] = "0df16af8e5b3225a68b7b592ab531004ddb35a9682b50300ce50174ad867d9aa"
14 "
15SRC_URI[md5sum] = "352f80b1e23769c116082a90905d7398"
16SRC_URI[sha256sum] = "8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa"
17 14
18S = "${WORKDIR}/DBI-${PV}" 15S = "${UNPACKDIR}/DBI-${PV}"
19 16
20inherit cpan ptest-perl 17inherit cpan ptest-perl
21 18
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb
index 74a09e7bf8..43614d55ac 100644
--- a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb
+++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb
@@ -13,7 +13,7 @@ SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV
13" 13"
14SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" 14SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca"
15 15
16S = "${WORKDIR}/Devel-CheckLib-${PV}" 16S = "${UNPACKDIR}/Devel-CheckLib-${PV}"
17 17
18inherit cpan 18inherit cpan
19 19
@@ -25,4 +25,4 @@ do_install:append() {
25 -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib 25 -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib
26} 26}
27 27
28BBCLASSEXTEND="native" 28BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb
index 6029b7aae9..1464a84d34 100644
--- a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb
+++ b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.20.bb
@@ -7,7 +7,7 @@ SRC_URI = "http://www.cpan.org/modules/by-module/IO/IO-Tty-${PV}.tar.gz"
7 7
8SRC_URI[sha256sum] = "b15309fc85623893289cb9b2b88dfa9ed1e69156b75f29938553a45be6d730af" 8SRC_URI[sha256sum] = "b15309fc85623893289cb9b2b88dfa9ed1e69156b75f29938553a45be6d730af"
9 9
10S = "${WORKDIR}/IO-Tty-${PV}" 10S = "${UNPACKDIR}/IO-Tty-${PV}"
11 11
12inherit cpan ptest-perl 12inherit cpan ptest-perl
13 13
diff --git a/meta-oe/recipes-devtools/perl/libjson-perl_4.03000.bb b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
index 88d0d26d03..ded0dea0d1 100644
--- a/meta-oe/recipes-devtools/perl/libjson-perl_4.03000.bb
+++ b/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
@@ -11,9 +11,8 @@ DEPENDS += "perl"
11 11
12SRC_URI = "git://github.com/makamaka/JSON.git;protocol=https;branch=master" 12SRC_URI = "git://github.com/makamaka/JSON.git;protocol=https;branch=master"
13 13
14SRCREV = "ebbae181c5e311fa80ee4c6379b598c7a6400570" 14SRCREV = "39bc0e567c202762a575fed2844ebdb941c3ca09"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit cpan 17inherit cpan
19 18
diff --git a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb
index be9704a313..a7e05922d6 100644
--- a/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb
+++ b/meta-oe/recipes-devtools/perl/libparse-yapp-perl_1.21.bb
@@ -11,10 +11,9 @@ LIC_FILES_CHKSUM = "file://lib/Parse/Yapp.pm;beginline=508;endline=521;md5=41a45
11 11
12SRC_URI = "https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-${PV}.tar.gz" 12SRC_URI = "https://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-${PV}.tar.gz"
13 13
14SRC_URI[md5sum] = "69584d5b0f0304bb2a23cffcd982c5de"
15SRC_URI[sha256sum] = "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5" 14SRC_URI[sha256sum] = "3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5"
16 15
17S = "${WORKDIR}/Parse-Yapp-${PV}" 16S = "${UNPACKDIR}/Parse-Yapp-${PV}"
18 17
19inherit cpan 18inherit cpan
20 19
diff --git a/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb b/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb
index ff4e1f0563..3e4137a68c 100644
--- a/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb
+++ b/meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.15.bb
@@ -8,10 +8,12 @@ LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
8LIC_FILES_CHKSUM = "file://LICENCE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 8LIC_FILES_CHKSUM = "file://LICENCE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9 9
10SRC_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/pcsc-perl-${PV}.tar.bz2" 10SRC_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/pcsc-perl-${PV}.tar.bz2"
11SRC_URI[md5sum] = "45601505dbb7b27329811ac9bad35fab" 11SRC_URI[sha256sum] = "5cc834438739bd6e4e837fb7e10bd8befb809cd185ae6cf4b33e5fa9161f59fe"
12SRC_URI[sha256sum] = "2722b7e5543e4faf3ba1ec6b29a7dfec6d92be1edec09d0a3191992d4d88c69d"
13 12
14S = "${WORKDIR}/pcsc-perl-${PV}" 13UPSTREAM_CHECK_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/"
14UPSTREAM_CHECK_REGEX = "pcsc-perl-(?P<pver>\d+(\.\d+)+)"
15
16S = "${UNPACKDIR}/pcsc-perl-${PV}"
15 17
16inherit cpan pkgconfig 18inherit cpan pkgconfig
17 19
@@ -19,4 +21,4 @@ DEPENDS += "pcsc-lite"
19 21
20RDEPENDS:${PN} += "perl-module-carp" 22RDEPENDS:${PN} += "perl-module-carp"
21 23
22BBCLASSEXTEND="native" 24BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb b/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb
index 11f6a1ad19..981c946483 100644
--- a/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb
+++ b/meta-oe/recipes-devtools/perl/libperlio-gzip-perl_0.20.bb
@@ -11,10 +11,9 @@ DEPENDS += "perl"
11 11
12SRC_URI = "https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-${PV}.tar.gz" 12SRC_URI = "https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/PerlIO-gzip-${PV}.tar.gz"
13 13
14SRC_URI[md5sum] = "0393eae5d0b23df6cf40ed44af7d711c"
15SRC_URI[sha256sum] = "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5" 14SRC_URI[sha256sum] = "4848679a3f201e3f3b0c5f6f9526e602af52923ffa471a2a3657db786bd3bdc5"
16 15
17S = "${WORKDIR}/PerlIO-gzip-${PV}" 16S = "${UNPACKDIR}/PerlIO-gzip-${PV}"
18 17
19EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" 18EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
20 19
diff --git a/meta-oe/recipes-devtools/php/php/0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch b/meta-oe/recipes-devtools/php/php/0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch
deleted file mode 100644
index 5b8c76209a..0000000000
--- a/meta-oe/recipes-devtools/php/php/0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch
+++ /dev/null
@@ -1,93 +0,0 @@
1From 1eeb59366d6140a799f6051fb9f57d988b81fd5b Mon Sep 17 00:00:00 2001
2From: easyaspi314 <easyaspi314@users.noreply.github.com>
3Date: Wed, 12 Apr 2023 13:33:07 +0800
4Subject: [PATCH] Change whether to inline XXH3_hashLong_withSecret to a config
5 option
6
7Change whether to inline XXH3_hashLong_withSecret to a config option to fix
8GCC 12 -Og.
9
10Upstream-Status: Submitted [https://github.com/php/php-src/pull/11062]
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 ext/hash/xxhash/xxhash.h | 35 +++++++++++++++++++++++++++++++++--
15 1 file changed, 33 insertions(+), 2 deletions(-)
16
17diff --git a/ext/hash/xxhash/xxhash.h b/ext/hash/xxhash/xxhash.h
18index b5bd2864..8e816c05 100644
19--- a/ext/hash/xxhash/xxhash.h
20+++ b/ext/hash/xxhash/xxhash.h
21@@ -1375,6 +1375,23 @@ XXH3_128bits_reset_withSecretandSeed(XXH3_state_t* statePtr,
22 */
23 # define XXH_NO_INLINE_HINTS 0
24
25+/*!
26+ * @def XXH3_INLINE_SECRET
27+ * @brief Determines whether to inline the XXH3 withSecret code.
28+ *
29+ * When the secret size is known, the compiler can improve the performance
30+ * of XXH3_64bits_withSecret() and XXH3_128bits_withSecret().
31+ *
32+ * However, if the secret size is not known, it doesn't have any benefit. This
33+ * happens when xxHash is compiled into a global symbol. Therefore, if
34+ * @ref XXH_INLINE_ALL is *not* defined, this will be defined to 0.
35+ *
36+ * Additionally, this defaults to 0 on GCC 12+, which has an issue with function pointers
37+ * that are *sometimes* force inline on -Og, and it is impossible to automatically
38+ * detect this optimization level.
39+ */
40+# define XXH3_INLINE_SECRET 0
41+
42 /*!
43 * @def XXH32_ENDJMP
44 * @brief Whether to use a jump for `XXH32_finalize`.
45@@ -1439,6 +1456,15 @@ XXH3_128bits_reset_withSecretandSeed(XXH3_state_t* statePtr,
46 # endif
47 #endif
48
49+#ifndef XXH3_INLINE_SECRET
50+# if (defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 12) \
51+ || !defined(XXH_INLINE_ALL)
52+# define XXH3_INLINE_SECRET 0
53+# else
54+# define XXH3_INLINE_SECRET 1
55+# endif
56+#endif
57+
58 #ifndef XXH32_ENDJMP
59 /* generally preferable for performance */
60 # define XXH32_ENDJMP 0
61@@ -1515,6 +1541,11 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size)
62 # define XXH_NO_INLINE static
63 #endif
64
65+#if XXH3_INLINE_SECRET
66+# define XXH3_WITH_SECRET_INLINE XXH_FORCE_INLINE
67+#else
68+# define XXH3_WITH_SECRET_INLINE XXH_NO_INLINE
69+#endif
70
71
72 /* *************************************
73@@ -4465,7 +4496,7 @@ XXH3_hashLong_64b_internal(const void* XXH_RESTRICT input, size_t len,
74 * so that the compiler can properly optimize the vectorized loop.
75 * This makes a big performance difference for "medium" keys (<1 KB) when using AVX instruction set.
76 */
77-XXH_FORCE_INLINE XXH64_hash_t
78+XXH3_WITH_SECRET_INLINE XXH64_hash_t
79 XXH3_hashLong_64b_withSecret(const void* XXH_RESTRICT input, size_t len,
80 XXH64_hash_t seed64, const xxh_u8* XXH_RESTRICT secret, size_t secretLen)
81 {
82@@ -5263,7 +5294,7 @@ XXH3_hashLong_128b_default(const void* XXH_RESTRICT input, size_t len,
83 * It's important for performance to pass @secretLen (when it's static)
84 * to the compiler, so that it can properly optimize the vectorized loop.
85 */
86-XXH_FORCE_INLINE XXH128_hash_t
87+XXH3_WITH_SECRET_INLINE XXH128_hash_t
88 XXH3_hashLong_128b_withSecret(const void* XXH_RESTRICT input, size_t len,
89 XXH64_hash_t seed64,
90 const void* XXH_RESTRICT secret, size_t secretLen)
91--
922.25.1
93
diff --git a/meta-oe/recipes-devtools/php/php/0004-configure.ac-don-t-include-build-libtool.m4.patch b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
index 19a8bf8e4f..fae8697fd4 100644
--- a/meta-oe/recipes-devtools/php/php/0004-configure.ac-don-t-include-build-libtool.m4.patch
+++ b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
@@ -1,7 +1,7 @@
1From 41ef1121682c245b10df7de4b78c45baf9114c04 Mon Sep 17 00:00:00 2001 1From 6da78888b934dc10720a6e0e520536077cc2aac2 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com> 2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:03:46 -0500 3Date: Tue, 9 Nov 2021 13:03:46 -0500
4Subject: [PATCH 04/11] configure.ac: don't include build/libtool.m4 4Subject: [PATCH 1/5] configure.ac: don't include build/libtool.m4
5 5
6we delete build/libtool.m4 before do_configure, 6we delete build/libtool.m4 before do_configure,
7we will use libtool.m4 under ACLOCALDIR 7we will use libtool.m4 under ACLOCALDIR
@@ -17,7 +17,7 @@ Signed-off-by: Claude Bing <cbing@cybernetics.com>
17 1 file changed, 1 deletion(-) 17 1 file changed, 1 deletion(-)
18 18
19diff --git a/configure.ac b/configure.ac 19diff --git a/configure.ac b/configure.ac
20index 90c94323aa..161e7c3f53 100644 20index 9d79720a2..9353e2f6e 100644
21--- a/configure.ac 21--- a/configure.ac
22+++ b/configure.ac 22+++ b/configure.ac
23@@ -6,7 +6,6 @@ dnl ---------------------------------------------------------------------------- 23@@ -6,7 +6,6 @@ dnl ----------------------------------------------------------------------------
diff --git a/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch b/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch
deleted file mode 100644
index c743697469..0000000000
--- a/meta-oe/recipes-devtools/php/php/0001-ext-opcache-config.m4-enable-opcache.patch
+++ /dev/null
@@ -1,254 +0,0 @@
1From 889583912ddd7abc628f2703892ec4884db6419a Mon Sep 17 00:00:00 2001
2From: Soumya Sambu <soumya.sambu@windriver.com>
3Date: Tue, 7 May 2024 08:39:16 +0000
4Subject: [PATCH 01/11] ext/opcache/config.m4: enable opcache
5
6We can't use AC_TRY_RUN to run programs in a cross compile
7environment. Set the variables directly instead since we know
8that we'd be running on latest enough linux kernel.
9
10Upstream-Status: Inappropriate [Configuration]
11
12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
13
14update patch to version 7.4.4
15Signed-off-by: Changqing Li <changqing.li@windriver.com>
16
17update patch to version 8.0.12
18fix issue linking with librt
19Signed-off-by: Claude Bing <cbing@cybernetics.com>
20
21update patch to version 8.1.0
22Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
23
24update patch to version 8.2.18
25Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
26---
27 ext/opcache/config.m4 | 204 ++----------------------------------------
28 1 file changed, 8 insertions(+), 196 deletions(-)
29
30diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
31index 6bf07ad3..5d645b86 100644
32--- a/ext/opcache/config.m4
33+++ b/ext/opcache/config.m4
34@@ -113,209 +113,21 @@ if test "$PHP_OPCACHE" != "no"; then
35 AC_CHECK_FUNCS([mprotect])
36
37 AC_MSG_CHECKING(for sysvipc shared memory support)
38- AC_RUN_IFELSE([AC_LANG_SOURCE([[
39-#include <sys/types.h>
40-#include <sys/wait.h>
41-#include <sys/ipc.h>
42-#include <sys/shm.h>
43-#include <unistd.h>
44-#include <string.h>
45-
46-int main(void) {
47- pid_t pid;
48- int status;
49- int ipc_id;
50- char *shm;
51- struct shmid_ds shmbuf;
52-
53- ipc_id = shmget(IPC_PRIVATE, 4096, (IPC_CREAT | SHM_R | SHM_W));
54- if (ipc_id == -1) {
55- return 1;
56- }
57-
58- shm = shmat(ipc_id, NULL, 0);
59- if (shm == (void *)-1) {
60- shmctl(ipc_id, IPC_RMID, NULL);
61- return 2;
62- }
63-
64- if (shmctl(ipc_id, IPC_STAT, &shmbuf) != 0) {
65- shmdt(shm);
66- shmctl(ipc_id, IPC_RMID, NULL);
67- return 3;
68- }
69-
70- shmbuf.shm_perm.uid = getuid();
71- shmbuf.shm_perm.gid = getgid();
72- shmbuf.shm_perm.mode = 0600;
73-
74- if (shmctl(ipc_id, IPC_SET, &shmbuf) != 0) {
75- shmdt(shm);
76- shmctl(ipc_id, IPC_RMID, NULL);
77- return 4;
78- }
79-
80- shmctl(ipc_id, IPC_RMID, NULL);
81-
82- strcpy(shm, "hello");
83-
84- pid = fork();
85- if (pid < 0) {
86- return 5;
87- } else if (pid == 0) {
88- strcpy(shm, "bye");
89- return 6;
90- }
91- if (wait(&status) != pid) {
92- return 7;
93- }
94- if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
95- return 8;
96- }
97- if (strcmp(shm, "bye") != 0) {
98- return 9;
99- }
100- return 0;
101-}
102-]])],[have_shm_ipc=yes],[have_shm_ipc=no],[have_shm_ipc=no])
103- if test "$have_shm_ipc" = "yes"; then
104- AC_DEFINE(HAVE_SHM_IPC, 1, [Define if you have SysV IPC SHM support])
105- fi
106+ AC_DEFINE(HAVE_SHM_IPC, 1, [Define if you have SysV IPC SHM support])
107+ have_shm_ipc=yes
108 AC_MSG_RESULT([$have_shm_ipc])
109
110 AC_MSG_CHECKING(for mmap() using MAP_ANON shared memory support)
111- AC_RUN_IFELSE([AC_LANG_SOURCE([[
112-#include <sys/types.h>
113-#include <sys/wait.h>
114-#include <sys/mman.h>
115-#include <unistd.h>
116-#include <string.h>
117-
118-#ifndef MAP_ANON
119-# ifdef MAP_ANONYMOUS
120-# define MAP_ANON MAP_ANONYMOUS
121-# endif
122-#endif
123-#ifndef MAP_FAILED
124-# define MAP_FAILED ((void*)-1)
125-#endif
126-
127-int main(void) {
128- pid_t pid;
129- int status;
130- char *shm;
131-
132- shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
133- if (shm == MAP_FAILED) {
134- return 1;
135- }
136-
137- strcpy(shm, "hello");
138-
139- pid = fork();
140- if (pid < 0) {
141- return 5;
142- } else if (pid == 0) {
143- strcpy(shm, "bye");
144- return 6;
145- }
146- if (wait(&status) != pid) {
147- return 7;
148- }
149- if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
150- return 8;
151- }
152- if (strcmp(shm, "bye") != 0) {
153- return 9;
154- }
155- return 0;
156-}
157-]])],[have_shm_mmap_anon=yes],[have_shm_mmap_anon=no],[
158- case $host_alias in
159- *linux*)
160- have_shm_mmap_anon=yes
161- ;;
162- *)
163- have_shm_mmap_anon=no
164- ;;
165- esac
166-])
167- if test "$have_shm_mmap_anon" = "yes"; then
168- AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
169- fi
170+ AC_DEFINE(HAVE_SHM_MMAP_ANON, 1, [Define if you have mmap(MAP_ANON) SHM support])
171+ have_shm_mmap_anon=yes
172 AC_MSG_RESULT([$have_shm_mmap_anon])
173
174 PHP_CHECK_FUNC_LIB(shm_open, rt, root)
175 AC_MSG_CHECKING(for mmap() using shm_open() shared memory support)
176- AC_RUN_IFELSE([AC_LANG_SOURCE([[
177-#include <sys/types.h>
178-#include <sys/wait.h>
179-#include <sys/mman.h>
180-#include <sys/stat.h>
181-#include <fcntl.h>
182-#include <unistd.h>
183-#include <string.h>
184-#include <stdlib.h>
185-#include <stdio.h>
186-
187-#ifndef MAP_FAILED
188-# define MAP_FAILED ((void*)-1)
189-#endif
190-
191-int main(void) {
192- pid_t pid;
193- int status;
194- int fd;
195- char *shm;
196- char tmpname[4096];
197-
198- sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid());
199- if (mktemp(tmpname) == NULL) {
200- return 1;
201- }
202- fd = shm_open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
203- if (fd == -1) {
204- return 2;
205- }
206- if (ftruncate(fd, 4096) < 0) {
207- close(fd);
208- shm_unlink(tmpname);
209- return 3;
210- }
211-
212- shm = mmap(NULL, 4096, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
213- if (shm == MAP_FAILED) {
214- return 4;
215- }
216- shm_unlink(tmpname);
217- close(fd);
218-
219- strcpy(shm, "hello");
220-
221- pid = fork();
222- if (pid < 0) {
223- return 5;
224- } else if (pid == 0) {
225- strcpy(shm, "bye");
226- return 6;
227- }
228- if (wait(&status) != pid) {
229- return 7;
230- }
231- if (!WIFEXITED(status) || WEXITSTATUS(status) != 6) {
232- return 8;
233- }
234- if (strcmp(shm, "bye") != 0) {
235- return 9;
236- }
237- return 0;
238-}
239-]])],[have_shm_mmap_posix=yes],[have_shm_mmap_posix=no],[have_shm_mmap_posix=no])
240- if test "$have_shm_mmap_posix" = "yes"; then
241- AC_DEFINE(HAVE_SHM_MMAP_POSIX, 1, [Define if you have POSIX mmap() SHM support])
242- PHP_CHECK_LIBRARY(rt, shm_unlink, [PHP_ADD_LIBRARY(rt,1,OPCACHE_SHARED_LIBADD)])
243- fi
244- AC_MSG_RESULT([$have_shm_mmap_posix])
245+ AC_DEFINE(HAVE_SHM_MMAP_POSIX, 1, [Define if you have POSIX mmap() SHM support])
246+ AC_MSG_RESULT([yes])
247+ have_shm_mmap_posix=yes
248+ PHP_CHECK_LIBRARY(rt, shm_unlink, [PHP_ADD_LIBRARY(rt,1,OPCACHE_SHARED_LIBADD)])
249
250 PHP_NEW_EXTENSION(opcache,
251 ZendAccelerator.c \
252--
2532.40.0
254
diff --git a/meta-oe/recipes-devtools/php/php/0002-build-php.m4-don-t-unset-cache-variables.patch b/meta-oe/recipes-devtools/php/php/0002-build-php.m4-don-t-unset-cache-variables.patch
deleted file mode 100644
index 6183f49c28..0000000000
--- a/meta-oe/recipes-devtools/php/php/0002-build-php.m4-don-t-unset-cache-variables.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 1af203e8e385d46ad3e33b1c253b1c564aa99034 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:01:55 -0500
4Subject: [PATCH 02/11] build/php.m4: don't unset cache variables
5
6Unsetting prevents cache variable from being passed to configure.
7
8Upstream-Status: Inappropriate [OE-specific]
9
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11
12update this patch to 7.4.4, acinclude.m4 move to build/php.m4
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14
15update patch to 8.0.12
16Signed-off-by: Claude Bing <cbing@cybernetics.com>
17---
18 build/php.m4 | 4 ----
19 1 file changed, 4 deletions(-)
20
21diff --git a/build/php.m4 b/build/php.m4
22index 9746ba28f3..93551d9ca7 100644
23--- a/build/php.m4
24+++ b/build/php.m4
25@@ -1568,8 +1568,6 @@ dnl PHP_CHECK_FUNC_LIB
26 dnl
27 AC_DEFUN([PHP_CHECK_FUNC_LIB],[
28 ifelse($2,,:,[
29- unset ac_cv_lib_$2[]_$1
30- unset ac_cv_lib_$2[]___$1
31 unset found
32 AC_CHECK_LIB($2, $1, [found=yes], [
33 AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
34@@ -1601,8 +1599,6 @@ dnl and as a fall back in the specified library. Defines HAVE_func and
35 dnl HAVE_library if found and adds the library to LIBS.
36 dnl
37 AC_DEFUN([PHP_CHECK_FUNC],[
38- unset ac_cv_func_$1
39- unset ac_cv_func___$1
40 unset found
41
42 AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])
43--
442.25.1
45
diff --git a/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch b/meta-oe/recipes-devtools/php/php/0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch
index acf2940839..b2c4f8840f 100644
--- a/meta-oe/recipes-devtools/php/php/0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch
+++ b/meta-oe/recipes-devtools/php/php/0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch
@@ -1,7 +1,7 @@
1From eab5babdadea487bbbef025068c553f5ba741774 Mon Sep 17 00:00:00 2001 1From f7724d7ccd157058630e6a887798ab6d3e34c6b7 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com> 2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:07:25 -0500 3Date: Tue, 9 Nov 2021 13:07:25 -0500
4Subject: [PATCH 06/11] ext/phar/Makefile.frag: Fix phar packaging 4Subject: [PATCH 2/5] ext/phar/Makefile.frag: Fix phar packaging
5 5
6Inherited from OE-Classic, with some additions to fix host paths leaking 6Inherited from OE-Classic, with some additions to fix host paths leaking
7into the target package. 7into the target package.
@@ -18,9 +18,11 @@ Signed-off-by: Claude Bing <cbing@cybernetics.com>
18 ext/phar/Makefile.frag | 17 +++-------------- 18 ext/phar/Makefile.frag | 17 +++--------------
19 1 file changed, 3 insertions(+), 14 deletions(-) 19 1 file changed, 3 insertions(+), 14 deletions(-)
20 20
21diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag
22index cedde76df..09d577d73 100644
21--- a/ext/phar/Makefile.frag 23--- a/ext/phar/Makefile.frag
22+++ b/ext/phar/Makefile.frag 24+++ b/ext/phar/Makefile.frag
23@@ -10,20 +10,9 @@ pharcmd: $(builddir)/phar.php $(builddir 25@@ -10,20 +10,9 @@ pharcmd: $(builddir)/phar.php $(builddir)/phar.phar
24 26
25 PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 27 PHP_PHARCMD_SETTINGS = -n -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0
26 PHP_PHARCMD_EXECUTABLE = ` \ 28 PHP_PHARCMD_EXECUTABLE = ` \
@@ -44,3 +46,6 @@ Signed-off-by: Claude Bing <cbing@cybernetics.com>
44 46
45 $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc 47 $(builddir)/phar/phar.inc: $(srcdir)/phar/phar.inc
46 -@test -d $(builddir)/phar || mkdir $(builddir)/phar 48 -@test -d $(builddir)/phar || mkdir $(builddir)/phar
49--
502.25.1
51
diff --git a/meta-oe/recipes-devtools/php/php/0010-iconv-fix-detection.patch b/meta-oe/recipes-devtools/php/php/0003-iconv-fix-detection.patch
index e3b8cd4707..745bc2140d 100644
--- a/meta-oe/recipes-devtools/php/php/0010-iconv-fix-detection.patch
+++ b/meta-oe/recipes-devtools/php/php/0003-iconv-fix-detection.patch
@@ -1,7 +1,7 @@
1From a04aabc5b80371e579fbaffdd417627390d22722 Mon Sep 17 00:00:00 2001 1From d9fc6b314cefe010a0deb6e591719cfb0ff226a5 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com> 2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:10:33 -0500 3Date: Tue, 9 Nov 2021 13:10:33 -0500
4Subject: [PATCH 10/11] iconv: fix detection 4Subject: [PATCH] iconv: fix detection
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -12,24 +12,24 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
12 12
13update patch to version 8.0.12 13update patch to version 8.0.12
14Signed-off-by: Claude Bing <cbing@cybernetics.com> 14Signed-off-by: Claude Bing <cbing@cybernetics.com>
15
16update patch to version 8.4.4
17Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
15--- 18---
16 build/php.m4 | 3 ++- 19 build/php.m4 | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-) 20 1 file changed, 2 insertions(+), 1 deletion(-)
18 21
19diff --git a/build/php.m4 b/build/php.m4 22diff --git a/build/php.m4 b/build/php.m4
20index 93551d9ca7..dba50825fb 100644 23index d8a5cbf0..aee21924 100644
21--- a/build/php.m4 24--- a/build/php.m4
22+++ b/build/php.m4 25+++ b/build/php.m4
23@@ -1919,7 +1919,8 @@ AC_DEFUN([PHP_SETUP_ICONV], [ 26@@ -1829,7 +1829,8 @@ AC_DEFUN([PHP_SETUP_ICONV], [
24 unset ICONV_DIR 27 [Define to 1 if you have the 'libiconv' function.])
25 28
26 dnl Check libc first if no path is provided in --with-iconv. 29 dnl Check libc first if no path is provided in --with-iconv.
27- if test "$PHP_ICONV" = "yes"; then 30- AS_VAR_IF([PHP_ICONV], [yes], [
28+ dnl must check against no, not against yes as PHP_ICONV can also include a path, which implies yes 31+ dnl must check against no, not against yes as PHP_ICONV can also include a path, which implies yes
29+ if test "$PHP_ICONV" != "no"; then 32+ AS_VAR_IF([PHP_ICONV], [no], [], [
30 dnl Reset LIBS temporarily as it may have already been included -liconv in. 33 dnl Reset LIBS temporarily as it may have already been included -liconv in.
31 LIBS_save="$LIBS" 34 LIBS_save=$LIBS
32 LIBS= 35 LIBS=
33--
342.25.1
35
diff --git a/meta-oe/recipes-devtools/php/php/0003-php-remove-host-specific-info-from-header-file.patch b/meta-oe/recipes-devtools/php/php/0003-php-remove-host-specific-info-from-header-file.patch
deleted file mode 100644
index 9637ed9516..0000000000
--- a/meta-oe/recipes-devtools/php/php/0003-php-remove-host-specific-info-from-header-file.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From c81d0bd3491a6c6371d9df2f43956d109f984310 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:02:29 -0500
4Subject: [PATCH 03/11] php: remove host specific info from header file
5
6Based on:
7https://sources.debian.org/data/main/p/php7.3/7.3.6-1/debian/patches/
8 0036-php-5.4.9-fixheader.patch
9
10Upstream-Status: Inappropriate [not author]
11
12Signed-off-by: Joe Slater <joe.slater@windriver.com>
13Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
14
15update patch to 8.0.12
16Signed-off-by: Claude Bing <cbing@cybernetics.com>
17---
18 configure.ac | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/configure.ac b/configure.ac
22index 1eafd62a44..90c94323aa 100644
23--- a/configure.ac
24+++ b/configure.ac
25@@ -1289,7 +1289,7 @@ PHP_REMOVE_USR_LIB(LDFLAGS)
26 EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
27 EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
28
29-UNAME=`uname -a | xargs`
30+UNAME=`uname | xargs`
31 PHP_UNAME=${PHP_UNAME:-$UNAME}
32 AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
33 PHP_OS=`uname | xargs`
34--
352.25.1
36
diff --git a/meta-oe/recipes-devtools/php/php/0005-pear-fix-Makefile.frag-for-Yocto.patch b/meta-oe/recipes-devtools/php/php/0004-pear-fix-Makefile.frag-for-Yocto.patch
index 37752ef949..23641be2c6 100644
--- a/meta-oe/recipes-devtools/php/php/0005-pear-fix-Makefile.frag-for-Yocto.patch
+++ b/meta-oe/recipes-devtools/php/php/0004-pear-fix-Makefile.frag-for-Yocto.patch
@@ -1,20 +1,20 @@
1From f22958b4c1348eec3bb4c0f2cbe2d22676e0ad23 Mon Sep 17 00:00:00 2001 1From 35d7d40ac49c96b7a9a19b2f6593abb9f18ade2b Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com> 2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:04:29 -0500 3Date: Tue, 9 Nov 2021 13:04:29 -0500
4Subject: [PATCH 05/11] pear: fix Makefile.frag for Yocto 4Subject: [PATCH 4/5] pear: fix Makefile.frag for Yocto
5
6Upstream-Status: Pending
5 7
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> 8Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 9
8update patch to 8.0.12 10update patch to 8.0.12
9Signed-off-by: Claude Bing <cbing@cybernetics.com> 11Signed-off-by: Claude Bing <cbing@cybernetics.com>
10--- 12---
11Upstream-Status: Pending
12
13 pear/Makefile.frag | 2 +- 13 pear/Makefile.frag | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/pear/Makefile.frag b/pear/Makefile.frag 16diff --git a/pear/Makefile.frag b/pear/Makefile.frag
17index 9408757a3a..69072f39e0 100644 17index 9408757a3..69072f39e 100644
18--- a/pear/Makefile.frag 18--- a/pear/Makefile.frag
19+++ b/pear/Makefile.frag 19+++ b/pear/Makefile.frag
20@@ -10,7 +10,7 @@ PEAR_SUFFIX = -ds a$(program_suffix) 20@@ -10,7 +10,7 @@ PEAR_SUFFIX = -ds a$(program_suffix)
diff --git a/meta-oe/recipes-devtools/php/php/0007-sapi-cli-config.m4-fix-build-directory.patch b/meta-oe/recipes-devtools/php/php/0005-sapi-cli-config.m4-fix-build-directory.patch
index 9776e7f6db..e551f19a48 100644
--- a/meta-oe/recipes-devtools/php/php/0007-sapi-cli-config.m4-fix-build-directory.patch
+++ b/meta-oe/recipes-devtools/php/php/0005-sapi-cli-config.m4-fix-build-directory.patch
@@ -1,7 +1,7 @@
1From 03aa51625e0d1aa156c2f7cd71503b1f435d35a4 Mon Sep 17 00:00:00 2001 1From 581751f8b612c381a4a7914a33bfc4130853d305 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com> 2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:08:06 -0500 3Date: Tue, 9 Nov 2021 13:08:06 -0500
4Subject: [PATCH 07/11] sapi/cli/config.m4: fix build directory 4Subject: [PATCH 5/5] sapi/cli/config.m4: fix build directory
5 5
6Upstream-Status: Inappropriate 6Upstream-Status: Inappropriate
7 7
@@ -10,23 +10,26 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
10 10
11update patch to version 8.0.12 11update patch to version 8.0.12
12Signed-off-by: Claude Bing <cbing@cybernetics.com> 12Signed-off-by: Claude Bing <cbing@cybernetics.com>
13
14update patch for version 8.4.4
15Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13--- 16---
14 sapi/cli/config.m4 | 2 +- 17 sapi/cli/config.m4 | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
16 19
17diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4 20diff --git a/sapi/cli/config.m4 b/sapi/cli/config.m4
18index d17d531683..f2f87f9164 100644 21index 76c2d64e8..0c7436fd9 100644
19--- a/sapi/cli/config.m4 22--- a/sapi/cli/config.m4
20+++ b/sapi/cli/config.m4 23+++ b/sapi/cli/config.m4
21@@ -47,7 +47,7 @@ if test "$PHP_CLI" != "no"; then 24@@ -50,7 +50,7 @@ if test "$PHP_CLI" != "no"; then
22 esac 25 ])
23 26
24 dnl Set executable for tests. 27 dnl Set executable for tests.
25- PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)" 28- PHP_EXECUTABLE="\$(top_builddir)/\$(SAPI_CLI_PATH)"
26+ PHP_EXECUTABLE="${PHP_NATIVE_DIR}/php" 29+ PHP_EXECUTABLE="${PHP_NATIVE_DIR}/php"
27 PHP_SUBST(PHP_EXECUTABLE)
28 30
29 dnl Expose to Makefile. 31 PHP_SUBST([PHP_EXECUTABLE])
32 PHP_SUBST([SAPI_CLI_PATH])
30-- 33--
312.25.1 342.25.1
32 35
diff --git a/meta-oe/recipes-devtools/php/php/0008-ext-imap-config.m4-fix-include-paths.patch b/meta-oe/recipes-devtools/php/php/0008-ext-imap-config.m4-fix-include-paths.patch
deleted file mode 100644
index 78bae58e00..0000000000
--- a/meta-oe/recipes-devtools/php/php/0008-ext-imap-config.m4-fix-include-paths.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From c3c20db4415e0f6c4a601d6f9da1f3746a96b301 Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:08:58 -0500
4Subject: [PATCH 08/11] ext/imap/config.m4: fix include paths
5
6Upstream-Status: Pending
7Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
8
9update patch to version 8.0.12
10Signed-off-by: Claude Bing <cbing@cybernetics.com>
11---
12 ext/imap/config.m4 | 10 ++--------
13 1 file changed, 2 insertions(+), 8 deletions(-)
14
15diff --git a/ext/imap/config.m4 b/ext/imap/config.m4
16index 5086a312d0..0e938bd544 100644
17--- a/ext/imap/config.m4
18+++ b/ext/imap/config.m4
19@@ -110,7 +110,7 @@ if test "$PHP_IMAP" != "no"; then
20 PHP_NEW_EXTENSION(imap, php_imap.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
21 AC_DEFINE(HAVE_IMAP,1,[ ])
22
23- for i in $PHP_IMAP /usr/local /usr; do
24+ for i in $PHP_IMAP $PHP_IMAP/usr /usr/local /usr; do
25 IMAP_INC_CHK()
26 el[]IMAP_INC_CHK(/include/c-client)
27 el[]IMAP_INC_CHK(/include/imap)
28@@ -199,13 +199,7 @@ if test "$PHP_IMAP" != "no"; then
29 AC_MSG_ERROR(Cannot find rfc822.h. Please check your c-client installation.)
30 fi
31
32- if test ! -r "$IMAP_DIR/c-client/libc-client.a" && test -r "$IMAP_DIR/c-client/c-client.a" ; then
33- ln -s "$IMAP_DIR/c-client/c-client.a" "$IMAP_DIR/c-client/libc-client.a" >/dev/null 2>&1
34- elif test ! -r "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" && test -r "$IMAP_DIR/$PHP_LIBDIR/c-client.a"; then
35- ln -s "$IMAP_DIR/$PHP_LIBDIR/c-client.a" "$IMAP_DIR/$PHP_LIBDIR/libc-client.a" >/dev/null 2>&1
36- fi
37-
38- for lib in c-client4 c-client imap; do
39+ for lib in /usr/lib c-client4 c-client imap; do
40 IMAP_LIB=$lib
41 IMAP_LIB_CHK($PHP_LIBDIR)
42 IMAP_LIB_CHK(c-client)
43--
442.25.1
45
diff --git a/meta-oe/recipes-devtools/php/php/0009-php-don-t-use-broken-wrapper-for-mkdir.patch b/meta-oe/recipes-devtools/php/php/0009-php-don-t-use-broken-wrapper-for-mkdir.patch
deleted file mode 100644
index b5a33cca7f..0000000000
--- a/meta-oe/recipes-devtools/php/php/0009-php-don-t-use-broken-wrapper-for-mkdir.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 8707720c0aea405f0e06d67354f239232cc823cc Mon Sep 17 00:00:00 2001
2From: Claude Bing <cbing@cybernetics.com>
3Date: Tue, 9 Nov 2021 13:10:02 -0500
4Subject: [PATCH 09/11] php: don't use broken wrapper for mkdir
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7
8update patch to version 7.4.4
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10
11update patch to version 8.0.12
12Signed-off-by: Claude Bing <cbing@cybernetics.com>
13---
14Upstream-Status: Pending
15
16 build/Makefile.global | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/build/Makefile.global b/build/Makefile.global
20index 6566d052de..eb39421f2a 100644
21--- a/build/Makefile.global
22+++ b/build/Makefile.global
23@@ -1,4 +1,4 @@
24-mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p
25+mkinstalldirs = mkdir -p
26 INSTALL = $(top_srcdir)/build/shtool install -c
27 INSTALL_DATA = $(INSTALL) -m 644
28
29--
302.25.1
31
diff --git a/meta-oe/recipes-devtools/php/php_8.2.18.bb b/meta-oe/recipes-devtools/php/php_8.4.8.bb
index e662f6806e..f38a407968 100644
--- a/meta-oe/recipes-devtools/php/php_8.2.18.bb
+++ b/meta-oe/recipes-devtools/php/php_8.4.8.bb
@@ -1,5 +1,5 @@
1SUMMARY = "A server-side, HTML-embedded scripting language" 1SUMMARY = "A server-side, HTML-embedded scripting language"
2HOMEPAGE = "http://www.php.net" 2HOMEPAGE = "https://www.php.net"
3SECTION = "console/network" 3SECTION = "console/network"
4 4
5LICENSE = "PHP-3.0" 5LICENSE = "PHP-3.0"
@@ -13,28 +13,23 @@ DEPENDS:class-native = "zlib-native libxml2-native"
13PHP_MAJOR_VERSION = "${@d.getVar('PV').split('.')[0]}" 13PHP_MAJOR_VERSION = "${@d.getVar('PV').split('.')[0]}"
14 14
15SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \ 15SRC_URI = "http://php.net/distributions/php-${PV}.tar.bz2 \
16 file://0002-build-php.m4-don-t-unset-cache-variables.patch \ 16 file://0001-configure.ac-don-t-include-build-libtool.m4.patch \
17 file://0003-php-remove-host-specific-info-from-header-file.patch \ 17 file://0002-ext-phar-Makefile.frag-Fix-phar-packaging.patch \
18 file://0004-configure.ac-don-t-include-build-libtool.m4.patch \
19 file://0006-ext-phar-Makefile.frag-Fix-phar-packaging.patch \
20 file://0009-php-don-t-use-broken-wrapper-for-mkdir.patch \
21 file://0010-iconv-fix-detection.patch \
22 file://0001-Change-whether-to-inline-XXH3_hashLong_withSecret-to.patch \
23 " 18 "
24 19
25SRC_URI:append:class-target = " \ 20SRC_URI:append:class-target = " \
26 file://0001-ext-opcache-config.m4-enable-opcache.patch \ 21 file://0003-iconv-fix-detection.patch \
27 file://0005-pear-fix-Makefile.frag-for-Yocto.patch \ 22 file://0004-pear-fix-Makefile.frag-for-Yocto.patch \
28 file://0007-sapi-cli-config.m4-fix-build-directory.patch \ 23 file://0005-sapi-cli-config.m4-fix-build-directory.patch \
29 file://0008-ext-imap-config.m4-fix-include-paths.patch \
30 file://php-fpm.conf \ 24 file://php-fpm.conf \
31 file://php-fpm-apache.conf \ 25 file://php-fpm-apache.conf \
32 file://70_mod_php${PHP_MAJOR_VERSION}.conf \ 26 file://70_mod_php${PHP_MAJOR_VERSION}.conf \
33 file://php-fpm.service \ 27 file://php-fpm.service \
34 " 28 "
35 29
36S = "${WORKDIR}/php-${PV}" 30S = "${UNPACKDIR}/php-${PV}"
37SRC_URI[sha256sum] = "ca0b07c254200320f518ac5b3df540a9cf14d866f3c93edc3013b52e06fac796" 31
32SRC_URI[sha256sum] = "36569c64dd1499e570c436603b641eee7cde4af576af786597d0ee711b3a3a8a"
38 33
39CVE_STATUS_GROUPS += "CVE_STATUS_PHP" 34CVE_STATUS_GROUPS += "CVE_STATUS_PHP"
40CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored." 35CVE_STATUS_PHP[status] = "fixed-version: The name of this product is exactly the same as github.com/emlog/emlog. CVE can be safely ignored."
@@ -43,6 +38,7 @@ CVE_STATUS_PHP = " \
43 CVE-2007-3205 \ 38 CVE-2007-3205 \
44 CVE-2007-4596 \ 39 CVE-2007-4596 \
45" 40"
41CVE_STATUS[CVE-2022-4900] = "cpe-incorrect: The current version (8.2.20) is not affected."
46 42
47inherit autotools pkgconfig python3native gettext multilib_header multilib_script systemd 43inherit autotools pkgconfig python3native gettext multilib_header multilib_script systemd
48 44
@@ -51,6 +47,8 @@ inherit autotools pkgconfig python3native gettext multilib_header multilib_scrip
51SSTATE_SCAN_FILES += "phpize" 47SSTATE_SCAN_FILES += "phpize"
52SSTATE_SCAN_FILES += "build-defs.h" 48SSTATE_SCAN_FILES += "build-defs.h"
53 49
50export PHP_UNAME = "Linux"
51
54PHP_LIBDIR = "${libdir}/php${PHP_MAJOR_VERSION}" 52PHP_LIBDIR = "${libdir}/php${PHP_MAJOR_VERSION}"
55 53
56# Common EXTRA_OECONF 54# Common EXTRA_OECONF
@@ -70,10 +68,12 @@ EXTRA_OECONF = "--enable-mbstring \
70 --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \ 68 --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
71 --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \ 69 --with-config-file-path=${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} \
72 ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'ac_cv_c_bigendian_php=no', 'ac_cv_c_bigendian_php=yes', d)} \ 70 ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'ac_cv_c_bigendian_php=no', 'ac_cv_c_bigendian_php=yes', d)} \
73 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '', 'ac_cv_lib_pam_pam_start=no', d)} \
74 ${COMMON_EXTRA_OECONF} \ 71 ${COMMON_EXTRA_OECONF} \
75" 72"
76 73
74# Set these values directly to avoid AC_RUN_IFELSE which does not work in cross compilation environment
75CACHED_CONFIGUREVARS += "ac_cv_php_cv_shm_ipc=yes ac_cv_php_cv_shm_mmap_anon=yes ac_cv_php_cv_shm_mmap_posix=yes"
76
77EXTRA_OECONF:append:riscv64 = " --with-pcre-jit=no" 77EXTRA_OECONF:append:riscv64 = " --with-pcre-jit=no"
78EXTRA_OECONF:append:riscv32 = " --with-pcre-jit=no" 78EXTRA_OECONF:append:riscv32 = " --with-pcre-jit=no"
79# Needs fibers assembly implemented for rv32 79# Needs fibers assembly implemented for rv32
@@ -81,44 +81,36 @@ EXTRA_OECONF:append:riscv32 = " --with-pcre-jit=no"
81# see https://github.com/php/php-src/commit/70b02d75f2abe3a292d49c4a4e9e4f850c2fee68 81# see https://github.com/php/php-src/commit/70b02d75f2abe3a292d49c4a4e9e4f850c2fee68
82EXTRA_OECONF:append:riscv32:libc-musl = " --disable-fiber-asm" 82EXTRA_OECONF:append:riscv32:libc-musl = " --disable-fiber-asm"
83 83
84CACHED_CONFIGUREVARS += "ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=yes"
85
86EXTRA_OECONF:class-native = " \ 84EXTRA_OECONF:class-native = " \
87 --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \ 85 --with-zlib=${STAGING_LIBDIR_NATIVE}/.. \
88 --without-iconv \ 86 --without-iconv \
89 ${COMMON_EXTRA_OECONF} \ 87 ${COMMON_EXTRA_OECONF} \
90" 88"
91 89
92PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \ 90PACKAGECONFIG ??= "mysql sqlite3 opcache openssl \
93 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ 91 ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \
94" 92"
95PACKAGECONFIG:class-native = "" 93PACKAGECONFIG:class-native = ""
96 94
97PACKAGECONFIG[zip] = "--with-zip --with-zlib-dir=${STAGING_EXECPREFIXDIR},,libzip" 95PACKAGECONFIG[apache2] = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs,,apache2-native apache2"
98 96PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
97PACKAGECONFIG[mbregex] = "--enable-mbregex, --disable-mbregex, oniguruma"
98PACKAGECONFIG[mbstring] = "--enable-mbstring,,"
99PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \ 99PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \
100 --with-pdo-mysql=mysqlnd \ 100 --with-pdo-mysql=mysqlnd \
101 ,--without-mysqli --without-pdo-mysql \ 101 ,--without-mysqli --without-pdo-mysql \
102 ,mysql5" 102 ,mysql5"
103 103PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
104PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
105PACKAGECONFIG[pam] = ",,libpam"
106PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,postgresql"
107PACKAGECONFIG[soap] = "--enable-soap, --disable-soap, libxml2"
104PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \ 108PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \
105 --with-pdo-sqlite=${STAGING_LIBDIR}/.. \ 109 --with-pdo-sqlite=${STAGING_LIBDIR}/.. \
106 ,--without-sqlite3 --without-pdo-sqlite \ 110 ,--without-sqlite3 --without-pdo-sqlite \
107 ,sqlite3" 111 ,sqlite3"
108PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,postgresql"
109PACKAGECONFIG[soap] = "--enable-soap, --disable-soap, libxml2"
110PACKAGECONFIG[apache2] = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs,,apache2-native apache2"
111PACKAGECONFIG[pam] = ",,libpam"
112PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
113 --with-imap-ssl=${STAGING_DIR_HOST} \
114 ,--without-imap --without-imap-ssl \
115 ,uw-imap"
116PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
117PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache"
118PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
119PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind" 112PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind"
120PACKAGECONFIG[mbregex] = "--enable-mbregex, --disable-mbregex, oniguruma" 113PACKAGECONFIG[zip] = "--with-zip --with-zlib-dir=${STAGING_EXECPREFIXDIR},,libzip"
121PACKAGECONFIG[mbstring] = "--enable-mbstring,,"
122 114
123export HOSTCC = "${BUILD_CC}" 115export HOSTCC = "${BUILD_CC}"
124export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" 116export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
@@ -135,8 +127,6 @@ LDFLAGS:append:riscv64 = " -latomic"
135 127
136EXTRA_OEMAKE = "INSTALL_ROOT=${D}" 128EXTRA_OEMAKE = "INSTALL_ROOT=${D}"
137 129
138acpaths = ""
139
140do_configure:prepend () { 130do_configure:prepend () {
141 rm -f ${S}/build/libtool.m4 ${S}/ltmain.sh ${S}/aclocal.m4 131 rm -f ${S}/build/libtool.m4 ${S}/ltmain.sh ${S}/aclocal.m4
142 find ${S} -name config.m4 | xargs -n1 sed -i 's!APXS_HTTPD=.*!APXS_HTTPD=${STAGING_SBINDIR_NATIVE}/httpd!' 132 find ${S} -name config.m4 | xargs -n1 sed -i 's!APXS_HTTPD=.*!APXS_HTTPD=${STAGING_SBINDIR_NATIVE}/httpd!'
@@ -162,8 +152,11 @@ do_install:append:class-native() {
162} 152}
163 153
164do_install:prepend() { 154do_install:prepend() {
165 cat ${ACLOCALDIR}/libtool.m4 ${ACLOCALDIR}/lt~obsolete.m4 ${ACLOCALDIR}/ltoptions.m4 \ 155 cat ${STAGING_DATADIR}/aclocal/libtool.m4 \
166 ${ACLOCALDIR}/ltsugar.m4 ${ACLOCALDIR}/ltversion.m4 > ${S}/build/libtool.m4 156 ${STAGING_DATADIR}/aclocal/lt~obsolete.m4 \
157 ${STAGING_DATADIR}/aclocal/ltoptions.m4 \
158 ${STAGING_DATADIR}/aclocal/ltsugar.m4 \
159 ${STAGING_DATADIR}/aclocal/ltversion.m4 > ${S}/build/libtool.m4
167} 160}
168 161
169do_install:prepend:class-target() { 162do_install:prepend:class-target() {
diff --git a/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb b/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb
new file mode 100644
index 0000000000..b0a20e3ece
--- /dev/null
+++ b/meta-oe/recipes-devtools/pistache/pistache_0.4.26.bb
@@ -0,0 +1,40 @@
1SUMMARY = "A high-performance REST toolkit written in C++"
2HOMEPAGE = "https://pistacheio.github.io/pistache"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
5
6SRC_URI = "git://github.com/pistacheio/pistache.git;branch=master;protocol=https"
7# SRCREV tagged 0.4.26
8SRCREV = "ddffda861aa49012dcda28f1362d0339e718cd52"
9
10
11DEPENDS = "rapidjson"
12
13inherit pkgconfig meson
14
15PACKAGECONFIG ?= "openssl brotli deflate zstd examples"
16PACKAGECONFIG[openssl] = "-DPISTACHE_USE_SSL=true, -DPISTACHE_USE_SSL=false, openssl"
17PACKAGECONFIG[brotli] = "-DPISTACHE_USE_CONTENT_ENCODING_BROTLI=true, -DPISTACHE_USE_CONTENT_ENCODING_BROTLI=false, brotli"
18PACKAGECONFIG[deflate] = "-DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=true, -DPISTACHE_USE_CONTENT_ENCODING_DEFLATE=false, zlib"
19PACKAGECONFIG[zstd] = "-DPISTACHE_USE_CONTENT_ENCODING_ZSTD=true, -DPISTACHE_USE_CONTENT_ENCODING_ZSTD=false, zstd"
20PACKAGECONFIG[examples] = "-DPISTACHE_BUILD_EXAMPLES=true, -DPISTACHE_BUILD_EXAMPLES=false"
21PACKAGECONFIG[test] = "-DPISTACHE_BUILD_TESTS=true, -DPISTACHE_BUILD_TESTS=false, gtest curl"
22
23do_install:append () {
24 if ${@bb.utils.contains("PACKAGECONFIG", "examples", "true", "false", d)}; then
25 install -d ${D}${bindir}
26 rm -rf ${B}/examples/*.p/
27 install -m 0755 ${B}/examples/run* ${D}${bindir}/
28 fi
29}
30
31PACKAGES += "${PN}-examples"
32FILES:${PN}:remove = " ${bindir}/*"
33RDEPENDS:${PN}-examples += "${PN}"
34FILES:${PN}-examples = "${bindir}"
35
36RDEPENDS:${PN} += "rapidjson"
37
38COMPATIBLE_HOST:libc-musl = "null"
39
40BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/ply/ply_git.bb b/meta-oe/recipes-devtools/ply/ply_git.bb
index 7793971083..916ff29118 100644
--- a/meta-oe/recipes-devtools/ply/ply_git.bb
+++ b/meta-oe/recipes-devtools/ply/ply_git.bb
@@ -5,12 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5 5
6DEPENDS += "bison-native" 6DEPENDS += "bison-native"
7 7
8PV = "2.3.0" 8PV = "2.4.0"
9 9
10SRC_URI = "git://github.com/iovisor/ply;branch=master;protocol=https" 10SRC_URI = "git://github.com/iovisor/ply;branch=master;protocol=https"
11SRCREV = "864fac79116870df1ab7aa21e639578807e41e75" 11SRCREV = "282558cfa1c0f0e095354e3a6ec4486b524179dc"
12 12
13S = "${WORKDIR}/git"
14 13
15CACHED_CONFIGUREVARS = 'LD="${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"' 14CACHED_CONFIGUREVARS = 'LD="${HOST_PREFIX}ld.bfd${TOOLCHAIN_OPTIONS} ${HOST_LD_ARCH}"'
16 15
diff --git a/meta-oe/recipes-devtools/pmtools/pmtools/pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch b/meta-oe/recipes-devtools/pmtools/pmtools/pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch
deleted file mode 100644
index 3be18986fc..0000000000
--- a/meta-oe/recipes-devtools/pmtools/pmtools/pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From 03a886252f6555d6b0af76b654e76459642b89da Mon Sep 17 00:00:00 2001
2From: Yunguo Wei <yunguo.wei@windriver.com>
3Date: Tue, 3 Dec 2013 18:12:50 +0800
4Subject: [PATCH] pmtools: switch to dynamic buffer for huge ACPI tables
5
6For servers like Canoe Pass or Thunder Ridge, there are much more
7entries in ACPI table, so original 1K buffer is insufficient.
8
9We switch to dynamic buffer on this situation.
10
11Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
12
13
14Upstream-Status: Pending
15
16Signed-off-by: Kai Kang <kai.kang@windriver.com>
17---
18 madt/madt.c | 18 +++++++++++++++++-
19 1 file changed, 17 insertions(+), 1 deletion(-)
20
21--- a/madt/madt.c
22+++ b/madt/madt.c
23@@ -34,14 +34,16 @@ typedef unsigned long long u64;
24 //#include <sys/mman.h>
25 #include <stdio.h> // fread
26 #include <stdlib.h> // malloc
27+#include <string.h> // memset/memcpy
28
29 #include "./tables.c"
30
31 int verbose = 0;
32 /*
33-/* read standard input
34+ * read standard input
35 * write decoded madt to standard output
36 */
37+size_t
38 get_next_entry(acpi_table_entry_header * entry_header)
39 {
40 size_t retval;
41@@ -51,9 +53,11 @@ get_next_entry(acpi_table_entry_header *
42 return retval;
43 }
44
45-u8 buffer[1024];
46
47-main()
48+u8 buf[1024];
49+u8 *buffer = buf;
50+int
51+main(int argc, char *argv[])
52 {
53 size_t retval;
54 struct acpi_table_madt *madt_header;
55@@ -75,6 +79,17 @@ main()
56
57 if (verbose) printf("header.length %d\n", madt_header->header.length);
58
59+ /* if 1K buffer is insufficient for acpi table, switch to a larger memory buffer */
60+ if(expected_length > sizeof(buf)) {
61+ buffer = malloc(expected_length);
62+ if (!buffer) {
63+ perror("malloc");
64+ exit(1);
65+ }
66+ memset(buffer, 0, expected_length);
67+ memcpy(buffer, buf, sizeof(struct acpi_table_madt));
68+ }
69+
70 acpi_table_print((void*)&(buffer[bytes_read]), 0);
71
72 bytes_read = sizeof(struct acpi_table_madt);
73@@ -118,6 +133,9 @@ done:
74 printf("Checksum 0x%x != 0; 0x%x in header ERROR\n", csum,
75 madt_header->header.checksum);
76
77+ if(buffer != buf)
78+ free(buffer);
79+
80 return 0;
81 }
82
diff --git a/meta-oe/recipes-devtools/pmtools/pmtools_git.bb b/meta-oe/recipes-devtools/pmtools/pmtools_git.bb
deleted file mode 100644
index ad149de12c..0000000000
--- a/meta-oe/recipes-devtools/pmtools/pmtools_git.bb
+++ /dev/null
@@ -1,34 +0,0 @@
1DESCRIPTION = "This is a small collection of power management \
2 test and investigation tools"
3HOMEPAGE = "http://lesswatts.org/projects/acpi"
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
7PV = "20130209+git"
8
9SRC_URI = "git://github.com/anyc/pmtools.git;branch=master;protocol=https \
10 file://pmtools-switch-to-dynamic-buffer-for-huge-ACPI-table.patch \
11"
12SRCREV = "3ebe0e54c54061b4c627236cbe35d820de2e1168"
13
14COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
15
16S = "${WORKDIR}/git"
17
18inherit update-alternatives
19
20ALTERNATIVE_PRIORITY = "90"
21ALTERNATIVE:${PN} = "acpixtract acpidump"
22
23do_configure[noexec] = "1"
24do_compile() {
25 oe_runmake
26}
27
28do_install() {
29 install -d ${D}${bindir} ${D}${docdir}
30 install -m 755 ${S}/acpidump/acpidump ${D}${bindir}
31 install -m 755 ${S}/acpixtract/acpixtract ${D}${bindir}
32 install -m 755 ${S}/madt/madt ${D}${bindir}
33 install -m 644 ${S}/README ${D}${docdir}
34}
diff --git a/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb
new file mode 100644
index 0000000000..f3ffccf626
--- /dev/null
+++ b/meta-oe/recipes-devtools/pocketpy/pocketpy_2.0.6.bb
@@ -0,0 +1,33 @@
1SUMMARY = "A Portable Python 3.x Interpreter in Modern C."
2DESCRIPTION = "pkpy is a lightweight(~15K LOC) Python 3.x \
3 interpreter for game scripting, written in C11. \
4 It aims to be an alternative to lua for game \
5 scripting, with elegant syntax, powerful features \
6 and competitive performance. pkpy is extremely \
7 easy to embed via a single header file pocketpy.h, \
8 without external dependencies. \
9 "
10HOMEPAGE = "https://pocketpy.dev/"
11BUGTRACKER = "https://github.com/pocketpy/pocketpy/issues"
12
13LICENSE = "MIT"
14LIC_FILES_CHKSUM = "file://LICENSE;md5=8cdfa87bc5e09bc07f8cf64135026d91"
15
16SRC_URI = "git://github.com/pocketpy/pocketpy.git;protocol=https;branch=main"
17SRCREV = "8a3bdd7e0a43b44e3b32548543128d95e68a3802"
18
19
20inherit cmake
21
22CFLAGS += "-fPIC"
23
24do_install() {
25 install -d ${D}${libdir}
26 install -m 0644 ${B}/libpocketpy.so ${D}${libdir}/
27 install -d ${D}${includedir}/pocketpy
28 cp -r ${S}/include/* ${D}${includedir}/pocketpy/
29}
30
31FILES:${PN} = "${libdir}/libpocketpy.so"
32FILES:${PN}-dev = "${includedir}/pocketpy"
33FILES:${PN}-dbg += "${libdir}/.debug/libpocketpy.so"
diff --git a/meta-oe/recipes-devtools/poke/poke_4.1.bb b/meta-oe/recipes-devtools/poke/poke_4.2.bb
index 2963680704..0ae392947e 100644
--- a/meta-oe/recipes-devtools/poke/poke_4.1.bb
+++ b/meta-oe/recipes-devtools/poke/poke_4.2.bb
@@ -11,14 +11,9 @@ SRC_URI = "${GNU_MIRROR}/poke/poke-${PV}.tar.gz \
11 11
12DEPENDS = "flex-native bison-native bdwgc readline" 12DEPENDS = "flex-native bison-native bdwgc readline"
13 13
14SRC_URI[sha256sum] = "08ecaea41f7374acd4238e12bbf97e8cd5e572d5917e956b73b9d43026e9d740" 14SRC_URI[sha256sum] = "8aaf36e61e367a53140ea40e2559e9ec512e779c42bee34e7ac24b34ba119bde"
15 15
16# poke does not support using out-of-tree builds 16inherit autotools gettext pkgconfig
17inherit autotools-brokensep gettext pkgconfig
18
19# The automatic m4 path detection gets confused, so force the right value from
20# the poke bootstrap script.
21acpaths = "-I ./m4"
22 17
23EXTRA_OECONF = "--disable-gui \ 18EXTRA_OECONF = "--disable-gui \
24 --disable-libnbd \ 19 --disable-libnbd \
@@ -29,5 +24,8 @@ PACKAGECONFIG[mi] = "--enable-mi,--disable-mi,json-c"
29 24
30PACKAGES =+ "${PN}-emacs ${PN}-vim" 25PACKAGES =+ "${PN}-emacs ${PN}-vim"
31 26
27# Disable parallel install as it is not supported upstream
28PARALLEL_MAKEINST = "-j1"
29
32FILES:${PN}-emacs += "${datadir}/emacs/site-lisp" 30FILES:${PN}-emacs += "${datadir}/emacs/site-lisp"
33FILES:${PN}-vim += "${datadir}/vim/vimfiles" 31FILES:${PN}-vim += "${datadir}/vim/vimfiles"
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch b/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch
index 896a568e19..cae68e948b 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c/0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch
@@ -1,6 +1,6 @@
1From 62b2fd0a150133b6439f6537cb1762d35f5790ee Mon Sep 17 00:00:00 2001 1From ad4d22cd6b0b1237a4d50699736d38cd3c902ace Mon Sep 17 00:00:00 2001
2From: Xiangyu Chen <xiangyu.chen@windriver.com> 2From: Xiangyu Chen <xiangyu.chen@windriver.com>
3Date: Fri, 31 Mar 2023 16:02:50 +0800 3Date: Wed, 12 Mar 2025 00:16:24 -0700
4Subject: [PATCH] Makefile.am: do not compile the code which was generated from 4Subject: [PATCH] Makefile.am: do not compile the code which was generated from
5 test-full.proto in protobuf-c-native 5 test-full.proto in protobuf-c-native
6 6
@@ -11,15 +11,18 @@ the test-full.proto with latest version protobuf.
11Upstream-Status: Inappropriate [oe specific] 11Upstream-Status: Inappropriate [oe specific]
12 12
13Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> 13Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
14
15Rebase to 1.5.1
16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
14--- 17---
15 Makefile.am | 75 ----------------------------------------------------- 18 Makefile.am | 75 -----------------------------------------------------
16 1 file changed, 75 deletions(-) 19 1 file changed, 75 deletions(-)
17 20
18diff --git a/Makefile.am b/Makefile.am 21diff --git a/Makefile.am b/Makefile.am
19index ff12664..7412aef 100644 22index 77aa9d9..5cdd81a 100644
20--- a/Makefile.am 23--- a/Makefile.am
21+++ b/Makefile.am 24+++ b/Makefile.am
22@@ -136,81 +136,6 @@ else 25@@ -138,81 +138,6 @@ else
23 26
24 LOG_COMPILER = $(VALGRIND) 27 LOG_COMPILER = $(VALGRIND)
25 28
@@ -72,20 +75,20 @@ index ff12664..7412aef 100644
72-t_generated_code2_cxx_generate_packed_data_LDADD = \ 75-t_generated_code2_cxx_generate_packed_data_LDADD = \
73- $(protobuf_LIBS) 76- $(protobuf_LIBS)
74- 77-
75-t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test.proto 78-t/test.pb-c.c t/test.pb-c.h: $(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test.proto
76- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto 79- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test.proto
77- 80-
78-t/test-optimized.pb-c.c t/test-optimized.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-optimized.proto 81-t/test-optimized.pb-c.c t/test-optimized.pb-c.h: $(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-optimized.proto
79- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto 82- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-optimized.proto
80- 83-
81-t/test-full.pb-c.c t/test-full.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto 84-t/test-full.pb-c.c t/test-full.pb-c.h: $(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-full.proto
82- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto 85- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
83- 86-
84-t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto 87-t/test-full.pb.cc t/test-full.pb.h: @PROTOC@ $(top_srcdir)/t/test-full.proto
85- $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto 88- $(AM_V_GEN)@PROTOC@ -I$(top_srcdir) --cpp_out=$(top_builddir) $(top_srcdir)/t/test-full.proto
86- 89-
87-t/test-proto3.pb-c.c t/test-proto3.pb-c.h: $(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto 90-t/test-proto3.pb-c.c t/test-proto3.pb-c.h: $(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) $(top_srcdir)/t/test-proto3.proto
88- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto 91- $(AM_V_GEN)@PROTOC@ --plugin=protoc-gen-c=$(top_builddir)/protoc-gen-c/protoc-gen-c$(EXEEXT) -I$(top_srcdir) --c_out=$(top_builddir) $(top_srcdir)/t/test-proto3.proto
89- 92-
90-t/generated-code2/test-full-cxx-output.inc: t/generated-code2/cxx-generate-packed-data$(EXEEXT) 93-t/generated-code2/test-full-cxx-output.inc: t/generated-code2/cxx-generate-packed-data$(EXEEXT)
91- $(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc 94- $(AM_V_GEN)$(top_builddir)/t/generated-code2/cxx-generate-packed-data$(EXEEXT) > $(top_builddir)/t/generated-code2/test-full-cxx-output.inc
@@ -102,5 +105,5 @@ index ff12664..7412aef 100644
102 t/version/version.c 105 t/version/version.c
103 t_version_version_LDADD = \ 106 t_version_version_LDADD = \
104-- 107--
1052.34.1 1082.25.1
106 109
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf-30.patch b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf-30.patch
new file mode 100644
index 0000000000..1aae1f17b0
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c/protobuf-30.patch
@@ -0,0 +1,1446 @@
1From b28683f8027bf1e886b748b5603eb16d203b5a92 Mon Sep 17 00:00:00 2001
2From: Robert Edmonds <edmonds@users.noreply.github.com>
3Date: Sat, 8 Feb 2025 18:18:33 -0500
4Subject: [PATCH 01/11] protoc-gen-c/c_helpers.h: Move compat defines into new
5 header file compat.h
6
7Upstream-Status: Backport [https://gitlab.archlinux.org/archlinux/packaging/packages/protobuf-c/-/blob/main/protobuf-30.patch]
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9
10---
11 protoc-gen-c/c_field.cc | 1 +
12 protoc-gen-c/c_helpers.cc | 1 +
13 protoc-gen-c/c_helpers.h | 10 -------
14 protoc-gen-c/c_message.cc | 1 +
15 protoc-gen-c/c_primitive_field.cc | 1 +
16 protoc-gen-c/compat.h | 46 +++++++++++++++++++++++++++++++
17 protoc-gen-c/main.cc | 1 +
18 7 files changed, 51 insertions(+), 10 deletions(-)
19 create mode 100644 protoc-gen-c/compat.h
20
21diff --git a/protoc-gen-c/c_field.cc b/protoc-gen-c/c_field.cc
22index 5e79967b..d6d8597e 100644
23--- a/protoc-gen-c/c_field.cc
24+++ b/protoc-gen-c/c_field.cc
25@@ -74,6 +74,7 @@
26 #include "c_message_field.h"
27 #include "c_primitive_field.h"
28 #include "c_string_field.h"
29+#include "compat.h"
30
31 namespace protobuf_c {
32
33diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
34index 5edcf904..c38843f8 100644
35--- a/protoc-gen-c/c_helpers.cc
36+++ b/protoc-gen-c/c_helpers.cc
37@@ -73,6 +73,7 @@
38 #include <google/protobuf/stubs/common.h>
39
40 #include "c_helpers.h"
41+#include "compat.h"
42
43 namespace protobuf_c {
44
45diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
46index 943676e9..e69504bb 100644
47--- a/protoc-gen-c/c_helpers.h
48+++ b/protoc-gen-c/c_helpers.h
49@@ -186,16 +186,6 @@ inline int FieldSyntax(const google::protobuf::FieldDescriptor* field) {
50 return 2;
51 }
52
53-// Work around changes in protobuf >= 22.x without breaking compilation against
54-// older protobuf versions.
55-#if GOOGLE_PROTOBUF_VERSION >= 4022000
56-# define GOOGLE_ARRAYSIZE ABSL_ARRAYSIZE
57-# define GOOGLE_CHECK_EQ ABSL_CHECK_EQ
58-# define GOOGLE_CHECK_EQ ABSL_CHECK_EQ
59-# define GOOGLE_DCHECK_GE ABSL_DCHECK_GE
60-# define GOOGLE_LOG ABSL_LOG
61-#endif
62-
63 } // namespace protobuf_c
64
65 #endif // PROTOBUF_C_PROTOC_GEN_C_C_HELPERS_H__
66diff --git a/protoc-gen-c/c_message.cc b/protoc-gen-c/c_message.cc
67index d4a9a01e..46413873 100644
68--- a/protoc-gen-c/c_message.cc
69+++ b/protoc-gen-c/c_message.cc
70@@ -78,6 +78,7 @@
71 #include "c_extension.h"
72 #include "c_helpers.h"
73 #include "c_message.h"
74+#include "compat.h"
75
76 namespace protobuf_c {
77
78diff --git a/protoc-gen-c/c_primitive_field.cc b/protoc-gen-c/c_primitive_field.cc
79index 253b00bd..588f60e6 100644
80--- a/protoc-gen-c/c_primitive_field.cc
81+++ b/protoc-gen-c/c_primitive_field.cc
82@@ -67,6 +67,7 @@
83
84 #include "c_helpers.h"
85 #include "c_primitive_field.h"
86+#include "compat.h"
87
88 namespace protobuf_c {
89
90diff --git a/protoc-gen-c/compat.h b/protoc-gen-c/compat.h
91new file mode 100644
92index 00000000..2ee78281
93--- /dev/null
94+++ b/protoc-gen-c/compat.h
95@@ -0,0 +1,46 @@
96+// Copyright (c) 2008-2025, Dave Benson and the protobuf-c authors.
97+// All rights reserved.
98+//
99+// Redistribution and use in source and binary forms, with or without
100+// modification, are permitted provided that the following conditions are
101+// met:
102+//
103+// * Redistributions of source code must retain the above copyright
104+// notice, this list of conditions and the following disclaimer.
105+//
106+// * Redistributions in binary form must reproduce the above
107+// copyright notice, this list of conditions and the following disclaimer
108+// in the documentation and/or other materials provided with the
109+// distribution.
110+//
111+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
112+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
113+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
114+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
115+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
116+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
117+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
118+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
119+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
120+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
121+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122+
123+#ifndef PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
124+#define PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
125+
126+#if GOOGLE_PROTOBUF_VERSION >= 4022000
127+# define GOOGLE_ARRAYSIZE ABSL_ARRAYSIZE
128+# define GOOGLE_CHECK_EQ ABSL_CHECK_EQ
129+# define GOOGLE_DCHECK_GE ABSL_DCHECK_GE
130+# define GOOGLE_LOG ABSL_LOG
131+#endif
132+
133+namespace protobuf_c {
134+
135+namespace compat {
136+
137+} // namespace compat
138+
139+} // namespace protobuf_c
140+
141+#endif // PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
142diff --git a/protoc-gen-c/main.cc b/protoc-gen-c/main.cc
143index 0656c113..5ab929d3 100644
144--- a/protoc-gen-c/main.cc
145+++ b/protoc-gen-c/main.cc
146@@ -32,6 +32,7 @@
147
148 #include "c_generator.h"
149 #include "c_helpers.h"
150+#include "compat.h"
151
152 int main(int argc, char* argv[]) {
153 protobuf_c::CGenerator c_generator;
154
155From 1678f1fba6f2d3e5c1db2817495ddcd72bd4e87b Mon Sep 17 00:00:00 2001
156From: Robert Edmonds <edmonds@users.noreply.github.com>
157Date: Sat, 8 Feb 2025 20:09:03 -0500
158Subject: [PATCH 02/11] protoc-gen-c/compat.h: Add `compat::StringView` type
159
160protobuf >= 30.x replaces `const std::string&` in various APIs with
161its own string view type that may actually be a `absl::string_view`.
162Introduce our own `compat::StringView` type that we can use instead
163of `const std::string&` in order to support compiling across multiple
164protobuf versions.
165---
166 protoc-gen-c/compat.h | 8 ++++++++
167 1 file changed, 8 insertions(+)
168
169diff --git a/protoc-gen-c/compat.h b/protoc-gen-c/compat.h
170index 2ee78281..fe8041b5 100644
171--- a/protoc-gen-c/compat.h
172+++ b/protoc-gen-c/compat.h
173@@ -28,6 +28,8 @@
174 #ifndef PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
175 #define PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
176
177+#include <string>
178+
179 #if GOOGLE_PROTOBUF_VERSION >= 4022000
180 # define GOOGLE_ARRAYSIZE ABSL_ARRAYSIZE
181 # define GOOGLE_CHECK_EQ ABSL_CHECK_EQ
182@@ -39,6 +41,12 @@ namespace protobuf_c {
183
184 namespace compat {
185
186+#if GOOGLE_PROTOBUF_VERSION >= 6030000
187+typedef google::protobuf::internal::DescriptorStringView StringView;
188+#else
189+typedef const std::string& StringView;
190+#endif
191+
192 } // namespace compat
193
194 } // namespace protobuf_c
195
196From db5252c131c82fb48ee599179b6989a577b7fbc8 Mon Sep 17 00:00:00 2001
197From: Robert Edmonds <edmonds@users.noreply.github.com>
198Date: Sat, 8 Feb 2025 20:13:44 -0500
199Subject: [PATCH 03/11] Remove some unused functions
200
201---
202 protoc-gen-c/c_helpers.cc | 64 ---------------------------------------
203 protoc-gen-c/c_helpers.h | 3 --
204 2 files changed, 67 deletions(-)
205
206diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
207index c38843f8..bbb4a615 100644
208--- a/protoc-gen-c/c_helpers.cc
209+++ b/protoc-gen-c/c_helpers.cc
210@@ -90,14 +90,6 @@ namespace protobuf_c {
211 #pragma warning(disable:4996)
212 #endif
213
214-std::string DotsToUnderscores(const std::string& name) {
215- return StringReplace(name, ".", "_", true);
216-}
217-
218-std::string DotsToColons(const std::string& name) {
219- return StringReplace(name, ".", "::", true);
220-}
221-
222 std::string SimpleFtoa(float f) {
223 char buf[100];
224 snprintf(buf,sizeof(buf),"%.*g", FLT_DIG, f);
225@@ -333,11 +325,6 @@ std::string FilenameIdentifier(const std::string& filename) {
226 return result;
227 }
228
229-// Return the name of the BuildDescriptors() function for a given file.
230-std::string GlobalBuildDescriptorsName(const std::string& filename) {
231- return "proto_BuildDescriptors_" + FilenameIdentifier(filename);
232-}
233-
234 std::string GetLabelName(google::protobuf::FieldDescriptor::Label label) {
235 switch (label) {
236 case google::protobuf::FieldDescriptor::LABEL_OPTIONAL: return "optional";
237@@ -392,57 +379,6 @@ WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *
238 }
239 }
240
241-
242-
243-// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
244-// XXXXXXXXX this stuff is copied from strutils.cc !!!! XXXXXXXXXXXXXXXXXXXXXXXXXXXXx
245-// XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
246-// ----------------------------------------------------------------------
247-// StringReplace()
248-// Replace the "old" pattern with the "new" pattern in a string,
249-// and append the result to "res". If replace_all is false,
250-// it only replaces the first instance of "old."
251-// ----------------------------------------------------------------------
252-
253-void StringReplace(const std::string& s, const std::string& oldsub,
254- const std::string& newsub, bool replace_all,
255- std::string* res) {
256- if (oldsub.empty()) {
257- res->append(s); // if empty, append the given string.
258- return;
259- }
260-
261- std::string::size_type start_pos = 0;
262- std::string::size_type pos;
263- do {
264- pos = s.find(oldsub, start_pos);
265- if (pos == std::string::npos) {
266- break;
267- }
268- res->append(s, start_pos, pos - start_pos);
269- res->append(newsub);
270- start_pos = pos + oldsub.size(); // start searching again after the "old"
271- } while (replace_all);
272- res->append(s, start_pos, s.length() - start_pos);
273-}
274-
275-
276-// ----------------------------------------------------------------------
277-// StringReplace()
278-// Give me a string and two patterns "old" and "new", and I replace
279-// the first instance of "old" in the string with "new", if it
280-// exists. If "global" is true; call this repeatedly until it
281-// fails. RETURN a new string, regardless of whether the replacement
282-// happened or not.
283-// ----------------------------------------------------------------------
284-
285-std::string StringReplace(const std::string& s, const std::string& oldsub,
286- const std::string& newsub, bool replace_all) {
287- std::string ret;
288- StringReplace(s, oldsub, newsub, replace_all, &ret);
289- return ret;
290-}
291-
292 // ----------------------------------------------------------------------
293 // SplitStringUsing()
294 // Split a string using a character delimiter. Append the components
295diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
296index e69504bb..377d4272 100644
297--- a/protoc-gen-c/c_helpers.h
298+++ b/protoc-gen-c/c_helpers.h
299@@ -150,9 +150,6 @@ const char* DeclaredTypeMethodName(google::protobuf::FieldDescriptor::Type type)
300 // Convert a file name into a valid identifier.
301 std::string FilenameIdentifier(const std::string& filename);
302
303-// Return the name of the BuildDescriptors() function for a given file.
304-std::string GlobalBuildDescriptorsName(const std::string& filename);
305-
306 // return 'required', 'optional', or 'repeated'
307 std::string GetLabelName(google::protobuf::FieldDescriptor::Label label);
308
309
310From bc2cb66d908f016dd3f7082c8a6ad7c58bc03412 Mon Sep 17 00:00:00 2001
311From: Robert Edmonds <edmonds@users.noreply.github.com>
312Date: Sat, 8 Feb 2025 20:18:05 -0500
313Subject: [PATCH 04/11] Use `compat::StringView` type across various function
314 signatures
315
316---
317 protoc-gen-c/c_helpers.cc | 44 +++++++++++++++++++++------------------
318 protoc-gen-c/c_helpers.h | 36 ++++++++++++++++----------------
319 2 files changed, 42 insertions(+), 38 deletions(-)
320
321diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
322index bbb4a615..c759c8c2 100644
323--- a/protoc-gen-c/c_helpers.cc
324+++ b/protoc-gen-c/c_helpers.cc
325@@ -96,6 +96,7 @@ std::string SimpleFtoa(float f) {
326 buf[sizeof(buf)-1] = 0; /* should NOT be necessary */
327 return buf;
328 }
329+
330 std::string SimpleDtoa(double d) {
331 char buf[100];
332 snprintf(buf,sizeof(buf),"%.*g", DBL_DIG, d);
333@@ -103,7 +104,7 @@ std::string SimpleDtoa(double d) {
334 return buf;
335 }
336
337-std::string CamelToUpper(const std::string &name) {
338+std::string CamelToUpper(compat::StringView name) {
339 bool was_upper = true; // suppress initial _
340 std::string rv = "";
341 int len = name.length();
342@@ -120,7 +121,8 @@ std::string CamelToUpper(const std::string &name) {
343 }
344 return rv;
345 }
346-std::string CamelToLower(const std::string &name) {
347+
348+std::string CamelToLower(compat::StringView name) {
349 bool was_upper = true; // suppress initial _
350 std::string rv = "";
351 int len = name.length();
352@@ -138,8 +140,7 @@ std::string CamelToLower(const std::string &name) {
353 return rv;
354 }
355
356-
357-std::string ToUpper(const std::string &name) {
358+std::string ToUpper(compat::StringView name) {
359 std::string rv = "";
360 int len = name.length();
361 for (int i = 0; i < len; i++) {
362@@ -147,7 +148,8 @@ std::string ToUpper(const std::string &name) {
363 }
364 return rv;
365 }
366-std::string ToLower(const std::string &name) {
367+
368+std::string ToLower(compat::StringView name) {
369 std::string rv = "";
370 int len = name.length();
371 for (int i = 0; i < len; i++) {
372@@ -155,7 +157,8 @@ std::string ToLower(const std::string &name) {
373 }
374 return rv;
375 }
376-std::string ToCamel(const std::string &name) {
377+
378+std::string ToCamel(compat::StringView name) {
379 std::string rv = "";
380 int len = name.length();
381 bool next_is_upper = true;
382@@ -172,7 +175,7 @@ std::string ToCamel(const std::string &name) {
383 return rv;
384 }
385
386-std::string OverrideFullName(const std::string &full_name, const google::protobuf::FileDescriptor* file) {
387+std::string OverrideFullName(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
388 const ProtobufCFileOptions opt = file->options().GetExtension(pb_c_file);
389 if (!opt.has_c_package())
390 return full_name;
391@@ -184,7 +187,7 @@ std::string OverrideFullName(const std::string &full_name, const google::protobu
392 return new_name + full_name.substr(file->package().length());
393 }
394
395-std::string FullNameToLower(const std::string &full_name, const google::protobuf::FileDescriptor* file) {
396+std::string FullNameToLower(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
397 std::vector<std::string> pieces;
398 SplitStringUsing(OverrideFullName(full_name, file), ".", &pieces);
399 std::string rv = "";
400@@ -195,7 +198,8 @@ std::string FullNameToLower(const std::string &full_name, const google::protobuf
401 }
402 return rv;
403 }
404-std::string FullNameToUpper(const std::string &full_name, const google::protobuf::FileDescriptor* file) {
405+
406+std::string FullNameToUpper(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
407 std::vector<std::string> pieces;
408 SplitStringUsing(OverrideFullName(full_name, file), ".", &pieces);
409 std::string rv = "";
410@@ -206,7 +210,8 @@ std::string FullNameToUpper(const std::string &full_name, const google::protobuf
411 }
412 return rv;
413 }
414-std::string FullNameToC(const std::string &full_name, const google::protobuf::FileDescriptor* file) {
415+
416+std::string FullNameToC(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
417 std::vector<std::string> pieces;
418 SplitStringUsing(OverrideFullName(full_name, file), ".", &pieces);
419 std::string rv = "";
420@@ -248,7 +253,7 @@ void PrintComment(google::protobuf::io::Printer* printer, std::string comment)
421 }
422 }
423
424-std::string ConvertToSpaces(const std::string &input) {
425+std::string ConvertToSpaces(compat::StringView input) {
426 return std::string(input.size(), ' ');
427 }
428
429@@ -259,8 +264,7 @@ int compare_name_indices_by_name(const void *a, const void *b)
430 return strcmp (ni_a->name, ni_b->name);
431 }
432
433-
434-std::string CEscape(const std::string& src);
435+std::string CEscape(compat::StringView src);
436
437 const char* const kKeywordList[] = {
438 "and", "and_eq", "asm", "auto", "bitand", "bitor", "bool", "break", "case",
439@@ -300,7 +304,7 @@ std::string FieldDeprecated(const google::protobuf::FieldDescriptor* field) {
440 return "";
441 }
442
443-std::string StripProto(const std::string& filename) {
444+std::string StripProto(compat::StringView filename) {
445 if (HasSuffixString(filename, ".protodevel")) {
446 return StripSuffixString(filename, ".protodevel");
447 } else {
448@@ -309,7 +313,7 @@ std::string StripProto(const std::string& filename) {
449 }
450
451 // Convert a file name into a valid identifier.
452-std::string FilenameIdentifier(const std::string& filename) {
453+std::string FilenameIdentifier(compat::StringView filename) {
454 std::string result;
455 for (unsigned i = 0; i < filename.size(); i++) {
456 if (isalnum(filename[i])) {
457@@ -335,7 +339,7 @@ std::string GetLabelName(google::protobuf::FieldDescriptor::Label label) {
458 }
459
460 unsigned
461-WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, const std::string &name)
462+WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name)
463 {
464 std::map<std::string, std::string> vars;
465 vars["name"] = name;
466@@ -389,7 +393,7 @@ WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *
467 // ----------------------------------------------------------------------
468 template <typename ITR>
469 static inline
470-void SplitStringToIteratorUsing(const std::string& full,
471+void SplitStringToIteratorUsing(compat::StringView full,
472 const char* delim,
473 ITR& result) {
474 // Optimize the common case where delim is a single character.
475@@ -422,7 +426,7 @@ void SplitStringToIteratorUsing(const std::string& full,
476 }
477 }
478
479-void SplitStringUsing(const std::string& full,
480+void SplitStringUsing(compat::StringView full,
481 const char* delim,
482 std::vector<std::string>* result) {
483 std::back_insert_iterator< std::vector<std::string> > it(*result);
484@@ -435,7 +439,6 @@ char* FastHexToBuffer(int i, char* buffer)
485 return buffer;
486 }
487
488-
489 static int CEscapeInternal(const char* src, int src_len, char* dest,
490 int dest_len, bool use_hex) {
491 const char* src_end = src + src_len;
492@@ -478,7 +481,8 @@ static int CEscapeInternal(const char* src, int src_len, char* dest,
493 dest[used] = '\0'; // doesn't count towards return value though
494 return used;
495 }
496-std::string CEscape(const std::string& src) {
497+
498+std::string CEscape(compat::StringView src) {
499 const int dest_length = src.size() * 4 + 1; // Maximum possible expansion
500 std::unique_ptr<char[]> dest(new char[dest_length]);
501 const int len = CEscapeInternal(src.data(), src.size(),
502diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
503index 377d4272..ccd39ca2 100644
504--- a/protoc-gen-c/c_helpers.h
505+++ b/protoc-gen-c/c_helpers.h
506@@ -73,6 +73,8 @@
507
508 #include <protobuf-c/protobuf-c.pb.h>
509
510+#include "compat.h"
511+
512 namespace protobuf_c {
513
514 // --- Borrowed from stubs. ---
515@@ -84,11 +86,10 @@ template <typename T> std::string SimpleItoa(T n) {
516
517 std::string SimpleFtoa(float f);
518 std::string SimpleDtoa(double f);
519-void SplitStringUsing(const std::string &str, const char *delim, std::vector<std::string> *out);
520-std::string CEscape(const std::string& src);
521-std::string StringReplace(const std::string& s, const std::string& oldsub, const std::string& newsub, bool replace_all);
522-inline bool HasSuffixString(const std::string& str, const std::string& suffix) { return str.size() >= suffix.size() && str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0; }
523-inline std::string StripSuffixString(const std::string& str, const std::string& suffix) { if (HasSuffixString(str, suffix)) { return str.substr(0, str.size() - suffix.size()); } else { return str; } }
524+void SplitStringUsing(compat::StringView str, const char *delim, std::vector<std::string> *out);
525+std::string CEscape(compat::StringView src);
526+inline bool HasSuffixString(compat::StringView str, compat::StringView suffix) { return str.size() >= suffix.size() && str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0; }
527+inline std::string StripSuffixString(compat::StringView str, compat::StringView suffix) { if (HasSuffixString(str, suffix)) { return str.substr(0, str.size() - suffix.size()); } else { return str; } }
528 char* FastHexToBuffer(int i, char* buffer);
529
530
531@@ -110,31 +111,31 @@ inline const google::protobuf::Descriptor* FieldScope(const google::protobuf::Fi
532
533 // convert a CamelCase class name into an all uppercase affair
534 // with underscores separating words, e.g. MyClass becomes MY_CLASS.
535-std::string CamelToUpper(const std::string &class_name);
536-std::string CamelToLower(const std::string &class_name);
537+std::string CamelToUpper(compat::StringView class_name);
538+std::string CamelToLower(compat::StringView class_name);
539
540 // lowercased, underscored name to camel case
541-std::string ToCamel(const std::string &name);
542+std::string ToCamel(compat::StringView name);
543
544 // lowercase the string
545-std::string ToLower(const std::string &class_name);
546-std::string ToUpper(const std::string &class_name);
547+std::string ToLower(compat::StringView class_name);
548+std::string ToUpper(compat::StringView class_name);
549
550 // full_name() to lowercase with underscores
551-std::string FullNameToLower(const std::string &full_name, const google::protobuf::FileDescriptor *file);
552-std::string FullNameToUpper(const std::string &full_name, const google::protobuf::FileDescriptor *file);
553+std::string FullNameToLower(compat::StringView full_name, const google::protobuf::FileDescriptor *file);
554+std::string FullNameToUpper(compat::StringView full_name, const google::protobuf::FileDescriptor *file);
555
556 // full_name() to c-typename (with underscores for packages, otherwise camel case)
557-std::string FullNameToC(const std::string &class_name, const google::protobuf::FileDescriptor *file);
558+std::string FullNameToC(compat::StringView class_name, const google::protobuf::FileDescriptor *file);
559
560 // Splits, indents, formats, and prints comment lines
561 void PrintComment(google::protobuf::io::Printer* printer, std::string comment);
562
563 // make a string of spaces as long as input
564-std::string ConvertToSpaces(const std::string &input);
565+std::string ConvertToSpaces(compat::StringView input);
566
567 // Strips ".proto" or ".protodevel" from the end of a filename.
568-std::string StripProto(const std::string& filename);
569+std::string StripProto(compat::StringView filename);
570
571 // Get the C++ type name for a primitive type (e.g. "double", "::google::protobuf::int32", etc.).
572 // Note: non-built-in type names will be qualified, meaning they will start
573@@ -148,15 +149,14 @@ const char* PrimitiveTypeName(google::protobuf::FieldDescriptor::CppType type);
574 const char* DeclaredTypeMethodName(google::protobuf::FieldDescriptor::Type type);
575
576 // Convert a file name into a valid identifier.
577-std::string FilenameIdentifier(const std::string& filename);
578+std::string FilenameIdentifier(compat::StringView filename);
579
580 // return 'required', 'optional', or 'repeated'
581 std::string GetLabelName(google::protobuf::FieldDescriptor::Label label);
582
583-
584 // write IntRanges entries for a bunch of sorted values.
585 // returns the number of ranges there are to bsearch.
586-unsigned WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, const std::string &name);
587+unsigned WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, const int *values, compat::StringView name);
588
589 struct NameIndex
590 {
591
592From 75f1c32cc429233a3726358c999009f9ea373b45 Mon Sep 17 00:00:00 2001
593From: Robert Edmonds <edmonds@users.noreply.github.com>
594Date: Sat, 8 Feb 2025 20:25:43 -0500
595Subject: [PATCH 05/11] Convert string views to owned strings where necessary
596
597---
598 protoc-gen-c/c_enum.cc | 2 +-
599 protoc-gen-c/c_enum_field.cc | 2 +-
600 protoc-gen-c/c_helpers.cc | 8 ++++----
601 protoc-gen-c/c_helpers.h | 3 +--
602 4 files changed, 7 insertions(+), 8 deletions(-)
603
604diff --git a/protoc-gen-c/c_enum.cc b/protoc-gen-c/c_enum.cc
605index 9212ab82..311e4c86 100644
606--- a/protoc-gen-c/c_enum.cc
607+++ b/protoc-gen-c/c_enum.cc
608@@ -152,7 +152,7 @@ void EnumGenerator::GenerateValueInitializer(google::protobuf::io::Printer *prin
609 descriptor_->file()->options().optimize_for() ==
610 google::protobuf::FileOptions_OptimizeMode_CODE_SIZE;
611 vars["enum_value_name"] = vd->name();
612- vars["c_enum_value_name"] = FullNameToUpper(descriptor_->full_name(), descriptor_->file()) + "__" + vd->name();
613+ vars["c_enum_value_name"] = FullNameToUpper(descriptor_->full_name(), descriptor_->file()) + "__" + std::string(vd->name());
614 vars["value"] = SimpleItoa(vd->number());
615 if (optimize_code_size)
616 printer->Print(vars, " { NULL, NULL, $value$ }, /* CODE_SIZE */\n");
617diff --git a/protoc-gen-c/c_enum_field.cc b/protoc-gen-c/c_enum_field.cc
618index 0926ae59..c3111f50 100644
619--- a/protoc-gen-c/c_enum_field.cc
620+++ b/protoc-gen-c/c_enum_field.cc
621@@ -78,7 +78,7 @@ void SetEnumVariables(const google::protobuf::FieldDescriptor* descriptor,
622 (*variables)["type"] = FullNameToC(descriptor->enum_type()->full_name(), descriptor->enum_type()->file());
623 const google::protobuf::EnumValueDescriptor* default_value = descriptor->default_value_enum();
624 (*variables)["default"] = FullNameToUpper(default_value->type()->full_name(), default_value->type()->file())
625- + "__" + default_value->name();
626+ + "__" + std::string(default_value->name());
627 (*variables)["deprecated"] = FieldDeprecated(descriptor);
628 }
629
630diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
631index c759c8c2..1aecef93 100644
632--- a/protoc-gen-c/c_helpers.cc
633+++ b/protoc-gen-c/c_helpers.cc
634@@ -178,13 +178,13 @@ std::string ToCamel(compat::StringView name) {
635 std::string OverrideFullName(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
636 const ProtobufCFileOptions opt = file->options().GetExtension(pb_c_file);
637 if (!opt.has_c_package())
638- return full_name;
639+ return std::string(full_name);
640
641 std::string new_name = opt.c_package();
642 if (file->package().empty())
643 new_name += ".";
644
645- return new_name + full_name.substr(file->package().length());
646+ return new_name + std::string(full_name.substr(file->package().length()));
647 }
648
649 std::string FullNameToLower(compat::StringView full_name, const google::protobuf::FileDescriptor* file) {
650@@ -418,10 +418,10 @@ void SplitStringToIteratorUsing(compat::StringView full,
651 while (begin_index != std::string::npos) {
652 end_index = full.find_first_of(delim, begin_index);
653 if (end_index == std::string::npos) {
654- *result++ = full.substr(begin_index);
655+ *result++ = std::string(full.substr(begin_index));
656 return;
657 }
658- *result++ = full.substr(begin_index, (end_index - begin_index));
659+ *result++ = std::string(full.substr(begin_index, (end_index - begin_index)));
660 begin_index = full.find_first_not_of(delim, end_index);
661 }
662 }
663diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
664index ccd39ca2..985e4db6 100644
665--- a/protoc-gen-c/c_helpers.h
666+++ b/protoc-gen-c/c_helpers.h
667@@ -89,10 +89,9 @@ std::string SimpleDtoa(double f);
668 void SplitStringUsing(compat::StringView str, const char *delim, std::vector<std::string> *out);
669 std::string CEscape(compat::StringView src);
670 inline bool HasSuffixString(compat::StringView str, compat::StringView suffix) { return str.size() >= suffix.size() && str.compare(str.size() - suffix.size(), suffix.size(), suffix) == 0; }
671-inline std::string StripSuffixString(compat::StringView str, compat::StringView suffix) { if (HasSuffixString(str, suffix)) { return str.substr(0, str.size() - suffix.size()); } else { return str; } }
672+inline std::string StripSuffixString(compat::StringView str, compat::StringView suffix) { if (HasSuffixString(str, suffix)) { return std::string(str.substr(0, str.size() - suffix.size())); } else { return std::string(str); } }
673 char* FastHexToBuffer(int i, char* buffer);
674
675-
676 // Get the (unqualified) name that should be used for this field in C code.
677 // The name is coerced to lower-case to emulate proto1 behavior. People
678 // should be using lowercase-with-underscores style for proto field names
679
680From 0edca93db369fb84f01cc0d4e3ee4cd6c2ad7f4f Mon Sep 17 00:00:00 2001
681From: Robert Edmonds <edmonds@users.noreply.github.com>
682Date: Sat, 8 Feb 2025 20:39:11 -0500
683Subject: [PATCH 06/11] Convert various uses of `const char *` to
684 `compat::StringView`
685
686Also replace some uses of arrays manually allocated with new/delete with
687uses of `std::vector`.
688---
689 protoc-gen-c/c_enum.cc | 35 ++++++++++++++++++-----------------
690 protoc-gen-c/c_helpers.cc | 2 +-
691 protoc-gen-c/c_helpers.h | 2 +-
692 protoc-gen-c/c_message.cc | 28 ++++++++++++----------------
693 protoc-gen-c/c_service.cc | 19 +++++++++----------
694 5 files changed, 41 insertions(+), 45 deletions(-)
695
696diff --git a/protoc-gen-c/c_enum.cc b/protoc-gen-c/c_enum.cc
697index 311e4c86..c7839edd 100644
698--- a/protoc-gen-c/c_enum.cc
699+++ b/protoc-gen-c/c_enum.cc
700@@ -142,7 +142,7 @@ struct ValueIndex
701 int value;
702 unsigned index;
703 unsigned final_index; /* index in uniqified array of values */
704- const char *name;
705+ compat::StringView name;
706 };
707 void EnumGenerator::GenerateValueInitializer(google::protobuf::io::Printer *printer, int index)
708 {
709@@ -176,7 +176,7 @@ static int compare_value_indices_by_name(const void *a, const void *b)
710 {
711 const ValueIndex *vi_a = (const ValueIndex *) a;
712 const ValueIndex *vi_b = (const ValueIndex *) b;
713- return strcmp (vi_a->name, vi_b->name);
714+ return vi_a->name.compare(vi_b->name);
715 }
716
717 void EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer* printer) {
718@@ -194,18 +194,20 @@ void EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer* printe
719
720 // Sort by name and value, dropping duplicate values if they appear later.
721 // TODO: use a c++ paradigm for this!
722- NameIndex *name_index = new NameIndex[descriptor_->value_count()];
723- ValueIndex *value_index = new ValueIndex[descriptor_->value_count()];
724- for (int j = 0; j < descriptor_->value_count(); j++) {
725+ std::vector<ValueIndex> value_index;
726+ for (unsigned j = 0; j < descriptor_->value_count(); j++) {
727 const google::protobuf::EnumValueDescriptor *vd = descriptor_->value(j);
728- name_index[j].index = j;
729- name_index[j].name = vd->name().c_str();
730- value_index[j].index = j;
731- value_index[j].value = vd->number();
732- value_index[j].name = vd->name().c_str();
733+ value_index.push_back({
734+ .value = vd->number(),
735+ .index = j,
736+ .final_index = 0,
737+ .name = vd->name(),
738+ });
739 }
740- qsort(value_index, descriptor_->value_count(),
741- sizeof(ValueIndex), compare_value_indices_by_value_then_index);
742+ qsort(&value_index[0],
743+ value_index.size(),
744+ sizeof(ValueIndex),
745+ compare_value_indices_by_value_then_index);
746
747 // only record unique values
748 int n_unique_values;
749@@ -275,8 +277,10 @@ void EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer* printe
750 vars["n_ranges"] = SimpleItoa(n_ranges);
751
752 if (!optimize_code_size) {
753- qsort(value_index, descriptor_->value_count(),
754- sizeof(ValueIndex), compare_value_indices_by_name);
755+ qsort(&value_index[0],
756+ value_index.size(),
757+ sizeof(ValueIndex),
758+ compare_value_indices_by_name);
759 printer->Print(vars,
760 "static const ProtobufCEnumValueIndex $lcclassname$__enum_values_by_name[$value_count$] =\n"
761 "{\n");
762@@ -319,9 +323,6 @@ void EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer* printe
763 " NULL,NULL,NULL,NULL /* reserved[1234] */\n"
764 "};\n");
765 }
766-
767- delete[] value_index;
768- delete[] name_index;
769 }
770
771 } // namespace protobuf_c
772diff --git a/protoc-gen-c/c_helpers.cc b/protoc-gen-c/c_helpers.cc
773index 1aecef93..dec9ce28 100644
774--- a/protoc-gen-c/c_helpers.cc
775+++ b/protoc-gen-c/c_helpers.cc
776@@ -261,7 +261,7 @@ int compare_name_indices_by_name(const void *a, const void *b)
777 {
778 const NameIndex *ni_a = (const NameIndex *) a;
779 const NameIndex *ni_b = (const NameIndex *) b;
780- return strcmp (ni_a->name, ni_b->name);
781+ return ni_a->name.compare(ni_b->name);
782 }
783
784 std::string CEscape(compat::StringView src);
785diff --git a/protoc-gen-c/c_helpers.h b/protoc-gen-c/c_helpers.h
786index 985e4db6..69369997 100644
787--- a/protoc-gen-c/c_helpers.h
788+++ b/protoc-gen-c/c_helpers.h
789@@ -160,7 +160,7 @@ unsigned WriteIntRanges(google::protobuf::io::Printer* printer, int n_values, co
790 struct NameIndex
791 {
792 unsigned index;
793- const char *name;
794+ compat::StringView name;
795 };
796 int compare_name_indices_by_name(const void*, const void*);
797
798diff --git a/protoc-gen-c/c_message.cc b/protoc-gen-c/c_message.cc
799index 46413873..7252923c 100644
800--- a/protoc-gen-c/c_message.cc
801+++ b/protoc-gen-c/c_message.cc
802@@ -567,27 +567,26 @@ GenerateMessageDescriptor(google::protobuf::io::Printer* printer, bool gen_init)
803 "static const ProtobufCFieldDescriptor $lcclassname$__field_descriptors[$n_fields$] =\n"
804 "{\n");
805 printer->Indent();
806- const google::protobuf::FieldDescriptor **sorted_fields = new const google::protobuf::FieldDescriptor *[descriptor_->field_count()];
807+
808+ std::vector<const google::protobuf::FieldDescriptor*> sorted_fields;
809 for (int i = 0; i < descriptor_->field_count(); i++) {
810- sorted_fields[i] = descriptor_->field(i);
811+ sorted_fields.push_back(descriptor_->field(i));
812 }
813- qsort (sorted_fields, descriptor_->field_count(),
814+ qsort(&sorted_fields[0], sorted_fields.size(),
815 sizeof(const google::protobuf::FieldDescriptor*),
816 compare_pfields_by_number);
817- for (int i = 0; i < descriptor_->field_count(); i++) {
818- const google::protobuf::FieldDescriptor* field = sorted_fields[i];
819+ for (auto field : sorted_fields) {
820 field_generators_.get(field).GenerateDescriptorInitializer(printer);
821 }
822 printer->Outdent();
823 printer->Print(vars, "};\n");
824
825 if (!optimize_code_size) {
826- NameIndex *field_indices = new NameIndex [descriptor_->field_count()];
827- for (int i = 0; i < descriptor_->field_count(); i++) {
828- field_indices[i].name = sorted_fields[i]->name().c_str();
829- field_indices[i].index = i;
830+ std::vector<NameIndex> field_indices;
831+ for (unsigned i = 0; i < descriptor_->field_count(); i++) {
832+ field_indices.push_back({ .index = i, .name = sorted_fields[i]->name() });
833 }
834- qsort (field_indices, descriptor_->field_count(), sizeof (NameIndex),
835+ qsort(&field_indices[0], field_indices.size(), sizeof(NameIndex),
836 compare_name_indices_by_name);
837 printer->Print(vars, "static const unsigned $lcclassname$__field_indices_by_name[] = {\n");
838 for (int i = 0; i < descriptor_->field_count(); i++) {
839@@ -596,19 +595,16 @@ GenerateMessageDescriptor(google::protobuf::io::Printer* printer, bool gen_init)
840 printer->Print(vars, " $index$, /* field[$index$] = $name$ */\n");
841 }
842 printer->Print("};\n");
843- delete[] field_indices;
844 }
845
846 // create range initializers
847- int *values = new int[descriptor_->field_count()];
848+ std::vector<int> values;
849 for (int i = 0; i < descriptor_->field_count(); i++) {
850- values[i] = sorted_fields[i]->number();
851+ values.push_back(sorted_fields[i]->number());
852 }
853 int n_ranges = WriteIntRanges(printer,
854- descriptor_->field_count(), values,
855+ descriptor_->field_count(), &values[0],
856 vars["lcclassname"] + "__number_ranges");
857- delete [] values;
858- delete [] sorted_fields;
859
860 vars["n_ranges"] = SimpleItoa(n_ranges);
861 } else {
862diff --git a/protoc-gen-c/c_service.cc b/protoc-gen-c/c_service.cc
863index ee4d4a95..2c3ddcf3 100644
864--- a/protoc-gen-c/c_service.cc
865+++ b/protoc-gen-c/c_service.cc
866@@ -184,19 +184,19 @@ void ServiceGenerator::GenerateInit(google::protobuf::io::Printer* printer)
867 "}\n");
868 }
869
870-struct MethodIndexAndName { unsigned i; const char *name; };
871+struct MethodIndexAndName { unsigned i; compat::StringView name; };
872 static int
873 compare_method_index_and_name_by_name (const void *a, const void *b)
874 {
875 const MethodIndexAndName *ma = (const MethodIndexAndName *) a;
876 const MethodIndexAndName *mb = (const MethodIndexAndName *) b;
877- return strcmp (ma->name, mb->name);
878+ return ma->name.compare(mb->name);
879 }
880
881 void ServiceGenerator::GenerateServiceDescriptor(google::protobuf::io::Printer* printer)
882 {
883 int n_methods = descriptor_->method_count();
884- MethodIndexAndName *mi_array = new MethodIndexAndName[n_methods];
885+ std::vector<MethodIndexAndName> mi_array;
886
887 bool optimize_code_size = descriptor_->file()->options().has_optimize_for() &&
888 descriptor_->file()->options().optimize_for() ==
889@@ -205,7 +205,7 @@ void ServiceGenerator::GenerateServiceDescriptor(google::protobuf::io::Printer*
890 vars_["n_methods"] = SimpleItoa(n_methods);
891 printer->Print(vars_, "static const ProtobufCMethodDescriptor $lcfullname$__method_descriptors[$n_methods$] =\n"
892 "{\n");
893- for (int i = 0; i < n_methods; i++) {
894+ for (unsigned i = 0; i < n_methods; i++) {
895 const google::protobuf::MethodDescriptor* method = descriptor_->method(i);
896 vars_["method"] = method->name();
897 vars_["input_descriptor"] = "&" + FullNameToLower(method->input_type()->full_name(), method->input_type()->file()) + "__descriptor";
898@@ -217,14 +217,15 @@ void ServiceGenerator::GenerateServiceDescriptor(google::protobuf::io::Printer*
899 printer->Print(vars_,
900 " { \"$method$\", $input_descriptor$, $output_descriptor$ },\n");
901 }
902- mi_array[i].i = i;
903- mi_array[i].name = method->name().c_str();
904+ mi_array.push_back({i, method->name()});
905 }
906 printer->Print(vars_, "};\n");
907
908 if (!optimize_code_size) {
909- qsort ((void*)mi_array, n_methods, sizeof (MethodIndexAndName),
910- compare_method_index_and_name_by_name);
911+ qsort(&mi_array[0],
912+ mi_array.size(),
913+ sizeof(MethodIndexAndName),
914+ compare_method_index_and_name_by_name);
915 printer->Print(vars_, "const unsigned $lcfullname$__method_indices_by_name[] = {\n");
916 for (int i = 0; i < n_methods; i++) {
917 vars_["i"] = SimpleItoa(mi_array[i].i);
918@@ -258,8 +259,6 @@ void ServiceGenerator::GenerateServiceDescriptor(google::protobuf::io::Printer*
919 " $lcfullname$__method_indices_by_name\n"
920 "};\n");
921 }
922-
923- delete[] mi_array;
924 }
925
926 void ServiceGenerator::GenerateCallersImplementations(google::protobuf::io::Printer* printer)
927
928From ebeddac1a746393a16d9ba4cf80e3d12c3ab7d7f Mon Sep 17 00:00:00 2001
929From: Robert Edmonds <edmonds@users.noreply.github.com>
930Date: Sat, 8 Feb 2025 20:56:48 -0500
931Subject: [PATCH 07/11] Fix indentation of
932 MessageGenerator::GenerateMessageDescriptor()
933
934---
935 protoc-gen-c/c_message.cc | 321 +++++++++++++++++++-------------------
936 1 file changed, 159 insertions(+), 162 deletions(-)
937
938diff --git a/protoc-gen-c/c_message.cc b/protoc-gen-c/c_message.cc
939index 7252923c..2a3b2a2f 100644
940--- a/protoc-gen-c/c_message.cc
941+++ b/protoc-gen-c/c_message.cc
942@@ -461,199 +461,196 @@ GenerateHelperFunctionDefinitions(google::protobuf::io::Printer* printer,
943
944 void MessageGenerator::
945 GenerateMessageDescriptor(google::protobuf::io::Printer* printer, bool gen_init) {
946- std::map<std::string, std::string> vars;
947- vars["fullname"] = descriptor_->full_name();
948- vars["classname"] = FullNameToC(descriptor_->full_name(), descriptor_->file());
949- vars["lcclassname"] = FullNameToLower(descriptor_->full_name(), descriptor_->file());
950- vars["shortname"] = ToCamel(descriptor_->name());
951- vars["n_fields"] = SimpleItoa(descriptor_->field_count());
952- vars["packagename"] = descriptor_->file()->package();
953-
954- bool optimize_code_size = descriptor_->file()->options().has_optimize_for() &&
955- descriptor_->file()->options().optimize_for() ==
956- google::protobuf::FileOptions_OptimizeMode_CODE_SIZE;
957-
958- const ProtobufCMessageOptions opt =
959- descriptor_->options().GetExtension(pb_c_msg);
960- // Override parent settings, if needed
961- if (opt.has_gen_init_helpers())
962- gen_init = opt.gen_init_helpers();
963-
964- for (int i = 0; i < descriptor_->nested_type_count(); i++) {
965- nested_generators_[i]->GenerateMessageDescriptor(printer, gen_init);
966- }
967+ std::map<std::string, std::string> vars;
968+ vars["fullname"] = descriptor_->full_name();
969+ vars["classname"] = FullNameToC(descriptor_->full_name(), descriptor_->file());
970+ vars["lcclassname"] = FullNameToLower(descriptor_->full_name(), descriptor_->file());
971+ vars["shortname"] = ToCamel(descriptor_->name());
972+ vars["n_fields"] = SimpleItoa(descriptor_->field_count());
973+ vars["packagename"] = descriptor_->file()->package();
974
975- for (int i = 0; i < descriptor_->enum_type_count(); i++) {
976- enum_generators_[i]->GenerateEnumDescriptor(printer);
977- }
978+ bool optimize_code_size = descriptor_->file()->options().has_optimize_for() &&
979+ descriptor_->file()->options().optimize_for() ==
980+ google::protobuf::FileOptions_OptimizeMode_CODE_SIZE;
981
982- for (int i = 0; i < descriptor_->field_count(); i++) {
983- const google::protobuf::FieldDescriptor* fd = descriptor_->field(i);
984- if (fd->has_default_value()) {
985- field_generators_.get(fd).GenerateDefaultValueImplementations(printer);
986- }
987- }
988+ const ProtobufCMessageOptions opt = descriptor_->options().GetExtension(pb_c_msg);
989+ // Override parent settings, if needed
990+ if (opt.has_gen_init_helpers()) {
991+ gen_init = opt.gen_init_helpers();
992+ }
993
994- for (int i = 0; i < descriptor_->field_count(); i++) {
995- const google::protobuf::FieldDescriptor* fd = descriptor_->field(i);
996- const ProtobufCFieldOptions opt = fd->options().GetExtension(pb_c_field);
997- if (fd->has_default_value()) {
998-
999- bool already_defined = false;
1000- vars["name"] = fd->name();
1001- vars["lcname"] = CamelToLower(fd->name());
1002- vars["maybe_static"] = "static ";
1003- vars["field_dv_ctype_suffix"] = "";
1004- vars["default_value"] = field_generators_.get(fd).GetDefaultValue();
1005- switch (fd->cpp_type()) {
1006- case google::protobuf::FieldDescriptor::CPPTYPE_INT32:
1007- vars["field_dv_ctype"] = "int32_t";
1008- break;
1009- case google::protobuf::FieldDescriptor::CPPTYPE_INT64:
1010- vars["field_dv_ctype"] = "int64_t";
1011- break;
1012- case google::protobuf::FieldDescriptor::CPPTYPE_UINT32:
1013- vars["field_dv_ctype"] = "uint32_t";
1014- break;
1015- case google::protobuf::FieldDescriptor::CPPTYPE_UINT64:
1016- vars["field_dv_ctype"] = "uint64_t";
1017- break;
1018- case google::protobuf::FieldDescriptor::CPPTYPE_FLOAT:
1019- vars["field_dv_ctype"] = "float";
1020- break;
1021- case google::protobuf::FieldDescriptor::CPPTYPE_DOUBLE:
1022- vars["field_dv_ctype"] = "double";
1023- break;
1024- case google::protobuf::FieldDescriptor::CPPTYPE_BOOL:
1025- vars["field_dv_ctype"] = "protobuf_c_boolean";
1026- break;
1027-
1028- case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE:
1029- // NOTE: not supported by protobuf
1030- vars["maybe_static"] = "";
1031- vars["field_dv_ctype"] = "{ ... }";
1032- GOOGLE_LOG(FATAL) << "Messages can't have default values!";
1033- break;
1034- case google::protobuf::FieldDescriptor::CPPTYPE_STRING:
1035- if (fd->type() == google::protobuf::FieldDescriptor::TYPE_BYTES || opt.string_as_bytes())
1036- {
1037- vars["field_dv_ctype"] = "ProtobufCBinaryData";
1038- }
1039- else /* STRING type */
1040- {
1041- already_defined = true;
1042- vars["maybe_static"] = "";
1043- vars["field_dv_ctype"] = "char";
1044- vars["field_dv_ctype_suffix"] = "[]";
1045- }
1046- break;
1047- case google::protobuf::FieldDescriptor::CPPTYPE_ENUM:
1048- {
1049- const google::protobuf::EnumValueDescriptor* vd = fd->default_value_enum();
1050- vars["field_dv_ctype"] = FullNameToC(vd->type()->full_name(), vd->type()->file());
1051- break;
1052- }
1053- default:
1054- GOOGLE_LOG(FATAL) << "Unknown CPPTYPE";
1055- break;
1056- }
1057- if (!already_defined)
1058- printer->Print(vars, "$maybe_static$const $field_dv_ctype$ $lcclassname$__$lcname$__default_value$field_dv_ctype_suffix$ = $default_value$;\n");
1059- }
1060- }
1061+ for (int i = 0; i < descriptor_->nested_type_count(); i++) {
1062+ nested_generators_[i]->GenerateMessageDescriptor(printer, gen_init);
1063+ }
1064
1065- if ( descriptor_->field_count() ) {
1066- printer->Print(vars,
1067- "static const ProtobufCFieldDescriptor $lcclassname$__field_descriptors[$n_fields$] =\n"
1068- "{\n");
1069- printer->Indent();
1070+ for (int i = 0; i < descriptor_->enum_type_count(); i++) {
1071+ enum_generators_[i]->GenerateEnumDescriptor(printer);
1072+ }
1073
1074- std::vector<const google::protobuf::FieldDescriptor*> sorted_fields;
1075 for (int i = 0; i < descriptor_->field_count(); i++) {
1076- sorted_fields.push_back(descriptor_->field(i));
1077- }
1078- qsort(&sorted_fields[0], sorted_fields.size(),
1079- sizeof(const google::protobuf::FieldDescriptor*),
1080- compare_pfields_by_number);
1081- for (auto field : sorted_fields) {
1082- field_generators_.get(field).GenerateDescriptorInitializer(printer);
1083+ const google::protobuf::FieldDescriptor* fd = descriptor_->field(i);
1084+ if (fd->has_default_value()) {
1085+ field_generators_.get(fd).GenerateDefaultValueImplementations(printer);
1086+ }
1087 }
1088- printer->Outdent();
1089- printer->Print(vars, "};\n");
1090
1091- if (!optimize_code_size) {
1092- std::vector<NameIndex> field_indices;
1093- for (unsigned i = 0; i < descriptor_->field_count(); i++) {
1094- field_indices.push_back({ .index = i, .name = sorted_fields[i]->name() });
1095+ for (int i = 0; i < descriptor_->field_count(); i++) {
1096+ const google::protobuf::FieldDescriptor* fd = descriptor_->field(i);
1097+ const ProtobufCFieldOptions opt = fd->options().GetExtension(pb_c_field);
1098+ if (fd->has_default_value()) {
1099+ bool already_defined = false;
1100+ vars["name"] = fd->name();
1101+ vars["lcname"] = CamelToLower(fd->name());
1102+ vars["maybe_static"] = "static ";
1103+ vars["field_dv_ctype_suffix"] = "";
1104+ vars["default_value"] = field_generators_.get(fd).GetDefaultValue();
1105+ switch (fd->cpp_type()) {
1106+ case google::protobuf::FieldDescriptor::CPPTYPE_INT32:
1107+ vars["field_dv_ctype"] = "int32_t";
1108+ break;
1109+ case google::protobuf::FieldDescriptor::CPPTYPE_INT64:
1110+ vars["field_dv_ctype"] = "int64_t";
1111+ break;
1112+ case google::protobuf::FieldDescriptor::CPPTYPE_UINT32:
1113+ vars["field_dv_ctype"] = "uint32_t";
1114+ break;
1115+ case google::protobuf::FieldDescriptor::CPPTYPE_UINT64:
1116+ vars["field_dv_ctype"] = "uint64_t";
1117+ break;
1118+ case google::protobuf::FieldDescriptor::CPPTYPE_FLOAT:
1119+ vars["field_dv_ctype"] = "float";
1120+ break;
1121+ case google::protobuf::FieldDescriptor::CPPTYPE_DOUBLE:
1122+ vars["field_dv_ctype"] = "double";
1123+ break;
1124+ case google::protobuf::FieldDescriptor::CPPTYPE_BOOL:
1125+ vars["field_dv_ctype"] = "protobuf_c_boolean";
1126+ break;
1127+ case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE:
1128+ // NOTE: not supported by protobuf
1129+ vars["maybe_static"] = "";
1130+ vars["field_dv_ctype"] = "{ ... }";
1131+ GOOGLE_LOG(FATAL) << "Messages can't have default values!";
1132+ break;
1133+ case google::protobuf::FieldDescriptor::CPPTYPE_STRING:
1134+ if (fd->type() == google::protobuf::FieldDescriptor::TYPE_BYTES || opt.string_as_bytes()) {
1135+ vars["field_dv_ctype"] = "ProtobufCBinaryData";
1136+ } else {
1137+ /* STRING type */
1138+ already_defined = true;
1139+ vars["maybe_static"] = "";
1140+ vars["field_dv_ctype"] = "char";
1141+ vars["field_dv_ctype_suffix"] = "[]";
1142+ }
1143+ break;
1144+ case google::protobuf::FieldDescriptor::CPPTYPE_ENUM: {
1145+ const google::protobuf::EnumValueDescriptor* vd = fd->default_value_enum();
1146+ vars["field_dv_ctype"] = FullNameToC(vd->type()->full_name(), vd->type()->file());
1147+ break;
1148+ }
1149+ default:
1150+ GOOGLE_LOG(FATAL) << "Unknown CPPTYPE";
1151+ break;
1152+ }
1153+ if (!already_defined) {
1154+ printer->Print(vars, "$maybe_static$const $field_dv_ctype$ $lcclassname$__$lcname$__default_value$field_dv_ctype_suffix$ = $default_value$;\n");
1155+ }
1156 }
1157- qsort(&field_indices[0], field_indices.size(), sizeof(NameIndex),
1158- compare_name_indices_by_name);
1159- printer->Print(vars, "static const unsigned $lcclassname$__field_indices_by_name[] = {\n");
1160+ }
1161+
1162+ if (descriptor_->field_count()) {
1163+ printer->Print(vars,
1164+ "static const ProtobufCFieldDescriptor $lcclassname$__field_descriptors[$n_fields$] =\n"
1165+ "{\n");
1166+ printer->Indent();
1167+
1168+ std::vector<const google::protobuf::FieldDescriptor*> sorted_fields;
1169 for (int i = 0; i < descriptor_->field_count(); i++) {
1170- vars["index"] = SimpleItoa(field_indices[i].index);
1171- vars["name"] = field_indices[i].name;
1172- printer->Print(vars, " $index$, /* field[$index$] = $name$ */\n");
1173+ sorted_fields.push_back(descriptor_->field(i));
1174 }
1175- printer->Print("};\n");
1176- }
1177+ qsort(&sorted_fields[0],
1178+ sorted_fields.size(),
1179+ sizeof(const google::protobuf::FieldDescriptor*),
1180+ compare_pfields_by_number);
1181+ for (auto field : sorted_fields) {
1182+ field_generators_.get(field).GenerateDescriptorInitializer(printer);
1183+ }
1184+ printer->Outdent();
1185+ printer->Print(vars, "};\n");
1186
1187- // create range initializers
1188- std::vector<int> values;
1189- for (int i = 0; i < descriptor_->field_count(); i++) {
1190- values.push_back(sorted_fields[i]->number());
1191- }
1192- int n_ranges = WriteIntRanges(printer,
1193- descriptor_->field_count(), &values[0],
1194- vars["lcclassname"] + "__number_ranges");
1195+ if (!optimize_code_size) {
1196+ std::vector<NameIndex> field_indices;
1197+ for (unsigned i = 0; i < descriptor_->field_count(); i++) {
1198+ field_indices.push_back({ .index = i, .name = sorted_fields[i]->name() });
1199+ }
1200+ qsort(&field_indices[0],
1201+ field_indices.size(),
1202+ sizeof(NameIndex),
1203+ compare_name_indices_by_name);
1204+ printer->Print(vars, "static const unsigned $lcclassname$__field_indices_by_name[] = {\n");
1205+ for (int i = 0; i < descriptor_->field_count(); i++) {
1206+ vars["index"] = SimpleItoa(field_indices[i].index);
1207+ vars["name"] = field_indices[i].name;
1208+ printer->Print(vars, " $index$, /* field[$index$] = $name$ */\n");
1209+ }
1210+ printer->Print("};\n");
1211+ }
1212
1213- vars["n_ranges"] = SimpleItoa(n_ranges);
1214- } else {
1215- /* MS compiler can't handle arrays with zero size and empty
1216- * initialization list. Furthermore it is an extension of GCC only but
1217- * not a standard. */
1218- vars["n_ranges"] = "0";
1219- printer->Print(vars,
1220- "#define $lcclassname$__field_descriptors NULL\n"
1221- "#define $lcclassname$__field_indices_by_name NULL\n"
1222- "#define $lcclassname$__number_ranges NULL\n");
1223+ // create range initializers
1224+ std::vector<int> values;
1225+ for (int i = 0; i < descriptor_->field_count(); i++) {
1226+ values.push_back(sorted_fields[i]->number());
1227 }
1228+ int n_ranges = WriteIntRanges(printer,
1229+ descriptor_->field_count(),
1230+ &values[0],
1231+ vars["lcclassname"] + "__number_ranges");
1232+
1233+ vars["n_ranges"] = SimpleItoa(n_ranges);
1234+ } else {
1235+ /* MS compiler can't handle arrays with zero size and empty
1236+ * initialization list. Furthermore it is an extension of GCC only but
1237+ * not a standard. */
1238+ vars["n_ranges"] = "0";
1239+ printer->Print(vars,
1240+ "#define $lcclassname$__field_descriptors NULL\n"
1241+ "#define $lcclassname$__field_indices_by_name NULL\n"
1242+ "#define $lcclassname$__number_ranges NULL\n");
1243+ }
1244
1245 printer->Print(vars,
1246- "const ProtobufCMessageDescriptor $lcclassname$__descriptor =\n"
1247- "{\n"
1248- " PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,\n");
1249+ "const ProtobufCMessageDescriptor $lcclassname$__descriptor =\n"
1250+ "{\n"
1251+ " PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,\n");
1252 if (optimize_code_size) {
1253 printer->Print(" NULL,NULL,NULL,NULL, /* CODE_SIZE */\n");
1254 } else {
1255 printer->Print(vars,
1256- " \"$fullname$\",\n"
1257- " \"$shortname$\",\n"
1258- " \"$classname$\",\n"
1259- " \"$packagename$\",\n");
1260+ " \"$fullname$\",\n"
1261+ " \"$shortname$\",\n"
1262+ " \"$classname$\",\n"
1263+ " \"$packagename$\",\n");
1264 }
1265 printer->Print(vars,
1266- " sizeof($classname$),\n"
1267- " $n_fields$,\n"
1268- " $lcclassname$__field_descriptors,\n");
1269+ " sizeof($classname$),\n"
1270+ " $n_fields$,\n"
1271+ " $lcclassname$__field_descriptors,\n");
1272 if (optimize_code_size) {
1273 printer->Print(" NULL, /* CODE_SIZE */\n");
1274 } else {
1275- printer->Print(vars,
1276- " $lcclassname$__field_indices_by_name,\n");
1277+ printer->Print(vars, " $lcclassname$__field_indices_by_name,\n");
1278 }
1279 printer->Print(vars,
1280- " $n_ranges$,"
1281- " $lcclassname$__number_ranges,\n");
1282+ " $n_ranges$,"
1283+ " $lcclassname$__number_ranges,\n");
1284 if (gen_init) {
1285- printer->Print(vars,
1286- " (ProtobufCMessageInit) $lcclassname$__init,\n");
1287+ printer->Print(vars, " (ProtobufCMessageInit) $lcclassname$__init,\n");
1288 } else {
1289- printer->Print(vars,
1290- " NULL, /* gen_init_helpers = false */\n");
1291+ printer->Print(vars, " NULL, /* gen_init_helpers = false */\n");
1292 }
1293 printer->Print(vars,
1294- " NULL,NULL,NULL /* reserved[123] */\n"
1295- "};\n");
1296+ " NULL,NULL,NULL /* reserved[123] */\n"
1297+ "};\n");
1298 }
1299
1300 int MessageGenerator::GetOneofUnionOrder(const google::protobuf::FieldDescriptor* fd)
1301
1302From c59b146aee2d97091ca2adeecd3f2741cb7f0082 Mon Sep 17 00:00:00 2001
1303From: Robert Edmonds <edmonds@users.noreply.github.com>
1304Date: Sat, 8 Feb 2025 21:10:37 -0500
1305Subject: [PATCH 08/11] compat: Use absl::string_view instead of
1306 google::protobuf::internal::DescriptorStringView
1307
1308Even though google::protobuf::internal::DescriptorStringView is exposed
1309in public protobuf headers, it's probably not a good idea to rely on an
1310"internal" typedef.
1311
1312According to https://protobuf.dev/news/2024-10-02/#descriptor-apis:
1313
1314 v30 will update return types in descriptor (such as full_name) to be
1315 absl::string_view.
1316
1317So `absl::string_view` is probably the right type to use here.
1318---
1319 protoc-gen-c/compat.h | 6 +++++-
1320 1 file changed, 5 insertions(+), 1 deletion(-)
1321
1322diff --git a/protoc-gen-c/compat.h b/protoc-gen-c/compat.h
1323index fe8041b5..a70cef34 100644
1324--- a/protoc-gen-c/compat.h
1325+++ b/protoc-gen-c/compat.h
1326@@ -37,12 +37,16 @@
1327 # define GOOGLE_LOG ABSL_LOG
1328 #endif
1329
1330+#if GOOGLE_PROTOBUF_VERSION >= 6030000
1331+# include <absl/strings/string_view.h>
1332+#endif
1333+
1334 namespace protobuf_c {
1335
1336 namespace compat {
1337
1338 #if GOOGLE_PROTOBUF_VERSION >= 6030000
1339-typedef google::protobuf::internal::DescriptorStringView StringView;
1340+typedef absl::string_view StringView;
1341 #else
1342 typedef const std::string& StringView;
1343 #endif
1344
1345From 9c56038fd9d3cc2552c297457d7a66efe5cbd2c7 Mon Sep 17 00:00:00 2001
1346From: Robert Edmonds <edmonds@users.noreply.github.com>
1347Date: Sat, 8 Feb 2025 21:37:30 -0500
1348Subject: [PATCH 09/11] Makefile.am: Add compat.h to
1349 protoc_gen_c_protoc_gen_c_SOURCES
1350
1351---
1352 Makefile.am | 1 +
1353 1 file changed, 1 insertion(+)
1354
1355diff --git a/Makefile.am b/Makefile.am
1356index 77aa9d99..26d19f16 100644
1357--- a/Makefile.am
1358+++ b/Makefile.am
1359@@ -102,6 +102,7 @@ protoc_gen_c_protoc_gen_c_SOURCES = \
1360 protoc-gen-c/c_service.h \
1361 protoc-gen-c/c_string_field.cc \
1362 protoc-gen-c/c_string_field.h \
1363+ protoc-gen-c/compat.h \
1364 protobuf-c/protobuf-c.pb.cc \
1365 protobuf-c/protobuf-c.pb.h \
1366 protoc-gen-c/main.cc
1367
1368From 4ebd5cd8238d1f2ac6291b8c8925f34e16ce2123 Mon Sep 17 00:00:00 2001
1369From: Robert Edmonds <edmonds@users.noreply.github.com>
1370Date: Sat, 8 Feb 2025 21:38:07 -0500
1371Subject: [PATCH 10/11] compat: Conditionalize the include of <string>
1372
1373It is only needed on older protobuf versions where absl::string_view is
1374not being used.
1375---
1376 protoc-gen-c/compat.h | 4 ++--
1377 1 file changed, 2 insertions(+), 2 deletions(-)
1378
1379diff --git a/protoc-gen-c/compat.h b/protoc-gen-c/compat.h
1380index a70cef34..f6ace7cb 100644
1381--- a/protoc-gen-c/compat.h
1382+++ b/protoc-gen-c/compat.h
1383@@ -28,8 +28,6 @@
1384 #ifndef PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
1385 #define PROTOBUF_C_PROTOC_GEN_C_COMPAT_H__
1386
1387-#include <string>
1388-
1389 #if GOOGLE_PROTOBUF_VERSION >= 4022000
1390 # define GOOGLE_ARRAYSIZE ABSL_ARRAYSIZE
1391 # define GOOGLE_CHECK_EQ ABSL_CHECK_EQ
1392@@ -39,6 +37,8 @@
1393
1394 #if GOOGLE_PROTOBUF_VERSION >= 6030000
1395 # include <absl/strings/string_view.h>
1396+#else
1397+# include <string>
1398 #endif
1399
1400 namespace protobuf_c {
1401
1402From 9a6b35e1e6956fb5cb044910448049b7a5339244 Mon Sep 17 00:00:00 2001
1403From: Robert Edmonds <edmonds@users.noreply.github.com>
1404Date: Sat, 8 Feb 2025 21:44:42 -0500
1405Subject: [PATCH 11/11] Cater to Microsoft Visual C++
1406
1407Apparently MSVC doesn't support designated initializers for some reason.
1408---
1409 protoc-gen-c/c_enum.cc | 9 ++-------
1410 protoc-gen-c/c_message.cc | 2 +-
1411 2 files changed, 3 insertions(+), 8 deletions(-)
1412
1413diff --git a/protoc-gen-c/c_enum.cc b/protoc-gen-c/c_enum.cc
1414index c7839edd..1940ba9d 100644
1415--- a/protoc-gen-c/c_enum.cc
1416+++ b/protoc-gen-c/c_enum.cc
1417@@ -195,14 +195,9 @@ void EnumGenerator::GenerateEnumDescriptor(google::protobuf::io::Printer* printe
1418 // Sort by name and value, dropping duplicate values if they appear later.
1419 // TODO: use a c++ paradigm for this!
1420 std::vector<ValueIndex> value_index;
1421- for (unsigned j = 0; j < descriptor_->value_count(); j++) {
1422+ for (int j = 0; j < descriptor_->value_count(); j++) {
1423 const google::protobuf::EnumValueDescriptor *vd = descriptor_->value(j);
1424- value_index.push_back({
1425- .value = vd->number(),
1426- .index = j,
1427- .final_index = 0,
1428- .name = vd->name(),
1429- });
1430+ value_index.push_back({ vd->number(), (unsigned)j, 0, vd->name() });
1431 }
1432 qsort(&value_index[0],
1433 value_index.size(),
1434diff --git a/protoc-gen-c/c_message.cc b/protoc-gen-c/c_message.cc
1435index 2a3b2a2f..94889179 100644
1436--- a/protoc-gen-c/c_message.cc
1437+++ b/protoc-gen-c/c_message.cc
1438@@ -581,7 +581,7 @@ GenerateMessageDescriptor(google::protobuf::io::Printer* printer, bool gen_init)
1439 if (!optimize_code_size) {
1440 std::vector<NameIndex> field_indices;
1441 for (unsigned i = 0; i < descriptor_->field_count(); i++) {
1442- field_indices.push_back({ .index = i, .name = sorted_fields[i]->name() });
1443+ field_indices.push_back({ i, sorted_fields[i]->name() });
1444 }
1445 qsort(&field_indices[0],
1446 field_indices.size(),
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb
index 24de6b8119..30c9e19b16 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.0.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.5.1.bb
@@ -8,16 +8,17 @@ has been split out into the protobuf-c-rpc project."
8HOMEPAGE = "https://github.com/protobuf-c/protobuf-c" 8HOMEPAGE = "https://github.com/protobuf-c/protobuf-c"
9SECTION = "console/tools" 9SECTION = "console/tools"
10LICENSE = "BSD-2-Clause" 10LICENSE = "BSD-2-Clause"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=d11077c6a2b5d2e64b9f32b61a9b78ba" 11LIC_FILES_CHKSUM = "file://LICENSE;md5=bd8de4f63e06b1ccc06e9f8dc5b1aa97"
12 12
13DEPENDS = "protobuf-native protobuf" 13DEPENDS = "protobuf-native protobuf"
14 14
15SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https" 15SRC_URI = "git://github.com/protobuf-c/protobuf-c.git;branch=master;protocol=https \
16 file://protobuf-30.patch \
17"
16SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch" 18SRC_URI:append:class-native = " file://0001-Makefile.am-do-not-compile-the-code-which-was-genera.patch"
17 19
18SRCREV = "8c201f6e47a53feaab773922a743091eb6c8972a" 20SRCREV = "185beed28e65494be7505b30c1afeaf199e19b23"
19 21
20S = "${WORKDIR}/git"
21 22
22inherit autotools pkgconfig 23inherit autotools pkgconfig
23 24
@@ -36,3 +37,6 @@ RDEPENDS:${PN}-compiler = "protobuf-compiler"
36RDEPENDS:${PN}-dev += "${PN}-compiler" 37RDEPENDS:${PN}-dev += "${PN}-compiler"
37 38
38BBCLASSEXTEND = "native nativesdk" 39BBCLASSEXTEND = "native nativesdk"
40
41# No 64bit atomics
42LDFLAGS:append:riscv32 = " -latomic"
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
index 9f6116c4c4..1f5c9127de 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-Fix-build-on-mips-clang.patch
@@ -1,26 +1,34 @@
1From 08e46feb6553af670754e65d94c3bb6fcd4e0cf9 Mon Sep 17 00:00:00 2001 1From cd6c5f36c0dc38e4734b74b03923489b7bfb9aba Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 31 Oct 2021 23:39:44 -0700 3Date: Mon, 10 Mar 2025 19:59:19 -0700
4Subject: [PATCH] Fix build on mips/clang 4Subject: [PATCH] Fix build on mips/clang
5 5
6clang13 crashes on mips, until its fixed upstream disable tailcall on 6clang20 crashes on mips, until its fixed upstream disable tailcall on
7mips 7mips
8 8
9https://bugs.llvm.org/show_bug.cgi?id=52367 9https://github.com/llvm/llvm-project/issues/51709
10 10
11Upstream-Status: Inappropriate [Clang workaround] 11Upstream-Status: Inappropriate [Clang workaround]
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14Rebase to v5.29.4
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13--- 16---
14 src/google/protobuf/port_def.inc | 2 +- 17 src/google/protobuf/port_def.inc | 1 +
15 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+)
16 19
20diff --git a/src/google/protobuf/port_def.inc b/src/google/protobuf/port_def.inc
21index 56f995e45..428d096b3 100644
17--- a/src/google/protobuf/port_def.inc 22--- a/src/google/protobuf/port_def.inc
18+++ b/src/google/protobuf/port_def.inc 23+++ b/src/google/protobuf/port_def.inc
19@@ -255,6 +255,7 @@ 24@@ -227,6 +227,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
20 #error PROTOBUF_TAILCALL was previously defined 25 #error PROTOBUF_TAILCALL was previously defined
21 #endif 26 #endif
22 #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ 27 #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \
23+ !defined(__mips__) && \ 28+ !defined(__mips__) && \
24 !defined(_ARCH_PPC) && !defined(__wasm__) && \ 29 !defined(_ARCH_PPC) && !defined(__wasm__) && \
25 !(defined(_MSC_VER) && defined(_M_IX86)) && \ 30 !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__)
26 !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) 31 // Compilation fails on ARM32: b/195943306
32--
332.25.1
34
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch
index 7c4bf260eb..53fdf7dece 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch
@@ -1,13 +1,12 @@
1From e3fa241637ab5a7fa78c0d474802134cff75f91e Mon Sep 17 00:00:00 2001 1From f6a3554e37fb39f93e4b47a75318bbda53cfdb46 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 28 Jun 2019 13:50:52 +0000 3Date: Thu, 20 Mar 2025 20:33:02 -0700
4Subject: [PATCH] examples/Makefile: respect CXX,LDFLAGS variables, fix build 4Subject: [PATCH] examples/Makefile: respect CXX,LDFLAGS variables
5 with gold
6 5
7* move pkg-config call to separate variable, so that the final version 6* move pkg-config call to separate variable, so that the final version
8 of the whole command so it's shown in log.do_compile_ptest_base 7 of the whole command so it's shown in log.do_compile_ptest_base
9* add ../src/google/protobuf/.libs/timestamp.pb.o when linking 8* add ../src/google/protobuf/.libs/timestamp.pb.o when linking
10 add_person_cpp otherwise it fails to link with gold: 9 add_person_cpp otherwise it fails:
11 i686-oe-linux-g++ -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=core2-32-oe-linux/protobuf/3.8.0-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` 10 i686-oe-linux-g++ -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=core2-32-oe-linux/protobuf/3.8.0-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf`
12 /tmp/cccjSJQs.o:addressbook.pb.cc:scc_info_Person_addressbook_2eproto: error: undefined reference to 'scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto' 11 /tmp/cccjSJQs.o:addressbook.pb.cc:scc_info_Person_addressbook_2eproto: error: undefined reference to 'scc_info_Timestamp_google_2fprotobuf_2ftimestamp_2eproto'
13 /tmp/cccjSJQs.o:addressbook.pb.cc:descriptor_table_addressbook_2eproto_deps: error: undefined reference to 'descriptor_table_google_2fprotobuf_2ftimestamp_2eproto' 12 /tmp/cccjSJQs.o:addressbook.pb.cc:descriptor_table_addressbook_2eproto_deps: error: undefined reference to 'descriptor_table_google_2fprotobuf_2ftimestamp_2eproto'
@@ -25,37 +24,39 @@ Upstream-Status: Pending
25Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 24Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
26Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 25Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
27 26
27Rebase to 5.29.4
28Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
28--- 29---
29 examples/Makefile | 6 ++++-- 30 examples/Makefile | 6 ++++--
30 1 file changed, 4 insertions(+), 2 deletions(-) 31 1 file changed, 4 insertions(+), 2 deletions(-)
31 32
32diff --git a/examples/Makefile b/examples/Makefile 33diff --git a/examples/Makefile b/examples/Makefile
33index ef7a4ef58..7206e14e1 100644 34index f7ee9b116..8cd1359e2 100644
34--- a/examples/Makefile 35--- a/examples/Makefile
35+++ b/examples/Makefile 36+++ b/examples/Makefile
36@@ -2,6 +2,8 @@ 37@@ -4,6 +4,8 @@
37 38
38 .PHONY: all cpp java python clean 39 all: cpp java python
39 40
40+PROTOBUF := $(shell pkg-config --cflags --libs protobuf) 41+PROTOBUF := $(shell pkg-config --cflags --libs protobuf)
41+ 42+
42 all: cpp java python
43
44 cpp: add_person_cpp list_people_cpp 43 cpp: add_person_cpp list_people_cpp
45@@ -41,11 +43,11 @@ protoc_middleman_dart: addressbook.proto 44 dart: add_person_dart list_people_dart
45 go: add_person_go list_people_go
46@@ -46,11 +48,11 @@ protoc_middleman_ruby: addressbook.proto
46 47
47 add_person_cpp: add_person.cc protoc_middleman 48 add_person_cpp: add_person.cc protoc_middleman
48 pkg-config --cflags protobuf # fails if protobuf is not installed 49 pkg-config --cflags protobuf # fails if protobuf is not installed
49- c++ -std=c++14 add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf` 50- c++ add_person.cc addressbook.pb.cc -o add_person_cpp `pkg-config --cflags --libs protobuf`
50+ $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp #$(CXX) -std=c++17 $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp 51+ $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) add_person.cc addressbook.pb.cc -o add_person_cpp
51 52
52 list_people_cpp: list_people.cc protoc_middleman 53 list_people_cpp: list_people.cc protoc_middleman
53 pkg-config --cflags protobuf # fails if protobuf is not installed 54 pkg-config --cflags protobuf # fails if protobuf is not installed
54- c++ -std=c++14 list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf` 55- c++ list_people.cc addressbook.pb.cc -o list_people_cpp `pkg-config --cflags --libs protobuf`
55+ $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp #$(CXX) -std=c++17 $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp 56+ $(CXX) $(CXXFLAGS) $(LDFLAGS) ../src/google/protobuf/.libs/timestamp.pb.o $(PROTOBUF) list_people.cc addressbook.pb.cc -o list_people_cpp
56 57
57 add_person_dart: add_person.dart protoc_middleman_dart 58 add_person_dart: add_person.dart protoc_middleman_dart
58 59
59-- 60--
602.34.1 612.25.1
61 62
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch
new file mode 100644
index 0000000000..2edba6b7eb
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-fix-protobuf-native-build-failure-with-gcc-10.patch
@@ -0,0 +1,46 @@
1From 213f29fb63473304db098b3d12a0393fd50e4914 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Mar 2025 13:28:13 +0800
4Subject: [PATCH] fix protobuf-native build failure with gcc 10
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Build protobuf-native failed on ubuntu 20.04 which has gcc 10
10
11protobuf-native/4.30.0/git/src/google/protobuf/port_def.inc:105:48:
12error: static assertion failed: Protobuf only supports C+
13 ↪ +17 and newer.
14 | 105 | #define PROTOBUF_CPLUSPLUS_MIN(x) (__cplusplus >= x)
15 | | ~~~~~~~~~~~~~^~~~~
16 | /home/kraj01/yoe/build/tmp/work/x86_64-linux/protobuf-native/4.30.0/git/src/google/protobuf/port_def.inc:119:15:
17note: in expansion of macro ‘PROTOBUF_CPLUSPLUS_MIN’
18 | 119 | static_assert(PROTOBUF_CPLUSPLUS_MIN(201703L),
19 | | ^~~~~~~~~~~~~~~~~~~~~~
20
21Upstream-Status: Pending
22
23Signed-off-by: Khem Raj <raj.khem@gmail.com>
24Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
25---
26 CMakeLists.txt | 4 ++++
27 1 file changed, 4 insertions(+)
28
29diff --git a/CMakeLists.txt b/CMakeLists.txt
30index e90cb8aa2..3ffac1307 100644
31--- a/CMakeLists.txt
32+++ b/CMakeLists.txt
33@@ -14,6 +14,10 @@ endif()
34 # Project
35 project(protobuf C CXX)
36
37+set(CMAKE_CXX_STANDARD 17)
38+set(CMAKE_CXX_STANDARD_REQUIRED ON)
39+set(CMAKE_CXX_EXTENSIONS OFF)
40+
41 if(protobuf_DEPRECATED_CMAKE_SUBDIRECTORY_USAGE)
42 if(CMAKE_PROJECT_NAME STREQUAL "protobuf")
43 get_filename_component(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
44--
452.25.1
46
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/0001-utf8_range-add-version-marker-to-library-19009.patch b/meta-oe/recipes-devtools/protobuf/protobuf/0001-utf8_range-add-version-marker-to-library-19009.patch
new file mode 100644
index 0000000000..e58fdc1d19
--- /dev/null
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/0001-utf8_range-add-version-marker-to-library-19009.patch
@@ -0,0 +1,43 @@
1From fd020ef700dbf2d324aecd087b8fcb6ff329feb6 Mon Sep 17 00:00:00 2001
2From: Jan Engelhardt <jengelh@inai.de>
3Date: Thu, 21 Nov 2024 11:30:17 -0800
4Subject: [PATCH] utf8_range: add version marker to library (#19009)
5
6Unversioned libraries / libraries without due ABI indicators are not allowed in certain Linux distributions because it precludes the concurrent presence of multiple versions.
7
8If you have both /usr/lib/libprotobuf-lite.so.28.3.0 and /usr/lib/libprotobuf-lite.so.29.0.0, both of them want libutf8_validity.so, but if the ABI is different between utf8_range 28 and utf8_range 29, that's a problem.
9
10Closes #19009
11
12COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/19009 from jengelh:master 1a5f8682be2f2b84da07fcdd32474baae8088959
13PiperOrigin-RevId: 698855702
14
15Upstream-Status: Backport [https://github.com/protocolbuffers/protobuf/commit/ced605d0e6a7ad20985375b596b2ca6720e07737]
16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17---
18 third_party/utf8_range/CMakeLists.txt | 9 +++++++++
19 1 file changed, 9 insertions(+)
20
21diff --git a/third_party/utf8_range/CMakeLists.txt b/third_party/utf8_range/CMakeLists.txt
22index 4276b97290..e054893c63 100644
23--- a/third_party/utf8_range/CMakeLists.txt
24+++ b/third_party/utf8_range/CMakeLists.txt
25@@ -19,6 +19,15 @@ add_library (utf8_range
26 # A heavier-weight C++ wrapper that supports Abseil.
27 add_library (utf8_validity utf8_validity.cc utf8_range.c)
28
29+set_target_properties(utf8_range PROPERTIES
30+ VERSION ${protobuf_VERSION}
31+ OUTPUT_NAME ${LIB_PREFIX}utf8_range
32+)
33+set_target_properties(utf8_validity PROPERTIES
34+ VERSION ${protobuf_VERSION}
35+ OUTPUT_NAME ${LIB_PREFIX}utf8_validity
36+)
37+
38 # Load Abseil dependency.
39 if (NOT TARGET absl::strings)
40 if (NOT ABSL_ROOT_DIR)
41--
422.34.1
43
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.3.bb b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb
index 4f8515471f..90be1179aa 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_4.25.3.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_6.31.1.bb
@@ -4,22 +4,28 @@ efficient yet extensible format. Google uses Protocol Buffers for almost \
4all of its internal RPC protocols and file formats." 4all of its internal RPC protocols and file formats."
5HOMEPAGE = "https://github.com/google/protobuf" 5HOMEPAGE = "https://github.com/google/protobuf"
6SECTION = "console/tools" 6SECTION = "console/tools"
7LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause & MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b" 8LIC_FILES_CHKSUM = " \
9 file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b \
10 file://third_party/utf8_range/LICENSE;md5=d4974d297231477b2ff507c35d61c13c \
11"
9 12
10DEPENDS = "zlib abseil-cpp" 13DEPENDS = "zlib abseil-cpp jsoncpp"
11DEPENDS:append:class-target = " protobuf-native" 14DEPENDS:append:class-target = " protobuf-native"
12 15
13SRCREV = "4a2aef570deb2bfb8927426558701e8bfc26f2a4" 16SRCREV = "74211c0dfc2777318ab53c2cd2c317a2ef9012de"
14 17
15SRC_URI = "gitsm://github.com/protocolbuffers/protobuf.git;branch=25.x;protocol=https \ 18SRC_URI = "git://github.com/protocolbuffers/protobuf.git;branch=31.x;protocol=https \
16 file://run-ptest \ 19 file://run-ptest \
17 file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \ 20 file://0001-examples-Makefile-respect-CXX-LDFLAGS-variables-fix-.patch \
21 file://0001-fix-protobuf-native-build-failure-with-gcc-10.patch \
18 " 22 "
19SRC_URI:append:mips:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " 23SRC_URI:append:mipsarcho32:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch "
20SRC_URI:append:mipsel:toolchain-clang = " file://0001-Fix-build-on-mips-clang.patch " 24
25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.(25\.(\d+)))"
26
21 27
22S = "${WORKDIR}/git" 28CVE_PRODUCT = "google:protobuf protobuf:protobuf google-protobuf protobuf-cpp"
23 29
24inherit cmake pkgconfig ptest 30inherit cmake pkgconfig ptest
25 31
@@ -35,11 +41,15 @@ EXTRA_OECMAKE += "\
35 -Dprotobuf_BUILD_TESTS=OFF \ 41 -Dprotobuf_BUILD_TESTS=OFF \
36 -Dprotobuf_BUILD_EXAMPLES=OFF \ 42 -Dprotobuf_BUILD_EXAMPLES=OFF \
37 -Dprotobuf_ABSL_PROVIDER="package" \ 43 -Dprotobuf_ABSL_PROVIDER="package" \
44 -Dprotobuf_JSONCPP_PROVIDER="package" \
38" 45"
39 46
40TEST_SRC_DIR = "examples" 47TEST_SRC_DIR = "examples"
41LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}" 48LANG_SUPPORT = "cpp ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python', '', d)}"
42 49
50CXXFLAGS:append:mipsarcho32 = " -latomic"
51CXXFLAGS:append:riscv32 = " -latomic"
52
43do_compile_ptest() { 53do_compile_ptest() {
44 mkdir -p "${B}/${TEST_SRC_DIR}" 54 mkdir -p "${B}/${TEST_SRC_DIR}"
45 55
@@ -105,15 +115,9 @@ FILES:${PN}-lite = "${libdir}/libprotobuf-lite${SOLIBS}"
105SYSROOT_DIRS += "${bindir}" 115SYSROOT_DIRS += "${bindir}"
106 116
107RDEPENDS:${PN}-compiler = "${PN}" 117RDEPENDS:${PN}-compiler = "${PN}"
108RDEPENDS:${PN}-dev += "${PN}-compiler" 118RDEPENDS:${PN}-dev += "${@bb.utils.contains('PACKAGECONFIG', 'compiler', '${PN}-compiler', '', d)}"
109RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}" 119RDEPENDS:${PN}-ptest = "bash ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python3-protobuf', '', d)}"
110 120
111MIPS_INSTRUCTION_SET = "mips" 121MIPS_INSTRUCTION_SET = "mips"
112 122
113BBCLASSEXTEND = "native nativesdk" 123BBCLASSEXTEND = "native nativesdk"
114
115LDFLAGS:append:arm = " -latomic"
116LDFLAGS:append:mips = " -latomic"
117LDFLAGS:append:powerpc = " -latomic"
118LDFLAGS:append:mipsel = " -latomic"
119LDFLAGS:append:riscv32 = " -latomic"
diff --git a/meta-oe/recipes-devtools/pugixml/pugixml_1.14.bb b/meta-oe/recipes-devtools/pugixml/pugixml_1.15.bb
index 458958edf5..457fa59435 100644
--- a/meta-oe/recipes-devtools/pugixml/pugixml_1.14.bb
+++ b/meta-oe/recipes-devtools/pugixml/pugixml_1.15.bb
@@ -7,12 +7,13 @@ data-driven tree queries."
7HOMEPAGE = "https://pugixml.org/" 7HOMEPAGE = "https://pugixml.org/"
8 8
9LICENSE = "MIT" 9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://readme.txt;beginline=29;endline=52;md5=ad370df61d83846cf9e4726244671201" 10LIC_FILES_CHKSUM = "file://readme.txt;beginline=29;endline=52;md5=5dbb98bbc2e5051c26ce32508b4f703e"
11 11
12SRC_URI = "https://github.com/zeux/${BPN}/releases/download/v${PV}/${BP}.tar.gz" 12SRC_URI = "https://github.com/zeux/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
13SRC_URI[sha256sum] = "2f10e276870c64b1db6809050a75e11a897a8d7456c4be5c6b2e35a11168a015" 13SRC_URI[sha256sum] = "655ade57fa703fb421c2eb9a0113b5064bddb145d415dd1f88c79353d90d511a"
14 14
15UPSTREAM_CHECK_URI = "https://github.com/zeux/${BPN}/releases" 15UPSTREAM_CHECK_URI = "https://github.com/zeux/${BPN}/releases"
16UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
16 17
17inherit cmake 18inherit cmake
18 19
diff --git a/meta-oe/recipes-devtools/python/python3-apt_2.5.3.bb b/meta-oe/recipes-devtools/python/python3-apt_2.5.3.bb
index 1d54b9f6af..d5c440f413 100644
--- a/meta-oe/recipes-devtools/python/python3-apt_2.5.3.bb
+++ b/meta-oe/recipes-devtools/python/python3-apt_2.5.3.bb
@@ -7,7 +7,6 @@ SRC_URI = "git://salsa.debian.org/apt-team/python-apt.git;protocol=https;branch=
7 7
8SRCREV = "3252935b6224b3bd2e2250894b9559b47c61b2e1" 8SRCREV = "3252935b6224b3bd2e2250894b9559b47c61b2e1"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit setuptools3 11inherit setuptools3
13 12
diff --git a/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb b/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb
index a98dfab6d9..d80eac7756 100644
--- a/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb
+++ b/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb
@@ -10,6 +10,6 @@ SRC_URI[sha256sum] = "723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae
10 10
11inherit setuptools3 11inherit setuptools3
12 12
13S = "${WORKDIR}/python-distutils-extra-${PV}" 13S = "${UNPACKDIR}/python-distutils-extra-${PV}"
14 14
15BBCLASSEXTEND = "native" 15BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-devtools/python/python3-pefile/run-ptest b/meta-oe/recipes-devtools/python/python3-pefile/run-ptest
deleted file mode 100644
index 95ae72306f..0000000000
--- a/meta-oe/recipes-devtools/python/python3-pefile/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2
3pytest --automake --ignore=./tests/pefile_test.py
diff --git a/meta-oe/recipes-devtools/python/python3-pefile_2023.2.7.bb b/meta-oe/recipes-devtools/python/python3-pefile_2023.2.7.bb
deleted file mode 100644
index e30b362323..0000000000
--- a/meta-oe/recipes-devtools/python/python3-pefile_2023.2.7.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Python PE parsing module"
2DESCRIPTION = "A multi-platform Python module to parse and work with Portable Executable (PE) files."
3HOMEPAGE = "https://github.com/erocarrera/pefile"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38066667888b01d8118ff9cc23da1873"
6
7inherit setuptools3 ptest
8SRCREV = "1ab2807c4eec16041e791d7a6acc68cc23fd5266"
9SRC_URI = "git://github.com/erocarrera/pefile;branch=master;protocol=https \
10 file://run-ptest"
11S = "${WORKDIR}/git"
12
13BBCLASSEXTEND = "native nativesdk"
14
15do_install_ptest() {
16 install -d ${D}${PTEST_PATH}/tests
17 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
18}
19
20RDEPENDS:${PN} += " \
21 python3-mmap \
22 python3-netclient \
23 python3-stringold \
24"
25RDEPENDS:${PN}-ptest += "\
26 python3-pytest \
27 python3-unittest-automake-output \
28"
diff --git a/meta-oe/recipes-devtools/python/python3-psycopg_3.2.9.bb b/meta-oe/recipes-devtools/python/python3-psycopg_3.2.9.bb
new file mode 100644
index 0000000000..9be72bc4fd
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python3-psycopg_3.2.9.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Psycopg 3 is the implementation of a PostgreSQL adapter for Python."
2DESCRIPTION = "Psycopg is the most popular PostgreSQL adapter for the Python \
3programming language. Its core is a complete implementation of the Python DB \
4API 2.0 specifications. Several extensions allow access to many of the \
5features offered by PostgreSQL."
6
7LICENSE = "LGPL-3.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404"
9
10SRC_URI[sha256sum] = "2fbb46fcd17bc81f993f28c47f1ebea38d66ae97cc2dbc3cad73b37cefbff700"
11
12inherit pypi python_setuptools_build_meta
13
14RDEPENDS:${PN} = "libpq"
diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
index 8519479c4d..724d329ee2 100644
--- a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
+++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
@@ -10,7 +10,6 @@ SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
10 10
11PV = "1.1.0+git" 11PV = "1.1.0+git"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit cmake 14inherit cmake
16 15
diff --git a/meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb b/meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb
index 29abfe1af5..672c46055d 100644
--- a/meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb
+++ b/meta-oe/recipes-devtools/serialcheck/serialcheck_1.0.0.bb
@@ -9,7 +9,6 @@ SRC_URI = " \
9 9
10SRCREV = "45eb2ffa5378396e85432872833890b0a1cba872" 10SRCREV = "45eb2ffa5378396e85432872833890b0a1cba872"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools 13inherit autotools
15 14
diff --git a/meta-oe/recipes-devtools/sexpect/sexpect_2.3.14.bb b/meta-oe/recipes-devtools/sexpect/sexpect_2.3.15.bb
index 1b064faf16..72ccd1d6b7 100644
--- a/meta-oe/recipes-devtools/sexpect/sexpect_2.3.14.bb
+++ b/meta-oe/recipes-devtools/sexpect/sexpect_2.3.15.bb
@@ -4,9 +4,8 @@ LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
5 5
6BRANCH = "master" 6BRANCH = "master"
7SRC_URI = "git://github.com/clarkwang/sexpect;branch=${BRANCH};protocol=https" 7SRC_URI = "git://github.com/clarkwang/sexpect;branch=${BRANCH};protocol=https;tag=v${PV}"
8SRCREV = "532a52d36aae442b7fe1ce20a59effd1dbc6e6fe" 8SRCREV = "d3645392424d47532be90fcbc0abf3148324785b"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit cmake 11inherit cmake
diff --git a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb b/meta-oe/recipes-devtools/sip/sip_6.12.0.bb
index d12130af43..20e705f1a6 100644
--- a/meta-oe/recipes-devtools/sip/sip_6.8.3.bb
+++ b/meta-oe/recipes-devtools/sip/sip_6.12.0.bb
@@ -3,15 +3,17 @@
3 3
4SUMMARY = "A Python bindings generator for C/C++ libraries" 4SUMMARY = "A Python bindings generator for C/C++ libraries"
5 5
6HOMEPAGE = "https://www.riverbankcomputing.com/software/sip/" 6HOMEPAGE = "https://github.com/Python-SIP/sip"
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "BSD-2-Clause"
8SECTION = "devel" 8SECTION = "devel"
9LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=236276327275fdb261636fb40b18d88d"
10 10
11inherit pypi setuptools3 python3native 11inherit pypi python_setuptools_build_meta python3native
12 12
13PYPI_PACKAGE = "sip" 13PYPI_PACKAGE = "sip"
14SRC_URI[sha256sum] = "888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c" 14SRC_URI[sha256sum] = "083ced94f85315493231119a63970b2ba42b1d38b38e730a70e02a99191a89c6"
15
16DEPENDS += "python3-setuptools-scm-native"
15 17
16RDEPENDS:${PN} = " \ 18RDEPENDS:${PN} = " \
17 python3-core \ 19 python3-core \
diff --git a/meta-oe/recipes-devtools/smemstat/smemstat_0.02.13.bb b/meta-oe/recipes-devtools/smemstat/smemstat_0.02.13.bb
index bf5c52fe50..ea4fc5d3dd 100644
--- a/meta-oe/recipes-devtools/smemstat/smemstat_0.02.13.bb
+++ b/meta-oe/recipes-devtools/smemstat/smemstat_0.02.13.bb
@@ -9,7 +9,6 @@ DEPENDS = "ncurses"
9SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master" 9SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master"
10SRCREV = "1edc560602aa116b96408110b8b9d66a4edef60e" 10SRCREV = "1edc560602aa116b96408110b8b9d66a4edef60e"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit bash-completion 13inherit bash-completion
15 14
diff --git a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch
new file mode 100644
index 0000000000..af884808f2
--- /dev/null
+++ b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm/0001-fix-cstdint-error-with-gcc-15.0.1.patch
@@ -0,0 +1,52 @@
1From f011501e719e0042fc6ca29ac7b33e8a14562246 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Tue, 1 Apr 2025 19:45:01 +0900
4Subject: [PATCH] fix cstdint error with gcc-15.0.1
5
6* see more details:
7 http://errors.yoctoproject.org/Errors/Details/850148/
8 TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:7:5: error: 'uint16_t' does not name a type
9 7 | uint16_t src_port;
10 | ^~~~~~~~
11 TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:3:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
12 2 | #include <sqlite_orm/sqlite_orm.h>
13 +++ |+#include <cstdint>
14 3 | #include <string>
15
16While this was backported from 6a96d1cec4(Explicitly included <cstdint> in examples and unit tests),
17since it was a commit made in v1.9, only synchronous.cpp was modified as other files do not exist in the current version.
18
19Signed-off-by: mark.yang <mark.yang@lge.com>
20
21Upstream-Status: Backport [6a96d1c Explicitly included <cstdint> in examples and unit tests]
22---
23 examples/synchronous.cpp | 11 ++++++-----
24 1 file changed, 6 insertions(+), 5 deletions(-)
25
26diff --git a/examples/synchronous.cpp b/examples/synchronous.cpp
27index d10da13d..b103b48c 100644
28--- a/examples/synchronous.cpp
29+++ b/examples/synchronous.cpp
30@@ -1,15 +1,16 @@
31
32 #include <sqlite_orm/sqlite_orm.h>
33+#include <cstdint>
34 #include <string>
35
36 struct Query {
37 std::string src_ip;
38- uint16_t src_port;
39- uint16_t txn_id;
40- uint32_t tv_sec;
41- uint32_t tv_usec;
42+ std::uint16_t src_port;
43+ std::uint16_t txn_id;
44+ std::uint32_t tv_sec;
45+ std::uint32_t tv_usec;
46 std::string name;
47- uint16_t type;
48+ std::uint16_t type;
49 };
50
51 int main(int, char **) {
52
diff --git a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb
index db90bc589e..ee203f83e2 100644
--- a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb
+++ b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb
@@ -8,8 +8,10 @@ inherit cmake
8DEPENDS += "sqlite3" 8DEPENDS += "sqlite3"
9 9
10SRCREV = "e8a9e9416f421303f4b8970caab26dadf8bae98b" 10SRCREV = "e8a9e9416f421303f4b8970caab26dadf8bae98b"
11SRC_URI = "git://github.com/fnc12/sqlite_orm;protocol=https;branch=master" 11SRC_URI = " \
12S = "${WORKDIR}/git" 12 git://github.com/fnc12/sqlite_orm;protocol=https;branch=master \
13 file://0001-fix-cstdint-error-with-gcc-15.0.1.patch \
14"
13 15
14EXTRA_OECMAKE += "-DSqliteOrm_BuildTests=OFF -DLIB_INSTALL_DIR=${libdir} \ 16EXTRA_OECMAKE += "-DSqliteOrm_BuildTests=OFF -DLIB_INSTALL_DIR=${libdir} \
15 -DCMAKE_INSTALL_DIR=${libdir}/cmake \ 17 -DCMAKE_INSTALL_DIR=${libdir}/cmake \
diff --git a/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb b/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb
index a542396d46..966d14874e 100644
--- a/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.1.bb
+++ b/meta-oe/recipes-devtools/squashfs-tools-ng/squashfs-tools-ng_1.3.2.bb
@@ -11,10 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING.md;md5=a709b68f1ce8a9f10aeea6401446c1f4 \
11 file://licenses/zstd.txt;md5=8df8137b630239cbdd4c0674124cb0c8 \ 11 file://licenses/zstd.txt;md5=8df8137b630239cbdd4c0674124cb0c8 \
12 " 12 "
13 13
14SRCREV = "8f9966c8ea3ea8a854941d041e7fcb9eb4f772fb" 14SRCREV = "667faf69cc35215e33e747b4bffdcba3643c2629"
15SRC_URI = "git://github.com/AgentD/squashfs-tools-ng.git;protocol=https;branch=fixes-1.3.0" 15SRC_URI = "git://github.com/AgentD/squashfs-tools-ng.git;protocol=https;branch=fixes-1.3.0"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit autotools pkgconfig 18inherit autotools pkgconfig
20 19
diff --git a/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
index f9e3679590..7824ed1a68 100644
--- a/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
+++ b/meta-oe/recipes-devtools/ssd1306/ssd1306_git.bb
@@ -1,4 +1,4 @@
1SUMMARY="SSD1306 OLED I2C drive" 1SUMMARY = "SSD1306 OLED I2C drive"
2DESCRIPTION = "SSD1306 OLED I2C driver working in Linux" 2DESCRIPTION = "SSD1306 OLED I2C driver working in Linux"
3HOMEPAGE = "https://github.com/armlabs/ssd1306_linux" 3HOMEPAGE = "https://github.com/armlabs/ssd1306_linux"
4SECTION = "console/utils" 4SECTION = "console/utils"
@@ -11,7 +11,6 @@ SRC_URI = " \
11" 11"
12SRCREV = "34b42992a43fda69c6ba2557b718601cafe16251" 12SRCREV = "34b42992a43fda69c6ba2557b718601cafe16251"
13 13
14S = "${WORKDIR}/git"
15 14
16# coreutils provides fmt which is used in the Makefile 15# coreutils provides fmt which is used in the Makefile
17DEPENDS = "i2c-tools coreutils-native" 16DEPENDS = "i2c-tools coreutils-native"
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch b/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch
new file mode 100644
index 0000000000..6bd2ffbb55
--- /dev/null
+++ b/meta-oe/recipes-devtools/suitesparse/suitesparse/makefile-quoting.patch
@@ -0,0 +1,32 @@
1OE's CC and CXX contain spaces and extra options which is incompatible with
2cmake way of handling them. Remove passing the compiler options this way in
3favour of our normal cmake toolchain files added elsewhere.
4
5Upstream-Status: Pending
6
7Index: git/Makefile
8===================================================================
9--- git.orig/Makefile
10+++ git/Makefile
11@@ -282,7 +282,7 @@ metis: include/metis.h
12 # hardcoded below.
13 include/metis.h:
14 ifeq (,$(MY_METIS_LIB))
15- - ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) cc=$(CC) )
16+ - ( cd metis-5.1.0 && $(MAKE) config shared=1 prefix=$(SUITESPARSE) )
17 - ( cd metis-5.1.0 && $(MAKE) )
18 - ( cd metis-5.1.0 && $(MAKE) install )
19 - $(SO_INSTALL_NAME) $(SUITESPARSE)/lib/libmetis.dylib \
20Index: git/SuiteSparse_config/SuiteSparse_config.mk
21===================================================================
22--- git.orig/SuiteSparse_config/SuiteSparse_config.mk
23+++ git/SuiteSparse_config/SuiteSparse_config.mk
24@@ -146,7 +146,7 @@ SUITESPARSE_VERSION = 5.10.1
25 endif
26 endif
27
28- CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC)
29+ #CMAKE_OPTIONS += -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC)
30
31 #---------------------------------------------------------------------------
32 # CFLAGS for the C/C++ compiler
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
index 13e6fd066c..8effd042fb 100644
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
+++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
@@ -4,35 +4,27 @@ SRC_URI = "git://github.com/DrTimothyAldenDavis/SuiteSparse;protocol=https;branc
4 file://0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch \ 4 file://0001-Preserve-CXXFLAGS-from-environment-in-Mongoose.patch \
5 file://0002-Preserve-links-when-installing-libmetis.patch \ 5 file://0002-Preserve-links-when-installing-libmetis.patch \
6 file://0003-Add-version-information-to-libmetis.patch \ 6 file://0003-Add-version-information-to-libmetis.patch \
7 file://makefile-quoting.patch \
7 " 8 "
8SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26" 9SRCREV = "538273cfd53720a10e34a3d80d3779b607e1ac26"
9 10
10S = "${WORKDIR}/git"
11 11
12DEPENDS = "cmake-native lapack gmp mpfr chrpath-native" 12DEPENDS = "cmake-native lapack gmp mpfr chrpath-native"
13 13
14PROVIDES = "mongoose graphblas" 14PROVIDES = "mongoose graphblas"
15RPROVIDES:${PN} = "mongoose graphblas" 15RPROVIDES:${PN} = "mongoose graphblas"
16 16
17# The values of $CC, $CXX, and $LD that Bitbake uses have spaces in them which 17inherit cmake
18# causes problems when the SuiteSparse Makefiles try to pass these values on
19# the command line. To get around this problem, set these variables to only the
20# program name and prepend the rest of the value onto the corresponding FLAGS
21# variable.
22CFLAGS:prepend := "${@" ".join(d.getVar('CC').split()[1:])} "
23export CC := "${@d.getVar('CC').split()[0]}"
24 18
25CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX').split()[1:])} " 19B = "${S}"
26export CXX := "${@d.getVar('CXX').split()[0]}"
27
28LDFLAGS:prepend := "${@" ".join(d.getVar('LD').split()[1:])} "
29export LD := "${@d.getVar('LD').split()[0]}"
30 20
31export CMAKE_OPTIONS = " \ 21export CMAKE_OPTIONS = " \
32 -DCMAKE_INSTALL_PREFIX=${D}${prefix} \ 22 -DCMAKE_INSTALL_PREFIX=${D}${prefix} \
33 -DCMAKE_INSTALL_LIBDIR=${baselib} \ 23 -DCMAKE_INSTALL_LIBDIR=${baselib} \
34" 24"
35 25
26OECMAKE_SOURCEPATH = "${S}/Mongoose ${S}/metis-5.1.0 ${S}/GraphBLAS"
27
36do_compile () { 28do_compile () {
37 oe_runmake library 29 oe_runmake library
38} 30}
diff --git a/meta-oe/recipes-devtools/systemd/nativesdk-systemd-systemctl.bb b/meta-oe/recipes-devtools/systemd/nativesdk-systemd-systemctl.bb
index 3360ccf357..6c5591b461 100644
--- a/meta-oe/recipes-devtools/systemd/nativesdk-systemd-systemctl.bb
+++ b/meta-oe/recipes-devtools/systemd/nativesdk-systemd-systemctl.bb
@@ -7,8 +7,7 @@ inherit nativesdk
7 7
8SRC_URI = "file://systemctl" 8SRC_URI = "file://systemctl"
9 9
10S = "${WORKDIR}/sources" 10S = "${UNPACKDIR}"
11UNPACKDIR = "${S}"
12 11
13do_install() { 12do_install() {
14 install -d ${D}${bindir} 13 install -d ${D}${bindir}
diff --git a/meta-oe/recipes-devtools/tclap/files/0001-tclap-add-pkg-config-file.patch b/meta-oe/recipes-devtools/tclap/files/0001-tclap-add-pkg-config-file.patch
deleted file mode 100644
index 58c9aec088..0000000000
--- a/meta-oe/recipes-devtools/tclap/files/0001-tclap-add-pkg-config-file.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From 9d47d2fd45c455339759dbfe9a0d6fd24b0a0fa1 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 24 Mar 2021 15:39:36 +0800
4Subject: [PATCH] tclap: add pkg-config file
5
6The tclap switched from autotools to CMake in 1.4.0 and drop the
7pkg-config file tclap.pc. Some projects (e.g. ima-inspect) still require
8it. So add it back.
9
10Upstream-Status: Pending
11
12Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13---
14 CMakeLists.txt | 5 +++++
15 tclap.pc.in | 7 +++++++
16 2 files changed, 12 insertions(+)
17 create mode 100644 tclap.pc.in
18
19diff --git a/CMakeLists.txt b/CMakeLists.txt
20index c2c9a26..b56eac7 100644
21--- a/CMakeLists.txt
22+++ b/CMakeLists.txt
23@@ -25,6 +25,11 @@ install(FILES "${PROJECT_BINARY_DIR}/tclap/TCLAPConfig.h"
24 DESTINATION include/tclap
25 )
26
27+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tclap.pc.in
28+ ${CMAKE_CURRENT_BINARY_DIR}/tclap.pc @ONLY)
29+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tclap.pc
30+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
31+
32 add_subdirectory(docs)
33 add_subdirectory(examples)
34 add_subdirectory(tests)
35diff --git a/tclap.pc.in b/tclap.pc.in
36new file mode 100644
37index 0000000..ef51c94
38--- /dev/null
39+++ b/tclap.pc.in
40@@ -0,0 +1,7 @@
41+prefix=@CMAKE_INSTALL_PREFIX@
42+includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
43+
44+Name: tclap
45+Description: Templatized C++ Command Line Parser
46+Version: @PROJECT_VERSION@
47+Cflags: -I${includedir}
48--
492.17.1
50
diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
index 6d55c58526..6f452d3b93 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
@@ -10,12 +10,9 @@ compliant with the GNU or POSIX standards, it is close. \
10LICENSE = "MIT" 10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd" 11LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
12 12
13SRCREV = "799a8b1f99818e39fee19d0601030770af1221e1" 13SRCREV = "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2"
14SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4 \ 14SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4"
15 file://0001-tclap-add-pkg-config-file.patch \
16"
17 15
18S = "${WORKDIR}/git"
19inherit cmake 16inherit cmake
20 17
21ALLOW_EMPTY:${PN} = "1" 18ALLOW_EMPTY:${PN} = "1"
diff --git a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff
index e13bf69b23..81d4735752 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk8/confsearch.diff
@@ -7,9 +7,8 @@ Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5
7and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian 7and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian
8installation. 8installation.
9 9
10---
11Upstream-Status: Pending 10Upstream-Status: Pending
12 11---
13 unix/configure | 1 + 12 unix/configure | 1 +
14 unix/tcl.m4 | 2 ++ 13 unix/tcl.m4 | 2 ++
15 2 files changed, 3 insertions(+) 14 2 files changed, 3 insertions(+)
diff --git a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff
index fdf3c66535..c1e2f7344e 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk8/fix-xft.diff
@@ -1,7 +1,7 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3--- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200 3--- a/unix/configure.in 2010-05-19 13:29:03.000000000 +0200
4+++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200 4+++ b/unix/configure.in 2010-05-19 13:42:05.000000000 +0200
5@@ -526,13 +526,9 @@ 5@@ -526,13 +526,9 @@
6 found_xft="yes" 6 found_xft="yes"
7 dnl make sure package configurator (xft-config or pkg-config 7 dnl make sure package configurator (xft-config or pkg-config
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff
index 62467af1d5..8cdcf20207 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk8/tkprivate.diff
@@ -1,9 +1,9 @@
1Upstream-Status: Pending
2
3Patch by Chris Waters sets path which are normally point to a directory 1Patch by Chris Waters sets path which are normally point to a directory
4with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules 2with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
5puts private Tk headers there). 3puts private Tk headers there).
6 4
5Upstream-Status: Pending
6
7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in 7--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
8+++ tk8.5-8.5.8/unix/tkConfig.sh.in 8+++ tk8.5-8.5.8/unix/tkConfig.sh.in
9@@ -55,7 +55,7 @@ 9@@ -55,7 +55,7 @@
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb b/meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb
index 237c4e7389..8cb9f6cb5e 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk8_8.6.15.bb
@@ -4,39 +4,43 @@ SECTION = "devel/tcltk"
4 4
5# http://www.tcl.tk/software/tcltk/license.html 5# http://www.tcl.tk/software/tcltk/license.html
6LICENSE = "TCL" 6LICENSE = "TCL"
7LIC_FILES_CHKSUM = "file://${S}/../license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 7LIC_FILES_CHKSUM = "file://license.terms;md5=c88f99decec11afa967ad33d314f87fe \
8 file://${S}/../compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 8 file://compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
9 file://${S}/../doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 9 file://doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
10 file://${S}/../library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 10 file://library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
11 file://${S}/../macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 11 file://macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
12 file://${S}/../tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 12 file://tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
13 file://${S}/../unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 13 file://unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
14 file://${S}/../win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 14 file://win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
15 file://${S}/../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ 15 file://xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
16" 16"
17 17
18DEPENDS = "tcl virtual/libx11 libxt" 18DEPENDS = "tcl8 virtual/libx11 libxt"
19 19
20SRC_URI = "\ 20SRC_URI = "\
21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ 21 ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
22 file://confsearch.diff;striplevel=2 \ 22 file://confsearch.diff \
23 file://tkprivate.diff;striplevel=2 \ 23 file://tkprivate.diff \
24 file://fix-xft.diff \ 24 file://fix-xft.diff \
25" 25"
26SRC_URI[md5sum] = "602a47ad9ecac7bf655ada729d140a94"
27SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386"
28 26
29S = "${WORKDIR}/${BPN}${PV}/unix" 27SRC_URI[sha256sum] = "550969f35379f952b3020f3ab7b9dd5bfd11c1ef7c9b7c6a75f5c49aca793fec"
30 28
31DEBUG_PREFIX_MAP += "-fdebug-prefix-map=${S}/../=${TARGET_DBGSRC_DIR}/.." 29UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/"
30UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/"
32 31
33PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/${BPN}${PV}" 32S = "${UNPACKDIR}/tk${PV}"
34 33
35# Short version format: "8.6" 34# Short version format: "8.6"
36VER = "${@os.path.splitext(d.getVar('PV'))[0]}" 35VER = "${@os.path.splitext(d.getVar('PV'))[0]}"
37 36
38LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" 37LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib"
38CFLAGS += "-I${STAGING_INCDIR}/tcl${VER}"
39inherit autotools features_check pkgconfig 39inherit autotools features_check pkgconfig
40
41AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
42EXTRA_AUTORECONF += "--exclude=aclocal"
43
40# depends on virtual/libx11 44# depends on virtual/libx11
41REQUIRED_DISTRO_FEATURES = "x11" 45REQUIRED_DISTRO_FEATURES = "x11"
42 46
@@ -46,7 +50,9 @@ EXTRA_OECONF = "\
46 --with-tcl=${STAGING_BINDIR}/crossscripts \ 50 --with-tcl=${STAGING_BINDIR}/crossscripts \
47 --libdir=${libdir} \ 51 --libdir=${libdir} \
48" 52"
49export TK_LIBRARY='${libdir}/tk${VER}' 53
54export TK_LIBRARY = '${libdir}/tk${VER}'
55
50do_install:append() { 56do_install:append() {
51 ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0 57 ln -sf libtk${VER}.so ${D}${libdir}/libtk${VER}.so.0
52 oe_libinstall -so libtk${VER} ${D}${libdir} 58 oe_libinstall -so libtk${VER} ${D}${libdir}
@@ -68,7 +74,7 @@ FILES:${PN}-lib = "${libdir}/libtk${VER}.so*"
68FILES:${PN} += "${libdir}/tk*" 74FILES:${PN} += "${libdir}/tk*"
69 75
70# isn't getting picked up by shlibs code 76# isn't getting picked up by shlibs code
71RDEPENDS:${PN} += "tk-lib" 77RDEPENDS:${PN} += "tk8-lib"
72RDEPENDS:${PN}:class-native = "" 78RDEPENDS:${PN}:class-native = ""
73 79
74BBCLASSEXTEND = "native nativesdk" 80BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb b/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb
new file mode 100644
index 0000000000..504b40927e
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb
@@ -0,0 +1,101 @@
1SUMMARY = "Tool Command Language ToolKit Extension"
2HOMEPAGE = "http://tcl.sourceforge.net"
3SECTION = "devel/tcltk"
4
5# http://www.tcl.tk/software/tcltk/license.html
6LICENSE = "TCL"
7LIC_FILES_CHKSUM = "file://license.terms;md5=c88f99decec11afa967ad33d314f87fe \
8 file://compat/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
9 file://doc/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
10 file://library/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
11 file://macosx/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
12 file://tests/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
13 file://unix/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
14 file://win/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
15 file://xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \
16"
17
18DEPENDS = "tcl virtual/libx11 libxt zip-native"
19
20SRC_URI = "\
21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \
22"
23SRC_URI[sha256sum] = "d6f01a4d598bfc6398be9584e1bab828c907b0758db4bbb351a1429106aec527"
24
25UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tcl/files/Tcl/"
26UPSTREAM_CHECK_REGEX = "Tcl/(?P<pver>\d+(\.\d+)+)/"
27
28S = "${UNPACKDIR}/${BPN}${PV}"
29
30# Short version format: "8.6"
31VER = "${@os.path.splitext(d.getVar('PV'))[0]}"
32
33LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib"
34
35inherit autotools features_check pkgconfig
36
37AUTOTOOLS_SCRIPT_PATH = "${S}/unix"
38EXTRA_AUTORECONF += "--exclude=aclocal"
39
40# depends on virtual/libx11
41REQUIRED_DISTRO_FEATURES = "x11"
42
43EXTRA_OECONF = "\
44 --with-x \
45 --with-tcl=${STAGING_BINDIR}/crossscripts \
46 --libdir=${libdir} \
47"
48
49export TK_LIBRARY = '${libdir}/tk${VER}'
50
51do_install:append() {
52 ln -sf wish${VER} ${D}${bindir}/wish
53
54 sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tkConfig.sh
55 sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tkConfig.sh
56 install -d ${D}${bindir_crossscripts}
57 install -m 0755 tkConfig.sh ${D}${bindir_crossscripts}
58}
59
60PACKAGECONFIG ??= "xft"
61PACKAGECONFIG[xft] = "--enable-xft,--disable-xft,xft"
62PACKAGECONFIG[xss] = "--enable-xss,--disable-xss,libxscrnsaver libxext"
63
64PACKAGES =+ "${PN}-lib"
65
66SOLIBS = ".so"
67FILES_SOLIBSDEV = ""
68
69FILES:${PN}-lib = "${libdir}/libtcl9tk${VER}.so*"
70FILES:${PN} += "${libdir}/tk*"
71
72# isn't getting picked up by shlibs code
73RDEPENDS:${PN} += "tk-lib"
74RDEPENDS:${PN}:class-native = ""
75
76BBCLASSEXTEND = "native nativesdk"
77
78# Fix the path in sstate
79SSTATE_SCAN_FILES += "*Config.sh"
80
81inherit binconfig
82
83SYSROOT_DIRS += "${bindir_crossscripts}"
84
85# Fix some paths that might be used by Tcl extensions
86BINCONFIG_GLOB = "*Config.sh"
87
88# Cleanup host path from ${libdir}/tclConfig.sh and remove the
89# ${bindir_crossscripts}/tclConfig.sh from target
90PACKAGE_PREPROCESS_FUNCS += "tcl_package_preprocess"
91tcl_package_preprocess() {
92 sed -i -e "s;${DEBUG_PREFIX_MAP};;g" \
93 -e "s;-L${STAGING_LIBDIR};-L${libdir};g" \
94 -e "s;${STAGING_INCDIR};${includedir};g" \
95 -e "s;--sysroot=${RECIPE_SYSROOT};;g" \
96 -e "s;${B};${libdir};g" \
97 -e "s;${WORKDIR};${TARGET_DBGSRC_DIR};g" \
98 ${PKGD}${libdir}/tkConfig.sh
99
100 rm -f ${PKGD}${bindir_crossscripts}/tkConfig.sh
101}
diff --git a/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest
new file mode 100755
index 0000000000..4f682c5eb2
--- /dev/null
+++ b/meta-oe/recipes-devtools/tomlplusplus/files/run-ptest
@@ -0,0 +1,12 @@
1#!/bin/sh
2
3cd tests
4for atest in tomlplusplus_* ; do
5 rm -rf tests.log
6 ./${atest} > tests.log 2>&1
7 if [ $? = 0 ] ; then
8 echo "PASS: ${atest}"
9 else
10 echo "FAIL: ${atest}"
11 fi
12done
diff --git a/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb
new file mode 100644
index 0000000000..da8b1602be
--- /dev/null
+++ b/meta-oe/recipes-devtools/tomlplusplus/tomlplusplus_git.bb
@@ -0,0 +1,24 @@
1SUMMARY = "toml config parser and serializer for c++."
2HOMEPAGE = "https://github.com/marzer/tomlplusplus"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=90960f22c10049c117d56ed2ee5ee167"
5
6SRC_URI = "git://github.com/marzer/tomlplusplus.git;protocol=https;branch=master \
7 file://run-ptest \
8"
9
10PV = "3.4.0"
11SRCREV = "30172438cee64926dc41fdd9c11fb3ba5b2ba9de"
12
13DEPENDS = "cmake-native"
14
15inherit meson ptest pkgconfig
16
17EXTRA_OEMESON += "-Dbuild_tests=${@bb.utils.contains("DISTRO_FEATURES", "ptest", "true", "false", d)} \
18"
19
20do_install_ptest () {
21 install -d ${D}${PTEST_PATH}/tests
22 cp ${B}/tests/tomlplusplus_odr_test ${D}${PTEST_PATH}/tests
23 cp ${B}/tests/tomlplusplus_tests ${D}${PTEST_PATH}/tests
24}
diff --git a/meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb b/meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb
index 320b5a88a6..776bb014f4 100644
--- a/meta-oe/recipes-devtools/uftrace/uftrace_0.16.bb
+++ b/meta-oe/recipes-devtools/uftrace/uftrace_0.17.bb
@@ -10,10 +10,9 @@ DEPENDS:append:libc-musl = " argp-standalone"
10 10
11inherit autotools 11inherit autotools
12 12
13SRCREV = "68aed9b0a20d3d1b5e1dc15e0f8aabba7e34735b" 13SRCREV = "b0d936107edcefb519abbc9c363ca40daaac23b3"
14SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \ 14SRC_URI = "git://github.com/namhyung/${BPN};branch=master;protocol=https \
15 file://0001-include-libgen.h-for-basename.patch" 15 file://0001-include-libgen.h-for-basename.patch"
16S = "${WORKDIR}/git"
17 16
18LDFLAGS:append:libc-musl = " -largp" 17LDFLAGS:append:libc-musl = " -largp"
19 18
diff --git a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb
index e37dbcd02f..3d92f59ff2 100644
--- a/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb
+++ b/meta-oe/recipes-devtools/unattended-upgrades/unattended-upgrades_2.9.1.bb
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/mvo5/unattended-upgrades.git;protocol=https;branch=m
12 12
13SRCREV = "5aff8fa2b5b60b7c11bbfb39c884477e72d11d02" 13SRCREV = "5aff8fa2b5b60b7c11bbfb39c884477e72d11d02"
14 14
15S = "${WORKDIR}/git"
16 15
17inherit setuptools3_legacy 16inherit setuptools3_legacy
18 17
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap/CVE-2018-19518.patch b/meta-oe/recipes-devtools/uw-imap/uw-imap/CVE-2018-19518.patch
new file mode 100644
index 0000000000..d942a752b3
--- /dev/null
+++ b/meta-oe/recipes-devtools/uw-imap/uw-imap/CVE-2018-19518.patch
@@ -0,0 +1,24 @@
1uw-imap (8:2007f~dfsg-6) unstable; urgency=medium
2
3 * [CVE-2018-19518] 2013_disable_rsh.patch (new): Disable access to IMAP
4 mailboxes through running imapd over rsh, and therefore ssh (Closes:
5 #914632). Code using the library can enable it with tcp_parameters()
6 after making sure that the IMAP server name is sanitized.
7
8 -- Magnus Holmgren <holmgren@debian.org> Tue, 26 Feb 2019 23:35:43 +0100
9
10CVE: CVE-2018-19518
11Upstream-Status: Inactive-Upstream [lastrelease: 2007]
12Signed-off-by: Peter Marko <peter.marko@siemens.com>
13
14--- a/src/osdep/unix/Makefile
15+++ b/src/osdep/unix/Makefile
16@@ -988,7 +988,7 @@ onceenv:
17 -DMD5ENABLE=\"$(MD5PWD)\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
18 -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
19 -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
20- -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" \
21+ -DLOCKPGM=\"$(LOCKPGM)\" \
22 -DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \
23 -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
24 echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
index 7e3bddb58d..877f1d57f6 100644
--- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
+++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
@@ -17,12 +17,12 @@ SRC_URI = "https://fossies.org/linux/misc/old/imap-${PV}.tar.gz \
17 file://0001-Fix-Wincompatible-function-pointer-types.patch \ 17 file://0001-Fix-Wincompatible-function-pointer-types.patch \
18 file://uw-imap-newer-tls.patch \ 18 file://uw-imap-newer-tls.patch \
19 file://uw-imap-fix-incompatible-pointer-types.patch \ 19 file://uw-imap-fix-incompatible-pointer-types.patch \
20 file://CVE-2018-19518.patch \
20 " 21 "
21 22
22SRC_URI[md5sum] = "2126fd125ea26b73b20f01fcd5940369"
23SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28" 23SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28"
24 24
25S = "${WORKDIR}/imap-${PV}" 25S = "${UNPACKDIR}/imap-${PV}"
26 26
27CVE_STATUS[CVE-2005-0198] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 27CVE_STATUS[CVE-2005-0198] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
28 28
@@ -53,3 +53,10 @@ ALLOW_EMPTY:${PN} = "1"
53 53
54PARALLEL_MAKE = "" 54PARALLEL_MAKE = ""
55 55
56# http://errors.yoctoproject.org/Errors/Details/766915/
57# unix.c:235:21: error: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types]
58# unix.c:1002:15: error: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types]
59# unix.c:1163:15: error: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types]
60# unix.c:1428:40: error: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types]
61# unix.c:2254:33: error: passing argument 2 of 'utime' from incompatible pointer type [-Wincompatible-pointer-types]
62CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-devtools/valijson/valijson_1.0.2.bb b/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb
index f531218aeb..4e5f02746c 100644
--- a/meta-oe/recipes-devtools/valijson/valijson_1.0.2.bb
+++ b/meta-oe/recipes-devtools/valijson/valijson_1.0.6.bb
@@ -3,10 +3,9 @@ HOMEPAGE = "https://github.com/tristanpenman/valijson"
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf"
5 5
6SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https" 6SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https;tag=v${PV}"
7SRCREV = "0b4771e273a065d437814baf426bcfcafec0f434" 7SRCREV = "4edda758546436462da479bb8c8514f8a95c35ad"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit cmake 10inherit cmake
12 11
diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c/0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch b/meta-oe/recipes-devtools/xerces-c/xerces-c/0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch
new file mode 100644
index 0000000000..2ad7beb51c
--- /dev/null
+++ b/meta-oe/recipes-devtools/xerces-c/xerces-c/0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch
@@ -0,0 +1,58 @@
1From d001f12d428f7adaeaadee5263a22c797c99d67b Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 30 Aug 2024 11:42:27 +0200
4Subject: [PATCH] aclocal.m4: don't use full path of $with_curl in xerces-c.pc
5
6* fixes:
7 ERROR: QA Issue: File /usr/lib32/pkgconfig/xerces-c.pc in package lib32-libxerces-c-dev contains reference to TMPDIR [buildpaths]
8
9* xerces-c was blacklisted due to tmpdir since 2016:
10 https://git.openembedded.org/meta-openembedded/commit/?id=1af196e42c811947bb483df30bfce758adee83d1
11
12* then sed call:
13 sed -i -e 's:-L${STAGING_DIR}/lib:-L\$\{libdir\}:g' ${B}/xerces-c.pc
14 was added to do_install:append and blacklist dropped in:
15 https://git.openembedded.org/meta-openembedded/commit/?id=87b9efff79e62f569525e4760adc594d0d9ac476
16
17* sed call was adjusted in:
18 https://git.openembedded.org/meta-openembedded/commit/?id=87c9e9537dc43468a6aaf706853b784ce6de14e0
19 sed -i s:-L${STAGING_LIBDIR}::g ${B}/xerces-c.pc
20
21* but it was still failing in some cases, e.g. with multilib where libdir is /usr/lib64, so the sed call is:
22 sed -i s:-L{WORKDIR}/recipe-sysroot/usr/lib64::g ${WORKDIR}/build/xerces-c.pc
23 but the actual xerces-c.pc file still has:
24
25 Libs: -L${libdir} -lxerces-c
26 Libs.private: -L${WORKDIR}/recipe-sysroot/usr/lib -lcurl
27
28 because this aclocal was always hardcoding "lib" (appended to --with-curl
29 value which is passed together with ${prefix}) and not respecting the libdir value:
30 PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl"
31 PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu"
32
33* xerces-c supports CMake since 2017:
34 https://github.com/apache/xerces-c/commit/2606b2924c3e2bf0cf50f72b79378721b6bcf04e
35 switching from autotools to CMake would probably resolve some of this as well
36
37Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
38---
39Upstream-Status: Pending [It would be better to just switch to CMake]
40
41 m4/xerces_curl_prefix.m4 | 4 ++--
42 1 file changed, 2 insertions(+), 2 deletions(-)
43
44diff --git a/m4/xerces_curl_prefix.m4 b/m4/xerces_curl_prefix.m4
45index d1d015c..7928bdc 100644
46--- a/m4/xerces_curl_prefix.m4
47+++ b/m4/xerces_curl_prefix.m4
48@@ -39,8 +39,8 @@ AC_DEFUN([XERCES_CURL_PREFIX],
49 curl_libs=`$curl_config --libs`
50 else
51 if test -n "$with_curl"; then
52- curl_flags="-I$with_curl/include"
53- curl_libs="-L$with_curl/lib -lcurl"
54+ curl_flags=""
55+ curl_libs="-lcurl"
56 else
57 # Default compiler paths.
58 #
diff --git a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.3.0.bb
index 1643af2546..2819366dc9 100644
--- a/meta-oe/recipes-devtools/xerces-c/xerces-c_3.2.5.bb
+++ b/meta-oe/recipes-devtools/xerces-c/xerces-c_3.3.0.bb
@@ -9,8 +9,10 @@ SECTION = "libs"
9LICENSE = "Apache-2.0" 9LICENSE = "Apache-2.0"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
11 11
12SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2" 12SRC_URI = "http://archive.apache.org/dist/xerces/c/3/sources/${BP}.tar.bz2 \
13SRC_URI[sha256sum] = "1db4028c9b7f1f778efbf4a9462d65e13f9938f2c22f9e9994e12c49ba97e252" 13 file://0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch \
14"
15SRC_URI[sha256sum] = "ef752578587e26013a933f16d76305c9b43ca32f869e3d3426986e03efb01d64"
14 16
15inherit autotools 17inherit autotools
16 18
@@ -18,10 +20,6 @@ PACKAGECONFIG ??= "curl icu"
18PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl" 20PACKAGECONFIG[curl] = "--with-curl=${STAGING_DIR_TARGET}${prefix},--with-curl=no,curl"
19PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu" 21PACKAGECONFIG[icu] = "--with-icu=${STAGING_DIR_TARGET}${prefix},--with-icu=no,icu"
20 22
21do_install:prepend () {
22 sed -i s:-L${STAGING_LIBDIR}::g ${B}/xerces-c.pc
23}
24
25PACKAGES = "libxerces-c \ 23PACKAGES = "libxerces-c \
26 libxerces-c-dev \ 24 libxerces-c-dev \
27 xerces-c-samples \ 25 xerces-c-samples \
@@ -31,7 +29,7 @@ PACKAGES = "libxerces-c \
31 29
32RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg" 30RPROVIDES:${PN}-dbg += "libxerces-c-dbg xerces-c-samples-dbg"
33 31
34FILES:libxerces-c = "${libdir}/libxerces-c-3.2.so" 32FILES:libxerces-c = "${libdir}/libxerces-c-3.3.so"
35FILES:libxerces-c-dev = "${libdir}/lib*.la \ 33FILES:libxerces-c-dev = "${libdir}/lib*.la \
36 ${libdir}/libxerces-c.so \ 34 ${libdir}/libxerces-c.so \
37 ${libdir}/pkgconfig/xerces-c.pc \ 35 ${libdir}/pkgconfig/xerces-c.pc \
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-bool-reserved-word-error-in-gcc-15.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-bool-reserved-word-error-in-gcc-15.patch
new file mode 100644
index 0000000000..813efbc62a
--- /dev/null
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-fix-bool-reserved-word-error-in-gcc-15.patch
@@ -0,0 +1,50 @@
1From a811ea6af5296b89ee7c2a358dd4ffd2584429f4 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 2 Apr 2025 11:00:27 +0900
4Subject: [PATCH] fix bool reserved word error in gcc 15
5
6* Fix build error with gcc-15.0.1
7 http://errors.yoctoproject.org/Errors/Details/850147/
8 srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
9 13 | false = 0,
10 | ^~~~~
11 srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
12 srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
13 15 | } bool;
14 | ^~~~
15 srcdir/lib/util/include/bool.h:15:3: warning: useless type name in empty declaration
16 In file included from sleep.c:2:
17 srcdir/lib/util/include/bool.h:13:5: error: cannot use keyword 'false' as enumeration constant
18 13 | false = 0,
19 | ^~~~~
20 srcdir/lib/util/include/bool.h:13:5: note: 'false' is a keyword with '-std=c23' onwards
21 srcdir/lib/util/include/bool.h:15:3: error: expected ';', identifier or '(' before 'bool'
22 15 | } bool;
23 | ^~~~
24
25 gcc-15 switched to -std=c23 by default.
26 https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
27
28Upstream-Status: Submitted [https://sourceforge.net/p/xmlrpc-c/discussion/131628/thread/70e626d73a]
29Signed-off-by: mark.yang <mark.yang@lge.com>
30---
31 stable/lib/util/include/bool.h | 2 ++
32 1 file changed, 2 insertions(+)
33
34diff --git a/stable/lib/util/include/bool.h b/stable/lib/util/include/bool.h
35index 312477c4..a5e81eb6 100644
36--- a/stable/lib/util/include/bool.h
37+++ b/stable/lib/util/include/bool.h
38@@ -9,10 +9,12 @@
39 /* At least the GNU compiler defines __bool_true_false_are_defined */
40 #ifndef __bool_true_false_are_defined
41 #define __bool_true_false_are_defined
42+#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
43 typedef enum {
44 false = 0,
45 true = 1
46 } bool;
47 #endif
48 #endif
49+#endif
50
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch
index be83b0166c..531f0d45fb 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch
@@ -1,6 +1,6 @@
1From dba3c5bf34ed530fd41ed50968825af2158f142e Mon Sep 17 00:00:00 2001 1From 371c59c6135f53a6892c415bf9450c32e7ca3523 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 13:31:39 -0800 3Date: Mon, 10 Mar 2025 20:25:02 -0700
4Subject: [PATCH] test/cpp/server_abyss: Fix build with clang/libc++ 4Subject: [PATCH] test/cpp/server_abyss: Fix build with clang/libc++
5 5
6/mnt/a/yoe/workspace/sources/xmlrpc-c/test/cpp/server_abyss.cpp:87:14: error: assigning to 'int' from incompatible type '__bind<int 6/mnt/a/yoe/workspace/sources/xmlrpc-c/test/cpp/server_abyss.cpp:87:14: error: assigning to 'int' from incompatible type '__bind<int
@@ -10,10 +10,15 @@ Subject: [PATCH] test/cpp/server_abyss: Fix build with clang/libc++
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14Rebase to 1.64.0
15Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13--- 16---
14 test/cpp/server_abyss.cpp | 56 +++++++++++++++++++-------------------- 17 test/cpp/server_abyss.cpp | 2 +-
15 1 file changed, 28 insertions(+), 28 deletions(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
16 19
20diff --git a/test/cpp/server_abyss.cpp b/test/cpp/server_abyss.cpp
21index c1b44995..14faf5a5 100644
17--- a/test/cpp/server_abyss.cpp 22--- a/test/cpp/server_abyss.cpp
18+++ b/test/cpp/server_abyss.cpp 23+++ b/test/cpp/server_abyss.cpp
19@@ -85,7 +85,7 @@ public: 24@@ -85,7 +85,7 @@ public:
@@ -25,3 +30,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 30
26 if (rc != 0) { 31 if (rc != 0) {
27 closesock(this->fd); 32 closesock(this->fd);
33--
342.25.1
35
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch
new file mode 100644
index 0000000000..15e088965f
--- /dev/null
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch
@@ -0,0 +1,80 @@
1From e246247aceb3ac0fd7491b1ee34a049dd44f5025 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Mar 2025 20:26:29 -0700
4Subject: [PATCH] unix-common.mk: Avoid race condition between mutliple make
5 calls running in parallel
6
7With high parallel execution, it results in race condition where
8its trying to create symlink while the original symlink while rm is
9not done deleting the existing file yet.
10
11The issue is that submake for libxmlrpc_util.so is called 12 times
12which can run in parallel and then some of them will try to create
13target link at the same time (after both already finished rm call).
14
15Use -f which should be supported even by relatively old ln and
16should avoid the need for rm (and hopefully will avoid this race)
17
18For libutil++ it calls "all" and "libxmlrpc_util++.so" only once,
19but for libutil it calls "all" and then 12 times libxmlrpc_util.so
20(after-clean-j1.log is the make output with -n and -j1 instead of
21-j70), still trying to figure out why, my autofoo is rusty :).
22
23Ideally we should prevent calling it 12 times, but until we figure
24out why we can at least avoid the random build failures.
25
26Another interesting fact is that I haven't seen this issue until
27the upgrade to 1.60.03 from 1.59.01 from:
28https://lists.openembedded.org/g/openembedded-devel/message/112706
29but I don't see any changes which should cause this in the git since
301.59.01, but the gentoo bug report is against 1.54.06 already.
31
32martin@jama /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/stable $ grep -A 1 lib/libutil++/Makefile after-clean-j1.log
33make -C libutil++/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/lib/libutil++/Makefile \
34 all
35--
36make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/lib/libutil++/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/lib/libutil++/Makefile \
37 libxmlrpc_util++.so
38
39--
40make -C /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/lib/libutil/ -f /OE/build/oe-core/tmp/work/core2-64-oe-linux/xmlrpc-c/1.60.03/git/lib/libutil/Makefile \
41 libxmlrpc_util.so
42
43Similar error reported here [1]
44
45[1] https://bugs.gentoo.org/932835
46
47Upstream-Status: Pending
48Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
49Signed-off-by: Khem Raj <raj.khem@gmail.com>
50
51Rebase to 1.64.0
52Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
53---
54 unix-common.mk | 6 ++----
55 1 file changed, 2 insertions(+), 4 deletions(-)
56
57diff --git a/unix-common.mk b/unix-common.mk
58index 6954faf5..e15a4f5c 100644
59--- a/unix-common.mk
60+++ b/unix-common.mk
61@@ -62,14 +62,12 @@ SHLIB_CMD = $(CCLD) $(LADD) $(LDFLAGS_SHLIB) -o $@ $^
62 SHLIB_LE_TARGETS = $(call shliblefn, $(SHARED_LIBS_TO_BUILD))
63
64 $(SHLIB_LE_TARGETS):%:%.$(MAJ)
65- rm -f $@
66- $(LN_S) $< $@
67+ $(LN_S) -f $< $@
68
69 SONAME_TARGETS = $(SHLIB_LE_TARGETS:%=%.$(MAJ))
70
71 $(SONAME_TARGETS):%:%.$(MIN)
72- rm -f $@
73- $(LN_S) $< $@
74+ $(LN_S) -f $< $@
75
76 .PHONY: $(SHLIB_INSTALL_TARGETS)
77 .PHONY: install-shared-libraries
78--
792.25.1
80
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch
deleted file mode 100644
index 9d92e4712b..0000000000
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/0002-fix-formatting-issues.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 14f15cb0f03defa8efb4c8e2fece58e50655be6b Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 23 Jul 2017 22:20:29 -0400
4Subject: [PATCH] src/xmlrpc_server_abyss.c: fix formatting issues
5
6Fixed when compile with "-Wformat -Wformat-security -Werror=format-security":
7|src/xmlrpc_server_abyss.c:771:13: error: format not a string literal
8and no format arguments [-Werror=format-security]
9| xmlrpc_faultf(envP, error);
10| ^~~~~~~~~~~~~
11
12Upstream-Status: Pending
13
14Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
15---
16 src/xmlrpc_server_abyss.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/xmlrpc_server_abyss.c b/src/xmlrpc_server_abyss.c
20index 2388652..3843f10 100644
21--- a/src/xmlrpc_server_abyss.c
22+++ b/src/xmlrpc_server_abyss.c
23@@ -768,7 +768,7 @@ createServer(xmlrpc_env * const envP,
24 ServerInit2(abyssServerP, &error);
25
26 if (error) {
27- xmlrpc_faultf(envP, error);
28+ xmlrpc_faultf(envP, "%s", error);
29 xmlrpc_strfree(error);
30 }
31 }
32--
332.8.1
34
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch
new file mode 100644
index 0000000000..f309cd4890
--- /dev/null
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch
@@ -0,0 +1,18 @@
1This doesn't use automake so don't turn it on, as autoreconf will refuse to work.
2
3Upstream-Status: Submitted
4Signed-off-by: Ross Burton <ross.burton@arm.com>
5
6diff --git i/stable/configure.in w/stable/configure.in
7index 4a9ade8c..baba1edc 100644
8--- i/configure.in
9+++ w/configure.in
10@@ -8,7 +8,7 @@ dnl =======================================================================
11
12 dnl "x.xx" is supposed to be a version number, but is meaningless here.
13 dnl The real version number is in Makefile.version.
14-AM_INIT_AUTOMAKE(xmlrpc-c, x.xx)
15+dnl AM_INIT_AUTOMAKE(xmlrpc-c, x.xx)
16
17 dnl Define @build@, @build_cpu@, @build_vendor@, @build_os,
18 dnl @host, @host_cpu@, @host_vender, and @host_os@ substitutions.
diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb
index 5d5152b834..3b923fb99e 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.59.01.bb
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.64.0.bb
@@ -6,18 +6,20 @@ LICENSE = "BSD-3-Clause & MIT"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" 6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951"
7 7
8SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \
9 file://no-automake.patch \
9 file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ 10 file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \
10 file://0002-fix-formatting-issues.patch \ 11 file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \
12 file://0001-fix-bool-reserved-word-error-in-gcc-15.patch;striplevel=2 \
11 " 13 "
12#Release 1.59.01 14SRCREV = "8ce36bce2438df9b02fcaafd19efa90a56426601"
13SRCREV = "352aeaa9ae49e90e55187cbda839f2113df06278"
14 15
15S = "${WORKDIR}/git/stable" 16S = "${UNPACKDIR}/${BP}/advanced"
16 17
17inherit autotools-brokensep binconfig pkgconfig 18inherit autotools-brokensep binconfig pkgconfig
18 19
19TARGET_CFLAGS += "-Wno-narrowing" 20TARGET_CFLAGS += "-Wno-narrowing"
20 21
22# These are needed for the integrated expat
21EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \ 23EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \
22 LD_FOR_BUILD='${BUILD_LD}' \ 24 LD_FOR_BUILD='${BUILD_LD}' \
23 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \ 25 CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
@@ -32,10 +34,7 @@ PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-ab
32PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus" 34PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus"
33PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl" 35PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl"
34 36
35do_configure() { 37do_configure:prepend() {
36 gnu-configize --verbose --force ${S}
37 autoconf
38 oe_runconf
39 # license is incompatible with lib/util/getoptx.* 38 # license is incompatible with lib/util/getoptx.*
40 rm -fv ${S}/tools/turbocharger/mod_gzip.c 39 rm -fv ${S}/tools/turbocharger/mod_gzip.c
41} 40}
diff --git a/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
index 186f2c8ed0..3e569859b7 100644
--- a/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
+++ b/meta-oe/recipes-devtools/yajl/yajl_1.0.12.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/lloyd/yajl;nobranch=1;protocol=https"
14 14
15inherit cmake lib_package 15inherit cmake lib_package
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" 18EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
20 19
diff --git a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
index c5b5e60027..e4434bee45 100644
--- a/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
+++ b/meta-oe/recipes-devtools/yajl/yajl_2.1.0.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/lloyd/yajl;branch=master;protocol=https \
15 " 15 "
16SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa" 16SRCREV = "a0ecdde0c042b9256170f2f8890dd9451a4240aa"
17 17
18S = "${WORKDIR}/git"
19 18
20inherit cmake lib_package 19inherit cmake lib_package
21 20
diff --git a/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch b/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch
deleted file mode 100644
index bda90edb20..0000000000
--- a/meta-oe/recipes-devtools/yasm/yasm/0001-Do-not-use-AC_HEADER_STDC.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 6b1cbe8b4dcc45103d69bc7337e5eb33d1fd21f3 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 3 Feb 2021 14:22:51 -0800
4Subject: [PATCH] Do not use AC_HEADER_STDC
5
6This macro is removed in autotools 2.70+ and it can be expected that C90
7headers are always available [1]
8
9Upstream-Status: Pending
10
11[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.70/autoconf.html#index-AC_005fHEADER_005fSTDC
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 configure.ac | 6 ------
16 1 file changed, 6 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index 01b61097..2823ecd7 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -101,14 +101,8 @@ AM_WITH_DMALLOC
23 #
24 # Checks for header files.
25 #
26-AC_HEADER_STDC
27 AC_CHECK_HEADERS([strings.h libgen.h unistd.h direct.h sys/stat.h])
28
29-# REQUIRE standard C headers
30-if test "$ac_cv_header_stdc" != yes; then
31- AC_MSG_ERROR([Standard (ANSI/ISO C89) header files are required.])
32-fi
33-
34 #
35 # Checks for typedefs, structures, and compiler characteristics.
36 #
37--
382.30.0
39
diff --git a/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch b/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch
new file mode 100644
index 0000000000..f3f2c431d5
--- /dev/null
+++ b/meta-oe/recipes-devtools/yasm/yasm/0001-bitvect-fix-build-with-gcc-15.patch
@@ -0,0 +1,38 @@
1From 64ef740eb262f329e55eebadf2ce276b146d44e9 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Tue, 22 Apr 2025 19:06:24 +0200
4Subject: [PATCH] bitvect: fix build with gcc-15
5
6* fixes:
7libyasm/bitvect.h:86:32: error: cannot use keyword 'false' as enumeration constant
8 86 | typedef enum boolean { false = FALSE, true = TRUE } boolean;
9 | ^~~~~
10../git/libyasm/bitvect.h:86:32: note: 'false' is a keyword with '-std=c23' onwards
11
12as suggested in:
13https://github.com/yasm/yasm/issues/283#issuecomment-2661108816
14
15Upstream-Status: Submitted [https://github.com/yasm/yasm/pull/287]
16
17Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
18---
19 libyasm/bitvect.h | 6 +++++-
20 1 file changed, 5 insertions(+), 1 deletion(-)
21
22diff --git a/libyasm/bitvect.h b/libyasm/bitvect.h
23index 3aee3a53..a13470ad 100644
24--- a/libyasm/bitvect.h
25+++ b/libyasm/bitvect.h
26@@ -83,7 +83,11 @@ typedef Z_longword *Z_longwordptr;
27 #ifdef MACOS_TRADITIONAL
28 #define boolean Boolean
29 #else
30- typedef enum boolean { false = FALSE, true = TRUE } boolean;
31+ #if __STDC_VERSION__ < 202311L
32+ typedef enum boolean { false = FALSE, true = TRUE } boolean;
33+ #else
34+ typedef bool boolean;
35+ #endif
36 #endif
37 #endif
38
diff --git a/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-31975.patch b/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-31975.patch
deleted file mode 100644
index ae10e99c2f..0000000000
--- a/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-31975.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From b2cc5a1693b17ac415df76d0795b15994c106441 Mon Sep 17 00:00:00 2001
2From: Katsuhiko Gondow <gondow@cs.titech.ac.jp>
3Date: Tue, 13 Jun 2023 05:00:47 +0900
4Subject: [PATCH] Fix memory leak in bin-objfmt (#231)
5
6Upstream-Status: Backport [https://github.com/yasm/yasm/commit/b2cc5a1693b17ac415df76d0795b15994c106441]
7
8CVE: CVE-2023-31975
9---
10 modules/objfmts/bin/bin-objfmt.c | 4 ++++
11 1 file changed, 4 insertions(+)
12
13diff --git a/modules/objfmts/bin/bin-objfmt.c b/modules/objfmts/bin/bin-objfmt.c
14index 18026750..a38c3422 100644
15--- a/modules/objfmts/bin/bin-objfmt.c
16+++ b/modules/objfmts/bin/bin-objfmt.c
17@@ -1680,6 +1680,10 @@ static void
18 bin_section_data_destroy(void *data)
19 {
20 bin_section_data *bsd = (bin_section_data *)data;
21+ if (bsd->align)
22+ yasm_xfree(bsd->align);
23+ if (bsd->valign)
24+ yasm_xfree(bsd->valign);
25 if (bsd->start)
26 yasm_expr_destroy(bsd->start);
27 if (bsd->vstart)
28--
292.40.0
diff --git a/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-37732.patch b/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-37732.patch
deleted file mode 100644
index 1ca33f0a92..0000000000
--- a/meta-oe/recipes-devtools/yasm/yasm/CVE-2023-37732.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 2cd3bb50e256f5ed5f611ac611d25fe673f2cec3 Mon Sep 17 00:00:00 2001
2From: Peter Johnson <johnson.peter@gmail.com>
3Date: Fri, 11 Aug 2023 10:49:51 +0000
4Subject: [PATCH] elf.c: Fix NULL deref on bad xsize expression (#234)
5
6CVE: CVE-2023-37732
7
8Upstream-Status: Backport [https://github.com/yasm/yasm/commit/2cd3bb50e256f5ed5f611ac611d25fe673f2cec3]
9
10Signed-off-by: Soumya <soumya.sambu@windriver.com>
11---
12 modules/objfmts/elf/elf.c | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15diff --git a/modules/objfmts/elf/elf.c b/modules/objfmts/elf/elf.c
16index 2486bba8..bab4c9ca 100644
17--- a/modules/objfmts/elf/elf.c
18+++ b/modules/objfmts/elf/elf.c
19@@ -482,15 +482,15 @@ elf_symtab_write_to_file(FILE *f, elf_symtab_head *symtab,
20
21 /* get size (if specified); expr overrides stored integer */
22 if (entry->xsize) {
23- size_intn = yasm_intnum_copy(
24- yasm_expr_get_intnum(&entry->xsize, 1));
25- if (!size_intn) {
26+ yasm_intnum *intn = yasm_expr_get_intnum(&entry->xsize, 1);
27+ if (!intn) {
28 yasm_error_set(YASM_ERROR_VALUE,
29 N_("size specifier not an integer expression"));
30 yasm_errwarn_propagate(errwarns, entry->xsize->line);
31- }
32+ } else
33+ size_intn = yasm_intnum_copy(intn);
34 }
35- else
36+ if (!size_intn)
37 size_intn = yasm_intnum_create_uint(entry->size);
38
39 /* get EQU value for constants */
40--
412.40.0
diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb
index 216b777667..68895a1697 100644
--- a/meta-oe/recipes-devtools/yasm/yasm_git.bb
+++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb
@@ -8,17 +8,14 @@ DEPENDS += "flex-native bison-native"
8PACKAGECONFIG[docs] = ",,xmlto-native," 8PACKAGECONFIG[docs] = ",,xmlto-native,"
9 9
10PV = "1.3.0+git" 10PV = "1.3.0+git"
11# v1.3.0 11# v1.3.0-87
12SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a" 12SRCREV = "121ab150b3577b666c79a79f4a511798d7ad2432"
13SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \ 13SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \
14 file://0001-Do-not-use-AC_HEADER_STDC.patch \
15 file://CVE-2023-31975.patch \
16 file://CVE-2023-37732.patch \
17 file://0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch \ 14 file://0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch \
18 file://0002-yasm-Use-BUILD_DATE-for-reproducibility.patch \ 15 file://0002-yasm-Use-BUILD_DATE-for-reproducibility.patch \
16 file://0001-bitvect-fix-build-with-gcc-15.patch \
19" 17"
20 18
21S = "${WORKDIR}/git"
22 19
23inherit autotools gettext python3native 20inherit autotools gettext python3native
24 21
@@ -33,3 +30,6 @@ do_configure:prepend() {
33 sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4 30 sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4
34} 31}
35 32
33CVE_STATUS_GROUPS += "CVE_STATUS_HASH_UPDATE"
34CVE_STATUS_HASH_UPDATE = "CVE-2021-33454 CVE-2023-31975 CVE-2023-37732"
35CVE_STATUS_HASH_UPDATE[status] = "fixed-version: patched in current git hash"
diff --git a/meta-oe/recipes-extended/7zip/7zip_24.09.bb b/meta-oe/recipes-extended/7zip/7zip_24.09.bb
new file mode 100644
index 0000000000..74e44c44e3
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/7zip_24.09.bb
@@ -0,0 +1,76 @@
1SUMMARY = "7-zip is a commandline utility handling 7z archives."
2HOMEPAGE = "http://www.7-zip.org/"
3LICENSE = "LGPL-2.1-or-later & unRAR & PD & BSD-2-Clause & BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://DOC/copying.txt;md5=4fbd65380cdd255951079008b364516c \
5 file://DOC/unRarLicense.txt;md5=9c87ddde469ef94aed153b0951d088de \
6 file://DOC/License.txt;md5=44483e232b64ffca25fe001f3d6418d0"
7
8CVE_PRODUCT = "7-zip 7zip"
9SRC_URI = "git://github.com/ip7z/7zip.git;protocol=https;branch=main \
10 file://0001-support-yocto-cross-compiling.patch \
11 file://7z_wrapper.sh \
12 "
13SRCREV = "e5431fa6f5505e385c6f9367260717e9c47dc2ee"
14
15UPSTREAM_CHECK_URI = "https://github.com/ip7z/7zip/releases/latest"
16
17
18# Support Yocto cross compiling
19CXXFLAGS:append:toolchain-clang = " -Wno-error=cast-qual -Wno-error=sign-conversion \
20 -Wno-error=disabled-macro-expansion \
21 -Wno-error=shorten-64-to-32 \
22 -Wno-error=cast-function-type-strict"
23
24EXTRA_OEMAKE += " \
25 CXXFLAGS_EXTRA='${CXXFLAGS}' \
26 CFLAGS_BASE2='${CFLAGS}' \
27 LDFLAGS_STATIC_3='${LDFLAGS}' \
28"
29
30# Support clang
31MAKEFILE ?= "../../cmpl_gcc.mak"
32MAKEFILE:class-target:toolchain-clang = "../../cmpl_clang.mak"
33
34do_compile() {
35 oe_runmake -C CPP/7zip/Bundles/Alone2 -f ${MAKEFILE}
36 oe_runmake -C CPP/7zip/Bundles/Format7zF -f ${MAKEFILE}
37 oe_runmake -C CPP/7zip/UI/Console -f ${MAKEFILE}
38 oe_runmake -C CPP/7zip/Bundles/SFXCon -f ${MAKEFILE}
39 oe_runmake -C CPP/7zip/Bundles/Alone -f ${MAKEFILE}
40 oe_runmake -C CPP/7zip/Bundles/Alone7z -f ${MAKEFILE}
41}
42
43FILES:${PN} += "${libdir}/*"
44
45FILES_SOLIBSDEV = ""
46INSANE_SKIP:${PN} += "dev-so"
47
48INSTALLDIR ?= "g"
49INSTALLDIR:class-target:toolchain-clang = "c"
50
51do_install() {
52 install -d ${D}${bindir}
53 install -m 0755 ${S}/CPP/7zip/Bundles/Alone/b/${INSTALLDIR}/7za ${D}${bindir}
54 install -m 0755 ${S}/CPP/7zip/Bundles/Alone7z/b/${INSTALLDIR}/7zr ${D}${bindir}
55 install -m 0755 ${S}/CPP/7zip/UI/Console/b/${INSTALLDIR}/7z ${D}${bindir}/7z.real
56 install -m 0755 ${UNPACKDIR}/7z_wrapper.sh ${D}${bindir}/7z
57
58 install -d ${D}${libdir}
59 install -m 0755 ${S}/CPP/7zip/Bundles/Format7zF/b/${INSTALLDIR}/7z.so ${D}${libdir}/lib7z.so
60 ln -rsn ${D}${libdir}/lib7z.so ${D}${bindir}/7z.so
61
62 # install headers (for development) and readme (for version information)
63 for header_file in $(find ${S}/CPP/${BPN} ${S}/CPP/Common ${S}/C -name "*.h"); do
64 header_dir=$(dirname $(echo $header_file | sed "s|${S}/||"))
65 install -d ${D}${includedir}/${BPN}/$header_dir
66 install -m 0644 $header_file ${D}${includedir}/${BPN}/$header_dir
67 done
68 install -d ${D}${includedir}/${BPN}/DOC
69 install -m 0644 ${S}/DOC/readme.txt ${D}${includedir}/${BPN}/DOC
70}
71
72PROVIDES += "p7zip"
73RPROVIDES:${PN} += "lib7z.so()(64bit) 7z lib7z.so p7zip"
74RPROVIDES:${PN}-dev += "lib7z.so()(64bit) 7z lib7z.so"
75
76BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-running-tests-on-target-when-cross-compiling.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-running-tests-on-target-when-cross-compiling.patch
new file mode 100644
index 0000000000..b6e24a9519
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-running-tests-on-target-when-cross-compiling.patch
@@ -0,0 +1,45 @@
1From 9f0eed91d32ec2f310bd5c23af187f888394fcb4 Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Wed, 2 Apr 2025 09:33:03 +0200
4Subject: [PATCH] Allow running tests on target when cross-compiling
5
6When bit7z is Cross-compiled, target device does not contain
7source/build directory anymore and thus path to test data is different.
8Make it possible to pass the new path to cmake.
9
10Upstream-Status: Submitted [https://github.com/rikyoz/bit7z/pull/289]
11Signed-off-by: Peter Marko <peter.marko@siemens.com>
12---
13 tests/CMakeLists.txt | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
17index 60da280..dbdff1f 100644
18--- a/tests/CMakeLists.txt
19+++ b/tests/CMakeLists.txt
20@@ -49,6 +49,11 @@ add_executable( ${TESTS_TARGET_PUBLIC} ${SOURCE_FILES} ${PUBLIC_API_SOURCE_FILES
21
22 if( BIT7Z_TESTS_FILESYSTEM )
23 set( BIT7Z_TESTS_DATA_DIR ${CMAKE_CURRENT_BINARY_DIR}/data )
24+ if( NOT BIT7Z_TESTS_DATA_DIR_TARGET )
25+ set( BIT7Z_TESTS_DATA_DIR_TARGET ${BIT7Z_TESTS_DATA_DIR} )
26+ else()
27+ message( STATUS "Custom test data dir on target: ${BIT7Z_TESTS_DATA_DIR_TARGET}" )
28+ endif()
29
30 include( FetchContent )
31 FetchContent_Declare( bit7z-test-data
32@@ -61,11 +66,11 @@ if( BIT7Z_TESTS_FILESYSTEM )
33 message( STATUS "Tests data directory: ${BIT7Z_TESTS_DATA_DIR}" )
34 target_compile_definitions( ${TESTS_TARGET} PRIVATE
35 BIT7Z_TESTS_FILESYSTEM
36- BIT7Z_TESTS_DATA_DIR="${BIT7Z_TESTS_DATA_DIR}" )
37+ BIT7Z_TESTS_DATA_DIR="${BIT7Z_TESTS_DATA_DIR_TARGET}" )
38 target_compile_definitions( ${TESTS_TARGET_PUBLIC} PRIVATE
39 BIT7Z_TESTS_PUBLIC_API_ONLY
40 BIT7Z_TESTS_FILESYSTEM
41- BIT7Z_TESTS_DATA_DIR="${BIT7Z_TESTS_DATA_DIR}" )
42+ BIT7Z_TESTS_DATA_DIR="${BIT7Z_TESTS_DATA_DIR_TARGET}" )
43 if( NOT EXISTS ${BIT7Z_TESTS_DATA_DIR}/test_filesystem/empty )
44 file( MAKE_DIRECTORY ${BIT7Z_TESTS_DATA_DIR}/test_filesystem/empty )
45 endif()
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-specifying-path-to-7z-library-in-tests.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-specifying-path-to-7z-library-in-tests.patch
new file mode 100644
index 0000000000..adc0d67d97
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-Allow-specifying-path-to-7z-library-in-tests.patch
@@ -0,0 +1,48 @@
1From 60137ec132951f941f2fb98cd6353717b322cbf1 Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Wed, 2 Apr 2025 10:17:38 +0200
4Subject: [PATCH] Allow specifying path to 7z library in tests
5
6For instance to override path to library on Linux when using real 7-zip
7instead of pzip: /usr/lib/lib7z.so
8
9Upstream-Status: Submitted [https://github.com/rikyoz/bit7z/pull/288]
10Signed-off-by: Peter Marko <peter.marko@siemens.com>
11---
12 tests/CMakeLists.txt | 7 +++++++
13 tests/src/utils/shared_lib.hpp | 4 +++-
14 2 files changed, 10 insertions(+), 1 deletion(-)
15
16diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
17index 60da280d..1307366a 100644
18--- a/tests/CMakeLists.txt
19+++ b/tests/CMakeLists.txt
20@@ -103,6 +103,13 @@ message( STATUS "Use system 7-zip for tests: ${BIT7Z_TESTS_USE_SYSTEM_7ZIP}" )
21 if( BIT7Z_TESTS_USE_SYSTEM_7ZIP )
22 target_compile_definitions( ${TESTS_TARGET} PRIVATE BIT7Z_TESTS_USE_SYSTEM_7ZIP )
23 target_compile_definitions( ${TESTS_TARGET_PUBLIC} PRIVATE BIT7Z_TESTS_USE_SYSTEM_7ZIP )
24+else()
25+ set( BIT7Z_TESTS_7Z_LIBRARY_PATH "" CACHE STRING "The path of the 7-Zip library to be used for running the tests" )
26+ if( NOT BIT7Z_TESTS_7Z_LIBRARY_PATH STREQUAL "" )
27+ message( STATUS "Use custom 7-zip library for tests: ${BIT7Z_TESTS_7Z_LIBRARY_PATH}" )
28+ target_compile_definitions( ${TESTS_TARGET} PRIVATE BIT7Z_TESTS_7Z_LIBRARY_PATH="${BIT7Z_TESTS_7Z_LIBRARY_PATH}" )
29+ target_compile_definitions( ${TESTS_TARGET_PUBLIC} PRIVATE BIT7Z_TESTS_7Z_LIBRARY_PATH="${BIT7Z_TESTS_7Z_LIBRARY_PATH}" )
30+ endif()
31 endif()
32
33 # Avoiding linking unnecessary libraries.
34diff --git a/tests/src/utils/shared_lib.hpp b/tests/src/utils/shared_lib.hpp
35index 41435a9b..8bc02939 100644
36--- a/tests/src/utils/shared_lib.hpp
37+++ b/tests/src/utils/shared_lib.hpp
38@@ -20,7 +20,9 @@ namespace bit7z {
39 namespace test {
40
41 inline auto sevenzip_lib_path() -> tstring {
42-#ifdef BIT7Z_TESTS_USE_SYSTEM_7ZIP
43+#ifdef BIT7Z_TESTS_7Z_LIBRARY_PATH
44+ static const tstring lib_path = BIT7Z_STRING( BIT7Z_TESTS_7Z_LIBRARY_PATH );
45+#elif defined( BIT7Z_TESTS_USE_SYSTEM_7ZIP )
46 #ifdef _WIN64
47 static const tstring lib_path = BIT7Z_STRING( "C:\\Program Files\\7-Zip\\7z.dll" );
48 #elif defined( _WIN32 )
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch
new file mode 100644
index 0000000000..b1bf6923f2
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch
@@ -0,0 +1,41 @@
1From d504abaf2b0a514193f52df42098bc16de4718b2 Mon Sep 17 00:00:00 2001
2From: Oz <rik20@live.it>
3Date: Fri, 17 Jan 2025 21:23:59 +0100
4Subject: [PATCH] Fix int8_t storage in BitPropVariant on Arm architectures
5
6Upstream-Status: Backport [https://github.com/rikyoz/bit7z/commit/d504abaf2b0a514193f52df42098bc16de4718b2]
7Signed-off-by: Peter Marko <peter.marko@siemens.com>
8---
9 include/bit7z/bitwindows.hpp | 4 ++++
10 src/bitpropvariant.cpp | 2 +-
11 2 files changed, 5 insertions(+), 1 deletion(-)
12
13diff --git a/include/bit7z/bitwindows.hpp b/include/bit7z/bitwindows.hpp
14index 5849b956..2f29a989 100644
15--- a/include/bit7z/bitwindows.hpp
16+++ b/include/bit7z/bitwindows.hpp
17@@ -126,7 +126,11 @@ struct PROPVARIANT {
18 WORD wReserved2;
19 WORD wReserved3;
20 union {
21+#if defined( __arm__ ) || defined( __aarch64__ )
22+ signed char cVal;
23+#else
24 char cVal;
25+#endif
26 unsigned char bVal;
27 short iVal;
28 unsigned short uiVal;
29diff --git a/src/bitpropvariant.cpp b/src/bitpropvariant.cpp
30index 1e7f094f..642e1268 100644
31--- a/src/bitpropvariant.cpp
32+++ b/src/bitpropvariant.cpp
33@@ -157,7 +157,7 @@ BitPropVariant::BitPropVariant( uint64_t value ) noexcept: PROPVARIANT() {
34 BitPropVariant::BitPropVariant( int8_t value ) noexcept: PROPVARIANT() {
35 vt = VT_I1;
36 wReserved1 = 0;
37- cVal = static_cast< char >( value );
38+ cVal = static_cast< decltype(cVal) >( value );
39 }
40
41 BitPropVariant::BitPropVariant( int16_t value ) noexcept: PROPVARIANT() {
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-reinterpret-cast-compiler-errors.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-reinterpret-cast-compiler-errors.patch
new file mode 100644
index 0000000000..08b64f4999
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-reinterpret-cast-compiler-errors.patch
@@ -0,0 +1,52 @@
1From bedeec4d57d29be7de91697277ace00ba87d3e75 Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Tue, 1 Apr 2025 15:23:51 +0200
4Subject: [PATCH] Fix reinterpret-cast compiler errors
5
6Building on 32-bit arm, following warning/error occurs:
7
8src/internal/windows.cpp: In function 'bit7z::OLECHAR* AllocStringBuffer(LPCSTR, uint32_t)':
9src/internal/windows.cpp:79:6: error: cast from 'unsigned char*' to 'bstr_prefix_t*' {aka 'unsigned int*'} increases required alignment of target type [-Werror=cast-align]
10 79 | *reinterpret_cast< bstr_prefix_t* >( bstrBuffer ) = byteLength;
11 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12git/src/internal/windows.cpp:83:19: error: cast from 'unsigned char*' to 'bit7z::BSTR' {aka 'wchar_t*'} increases required alignment of target type [-Werror=cast-align]
13 83 | BSTR result = reinterpret_cast< BSTR >( bstrBuffer + sizeof( bstr_prefix_t ) );
14 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15cc1plus: all warnings being treated as errors
16
17Fix it by using the desired variable size right away and thus avoid
18casting to an array with different alignment.
19
20Upstream-Status: Backport [https://github.com/rikyoz/bit7z/commit/b2789ea9b0fbb2a74dbf6764ddb72d60659a3bce]
21Signed-off-by: Peter Marko <peter.marko@siemens.com>
22---
23 src/internal/windows.cpp | 7 +++----
24 1 file changed, 3 insertions(+), 4 deletions(-)
25
26diff --git a/src/internal/windows.cpp b/src/internal/windows.cpp
27index 9304aed7..7bee5959 100644
28--- a/src/internal/windows.cpp
29+++ b/src/internal/windows.cpp
30@@ -68,19 +68,18 @@ auto AllocStringBuffer( LPCSTR str, uint32_t byteLength ) -> BSTR {
31
32 // Allocating memory for storing the BSTR as a byte array.
33 // NOLINTNEXTLINE(cppcoreguidelines-no-malloc, cppcoreguidelines-owning-memory)
34- auto* bstrBuffer = static_cast< byte_t* >( std::calloc( bufferSize, sizeof( byte_t ) ) );
35+ auto* bstrBuffer = static_cast< bstr_prefix_t* >( std::calloc( bufferSize, sizeof( byte_t ) ) );
36
37 if ( bstrBuffer == nullptr ) { // Failed to allocate memory for the BSTR buffer.
38 return nullptr;
39 }
40
41 // Storing the number of bytes of the BSTR as a prefix of it.
42- // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast)
43- *reinterpret_cast< bstr_prefix_t* >( bstrBuffer ) = byteLength;
44+ *bstrBuffer = byteLength;
45
46 // The actual BSTR must point after the byteLength prefix.
47 // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic, cppcoreguidelines-pro-type-reinterpret-cast)
48- BSTR result = reinterpret_cast< BSTR >( bstrBuffer + sizeof( bstr_prefix_t ) );
49+ BSTR result = reinterpret_cast< BSTR >( bstrBuffer + 1 );
50 if ( str != nullptr ) {
51 // Copying byte-by-byte the input string to the BSTR.
52 // Note: flawfinder warns about not checking for buffer overflows; this is a false alarm,
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-tests-with-musl.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-tests-with-musl.patch
new file mode 100644
index 0000000000..b1f3d0f2ec
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-Fix-tests-with-musl.patch
@@ -0,0 +1,51 @@
1From bc5f2e5af90854c8f84b5829493dd01facf9af84 Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Mon, 7 Apr 2025 16:29:32 +0200
4Subject: [PATCH] Fix tests with musl
5
6Upstream-Status: Submitted [https://github.com/rikyoz/bit7z/pull/292]
7Signed-off-by: Peter Marko <peter.marko@siemens.com>
8---
9 tests/src/test_bitexception.cpp | 8 ++++++++
10 1 file changed, 8 insertions(+)
11
12diff --git a/tests/src/test_bitexception.cpp b/tests/src/test_bitexception.cpp
13index 7161fcc5..d85d430d 100644
14--- a/tests/src/test_bitexception.cpp
15+++ b/tests/src/test_bitexception.cpp
16@@ -49,6 +49,8 @@ constexpr PortableErrorTest hresult_tests[] = { // NOLINT(*-avoid-c-arrays)
17 { HRESULT_WIN32_TEST( ERROR_OPEN_FAILED ),
18 #ifdef _WIN32
19 "The system cannot open the device or file specified.",
20+#elif defined( __linux__ ) && !defined ( __GLIBC__ )
21+ "I/O error",
22 #else
23 "Input/output error",
24 #endif
25@@ -67,6 +69,8 @@ constexpr PortableErrorTest hresult_tests[] = { // NOLINT(*-avoid-c-arrays)
26 { HRESULT_WIN32_TEST( ERROR_SEEK ),
27 #ifdef _WIN32
28 "The drive cannot locate a specific area or track on the disk.",
29+#elif defined( __linux__ ) && !defined ( __GLIBC__ )
30+ "I/O error",
31 #else
32 "Input/output error",
33 #endif
34@@ -74,6 +78,8 @@ constexpr PortableErrorTest hresult_tests[] = { // NOLINT(*-avoid-c-arrays)
35 { HRESULT_WIN32_TEST( ERROR_READ_FAULT ),
36 #ifdef _WIN32
37 "The system cannot read from the specified device.",
38+#elif defined( __linux__ ) && !defined ( __GLIBC__ )
39+ "I/O error",
40 #else
41 "Input/output error",
42 #endif
43@@ -81,6 +87,8 @@ constexpr PortableErrorTest hresult_tests[] = { // NOLINT(*-avoid-c-arrays)
44 { HRESULT_WIN32_TEST( ERROR_WRITE_FAULT ),
45 #ifdef _WIN32
46 "The system cannot write to the specified device.",
47+#elif defined( __linux__ ) && !defined ( __GLIBC__ )
48+ "I/O error",
49 #else
50 "Input/output error",
51 #endif
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch
new file mode 100644
index 0000000000..1b0dfa1eb1
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch
@@ -0,0 +1,29 @@
1From 5e23482b89dfbed025eb5e505aba6420512bd9c3 Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Tue, 1 Apr 2025 11:31:38 +0200
4Subject: [PATCH] cmake: disable dependency inclusion
5
6In Yocto we don't download dependencies, they are satisfied from
7sysroot.
8This cmake file would try to download dependency management tool CPM
9even if all dependencies are satisfied.
10
11Upstream-Status: Inappropriate [OE-specific]
12Signed-off-by: Peter Marko <peter.marko@siemens.com>
13---
14 CMakeLists.txt | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/CMakeLists.txt b/CMakeLists.txt
18index 5378bb3..5916025 100644
19--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
21@@ -194,7 +194,7 @@ include( cmake/BuildOptions.cmake )
22 include( cmake/CompilerOptions.cmake )
23
24 # dependencies
25-include( cmake/Dependencies.cmake )
26+#include( cmake/Dependencies.cmake )
27
28 # 7-zip source code
29 target_link_libraries( ${LIB_TARGET} PRIVATE 7-zip )
diff --git a/meta-oe/recipes-extended/7zip/bit7z/run-ptest b/meta-oe/recipes-extended/7zip/bit7z/run-ptest
new file mode 100644
index 0000000000..dd1776cab6
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z/run-ptest
@@ -0,0 +1,18 @@
1#!/bin/sh
2
3# Disabled tests:
4# "winapi: Allocating BSTR string from nullptr C strings"
5# this test is memory hungry, it allocates 800MB chunks
6# it succeeds when there is enough free RAM, but most machines don't have it
7
8if /usr/lib/bit7z/ptest/bit7z-tests ~"winapi: Allocating BSTR string from nullptr C strings"; then
9 echo "PASS: bit7z-tests"
10else
11 echo "FAIL: bit7z-tests"
12fi
13
14if /usr/lib/bit7z/ptest/bit7z-tests-public; then
15 echo "PASS: bit7z-tests-public"
16else
17 echo "FAIL: bit7z-tests-public"
18fi
diff --git a/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb b/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb
new file mode 100644
index 0000000000..033461d614
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/bit7z_4.0.9.bb
@@ -0,0 +1,88 @@
1SUMMARY = "A C++ static library offering a clean and simple interface to the 7-Zip shared libraries"
2HOMEPAGE = "https://github.com/rikyoz/bit7z"
3LICENSE = "MPL-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=48a3fe23ed1353e0995dadfda05ffdb6"
5
6SRC_URI = " \
7 git://github.com/rikyoz/bit7z.git;protocol=https;branch=master \
8 ${@bb.utils.contains('PTEST_ENABLED', '1', d.getVar('SRC_URI_PTEST'), 'file://0001-cmake-disable-dependency-inclusion.patch', d)} \
9 file://0001-Fix-reinterpret-cast-compiler-errors.patch \
10 file://0001-Fix-int8_t-storage-in-BitPropVariant-on-Arm-architec.patch \
11 file://0001-Allow-running-tests-on-target-when-cross-compiling.patch \
12 file://0001-Allow-specifying-path-to-7z-library-in-tests.patch \
13 file://0001-Fix-tests-with-musl.patch \
14"
15
16SRCREV = "386e00ad3286e7a10e5bb6d05a5b41b523fce623"
17
18# ptest dependencies and their revisions
19SRC_URI_PTEST = " \
20 git://github.com/rikyoz/filesystem.git;protocol=https;branch=glibcxx_wchar_streams_workaround;name=filesystem;destsuffix=filesystem \
21 git://github.com/rikyoz/bit7z-test-data.git;protocol=https;branch=main;name=testdata;destsuffix=testdata \
22 git://github.com/catchorg/Catch2.git;protocol=https;branch=v2.x;name=catch2;destsuffix=catch2;tag=${TAG_catch2} \
23 https://github.com/cpm-cmake/CPM.cmake/releases/download/v${TAG_CPM}/CPM.cmake;downloadfilename=CPM_${TAG_CPM}.cmake \
24 file://run-ptest \
25"
26SRCREV_FORMAT = "${@bb.utils.contains('PTEST_ENABLED', '1', 'default_filesystem_testdata_catch2', 'default', d)}"
27SRCREV_filesystem = "983650f374699e3979f9cdefe13ddff60bd4ac68"
28SRCREV_testdata = "077e407b1c07b7443626b5902eeb4819388bf656"
29SRCREV_catch2 = "182c910b4b63ff587a3440e08f84f70497e49a81"
30TAG_catch2 = "v2.13.10"
31SRCHASH_CPM = "c8cdc32c03816538ce22781ed72964dc864b2a34a310d3b7104812a5ca2d835d"
32TAG_CPM = "0.40.2"
33SRC_URI[sha256sum] = "${SRCHASH_CPM}"
34
35
36inherit cmake ptest
37
38DEPENDS = "7zip"
39
40EXTRA_OECMAKE += "-DBIT7Z_CUSTOM_7ZIP_PATH=${STAGING_INCDIR}/7zip"
41
42PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
43PACKAGECONFIG[tests] = " \
44 -DBIT7Z_BUILD_TESTS=ON -DBIT7Z_DISABLE_USE_STD_FILESYSTEM=ON \
45 -DBIT7Z_TESTS_USE_SYSTEM_7ZIP=OFF -DBIT7Z_TESTS_7Z_LIBRARY_PATH=${libdir}/lib7z.so \
46 -DBIT7Z_TESTS_DATA_DIR_TARGET=${PTEST_PATH}/data \
47 -DCPM_SOURCE_CACHE=${B}/cpm_cache -DFETCHCONTENT_SOURCE_DIR_BIT7Z-TEST-DATA=${UNPACKDIR}/testdata -DFETCHCONTENT_SOURCE_DIR_CATCH2=${B}/catch2 \
48"
49
50do_configure:prepend() {
51 # verify that all dependencies have correct version
52 grep -q ${SRCREV_filesystem} ${S}/cmake/Dependencies.cmake || bbfatal "ERROR: dependency version mismatch, please update 'SRCREV_filesystem'!"
53 grep -q ${SRCREV_testdata} ${S}/tests/CMakeLists.txt || bbfatal "ERROR: dependency version mismatch, please update 'SRCREV_testdata'!"
54 grep -q ${TAG_catch2} ${S}/tests/cmake/Catch2.cmake || bbfatal "ERROR: dependency version mismatch, please update 'SRCREV_catch2'!"
55 grep -q ${SRCHASH_CPM} ${S}/cmake/Dependencies.cmake || bbfatal "ERROR: dependency version mismatch, please update 'SRCHASH_CPM'!"
56
57 if ${@bb.utils.contains('PTEST_ENABLED', '1', 'true', 'false', d)}; then
58 # use cache instead of download for CPM (CMake's missing package manager)
59 mkdir -p ${B}/cmake
60 cp ${UNPACKDIR}/CPM_${TAG_CPM}.cmake ${B}/cmake
61 mkdir -p ${B}/cpm_cache/ghc_filesystem
62 cp -r ${UNPACKDIR}/filesystem ${B}/cpm_cache/ghc_filesystem/fbcc9a9e94e6365273cf51294173f21ff5efdb4f
63 # avoid buildpaths issue as unpackdir is not in prefix maps
64 cp -r ${UNPACKDIR}/catch2 ${B}
65 fi
66}
67do_configure[cleandirs] += "${B}"
68
69do_install() {
70 install -d ${D}${libdir}
71 install -m 0644 ${S}/lib/*/*.a ${D}${libdir}
72
73 install -d ${D}${includedir}/${BPN}
74 install -m 0644 ${S}/include/${BPN}/*.hpp ${D}${includedir}/${BPN}
75}
76
77do_install_ptest() {
78 install -m 0755 ${S}/bin/*/* ${D}${PTEST_PATH}
79 install -d ${D}${PTEST_PATH}/data
80 cp -r ${UNPACKDIR}/testdata/test_archives ${UNPACKDIR}/testdata/test_filesystem ${B}/tests/data/test_filesystem ${D}${PTEST_PATH}/data
81}
82
83# this package contains static library so main package is empty, but ptest package rdepends on it
84ALLOW_EMPTY:${PN} = "1"
85# these are loaded via dlopen, so need explicit rdepends
86RDEPENDS:${PN}-ptest += "libstdc++ 7zip"
87# test data contains various file types with different architectures
88INSANE_SKIP:${PN}-ptest += "arch"
diff --git a/meta-oe/recipes-extended/7zip/files/0001-support-yocto-cross-compiling.patch b/meta-oe/recipes-extended/7zip/files/0001-support-yocto-cross-compiling.patch
new file mode 100644
index 0000000000..e3d0477930
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/files/0001-support-yocto-cross-compiling.patch
@@ -0,0 +1,53 @@
1From fd0d54f96576a8ff572bb7c7d28df6b097f99a30 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 18 Dec 2024 16:38:11 +0800
4Subject: [PATCH] support yocto cross compiling
5
6Remove -s from $LFLAGS_STRIP, do not strip binary to workaournd
7Yocto build warning
8...
9WARNING: 7zip-native-24.09-r0 do_populate_sysroot: File 'tmp/work/x86_64-linux/
107zip-native/24.09/recipe-sysroot-native/usr/lib/7z.so' from 7zip-native was already stripped,
11this will prevent future debugging!
12...
13
14Apply CC, CXX from environments
15
16Upstream-Status: Inappropriate [Yocto specific]
17
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19---
20 CPP/7zip/7zip_gcc.mak | 2 +-
21 CPP/7zip/var_gcc.mak | 2 --
22 2 files changed, 1 insertion(+), 3 deletions(-)
23
24--- a/CPP/7zip/7zip_gcc.mak
25+++ b/CPP/7zip/7zip_gcc.mak
26@@ -45,7 +45,7 @@ CFLAGS_DEBUG = -g
27 else
28 CFLAGS_DEBUG = -DNDEBUG
29 ifneq ($(CC), $(CROSS_COMPILE)clang)
30-LFLAGS_STRIP = -s
31+LFLAGS_STRIP =
32 endif
33 endif
34
35--- a/CPP/7zip/var_gcc.mak
36+++ b/CPP/7zip/var_gcc.mak
37@@ -6,7 +6,5 @@ IS_ARM64=
38 CROSS_COMPILE=
39 MY_ARCH=
40 USE_ASM=
41-CC=$(CROSS_COMPILE)gcc
42-CXX=$(CROSS_COMPILE)g++
43
44 # -march=armv8-a+crc+crypto
45--- a/CPP/7zip/var_clang.mak
46+++ b/CPP/7zip/var_clang.mak
47@@ -6,6 +6,4 @@ IS_ARM64=
48 CROSS_COMPILE=
49 MY_ARCH=
50 USE_ASM=
51-CC=$(CROSS_COMPILE)clang
52-CXX=$(CROSS_COMPILE)clang++
53 USE_CLANG=1
diff --git a/meta-oe/recipes-extended/7zip/files/7z_wrapper.sh b/meta-oe/recipes-extended/7zip/files/7z_wrapper.sh
new file mode 100755
index 0000000000..af5b9b393a
--- /dev/null
+++ b/meta-oe/recipes-extended/7zip/files/7z_wrapper.sh
@@ -0,0 +1,4 @@
1#!/bin/sh
2realpath=`readlink -fn $0`
3realdir=`dirname $realpath`
4exec $realdir/7z.real "$@"
diff --git a/meta-oe/recipes-extended/beep/beep_1.4.12.bb b/meta-oe/recipes-extended/beep/beep_1.4.12.bb
index a4bc10c366..a8d720d9dd 100644
--- a/meta-oe/recipes-extended/beep/beep_1.4.12.bb
+++ b/meta-oe/recipes-extended/beep/beep_1.4.12.bb
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10SRC_URI = "git://github.com/spkr-beep/beep.git;protocol=https;branch=master \ 10SRC_URI = "git://github.com/spkr-beep/beep.git;protocol=https;branch=master \
11 file://0001-beep-library-Make-it-compatible-with-c99.patch" 11 file://0001-beep-library-Make-it-compatible-with-c99.patch"
12SRCREV = "11453a79f2cea81832329b06ca3a284aa7a0a52e" 12SRCREV = "11453a79f2cea81832329b06ca3a284aa7a0a52e"
13S = "${WORKDIR}/git"
14 13
15EXTRA_OEMAKE = "prefix='${prefix}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'" 14EXTRA_OEMAKE = "prefix='${prefix}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
16 15
diff --git a/meta-oe/recipes-extended/bitwise/bitwise_0.50.bb b/meta-oe/recipes-extended/bitwise/bitwise_0.50.bb
index 178a5eb0b5..397829c87b 100644
--- a/meta-oe/recipes-extended/bitwise/bitwise_0.50.bb
+++ b/meta-oe/recipes-extended/bitwise/bitwise_0.50.bb
@@ -18,8 +18,9 @@ SRC_URI = "https://github.com/mellowcandle/bitwise/releases/download/v${PV}/bitw
18SRC_URI[sha256sum] = "806271fa5bf31de0600315e8720004a8f529954480e991ca84a9868dc1cae97e" 18SRC_URI[sha256sum] = "806271fa5bf31de0600315e8720004a8f529954480e991ca84a9868dc1cae97e"
19 19
20UPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases" 20UPSTREAM_CHECK_URI = "https://github.com/mellowcandle/bitwise/releases"
21UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
21 22
22S = "${WORKDIR}/${BPN}-v${PV}" 23S = "${UNPACKDIR}/${BPN}-v${PV}"
23 24
24DEPENDS = "ncurses readline" 25DEPENDS = "ncurses readline"
25 26
diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb
index 4e35283dd2..b2cfd9b874 100644
--- a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb
+++ b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb
@@ -41,7 +41,6 @@ inherit gettext autotools pkgconfig features_check systemd
41 41
42REQUIRED_DISTRO_FEATURES += "opengl" 42REQUIRED_DISTRO_FEATURES += "opengl"
43 43
44S = "${WORKDIR}/git"
45 44
46EXTRA_OECONF += "\ 45EXTRA_OECONF += "\
47 --enable-libraries \ 46 --enable-libraries \
@@ -77,6 +76,10 @@ do_install:prepend() {
77 mkdir -p ${D}${sysconfdir}/default 76 mkdir -p ${D}${sysconfdir}/default
78} 77}
79 78
79do_install:append() {
80 sed -i -e 's#${S}##g' ${D}${includedir}/boinc/svn_version.h
81}
82
80SYSTEMD_SERVICE:${PN} = "boinc-client.service" 83SYSTEMD_SERVICE:${PN} = "boinc-client.service"
81 84
82FILES:${PN} += "${libdir}/systemd" 85FILES:${PN} += "${libdir}/systemd"
diff --git a/meta-oe/recipes-extended/brotli/brotli_1.1.0.bb b/meta-oe/recipes-extended/brotli/brotli_1.1.0.bb
index 83f44833b6..411f8a7610 100644
--- a/meta-oe/recipes-extended/brotli/brotli_1.1.0.bb
+++ b/meta-oe/recipes-extended/brotli/brotli_1.1.0.bb
@@ -7,9 +7,8 @@ LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b" 7LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"
8 8
9SRC_URI = "git://github.com/google/brotli.git;branch=master;protocol=https" 9SRC_URI = "git://github.com/google/brotli.git;branch=master;protocol=https"
10SRCREV= "ed738e842d2fbdf2d6459e39267a633c4a9b2f5d" 10SRCREV = "ed738e842d2fbdf2d6459e39267a633c4a9b2f5d"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit cmake lib_package 13inherit cmake lib_package
15 14
@@ -20,4 +19,4 @@ do_install:append () {
20 done 19 done
21} 20}
22 21
23BBCLASSEXTEND = "native" 22BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch b/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
index f761ccbdc8..53aabd6035 100644
--- a/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
+++ b/meta-oe/recipes-extended/byacc/byacc/0001-byacc-do-not-reorder-CC-and-CFLAGS.patch
@@ -24,16 +24,19 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
24 24
25Update for 20210201 25Update for 20210201
26Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 26Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
27
28Update for 20241231
29Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
27--- 30---
28 aclocal.m4 | 1 - 31 aclocal.m4 | 1 -
29 configure | 259 ----------------------------------------------------- 32 configure | 259 -----------------------------------------------------
30 2 files changed, 260 deletions(-) 33 2 files changed, 260 deletions(-)
31 34
32diff --git a/aclocal.m4 b/aclocal.m4 35diff --git a/aclocal.m4 b/aclocal.m4
33index 832d0c8..63b03f2 100644 36index 5c83bbd..ab3ffe7 100644
34--- a/aclocal.m4 37--- a/aclocal.m4
35+++ b/aclocal.m4 38+++ b/aclocal.m4
36@@ -1421,7 +1421,6 @@ CF_GCC_VERSION 39@@ -1762,7 +1762,6 @@ CF_GCC_VERSION
37 CF_ACVERSION_CHECK(2.52, 40 CF_ACVERSION_CHECK(2.52,
38 [AC_PROG_CC_STDC], 41 [AC_PROG_CC_STDC],
39 [CF_ANSI_CC_REQD]) 42 [CF_ANSI_CC_REQD])
@@ -42,20 +45,20 @@ index 832d0c8..63b03f2 100644
42 dnl --------------------------------------------------------------------------- 45 dnl ---------------------------------------------------------------------------
43 dnl CF_PROG_GROFF version: 3 updated: 2018/01/07 13:16:19 46 dnl CF_PROG_GROFF version: 3 updated: 2018/01/07 13:16:19
44diff --git a/configure b/configure 47diff --git a/configure b/configure
45index cb47b4c..c72b6e4 100755 48index da9a5c5..65ee092 100755
46--- a/configure 49--- a/configure
47+++ b/configure 50+++ b/configure
48@@ -2144,265 +2144,6 @@ esac 51@@ -2152,265 +2152,6 @@ esac
49 # This should have been defined by AC_PROG_CC 52 # This should have been defined by AC_PROG_CC
50 : "${CC:=cc}" 53 : "${CC:=cc}"
51 54
52-echo "$as_me:2147: checking \$CFLAGS variable" >&5 55-echo "$as_me:2155: checking \$CFLAGS variable" >&5
53-echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6 56-echo $ECHO_N "checking \$CFLAGS variable... $ECHO_C" >&6
54-case "x$CFLAGS" in 57-case "x$CFLAGS" in
55-(*-[IUD]*) 58-(*-[IUD]*)
56- echo "$as_me:2151: result: broken" >&5 59- echo "$as_me:2159: result: broken" >&5
57-echo "${ECHO_T}broken" >&6 60-echo "${ECHO_T}broken" >&6
58- { echo "$as_me:2153: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5 61- { echo "$as_me:2161: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&5
59-echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;} 62-echo "$as_me: WARNING: your environment uses the CFLAGS variable to hold CPPFLAGS options" >&2;}
60- cf_flags="$CFLAGS" 63- cf_flags="$CFLAGS"
61- CFLAGS= 64- CFLAGS=
@@ -163,22 +166,22 @@ index cb47b4c..c72b6e4 100755
163- done 166- done
164- ;; 167- ;;
165-(*) 168-(*)
166- echo "$as_me:2261: result: ok" >&5 169- echo "$as_me:2269: result: ok" >&5
167-echo "${ECHO_T}ok" >&6 170-echo "${ECHO_T}ok" >&6
168- ;; 171- ;;
169-esac 172-esac
170- 173-
171-echo "$as_me:2266: checking \$CC variable" >&5 174-echo "$as_me:2274: checking \$CC variable" >&5
172-echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6 175-echo $ECHO_N "checking \$CC variable... $ECHO_C" >&6
173-case "$CC" in 176-case "$CC" in
174-(*[\ \ ]-*) 177-(*[\ \ ]-*)
175- echo "$as_me:2270: result: broken" >&5 178- echo "$as_me:2278: result: broken" >&5
176-echo "${ECHO_T}broken" >&6 179-echo "${ECHO_T}broken" >&6
177- { echo "$as_me:2272: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5 180- { echo "$as_me:2280: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&5
178-echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;} 181-echo "$as_me: WARNING: your environment uses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
179- # humor him... 182- # humor him...
180- cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'` 183- cf_prog=`echo "$CC" | sed -e 's/ / /g' -e 's/[ ]* / /g' -e 's/[ ]*[ ]-[^ ].*//'`
181- cf_flags=`echo "$CC" | ${AWK:-awk} -v prog="$cf_prog" '{ printf("%s", substr($0,1+length(prog))); }'` 184- cf_flags=`echo "$CC" | sed -e "s%^$cf_prog%%"`
182- CC="$cf_prog" 185- CC="$cf_prog"
183- for cf_arg in $cf_flags 186- for cf_arg in $cf_flags
184- do 187- do
@@ -291,26 +294,26 @@ index cb47b4c..c72b6e4 100755
291- done 294- done
292- test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6 295- test -n "$verbose" && echo " resulting CC: '$CC'" 1>&6
293- 296-
294-echo "${as_me:-configure}:2389: testing resulting CC: '$CC' ..." 1>&5 297-echo "${as_me:-configure}:2397: testing resulting CC: '$CC' ..." 1>&5
295- 298-
296- test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6 299- test -n "$verbose" && echo " resulting CFLAGS: '$CFLAGS'" 1>&6
297- 300-
298-echo "${as_me:-configure}:2393: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5 301-echo "${as_me:-configure}:2401: testing resulting CFLAGS: '$CFLAGS' ..." 1>&5
299- 302-
300- test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6 303- test -n "$verbose" && echo " resulting CPPFLAGS: '$CPPFLAGS'" 1>&6
301- 304-
302-echo "${as_me:-configure}:2397: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5 305-echo "${as_me:-configure}:2405: testing resulting CPPFLAGS: '$CPPFLAGS' ..." 1>&5
303- 306-
304- ;; 307- ;;
305-(*) 308-(*)
306- echo "$as_me:2401: result: ok" >&5 309- echo "$as_me:2409: result: ok" >&5
307-echo "${ECHO_T}ok" >&6 310-echo "${ECHO_T}ok" >&6
308- ;; 311- ;;
309-esac 312-esac
310- 313-
311 echo "$as_me:2406: checking whether ${MAKE-make} sets \${MAKE}" >&5 314 echo "$as_me:2414: checking whether ${MAKE-make} sets \${MAKE}" >&5
312 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6 315 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
313 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 316 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
314-- 317--
3152.34.1 3182.43.0
316 319
diff --git a/meta-oe/recipes-extended/byacc/byacc_20230219.bb b/meta-oe/recipes-extended/byacc/byacc_20241231.bb
index 614bcaf646..8d74dbb83e 100644
--- a/meta-oe/recipes-extended/byacc/byacc_20230219.bb
+++ b/meta-oe/recipes-extended/byacc/byacc_20241231.bb
@@ -4,7 +4,7 @@
4# Setting to PD as this is what the upstream has it as. 4# Setting to PD as this is what the upstream has it as.
5 5
6LICENSE = "PD" 6LICENSE = "PD"
7LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=b56b7454f5f865de2e6e35ee2185b461" 7LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=6a728308869d7a7901618a5bcb970f7e"
8require byacc.inc 8require byacc.inc
9 9
10SRC_URI[sha256sum] = "36b972a6d4ae97584dd186925fbbc397d26cb20632a76c2f52ac7653cd081b58" 10SRC_URI[sha256sum] = "192c2fae048d4e7f514ba451627f9c4e612765099f819c19191f9fde3e609673"
diff --git a/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.10.bb b/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.10.bb
new file mode 100644
index 0000000000..26c80195b0
--- /dev/null
+++ b/meta-oe/recipes-extended/canopenterm/canopenterm_1.0.10.bb
@@ -0,0 +1,29 @@
1
2SUMMARY = "CANopenTerm is a versatile software tool to analyse and \
3 configure CANopen devices. \
4 "
5DESCRIPTION = "CANopenTerm is an open-source software tool designed for the \
6 development, testing, and analysis of CANopen CC networks and \
7 devices. It extends its capabilities to support other CAN CC \
8 protocols, including SAE J1939 and OBD-II. \
9 "
10HOMEPAGE = "https://canopenterm.de"
11BUGTRACKER = "https://github.com/CANopenTerm/CANopenTerm/issues"
12
13LICENSE = "MIT"
14LIC_FILES_CHKSUM = "file://LICENSE.md;md5=10e84ea70e8c3a1fbc462f5424806474"
15
16DEPENDS = "cjson libinih virtual/libsdl2 lua libsocketcan pocketpy"
17
18SRC_URI = "git://github.com/CANopenTerm/CANopenTerm.git;protocol=https;branch=main"
19
20SRCREV = "e0760b2e9657907e691be4df384ca7617109635d"
21
22
23inherit cmake ptest
24
25EXTRA_OECMAKE += "-DBUILD_YOCTO=ON"
26
27FILES:${PN} += "${bindir}/CANopenTerm ${bindir}/codb2json ${datadir}"
28
29RDEPENDS:${PN} = "cjson libinih libsdl2 lua libsocketcan pocketpy"
diff --git a/meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.0.bb b/meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.5.bb
index 68d4042554..1baacac03d 100644
--- a/meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.0.bb
+++ b/meta-oe/recipes-extended/cfengine/cfengine-masterfiles_3.21.5.bb
@@ -22,12 +22,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bb843e794feb6890f7697637b461c36e"
22 22
23SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \ 23SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BP}.tar.gz \
24 " 24 "
25#SRC_URI[md5sum] = "5df2f85c75efc351ffadebcc11046a98" 25SRC_URI[sha256sum] = "0adcfcf36d47317776ad64331058a4d2e3669683314716ddb885f8a13309f47d"
26SRC_URI[sha256sum] = "013ebe68599915cedb4bf753b471713d91901a991623358b9a967d9a779bcc16" 26
27UPSTREAM_CHECK_URI = "https://github.com/cfengine/masterfiles/releases"
28UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
27 29
28inherit autotools 30inherit autotools
29 31
30export EXPLICIT_VERSION="${PV}" 32export EXPLICIT_VERSION = "${PV}"
31 33
32EXTRA_OECONF = "--prefix=${datadir}/cfengine" 34EXTRA_OECONF = "--prefix=${datadir}/cfengine"
33 35
diff --git a/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb b/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb
index 6fa5d2743a..de20f585b0 100644
--- a/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb
+++ b/meta-oe/recipes-extended/cfengine/cfengine_3.21.0.bb
@@ -22,12 +22,11 @@ SRC_URI = "https://cfengine-package-repos.s3.amazonaws.com/tarballs/${BPN}-commu
22 file://0001-Fixed-with-libxml2-no-case-in-configure.ac.patch \ 22 file://0001-Fixed-with-libxml2-no-case-in-configure.ac.patch \
23 file://set-path-of-default-config-file.patch \ 23 file://set-path-of-default-config-file.patch \
24 " 24 "
25#SRC_URI[md5sum] = "5318e40702bc66a3ece44ec4ad77712b"
26SRC_URI[sha256sum] = "911778ddb0a4e03a3ddfc8fc0f033136e1551849ea2dcbdb3f0f14359dfe3126" 25SRC_URI[sha256sum] = "911778ddb0a4e03a3ddfc8fc0f033136e1551849ea2dcbdb3f0f14359dfe3126"
27 26
28inherit autotools-brokensep systemd 27inherit autotools-brokensep systemd
29 28
30export EXPLICIT_VERSION="${PV}" 29export EXPLICIT_VERSION = "${PV}"
31 30
32SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \ 31SYSTEMD_SERVICE:${PN} = "cfengine3.service cf-apache.service cf-hub.service cf-postgres.service \
33 cf-runalerts.service cf-execd.service \ 32 cf-runalerts.service cf-execd.service \
diff --git a/meta-oe/recipes-extended/cmatrix/cmatrix/0001-reproducibility-Prevent-configuration-from-reading-h.patch b/meta-oe/recipes-extended/cmatrix/cmatrix/0001-reproducibility-Prevent-configuration-from-reading-h.patch
new file mode 100644
index 0000000000..1353728dd5
--- /dev/null
+++ b/meta-oe/recipes-extended/cmatrix/cmatrix/0001-reproducibility-Prevent-configuration-from-reading-h.patch
@@ -0,0 +1,58 @@
1From 0a49ed8e949adda11c6268f36a10ac12074cd377 Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Tue, 1 Apr 2025 23:42:39 +0200
4Subject: [PATCH] reproducibility: Prevent configuration from reading host
5 directories
6
7Current code choose where to install fonts based on what directory
8exists on build host. This is not reproducible.
9
10Remove the existence check and change the lists to the one matching
11OpenEmbedded paths.
12
13Upstream-Status: Inappropriate [embedded specific]
14Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
15---
16 CMakeLists.txt | 8 ++------
17 1 file changed, 2 insertions(+), 6 deletions(-)
18
19diff --git a/CMakeLists.txt b/CMakeLists.txt
20index c5548b3..a2f8b4d 100644
21--- a/CMakeLists.txt
22+++ b/CMakeLists.txt
23@@ -7,8 +7,8 @@ set(VERSION "2.0")
24
25 # These are relative to CMAKE_INSTALL_PREFIX
26 # which by default is "/usr/local"
27-set(CONSOLE_FONTS_DIRS "share/consolefonts" "lib/kbd/consolefonts")
28-set(X_FONTS_DIRS "lib/X11/fonts/misc" "X11R6/lib/X11/fonts/misc" "share/fonts/X11/misc")
29+set(CONSOLE_FONTS_DIRS "${CMAKE_INSTALL_DATAROOTDIR}/consolefonts")
30+set(X_FONTS_DIRS "${CMAKE_INSTALL_LIBDIR}/X11/fonts/misc" "${CMAKE_INSTALL_DATAROOTDIR}/fonts/X11/misc")
31
32 set(MKFONTDIR "/usr/bin/mkfontdir")
33
34@@ -47,16 +47,13 @@ install(TARGETS cmatrix DESTINATION bin)
35
36 if (UNIX)
37 foreach (CONSOLE_FONTS_DIR ${CONSOLE_FONTS_DIRS})
38- if (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${CONSOLE_FONTS_DIR}")
39 message(STATUS "Installing matrix console fonts to ${CMAKE_INSTALL_PREFIX}/${CONSOLE_FONTS_DIR}")
40 install(FILES
41 "${CMAKE_SOURCE_DIR}/matrix.fnt"
42 "${CMAKE_SOURCE_DIR}/matrix.psf.gz"
43 DESTINATION "${CONSOLE_FONTS_DIR}")
44- endif ()
45 endforeach ()
46 foreach (X_FONTS_DIR ${X_FONTS_DIRS})
47- if (IS_DIRECTORY "${CMAKE_INSTALL_PREFIX}/${X_FONTS_DIR}")
48 message(STATUS "Installing matrix X window fonts to ${CMAKE_INSTALL_PREFIX}/${X_FONTS_DIR}")
49 install(FILES
50 "${CMAKE_SOURCE_DIR}/mtx.pcf"
51@@ -67,7 +64,6 @@ if (UNIX)
52 "execute_process(COMMAND \"${MKFONTDIR}\" \"${CMAKE_INSTALL_PREFIX}/${X_FONTS_DIR}\")")
53 install(CODE
54 "message(STATUS \"If this is the first time you have installed CMatrix you will probably have to restart X window in order to use the mtx.pcf font.\")")
55- endif ()
56 endforeach ()
57 endif ()
58
diff --git a/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb b/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb
index 6b6acf1be8..e1a6af622b 100644
--- a/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb
+++ b/meta-oe/recipes-extended/cmatrix/cmatrix_2.0.bb
@@ -3,12 +3,14 @@ SUMMARY = "Terminal based 'The Matrix' screen implementation"
3LICENSE = "GPL-3.0-only" 3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5 5
6SRC_URI = "git://github.com/abishekvashok/cmatrix.git;branch=stable;protocol=https" 6SRC_URI = " \
7 git://github.com/abishekvashok/cmatrix.git;branch=stable;protocol=https \
8 file://0001-reproducibility-Prevent-configuration-from-reading-h.patch \
9"
7SRCREV = "adfdf1656f23e5ab3b52c7d7edf91249a4477e8d" 10SRCREV = "adfdf1656f23e5ab3b52c7d7edf91249a4477e8d"
8S = "${WORKDIR}/git"
9 11
10inherit cmake 12inherit cmake
11 13
12DEPENDS += "ncurses" 14DEPENDS += "ncurses"
13 15
14FILES:${PN} += "${datadir}/* ${libdir}/kbd/*" 16FILES:${PN} += "${datadir}/* ${libdir}/kbd/* ${libdir}/X11/fonts/"
diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-cmpi-bindings-Fix-build-error-with-gcc14.patch b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-cmpi-bindings-Fix-build-error-with-gcc14.patch
deleted file mode 100644
index 750d10a5f1..0000000000
--- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings/0001-cmpi-bindings-Fix-build-error-with-gcc14.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 9e4063a9a3fb2fab69d906902a8432da2544654b Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@fujitsu.com>
3Date: Tue, 11 Jun 2024 01:38:55 +0000
4Subject: [PATCH] cmpi-bindings: Fix build error with gcc14.
5
6The build error is as the following:
7
8| build-daily-2/tmp/work/aarch64-ubinux-linux/cmpi-bindings/1.0.4/git/swig/python/../../src/target_python.c:168:21: error: passing argument 1 of 'Py_SetProgramName' from incompatible pointer type [-Wincompatible-pointer-types]
9| 168 | Py_SetProgramName("cmpi_swig");
10| | ^~~~~~~~~~~
11| | |
12| | char *
13| build-daily-2/tmp/work/aarch64-ubinux-linux/cmpi-bindings/1.0.4/recipe-sysroot/usr/include/python3.12/pylifecycle.h:37:56: note: expected 'const wchar_t *' {aka 'const unsigned int *'} but argument is of type 'char *'
14| 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
15| |
16
17Upstream-Status: Submitted
18Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
19---
20 src/target_python.c | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-)
22
23diff --git a/src/target_python.c b/src/target_python.c
24index a8dfd30..69a2515 100644
25--- a/src/target_python.c
26+++ b/src/target_python.c
27@@ -154,6 +154,7 @@ cleanup:
28 static int
29 PyGlobalInitialize(const CMPIBroker* broker, CMPIStatus* st)
30 {
31+ const wchar_t proname[] = L"cmpi_swig";
32 /* _SBLIM_TRACE(1,("<%d/0x%x> PyGlobalInitialize() called", getpid(), pthread_self())); */
33
34 if (_TARGET_INIT)
35@@ -165,7 +166,7 @@ PyGlobalInitialize(const CMPIBroker* broker, CMPIStatus* st)
36
37 _SBLIM_TRACE(1,("<%d/0x%x> Python: Loading", getpid(), pthread_self()));
38
39- Py_SetProgramName("cmpi_swig");
40+ Py_SetProgramName(proname);
41 Py_Initialize();
42 #if PY_MAJOR_VERSION < 3
43 SWIGEXPORT void SWIG_init(void);
44--
452.34.1
46
diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
index cc88602532..da710eaedb 100644
--- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb
+++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
@@ -6,22 +6,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b19ee058d2d5f69af45da98051d91064"
6SECTION = "Development/Libraries" 6SECTION = "Development/Libraries"
7DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native" 7DEPENDS = "swig-native sblim-cmpi-devel python3-setuptools-native"
8 8
9SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=master \ 9SRC_URI = "git://github.com/kkaempf/cmpi-bindings.git;protocol=https;branch=main \
10 file://cmpi-bindings-0.4.17-no-ruby-perl.patch \ 10 file://cmpi-bindings-0.4.17-no-ruby-perl.patch \
11 file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \ 11 file://cmpi-bindings-0.4.17-sblim-sigsegv.patch \
12 file://0001-Fix-error.patch \ 12 file://0001-Fix-error.patch \
13 file://0001-cmpi-bindings-Fix-build-error-with-gcc14.patch \
14 " 13 "
15 14
16SRCREV = "69077ee4d249816ed428155fc933dca424167e77" 15SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9"
17S = "${WORKDIR}/git"
18 16
19inherit cmake python3targetconfig 17inherit cmake python3targetconfig
20 18
21EXTRA_OECMAKE = "-DLIB='${baselib}' \ 19EXTRA_OECMAKE = "-DLIB='${baselib}' \
22 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ 20 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
23 -DPYTHON_ABI=${PYTHON_ABI} \ 21 -DPYTHON_ABI=${PYTHON_ABI} \
24 -DBUILD_PYTHON3=YES \ 22 -DBUILD_PYTHON3=NO \
25 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \ 23 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \
26 " 24 "
27 25
@@ -29,7 +27,11 @@ EXTRA_OECMAKE = "-DLIB='${baselib}' \
29# ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$) 27# ninja: error: build.ninja:282: bad $-escape (literal $ must be written as $$)
30OECMAKE_GENERATOR = "Unix Makefiles" 28OECMAKE_GENERATOR = "Unix Makefiles"
31 29
32FILES:${PN} =+"${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*" 30FILES:${PN} =+ "${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*"
33FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" 31FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so"
34 32
35BBCLASSEXTEND = "native" 33BBCLASSEXTEND = "native"
34
35# http://errors.yoctoproject.org/Errors/Details/766910/
36# cmpi-bindings/1.0.4/git/swig/python/../../src/target_python.c:168:21: error: passing argument 1 of 'Py_SetProgramName' from incompatible pointer type [-Wincompatible-pointer-types]
37CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
index df36b64695..36aad73b19 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.12.0.bb
@@ -16,7 +16,6 @@ SRC_URI = "https://collectd.org/files/collectd-${PV}.tar.bz2 \
16 file://0006-libcollectdclient-Fix-string-overflow-errors.patch \ 16 file://0006-libcollectdclient-Fix-string-overflow-errors.patch \
17 file://0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch \ 17 file://0001-Remove-including-sys-sysctl.h-on-glibc-based-systems.patch \
18 " 18 "
19SRC_URI[md5sum] = "2b23a65960bc323d065234776a542e04"
20SRC_URI[sha256sum] = "5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6" 19SRC_URI[sha256sum] = "5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6"
21 20
22inherit autotools python3native update-rc.d pkgconfig systemd 21inherit autotools python3native update-rc.d pkgconfig systemd
@@ -53,6 +52,7 @@ PACKAGECONFIG[ldap] = "--enable-openldap --with-libldap,--disable-openldap --wit
53PACKAGECONFIG[rrdtool] = "--enable-rrdtool,--disable-rrdtool,rrdtool" 52PACKAGECONFIG[rrdtool] = "--enable-rrdtool,--disable-rrdtool,rrdtool"
54PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdtool" 53PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdtool"
55PACKAGECONFIG[python] = "--enable-python,--disable-python" 54PACKAGECONFIG[python] = "--enable-python,--disable-python"
55PACKAGECONFIG[dpdk] = "--with-libdpdk,--without-libdpdk,dpdk"
56 56
57EXTRA_OECONF = " \ 57EXTRA_OECONF = " \
58 ${FPLAYOUT} \ 58 ${FPLAYOUT} \
diff --git a/meta-oe/recipes-extended/ddrescue/ddrescue_1.28.bb b/meta-oe/recipes-extended/ddrescue/ddrescue_1.29.1.bb
index 0863fc1209..99c7d06706 100644
--- a/meta-oe/recipes-extended/ddrescue/ddrescue_1.28.bb
+++ b/meta-oe/recipes-extended/ddrescue/ddrescue_1.29.1.bb
@@ -6,12 +6,12 @@ HOMEPAGE = "http://www.gnu.org/software/ddrescue/ddrescue.html"
6SECTION = "console" 6SECTION = "console"
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "GPL-2.0-or-later"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=76d6e300ffd8fb9d18bd9b136a9bba13 \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=cca7f74ec83b7a9ce7ccd195aad471bd \
10 file://main_common.cc;beginline=5;endline=16;md5=ad099df052bdd8297f490712285069da \ 10 file://main_common.cc;beginline=5;endline=16;md5=ad099df052bdd8297f490712285069da \
11 " 11 "
12 12
13SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.lz" 13SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.lz"
14SRC_URI[sha256sum] = "6626c07a7ca1cc1d03cad0958522c5279b156222d32c342e81117cfefaeb10c1" 14SRC_URI[sha256sum] = "ddd7d45df026807835a2ec6ab9c365df2ef19e8de1a50ffe6886cd391e04dd75"
15 15
16# This isn't already added by base.bbclass 16# This isn't already added by base.bbclass
17do_unpack[depends] += "lzip-native:do_populate_sysroot" 17do_unpack[depends] += "lzip-native:do_populate_sysroot"
diff --git a/meta-oe/recipes-extended/dialog/dialog_1.3-20240307.bb b/meta-oe/recipes-extended/dialog/dialog_1.3-20250116.bb
index a497175364..7c596371e5 100644
--- a/meta-oe/recipes-extended/dialog/dialog_1.3-20240307.bb
+++ b/meta-oe/recipes-extended/dialog/dialog_1.3-20250116.bb
@@ -9,10 +9,10 @@ LICENSE = "LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" 9LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
10 10
11SRC_URI = "https://invisible-mirror.net/archives/${BPN}/${BP}.tgz" 11SRC_URI = "https://invisible-mirror.net/archives/${BPN}/${BP}.tgz"
12SRC_URI[sha256sum] = "339d311c6abb240213426b99ad63565cbcb3e8641ef1989c033e945b754d34ef" 12SRC_URI[sha256sum] = "68406329827b783d0a8959cc20a94c6e1791ac861a27f854e06e9020541816dd"
13 13
14# hardcoded here for use in dialog-static recipe 14# hardcoded here for use in dialog-static recipe
15S = "${WORKDIR}/dialog-${PV}" 15S = "${UNPACKDIR}/dialog-${PV}"
16 16
17inherit autotools-brokensep pkgconfig 17inherit autotools-brokensep pkgconfig
18 18
@@ -29,3 +29,6 @@ do_configure() {
29 sed -i 's,cf_have_ncuconfig=unknown,cf_have_ncuconfig=yes,g' -i configure 29 sed -i 's,cf_have_ncuconfig=unknown,cf_have_ncuconfig=yes,g' -i configure
30 oe_runconf 30 oe_runconf
31} 31}
32do_install:append () {
33 ln -sf ${bindir}/${HOST_SYS}-dialog ${D}${bindir}/${BPN}
34}
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch
new file mode 100644
index 0000000000..335872c40f
--- /dev/null
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon/0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch
@@ -0,0 +1,40 @@
1From bc03f142507da92add8ba325fdf8187d47a7d719 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 13 Dec 2024 16:37:24 +0800
4Subject: [PATCH] CMakeLists.txt: make DLT_WatchdogSec can be set by user
5
6In my test env, WatchdogSec default value 2 is not enough, manually
7changed to 3 is ok. This makes dlt.service/dlt-system.service start
8failed during boot time. So, make DLT_WatchdogSec can be set by user, so
9user can set them to proper value at build time, then service can start
10successfully in boot time.
11
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13
14Upstream-Status: Backport [https://github.com/COVESA/dlt-daemon/pull/720/commits/bc03f142507da92add8ba325fdf8187d47a7d719]
15
16Signed-off-by: Changqing Li <changqing.li@windriver.com>
17---
18 systemd/CMakeLists.txt | 8 ++++++--
19 1 file changed, 6 insertions(+), 2 deletions(-)
20
21diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt
22index 16cbe86b5..659378d16 100644
23--- a/systemd/CMakeLists.txt
24+++ b/systemd/CMakeLists.txt
25@@ -18,10 +18,14 @@ if(WITH_SYSTEMD)
26 set(SYSTEMD_CONFIGURATIONS_FILES_DIR ${SYSTEMD_UNITDIR} )
27
28 if(WITH_SYSTEMD_WATCHDOG)
29- set( DLT_WatchdogSec 2 )
30+ if(NOT DEFINED DLT_WatchdogSec)
31+ set(DLT_WatchdogSec 2 CACHE STRING "Watchdog timeout in seconds")
32+ endif()
33 message( STATUS "The systemd watchdog is enabled - timeout is set to ${DLT_WatchdogSec} seconds")
34 else(WITH_SYSTEMD_WATCHDOG)
35- set( DLT_WatchdogSec 0 )
36+ if(NOT DEFINED DLT_WatchdogSec)
37+ set(DLT_WatchdogSec 0 CACHE STRING "Watchdog timeout in seconds")
38+ endif()
39 message( STATUS "The systemd watchdog is disabled")
40 endif(WITH_SYSTEMD_WATCHDOG)
diff --git a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb
index 3d2e4a73f1..8b48d20aac 100644
--- a/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb
+++ b/meta-oe/recipes-extended/dlt-daemon/dlt-daemon_2.18.10.bb
@@ -19,10 +19,10 @@ SRC_URI = "git://github.com/COVESA/${BPN}.git;protocol=https;branch=master \
19 file://0004-Modify-systemd-config-directory.patch \ 19 file://0004-Modify-systemd-config-directory.patch \
20 file://544.patch \ 20 file://544.patch \
21 file://567.patch \ 21 file://567.patch \
22 file://0001-CMakeLists-txt-make-DLT_WatchdogSec-can-be-set-by-user.patch \
22 " 23 "
23SRCREV = "0f2d4cfffada6f8448a2cb27995b38eb4271044f" 24SRCREV = "0f2d4cfffada6f8448a2cb27995b38eb4271044f"
24 25
25S = "${WORKDIR}/git"
26 26
27PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd systemd-watchdog systemd-journal ', '', d)} \ 27PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd systemd-watchdog systemd-journal ', '', d)} \
28 dlt-examples dlt-adaptor dlt-adaptor-stdin dlt-adaptor-udp dlt-console \ 28 dlt-examples dlt-adaptor dlt-adaptor-stdin dlt-adaptor-udp dlt-console \
diff --git a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
index ec0b4da935..71305cc35f 100644
--- a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
+++ b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
@@ -20,7 +20,6 @@ SRC_URI = "\
20 git://github.com/docopt/docopt.cpp.git;protocol=https;branch=master \ 20 git://github.com/docopt/docopt.cpp.git;protocol=https;branch=master \
21" 21"
22 22
23S = "${WORKDIR}/git"
24 23
25inherit cmake 24inherit cmake
26 25
diff --git a/meta-oe/recipes-extended/duktape/duktape_2.7.0.bb b/meta-oe/recipes-extended/duktape/duktape_2.7.0.bb
index ef016b8683..afa0e4c8fb 100644
--- a/meta-oe/recipes-extended/duktape/duktape_2.7.0.bb
+++ b/meta-oe/recipes-extended/duktape/duktape_2.7.0.bb
@@ -11,6 +11,8 @@ inherit ptest
11 11
12SRC_URI[sha256sum] = "90f8d2fa8b5567c6899830ddef2c03f3c27960b11aca222fa17aa7ac613c2890" 12SRC_URI[sha256sum] = "90f8d2fa8b5567c6899830ddef2c03f3c27960b11aca222fa17aa7ac613c2890"
13 13
14UPSTREAM_CHECK_URI = "https://duktape.org/download"
15
14EXTRA_OEMAKE = "INSTALL_PREFIX='${prefix}' DESTDIR='${D}' LIBDIR='/${baselib}'" 16EXTRA_OEMAKE = "INSTALL_PREFIX='${prefix}' DESTDIR='${D}' LIBDIR='/${baselib}'"
15 17
16do_compile () { 18do_compile () {
diff --git a/meta-oe/recipes-extended/dumb-init/dumb-init_1.2.5.bb b/meta-oe/recipes-extended/dumb-init/dumb-init_1.2.5.bb
index 310081b822..ad2aee4570 100644
--- a/meta-oe/recipes-extended/dumb-init/dumb-init_1.2.5.bb
+++ b/meta-oe/recipes-extended/dumb-init/dumb-init_1.2.5.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5940d39995ea6857d01b8227109c2e9c"
5 5
6SRCREV = "89c1502b9d40b5cb4a844498b14d74ba1dd559bf" 6SRCREV = "89c1502b9d40b5cb4a844498b14d74ba1dd559bf"
7SRC_URI = "git://github.com/Yelp/dumb-init;branch=master;protocol=https" 7SRC_URI = "git://github.com/Yelp/dumb-init;branch=master;protocol=https"
8S = "${WORKDIR}/git"
9 8
10EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS} ${LDFLAGS}'" 9EXTRA_OEMAKE = "CC='${CC}' CFLAGS='${CFLAGS} ${LDFLAGS}'"
11 10
diff --git a/meta-oe/recipes-extended/enscript/enscript/0001-enscript-does-not-build-with-C23-standard.patch b/meta-oe/recipes-extended/enscript/enscript/0001-enscript-does-not-build-with-C23-standard.patch
new file mode 100644
index 0000000000..28f6764319
--- /dev/null
+++ b/meta-oe/recipes-extended/enscript/enscript/0001-enscript-does-not-build-with-C23-standard.patch
@@ -0,0 +1,32 @@
1From 9865262d7287320eba7d2fad2d4fcb12b489fc6c Mon Sep 17 00:00:00 2001
2From: zdohnal <email-is-unavailable>
3Date: Tue, 8 Apr 2025 20:25:47 +0900
4Subject: [PATCH] enscript does not build with C23 standard
5
6* Imported the submitted patch from:
7 https://savannah.gnu.org/bugs/?66845
8 to fix:
9 http://errors.yoctoproject.org/Errors/Details/851187/
10 ../../enscript-1.6.6/compat/regex.c:3565:13: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
11 3565 | val = re_match_2_internal (bufp, string1, size1, string2, size2,
12 | ^~~~~~~~~~~~~~~~~~~ ~~~~
13
14Upstream-Status: Submitted [https://savannah.gnu.org/bugs/?66845]
15Signed-off-by: mark.yang <mark.yang@lge.com>
16---
17 compat/regex.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/compat/regex.c b/compat/regex.c
21index c6907f3..da28664 100644
22--- a/compat/regex.c
23+++ b/compat/regex.c
24@@ -336,7 +336,7 @@ typedef char boolean;
25 #define false 0
26 #define true 1
27
28-static int re_match_2_internal ();
29+static int re_match_2_internal (struct re_pattern_buffer*, const char*, int, const char*, int, int, struct re_registers*, int);
30
31 /* These are the command codes that appear in compiled regular
32 expressions. Some opcodes are followed by argument bytes. A
diff --git a/meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch b/meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch
index a080b3aef7..e84c2d3937 100644
--- a/meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch
+++ b/meta-oe/recipes-extended/enscript/enscript/0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch
@@ -3,9 +3,10 @@ From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 21:24:27 -0700 3Date: Fri, 2 Sep 2022 21:24:27 -0700
4Subject: [PATCH] getopt: Include string.h for strcmp/stcncmp functions 4Subject: [PATCH] getopt: Include string.h for strcmp/stcncmp functions
5 5
6Upstream-Status: Pending
7 6
8Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8Upstream-Status: Backport [http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=commit;h=300ecf85a8fe166a39f9dd818945c7b8a970db39]
9Signed-off-by: mark.yang <mark.yang@lge.com>
9--- 10---
10 compat/getopt.c | 1 + 11 compat/getopt.c | 1 +
11 1 file changed, 1 insertion(+) 12 1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
index 9490ee09dc..4ca7c081ea 100644
--- a/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
+++ b/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb
@@ -14,13 +14,13 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
14 file://enscript-autoconf.patch \ 14 file://enscript-autoconf.patch \
15 file://0001-Fix-builds-with-recent-gettext.patch \ 15 file://0001-Fix-builds-with-recent-gettext.patch \
16 file://0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch \ 16 file://0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch \
17 file://0001-enscript-does-not-build-with-C23-standard.patch \
17 " 18 "
18 19
19inherit autotools gettext 20inherit autotools gettext
20 21
21EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'" 22EXTRA_OECONF += "PERL='${USRBINPATH}/env perl'"
22 23
23SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd"
24SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb" 24SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb"
25 25
26RDEPENDS:${PN} = "perl" 26RDEPENDS:${PN} = "perl"
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-Replacing-GPR_ASSERT-with-c-assert.patch b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-Replacing-GPR_ASSERT-with-c-assert.patch
new file mode 100644
index 0000000000..87000b663d
--- /dev/null
+++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-Replacing-GPR_ASSERT-with-c-assert.patch
@@ -0,0 +1,33 @@
1From aeb34f58782fb6d06aea4f5cbeccb23a0224466e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 4 Sep 2024 14:54:42 -0700
4Subject: [PATCH] Replacing GPR_ASSERT with c assert
5
6Latest GRPC >= 2.66 has dropped GRPC_ASSERT macro [1]
7
8[1] https://github.com/grpc/grpc/commit/0e23c2259da967a037e839e80cafd62bc6f9f68e
9
10Upstream-Status: Submitted [https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/pull/281]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/v3/Action.cpp | 9 +++++++++
14 1 file changed, 9 insertions(+)
15
16--- a/src/v3/Action.cpp
17+++ b/src/v3/Action.cpp
18@@ -2,6 +2,15 @@
19 #include <grpc/support/log.h>
20 #include <grpcpp/support/status.h>
21 #include "etcd/v3/action_constants.hpp"
22+#include <cstdlib>
23+
24+#ifndef GPR_ASSERT
25+#define GPR_ASSERT(x) \
26+ if (!(x)) { \
27+ fprintf(stderr, "%s:%d assert failed\n", __FILE__, __LINE__); \
28+ abort(); \
29+}
30+#endif
31
32 etcdv3::Action::Action(etcdv3::ActionParameters const& params) {
33 parameters = params;
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
index 88a8ba3469..c3a5a02a3f 100644
--- a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
+++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450"
7SRC_URI = " \ 7SRC_URI = " \
8 git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \ 8 git://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3.git;branch=master;protocol=https \
9 file://0001-include-stdint.h-for-int64_t-types.patch \ 9 file://0001-include-stdint.h-for-int64_t-types.patch \
10 file://0001-Replacing-GPR_ASSERT-with-c-assert.patch \
10" 11"
11 12
12SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e" 13SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e"
@@ -15,9 +16,14 @@ inherit cmake
15 16
16DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native" 17DEPENDS += "grpc protobuf cpprest grpc-native protobuf-native"
17 18
18S = "${WORKDIR}/git"
19 19
20EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON" 20EXTRA_OECONF += "-DCPPREST_EXCLUDE_WEBSOCKETS=ON"
21 21
22do_install:append() {
23 sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}${libdir}/cmake/etcd-cpp-api/etcd-targets.cmake
24}
25
22SOLIBS = ".so" 26SOLIBS = ".so"
23FILES_SOLIBSDEV = "" 27FILES_SOLIBSDEV = ""
28
29SKIP_RECIPE[etcd-cpp-apiv3] ?= "needs ccpprest which needs websocket does work with boost >= 1.87"
diff --git a/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb b/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb
index 24e111dea0..dd30543a41 100644
--- a/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb
+++ b/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb
@@ -15,7 +15,6 @@ SRC_URI = " \
15" 15"
16 16
17SRCREV = "215b53cf3b48ee761f4c40908b3874b2e5e95e9f" 17SRCREV = "215b53cf3b48ee761f4c40908b3874b2e5e95e9f"
18UPSTREAM_CHECK_COMMITS = "1"
19 18
20GO_IMPORT = "go.etcd.io/etcd/v3" 19GO_IMPORT = "go.etcd.io/etcd/v3"
21GO_INSTALL = "src/${GO_IMPORT}/" 20GO_INSTALL = "src/${GO_IMPORT}/"
@@ -24,7 +23,7 @@ RDEPENDS:${PN}-dev = " \
24 bash \ 23 bash \
25" 24"
26 25
27export GO111MODULE="on" 26export GO111MODULE = "on"
28 27
29inherit go systemd pkgconfig features_check 28inherit go systemd pkgconfig features_check
30 29
@@ -71,3 +70,4 @@ do_install:append() {
71 70
72FILES:${PN}:append = " ${sysconfdir}/etcd.d/etcd-existing.conf" 71FILES:${PN}:append = " ${sysconfdir}/etcd.d/etcd-existing.conf"
73 72
73SKIP_RECIPE[etcd] ?= "QA Issue: task do_compile has network enabled"
diff --git a/meta-oe/recipes-extended/figlet/figlet_git.bb b/meta-oe/recipes-extended/figlet/figlet_git.bb
index 9789ac16d4..d226806050 100644
--- a/meta-oe/recipes-extended/figlet/figlet_git.bb
+++ b/meta-oe/recipes-extended/figlet/figlet_git.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1688bcd97b27704f1afcac7336409857"
7SRC_URI = "git://github.com/cmatsuoka/figlet.git;branch=master;protocol=https \ 7SRC_URI = "git://github.com/cmatsuoka/figlet.git;branch=master;protocol=https \
8 file://0001-build-add-autotools-support-to-allow-easy-cross-comp.patch" 8 file://0001-build-add-autotools-support-to-allow-easy-cross-comp.patch"
9SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3" 9SRCREV = "5bbcd7383a8c3a531299b216b0c734e1495c6db3"
10S = "${WORKDIR}/git"
11PV = "2.2.5+git" 10PV = "2.2.5+git"
12 11
13inherit autotools 12inherit autotools
diff --git a/meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.5.bb b/meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.6.bb
index 423c6faf7e..df7a4e2758 100644
--- a/meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.5.bb
+++ b/meta-oe/recipes-extended/flatpak/flatpak-xdg-utils_1.0.6.bb
@@ -5,9 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5 5
6SRC_URI = "git://github.com/flatpak/flatpak-xdg-utils.git;protocol=https;branch=main" 6SRC_URI = "git://github.com/flatpak/flatpak-xdg-utils.git;protocol=https;branch=main"
7 7
8SRCREV = "5ba39872f81bf8d98d58c5f8acb86604645be468" 8SRCREV = "05abdd7421688be5835a6b12f2b068086c38d4aa"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit meson pkgconfig 11inherit meson pkgconfig
13 12
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
index 8351e7d655..f99c8ac36a 100644
--- a/meta-oe/recipes-extended/flatpak/flatpak_1.15.8.bb
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
@@ -4,22 +4,21 @@ LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 4LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5 5
6SRC_URI = " \ 6SRC_URI = " \
7 gitsm://github.com/flatpak/flatpak;protocol=https;branch=main \ 7 git://github.com/flatpak/flatpak;protocol=https;branch=main \
8 file://0001-flatpak-pc-add-pc_sysrootdir.patch \ 8 file://0001-flatpak-pc-add-pc_sysrootdir.patch \
9" 9"
10 10
11SRCREV = "925c80f913d69e7ca424428823e1431c4ffb0deb" 11SRCREV = "1440f4faa67ebf69c7559f31d2cab59e6ec6fe2b"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native useradd mime features_check 14inherit meson pkgconfig gettext systemd gtk-doc gobject-introspection python3native mime features_check useradd
16 15
17REQUIRED_DISTRO_FEATURES = "polkit" 16REQUIRED_DISTRO_FEATURES = "polkit"
18 17
19DEPENDS = " \ 18DEPENDS = " \
20 appstream \ 19 appstream \
21 bison-native \ 20 bison-native \
22 dconf \ 21 bubblewrap-native \
23 fuse3 \ 22 fuse3 \
24 gdk-pixbuf \ 23 gdk-pixbuf \
25 glib-2.0 \ 24 glib-2.0 \
@@ -31,14 +30,16 @@ DEPENDS = " \
31 ostree \ 30 ostree \
32 polkit \ 31 polkit \
33 python3-pyparsing-native \ 32 python3-pyparsing-native \
33 xdg-dbus-proxy-native \
34 zstd \ 34 zstd \
35" 35"
36 36
37RDEPENDS:${PN} = " \ 37RDEPENDS:${PN} = " \
38 ca-certificates \ 38 ca-certificates \
39 dconf \
40 flatpak-xdg-utils \ 39 flatpak-xdg-utils \
41 fuse3-utils \ 40 fuse3-utils \
41 bubblewrap \
42 xdg-dbus-proxy \
42" 43"
43 44
44GIR_MESON_OPTION = "gir" 45GIR_MESON_OPTION = "gir"
@@ -49,6 +50,7 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
49GTKDOC_MESON_DISABLE_FLAG = 'disabled' 50GTKDOC_MESON_DISABLE_FLAG = 'disabled'
50 51
51PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl" 52PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
53PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"
52PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native" 54PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
53PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native" 55PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
54PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4" 56PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
@@ -66,15 +68,13 @@ PACKAGECONFIG ?= " \
66 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \ 68 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-security-context', '', d)} \
67" 69"
68 70
69EXTRA_OEMESON = "-Dsystem_fusermount=${bindir}/fusermount3" 71EXTRA_OEMESON = " \
70 72 -Dsystem_fusermount=fusermount3 \
71FILES:${PN} += "${libdir} ${datadir}" 73 -Dsystem_bubblewrap=bwrap \
74 -Dsystem_dbus_proxy=xdg-dbus-proxy \
75"
72 76
73USERADD_PACKAGES = "${PN}" 77USERADD_PACKAGES = "${PN}"
74USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd" 78USERADD_PARAM:${PN} = "--system --no-create-home --user-group --shell /sbin/nologin flatpak"
75 79
76do_install:append() { 80FILES:${PN} += "${libdir} ${datadir}"
77 chmod 0700 ${D}/${datadir}/polkit-1/rules.d
78 chown polkitd ${D}/${datadir}/polkit-1/rules.d
79 chgrp root ${D}/${datadir}/polkit-1/rules.d
80}
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch
deleted file mode 100644
index 0cabed9633..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch
+++ /dev/null
@@ -1,64 +0,0 @@
1From 6a704ab7bf69cd5d6970b3a7d3ae7798b26027c1 Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com>
3Date: Thu, 28 Jul 2022 11:28:41 +0200
4Subject: [PATCH] CMakeLists.txt Do not use private makefile $< target
5
6$< is a private detail from the Makefile generated by CMakefile and
7are not under control or to be used at the CMakeLists level. In 3.20
8that private generation changed pre-requisite targets[1] and now logs
9contain the path compiler_depend.ts instead of the actual file.
10
11Upstream-Status: Pending [https://github.com/fluent/fluent-bit/issues/5492]
12---
13 CMakeLists.txt | 6 +-----
14 lib/chunkio/CMakeLists.txt | 7 +------
15 lib/cmetrics/CMakeLists.txt | 7 +------
16 3 files changed, 3 insertions(+), 17 deletions(-)
17
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -46,11 +46,7 @@ else()
21 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
22 endif()
23
24-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
25- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
26-else()
27- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
28-endif()
29+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
30
31 if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l")
32 set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -latomic")
33--- a/lib/chunkio/CMakeLists.txt
34+++ b/lib/chunkio/CMakeLists.txt
35@@ -14,12 +14,7 @@ else()
36 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall ")
37 endif()
38
39-# Set __FILENAME__
40-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
41- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
42-else()
43- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
44-endif()
45+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
46
47 include(cmake/macros.cmake)
48
49--- a/lib/cmetrics/CMakeLists.txt
50+++ b/lib/cmetrics/CMakeLists.txt
51@@ -34,12 +34,7 @@ set(CMT_VERSION_MINOR 3)
52 set(CMT_VERSION_PATCH 7)
53 set(CMT_VERSION_STR "${CMT_VERSION_MAJOR}.${CMT_VERSION_MINOR}.${CMT_VERSION_PATCH}")
54
55-# Define __CMT_FILENAME__ consistently across Operating Systems
56-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
57- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
58-else()
59- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
60-endif()
61+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
62
63 # Configuration options
64 option(CMT_DEV "Enable development mode" No)
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch
deleted file mode 100644
index 8d89e4df35..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-Use-posix-strerror_r-with-musl.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From f645128082117a0152a95b3dccd869a184b7513f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 10 Aug 2022 01:23:48 -0700
4Subject: [PATCH 1/2] Use posix strerror_r with musl
5
6Default with glibc is GNU extention of strerror_r
7where as musl uses posix variant, call that out
8
9Upstream-Status: Inappropriate [Need wider porting beyond linux/musl/glibc]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/flb_network.c | 5 +++++
13 1 file changed, 5 insertions(+)
14
15diff --git a/src/flb_network.c b/src/flb_network.c
16index 992eb1d..5d7a337 100644
17--- a/src/flb_network.c
18+++ b/src/flb_network.c
19@@ -506,7 +506,12 @@ static int net_connect_async(int fd,
20 }
21
22 /* Connection is broken, not much to do here */
23+#ifdef __GLIBC__
24 str = strerror_r(error, so_error_buf, sizeof(so_error_buf));
25+#else
26+ strerror_r(error, so_error_buf, sizeof(so_error_buf));
27+ str = so_error_buf;
28+#endif
29 flb_error("[net] TCP connection failed: %s:%i (%s)",
30 u->tcp_host, u->tcp_port, str);
31 return -1;
32--
332.37.1
34
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch
new file mode 100644
index 0000000000..32f4fdec51
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch
@@ -0,0 +1,95 @@
1From 7e6295f14ea057562a235fbf6762d867e739a181 Mon Sep 17 00:00:00 2001
2From: Niko Mauno <niko.mauno@vaisala.com>
3Date: Sun, 29 Sep 2024 12:00:00 +0000
4Subject: [PATCH] lib: Do not use private makefile targets in CMakelists.txt
5
6By extending the scope of changes introduced in commit
7fc325524d50fe179b76f127243ab9e03ddbdaaa4
8("build: CMakeLists.txt Do not use private makefile targets (#5819)")
9we mitigate the following error produced by BitBake in Yocto
10
11 ERROR: fluentbit-3.1.9-r0 do_package_qa: QA Issue: File /usr/bin/fluent-bit in package fluentbit contains reference to TMPDIR [buildpaths]
12 ERROR: fluentbit-3.1.9-r0 do_package_qa: Fatal QA errors were found, failing task.
13
14stemming from
15
16 $ strings packages-split/fluentbit/usr/bin/fluent-bit
17 ...
18 $(subst /yocto/upstream/build/tmp/work/cortexa57-poky-linux/fluentbit/3.1.9/git/,,$(abspath $<))
19 ...
20
21Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
22
23Upstream-Status: Submitted [https://github.com/fluent/fluent-bit/pull/9450]
24---
25 lib/cfl/CMakeLists.txt | 8 ++------
26 lib/cmetrics/CMakeLists.txt | 8 ++------
27 lib/ctraces/CMakeLists.txt | 8 ++------
28 lib/monkey/CMakeLists.txt | 4 +---
29 4 files changed, 7 insertions(+), 21 deletions(-)
30
31--- a/lib/cfl/CMakeLists.txt
32+++ b/lib/cfl/CMakeLists.txt
33@@ -40,12 +40,8 @@ if(NOT MSVC)
34 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
35 endif()
36
37-# Define __FILENAME__ consistently across Operating Systems
38-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
39- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
40-else()
41- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
42-endif()
43+# Define __FILENAME__
44+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
45
46
47
48--- a/lib/cmetrics/CMakeLists.txt
49+++ b/lib/cmetrics/CMakeLists.txt
50@@ -60,12 +60,8 @@ if(NOT MSVC)
51 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
52 endif()
53
54-# Define __CMT_FILENAME__ consistently across Operating Systems
55-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
56- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
57-else()
58- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
59-endif()
60+# Define __CMT_FILENAME__
61+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__CMT_FILENAME__=__FILE__")
62
63 # Configuration options
64 option(CMT_DEV "Enable development mode" No)
65--- a/lib/ctraces/CMakeLists.txt
66+++ b/lib/ctraces/CMakeLists.txt
67@@ -30,12 +30,8 @@ set(CTR_VERSION_MINOR 6)
68 set(CTR_VERSION_PATCH 4)
69 set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}")
70
71-# Define __FILENAME__ consistently across Operating Systems
72-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
73- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath $$<))\"'")
74-else()
75- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
76-endif()
77+# Define __FILENAME__
78+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
79
80 # Configuration options
81 option(CTR_DEV "Enable development mode" No)
82--- a/lib/monkey/CMakeLists.txt
83+++ b/lib/monkey/CMakeLists.txt
84@@ -15,10 +15,8 @@ include(GNUInstallDirs)
85 # Set default compiler options
86 if (NOT CMAKE_SYSTEM_NAME MATCHES "Windows")
87 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra")
88-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$$(subst ${CMAKE_SOURCE_DIR}/,,$$(abspath \$$<))\"'")
89-else()
90-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
91 endif()
92+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
93
94 # Monkey Version
95 set(MK_VERSION_MAJOR 1)
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch
deleted file mode 100644
index e70664031b..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 0d22024c5defba7007e3e633753790e20209c6f6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 09:59:41 -0700
4Subject: [PATCH 1/5] monkey: Define _GNU_SOURCE for memmem API check
5
6This define is necessary to get this API on glibc based systems
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 lib/monkey/mk_core/CMakeLists.txt | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/lib/monkey/mk_core/CMakeLists.txt b/lib/monkey/mk_core/CMakeLists.txt
15index 0e74f8d..739fff3 100644
16--- a/lib/monkey/mk_core/CMakeLists.txt
17+++ b/lib/monkey/mk_core/CMakeLists.txt
18@@ -62,6 +62,7 @@ set(src "${src}"
19 )
20
21 check_c_source_compiles("
22+ #define _GNU_SOURCE
23 #include <string.h>
24 int main() {
25 char haystack[] = \"1234\";
26--
272.37.1
28
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch
index 425b838b78..025f8729ea 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch
@@ -1,4 +1,4 @@
1From 71dab751a27a2e582b711de22873065dd28f4b65 Mon Sep 17 00:00:00 2001 1From c8c9dd3aeb49ab2ec94c3ab081e2368736a5da20 Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com> 2From: Paulo Neves <ptsneves@gmail.com>
3Date: Thu, 28 Jul 2022 11:42:31 +0200 3Date: Thu, 28 Jul 2022 11:42:31 +0200
4Subject: [PATCH] flb_info.h.in: Do not hardcode compilation directories 4Subject: [PATCH] flb_info.h.in: Do not hardcode compilation directories
@@ -13,8 +13,6 @@ Upstream-Status: Pending
13 include/fluent-bit/flb_info.h.in | 2 +- 13 include/fluent-bit/flb_info.h.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/include/fluent-bit/flb_info.h.in b/include/fluent-bit/flb_info.h.in
17index a89485c..2579afc 100644
18--- a/include/fluent-bit/flb_info.h.in 16--- a/include/fluent-bit/flb_info.h.in
19+++ b/include/fluent-bit/flb_info.h.in 17+++ b/include/fluent-bit/flb_info.h.in
20@@ -23,7 +23,7 @@ 18@@ -23,7 +23,7 @@
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-mbedtls-Remove-unused-variable.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0002-mbedtls-Remove-unused-variable.patch
deleted file mode 100644
index d911420df2..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-mbedtls-Remove-unused-variable.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From c7b969d1a2a6b61bd179214ee2516b7b6cd55b27 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 11:21:57 -0700
4Subject: [PATCH 2/5] mbedtls: Remove unused variable
5
6Fixes
7library/bignum.c:1395:29: error: variable 't' set but not used [-Werror,-Wunused-but-set-variable]
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 lib/mbedtls-2.28.0/library/bignum.c | 4 +---
14 1 file changed, 1 insertion(+), 3 deletions(-)
15
16diff --git a/lib/mbedtls-2.28.0/library/bignum.c b/lib/mbedtls-2.28.0/library/bignum.c
17index 62e7f76..9c256ae 100644
18--- a/lib/mbedtls-2.28.0/library/bignum.c
19+++ b/lib/mbedtls-2.28.0/library/bignum.c
20@@ -1392,7 +1392,7 @@ void mpi_mul_hlp( size_t i,
21 mbedtls_mpi_uint *d,
22 mbedtls_mpi_uint b )
23 {
24- mbedtls_mpi_uint c = 0, t = 0;
25+ mbedtls_mpi_uint c = 0;
26
27 #if defined(MULADDC_HUIT)
28 for( ; i >= 8; i -= 8 )
29@@ -1443,8 +1443,6 @@ void mpi_mul_hlp( size_t i,
30 }
31 #endif /* MULADDC_HUIT */
32
33- t++;
34-
35 while( c != 0 )
36 {
37 *d += c; c = ( *d < c ); d++;
38--
392.37.1
40
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch
new file mode 100644
index 0000000000..909d1be28d
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-CMakeLists.txt-Revise-init-manager-deduction.patch
@@ -0,0 +1,36 @@
1From bf4e832544e8aa5866ef57859f95b71bd8811154 Mon Sep 17 00:00:00 2001
2From: Niko Mauno <niko.mauno@vaisala.com>
3Date: Mon, 21 Oct 2024 16:02:46 +0000
4Subject: [PATCH] CMakeLists.txt: Revise init manager deduction
5
6The init manager deduction is not cross-compile friendly, so replace
7the host specific condition checks with placeholders that can be
8replaced in Yocto recipe.
9
10Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
11
12Upstream-Status: Inappropriate [configuration]
13---
14 src/CMakeLists.txt | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17--- a/src/CMakeLists.txt
18+++ b/src/CMakeLists.txt
19@@ -569,7 +569,7 @@ if(FLB_BINARY)
20 set(SYSTEMD_UNITDIR /lib/systemd/system)
21 endif()
22
23- if(SYSTEMD_UNITDIR)
24+ if(@INIT_MANAGER_IS_SYSTEMD@)
25 if (FLB_AMAZON_LINUX2)
26 set(FLB_SYSTEMD_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.service")
27 configure_file(
28@@ -594,7 +594,7 @@ if(FLB_BINARY)
29 install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR})
30 install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary)
31 endif()
32- elseif(IS_DIRECTORY /usr/share/upstart)
33+ elseif(@INIT_MANAGER_IS_UPSTART@)
34 set(FLB_UPSTART_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.conf")
35 configure_file(
36 "${PROJECT_SOURCE_DIR}/init/upstart.in"
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Disable-documentation-warning-as-error-with-.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Disable-documentation-warning-as-error-with-.patch
deleted file mode 100644
index 473ebaf7d4..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Disable-documentation-warning-as-error-with-.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 2d12629f768d2459b1fc8a8ca0c38024d84bc195 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 11:32:12 -0700
4Subject: [PATCH 3/5] mbedtls: Disable documentation warning as error with
5 clang
6
7There are shortcomings with doxygen info which clang-15+ flags, dont
8treat them as errors
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12Upstream-Status: Pending
13
14 lib/mbedtls-2.28.0/CMakeLists.txt | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/lib/mbedtls-2.28.0/CMakeLists.txt b/lib/mbedtls-2.28.0/CMakeLists.txt
18index b33c088..c5f886f 100644
19--- a/lib/mbedtls-2.28.0/CMakeLists.txt
20+++ b/lib/mbedtls-2.28.0/CMakeLists.txt
21@@ -212,7 +212,7 @@ if(CMAKE_COMPILER_IS_GNU)
22 endif(CMAKE_COMPILER_IS_GNU)
23
24 if(CMAKE_COMPILER_IS_CLANG)
25- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral")
26+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral -Wno-error=documentation")
27 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
28 set(CMAKE_C_FLAGS_ASAN "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O3")
29 set(CMAKE_C_FLAGS_ASANDBG "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sibling-calls")
30--
312.37.1
32
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Do-not-overwrite-CFLAGS.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Do-not-overwrite-CFLAGS.patch
deleted file mode 100644
index 158857ae20..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0003-mbedtls-Do-not-overwrite-CFLAGS.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 8486b912281ae85db0c9fc05bb546f16872e114c Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com>
3Date: Thu, 28 Jul 2022 14:37:18 +0200
4Subject: [PATCH] mbedtls: Do not overwrite CFLAGS
5
6bitbake passes CFLAGS that are often in conflict with the ones set
7in mbedtls' CMakeLists.txt. Such conflicts are the inability to use
8FORTIFY_SOURCE=2 except in release mode
9
10Upstream-Status: Inappropriate [due to fluent-bit having it's own Release flags that also overwrite bitbake ones.]
11---
12 lib/mbedtls-2.28.0/CMakeLists.txt | 2 --
13 1 file changed, 2 deletions(-)
14
15--- a/lib/mbedtls-2.28.0/CMakeLists.txt
16+++ b/lib/mbedtls-2.28.0/CMakeLists.txt
17@@ -204,8 +204,6 @@ if(CMAKE_COMPILER_IS_GNU)
18 if (GCC_VERSION VERSION_GREATER 7.0 OR GCC_VERSION VERSION_EQUAL 7.0)
19 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat-overflow=2 -Wformat-truncation")
20 endif()
21- set(CMAKE_C_FLAGS_RELEASE "-O2")
22- set(CMAKE_C_FLAGS_DEBUG "-O0 -g3")
23 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
24 set(CMAKE_C_FLAGS_ASAN "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O3")
25 set(CMAKE_C_FLAGS_ASANDBG "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sibling-calls")
26@@ -215,8 +213,6 @@ endif(CMAKE_COMPILER_IS_GNU)
27
28 if(CMAKE_COMPILER_IS_CLANG)
29 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wimplicit-fallthrough -Wshadow -Wvla -Wformat=2 -Wno-format-nonliteral")
30- set(CMAKE_C_FLAGS_RELEASE "-O2")
31- set(CMAKE_C_FLAGS_DEBUG "-O0 -g3")
32 set(CMAKE_C_FLAGS_COVERAGE "-O0 -g3 --coverage")
33 set(CMAKE_C_FLAGS_ASAN "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O3")
34 set(CMAKE_C_FLAGS_ASANDBG "-fsanitize=address -fno-common -fsanitize=undefined -fno-sanitize-recover=all -O1 -g3 -fno-omit-frame-pointer -fno-optimize-sibling-calls")
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch
deleted file mode 100644
index bd4276193d..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From a797b79483940ed4adcaa5fe2c40dd0487c7c2c7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 11:39:08 -0700
4Subject: [PATCH 4/5] Use correct type to store return from flb_kv_item_create
5
6Fix
7error: incompatible pointer to integer conversion assigning to 'int' from 'struct flb_kv *'
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 plugins/out_stackdriver/stackdriver_conf.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/plugins/out_stackdriver/stackdriver_conf.c b/plugins/out_stackdriver/stackdriver_conf.c
17index a9a8eb0..e4f969e 100644
18--- a/plugins/out_stackdriver/stackdriver_conf.c
19+++ b/plugins/out_stackdriver/stackdriver_conf.c
20@@ -176,12 +176,12 @@ static int read_credentials_file(const char *cred_file, struct flb_stackdriver *
21
22 static int parse_configuration_labels(struct flb_stackdriver *ctx)
23 {
24- int ret;
25 char *p;
26 flb_sds_t key;
27 flb_sds_t val;
28 struct mk_list *head;
29 struct flb_slist_entry *entry;
30+ struct flb_kv *ret;
31 msgpack_object_kv *kv = NULL;
32
33 if (ctx->labels) {
34@@ -216,7 +216,7 @@ static int parse_configuration_labels(struct flb_stackdriver *ctx)
35 flb_sds_destroy(key);
36 flb_sds_destroy(val);
37
38- if (ret == -1) {
39+ if (!ret) {
40 return -1;
41 }
42 }
43--
442.37.1
45
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-build-Make-systemd-init-systemd-detection-contingent.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-build-Make-systemd-init-systemd-detection-contingent.patch
deleted file mode 100644
index f6e3dce2f3..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0004-build-Make-systemd-init-systemd-detection-contingent.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 7a792624925d46690c1f07fe4b194b5f4c510db6 Mon Sep 17 00:00:00 2001
2From: Paulo Neves <ptsneves@gmail.com>
3Date: Tue, 2 Aug 2022 09:57:05 +0200
4Subject: [PATCH 1/1] build: Make systemd init systemd detection contingent on
5 pkgconfig
6
7Use pkg-config to get systemd.pc variables and systemdunitdir. Those
8variable ensure that .service files are installed in the correct paths
9and only when systemd is detected.
10
11Upstream-Status: Pending [https://github.com/fluent/fluent-bit/pull/5818]
12
13---
14 cmake/FindJournald.cmake | 4 ++++
15 src/CMakeLists.txt | 4 ++--
16 2 files changed, 6 insertions(+), 2 deletions(-)
17
18diff --git a/cmake/FindJournald.cmake b/cmake/FindJournald.cmake
19index f5a3a832b..9e6657a29 100644
20--- a/cmake/FindJournald.cmake
21+++ b/cmake/FindJournald.cmake
22@@ -5,6 +5,8 @@
23 # JOURNALD_INCLUDE_DIR - the Journald include directory
24 # JOURNALD_LIBRARIES - Link these to use Journald
25 # JOURNALD_DEFINITIONS - Compiler switches required for using Journald
26+# SYSTEMD_UNITDIR - The systemd units' directory
27+#
28 # Redistribution and use is allowed according to the terms of the BSD license.
29 # For details see the accompanying COPYING-CMAKE-SCRIPTS file.
30 #
31@@ -16,7 +18,9 @@
32 # in the FIND_PATH() and FIND_LIBRARY() calls
33 find_package(PkgConfig)
34 pkg_check_modules(PC_JOURNALD QUIET systemd)
35+pkg_get_variable(PC_SYSTEMD_UNITDIR systemd "systemdsystemunitdir")
36
37+set(SYSTEMD_UNITDIR ${PC_SYSTEMD_UNITDIR})
38 set(JOURNALD_FOUND ${PC_JOURNALD_FOUND})
39 set(JOURNALD_DEFINITIONS ${PC_JOURNALD_CFLAGS_OTHER})
40
41diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
42index 522bbf9bd..30743d8d6 100644
43--- a/src/CMakeLists.txt
44+++ b/src/CMakeLists.txt
45@@ -480,13 +480,13 @@ if(FLB_BINARY)
46 endif()
47
48 # Detect init system, install upstart, systemd or init.d script
49- if(IS_DIRECTORY /lib/systemd/system)
50+ if(DEFINED SYSTEMD_UNITDIR)
51 set(FLB_SYSTEMD_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.service")
52 configure_file(
53 "${PROJECT_SOURCE_DIR}/init/systemd.in"
54 ${FLB_SYSTEMD_SCRIPT}
55 )
56- install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION /lib/systemd/system)
57+ install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR})
58 install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary)
59 elseif(IS_DIRECTORY /usr/share/upstart)
60 set(FLB_UPSTART_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.conf")
61--
622.25.1
63
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-chunkio-Link-with-fts-library-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch
index bdcc534964..c34a0ba71d 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0002-chunkio-Link-with-fts-library-with-musl.patch
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0004-chunkio-Link-with-fts-library-with-musl.patch
@@ -1,7 +1,7 @@
1From 63dbbad5978e5f5b0e7d42614999cb6b4ebcce10 Mon Sep 17 00:00:00 2001 1From a07df56092e529627db0946c025cb4964567280c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 10 Aug 2022 01:27:16 -0700 3Date: Wed, 10 Aug 2022 01:27:16 -0700
4Subject: [PATCH 2/2] chunkio: Link with fts library with musl 4Subject: [PATCH] chunkio: Link with fts library with musl
5 5
6Fixes 6Fixes
7cio_utils.c:(.text+0x64): undefined reference to `fts_read' 7cio_utils.c:(.text+0x64): undefined reference to `fts_read'
@@ -14,10 +14,10 @@ Upstream-Status: Pending
14 1 file changed, 1 insertion(+) 14 1 file changed, 1 insertion(+)
15 15
16diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt 16diff --git a/lib/chunkio/src/CMakeLists.txt b/lib/chunkio/src/CMakeLists.txt
17index a4fc2d3..4244eb8 100644 17index bb52273d4..524500919 100644
18--- a/lib/chunkio/src/CMakeLists.txt 18--- a/lib/chunkio/src/CMakeLists.txt
19+++ b/lib/chunkio/src/CMakeLists.txt 19+++ b/lib/chunkio/src/CMakeLists.txt
20@@ -13,6 +13,7 @@ set(src 20@@ -14,6 +14,7 @@ set(src
21 ) 21 )
22 22
23 set(libs cio-crc32) 23 set(libs cio-crc32)
@@ -25,6 +25,3 @@ index a4fc2d3..4244eb8 100644
25 25
26 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows") 26 if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
27 set(src 27 set(src
28--
292.37.1
30
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch
new file mode 100644
index 0000000000..281bf66fb9
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit/0005-Use-posix-strerror_r-with-musl.patch
@@ -0,0 +1,31 @@
1From 0c4310483875509f464883fa345f54e0d3ae25a5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 10 Aug 2022 01:23:48 -0700
4Subject: [PATCH] Use posix strerror_r with musl
5
6Default with glibc is GNU extention of strerror_r
7where as musl uses posix variant, call that out
8
9Upstream-Status: Inappropriate [Need wider porting beyond linux/musl/glibc]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12Resolved conflicts while upgrading recipe from v1.9.9 to v3.1.9.
13
14Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
15---
16 src/flb_network.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/src/flb_network.c b/src/flb_network.c
20index 8f8ca33f6..dd098a2ea 100644
21--- a/src/flb_network.c
22+++ b/src/flb_network.c
23@@ -605,7 +605,7 @@ static int net_connect_async(int fd,
24 /* Connection is broken, not much to do here */
25 #if ((defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 200112L) || \
26 (defined(_XOPEN_SOURCE) || _XOPEN_SOURCE - 0L >= 600L)) && \
27- (!defined(_GNU_SOURCE))
28+ (!defined(_GNU_SOURCE)) || (!defined(__GLIBC__))
29 ret = strerror_r(error, so_error_buf, sizeof(so_error_buf));
30 if (ret == 0) {
31 str = so_error_buf;
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0005-stackdriver-Fix-return-type-mismatch.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0005-stackdriver-Fix-return-type-mismatch.patch
deleted file mode 100644
index f023ab5732..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0005-stackdriver-Fix-return-type-mismatch.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 27f0bd5a3339612e03112e6b490900a9fabc3337 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 11:44:25 -0700
4Subject: [PATCH 5/5] stackdriver: Fix return type mismatch
5
6Fix
7error: incompatible integer to pointer conversion returning 'int' from a function with result type 'flb_sds_t' (aka 'char *') [-Wint-conversion]
8 return -1;
9 ^~
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13Upstream-Status: Pending
14
15 plugins/out_stackdriver/stackdriver.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/plugins/out_stackdriver/stackdriver.c b/plugins/out_stackdriver/stackdriver.c
19index ae66bf2..e01755c 100644
20--- a/plugins/out_stackdriver/stackdriver.c
21+++ b/plugins/out_stackdriver/stackdriver.c
22@@ -2033,7 +2033,7 @@ static flb_sds_t stackdriver_format(struct flb_stackdriver *ctx,
23 flb_sds_destroy(operation_producer);
24 msgpack_unpacked_destroy(&result);
25 msgpack_sbuffer_destroy(&mp_sbuf);
26- return -1;
27+ return NULL;
28 }
29
30 /* Number of parsed labels */
31--
322.37.1
33
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0006-monkey-Fix-TLS-detection-testcase.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0006-monkey-Fix-TLS-detection-testcase.patch
deleted file mode 100644
index c3f2574d26..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0006-monkey-Fix-TLS-detection-testcase.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From f88d9b82e8bd8ae38fba666b5825ffb41769f81a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 12:25:22 -0700
4Subject: [PATCH] monkey: Fix TLS detection testcase
5
6Clang15 errors out on compiling the check and disables TLS
7
8Fixes errors like
9
10error: call to undeclared function '__tls_get_addr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
11 __tls_get_addr(0);
12 ^
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16Upstream-Status: Pending
17
18 lib/monkey/CMakeLists.txt | 2 ++
19 1 file changed, 2 insertions(+)
20
21diff --git a/lib/monkey/CMakeLists.txt b/lib/monkey/CMakeLists.txt
22index 15e62e8..96ac2bd 100644
23--- a/lib/monkey/CMakeLists.txt
24+++ b/lib/monkey/CMakeLists.txt
25@@ -178,6 +178,8 @@ endif()
26 # Use old Pthread TLS
27 if(NOT MK_PTHREAD_TLS)
28 check_c_source_compiles("
29+ #include <sys/types.h>
30+ extern void *__tls_get_addr(size_t *v);
31 __thread int a;
32 int main() {
33 __tls_get_addr(0);
34--
352.37.1
36
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch b/meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch
deleted file mode 100644
index 71bdd34eeb..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0007-cmake-Do-not-check-for-upstart-on-build-host.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From c41653e856d05ed430d22f8b311714ff756a0e0b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 23 Mar 2023 18:05:27 -0700
4Subject: [PATCH] cmake: Do not check for upstart on build host
5
6Some ubuntu distros might have this directory /usr/share/upstart around
7and yocto based distros not using systemd will process this piece of
8code and falsely assume that target supports upstart, which may not be
9true in case of cross-compilation.
10
11This also can end up in configure errors e.g.
12
13| CMake Error at src/CMakeLists.txt:496 (install):
14| install DIRECTORY given unknown argument "/etc/td-agent-bit/".
15|
16|
17| -- Configuring incomplete, errors occurred!
18
19Upstream-Status: Inappropriate [ Cross-compile Specific ]
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21---
22 src/CMakeLists.txt | 8 --------
23 1 file changed, 8 deletions(-)
24
25diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
26index bb30b2a..c63b6d8 100644
27--- a/src/CMakeLists.txt
28+++ b/src/CMakeLists.txt
29@@ -486,14 +486,6 @@ if(FLB_BINARY)
30 )
31 install(FILES ${FLB_SYSTEMD_SCRIPT} COMPONENT binary DESTINATION ${SYSTEMD_UNITDIR})
32 install(DIRECTORY DESTINATION ${FLB_INSTALL_CONFDIR} COMPONENT binary)
33- elseif(IS_DIRECTORY /usr/share/upstart)
34- set(FLB_UPSTART_SCRIPT "${PROJECT_SOURCE_DIR}/init/${FLB_OUT_NAME}.conf")
35- configure_file(
36- "${PROJECT_SOURCE_DIR}/init/upstart.in"
37- ${FLB_UPSTART_SCRIPT}
38- )
39- install(FILES ${FLB_UPSTART_SCRIPT} COMPONENT binary DESTINATION /etc/init)
40- install(DIRECTORY DESTINATION COMPONENT binary ${FLB_INSTALL_CONFDIR})
41 else()
42 # FIXME: should we support Sysv init script ?
43 endif()
44--
452.40.0
46
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb
deleted file mode 100644
index ef04111131..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.9.bb
+++ /dev/null
@@ -1,95 +0,0 @@
1SUMMARY = "Fast Log processor and Forwarder"
2DESCRIPTION = "Fluent Bit is a data collector, processor and \
3forwarder for Linux. It supports several input sources and \
4backends (destinations) for your data. \
5"
6
7HOMEPAGE = "http://fluentbit.io"
8BUGTRACKER = "https://github.com/fluent/fluent-bit/issues"
9
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
12SECTION = "net"
13
14SRC_URI = "https://releases.fluentbit.io/1.9/source-${PV}.tar.gz;subdir=fluent-bit-${PV};downloadfilename=${BPN}-${PV}.tar.gz \
15 file://0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch \
16 file://0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch \
17 file://0003-mbedtls-Do-not-overwrite-CFLAGS.patch \
18 file://0004-build-Make-systemd-init-systemd-detection-contingent.patch \
19 file://0001-monkey-Define-_GNU_SOURCE-for-memmem-API-check.patch \
20 file://0002-mbedtls-Remove-unused-variable.patch \
21 file://0003-mbedtls-Disable-documentation-warning-as-error-with-.patch \
22 file://0004-Use-correct-type-to-store-return-from-flb_kv_item_cr.patch \
23 file://0005-stackdriver-Fix-return-type-mismatch.patch \
24 file://0006-monkey-Fix-TLS-detection-testcase.patch \
25 file://0007-cmake-Do-not-check-for-upstart-on-build-host.patch \
26 "
27SRC_URI:remove:x86 = "file://0002-mbedtls-Remove-unused-variable.patch"
28SRC_URI:append:libc-musl = "\
29 file://0001-Use-posix-strerror_r-with-musl.patch \
30 file://0002-chunkio-Link-with-fts-library-with-musl.patch \
31 "
32SRC_URI[sha256sum] = "3f6cd4bd1894cda16b465aef6ffec7e920d54c4209b3e2320fcffe7ae345700e"
33S = "${WORKDIR}/fluent-bit-${PV}"
34
35DEPENDS = "zlib bison-native flex-native openssl"
36DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
37
38PACKAGECONFIG[yaml] = "-DFLB_CONFIG_YAML=On,-DFLB_CONFIG_YAML=Off,libyaml"
39PACKAGECONFIG[kafka] = "-DFLB_OUT_KAFKA=On,-DFLB_OUT_KAFKA=Off,librdkafka"
40PACKAGECONFIG[examples] = "-DFLB_EXAMPLES=On,-DFLB_EXAMPLES=Off"
41PACKAGECONFIG[jemalloc] = "-DFLB_JEMALLOC=On,-DFLB_JEMALLOC=Off,jemalloc"
42#TODO add more fluentbit options to PACKAGECONFIG[]
43
44DEPENDS:append:libc-musl = " fts "
45
46# flex hardcodes the input file in #line directives leading to TMPDIR contamination of debug sources.
47do_compile:append() {
48 find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 's|${TMPDIR}|${TARGET_DBGSRC_DIR}/|g'
49}
50
51PACKAGECONFIG ?= "yaml"
52
53LTO = ""
54
55# Use CMake 'Unix Makefiles' generator
56OECMAKE_GENERATOR ?= "Unix Makefiles"
57
58# Fluent Bit build options
59# ========================
60
61# Host related setup
62EXTRA_OECMAKE += "-DGNU_HOST=${HOST_SYS} -DFLB_TD=1"
63
64# Disable LuaJIT and filter_lua support
65EXTRA_OECMAKE += "-DFLB_LUAJIT=Off -DFLB_FILTER_LUA=Off "
66
67# Disable Library and examples
68EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off"
69
70# Enable systemd iff systemd is in DISTRO_FEATURES
71EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES','systemd','-DFLB_SYSTEMD=On','-DFLB_SYSTEMD=Off',d)}"
72
73# Enable release builds
74EXTRA_OECMAKE += "-DFLB_RELEASE=On"
75
76# musl needs these options
77EXTRA_OECMAKE:append:libc-musl = ' -DFLB_JEMALLOC_OPTIONS="--with-jemalloc-prefix=je_ --with-lg-quantum=3" -DFLB_CORO_STACK_SIZE=24576'
78
79EXTRA_OECMAKE:append:riscv64 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
80EXTRA_OECMAKE:append:riscv32 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
81EXTRA_OECMAKE:append:mips = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
82EXTRA_OECMAKE:append:powerpc = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
83EXTRA_OECMAKE:append:x86 = " -DCMAKE_C_STANDARD_LIBRARIES=-latomic"
84
85CFLAGS:append:x86 = " -DMBEDTLS_HAVE_SSE2"
86
87# Fixes build with GCC-14
88CFLAGS += "-Wno-error=incompatible-pointer-types"
89
90inherit cmake systemd pkgconfig
91
92SYSTEMD_SERVICE:${PN} = "td-agent-bit.service"
93
94EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
95TARGET_CC_ARCH += " ${SELECTED_OPTIMIZATION}"
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
new file mode 100644
index 0000000000..05e4fd937f
--- /dev/null
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_4.0.1.bb
@@ -0,0 +1,151 @@
1SUMMARY = "Fast Log Processor and Forwarder"
2DESCRIPTION = "Fluent Bit allows to collect log events or metrics from \
3different sources, process them and deliver them to different backends \
4such as Fluentd, Elasticsearch, Splunk, DataDog, Kafka, New Relic, Azure \
5services, AWS services, Google services, NATS, InfluxDB or any custom \
6HTTP end-point."
7HOMEPAGE = "http://fluentbit.io"
8BUGTRACKER = "https://github.com/fluent/fluent-bit/issues"
9SECTION = "net"
10LICENSE = "Apache-2.0"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
12DEPENDS = "\
13 bison-native \
14 flex-native \
15 openssl \
16 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
17"
18DEPENDS:append:libc-musl = " fts"
19
20SRCREV = "b12e507090273576d1156342780c7c6d358fa579"
21SRC_URI = "\
22 git://github.com/fluent/fluent-bit.git;branch=master;protocol=https \
23 file://0001-lib-Do-not-use-private-makefile-targets-in-CMakelist.patch \
24 file://0002-flb_info.h.in-Do-not-hardcode-compilation-directorie.patch \
25 file://0003-CMakeLists.txt-Revise-init-manager-deduction.patch \
26"
27SRC_URI:append:libc-musl = "\
28 file://0004-chunkio-Link-with-fts-library-with-musl.patch \
29 file://0005-Use-posix-strerror_r-with-musl.patch \
30"
31
32# prefix tag with "v" to avoid upgrade to random tags like "20220215"
33UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
34
35
36PACKAGECONFIG ??= "\
37 aws \
38 binary \
39 config-yaml \
40 custom-calyptia \
41 http-server \
42 inotify \
43 ipo \
44 metrics \
45 parser \
46 prefer-system-libs \
47 profiles \
48 proxy-go \
49 record-accessor \
50 regex \
51 signv4 \
52 sqldb \
53 stream-processor \
54 tls \
55 utf8-encoder \
56"
57# See https://github.com/fluent/fluent-bit/issues/7248#issuecomment-1631280496
58PACKAGECONFIG:remove:toolchain-clang = "ipo"
59
60# Use system libs
61PACKAGECONFIG[prefer-system-libs] = "-DFLB_PREFER_SYSTEM_LIBS=Yes,-DFLB_PREFER_SYSTEM_LIBS=No, nghttp2 c-ares"
62DEPENDS += " ${@bb.utils.contains('PACKAGECONFIG', 'prefer-system-libs backtrace', 'libbacktrace', '', d)}"
63DEPENDS += " ${@bb.utils.contains('PACKAGECONFIG', 'prefer-system-libs jemalloc', 'jemalloc', '', d)}"
64DEPENDS += " ${@bb.utils.contains('PACKAGECONFIG', 'prefer-system-libs luajit', 'luajit', '', d)}"
65
66PACKAGECONFIG[all] = "-DFLB_ALL=Yes,-DFLB_ALL=No"
67PACKAGECONFIG[arrow] = "-DFLB_ARROW=Yes,-DFLB_ARROW=No"
68PACKAGECONFIG[avro-encoder] = "-DFLB_AVRO_ENCODER=Yes,-DFLB_AVRO_ENCODER=No"
69PACKAGECONFIG[aws-error-reporter] = "-DFLB_AWS_ERROR_REPORTER=Yes,-DFLB_AWS_ERROR_REPORTER=No"
70PACKAGECONFIG[aws] = "-DFLB_AWS=Yes,-DFLB_AWS=No"
71PACKAGECONFIG[backtrace] = "-DFLB_BACKTRACE=Yes,-DFLB_BACKTRACE=No"
72PACKAGECONFIG[binary] = "-DFLB_BINARY=Yes,-DFLB_BINARY=No"
73PACKAGECONFIG[chunk-trace] = "-DFLB_CHUNK_TRACE=Yes,-DFLB_CHUNK_TRACE=No"
74PACKAGECONFIG[config-yaml] = "-DFLB_CONFIG_YAML=Yes,-DFLB_CONFIG_YAML=No,libyaml"
75PACKAGECONFIG[custom-calyptia] = "-DFLB_CUSTOM_CALYPTIA=Yes,-DFLB_CUSTOM_CALYPTIA=No"
76PACKAGECONFIG[enforce-alignment] = "-DFLB_ENFORCE_ALIGNMENT=Yes,-DFLB_ENFORCE_ALIGNMENT=No"
77PACKAGECONFIG[examples] = "-DFLB_EXAMPLES=Yes,-DFLB_EXAMPLES=No"
78PACKAGECONFIG[http-client-debug] = "-DFLB_HTTP_CLIENT_DEBUG=Yes,-DFLB_HTTP_CLIENT_DEBUG=No"
79PACKAGECONFIG[http-server] = "-DFLB_HTTP_SERVER=Yes,-DFLB_HTTP_SERVER=No"
80PACKAGECONFIG[inotify] = "-DFLB_INOTIFY=Yes,-DFLB_INOTIFY=No"
81PACKAGECONFIG[ipo] = "-DFLB_IPO=Yes,-DFLB_IPO=no"
82PACKAGECONFIG[jemalloc] = "-DFLB_JEMALLOC=Yes,-DFLB_JEMALLOC=No,jemalloc"
83PACKAGECONFIG[luajit] = "-DFLB_LUAJIT=Yes,-DFLB_LUAJIT=No"
84PACKAGECONFIG[metrics] = "-DFLB_METRICS=Yes,-DFLB_METRICS=No"
85PACKAGECONFIG[mtrace] = "-DFLB_MTRACE=Yes,-DFLB_MTRACE=No"
86PACKAGECONFIG[parser] = "-DFLB_PARSER=Yes,-DFLB_PARSER=No"
87PACKAGECONFIG[posix-tls] = "-DFLB_POSIX_TLS=Yes,-DFLB_POSIX_TLS=No"
88PACKAGECONFIG[profiles] = "-DFLB_PROFILES=Yes,-DFLB_PROFILES=No"
89PACKAGECONFIG[proxy-go] = "-DFLB_PROXY_GO=Yes,-DFLB_PROXY_GO=No"
90PACKAGECONFIG[record-accessor] = "-DFLB_RECORD_ACCESSOR=Yes,-DFLB_RECORD_ACCESSOR=No"
91PACKAGECONFIG[regex] = "-DFLB_REGEX=Yes,-DFLB_REGEX=No"
92PACKAGECONFIG[run-ldconfig] = "-DFLB_RUN_LDCONFIG=Yes,-DFLB_RUN_LDCONFIG=No"
93PACKAGECONFIG[shared-lib] = "-DFLB_SHARED_LIB=Yes,-DFLB_SHARED_LIB=No"
94PACKAGECONFIG[signv4] = "-DFLB_SIGNV4=Yes,-DFLB_SIGNV4=No"
95PACKAGECONFIG[sqldb] = "-DFLB_SQLDB=Yes,-DFLB_SQLDB=No"
96PACKAGECONFIG[stream-processor] = "-DFLB_STREAM_PROCESSOR=Yes,-DFLB_STREAM_PROCESSOR=No"
97PACKAGECONFIG[tests-runtime] = "-DFLB_TESTS_RUNTIME=Yes,-DFLB_TESTS_RUNTIME=No"
98PACKAGECONFIG[tls] = "-DFLB_TLS=Yes,-DFLB_TLS=No"
99PACKAGECONFIG[trace] = "-DFLB_TRACE=Yes,-DFLB_TRACE=No"
100PACKAGECONFIG[utf8-encoder] = "-DFLB_UTF8_ENCODER=Yes,-DFLB_UTF8_ENCODER=No"
101PACKAGECONFIG[valgrind] = "-DFLB_VALGRIND=Yes,-DFLB_VALGRIND=No,valgrind"
102PACKAGECONFIG[wamrc] = "-DFLB_WAMRC=Yes,-DFLB_WAMRC=No"
103PACKAGECONFIG[wasm-stack-protect] = "-DFLB_WASM_STACK_PROTECT=Yes,-DFLB_WASM_STACK_PROTECT=No"
104PACKAGECONFIG[wasm] = "-DFLB_WASM=Yes,-DFLB_WASM=No"
105PACKAGECONFIG[windows-defaults] = "-DFLB_WINDOWS_DEFAULTS=Yes,-DFLB_WINDOWS_DEFAULTS=No"
106
107# Option to disable all Fluent Bit plugins by default. See cmake/plugins_options.cmake which
108# individual plugins then to enable (e.g. using EXTRA_OECMAKE:append = " -DFLB_FOOBAR=ON")
109PACKAGECONFIG[minimal] = "-DFLB_MINIMAL=Yes,-DFLB_MINIMAL=No"
110
111PACKAGECONFIG[in-kafka] = "-DFLB_KAFKA=ON -DFLB_IN_KAFKA=ON,-DFLB_KAFKA=OFF -DFLB_IN_KAFKA=OFF,librdkafka curl"
112PACKAGECONFIG[out-kafka] = "-DFLB_KAFKA=ON -DFLB_OUT_KAFKA=ON,-DFLB_KAFKA=OFF -DFLB_OUT_KAFKA=OFF,librdkafka curl"
113
114SYSTEMD_SERVICE:${PN} = "fluent-bit.service"
115
116inherit cmake systemd pkgconfig
117
118# disable manipulation of compiler flags and CMAKE_BUILD_TYPE
119# release and coverage are off by default, disable also debug
120EXTRA_OECMAKE += "-DFLB_DEBUG=No"
121
122FULL_OPTIMIZATION:remove = "${@'-O2' if bb.data.inherits_class('clang', d) else ''}"
123TARGET_CC_ARCH += "${SELECTED_OPTIMIZATION}"
124TARGET_CC_ARCH:remove = "-D_FORTIFY_SOURCE=2"
125EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
126
127SECURITY_STRINGFORMAT:remove = "${@bb.utils.contains('PACKAGECONFIG', 'aws-error-reporter', '-Werror=format-security', '', d)}"
128
129# GCC-15 uses C23 std and it does not yet compile with C23
130CFLAGS += "-std=gnu17"
131# 64bit atomics builtins do not exist in compiler on these arches
132LDFLAGS:append:mips = " -latomic"
133LDFLAGS:append:powerpc = " -latomic"
134LDFLAGS:append:riscv32 = " -latomic"
135LDFLAGS:append:riscv64 = " -latomic"
136LDFLAGS:append:x86 = " -latomic"
137
138do_configure:prepend() {
139 sed -i \
140 -e 's#@INIT_MANAGER_IS_SYSTEMD@#'${@'TRUE' if d.getVar('INIT_MANAGER') == 'systemd' else 'FALSE'}'#' \
141 -e 's#@INIT_MANAGER_IS_UPSTART@#'${@'TRUE' if d.getVar('INIT_MANAGER') == 'upstart' else 'FALSE'}'#' \
142 ${S}/src/CMakeLists.txt
143}
144
145# flex hardcodes the input file in #line directives leading to TMPDIR contamination of debug sources.
146do_compile:append() {
147 find ${B} -name '*.c' -or -name '*.h' | xargs sed -i -e 's|${TMPDIR}|${TARGET_DBGSRC_DIR}/|g'
148}
149
150# needed for shared-lib package config
151FILES:${PN} += "${libdir}/fluent-bit"
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb b/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb
index a293048a21..679b1a7e98 100644
--- a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb
+++ b/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb
@@ -5,11 +5,10 @@ HOMEPAGE = "http://www.gnuplot.info/"
5SECTION = "console/scientific" 5SECTION = "console/scientific"
6LICENSE = "gnuplot" 6LICENSE = "gnuplot"
7LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" 7LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
8DEPENDS = "${BPN}-native virtual/libx11 gd readline" 8DEPENDS = "${BPN}-native gd readline"
9 9
10inherit autotools features_check pkgconfig 10inherit autotools pkgconfig
11# depends on virtual/libx11 11# depends on virtual/libx11
12REQUIRED_DISTRO_FEATURES = "x11"
13 12
14SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \ 13SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \
15 http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \ 14 http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \
@@ -38,10 +37,11 @@ do_install:class-native() {
38 rm ${D}${bindir}/*.o 37 rm ${D}${bindir}/*.o
39} 38}
40 39
41PACKAGECONFIG ??= "cairo" 40PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
42PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" 41PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
43PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" 42PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua"
44PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native" 43PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native"
44PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11"
45 45
46EXTRA_OECONF = " \ 46EXTRA_OECONF = " \
47 --with-readline=${STAGING_LIBDIR}/.. \ 47 --with-readline=${STAGING_LIBDIR}/.. \
diff --git a/meta-oe/recipes-extended/haveged/haveged_1.9.18.bb b/meta-oe/recipes-extended/haveged/haveged_1.9.19.bb
index 97c354aba8..69de5628c4 100644
--- a/meta-oe/recipes-extended/haveged/haveged_1.9.18.bb
+++ b/meta-oe/recipes-extended/haveged/haveged_1.9.19.bb
@@ -4,13 +4,11 @@ DESCRIPTION = "The haveged project is an attempt to provide an easy-to-use, unpr
4HOMEPAGE = "https://www.issihosts.com/haveged/index.html" 4HOMEPAGE = "https://www.issihosts.com/haveged/index.html"
5 5
6LICENSE = "GPL-3.0-only" 6LICENSE = "GPL-3.0-only"
7LIC_FILES_CHKSUM="file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8 8
9# v1.9.17 9SRCREV = "0ef7dd915ee8be4ca2bb10b5cc2bee92b8ede61d"
10SRCREV = "80ee9289569bc13efff4e0b5db3661cb513802b2"
11SRC_URI = "git://github.com/jirka-h/haveged.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/jirka-h/haveged.git;branch=master;protocol=https \
12" 11"
13S = "${WORKDIR}/git"
14 12
15UPSTREAM_CHECK_URI = "https://github.com/jirka-h/haveged/releases" 13UPSTREAM_CHECK_URI = "https://github.com/jirka-h/haveged/releases"
16 14
diff --git a/meta-oe/recipes-extended/hexedit/hexedit_1.6.bb b/meta-oe/recipes-extended/hexedit/hexedit_1.6.bb
index d2b23b41b4..2299d55b2b 100644
--- a/meta-oe/recipes-extended/hexedit/hexedit_1.6.bb
+++ b/meta-oe/recipes-extended/hexedit/hexedit_1.6.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/pixel/hexedit.git;branch=master;protocol=https \
11 11
12SRCREV = "eab92dcaa34b66bc5182772afc9fda4ac8a27597" 12SRCREV = "eab92dcaa34b66bc5182772afc9fda4ac8a27597"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit autotools-brokensep update-alternatives 15inherit autotools-brokensep update-alternatives
17 16
diff --git a/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch b/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
new file mode 100644
index 0000000000..ecc9c441c5
--- /dev/null
+++ b/meta-oe/recipes-extended/highway/highway/0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch
@@ -0,0 +1,75 @@
1From b06541a75043c9a8213187fca942a0270783bd0e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 17 Sep 2024 18:22:36 +0000
4Subject: [PATCH] Add cmake check for deducing 32bit or 64bit RISCV
5
6Currently its only compilable for RV64 when RVV is
7enabled, this will extend it to build for RV32 with
8RVV as well
9
10Upstream-Status: Submitted [https://github.com/google/highway/pull/2330]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 CMakeLists.txt | 38 +++++++++++++++++++++++++++++++++++---
14 1 file changed, 35 insertions(+), 3 deletions(-)
15
16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt
18@@ -59,6 +59,33 @@ if(CHECK_PIE_SUPPORTED)
19 endif()
20 endif()
21
22+if (CMAKE_CXX_COMPILER_ARCHITECTURE_ID MATCHES "RISCV32|RISCV64|RISCV128" OR CMAKE_SYSTEM_PROCESSOR MATCHES "riscv32|riscv64|riscv128")
23+ include(CheckCSourceCompiles)
24+ check_c_source_compiles("
25+ #if __riscv_xlen == 64
26+ int main() { return 0; }
27+ #else
28+ #error Not RISCV-64
29+ #endif
30+ " IS_RISCV_XLEN_64)
31+
32+ check_c_source_compiles("
33+ #if __riscv_xlen == 32
34+ int main() { return 0; }
35+ #else
36+ #error Not RISCV-32
37+ #endif
38+ " IS_RISCV_XLEN_32)
39+
40+ if(IS_RISCV_XLEN_32)
41+ set(RISCV_XLEN 32)
42+ elseif(IS_RISCV_XLEN_64)
43+ set(RISCV_XLEN 64)
44+ else()
45+ message(WARNING "Unable to determine RISC-V XLEN")
46+ endif()
47+endif()
48+
49 include(GNUInstallDirs)
50
51 if (NOT CMAKE_BUILD_TYPE)
52@@ -72,7 +99,7 @@ set(HWY_CMAKE_ARM7 OFF CACHE BOOL "Set c
53 # skipped. For GCC 13.1+, you can also build with -fexcess-precision=standard.
54 set(HWY_CMAKE_SSE2 OFF CACHE BOOL "Set SSE2 as baseline for 32-bit x86?")
55
56-# Currently this will compile the entire codebase with `-march=rv64gcv1p0`:
57+# Currently this will compile the entire codebase with `-march=rv<XLEN>gcv1p0`:
58 set(HWY_CMAKE_RVV ON CACHE BOOL "Set copts for RISCV with RVV?")
59
60 # Unconditionally adding -Werror risks breaking the build when new warnings
61@@ -378,7 +405,13 @@ else()
62 # we add the gcv compiler flag, which then requires the CPU (now when using
63 # either compiler) to support V.
64 if(HWY_CMAKE_RVV)
65- list(APPEND HWY_FLAGS -march=rv64gcv1p0)
66+ if(RISCV_XLEN EQUAL 64)
67+ list(APPEND HWY_FLAGS -march=rv64gcv1p0)
68+ add_link_options(-march=rv64gcv1p0)
69+ elseif(RISCV_XLEN EQUAL 32)
70+ list(APPEND HWY_FLAGS -march=rv32gcv1p0)
71+ add_link_options(-march=rv32gcv1p0)
72+ endif()
73 if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
74 list(APPEND HWY_FLAGS -menable-experimental-extensions)
75 endif()
diff --git a/meta-oe/recipes-extended/highway/highway_1.2.0.bb b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
index 5d74941245..ea38310398 100644
--- a/meta-oe/recipes-extended/highway/highway_1.2.0.bb
+++ b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
@@ -6,12 +6,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2b42edef8fa55315f34f2370b4715ca9"
6 6
7inherit cmake 7inherit cmake
8 8
9SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master" 9SRC_URI = "git://github.com/google/highway.git;protocol=https;branch=master \
10 file://0001-Add-cmake-check-for-deducing-32bit-or-64bit-RISCV.patch"
10 11
11SRCREV = "457c891775a7397bdb0376bb1031e6e027af1c48" 12SRCREV = "457c891775a7397bdb0376bb1031e6e027af1c48"
12S = "${WORKDIR}/git"
13 13
14EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release" 14EXTRA_OECMAKE = "-DBUILD_TESTING=0 -DCMAKE_BUILD_TYPE=Release"
15
15CXXFLAGS:append:arm = " -mfp16-format=ieee" 16CXXFLAGS:append:arm = " -mfp16-format=ieee"
16# Option not supported with clang and its default format for __fp16 anyway with clang 17# Option not supported with clang and its default format for __fp16 anyway with clang
17CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee" 18CXXFLAGS:remove:toolchain-clang = "-mfp16-format=ieee"
diff --git a/meta-oe/recipes-extended/hiredis/hiredis/run-ptest b/meta-oe/recipes-extended/hiredis/hiredis/run-ptest
index 8d450b881f..8b352c3401 100644
--- a/meta-oe/recipes-extended/hiredis/hiredis/run-ptest
+++ b/meta-oe/recipes-extended/hiredis/hiredis/run-ptest
@@ -2,17 +2,17 @@
2 2
3TEST_SSL=0 TEST_ASYNC=0 ./test.sh | sed -e 's/PASSED/PASS/g' -e 's/FAILED/FAIL/g' -e 's/SKIPPED/SKIP/g' | awk ' 3TEST_SSL=0 TEST_ASYNC=0 ./test.sh | sed -e 's/PASSED/PASS/g' -e 's/FAILED/FAIL/g' -e 's/SKIPPED/SKIP/g' | awk '
4{ 4{
5 if ($NF == "\033[0;32mPASS\033[0;0m" || $NF == "\033[0;31mFAIL\033[0;0m" || $NF == "\033[01;33mSKIP\033[0;0m") { 5 gsub(/\x1B\[[0-9;]*m/, "")
6 if ($NF == "PASS" || $NF == "FAIL" || $NF == "SKIP") {
6 printf "%s: %s\n", $NF, $0 7 printf "%s: %s\n", $NF, $0
7 } else { 8 } else {
8 print 9 print
9 } 10 }
10}'| awk '{ 11}' | awk '{
11 if ($NF == "\033[0;32mPASS\033[0;0m" || $NF == "\033[0;31mFAIL\033[0;0m" || $NF == "\033[01;33mSKIP\033[0;0m") { 12 if ($NF == "PASS" || $NF == "FAIL" || $NF == "SKIP") {
12 $NF = "" 13 $NF = ""
13 print $0 14 print $0
14 } else { 15 } else {
15 print 16 print
16 } 17 }
17}' | awk '{gsub(/:/,"",$NF)}1' 18}' | awk '{gsub(/:/,"",$NF)}1'
18
diff --git a/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb b/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb
index d081242736..8678447cf5 100644
--- a/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb
+++ b/meta-oe/recipes-extended/hiredis/hiredis_1.2.0.bb
@@ -10,7 +10,6 @@ SRC_URI = " \
10 " 10 "
11SRCREV = "60e5075d4ac77424809f855ba3e398df7aacefe8" 11SRCREV = "60e5075d4ac77424809f855ba3e398df7aacefe8"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit cmake ptest 14inherit cmake ptest
16 15
@@ -35,5 +34,5 @@ do_install_ptest() {
35 34
36FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build" 35FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build"
37 36
38RDEPENDS:${PN} = "redis" 37RDEPENDS:${PN} = "virtual-redis"
39RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}" 38RDEPENDS:${PN}-ptest = "${@bb.utils.contains('PACKAGECONFIG', 'testssl', 'openssl-bin', '', d)}"
diff --git a/meta-oe/recipes-extended/hplip/hplip/0001-Fix-upstream-CFLAGS-override.patch b/meta-oe/recipes-extended/hplip/hplip/0001-Fix-upstream-CFLAGS-override.patch
new file mode 100644
index 0000000000..c8c892c5e1
--- /dev/null
+++ b/meta-oe/recipes-extended/hplip/hplip/0001-Fix-upstream-CFLAGS-override.patch
@@ -0,0 +1,68 @@
1From 297e517d302469fa27dd96c091021b53f9ac2254 Mon Sep 17 00:00:00 2001
2From: Zdenek Dohnal <zdohnal@redhat.com>
3Date: Fri, 26 Apr 2024 14:17:54 -0600
4Subject: [PATCH] Fix upstream CFLAGS override
5
6Upstream check for python clears OS build system CFLAGS
7
8Upstream-Status: Submitted [https://bugs.launchpad.net/hplip/+bug/1879445]
9---
10 configure.in | 36 +++++++++++++++++++++++-------------
11 1 file changed, 23 insertions(+), 13 deletions(-)
12
13diff --git a/configure.in b/configure.in
14index ebea052..80c4618 100644
15--- a/configure.in
16+++ b/configure.in
17@@ -628,20 +628,31 @@ if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$hpcu
18 fi
19 fi
20
21-SAVE_CPPFLAGS="$CPPFLAGS"
22-CFLAGS=`python-config --includes`
23-if [ $? -eq 0 ]
24-then
25- echo $FLAGS
26-else
27-CFLAGS=`python3-config --includes`
28- if [ $? -eq 0 ]
29- then
30- echo $FLAGS
31- fi
32+AC_PATH_PROG(python3_config_path, python3-config, [AC_MSG_ERROR([python3-config not installed], 6)])
33+
34+PYTHON_INCLUDES=`$python3_config_path --includes`
35+if test "X$PYTHON_INCLUDES" == "X" ; then
36+ AC_MSG_ERROR([Cannot get Python includes via python3-config], 6)
37+fi
38+
39+PYTHON_LIBS=`$python3_config_path --libs`
40+if test "X$PYTHON_LIBS" == "X" ; then
41+ AC_MSG_ERROR([Cannot get Python libs via python3-config], 6)
42+fi
43+
44+SAVE_CFLAGS=$CFLAGS
45+SAVE_LIBS=$LIBS
46+
47+CFLAGS="$CFLAGS $PYTHON_INCLUDES"
48+LIBS="$LIBS $PYTHON_LIBS"
49+
50+AC_TRY_LINK(,[ ], AC_MSG_RESULT(yes); python_includes="ok", AC_MSG_ERROR([no: PYTHON DISABLED], 6))
51+
52+if test "X$python_includes" != "Xok" ; then
53+ CFLAGS="$SAVE_CFLAGS"
54+ LIBS="$SAVE_LIBS"
55 fi
56
57-#CFLAGS=`(python-config --includes)`
58 if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$lite_build" = "no" && test "$hpcups_only_build" = "no"; then
59 AC_ARG_VAR([PYTHON], [Python interpreter/compiler command])
60 AC_CHECK_PROGS(PYTHON,[python python3 python2])
61@@ -664,7 +675,6 @@ if test "$class_driver" = "no" && test "$hpijs_only_build" = "no" && test "$lite
62 AS_IF([test "x$FOUND_HEADER" != "xyes"],
63 [AC_MSG_ERROR([cannot find python-devel support], 6)])
64 fi
65-CFLAGS="$save_CFLAGS"
66
67 if test "$hpijs_only_build" = "no" && test "$scan_build" = "yes" && test "$hpcups_only_build" = "no"; then
68 AC_CHECK_LIB([sane], [sane_open], [LIBS="$LIBS"], [AC_MSG_ERROR([cannot find sane-backends-devel support (or --disable-scan-build)], 12)])
diff --git a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
index be420b4837..ffc18d90c6 100644
--- a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
+++ b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
@@ -1,5 +1,5 @@
1SUMMARY = "HP Linux Imaging and Printing" 1SUMMARY = "HP Linux Imaging and Printing"
2LICENSE="GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=20f2c819499cc2063e9a7b07b408815c" 3LIC_FILES_CHKSUM = "file://COPYING;md5=20f2c819499cc2063e9a7b07b408815c"
4 4
5SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ 5SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
@@ -16,18 +16,16 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
16 file://0005-hp_ipp.c-Add-printf-format-to-snprintf-calls.patch \ 16 file://0005-hp_ipp.c-Add-printf-format-to-snprintf-calls.patch \
17 file://0006-Workaround-patch-for-missing-Python3-transition-of-t.patch \ 17 file://0006-Workaround-patch-for-missing-Python3-transition-of-t.patch \
18 file://0001-Fix-installing-ipp-usb-quirk.patch \ 18 file://0001-Fix-installing-ipp-usb-quirk.patch \
19 file://0001-Drop-using-register-storage-classifier.patch" 19 file://0001-Drop-using-register-storage-classifier.patch \
20 file://0001-Fix-upstream-CFLAGS-override.patch"
20SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624" 21SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1366624"
21 22
23UPSTREAM_CHECK_URI = "https://sourceforge.net/p/hplip/activity"
24
22DEPENDS += "cups python3 libusb1 python3-setuptools-native" 25DEPENDS += "cups python3 libusb1 python3-setuptools-native"
23 26
24inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd 27inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd
25 28
26export STAGING_INCDIR
27export STAGING_LIBDIR
28
29CFLAGS += "-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}${PYTHON_ABI}"
30
31EXTRA_OECONF += "\ 29EXTRA_OECONF += "\
32 --enable-cups-drv-install \ 30 --enable-cups-drv-install \
33 --enable-cups-ppd-install \ 31 --enable-cups-ppd-install \
@@ -74,7 +72,8 @@ RDEPENDS:${PN} += " \
74" 72"
75RDEPENDS:${PN}-filter += "perl ghostscript" 73RDEPENDS:${PN}-filter += "perl ghostscript"
76 74
77FILES:${PN} += "${datadir}/ipp-usb/quirks/HPLIP.conf" 75FILES:${PN} += "${datadir}/ipp-usb/quirks/HPLIP.conf \
76 ${systemd_system_unitdir}/hplip-printer@.service"
78FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la" 77FILES:${PN}-dev += "${PYTHON_SITEPACKAGES_DIR}/*.la"
79FILES:${PN}-ppd = "${datadir}/ppd" 78FILES:${PN}-ppd = "${datadir}/ppd"
80FILES:${PN}-cups = "${datadir}/cups" 79FILES:${PN}-cups = "${datadir}/cups"
@@ -84,6 +83,4 @@ FILES:${PN}-hal = "${datadir}/hal"
84 83
85FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/*.so" 84FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}/*.so"
86 85
87SYSTEMD_SERVICE:${PN} = "hplip-printer@.service"
88
89CLEANBROKEN = "1" 86CLEANBROKEN = "1"
diff --git a/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch b/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
index c5e210afcd..994f252a15 100644
--- a/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
+++ b/meta-oe/recipes-extended/icewm/icewm/0001-configure.ac-skip-running-test-program-when-cross-co.patch
@@ -1,4 +1,4 @@
1From c2a67c1f62175ab061bc03d10dd766f968c6a097 Mon Sep 17 00:00:00 2001 1From 06207b1340963e77f2e5d08ebf9727180ad86a36 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com> 2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Fri, 2 Aug 2019 10:41:26 +0800 3Date: Fri, 2 Aug 2019 10:41:26 +0800
4Subject: [PATCH] configure.ac: skip running test program when cross-compiling 4Subject: [PATCH] configure.ac: skip running test program when cross-compiling
@@ -7,12 +7,14 @@ Upstream-Status: Inappropriate [OE-Specific]
7 7
8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> 8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
9--- 9---
10 configure.ac | 4 ++-- 10 configure.ac | 19 ++-----------------
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 17 deletions(-)
12 12
13diff --git a/configure.ac b/configure.ac
14index c4a9b02..3f5a792 100644
13--- a/configure.ac 15--- a/configure.ac
14+++ b/configure.ac 16+++ b/configure.ac
15@@ -160,7 +160,7 @@ AC_CHECK_FUNCS([backtrace_symbols_fd mem 17@@ -151,7 +151,7 @@ AC_CHECK_FUNCS([backtrace_symbols_fd memrchr sysctl sysctlbyname])
16 AC_FUNC_SELECT_ARGTYPES 18 AC_FUNC_SELECT_ARGTYPES
17 19
18 AC_MSG_CHECKING([for strlcpy]) 20 AC_MSG_CHECKING([for strlcpy])
@@ -21,7 +23,7 @@ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
21 char a[2]; 23 char a[2];
22 if (strlcpy(a, "yes", 2) != 3) 24 if (strlcpy(a, "yes", 2) != 3)
23 return 1;]])], 25 return 1;]])],
24@@ -176,7 +176,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[#includ 26@@ -167,7 +167,7 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]],[[
25 ]) 27 ])
26 28
27 AC_MSG_CHECKING([for strlcat]) 29 AC_MSG_CHECKING([for strlcat])
@@ -30,7 +32,7 @@ Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
30 char a[4] = "no"; 32 char a[4] = "no";
31 if (strlcat(a, "yes", 4) != 5) 33 if (strlcat(a, "yes", 4) != 5)
32 return 1;]])], 34 return 1;]])],
33@@ -191,21 +191,6 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[#includ 35@@ -182,21 +182,6 @@ AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]],[[
34 [Define to 1 if you have the strlcat function.]) 36 [Define to 1 if you have the strlcat function.])
35 ]) 37 ])
36 38
diff --git a/meta-oe/recipes-extended/icewm/icewm_3.4.5.bb b/meta-oe/recipes-extended/icewm/icewm_3.7.5.bb
index 6e50231c83..cb792dad4b 100644
--- a/meta-oe/recipes-extended/icewm/icewm_3.4.5.bb
+++ b/meta-oe/recipes-extended/icewm/icewm_3.7.5.bb
@@ -5,9 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4a26952467ef79a7efca4a9cf52d417b"
5SRC_URI = "https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \ 5SRC_URI = "https://github.com/ice-wm/${BPN}/releases/download/${PV}/${BPN}-${PV}.tar.lz \
6 file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \ 6 file://0001-configure.ac-skip-running-test-program-when-cross-co.patch \
7 " 7 "
8SRC_URI[sha256sum] = "8d1afe9a2d5e28e88261b68906337449307e53f06c08218e1a6409083998a5f1" 8SRC_URI[sha256sum] = "7457ec08fa74a101b077f391d60f901a77919dcc83a2940992f1f88cd7ec840a"
9 9
10UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases" 10UPSTREAM_CHECK_URI = "https://github.com/ice-wm/${BPN}/releases"
11UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
11 12
12inherit autotools pkgconfig gettext perlnative features_check qemu update-alternatives 13inherit autotools pkgconfig gettext perlnative features_check qemu update-alternatives
13REQUIRED_DISTRO_FEATURES = "x11" 14REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta-oe/recipes-extended/indent/indent_2.2.12.bb b/meta-oe/recipes-extended/indent/indent_2.2.12.bb
index 1a7d61abc0..7847b535b3 100644
--- a/meta-oe/recipes-extended/indent/indent_2.2.12.bb
+++ b/meta-oe/recipes-extended/indent/indent_2.2.12.bb
@@ -18,7 +18,6 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
18 file://0001-Fix-builds-with-recent-gettext.patch \ 18 file://0001-Fix-builds-with-recent-gettext.patch \
19 file://0001-Remove-dead-paren_level-code.patch \ 19 file://0001-Remove-dead-paren_level-code.patch \
20 " 20 "
21SRC_URI[md5sum] = "4764b6ac98f6654a35da117b8e5e8e14"
22SRC_URI[sha256sum] = "e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b" 21SRC_URI[sha256sum] = "e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b"
23 22
24inherit autotools gettext texinfo 23inherit autotools gettext texinfo
diff --git a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
index 9bb2e2f1f3..af9fbda9b8 100644
--- a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
+++ b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
@@ -4,8 +4,7 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
4 4
5SRC_URI = "file://inputattach.conf" 5SRC_URI = "file://inputattach.conf"
6 6
7S = "${WORKDIR}/sources" 7S = "${UNPACKDIR}"
8UNPACKDIR = "${S}"
9 8
10do_configure[noexec] = "1" 9do_configure[noexec] = "1"
11do_compile[noexec] = "1" 10do_compile[noexec] = "1"
diff --git a/meta-oe/recipes-extended/iotop/iotop_1.26.bb b/meta-oe/recipes-extended/iotop/iotop_1.30.bb
index 9b36b57cb7..9fe774f9f2 100644
--- a/meta-oe/recipes-extended/iotop/iotop_1.26.bb
+++ b/meta-oe/recipes-extended/iotop/iotop_1.30.bb
@@ -1,13 +1,12 @@
1SUMMARY = "A top utility for I/O" 1SUMMARY = "A top utility for I/O"
2LICENSE = "GPL-2.0-or-later" 2LICENSE = "GPL-2.0-or-later"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=686f457fedcecd9b92d69e625291ffa2" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=3154adaa1a9ca0d8dcc1944518ece1b9"
4 4
5DEPENDS = "ncurses" 5DEPENDS = "ncurses"
6 6
7SRC_URI = "git://github.com/Tomas-M/iotop.git;branch=master;protocol=https" 7SRC_URI = "git://github.com/Tomas-M/iotop.git;branch=master;protocol=https;tag=v${PV}"
8SRCREV = "b15743b04bb04ff1fc6e197d21ba30365349edcb" 8SRCREV = "c3366a8a235f9c8ddc4797625f22cfdf12ba2c36"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit pkgconfig 11inherit pkgconfig
13 12
diff --git a/meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.4.bb b/meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.5.bb
index 5f2993dd4f..fc94d2caab 100644
--- a/meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.4.bb
+++ b/meta-oe/recipes-extended/isomd5sum/isomd5sum_1.2.5.bb
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/rhinstaller/isomd5sum.git;branch=master;protocol=htt
12 file://0002-fix-parallel-error.patch \ 12 file://0002-fix-parallel-error.patch \
13" 13"
14 14
15S = "${WORKDIR}/git"
16inherit python3native 15inherit python3native
17 16
18EXTRA_OEMAKE += " \ 17EXTRA_OEMAKE += " \
@@ -31,6 +30,6 @@ RPROVIDES:${BPN}-dbg += "python3-${BPN}-dbg"
31 30
32FILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so" 31FILES:python3-${BPN} = "${PYTHON_SITEPACKAGES_DIR}/pyisomd5sum.so"
33 32
34SRCREV = "3f4c9bd3f21ec9ac75a025dfa3fa30fe3f621831" 33SRCREV = "ed1f54de86b5d507c4cfa552923e9ddfddd9b893"
35 34
36BBCLASSEXTEND = "native" 35BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-extended/jansson/jansson/0001-Fix-overwriting-linker-flags.patch b/meta-oe/recipes-extended/jansson/jansson/0001-Fix-overwriting-linker-flags.patch
deleted file mode 100644
index 5eee6f85aa..0000000000
--- a/meta-oe/recipes-extended/jansson/jansson/0001-Fix-overwriting-linker-flags.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From fe6e8eec7e7df4f1e72f0c9d9337b1fe11236687 Mon Sep 17 00:00:00 2001
2From: Thomas Heinrichs <46387399+Thomas1664@users.noreply.github.com>
3Date: Thu, 28 Apr 2022 17:36:54 +0200
4Subject: [PATCH] Fix overwriting linker flags
5
6Upstream-Status: Backport
7[https://github.com/akheron/jansson/commit/fe6e8eec7e7df4f1e72f0c9d9337b1fe11236687]
8Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
9
10---
11 CMakeLists.txt | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 39b9ad365f78..ed33e3c47f70 100644
16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt
18@@ -342,7 +342,7 @@ if(JANSSON_BUILD_SHARED_LIBS)
19 )
20 list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
21 if (VSCRIPT_WORKS)
22- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
23+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script,${CMAKE_CURRENT_BINARY_DIR}/jansson.sym")
24 endif()
25 endif()
26
27--
282.35.1
29
diff --git a/meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch b/meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch
new file mode 100644
index 0000000000..a1c17d1d8e
--- /dev/null
+++ b/meta-oe/recipes-extended/jansson/jansson/0001-Only-export-symbols-starting-with-json_-and-jansson_.patch
@@ -0,0 +1,29 @@
1From e5c38614fb7e0bdbcaec6db6133fa62cfed62818 Mon Sep 17 00:00:00 2001
2From: Jaeyoon Jung <jaeyoon.jung@lge.com>
3Date: Wed, 15 Jan 2025 22:11:54 +0900
4Subject: [PATCH] Only export symbols starting with "json_" and "jansson_" for
5 cmake
6
7It's already done by the commit 7c707a7 and bcb6b6f, but not for cmake.
8This makes symbols in the same visibility as built with libtool.
9
10Upstream-Status: Submitted [https://github.com/akheron/jansson/pull/704]
11Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
12---
13 CMakeLists.txt | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 3394236..52b9934 100644
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -325,6 +325,9 @@ if(JANSSON_BUILD_SHARED_LIBS)
21 # some linkers may only support --version-script
22 file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/jansson.sym" "JANSSON_${JANSSON_SOVERSION} {
23 global:
24+ json_*;
25+ jansson_*;
26+ local:
27 *;
28 };
29 ")
diff --git a/meta-oe/recipes-extended/jansson/jansson_2.14.bb b/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb
index 833060686a..715b1af5c5 100644
--- a/meta-oe/recipes-extended/jansson/jansson_2.14.bb
+++ b/meta-oe/recipes-extended/jansson/jansson_2.14.1.bb
@@ -2,16 +2,16 @@ SUMMARY = "Jansson is a C library for encoding, decoding and manipulating JSON d
2HOMEPAGE = "http://www.digip.org/jansson/" 2HOMEPAGE = "http://www.digip.org/jansson/"
3BUGTRACKER = "https://github.com/akheron/jansson/issues" 3BUGTRACKER = "https://github.com/akheron/jansson/issues"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=afd92c4cfc08f4896003251b878cc0bf" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=d9911525d4128bee234ee2d3ccaa2537"
6 6
7SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \ 7SRC_URI = "https://github.com/akheron/${BPN}/releases/download/v${PV}/${BP}.tar.bz2 \
8 file://0001-Fix-overwriting-linker-flags.patch \
9 file://0001-Honour-multilib-paths.patch \ 8 file://0001-Honour-multilib-paths.patch \
9 file://0001-Only-export-symbols-starting-with-json_-and-jansson_.patch \
10 " 10 "
11SRC_URI[sha256sum] = "fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9" 11SRC_URI[sha256sum] = "6bd82d3043dadbcd58daaf903d974891128d22aab7dada5d399cb39094af49ce"
12 12
13UPSTREAM_CHECK_URI = "https://github.com/akheron/${BPN}/releases" 13UPSTREAM_CHECK_URI = "https://github.com/akheron/${BPN}/releases"
14UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar" 14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
15 15
16inherit cmake pkgconfig 16inherit cmake pkgconfig
17 17
diff --git a/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb b/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb
index bfa0e79d8f..7129d6ef8c 100644
--- a/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb
+++ b/meta-oe/recipes-extended/jpnevulator/jpnevulator_git.bb
@@ -7,7 +7,6 @@ PV = "2.3.6+git"
7SRC_URI = "git://github.com/snarlistic/jpnevulator.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/snarlistic/jpnevulator.git;protocol=https;branch=master"
8SRCREV = "bc1d4f6587a4a4829b5d55e3ca7ad584da6de545" 8SRCREV = "bc1d4f6587a4a4829b5d55e3ca7ad584da6de545"
9 9
10S = "${WORKDIR}/git"
11 10
12do_compile() { 11do_compile() {
13 oe_runmake 12 oe_runmake
diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
index 6b60d89187..f3f70b8da3 100644
--- a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
+++ b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/rnovacek/konkretcmpi.git;branch=master;protocol=http
15 " 15 "
16 16
17SRCREV = "ad28225e6eceff88417a60c1ba8896c8e40f21a7" 17SRCREV = "ad28225e6eceff88417a60c1ba8896c8e40f21a7"
18S = "${WORKDIR}/git"
19 18
20inherit cmake python3-dir 19inherit cmake python3-dir
21 20
@@ -24,8 +23,6 @@ EXTRA_OECMAKE = "-DWITH_PYTHON=ON \
24 ${@oe.utils.conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ 23 ${@oe.utils.conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \
25 " 24 "
26 25
27LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
28
29do_install:append() { 26do_install:append() {
30 rm -rf ${D}${datadir} 27 rm -rf ${D}${datadir}
31} 28}
diff --git a/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch b/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
deleted file mode 100644
index 71c3de9748..0000000000
--- a/meta-oe/recipes-extended/lastlog2/files/0001-remove-lto-to-fix-link-error-of-clang.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 692523d2f8bf0ce893a781761154db4277f0fceb Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Wed, 19 Jul 2023 07:11:15 +0000
4Subject: remove lto to fix link error of clang
5
6error message:
7| tests/tst-y2038-64bit-time_t.p/tst-y2038-64bit-time_t.c.o: file not recognized: file format not recognized
8| clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
9
10Upstream-Status: Pending
11
12Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
13---
14 meson.build | 1 -
15 1 file changed, 1 deletion(-)
16
17diff --git a/meson.build b/meson.build
18index c521577..13d993b 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -26,7 +26,6 @@ add_project_arguments(['-D_GNU_SOURCE=1',
22 '-DPROJECT_VERSION="@0@"'.format(meson.project_version()) ], language : 'c')
23
24 possible_cc_flags = [
25- '-flto=auto',
26 '-ffat-lto-objects',
27 '-fstack-protector-strong',
28 '-funwind-tables',
29--
302.34.1
31
diff --git a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb b/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
deleted file mode 100644
index 43deac3839..0000000000
--- a/meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb
+++ /dev/null
@@ -1,36 +0,0 @@
1SUMMARY = "Y2038 safe version of lastlog"
2HOMEPAGE = "https://github.com/thkukuk/lastlog2"
3DESCRIPTION = "lastlog reports the last login of a given user or of all users who did ever login on a system."
4LICENSE = "BSD-2-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=020090a00b69dd2af9ab82eb0003ea2c"
6SECTION = "libs"
7
8SRCREV = "6138dff6f2a5216065fa4833a223b56d98cb62f3"
9
10SRC_URI = "git://github.com/thkukuk/lastlog2.git;branch=main;protocol=https \
11 file://0001-remove-lto-to-fix-link-error-of-clang.patch \
12"
13
14S = "${WORKDIR}/git"
15
16inherit meson pkgconfig systemd features_check
17
18DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} sqlite3 "
19REQUIRED_DISTRO_FEATURES = "pam"
20
21SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
22
23EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
24
25do_install:append () {
26 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
27 # Fix makefile hardcoded path assumptions for systemd (assumes $prefix)
28 # without usrmerge distro feature enabled
29 install -d `dirname ${D}${systemd_unitdir}`
30 mv ${D}${prefix}/lib/systemd `dirname ${D}${systemd_unitdir}`
31 fi
32}
33
34FILES:${PN} += " ${systemd_system_unitdir} "
35FILES:${PN} += " ${libdir} "
36FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
diff --git a/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb
index d540737bc9..6ca8569bc5 100644
--- a/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb
+++ b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb
@@ -13,7 +13,9 @@ SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=ma
13PV = "1.0+git" 13PV = "1.0+git"
14SRCREV = "9ae4f4ae4481b1e69d38ed810980d33103544613" 14SRCREV = "9ae4f4ae4481b1e69d38ed810980d33103544613"
15 15
16S = "${WORKDIR}/git" 16# The current PV is not a git tag but a README content
17UPSTREAM_CHECK_COMMITS = "1"
18
17 19
18inherit autotools 20inherit autotools
19 21
diff --git a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb b/meta-oe/recipes-extended/libblockdev/libblockdev_3.2.1.bb
index fb778005ff..37c514a219 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.2.1.bb
@@ -12,18 +12,17 @@ inherit autotools gobject-introspection pkgconfig lib_package
12 12
13DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme" 13DEPENDS = "autoconf-archive-native glib-2.0 kmod udev libnvme"
14 14
15SRC_URI = "git://github.com/storaged-project/libblockdev;branch=3.1.x-devel;protocol=https \ 15SRC_URI = "git://github.com/storaged-project/libblockdev;branch=3.2.x-branch;protocol=https \
16 file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \ 16 file://0001-fix-pythondir-for-multilib-when-cross-compiling.patch \
17 " 17 "
18SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" 18SRCREV = "b829b60d9ff049abb190f09a3b9a5fac648cd5a3"
19S = "${WORKDIR}/git"
20 19
21FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" 20FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
22 21
23PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" 22PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools smart smartmontools"
24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" 23PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
25PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" 24PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools libyaml, lvm2"
26PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" 25PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools libyaml, lvm2"
27PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" 26PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2"
28PACKAGECONFIG[parted] = "--with-part, --without-part, parted" 27PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
29PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux" 28PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux"
@@ -35,5 +34,7 @@ PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup keyutils nss
35PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" 34PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize"
36PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" 35PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2"
37PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper" 36PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper"
37PACKAGECONFIG[smart] = "--with-smart,--without-smart,libatasmart"
38PACKAGECONFIG[smartmontools] = "--with-smartmontools,--without-smartmontools,json-glib,smartmontools"
38 39
39export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" 40export GIR_EXTRA_LIBS_PATH = "${B}/src/utils/.libs"
diff --git a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb b/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb
index 0e15393dd5..60c3c6fadd 100755
--- a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
+++ b/meta-oe/recipes-extended/libcbor/libcbor_0.12.0.bb
@@ -5,9 +5,8 @@ LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f3b3881df62ca763a02d359a6e94071" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6f3b3881df62ca763a02d359a6e94071"
6 6
7SRC_URI = "git://github.com/PJK/libcbor.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/PJK/libcbor.git;protocol=https;branch=master"
8SRCREV = "170bee2b82cdb7b2ed25af301f62cb6efdd40ec1" 8SRCREV = "ae000f44e8d2a69e1f72a738f7c0b6b4b7cc4fbf"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit cmake 11inherit cmake
13 12
diff --git a/meta-oe/recipes-extended/libcec/libcec/0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch b/meta-oe/recipes-extended/libcec/libcec/0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch
deleted file mode 100644
index 3ecbfce250..0000000000
--- a/meta-oe/recipes-extended/libcec/libcec/0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 95d4df3b713925e2c4894a2e4d50b06df861d9ef Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Dec 2019 23:37:40 -0800
4Subject: [PATCH] CheckPlatformSupport.cmake: Do not hardcode lib path
5
6Using CMAKE_INSTALL_LIBDIR ensures that we can build for multilib env
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/libcec/cmake/CheckPlatformSupport.cmake | 10 +++++-----
12 1 file changed, 5 insertions(+), 5 deletions(-)
13
14diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
15index 2d7102f..55e78f8 100644
16--- a/src/libcec/cmake/CheckPlatformSupport.cmake
17+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
18@@ -224,16 +224,16 @@ else()
19
20 if (${PYTHON_MAJOR_VERSION} EQUAL 2)
21 install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
22- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH}/cec)
23+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH}/cec)
24 install(FILES ${CMAKE_BINARY_DIR}/src/libcec/cec.py
25- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
26+ DESTINATION l${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
27 install(FILES ${CMAKE_SOURCE_DIR}/src/libcec/cmake/__init__.py
28- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
29+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/cec)
30 else()
31 install(TARGETS ${SWIG_MODULE_cec_REAL_NAME}
32- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH})
33+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR}/${PYTHON_LIB_INSTALL_PATH})
34 install(FILES ${CMAKE_BINARY_DIR}/src/libcec/cec.py
35- DESTINATION lib/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
36+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/python${PYTHON_VERSION}/${PYTHON_PKG_DIR})
37 endif()
38 endif()
39 endif()
40--
412.24.1
42
diff --git a/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch b/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
deleted file mode 100644
index 07277f7064..0000000000
--- a/meta-oe/recipes-extended/libcec/libcec/0001-Remove-buggy-test-confusing-host-and-target.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 8ce50bf569ec2d931735180079bbe507730626c8 Mon Sep 17 00:00:00 2001
2From: Yann Dirson <yann@blade-group.com>
3Date: Mon, 7 Sep 2020 18:17:21 +0200
4Subject: [PATCH] Remove buggy test confusing host and target
5
6---
7Upstream-Status: Pending
8
9 src/libcec/cmake/CheckPlatformSupport.cmake | 8 --------
10 1 file changed, 8 deletions(-)
11
12diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
13index 1d99bd8..31dac4f 100644
14--- a/src/libcec/cmake/CheckPlatformSupport.cmake
15+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
16@@ -266,14 +266,6 @@ else()
17 DESTINATION python/cec)
18 endif()
19 else()
20- if(EXISTS "/etc/os-release")
21- file(READ "/etc/os-release" OS_RELEASE)
22- string(REGEX MATCH "ID(_LIKE)?=debian" IS_DEBIAN ${OS_RELEASE})
23- if (IS_DEBIAN)
24- SET(PYTHON_PKG_DIR "dist-packages")
25- endif()
26- endif()
27-
28 if (NOT PYTHON_PKG_DIR)
29 SET(PYTHON_PKG_DIR "site-packages")
30 endif()
31--
322.28.0
33
diff --git a/meta-oe/recipes-extended/libcec/libcec/0001-cecloader-Match-return-type-of-function-LibCecBootlo.patch b/meta-oe/recipes-extended/libcec/libcec/0001-cecloader-Match-return-type-of-function-LibCecBootlo.patch
deleted file mode 100644
index ab1ab5b8eb..0000000000
--- a/meta-oe/recipes-extended/libcec/libcec/0001-cecloader-Match-return-type-of-function-LibCecBootlo.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 2241edc8b70c2a54d109ac9c0e821889ac138d40 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 27 Jan 2022 22:49:52 -0800
4Subject: [PATCH] cecloader: Match return type of function LibCecBootloader
5
6Fixes
7include/cecloader.h:175:14: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'
8 return NULL;
9 ^~~~
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 include/cecloader.h | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/include/cecloader.h b/include/cecloader.h
18index be76468f..550f598e 100644
19--- a/include/cecloader.h
20+++ b/include/cecloader.h
21@@ -172,7 +172,7 @@ bool LibCecBootloader(const char *strLib = NULL)
22 if (!g_libCEC)
23 {
24 std::cout << dlerror() << std::endl;
25- return NULL;
26+ return false;
27 }
28 }
29
30@@ -181,7 +181,7 @@ bool LibCecBootloader(const char *strLib = NULL)
31 if (!LibCecBootloader)
32 {
33 std::cout << "cannot find CECStartBootloader" << std::endl;
34- return NULL;
35+ return false;
36 }
37
38 bool bReturn = LibCecBootloader();
39--
402.35.0
41
diff --git a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb b/meta-oe/recipes-extended/libcec/libcec_7.0.0.bb
index 599416cb2a..2def38d73f 100644
--- a/meta-oe/recipes-extended/libcec/libcec_6.0.2.bb
+++ b/meta-oe/recipes-extended/libcec/libcec_7.0.0.bb
@@ -2,27 +2,23 @@ SUMMARY = "USB CEC Adaptor communication Library"
2HOMEPAGE = "http://libcec.pulse-eight.com/" 2HOMEPAGE = "http://libcec.pulse-eight.com/"
3 3
4LICENSE = "GPL-2.0-or-later" 4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b3a719e97f49e4841e90573f9b1a98ac" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=b3a719e97f49e4841e90573f9b1a98ac"
6 6
7DEPENDS = "p8platform udev ncurses swig-native python3" 7DEPENDS = "p8platform udev ncurses swig-native python3"
8 8
9DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}" 9DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11 libxrandr', '', d)}"
10DEPENDS:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}" 10DEPENDS:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' userland', d)}"
11 11
12SRCREV = "29d82c80bcc62be2878a9ac080de7eb286c4beb9" 12SRCREV = "ceeec8bfd2242792b6de59ce8fb854437208dc11"
13SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release;protocol=https \ 13SRC_URI = "git://github.com/Pulse-Eight/libcec.git;branch=release;protocol=https \
14 file://0001-CheckPlatformSupport.cmake-Do-not-hardcode-lib-path.patch \
15 file://0001-Enhance-reproducibility.patch \ 14 file://0001-Enhance-reproducibility.patch \
16 file://0001-Remove-buggy-test-confusing-host-and-target.patch \
17 file://0001-cecloader-Match-return-type-of-function-LibCecBootlo.patch \
18 " 15 "
19 16
20S = "${WORKDIR}/git"
21 17
22inherit cmake pkgconfig 18inherit cmake pkgconfig
23 19
24# default config is for RaspberryPi API, use the Linux 4.10+ API by default 20# default config is for RaspberryPi API, use the Linux 4.10+ API by default
25PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0" 21PLATFORM_CMAKE_FLAGS ?= "-DHAVE_LINUX_API=1 -DHAVE_RPI_API=0 -DSKIP_PYTHON_WRAPPER=1"
26EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}" 22EXTRA_OECMAKE += "${PLATFORM_CMAKE_FLAGS}"
27 23
28# Put client examples into separate packages 24# Put client examples into separate packages
diff --git a/meta-oe/recipes-extended/libconfig/libconfig/0001-Fix-declarations-to-allow-build-with-gcc-15.patch b/meta-oe/recipes-extended/libconfig/libconfig/0001-Fix-declarations-to-allow-build-with-gcc-15.patch
new file mode 100644
index 0000000000..00ceadb10d
--- /dev/null
+++ b/meta-oe/recipes-extended/libconfig/libconfig/0001-Fix-declarations-to-allow-build-with-gcc-15.patch
@@ -0,0 +1,38 @@
1From 0511e285f3c886a388b8e9c6a4829752d60ab44c Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Thu, 5 Dec 2024 06:47:40 +0000
4Subject: [PATCH] Fix declarations to allow build with gcc 15
5
6Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
7
8Upstream-Status: Backport [690342b Fix declarations to allow build with gcc 15]
9---
10 lib/grammar.y | 8 ++++++--
11 1 file changed, 6 insertions(+), 2 deletions(-)
12
13diff --git a/lib/grammar.y b/lib/grammar.y
14index 87dac00..0e9d0bb 100644
15--- a/lib/grammar.y
16+++ b/lib/grammar.y
17@@ -40,8 +40,7 @@
18 #include "wincompat.h"
19
20 /* These declarations are provided to suppress compiler warnings. */
21-extern int libconfig_yylex();
22-extern int libconfig_yyget_lineno();
23+extern int libconfig_yyget_lineno(void *);
24
25 static const char *err_array_elem_type = "mismatched element type in array";
26 static const char *err_duplicate_setting = "duplicate setting name";
27@@ -80,6 +79,11 @@ void libconfig_yyerror(void *scanner, struct parse_context *ctx,
28 char *sval;
29 }
30
31+%{
32+/* These declarations are provided to suppress compiler warnings. */
33+extern int libconfig_yylex(YYSTYPE *, void *);
34+%}
35+
36 %token <ival> TOK_BOOLEAN TOK_INTEGER TOK_HEX
37 %token <llval> TOK_INTEGER64 TOK_HEX64
38 %token <fval> TOK_FLOAT
diff --git a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
index 6382569923..a4df707dd7 100644
--- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
+++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
@@ -7,14 +7,18 @@ SECTION = "libs"
7LICENSE = "LGPL-2.1-only" 7LICENSE = "LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" 8LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29"
9 9
10SRC_URI = "https://hyperrealm.github.io/libconfig/dist/libconfig-${PV}.tar.gz" 10SRC_URI = "https://hyperrealm.github.io/libconfig/dist/libconfig-${PV}.tar.gz \
11 file://0001-Fix-declarations-to-allow-build-with-gcc-15.patch \
12"
13
14# needed when we modify grammar.y with above patch
15DEPENDS += "bison-native"
11 16
12UPSTREAM_CHECK_URI = "https://github.com/hyperrealm/libconfig/releases" 17UPSTREAM_CHECK_URI = "https://github.com/hyperrealm/libconfig/releases"
13UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)"
14 19
15inherit autotools-brokensep pkgconfig 20inherit autotools-brokensep pkgconfig
16 21
17SRC_URI[md5sum] = "15ec701205f91f21b1187f8b61e0d64f"
18SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7" 22SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7"
19 23
20PACKAGE_BEFORE_PN = "${PN}++" 24PACKAGE_BEFORE_PN = "${PN}++"
diff --git a/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb b/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
index e3de8aca62..6683c396e2 100644
--- a/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
+++ b/meta-oe/recipes-extended/libdeflate/libdeflate_1.20.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/ebiggers/libdeflate.git;protocol=https;branch=master
10 file://0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch \ 10 file://0001-lib-arm-don-t-use-explicit-armv8.2-a-on-gcc-13.2-and.patch \
11" 11"
12 12
13S = "${WORKDIR}/git"
14SRCREV = "275aa5141db6eda3587214e0f1d3a134768f557d" 13SRCREV = "275aa5141db6eda3587214e0f1d3a134768f557d"
15 14
16inherit cmake pkgconfig 15inherit cmake pkgconfig
diff --git a/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb b/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
index 87778c6314..9f4b2a19d0 100644
--- a/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
+++ b/meta-oe/recipes-extended/libdivecomputer/libdivecomputer_git.bb
@@ -14,6 +14,5 @@ SRCREV = "db9371cf9f38b5a3b2f6e4fae3f92eb052d2d929"
14SRC_URI = "git://github.com/libdivecomputer/libdivecomputer.git;protocol=https;branch=master \ 14SRC_URI = "git://github.com/libdivecomputer/libdivecomputer.git;protocol=https;branch=master \
15 " 15 "
16 16
17S = "${WORKDIR}/git"
18 17
19 18
diff --git a/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb b/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
index d4bad38b7a..10e6f34870 100644
--- a/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
+++ b/meta-oe/recipes-extended/libexecinfo/libexecinfo_1.1.bb
@@ -12,7 +12,6 @@ SRC_URI = "http://distcache.freebsd.org/local-distfiles/itetcu/${BP}.tar.bz2 \
12 file://0001-makefile-Fix-build-on-linux.patch \ 12 file://0001-makefile-Fix-build-on-linux.patch \
13 file://0002-execinfo-Fix-compiler-errors-found-with-newer-gcc-cl.patch \ 13 file://0002-execinfo-Fix-compiler-errors-found-with-newer-gcc-cl.patch \
14 " 14 "
15SRC_URI[md5sum] = "8e9e81c554c1c5d735bc877448e92b91"
16SRC_URI[sha256sum] = "c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f" 15SRC_URI[sha256sum] = "c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f"
17 16
18CFLAGS += "-fno-omit-frame-pointer -D_GNU_SOURCE" 17CFLAGS += "-fno-omit-frame-pointer -D_GNU_SOURCE"
diff --git a/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb b/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
index eb85a07e99..125b7e9a8d 100644
--- a/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
+++ b/meta-oe/recipes-extended/libgxim/libgxim_0.5.0.bb
@@ -16,7 +16,6 @@ SRC_URI = "https://bitbucket.org/tagoh/libgxim/downloads/${BPN}-${PV}.tar.bz2 \
16 file://0003-Add-format-string-qualifier-to-fix-potential-securit.patch \ 16 file://0003-Add-format-string-qualifier-to-fix-potential-securit.patch \
17 " 17 "
18 18
19SRC_URI[md5sum] = "4bb1fa63d00eb224439d413591c29a6a"
20SRC_URI[sha256sum] = "75e20d1744139644f9951b78ea3910b162d3380302315cb4b3d0640f23694c79" 19SRC_URI[sha256sum] = "75e20d1744139644f9951b78ea3910b162d3380302315cb4b3d0640f23694c79"
21 20
22LICENSE = "LGPL-2.0-or-later" 21LICENSE = "LGPL-2.0-or-later"
diff --git a/meta-oe/recipes-extended/libidn/libidn/0001-largefile.m4-Sync-with-latest-gnulib.patch b/meta-oe/recipes-extended/libidn/libidn/0001-largefile.m4-Sync-with-latest-gnulib.patch
deleted file mode 100644
index 1dbf2955c9..0000000000
--- a/meta-oe/recipes-extended/libidn/libidn/0001-largefile.m4-Sync-with-latest-gnulib.patch
+++ /dev/null
@@ -1,390 +0,0 @@
1From 66c1646a3f12836846a054ebd2c427e30c93d3a5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 2 Apr 2023 10:37:15 -0700
4Subject: [PATCH] largefile.m4: Sync with latest gnulib
5
6This ensures it can work with latest autoconf 2.72 release ( upcoming )
7
8Upstream-Status: Backport [it will be not needed with 1.42 release]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 gl/m4/largefile.m4 | 330 ++++++++++++++++++++++++++++++++++++---------
12 1 file changed, 263 insertions(+), 67 deletions(-)
13
14diff --git a/gl/m4/largefile.m4 b/gl/m4/largefile.m4
15index 3e8b5e3..7fb81b8 100644
16--- a/gl/m4/largefile.m4
17+++ b/gl/m4/largefile.m4
18@@ -1,7 +1,7 @@
19 # Enable large files on systems where this is not the default.
20 # Enable support for files on Linux file systems with 64-bit inode numbers.
21
22-# Copyright 1992-1996, 1998-2022 Free Software Foundation, Inc.
23+# Copyright 1992-1996, 1998-2023 Free Software Foundation, Inc.
24 # This file is free software; the Free Software Foundation
25 # gives unlimited permission to copy and/or distribute it,
26 # with or without modifications, as long as this notice is preserved.
27@@ -10,8 +10,9 @@
28 # It does not set _LARGEFILE_SOURCE=1 on HP-UX/ia64 32-bit, although this
29 # setting of _LARGEFILE_SOURCE is needed so that <stdio.h> declares fseeko
30 # and ftello in C++ mode as well.
31+# Fixed in Autoconf 2.72, which has AC_SYS_YEAR2038.
32 AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
33-[
34+ m4_ifndef([AC_SYS_YEAR2038], [[
35 AC_REQUIRE([AC_CANONICAL_HOST])
36 AC_FUNC_FSEEKO
37 case "$host_os" in
38@@ -20,10 +21,10 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE],
39 [Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2).])
40 ;;
41 esac
42-])
43+ ]])
44+)
45
46-# Work around a problem in Autoconf through at least 2.71 on glibc 2.34+
47-# with _TIME_BITS. Also, work around a problem in autoconf <= 2.69:
48+# Work around a problem in autoconf <= 2.69:
49 # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5,
50 # or configures them incorrectly in some cases.
51 m4_version_prereq([2.70], [], [
52@@ -43,33 +44,258 @@ m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES],
53 ])
54 ])# m4_version_prereq 2.70
55
56+# Support AC_SYS_YEAR2038, even if Autoconf 2.71 or earlier.
57+# This code is taken from Autoconf master.
58+m4_ifndef([AC_SYS_YEAR2038], [
59+
60+# _AC_SYS_YEAR2038_TEST_CODE
61+# --------------------------
62+# C code used to probe for time_t that can represent time points more
63+# than 2**31 - 1 seconds after the epoch. With the usual Unix epoch,
64+# these correspond to dates after 2038-01-18 22:14:07 +0000 (Gregorian),
65+# hence the name.
66+AC_DEFUN([_AC_SYS_YEAR2038_TEST_CODE],
67+[[
68+ #include <time.h>
69+ /* Check that time_t can represent 2**32 - 1 correctly. */
70+ #define LARGE_TIME_T \\
71+ ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
72+ int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
73+ && LARGE_TIME_T % 65537 == 0)
74+ ? 1 : -1];
75+]])
76+
77+# _AC_SYS_YEAR2038_OPTIONS
78+# ------------------------
79+# List of known ways to enable support for large time_t. If you change
80+# this list you probably also need to change the AS_CASE at the end of
81+# _AC_SYS_YEAR2038_PROBE.
82+m4_define([_AC_SYS_YEAR2038_OPTIONS], m4_normalize(
83+ ["none needed"] dnl 64-bit and newer 32-bit Unix
84+ ["-D_TIME_BITS=64"] dnl glibc 2.34 with some 32-bit ABIs
85+ ["-D__MINGW_USE_VC2005_COMPAT"] dnl 32-bit MinGW
86+ ["-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"]
87+ dnl 32-bit MinGW (misconfiguration)
88+))
89+
90+# _AC_SYS_YEAR2038_PROBE([IF-NOT-DETECTED])
91+# -----------------------------------------
92+# Subroutine of AC_SYS_YEAR2038. Probe for time_t that can represent
93+# time points more than 2**31 - 1 seconds after the epoch (dates after
94+# 2038-01-18, see above) and set the cache variable ac_cv_sys_year2038_opts
95+# to one of the values in the _AC_SYS_YEAR2038_OPTIONS list, or to
96+# "support not detected" if none of them worked. Then, set compilation
97+# options and #defines as necessary to enable large time_t support.
98+#
99+# Note that we do not test whether mktime, localtime, etc. handle
100+# large values of time_t correctly, as that would require use of
101+# AC_TRY_RUN. Note also that some systems only support large time_t
102+# together with large off_t.
103+#
104+# If support is not detected, the behavior depends on which of the
105+# top-level AC_SYS_YEAR2038 macros was used (see below).
106+#
107+# If you change this macro you may also need to change
108+# _AC_SYS_YEAR2038_OPTIONS.
109+AC_DEFUN([_AC_SYS_YEAR2038_PROBE],
110+[AC_CACHE_CHECK([for $CC option to enable timestamps after Jan 2038],
111+ [ac_cv_sys_year2038_opts],
112+ [ac_save_CPPFLAGS="$CPPFLAGS"
113+ ac_opt_found=no
114+ for ac_opt in _AC_SYS_YEAR2038_OPTIONS; do
115+ AS_IF([test x"$ac_opt" != x"none needed"],
116+ [CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"])
117+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_YEAR2038_TEST_CODE])],
118+ [ac_cv_sys_year2038_opts="$ac_opt"
119+ ac_opt_found=yes])
120+ test $ac_opt_found = no || break
121+ done
122+ CPPFLAGS="$ac_save_CPPFLAGS"
123+ test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected"])
124+
125+ac_have_year2038=yes
126+AS_CASE([$ac_cv_sys_year2038_opts],
127+ ["none needed"], [],
128+ ["support not detected"],
129+ [ac_have_year2038=no
130+ AS_CASE([$enable_year2038],
131+ [yes],
132+ [# If we're not cross compiling and 'touch' works with a large
133+ # timestamp, then we can presume the system supports wider time_t
134+ # *somehow* and we just weren't able to detect it. One common
135+ # case that we deliberately *don't* probe for is a system that
136+ # supports both 32- and 64-bit ABIs but only the 64-bit ABI offers
137+ # wide time_t. (It would be inappropriate for us to override an
138+ # intentional use of -m32.) Error out, demanding use of
139+ # --disable-year2038 if this is intentional.
140+ AS_IF([test $cross_compiling = no],
141+ [AS_IF([TZ=UTC0 touch -t 210602070628.15 conftest.time 2>/dev/null],
142+ [AS_CASE([`TZ=UTC0 LC_ALL=C ls -l conftest.time 2>/dev/null`],
143+ [*'Feb 7 2106'* | *'Feb 7 17:10'*],
144+ [AC_MSG_FAILURE(m4_text_wrap(
145+ [this system appears to support timestamps after January 2038,
146+ but no mechanism for enabling wide 'time_t' was detected.
147+ Did you mean to build a 64-bit binary? (e.g. 'CC="${CC} -m64"'.)
148+ To proceed with 32-bit time_t, configure with '--disable-year2038'.],
149+ [], [], [55]))])])])])],
150+
151+ ["-D_TIME_BITS=64"],
152+ [AC_DEFINE([_TIME_BITS], [64],
153+ [Number of bits in time_t, on hosts where this is settable.])],
154+
155+ ["-D__MINGW_USE_VC2005_COMPAT=1"],
156+ [AC_DEFINE([__MINGW_USE_VC2005_COMPAT], [1],
157+ [Define to 1 on platforms where this makes time_t a 64-bit type.])],
158
159-# _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE,
160-# CACHE-VAR,
161-# DESCRIPTION,
162-# PROLOGUE, [FUNCTION-BODY])
163-# --------------------------------------------------------
164-m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE],
165-[AC_CACHE_CHECK([for $1 value needed for large files], [$3],
166-[while :; do
167- m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])(
168- [AC_LANG_PROGRAM([$5], [$6])],
169- [$3=no; break])
170- m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])(
171- [AC_LANG_PROGRAM([#undef $1
172-#define $1 $2
173-$5], [$6])],
174- [$3=$2; break])
175- $3=unknown
176- break
177-done])
178-case $$3 in #(
179- no | unknown) ;;
180- *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);;
181-esac
182-rm -rf conftest*[]dnl
183-])# _AC_SYS_LARGEFILE_MACRO_VALUE
184+ ["-U_USE_32_BIT_TIME_T"*],
185+ [AC_MSG_FAILURE(m4_text_wrap(
186+ [the 'time_t' type is currently forced to be 32-bit.
187+ It will stop working after January 2038.
188+ Remove _USE_32BIT_TIME_T from the compiler flags.],
189+ [], [], [55]))],
190+
191+ [AC_MSG_ERROR(
192+ [internal error: bad value for \$ac_cv_sys_year2038_opts])])
193+])
194+
195+# _AC_SYS_YEAR2038_ENABLE
196+# -----------------------
197+# Subroutine of AC_SYS_YEAR2038 and _AC_SYS_YEAR2038_OPT_IN.
198+# Depending on which of the YEAR2038 macros was used, add either an
199+# --enable-year2038, or a --disable-year2038, or no option at all to
200+# the configure script. Note that this is expanded very late and
201+# therefore there cannot be any code in the AC_ARG_ENABLE. The
202+# default value for enable_year2038 is emitted unconditionally
203+# because the generated code always looks at this variable.
204+m4_define([_AC_SYS_YEAR2038_ENABLE],
205+[m4_divert_text([DEFAULTS],
206+ m4_provide_if([AC_SYS_YEAR2038],
207+ [enable_year2038=yes],
208+ [enable_year2038=no]))]dnl
209+[AC_ARG_ENABLE([year2038],
210+ m4_provide_if([AC_SYS_YEAR2038],
211+ [AS_HELP_STRING([--disable-year2038],
212+ [do not support timestamps after 2038])],
213+ [AS_HELP_STRING([--enable-year2038],
214+ [support timestamps after 2038])]))])
215+
216+# _AC_SYS_YEAR2038_OPT_IN
217+# -----------------------
218+# If the --enable-year2038 option is given to configure, attempt to
219+# detect and activate support for large time_t on 32-bit systems.
220+# This macro is automatically invoked by AC_SYS_LARGEFILE when large
221+# *file* support is detected. It does not AC_REQUIRE AC_SYS_LARGEFILE
222+# to avoid a dependency loop, and is therefore unsafe to expose as a
223+# documented macro.
224+AC_DEFUN([_AC_SYS_YEAR2038_OPT_IN],
225+[m4_provide_if([_AC_SYS_YEAR2038_PROBE], [], [dnl
226+ AS_IF([test "$enable_year2038" != no], [_AC_SYS_YEAR2038_PROBE])
227+ AC_CONFIG_COMMANDS_PRE([_AC_SYS_YEAR2038_ENABLE])
228+])])
229+
230+# AC_SYS_YEAR2038
231+# ---------------
232+# Attempt to detect and activate support for large time_t.
233+# On systems where time_t is not always 64 bits, this probe can be
234+# skipped by passing the --disable-year2038 option to configure.
235+AC_DEFUN([AC_SYS_YEAR2038],
236+[AC_REQUIRE([AC_SYS_LARGEFILE])]dnl
237+[m4_provide_if([_AC_SYS_YEAR2038_PROBE], [], [dnl
238+ AS_IF([test "$enable_year2038" != no], [_AC_SYS_YEAR2038_PROBE])
239+ AC_CONFIG_COMMANDS_PRE([_AC_SYS_YEAR2038_ENABLE])
240+])])
241+
242+# _AC_SYS_LARGEFILE_TEST_CODE
243+# ---------------------------
244+# C code used to probe for large file support.
245+m4_define([_AC_SYS_LARGEFILE_TEST_CODE],
246+[@%:@include <sys/types.h>
247+ /* Check that off_t can represent 2**63 - 1 correctly.
248+ We can't simply define LARGE_OFF_T to be 9223372036854775807,
249+ since some C++ compilers masquerading as C compilers
250+ incorrectly reject 9223372036854775807. */
251+@%:@define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
252+ int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721
253+ && LARGE_OFF_T % 2147483647 == 1)
254+ ? 1 : -1]];[]dnl
255+])
256+
257+# _AC_SYS_LARGEFILE_OPTIONS
258+# -------------------------
259+# List of known ways to enable support for large files. If you change
260+# this list you probably also need to change the AS_CASE at the end of
261+# _AC_SYS_LARGEFILE_PROBE.
262+m4_define([_AC_SYS_LARGEFILE_OPTIONS], m4_normalize(
263+ ["none needed"] dnl Most current systems
264+ ["-D_FILE_OFFSET_BITS=64"] dnl X/Open LFS spec
265+ ["-D_LARGE_FILES=1"] dnl AIX (which versions?)
266+ ["-n32"] dnl Irix 6.2 w/ SGI compiler
267+))
268+
269+# _AC_SYS_LARGEFILE_PROBE
270+# -----------------------
271+# Subroutine of AC_SYS_LARGEFILE. Probe for large file support and set
272+# the cache variable ac_cv_sys_largefile_opts to one of the values in
273+# the _AC_SYS_LARGEFILE_OPTIONS list, or to "support not detected" if
274+# none of the options in that list worked. Then, set compilation
275+# options and #defines as necessary to enable large file support.
276+#
277+# If large file support is not detected, the behavior depends on which of
278+# the top-level AC_SYS_LARGEFILE macros was used (see below).
279+#
280+# If you change this macro you may also need to change
281+# _AC_SYS_LARGEFILE_OPTIONS.
282+AC_DEFUN([_AC_SYS_LARGEFILE_PROBE],
283+[AC_CACHE_CHECK([for $CC option to enable large file support],
284+ [ac_cv_sys_largefile_opts],
285+ [ac_save_CC="$CC"
286+ ac_opt_found=no
287+ for ac_opt in _AC_SYS_LARGEFILE_OPTIONS; do
288+ AS_IF([test x"$ac_opt" != x"none needed"],
289+ [CC="$ac_save_CC $ac_opt"])
290+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_CODE])],
291+ [ac_cv_sys_largefile_opts="$ac_opt"
292+ ac_opt_found=yes])
293+ test $ac_opt_found = no || break
294+ done
295+ CC="$ac_save_CC"
296+ test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected"])
297+
298+ac_have_largefile=yes
299+AS_CASE([$ac_cv_sys_largefile_opts],
300+ ["none needed"], [],
301+ ["support not detected"],
302+ [ac_have_largefile=no],
303+
304+ ["-D_FILE_OFFSET_BITS=64"],
305+ [AC_DEFINE([_FILE_OFFSET_BITS], [64],
306+ [Number of bits in a file offset, on hosts where this is settable.])],
307+
308+ ["-D_LARGE_FILES=1"],
309+ [AC_DEFINE([_LARGE_FILES], [1],
310+ [Define to 1 on platforms where this makes off_t a 64-bit type.])],
311+
312+ ["-n32"],
313+ [CC="$CC -n32"],
314+
315+ [AC_MSG_ERROR(
316+ [internal error: bad value for \$ac_cv_sys_largefile_opts])])
317+
318+_AC_SYS_YEAR2038_OPT_IN
319+])
320
321+# _AC_SYS_LARGEFILE_ENABLE
322+# ------------------------
323+# Subroutine of AC_SYS_LARGEFILE. Note that this
324+# is expanded very late and therefore there cannot be any code in the
325+# AC_ARG_ENABLE. The default value for enable_largefile is emitted
326+# unconditionally because the generated shell code always looks at
327+# this variable.
328+m4_define([_AC_SYS_LARGEFILE_ENABLE],
329+[m4_divert_text([DEFAULTS],
330+ enable_largefile=yes)]dnl
331+[AC_ARG_ENABLE([largefile],
332+ [AS_HELP_STRING([--disable-largefile], [omit support for large files])])])
333
334 # AC_SYS_LARGEFILE
335 # ----------------
336@@ -80,44 +306,14 @@ rm -rf conftest*[]dnl
337 # Additionally, on Linux file systems with 64-bit inodes a file that happens
338 # to have a 64-bit inode number cannot be accessed by 32-bit applications on
339 # Linux x86/x86_64. This can occur with file systems such as XFS and NFS.
340+# This macro allows configuration to continue if the system doesn't support
341+# large files.
342 AC_DEFUN([AC_SYS_LARGEFILE],
343-[AC_ARG_ENABLE(largefile,
344- [ --disable-largefile omit support for large files])
345-AS_IF([test "$enable_largefile" != no],
346- [AC_CACHE_CHECK([for special C compiler options needed for large files],
347- ac_cv_sys_largefile_CC,
348- [ac_cv_sys_largefile_CC=no
349- if test "$GCC" != yes; then
350- ac_save_CC=$CC
351- while :; do
352- # IRIX 6.2 and later do not support large files by default,
353- # so use the C compiler's -n32 option if that helps.
354- AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])])
355- AC_COMPILE_IFELSE([], [break])
356- CC="$CC -n32"
357- AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break])
358- break
359- done
360- CC=$ac_save_CC
361- rm -f conftest.$ac_ext
362- fi])
363- if test "$ac_cv_sys_largefile_CC" != no; then
364- CC=$CC$ac_cv_sys_largefile_CC
365- fi
366-
367- _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64,
368- ac_cv_sys_file_offset_bits,
369- [Number of bits in a file offset, on hosts where this is settable.],
370- [_AC_SYS_LARGEFILE_TEST_INCLUDES])
371- AS_CASE([$ac_cv_sys_file_offset_bits],
372- [unknown],
373- [_AC_SYS_LARGEFILE_MACRO_VALUE([_LARGE_FILES], [1],
374- [ac_cv_sys_large_files],
375- [Define for large files, on AIX-style hosts.],
376- [_AC_SYS_LARGEFILE_TEST_INCLUDES])],
377- [64],
378- [gl_YEAR2038_BODY([])])])
379-])# AC_SYS_LARGEFILE
380+[m4_provide_if([_AC_SYS_LARGEFILE_PROBE], [], [dnl
381+ AS_IF([test "$enable_largefile" != no], [_AC_SYS_LARGEFILE_PROBE])
382+ AC_CONFIG_COMMANDS_PRE([_AC_SYS_LARGEFILE_ENABLE])
383+])])
384+])# m4_ifndef AC_SYS_YEAR2038
385
386 # Enable large files on systems where this is implemented by Gnulib, not by the
387 # system headers.
388--
3892.40.0
390
diff --git a/meta-oe/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch b/meta-oe/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
index 46938bccf6..a066b100c3 100644
--- a/meta-oe/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
+++ b/meta-oe/recipes-extended/libidn/libidn/dont-depend-on-help2man.patch
@@ -1,9 +1,20 @@
1From 62d8c09422148c56b7b1011a5b3ccd553631e3c5 Mon Sep 17 00:00:00 2001
2From: Marko Lindqvist <cazfi74@gmail.com>
3Date: Sun, 29 Sep 2024 18:38:05 +0800
4Subject: [PATCH] dont depend on help2man
5
1Upstream-Status: Inappropriate [disable feature] 6Upstream-Status: Inappropriate [disable feature]
2 7
3Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> 8Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
4--- libidn-1.41.orig/doc/Makefile.am 9---
5+++ libidn-1.41/doc/Makefile.am 10 doc/Makefile.am | 9 +--------
6@@ -73,16 +73,9 @@ BUILT_SOURCES = example.txt example2.txt 11 1 file changed, 1 insertion(+), 8 deletions(-)
12
13diff --git a/doc/Makefile.am b/doc/Makefile.am
14index ff62009..dba833f 100644
15--- a/doc/Makefile.am
16+++ b/doc/Makefile.am
17@@ -87,16 +87,9 @@ BUILT_SOURCES = example.txt example2.txt example3.txt example4.txt example5.txt
7 18
8 # Man pages. 19 # Man pages.
9 20
@@ -14,10 +25,13 @@ Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
14-idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo $(top_srcdir)/.version 25-idn.1: $(top_srcdir)/src/idn.c $(top_srcdir)/src/idn.ggo $(top_srcdir)/.version
15- $(MAKE) -C ../lib 26- $(MAKE) -C ../lib
16- $(MAKE) -C ../src 27- $(MAKE) -C ../src
17- $(AM_V_GEN)$(HELP2MAN) \ 28- $(AM_V_GEN)env SOURCE_DATE_EPOCH=0 $(HELP2MAN) \
18- --name="Internationalized Domain Names command line tool" \ 29- --name="Internationalized Domain Names command line tool" \
19- --output=$@ $(top_builddir)/src/idn$(EXEEXT) 30- --output=$@ $(top_builddir)/src/idn$(EXEEXT)
20- 31-
21 # GDOC 32 # GDOC
22 33
23 gdoc_TEXINFOS = 34 gdoc_TEXINFOS =
35--
362.34.1
37
diff --git a/meta-oe/recipes-extended/libidn/libidn_1.41.bb b/meta-oe/recipes-extended/libidn/libidn_1.43.bb
index 17ffc6cdc5..7c478a1495 100644
--- a/meta-oe/recipes-extended/libidn/libidn_1.41.bb
+++ b/meta-oe/recipes-extended/libidn/libidn_1.43.bb
@@ -3,27 +3,23 @@ DESCRIPTION = "Implementation of the Stringprep, Punycode and IDNA specification
3HOMEPAGE = "http://www.gnu.org/software/libidn/" 3HOMEPAGE = "http://www.gnu.org/software/libidn/"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "(LGPL-2.1-or-later | LGPL-3.0-only) & GPL-3.0-or-later" 5LICENSE = "(LGPL-2.1-or-later | LGPL-3.0-only) & GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=f95a3dc99fecfa9a0c4e726d4b5d822f \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=11cc2d3ee574f9d6b7ee797bdce4d423\
7 file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \ 7 file://COPYING.LESSERv2;md5=4fbd65380cdd255951079008b364516c \
8 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ 8 file://COPYING.LESSERv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \
9 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9 file://COPYINGv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://COPYINGv3;md5=11cc2d3ee574f9d6b7ee797bdce4d423 \ 10 file://lib/idna.h;endline=28;md5=82ce5c462ff87f37c7c0d3a92f8d2f6b \
11 file://lib/idna.h;endline=21;md5=176de4fe1d98e59d743d3b12a850e4cb \ 11 file://src/idn.c;endline=19;md5=21b4efac8525241da4d38dc1c2e3a461 \
12 file://src/idn.c;endline=20;md5=dd17b9093355bf669e2ea108d2defbd0 \
13 " 12 "
14 13
15DEPENDS = "virtual/libiconv autoconf-archive" 14DEPENDS = "virtual/libiconv autoconf-archive"
16 15
17inherit pkgconfig autotools gettext texinfo gtk-doc 16inherit pkgconfig autotools gettext texinfo gtk-doc
18 17
19SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \ 18SRC_URI = "${GNU_MIRROR}/libidn/${BPN}-${PV}.tar.gz \
20 file://dont-depend-on-help2man.patch \ 19 file://dont-depend-on-help2man.patch \
21 file://0001-largefile.m4-Sync-with-latest-gnulib.patch \
22 " 20 "
23 21
24#SRC_URI[md5sum] = "813c7b268d1051ca02c3610986126f38" 22SRC_URI[sha256sum] = "bdc662c12d041b2539d0e638f3a6e741130cdb33a644ef3496963a443482d164"
25#SRC_URI[sha256sum] = "14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038"
26SRC_URI[sha256sum] = "884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945"
27 23
28# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3 24# command tool is under GPLv3+, while libidn itself is under LGPLv2.1+ or LGPLv3
29# so package command into a separate package 25# so package command into a separate package
@@ -40,4 +36,3 @@ do_install:append() {
40} 36}
41 37
42BBCLASSEXTEND = "native nativesdk" 38BBCLASSEXTEND = "native nativesdk"
43
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_2.6.0.bb
index 81a3c26e04..7f01962a97 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_2.3.0.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_2.6.0.bb
@@ -8,10 +8,9 @@ DEPENDS = "libxml2 glib-2.0 swig python3"
8 8
9inherit autotools pkgconfig python3native python3targetconfig 9inherit autotools pkgconfig python3native python3targetconfig
10 10
11SRCREV = "b8fcc89b74c9128a13b07cc15a0ce25dca0cd97e" 11SRCREV = "2117b8fdb6b4096455bd2041a63e59a028120136"
12SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git"
15 14
16CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST" 15CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST"
17CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 16CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
index bfd4af053c..e29ec88e06 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist_git.bb
@@ -13,7 +13,6 @@ PV = "2.3.0+git"
13SRCREV = "2cd858c679d25633077ca78b67182a9b77653816" 13SRCREV = "2cd858c679d25633077ca78b67182a9b77653816"
14SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master" 14SRC_URI = "git://github.com/libimobiledevice/libplist;protocol=https;branch=master"
15 15
16S = "${WORKDIR}/git"
17 16
18CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST" 17CVE_STATUS_GROUPS += "CVE_STATUS_LIBLIST"
19CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 18CVE_STATUS_LIBLIST[status] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
diff --git a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.0.2.bb b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb
index a586f49f96..7869fc1941 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.0.2.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_2.1.1.bb
@@ -2,15 +2,14 @@ DESCRIPTION = "This daemon is in charge of multiplexing connections over USB to
2LICENSE = "LGPL-2.1-only" 2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7" 3LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
4 4
5DEPENDS = "udev libusb1 libplist" 5DEPENDS = "udev libusb1 libplist libimobiledevice-glue"
6 6
7inherit autotools pkgconfig gitpkgv 7inherit autotools pkgconfig gitpkgv
8 8
9PKGV = "${GITPKGVTAG}" 9PKGV = "${GITPKGVTAG}"
10 10
11SRCREV = "ce98c346b7c1dc2a21faea4fd3f32c88e27ca2af" 11SRCREV = "adf9c22b9010490e4b55eaeb14731991db1c172c"
12SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master" 12SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master"
13 13
14S = "${WORKDIR}/git"
15 14
16FILES:${PN} += "${base_libdir}/udev/rules.d/" 15FILES:${PN} += "${base_libdir}/udev/rules.d/"
diff --git a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
index b9f5c34094..76759fe69d 100644
--- a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
+++ b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
@@ -12,6 +12,5 @@ PV = "2.0.2+git"
12SRCREV = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a" 12SRCREV = "36ffb7ab6e2a7e33bd1b56398a88895b7b8c615a"
13SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master" 13SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https;branch=master"
14 14
15S = "${WORKDIR}/git"
16 15
17FILES:${PN} += "${base_libdir}/udev/rules.d/" 16FILES:${PN} += "${base_libdir}/udev/rules.d/"
diff --git a/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb
index e3e4c01acb..8021d8cf06 100644
--- a/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb
+++ b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb
@@ -14,7 +14,6 @@ SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https;branch=master \
14 file://0001-respect-environment-variables.patch \ 14 file://0001-respect-environment-variables.patch \
15 " 15 "
16 16
17S = "${WORKDIR}/git"
18 17
19do_configure () { 18do_configure () {
20 : 19 :
diff --git a/meta-oe/recipes-extended/liblightmodbus/liblightmodbus_2.0.2.bb b/meta-oe/recipes-extended/liblightmodbus/liblightmodbus_2.0.2.bb
index 1d650ac63b..c310e0f527 100644
--- a/meta-oe/recipes-extended/liblightmodbus/liblightmodbus_2.0.2.bb
+++ b/meta-oe/recipes-extended/liblightmodbus/liblightmodbus_2.0.2.bb
@@ -12,4 +12,3 @@ SRC_URI = "git://github.com/Jacajack/liblightmodbus.git;protocol=https;branch=ma
12 " 12 "
13SRCREV = "59d2b405f95701e5b04326589786dbb43ce49e81" 13SRCREV = "59d2b405f95701e5b04326589786dbb43ce49e81"
14 14
15S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile_1.17.bb b/meta-oe/recipes-extended/liblockfile/liblockfile_1.17.bb
index b094337e90..99f23fef05 100644
--- a/meta-oe/recipes-extended/liblockfile/liblockfile_1.17.bb
+++ b/meta-oe/recipes-extended/liblockfile/liblockfile_1.17.bb
@@ -17,7 +17,7 @@ SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblockfile/liblockfile_1.17.orig.tar.gz \
17SRC_URI[sha256sum] = "6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e" 17SRC_URI[sha256sum] = "6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e"
18SRC_URI[1.17-1.sha256sum] = "e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673" 18SRC_URI[1.17-1.sha256sum] = "e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673"
19 19
20S = "${WORKDIR}/${BP}" 20S = "${UNPACKDIR}/${BP}"
21 21
22inherit autotools-brokensep 22inherit autotools-brokensep
23 23
diff --git a/meta-oe/recipes-extended/liblogging/liblogging_1.0.6.bb b/meta-oe/recipes-extended/liblogging/liblogging_1.0.6.bb
index 5c1c151591..1b7f95d57f 100644
--- a/meta-oe/recipes-extended/liblogging/liblogging_1.0.6.bb
+++ b/meta-oe/recipes-extended/liblogging/liblogging_1.0.6.bb
@@ -12,7 +12,6 @@ LICENSE = "BSD-2-Clause"
12LIC_FILES_CHKSUM = "file://COPYING;md5=63fe03535d83726f5655072502bef1bc" 12LIC_FILES_CHKSUM = "file://COPYING;md5=63fe03535d83726f5655072502bef1bc"
13SRC_URI = "http://download.rsyslog.com/${BPN}/${BPN}-${PV}.tar.gz" 13SRC_URI = "http://download.rsyslog.com/${BPN}/${BPN}-${PV}.tar.gz"
14 14
15SRC_URI[md5sum] = "f215c7e7ac6cfd1f5dabdba08c522b29"
16SRC_URI[sha256sum] = "338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93" 15SRC_URI[sha256sum] = "338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93"
17 16
18inherit autotools pkgconfig 17inherit autotools pkgconfig
diff --git a/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb
index 0cc128c8c4..89670d10ca 100644
--- a/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb
+++ b/meta-oe/recipes-extended/liblognorm/liblognorm_2.0.6.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/rsyslog/liblognorm;branch=master;protocol=https \
13 " 13 "
14SRCREV = "46c6ee4c8e5f827893e485a4ef1aff04ea881273" 14SRCREV = "46c6ee4c8e5f827893e485a4ef1aff04ea881273"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit autotools pkgconfig 17inherit autotools pkgconfig
19 18
diff --git a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.10.bb b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
index 9e17f91669..ffbb3a8c8e 100644
--- a/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.10.bb
+++ b/meta-oe/recipes-extended/libmodbus/libmodbus_3.1.11.bb
@@ -7,9 +7,8 @@ LICENSE = "LGPL-2.1-or-later"
7LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" 7LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c"
8 8
9SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=https" 9SRC_URI = "git://github.com/stephane/libmodbus;branch=master;protocol=https"
10SRCREV = "2cbafa3113e276c3697d297f68e88d112b53174d" 10SRCREV = "5190e5e141780ae481f24be16d7b39a5f3ad8f8f"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools pkgconfig 13inherit autotools pkgconfig
15 14
diff --git a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
index f08fea7de3..7ec01ecd3f 100644
--- a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
+++ b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.5.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/libpwquality/libpwquality;branch=master;protocol=htt
13" 13"
14SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a" 14SRCREV = "5490e96a3dd6ed7371435ca5b3ccef98bdb48b5a"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit autotools-brokensep gettext setuptools3-base 17inherit autotools-brokensep gettext setuptools3-base
19 18
diff --git a/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb b/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb
index 3db9e2e66f..d270bf2113 100644
--- a/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb
+++ b/meta-oe/recipes-extended/libqb/libqb_2.0.8.bb
@@ -9,18 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=321bf41f280cf805086dd5a720b37785"
9 9
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12SRCREV = "002171bbcf4bc4728da56c1538afd9e9d814ecaf" 12SRC_URI = "https://github.com/ClusterLabs/${BPN}/releases/download/v${PV}/${BP}.tar.xz"
13SRC_URI = "git://github.com/ClusterLabs/${BPN}.git;branch=main;protocol=https \ 13SRC_URI[sha256sum] = "b42531fc20b8ac02f4c6d0a4dc49f7c4a1eef09bdb13af5f6927b7fc49522ee6"
14 "
15S = "${WORKDIR}/git"
16 14
17DEPENDS += "libxml2" 15DEPENDS += "libxml2"
18 16
19CFLAGS += "-pthread -D_REENTRANT" 17CFLAGS += "-pthread -D_REENTRANT"
20 18
21do_configure:prepend() {
22 ( cd ${S}
23 ${S}/autogen.sh )
24}
25
26BBCLASSEXTEND = "native" 19BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb b/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb
index 28c64a1614..ba10f062ec 100644
--- a/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb
+++ b/meta-oe/recipes-extended/libreport/libreport_2.17.15.bb
@@ -21,7 +21,6 @@ SRCREV = "f6bb06a699617d078fcd4f8b71b4d063bf47b52b"
21 21
22UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)" 22UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
23 23
24S = "${WORKDIR}/git"
25 24
26inherit features_check 25inherit features_check
27REQUIRED_DISTRO_FEATURES = "systemd" 26REQUIRED_DISTRO_FEATURES = "systemd"
diff --git a/meta-oe/recipes-extended/libserialport/libserialport_0.1.1.bb b/meta-oe/recipes-extended/libserialport/libserialport_0.1.2.bb
index 4190338c1f..71dc33da90 100644
--- a/meta-oe/recipes-extended/libserialport/libserialport_0.1.1.bb
+++ b/meta-oe/recipes-extended/libserialport/libserialport_0.1.2.bb
@@ -8,5 +8,4 @@ inherit autotools
8 8
9SRC_URI = "http://sigrok.org/download/source/libserialport/libserialport-${PV}.tar.gz" 9SRC_URI = "http://sigrok.org/download/source/libserialport/libserialport-${PV}.tar.gz"
10 10
11SRC_URI[md5sum] = "b93f0325a6157198152b5bd7e8182b51" 11SRC_URI[sha256sum] = "5deb92b5ca72c0347b07b786848350deca2dcfd975ce613b8e0e1d947a4b4ca9"
12SRC_URI[sha256sum] = "4a2af9d9c3ff488e92fb75b4ba38b35bcf9b8a66df04773eba2a7bbf1fa7529d"
diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb
index 7498a57049..85d3853f4c 100644
--- a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb
+++ b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.1.bb
@@ -14,6 +14,7 @@ SRC_URI = "https://github.com/libstatgrab/libstatgrab/releases/download/LIBSTATG
14SRC_URI[sha256sum] = "5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11" 14SRC_URI[sha256sum] = "5688aa4a685547d7174a8a373ea9d8ee927e766e3cc302bdee34523c2c5d6c11"
15 15
16UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 16UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\_\d+)+)"
17 18
18# Perl5 is for tests only 19# Perl5 is for tests only
19EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts" 20EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
diff --git a/meta-oe/recipes-extended/libuio/libuio_0.2.1.bb b/meta-oe/recipes-extended/libuio/libuio_0.2.1.bb
index 6e6c8cc226..d7e88f4fd0 100644
--- a/meta-oe/recipes-extended/libuio/libuio_0.2.1.bb
+++ b/meta-oe/recipes-extended/libuio/libuio_0.2.1.bb
@@ -11,7 +11,6 @@ PV .= "+0.2.2+git"
11 11
12inherit autotools 12inherit autotools
13 13
14S = "${WORKDIR}/git"
15 14
16PACKAGES += "${PN}-tools" 15PACKAGES += "${PN}-tools"
17 16
diff --git a/meta-oe/recipes-extended/libwmf/libwmf/0001-configure-use-pkg-config-for-freetype.patch b/meta-oe/recipes-extended/libwmf/libwmf/0001-configure-use-pkg-config-for-freetype.patch
deleted file mode 100644
index 21a6f292c8..0000000000
--- a/meta-oe/recipes-extended/libwmf/libwmf/0001-configure-use-pkg-config-for-freetype.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1From 61655f82224cadb261e81f8bae111eaaa7bdf531 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed, 6 Aug 2014 14:53:03 +0200
4Subject: [PATCH] configure: use pkg-config for freetype
5
6Upstream-Status: Pending
7Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
8---
9 configure.ac | 37 ++++++++-----------------------------
10 1 file changed, 8 insertions(+), 29 deletions(-)
11
12diff --git a/configure.ac b/configure.ac
13index 3cfe974..0055a8c 100644
14--- a/configure.ac
15+++ b/configure.ac
16@@ -399,40 +399,19 @@ AC_ARG_WITH(freetype,[ --with-freetype=DIR use freetype2 in DIR],[
17 fi
18 ])
19
20-if [ test -n "$FREETYPE_DIR" ]; then
21- AC_PATH_PROG(FREETYPE_CONFIG,freetype-config, ,[$FREETYPE_DIR/bin:$PATH])
22-else
23- AC_PATH_PROG(FREETYPE_CONFIG,freetype-config)
24-fi
25-
26-if [ test -n "$FREETYPE_CONFIG" ]; then
27- if [ test -n "$FREETYPE_DIR" ]; then
28- freetype_cflags="`$FREETYPE_CONFIG --cflags` -I$FREETYPE_DIR/include"
29- freetype_libs=`$FREETYPE_CONFIG --libs`
30- else
31- freetype_cflags=`$FREETYPE_CONFIG --cflags`
32- freetype_libs=`$FREETYPE_CONFIG --libs`
33- fi
34-else
35- if [ test -n "$FREETYPE_DIR" ]; then
36- freetype_cflags="-I$FREETYPE_DIR/include/freetype2 -I$FREETYPE_DIR/include"
37- freetype_libs="-L$FREETYPE_DIR/lib -lfreetype"
38- else
39- freetype_cflags=""
40- freetype_libs="-lfreetype"
41- fi
42-fi
43-
44-CPPFLAGS="$freetype_cflags $CPPFLAGS"
45-LDFLAGS="$LDFLAGS $freetype_libs"
46+PKG_CHECK_MODULES(FREETYPE2, freetype2,
47+ CFLAGS="$CFLAGS $FREETYPE2_CFLAGS"
48+ LDFLAGS="$LDFLAGS $FREETYPE2_LIBS",
49+ AC_MSG_ERROR([*** Unable to find FreeType2 library (http://www.freetype.org/)])
50+)
51
52 AC_CHECK_LIB(freetype,FT_Init_FreeType,[
53- WMF_FT_LDFLAGS="$freetype_libs"
54+ WMF_FT_LDFLAGS="$FREETYPE2_LIBS"
55 ],[ AC_MSG_ERROR([* * * freetype(2) is required * * *])
56 ])
57 AC_CHECK_HEADER(ft2build.h,[
58- WMF_FT_CFLAGS="$freetype_cflags"
59- WMF_FT_CONFIG_CFLAGS="$freetype_cflags"
60+ WMF_FT_CFLAGS="$FREETYPE2_CFLAGS"
61+ WMF_FT_CONFIG_CFLAGS="$FREETYPE2_CFLAGS"
62 ],[ AC_MSG_ERROR([* * * freetype(2) is required * * *])
63 ])
64
65--
661.9.0
67
diff --git a/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-intoverflow.patch b/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-intoverflow.patch
deleted file mode 100644
index 4e7cd8887a..0000000000
--- a/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-intoverflow.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1Upstream-Status: Pending
2
3http://cvs.fedoraproject.org/viewvc/devel/libwmf/libwmf-0.2.8.4-intoverflow.patch?view=log
4
5CVE-2006-3376 libwmf integer overflow
6
7--- libwmf-0.2.8.4.orig/src/player.c 2002-12-10 19:30:26.000000000 +0000
8+++ libwmf-0.2.8.4/src/player.c 2006-07-12 15:12:52.000000000 +0100
9@@ -42,6 +42,7 @@
10 #include "player/defaults.h" /* Provides: default settings */
11 #include "player/record.h" /* Provides: parameter mechanism */
12 #include "player/meta.h" /* Provides: record interpreters */
13+#include <stdint.h>
14
15 /**
16 * @internal
17@@ -132,8 +134,14 @@
18 }
19 }
20
21-/* P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API)-3) * 2 * sizeof (unsigned char));
22- */ P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char));
23+ if (MAX_REC_SIZE(API) > UINT32_MAX / 2)
24+ {
25+ API->err = wmf_E_InsMem;
26+ WMF_DEBUG (API,"bailing...");
27+ return (API->err);
28+ }
29+
30+ P->Parameters = (unsigned char*) wmf_malloc (API,(MAX_REC_SIZE(API) ) * 2 * sizeof (unsigned char));
31
32 if (ERR (API))
33 { WMF_DEBUG (API,"bailing...");
diff --git a/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-useafterfree.patch b/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-useafterfree.patch
deleted file mode 100644
index 9a8cbcb508..0000000000
--- a/meta-oe/recipes-extended/libwmf/libwmf/libwmf-0.2.8.4-useafterfree.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Upstream-Status: Pending
2
3
4http://cvs.fedoraproject.org/viewvc/devel/libwmf/libwmf-0.2.8.4-useafterfree.patch?view=log
5Resolves: CVE-2009-1364
6
7--- libwmf-0.2.8.4/src/extra/gd/gd_clip.c.CVE-2009-1364-im-clip-list 2009-04-24 04:06:44.000000000 -0400
8+++ libwmf-0.2.8.4/src/extra/gd/gd_clip.c 2009-04-24 04:08:30.000000000 -0400
9@@ -70,6 +70,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe
10 { more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
11 if (more == 0) return;
12 im->clip->max += 8;
13+ im->clip->list = more;
14 }
15 im->clip->list[im->clip->count] = (*rect);
16 im->clip->count++;
diff --git a/meta-oe/recipes-extended/libwmf/libwmf_0.2.13.bb b/meta-oe/recipes-extended/libwmf/libwmf_0.2.13.bb
new file mode 100644
index 0000000000..c5411d53a1
--- /dev/null
+++ b/meta-oe/recipes-extended/libwmf/libwmf_0.2.13.bb
@@ -0,0 +1,31 @@
1SUMMARY = "Library for converting WMF files"
2#HOMEPAGE = "http://wvware.sourceforge.net/libwmf.html"
3HOMEPAGE = "https://github.com/caolanm/libwmf"
4SECTION = "libs"
5
6LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
8
9
10DEPENDS:class-native = "freetype-native libpng-native jpeg-native"
11DEPENDS = "freetype libpng jpeg expat gtk+"
12
13BBCLASSEXTEND = "native"
14
15inherit features_check autotools pkgconfig
16
17REQUIRED_DISTRO_FEATURES = "x11"
18
19SRC_URI = "git://github.com/caolanm/libwmf.git;protocol=https;branch=master"
20SRCREV = "9e4737f2293c0d127bda92e5b01896df10571424"
21
22
23do_install:append() {
24 sed -i -e 's@${RECIPE_SYSROOT}@@g' ${D}${bindir}/libwmf-config ${D}${libdir}/pkgconfig/libwmf.pc
25}
26
27FILES:${PN}-dbg += "${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/.debug"
28FILES:${PN}-dev += "${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.la"
29FILES:${PN}-staticdev += "${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.a"
30FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/2.10.0/loaders/*.so"
31
diff --git a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb b/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb
deleted file mode 100644
index 93b58057ce..0000000000
--- a/meta-oe/recipes-extended/libwmf/libwmf_0.2.8.4.bb
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "Library for converting WMF files"
2HOMEPAGE = "http://wvware.sourceforge.net/libwmf.html"
3SECTION = "libs"
4
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8
9DEPENDS:class-native = "freetype-native libpng-native jpeg-native"
10DEPENDS = "freetype libpng jpeg expat gtk+"
11
12BBCLASSEXTEND = "native"
13
14inherit features_check autotools pkgconfig
15
16REQUIRED_DISTRO_FEATURES = "x11"
17
18SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/${BPN}/${PV}/${BPN}-${PV}.tar.gz;name=tarball \
19 file://libwmf-0.2.8.4-intoverflow.patch \
20 file://libwmf-0.2.8.4-useafterfree.patch \
21 file://0001-configure-use-pkg-config-for-freetype.patch \
22 "
23
24SRC_URI[tarball.md5sum] = "d1177739bf1ceb07f57421f0cee191e0"
25SRC_URI[tarball.sha256sum] = "5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8"
26
27FILES:${PN}-dbg += "${libdir}/gtk-2.0/2.10.0/loaders/.debug"
28FILES:${PN}-dev += "${libdir}/gtk-2.0/2.10.0/loaders/*.la"
29FILES:${PN}-staticdev += "${libdir}/gtk-2.0/2.10.0/loaders/*.a"
30FILES:${PN} += "${libdir}/gtk-2.0/2.10.0/loaders/*.so"
31
diff --git a/meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb b/meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb
index f11c52dd11..817322a484 100644
--- a/meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb
+++ b/meta-oe/recipes-extended/libx86-1/libx86-1_1.1.bb
@@ -16,10 +16,14 @@ SRC_URI = "https://mirrors.slackware.com/slackware/slackware-current/source/ap/l
16" 16"
17SRC_URI[sha256sum] = "5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048" 17SRC_URI[sha256sum] = "5bf13104cb327472b5cb65643352a9138646becacc06763088d83001d832d048"
18 18
19UPSTREAM_CHECK_URI = "https://mirrors.slackware.com/slackware/slackware-current/source/ap/libx86/"
20
19BPN = "libx86" 21BPN = "libx86"
20COMPATIBLE_HOST = '(x86_64|i.86).*-linux' 22COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
21 23
22export LIBDIR = "${libdir}" 24export LIBDIR = "${libdir}"
23export BACKEND = "x86emu" 25export BACKEND = "x86emu"
24 26
25inherit autotools-brokensep 27do_install() {
28 oe_runmake 'DESTDIR=${D}' install
29}
diff --git a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
index 3c6aee9247..70890e2485 100644
--- a/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
+++ b/meta-oe/recipes-extended/libyang/libyang/0001-test_context-skip-test-case-test_searchdirs.patch
@@ -1,4 +1,4 @@
1From 5de24e1b39c09adb0c5bf4bb4228bd1bb935542a Mon Sep 17 00:00:00 2001 1From 24ec37bfe5c4c248dda0e80d6e7ab27afca1d60e Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 22 Mar 2023 16:03:56 +0800 3Date: Wed, 22 Mar 2023 16:03:56 +0800
4Subject: [PATCH] test_context: skip test case test_searchdirs 4Subject: [PATCH] test_context: skip test case test_searchdirs
@@ -13,10 +13,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13 1 file changed, 1 deletion(-) 13 1 file changed, 1 deletion(-)
14 14
15diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c 15diff --git a/tests/utests/basic/test_context.c b/tests/utests/basic/test_context.c
16index cfba1d30f..8c3bb7ad6 100644 16index 116b2ce36..4e96f4e96 100644
17--- a/tests/utests/basic/test_context.c 17--- a/tests/utests/basic/test_context.c
18+++ b/tests/utests/basic/test_context.c 18+++ b/tests/utests/basic/test_context.c
19@@ -1061,7 +1061,6 @@ int 19@@ -1110,7 +1110,6 @@ int
20 main(void) 20 main(void)
21 { 21 {
22 const struct CMUnitTest tests[] = { 22 const struct CMUnitTest tests[] = {
@@ -24,6 +24,3 @@ index cfba1d30f..8c3bb7ad6 100644
24 UTEST(test_options), 24 UTEST(test_options),
25 UTEST(test_models), 25 UTEST(test_models),
26 UTEST(test_imports), 26 UTEST(test_imports),
27--
282.25.1
29
diff --git a/meta-oe/recipes-extended/libyang/libyang_2.1.148.bb b/meta-oe/recipes-extended/libyang/libyang_3.12.2.bb
index 0eff3247c6..7fff0b96a1 100644
--- a/meta-oe/recipes-extended/libyang/libyang_2.1.148.bb
+++ b/meta-oe/recipes-extended/libyang/libyang_3.12.2.bb
@@ -4,16 +4,15 @@ HOMEPAGE = "https://github.com/CESNET/libyang"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6 6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=f3916d7d8d42a6508d0ea418cfff10ad" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=9bb3d334294e8719f41c531e28a9a697"
8 8
9SRCREV = "fc4dbd923e044006c93df020590a1e5a8656c09e" 9SRCREV = "da7272e19d9e27d1bfdd68108fa9dce25fbdf5e8"
10 10
11SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https \ 11SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV} \
12 file://0001-test_context-skip-test-case-test_searchdirs.patch \ 12 file://0001-test_context-skip-test-case-test_searchdirs.patch \
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15 15
16S = "${WORKDIR}/git"
17 16
18# Main dependencies 17# Main dependencies
19inherit cmake pkgconfig lib_package ptest multilib_header 18inherit cmake pkgconfig lib_package ptest multilib_header
@@ -31,7 +30,7 @@ do_compile:prepend () {
31} 30}
32 31
33do_install:append () { 32do_install:append () {
34 oe_multilib_header libyang/config.h 33 oe_multilib_header libyang/ly_config.h
35} 34}
36 35
37do_install_ptest () { 36do_install_ptest () {
diff --git a/meta-oe/recipes-extended/libzip/libzip_1.10.1.bb b/meta-oe/recipes-extended/libzip/libzip_1.11.4.bb
index a314efc126..039973fdbf 100644
--- a/meta-oe/recipes-extended/libzip/libzip_1.10.1.bb
+++ b/meta-oe/recipes-extended/libzip/libzip_1.11.4.bb
@@ -21,6 +21,6 @@ inherit cmake
21 21
22SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz" 22SRC_URI = "https://libzip.org/download/libzip-${PV}.tar.xz"
23 23
24SRC_URI[sha256sum] = "dc3c8d5b4c8bbd09626864f6bcf93de701540f761d76b85d7c7d710f4bd90318" 24SRC_URI[sha256sum] = "8a247f57d1e3e6f6d11413b12a6f28a9d388de110adc0ec608d893180ed7097b"
25 25
26BBCLASSEXTEND += "native" 26BBCLASSEXTEND += "native"
diff --git a/meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.1.bb b/meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.1.bb
index a2a420ced8..4911cebd16 100644
--- a/meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.1.bb
+++ b/meta-oe/recipes-extended/linuxconsole/linuxconsole_1.7.1.bb
@@ -21,7 +21,7 @@ SRC_URI = "\
21 21
22SRC_URI[sha256sum] = "bd4d4b7e37da02fc67e47ddf20b6f1243c0a7af7b02b918d5e72138ea8727547" 22SRC_URI[sha256sum] = "bd4d4b7e37da02fc67e47ddf20b6f1243c0a7af7b02b918d5e72138ea8727547"
23 23
24S = "${WORKDIR}/linuxconsoletools-${PV}" 24S = "${UNPACKDIR}/linuxconsoletools-${PV}"
25 25
26inherit systemd pkgconfig 26inherit systemd pkgconfig
27 27
@@ -35,7 +35,7 @@ SYSTEMD_AUTO_ENABLE:inputattach = "enable"
35PROVIDES += "joystick" 35PROVIDES += "joystick"
36 36
37PACKAGECONFIG ??= "sdl" 37PACKAGECONFIG ??= "sdl"
38PACKAGECONFIG[sdl] = ",,libsdl2" 38PACKAGECONFIG[sdl] = ",,virtual/libsdl2"
39 39
40do_compile() { 40do_compile() {
41 if ! ${@bb.utils.contains('PACKAGECONFIG', 'sdl', 'true', 'false', d)}; then 41 if ! ${@bb.utils.contains('PACKAGECONFIG', 'sdl', 'true', 'false', d)}; then
diff --git a/meta-oe/recipes-extended/logwatch/logwatch_7.10.bb b/meta-oe/recipes-extended/logwatch/logwatch_7.11.bb
index 2efaa2b3c6..89012f8852 100644
--- a/meta-oe/recipes-extended/logwatch/logwatch_7.10.bb
+++ b/meta-oe/recipes-extended/logwatch/logwatch_7.11.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ba882fa9b4b6b217a51780be3f4db9c8"
12RDEPENDS:${PN} = "perl" 12RDEPENDS:${PN} = "perl"
13 13
14SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BP}/${BP}.tar.gz" 14SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BP}/${BP}.tar.gz"
15SRC_URI[sha256sum] = "329df0991b879764ed7e50a869de5b6bfa70d241eb254397a5659d1ff5f2588f" 15SRC_URI[sha256sum] = "5eb42d983a9667003368b572149fce788c0d7e13daaf1f28ad1bf3a140b865cf"
16 16
17do_install() { 17do_install() {
18 install -m 0755 -d ${D}${sysconfdir}/logwatch/scripts 18 install -m 0755 -d ${D}${sysconfdir}/logwatch/scripts
diff --git a/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb b/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb
index 73e4eac3dd..fd20860a03 100644
--- a/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb
+++ b/meta-oe/recipes-extended/lprng/lprng_3.8.C.bb
@@ -6,12 +6,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c6570d8d699af1883db9d0e733ac9bfb"
6SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ 6SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
7 file://0001-checkpc-Do-not-define-Mail_fd-multiple-times.patch \ 7 file://0001-checkpc-Do-not-define-Mail_fd-multiple-times.patch \
8 " 8 "
9SRC_URI[md5sum] = "5901bed95e61d2bea3ba3056056af432"
10SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10" 9SRC_URI[sha256sum] = "694a1747a96385b89e93f43343bf35cee5c8c73353a83814106911c99f09de10"
11 10
11UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lprng/files/lprng/"
12UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.tar"
13
12inherit autotools gettext 14inherit autotools gettext
13 15
14EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost" 16EXTRA_OECONF = "--disable-ssl --disable-kerberos --enable-force_localhost \
17 CHOWN=${base_bindir}/chown CHGRP=${base_bindir}/chgrp \
18 OPENSSL=${bindir}/openssl PRUTIL=${bindir}/pr"
15FILES:${PN}-dbg += "${libdir}/lprng/filters/.debug" 19FILES:${PN}-dbg += "${libdir}/lprng/filters/.debug"
16 20
17# configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it 21# configure: WARNING: Program 'clear' is not found. Set environment CLEAR=no if you do not want to use it
diff --git a/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.5.bb b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb
index 096f869c30..6d5399c8d0 100644
--- a/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.5.bb
+++ b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb
@@ -9,15 +9,14 @@ BUGTRACKER = "https://github.com/Neargye/magic_enum/issues"
9HOMEPAGE = "https://github.com/Neargye/magic_enum" 9HOMEPAGE = "https://github.com/Neargye/magic_enum"
10 10
11LICENSE = "MIT" 11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=b15f48588464ec8ef87d2b560aad2caa" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=7e7717cf723eb72f57e80fdb651cb318"
13 13
14SRC_URI = " \ 14SRC_URI = " \
15 git://github.com/Neargye/magic_enum.git;protocol=https;branch=master \ 15 git://github.com/Neargye/magic_enum.git;protocol=https;branch=master \
16 file://run-ptest \ 16 file://run-ptest \
17" 17"
18 18
19SRCREV = "e55b9b54d5cf61f8e117cafb17846d7d742dd3b4" 19SRCREV = "e046b69a3736d314fad813e159b1c192eaef92cd"
20S = "${WORKDIR}/git"
21 20
22inherit cmake ptest 21inherit cmake ptest
23 22
diff --git a/meta-oe/recipes-extended/md5deep/md5deep_git.bb b/meta-oe/recipes-extended/md5deep/md5deep_git.bb
index 5351a37db6..4b7192290e 100644
--- a/meta-oe/recipes-extended/md5deep/md5deep_git.bb
+++ b/meta-oe/recipes-extended/md5deep/md5deep_git.bb
@@ -13,6 +13,5 @@ SRC_URI = "git://github.com/jessek/hashdeep.git;branch=master;protocol=https \
13 file://0001-Fix-literal-and-identifier-spacing-as-dictated-by-C-.patch \ 13 file://0001-Fix-literal-and-identifier-spacing-as-dictated-by-C-.patch \
14 " 14 "
15 15
16S = "${WORKDIR}/git"
17 16
18inherit autotools 17inherit autotools
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch
index b997d6ce7d..68fd1ee3e0 100644
--- a/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0001-Do-not-use-bundled-packages.patch
@@ -1,4 +1,4 @@
1From 65923a872e44cb461ef1a03374057351f0bc5efe Mon Sep 17 00:00:00 2001 1From 4952f03d150770ff06f9a12ff42d8de680407649 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 19 Mar 2024 19:39:04 +0800 3Date: Tue, 19 Mar 2024 19:39:04 +0800
4Subject: [PATCH] Do not use bundled packages 4Subject: [PATCH] Do not use bundled packages
@@ -10,60 +10,27 @@ Upstream-Status: Inappropriate [embedded specific]
10 10
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12--- 12---
13 CMakeLists.txt | 23 ++++++----------------- 13 CMakeLists.txt | 3 +--
14 extensions/libarchive/CMakeLists.txt | 7 ++----- 14 cmake/GetBZip2.cmake | 3 +++
15 2 files changed, 8 insertions(+), 22 deletions(-) 15 cmake/GetCatch2.cmake | 4 ++++
16 cmake/GetCivetWeb.cmake | 3 +++
17 cmake/GetFmt.cmake | 3 +++
18 cmake/GetLibCURL.cmake | 3 +++
19 cmake/GetLibXml2.cmake | 3 +++
20 cmake/GetOpenSSL.cmake | 3 +++
21 cmake/GetRocksDB.cmake | 4 ++++
22 cmake/GetSpdlog.cmake | 4 ++++
23 cmake/GetZLIB.cmake | 3 +++
24 cmake/GetZstd.cmake | 4 ++++
25 extensions/libarchive/CMakeLists.txt | 6 ++----
26 13 files changed, 40 insertions(+), 6 deletions(-)
16 27
17diff --git a/CMakeLists.txt b/CMakeLists.txt 28diff --git a/CMakeLists.txt b/CMakeLists.txt
18index 13a2b992..8a1dd6d9 100644 29index 50e31d871..fc1718dfd 100644
19--- a/CMakeLists.txt 30--- a/CMakeLists.txt
20+++ b/CMakeLists.txt 31+++ b/CMakeLists.txt
21@@ -222,9 +222,7 @@ else() 32@@ -265,8 +265,7 @@ include(GetSpdlog)
22 endif() 33 get_spdlog()
23
24 if (NOT DISABLE_BZIP2 AND (NOT DISABLE_LIBARCHIVE OR (NOT DISABLE_ROCKSDB AND NOT WIN32)))
25- include(BundledBZip2)
26- use_bundled_bzip2(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
27- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/bzip2/dummy")
28+ find_package(BZip2 REQUIRED)
29 endif()
30
31 if(NOT WIN32)
32@@ -247,9 +245,7 @@ endif()
33
34 # OpenSSL
35 if (NOT OPENSSL_OFF)
36- include(BundledOpenSSL)
37- use_openssl("${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
38- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/ssl")
39+ find_package(OpenSSL REQUIRED)
40
41 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DOPENSSL_SUPPORT")
42 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DOPENSSL_SUPPORT")
43@@ -262,9 +258,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSODIUM_STATIC=1")
44 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DSODIUM_STATIC=1")
45
46 # zlib
47-include(BundledZLIB)
48-use_bundled_zlib(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
49-list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/zlib/dummy")
50+find_package(ZLIB REQUIRED)
51
52 # uthash
53 add_library(ut INTERFACE)
54@@ -272,9 +266,7 @@ target_include_directories(ut SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/thir
55
56 # cURL
57 if(NOT DISABLE_CURL)
58- include(BundledLibcURL)
59- use_bundled_curl(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
60- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/curl/dummy")
61+ find_package(CURL REQUIRED)
62 else()
63 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDISABLE_CURL")
64 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DDISABLE_CURL")
65@@ -285,8 +277,7 @@ include(BundledSpdlog)
66 use_bundled_spdlog(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
67 34
68 # yaml-cpp 35 # yaml-cpp
69-include(BundledYamlCpp) 36-include(BundledYamlCpp)
@@ -72,27 +39,162 @@ index 13a2b992..8a1dd6d9 100644
72 39
73 # concurrentqueue 40 # concurrentqueue
74 add_library(concurrentqueue INTERFACE) 41 add_library(concurrentqueue INTERFACE)
75@@ -357,9 +348,7 @@ include(Extensions) 42diff --git a/cmake/GetBZip2.cmake b/cmake/GetBZip2.cmake
76 add_subdirectory(libminifi) 43index 2a7d47e9e..754122895 100644
77 44--- a/cmake/GetBZip2.cmake
78 if ((ENABLE_OPENWSMAN AND NOT DISABLE_CIVET AND NOT DISABLE_CURL) OR ENABLE_ALL OR ENABLE_AZURE) 45+++ b/cmake/GetBZip2.cmake
79- include(BundledLibXml2) 46@@ -23,5 +23,8 @@ function(get_bzip2 SOURCE_DIR BINARY_DIR)
80- use_bundled_libxml2(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) 47 message("Using CMake to build bzip2 from source")
81- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/libxml2/dummy") 48 include(BundledBZip2)
82+ find_package(LibXml2 REQUIRED) 49 use_bundled_bzip2(${SOURCE_DIR} ${BINARY_DIR})
83 endif() 50+ elseif(MINIFI_BZIP2_SOURCE STREQUAL "SYSTEM")
84 51+ message("Using bzip2 provided by system")
85 if (ENABLE_ALL OR ENABLE_PROMETHEUS OR NOT DISABLE_CIVET) 52+ find_package(BZip2 REQUIRED)
53 endif()
54 endfunction(get_bzip2)
55diff --git a/cmake/GetCatch2.cmake b/cmake/GetCatch2.cmake
56index d6c1d6acc..ec11b0a77 100644
57--- a/cmake/GetCatch2.cmake
58+++ b/cmake/GetCatch2.cmake
59@@ -23,5 +23,9 @@ function(get_catch2)
60 elseif(MINIFI_CATCH2_SOURCE STREQUAL "BUILD")
61 message("Using CMake to build Catch2 from source")
62 include(Catch2)
63+ elseif(MINIFI_CATCH2_SOURCE STREQUAL "SYSTEM")
64+ message("Using Catch2 provided by system")
65+ find_package(Catch2 REQUIRED)
66+ add_library(Catch2WithMain ALIAS Catch2::Catch2WithMain)
67 endif()
68 endfunction(get_catch2)
69diff --git a/cmake/GetCivetWeb.cmake b/cmake/GetCivetWeb.cmake
70index f30d22289..8fc39a0e2 100644
71--- a/cmake/GetCivetWeb.cmake
72+++ b/cmake/GetCivetWeb.cmake
73@@ -22,5 +22,8 @@ function(get_civetweb)
74 elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "BUILD")
75 message("Using CMake to build CivetWeb from source")
76 include(CivetWeb)
77+ elseif(MINIFI_CIVETWEB_SOURCE STREQUAL "SYSTEM")
78+ message("Using CivetWeb provided by system")
79+ find_package(civetweb REQUIRED)
80 endif()
81 endfunction(get_civetweb)
82diff --git a/cmake/GetFmt.cmake b/cmake/GetFmt.cmake
83index f4f28458d..579a63897 100644
84--- a/cmake/GetFmt.cmake
85+++ b/cmake/GetFmt.cmake
86@@ -22,5 +22,8 @@ function(get_fmt)
87 elseif(MINIFI_FMT_SOURCE STREQUAL "BUILD")
88 message("Using CMake to build Fmt from source")
89 include(fmt)
90+ elseif(MINIFI_FMT_SOURCE STREQUAL "SYSTEM")
91+ message("Using Fmt provided by system")
92+ find_package(fmt REQUIRED)
93 endif()
94 endfunction(get_fmt)
95diff --git a/cmake/GetLibCURL.cmake b/cmake/GetLibCURL.cmake
96index afd38f3c9..0eac59ec4 100644
97--- a/cmake/GetLibCURL.cmake
98+++ b/cmake/GetLibCURL.cmake
99@@ -23,5 +23,8 @@ function(get_curl SOURCE_DIR BINARY_DIR)
100 message("Using CMake to build libcurl from source")
101 include(BundledLibcURL)
102 use_bundled_curl(${SOURCE_DIR} ${BINARY_DIR})
103+ elseif(MINIFI_LIBCURL_SOURCE STREQUAL "SYSTEM")
104+ message("Using libcurl provided by system")
105+ find_package(CURL REQUIRED)
106 endif()
107 endfunction(get_curl SOURCE_DIR BINARY_DIR)
108diff --git a/cmake/GetLibXml2.cmake b/cmake/GetLibXml2.cmake
109index 5915b117d..18048715d 100644
110--- a/cmake/GetLibXml2.cmake
111+++ b/cmake/GetLibXml2.cmake
112@@ -23,5 +23,8 @@ function(get_libxml2 SOURCE_DIR BINARY_DIR)
113 message("Using CMake to build libxml2 from source")
114 include(BundledLibXml2)
115 use_bundled_libxml2(${SOURCE_DIR} ${BINARY_DIR})
116+ elseif(MINIFI_LIBXML2_SOURCE STREQUAL "SYSTEM")
117+ message("Using libxml2 provided by system")
118+ find_package(libxml2 REQUIRED)
119 endif()
120 endfunction(get_libxml2)
121diff --git a/cmake/GetOpenSSL.cmake b/cmake/GetOpenSSL.cmake
122index 58132c6bf..2b142f94e 100644
123--- a/cmake/GetOpenSSL.cmake
124+++ b/cmake/GetOpenSSL.cmake
125@@ -23,5 +23,8 @@ function(get_openssl SOURCE_DIR BINARY_DIR)
126 message("Using CMake to build OpenSSL from source")
127 include(BundledOpenSSL)
128 use_openssl(${SOURCE_DIR} ${BINARY_DIR})
129+ elseif(MINIFI_OPENSSL_SOURCE STREQUAL "SYSTEM")
130+ message("Using OpenSSL provided by system")
131+ find_package(OpenSSL REQUIRED)
132 endif()
133 endfunction(get_openssl)
134diff --git a/cmake/GetRocksDB.cmake b/cmake/GetRocksDB.cmake
135index 0968afc38..3ca1fe565 100644
136--- a/cmake/GetRocksDB.cmake
137+++ b/cmake/GetRocksDB.cmake
138@@ -30,5 +30,9 @@ function(get_rocksdb SOURCE_DIR BINARY_DIR)
139 list(APPEND CMAKE_MODULE_PATH "${SOURCE_DIR}/cmake/rocksdb/sys")
140 find_package(RocksDB REQUIRED)
141 endif()
142+ elseif(MINIFI_ROCKSDB_SOURCE STREQUAL "SYSTEM")
143+ message("Using RocksDB provided by system")
144+ list(APPEND CMAKE_MODULE_PATH "${SOURCE_DIR}/cmake/rocksdb/sys")
145+ find_package(RocksDB REQUIRED)
146 endif()
147 endfunction(get_rocksdb SOURCE_DIR BINARY_DIR)
148diff --git a/cmake/GetSpdlog.cmake b/cmake/GetSpdlog.cmake
149index 747894984..6255e31bf 100644
150--- a/cmake/GetSpdlog.cmake
151+++ b/cmake/GetSpdlog.cmake
152@@ -27,5 +27,9 @@ function(get_spdlog)
153 elseif(MINIFI_SPDLOG_SOURCE STREQUAL "BUILD")
154 message("Using CMake to build spdlog from source")
155 include(Spdlog)
156+ elseif(MINIFI_SPDLOG_SOURCE STREQUAL "SYSTEM")
157+ message("Using spdlog provided by system")
158+ find_package(spdlog REQUIRED)
159+ add_library(spdlog ALIAS spdlog::spdlog)
160 endif()
161 endfunction(get_spdlog)
162diff --git a/cmake/GetZLIB.cmake b/cmake/GetZLIB.cmake
163index 6e7bea1e3..c15e2246a 100644
164--- a/cmake/GetZLIB.cmake
165+++ b/cmake/GetZLIB.cmake
166@@ -23,5 +23,8 @@ function(get_zlib SOURCE_DIR BINARY_DIR)
167 message("Using CMake to build zlib from source")
168 include(BundledZLIB)
169 use_bundled_zlib(${SOURCE_DIR} ${BINARY_DIR})
170+ elseif(MINIFI_ZLIB_SOURCE STREQUAL "SYSTEM")
171+ message("Using zlib provided by system")
172+ find_package(ZLIB REQUIRED)
173 endif()
174 endfunction(get_zlib)
175diff --git a/cmake/GetZstd.cmake b/cmake/GetZstd.cmake
176index a0334b02d..0e7600c22 100644
177--- a/cmake/GetZstd.cmake
178+++ b/cmake/GetZstd.cmake
179@@ -23,5 +23,9 @@ function(get_zstd)
180 elseif(MINIFI_ZSTD_SOURCE STREQUAL "BUILD")
181 message("Using CMake to build zstd from source")
182 include(Zstd)
183+ elseif(MINIFI_ZSTD_SOURCE STREQUAL "SYSTEM")
184+ message("Using zstd provided by system")
185+ find_package(zstd REQUIRED)
186+ add_library(zstd::zstd ALIAS zstd::libzstd_static)
187 endif()
188 endfunction(get_zstd)
86diff --git a/extensions/libarchive/CMakeLists.txt b/extensions/libarchive/CMakeLists.txt 189diff --git a/extensions/libarchive/CMakeLists.txt b/extensions/libarchive/CMakeLists.txt
87index 2b89d3ea..49e13e21 100644 190index bf7b2a7f5..eb6b71091 100644
88--- a/extensions/libarchive/CMakeLists.txt 191--- a/extensions/libarchive/CMakeLists.txt
89+++ b/extensions/libarchive/CMakeLists.txt 192+++ b/extensions/libarchive/CMakeLists.txt
90@@ -22,13 +22,10 @@ if (DISABLE_LIBARCHIVE) 193@@ -22,12 +22,10 @@ if (NOT ENABLE_LIBARCHIVE)
91 endif() 194 endif()
92 195
93 if (NOT DISABLE_LZMA) 196 if (ENABLE_LZMA)
94- include(BundledLibLZMA) 197- include(LibLZMA)
95- use_bundled_liblzma(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
96- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/liblzma/dummy") 198- list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/liblzma/dummy")
97+ find_package(LibLZMA REQUIRED) 199+ find_package(LibLZMA REQUIRED)
98 endif() 200 endif()
@@ -104,5 +206,5 @@ index 2b89d3ea..49e13e21 100644
104 include(${CMAKE_SOURCE_DIR}/extensions/ExtensionHeader.txt) 206 include(${CMAKE_SOURCE_DIR}/extensions/ExtensionHeader.txt)
105 207
106-- 208--
1072.25.1 2092.34.1
108 210
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0001-libminifi-Rename-mutex_-to-mtx_-member-of-Concurrent.patch b/meta-oe/recipes-extended/minifi-cpp/files/0001-libminifi-Rename-mutex_-to-mtx_-member-of-Concurrent.patch
deleted file mode 100644
index a09a17bf2c..0000000000
--- a/meta-oe/recipes-extended/minifi-cpp/files/0001-libminifi-Rename-mutex_-to-mtx_-member-of-Concurrent.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From cd2b5362fe2e63dff3666ce72da27979fe06a519 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 28 May 2024 22:24:52 -0700
4Subject: [PATCH] libminifi: Rename mutex_ to mtx_ member of ConcurrentQueue
5
6Fixes
7libminifi/include/utils/MinifiConcurrentQueue.h:48:75: error: no member named 'mutex_' in 'ConcurrentQueue<T>'; did you mean 'mtx_'?
8| 48 | : ConcurrentQueue(std::move(other), std::lock_guard<std::mutex>(other.mutex_)) {}
9| | ^~~~~~
10| | mtx_
11| libminifi/include/utils/MinifiConcurrentQueue.h:140:22: note: 'mtx_' declared here
12| 140 | mutable std::mutex mtx_;
13| | ^
14| 1 error generated.
15
16Upstream-Status: Submitted [https://github.com/apache/nifi-minifi-cpp/pull/1803]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 libminifi/include/utils/MinifiConcurrentQueue.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/libminifi/include/utils/MinifiConcurrentQueue.h b/libminifi/include/utils/MinifiConcurrentQueue.h
23index 8abc0ec93..1db58080b 100644
24--- a/libminifi/include/utils/MinifiConcurrentQueue.h
25+++ b/libminifi/include/utils/MinifiConcurrentQueue.h
26@@ -45,7 +45,7 @@ class ConcurrentQueue {
27 ConcurrentQueue(const ConcurrentQueue& other) = delete;
28 ConcurrentQueue& operator=(const ConcurrentQueue& other) = delete;
29 ConcurrentQueue(ConcurrentQueue&& other)
30- : ConcurrentQueue(std::move(other), std::lock_guard<std::mutex>(other.mutex_)) {}
31+ : ConcurrentQueue(std::move(other), std::lock_guard<std::mutex>(other.mtx_)) {}
32
33 ConcurrentQueue& operator=(ConcurrentQueue&& other) {
34 if (this != &other) {
35--
362.45.1
37
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch b/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch
index 65c52c6337..537beb85d3 100644
--- a/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0002-Fix-osspuuid-build.patch
@@ -1,4 +1,4 @@
1From 4e8e1943541d3b887ba86dc1b488cbb058c7d1cd Mon Sep 17 00:00:00 2001 1From 429b2b357e5142e2b845da95bdd38e8fc1229831 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 19 Mar 2024 20:48:25 +0800 3Date: Tue, 19 Mar 2024 20:48:25 +0800
4Subject: [PATCH] Fix osspuuid build 4Subject: [PATCH] Fix osspuuid build
@@ -16,7 +16,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
16 create mode 100644 thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch 16 create mode 100644 thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch
17 17
18diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake 18diff --git a/cmake/BundledOSSPUUID.cmake b/cmake/BundledOSSPUUID.cmake
19index c4fa1523..1faf2e5c 100644 19index 747e52c27..fb6e2164d 100644
20--- a/cmake/BundledOSSPUUID.cmake 20--- a/cmake/BundledOSSPUUID.cmake
21+++ b/cmake/BundledOSSPUUID.cmake 21+++ b/cmake/BundledOSSPUUID.cmake
22@@ -23,10 +23,12 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR) 22@@ -23,10 +23,12 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR)
@@ -33,16 +33,16 @@ index c4fa1523..1faf2e5c 100644
33 33
34 # Define byproducts 34 # Define byproducts
35 set(BYPRODUCTS "lib/libuuid.a" 35 set(BYPRODUCTS "lib/libuuid.a"
36@@ -39,7 +41,7 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR) 36@@ -45,7 +47,7 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR)
37 ENDFOREACH(BYPRODUCT) 37 if(APPLE)
38 38 string(APPEND ADDITIONAL_COMPILER_FLAGS "-isysroot ${CMAKE_OSX_SYSROOT} ")
39 # Build project 39 endif()
40- set(CONFIGURE_COMMAND ./configure "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} -fPIC" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} -fPIC" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install") 40- set(CONFIGURE_COMMAND ./configure "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS}" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install")
41+ set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure --host=${HOST_SYS} --build=${BUILD_SYS} "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} -fPIC" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} -fPIC" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install") 41+ set(CONFIGURE_COMMAND ac_cv_va_copy=C99 ./configure --host=${HOST_SYS} --build=${BUILD_SYS} "CC=${CMAKE_C_COMPILER}" "CXX=${CMAKE_CXX_COMPILER}" "CFLAGS=${PASSTHROUGH_CMAKE_C_FLAGS} -fPIC" "CXXFLAGS=${PASSTHROUGH_CMAKE_CXX_FLAGS} -fPIC" --enable-shared=no --with-cxx --without-perl --without-php --without-pgsql "--prefix=${BINARY_DIR}/thirdparty/ossp-uuid-install")
42
42 string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type) 43 string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type)
43 if(NOT build_type MATCHES debug) 44 if(build_type MATCHES debug)
44 list(APPEND CONFIGURE_COMMAND --enable-debug=yes) 45@@ -54,10 +56,8 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR)
45@@ -47,10 +49,8 @@ function(use_bundled_osspuuid SOURCE_DIR BINARY_DIR)
46 46
47 ExternalProject_Add( 47 ExternalProject_Add(
48 ossp-uuid-external 48 ossp-uuid-external
@@ -56,7 +56,7 @@ index c4fa1523..1faf2e5c 100644
56 UPDATE_COMMAND "" 56 UPDATE_COMMAND ""
57diff --git a/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch 57diff --git a/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch
58new file mode 100644 58new file mode 100644
59index 00000000..b8d7b0bb 59index 000000000..b8d7b0bba
60--- /dev/null 60--- /dev/null
61+++ b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch 61+++ b/thirdparty/ossp-uuid/ossp-uuid-cross-compile-fix.patch
62@@ -0,0 +1,13 @@ 62@@ -0,0 +1,13 @@
@@ -74,5 +74,5 @@ index 00000000..b8d7b0bb
74+ if [ ".$opt_o" != . ]; then 74+ if [ ".$opt_o" != . ]; then
75+ if [ ".$opt_t" = .yes ]; then 75+ if [ ".$opt_t" = .yes ]; then
76-- 76--
772.25.1 772.34.1
78 78
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch b/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch
index a08962724e..10d9965ef4 100644
--- a/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0003-Fix-libsodium-build.patch
@@ -1,4 +1,4 @@
1From 1c697e4d75f0045d5364d622960ff8047a4ad3ec Mon Sep 17 00:00:00 2001 1From a19e548826e65a95a55ac6b9c12a83d3dcc0010d Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 19 Mar 2024 20:56:05 +0800 3Date: Tue, 19 Mar 2024 20:56:05 +0800
4Subject: [PATCH] Fix libsodium build 4Subject: [PATCH] Fix libsodium build
@@ -14,7 +14,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
14 1 file changed, 2 insertions(+), 4 deletions(-) 14 1 file changed, 2 insertions(+), 4 deletions(-)
15 15
16diff --git a/cmake/BundledLibSodium.cmake b/cmake/BundledLibSodium.cmake 16diff --git a/cmake/BundledLibSodium.cmake b/cmake/BundledLibSodium.cmake
17index 3a3daf41..d851f753 100644 17index 98d05b737..4f0faa879 100644
18--- a/cmake/BundledLibSodium.cmake 18--- a/cmake/BundledLibSodium.cmake
19+++ b/cmake/BundledLibSodium.cmake 19+++ b/cmake/BundledLibSodium.cmake
20@@ -58,14 +58,12 @@ function(use_bundled_libsodium SOURCE_DIR BINARY_DIR) 20@@ -58,14 +58,12 @@ function(use_bundled_libsodium SOURCE_DIR BINARY_DIR)
@@ -26,7 +26,7 @@ index 3a3daf41..d851f753 100644
26 26
27 ExternalProject_Add( 27 ExternalProject_Add(
28 libsodium-external 28 libsodium-external
29- URL "${LIBSODIUM_OFFICIAL_MIRROR_URL} ${LIBSODIUM_GITHUB_MIRROR_URL} ${LIBSODIUM_GENTOO_MIRROR_URL}" 29- URL "${LIBSODIUM_OFFICIAL_MIRROR_URL}" "${LIBSODIUM_GITHUB_MIRROR_URL}" "${LIBSODIUM_GENTOO_MIRROR_URL}"
30- URL_HASH ${LIBSODIUM_URL_HASH} 30- URL_HASH ${LIBSODIUM_URL_HASH}
31 BUILD_IN_SOURCE true 31 BUILD_IN_SOURCE true
32- SOURCE_DIR "${BINARY_DIR}/thirdparty/libsodium-src" 32- SOURCE_DIR "${BINARY_DIR}/thirdparty/libsodium-src"
@@ -35,5 +35,5 @@ index 3a3daf41..d851f753 100644
35 CMAKE_COMMAND "" 35 CMAKE_COMMAND ""
36 UPDATE_COMMAND "" 36 UPDATE_COMMAND ""
37-- 37--
382.25.1 382.34.1
39 39
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0004-Fix-spdlog-build.patch b/meta-oe/recipes-extended/minifi-cpp/files/0004-Fix-spdlog-build.patch
deleted file mode 100644
index 177c6adee6..0000000000
--- a/meta-oe/recipes-extended/minifi-cpp/files/0004-Fix-spdlog-build.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 8a5fe73f722718aa5c9a467c28a26913771f7208 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 19 Mar 2024 20:57:37 +0800
4Subject: [PATCH] Fix spdlog build
5
6* Specify CMAKE_INSTALL_LIBDIR to fix multilib build.
7* Do not download spdlog source during compile.
8
9Upstream-Status: Inappropriate [embedded specific]
10
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12---
13 cmake/BundledSpdlog.cmake | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/cmake/BundledSpdlog.cmake b/cmake/BundledSpdlog.cmake
17index 974cbbaa..c0c45688 100644
18--- a/cmake/BundledSpdlog.cmake
19+++ b/cmake/BundledSpdlog.cmake
20@@ -35,11 +35,12 @@ function(use_bundled_spdlog SOURCE_DIR BINARY_DIR)
21 endif()
22
23 # Set build options
24- set(SPDLOG_SOURCE_DIR "${BINARY_DIR}/thirdparty/spdlog-src")
25+ set(SPDLOG_SOURCE_DIR "${SOURCE_DIR}/thirdparty/spdlog-src")
26 set(SPDLOG_INSTALL_DIR "${BINARY_DIR}/thirdparty/spdlog-install")
27 set(SPDLOG_LIBRARY "${SPDLOG_INSTALL_DIR}/${BYPRODUCT}")
28 set(SPDLOG_CMAKE_ARGS ${PASSTHROUGH_CMAKE_ARGS}
29 "-DCMAKE_INSTALL_PREFIX=${SPDLOG_INSTALL_DIR}"
30+ "-DCMAKE_INSTALL_LIBDIR=${LIBDIR}"
31 "-DSPDLOG_BUILD_EXAMPLE=OFF"
32 "-DSPDLOG_BUILD_TESTS=OFF"
33 "-DSPDLOG_BUILD_TESTING=OFF"
34@@ -49,7 +50,6 @@ function(use_bundled_spdlog SOURCE_DIR BINARY_DIR)
35 # Build project
36 ExternalProject_Add(
37 spdlog-external
38- URL "https://github.com/gabime/spdlog/archive/v1.8.0.zip"
39 SOURCE_DIR "${SPDLOG_SOURCE_DIR}"
40 CMAKE_ARGS ${SPDLOG_CMAKE_ARGS}
41 BUILD_BYPRODUCTS "${SPDLOG_LIBRARY}"
42--
432.25.1
44
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0005-Pass-noline-flag-to-flex.patch b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch
index 53939131ff..344e8839e7 100644
--- a/meta-oe/recipes-extended/minifi-cpp/files/0005-Pass-noline-flag-to-flex.patch
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0004-Pass-noline-flag-to-flex.patch
@@ -1,4 +1,4 @@
1From 083babbd6c6cc6f31530fbac0227c1d426fb0863 Mon Sep 17 00:00:00 2001 1From 229137659501ae51774dcb3249f94545bdd6e21f Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Tue, 19 Mar 2024 21:00:59 +0800 3Date: Tue, 19 Mar 2024 21:00:59 +0800
4Subject: [PATCH] Pass --noline flag to flex 4Subject: [PATCH] Pass --noline flag to flex
@@ -14,18 +14,18 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/extensions/expression-language/CMakeLists.txt b/extensions/expression-language/CMakeLists.txt 16diff --git a/extensions/expression-language/CMakeLists.txt b/extensions/expression-language/CMakeLists.txt
17index 775b4116..84edc617 100644 17index c179ab3ef..7f507b03a 100644
18--- a/extensions/expression-language/CMakeLists.txt 18--- a/extensions/expression-language/CMakeLists.txt
19+++ b/extensions/expression-language/CMakeLists.txt 19+++ b/extensions/expression-language/CMakeLists.txt
20@@ -77,7 +77,7 @@ flex_target( 20@@ -103,7 +103,7 @@ flex_target(
21 el-scanner 21 el-scanner
22 ${CMAKE_CURRENT_SOURCE_DIR}/Scanner.ll 22 ${CMAKE_CURRENT_SOURCE_DIR}/Scanner.ll
23 ${CMAKE_CURRENT_SOURCE_DIR}/Scanner.cpp 23 ${CMAKE_BINARY_DIR}/el-generated/Scanner.cpp
24- COMPILE_FLAGS --c++ 24- COMPILE_FLAGS --c++
25+ COMPILE_FLAGS "--c++ --noline" 25+ COMPILE_FLAGS "--c++ --noline"
26 ) 26 )
27 27
28 add_flex_bison_dependency(el-scanner el-parser) 28 set(EL_GENERATED_INCLUDE_DIR ${CMAKE_BINARY_DIR}/el-generated)
29-- 29--
302.25.1 302.34.1
31 31
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch b/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch
new file mode 100644
index 0000000000..2e78b1087e
--- /dev/null
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0005-generateVersion.sh-set-correct-buildrev.patch
@@ -0,0 +1,32 @@
1From 1861170c6de3dd851324debf3a6eaeff4d8d8bce Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Fri, 14 Mar 2025 20:26:38 +0800
4Subject: [PATCH] generateVersion.sh: set correct buildrev
5
6Since this script is run outside the source directory, git log can not
7get the commit id, so buildrev is not set correctly. Fix the issue by
8adding -C option.
9
10Upstream-Status: Inappropriate [embedded specific]
11
12Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13---
14 generateVersion.sh | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/generateVersion.sh b/generateVersion.sh
18index ff25afba8..0b50a1693 100755
19--- a/generateVersion.sh
20+++ b/generateVersion.sh
21@@ -28,7 +28,7 @@ buildident=$8
22 date=$(date +%s)
23
24 if [ -d "${src_dir}"/.git ]; then
25- buildrev=$(git log -1 --pretty=format:"%H")
26+ buildrev=$(git -C "${src_dir}" log -1 --pretty=format:"%H")
27 else
28 buildrev="Unknown"
29 fi
30--
312.34.1
32
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0007-CMakeLists.txt-do-not-use-ccache.patch b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch
index 73a59f2a84..055a3e7b57 100644
--- a/meta-oe/recipes-extended/minifi-cpp/files/0007-CMakeLists.txt-do-not-use-ccache.patch
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0006-CMakeLists.txt-do-not-use-ccache.patch
@@ -1,4 +1,4 @@
1From 44867a8e4100a7296b98e0e850d950d24b980959 Mon Sep 17 00:00:00 2001 1From bbe5c95ef1755c4804c4561c03cafedeb004cb36 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Thu, 21 Mar 2024 10:18:39 +0800 3Date: Thu, 21 Mar 2024 10:18:39 +0800
4Subject: [PATCH] CMakeLists.txt: do not use ccache 4Subject: [PATCH] CMakeLists.txt: do not use ccache
@@ -11,10 +11,10 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11 1 file changed, 6 insertions(+), 6 deletions(-) 11 1 file changed, 6 insertions(+), 6 deletions(-)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index 8a1dd6d91..8a5314544 100644 14index fc1718dfd..70c94c2ff 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -82,12 +82,12 @@ if (USE_REAL_ODBC_TEST_DRIVER) 17@@ -84,12 +84,12 @@ if (MINIFI_USE_REAL_ODBC_TEST_DRIVER)
18 endif() 18 endif()
19 19
20 # Use ccache if present 20 # Use ccache if present
@@ -31,8 +31,8 @@ index 8a1dd6d91..8a5314544 100644
31+# message("-- Found ccache: ${CCACHE_FOUND}") 31+# message("-- Found ccache: ${CCACHE_FOUND}")
32+#endif(CCACHE_FOUND) 32+#endif(CCACHE_FOUND)
33 33
34 # Use gold linker if instructed 34 # Check for exec info before we enable the backtrace features.
35 if (UNIX AND USE_GOLD_LINKER AND NOT APPLE ) 35 CHECK_INCLUDE_FILE("execinfo.h" HAS_EXECINFO)
36-- 36--
372.25.1 372.34.1
38 38
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch b/meta-oe/recipes-extended/minifi-cpp/files/0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch
deleted file mode 100644
index 38893e74ac..0000000000
--- a/meta-oe/recipes-extended/minifi-cpp/files/0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 08d1b4b66fedde97eefb5e3ff6aa98fd02be7c21 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 20 Mar 2024 10:03:14 +0800
4Subject: [PATCH] OsUtils.h: add missing header <cstdint> for int64_t
5
6Fix build with musl:
7libminifi/include/utils/OsUtils.h:31:1: error: 'int64_t' does not name a type
8 31 | int64_t getCurrentProcessPhysicalMemoryUsage();
9 | ^~~~~~~
10libminifi/include/utils/OsUtils.h:22:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
11 21 | #include <system_error>
12 +++ |+#include <cstdint>
13 22 |
14
15Upstream-Status: Pending
16
17Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
18---
19 libminifi/include/utils/OsUtils.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/libminifi/include/utils/OsUtils.h b/libminifi/include/utils/OsUtils.h
23index a7117233..5e623d1a 100644
24--- a/libminifi/include/utils/OsUtils.h
25+++ b/libminifi/include/utils/OsUtils.h
26@@ -19,6 +19,7 @@
27 #include <string>
28 #include <optional>
29 #include <system_error>
30+#include <cstdint>
31
32 struct sockaddr;
33
34--
352.25.1
36
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0007-libsodium-aarch64-set-compiler-attributes-after-including-arm_.patch b/meta-oe/recipes-extended/minifi-cpp/files/0007-libsodium-aarch64-set-compiler-attributes-after-including-arm_.patch
new file mode 100644
index 0000000000..792a7888e3
--- /dev/null
+++ b/meta-oe/recipes-extended/minifi-cpp/files/0007-libsodium-aarch64-set-compiler-attributes-after-including-arm_.patch
@@ -0,0 +1,141 @@
1From 3a59f8e5331bb6be5d298bc5c136a79102196c1d Mon Sep 17 00:00:00 2001
2From: Frank Denis <github@pureftpd.org>
3Date: Fri, 20 Oct 2023 13:47:57 +0200
4Subject: [PATCH] aarch64: set compiler attributes *after* including
5 <arm_neon.h>
6
7Fixes #1321
8
9Upstream-Status: Backport
10[https://github.com/jedisct1/libsodium/commit/8f453f41f8834e0fe47610f2a3e03e696ddb3450]
11
12Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
13---
14 thirdparty/libsodium-stable/configure.ac | 11 ++++++-----
15 .../crypto_aead/aegis128l/aegis128l_armcrypto.c | 12 ++++++------
16 .../crypto_aead/aegis256/aegis256_armcrypto.c | 12 ++++++------
17 .../aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c | 12 ++++++------
18 4 files changed, 24 insertions(+), 23 deletions(-)
19
20diff --git a/thirdparty/libsodium-stable/configure.ac b/thirdparty/libsodium-stable/configure.ac
21index df83ef512..be67d3417 100644
22--- a/thirdparty/libsodium-stable/configure.ac
23+++ b/thirdparty/libsodium-stable/configure.ac
24@@ -398,11 +398,6 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [
25 have_armcrypto=no
26 AC_MSG_CHECKING(for ARM crypto instructions set)
27 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
28- #ifdef __clang__
29- # pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
30- #elif defined(__GNUC__)
31- # pragma GCC target("+simd+crypto")
32- #endif
33 #ifndef __ARM_FEATURE_CRYPTO
34 # define __ARM_FEATURE_CRYPTO 1
35 #endif
36@@ -411,6 +406,12 @@ AS_IF([test "x$EMSCRIPTEN" = "x"], [
37 #endif
38
39 #include <arm_neon.h>
40+
41+ #ifdef __clang__
42+ # pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
43+ #elif defined(__GNUC__)
44+ # pragma GCC target("+simd+crypto")
45+ #endif
46 ]], [[
47 vaeseq_u8(vmovq_n_u8(0), vmovq_n_u8(0));
48
49diff --git a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis128l/aegis128l_armcrypto.c b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis128l/aegis128l_armcrypto.c
50index 825de8a1c..a01f60cbe 100644
51--- a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis128l/aegis128l_armcrypto.c
52+++ b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis128l/aegis128l_armcrypto.c
53@@ -17,12 +17,6 @@
54
55 #include "aegis128l_armcrypto.h"
56
57-#ifdef __clang__
58-#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
59-#elif defined(__GNUC__)
60-#pragma GCC target("+simd+crypto")
61-#endif
62-
63 #ifndef __ARM_FEATURE_CRYPTO
64 #define __ARM_FEATURE_CRYPTO 1
65 #endif
66@@ -32,6 +26,12 @@
67
68 #include <arm_neon.h>
69
70+#ifdef __clang__
71+#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
72+#elif defined(__GNUC__)
73+#pragma GCC target("+simd+crypto")
74+#endif
75+
76 #define AES_BLOCK_LENGTH 16
77
78 typedef uint8x16_t aes_block_t;
79diff --git a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis256/aegis256_armcrypto.c b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis256/aegis256_armcrypto.c
80index e1ebd577a..058e2072b 100644
81--- a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis256/aegis256_armcrypto.c
82+++ b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aegis256/aegis256_armcrypto.c
83@@ -17,12 +17,6 @@
84
85 #include "aegis256_armcrypto.h"
86
87-#ifdef __clang__
88-#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
89-#elif defined(__GNUC__)
90-#pragma GCC target("+simd+crypto")
91-#endif
92-
93 #ifndef __ARM_FEATURE_CRYPTO
94 #define __ARM_FEATURE_CRYPTO 1
95 #endif
96@@ -32,6 +26,12 @@
97
98 #include <arm_neon.h>
99
100+#ifdef __clang__
101+#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
102+#elif defined(__GNUC__)
103+#pragma GCC target("+simd+crypto")
104+#endif
105+
106 #define AES_BLOCK_LENGTH 16
107
108 typedef uint8x16_t aes_block_t;
109diff --git a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c
110index 0a5a12811..aa76f5cd1 100644
111--- a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c
112+++ b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c
113@@ -19,12 +19,6 @@
114 #define __vectorcall
115 #endif
116
117-#ifdef __clang__
118-#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
119-#elif defined(__GNUC__)
120-#pragma GCC target("+simd+crypto")
121-#endif
122-
123 #ifndef __ARM_FEATURE_CRYPTO
124 #define __ARM_FEATURE_CRYPTO 1
125 #endif
126@@ -34,6 +28,12 @@
127
128 #include <arm_neon.h>
129
130+#ifdef __clang__
131+#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
132+#elif defined(__GNUC__)
133+#pragma GCC target("+simd+crypto")
134+#endif
135+
136 #define ABYTES crypto_aead_aes256gcm_ABYTES
137 #define NPUBBYTES crypto_aead_aes256gcm_NPUBBYTES
138 #define KEYBYTES crypto_aead_aes256gcm_KEYBYTES
139--
1402.34.1
141
diff --git a/meta-oe/recipes-extended/minifi-cpp/files/0008-libsodium-aarch64_crypto.patch b/meta-oe/recipes-extended/minifi-cpp/files/0008-libsodium-aarch64_crypto.patch
deleted file mode 100644
index c2c51148f6..0000000000
--- a/meta-oe/recipes-extended/minifi-cpp/files/0008-libsodium-aarch64_crypto.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1Move target #pragma after arm_neon.h include
2
3Fix per android/ndk#1945
4
5If the pragma is done before the header include,
6when using clang compiler attribute may apply to the functions in arm_neon.h
7
8Upstream-Status: Submitted [https://github.com/jedisct1/libsodium/pull/1321]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11--- a/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c
12+++ b/thirdparty/libsodium-stable/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c
13@@ -19,12 +19,6 @@
14 #define __vectorcall
15 #endif
16
17-#ifdef __clang__
18-#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
19-#elif defined(__GNUC__)
20-#pragma GCC target("+simd+crypto")
21-#endif
22-
23 #ifndef __ARM_FEATURE_CRYPTO
24 #define __ARM_FEATURE_CRYPTO 1
25 #endif
26@@ -34,6 +28,12 @@
27
28 #include <arm_neon.h>
29
30+#ifdef __clang__
31+#pragma clang attribute push(__attribute__((target("neon,crypto,aes"))), apply_to = function)
32+#elif defined(__GNUC__)
33+#pragma GCC target("+simd+crypto")
34+#endif
35+
36 #define ABYTES crypto_aead_aes256gcm_ABYTES
37 #define NPUBBYTES crypto_aead_aes256gcm_NPUBBYTES
38 #define KEYBYTES crypto_aead_aes256gcm_KEYBYTES
diff --git a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.1.bb
index fca8d9e754..ab08322805 100644
--- a/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.15.0.bb
+++ b/meta-oe/recipes-extended/minifi-cpp/minifi-cpp_0.99.1.bb
@@ -5,66 +5,74 @@ management, focusing on the collection of data at the source of its creation."
5HOMEPAGE = "https://nifi.apache.org/minifi/index.html" 5HOMEPAGE = "https://nifi.apache.org/minifi/index.html"
6SECTION = "console/network" 6SECTION = "console/network"
7LICENSE = "Apache-2.0" 7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=c62efdfb90a8aa4cc3bc15f56baa30b7" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=4c5fc3bbd872752266d21f5f167ce297"
9 9
10SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;protocol=https;branch=main \ 10SRC_URI = "git://github.com/apache/nifi-minifi-cpp.git;protocol=https;branch=main \
11 git://github.com/martinmoene/expected-lite.git;protocol=https;branch=master;name=expected-lite;destsuffix=${S}/thirdparty/expected-lite-src \ 11 git://github.com/martinmoene/expected-lite.git;protocol=https;branch=master;name=expected-lite;destsuffix=${S}/thirdparty/expected-lite-src \
12 git://github.com/ericniebler/range-v3.git;protocol=https;branch=master;name=range-v3;destsuffix=${S}/thirdparty/range-v3-src \ 12 git://github.com/ericniebler/range-v3.git;protocol=https;branch=master;name=range-v3;destsuffix=${S}/thirdparty/range-v3-src \
13 git://github.com/Neargye/magic_enum.git;protocol=https;branch=master;name=magic-enum;destsuffix=${S}/thirdparty/magic-enum-src \ 13 git://github.com/Neargye/magic_enum.git;protocol=https;branch=master;name=magic-enum;destsuffix=${S}/thirdparty/magic-enum-src \
14 git://github.com/jarro2783/cxxopts.git;protocol=https;branch=v2_2;name=cxxopts;destsuffix=${S}/thirdparty/cxxopts-src \ 14 git://github.com/p-ranav/argparse.git;protocol=https;branch=master;name=argparse;destsuffix=${S}/thirdparty/argparse-src \
15 git://github.com/gsl-lite/gsl-lite.git;protocol=https;branch=master;name=gsl-lite;destsuffix=${S}/thirdparty/gsl-lite-src \ 15 git://github.com/gsl-lite/gsl-lite.git;protocol=https;branch=master;name=gsl-lite;destsuffix=${S}/thirdparty/gsl-lite-src \
16 git://github.com/HowardHinnant/date.git;protocol=https;branch=master;name=date;destsuffix=${S}/thirdparty/date-src \ 16 git://github.com/HowardHinnant/date.git;protocol=https;branch=master;name=date;destsuffix=${S}/thirdparty/date-src \
17 git://github.com/chriskohlhoff/asio.git;protocol=https;branch=master;name=asio;destsuffix=${S}/thirdparty/asio-src \ 17 git://github.com/chriskohlhoff/asio.git;protocol=https;branch=master;name=asio;destsuffix=${S}/thirdparty/asio-src \
18 git://github.com/fmtlib/fmt.git;protocol=https;branch=master;name=fmt;destsuffix=${S}/thirdparty/fmt-src \
18 git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x;name=spdlog;destsuffix=${S}/thirdparty/spdlog-src \ 19 git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x;name=spdlog;destsuffix=${S}/thirdparty/spdlog-src \
19 git://github.com/civetweb/civetweb.git;protocol=https;branch=master;name=civetweb;destsuffix=${S}/thirdparty/civetweb-src \
20 ${DEBIAN_MIRROR}/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz;name=ossp-uuid;subdir=${S}/thirdparty \ 20 ${DEBIAN_MIRROR}/main/o/ossp-uuid/ossp-uuid_1.6.2.orig.tar.gz;name=ossp-uuid;subdir=${S}/thirdparty \
21 https://download.libsodium.org/libsodium/releases/libsodium-1.0.19.tar.gz;name=libsodium;subdir=${S}/thirdparty \ 21 https://download.libsodium.org/libsodium/releases/libsodium-1.0.19.tar.gz;name=libsodium;subdir=${S}/thirdparty \
22 file://0001-Do-not-use-bundled-packages.patch \ 22 file://0001-Do-not-use-bundled-packages.patch \
23 file://0002-Fix-osspuuid-build.patch \ 23 file://0002-Fix-osspuuid-build.patch \
24 file://0003-Fix-libsodium-build.patch \ 24 file://0003-Fix-libsodium-build.patch \
25 file://0004-Fix-spdlog-build.patch \ 25 file://0004-Pass-noline-flag-to-flex.patch \
26 file://0005-Pass-noline-flag-to-flex.patch \ 26 file://0005-generateVersion.sh-set-correct-buildrev.patch \
27 file://0006-OsUtils.h-add-missing-header-cstdint-for-int64_t.patch \ 27 file://0006-CMakeLists.txt-do-not-use-ccache.patch \
28 file://0007-CMakeLists.txt-do-not-use-ccache.patch \ 28 file://0007-libsodium-aarch64-set-compiler-attributes-after-including-arm_.patch \
29 file://0008-libsodium-aarch64_crypto.patch \
30 file://0001-libminifi-Rename-mutex_-to-mtx_-member-of-Concurrent.patch \
31 file://systemd-volatile.conf \ 29 file://systemd-volatile.conf \
32 file://sysvinit-volatile.conf \ 30 file://sysvinit-volatile.conf \
33 " 31 "
34 32
35SRCREV = "9b55dc0c0f17a190f3e9ade87070a28faf542c25" 33# minifi-cpp: 0.99.1
34SRCREV = "78d53ed154c71f1fabbaff0366d44ed3b32754e6"
35# expected-lite: 0.6.3
36SRCREV_expected-lite = "c8ffab649ba56e43c731b7017a69ddaebe2e1893" 36SRCREV_expected-lite = "c8ffab649ba56e43c731b7017a69ddaebe2e1893"
37# range-v3: 0.12.0
37SRCREV_range-v3 = "a81477931a8aa2ad025c6bda0609f38e09e4d7ec" 38SRCREV_range-v3 = "a81477931a8aa2ad025c6bda0609f38e09e4d7ec"
38SRCREV_magic-enum = "e1ea11a93d0bdf6aae415124ded6126220fa4f28" 39# magic-enum: 0.9.6
39SRCREV_cxxopts = "302302b30839505703d37fb82f536c53cf9172fa" 40SRCREV_magic-enum = "dd6a39d0ba1852cf06907e0f0573a2a10d23c2ad"
41# argparse: 3.0
42SRCREV_argparse = "af442b4da0cd7a07b56fa709bd16571889dc7fda"
43# gsl-lite: 0.41.0
40SRCREV_gsl-lite = "755ba124b54914e672737acace6a9314f59e8d6f" 44SRCREV_gsl-lite = "755ba124b54914e672737acace6a9314f59e8d6f"
41SRCREV_date = "6e921e1b1d21e84a5c82416ba7ecd98e33a436d0" 45# date: 3.0.3
46SRCREV_date = "5bdb7e6f31fac909c090a46dbd9fea27b6e609a4"
47# asio: 1.29.0
42SRCREV_asio = "814f67e730e154547aea3f4d99f709cbdf1ea4a0" 48SRCREV_asio = "814f67e730e154547aea3f4d99f709cbdf1ea4a0"
43SRCREV_spdlog = "7c02e204c92545f869e2f04edaab1f19fe8b19fd" 49# fmt: 11.1.4
44SRCREV_civetweb = "d7ba35bbb649209c66e582d5a0244ba988a15159" 50SRCREV_fmt = "123913715afeb8a437e6388b4473fcc4753e1c9a"
51# spdlog: 1.15.1
52SRCREV_spdlog = "f355b3d58f7067eee1706ff3c801c2361011f3d5"
45 53
46SRCREV_FORMAT .= "_expected-lite_range-v3_magic-enum_cxxopts_gsl-lite_date_asio_spdlog_civetweb" 54SRCREV_FORMAT .= "_expected-lite_range-v3_magic-enum_argparse_gsl-lite_date_asio_fmt_spdlog"
47 55
56# ossp-uuid: 1.6.2
48SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" 57SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0"
58# libsodium: 1.0.19
49SRC_URI[libsodium.sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea" 59SRC_URI[libsodium.sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea"
50 60
51S = "${UNPACKDIR}/git"
52 61
53inherit pkgconfig cmake systemd 62inherit pkgconfig cmake systemd
54 63
55DEPENDS = "virtual/crypt bison-native flex-native flex openssl curl zlib xz bzip2 yaml-cpp" 64DEPENDS = "virtual/crypt bison-native flex-native flex openssl curl zlib xz bzip2 yaml-cpp zstd lz4"
56 65
57OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" 66OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
58 67
68CXXFLAGS:append:toolchain-clang = " -Wno-error=c++11-narrowing-const-reference"
59LDFLAGS:append:riscv32 = " -latomic" 69LDFLAGS:append:riscv32 = " -latomic"
60 70
61EXTRA_OECMAKE = " \ 71EXTRA_OECMAKE = " \
62 -DCMAKE_BUILD_TYPE=Release \ 72 -DCMAKE_BUILD_TYPE=Release \
63 -DHOST_SYS=${HOST_SYS} -DBUILD_SYS=${BUILD_SYS} \ 73 -DHOST_SYS=${HOST_SYS} -DBUILD_SYS=${BUILD_SYS} \
64 -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \
65 -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \
66 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ 74 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
67 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines --file-prefix-map=${S}=${TARGET_DBGSRC_DIR}' \ 75 -DBISON_TARGET_ARG_COMPILE_FLAGS='--no-lines --file-prefix-map=${S}=${TARGET_DBGSRC_DIR} --file-prefix-map=${B}=${TARGET_DBGSRC_DIR}' \
68 -DENABLE_ENCRYPT_CONFIG=ON \ 76 -DENABLE_ENCRYPT_CONFIG=ON \
69 -DENABLE_LUA_SCRIPTING=OFF \ 77 -DENABLE_LUA_SCRIPTING=OFF \
70 -DENABLE_PYTHON_SCRIPTING=OFF \ 78 -DENABLE_PYTHON_SCRIPTING=OFF \
@@ -73,35 +81,49 @@ EXTRA_OECMAKE = " \
73 -DENABLE_GCP=OFF \ 81 -DENABLE_GCP=OFF \
74 -DENABLE_KUBERNETES=OFF \ 82 -DENABLE_KUBERNETES=OFF \
75 -DENABLE_MQTT=OFF \ 83 -DENABLE_MQTT=OFF \
84 -DENABLE_GRAFANA_LOKI=OFF \
85 -DENABLE_GRPC_FOR_LOKI=OFF \
76 -DENABLE_ELASTICSEARCH=OFF \ 86 -DENABLE_ELASTICSEARCH=OFF \
77 -DENABLE_SQL=OFF \ 87 -DENABLE_SQL=OFF \
78 -DENABLE_PROMETHEUS=OFF \ 88 -DENABLE_PROMETHEUS=OFF \
79 -DENABLE_PROCFS=OFF \ 89 -DENABLE_PROCFS=OFF \
80 -DENABLE_SPLUNK=OFF \ 90 -DENABLE_SPLUNK=OFF \
81 -DENABLE_OPC=OFF \ 91 -DENABLE_OPC=OFF \
82 -DENABLE_LIBRDKAFKA=OFF \ 92 -DENABLE_KAFKA=OFF \
83 -DDISABLE_CURL=OFF \ 93 -DENABLE_BZIP2=ON \
84 -DDISABLE_BZIP2=OFF \ 94 -DENABLE_LZMA=ON \
85 -DDISABLE_LZMA=OFF \
86 -DDISABLE_JEMALLOC=ON \
87 -DSKIP_TESTS=ON \ 95 -DSKIP_TESTS=ON \
96 -DMINIFI_OPENSSL_SOURCE=SYSTEM \
97 -DMINIFI_LIBCURL_SOURCE=SYSTEM \
98 -DMINIFI_ZSTD_SOURCE=SYSTEM \
99 -DMINIFI_BZIP2_SOURCE=SYSTEM \
100 -DMINIFI_LIBXML2_SOURCE=SYSTEM \
101 -DMINIFI_CATCH2_SOURCE=SYSTEM \
102 -DMINIFI_ZLIB_SOURCE=SYSTEM \
103 -DMINIFI_FMT_SOURCE=BUILD \
104 -DMINIFI_SPDLOG_SOURCE=BUILD \
88 -DFETCHCONTENT_SOURCE_DIR_GSL-LITE=${S}/thirdparty/gsl-lite-src \ 105 -DFETCHCONTENT_SOURCE_DIR_GSL-LITE=${S}/thirdparty/gsl-lite-src \
89 -DFETCHCONTENT_SOURCE_DIR_DATE_SRC=${S}/thirdparty/date-src \ 106 -DFETCHCONTENT_SOURCE_DIR_DATE_SRC=${S}/thirdparty/date-src \
90 -DFETCHCONTENT_SOURCE_DIR_EXPECTED-LITE=${S}/thirdparty/expected-lite-src \ 107 -DFETCHCONTENT_SOURCE_DIR_EXPECTED-LITE=${S}/thirdparty/expected-lite-src \
91 -DFETCHCONTENT_SOURCE_DIR_RANGE-V3_SRC=${S}/thirdparty/range-v3-src \ 108 -DFETCHCONTENT_SOURCE_DIR_RANGE-V3_SRC=${S}/thirdparty/range-v3-src \
92 -DFETCHCONTENT_SOURCE_DIR_MAGIC_ENUM=${S}/thirdparty/magic-enum-src \ 109 -DFETCHCONTENT_SOURCE_DIR_MAGIC_ENUM=${S}/thirdparty/magic-enum-src \
93 -DFETCHCONTENT_SOURCE_DIR_ASIO=${S}/thirdparty/asio-src \ 110 -DFETCHCONTENT_SOURCE_DIR_ASIO=${S}/thirdparty/asio-src \
94 -DFETCHCONTENT_SOURCE_DIR_CXXOPTS_SRC=${S}/thirdparty/cxxopts-src \ 111 -DFETCHCONTENT_SOURCE_DIR_ARGPARSE=${S}/thirdparty/argparse-src \
95 -DFETCHCONTENT_SOURCE_DIR_CIVETWEB=${S}/thirdparty/civetweb-src \ 112 -DFETCHCONTENT_SOURCE_DIR_FMT=${S}/thirdparty/fmt-src \
113 -DFETCHCONTENT_SOURCE_DIR_SPDLOG=${S}/thirdparty/spdlog-src \
96 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DENABLE_SYSTEMD=ON', '-DENABLE_SYSTEMD=OFF', d)} \ 114 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DENABLE_SYSTEMD=ON', '-DENABLE_SYSTEMD=OFF', d)} \
97 " 115 "
98 116
99PACKAGECONFIG ??= "civetweb libarchive rocksdb expression-language" 117PACKAGECONFIG ??= "libarchive expression-language"
100PACKAGECONFIG[civetweb] = "-DDISABLE_CIVET=OFF,-DDISABLE_CIVET=ON" 118
101PACKAGECONFIG[openwsman] = "-DENABLE_OPENWSMAN=ON,-DENABLE_OPENWSMAN=OFF,libxml2" 119# rocksdb is not compatible with libc-musl:powerpc & armv5
102PACKAGECONFIG[libarchive] = "-DDISABLE_LIBARCHIVE=OFF,-DDISABLE_LIBARCHIVE=ON,libarchive" 120PACKAGECONFIG:remove:libc-musl:powerpc = "rocksdb"
103PACKAGECONFIG[rocksdb] = "-DDISABLE_ROCKSDB=OFF -DBUILD_ROCKSDB=OFF,-DDISABLE_ROCKSDB=ON,rocksdb" 121PACKAGECONFIG:remove:armv5 = "rocksdb"
104PACKAGECONFIG[expression-language] = "-DDISABLE_EXPRESSION_LANGUAGE=OFF, -DDISABLE_EXPRESSION_LANGUAGE=ON" 122
123PACKAGECONFIG[libarchive] = "-DENABLE_LIBARCHIVE=ON,-DENABLE_LIBARCHIVE=OFF,libarchive"
124PACKAGECONFIG[expression-language] = "-DENABLE_EXPRESSION_LANGUAGE=ON, -DENABLE_EXPRESSION_LANGUAGE=OFF"
125PACKAGECONFIG[civetweb] = "-DENABLE_CIVET=ON -DMINIFI_CIVETWEB_SOURCE=SYSTEM,-DENABLE_CIVET=OFF,civetweb"
126PACKAGECONFIG[rocksdb] = "-DENABLE_ROCKSDB=ON -DBUILD_ROCKSDB=OFF -DMINIFI_ROCKSDB_SOURCE=SYSTEM,-DENABLE_ROCKSDB=OFF,rocksdb"
105 127
106SYSTEMD_PACKAGES = "minifi-cpp" 128SYSTEMD_PACKAGES = "minifi-cpp"
107SYSTEMD_SERVICE:${PN} = "minifi.service" 129SYSTEMD_SERVICE:${PN} = "minifi.service"
@@ -141,9 +163,9 @@ do_install() {
141 install -m 755 ${WORKDIR}/minifi-install/usr/extensions/*.so ${D}${libdir}/minifi-extensions 163 install -m 755 ${WORKDIR}/minifi-install/usr/extensions/*.so ${D}${libdir}/minifi-extensions
142 164
143 install -m 755 -d ${D}${libexecdir}/minifi-python 165 install -m 755 -d ${D}${libexecdir}/minifi-python
144 for i in examples google h2o; do 166 install -m 755 -d ${D}${libexecdir}/minifi-python-examples
145 cp -rf ${WORKDIR}/minifi-install/usr/minifi-python/${i} ${D}${libexecdir}/minifi-python 167 cp -rf ${WORKDIR}/minifi-install/usr/minifi-python/* ${D}${libexecdir}/minifi-python/
146 done 168 cp -rf ${WORKDIR}/minifi-install/usr/minifi-python-examples/* ${D}${libexecdir}/minifi-python-examples/
147 169
148 sed -i "s|MINIFI_HOME=.*|MINIFI_HOME=${MINIFI_HOME}|g" ${D}${MINIFI_BIN}/minifi.sh 170 sed -i "s|MINIFI_HOME=.*|MINIFI_HOME=${MINIFI_HOME}|g" ${D}${MINIFI_BIN}/minifi.sh
149 sed -i "s|bin_dir=.*|bin_dir=${MINIFI_BIN}|g" ${D}${MINIFI_BIN}/minifi.sh 171 sed -i "s|bin_dir=.*|bin_dir=${MINIFI_BIN}|g" ${D}${MINIFI_BIN}/minifi.sh
@@ -197,6 +219,7 @@ FILES:${PN}-dev = ""
197FILES:${PN} += "${libdir}/libcore-minifi.so \ 219FILES:${PN} += "${libdir}/libcore-minifi.so \
198 ${libdir}/minifi-extensions \ 220 ${libdir}/minifi-extensions \
199 ${libexecdir}/minifi-python \ 221 ${libexecdir}/minifi-python \
222 ${libexecdir}/minifi-python-examples \
200 " 223 "
201 224
202INSANE_SKIP:${PN} += "dev-deps" 225INSANE_SKIP:${PN} += "dev-deps"
diff --git a/meta-oe/recipes-extended/minio/src_uri.inc b/meta-oe/recipes-extended/minio/src_uri.inc
index 5cdc69dfca..964dfab9dc 100644
--- a/meta-oe/recipes-extended/minio/src_uri.inc
+++ b/meta-oe/recipes-extended/minio/src_uri.inc
@@ -1,509 +1,509 @@
1# github.com/charmbracelet/bubbletea v0.19.3 1# github.com/charmbracelet/bubbletea v0.19.3
2# [1] git ls-remote https://github.com/charmbracelet/bubbletea 3dc51789d11229a1fb00f137d02b50b04cac372b 2# [1] git ls-remote https://github.com/charmbracelet/bubbletea 3dc51789d11229a1fb00f137d02b50b04cac372b
3SRCREV_bubbletea="3dc51789d11229a1fb00f137d02b50b04cac372b" 3SRCREV_bubbletea = "3dc51789d11229a1fb00f137d02b50b04cac372b"
4SRC_URI += "git://github.com/charmbracelet/bubbletea;name=bubbletea;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/bubbletea" 4SRC_URI += "git://github.com/charmbracelet/bubbletea;name=bubbletea;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/bubbletea"
5 5
6# github.com/cheggaaa/pb v1.0.29 6# github.com/cheggaaa/pb v1.0.29
7# [1] git ls-remote https://github.com/cheggaaa/pb e2a33cc368a206516cc95f7bdd9176db0b83f098 7# [1] git ls-remote https://github.com/cheggaaa/pb e2a33cc368a206516cc95f7bdd9176db0b83f098
8SRCREV_pb="e2a33cc368a206516cc95f7bdd9176db0b83f098" 8SRCREV_pb = "e2a33cc368a206516cc95f7bdd9176db0b83f098"
9SRC_URI += "git://github.com/cheggaaa/pb;name=pb;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cheggaaa/pb" 9SRC_URI += "git://github.com/cheggaaa/pb;name=pb;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cheggaaa/pb"
10 10
11# github.com/dustin/go-humanize v1.0.0 11# github.com/dustin/go-humanize v1.0.0
12# [1] git ls-remote https://github.com/dustin/go-humanize e673fa1ffc91213297a60d18a6f513aa74bced52 12# [1] git ls-remote https://github.com/dustin/go-humanize e673fa1ffc91213297a60d18a6f513aa74bced52
13SRCREV_go-humanize="e673fa1ffc91213297a60d18a6f513aa74bced52" 13SRCREV_go-humanize = "e673fa1ffc91213297a60d18a6f513aa74bced52"
14SRC_URI += "git://github.com/dustin/go-humanize;name=go-humanize;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/dustin/go-humanize" 14SRC_URI += "git://github.com/dustin/go-humanize;name=go-humanize;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/dustin/go-humanize"
15 15
16# github.com/fatih/color v1.13.0 16# github.com/fatih/color v1.13.0
17# [1] git ls-remote https://github.com/fatih/color a05da93ebe62ca9fc6791d3376ec4dad01196448 17# [1] git ls-remote https://github.com/fatih/color a05da93ebe62ca9fc6791d3376ec4dad01196448
18SRCREV_color="a05da93ebe62ca9fc6791d3376ec4dad01196448" 18SRCREV_color = "a05da93ebe62ca9fc6791d3376ec4dad01196448"
19SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/color" 19SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/color"
20 20
21# github.com/go-ole/go-ole v1.2.6 21# github.com/go-ole/go-ole v1.2.6
22# [1] git ls-remote https://github.com/go-ole/go-ole 8b1f7f90f6b1728609c9694f2cff140d34fd91f8 22# [1] git ls-remote https://github.com/go-ole/go-ole 8b1f7f90f6b1728609c9694f2cff140d34fd91f8
23SRCREV_go-ole="8b1f7f90f6b1728609c9694f2cff140d34fd91f8" 23SRCREV_go-ole = "8b1f7f90f6b1728609c9694f2cff140d34fd91f8"
24SRC_URI += "git://github.com/go-ole/go-ole;name=go-ole;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-ole/go-ole" 24SRC_URI += "git://github.com/go-ole/go-ole;name=go-ole;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-ole/go-ole"
25 25
26# github.com/goccy/go-json v0.8.1 26# github.com/goccy/go-json v0.8.1
27# [1] git ls-remote https://github.com/goccy/go-json de89bd3db67f2219c6183ec6febe2b5f7a6b06fb 27# [1] git ls-remote https://github.com/goccy/go-json de89bd3db67f2219c6183ec6febe2b5f7a6b06fb
28SRCREV_go-json="de89bd3db67f2219c6183ec6febe2b5f7a6b06fb" 28SRCREV_go-json = "de89bd3db67f2219c6183ec6febe2b5f7a6b06fb"
29SRC_URI += "git://github.com/goccy/go-json;name=go-json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/goccy/go-json" 29SRC_URI += "git://github.com/goccy/go-json;name=go-json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/goccy/go-json"
30 30
31# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 31# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
32# [1] git ls-remote https://github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d 32# [1] git ls-remote https://github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d
33SRCREV_shlex="e7afc7fbc51079733e9468cdfd1efcd7d196cd1d" 33SRCREV_shlex = "e7afc7fbc51079733e9468cdfd1efcd7d196cd1d"
34SRC_URI += "git://github.com/google/shlex;name=shlex;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/shlex" 34SRC_URI += "git://github.com/google/shlex;name=shlex;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/shlex"
35 35
36# github.com/google/uuid v1.3.0 36# github.com/google/uuid v1.3.0
37# [1] git ls-remote https://github.com/google/uuid 44b5fee7c49cf3bcdf723f106b36d56ef13ccc88 37# [1] git ls-remote https://github.com/google/uuid 44b5fee7c49cf3bcdf723f106b36d56ef13ccc88
38SRCREV_uuid="44b5fee7c49cf3bcdf723f106b36d56ef13ccc88" 38SRCREV_uuid = "44b5fee7c49cf3bcdf723f106b36d56ef13ccc88"
39SRC_URI += "git://github.com/google/uuid;name=uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/uuid" 39SRC_URI += "git://github.com/google/uuid;name=uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/uuid"
40 40
41# github.com/inconshreveable/mousetrap v1.0.0 41# github.com/inconshreveable/mousetrap v1.0.0
42# [1] git ls-remote https://github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 42# [1] git ls-remote https://github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75
43SRCREV_mousetrap="76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" 43SRCREV_mousetrap = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
44SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/inconshreveable/mousetrap" 44SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/inconshreveable/mousetrap"
45 45
46# github.com/json-iterator/go v1.1.12 46# github.com/json-iterator/go v1.1.12
47# [1] git ls-remote https://github.com/json-iterator/go 024077e996b048517130b21ea6bf12aa23055d3d 47# [1] git ls-remote https://github.com/json-iterator/go 024077e996b048517130b21ea6bf12aa23055d3d
48SRCREV_go="024077e996b048517130b21ea6bf12aa23055d3d" 48SRCREV_go = "024077e996b048517130b21ea6bf12aa23055d3d"
49SRC_URI += "git://github.com/json-iterator/go;name=go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/json-iterator/go" 49SRC_URI += "git://github.com/json-iterator/go;name=go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/json-iterator/go"
50 50
51# github.com/klauspost/compress v1.13.6 51# github.com/klauspost/compress v1.13.6
52# [1] git ls-remote https://github.com/klauspost/compress 38d4ba985ac157cb858763e016645e14e74c13c4 52# [1] git ls-remote https://github.com/klauspost/compress 38d4ba985ac157cb858763e016645e14e74c13c4
53SRCREV_compress="38d4ba985ac157cb858763e016645e14e74c13c4" 53SRCREV_compress = "38d4ba985ac157cb858763e016645e14e74c13c4"
54SRC_URI += "git://github.com/klauspost/compress;name=compress;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/compress" 54SRC_URI += "git://github.com/klauspost/compress;name=compress;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/compress"
55 55
56# github.com/mattn/go-ieproxy v0.0.1 56# github.com/mattn/go-ieproxy v0.0.1
57# [1] git ls-remote https://github.com/mattn/go-ieproxy 439dd0581a2a03b415673a2462ad5c21eaabc588 57# [1] git ls-remote https://github.com/mattn/go-ieproxy 439dd0581a2a03b415673a2462ad5c21eaabc588
58SRCREV_go-ieproxy="439dd0581a2a03b415673a2462ad5c21eaabc588" 58SRCREV_go-ieproxy = "439dd0581a2a03b415673a2462ad5c21eaabc588"
59SRC_URI += "git://github.com/mattn/go-ieproxy;name=go-ieproxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-ieproxy" 59SRC_URI += "git://github.com/mattn/go-ieproxy;name=go-ieproxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-ieproxy"
60 60
61# github.com/mattn/go-isatty v0.0.14 61# github.com/mattn/go-isatty v0.0.14
62# [1] git ls-remote https://github.com/mattn/go-isatty 504425e14f742f1f517c4586048b49b37f829c8e 62# [1] git ls-remote https://github.com/mattn/go-isatty 504425e14f742f1f517c4586048b49b37f829c8e
63SRCREV_go-isatty="504425e14f742f1f517c4586048b49b37f829c8e" 63SRCREV_go-isatty = "504425e14f742f1f517c4586048b49b37f829c8e"
64SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-isatty" 64SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-isatty"
65 65
66# github.com/minio/cli v1.22.0 66# github.com/minio/cli v1.22.0
67# [1] git ls-remote https://github.com/minio/cli 735b30120ed7535d13933b0246f8a75cf80b0f74 67# [1] git ls-remote https://github.com/minio/cli 735b30120ed7535d13933b0246f8a75cf80b0f74
68SRCREV_cli="735b30120ed7535d13933b0246f8a75cf80b0f74" 68SRCREV_cli = "735b30120ed7535d13933b0246f8a75cf80b0f74"
69SRC_URI += "git://github.com/minio/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/cli" 69SRC_URI += "git://github.com/minio/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/cli"
70 70
71# github.com/minio/colorjson v1.0.2 71# github.com/minio/colorjson v1.0.2
72# [1] git ls-remote https://github.com/minio/colorjson f964b335cdb6cd51dff32a726d3d6ab9e1db0633 72# [1] git ls-remote https://github.com/minio/colorjson f964b335cdb6cd51dff32a726d3d6ab9e1db0633
73SRCREV_colorjson="f964b335cdb6cd51dff32a726d3d6ab9e1db0633" 73SRCREV_colorjson = "f964b335cdb6cd51dff32a726d3d6ab9e1db0633"
74SRC_URI += "git://github.com/minio/colorjson;name=colorjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/colorjson" 74SRC_URI += "git://github.com/minio/colorjson;name=colorjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/colorjson"
75 75
76# github.com/minio/filepath v1.0.0 76# github.com/minio/filepath v1.0.0
77# [1] git ls-remote https://github.com/minio/filepath a116cb5d2b6396deea35d06389e3e9809c887fcf 77# [1] git ls-remote https://github.com/minio/filepath a116cb5d2b6396deea35d06389e3e9809c887fcf
78SRCREV_filepath="a116cb5d2b6396deea35d06389e3e9809c887fcf" 78SRCREV_filepath = "a116cb5d2b6396deea35d06389e3e9809c887fcf"
79SRC_URI += "git://github.com/minio/filepath;name=filepath;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/filepath" 79SRC_URI += "git://github.com/minio/filepath;name=filepath;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/filepath"
80 80
81# github.com/minio/madmin-go v1.4.3 81# github.com/minio/madmin-go v1.4.3
82# [1] git ls-remote https://github.com/minio/madmin-go 4f71c826739af4ebf73308e7f9a849a781859f78 82# [1] git ls-remote https://github.com/minio/madmin-go 4f71c826739af4ebf73308e7f9a849a781859f78
83SRCREV_madmin-go="4f71c826739af4ebf73308e7f9a849a781859f78" 83SRCREV_madmin-go = "4f71c826739af4ebf73308e7f9a849a781859f78"
84SRC_URI += "git://github.com/minio/madmin-go;name=madmin-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/madmin-go" 84SRC_URI += "git://github.com/minio/madmin-go;name=madmin-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/madmin-go"
85 85
86# github.com/minio/md5-simd v1.1.2 86# github.com/minio/md5-simd v1.1.2
87# [1] git ls-remote https://github.com/minio/md5-simd 776275e0c9a74ceebbd50fe5c1d61b0c80c608df 87# [1] git ls-remote https://github.com/minio/md5-simd 776275e0c9a74ceebbd50fe5c1d61b0c80c608df
88SRCREV_md5-simd="776275e0c9a74ceebbd50fe5c1d61b0c80c608df" 88SRCREV_md5-simd = "776275e0c9a74ceebbd50fe5c1d61b0c80c608df"
89SRC_URI += "git://github.com/minio/md5-simd;name=md5-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/md5-simd" 89SRC_URI += "git://github.com/minio/md5-simd;name=md5-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/md5-simd"
90 90
91# github.com/minio/minio-go/v7 v7.0.30 91# github.com/minio/minio-go/v7 v7.0.30
92# [1] git ls-remote https://github.com/minio/minio-go 81c303325bb4426c89776854b2ea4f7936deb11c 92# [1] git ls-remote https://github.com/minio/minio-go 81c303325bb4426c89776854b2ea4f7936deb11c
93SRCREV_v7="81c303325bb4426c89776854b2ea4f7936deb11c" 93SRCREV_v7 = "81c303325bb4426c89776854b2ea4f7936deb11c"
94SRC_URI += "git://github.com/minio/minio-go;name=v7;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/minio-go/v7" 94SRC_URI += "git://github.com/minio/minio-go;name=v7;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/minio-go/v7"
95 95
96# github.com/minio/pkg v1.1.22 96# github.com/minio/pkg v1.1.22
97# [1] git ls-remote https://github.com/minio/pkg 3b76bdaec27995a31d0b0a7959bbef55bfe0d364 97# [1] git ls-remote https://github.com/minio/pkg 3b76bdaec27995a31d0b0a7959bbef55bfe0d364
98SRCREV_pkg="3b76bdaec27995a31d0b0a7959bbef55bfe0d364" 98SRCREV_pkg = "3b76bdaec27995a31d0b0a7959bbef55bfe0d364"
99SRC_URI += "git://github.com/minio/pkg;name=pkg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/pkg" 99SRC_URI += "git://github.com/minio/pkg;name=pkg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/pkg"
100 100
101# github.com/minio/selfupdate v0.4.0 101# github.com/minio/selfupdate v0.4.0
102# [1] git ls-remote https://github.com/minio/selfupdate 9e32fb8d38277355add4fa3983edb0b376d12bb5 102# [1] git ls-remote https://github.com/minio/selfupdate 9e32fb8d38277355add4fa3983edb0b376d12bb5
103SRCREV_selfupdate="9e32fb8d38277355add4fa3983edb0b376d12bb5" 103SRCREV_selfupdate = "9e32fb8d38277355add4fa3983edb0b376d12bb5"
104SRC_URI += "git://github.com/minio/selfupdate;name=selfupdate;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/selfupdate" 104SRC_URI += "git://github.com/minio/selfupdate;name=selfupdate;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/selfupdate"
105 105
106# github.com/minio/sha256-simd v1.0.0 106# github.com/minio/sha256-simd v1.0.0
107# [1] git ls-remote https://github.com/minio/sha256-simd 6a57409d8e0fa3ae883aee331b71aaa40d5a7dd9 107# [1] git ls-remote https://github.com/minio/sha256-simd 6a57409d8e0fa3ae883aee331b71aaa40d5a7dd9
108SRCREV_sha256-simd="6a57409d8e0fa3ae883aee331b71aaa40d5a7dd9" 108SRCREV_sha256-simd = "6a57409d8e0fa3ae883aee331b71aaa40d5a7dd9"
109SRC_URI += "git://github.com/minio/sha256-simd;name=sha256-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/sha256-simd" 109SRC_URI += "git://github.com/minio/sha256-simd;name=sha256-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/sha256-simd"
110 110
111# github.com/mitchellh/go-homedir v1.1.0 111# github.com/mitchellh/go-homedir v1.1.0
112# [1] git ls-remote https://github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727 112# [1] git ls-remote https://github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727
113SRCREV_go-homedir="af06845cf3004701891bf4fdb884bfe4920b3727" 113SRCREV_go-homedir = "af06845cf3004701891bf4fdb884bfe4920b3727"
114SRC_URI += "git://github.com/mitchellh/go-homedir;name=go-homedir;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-homedir" 114SRC_URI += "git://github.com/mitchellh/go-homedir;name=go-homedir;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-homedir"
115 115
116# github.com/pkg/xattr v0.4.4 116# github.com/pkg/xattr v0.4.4
117# [1] git ls-remote https://github.com/pkg/xattr 8725d4ccc0fcef59c8d9f0eaf606b3c6f962467a 117# [1] git ls-remote https://github.com/pkg/xattr 8725d4ccc0fcef59c8d9f0eaf606b3c6f962467a
118SRCREV_xattr="8725d4ccc0fcef59c8d9f0eaf606b3c6f962467a" 118SRCREV_xattr = "8725d4ccc0fcef59c8d9f0eaf606b3c6f962467a"
119SRC_URI += "git://github.com/pkg/xattr;name=xattr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/xattr" 119SRC_URI += "git://github.com/pkg/xattr;name=xattr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/xattr"
120 120
121# github.com/posener/complete v1.2.3 121# github.com/posener/complete v1.2.3
122# [1] git ls-remote https://github.com/posener/complete 05b68ffc813dd10c420993cb1cf927b346c057b8 122# [1] git ls-remote https://github.com/posener/complete 05b68ffc813dd10c420993cb1cf927b346c057b8
123SRCREV_complete="05b68ffc813dd10c420993cb1cf927b346c057b8" 123SRCREV_complete = "05b68ffc813dd10c420993cb1cf927b346c057b8"
124SRC_URI += "git://github.com/posener/complete;name=complete;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/posener/complete" 124SRC_URI += "git://github.com/posener/complete;name=complete;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/posener/complete"
125 125
126# github.com/prometheus/client_golang v1.12.1 126# github.com/prometheus/client_golang v1.12.1
127# [1] git ls-remote https://github.com/prometheus/client_golang 2e1c4818ccfdcf953ce399cadad615ff2bed968c 127# [1] git ls-remote https://github.com/prometheus/client_golang 2e1c4818ccfdcf953ce399cadad615ff2bed968c
128SRCREV_client_golang="2e1c4818ccfdcf953ce399cadad615ff2bed968c" 128SRCREV_client_golang = "2e1c4818ccfdcf953ce399cadad615ff2bed968c"
129SRC_URI += "git://github.com/prometheus/client_golang;name=client_golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_golang" 129SRC_URI += "git://github.com/prometheus/client_golang;name=client_golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_golang"
130 130
131# github.com/prometheus/prom2json v1.3.1 131# github.com/prometheus/prom2json v1.3.1
132# [1] git ls-remote https://github.com/prometheus/prom2json ac13972e54feb2f8eafc9a613112cb310f5463dc 132# [1] git ls-remote https://github.com/prometheus/prom2json ac13972e54feb2f8eafc9a613112cb310f5463dc
133SRCREV_prom2json="ac13972e54feb2f8eafc9a613112cb310f5463dc" 133SRCREV_prom2json = "ac13972e54feb2f8eafc9a613112cb310f5463dc"
134SRC_URI += "git://github.com/prometheus/prom2json;name=prom2json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/prom2json" 134SRC_URI += "git://github.com/prometheus/prom2json;name=prom2json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/prom2json"
135 135
136# github.com/rjeczalik/notify v0.9.2 136# github.com/rjeczalik/notify v0.9.2
137# [1] git ls-remote https://github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7 137# [1] git ls-remote https://github.com/rjeczalik/notify 69d839f37b13a8cb7a78366f7633a4071cb43be7
138SRCREV_notify="69d839f37b13a8cb7a78366f7633a4071cb43be7" 138SRCREV_notify = "69d839f37b13a8cb7a78366f7633a4071cb43be7"
139SRC_URI += "git://github.com/rjeczalik/notify;name=notify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rjeczalik/notify" 139SRC_URI += "git://github.com/rjeczalik/notify;name=notify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rjeczalik/notify"
140 140
141# github.com/rs/xid v1.3.0 141# github.com/rs/xid v1.3.0
142# [1] git ls-remote https://github.com/rs/xid efa678f304ab65d6d57eedcb086798381ae22206 142# [1] git ls-remote https://github.com/rs/xid efa678f304ab65d6d57eedcb086798381ae22206
143SRCREV_xid="efa678f304ab65d6d57eedcb086798381ae22206" 143SRCREV_xid = "efa678f304ab65d6d57eedcb086798381ae22206"
144SRC_URI += "git://github.com/rs/xid;name=xid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rs/xid" 144SRC_URI += "git://github.com/rs/xid;name=xid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rs/xid"
145 145
146# github.com/secure-io/sio-go v0.3.1 146# github.com/secure-io/sio-go v0.3.1
147# [1] git ls-remote https://github.com/secure-io/sio-go a455d2cd8fcacdfe18557d117db15c0629fb7e2c 147# [1] git ls-remote https://github.com/secure-io/sio-go a455d2cd8fcacdfe18557d117db15c0629fb7e2c
148SRCREV_sio-go="a455d2cd8fcacdfe18557d117db15c0629fb7e2c" 148SRCREV_sio-go = "a455d2cd8fcacdfe18557d117db15c0629fb7e2c"
149SRC_URI += "git://github.com/secure-io/sio-go;name=sio-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/secure-io/sio-go" 149SRC_URI += "git://github.com/secure-io/sio-go;name=sio-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/secure-io/sio-go"
150 150
151# github.com/shirou/gopsutil/v3 v3.21.12 151# github.com/shirou/gopsutil/v3 v3.21.12
152# [1] git ls-remote https://github.com/shirou/gopsutil 2f8da0a39487ceddf44cebe53a1b563b0b7173cc 152# [1] git ls-remote https://github.com/shirou/gopsutil 2f8da0a39487ceddf44cebe53a1b563b0b7173cc
153SRCREV_v3="2f8da0a39487ceddf44cebe53a1b563b0b7173cc" 153SRCREV_v3 = "2f8da0a39487ceddf44cebe53a1b563b0b7173cc"
154SRC_URI += "git://github.com/shirou/gopsutil;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/shirou/gopsutil/v3" 154SRC_URI += "git://github.com/shirou/gopsutil;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/shirou/gopsutil/v3"
155 155
156# github.com/tidwall/gjson v1.12.1 156# github.com/tidwall/gjson v1.12.1
157# [1] git ls-remote https://github.com/tidwall/gjson db0033701cccc8e2e43b77d03e4f509a48b6b2f2 157# [1] git ls-remote https://github.com/tidwall/gjson db0033701cccc8e2e43b77d03e4f509a48b6b2f2
158SRCREV_gjson="db0033701cccc8e2e43b77d03e4f509a48b6b2f2" 158SRCREV_gjson = "db0033701cccc8e2e43b77d03e4f509a48b6b2f2"
159SRC_URI += "git://github.com/tidwall/gjson;name=gjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/gjson" 159SRC_URI += "git://github.com/tidwall/gjson;name=gjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/gjson"
160 160
161# golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e 161# golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e
162# [1] git ls-remote https://go.googlesource.com/crypto 793ad666bf5ec61392092b27061be9618e4e219b 162# [1] git ls-remote https://go.googlesource.com/crypto 793ad666bf5ec61392092b27061be9618e4e219b
163SRCREV_crypto="793ad666bf5ec61392092b27061be9618e4e219b" 163SRCREV_crypto = "793ad666bf5ec61392092b27061be9618e4e219b"
164SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/crypto" 164SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/crypto"
165 165
166# golang.org/x/net v0.0.0-20220225172249-27dd8689420f 166# golang.org/x/net v0.0.0-20220225172249-27dd8689420f
167# [1] git ls-remote https://go.googlesource.com/net 27dd8689420fcde088514397d015e4fea5174e0e 167# [1] git ls-remote https://go.googlesource.com/net 27dd8689420fcde088514397d015e4fea5174e0e
168SRCREV_net="27dd8689420fcde088514397d015e4fea5174e0e" 168SRCREV_net = "27dd8689420fcde088514397d015e4fea5174e0e"
169SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/net" 169SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/net"
170 170
171# golang.org/x/text v0.3.7 171# golang.org/x/text v0.3.7
172# [1] git ls-remote https://go.googlesource.com/text 3cd4007149f3f883d229d707172ed356727aae99 172# [1] git ls-remote https://go.googlesource.com/text 3cd4007149f3f883d229d707172ed356727aae99
173SRCREV_text="3cd4007149f3f883d229d707172ed356727aae99" 173SRCREV_text = "3cd4007149f3f883d229d707172ed356727aae99"
174SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/text" 174SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/text"
175 175
176# gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b 176# gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b
177# [1] git ls-remote https://gopkg.in/check.v1 038fdea0a05bc030b0bfda479dc2e08d2220ec74 177# [1] git ls-remote https://gopkg.in/check.v1 038fdea0a05bc030b0bfda479dc2e08d2220ec74
178SRCREV_check.v1="038fdea0a05bc030b0bfda479dc2e08d2220ec74" 178SRCREV_check.v1 = "038fdea0a05bc030b0bfda479dc2e08d2220ec74"
179SRC_URI += "git://gopkg.in/check.v1;name=check.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/check.v1" 179SRC_URI += "git://gopkg.in/check.v1;name=check.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/check.v1"
180 180
181# gopkg.in/h2non/filetype.v1 v1.0.5 181# gopkg.in/h2non/filetype.v1 v1.0.5
182# [1] git ls-remote https://gopkg.in/h2non/filetype.v1 8f3142c797f0413f00dadaf1bf97dd0b7b1f8d8b 182# [1] git ls-remote https://gopkg.in/h2non/filetype.v1 8f3142c797f0413f00dadaf1bf97dd0b7b1f8d8b
183SRCREV_filetype.v1="8f3142c797f0413f00dadaf1bf97dd0b7b1f8d8b" 183SRCREV_filetype.v1 = "8f3142c797f0413f00dadaf1bf97dd0b7b1f8d8b"
184SRC_URI += "git://gopkg.in/h2non/filetype.v1;name=filetype.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/h2non/filetype.v1" 184SRC_URI += "git://gopkg.in/h2non/filetype.v1;name=filetype.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/h2non/filetype.v1"
185 185
186# gopkg.in/yaml.v2 v2.4.0 186# gopkg.in/yaml.v2 v2.4.0
187# [1] git ls-remote https://gopkg.in/yaml.v2 7649d4548cb53a614db133b2a8ac1f31859dda8c 187# [1] git ls-remote https://gopkg.in/yaml.v2 7649d4548cb53a614db133b2a8ac1f31859dda8c
188SRCREV_yaml.v2="7649d4548cb53a614db133b2a8ac1f31859dda8c" 188SRCREV_yaml.v2 = "7649d4548cb53a614db133b2a8ac1f31859dda8c"
189SRC_URI += "git://gopkg.in/yaml.v2;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v2" 189SRC_URI += "git://gopkg.in/yaml.v2;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v2"
190 190
191# github.com/charmbracelet/bubbles v0.10.0 191# github.com/charmbracelet/bubbles v0.10.0
192# [1] git ls-remote https://github.com/charmbracelet/bubbles 7714089ad7c81898564ebeb7b6876b5844e26ccd 192# [1] git ls-remote https://github.com/charmbracelet/bubbles 7714089ad7c81898564ebeb7b6876b5844e26ccd
193SRCREV_bubbles="7714089ad7c81898564ebeb7b6876b5844e26ccd" 193SRCREV_bubbles = "7714089ad7c81898564ebeb7b6876b5844e26ccd"
194SRC_URI += "git://github.com/charmbracelet/bubbles;name=bubbles;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/bubbles" 194SRC_URI += "git://github.com/charmbracelet/bubbles;name=bubbles;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/bubbles"
195 195
196# github.com/charmbracelet/lipgloss v0.4.1-0.20220204041308-bf2912e703f6 196# github.com/charmbracelet/lipgloss v0.4.1-0.20220204041308-bf2912e703f6
197# [1] git ls-remote https://github.com/charmbracelet/lipgloss bf2912e703f6ecf88a1b843472afd47ce5002caf 197# [1] git ls-remote https://github.com/charmbracelet/lipgloss bf2912e703f6ecf88a1b843472afd47ce5002caf
198SRCREV_lipgloss="bf2912e703f6ecf88a1b843472afd47ce5002caf" 198SRCREV_lipgloss = "bf2912e703f6ecf88a1b843472afd47ce5002caf"
199SRC_URI += "git://github.com/charmbracelet/lipgloss;name=lipgloss;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/lipgloss" 199SRC_URI += "git://github.com/charmbracelet/lipgloss;name=lipgloss;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/charmbracelet/lipgloss"
200 200
201# github.com/gdamore/tcell/v2 v2.4.1-0.20210905002822-f057f0a857a1 201# github.com/gdamore/tcell/v2 v2.4.1-0.20210905002822-f057f0a857a1
202# [1] git ls-remote https://github.com/gdamore/tcell f057f0a857a1b3ac3e4fff8c6cfe8126f8387cd1 202# [1] git ls-remote https://github.com/gdamore/tcell f057f0a857a1b3ac3e4fff8c6cfe8126f8387cd1
203SRCREV_v2="f057f0a857a1b3ac3e4fff8c6cfe8126f8387cd1" 203SRCREV_v2 = "f057f0a857a1b3ac3e4fff8c6cfe8126f8387cd1"
204SRC_URI += "git://github.com/gdamore/tcell;name=v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gdamore/tcell/v2" 204SRC_URI += "git://github.com/gdamore/tcell;name=v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gdamore/tcell/v2"
205 205
206# github.com/golang-jwt/jwt/v4 v4.4.1 206# github.com/golang-jwt/jwt/v4 v4.4.1
207# [1] git ls-remote https://github.com/golang-jwt/jwt 0972257eba279bb357882afc11db8218644ad565 207# [1] git ls-remote https://github.com/golang-jwt/jwt 0972257eba279bb357882afc11db8218644ad565
208SRCREV_v4="0972257eba279bb357882afc11db8218644ad565" 208SRCREV_v4 = "0972257eba279bb357882afc11db8218644ad565"
209SRC_URI += "git://github.com/golang-jwt/jwt;name=v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang-jwt/jwt/v4" 209SRC_URI += "git://github.com/golang-jwt/jwt;name=v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang-jwt/jwt/v4"
210 210
211# github.com/navidys/tvxwidgets v0.1.0 211# github.com/navidys/tvxwidgets v0.1.0
212# [1] git ls-remote https://github.com/navidys/tvxwidgets f017cfd5ce6d4bd7fb22529305d7a438c3f1369d 212# [1] git ls-remote https://github.com/navidys/tvxwidgets f017cfd5ce6d4bd7fb22529305d7a438c3f1369d
213SRCREV_tvxwidgets="f017cfd5ce6d4bd7fb22529305d7a438c3f1369d" 213SRCREV_tvxwidgets = "f017cfd5ce6d4bd7fb22529305d7a438c3f1369d"
214SRC_URI += "git://github.com/navidys/tvxwidgets;name=tvxwidgets;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/navidys/tvxwidgets" 214SRC_URI += "git://github.com/navidys/tvxwidgets;name=tvxwidgets;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/navidys/tvxwidgets"
215 215
216# github.com/olekukonko/tablewriter v0.0.5 216# github.com/olekukonko/tablewriter v0.0.5
217# [1] git ls-remote https://github.com/olekukonko/tablewriter c7d2a8a09b076b70918308a3cd95464b2ae3b5d8 217# [1] git ls-remote https://github.com/olekukonko/tablewriter c7d2a8a09b076b70918308a3cd95464b2ae3b5d8
218SRCREV_tablewriter="c7d2a8a09b076b70918308a3cd95464b2ae3b5d8" 218SRCREV_tablewriter = "c7d2a8a09b076b70918308a3cd95464b2ae3b5d8"
219SRC_URI += "git://github.com/olekukonko/tablewriter;name=tablewriter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/olekukonko/tablewriter" 219SRC_URI += "git://github.com/olekukonko/tablewriter;name=tablewriter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/olekukonko/tablewriter"
220 220
221# github.com/prometheus/client_model v0.2.0 221# github.com/prometheus/client_model v0.2.0
222# [1] git ls-remote https://github.com/prometheus/client_model f44e7adcba5ee54c8a94709e6fc300d83245f171 222# [1] git ls-remote https://github.com/prometheus/client_model f44e7adcba5ee54c8a94709e6fc300d83245f171
223SRCREV_client_model="f44e7adcba5ee54c8a94709e6fc300d83245f171" 223SRCREV_client_model = "f44e7adcba5ee54c8a94709e6fc300d83245f171"
224SRC_URI += "git://github.com/prometheus/client_model;name=client_model;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_model" 224SRC_URI += "git://github.com/prometheus/client_model;name=client_model;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_model"
225 225
226# github.com/rivo/tview v0.0.0-20211202162923-2a6de950f73b 226# github.com/rivo/tview v0.0.0-20211202162923-2a6de950f73b
227# [1] git ls-remote https://github.com/rivo/tview 2a6de950f73bdc70658f7e754d4b5593f15c8408 227# [1] git ls-remote https://github.com/rivo/tview 2a6de950f73bdc70658f7e754d4b5593f15c8408
228SRCREV_tview="2a6de950f73bdc70658f7e754d4b5593f15c8408" 228SRCREV_tview = "2a6de950f73bdc70658f7e754d4b5593f15c8408"
229SRC_URI += "git://github.com/rivo/tview;name=tview;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rivo/tview" 229SRC_URI += "git://github.com/rivo/tview;name=tview;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rivo/tview"
230 230
231# github.com/tinylib/msgp v1.1.6 231# github.com/tinylib/msgp v1.1.6
232# [1] git ls-remote https://github.com/tinylib/msgp 205265da651409c54677b486e350b4d105da6d8b 232# [1] git ls-remote https://github.com/tinylib/msgp 205265da651409c54677b486e350b4d105da6d8b
233SRCREV_msgp="205265da651409c54677b486e350b4d105da6d8b" 233SRCREV_msgp = "205265da651409c54677b486e350b4d105da6d8b"
234SRC_URI += "git://github.com/tinylib/msgp;name=msgp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tinylib/msgp" 234SRC_URI += "git://github.com/tinylib/msgp;name=msgp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tinylib/msgp"
235 235
236# golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 236# golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
237# [1] git ls-remote https://go.googlesource.com/term 03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50 237# [1] git ls-remote https://go.googlesource.com/term 03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50
238SRCREV_term="03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50" 238SRCREV_term = "03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50"
239SRC_URI += "git://go.googlesource.com/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/term" 239SRC_URI += "git://go.googlesource.com/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/term"
240 240
241# github.com/beorn7/perks v1.0.1 241# github.com/beorn7/perks v1.0.1
242# [1] git ls-remote https://github.com/beorn7/perks c49ff274687222a7373c4cd83578f1065cf3e143 242# [1] git ls-remote https://github.com/beorn7/perks c49ff274687222a7373c4cd83578f1065cf3e143
243SRCREV_perks="c49ff274687222a7373c4cd83578f1065cf3e143" 243SRCREV_perks = "c49ff274687222a7373c4cd83578f1065cf3e143"
244SRC_URI += "git://github.com/beorn7/perks;name=perks;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/beorn7/perks" 244SRC_URI += "git://github.com/beorn7/perks;name=perks;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/beorn7/perks"
245 245
246# github.com/cespare/xxhash/v2 v2.1.2 246# github.com/cespare/xxhash/v2 v2.1.2
247# [1] git ls-remote https://github.com/cespare/xxhash 7ae26c41ed6fb1f8a6c21e05eeff4d91b5e401c4 247# [1] git ls-remote https://github.com/cespare/xxhash 7ae26c41ed6fb1f8a6c21e05eeff4d91b5e401c4
248SRCREV_v21="7ae26c41ed6fb1f8a6c21e05eeff4d91b5e401c4" 248SRCREV_v21 = "7ae26c41ed6fb1f8a6c21e05eeff4d91b5e401c4"
249SRC_URI += "git://github.com/cespare/xxhash;name=v21;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cespare/xxhash/v2" 249SRC_URI += "git://github.com/cespare/xxhash;name=v21;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cespare/xxhash/v2"
250 250
251# github.com/containerd/console v1.0.2 251# github.com/containerd/console v1.0.2
252# [1] git ls-remote https://github.com/containerd/console d5efa7d56fd239f7f3dad2ab6685db09359a3618 252# [1] git ls-remote https://github.com/containerd/console d5efa7d56fd239f7f3dad2ab6685db09359a3618
253SRCREV_console="d5efa7d56fd239f7f3dad2ab6685db09359a3618" 253SRCREV_console = "d5efa7d56fd239f7f3dad2ab6685db09359a3618"
254SRC_URI += "git://github.com/containerd/console;name=console;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/console" 254SRC_URI += "git://github.com/containerd/console;name=console;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/console"
255 255
256# github.com/coreos/go-semver v0.3.0 256# github.com/coreos/go-semver v0.3.0
257# [1] git ls-remote https://github.com/coreos/go-semver 6e25b691b0ebe9657dd0ee60d73a9f8716f0c6f5 257# [1] git ls-remote https://github.com/coreos/go-semver 6e25b691b0ebe9657dd0ee60d73a9f8716f0c6f5
258SRCREV_go-semver="6e25b691b0ebe9657dd0ee60d73a9f8716f0c6f5" 258SRCREV_go-semver = "6e25b691b0ebe9657dd0ee60d73a9f8716f0c6f5"
259SRC_URI += "git://github.com/coreos/go-semver;name=go-semver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-semver" 259SRC_URI += "git://github.com/coreos/go-semver;name=go-semver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-semver"
260 260
261# github.com/coreos/go-systemd/v22 v22.3.2 261# github.com/coreos/go-systemd/v22 v22.3.2
262# [1] git ls-remote https://github.com/coreos/go-systemd 0b40357fd65760243a3eceb80a299772c23c8470 262# [1] git ls-remote https://github.com/coreos/go-systemd 0b40357fd65760243a3eceb80a299772c23c8470
263SRCREV_v22="0b40357fd65760243a3eceb80a299772c23c8470" 263SRCREV_v22 = "0b40357fd65760243a3eceb80a299772c23c8470"
264SRC_URI += "git://github.com/coreos/go-systemd;name=v22;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-systemd/v22" 264SRC_URI += "git://github.com/coreos/go-systemd;name=v22;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-systemd/v22"
265 265
266# github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 266# github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1
267# [1] git ls-remote https://github.com/decred/dcrd 75f1b4dac2e43133f3281ac63a9ef9eb699200e5 267# [1] git ls-remote https://github.com/decred/dcrd 75f1b4dac2e43133f3281ac63a9ef9eb699200e5
268SRCREV_v41="75f1b4dac2e43133f3281ac63a9ef9eb699200e5" 268SRCREV_v41 = "75f1b4dac2e43133f3281ac63a9ef9eb699200e5"
269SRC_URI += "git://github.com/decred/dcrd;name=v41;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/decred/dcrd/dcrec/secp256k1/v4" 269SRC_URI += "git://github.com/decred/dcrd;name=v41;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/decred/dcrd/dcrec/secp256k1/v4"
270 270
271# github.com/fatih/structs v1.1.0 271# github.com/fatih/structs v1.1.0
272# [1] git ls-remote https://github.com/fatih/structs 4966fc68f5b7593aafa6cbbba2d65ec6e1416047 272# [1] git ls-remote https://github.com/fatih/structs 4966fc68f5b7593aafa6cbbba2d65ec6e1416047
273SRCREV_structs="4966fc68f5b7593aafa6cbbba2d65ec6e1416047" 273SRCREV_structs = "4966fc68f5b7593aafa6cbbba2d65ec6e1416047"
274SRC_URI += "git://github.com/fatih/structs;name=structs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/structs" 274SRC_URI += "git://github.com/fatih/structs;name=structs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/structs"
275 275
276# github.com/gdamore/encoding v1.0.0 276# github.com/gdamore/encoding v1.0.0
277# [1] git ls-remote https://github.com/gdamore/encoding 79c592247a6248468805a0e297f43a7cac979903 277# [1] git ls-remote https://github.com/gdamore/encoding 79c592247a6248468805a0e297f43a7cac979903
278SRCREV_encoding="79c592247a6248468805a0e297f43a7cac979903" 278SRCREV_encoding = "79c592247a6248468805a0e297f43a7cac979903"
279SRC_URI += "git://github.com/gdamore/encoding;name=encoding;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gdamore/encoding" 279SRC_URI += "git://github.com/gdamore/encoding;name=encoding;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gdamore/encoding"
280 280
281# github.com/gogo/protobuf v1.3.2 281# github.com/gogo/protobuf v1.3.2
282# [1] git ls-remote https://github.com/gogo/protobuf b03c65ea87cdc3521ede29f62fe3ce239267c1bc 282# [1] git ls-remote https://github.com/gogo/protobuf b03c65ea87cdc3521ede29f62fe3ce239267c1bc
283SRCREV_protobuf="b03c65ea87cdc3521ede29f62fe3ce239267c1bc" 283SRCREV_protobuf = "b03c65ea87cdc3521ede29f62fe3ce239267c1bc"
284SRC_URI += "git://github.com/gogo/protobuf;name=protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/protobuf" 284SRC_URI += "git://github.com/gogo/protobuf;name=protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/protobuf"
285 285
286# github.com/golang/protobuf v1.5.2 286# github.com/golang/protobuf v1.5.2
287# [1] git ls-remote https://github.com/golang/protobuf ae97035608a719c7a1c1c41bed0ae0744bdb0c6f 287# [1] git ls-remote https://github.com/golang/protobuf ae97035608a719c7a1c1c41bed0ae0744bdb0c6f
288SRCREV_protobuf1="ae97035608a719c7a1c1c41bed0ae0744bdb0c6f" 288SRCREV_protobuf1 = "ae97035608a719c7a1c1c41bed0ae0744bdb0c6f"
289SRC_URI += "git://github.com/golang/protobuf;name=protobuf1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/protobuf" 289SRC_URI += "git://github.com/golang/protobuf;name=protobuf1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/protobuf"
290 290
291# github.com/hashicorp/errwrap v1.1.0 291# github.com/hashicorp/errwrap v1.1.0
292# [1] git ls-remote https://github.com/hashicorp/errwrap 7b00e5db719c64d14dd0caaacbd13e76254d02c0 292# [1] git ls-remote https://github.com/hashicorp/errwrap 7b00e5db719c64d14dd0caaacbd13e76254d02c0
293SRCREV_errwrap="7b00e5db719c64d14dd0caaacbd13e76254d02c0" 293SRCREV_errwrap = "7b00e5db719c64d14dd0caaacbd13e76254d02c0"
294SRC_URI += "git://github.com/hashicorp/errwrap;name=errwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/errwrap" 294SRC_URI += "git://github.com/hashicorp/errwrap;name=errwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/errwrap"
295 295
296# github.com/hashicorp/go-multierror v1.1.1 296# github.com/hashicorp/go-multierror v1.1.1
297# [1] git ls-remote https://github.com/hashicorp/go-multierror 9974e9ec57696378079ecc3accd3d6f29401b3a0 297# [1] git ls-remote https://github.com/hashicorp/go-multierror 9974e9ec57696378079ecc3accd3d6f29401b3a0
298SRCREV_go-multierror="9974e9ec57696378079ecc3accd3d6f29401b3a0" 298SRCREV_go-multierror = "9974e9ec57696378079ecc3accd3d6f29401b3a0"
299SRC_URI += "git://github.com/hashicorp/go-multierror;name=go-multierror;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-multierror" 299SRC_URI += "git://github.com/hashicorp/go-multierror;name=go-multierror;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-multierror"
300 300
301# github.com/klauspost/cpuid/v2 v2.0.9 301# github.com/klauspost/cpuid/v2 v2.0.9
302# [1] git ls-remote https://github.com/klauspost/cpuid 6903d4066801a7d800d4537ee9eebe81ea97000e 302# [1] git ls-remote https://github.com/klauspost/cpuid 6903d4066801a7d800d4537ee9eebe81ea97000e
303SRCREV_v212="6903d4066801a7d800d4537ee9eebe81ea97000e" 303SRCREV_v212 = "6903d4066801a7d800d4537ee9eebe81ea97000e"
304SRC_URI += "git://github.com/klauspost/cpuid;name=v212;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/cpuid/v2" 304SRC_URI += "git://github.com/klauspost/cpuid;name=v212;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/cpuid/v2"
305 305
306# github.com/kr/text v0.2.0 306# github.com/kr/text v0.2.0
307# [1] git ls-remote https://github.com/kr/text 0e5f52c28dd72ab84daeb81b5a51f20fdc35f9c5 307# [1] git ls-remote https://github.com/kr/text 0e5f52c28dd72ab84daeb81b5a51f20fdc35f9c5
308SRCREV_text1="0e5f52c28dd72ab84daeb81b5a51f20fdc35f9c5" 308SRCREV_text1 = "0e5f52c28dd72ab84daeb81b5a51f20fdc35f9c5"
309SRC_URI += "git://github.com/kr/text;name=text1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kr/text" 309SRC_URI += "git://github.com/kr/text;name=text1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kr/text"
310 310
311# github.com/lestrrat-go/backoff/v2 v2.0.8 311# github.com/lestrrat-go/backoff/v2 v2.0.8
312# [1] git ls-remote https://github.com/lestrrat-go/backoff c3af762cb9d2bc8339e1d5099a4550366a675f60 312# [1] git ls-remote https://github.com/lestrrat-go/backoff c3af762cb9d2bc8339e1d5099a4550366a675f60
313SRCREV_v2123="c3af762cb9d2bc8339e1d5099a4550366a675f60" 313SRCREV_v2123 = "c3af762cb9d2bc8339e1d5099a4550366a675f60"
314SRC_URI += "git://github.com/lestrrat-go/backoff;name=v2123;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/backoff/v2" 314SRC_URI += "git://github.com/lestrrat-go/backoff;name=v2123;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/backoff/v2"
315 315
316# github.com/lestrrat-go/blackmagic v1.0.0 316# github.com/lestrrat-go/blackmagic v1.0.0
317# [1] git ls-remote https://github.com/lestrrat-go/blackmagic 370527f88bbfd5be3192a38af3148dbd64f0976f 317# [1] git ls-remote https://github.com/lestrrat-go/blackmagic 370527f88bbfd5be3192a38af3148dbd64f0976f
318SRCREV_blackmagic="370527f88bbfd5be3192a38af3148dbd64f0976f" 318SRCREV_blackmagic = "370527f88bbfd5be3192a38af3148dbd64f0976f"
319SRC_URI += "git://github.com/lestrrat-go/blackmagic;name=blackmagic;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/blackmagic" 319SRC_URI += "git://github.com/lestrrat-go/blackmagic;name=blackmagic;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/blackmagic"
320 320
321# github.com/lestrrat-go/httpcc v1.0.0 321# github.com/lestrrat-go/httpcc v1.0.0
322# [1] git ls-remote https://github.com/lestrrat-go/httpcc e7e8fea419e32f7549252ad15ecf17f3a3c1a268 322# [1] git ls-remote https://github.com/lestrrat-go/httpcc e7e8fea419e32f7549252ad15ecf17f3a3c1a268
323SRCREV_httpcc="e7e8fea419e32f7549252ad15ecf17f3a3c1a268" 323SRCREV_httpcc = "e7e8fea419e32f7549252ad15ecf17f3a3c1a268"
324SRC_URI += "git://github.com/lestrrat-go/httpcc;name=httpcc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/httpcc" 324SRC_URI += "git://github.com/lestrrat-go/httpcc;name=httpcc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/httpcc"
325 325
326# github.com/lestrrat-go/iter v1.0.1 326# github.com/lestrrat-go/iter v1.0.1
327# [1] git ls-remote https://github.com/lestrrat-go/iter 628869e97ee3dcc09033086e547a5cab96b0d708 327# [1] git ls-remote https://github.com/lestrrat-go/iter 628869e97ee3dcc09033086e547a5cab96b0d708
328SRCREV_iter="628869e97ee3dcc09033086e547a5cab96b0d708" 328SRCREV_iter = "628869e97ee3dcc09033086e547a5cab96b0d708"
329SRC_URI += "git://github.com/lestrrat-go/iter;name=iter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/iter" 329SRC_URI += "git://github.com/lestrrat-go/iter;name=iter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/iter"
330 330
331# github.com/lestrrat-go/jwx v1.2.14 331# github.com/lestrrat-go/jwx v1.2.14
332# [1] git ls-remote https://github.com/lestrrat-go/jwx de7d9bca43812abc4f630320f8632108ccfe34bf 332# [1] git ls-remote https://github.com/lestrrat-go/jwx de7d9bca43812abc4f630320f8632108ccfe34bf
333SRCREV_jwx="de7d9bca43812abc4f630320f8632108ccfe34bf" 333SRCREV_jwx = "de7d9bca43812abc4f630320f8632108ccfe34bf"
334SRC_URI += "git://github.com/lestrrat-go/jwx;name=jwx;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/jwx" 334SRC_URI += "git://github.com/lestrrat-go/jwx;name=jwx;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/jwx"
335 335
336# github.com/lestrrat-go/option v1.0.0 336# github.com/lestrrat-go/option v1.0.0
337# [1] git ls-remote https://github.com/lestrrat-go/option 7e3467dce320ff45667b138ae503367c92deaa0b 337# [1] git ls-remote https://github.com/lestrrat-go/option 7e3467dce320ff45667b138ae503367c92deaa0b
338SRCREV_option="7e3467dce320ff45667b138ae503367c92deaa0b" 338SRCREV_option = "7e3467dce320ff45667b138ae503367c92deaa0b"
339SRC_URI += "git://github.com/lestrrat-go/option;name=option;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/option" 339SRC_URI += "git://github.com/lestrrat-go/option;name=option;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lestrrat-go/option"
340 340
341# github.com/lucasb-eyer/go-colorful v1.2.0 341# github.com/lucasb-eyer/go-colorful v1.2.0
342# [1] git ls-remote https://github.com/lucasb-eyer/go-colorful d2b05a0d83cca9d610425691c3253d5f36d0ad06 342# [1] git ls-remote https://github.com/lucasb-eyer/go-colorful d2b05a0d83cca9d610425691c3253d5f36d0ad06
343SRCREV_go-colorful="d2b05a0d83cca9d610425691c3253d5f36d0ad06" 343SRCREV_go-colorful = "d2b05a0d83cca9d610425691c3253d5f36d0ad06"
344SRC_URI += "git://github.com/lucasb-eyer/go-colorful;name=go-colorful;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lucasb-eyer/go-colorful" 344SRC_URI += "git://github.com/lucasb-eyer/go-colorful;name=go-colorful;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lucasb-eyer/go-colorful"
345 345
346# github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 346# github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0
347# [1] git ls-remote https://github.com/lufia/plan9stats 39d0f177ccd07bdf5eb6f051ab9b09651f05d6f2 347# [1] git ls-remote https://github.com/lufia/plan9stats 39d0f177ccd07bdf5eb6f051ab9b09651f05d6f2
348SRCREV_plan9stats="39d0f177ccd07bdf5eb6f051ab9b09651f05d6f2" 348SRCREV_plan9stats = "39d0f177ccd07bdf5eb6f051ab9b09651f05d6f2"
349SRC_URI += "git://github.com/lufia/plan9stats;name=plan9stats;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lufia/plan9stats" 349SRC_URI += "git://github.com/lufia/plan9stats;name=plan9stats;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lufia/plan9stats"
350 350
351# github.com/mattn/go-colorable v0.1.12 351# github.com/mattn/go-colorable v0.1.12
352# [1] git ls-remote https://github.com/mattn/go-colorable e1bb79c8d53c38a60962ad4b8f658226cc983710 352# [1] git ls-remote https://github.com/mattn/go-colorable e1bb79c8d53c38a60962ad4b8f658226cc983710
353SRCREV_go-colorable="e1bb79c8d53c38a60962ad4b8f658226cc983710" 353SRCREV_go-colorable = "e1bb79c8d53c38a60962ad4b8f658226cc983710"
354SRC_URI += "git://github.com/mattn/go-colorable;name=go-colorable;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-colorable" 354SRC_URI += "git://github.com/mattn/go-colorable;name=go-colorable;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-colorable"
355 355
356# github.com/mattn/go-runewidth v0.0.13 356# github.com/mattn/go-runewidth v0.0.13
357# [1] git ls-remote https://github.com/mattn/go-runewidth df1ff59654317c1b5a3f860ffc47402931932104 357# [1] git ls-remote https://github.com/mattn/go-runewidth df1ff59654317c1b5a3f860ffc47402931932104
358SRCREV_go-runewidth="df1ff59654317c1b5a3f860ffc47402931932104" 358SRCREV_go-runewidth = "df1ff59654317c1b5a3f860ffc47402931932104"
359SRC_URI += "git://github.com/mattn/go-runewidth;name=go-runewidth;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-runewidth" 359SRC_URI += "git://github.com/mattn/go-runewidth;name=go-runewidth;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-runewidth"
360 360
361# github.com/matttproud/golang_protobuf_extensions v1.0.1 361# github.com/matttproud/golang_protobuf_extensions v1.0.1
362# [1] git ls-remote https://github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c 362# [1] git ls-remote https://github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c
363SRCREV_golang_protobuf_extensions="c12348ce28de40eed0136aa2b644d0ee0650e56c" 363SRCREV_golang_protobuf_extensions = "c12348ce28de40eed0136aa2b644d0ee0650e56c"
364SRC_URI += "git://github.com/matttproud/golang_protobuf_extensions;name=golang_protobuf_extensions;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/matttproud/golang_protobuf_extensions" 364SRC_URI += "git://github.com/matttproud/golang_protobuf_extensions;name=golang_protobuf_extensions;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/matttproud/golang_protobuf_extensions"
365 365
366# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 366# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
367# [1] git ls-remote https://github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94 367# [1] git ls-remote https://github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94
368SRCREV_concurrent="bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" 368SRCREV_concurrent = "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94"
369SRC_URI += "git://github.com/modern-go/concurrent;name=concurrent;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/concurrent" 369SRC_URI += "git://github.com/modern-go/concurrent;name=concurrent;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/concurrent"
370 370
371# github.com/modern-go/reflect2 v1.0.2 371# github.com/modern-go/reflect2 v1.0.2
372# [1] git ls-remote https://github.com/modern-go/reflect2 2b33151c9bbc5231aea69b8861c540102b087070 372# [1] git ls-remote https://github.com/modern-go/reflect2 2b33151c9bbc5231aea69b8861c540102b087070
373SRCREV_reflect2="2b33151c9bbc5231aea69b8861c540102b087070" 373SRCREV_reflect2 = "2b33151c9bbc5231aea69b8861c540102b087070"
374SRC_URI += "git://github.com/modern-go/reflect2;name=reflect2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/reflect2" 374SRC_URI += "git://github.com/modern-go/reflect2;name=reflect2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/reflect2"
375 375
376# github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b 376# github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b
377# [1] git ls-remote https://github.com/muesli/ansi 2e021307bc4b4f4766c3fb4faf6030b13dc9ec51 377# [1] git ls-remote https://github.com/muesli/ansi 2e021307bc4b4f4766c3fb4faf6030b13dc9ec51
378SRCREV_ansi="2e021307bc4b4f4766c3fb4faf6030b13dc9ec51" 378SRCREV_ansi = "2e021307bc4b4f4766c3fb4faf6030b13dc9ec51"
379SRC_URI += "git://github.com/muesli/ansi;name=ansi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/ansi" 379SRC_URI += "git://github.com/muesli/ansi;name=ansi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/ansi"
380 380
381# github.com/muesli/reflow v0.3.0 381# github.com/muesli/reflow v0.3.0
382# [1] git ls-remote https://github.com/muesli/reflow 602e329532049c9e33fa8c74e352a46fb9486947 382# [1] git ls-remote https://github.com/muesli/reflow 602e329532049c9e33fa8c74e352a46fb9486947
383SRCREV_reflow="602e329532049c9e33fa8c74e352a46fb9486947" 383SRCREV_reflow = "602e329532049c9e33fa8c74e352a46fb9486947"
384SRC_URI += "git://github.com/muesli/reflow;name=reflow;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/reflow" 384SRC_URI += "git://github.com/muesli/reflow;name=reflow;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/reflow"
385 385
386# github.com/muesli/termenv v0.11.1-0.20220204035834-5ac8409525e0 386# github.com/muesli/termenv v0.11.1-0.20220204035834-5ac8409525e0
387# [1] git ls-remote https://github.com/muesli/termenv 5ac8409525e03ee6cd96daeae32d47902b88f32a 387# [1] git ls-remote https://github.com/muesli/termenv 5ac8409525e03ee6cd96daeae32d47902b88f32a
388SRCREV_termenv="5ac8409525e03ee6cd96daeae32d47902b88f32a" 388SRCREV_termenv = "5ac8409525e03ee6cd96daeae32d47902b88f32a"
389SRC_URI += "git://github.com/muesli/termenv;name=termenv;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/termenv" 389SRC_URI += "git://github.com/muesli/termenv;name=termenv;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/termenv"
390 390
391# github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e 391# github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e
392# [1] git ls-remote https://github.com/niemeyer/pretty a10e7caefd8e0d600cea437f5c3613aeb1553d56 392# [1] git ls-remote https://github.com/niemeyer/pretty a10e7caefd8e0d600cea437f5c3613aeb1553d56
393SRCREV_pretty="a10e7caefd8e0d600cea437f5c3613aeb1553d56" 393SRCREV_pretty = "a10e7caefd8e0d600cea437f5c3613aeb1553d56"
394SRC_URI += "git://github.com/niemeyer/pretty;name=pretty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/niemeyer/pretty" 394SRC_URI += "git://github.com/niemeyer/pretty;name=pretty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/niemeyer/pretty"
395 395
396# github.com/philhofer/fwd v1.1.1 396# github.com/philhofer/fwd v1.1.1
397# [1] git ls-remote https://github.com/philhofer/fwd 9bcb9cab1b0394d8516a132ec243ba944efdb644 397# [1] git ls-remote https://github.com/philhofer/fwd 9bcb9cab1b0394d8516a132ec243ba944efdb644
398SRCREV_fwd="9bcb9cab1b0394d8516a132ec243ba944efdb644" 398SRCREV_fwd = "9bcb9cab1b0394d8516a132ec243ba944efdb644"
399SRC_URI += "git://github.com/philhofer/fwd;name=fwd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/philhofer/fwd" 399SRC_URI += "git://github.com/philhofer/fwd;name=fwd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/philhofer/fwd"
400 400
401# github.com/pkg/errors v0.9.1 401# github.com/pkg/errors v0.9.1
402# [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465 402# [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465
403SRCREV_errors="614d223910a179a466c1767a985424175c39b465" 403SRCREV_errors = "614d223910a179a466c1767a985424175c39b465"
404SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors" 404SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors"
405 405
406# github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c 406# github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c
407# [1] git ls-remote https://github.com/power-devops/perfstat 5aafc221ea8c1ff54b0835cbd5f2386a8410be11 407# [1] git ls-remote https://github.com/power-devops/perfstat 5aafc221ea8c1ff54b0835cbd5f2386a8410be11
408SRCREV_perfstat="5aafc221ea8c1ff54b0835cbd5f2386a8410be11" 408SRCREV_perfstat = "5aafc221ea8c1ff54b0835cbd5f2386a8410be11"
409SRC_URI += "git://github.com/power-devops/perfstat;name=perfstat;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/power-devops/perfstat" 409SRC_URI += "git://github.com/power-devops/perfstat;name=perfstat;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/power-devops/perfstat"
410 410
411# github.com/prometheus/common v0.33.0 411# github.com/prometheus/common v0.33.0
412# [1] git ls-remote https://github.com/prometheus/common 63e75f51cd2368130efbd51b95a4e457e64b444e 412# [1] git ls-remote https://github.com/prometheus/common 63e75f51cd2368130efbd51b95a4e457e64b444e
413SRCREV_common="63e75f51cd2368130efbd51b95a4e457e64b444e" 413SRCREV_common = "63e75f51cd2368130efbd51b95a4e457e64b444e"
414SRC_URI += "git://github.com/prometheus/common;name=common;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/common" 414SRC_URI += "git://github.com/prometheus/common;name=common;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/common"
415 415
416# github.com/prometheus/procfs v0.7.3 416# github.com/prometheus/procfs v0.7.3
417# [1] git ls-remote https://github.com/prometheus/procfs f436cbb89ece38bf080d446b3ca27053b305eaac 417# [1] git ls-remote https://github.com/prometheus/procfs f436cbb89ece38bf080d446b3ca27053b305eaac
418SRCREV_procfs="f436cbb89ece38bf080d446b3ca27053b305eaac" 418SRCREV_procfs = "f436cbb89ece38bf080d446b3ca27053b305eaac"
419SRC_URI += "git://github.com/prometheus/procfs;name=procfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/procfs" 419SRC_URI += "git://github.com/prometheus/procfs;name=procfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/procfs"
420 420
421# github.com/rivo/uniseg v0.2.0 421# github.com/rivo/uniseg v0.2.0
422# [1] git ls-remote https://github.com/rivo/uniseg 75711fccf6a3e85bc74c241e2dddd06a9bc9e53d 422# [1] git ls-remote https://github.com/rivo/uniseg 75711fccf6a3e85bc74c241e2dddd06a9bc9e53d
423SRCREV_uniseg="75711fccf6a3e85bc74c241e2dddd06a9bc9e53d" 423SRCREV_uniseg = "75711fccf6a3e85bc74c241e2dddd06a9bc9e53d"
424SRC_URI += "git://github.com/rivo/uniseg;name=uniseg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rivo/uniseg" 424SRC_URI += "git://github.com/rivo/uniseg;name=uniseg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rivo/uniseg"
425 425
426# github.com/sirupsen/logrus v1.8.1 426# github.com/sirupsen/logrus v1.8.1
427# [1] git ls-remote https://github.com/sirupsen/logrus bdc0db8ead3853c56b7cd1ac2ba4e11b47d7da6b 427# [1] git ls-remote https://github.com/sirupsen/logrus bdc0db8ead3853c56b7cd1ac2ba4e11b47d7da6b
428SRCREV_logrus="bdc0db8ead3853c56b7cd1ac2ba4e11b47d7da6b" 428SRCREV_logrus = "bdc0db8ead3853c56b7cd1ac2ba4e11b47d7da6b"
429SRC_URI += "git://github.com/sirupsen/logrus;name=logrus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/sirupsen/logrus" 429SRC_URI += "git://github.com/sirupsen/logrus;name=logrus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/sirupsen/logrus"
430 430
431# github.com/tidwall/match v1.1.1 431# github.com/tidwall/match v1.1.1
432# [1] git ls-remote https://github.com/tidwall/match 4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf 432# [1] git ls-remote https://github.com/tidwall/match 4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf
433SRCREV_match="4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf" 433SRCREV_match = "4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf"
434SRC_URI += "git://github.com/tidwall/match;name=match;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/match" 434SRC_URI += "git://github.com/tidwall/match;name=match;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/match"
435 435
436# github.com/tidwall/pretty v1.2.0 436# github.com/tidwall/pretty v1.2.0
437# [1] git ls-remote https://github.com/tidwall/pretty aaa765e7476acb0028a854b85675801362cbdaa2 437# [1] git ls-remote https://github.com/tidwall/pretty aaa765e7476acb0028a854b85675801362cbdaa2
438SRCREV_pretty1="aaa765e7476acb0028a854b85675801362cbdaa2" 438SRCREV_pretty1 = "aaa765e7476acb0028a854b85675801362cbdaa2"
439SRC_URI += "git://github.com/tidwall/pretty;name=pretty1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/pretty" 439SRC_URI += "git://github.com/tidwall/pretty;name=pretty1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/pretty"
440 440
441# github.com/tklauser/go-sysconf v0.3.9 441# github.com/tklauser/go-sysconf v0.3.9
442# [1] git ls-remote https://github.com/tklauser/go-sysconf 746b19d14e19d242c2daa08e0d645c19832c1939 442# [1] git ls-remote https://github.com/tklauser/go-sysconf 746b19d14e19d242c2daa08e0d645c19832c1939
443SRCREV_go-sysconf="746b19d14e19d242c2daa08e0d645c19832c1939" 443SRCREV_go-sysconf = "746b19d14e19d242c2daa08e0d645c19832c1939"
444SRC_URI += "git://github.com/tklauser/go-sysconf;name=go-sysconf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tklauser/go-sysconf" 444SRC_URI += "git://github.com/tklauser/go-sysconf;name=go-sysconf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tklauser/go-sysconf"
445 445
446# github.com/tklauser/numcpus v0.3.0 446# github.com/tklauser/numcpus v0.3.0
447# [1] git ls-remote https://github.com/tklauser/numcpus cc3fdd5f3955d53d50d94380963bddd24bd373e2 447# [1] git ls-remote https://github.com/tklauser/numcpus cc3fdd5f3955d53d50d94380963bddd24bd373e2
448SRCREV_numcpus="cc3fdd5f3955d53d50d94380963bddd24bd373e2" 448SRCREV_numcpus = "cc3fdd5f3955d53d50d94380963bddd24bd373e2"
449SRC_URI += "git://github.com/tklauser/numcpus;name=numcpus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tklauser/numcpus" 449SRC_URI += "git://github.com/tklauser/numcpus;name=numcpus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tklauser/numcpus"
450 450
451# github.com/yusufpapurcu/wmi v1.2.2 451# github.com/yusufpapurcu/wmi v1.2.2
452# [1] git ls-remote https://github.com/yusufpapurcu/wmi 253c5f0cb35e666c4c0fc42083824e7c89f0cc8d 452# [1] git ls-remote https://github.com/yusufpapurcu/wmi 253c5f0cb35e666c4c0fc42083824e7c89f0cc8d
453SRCREV_wmi="253c5f0cb35e666c4c0fc42083824e7c89f0cc8d" 453SRCREV_wmi = "253c5f0cb35e666c4c0fc42083824e7c89f0cc8d"
454SRC_URI += "git://github.com/yusufpapurcu/wmi;name=wmi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/yusufpapurcu/wmi" 454SRC_URI += "git://github.com/yusufpapurcu/wmi;name=wmi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/yusufpapurcu/wmi"
455 455
456# go.etcd.io/etcd/api/v3 v3.5.2 456# go.etcd.io/etcd/api/v3 v3.5.2
457# [1] git ls-remote https://github.com/etcd-io/etcd 4591a096d4d3c08e577d7269851938db0c1da3d4 457# [1] git ls-remote https://github.com/etcd-io/etcd 4591a096d4d3c08e577d7269851938db0c1da3d4
458SRCREV_v31="4591a096d4d3c08e577d7269851938db0c1da3d4" 458SRCREV_v31 = "4591a096d4d3c08e577d7269851938db0c1da3d4"
459SRC_URI += "git://github.com/etcd-io/etcd;name=v31;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/etcd-io/etcd/api/v3" 459SRC_URI += "git://github.com/etcd-io/etcd;name=v31;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/etcd-io/etcd/api/v3"
460 460
461# go.uber.org/atomic v1.9.0 461# go.uber.org/atomic v1.9.0
462# [1] git ls-remote https://github.com/uber-go/atomic 135466e2d0c8f8adf4d37dc757e3df0ebdd0dfe8 462# [1] git ls-remote https://github.com/uber-go/atomic 135466e2d0c8f8adf4d37dc757e3df0ebdd0dfe8
463SRCREV_atomic="135466e2d0c8f8adf4d37dc757e3df0ebdd0dfe8" 463SRCREV_atomic = "135466e2d0c8f8adf4d37dc757e3df0ebdd0dfe8"
464SRC_URI += "git://github.com/uber-go/atomic;name=atomic;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/atomic" 464SRC_URI += "git://github.com/uber-go/atomic;name=atomic;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/atomic"
465 465
466# go.uber.org/multierr v1.7.0 466# go.uber.org/multierr v1.7.0
467# [1] git ls-remote https://github.com/uber-go/multierr 19d9fff1d3b66750a134671435786579bc994737 467# [1] git ls-remote https://github.com/uber-go/multierr 19d9fff1d3b66750a134671435786579bc994737
468SRCREV_multierr="19d9fff1d3b66750a134671435786579bc994737" 468SRCREV_multierr = "19d9fff1d3b66750a134671435786579bc994737"
469SRC_URI += "git://github.com/uber-go/multierr;name=multierr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/multierr" 469SRC_URI += "git://github.com/uber-go/multierr;name=multierr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/multierr"
470 470
471# go.uber.org/zap v1.19.1 471# go.uber.org/zap v1.19.1
472# [1] git ls-remote https://github.com/uber-go/zap 2f61e97148e69cd2dd1902b03e89ce07cd1218a1 472# [1] git ls-remote https://github.com/uber-go/zap 2f61e97148e69cd2dd1902b03e89ce07cd1218a1
473SRCREV_zap="2f61e97148e69cd2dd1902b03e89ce07cd1218a1" 473SRCREV_zap = "2f61e97148e69cd2dd1902b03e89ce07cd1218a1"
474SRC_URI += "git://github.com/uber-go/zap;name=zap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/zap" 474SRC_URI += "git://github.com/uber-go/zap;name=zap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/zap"
475 475
476# golang.org/x/sync v0.0.0-20210220032951-036812b2e83c 476# golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
477# [1] git ls-remote https://go.googlesource.com/sync 036812b2e83c0ddf193dd5a34e034151da389d09 477# [1] git ls-remote https://go.googlesource.com/sync 036812b2e83c0ddf193dd5a34e034151da389d09
478SRCREV_sync="036812b2e83c0ddf193dd5a34e034151da389d09" 478SRCREV_sync = "036812b2e83c0ddf193dd5a34e034151da389d09"
479SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/sync" 479SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/sync"
480 480
481# golang.org/x/sys v0.0.0-20220412211240-33da011f77ad 481# golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
482# [1] git ls-remote https://go.googlesource.com/sys 33da011f77ade50ff5b6a6fb4a9a1e6d6b285809 482# [1] git ls-remote https://go.googlesource.com/sys 33da011f77ade50ff5b6a6fb4a9a1e6d6b285809
483SRCREV_sys="33da011f77ade50ff5b6a6fb4a9a1e6d6b285809" 483SRCREV_sys = "33da011f77ade50ff5b6a6fb4a9a1e6d6b285809"
484SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/sys" 484SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.googlesource.com/sys"
485 485
486# google.golang.org/genproto v0.0.0-20211223182754-3ac035c7e7cb 486# google.golang.org/genproto v0.0.0-20211223182754-3ac035c7e7cb
487# [1] git ls-remote https://github.com/googleapis/go-genproto 3ac035c7e7cbd86eb6d8b95be888cf83d73dedd3 487# [1] git ls-remote https://github.com/googleapis/go-genproto 3ac035c7e7cbd86eb6d8b95be888cf83d73dedd3
488SRCREV_genproto="3ac035c7e7cbd86eb6d8b95be888cf83d73dedd3" 488SRCREV_genproto = "3ac035c7e7cbd86eb6d8b95be888cf83d73dedd3"
489SRC_URI += "git://github.com/googleapis/go-genproto;name=genproto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto" 489SRC_URI += "git://github.com/googleapis/go-genproto;name=genproto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto"
490 490
491# google.golang.org/grpc v1.43.0 491# google.golang.org/grpc v1.43.0
492# [1] git ls-remote https://github.com/grpc/grpc-go 14c11384b76b67f7b1b32a5d18f865762634c0ae 492# [1] git ls-remote https://github.com/grpc/grpc-go 14c11384b76b67f7b1b32a5d18f865762634c0ae
493SRCREV_grpc="14c11384b76b67f7b1b32a5d18f865762634c0ae" 493SRCREV_grpc = "14c11384b76b67f7b1b32a5d18f865762634c0ae"
494SRC_URI += "git://github.com/grpc/grpc-go;name=grpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/grpc" 494SRC_URI += "git://github.com/grpc/grpc-go;name=grpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/grpc"
495 495
496# google.golang.org/protobuf v1.27.1 496# google.golang.org/protobuf v1.27.1
497# [1] git ls-remote https://github.com/protocolbuffers/protobuf-go b92717ecb630d4a4824b372bf98c729d87311a4d 497# [1] git ls-remote https://github.com/protocolbuffers/protobuf-go b92717ecb630d4a4824b372bf98c729d87311a4d
498SRCREV_protobuf12="b92717ecb630d4a4824b372bf98c729d87311a4d" 498SRCREV_protobuf12 = "b92717ecb630d4a4824b372bf98c729d87311a4d"
499SRC_URI += "git://github.com/protocolbuffers/protobuf-go;name=protobuf12;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/protobuf" 499SRC_URI += "git://github.com/protocolbuffers/protobuf-go;name=protobuf12;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/protobuf"
500 500
501# gopkg.in/ini.v1 v1.66.3 501# gopkg.in/ini.v1 v1.66.3
502# [1] git ls-remote https://gopkg.in/ini.v1 fcd6cc399e588727c1231f4ea187d1b963536bcc 502# [1] git ls-remote https://gopkg.in/ini.v1 fcd6cc399e588727c1231f4ea187d1b963536bcc
503SRCREV_ini.v1="fcd6cc399e588727c1231f4ea187d1b963536bcc" 503SRCREV_ini.v1 = "fcd6cc399e588727c1231f4ea187d1b963536bcc"
504SRC_URI += "git://gopkg.in/ini.v1;name=ini.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/ini.v1" 504SRC_URI += "git://gopkg.in/ini.v1;name=ini.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/ini.v1"
505 505
506# gopkg.in/yaml.v3 v3.0.1 506# gopkg.in/yaml.v3 v3.0.1
507# [1] git ls-remote https://gopkg.in/yaml.v3 f6f7691b1fdeb513f56608cd2c32c51f8194bf51 507# [1] git ls-remote https://gopkg.in/yaml.v3 f6f7691b1fdeb513f56608cd2c32c51f8194bf51
508SRCREV_yaml.v3="f6f7691b1fdeb513f56608cd2c32c51f8194bf51" 508SRCREV_yaml.v3 = "f6f7691b1fdeb513f56608cd2c32c51f8194bf51"
509SRC_URI += "git://gopkg.in/yaml.v3;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3" 509SRC_URI += "git://gopkg.in/yaml.v3;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3"
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch b/meta-oe/recipes-extended/mozjs/mozjs-115/0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch
deleted file mode 100644
index 38496ea56c..0000000000
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From c860dcbe63b0e393c95bfb0131238f91aaac11d3 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Thu, 7 Oct 2021 12:44:18 +0200
4Subject: [PATCH] build: do not use autoconf's config.sub to 'canonicalize'
5 names
6
7The outcome is that processed names no longer match our custom rust
8target definitions, and the build fails.
9
10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex@linutronix.de>
12
13---
14 build/moz.configure/init.configure | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17--- a/build/moz.configure/init.configure
18+++ b/build/moz.configure/init.configure
19@@ -647,24 +647,7 @@ def help_host_target(help, host, target)
20
21 def config_sub(shell, triplet):
22 config_sub = os.path.join(os.path.dirname(__file__), "..", "autoconf", "config.sub")
23- # Config.sub doesn't like the *-windows-msvc/*-windows-gnu triplets, so
24- # munge those before and after calling config.sub.
25- suffix = None
26- munging = {
27- "-windows-msvc": "-mingw32",
28- "-windows-gnu": "-mingw32",
29- }
30- for check_suffix, replacement in munging.items():
31- if triplet.endswith(check_suffix):
32- suffix = check_suffix
33- triplet = triplet[: -len(suffix)] + replacement
34- break
35- result = check_cmd_output(shell, config_sub, triplet).strip()
36- if suffix:
37- assert result.endswith(replacement)
38- result = result[: -len(replacement)] + suffix
39- return result
40-
41+ return triplet
42
43 @depends("--host", shell)
44 @checking("for host system type", lambda h: h.alias)
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch b/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
deleted file mode 100644
index 4c45955bca..0000000000
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/armv5.patch
+++ /dev/null
@@ -1,19 +0,0 @@
1The ISB instruction isn't available in ARMv5 or v6, so
2guard it's use to fix the build on qemuarmv5.
3
4Upstream-Status: Pending
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7diff --git a/js/src/jit/arm/Architecture-arm.cpp b/js/src/jit/arm/Architecture-arm.cpp
8--- a/js/src/jit/arm/Architecture-arm.cpp 2024-01-18 17:31:32.078718197 +0000
9+++ b/js/src/jit/arm/Architecture-arm.cpp 2024-01-18 18:00:16.738921445 +0000
10@@ -529,7 +529,9 @@
11 void FlushExecutionContext() {
12 #ifndef JS_SIMULATOR_ARM
13+#if __ARM_ARCH >= 7
14 // Ensure that any instructions already in the pipeline are discarded and
15 // reloaded from the icache.
16 asm volatile("isb\n" : : : "memory");
17+#endif
18 #else
19 // We assume the icache flushing routines on other platforms take care of this
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/fix-musl-build.patch b/meta-oe/recipes-extended/mozjs/mozjs-115/fix-musl-build.patch
deleted file mode 100644
index 22f31e05f8..0000000000
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/fix-musl-build.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From e4d8016d0dc56b02e22898d83aad9f80a94d1c3c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 20 Oct 2021 16:21:14 -0700
4Subject: [PATCH] mozjs: Fix musl miscompiles with HAVE_THREAD_TLS_KEYWORD
5
6Upstream: No
7Reason: mozjs60 miscompiles on musl if built with HAVE_THREAD_TLS_KEYWORD:
8https://github.com/void-linux/void-packages/issues/2598
9
10---
11Upstream-Status: Pending
12
13 js/src/old-configure.in | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/js/src/old-configure.in b/js/src/old-configure.in
17index cabd72a2b6..0f08d91cbf 100644
18--- a/js/src/old-configure.in
19+++ b/js/src/old-configure.in
20@@ -807,6 +807,9 @@ if test "$ac_cv_thread_keyword" = yes; then
21 *-android*|*-linuxandroid*)
22 :
23 ;;
24+ *-musl*)
25+ :
26+ ;;
27 *)
28 AC_DEFINE(HAVE_THREAD_TLS_KEYWORD)
29 ;;
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-Cargo.toml-do-not-abort-on-panic.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patch
index e8dfdea1e9..97a4439628 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-Cargo.toml-do-not-abort-on-panic.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Cargo.toml-do-not-abort-on-panic.patch
@@ -1,4 +1,4 @@
1From f501f7c02df4f0ff5d5f100d9eeb74cd4d12ea3d Mon Sep 17 00:00:00 2001 1From ddd23f8547f3a56aa542924aa400d3535f734bff Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 1 Oct 2021 13:00:24 +0200 3Date: Fri, 1 Oct 2021 13:00:24 +0200
4Subject: [PATCH] Cargo.toml: do not abort on panic 4Subject: [PATCH] Cargo.toml: do not abort on panic
@@ -7,16 +7,15 @@ OE's rust is configured to unwind, and this setting clashes with it/
7 7
8Upstream-Status: Inappropriate [oe-core specific] 8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de> 9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10
11--- 10---
12 Cargo.toml | 2 -- 11 Cargo.toml | 2 --
13 1 file changed, 2 deletions(-) 12 1 file changed, 2 deletions(-)
14 13
15diff --git a/Cargo.toml b/Cargo.toml 14diff --git a/Cargo.toml b/Cargo.toml
16index a2718b2f35..4e231c30e8 100644 15index a4248187be..eed8964b3a 100644
17--- a/Cargo.toml 16--- a/Cargo.toml
18+++ b/Cargo.toml 17+++ b/Cargo.toml
19@@ -59,13 +59,11 @@ opt-level = 1 18@@ -67,13 +67,11 @@ opt-level = 1
20 rpath = false 19 rpath = false
21 lto = false 20 lto = false
22 debug-assertions = true 21 debug-assertions = true
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch
new file mode 100644
index 0000000000..4fb7a28eeb
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch
@@ -0,0 +1,27 @@
1From cbb5cc1022cc27edefc8eabbe21458cac9bda6fb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 23 Nov 2024 13:28:33 -0800
4Subject: [PATCH] Link with icu-uc to fix build with ICU-76
5
6Fixes
7https://bugzilla.mozilla.org/show_bug.cgi?id=1927380
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 js/moz.configure | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/js/moz.configure b/js/moz.configure
16index 593b93acee..2181dca34b 100644
17--- a/js/moz.configure
18+++ b/js/moz.configure
19@@ -1305,7 +1305,7 @@ def enable_system_icu_option(enable_system_icu):
20 return enable_system_icu
21
22
23-system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1", when="--with-system-icu")
24+system_icu = pkg_check_modules("MOZ_ICU", "icu-i18n >= 73.1 icu-uc", when="--with-system-icu")
25
26
27 @depends(enable_system_icu_option)
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-add-arm-to-list-of-mozinline.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patch
index 83187861c7..960b4593c2 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-add-arm-to-list-of-mozinline.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-add-arm-to-list-of-mozinline.patch
@@ -1,4 +1,4 @@
1From c5cfb8aa591afd5ad3aedc58fe7f410e89013605 Mon Sep 17 00:00:00 2001 1From 2d1fb35bd81acadc12cc077de86361ac59cee2f1 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com> 2From: Kai Kang <kai.kang@windriver.com>
3Date: Fri, 22 Sep 2023 22:59:59 +0000 3Date: Fri, 22 Sep 2023 22:59:59 +0000
4Subject: [PATCH] Backport patch from firefox bugzilla to fix compile error for 4Subject: [PATCH] Backport patch from firefox bugzilla to fix compile error for
@@ -12,16 +12,15 @@ Subject: [PATCH] Backport patch from firefox bugzilla to fix compile error for
12Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1761665] 12Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1761665]
13 13
14Signed-off-by: Kai Kang <kai.kang@windriver.com> 14Signed-off-by: Kai Kang <kai.kang@windriver.com>
15
16--- 15---
17 js/src/jit/GenerateAtomicOperations.py | 2 +- 16 js/src/jit/GenerateAtomicOperations.py | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
19 18
20diff --git a/js/src/jit/GenerateAtomicOperations.py b/js/src/jit/GenerateAtomicOperations.py 19diff --git a/js/src/jit/GenerateAtomicOperations.py b/js/src/jit/GenerateAtomicOperations.py
21index 24b5a191cf..e41948c5af 100644 20index 9194b8b685..145563bb37 100644
22--- a/js/src/jit/GenerateAtomicOperations.py 21--- a/js/src/jit/GenerateAtomicOperations.py
23+++ b/js/src/jit/GenerateAtomicOperations.py 22+++ b/js/src/jit/GenerateAtomicOperations.py
24@@ -860,7 +860,7 @@ def generate_atomics_header(c_out): 23@@ -850,7 +850,7 @@ def generate_atomics_header(c_out):
25 24
26 # Work around a GCC issue on 32-bit x86 by adding MOZ_NEVER_INLINE. 25 # Work around a GCC issue on 32-bit x86 by adding MOZ_NEVER_INLINE.
27 # See bug 1756347. 26 # See bug 1756347.
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-rewrite-cargo-host-linker-in-python3.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch
index 83f384e6c2..94e1651b33 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-rewrite-cargo-host-linker-in-python3.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-rewrite-cargo-host-linker-in-python3.patch
@@ -1,4 +1,4 @@
1From c6a84863454b882695058187cd282987613474ef Mon Sep 17 00:00:00 2001 1From 6f6b78628a8edc834aa147c87ebce3eb8e670e7a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 18 Nov 2021 07:16:39 +0000 3Date: Thu, 18 Nov 2021 07:16:39 +0000
4Subject: [PATCH] Rewrite cargo-host-linker in python3 4Subject: [PATCH] Rewrite cargo-host-linker in python3
@@ -18,7 +18,6 @@ rewrite cargo-host-linker in python3
18Upstream-Status: Inappropriate [oe specific] 18Upstream-Status: Inappropriate [oe specific]
19 19
20Signed-off-by: Changqing Li <changqing.li@windriver.com> 20Signed-off-by: Changqing Li <changqing.li@windriver.com>
21
22--- 21---
23 build/cargo-host-linker | 24 +++++++++++++++++++++--- 22 build/cargo-host-linker | 24 +++++++++++++++++++++---
24 1 file changed, 21 insertions(+), 3 deletions(-) 23 1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-util.configure-fix-one-occasionally-reproduced-confi.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
index 4921a9028c..d53cc2bd41 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0001-util.configure-fix-one-occasionally-reproduced-confi.patch
@@ -1,4 +1,4 @@
1From 0d28cd65efe14022e1d645db71dec74f11ab2ae8 Mon Sep 17 00:00:00 2001 1From 683cd23dd269509a1d913adb2b049b84771e0a94 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 11 Nov 2021 16:05:54 +0800 3Date: Thu, 11 Nov 2021 16:05:54 +0800
4Subject: [PATCH] util.configure: fix one occasionally reproduced configure 4Subject: [PATCH] util.configure: fix one occasionally reproduced configure
@@ -28,16 +28,15 @@ It should be another process that deleted this file by using
28Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1740667] 28Upstream-Status: Submitted [https://bugzilla.mozilla.org/show_bug.cgi?id=1740667]
29 29
30Signed-off-by: Changqing Li <changqing.li@windriver.com> 30Signed-off-by: Changqing Li <changqing.li@windriver.com>
31
32--- 31---
33 build/moz.configure/util.configure | 2 +- 32 build/moz.configure/util.configure | 2 +-
34 1 file changed, 1 insertion(+), 1 deletion(-) 33 1 file changed, 1 insertion(+), 1 deletion(-)
35 34
36diff --git a/build/moz.configure/util.configure b/build/moz.configure/util.configure 35diff --git a/build/moz.configure/util.configure b/build/moz.configure/util.configure
37index f5ff3acd79..44f69deceb 100644 36index d93b91fcdd..47ab8b92b9 100644
38--- a/build/moz.configure/util.configure 37--- a/build/moz.configure/util.configure
39+++ b/build/moz.configure/util.configure 38+++ b/build/moz.configure/util.configure
40@@ -254,7 +254,7 @@ def try_invoke_compiler( 39@@ -256,7 +256,7 @@ def try_invoke_compiler(
41 "C++": ".cpp", 40 "C++": ".cpp",
42 }[language] 41 }[language]
43 42
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0002-moz.configure-do-not-look-for-llvm-objdump.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch
index 4c69155a68..9a82acf77b 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0002-moz.configure-do-not-look-for-llvm-objdump.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0002-moz.configure-do-not-look-for-llvm-objdump.patch
@@ -1,4 +1,4 @@
1From 49cb509abd309e3b74ef4c872ae773f18dabca19 Mon Sep 17 00:00:00 2001 1From 1a5331f1997788e9a25bbc2b10eb14e2ee418be9 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 1 Oct 2021 13:01:10 +0200 3Date: Fri, 1 Oct 2021 13:01:10 +0200
4Subject: [PATCH] moz.configure: do not look for llvm-objdump 4Subject: [PATCH] moz.configure: do not look for llvm-objdump
@@ -8,17 +8,16 @@ for js builds.
8 8
9Upstream-Status: Inappropriate [oe-core specific] 9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de> 10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12--- 11---
13 moz.configure | 18 +++++++++--------- 12 moz.configure | 18 +++++++++---------
14 1 file changed, 9 insertions(+), 9 deletions(-) 13 1 file changed, 9 insertions(+), 9 deletions(-)
15 14
16diff --git a/moz.configure b/moz.configure 15diff --git a/moz.configure b/moz.configure
17index 3a9461200d..33b3f49b0c 100755 16index 804b9a375a..402e79e3b3 100755
18--- a/moz.configure 17--- a/moz.configure
19+++ b/moz.configure 18+++ b/moz.configure
20@@ -723,15 +723,15 @@ check_prog( 19@@ -390,15 +390,15 @@ def plain_llvm_or_prefixed(name, llvm_name=None):
21 ) 20 return plain_llvm_or_prefixed
22 21
23 22
24-llvm_objdump = check_prog( 23-llvm_objdump = check_prog(
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch
index 0f9d062205..40025fbc68 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch
@@ -1,4 +1,4 @@
1From ac6a3711917ff3f2b64662cbf4681c22a09da403 Mon Sep 17 00:00:00 2001 1From 2d7f06cdf631e4d4d94e9d8e33a953dc57672750 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de> 2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 1 Oct 2021 13:02:17 +0200 3Date: Fri, 1 Oct 2021 13:02:17 +0200
4Subject: [PATCH] rust.configure: do not try to find a suitable upstream target 4Subject: [PATCH] rust.configure: do not try to find a suitable upstream target
@@ -7,13 +7,12 @@ OE is using custom targets and so this is bound to fail.
7 7
8Upstream-Status: Inappropriate [oe-core specific] 8Upstream-Status: Inappropriate [oe-core specific]
9Signed-off-by: Alexander Kanavin <alex@linutronix.de> 9Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10
11--- 10---
12 build/moz.configure/rust.configure | 34 ++---------------------------- 11 build/moz.configure/rust.configure | 34 ++----------------------------
13 1 file changed, 2 insertions(+), 32 deletions(-) 12 1 file changed, 2 insertions(+), 32 deletions(-)
14 13
15diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure 14diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure
16index 7a2fd1ae70..e11f13b253 100644 15index acac34ec05..ff3b8fc0fd 100644
17--- a/build/moz.configure/rust.configure 16--- a/build/moz.configure/rust.configure
18+++ b/build/moz.configure/rust.configure 17+++ b/build/moz.configure/rust.configure
19@@ -486,33 +486,7 @@ def assert_rust_compile(host_or_target, rustc_target, rustc): 18@@ -486,33 +486,7 @@ def assert_rust_compile(host_or_target, rustc_target, rustc):
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/0004-use-asm-sgidefs.h.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patch
index 6443d46b2c..eb3ff452b3 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/0004-use-asm-sgidefs.h.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/0004-use-asm-sgidefs.h.patch
@@ -1,4 +1,4 @@
1From 607aa4d822b0e074ae1b2fc16d7c140c3e889680 Mon Sep 17 00:00:00 2001 1From 1691939a22ec12245f008993e0b9a1b1dfb91e9c Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <amccurdy@gmail.com> 2From: Andre McCurdy <amccurdy@gmail.com>
3Date: Sat, 30 Apr 2016 15:29:06 -0700 3Date: Sat, 30 Apr 2016 15:29:06 -0700
4Subject: [PATCH] use <asm/sgidefs.h> 4Subject: [PATCH] use <asm/sgidefs.h>
@@ -18,7 +18,6 @@ Taken from: https://sourceware.org/bugzilla/show_bug.cgi?id=21070]
18Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 18Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
19Signed-off-by: Khem Raj <raj.khem@gmail.com> 19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> 20Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
21
22--- 21---
23 mfbt/RandomNum.cpp | 2 +- 22 mfbt/RandomNum.cpp | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-) 23 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patch
new file mode 100644
index 0000000000..564f423fb4
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/armv5.patch
@@ -0,0 +1,28 @@
1From 0dd6fdbf6a821898617f1bd8e57123be048c07f5 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Mon, 16 Dec 2024 05:49:57 +0000
4Subject: [PATCH] The ISB instruction isn't available in ARMv5 or v6, so guard
5 it's use to fix the build on qemuarmv5.
6
7Upstream-Status: Pending
8Signed-off-by: Ross Burton <ross.burton@arm.com>
9---
10 js/src/jit/arm/Architecture-arm.cpp | 2 ++
11 1 file changed, 2 insertions(+)
12
13diff --git a/js/src/jit/arm/Architecture-arm.cpp b/js/src/jit/arm/Architecture-arm.cpp
14index d4c5026705..fc0455eaff 100644
15--- a/js/src/jit/arm/Architecture-arm.cpp
16+++ b/js/src/jit/arm/Architecture-arm.cpp
17@@ -528,9 +528,11 @@ void FlushICache(void* code, size_t size) {
18
19 void FlushExecutionContext() {
20 #ifndef JS_SIMULATOR_ARM
21+#if __ARM_ARCH >= 7
22 // Ensure that any instructions already in the pipeline are discarded and
23 // reloaded from the icache.
24 asm volatile("isb\n" : : : "memory");
25+#endif
26 #else
27 // We assume the icache flushing routines on other platforms take care of this
28 #endif
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patch
index 590cddfe5f..3d5452ce4d 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/musl-disable-stackwalk.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/musl-disable-stackwalk.patch
@@ -1,27 +1,27 @@
1From 9aae71c6ee73431d2609be0ef74ffd4b22b36c75 Mon Sep 17 00:00:00 2001 1From d96e9a40e9da9163e0a4b3475178fe30c26deb19 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 22 Sep 2023 22:59:56 +0000 3Date: Fri, 22 Sep 2023 22:59:56 +0000
4Subject: [PATCH] Musl does not have stack unwinder like glibc therefore we can 4Subject: [PATCH] Musl does not have stack unwinder like glibc therefore we can
5
5 not assume that its always available on musl, we do need to check for target 6 not assume that its always available on musl, we do need to check for target
6 environment as well which could be musl or glibc. 7 environment as well which could be musl or glibc.
7 8
8Upstream-Status: Pending 9Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11--- 11---
12 mozglue/misc/StackWalk.cpp | 2 +- 12 mozglue/misc/StackWalk.cpp | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
14 14
15diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp 15diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp
16index 307715b170..a8d3cb40c0 100644 16index 18fd3464b0..d3d9208fdb 100644
17--- a/mozglue/misc/StackWalk.cpp 17--- a/mozglue/misc/StackWalk.cpp
18+++ b/mozglue/misc/StackWalk.cpp 18+++ b/mozglue/misc/StackWalk.cpp
19@@ -43,7 +43,7 @@ using namespace mozilla; 19@@ -50,7 +50,7 @@ using namespace mozilla;
20 # define MOZ_STACKWALK_SUPPORTS_MACOSX 0 20 # define HAVE___LIBC_STACK_END 0
21 #endif 21 #endif
22 22
23-#if (defined(linux) && \ 23-#if (defined(linux) && \
24+#if (defined(linux) && defined(__GLIBC__) && \ 24+#if (defined(linux) && defined(__GLIBC__) && \
25 ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \ 25 ((defined(__GNUC__) && (defined(__i386) || defined(PPC))) || \
26 defined(HAVE__UNWIND_BACKTRACE))) 26 defined(HAVE__UNWIND_BACKTRACE)) && \
27 # define MOZ_STACKWALK_SUPPORTS_LINUX 1 27 (HAVE___LIBC_STACK_END || ANDROID))
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch
new file mode 100644
index 0000000000..cb2dc66525
--- /dev/null
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/riscv.patch
@@ -0,0 +1,30 @@
1Recognise riscv64gc and riscv32gc as valid architectures
2
3Rust uses above for architecture in tuples
4
5Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
8+++ b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
9@@ -1327,6 +1327,10 @@ class LinuxCrossCompileToolchainTest(Bas
10 "mips-unknown-linux-gnu": big_endian + {"__mips__": 1},
11 "riscv32-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 32},
12 "riscv64-unknown-linux-gnu": little_endian + {"__riscv": 1, "__riscv_xlen": 64},
13+ "riscv32gc-unknown-linux-gnu": little_endian
14+ + {"__riscv": 1, "__riscv_xlen": 32},
15+ "riscv64gc-unknown-linux-gnu": little_endian
16+ + {"__riscv": 1, "__riscv_xlen": 64},
17 "sh4-unknown-linux-gnu": little_endian + {"__sh__": 1},
18 }
19
20--- a/build/autoconf/config.sub
21+++ b/build/autoconf/config.sub
22@@ -1236,7 +1236,7 @@ case $cpu-$vendor in
23 | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \
24 | pru \
25 | pyramid \
26- | riscv | riscv32 | riscv32be | riscv64 | riscv64be \
27+ | riscv | riscv32 | riscv32be | riscv32gc | riscv64 | riscv64be | riscv64gc \
28 | rl78 | romp | rs6000 | rx \
29 | s390 | s390x \
30 | score \
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115/riscv32.patch b/meta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patch
index 16f95659e2..67e23c5fcc 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115/riscv32.patch
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128/riscv32.patch
@@ -1,11 +1,10 @@
1From d6aff068170e56e6773feba42a463dd8c50bc4ff Mon Sep 17 00:00:00 2001 1From 0cc41bc953974d4852b263708bf8d12f823ca8ad Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 24 Oct 2021 22:32:50 -0700 3Date: Sun, 24 Oct 2021 22:32:50 -0700
4Subject: [PATCH] Add RISCV32 support 4Subject: [PATCH] Add RISCV32 support
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8
9--- 8---
10 build/moz.configure/init.configure | 3 +++ 9 build/moz.configure/init.configure | 3 +++
11 python/mozbuild/mozbuild/configure/constants.py | 2 ++ 10 python/mozbuild/mozbuild/configure/constants.py | 2 ++
@@ -13,10 +12,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 3 files changed, 6 insertions(+) 12 3 files changed, 6 insertions(+)
14 13
15diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure 14diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure
16index 53bbc4203f..2ac40d3d39 100644 15index 97b9bab167..d9a5a2035d 100644
17--- a/build/moz.configure/init.configure 16--- a/build/moz.configure/init.configure
18+++ b/build/moz.configure/init.configure 17+++ b/build/moz.configure/init.configure
19@@ -584,6 +584,9 @@ def split_triplet(triplet, allow_wasi=False): 18@@ -594,6 +594,9 @@ def split_triplet(triplet, allow_wasi=False):
20 elif cpu.startswith("aarch64"): 19 elif cpu.startswith("aarch64"):
21 canonical_cpu = "aarch64" 20 canonical_cpu = "aarch64"
22 endianness = "little" 21 endianness = "little"
@@ -27,10 +26,10 @@ index 53bbc4203f..2ac40d3d39 100644
27 canonical_cpu = "riscv64" 26 canonical_cpu = "riscv64"
28 endianness = "little" 27 endianness = "little"
29diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py 28diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py
30index a36152651d..a6050be5d8 100644 29index 25f43bb9f8..3335e69405 100644
31--- a/python/mozbuild/mozbuild/configure/constants.py 30--- a/python/mozbuild/mozbuild/configure/constants.py
32+++ b/python/mozbuild/mozbuild/configure/constants.py 31+++ b/python/mozbuild/mozbuild/configure/constants.py
33@@ -51,6 +51,7 @@ CPU_bitness = { 32@@ -73,6 +73,7 @@ CPU_bitness = {
34 "mips64": 64, 33 "mips64": 64,
35 "ppc": 32, 34 "ppc": 32,
36 "ppc64": 64, 35 "ppc64": 64,
@@ -38,7 +37,7 @@ index a36152651d..a6050be5d8 100644
38 "riscv64": 64, 37 "riscv64": 64,
39 "s390": 32, 38 "s390": 32,
40 "s390x": 64, 39 "s390x": 64,
41@@ -98,6 +99,7 @@ CPU_preprocessor_checks = OrderedDict( 40@@ -129,6 +130,7 @@ CPU_preprocessor_checks = OrderedDict(
42 ("m68k", "__m68k__"), 41 ("m68k", "__m68k__"),
43 ("mips64", "__mips64"), 42 ("mips64", "__mips64"),
44 ("mips32", "__mips__"), 43 ("mips32", "__mips__"),
@@ -47,7 +46,7 @@ index a36152651d..a6050be5d8 100644
47 ("loongarch64", "__loongarch64"), 46 ("loongarch64", "__loongarch64"),
48 ("sh4", "__sh__"), 47 ("sh4", "__sh__"),
49diff --git a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py 48diff --git a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
50index c6af3d99d4..7ef02e1a85 100644 49index d438b68eb8..1be0d02e54 100644
51--- a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py 50--- a/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
52+++ b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py 51+++ b/python/mozbuild/mozbuild/test/configure/test_toolchain_configure.py
53@@ -1325,6 +1325,7 @@ class LinuxCrossCompileToolchainTest(BaseToolchainTest): 52@@ -1325,6 +1325,7 @@ class LinuxCrossCompileToolchainTest(BaseToolchainTest):
diff --git a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb
index b088286023..ceb81d07e5 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.11.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb
@@ -8,22 +8,25 @@ SRC_URI = "https://archive.mozilla.org/pub/firefox/releases/${PV}esr/source/fire
8 file://0002-moz.configure-do-not-look-for-llvm-objdump.patch \ 8 file://0002-moz.configure-do-not-look-for-llvm-objdump.patch \
9 file://0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch \ 9 file://0003-rust.configure-do-not-try-to-find-a-suitable-upstrea.patch \
10 file://0004-use-asm-sgidefs.h.patch \ 10 file://0004-use-asm-sgidefs.h.patch \
11 file://fix-musl-build.patch \
12 file://0001-build-do-not-use-autoconf-s-config.sub-to-canonicali.patch \
13 file://riscv32.patch \ 11 file://riscv32.patch \
14 file://0001-util.configure-fix-one-occasionally-reproduced-confi.patch \ 12 file://0001-util.configure-fix-one-occasionally-reproduced-confi.patch \
15 file://0001-rewrite-cargo-host-linker-in-python3.patch \ 13 file://0001-rewrite-cargo-host-linker-in-python3.patch \
16 file://musl-disable-stackwalk.patch \ 14 file://musl-disable-stackwalk.patch \
17 file://0001-add-arm-to-list-of-mozinline.patch \ 15 file://0001-add-arm-to-list-of-mozinline.patch \
18 file://armv5.patch \ 16 file://armv5.patch \
17 file://0001-Link-with-icu-uc-to-fix-build-with-ICU-76.patch \
18 file://riscv.patch \
19 " 19 "
20SRC_URI[sha256sum] = "16be46f16a356a2b8bd3541805a24c8a2acf6f077cf8a65859689685c26025e0" 20SRC_URI[sha256sum] = "25d633eb81499cbda44b8c64fa1c1a5879d55024b864ef495d4997154d68358f"
21 21
22S = "${WORKDIR}/firefox-${PV}" 22UPSTREAM_CHECK_URI = "https://tracker.debian.org/pkg/mozjs128"
23UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
23 24
24inherit pkgconfig perlnative python3native rust 25S = "${UNPACKDIR}/firefox-${PV}"
25 26
26DEPENDS += "zlib cargo-native python3 icu" 27inherit pkgconfig perlnative python3native rust cargo
28
29DEPENDS += "zlib cbindgen-native python3 icu"
27DEPENDS:remove:mipsarch = "icu" 30DEPENDS:remove:mipsarch = "icu"
28DEPENDS:remove:powerpc:toolchain-clang = "icu" 31DEPENDS:remove:powerpc:toolchain-clang = "icu"
29 32
@@ -54,6 +57,7 @@ export HOST_CXXFLAGS = "${BUILD_CXXFLAGS}"
54 57
55export AS = "${CC}" 58export AS = "${CC}"
56 59
60export MOZBUILD_STATE_PATH = "${WORKDIR}/mozbuild_state"
57export RUSTFLAGS 61export RUSTFLAGS
58 62
59JIT ?= "" 63JIT ?= ""
@@ -62,6 +66,8 @@ ICU ?= "--with-system-icu"
62ICU:mipsarch = "" 66ICU:mipsarch = ""
63ICU:powerpc:toolchain-clang = "" 67ICU:powerpc:toolchain-clang = ""
64 68
69LDFLAGS:append:riscv32 = " -latomic"
70
65do_configure() { 71do_configure() {
66 cd ${B} 72 cd ${B}
67 python3 ${S}/configure.py \ 73 python3 ${S}/configure.py \
@@ -77,6 +83,13 @@ do_configure() {
77} 83}
78do_configure[cleandirs] += "${B}" 84do_configure[cleandirs] += "${B}"
79 85
86# The main build system is a Makefile that call cargo downstream.
87# We inherit cargo to get the environnement but need to switch back to
88# base_do_compile to do the Makefile base compilation.
89do_compile() {
90 base_do_compile
91}
92
80do_install() { 93do_install() {
81 oe_runmake 'DESTDIR=${D}' install 94 oe_runmake 'DESTDIR=${D}' install
82} 95}
@@ -93,6 +106,7 @@ do_install:append() {
93 rm -f ${D}${libdir}/libjs_static.ajs 106 rm -f ${D}${libdir}/libjs_static.ajs
94} 107}
95 108
109INSANE_SKIP += "32bit-time"
96PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" 110PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
97PACKAGES =+ "lib${BPN}" 111PACKAGES =+ "lib${BPN}"
98FILES:lib${BPN} += "${libdir}/lib*" 112FILES:lib${BPN} += "${libdir}/lib*"
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb
index 4d3baf6caa..b53be9803e 100644
--- a/meta-oe/recipes-extended/mraa/mraa_git.bb
+++ b/meta-oe/recipes-extended/mraa/mraa_git.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/eclipse/${BPN}.git;protocol=https;branch=master \
14 file://0002-gpio-Include-limits.h-for-PATH_MAX.patch \ 14 file://0002-gpio-Include-limits.h-for-PATH_MAX.patch \
15 " 15 "
16 16
17S = "${WORKDIR}/git"
18 17
19# CMakeLists.txt checks the architecture, only x86 and ARM supported for now 18# CMakeLists.txt checks the architecture, only x86 and ARM supported for now
20COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" 19COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
@@ -41,11 +40,11 @@ FILES:${PN}-utils = "${bindir}/"
41# will result in only the python bindings being built/packaged. 40# will result in only the python bindings being built/packaged.
42# Note: 'nodejs' is disabled by default because the bindings 41# Note: 'nodejs' is disabled by default because the bindings
43# generation currently fails with nodejs (>v7.x). 42# generation currently fails with nodejs (>v7.x).
44BINDINGS ??= "python" 43BINDINGS ??= ""
45 44
46# nodejs isn't available for armv4/armv5 architectures 45# nodejs isn't available for armv4/armv5 architectures
47BINDINGS:armv4 ??= "python" 46BINDINGS:armv4 ??= ""
48BINDINGS:armv5 ??= "python" 47BINDINGS:armv5 ??= ""
49 48
50PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ 49PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \
51 ${@bb.utils.contains('PACKAGES', 'python3-${PN}', 'python', '', d)}" 50 ${@bb.utils.contains('PACKAGES', 'python3-${PN}', 'python', '', d)}"
diff --git a/meta-oe/recipes-extended/nana/nana_git.bb b/meta-oe/recipes-extended/nana/nana_git.bb
index d292bb8827..bad5a797a7 100644
--- a/meta-oe/recipes-extended/nana/nana_git.bb
+++ b/meta-oe/recipes-extended/nana/nana_git.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/pjmaker/nana;protocol=https;branch=master \
10 file://0001-Makefile.am-fix-build-with-separate-build-dir.patch \ 10 file://0001-Makefile.am-fix-build-with-separate-build-dir.patch \
11 file://0002-man-Makefile.am-we-seem-not-to-need-the-work-around-.patch \ 11 file://0002-man-Makefile.am-we-seem-not-to-need-the-work-around-.patch \
12" 12"
13S = "${WORKDIR}/git"
14 13
15LICENSE = "BSD-2-Clause" 14LICENSE = "BSD-2-Clause"
16 15
diff --git a/meta-oe/recipes-extended/networking/mstpd_git.bb b/meta-oe/recipes-extended/networking/mstpd_git.bb
index e6e1f9a3b2..b003b52d25 100644
--- a/meta-oe/recipes-extended/networking/mstpd_git.bb
+++ b/meta-oe/recipes-extended/networking/mstpd_git.bb
@@ -9,7 +9,6 @@ SRC_URI = " \
9 file://mstpd.service \ 9 file://mstpd.service \
10" 10"
11SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c" 11SRCREV = "181c453fc1a00573e19f14960dcc54ad84beea7c"
12S = "${WORKDIR}/git"
13 12
14UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+){2,})" 13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+){2,})"
15 14
diff --git a/meta-oe/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch b/meta-oe/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch
deleted file mode 100644
index 090ed5c1c9..0000000000
--- a/meta-oe/recipes-extended/newt/files/0001-detect-gold-as-GNU-linker-too.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 08ba909500412611953aea0fa2fe0d8fe76b6e24 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Wed, 21 Sep 2016 21:14:40 +0200
4Subject: [PATCH] detect gold as GNU linker too
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Pending
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12
13---
14 configure.ac | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/configure.ac b/configure.ac
18index 468c718..cd93f30 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -28,7 +28,7 @@ AC_CHECK_SIZEOF([void *])
22 AC_MSG_CHECKING([for GNU ld])
23 LD=$($CC -print-prog-name=ld 2>&5)
24
25-if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ld") = 0; then
26+if test $($LD -v 2>&1 | $ac_cv_path_GREP -c "GNU ") = 0; then
27 # Not
28 GNU_LD=""
29 AC_MSG_RESULT([no])
diff --git a/meta-oe/recipes-extended/newt/files/cross_ar.patch b/meta-oe/recipes-extended/newt/files/cross_ar.patch
index 86cc0be1d3..eb8c4134b2 100644
--- a/meta-oe/recipes-extended/newt/files/cross_ar.patch
+++ b/meta-oe/recipes-extended/newt/files/cross_ar.patch
@@ -1,4 +1,7 @@
1Fix cross link using autoconf detected AR 1From 0f33421000006f5991d1cddcb9dbc68b64141e44 Mon Sep 17 00:00:00 2001
2From: Jason Wessel <jason.wessel@windriver.com>
3Date: Wed, 19 Jun 2024 11:22:48 +0200
4Subject: [PATCH] Fix cross link using autoconf detected AR
2 5
3If building on 32bit host and creating 64bit libraries, the target 6If building on 32bit host and creating 64bit libraries, the target
4package builds should not invoke the 32bit hosts's ar. Specifically 7package builds should not invoke the 32bit hosts's ar. Specifically
@@ -18,10 +21,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
18 configure.ac | 4 ++++ 21 configure.ac | 4 ++++
19 2 files changed, 6 insertions(+), 1 deletion(-) 22 2 files changed, 6 insertions(+), 1 deletion(-)
20 23
21Index: newt-0.52.20/Makefile.in 24diff --git a/Makefile.in b/Makefile.in
22=================================================================== 25index f8fe290..8a44a56 100644
23--- newt-0.52.20.orig/Makefile.in 26--- a/Makefile.in
24+++ newt-0.52.20/Makefile.in 27+++ b/Makefile.in
25@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@ 28@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@
26 LDFLAGS = @LDFLAGS@ 29 LDFLAGS = @LDFLAGS@
27 CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ 30 CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
@@ -30,7 +33,7 @@ Index: newt-0.52.20/Makefile.in
30 33
31 VERSION = @VERSION@ 34 VERSION = @VERSION@
32 TAG = r$(subst .,-,$(VERSION)) 35 TAG = r$(subst .,-,$(VERSION))
33@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNE 36@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
34 $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS) 37 $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS)
35 38
36 $(LIBNEWT): $(LIBOBJS) 39 $(LIBNEWT): $(LIBOBJS)
@@ -39,11 +42,11 @@ Index: newt-0.52.20/Makefile.in
39 42
40 newt.o $(SHAREDDIR)/newt.o: newt.c Makefile 43 newt.o $(SHAREDDIR)/newt.o: newt.c Makefile
41 44
42Index: newt-0.52.20/configure.ac 45diff --git a/configure.ac b/configure.ac
43=================================================================== 46index 434121e..2cfffd6 100644
44--- newt-0.52.20.orig/configure.ac 47--- a/configure.ac
45+++ newt-0.52.20/configure.ac 48+++ b/configure.ac
46@@ -15,6 +15,10 @@ AC_PROG_INSTALL 49@@ -15,6 +15,10 @@ AC_PROG_CC
47 AC_PROG_LN_S 50 AC_PROG_LN_S
48 AC_PROG_GREP 51 AC_PROG_GREP
49 AC_SYS_LARGEFILE 52 AC_SYS_LARGEFILE
diff --git a/meta-oe/recipes-extended/newt/libnewt_0.52.24.bb b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
index 1e39a1c5ca..18a45a3342 100644
--- a/meta-oe/recipes-extended/newt/libnewt_0.52.24.bb
+++ b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
@@ -20,12 +20,11 @@ DEPENDS = "slang popt python3"
20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \ 20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \
21 file://cross_ar.patch \ 21 file://cross_ar.patch \
22 file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \ 22 file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \
23 file://0001-detect-gold-as-GNU-linker-too.patch \
24 " 23 "
25 24
26SRC_URI[sha256sum] = "5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb" 25SRC_URI[sha256sum] = "ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82"
27 26
28S = "${WORKDIR}/newt-${PV}" 27S = "${UNPACKDIR}/newt-${PV}"
29 28
30inherit autotools-brokensep python3native python3-dir python3targetconfig 29inherit autotools-brokensep python3native python3-dir python3targetconfig
31 30
diff --git a/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb b/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
index bf742fa062..d5629b06e5 100644
--- a/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
+++ b/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4a94da2a1f918b217ef5156634fc9e0"
8SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
9 file://0001-nicstat.c-Do-not-define-uint64_t-and-uint32_t.patch \ 9 file://0001-nicstat.c-Do-not-define-uint64_t-and-uint32_t.patch \
10 " 10 "
11SRC_URI[md5sum] = "9a0b87bbc670c1e738e5b40c7afd184d"
12SRC_URI[sha256sum] = "c4cc33f8838f4523f27c3d7584eedbe59f4c587f0821612f5ac2201adc18b367" 11SRC_URI[sha256sum] = "c4cc33f8838f4523f27c3d7584eedbe59f4c587f0821612f5ac2201adc18b367"
13 12
14do_compile() { 13do_compile() {
diff --git a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
deleted file mode 100644
index df43d25ac3..0000000000
--- a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Set of CLI tools for Openlmi providers"
2DESCRIPTION = "openlmi-tools is a set of command line tools for Openlmi providers."
3HOMEPAGE = "http://www.openlmi.org/"
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://../COPYING;md5=75859989545e37968a99b631ef42722e"
6SECTION = "System/Management"
7
8inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "setuptools", "", d)}
9
10SKIP_RECIPE[openlmi-tools] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
11
12DEPENDS = "python-native python-pywbem-native python-m2crypto python-pywbem"
13
14SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \
15 "
16SRC_URI[md5sum] = "e156246cb7b49753db82f4ddf7f03e50"
17SRC_URI[sha256sum] = "292b8f5f2250655a4add8183c529b73358bc980bd4f23cfa484a940953fce9e4"
18
19S = "${WORKDIR}/${BP}/cli"
20
21do_configure:prepend() {
22 sed 's/@@VERSION@@/$(VERSION)/g' ${S}/setup.py.skel > ${S}/setup.py
23}
24
25python() {
26 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
27 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
28}
diff --git a/meta-oe/recipes-extended/openwsman/openwsman_2.7.2.bb b/meta-oe/recipes-extended/openwsman/openwsman_2.7.2.bb
index 5437ea13e8..970d7fb5fc 100644
--- a/meta-oe/recipes-extended/openwsman/openwsman_2.7.2.bb
+++ b/meta-oe/recipes-extended/openwsman/openwsman_2.7.2.bb
@@ -24,7 +24,6 @@ SRC_URI = "git://github.com/Openwsman/openwsman.git;branch=main;protocol=https \
24 file://0001-Link-with-libm-for-floor-function.patch \ 24 file://0001-Link-with-libm-for-floor-function.patch \
25 " 25 "
26 26
27S = "${WORKDIR}/git"
28 27
29LICENSE = "BSD-3-Clause" 28LICENSE = "BSD-3-Clause"
30LIC_FILES_CHKSUM = "file://COPYING;md5=d4f53d4c6cf73b9d43186ce3be6dd0ba" 29LIC_FILES_CHKSUM = "file://COPYING;md5=d4f53d4c6cf73b9d43186ce3be6dd0ba"
@@ -34,8 +33,6 @@ inherit systemd cmake pkgconfig python3native perlnative
34SYSTEMD_SERVICE:${PN} = "openwsmand.service" 33SYSTEMD_SERVICE:${PN} = "openwsmand.service"
35SYSTEMD_AUTO_ENABLE = "disable" 34SYSTEMD_AUTO_ENABLE = "disable"
36 35
37LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd ", '', d)}"
38
39EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \ 36EXTRA_OECMAKE = "-DBUILD_BINDINGS=NO \
40 -DBUILD_LIBCIM=NO \ 37 -DBUILD_LIBCIM=NO \
41 -DBUILD_PERL=YES \ 38 -DBUILD_PERL=YES \
diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.6.bb b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb
index 7f30dbfc5a..c33624987a 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2024.6.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb
@@ -22,9 +22,9 @@ GITHUB_BASE_URI = "https://github.com/ostreedev/ostree/releases"
22SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libostree-${PV}.tar.xz \ 22SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libostree-${PV}.tar.xz \
23 file://run-ptest \ 23 file://run-ptest \
24 " 24 "
25SRC_URI[sha256sum] = "8b61c856697aa412f2f1724322ada40bdd7b1bf9e7783e2c594faa7a594f868f" 25SRC_URI[sha256sum] = "54e3387dee1ff16031a0679aca2b60da90ab7f4a26c211822333c7f23000abee"
26 26
27S = "${WORKDIR}/libostree-${PV}" 27S = "${UNPACKDIR}/libostree-${PV}"
28 28
29inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd 29inherit autotools bash-completion gobject-introspection github-releases gtk-doc manpages pkgconfig ptest-gnome systemd
30 30
@@ -45,7 +45,7 @@ BUILD_OPTIMIZATION:append = " -O2"
45PACKAGECONFIG ??= " \ 45PACKAGECONFIG ??= " \
46 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ 46 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \
47 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ 47 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'soup3', '', d)} \ 48 ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'soup3 static', '', d)} \
49 glib \ 49 glib \
50 gpgme \ 50 gpgme \
51 curl \ 51 curl \
diff --git a/meta-oe/recipes-extended/p7zip/files/0001-Fix-narrowing-errors-Wc-11-narrowing.patch b/meta-oe/recipes-extended/p7zip/files/0001-Fix-narrowing-errors-Wc-11-narrowing.patch
deleted file mode 100644
index 1f08d1603a..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/0001-Fix-narrowing-errors-Wc-11-narrowing.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From 653674e11872465dd5edf1c1e8413ea813d7e086 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 23 Apr 2018 23:07:21 -0700
4Subject: [PATCH] Fix narrowing errors -Wc++11-narrowing
5
6Clang 6.x finds these errors
7
8 ../../../../CPP/Windows/ErrorMsg.cpp:24:10: error: case value evaluates to -2147024809, which cannot be narrowed to type 'DWORD' (aka 'unsigned int') [-Wc++11-narrowing]
9 case E_INVALIDARG : txt = "E_INVALIDARG"; break ;
10 ^
11
12HRESULT causes the macro to be parsed as a signed long, so we need to force it
13to be checked as an unsigned long instead.
14
15also reported here https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224930
16
17Upstream-Status: Pending
18
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20
21---
22 CPP/Windows/ErrorMsg.cpp | 14 +++++++-------
23 1 file changed, 7 insertions(+), 7 deletions(-)
24
25diff --git a/CPP/Windows/ErrorMsg.cpp b/CPP/Windows/ErrorMsg.cpp
26index 99684ae..78a64ba 100644
27--- a/CPP/Windows/ErrorMsg.cpp
28+++ b/CPP/Windows/ErrorMsg.cpp
29@@ -15,13 +15,13 @@ UString MyFormatMessage(DWORD errorCode)
30
31 switch(errorCode) {
32 case ERROR_NO_MORE_FILES : txt = "No more files"; break ;
33- case E_NOTIMPL : txt = "E_NOTIMPL"; break ;
34- case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
35- case E_ABORT : txt = "E_ABORT"; break ;
36- case E_FAIL : txt = "E_FAIL"; break ;
37- case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ;
38- case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ;
39- case E_INVALIDARG : txt = "E_INVALIDARG"; break ;
40+ case (DWORD) E_NOTIMPL : txt = "E_NOTIMPL"; break ;
41+ case (DWORD) E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
42+ case (DWORD) E_ABORT : txt = "E_ABORT"; break ;
43+ case (DWORD) E_FAIL : txt = "E_FAIL"; break ;
44+ case (DWORD) STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ;
45+ case (DWORD) E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ;
46+ case (DWORD) E_INVALIDARG : txt = "E_INVALIDARG"; break ;
47 case ERROR_DIRECTORY : txt = "Error Directory"; break ;
48 default:
49 txt = strerror(errorCode);
diff --git a/meta-oe/recipes-extended/p7zip/files/CVE-2016-9296.patch b/meta-oe/recipes-extended/p7zip/files/CVE-2016-9296.patch
deleted file mode 100644
index 98e186cbf0..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/CVE-2016-9296.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1p7zip: Update CVE-2016-9296 patch URL.
2From: Robert Luberda <robert@debian.org>
3Date: Sat, 19 Nov 2016 08:48:08 +0100
4Subject: Fix nullptr dereference (CVE-2016-9296)
5
6Patch taken from https://sourceforge.net/p/p7zip/bugs/185/
7This patch file taken from Debian's patch set for p7zip
8
9Upstream-Status: Backport [https://sourceforge.net/p/p7zip/bugs/185/]
10CVE: CVE-2016-9296
11
12Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com>
13
14Index: p7zip_16.02/CPP/7zip/Archive/7z/7zIn.cpp
15===================================================================
16--- p7zip_16.02.orig/CPP/7zip/Archive/7z/7zIn.cpp
17+++ p7zip_16.02/CPP/7zip/Archive/7z/7zIn.cpp
18@@ -1097,7 +1097,8 @@ HRESULT CInArchive::ReadAndDecodePackedS
19 if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i])
20 ThrowIncorrect();
21 }
22- HeadersSize += folders.PackPositions[folders.NumPackStreams];
23+ if (folders.PackPositions)
24+ HeadersSize += folders.PackPositions[folders.NumPackStreams];
25 return S_OK;
26 }
27
diff --git a/meta-oe/recipes-extended/p7zip/files/CVE-2017-17969.patch b/meta-oe/recipes-extended/p7zip/files/CVE-2017-17969.patch
deleted file mode 100644
index 9ba1078071..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/CVE-2017-17969.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 7f2da4f810b429ddb7afa0e252e3d02ced0eba87 Mon Sep 17 00:00:00 2001
2From: Radovan Scasny <radovan.scasny@siemens.com>
3Date: Tue, 20 Feb 2018 12:08:13 +0100
4Subject: [PATCH] p7zip: Fix CVE-2017-17969
5
6[No upstream tracking] -- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888297
7
8Heap-based buffer overflow in 7zip
9
10Compress/ShrinkDecoder.cpp: Heap-based buffer overflow
11in the NCompress::NShrink::CDecoder::CodeReal method
12in 7-Zip before 18.00 and p7zip allows remote attackers
13to cause a denial of service (out-of-bounds write)
14or potentially execute arbitrary code via a crafted ZIP archive.
15
16Upstream-Status: Backport [https://sourceforge.net/p/p7zip/bugs/_discuss/thread/0920f369/8316/attachment/CVE-2017-17969.patch]
17CVE: CVE-2017-17969
18Signed-off-by: Radovan Scasny <radovan.scasny@siemens.com>
19
20---
21 CPP/7zip/Compress/ShrinkDecoder.cpp | 5 +++++
22 1 file changed, 5 insertions(+)
23
24diff --git a/CPP/7zip/Compress/ShrinkDecoder.cpp b/CPP/7zip/Compress/ShrinkDecoder.cpp
25index 80b7e67..5bb0559 100644
26--- a/CPP/7zip/Compress/ShrinkDecoder.cpp
27+++ b/CPP/7zip/Compress/ShrinkDecoder.cpp
28@@ -121,7 +121,12 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
29 {
30 _stack[i++] = _suffixes[cur];
31 cur = _parents[cur];
32+ if (cur >= kNumItems || i >= kNumItems)
33+ break;
34 }
35+
36+ if (cur >= kNumItems || i >= kNumItems)
37+ break;
38
39 _stack[i++] = (Byte)cur;
40 lastChar2 = (Byte)cur;
diff --git a/meta-oe/recipes-extended/p7zip/files/CVE-2018-5996.patch b/meta-oe/recipes-extended/p7zip/files/CVE-2018-5996.patch
deleted file mode 100644
index 47868c982e..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/CVE-2018-5996.patch
+++ /dev/null
@@ -1,227 +0,0 @@
1From: Robert Luberda <robert@debian.org>
2Date: Sun, 28 Jan 2018 23:47:40 +0100
3Subject: CVE-2018-5996
4
5Hopefully fix Memory Corruptions via RAR PPMd (CVE-2018-5996) by
6applying a few changes from 7Zip 18.00-beta.
7
8Bug-Debian: https://bugs.debian.org/#888314
9
10Upstream-Status: Backport [https://sources.debian.org/data/non-free/p/p7zip-rar/16.02-3/debian/patches/06-CVE-2018-5996.patch]
11CVE: CVE-2018-5996
12
13Signed-off-by: Virendra Thakur <virendra.thakur@kpit.com>
14---
15 CPP/7zip/Compress/Rar1Decoder.cpp | 13 +++++++++----
16 CPP/7zip/Compress/Rar1Decoder.h | 1 +
17 CPP/7zip/Compress/Rar2Decoder.cpp | 10 +++++++++-
18 CPP/7zip/Compress/Rar2Decoder.h | 1 +
19 CPP/7zip/Compress/Rar3Decoder.cpp | 23 ++++++++++++++++++++---
20 CPP/7zip/Compress/Rar3Decoder.h | 2 ++
21 6 files changed, 42 insertions(+), 8 deletions(-)
22
23diff --git a/CPP/7zip/Compress/Rar1Decoder.cpp b/CPP/7zip/Compress/Rar1Decoder.cpp
24index 1aaedcc..68030c7 100644
25--- a/CPP/7zip/Compress/Rar1Decoder.cpp
26+++ b/CPP/7zip/Compress/Rar1Decoder.cpp
27@@ -29,7 +29,7 @@ public:
28 };
29 */
30
31-CDecoder::CDecoder(): m_IsSolid(false) { }
32+CDecoder::CDecoder(): m_IsSolid(false), _errorMode(false) { }
33
34 void CDecoder::InitStructures()
35 {
36@@ -406,9 +406,14 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
37 InitData();
38 if (!m_IsSolid)
39 {
40+ _errorMode = false;
41 InitStructures();
42 InitHuff();
43 }
44+
45+ if (_errorMode)
46+ return S_FALSE;
47+
48 if (m_UnpackSize > 0)
49 {
50 GetFlagsBuf();
51@@ -477,9 +482,9 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream
52 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress)
53 {
54 try { return CodeReal(inStream, outStream, inSize, outSize, progress); }
55- catch(const CInBufferException &e) { return e.ErrorCode; }
56- catch(const CLzOutWindowException &e) { return e.ErrorCode; }
57- catch(...) { return S_FALSE; }
58+ catch(const CInBufferException &e) { _errorMode = true; return e.ErrorCode; }
59+ catch(const CLzOutWindowException &e) { _errorMode = true; return e.ErrorCode; }
60+ catch(...) { _errorMode = true; return S_FALSE; }
61 }
62
63 STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *data, UInt32 size)
64diff --git a/CPP/7zip/Compress/Rar1Decoder.h b/CPP/7zip/Compress/Rar1Decoder.h
65index 630f089..01b606b 100644
66--- a/CPP/7zip/Compress/Rar1Decoder.h
67+++ b/CPP/7zip/Compress/Rar1Decoder.h
68@@ -39,6 +39,7 @@ public:
69
70 Int64 m_UnpackSize;
71 bool m_IsSolid;
72+ bool _errorMode;
73
74 UInt32 ReadBits(int numBits);
75 HRESULT CopyBlock(UInt32 distance, UInt32 len);
76diff --git a/CPP/7zip/Compress/Rar2Decoder.cpp b/CPP/7zip/Compress/Rar2Decoder.cpp
77index b3f2b4b..0580c8d 100644
78--- a/CPP/7zip/Compress/Rar2Decoder.cpp
79+++ b/CPP/7zip/Compress/Rar2Decoder.cpp
80@@ -80,7 +80,8 @@ static const UInt32 kHistorySize = 1 << 20;
81 static const UInt32 kWindowReservSize = (1 << 22) + 256;
82
83 CDecoder::CDecoder():
84- m_IsSolid(false)
85+ m_IsSolid(false),
86+ m_TablesOK(false)
87 {
88 }
89
90@@ -100,6 +101,8 @@ UInt32 CDecoder::ReadBits(unsigned numBits) { return m_InBitStream.ReadBits(numB
91
92 bool CDecoder::ReadTables(void)
93 {
94+ m_TablesOK = false;
95+
96 Byte levelLevels[kLevelTableSize];
97 Byte newLevels[kMaxTableSize];
98 m_AudioMode = (ReadBits(1) == 1);
99@@ -170,6 +173,8 @@ bool CDecoder::ReadTables(void)
100 }
101
102 memcpy(m_LastLevels, newLevels, kMaxTableSize);
103+ m_TablesOK = true;
104+
105 return true;
106 }
107
108@@ -344,6 +349,9 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream *
109 return S_FALSE;
110 }
111
112+ if (!m_TablesOK)
113+ return S_FALSE;
114+
115 UInt64 startPos = m_OutWindowStream.GetProcessedSize();
116 while (pos < unPackSize)
117 {
118diff --git a/CPP/7zip/Compress/Rar2Decoder.h b/CPP/7zip/Compress/Rar2Decoder.h
119index 3a0535c..0e9005f 100644
120--- a/CPP/7zip/Compress/Rar2Decoder.h
121+++ b/CPP/7zip/Compress/Rar2Decoder.h
122@@ -139,6 +139,7 @@ class CDecoder :
123
124 UInt64 m_PackSize;
125 bool m_IsSolid;
126+ bool m_TablesOK;
127
128 void InitStructures();
129 UInt32 ReadBits(unsigned numBits);
130diff --git a/CPP/7zip/Compress/Rar3Decoder.cpp b/CPP/7zip/Compress/Rar3Decoder.cpp
131index 3bf2513..6cb8a6a 100644
132--- a/CPP/7zip/Compress/Rar3Decoder.cpp
133+++ b/CPP/7zip/Compress/Rar3Decoder.cpp
134@@ -92,7 +92,8 @@ CDecoder::CDecoder():
135 _writtenFileSize(0),
136 _vmData(0),
137 _vmCode(0),
138- m_IsSolid(false)
139+ m_IsSolid(false),
140+ _errorMode(false)
141 {
142 Ppmd7_Construct(&_ppmd);
143 }
144@@ -545,6 +546,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing)
145 return InitPPM();
146 }
147
148+ TablesRead = false;
149+ TablesOK = false;
150+
151 _lzMode = true;
152 PrevAlignBits = 0;
153 PrevAlignCount = 0;
154@@ -606,6 +610,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing)
155 }
156 }
157 }
158+ if (InputEofError())
159+ return S_FALSE;
160+
161 TablesRead = true;
162
163 // original code has check here:
164@@ -623,6 +630,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing)
165 RIF(m_LenDecoder.Build(&newLevels[kMainTableSize + kDistTableSize + kAlignTableSize]));
166
167 memcpy(m_LastLevels, newLevels, kTablesSizesSum);
168+
169+ TablesOK = true;
170+
171 return S_OK;
172 }
173
174@@ -824,7 +834,12 @@ HRESULT CDecoder::CodeReal(ICompressProgressInfo *progress)
175 PpmEscChar = 2;
176 PpmError = true;
177 InitFilters();
178+ _errorMode = false;
179 }
180+
181+ if (_errorMode)
182+ return S_FALSE;
183+
184 if (!m_IsSolid || !TablesRead)
185 {
186 bool keepDecompressing;
187@@ -838,6 +853,8 @@ HRESULT CDecoder::CodeReal(ICompressProgressInfo *progress)
188 bool keepDecompressing;
189 if (_lzMode)
190 {
191+ if (!TablesOK)
192+ return S_FALSE;
193 RINOK(DecodeLZ(keepDecompressing))
194 }
195 else
196@@ -901,8 +918,8 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream
197 _unpackSize = outSize ? *outSize : (UInt64)(Int64)-1;
198 return CodeReal(progress);
199 }
200- catch(const CInBufferException &e) { return e.ErrorCode; }
201- catch(...) { return S_FALSE; }
202+ catch(const CInBufferException &e) { _errorMode = true; return e.ErrorCode; }
203+ catch(...) { _errorMode = true; return S_FALSE; }
204 // CNewException is possible here. But probably CNewException is caused
205 // by error in data stream.
206 }
207diff --git a/CPP/7zip/Compress/Rar3Decoder.h b/CPP/7zip/Compress/Rar3Decoder.h
208index c130cec..2f72d7d 100644
209--- a/CPP/7zip/Compress/Rar3Decoder.h
210+++ b/CPP/7zip/Compress/Rar3Decoder.h
211@@ -192,6 +192,7 @@ class CDecoder:
212 UInt32 _lastFilter;
213
214 bool m_IsSolid;
215+ bool _errorMode;
216
217 bool _lzMode;
218 bool _unsupportedFilter;
219@@ -200,6 +201,7 @@ class CDecoder:
220 UInt32 PrevAlignCount;
221
222 bool TablesRead;
223+ bool TablesOK;
224
225 CPpmd7 _ppmd;
226 int PpmEscChar;
227
diff --git a/meta-oe/recipes-extended/p7zip/files/change_numMethods_from_bool_to_unsigned.patch b/meta-oe/recipes-extended/p7zip/files/change_numMethods_from_bool_to_unsigned.patch
deleted file mode 100644
index 93eb0588c0..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/change_numMethods_from_bool_to_unsigned.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 0820ef4b9238c1e39ae5bda32cc08cce3fd3ce89 Mon Sep 17 00:00:00 2001
2From: Nisha Parrakat <Nisha.Parrakat@kpit.com>
3Date: Wed, 26 May 2021 19:59:28 +0000
4Subject: [PATCH] fixes the below error
5
6| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp: In member function 'virtual LONG NArchive::NWim::CHandler::GetArchiveProperty(PROPID, PROPVARIANT*)':
7| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:308:11: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
8| 308 | numMethods++;
9| | ^~~~~~~~~~
10| ../../../../CPP/7zip/Archive/Wim/WimHandler.cpp:318:9: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
11| 318 | numMethods++;
12
13use unsigned instead of bool
14Signed-off-by: Nisha Parrakat <Nisha.Parrakat@kpit.com>
15
16Upstream-Status: Pending
17
18---
19 CPP/7zip/Archive/Wim/WimHandler.cpp | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/CPP/7zip/Archive/Wim/WimHandler.cpp b/CPP/7zip/Archive/Wim/WimHandler.cpp
23index 27d3298..4ff5cfe 100644
24--- a/CPP/7zip/Archive/Wim/WimHandler.cpp
25+++ b/CPP/7zip/Archive/Wim/WimHandler.cpp
26@@ -298,7 +298,7 @@ STDMETHODIMP CHandler::GetArchiveProperty(PROPID propID, PROPVARIANT *value)
27
28 AString res;
29
30- bool numMethods = 0;
31+ unsigned numMethods = 0;
32 for (unsigned i = 0; i < ARRAY_SIZE(k_Methods); i++)
33 {
34 if (methodMask & ((UInt32)1 << i))
diff --git a/meta-oe/recipes-extended/p7zip/files/do_not_override_compiler_and_do_not_strip.patch b/meta-oe/recipes-extended/p7zip/files/do_not_override_compiler_and_do_not_strip.patch
deleted file mode 100644
index 2636e7f6f4..0000000000
--- a/meta-oe/recipes-extended/p7zip/files/do_not_override_compiler_and_do_not_strip.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From b2aa209dfc5e59d6329b55b9764782334b63dbe8 Mon Sep 17 00:00:00 2001
2From: Raphael Freudiger <raphael.freudiger@siemens.com>
3Date: Wed, 11 Feb 2015 09:11:47 +0100
4Subject: [PATCH] do not override compiler and do not strip
5
6The default makefile sets the compiler to g++ or gcc. This leads to a wrong architecture when cross-compiling.
7Remove the hardcoded compiler and just append the flags to CXX and CC.
8
9Upstream-Status: Pending
10Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com>
11Reviewed-By: Pascal Bach <pascal.bach@siemens.com>
12
13---
14 makefile.machine | 4 +---
15 1 file changed, 1 insertion(+), 3 deletions(-)
16
17diff --git a/makefile.machine b/makefile.machine
18index 9e34c34..e9244d9 100644
19--- a/makefile.machine
20+++ b/makefile.machine
21@@ -2,7 +2,7 @@
22 # makefile for Linux (x86, PPC, alpha ...)
23 #
24
25-OPTFLAGS=-O -s
26+OPTFLAGS=-O
27
28 ALLFLAGS=${OPTFLAGS} -pipe \
29 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
30@@ -10,8 +10,6 @@ ALLFLAGS=${OPTFLAGS} -pipe \
31 -D_7ZIP_LARGE_PAGES \
32 $(LOCAL_FLAGS)
33
34-CXX=g++
35-CC=gcc
36 CC_SHARED=-fPIC
37 LINK_SHARED=-fPIC -shared
38
diff --git a/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb b/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
deleted file mode 100644
index e795482eb6..0000000000
--- a/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "7-zip is a commandline utility handling 7z archives."
2HOMEPAGE = "http://www.7-zip.org/"
3LICENSE = "LGPL-2.1-or-later & unRAR"
4LIC_FILES_CHKSUM = "file://DOC/copying.txt;md5=4fbd65380cdd255951079008b364516c \
5 file://DOC/unRarLicense.txt;md5=9c87ddde469ef94aed153b0951d088de \
6 file://DOC/License.txt;md5=879598edf1f54dddb6930d7581357f8b"
7
8SRC_URI = "http://downloads.sourceforge.net/p7zip/p7zip/${PV}/p7zip_${PV}_src_all.tar.bz2 \
9 file://do_not_override_compiler_and_do_not_strip.patch \
10 file://CVE-2017-17969.patch \
11 file://0001-Fix-narrowing-errors-Wc-11-narrowing.patch \
12 file://change_numMethods_from_bool_to_unsigned.patch \
13 file://CVE-2018-5996.patch \
14 file://CVE-2016-9296.patch \
15 "
16
17SRC_URI[md5sum] = "a0128d661cfe7cc8c121e73519c54fbf"
18SRC_URI[sha256sum] = "5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f"
19
20S = "${WORKDIR}/${BPN}_${PV}"
21
22do_compile:append() {
23 oe_runmake 7z
24}
25FILES:${PN} += "${libdir}/* ${bindir}/7z"
26
27FILES_SOLIBSDEV = ""
28INSANE_SKIP:${PN} += "dev-so"
29
30do_install() {
31 install -d ${D}${bindir}
32 install -d ${D}${bindir}/Codecs
33 install -d ${D}${libdir}
34 install -d ${D}${libdir}/Codecs
35 install -m 0755 ${S}/bin/7za ${D}${bindir}
36 ln -s 7za ${D}${bindir}/7z
37 install -m 0755 ${S}/bin/Codecs/* ${D}${libdir}/Codecs/
38 install -m 0755 ${S}/bin/7z.so ${D}${libdir}/lib7z.so
39}
40
41RPROVIDES:${PN} += "lib7z.so()(64bit) 7z lib7z.so"
42RPROVIDES:${PN}-dev += "lib7z.so()(64bit) 7z lib7z.so"
43
44BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-extended/p8platform/p8platform_git.bb b/meta-oe/recipes-extended/p8platform/p8platform_git.bb
index dc7280f099..e69d544b66 100644
--- a/meta-oe/recipes-extended/p8platform/p8platform_git.bb
+++ b/meta-oe/recipes-extended/p8platform/p8platform_git.bb
@@ -9,7 +9,6 @@ PV = "2.1.0.1+git"
9SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https" 9SRC_URI = "git://github.com/Pulse-Eight/platform.git;branch=master;protocol=https"
10SRCREV = "a7cd0d5780ed80a4e70480d1650749f29e8a1fb2" 10SRCREV = "a7cd0d5780ed80a4e70480d1650749f29e8a1fb2"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit cmake pkgconfig 13inherit cmake pkgconfig
15 14
diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ccreds_11.bb b/meta-oe/recipes-extended/pam/pam-plugin-ccreds_11.bb
index 81d0746f89..ab5a8ef342 100644
--- a/meta-oe/recipes-extended/pam/pam-plugin-ccreds_11.bb
+++ b/meta-oe/recipes-extended/pam/pam-plugin-ccreds_11.bb
@@ -15,7 +15,9 @@ SRC_URI = "git://github.com/PADL/pam_ccreds;branch=master;protocol=https \
15 file://0001-configure-Check-for-function-from-libdb-during-confi.patch \ 15 file://0001-configure-Check-for-function-from-libdb-during-confi.patch \
16 " 16 "
17 17
18S = "${WORKDIR}/git" 18# Upstream repo does not tag
19UPSTREAM_CHECK_COMMITS = "1"
20
19 21
20inherit autotools 22inherit autotools
21 23
diff --git a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb
index d5137f80af..2886137b7d 100644
--- a/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb
+++ b/meta-oe/recipes-extended/pam/pam-plugin-ldapdb_1.3.1.bb
@@ -13,7 +13,6 @@ REQUIRED_DISTRO_FEATURES = "pam"
13SRCREV = "3e026863cad1fd45c760ee1bc93ef4f0606cc852" 13SRCREV = "3e026863cad1fd45c760ee1bc93ef4f0606cc852"
14SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https" 14SRC_URI = "git://github.com/rmbreak/pam_ldapdb;branch=master;protocol=https"
15 15
16S = "${WORKDIR}/git"
17 16
18do_install () { 17do_install () {
19 oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security 18 oe_runmake install DESTDIR=${D} PAMDIR=${base_libdir}/security
diff --git a/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
new file mode 100644
index 0000000000..0e2199b066
--- /dev/null
+++ b/meta-oe/recipes-extended/pam/pam-radius_3.0.0.bb
@@ -0,0 +1,29 @@
1SUMMARY = "PAM module for RADIUS authentication"
2DESCRIPTION = "This allows any PAM-capable machine to become a RADIUS client for \
3authentication and accounting requests. You will need a RADIUS server to perform \
4the actual authentication."
5HOMEPAGE = "http://freeradius.org/pam_radius_auth/"
6
7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd794e2a0a289b9dfcc9f513d1996e"
9
10SRC_URI = "git://github.com/FreeRADIUS/pam_radius.git;protocol=https;branch=master"
11SRCREV = "b6442c3e0147f1019990520483fa3a30e4ccf059"
12
13
14DEPENDS = "libpam"
15
16inherit autotools-brokensep features_check
17REQUIRED_DISTRO_FEATURES = "pam"
18
19EXTRA_OECONF = "--disable-developer"
20
21do_install() {
22 install -d ${D}${sysconfdir}
23 install -m 644 ${S}/pam_radius_auth.conf ${D}${sysconfdir}
24 install -d ${D}${base_libdir}/security
25 install -m 644 ${S}/pam_radius_auth.so ${D}${base_libdir}/security
26}
27
28FILES:${PN} += "${base_libdir}/security/*.so"
29FILES:${PN}-dbg += "${base_libdir}/security/.debug"
diff --git a/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb
index b5bcc63339..d14a20609a 100644
--- a/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb
+++ b/meta-oe/recipes-extended/pam/pam-ssh-agent-auth_0.10.3.bb
@@ -12,7 +12,6 @@ SRC_URI = "http://sourceforge.net/projects/pamsshagentauth/files/pam_ssh_agent_a
12 file://0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch \ 12 file://0002-Check-against-the-correct-OPENSSL_VERSION_NUMBER.patch \
13 file://0001-configure-Include-stdio.h-for-printf.patch \ 13 file://0001-configure-Include-stdio.h-for-printf.patch \
14 " 14 "
15SRC_URI[md5sum] = "8dbe90ab3625e545036333e6f51ccf1d"
16SRC_URI[sha256sum] = "3c53d358d6eaed1b211239df017c27c6f9970995d14102ae67bae16d4f47a763" 15SRC_URI[sha256sum] = "3c53d358d6eaed1b211239df017c27c6f9970995d14102ae67bae16d4f47a763"
17 16
18DEPENDS += "libpam openssl" 17DEPENDS += "libpam openssl"
@@ -26,7 +25,7 @@ RDEPENDS:${PN} += "openssh-misc"
26 25
27# Kind of unfortunate to have underscores in the name. 26# Kind of unfortunate to have underscores in the name.
28# 27#
29S = "${WORKDIR}/pam_ssh_agent_auth-${PV}" 28S = "${UNPACKDIR}/pam_ssh_agent_auth-${PV}"
30 29
31inherit autotools-brokensep perlnative 30inherit autotools-brokensep perlnative
32 31
@@ -53,3 +52,16 @@ do_compile () {
53# 52#
54FILES:${PN} += "${base_libdir}/security/pam*" 53FILES:${PN} += "${base_libdir}/security/pam*"
55FILES:${PN}-dbg += "${base_libdir}/security/.debug" 54FILES:${PN}-dbg += "${base_libdir}/security/.debug"
55
56# This one is reproducible only on 32bit MACHINEs
57# http://errors.yoctoproject.org/Errors/Details/766965/
58# ssh-rsa.c:59:24: error: passing argument 1 of 'EVP_DigestInit' from incompatible pointer type [-Wincompatible-pointer-types]
59# ssh-rsa.c:60:26: error: passing argument 1 of 'EVP_DigestUpdate' from incompatible pointer type [-Wincompatible-pointer-types]
60# ssh-rsa.c:61:25: error: passing argument 1 of 'EVP_DigestFinal' from incompatible pointer type [-Wincompatible-pointer-types]
61# ssh-ecdsa.c:76:18: error: passing argument 1 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
62# ssh-ecdsa.c:76:23: error: passing argument 2 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
63# ssh-ecdsa.c:76:27: error: passing argument 3 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
64# ssh-ecdsa.c:148:18: error: passing argument 1 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
65# ssh-ecdsa.c:148:23: error: passing argument 2 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
66# ssh-ecdsa.c:148:27: error: passing argument 3 of 'DSA_SIG_get0' from incompatible pointer type [-Wincompatible-pointer-types]
67CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/parallel/parallel_20250522.bb b/meta-oe/recipes-extended/parallel/parallel_20250522.bb
new file mode 100644
index 0000000000..79ea168675
--- /dev/null
+++ b/meta-oe/recipes-extended/parallel/parallel_20250522.bb
@@ -0,0 +1,39 @@
1SUMMARY = "GNU Parallel - A shell tool for executing jobs in parallel using one or more computers"
2DESCRIPTION = "GNU Parallel is a command-line tool for executing jobs in parallel on one or more computers. \
3It allows users to run multiple commands simultaneously, making it easier to process large batches of tasks."
4
5HOMEPAGE = "https://www.gnu.org/software/parallel/"
6LICENSE = "CC-BY-SA-4.0 & GFDL-1.3-or-later & GPL-3.0-or-later"
7
8LIC_FILES_CHKSUM = " \
9 file://LICENSES/CC-BY-SA-4.0.txt;md5=7130783469368ceb248a4f03e89ea4b8 \
10 file://LICENSES/GFDL-1.3-or-later.txt;md5=e0771ae6a62dc8a2e50b1d450fea66b7 \
11 file://LICENSES/GPL-3.0-or-later.txt;md5=8da5784ab1c72e63ac74971f88658166 \
12"
13
14SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2"
15SRC_URI[sha256sum] = "b4b28f475f8cff8bb6ed4b03cc5a67041f18fc73fa256923b23181b56afdb2cb"
16
17inherit autotools bash-completion
18
19PACKAGES += "${PN}-zsh-completion"
20FILES:${PN}-zsh-completion = "${datadir}/zsh"
21
22RDEPENDS:${PN} = " \
23 perl \
24 perl-module-file-basename \
25 perl-module-file-glob \
26 perl-module-file-path \
27 perl-module-file-temp \
28 perl-module-filehandle \
29 perl-module-getopt-long \
30 perl-module-io-select \
31 perl-module-ipc-open3 \
32 perl-module-posix \
33 perl-module-symbol \
34 perl-module-thread-queue \
35 perl-module-threads \
36 perl-module-threads-shared \
37"
38
39BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-extended/pegtl/pegtl/run-ptest b/meta-oe/recipes-extended/pegtl/pegtl/run-ptest
new file mode 100644
index 0000000000..e819628c9f
--- /dev/null
+++ b/meta-oe/recipes-extended/pegtl/pegtl/run-ptest
@@ -0,0 +1,23 @@
1#!/bin/sh
2
3fail_count=0
4all_count=0
5
6for test_suite in src/test/pegtl/pegtl-test-*
7do
8 if "./$test_suite"
9 then
10 echo "PASS: $test_suite"
11 else
12 echo "FAIL: $test_suite"
13 fail_count=$((fail_count + 1))
14 fi
15 all_count=$((all_count + 1))
16done
17
18if [ $fail_count -eq 0 ]
19then
20 echo "PASS: All $all_count tests passed"
21else
22 echo "FAIL: $fail_count of $all_count tests failed"
23fi
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb b/meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb
deleted file mode 100644
index 237828dbfc..0000000000
--- a/meta-oe/recipes-extended/pegtl/pegtl_3.2.7.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
2HOMEPAGE="https://github.com/taocpp/PEGTL"
3LICENSE="MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=dccf35ef30bf912bb07b01d469965293"
5
6SRC_URI = "git://github.com/taocpp/PEGTL.git;protocol=https;branch=3.x"
7SRCREV = "cf639f7f4ee125f68e1ccfba8d99ebc0de57b9fe"
8
9inherit cmake
10
11S = "${WORKDIR}/git"
12
13CXXFLAGS += " -Wno-error=type-limits"
diff --git a/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
new file mode 100644
index 0000000000..4d540d0180
--- /dev/null
+++ b/meta-oe/recipes-extended/pegtl/pegtl_3.2.8.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "header-only library for creating parsers according to Parsing Expression Grammar"
2HOMEPAGE = "https://github.com/taocpp/PEGTL"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=dccf35ef30bf912bb07b01d469965293"
5
6SRC_URI = " \
7 git://github.com/taocpp/PEGTL.git;protocol=https;branch=3.x \
8 file://run-ptest \
9"
10
11SRCREV = "be527327653e94b02e711f7eff59285ad13e1db0"
12
13inherit cmake ptest
14
15
16do_install_ptest () {
17 install -d ${D}${PTEST_PATH}/src/test/pegtl/data
18 install -m 0755 ${B}/src/test/pegtl/pegtl-test-* ${D}${PTEST_PATH}/src/test/pegtl
19 install ${S}/src/test/pegtl/file_*.txt ${D}${PTEST_PATH}/src/test/pegtl
20 install ${S}/src/test/pegtl/data/*.json ${D}${PTEST_PATH}/src/test/pegtl/data
21}
22
23CXXFLAGS += " -Wno-error=type-limits"
diff --git a/meta-oe/recipes-extended/perl/libfile-fnmatch-perl_0.02.bb b/meta-oe/recipes-extended/perl/libfile-fnmatch-perl_0.02.bb
index 7768d17418..367aedd4c5 100644
--- a/meta-oe/recipes-extended/perl/libfile-fnmatch-perl_0.02.bb
+++ b/meta-oe/recipes-extended/perl/libfile-fnmatch-perl_0.02.bb
@@ -12,10 +12,9 @@ LIC_FILES_CHKSUM = "file://README;beginline=34;endline=37;md5=54fdfac62963b7cece
12 12
13SRC_URI = "https://cpan.metacpan.org/authors/id/M/MJ/MJP/File-FnMatch-${PV}.tar.gz" 13SRC_URI = "https://cpan.metacpan.org/authors/id/M/MJ/MJP/File-FnMatch-${PV}.tar.gz"
14 14
15SRC_URI[md5sum] = "22f77c20d0fb5af01a3165e2df2fe34c"
16SRC_URI[sha256sum] = "962454b8e86bea8b132bf8af35757d0c6a8f5d599015bd6a5d68cb7ae7a9e916" 15SRC_URI[sha256sum] = "962454b8e86bea8b132bf8af35757d0c6a8f5d599015bd6a5d68cb7ae7a9e916"
17 16
18S = "${WORKDIR}/File-FnMatch-${PV}" 17S = "${UNPACKDIR}/File-FnMatch-${PV}"
19 18
20inherit cpan 19inherit cpan
21 20
diff --git a/meta-oe/recipes-extended/plocate/plocate_1.1.22.bb b/meta-oe/recipes-extended/plocate/plocate_1.1.23.bb
index 694c29776a..c9502db16a 100644
--- a/meta-oe/recipes-extended/plocate/plocate_1.1.22.bb
+++ b/meta-oe/recipes-extended/plocate/plocate_1.1.23.bb
@@ -12,4 +12,4 @@ DEPENDS = "zstd liburing"
12SRC_URI = "https://plocate.sesse.net/download/${BP}.tar.gz \ 12SRC_URI = "https://plocate.sesse.net/download/${BP}.tar.gz \
13 file://0001-Include-linux-stat.h-only-when-sys-stat.h-is-not-inc.patch" 13 file://0001-Include-linux-stat.h-only-when-sys-stat.h-is-not-inc.patch"
14 14
15SRC_URI[sha256sum] = "3b7e4741b4aa2ec044e53eff06474a32a3fb1e928b9382351fe79d4c27fb0049" 15SRC_URI[sha256sum] = "06bd3b284d5d077b441bef74edb0cc6f8e3f0a6f58b4c15ef865d3c460733783"
diff --git a/meta-oe/recipes-extended/pmdk/pmdk_2.1.0.bb b/meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb
index 100ff4200c..5aba331acc 100644
--- a/meta-oe/recipes-extended/pmdk/pmdk_2.1.0.bb
+++ b/meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb
@@ -3,18 +3,17 @@ DESCRIPTION = "Persistent Memory Development Kit"
3HOMEPAGE = "http://pmem.io" 3HOMEPAGE = "http://pmem.io"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=b44ee63f162f9cdb18fff1224877aafd" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3e2f50552a27ca99772f3d884f98560b"
7DEPENDS = "ndctl cmake-native" 7DEPENDS = "ndctl"
8 8
9# Required to have the fts.h header for musl 9# Required to have the fts.h header for musl
10DEPENDS:append:libc-musl = " fts" 10DEPENDS:append:libc-musl = " fts"
11 11
12S = "${WORKDIR}/git"
13 12
14SRC_URI = "git://github.com/pmem/pmdk.git;branch=master;protocol=https" 13SRC_URI = "git://github.com/pmem/pmdk.git;branch=master;protocol=https"
15SRCREV = "5705fdffa755d00b4dbb4d6c30eb49671436f961" 14SRCREV = "0f0ab391d8e3db52f745f33c92b9d9a462bb3695"
16 15
17inherit autotools-brokensep pkgconfig 16inherit pkgconfig
18 17
19# Fix jemalloc error: 18# Fix jemalloc error:
20# | configure: error: cannot run C compiled programs. 19# | configure: error: cannot run C compiled programs.
@@ -26,7 +25,7 @@ EXTRA_OEMAKE = "BUILD_EXAMPLES='n' DOC='n' HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='
26# Fix the missing fts libs when using musl 25# Fix the missing fts libs when using musl
27EXTRA_OEMAKE:append:libc-musl = " EXTRA_LIBS='-lfts'" 26EXTRA_OEMAKE:append:libc-musl = " EXTRA_LIBS='-lfts'"
28 27
29do_configure:prepend() { 28do_configure() {
30 touch .skip-doc 29 touch .skip-doc
31} 30}
32 31
@@ -45,4 +44,4 @@ FILES:${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/* /usr/*/i
45FILES:${PN} += "/usr/etc" 44FILES:${PN} += "/usr/etc"
46FILES:${PN} += "/usr/share" 45FILES:${PN} += "/usr/share"
47 46
48COMPATIBLE_HOST='(x86_64).*' 47COMPATIBLE_HOST = '(x86_64).*'
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb b/meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb
index 2159482ebb..c0066d5636 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule-datetime.bb
@@ -7,7 +7,7 @@ require polkit-group-rule.inc
7SRC_URI = "file://50-org.freedesktop.timedate1.rules" 7SRC_URI = "file://50-org.freedesktop.timedate1.rules"
8 8
9do_install() { 9do_install() {
10 install -m 0755 ${UNPACKDIR}/50-org.freedesktop.timedate1.rules ${D}${sysconfdir}/polkit-1/rules.d 10 install -D -m 0755 ${UNPACKDIR}/50-org.freedesktop.timedate1.rules ${D}${datadir}/polkit-1/rules.d
11} 11}
12 12
13USERADD_PACKAGES = "${PN}" 13USERADD_PACKAGES = "${PN}"
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb b/meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb
index bfd3361dfe..ec8ff868d4 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule-network.bb
@@ -7,7 +7,7 @@ require polkit-group-rule.inc
7SRC_URI = "file://50-org.freedesktop.NetworkManager.rules" 7SRC_URI = "file://50-org.freedesktop.NetworkManager.rules"
8 8
9do_install() { 9do_install() {
10 install -m 0755 ${UNPACKDIR}/50-org.freedesktop.NetworkManager.rules ${D}${sysconfdir}/polkit-1/rules.d 10 install -D -m 0755 ${UNPACKDIR}/50-org.freedesktop.NetworkManager.rules ${D}${datadir}/polkit-1/rules.d
11} 11}
12 12
13USERADD_PACKAGES = "${PN}" 13USERADD_PACKAGES = "${PN}"
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb b/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb
index 8dc8c5e255..884590d47c 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule-udisks2.bb
@@ -10,7 +10,7 @@ SRC_URI = "file://50-org.freedesktop.udiskie.rules"
10RDEPENDS:${PN} += "udisks2" 10RDEPENDS:${PN} += "udisks2"
11 11
12do_install() { 12do_install() {
13 install -m 0755 ${UNPACKDIR}/50-org.freedesktop.udiskie.rules ${D}${sysconfdir}/polkit-1/rules.d 13 install -D -m 0755 ${UNPACKDIR}/50-org.freedesktop.udiskie.rules ${D}${datadir}/polkit-1/rules.d
14} 14}
15 15
16USERADD_PACKAGES = "${PN}" 16USERADD_PACKAGES = "${PN}"
diff --git a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
index 4aeeb77d04..b1e16a924c 100644
--- a/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
+++ b/meta-oe/recipes-extended/polkit/polkit-group-rule.inc
@@ -7,7 +7,7 @@ REQUIRED_DISTRO_FEATURES = "polkit"
7inherit useradd 7inherit useradd
8 8
9do_install:prepend() { 9do_install:prepend() {
10 install -m 700 -d ${D}${sysconfdir}/polkit-1/rules.d 10 install -m 755 -d ${D}${datadir}/polkit-1/rules.d
11 chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d
12} 11}
13USERADD_PARAM:${PN}:prepend = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 polkitd;" 12
13FILES:${PN} += "${datadir}/polkit-1/rules.d"
diff --git a/meta-oe/recipes-extended/polkit/polkit_124.bb b/meta-oe/recipes-extended/polkit/polkit_126.bb
index 9e2eb05c62..0438c4e464 100644
--- a/meta-oe/recipes-extended/polkit/polkit_124.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_126.bb
@@ -1,38 +1,36 @@
1SUMMARY = "PolicyKit Authorization Framework" 1SUMMARY = "Polkit Authorization Framework"
2DESCRIPTION = "The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes." 2DESCRIPTION = "The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
3HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit" 3HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit"
4LICENSE = "LGPL-2.0-or-later" 4LICENSE = "LGPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb" 5LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb"
6BUGTRACKER = "https://github.com/polkit-org/polkit/issues"
6 7
7SRC_URI = "git://gitlab.freedesktop.org/polkit/polkit.git;protocol=https;branch=master" 8SRC_URI = "git://github.com/polkit-org/polkit.git;protocol=https;branch=main"
8 9
9S = "${WORKDIR}/git" 10SRCREV = "d627b0d1e1108563658dabe3fb8d2a065e64df10"
10SRCREV = "82f0924dc0eb23b9df68e88dbaf9e07c81940a5a"
11 11
12DEPENDS = "expat glib-2.0" 12DEPENDS = "expat glib-2.0 duktape"
13 13
14inherit meson pkgconfig useradd systemd gettext gobject-introspection features_check 14inherit meson pkgconfig useradd systemd gettext gobject-introspection features_check
15 15
16REQUIRED_DISTRO_FEATURES = "polkit" 16REQUIRED_DISTRO_FEATURES = "polkit"
17 17
18# Prevent meson.build to try to autodetect host OS (which could lead to
19# non-reproducibility)
20EXTRA_OEMESON = "-Dos_type=openembedded"
21
18PACKAGECONFIG = " \ 22PACKAGECONFIG = " \
19 ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ 23 ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit', d)} \ 24 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'consolekit', d)} \
21 dbus \ 25 dbus \
22 mozjs \
23" 26"
24PACKAGECONFIG[dbus] = ",,dbus" 27PACKAGECONFIG[dbus] = ",,dbus"
25PACKAGECONFIG[gtk-doc] = "-Dgtk_doc=true,-Dgtk_doc=false,gtk-doc-native" 28PACKAGECONFIG[gtk-doc] = "-Dgtk_doc=true,-Dgtk_doc=false,gtk-doc-native"
26PACKAGECONFIG[pam] = "-Dauthfw=pam,-Dauthfw=shadow,libpam,libpam" 29PACKAGECONFIG[pam] = "-Dauthfw=pam,-Dauthfw=shadow,libpam,libpam"
27PACKAGECONFIG[systemd] = "-Dsession_tracking=libsystemd-login,-Dsession_tracking=ConsoleKit,systemd" 30PACKAGECONFIG[systemd] = "-Dsession_tracking=logind,,systemd,,,consolekit elogind"
28PACKAGECONFIG[consolekit] = ",,,consolekit" 31PACKAGECONFIG[consolekit] = "-Dsession_tracking=ConsoleKit,,,consolekit,,systemd elogind"
29 32PACKAGECONFIG[elogind] = "-Dsession_tracking=libelogin,,elogind,,,systemd consolekit"
30# Default to mozjs javascript library 33PACKAGECONFIG[libs-only] = "-Dlibs-only=true,-Dlibs-only=false"
31PACKAGECONFIG[mozjs] = "-Djs_engine=mozjs,,mozjs-115,,,duktape"
32# duktape javascript engine is much smaller and faster but is not compatible with
33# same javascript standards as mozjs. For example array.includes() function is not
34# supported. Test rule compatibility when switching to duktape.
35PACKAGECONFIG[duktape] = "-Djs_engine=duktape,,duktape,,,mozjs"
36 34
37USERADD_PACKAGES = "${PN}" 35USERADD_PACKAGES = "${PN}"
38USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 --shell /bin/nologin polkitd" 36USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 --shell /bin/nologin polkitd"
@@ -42,18 +40,26 @@ SYSTEMD_AUTO_ENABLE = "disable"
42 40
43do_install:append() { 41do_install:append() {
44 #Fix up permissions on polkit rules.d to work with rpm4 constraints 42 #Fix up permissions on polkit rules.d to work with rpm4 constraints
45 chmod 700 ${D}/${datadir}/polkit-1/rules.d 43 if ${@bb.utils.contains('PACKAGECONFIG', 'libs-only', 'false', 'true', d)}; then
46 chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d 44 chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d
47 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d 45 chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d
48 chown polkitd:root ${D}/${sysconfdir}/polkit-1/rules.d 46 fi
47
48 # Polkit unconditionally installs a systemd service, remove it on SysVinit
49 # systems to avoid "installed but not packaged file" error.
50 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
51 rm -rf ${D}${nonarch_libdir}/systemd ${D}${libdir}/systemd
52 fi
49} 53}
50 54
51FILES:${PN} += " \ 55FILES:${PN} += " \
52 ${libdir}/pam.d/polkit-1 \ 56 ${libdir}/pam.d/polkit-1 \
53 ${libdir}/sysusers.d \ 57 ${libdir}/sysusers.d \
58 ${libdir}/tmpfiles.d \
54 ${libdir}/polkit-1 \ 59 ${libdir}/polkit-1 \
55 ${nonarch_libdir}/pam.d/polkit-1 \ 60 ${nonarch_libdir}/pam.d/polkit-1 \
56 ${nonarch_libdir}/sysusers.d \ 61 ${nonarch_libdir}/sysusers.d \
62 ${nonarch_libdir}/tmpfiles.d \
57 ${nonarch_libdir}/polkit-1 \ 63 ${nonarch_libdir}/polkit-1 \
58 ${datadir} \ 64 ${datadir} \
59" 65"
diff --git a/meta-oe/recipes-extended/properties-cpp/properties-cpp_git.bb b/meta-oe/recipes-extended/properties-cpp/properties-cpp_git.bb
index 25951c9de4..20b7f0a5bd 100644
--- a/meta-oe/recipes-extended/properties-cpp/properties-cpp_git.bb
+++ b/meta-oe/recipes-extended/properties-cpp/properties-cpp_git.bb
@@ -11,7 +11,9 @@ PV = "0.0.1+git"
11SRCREV = "45863e849b39c4921d6553e6d27e267a96ac7d77" 11SRCREV = "45863e849b39c4921d6553e6d27e267a96ac7d77"
12SRC_URI = "git://github.com/lib-cpp/${BPN}.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/lib-cpp/${BPN}.git;branch=master;protocol=https"
13 13
14S = "${WORKDIR}/git" 14# Upstream repo does not tag
15UPSTREAM_CHECK_COMMITS = "1"
16
15 17
16do_configure:prepend() { 18do_configure:prepend() {
17 echo " " > ${S}/tests/CMakeLists.txt 19 echo " " > ${S}/tests/CMakeLists.txt
diff --git a/meta-oe/recipes-extended/qad/qad_git.bb b/meta-oe/recipes-extended/qad/qad_git.bb
index 0bc94121a7..189d2f9d15 100644
--- a/meta-oe/recipes-extended/qad/qad_git.bb
+++ b/meta-oe/recipes-extended/qad/qad_git.bb
@@ -14,7 +14,9 @@ SRC_URI = "git://gitlab.com/CodethinkLabs/qad/qad;branch=main;protocol=https \
14 14
15SRCREV = "ae0c099c1fdc0ca6f5d631cea6b302937122b362" 15SRCREV = "ae0c099c1fdc0ca6f5d631cea6b302937122b362"
16 16
17S = "${WORKDIR}/git" 17# Upstream repo does not tag
18UPSTREAM_CHECK_COMMITS = "1"
19
18PV = "0.0+git" 20PV = "0.0+git"
19 21
20DEPENDS = "cjson libmicrohttpd libdrm libpng" 22DEPENDS = "cjson libmicrohttpd libdrm libpng"
diff --git a/meta-oe/recipes-extended/qcbor/qcbor_1.3.bb b/meta-oe/recipes-extended/qcbor/qcbor_1.4.1.bb
index f90e814f7a..00cae11c4e 100644
--- a/meta-oe/recipes-extended/qcbor/qcbor_1.3.bb
+++ b/meta-oe/recipes-extended/qcbor/qcbor_1.4.1.bb
@@ -10,9 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=498c298542365dfcfe29948c72a5849b"
10 10
11SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master" 11SRC_URI = "git://github.com/laurencelundblade/QCBOR;protocol=https;branch=master"
12 12
13SRCREV = "1eba85dbbe78fc1938f8aba2112ba1b228caed30" 13SRCREV = "4487f10e1bf258434fb8a39e4f59c29e31910ad0"
14 14
15S = "${WORKDIR}/git"
16 15
17inherit pkgconfig 16inherit pkgconfig
18 17
diff --git a/meta-oe/recipes-extended/qhull/qhull/0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch b/meta-oe/recipes-extended/qhull/qhull/0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch
new file mode 100644
index 0000000000..7003dd76c2
--- /dev/null
+++ b/meta-oe/recipes-extended/qhull/qhull/0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch
@@ -0,0 +1,35 @@
1From f72312ae0becb581cd428d17dbbcdf1b6f02ebee Mon Sep 17 00:00:00 2001
2From: Orion Poplawski <orion@nwra.com>
3Date: Tue, 4 Oct 2022 21:56:58 -0600
4Subject: [PATCH] Use ${LIB_INSTALL_DIR} for cmake and pkgconfig files to
5 support multi-lib on Fedora/RedHat
6
7Upstream-Status: Backport [https://github.com/qhull/qhull/commit/67d231c872aa1bae892e5da9646a10b303477039]
8
9Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
10---
11 CMakeLists.txt | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index f50b187..c2248f9 100644
16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt
18@@ -709,7 +709,7 @@ configure_file(${PROJECT_SOURCE_DIR}/build/config.cmake.in
19 @ONLY
20 )
21
22-set(ConfigPackageLocation lib/cmake/Qhull)
23+set(ConfigPackageLocation ${LIB_INSTALL_DIR}/cmake/Qhull)
24 install(EXPORT QhullTargets
25 FILE
26 QhullTargets.cmake
27@@ -728,7 +728,7 @@ install(
28 Devel
29 )
30
31-set(PkgConfigLocation lib/pkgconfig)
32+set(PkgConfigLocation ${LIB_INSTALL_DIR}/pkgconfig)
33 foreach(pkgconfig IN ITEMS "${qhull_SHAREDR};Qhull reentrant shared library"
34 "${qhull_STATIC};Qhull static library"
35 "${qhull_STATICR};Qhull reentrant static library"
diff --git a/meta-oe/recipes-extended/qhull/qhull_2020.2.bb b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb
new file mode 100644
index 0000000000..13638c391b
--- /dev/null
+++ b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "library to compute convex hulls, Delaunay triangulations and Voronoi diagrams."
2HOMEPAGE = "http://www.qhull.org/"
3SECTION = "libs"
4LICENSE = "Qhull"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=484ee0cacf0472e8b40225b116f6296c"
6
7SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \
8 file://0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch \
9"
10SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e"
11
12CFLAGS += "-fPIC"
13
14EXTRA_OECMAKE += "\
15 -DCMAKE_SKIP_RPATH=ON \
16 -DLIB_INSTALL_DIR=${baselib} \
17"
18
19inherit cmake
20
21# The QhullTargets-noconfig.cmake checks for the executables despite not
22# needing to execute them for the build. Staging bindir to the sysroot
23# allows us to pass the check without building qhull natively
24SYSROOT_DIRS:append = " \
25 ${bindir} \
26"
diff --git a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb
index 2934312456..c7f320660f 100644
--- a/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb
+++ b/meta-oe/recipes-extended/rarpd/rarpd_ss981107.bb
@@ -10,7 +10,6 @@ network."
10SECTION = "System Environment/Daemons" 10SECTION = "System Environment/Daemons"
11 11
12SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/be2a88f8ccddf2a40ac484cb3294fedc/${BP}.tar.gz" 12SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/be2a88f8ccddf2a40ac484cb3294fedc/${BP}.tar.gz"
13SRC_URI[md5sum] = "be2a88f8ccddf2a40ac484cb3294fedc"
14SRC_URI[sha256sum] = "4d6145d435a5d8b567b9798620f57f9b0a464078a1deba267958f168fbe776e6" 13SRC_URI[sha256sum] = "4d6145d435a5d8b567b9798620f57f9b0a464078a1deba267958f168fbe776e6"
15 14
16SRC_URI += "file://0001-rarpd.8-add-man-file.patch \ 15SRC_URI += "file://0001-rarpd.8-add-man-file.patch \
@@ -25,7 +24,7 @@ SRC_URI += "file://0001-rarpd.8-add-man-file.patch \
25LICENSE = "GPL-2.0-or-later" 24LICENSE = "GPL-2.0-or-later"
26LIC_FILES_CHKSUM = "file://rarpd.c;md5=199b20b172ea93121bc613a9c77b6931" 25LIC_FILES_CHKSUM = "file://rarpd.c;md5=199b20b172ea93121bc613a9c77b6931"
27 26
28S = "${WORKDIR}/${BPN}" 27S = "${UNPACKDIR}/${BPN}"
29 28
30EXTRA_OEMAKE = "-e MAKEFLAGS=" 29EXTRA_OEMAKE = "-e MAKEFLAGS="
31 30
diff --git a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb
index 3e757e6037..d643c6f0b9 100644
--- a/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb
+++ b/meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https
10 file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch" 10 file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch"
11SRCREV = "ad6baa121f4c6fbc7622d83d606210ac22549c78" 11SRCREV = "ad6baa121f4c6fbc7622d83d606210ac22549c78"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit cmake 14inherit cmake
16 15
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch
index 7785acca5c..63bf403412 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/hiredis-use-default-CC-if-it-is-set.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0001-hiredis-use-default-CC-if-it-is-set.patch
@@ -1,4 +1,4 @@
1From 41efa2f0cf08c91ff935bbb2d16ab233df7f5811 Mon Sep 17 00:00:00 2001 1From af4fc632c03b2a68be4206b4896f27fc4bb865ae Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600 3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set 4Subject: [PATCH] hiredis: use default CC if it is set
@@ -9,6 +9,8 @@ Content-Transfer-Encoding: 8bit
9Instead of trying to automagically figure out CC, which breaks with OE 9Instead of trying to automagically figure out CC, which breaks with OE
10as CC has spaces in it, just skip it if one was already passed in. 10as CC has spaces in it, just skip it if one was already passed in.
11 11
12Upstream-Status: Pending
13
12Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
13 15
14Update to work with 4.0.8 16Update to work with 4.0.8
@@ -16,10 +18,7 @@ Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16 18
17Reworked for 6.0.4 19Reworked for 6.0.4
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 20Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19
20--- 21---
21Upstream-Status: Pending
22
23 deps/hiredis/Makefile | 2 -- 22 deps/hiredis/Makefile | 2 --
24 1 file changed, 2 deletions(-) 23 1 file changed, 2 deletions(-)
25 24
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0002-lua-update-Makefile-to-use-environment-build-setting.patch
index 20708eda1e..46330f5064 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/lua-update-Makefile-to-use-environment-build-setting.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0002-lua-update-Makefile-to-use-environment-build-setting.patch
@@ -1,4 +1,4 @@
1From aa3d31355f3cc140b1dc2f4fcff8e3c0aa261549 Mon Sep 17 00:00:00 2001 1From 45ae5eb5c3482054073e06ab1a78e0aa9b96447f Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 20:22:19 -0600 3Date: Fri, 8 Feb 2013 20:22:19 -0600
4Subject: [PATCH] lua: update Makefile to use environment build settings 4Subject: [PATCH] lua: update Makefile to use environment build settings
@@ -6,6 +6,8 @@ Subject: [PATCH] lua: update Makefile to use environment build settings
6OE-specific parameters, instead of overriding all of these simply use 6OE-specific parameters, instead of overriding all of these simply use
7the ones that are already passed in. Also configure for only Linux... 7the ones that are already passed in. Also configure for only Linux...
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Venture Research <tech@ventureresearch.com> 11Signed-off-by: Venture Research <tech@ventureresearch.com>
10 12
11Updated to work with 3.0.x 13Updated to work with 3.0.x
@@ -14,8 +16,6 @@ Signed-off-by: Armin Kuster <akust808@gmail.com>
14 16
15updated to work wtih 6.2.1 17updated to work wtih 6.2.1
16Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> 18Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
17
18Upstream-Status: Pending
19--- 19---
20 deps/Makefile | 1 - 20 deps/Makefile | 1 -
21 deps/lua/Makefile | 1 - 21 deps/lua/Makefile | 1 -
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0003-hack-to-force-use-of-libc-malloc.patch
index 7b601e02a9..1f97f9783d 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/oe-use-libc-malloc.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0003-hack-to-force-use-of-libc-malloc.patch
@@ -1,4 +1,4 @@
1From 38a5f403b033d03cdac3ff814687d83f61527d8e Mon Sep 17 00:00:00 2001 1From 7a98e3ac480413ce7db3a5edd5dc70458b921b29 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600 3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc 4Subject: [PATCH] hack to force use of libc malloc
@@ -9,14 +9,13 @@ removed in favor of magic.
9Note that this of course doesn't allow tcmalloc and jemalloc, however 9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly. 10jemalloc wasn't building correctly.
11 11
12Upstream-Status: Pending
13
12Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
13 15
14Update to work with 4.0.8 16Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com> 17Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17--- 18---
18Upstream-Status: Pending
19
20 src/Makefile | 3 ++- 19 src/Makefile | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-) 20 1 file changed, 2 insertions(+), 1 deletion(-)
22 21
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0004-src-Do-not-reset-FINAL_LIBS.patch
index 01e53e3f21..974cf5169f 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/0001-src-Do-not-reset-FINAL_LIBS.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0004-src-Do-not-reset-FINAL_LIBS.patch
@@ -1,4 +1,4 @@
1From d9d1f9a501ef7caa80d1e6595218898e9989ec2b Mon Sep 17 00:00:00 2001 1From 50fc46a12f6cf97e7b927d3ea29eecc9ebdea34d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 Sep 2019 20:04:26 -0700 3Date: Tue, 10 Sep 2019 20:04:26 -0700
4Subject: [PATCH] src: Do not reset FINAL_LIBS 4Subject: [PATCH] src: Do not reset FINAL_LIBS
@@ -9,8 +9,8 @@ environment to get it going
9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics 9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14--- 14---
15 src/Makefile | 2 +- 15 src/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.8/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
new file mode 100644
index 0000000000..8e5f30993b
--- /dev/null
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
@@ -0,0 +1,29 @@
1From acd832d76002a1916b3128ac05bc0296425aea6d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Dec 2019 12:09:51 -0800
4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER
5
6Fixes
7| zmalloc.c:87:37: error: 'PTHREAD_MUTEX_DEFAULT' undeclared here (not in a function)
8| 87 | pthread_mutex_t used_memory_mutex = PTHREAD_MUTEX_INITIALIZER;
9| | ^~~~~~~~~~~~~~~~~~~~~~~~~
10
11Upstream-Status: Pending
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/zmalloc.c | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/zmalloc.c b/src/zmalloc.c
19index bbfa386..93e07ff 100644
20--- a/src/zmalloc.c
21+++ b/src/zmalloc.c
22@@ -32,6 +32,7 @@
23 #include "config.h"
24 #include "solarisfixes.h"
25
26+#define _GNU_SOURCE
27 #include <stdio.h>
28 #include <stdlib.h>
29 #include <stdint.h>
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch b/meta-oe/recipes-extended/redis/redis-7.2.8/0006-Define-correct-gregs-for-RISCV32.patch
index 93c3595261..7009048171 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/0006-Define-correct-gregs-for-RISCV32.patch
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/0006-Define-correct-gregs-for-RISCV32.patch
@@ -1,14 +1,14 @@
1From 634f62be6c135ece93cb4e44a69ce3cb66f394ca Mon Sep 17 00:00:00 2001 1From dd3ecb07bbf80b986b8f2c656ea11d1346e212f6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 26 Oct 2020 21:32:22 -0700 3Date: Mon, 26 Oct 2020 21:32:22 -0700
4Subject: [PATCH] Define correct gregs for RISCV32 4Subject: [PATCH] Define correct gregs for RISCV32
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 9
9Updated patch for 6.2.8 10Updated patch for 6.2.8
10Signed-off-by: Changqing Li <changqing.li@windriver.com> 11Signed-off-by: Changqing Li <changqing.li@windriver.com>
11
12--- 12---
13 src/debug.c | 26 ++++++++++++++++++++++++-- 13 src/debug.c | 26 ++++++++++++++++++++++++--
14 1 file changed, 24 insertions(+), 2 deletions(-) 14 1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server b/meta-oe/recipes-extended/redis/redis-7.2.8/init-redis-server
index c5f335f57d..c5f335f57d 100755..100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/init-redis-server
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/init-redis-server
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf b/meta-oe/recipes-extended/redis/redis-7.2.8/redis.conf
index 75037d6dc8..75037d6dc8 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.conf
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/redis.conf
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.service b/meta-oe/recipes-extended/redis/redis-7.2.8/redis.service
index b7791d0df4..b7791d0df4 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/redis.service
+++ b/meta-oe/recipes-extended/redis/redis-7.2.8/redis.service
diff --git a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/redis/redis/0001-hiredis-use-default-CC-if-it-is-set.patch
index d2a1b45e66..51a6e9c957 100644
--- a/meta-oe/recipes-extended/redis/redis/hiredis-use-default-CC-if-it-is-set.patch
+++ b/meta-oe/recipes-extended/redis/redis/0001-hiredis-use-default-CC-if-it-is-set.patch
@@ -1,11 +1,16 @@
1From dc745a33f3875cc72d41bd34ed490b352e546352 Mon Sep 17 00:00:00 2001 1From 67990f216f2fbbc8a6699c700dfc089aa617905f Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600 3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set 4Subject: [PATCH] hiredis: use default CC if it is set
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
5 8
6Instead of trying to automagically figure out CC, which breaks with OE 9Instead of trying to automagically figure out CC, which breaks with OE
7as CC has spaces in it, just skip it if one was already passed in. 10as CC has spaces in it, just skip it if one was already passed in.
8 11
12Upstream-Status: Pending
13
9Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
10 15
11Update to work with 4.0.8 16Update to work with 4.0.8
@@ -14,13 +19,11 @@ Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
14Reworked for 6.0.4 19Reworked for 6.0.4
15Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> 20Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
16--- 21---
17Upstream-Status: Pending
18
19 deps/hiredis/Makefile | 2 -- 22 deps/hiredis/Makefile | 2 --
20 1 file changed, 2 deletions(-) 23 1 file changed, 2 deletions(-)
21 24
22diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile 25diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
23index 25ac154..569f82b 100644 26index 7e41c97..54717e3 100644
24--- a/deps/hiredis/Makefile 27--- a/deps/hiredis/Makefile
25+++ b/deps/hiredis/Makefile 28+++ b/deps/hiredis/Makefile
26@@ -42,8 +42,6 @@ endef 29@@ -42,8 +42,6 @@ endef
@@ -32,6 +35,3 @@ index 25ac154..569f82b 100644
32 OPTIMIZATION?=-O3 35 OPTIMIZATION?=-O3
33 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers 36 WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
34 DEBUG_FLAGS?= -g -ggdb 37 DEBUG_FLAGS?= -g -ggdb
35--
362.21.3
37
diff --git a/meta-oe/recipes-extended/redis/redis/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/redis/redis/0002-lua-update-Makefile-to-use-environment-build-setting.patch
index aade7afd06..17b533669b 100644
--- a/meta-oe/recipes-extended/redis/redis/lua-update-Makefile-to-use-environment-build-setting.patch
+++ b/meta-oe/recipes-extended/redis/redis/0002-lua-update-Makefile-to-use-environment-build-setting.patch
@@ -1,4 +1,4 @@
1From 097a2b259cb266c2c861dc74fa6f80712d6138c5 Mon Sep 17 00:00:00 2001 1From ef989aab052510bfda32b2b325a5f80b76c42677 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 20:22:19 -0600 3Date: Fri, 8 Feb 2013 20:22:19 -0600
4Subject: [PATCH] lua: update Makefile to use environment build settings 4Subject: [PATCH] lua: update Makefile to use environment build settings
@@ -6,6 +6,8 @@ Subject: [PATCH] lua: update Makefile to use environment build settings
6OE-specific parameters, instead of overriding all of these simply use 6OE-specific parameters, instead of overriding all of these simply use
7the ones that are already passed in. Also configure for only Linux... 7the ones that are already passed in. Also configure for only Linux...
8 8
9Upstream-Status: Pending
10
9Signed-off-by: Venture Research <tech@ventureresearch.com> 11Signed-off-by: Venture Research <tech@ventureresearch.com>
10 12
11Updated to work with 3.0.x 13Updated to work with 3.0.x
@@ -15,18 +17,16 @@ Signed-off-by: Armin Kuster <akust808@gmail.com>
15updated to work wtih 6.2.1 17updated to work wtih 6.2.1
16Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> 18Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
17--- 19---
18Upstream-Status: Pending
19
20 deps/Makefile | 1 - 20 deps/Makefile | 1 -
21 deps/lua/Makefile | 1 - 21 deps/lua/Makefile | 1 -
22 deps/lua/src/Makefile | 16 ++++++---------- 22 deps/lua/src/Makefile | 16 ++++++----------
23 3 files changed, 6 insertions(+), 12 deletions(-) 23 3 files changed, 6 insertions(+), 12 deletions(-)
24 24
25diff --git a/deps/Makefile b/deps/Makefile 25diff --git a/deps/Makefile b/deps/Makefile
26index ff16ee9..d8d64aa 100644 26index cbe3aef..76bc222 100644
27--- a/deps/Makefile 27--- a/deps/Makefile
28+++ b/deps/Makefile 28+++ b/deps/Makefile
29@@ -74,7 +74,6 @@ LUA_LDFLAGS+= $(LDFLAGS) 29@@ -81,7 +81,6 @@ endif
30 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more 30 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
31 # challenging to cross-compile lua (and redis). These defines make it easier 31 # challenging to cross-compile lua (and redis). These defines make it easier
32 # to fit redis into cross-compilation environments, which typically set AR. 32 # to fit redis into cross-compilation environments, which typically set AR.
diff --git a/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis/0003-hack-to-force-use-of-libc-malloc.patch
index e76bdbc263..f1021eef6c 100644
--- a/meta-oe/recipes-extended/redis/redis/oe-use-libc-malloc.patch
+++ b/meta-oe/recipes-extended/redis/redis/0003-hack-to-force-use-of-libc-malloc.patch
@@ -1,4 +1,4 @@
1From 1fa047162983d4a7e0576f0837a73a6027a783bd Mon Sep 17 00:00:00 2001 1From b9586abcb803747301f6cc4ff93c7642bef693ea Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com> 2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600 3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc 4Subject: [PATCH] hack to force use of libc malloc
@@ -9,19 +9,18 @@ removed in favor of magic.
9Note that this of course doesn't allow tcmalloc and jemalloc, however 9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly. 10jemalloc wasn't building correctly.
11 11
12Upstream-Status: Pending
13
12Signed-off-by: Venture Research <tech@ventureresearch.com> 14Signed-off-by: Venture Research <tech@ventureresearch.com>
13 15
14Update to work with 4.0.8 16Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com> 17Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17--- 18---
18Upstream-Status: Pending
19
20 src/Makefile | 3 ++- 19 src/Makefile | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-) 20 1 file changed, 2 insertions(+), 1 deletion(-)
22 21
23diff --git a/src/Makefile b/src/Makefile 22diff --git a/src/Makefile b/src/Makefile
24index ecd6929..c7f43c5 100644 23index 7d75c83..35dd314 100644
25--- a/src/Makefile 24--- a/src/Makefile
26+++ b/src/Makefile 25+++ b/src/Makefile
27@@ -13,7 +13,8 @@ 26@@ -13,7 +13,8 @@
diff --git a/meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/redis/redis/0004-src-Do-not-reset-FINAL_LIBS.patch
index 66ab0ee33c..958106e261 100644
--- a/meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch
+++ b/meta-oe/recipes-extended/redis/redis/0004-src-Do-not-reset-FINAL_LIBS.patch
@@ -1,4 +1,4 @@
1From 97584e1eb78dc18599534b47b6670c20c63f5ee2 Mon Sep 17 00:00:00 2001 1From a4d87aca1c00c53b386ee7490223971e00873add Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 Sep 2019 20:04:26 -0700 3Date: Tue, 10 Sep 2019 20:04:26 -0700
4Subject: [PATCH] src: Do not reset FINAL_LIBS 4Subject: [PATCH] src: Do not reset FINAL_LIBS
@@ -9,17 +9,17 @@ environment to get it going
9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics 9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14--- 14---
15 src/Makefile | 2 +- 15 src/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
18diff --git a/src/Makefile b/src/Makefile 18diff --git a/src/Makefile b/src/Makefile
19index 5564351..83ccd76 100644 19index 35dd314..3770f96 100644
20--- a/src/Makefile 20--- a/src/Makefile
21+++ b/src/Makefile 21+++ b/src/Makefile
22@@ -91,7 +91,7 @@ endif 22@@ -93,7 +93,7 @@ endif
23 23
24 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS) 24 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
25 FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG) 25 FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
diff --git a/meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch b/meta-oe/recipes-extended/redis/redis/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
index 20f689bd0b..d73c66c9d0 100644
--- a/meta-oe/recipes-extended/redis/redis/GNU_SOURCE.patch
+++ b/meta-oe/recipes-extended/redis/redis/0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch
@@ -1,4 +1,4 @@
1From 98d526f76049be21bf3d77158236b2189419a78e Mon Sep 17 00:00:00 2001 1From 2e6311c9c7cd85bf63eab8fe92c08ec1ec01b6fc Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Dec 2019 12:09:51 -0800 3Date: Sat, 21 Dec 2019 12:09:51 -0800
4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER 4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER
@@ -9,6 +9,7 @@ Fixes
9| | ^~~~~~~~~~~~~~~~~~~~~~~~~ 9| | ^~~~~~~~~~~~~~~~~~~~~~~~~
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
13--- 14---
14 src/zmalloc.c | 1 + 15 src/zmalloc.c | 1 +
@@ -26,6 +27,3 @@ index 1f33d09..5e182d1 100644
26 #include <stdio.h> 27 #include <stdio.h>
27 #include <stdlib.h> 28 #include <stdlib.h>
28 #include <stdint.h> 29 #include <stdint.h>
29--
302.25.1
31
diff --git a/meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch b/meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch
index 9d7e502717..bb3f5c607e 100644
--- a/meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch
+++ b/meta-oe/recipes-extended/redis/redis/0006-Define-correct-gregs-for-RISCV32.patch
@@ -1,9 +1,10 @@
1From 26bd72f3b8de22e5036d86e6c79f815853b83473 Mon Sep 17 00:00:00 2001 1From 6149911f7a6fbaef3ed418408e2b501fa9479ffa Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 26 Oct 2020 21:32:22 -0700 3Date: Mon, 26 Oct 2020 21:32:22 -0700
4Subject: [PATCH] Define correct gregs for RISCV32 4Subject: [PATCH] Define correct gregs for RISCV32
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 9
9Updated patch for 6.2.1 10Updated patch for 6.2.1
@@ -13,10 +14,10 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
13 1 file changed, 24 insertions(+), 2 deletions(-) 14 1 file changed, 24 insertions(+), 2 deletions(-)
14 15
15diff --git a/src/debug.c b/src/debug.c 16diff --git a/src/debug.c b/src/debug.c
16index 5318c14..8c21b47 100644 17index bb76c5d..55a0696 100644
17--- a/src/debug.c 18--- a/src/debug.c
18+++ b/src/debug.c 19+++ b/src/debug.c
19@@ -1055,7 +1055,9 @@ static void* getAndSetMcontextEip(ucontext_t *uc, void *eip) { 20@@ -1067,7 +1067,9 @@ static void* getAndSetMcontextEip(ucontext_t *uc, void *eip) {
20 #endif 21 #endif
21 #elif defined(__linux__) 22 #elif defined(__linux__)
22 /* Linux */ 23 /* Linux */
@@ -27,7 +28,7 @@ index 5318c14..8c21b47 100644
27 GET_SET_RETURN(uc->uc_mcontext.gregs[14], eip); 28 GET_SET_RETURN(uc->uc_mcontext.gregs[14], eip);
28 #elif defined(__X86_64__) || defined(__x86_64__) 29 #elif defined(__X86_64__) || defined(__x86_64__)
29 GET_SET_RETURN(uc->uc_mcontext.gregs[16], eip); 30 GET_SET_RETURN(uc->uc_mcontext.gregs[16], eip);
30@@ -1222,8 +1224,28 @@ void logRegisters(ucontext_t *uc) { 31@@ -1234,8 +1236,28 @@ void logRegisters(ucontext_t *uc) {
31 #endif 32 #endif
32 /* Linux */ 33 /* Linux */
33 #elif defined(__linux__) 34 #elif defined(__linux__)
@@ -57,6 +58,3 @@ index 5318c14..8c21b47 100644
57 serverLog(LL_WARNING, 58 serverLog(LL_WARNING,
58 "\n" 59 "\n"
59 "EAX:%08lx EBX:%08lx ECX:%08lx EDX:%08lx\n" 60 "EAX:%08lx EBX:%08lx ECX:%08lx EDX:%08lx\n"
60--
612.25.1
62
diff --git a/meta-oe/recipes-extended/redis/redis/init-redis-server b/meta-oe/recipes-extended/redis/redis/init-redis-server
index c5f335f57d..c5f335f57d 100755..100644
--- a/meta-oe/recipes-extended/redis/redis/init-redis-server
+++ b/meta-oe/recipes-extended/redis/redis/init-redis-server
diff --git a/meta-oe/recipes-extended/redis/redis_6.2.14.bb b/meta-oe/recipes-extended/redis/redis_6.2.18.bb
index 2433abba55..171c6640f2 100644
--- a/meta-oe/recipes-extended/redis/redis_6.2.14.bb
+++ b/meta-oe/recipes-extended/redis/redis_6.2.18.bb
@@ -10,19 +10,20 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
10 file://redis.conf \ 10 file://redis.conf \
11 file://init-redis-server \ 11 file://init-redis-server \
12 file://redis.service \ 12 file://redis.service \
13 file://hiredis-use-default-CC-if-it-is-set.patch \ 13 file://0001-hiredis-use-default-CC-if-it-is-set.patch \
14 file://lua-update-Makefile-to-use-environment-build-setting.patch \ 14 file://0002-lua-update-Makefile-to-use-environment-build-setting.patch \
15 file://oe-use-libc-malloc.patch \ 15 file://0003-hack-to-force-use-of-libc-malloc.patch \
16 file://0001-src-Do-not-reset-FINAL_LIBS.patch \ 16 file://0004-src-Do-not-reset-FINAL_LIBS.patch \
17 file://GNU_SOURCE.patch \ 17 file://0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch \
18 file://0006-Define-correct-gregs-for-RISCV32.patch \ 18 file://0006-Define-correct-gregs-for-RISCV32.patch \
19 " 19 "
20SRC_URI[sha256sum] = "34e74856cbd66fdb3a684fb349d93961d8c7aa668b06f81fd93ff267d09bc277"
21 20
22inherit autotools-brokensep update-rc.d systemd useradd 21SRC_URI[sha256sum] = "470c75bac73d7390be4dd66479c6f29e86371c5d380ce0c7efb4ba2bbda3612d"
22
23inherit update-rc.d systemd useradd
23 24
24FINAL_LIBS:x86:toolchain-clang = "-latomic" 25FINAL_LIBS:x86:toolchain-clang = "-latomic"
25FINAL_LIBS:riscv32:toolchain-clang = "-latomic" 26FINAL_LIBS:riscv32 = "-latomic"
26FINAL_LIBS:mips = "-latomic" 27FINAL_LIBS:mips = "-latomic"
27FINAL_LIBS:arm = "-latomic" 28FINAL_LIBS:arm = "-latomic"
28FINAL_LIBS:powerpc = "-latomic" 29FINAL_LIBS:powerpc = "-latomic"
@@ -36,7 +37,7 @@ GROUPADD_PARAM:${PN} = "--system redis"
36REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}" 37REDIS_ON_SYSTEMD = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"
37 38
38do_compile:prepend() { 39do_compile:prepend() {
39 (cd deps && oe_runmake hiredis lua linenoise) 40 oe_runmake -C deps hiredis lua linenoise
40} 41}
41 42
42do_install() { 43do_install() {
diff --git a/meta-oe/recipes-extended/redis/redis_7.2.5.bb b/meta-oe/recipes-extended/redis/redis_7.2.8.bb
index bfb46240a7..3c4d84085b 100644
--- a/meta-oe/recipes-extended/redis/redis_7.2.5.bb
+++ b/meta-oe/recipes-extended/redis/redis_7.2.8.bb
@@ -10,19 +10,22 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \
10 file://redis.conf \ 10 file://redis.conf \
11 file://init-redis-server \ 11 file://init-redis-server \
12 file://redis.service \ 12 file://redis.service \
13 file://hiredis-use-default-CC-if-it-is-set.patch \ 13 file://0001-hiredis-use-default-CC-if-it-is-set.patch \
14 file://lua-update-Makefile-to-use-environment-build-setting.patch \ 14 file://0002-lua-update-Makefile-to-use-environment-build-setting.patch \
15 file://oe-use-libc-malloc.patch \ 15 file://0003-hack-to-force-use-of-libc-malloc.patch \
16 file://0001-src-Do-not-reset-FINAL_LIBS.patch \ 16 file://0004-src-Do-not-reset-FINAL_LIBS.patch \
17 file://GNU_SOURCE-7.patch \ 17 file://0005-Define-_GNU_SOURCE-to-get-PTHREAD_MUTEX_INITIALIZER.patch \
18 file://0006-Define-correct-gregs-for-RISCV32.patch \ 18 file://0006-Define-correct-gregs-for-RISCV32.patch \
19 " 19 "
20SRC_URI[sha256sum] = "5981179706f8391f03be91d951acafaeda91af7fac56beffb2701963103e423d"
21 20
22inherit autotools-brokensep pkgconfig update-rc.d systemd useradd 21SRC_URI[sha256sum] = "6be4fdfcdb2e5ac91454438246d00842d2671f792673390e742dfcaf1bf01574"
22
23RPROVIDES:${PN} = "virtual-redis"
24
25inherit pkgconfig update-rc.d systemd useradd
23 26
24FINAL_LIBS:x86:toolchain-clang = "-latomic" 27FINAL_LIBS:x86:toolchain-clang = "-latomic"
25FINAL_LIBS:riscv32:toolchain-clang = "-latomic" 28FINAL_LIBS:riscv32 = "-latomic"
26FINAL_LIBS:mips = "-latomic" 29FINAL_LIBS:mips = "-latomic"
27FINAL_LIBS:arm = "-latomic" 30FINAL_LIBS:arm = "-latomic"
28FINAL_LIBS:powerpc = "-latomic" 31FINAL_LIBS:powerpc = "-latomic"
@@ -39,7 +42,7 @@ PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd"
39EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" 42EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
40 43
41do_compile:prepend() { 44do_compile:prepend() {
42 (cd deps && oe_runmake hiredis lua linenoise) 45 oe_runmake -C deps hiredis lua linenoise
43} 46}
44 47
45do_install() { 48do_install() {
@@ -68,3 +71,6 @@ INITSCRIPT_NAME = "redis-server"
68INITSCRIPT_PARAMS = "defaults 87" 71INITSCRIPT_PARAMS = "defaults 87"
69 72
70SYSTEMD_SERVICE:${PN} = "redis.service" 73SYSTEMD_SERVICE:${PN} = "redis.service"
74
75CVE_STATUS[CVE-2022-3734] = "not-applicable-platform: CVE only applies for Windows."
76CVE_STATUS[CVE-2022-0543] = "not-applicable-platform: Debian-specific CVE"
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool/b76e3c578f1e9f582e9c28f50d82b1f569602075.patch b/meta-oe/recipes-extended/rrdtool/rrdtool/b76e3c578f1e9f582e9c28f50d82b1f569602075.patch
deleted file mode 100644
index 7f54a3723d..0000000000
--- a/meta-oe/recipes-extended/rrdtool/rrdtool/b76e3c578f1e9f582e9c28f50d82b1f569602075.patch
+++ /dev/null
@@ -1,1583 +0,0 @@
1From b76e3c578f1e9f582e9c28f50d82b1f569602075 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Michal=20Such=C3=A1nek?= <hramrach@gmail.com>
3Date: Fri, 5 Jan 2024 15:31:48 +0100
4Subject: [PATCH] Constify argv, fix warnings. (#1242)
5
6* Fix perl warnings
7
8 - cast POPs to void to avoid unused value warning
9 - declare functions that don't set RETVAL as returning void
10
11Signed-off-by: Michal Suchanek <msuchanek@suse.de>
12
13* Constify argv
14
15rrd has no business modifying the string pointed to by passed agrv, and
16as far as gcc can see it does indeed not modify them because it compiles
17with const argv.
18
19This fixes warnings when passing const strings into rrd, and avoids the
20need to duplicate all strings in the tcl bindings.
21
22This fixes warnings like these:
23[ 3s] prog/sensord/rrd.c: In function 'rrdInit':
24[ 3s] prog/sensord/rrd.c:302:40: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
25[ 3s] 302 | ret = rrd_create(argc, (char**) argv);
26[ 3s] | ^
27[ 3s] prog/sensord/rrd.c: In function 'rrdUpdate':
28[ 3s] prog/sensord/rrd.c:458:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
29[ 3s] 458 | if ((ret = rrd_update(3, (char **) /* WEAK */ argv))) {
30[ 3s] | ^
31
32Signed-off-by: Michal Suchanek <msuchanek@suse.de>
33
34* tcl: Do not duplicate const strings
35
36---------
37
38Signed-off-by: Michal Suchanek <msuchanek@suse.de>
39Upstream-Status: Backport [https://github.com/oetiker/rrdtool-1.x/commit/b76e3c578f1e9f582e9c28f50d82b1f569602075]
40---
41 CHANGES | 3 ++
42 bindings/lua/rrdlua.c | 25 +++++-----
43 bindings/perl-shared/RRDs.xs | 36 +++++++-------
44 bindings/python/rrdtoolmodule.c | 38 +++++++--------
45 bindings/ruby/main.c | 10 ++--
46 bindings/tcl/tclrrd.c | 84 ++++++++-------------------------
47 src/optparse.c | 14 +++---
48 src/optparse.h | 6 +--
49 src/rrd.h | 38 +++++++--------
50 src/rrd_cgi.c | 24 +++++-----
51 src/rrd_create.c | 2 +-
52 src/rrd_daemon.c | 12 ++---
53 src/rrd_dump.c | 4 +-
54 src/rrd_fetch.c | 2 +-
55 src/rrd_first.c | 2 +-
56 src/rrd_flushcached.c | 2 +-
57 src/rrd_graph.c | 6 +--
58 src/rrd_graph.h | 4 +-
59 src/rrd_graph_helper.c | 2 +-
60 src/rrd_info.c | 2 +-
61 src/rrd_last.c | 2 +-
62 src/rrd_lastupdate.c | 2 +-
63 src/rrd_list.c | 6 +--
64 src/rrd_modify.c | 2 +-
65 src/rrd_modify.h | 2 +-
66 src/rrd_resize.c | 4 +-
67 src/rrd_restore.c | 2 +-
68 src/rrd_tool.c | 26 +++++-----
69 src/rrd_tune.c | 2 +-
70 src/rrd_update.c | 4 +-
71 src/rrd_xport.c | 2 +-
72 src/rrdupdate.c | 7 +--
73 32 files changed, 168 insertions(+), 209 deletions(-)
74
75diff --git a/bindings/lua/rrdlua.c b/bindings/lua/rrdlua.c
76index d1a700641..2095c3b5b 100644
77--- a/bindings/lua/rrdlua.c
78+++ b/bindings/lua/rrdlua.c
79@@ -37,8 +37,8 @@
80 extern void rrd_freemem(void *mem);
81
82 extern int luaopen_rrd (lua_State * L);
83-typedef int (*RRD_FUNCTION)(int, char **);
84-typedef rrd_info_t *(RRD_FUNCTION_V)(int, char **);
85+typedef int (*RRD_FUNCTION)(int, const char **);
86+typedef rrd_info_t *(RRD_FUNCTION_V)(int, const char **);
87
88 /**********************************************************/
89
90@@ -49,9 +49,9 @@ static void reset_rrd_state(void)
91 rrd_clear_error();
92 }
93
94-static char **make_argv(const char *cmd, lua_State * L)
95+static const char **make_argv(const char *cmd, lua_State * L)
96 {
97- char **argv;
98+ const char **argv;
99 int i;
100 int argc = lua_gettop(L) + 1;
101
102@@ -60,13 +60,12 @@ static char **make_argv(const char *cmd, lua_State * L)
103 luaL_error(L, "Can't allocate memory for arguments array", cmd);
104
105 /* fprintf(stderr, "Args:\n"); */
106- argv[0] = (char *) cmd; /* Dummy arg. Cast to (char *) because rrd */
107- /* functions don't expect (const * char) */
108+ argv[0] = cmd;
109 /* fprintf(stderr, "%s\n", argv[0]); */
110 for (i=1; i<argc; i++) {
111 /* accepts string or number */
112 if (lua_isstring(L, i) || lua_isnumber(L, i)) {
113- if (!(argv[i] = (char *) lua_tostring (L, i))) {
114+ if (!(argv[i] = lua_tostring (L, i))) {
115 /* raise an error and never return */
116 luaL_error(L, "%s - error duplicating string area for arg #%d",
117 cmd, i);
118@@ -84,7 +83,7 @@ static char **make_argv(const char *cmd, lua_State * L)
119 static int
120 rrd_common_call (lua_State *L, const char *cmd, RRD_FUNCTION rrd_function)
121 {
122- char **argv;
123+ const char **argv;
124 int argc = lua_gettop(L) + 1;
125
126 argv = make_argv(cmd, L);
127@@ -99,7 +98,7 @@ rrd_common_call (lua_State *L, const char *cmd, RRD_FUNCTION rrd_function)
128 static int
129 lua_rrd_infocall(lua_State *L, const char *cmd, RRD_FUNCTION_V rrd_function)
130 {
131- char **argv;
132+ const char **argv;
133 rrd_info_t *p, *data;
134 int argc = lua_gettop(L) + 1;
135
136@@ -197,7 +196,7 @@ static int
137 lua_rrd_fetch (lua_State * L)
138 {
139 int argc = lua_gettop(L) + 1;
140- char **argv = make_argv("fetch", L);
141+ const char **argv = make_argv("fetch", L);
142 unsigned long i, j, step, ds_cnt;
143 rrd_value_t *data, *p;
144 char **names;
145@@ -246,7 +245,7 @@ lua_rrd_first (lua_State * L)
146 {
147 time_t first;
148 int argc = lua_gettop(L) + 1;
149- char **argv = make_argv("first", L);
150+ const char **argv = make_argv("first", L);
151 reset_rrd_state();
152 first = rrd_first(argc, argv);
153 free(argv);
154@@ -260,7 +259,7 @@ lua_rrd_last (lua_State * L)
155 {
156 time_t last;
157 int argc = lua_gettop(L) + 1;
158- char **argv = make_argv("last", L);
159+ const char **argv = make_argv("last", L);
160 reset_rrd_state();
161 last = rrd_last(argc, argv);
162 free(argv);
163@@ -275,7 +274,7 @@ static int
164 lua_rrd_graph (lua_State * L)
165 {
166 int argc = lua_gettop(L) + 1;
167- char **argv = make_argv("last", L);
168+ const char **argv = make_argv("last", L);
169 char **calcpr;
170 int i, xsize, ysize;
171 double ymin, ymax;
172diff --git a/bindings/perl-shared/RRDs.xs b/bindings/perl-shared/RRDs.xs
173index e233b5835..edce76ec4 100644
174--- a/bindings/perl-shared/RRDs.xs
175+++ b/bindings/perl-shared/RRDs.xs
176@@ -44,11 +44,11 @@ extern "C" {
177 strcpy(argv[i+1],handle); \
178 } \
179 rrd_clear_error();\
180- RETVAL=name(items+1,argv); \
181+ RETVAL = name(items + 1, (const char **)argv); \
182 for (i=0; i < items; i++) {\
183- free(argv[i+1]);\
184+ free((void *)argv[i+1]);\
185 } \
186- free(argv);\
187+ free((void *)argv);\
188 \
189 if (rrd_test_error()) XSRETURN_UNDEF;
190
191@@ -67,11 +67,11 @@ extern "C" {
192 strcpy(argv[i+1],handle); \
193 } \
194 rrd_clear_error(); \
195- data=name(items+1, argv); \
196+ data = name(items + 1, (const char **)argv); \
197 for (i=0; i < items; i++) { \
198- free(argv[i+1]); \
199+ free((void *)argv[i+1]); \
200 } \
201- free(argv); \
202+ free((void *)argv); \
203 if (rrd_test_error()) XSRETURN_UNDEF; \
204 hash = newHV(); \
205 save=data; \
206@@ -175,7 +175,7 @@ static int rrd_fetch_cb_wrapper(
207 /* Check the eval first */
208 if (SvTRUE(ERRSV)) {
209 rrd_set_error("perl callback failed: %s",SvPV_nolen(ERRSV));
210- POPs; /* there is undef on top of the stack when there is an error
211+ (void)POPs; /* there is undef on top of the stack when there is an error
212 and call_sv was initiated with G_EVAL|G_SCALER */
213 goto error_out;
214 }
215@@ -383,7 +383,7 @@ rrd_tune(...)
216
217 #ifdef HAVE_RRD_GRAPH
218
219-SV *
220+void
221 rrd_graph(...)
222 PROTOTYPE: @
223 PREINIT:
224@@ -404,7 +404,7 @@ rrd_graph(...)
225 strcpy(argv[i+1],handle);
226 }
227 rrd_clear_error();
228- rrd_graph(items+1,argv,&calcpr,&xsize,&ysize,NULL,&ymin,&ymax);
229+ rrd_graph(items+1,(const char **)argv,&calcpr,&xsize,&ysize,NULL,&ymin,&ymax);
230 for (i=0; i < items; i++) {
231 free(argv[i+1]);
232 }
233@@ -433,7 +433,7 @@ rrd_graph(...)
234
235 #endif /* HAVE_RRD_GRAPH */
236
237-SV *
238+void
239 rrd_fetch(...)
240 PROTOTYPE: @
241 PREINIT:
242@@ -455,7 +455,7 @@ rrd_fetch(...)
243 strcpy(argv[i+1],handle);
244 }
245 rrd_clear_error();
246- rrd_fetch(items+1,argv,&start,&end,&step,&ds_cnt,&ds_namv,&data);
247+ rrd_fetch(items+1,(const char **)argv,&start,&end,&step,&ds_cnt,&ds_namv,&data);
248 for (i=0; i < items; i++) {
249 free(argv[i+1]);
250 }
251@@ -486,7 +486,7 @@ rrd_fetch(...)
252 PUSHs(sv_2mortal(newRV_noinc((SV*)names)));
253 PUSHs(sv_2mortal(newRV_noinc((SV*)retar)));
254
255-SV *
256+void
257 rrd_fetch_cb_register(cb)
258 SV * cb
259 CODE:
260@@ -496,7 +496,7 @@ rrd_fetch_cb_register(cb)
261 SvSetSV(rrd_fetch_cb_svptr,cb);
262 rrd_fetch_cb_register(rrd_fetch_cb_wrapper);
263
264-SV *
265+void
266 rrd_times(start, end)
267 char *start
268 char *end
269@@ -521,7 +521,7 @@ rrd_times(start, end)
270 PUSHs(sv_2mortal(newSVuv(start_tmp)));
271 PUSHs(sv_2mortal(newSVuv(end_tmp)));
272
273-int
274+void
275 rrd_xport(...)
276 PROTOTYPE: @
277 PREINIT:
278@@ -543,7 +543,7 @@ rrd_xport(...)
279 strcpy(argv[i+1],handle);
280 }
281 rrd_clear_error();
282- rrd_xport(items+1,argv,&xsize,&start,&end,&step,&col_cnt,&legend_v,&data);
283+ rrd_xport(items+1,(const char **)argv,&xsize,&start,&end,&step,&col_cnt,&legend_v,&data);
284 for (i=0; i < items; i++) {
285 free(argv[i+1]);
286 }
287@@ -657,7 +657,7 @@ rrd_flushcached(...)
288 OUTPUT:
289 RETVAL
290
291-SV*
292+void
293 rrd_list(...)
294 PROTOTYPE: @
295 PREINIT:
296@@ -667,7 +667,7 @@ rrd_list(...)
297 char **argv;
298 AV *list;
299 PPCODE:
300- argv = (char **) malloc((items+1)*sizeof(char *));
301+ argv = malloc((items+1)*sizeof(char *));
302 argv[0] = "dummy";
303
304 for (i = 0; i < items; i++) {
305@@ -681,7 +681,7 @@ rrd_list(...)
306
307 rrd_clear_error();
308
309- data = rrd_list(items+1, argv);
310+ data = rrd_list(items+1, (const char **)argv);
311
312 for (i=0; i < items; i++) {
313 free(argv[i+1]);
314diff --git a/bindings/python/rrdtoolmodule.c b/bindings/python/rrdtoolmodule.c
315index 1ab463584..f255e65bc 100644
316--- a/bindings/python/rrdtoolmodule.c
317+++ b/bindings/python/rrdtoolmodule.c
318@@ -123,7 +123,7 @@ PyRRD_String_FromCF(enum cf_en cf)
319 * @return Zero if the function succeeds, otherwise -1
320 */
321 static int
322-convert_args(char *command, PyObject *args, char ***rrdtool_argv, int *rrdtool_argc)
323+convert_args(char *command, PyObject *args, const char ***rrdtool_argv, int *rrdtool_argc)
324 {
325 PyObject *o, *lo;
326 int i, j, args_count, argv_count, element_count;
327@@ -145,7 +145,7 @@ convert_args(char *command, PyObject *args, char ***rrdtool_argv, int *rrdtool_a
328 }
329 }
330
331- *rrdtool_argv = PyMem_New(char *, element_count + 1);
332+ *rrdtool_argv = PyMem_New(const char *, element_count + 1);
333
334 if (*rrdtool_argv == NULL)
335 return -1;
336@@ -186,7 +186,7 @@ convert_args(char *command, PyObject *args, char ***rrdtool_argv, int *rrdtool_a
337 * Destroy argument vector.
338 */
339 static void
340-destroy_args(char ***rrdtool_argv)
341+destroy_args(const char ***rrdtool_argv)
342 {
343 PyMem_Del(*rrdtool_argv);
344 *rrdtool_argv = NULL;
345@@ -267,7 +267,7 @@ static char _rrdtool_create__doc__[] = "Create a new Round Robin Database.\n\n\
346 static PyObject *
347 _rrdtool_create(PyObject *Py_UNUSED(self), PyObject *args)
348 {
349- char **rrdtool_argv = NULL;
350+ const char **rrdtool_argv = NULL;
351 int rrdtool_argc = 0;
352 PyObject *ret;
353 int status;
354@@ -306,7 +306,7 @@ static char _rrdtool_dump__doc__[] = "Dump an RRD to XML.\n\n\
355 static PyObject *
356 _rrdtool_dump(PyObject *Py_UNUSED(self), PyObject *args)
357 {
358- char **rrdtool_argv = NULL;
359+ const char **rrdtool_argv = NULL;
360 int rrdtool_argc = 0;
361 PyObject *ret;
362 int status;
363@@ -345,7 +345,7 @@ static char _rrdtool_update__doc__[] = "Store a new set of values into\
364 static PyObject *
365 _rrdtool_update(PyObject *Py_UNUSED(self), PyObject *args)
366 {
367- char **rrdtool_argv = NULL;
368+ const char **rrdtool_argv = NULL;
369 int rrdtool_argc = 0;
370 PyObject *ret;
371 int status;
372@@ -378,7 +378,7 @@ static char _rrdtool_updatev__doc__[] = "Store a new set of values into "\
373 static PyObject *
374 _rrdtool_updatev(PyObject *Py_UNUSED(self), PyObject *args)
375 {
376- char **rrdtool_argv = NULL;
377+ const char **rrdtool_argv = NULL;
378 int rrdtool_argc = 0;
379 PyObject *ret;
380 rrd_info_t *data;
381@@ -419,7 +419,7 @@ static char _rrdtool_fetch__doc__[] = "Fetch data from an RRD.\n\n\
382 static PyObject *
383 _rrdtool_fetch(PyObject *Py_UNUSED(self), PyObject *args)
384 {
385- char **rrdtool_argv = NULL;
386+ const char **rrdtool_argv = NULL;
387 int rrdtool_argc = 0;
388 PyObject *ret, *range_tup, *dsnam_tup, *data_list, *t;
389 rrd_value_t *data, *datai, dv;
390@@ -497,7 +497,7 @@ static char _rrdtool_flushcached__doc__[] = "Flush RRD files from memory.\n\n\
391 static PyObject *
392 _rrdtool_flushcached(PyObject *Py_UNUSED(self), PyObject *args)
393 {
394- char **rrdtool_argv = NULL;
395+ const char **rrdtool_argv = NULL;
396 int rrdtool_argc = 0;
397 PyObject *ret;
398 int status;
399@@ -592,7 +592,7 @@ static char _rrdtool_graph__doc__[] = "Create a graph based on one or more " \
400 static PyObject *
401 _rrdtool_graph(PyObject *Py_UNUSED(self), PyObject *args)
402 {
403- char **rrdtool_argv = NULL;
404+ const char **rrdtool_argv = NULL;
405 int rrdtool_argc = 0;
406 PyObject *ret;
407 int xsize, ysize, i, status;
408@@ -650,7 +650,7 @@ static char _rrdtool_graphv__doc__[] = "Create a graph based on one or more " \
409 static PyObject *
410 _rrdtool_graphv(PyObject *Py_UNUSED(self), PyObject *args)
411 {
412- char **rrdtool_argv = NULL;
413+ const char **rrdtool_argv = NULL;
414 int rrdtool_argc = 0;
415 PyObject *ret;
416 rrd_info_t *data;
417@@ -695,7 +695,7 @@ static char _rrdtool_xport__doc__[] = "Dictionary representation of data " \
418 static PyObject *
419 _rrdtool_xport(PyObject *Py_UNUSED(self), PyObject *args)
420 {
421- char **rrdtool_argv = NULL;
422+ const char **rrdtool_argv = NULL;
423 int rrdtool_argc = 0;
424 PyObject *ret;
425 int xsize, status;
426@@ -793,7 +793,7 @@ static char _rrdtool_list__doc__[] = "List RRDs in storage.\n\n" \
427 static PyObject *
428 _rrdtool_list(PyObject *Py_UNUSED(self), PyObject *args)
429 {
430- char **rrdtool_argv = NULL;
431+ const char **rrdtool_argv = NULL;
432 int rrdtool_argc = 0;
433 PyObject *ret, *str;
434 char *data, *ptr, *end;
435@@ -855,7 +855,7 @@ static char _rrdtool_tune__doc__[] = "Modify some basic properties of a " \
436 static PyObject *
437 _rrdtool_tune(PyObject *Py_UNUSED(self), PyObject *args)
438 {
439- char **rrdtool_argv = NULL;
440+ const char **rrdtool_argv = NULL;
441 int rrdtool_argc = 0;
442 PyObject *ret;
443 int status;
444@@ -893,7 +893,7 @@ static char _rrdtool_first__doc__[] = "Get the first UNIX timestamp of the "\
445 static PyObject *
446 _rrdtool_first(PyObject *Py_UNUSED(self), PyObject *args)
447 {
448- char **rrdtool_argv = NULL;
449+ const char **rrdtool_argv = NULL;
450 int rrdtool_argc = 0;
451 PyObject *ret;
452 int ts;
453@@ -928,7 +928,7 @@ static char _rrdtool_last__doc__[] = "Get the UNIX timestamp of the most "\
454 static PyObject *
455 _rrdtool_last(PyObject *Py_UNUSED(self), PyObject *args)
456 {
457- char **rrdtool_argv = NULL;
458+ const char **rrdtool_argv = NULL;
459 int rrdtool_argc = 0;
460 PyObject *ret;
461 int ts;
462@@ -965,7 +965,7 @@ static char _rrdtool_resize__doc__[] = "Modify the number of rows in a "\
463 static PyObject *
464 _rrdtool_resize(PyObject *Py_UNUSED(self), PyObject *args)
465 {
466- char **rrdtool_argv = NULL;
467+ const char **rrdtool_argv = NULL;
468 int rrdtool_argc = 0;
469 PyObject *ret;
470 int status;
471@@ -1003,7 +1003,7 @@ static char _rrdtool_info__doc__[] = "Extract header information from an "\
472 static PyObject *
473 _rrdtool_info(PyObject *Py_UNUSED(self), PyObject *args)
474 {
475- char **rrdtool_argv = NULL;
476+ const char **rrdtool_argv = NULL;
477 int rrdtool_argc = 0;
478 PyObject *ret;
479 rrd_info_t *data;
480@@ -1040,7 +1040,7 @@ static char _rrdtool_lastupdate__doc__[] = "Returns datetime and value stored "\
481 static PyObject *
482 _rrdtool_lastupdate(PyObject *Py_UNUSED(self), PyObject *args)
483 {
484- char **rrdtool_argv = NULL;
485+ const char **rrdtool_argv = NULL;
486 int rrdtool_argc = 0;
487 PyObject *ret, *ds_dict, *lastupd;
488 int status;
489diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c
490index e4cc6443d..a036b7fb8 100644
491--- a/bindings/ruby/main.c
492+++ b/bindings/ruby/main.c
493@@ -9,7 +9,7 @@
494
495 typedef struct string_arr_t {
496 int len;
497- char **strings;
498+ const char **strings;
499 } string_arr;
500
501 VALUE mRRD;
502@@ -18,12 +18,12 @@ VALUE rb_eRRDError;
503 typedef int (
504 *RRDFUNC) (
505 int argc,
506- char **argv);
507+ const char **argv);
508
509 typedef rrd_info_t *(
510 *RRDINFOFUNC) (
511 int argc,
512- char **argv);
513+ const char **argv);
514
515 #define RRD_CHECK_ERROR \
516 if (rrd_test_error()) \
517@@ -72,10 +72,10 @@ void string_arr_delete(
518
519 /* skip dummy first entry */
520 for (i = 1; i < a.len; i++) {
521- free(a.strings[i]);
522+ free((void *)a.strings[i]);
523 }
524
525- free(a.strings);
526+ free((void *)a.strings);
527 }
528
529 void reset_rrd_state(
530diff --git a/bindings/tcl/tclrrd.c b/bindings/tcl/tclrrd.c
531index 2927d9251..58a4cef68 100644
532--- a/bindings/tcl/tclrrd.c
533+++ b/bindings/tcl/tclrrd.c
534@@ -22,6 +22,7 @@
535 #include <stdlib.h>
536 #include "../../src/rrd_tool.h"
537 #include "../../src/rrd_format.h"
538+#include "../../src/unused.h"
539
540 /* support pre-8.4 tcl */
541
542@@ -41,47 +42,39 @@ extern int Tclrrd_SafeInit(
543 * Hence, we need to do some preparation before
544 * calling the rrd library functions.
545 */
546-static char **getopt_init(
547+static const char **getopt_init(
548 int argc,
549 CONST84 char *argv[])
550 {
551- char **argv2;
552+ const char **argv2;
553 int i;
554
555 argv2 = calloc(argc, sizeof(char *));
556 for (i = 0; i < argc; i++) {
557- argv2[i] = strdup(argv[i]);
558+ argv2[i] = argv[i];
559 }
560 return argv2;
561 }
562
563 static void getopt_cleanup(
564- int argc,
565- char **argv2)
566+ int UNUSED(argc),
567+ const char **argv2)
568 {
569- int i;
570-
571- for (i = 0; i < argc; i++) {
572- if (argv2[i] != NULL) {
573- free(argv2[i]);
574- }
575- }
576- free(argv2);
577+ free((void *)argv2);
578 }
579
580 static void getopt_free_element(
581- char *argv2[],
582+ const char *argv2[],
583 int argn)
584 {
585 if (argv2[argn] != NULL) {
586- free(argv2[argn]);
587 argv2[argn] = NULL;
588 }
589 }
590
591 static void getopt_squieeze(
592 int *argc,
593- char *argv2[])
594+ const char *argv2[])
595 {
596 int i, null_i = 0, argc_tmp = *argc;
597
598@@ -104,7 +97,7 @@ static int Rrd_Create(
599 CONST84 char *argv[])
600 {
601 int argv_i;
602- char **argv2;
603+ const char **argv2;
604 char *parsetime_error = NULL;
605 time_t last_up = time(NULL) - 10;
606 long int long_tmp;
607@@ -295,7 +288,7 @@ static int Rrd_Flushcached(
608 return TCL_ERROR;
609 }
610
611- rrd_flushcached(argc, (char**)argv);
612+ rrd_flushcached(argc, argv);
613
614 if (rrd_test_error()) {
615 Tcl_AppendResult(interp, "RRD Error: ",
616@@ -380,7 +373,7 @@ static int Rrd_Update(
617 CONST84 char *argv[])
618 {
619 int argv_i;
620- char **argv2, *template = NULL;
621+ const char **argv2, *template = NULL;
622
623 argv2 = getopt_init(argc, argv);
624
625@@ -391,16 +384,10 @@ static int Rrd_Update(
626 Tcl_AppendResult(interp, "RRD Error: option '",
627 argv2[argv_i - 1], "' needs an argument",
628 (char *) NULL);
629- if (template != NULL) {
630- free(template);
631- }
632 getopt_cleanup(argc, argv2);
633 return TCL_ERROR;
634 }
635- if (template != NULL) {
636- free(template);
637- }
638- template = strdup(argv2[argv_i]);
639+ template = argv2[argv_i];
640 getopt_free_element(argv2, argv_i - 1);
641 getopt_free_element(argv2, argv_i);
642 } else if (!strcmp(argv2[argv_i], "--")) {
643@@ -409,9 +396,6 @@ static int Rrd_Update(
644 } else if (argv2[argv_i][0] == '-') {
645 Tcl_AppendResult(interp, "RRD Error: unknown option '",
646 argv2[argv_i], "'", (char *) NULL);
647- if (template != NULL) {
648- free(template);
649- }
650 getopt_cleanup(argc, argv2);
651 return TCL_ERROR;
652 }
653@@ -422,18 +406,12 @@ static int Rrd_Update(
654 if (argc < 2) {
655 Tcl_AppendResult(interp, "RRD Error: needs rrd filename",
656 (char *) NULL);
657- if (template != NULL) {
658- free(template);
659- }
660 getopt_cleanup(argc, argv2);
661 return TCL_ERROR;
662 }
663
664 rrd_update_r(argv2[1], template, argc - 2, (const char **)argv2 + 2);
665
666- if (template != NULL) {
667- free(template);
668- }
669 getopt_cleanup(argc, argv2);
670
671 if (rrd_test_error()) {
672@@ -454,7 +432,6 @@ static int Rrd_Info(
673 {
674 int status = TCL_OK;
675 rrd_info_t *data;
676- char **argv2;
677
678 /* TODO: support for rrdcached */
679 if (argc != 2) {
680@@ -463,9 +440,7 @@ static int Rrd_Info(
681 return TCL_ERROR;
682 }
683
684- argv2 = getopt_init(argc, argv);
685-
686- data = rrd_info_r(argv2[1]);
687+ data = rrd_info_r(argv[1]);
688
689 if (data) {
690 Tcl_SetObjResult(interp, convert_info(data));
691@@ -477,7 +452,6 @@ static int Rrd_Info(
692 status = TCL_ERROR;
693 }
694
695- getopt_cleanup(argc, argv2);
696 return status;
697 }
698
699@@ -488,7 +462,6 @@ static int Rrd_Lastupdate(
700 CONST84 char *argv[])
701 {
702 time_t last_update;
703- char **argv2;
704 char **ds_namv;
705 char **last_ds;
706 char s[30];
707@@ -502,8 +475,7 @@ static int Rrd_Lastupdate(
708 return TCL_ERROR;
709 }
710
711- argv2 = getopt_init(argc, argv);
712- if (rrd_lastupdate_r(argv2[1], &last_update,
713+ if (rrd_lastupdate_r(argv[1], &last_update,
714 &ds_cnt, &ds_namv, &last_ds) == 0) {
715 listPtr = Tcl_GetObjResult(interp);
716 for (i = 0; i < ds_cnt; i++) {
717@@ -527,7 +499,6 @@ static int Rrd_Lastupdate(
718 free(ds_namv);
719 }
720 }
721- getopt_cleanup(argc, argv2);
722 return TCL_OK;
723 }
724
725@@ -543,10 +514,8 @@ static int Rrd_Fetch(
726 char **ds_namv;
727 Tcl_Obj *listPtr;
728 char s[30];
729- char **argv2;
730
731- argv2 = getopt_init(argc, argv);
732- if (rrd_fetch(argc, argv2, &start, &end, &step,
733+ if (rrd_fetch(argc, argv, &start, &end, &step,
734 &ds_cnt, &ds_namv, &data) != -1) {
735 datai = data;
736 listPtr = Tcl_GetObjResult(interp);
737@@ -562,7 +531,6 @@ static int Rrd_Fetch(
738 free(ds_namv);
739 free(data);
740 }
741- getopt_cleanup(argc, argv2);
742
743 if (rrd_test_error()) {
744 Tcl_AppendResult(interp, "RRD Error: ",
745@@ -590,7 +558,7 @@ static int Rrd_Graph(
746 int rc, xsize, ysize;
747 double ymin, ymax;
748 char dimensions[50];
749- char **argv2;
750+ const char **argv2;
751 CONST84 char *save;
752
753 /*
754@@ -692,11 +660,7 @@ static int Rrd_Tune(
755 int argc,
756 CONST84 char *argv[])
757 {
758- char **argv2;
759-
760- argv2 = getopt_init(argc, argv);
761- rrd_tune(argc, argv2);
762- getopt_cleanup(argc, argv2);
763+ rrd_tune(argc, argv);
764
765 if (rrd_test_error()) {
766 Tcl_AppendResult(interp, "RRD Error: ",
767@@ -716,11 +680,7 @@ static int Rrd_Resize(
768 int argc,
769 CONST84 char *argv[])
770 {
771- char **argv2;
772-
773- argv2 = getopt_init(argc, argv);
774- rrd_resize(argc, argv2);
775- getopt_cleanup(argc, argv2);
776+ rrd_resize(argc, argv);
777
778 if (rrd_test_error()) {
779 Tcl_AppendResult(interp, "RRD Error: ",
780@@ -740,11 +700,7 @@ static int Rrd_Restore(
781 int argc,
782 CONST84 char *argv[])
783 {
784- char **argv2;
785-
786- argv2 = getopt_init(argc, argv);
787- rrd_restore(argc, argv2);
788- getopt_cleanup(argc, argv2);
789+ rrd_restore(argc, argv);
790
791 if (rrd_test_error()) {
792 Tcl_AppendResult(interp, "RRD Error: ",
793diff --git a/src/optparse.c b/src/optparse.c
794index 9040ba8b2..79a3efe11 100644
795--- a/src/optparse.c
796+++ b/src/optparse.c
797@@ -10,7 +10,7 @@
798 #define options_argv(i) \
799 ((i) < options->argc ? options->argv[i] : NULL)
800
801-void optparse_init(struct optparse *options, int argc, char **argv)
802+void optparse_init(struct optparse *options, int argc, const char **argv)
803 {
804 options->argv = argv;
805 options->argc = argc;
806@@ -42,7 +42,7 @@ is_longopt(const char *arg)
807 static void
808 permute(struct optparse *options, int index)
809 {
810- char *nonoption = options->argv[index];
811+ const char *nonoption = options->argv[index];
812 for (int i = index; i < options->optind - 1; i++)
813 options->argv[i] = options->argv[i + 1];
814 options->argv[options->optind - 1] = nonoption;
815@@ -67,7 +67,7 @@ int optparse(struct optparse *options, const char *optstring)
816 options->errmsg[0] = '\0';
817 options->optopt = 0;
818 options->optarg = NULL;
819- char *option = options_argv(options->optind);
820+ const char *option = options_argv(options->optind);
821 if (option == NULL) {
822 return -1;
823 } else if (is_dashdash(option)) {
824@@ -88,7 +88,7 @@ int optparse(struct optparse *options, const char *optstring)
825 option += options->subopt + 1;
826 options->optopt = option[0];
827 int type = argtype(optstring, option[0]);
828- char *next = options_argv(options->optind + 1);
829+ const char *next = options_argv(options->optind + 1);
830 switch (type) {
831 case -1:
832 opterror(options, "invalid option -- '%c'", option[0]);
833@@ -128,10 +128,10 @@ int optparse(struct optparse *options, const char *optstring)
834 return 0;
835 }
836
837-char *optparse_arg(struct optparse *options)
838+const char *optparse_arg(struct optparse *options)
839 {
840 options->subopt = 0;
841- char *option = options->argv[options->optind];
842+ const char *option = options->argv[options->optind];
843 if (option != NULL)
844 options->optind++;
845 return option;
846@@ -222,7 +222,7 @@ optparse_long(struct optparse *options,
847 int *longindex)
848 {
849 // printf("%i < %i\n",options->optind,options->argc);
850- char *option = options_argv(options->optind);
851+ const char *option = options_argv(options->optind);
852 if (option == NULL) {
853 return -1;
854 } else if (is_dashdash(option)) {
855diff --git a/src/optparse.h b/src/optparse.h
856index c4b0ec19c..7a0bb3885 100644
857--- a/src/optparse.h
858+++ b/src/optparse.h
859@@ -44,7 +44,7 @@
860 */
861
862 struct optparse {
863- char **argv;
864+ const char **argv;
865 int argc;
866 int permute;
867 int optind;
868@@ -65,7 +65,7 @@ struct optparse_long {
869 /**
870 * Initializes the parser state.
871 */
872-void optparse_init(struct optparse *options, int argc, char **argv);
873+void optparse_init(struct optparse *options, int argc, const char **argv);
874
875 /**
876 * Read the next option in the argv array.
877@@ -98,6 +98,6 @@ optparse_long(struct optparse *options,
878 * subcommand returned by optparse_arg(). This function allows you to
879 * ignore the value of optind.
880 */
881-char *optparse_arg(struct optparse *options);
882+const char *optparse_arg(struct optparse *options);
883
884 #endif
885diff --git a/src/rrd.h b/src/rrd.h
886index 184887ccc..b40f9a449 100644
887--- a/src/rrd.h
888+++ b/src/rrd.h
889@@ -155,10 +155,10 @@ extern "C" {
890 /* main function blocks */
891 int rrd_create(
892 int,
893- char **);
894+ const char **);
895 rrd_info_t *rrd_info(
896 int,
897- char **);
898+ const char **);
899 rrd_info_t *rrd_info_push(
900 rrd_info_t *,
901 char *,
902@@ -170,19 +170,19 @@ extern "C" {
903 rrd_info_t *);
904 char *rrd_list(
905 int,
906- char **);
907+ const char **);
908 char *rrd_list_r(
909 int,
910- char *dirname);
911+ const char *dirname);
912 int rrd_update(
913 int,
914- char **);
915+ const char **);
916 rrd_info_t *rrd_update_v(
917 int,
918- char **);
919+ const char **);
920 int rrd_graph(
921 int,
922- char **,
923+ const char **,
924 char ***,
925 int *,
926 int *,
927@@ -191,11 +191,11 @@ extern "C" {
928 double *);
929 rrd_info_t *rrd_graph_v(
930 int,
931- char **);
932+ const char **);
933
934 int rrd_fetch(
935 int,
936- char **,
937+ const char **,
938 time_t *,
939 time_t *,
940 unsigned long *,
941@@ -204,32 +204,32 @@ extern "C" {
942 rrd_value_t **);
943 int rrd_restore(
944 int,
945- char **);
946+ const char **);
947 int rrd_dump(
948 int,
949- char **);
950+ const char **);
951 int rrd_tune(
952 int,
953- char **);
954+ const char **);
955 time_t rrd_last(
956 int,
957- char **);
958+ const char **);
959 int rrd_lastupdate(
960 int argc,
961- char **argv);
962+ const char **argv);
963 time_t rrd_first(
964 int,
965- char **);
966+ const char **);
967 int rrd_resize(
968 int,
969- char **);
970+ const char **);
971 char *rrd_strversion(
972 void);
973 double rrd_version(
974 void);
975 int rrd_xport(
976 int,
977- char **,
978+ const char **,
979 int *,
980 time_t *,
981 time_t *,
982@@ -239,7 +239,7 @@ extern "C" {
983 rrd_value_t **);
984 int rrd_flushcached(
985 int argc,
986- char **argv);
987+ const char **argv);
988
989 void rrd_freemem(
990 void *mem);
991@@ -323,7 +323,7 @@ extern "C" {
992 const char **argv);
993 int rrd_dump_opt_r(
994 const char *filename,
995- char *outname,
996+ const char *outname,
997 int opt_noheader);
998 int rrd_dump_r(
999 const char *filename,
1000diff --git a/src/rrd_cgi.c b/src/rrd_cgi.c
1001index b82c310db..14a4f511a 100644
1002--- a/src/rrd_cgi.c
1003+++ b/src/rrd_cgi.c
1004@@ -102,7 +102,7 @@ static char *rrdstrip(
1005 static char *scanargs(
1006 char *line,
1007 int *argc,
1008- char ***args);
1009+ const char ***args);
1010
1011 /* format at-time specified times using strftime */
1012 static char *printstrftime(
1013@@ -317,7 +317,7 @@ static const char *putvar(
1014 }
1015
1016 /* expand those RRD:* directives that can be used recursively */
1017-static char *rrd_expand_vars(
1018+static const char *rrd_expand_vars(
1019 char *buffer)
1020 {
1021 int i;
1022@@ -434,7 +434,7 @@ static int readfile(
1023
1024 int main(
1025 int argc,
1026- char *argv[])
1027+ const char *argv[])
1028 {
1029 char *buffer;
1030 long i;
1031@@ -926,7 +926,7 @@ static char *drawgraph(
1032 }
1033 calfree();
1034 if (rrd_graph
1035- (argc + 1, (char **) args - 1, &calcpr, &xsize, &ysize, NULL, &ymin,
1036+ (argc + 1, args - 1, &calcpr, &xsize, &ysize, NULL, &ymin,
1037 &ymax) != -1) {
1038 return stralloc(calcpr[0]);
1039 } else {
1040@@ -973,7 +973,7 @@ static char *printtimelast(
1041 /* not raising argc in step with args - 1 since the last argument
1042 will be used below for strftime */
1043
1044- last = rrd_last(argc, (char **) args - 1);
1045+ last = rrd_last(argc, args - 1);
1046 if (rrd_test_error()) {
1047 char err[4096];
1048
1049@@ -1027,7 +1027,7 @@ static char *printtimenow(
1050 static char *scanargs(
1051 char *line,
1052 int *argument_count,
1053- char ***arguments)
1054+ const char ***arguments)
1055 {
1056 char *getP; /* read cursor */
1057 char *putP; /* write cursor */
1058@@ -1039,8 +1039,8 @@ static char *scanargs(
1059
1060 /* local array of arguments while parsing */
1061 int argc = 1;
1062- char **argv;
1063- char **argv_tmp; /* temp variable for realloc() */
1064+ const char **argv;
1065+ const char **argv_tmp; /* temp variable for realloc() */
1066
1067 #ifdef DEBUG_PARSER
1068 printf("<-- scanargs(%s) -->\n", line);
1069@@ -1051,7 +1051,7 @@ static char *scanargs(
1070
1071 /* create initial argument array of char pointers */
1072 argsz = 32;
1073- argv = (char **) malloc(argsz * sizeof(char *));
1074+ argv = malloc(argsz * sizeof(char *));
1075 if (!argv) {
1076 return NULL;
1077 }
1078@@ -1146,7 +1146,7 @@ static char *scanargs(
1079 if (argc == argsz - 2) {
1080 /* resize argument array */
1081 argsz *= 2;
1082- argv_tmp = (char **) rrd_realloc(argv, argsz * sizeof(char *));
1083+ argv_tmp = rrd_realloc(argv, argsz * sizeof(char *));
1084 if (*argv_tmp == NULL) {
1085 return NULL;
1086 }
1087@@ -1213,7 +1213,7 @@ static int parse(
1088 /* the name of the vairable ... */
1089 char *val;
1090 long valln;
1091- char **args;
1092+ const char **args;
1093 char *end;
1094 long end_offset;
1095 int argc;
1096@@ -1264,7 +1264,7 @@ static int parse(
1097 /* make sure we do not shrink the mallocd block */
1098 size_t newbufsize = i + strlen(end) + valln + 1;
1099
1100- *buf = (char *) rrd_realloc(*buf, newbufsize);
1101+ *buf = rrd_realloc(*buf, newbufsize);
1102
1103 if (*buf == NULL) {
1104 perror("Realoc buf:");
1105diff --git a/src/rrd_create.c b/src/rrd_create.c
1106index f9bad0866..919b4195a 100644
1107--- a/src/rrd_create.c
1108+++ b/src/rrd_create.c
1109@@ -76,7 +76,7 @@ static void parseGENERIC_DS(
1110
1111 int rrd_create(
1112 int argc,
1113- char **argv)
1114+ const char **argv)
1115 {
1116 struct optparse_long longopts[] = {
1117 {"start", 'b', OPTPARSE_REQUIRED},
1118diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
1119index 751798aa1..21c38a11d 100644
1120--- a/src/rrd_daemon.c
1121+++ b/src/rrd_daemon.c
1122@@ -1877,7 +1877,7 @@ static int handle_request_tune(
1123 HANDLER_PROTO)
1124 { /* {{{ */
1125 int status;
1126- char** argv = NULL;
1127+ const char** argv = NULL;
1128 int argc, argc_tmp;
1129 char* i;
1130 int rc;
1131@@ -1916,7 +1916,7 @@ static int handle_request_tune(
1132 goto done;
1133 }
1134
1135- if ((argv = (char **) malloc(argc * sizeof(char*))) == NULL) {
1136+ if ((argv = malloc(argc * sizeof(char*))) == NULL) {
1137 rc = send_response(sock, RESP_ERR, "%s\n", rrd_strerror(ENOMEM));
1138 goto done;
1139 }
1140@@ -1927,7 +1927,7 @@ static int handle_request_tune(
1141 argc_tmp += 1;
1142 }
1143
1144- status = rrd_tune_r(file, argc, (const char **)argv);
1145+ status = rrd_tune_r(file, argc, argv);
1146 if (status != 0) {
1147 rc = send_response(sock, RESP_ERR, "Got error %s\n", rrd_get_error());
1148 goto done;
1149@@ -1935,7 +1935,7 @@ static int handle_request_tune(
1150 rc = send_response(sock, RESP_OK, "Success\n");
1151 done:
1152 free(file);
1153- free(argv);
1154+ free((void *)argv);
1155 return rc;
1156 }
1157
1158@@ -4505,7 +4505,7 @@ static int cleanup(
1159
1160 static int read_options(
1161 int argc,
1162- char **argv)
1163+ const char **argv)
1164 { /* {{{ */
1165 struct optparse_long longopts[] = {
1166 {NULL, 'a', OPTPARSE_REQUIRED},
1167@@ -5050,7 +5050,7 @@ static int read_options(
1168
1169 int main(
1170 int argc,
1171- char **argv)
1172+ const char **argv)
1173 {
1174 int status;
1175
1176diff --git a/src/rrd_dump.c b/src/rrd_dump.c
1177index a4490d594..c58e0ee4a 100644
1178--- a/src/rrd_dump.c
1179+++ b/src/rrd_dump.c
1180@@ -497,7 +497,7 @@ static size_t rrd_dump_opt_cb_fileout(
1181
1182 int rrd_dump_opt_r(
1183 const char *filename,
1184- char *outname,
1185+ const char *outname,
1186 int opt_noheader)
1187 {
1188 FILE *out_file;
1189@@ -543,7 +543,7 @@ int rrd_dump_r(
1190
1191 int rrd_dump(
1192 int argc,
1193- char **argv)
1194+ const char **argv)
1195 {
1196 int opt;
1197 struct optparse_long longopts[] = {
1198diff --git a/src/rrd_fetch.c b/src/rrd_fetch.c
1199index c739bfc45..54780f19b 100644
1200--- a/src/rrd_fetch.c
1201+++ b/src/rrd_fetch.c
1202@@ -61,7 +61,7 @@
1203
1204 int rrd_fetch(
1205 int argc,
1206- char **argv,
1207+ const char **argv,
1208 time_t *start,
1209 time_t *end, /* which time frame do you want ?
1210 * will be changed to represent reality */
1211diff --git a/src/rrd_first.c b/src/rrd_first.c
1212index a696c5c38..f3dde5404 100644
1213--- a/src/rrd_first.c
1214+++ b/src/rrd_first.c
1215@@ -13,7 +13,7 @@
1216
1217 time_t rrd_first(
1218 int argc,
1219- char **argv)
1220+ const char **argv)
1221 {
1222 struct optparse_long longopts[] = {
1223 {"rraindex", 129, OPTPARSE_REQUIRED},
1224diff --git a/src/rrd_flushcached.c b/src/rrd_flushcached.c
1225index 090bca749..3bf6cd29d 100644
1226--- a/src/rrd_flushcached.c
1227+++ b/src/rrd_flushcached.c
1228@@ -22,7 +22,7 @@
1229 #include "rrd_tool.h"
1230 #include "rrd_client.h"
1231
1232-int rrd_flushcached (int argc, char **argv)
1233+int rrd_flushcached (int argc, const char **argv)
1234 {
1235 struct optparse_long longopts[] = {
1236 {"daemon", 'd', OPTPARSE_REQUIRED},
1237diff --git a/src/rrd_graph.c b/src/rrd_graph.c
1238index b32d45085..46511e9a3 100644
1239--- a/src/rrd_graph.c
1240+++ b/src/rrd_graph.c
1241@@ -4607,7 +4607,7 @@ int scan_for_col(
1242 /* Now just a wrapper around rrd_graph_v */
1243 int rrd_graph(
1244 int argc,
1245- char **argv,
1246+ const char **argv,
1247 char ***prdata,
1248 int *xsize,
1249 int *ysize,
1250@@ -4690,7 +4690,7 @@ int rrd_graph(
1251
1252 rrd_info_t *rrd_graph_v(
1253 int argc,
1254- char **argv)
1255+ const char **argv)
1256 {
1257 image_desc_t im;
1258 rrd_info_t *grinfo;
1259@@ -4953,7 +4953,7 @@ void rrd_graph_init(
1260
1261 void rrd_graph_options(
1262 int argc,
1263- char *argv[],
1264+ const char **argv,
1265 struct optparse *poptions,
1266 image_desc_t *im)
1267 {
1268diff --git a/src/rrd_graph.h b/src/rrd_graph.h
1269index 4df32ec66..083cf3800 100644
1270--- a/src/rrd_graph.h
1271+++ b/src/rrd_graph.h
1272@@ -473,12 +473,12 @@ void time_clean(
1273
1274 void rrd_graph_options(
1275 int,
1276- char **,
1277+ const char **,
1278 struct optparse *,
1279 image_desc_t *);
1280 void rrd_graph_script(
1281 int,
1282- char **,
1283+ const char **,
1284 image_desc_t *const,
1285 int);
1286 int rrd_graph_color(
1287diff --git a/src/rrd_graph_helper.c b/src/rrd_graph_helper.c
1288index 99cdefa65..ba90e1a6c 100644
1289--- a/src/rrd_graph_helper.c
1290+++ b/src/rrd_graph_helper.c
1291@@ -1952,7 +1952,7 @@ static int parse_xport(
1292
1293 void rrd_graph_script(
1294 int argc,
1295- char *argv[],
1296+ const char **argv,
1297 image_desc_t *const im,
1298 int optno)
1299 {
1300diff --git a/src/rrd_info.c b/src/rrd_info.c
1301index c0c6f68c7..eb0d4e4de 100644
1302--- a/src/rrd_info.c
1303+++ b/src/rrd_info.c
1304@@ -82,7 +82,7 @@ rrd_info_t
1305
1306 rrd_info_t *rrd_info(
1307 int argc,
1308- char **argv)
1309+ const char **argv)
1310 {
1311 struct optparse_long longopts[] = {
1312 {"daemon", 'd', OPTPARSE_REQUIRED},
1313diff --git a/src/rrd_last.c b/src/rrd_last.c
1314index 026a1e828..1aae72512 100644
1315--- a/src/rrd_last.c
1316+++ b/src/rrd_last.c
1317@@ -11,7 +11,7 @@
1318
1319 time_t rrd_last(
1320 int argc,
1321- char **argv)
1322+ const char **argv)
1323 {
1324 char *opt_daemon = NULL;
1325 time_t lastupdate;
1326diff --git a/src/rrd_lastupdate.c b/src/rrd_lastupdate.c
1327index ab30dcf67..4f7f4770e 100644
1328--- a/src/rrd_lastupdate.c
1329+++ b/src/rrd_lastupdate.c
1330@@ -14,7 +14,7 @@
1331 #include "rrd_client.h"
1332 #include <stdarg.h>
1333
1334-int rrd_lastupdate (int argc, char **argv)
1335+int rrd_lastupdate (int argc, const char **argv)
1336 {
1337 struct optparse_long longopts[] = {
1338 {"daemon", 'd', OPTPARSE_REQUIRED},
1339diff --git a/src/rrd_list.c b/src/rrd_list.c
1340index e743b9b7d..6e96220ea 100644
1341--- a/src/rrd_list.c
1342+++ b/src/rrd_list.c
1343@@ -37,7 +37,7 @@ static char *move_past_prefix(const char *prefix, const char *string)
1344 return (char *)&(string[index]);
1345 }
1346
1347-static char *rrd_list_rec(int recursive, char *root, char *dirname)
1348+static char *rrd_list_rec(int recursive, const char *root, const char *dirname)
1349 {
1350 #define SANE_ASPRINTF2(_dest_str, _format, ...) \
1351 if (asprintf(&_dest_str, _format, __VA_ARGS__) == -1) { \
1352@@ -138,7 +138,7 @@ static char *rrd_list_rec(int recursive, char *root, char *dirname)
1353 return out;
1354 }
1355
1356-char *rrd_list_r(int recursive, char *dirname)
1357+char *rrd_list_r(int recursive, const char *dirname)
1358 {
1359 #define SANE_ASPRINTF(_dest_str, _format, ...) \
1360 if (asprintf(&_dest_str, _format, __VA_ARGS__) == -1) { \
1361@@ -240,7 +240,7 @@ char *rrd_list_r(int recursive, char *dirname)
1362 return rrd_list_rec(recursive, dirname, dirname);
1363 }
1364
1365-char *rrd_list(int argc, char **argv)
1366+char *rrd_list(int argc, const char **argv)
1367 {
1368 char *opt_daemon = NULL;
1369 int status;
1370diff --git a/src/rrd_modify.c b/src/rrd_modify.c
1371index a2b07f640..70ac9e77f 100644
1372--- a/src/rrd_modify.c
1373+++ b/src/rrd_modify.c
1374@@ -1297,7 +1297,7 @@ static int add_rras(const rrd_t *in, rrd_t *out, const int *ds_map,
1375 }
1376
1377 int handle_modify(const rrd_t *in, const char *outfilename,
1378- int argc, char **argv, int optidx,
1379+ int argc, const char **argv, int optidx,
1380 int newstep) {
1381 // parse add/remove options
1382 int rc = -1;
1383diff --git a/src/rrd_modify.h b/src/rrd_modify.h
1384index 52d8789be..64a39926e 100644
1385--- a/src/rrd_modify.h
1386+++ b/src/rrd_modify.h
1387@@ -28,7 +28,7 @@ typedef struct {
1388 } rra_mod_op_t;
1389
1390 int handle_modify(const rrd_t *in, const char *outfilename,
1391- int argc, char **argv, int optind,
1392+ int argc, const char **argv, int optind,
1393 int newstep);
1394
1395 typedef union {
1396diff --git a/src/rrd_resize.c b/src/rrd_resize.c
1397index fb75d81ff..742e6d141 100644
1398--- a/src/rrd_resize.c
1399+++ b/src/rrd_resize.c
1400@@ -12,9 +12,9 @@
1401
1402 int rrd_resize(
1403 int argc,
1404- char **argv)
1405+ const char **argv)
1406 {
1407- char *infilename, outfilename[11] = "resize.rrd";
1408+ const char *infilename, outfilename[11] = "resize.rrd";
1409 rrd_t rrdold, rrdnew;
1410 rrd_value_t buffer;
1411 int version;
1412diff --git a/src/rrd_restore.c b/src/rrd_restore.c
1413index 85d481e0c..ebef5efe8 100644
1414--- a/src/rrd_restore.c
1415+++ b/src/rrd_restore.c
1416@@ -1378,7 +1378,7 @@ int write_file(
1417
1418 int rrd_restore(
1419 int argc,
1420- char **argv)
1421+ const char **argv)
1422 {
1423 struct optparse_long longopts[] = {
1424 {"range-check", 'r', OPTPARSE_NONE},
1425diff --git a/src/rrd_tool.c b/src/rrd_tool.c
1426index cc6119d9a..56321ee1a 100644
1427--- a/src/rrd_tool.c
1428+++ b/src/rrd_tool.c
1429@@ -22,16 +22,16 @@
1430
1431
1432 static void PrintUsage(
1433- char *cmd);
1434+ const char *cmd);
1435 static int CountArgs(
1436 char *aLine);
1437 static int CreateArgs(
1438+ const char *,
1439 char *,
1440- char *,
1441- char **);
1442+ const char **);
1443 static int HandleInputLine(
1444 int,
1445- char **,
1446+ const char **,
1447 FILE *);
1448 int RemoteMode = 0;
1449 int ChangeRoot = 0;
1450@@ -42,7 +42,7 @@ int ChangeRoot = 0;
1451
1452
1453 static void PrintUsage(
1454- char *cmd)
1455+ const char *cmd)
1456 {
1457
1458 const char *help_main =
1459@@ -443,11 +443,11 @@ static char *fgetslong(
1460
1461 int main(
1462 int argc,
1463- char *argv[])
1464+ const char *argv[])
1465 {
1466- char **myargv;
1467+ const char **myargv;
1468 char *aLine;
1469- char *firstdir = "";
1470+ const char *firstdir = "";
1471
1472 #ifdef MUST_DISABLE_SIGFPE
1473 signal(SIGFPE, SIG_IGN);
1474@@ -526,7 +526,7 @@ int main(
1475 printf("ERROR: not enough arguments\n");
1476 continue;
1477 }
1478- if ((myargv = (char **) malloc((argc + 1) *
1479+ if ((myargv = malloc((argc + 1) *
1480 sizeof(char *))) == NULL) {
1481 perror("malloc");
1482 exit(1);
1483@@ -572,7 +572,7 @@ int main(
1484 resolving them portably is not really simple. */
1485 static int HandleInputLine(
1486 int argc,
1487- char **argv,
1488+ const char **argv,
1489 FILE * out)
1490 {
1491 #if defined(HAVE_OPENDIR) && defined (HAVE_READDIR)
1492@@ -887,12 +887,12 @@ static int CountArgs(
1493 * CreateArgs - take a string (aLine) and tokenize
1494 */
1495 static int CreateArgs(
1496- char *pName,
1497+ const char *pName,
1498 char *aLine,
1499- char **argv)
1500+ const char **argv)
1501 {
1502 char *getP, *putP;
1503- char **pargv = argv;
1504+ const char **pargv = argv;
1505 char Quote = 0;
1506 int inArg = 0;
1507 int len;
1508diff --git a/src/rrd_tune.c b/src/rrd_tune.c
1509index 198817f37..dd3f3f7cb 100644
1510--- a/src/rrd_tune.c
1511+++ b/src/rrd_tune.c
1512@@ -71,7 +71,7 @@ static int set_hwsmootharg(
1513
1514 int rrd_tune(
1515 int argc,
1516- char **argv)
1517+ const char **argv)
1518 {
1519 char *opt_daemon = NULL;
1520 const char *in_filename = NULL;
1521diff --git a/src/rrd_update.c b/src/rrd_update.c
1522index fbbe2820a..bb9a0602c 100644
1523--- a/src/rrd_update.c
1524+++ b/src/rrd_update.c
1525@@ -299,7 +299,7 @@ static void initialize_time(
1526
1527 rrd_info_t *rrd_update_v(
1528 int argc,
1529- char **argv)
1530+ const char **argv)
1531 {
1532 struct optparse_long longopts[] = {
1533 {"template", 't', OPTPARSE_REQUIRED},
1534@@ -674,7 +674,7 @@ static int rrd_template_update(const char *filename, /* {{{ */
1535
1536 int rrd_update(
1537 int argc,
1538- char **argv)
1539+ const char **argv)
1540 {
1541 struct optparse_long longopts[] = {
1542 {"template", 't', OPTPARSE_REQUIRED},
1543diff --git a/src/rrd_xport.c b/src/rrd_xport.c
1544index d15d33dd9..93c02f926 100644
1545--- a/src/rrd_xport.c
1546+++ b/src/rrd_xport.c
1547@@ -73,7 +73,7 @@ static int rrd_xport_format_addprints(
1548
1549 int rrd_xport(
1550 int argc,
1551- char **argv,
1552+ const char **argv,
1553 int UNUSED(*xsize),
1554 time_t *start,
1555 time_t *end, /* which time frame do you want ?
1556diff --git a/src/rrdupdate.c b/src/rrdupdate.c
1557index cbbf48cc1..e368516c8 100644
1558--- a/src/rrdupdate.c
1559+++ b/src/rrdupdate.c
1560@@ -20,19 +20,20 @@ int main(
1561 int argc,
1562 char **argv)
1563 {
1564+ const char **cargv = (const char **)argv;
1565 char *name=basename(argv[0]);
1566 rrd_info_t *info;
1567
1568 if (!strcmp(name, "rrdcreate")) {
1569- rrd_create(argc, argv);
1570+ rrd_create(argc, cargv);
1571 }
1572 else if (!strcmp(name, "rrdinfo")) {
1573- info=rrd_info(argc, argv);
1574+ info=rrd_info(argc, cargv);
1575 rrd_info_print(info);
1576 rrd_info_free(info);
1577 }
1578 else {
1579- rrd_update(argc, argv);
1580+ rrd_update(argc, cargv);
1581 }
1582
1583 if (rrd_test_error()) {
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
index d843f82b27..69c281bd92 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.8.0.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
@@ -6,15 +6,13 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39df84cfd8a5e18bf988f277f7946676"
6 6
7DEPENDS = "libpng zlib glib-2.0 libxml2 groff-native python3-setuptools-native" 7DEPENDS = "libpng zlib glib-2.0 libxml2 groff-native python3-setuptools-native"
8 8
9SRCREV = "3af04acd38bbc61bbdcdd931dcf234c971aa5336" 9SRCREV = "522b228d74da7054594b6ed9c289058acd6cd3e7"
10PV = "1.8.0" 10PV = "1.9.0"
11 11
12SRC_URI = "\ 12SRC_URI = "\
13 git://github.com/oetiker/rrdtool-1.x.git;protocol=https;branch=master \ 13 git://github.com/oetiker/rrdtool-1.x.git;protocol=https;branch=master \
14 file://b76e3c578f1e9f582e9c28f50d82b1f569602075.patch \
15" 14"
16 15
17S = "${WORKDIR}/git"
18 16
19inherit cpan autotools-brokensep gettext pkgconfig python3native python3-dir systemd 17inherit cpan autotools-brokensep gettext pkgconfig python3native python3-dir systemd
20 18
@@ -23,6 +21,8 @@ BBCLASSEXTEND = "native"
23SYSTEMD_PACKAGES = "rrdcached" 21SYSTEMD_PACKAGES = "rrdcached"
24SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service" 22SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service"
25 23
24AUTOTOOLS_AUXDIR = "${S}/conftools"
25
26EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" 26EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
27 27
28PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 28PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@@ -63,6 +63,10 @@ export STAGING_INCDIR
63EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" ' 63EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" '
64# Avoid do_configure error on some hosts 64# Avoid do_configure error on some hosts
65 65
66do_configure:prepend () {
67 mkdir -p ${AUTOTOOLS_AUXDIR}
68}
69
66do_configure() { 70do_configure() {
67 unset PERLHOSTLIB 71 unset PERLHOSTLIB
68 #fix the pkglib problem with newer automake 72 #fix the pkglib problem with newer automake
@@ -135,3 +139,7 @@ RDEPENDS:${PN}-python = "python3"
135 139
136FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \ 140FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \
137 ${PYTHON_SITEPACKAGES_DIR}/.debug" 141 ${PYTHON_SITEPACKAGES_DIR}/.debug"
142
143# http://errors.yoctoproject.org/Errors/Details/766911/
144# rrd_tune.c:239:35: error: passing argument 3 of 'optparse_init' from incompatible pointer type [-Wincompatible-pointer-types]
145CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb b/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
index f16126d936..f1235d7b96 100644
--- a/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/rsyslog/libfastjson.git;protocol=https;branch=master
10 10
11SRCREV = "3a8402c1de7c7747c95229db26d8d32fb85a7a52" 11SRCREV = "3a8402c1de7c7747c95229db26d8d32fb85a7a52"
12 12
13S = "${WORKDIR}/git" 13
14CVE_PRODUCT = "rsyslog:libfastjson"
14 15
15inherit autotools 16inherit autotools
diff --git a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
index 49847047ac..3ccb87a9c5 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
@@ -17,7 +17,8 @@ SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \
17 17
18SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396" 18SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
19 19
20S = "${WORKDIR}/git" 20
21CVE_PRODUCT = "rsyslog:librelp"
21 22
22inherit autotools pkgconfig ptest 23inherit autotools pkgconfig ptest
23 24
@@ -59,14 +60,16 @@ do_install_ptest() {
59 # some tests need to write to this directory 60 # some tests need to write to this directory
60 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR} 61 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR}
61 62
62 # do NOT need to rebuild Makefile or $(check_PROGRAMS) 63 sed -e '# do NOT need to rebuild Makefile or $(check_PROGRAMS)' \
63 sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 64 -e 's/^Makefile:.*$/Makefile:/' \
64 sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 65 -e 's/^check-TESTS:.*$/check-TESTS:/' \
65 66 -e '# fix the srcdir, top_srcdir, abs_top_builddir' \
66 # fix the srcdir, top_srcdir, abs_top_builddir 67 -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
67 sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 68 -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
68 sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 69 -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \
69 sed -i 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 70 -e '# fix the path to test-driver' \
71 -e '/^SH_LOG_DRIVER =/s/(top_srcdir)/(top_builddir)/' \
72 -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
70 73
71 # install test-driver 74 # install test-driver
72 install -m 644 ${S}/test-driver ${D}${PTEST_PATH} 75 install -m 644 ${S}/test-driver ${D}${PTEST_PATH}
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
index c1480406fe..a506b7a6dc 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-disable-the-check-for-inotify.patch
@@ -1,4 +1,4 @@
1From 194e199ce08acc2192f6a63420ff24d9064666e5 Mon Sep 17 00:00:00 2001 1From 1b02236e84aaed5d80d4a67afb418eadb687d65f Mon Sep 17 00:00:00 2001
2From: Yi Fan Yu <yifan.yu@windriver.com> 2From: Yi Fan Yu <yifan.yu@windriver.com>
3Date: Sat, 27 Mar 2021 19:18:25 -0400 3Date: Sat, 27 Mar 2021 19:18:25 -0400
4Subject: [PATCH] tests: disable the check for inotify 4Subject: [PATCH] tests: disable the check for inotify
@@ -20,10 +20,10 @@ Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
20 1 file changed, 2 insertions(+), 2 deletions(-) 20 1 file changed, 2 insertions(+), 2 deletions(-)
21 21
22diff --git a/tests/diag.sh b/tests/diag.sh 22diff --git a/tests/diag.sh b/tests/diag.sh
23index 6cd60ea88..7424f48c5 100755 23index a9c2a75..0b017c5 100755
24--- a/tests/diag.sh 24--- a/tests/diag.sh
25+++ b/tests/diag.sh 25+++ b/tests/diag.sh
26@@ -2672,7 +2672,7 @@ case $1 in 26@@ -2979,7 +2979,7 @@ case $1 in
27 fi 27 fi
28 ;; 28 ;;
29 'check-inotify') # Check for inotify/fen support 29 'check-inotify') # Check for inotify/fen support
@@ -32,7 +32,7 @@ index 6cd60ea88..7424f48c5 100755
32 echo [inotify mode] 32 echo [inotify mode]
33 elif [ -n "$(find /usr/include/sys/ -name 'port.h' -print -quit)" ]; then 33 elif [ -n "$(find /usr/include/sys/ -name 'port.h' -print -quit)" ]; then
34 grep -qF "PORT_SOURCE_FILE" < /usr/include/sys/port.h 34 grep -qF "PORT_SOURCE_FILE" < /usr/include/sys/port.h
35@@ -2687,7 +2687,7 @@ case $1 in 35@@ -2994,7 +2994,7 @@ case $1 in
36 fi 36 fi
37 ;; 37 ;;
38 'check-inotify-only') # Check for ONLY inotify support 38 'check-inotify-only') # Check for ONLY inotify support
@@ -41,6 +41,3 @@ index 6cd60ea88..7424f48c5 100755
41 echo [inotify mode] 41 echo [inotify mode]
42 else 42 else
43 echo [inotify not supported, skipping...] 43 echo [inotify not supported, skipping...]
44--
452.29.2
46
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
index 5df29e7d90..884086bfc3 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
@@ -1,4 +1,4 @@
1From 1e0a77d8a5ae7cd0223afadf46cdbb540119774d Mon Sep 17 00:00:00 2001 1From 59753fe14e9eef4909a535b6e00967e546cc29ea Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 May 2024 23:31:46 -0700 3Date: Sat, 11 May 2024 23:31:46 -0700
4Subject: [PATCH] tests/tcpflood.c: Pass correct parameter type to sendto() 4Subject: [PATCH] tests/tcpflood.c: Pass correct parameter type to sendto()
@@ -18,10 +18,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
19 19
20diff --git a/tests/tcpflood.c b/tests/tcpflood.c 20diff --git a/tests/tcpflood.c b/tests/tcpflood.c
21index bd8edaf..0feda23 100644 21index 5e6f13a..09cedbb 100644
22--- a/tests/tcpflood.c 22--- a/tests/tcpflood.c
23+++ b/tests/tcpflood.c 23+++ b/tests/tcpflood.c
24@@ -808,7 +808,7 @@ int sendMessages(struct instdata *inst) 24@@ -836,7 +836,7 @@ int sendMessages(struct instdata *inst)
25 } 25 }
26 lenSend = sendPlainTCP(socknum, buf, lenBuf, &error_number); 26 lenSend = sendPlainTCP(socknum, buf, lenBuf, &error_number);
27 } else if(transport == TP_UDP) { 27 } else if(transport == TP_UDP) {
@@ -30,6 +30,3 @@ index bd8edaf..0feda23 100644
30 error_number = errno; 30 error_number = errno;
31 } else if(transport == TP_TLS) { 31 } else if(transport == TP_TLS) {
32 if(sockArray[socknum] == -1) { 32 if(sockArray[socknum] == -1) {
33--
342.45.0
35
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch b/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
index 0352587268..f5ae65fb58 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/use-pkgconfig-to-check-libgcrypt.patch
@@ -1,4 +1,4 @@
1From d0852006bf3d305e8984b85b41997d43d4476937 Mon Sep 17 00:00:00 2001 1From d2dd13d930c91e45417c7361908f0af75e0e6c00 Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com> 2From: Roy Li <rongqing.li@windriver.com>
3Date: Wed, 18 Jun 2014 13:46:52 +0800 3Date: Wed, 18 Jun 2014 13:46:52 +0800
4Subject: [PATCH] use pkgconfig to check libgcrypt 4Subject: [PATCH] use pkgconfig to check libgcrypt
@@ -10,16 +10,15 @@ libgcrypt does no longer provide libgcrypt-config, and provide
10 10
11Signed-off-by: Roy Li <rongqing.li@windriver.com> 11Signed-off-by: Roy Li <rongqing.li@windriver.com>
12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 12Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
13
14--- 13---
15 configure.ac | 15 +-------------- 14 configure.ac | 15 +--------------
16 1 file changed, 1 insertion(+), 14 deletions(-) 15 1 file changed, 1 insertion(+), 14 deletions(-)
17 16
18diff --git a/configure.ac b/configure.ac 17diff --git a/configure.ac b/configure.ac
19index 62178c3..b56c9c7 100644 18index f8c0ac8..794bfb3 100644
20--- a/configure.ac 19--- a/configure.ac
21+++ b/configure.ac 20+++ b/configure.ac
22@@ -889,20 +889,7 @@ AC_ARG_ENABLE(libgcrypt, 21@@ -1217,20 +1217,7 @@ AC_ARG_ENABLE(libgcrypt,
23 [enable_libgcrypt=yes] 22 [enable_libgcrypt=yes]
24 ) 23 )
25 if test "x$enable_libgcrypt" = "xyes"; then 24 if test "x$enable_libgcrypt" = "xyes"; then
@@ -40,4 +39,4 @@ index 62178c3..b56c9c7 100644
40+ PKG_CHECK_MODULES(LIBGCRYPT, libgcrypt) 39+ PKG_CHECK_MODULES(LIBGCRYPT, libgcrypt)
41 fi 40 fi
42 AM_CONDITIONAL(ENABLE_LIBGCRYPT, test x$enable_libgcrypt = xyes) 41 AM_CONDITIONAL(ENABLE_LIBGCRYPT, test x$enable_libgcrypt = xyes)
43 AC_SUBST(LIBGCRYPT_CFLAGS) 42 AM_CONDITIONAL(ENABLE_RSCRYUTIL, test x$enable_libgcrypt = xyes || test x$enable_openssl_crypto_provider = xyes)
diff --git a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2404.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
index ac1645f671..c4ddb72bcc 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2404.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
@@ -32,18 +32,21 @@ SRC_URI:append:libc-musl = " \
32 file://0001-Include-sys-time-h.patch \ 32 file://0001-Include-sys-time-h.patch \
33 file://disable-omfile-outchannel.patch \ 33 file://disable-omfile-outchannel.patch \
34" 34"
35SRC_URI[sha256sum] = "30528d140ec1b1f079224081fa37df6e06587ff42b02e3e61f2daa0526c54d33" 35SRC_URI[sha256sum] = "5092a20ed40987c74cc604ebfcd6c749e47eb9fc34adc1c2637e6553e7f047ab"
36 36
37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases" 37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags"
38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 38UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
39 39
40CVE_PRODUCT = "rsyslog:rsyslog"
41
40inherit autotools pkgconfig systemd update-rc.d ptest 42inherit autotools pkgconfig systemd update-rc.d ptest
41 43
42EXTRA_OECONF += "--disable-generate-man-pages ap_cv_atomic_builtins=yes" 44EXTRA_OECONF += "--enable-imfile-tests ${ATOMICS}"
43EXTRA_OECONF += "--enable-imfile-tests" 45ATOMICS = "ap_cv_atomic_builtins_64=yes ap_cv_atomic_builtins=yes"
44EXTRA_OECONF:remove:mipsarch = "ap_cv_atomic_builtins=yes" 46ATOMICS:mipsarch = ""
45EXTRA_OECONF:remove:powerpc = "ap_cv_atomic_builtins=yes" 47ATOMICS:powerpc = ""
46EXTRA_OECONF:remove:riscv32 = "ap_cv_atomic_builtins=yes" 48ATOMICS:riscv32 = ""
49ATOMICS:armv5 = ""
47 50
48# first line is default yes in configure 51# first line is default yes in configure
49PACKAGECONFIG ??= " \ 52PACKAGECONFIG ??= " \
@@ -99,16 +102,18 @@ do_install_ptest() {
99 # some tests need to write to this directory as user 'daemon' 102 # some tests need to write to this directory as user 'daemon'
100 chmod 777 -R ${D}${PTEST_PATH}/tests 103 chmod 777 -R ${D}${PTEST_PATH}/tests
101 104
102 # do NOT need to rebuild Makefile itself 105 sed -e '# do NOT need to rebuild Makefile itself' \
103 sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 106 -e 's/^Makefile:.*$/Makefile:/' \
104 # do NOT need to rebuild $(check_PROGRAMS) 107 -e '# do NOT need to rebuild $(check_PROGRAMS)' \
105 sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 108 -e 's/^check-TESTS:.*$/check-TESTS:/' \
106 109 -e '# fix the srcdir, top_srcdir' \
107 # fix the srcdir, top_srcdir 110 -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/tests,' \
108 sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/tests,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 111 -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/tests,' \
109 sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/tests,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 112 -e '# fix the abs_top_builddir' \
110 # fix the abs_top_builddir 113 -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \
111 sed -i 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 114 -e '# fix the path to test-driver' \
115 -e '/^\(SH_\)\?LOG_DRIVER/s/(top_srcdir)/(top_builddir)/' \
116 -i ${D}${PTEST_PATH}/${TESTDIR}/Makefile
112 117
113 # install test-driver 118 # install test-driver
114 install -m 644 ${S}/test-driver ${D}${PTEST_PATH} 119 install -m 644 ${S}/test-driver ${D}${PTEST_PATH}
diff --git a/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-eh-no-give-up-share-detection.patch b/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-eh-no-give-up-share-detection.patch
deleted file mode 100644
index 41f98281f8..0000000000
--- a/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-eh-no-give-up-share-detection.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 9db4c0f6bc0dd11c77b54296fce6b8afe18f4325 Mon Sep 17 00:00:00 2001
2From: Steffen Nurpmeso <steffen@sdaoden.eu>
3Date: Thu, 9 Jun 2022 18:26:38 +0800
4Subject: [PATCH] su_INLINE: eh no; give up, share detection with clang but for
5 a thing
6
7Upstream-Status: Backport [https://git.sdaoden.eu/browse/s-nail.git/commit/?id=de2a44c393a39d80ddf12154aec94cace84b19c1]
8
9Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
10---
11 include/su/code.h | 34 +++++++++-------------------------
12 1 file changed, 9 insertions(+), 25 deletions(-)
13
14diff --git a/include/su/code.h b/include/su/code.h
15index 9683f4a..c7a2af3 100644
16--- a/include/su/code.h
17+++ b/include/su/code.h
18@@ -308,29 +308,8 @@ do{\
19 # ifdef DOXYGEN
20 # define su_INLINE inline
21 # define su_SINLINE inline
22-# elif su_CC_GCC
23-# if !su_CC_VCHECK_GCC(3, 1)
24-# define su_INLINE extern __inline__
25-# define su_SINLINE static __inline__
26-# elif !defined __GNUC_GNU_INLINE__ /*4.1.3; !su_CC_VCHECK_GCC(4, 2)*/
27-# define su_INLINE extern __inline __attribute__((always_inline))
28-# define su_SINLINE static __inline __attribute__((always_inline))
29- /* gcc 8.3.0 bug: does not gracefully inline with -Os
30- * gcc 12.1.0 bug: ditto, -Og
31- * Thus: always gcc-specific! */
32-# elif 1 /*!defined __OPTIMIZE__ || \
33- !defined __STDC_VERSION__ || __STDC_VERSION__ +0 < 199901L*/
34-# define su_INLINE extern __inline __attribute__((gnu_inline))
35-# define su_SINLINE static __inline __attribute__((gnu_inline))
36-# elif !defined NDEBUG || !defined __OPTIMIZE__
37-# define su_INLINE static inline
38-# define su_SINLINE static inline
39-# else
40-# define su_INLINE inline
41-# define su_SINLINE static inline
42-# endif
43-# elif su_CC_CLANG || su_CC_PCC
44-# if defined __STDC_VERSION__ && __STDC_VERSION__ +0 >= 199901L
45+# elif su_CC_CLANG || su_CC_GCC || su_CC_PCC
46+# if defined __STDC_VERSION__ && __STDC_VERSION__ +0 >= 199901l
47 # if !defined NDEBUG || !defined __OPTIMIZE__
48 # define su_INLINE static inline
49 # define su_SINLINE static inline
50@@ -340,8 +319,13 @@ do{\
51 # define su_SINLINE static inline __attribute__((always_inline))
52 # endif
53 # else
54-# define su_INLINE static __inline
55-# define su_SINLINE static __inline
56+# if su_CC_VCHECK_GCC(3, 1)
57+# define su_INLINE static __inline __attribute__((always_inline))
58+# define su_SINLINE static __inline __attribute__((always_inline))
59+# else
60+# define su_INLINE static __inline
61+# define su_SINLINE static __inline
62+# endif
63 # endif
64 # else
65 # define su_INLINE static /* TODO __attribute__((unused)) alike? */
66--
672.25.1
68
diff --git a/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-gcc-only-GNU-specifics-after-Og.patch b/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-gcc-only-GNU-specifics-after-Og.patch
deleted file mode 100644
index 37ecb0c1ff..0000000000
--- a/meta-oe/recipes-extended/s-nail/files/0001-su_INLINE-gcc-only-GNU-specifics-after-Og.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 5429b9e343c808951b1418d8626e544c9dcb28de Mon Sep 17 00:00:00 2001
2From: Steffen Nurpmeso <steffen@sdaoden.eu>
3Date: Thu, 9 Jun 2022 18:06:04 +0800
4Subject: [PATCH] su_INLINE: gcc: only GNU specifics after -Og
5
6Upstream-Status: Backport [https://git.sdaoden.eu/browse/s-nail.git/commit/?id=c5544b66c3b4b2e161166562349908a07e324b38]
7
8Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
9---
10 include/su/code.h | 17 +++++++++--------
11 1 file changed, 9 insertions(+), 8 deletions(-)
12
13diff --git a/include/su/code.h b/include/su/code.h
14index 4d552c1..9683f4a 100644
15--- a/include/su/code.h
16+++ b/include/su/code.h
17@@ -309,16 +309,17 @@ do{\
18 # define su_INLINE inline
19 # define su_SINLINE inline
20 # elif su_CC_GCC
21- /* After lots of trouble with OpenBSD/gcc 4.2.1 and SunOS/gcc 3.4.3 */
22-# if !su_CC_VCHECK_GCC(3, 2) /* Unsure: only used C++ at that time */
23-# define su_INLINE extern __inline
24-# define su_SINLINE static __inline
25-# elif !su_CC_VCHECK_GCC(4, 3)
26+# if !su_CC_VCHECK_GCC(3, 1)
27+# define su_INLINE extern __inline__
28+# define su_SINLINE static __inline__
29+# elif !defined __GNUC_GNU_INLINE__ /*4.1.3; !su_CC_VCHECK_GCC(4, 2)*/
30 # define su_INLINE extern __inline __attribute__((always_inline))
31 # define su_SINLINE static __inline __attribute__((always_inline))
32- /* xxx gcc 8.3.0 bug: does not truly inline with -Os */
33-# elif !su_CC_VCHECK_GCC(8, 3) || !defined __OPTIMIZE__ ||\
34- !defined __STDC_VERSION__ || __STDC_VERSION__ +0 < 199901L
35+ /* gcc 8.3.0 bug: does not gracefully inline with -Os
36+ * gcc 12.1.0 bug: ditto, -Og
37+ * Thus: always gcc-specific! */
38+# elif 1 /*!defined __OPTIMIZE__ || \
39+ !defined __STDC_VERSION__ || __STDC_VERSION__ +0 < 199901L*/
40 # define su_INLINE extern __inline __attribute__((gnu_inline))
41 # define su_SINLINE static __inline __attribute__((gnu_inline))
42 # elif !defined NDEBUG || !defined __OPTIMIZE__
43--
442.25.1
45
diff --git a/meta-oe/recipes-extended/s-nail/s-nail_14.9.24.bb b/meta-oe/recipes-extended/s-nail/s-nail_14.9.25.bb
index bcdb1e4788..93a852a6df 100644
--- a/meta-oe/recipes-extended/s-nail/s-nail_14.9.24.bb
+++ b/meta-oe/recipes-extended/s-nail/s-nail_14.9.25.bb
@@ -8,11 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=87266591c81260f10221f1f38872d023"
8SRC_URI = "https://ftp.sdaoden.eu/${BP}.tar.xz \ 8SRC_URI = "https://ftp.sdaoden.eu/${BP}.tar.xz \
9 file://make-errors.patch \ 9 file://make-errors.patch \
10 file://0001-make.rc-set-VAL_MTA.patch \ 10 file://0001-make.rc-set-VAL_MTA.patch \
11 file://0001-su_INLINE-gcc-only-GNU-specifics-after-Og.patch \
12 file://0001-su_INLINE-eh-no-give-up-share-detection.patch \
13 file://0001-mk-make-config.sh-not-reveal-the-build-env.patch \ 11 file://0001-mk-make-config.sh-not-reveal-the-build-env.patch \
14" 12"
15SRC_URI[sha256sum] = "2714d6b8fb2af3b363fc7c79b76d058753716345d1b6ebcd8870ecd0e4f7ef8c" 13SRC_URI[sha256sum] = "20ff055be9829b69d46ebc400dfe516a40d287d7ce810c74355d6bdc1a28d8a9"
16 14
17DEPENDS = "coreutils-native" 15DEPENDS = "coreutils-native"
18 16
diff --git a/meta-oe/recipes-extended/sanlock/sanlock_3.9.3.bb b/meta-oe/recipes-extended/sanlock/sanlock_4.0.0.bb
index 3b558cafcb..fe8592be39 100644
--- a/meta-oe/recipes-extended/sanlock/sanlock_3.9.3.bb
+++ b/meta-oe/recipes-extended/sanlock/sanlock_4.0.0.bb
@@ -17,9 +17,8 @@ SRC_URI = "git://pagure.io/sanlock.git;protocol=http;branch=master \
17 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \ 17 file://0001-sanlock-Replace-cp-a-with-cp-R-no-dereference-preser.patch \
18 file://0001-add-missing-system-header-string.h.patch \ 18 file://0001-add-missing-system-header-string.h.patch \
19 " 19 "
20SRCREV = "79b35bba8298f4444923c15e11bed38380cb18ee" 20SRCREV = "70c268a07273da78a4aadd14c40ffb75138ccebe"
21 21
22S = "${WORKDIR}/git"
23 22
24CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 23CVE_STATUS[CVE-2012-5638] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
25 24
diff --git a/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
index 0e5fc7b6bb..41cbe4c429 100644
--- a/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
+++ b/meta-oe/recipes-extended/sblim-cmpi-devel/sblim-cmpi-devel_2.0.3.bb
@@ -10,9 +10,11 @@ SECTION = "Development/Libraries"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/sblim/${BP}.tar.bz2 \ 11SRC_URI = "${SOURCEFORGE_MIRROR}/sblim/${BP}.tar.bz2 \
12 file://sblim-cmpi-devel-2.0.3-docdir.patch" 12 file://sblim-cmpi-devel-2.0.3-docdir.patch"
13SRC_URI[md5sum] = "b934616f88a848f17ca3cf1b9e792cbf"
14SRC_URI[sha256sum] = "1671cabff6b922b6fde897673d9fdafd56c9310f82a7eacc0547d596b9cdfea6" 13SRC_URI[sha256sum] = "1671cabff6b922b6fde897673d9fdafd56c9310f82a7eacc0547d596b9cdfea6"
15 14
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sblim/files/development%20pkgs/sblim-cmpi-devel/"
16UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
17
16inherit autotools 18inherit autotools
17 19
18BBCLASSEXTEND = "native" 20BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb b/meta-oe/recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb
index 4e90215c0e..03d8d4940c 100644
--- a/meta-oe/recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb
+++ b/meta-oe/recipes-extended/sblim-sfc-common/sblim-sfc-common_1.0.1.bb
@@ -9,11 +9,12 @@ SECTION = "Development/Libraries"
9 9
10DEPENDS = "cmpi-bindings" 10DEPENDS = "cmpi-bindings"
11 11
12S = "${WORKDIR}/sblim-sfcCommon-${PV}" 12S = "${UNPACKDIR}/sblim-sfcCommon-${PV}"
13SRC_URI = "http://downloads.sourceforge.net/sblim/sblim-sfcCommon-${PV}.tar.bz2" 13SRC_URI = "http://downloads.sourceforge.net/sblim/sblim-sfcCommon-${PV}.tar.bz2"
14SRC_URI[md5sum] = "8aa2655d97bdea54c4750f220b40990c"
15SRC_URI[sha256sum] = "b9b1037173d6ae0181c3bd5a316ddab5afd6a342ad0dbdc18e940fc0ad2c3297" 14SRC_URI[sha256sum] = "b9b1037173d6ae0181c3bd5a316ddab5afd6a342ad0dbdc18e940fc0ad2c3297"
16 15
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sblim/files/sblim-sfcCommon/"
17
17inherit autotools 18inherit autotools
18 19
19do_install() { 20do_install() {
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch
index c16e393f49..f9083e7934 100644
--- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch
+++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb/0001-include-missing-system-headers.patch
@@ -18,8 +18,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 trace.h | 3 ++- 18 trace.h | 3 ++-
19 9 files changed, 12 insertions(+), 3 deletions(-) 19 9 files changed, 12 insertions(+), 3 deletions(-)
20 20
21diff --git a/brokerEnc.c b/brokerEnc.c
22index 9115e71..889afcd 100644
23--- a/brokerEnc.c 21--- a/brokerEnc.c
24+++ b/brokerEnc.c 22+++ b/brokerEnc.c
25@@ -25,6 +25,8 @@ 23@@ -25,6 +25,8 @@
@@ -31,8 +29,6 @@ index 9115e71..889afcd 100644
31 extern const char *opGetClassNameChars(const CMPIObjectPath * cop); 29 extern const char *opGetClassNameChars(const CMPIObjectPath * cop);
32 extern const char *opGetNameSpaceChars(const CMPIObjectPath * cop); 30 extern const char *opGetNameSpaceChars(const CMPIObjectPath * cop);
33 extern CMPIConstClass *getConstClass(const char *ns, const char *cn); 31 extern CMPIConstClass *getConstClass(const char *ns, const char *cn);
34diff --git a/brokerOs.c b/brokerOs.c
35index 8d73a0b..b1427fd 100644
36--- a/brokerOs.c 32--- a/brokerOs.c
37+++ b/brokerOs.c 33+++ b/brokerOs.c
38@@ -22,6 +22,7 @@ 34@@ -22,6 +22,7 @@
@@ -43,8 +39,6 @@ index 8d73a0b..b1427fd 100644
43 39
44 static char * 40 static char *
45 resolveFileName(const char *filename) 41 resolveFileName(const char *filename)
46diff --git a/mlog.c b/mlog.c
47index a2d9eb7..6d9cd29 100644
48--- a/mlog.c 42--- a/mlog.c
49+++ b/mlog.c 43+++ b/mlog.c
50@@ -26,6 +26,7 @@ const char *_mlog_id = 44@@ -26,6 +26,7 @@ const char *_mlog_id =
@@ -55,8 +49,6 @@ index a2d9eb7..6d9cd29 100644
55 #include <errno.h> 49 #include <errno.h>
56 #include <signal.h> 50 #include <signal.h>
57 #include "trace.h" /* for setSignal() */ 51 #include "trace.h" /* for setSignal() */
58diff --git a/mofc/backend_sfcb.c b/mofc/backend_sfcb.c
59index 614abcd..99d4061 100644
60--- a/mofc/backend_sfcb.c 52--- a/mofc/backend_sfcb.c
61+++ b/mofc/backend_sfcb.c 53+++ b/mofc/backend_sfcb.c
62@@ -29,7 +29,7 @@ 54@@ -29,7 +29,7 @@
@@ -68,8 +60,6 @@ index 614abcd..99d4061 100644
68 60
69 extern CMPIStatus sfcb_simpleArrayAdd(CMPIArray * array, CMPIValue * val, CMPIType type); 61 extern CMPIStatus sfcb_simpleArrayAdd(CMPIArray * array, CMPIValue * val, CMPIType type);
70 extern CMPIObjectPath *getObjectPath(char *path, char **msg); 62 extern CMPIObjectPath *getObjectPath(char *path, char **msg);
71diff --git a/sfcbdump.c b/sfcbdump.c
72index 8a9c335..aa8559c 100644
73--- a/sfcbdump.c 63--- a/sfcbdump.c
74+++ b/sfcbdump.c 64+++ b/sfcbdump.c
75@@ -23,6 +23,7 @@ 65@@ -23,6 +23,7 @@
@@ -80,8 +70,6 @@ index 8a9c335..aa8559c 100644
80 #include "objectImpl.h" 70 #include "objectImpl.h"
81 71
82 #define BINARY_NAME argv[0] 72 #define BINARY_NAME argv[0]
83diff --git a/sfcbdumpP32onI32.c b/sfcbdumpP32onI32.c
84index ccf87dc..3540751 100644
85--- a/sfcbdumpP32onI32.c 73--- a/sfcbdumpP32onI32.c
86+++ b/sfcbdumpP32onI32.c 74+++ b/sfcbdumpP32onI32.c
87@@ -22,6 +22,7 @@ 75@@ -22,6 +22,7 @@
@@ -92,8 +80,6 @@ index ccf87dc..3540751 100644
92 #include <getopt.h> 80 #include <getopt.h>
93 #include "objectImpl.h" 81 #include "objectImpl.h"
94 #include <byteswap.h> 82 #include <byteswap.h>
95diff --git a/sfcbsem.c b/sfcbsem.c
96index 3f8de7f..1e6358b 100644
97--- a/sfcbsem.c 83--- a/sfcbsem.c
98+++ b/sfcbsem.c 84+++ b/sfcbsem.c
99@@ -21,6 +21,7 @@ 85@@ -21,6 +21,7 @@
@@ -104,8 +90,6 @@ index 3f8de7f..1e6358b 100644
104 #include <getopt.h> 90 #include <getopt.h>
105 #include <errno.h> 91 #include <errno.h>
106 92
107diff --git a/trace.c b/trace.c
108index 23597e1..c4f8011 100644
109--- a/trace.c 93--- a/trace.c
110+++ b/trace.c 94+++ b/trace.c
111@@ -25,6 +25,7 @@ 95@@ -25,6 +25,7 @@
@@ -125,8 +109,6 @@ index 23597e1..c4f8011 100644
125 int terminating = 0; 109 int terminating = 0;
126 int colorTrace; 110 int colorTrace;
127 111
128diff --git a/trace.h b/trace.h
129index ea39850..52d408d 100644
130--- a/trace.h 112--- a/trace.h
131+++ b/trace.h 113+++ b/trace.h
132@@ -25,6 +25,7 @@ 114@@ -25,6 +25,7 @@
@@ -137,7 +119,7 @@ index ea39850..52d408d 100644
137 extern unsigned long _sfcb_trace_mask; 119 extern unsigned long _sfcb_trace_mask;
138 /* use pointer indirect _sfcb_trace_mask to allow shared memory flag */ 120 /* use pointer indirect _sfcb_trace_mask to allow shared memory flag */
139 extern unsigned long *_ptr_sfcb_trace_mask; 121 extern unsigned long *_ptr_sfcb_trace_mask;
140@@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sigHandler * sh, int flags); 122@@ -162,7 +163,7 @@ extern sigHandler *setSignal(int sn, sig
141 123
142 extern char *processName; 124 extern char *processName;
143 extern int providerProcess; 125 extern int providerProcess;
@@ -146,6 +128,33 @@ index ea39850..52d408d 100644
146 extern int terminating; 128 extern int terminating;
147 129
148 #endif 130 #endif
149-- 131--- a/support.c
1502.37.3 132+++ b/support.c
151 133@@ -39,6 +39,7 @@
134 #include <err.h>
135 #endif
136 #include <errno.h>
137+#include <string.h> /* memcpy */
138 #include "native.h"
139 #include "trace.h"
140 #include "control.h"
141--- a/qualifier.c
142+++ b/qualifier.c
143@@ -19,6 +19,7 @@
144 *
145 */
146
147+#include <string.h> /* memcpy */
148 #include "objectImpl.h"
149 #include "qualifier.h"
150
151--- a/objectImplSwapI32toP32.c
152+++ b/objectImplSwapI32toP32.c
153@@ -24,6 +24,7 @@
154 #include <byteswap.h>
155 #include <stdio.h>
156 #include <stdlib.h>
157+#include <string.h> /* memcpy */
158 #include <sfcCommon/utilft.h>
159 #include <sys/utsname.h>
160
diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
index 5089397916..591321b7e9 100644
--- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
+++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
@@ -31,7 +31,6 @@ SRC_URI = "http://downloads.sourceforge.net/sblim/${BP}.tar.bz2 \
31 file://0001-include-missing-system-headers.patch \ 31 file://0001-include-missing-system-headers.patch \
32" 32"
33 33
34SRC_URI[md5sum] = "28021cdabc73690a94f4f9d57254ce30"
35SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd" 34SRC_URI[sha256sum] = "634a67b2f7ac3b386a79160eb44413d618e33e4e7fc74ae68b0240484af149dd"
36 35
37CVE_STATUS[CVE-2012-3381] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 36CVE_STATUS[CVE-2012-3381] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
@@ -43,9 +42,10 @@ SYSTEMD_PACKAGES = "${PN}"
43SYSTEMD_SERVICE:${PN} = "sblim-sfcb.service" 42SYSTEMD_SERVICE:${PN} = "sblim-sfcb.service"
44SYSTEMD_AUTO_ENABLE = "enable" 43SYSTEMD_AUTO_ENABLE = "enable"
45 44
46LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
47LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--allow-shlib-undefined ', '', d)}" 45LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--allow-shlib-undefined ', '', d)}"
48 46
47CFLAGS += "-std=gnu17"
48
49EXTRA_OECONF = '--enable-debug \ 49EXTRA_OECONF = '--enable-debug \
50 --enable-ssl \ 50 --enable-ssl \
51 --enable-pam \ 51 --enable-pam \
@@ -86,3 +86,8 @@ FILES:${PN} += "${libdir}/sfcb ${datadir}/sfcb"
86FILES:${PN}-dbg += "${libdir}/sfcb/.debug" 86FILES:${PN}-dbg += "${libdir}/sfcb/.debug"
87 87
88RDEPENDS:${PN} = "perl bash" 88RDEPENDS:${PN} = "perl bash"
89
90# This one is reproducible only on 32bit MACHINEs
91# http://errors.yoctoproject.org/Errors/Details/766970/
92# sblim-sfcb-1.4.9/trace.c:214:18: error: passing argument 1 of 'gmtime_r' from incompatible pointer type [-Wincompatible-pointer-types]
93CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch b/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch
new file mode 100644
index 0000000000..5e8f4fa0d5
--- /dev/null
+++ b/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch
@@ -0,0 +1,72 @@
1From 5151163d6f4d4de0699d1e85c54fbe2cb5b55460 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Thu, 27 Jun 2024 01:51:36 +0000
4Subject: Fix incompatible pointer type error with gcc option
5 -Wincompatible-pointer-types
6
7| ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c: In function 'main':
8| ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c:86:31: error: passing argument 1 of 'showClass' from incompatible pointer type [-Wincompatible-pointer-types]
9| 86 | showClass(data.value.cls);
10| | ~~~~~~~~~~^~~~
11| | |
12| | CIMCClass * {aka struct _CIMCClass *}
13| In file included from ../../sblim-sfcc-2.2.8/TEST/v2test_ec.c:7:
14| ../../sblim-sfcc-2.2.8/TEST/show.h:9:34: note: expected 'CMPIConstClass *' {aka 'struct _CMPIConstClass *'} but argument is of type 'CIMCClass *' {aka 'struct _CIMCClass *'}
15| 9 | void showClass( CMPIConstClass * in_class );
16| | ~~~~~~~~~~~~~~~~~^~~~~~~~
17
18| ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c: In function 'main':
19| ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c:96:36: error: passing argument 1 of 'showObjectPath' from incompatible pointer type [-Wincompatible-pointer-types]
20| 96 | showObjectPath(data.value.ref);
21| | ~~~~~~~~~~^~~~
22| | |
23| | CIMCObjectPath * {aka struct _CIMCObjectPath *}
24| In file included from ../../sblim-sfcc-2.2.8/TEST/v2test_ein.c:7:
25| ../../sblim-sfcc-2.2.8/TEST/show.h:7:39: note: expected 'CMPIObjectPath *' {aka 'struct _CMPIObjectPath *'} but argument is of type 'CIMCObjectPath *' {aka 'struct _CIMCObjectPath *'}
26| 7 | void showObjectPath( CMPIObjectPath * objectpath );
27| | ~~~~~~~~~~~~~~~~~^~~~~~~~~~
28| make[2]: *** [Makefile:1110: v2test_ein.o] Error 1
29| make[2]: *** Waiting for unfinished jobs....
30| ../../sblim-sfcc-2.2.8/TEST/v2test_im.c: In function 'main':
31| ../../sblim-sfcc-2.2.8/TEST/v2test_im.c:82:40: warning: '%s' directive argument is null [-Wformat-overflow=]
32| 82 | printf( "invokeMethod() rc=%d, msg=%s\n",
33| | ^~
34
35Upstream-Status: Backport
36[https://github.com/kkaempf/sblim-sfcc/commit/881fccbaf19e26cbef3da1bebe2b42b3a9de1147#diff-ad9eeee99837ead0f29c70cd5f3956178dc3d51bd79618affd53d72a31404d5f]
37
38Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
39---
40 TEST/v2test_ec.c | 2 +-
41 TEST/v2test_ein.c | 2 +-
42 2 files changed, 2 insertions(+), 2 deletions(-)
43
44diff --git a/TEST/v2test_ec.c b/TEST/v2test_ec.c
45index 940ca57..72a93a5 100644
46--- a/TEST/v2test_ec.c
47+++ b/TEST/v2test_ec.c
48@@ -83,7 +83,7 @@ int main()
49 count = enm->ft->hasNext(enm, NULL) ;
50 while (count > 0) {
51 data = enm->ft->getNext(enm, NULL);
52- showClass(data.value.cls);
53+ showClass((CMPIConstClass *)data.value.cls);
54 /*
55 * see if we have any more
56 */
57diff --git a/TEST/v2test_ein.c b/TEST/v2test_ein.c
58index ede95c1..c9d1152 100644
59--- a/TEST/v2test_ein.c
60+++ b/TEST/v2test_ein.c
61@@ -93,7 +93,7 @@ int count = 0;
62
63 data = enm->ft->getNext(enm, NULL);
64
65- showObjectPath(data.value.ref);
66+ showObjectPath((CMPIObjectPath *)data.value.ref);
67 /*
68 * see if we have any more
69 */
70--
712.34.1
72
diff --git a/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb b/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb
index c9d3ddd6b2..733cddc88b 100644
--- a/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb
+++ b/meta-oe/recipes-extended/sblim-sfcc/sblim-sfcc_2.2.8.bb
@@ -5,14 +5,21 @@ HOMEPAGE = "http://www.sblim.org"
5SRC_URI = "http://netcologne.dl.sourceforge.net/project/sblim/${BPN}/${BPN}-${PV}.tar.bz2 \ 5SRC_URI = "http://netcologne.dl.sourceforge.net/project/sblim/${BPN}/${BPN}-${PV}.tar.bz2 \
6 file://0001-cimxml-Include-sys-select.h-for-fd_set.patch \ 6 file://0001-cimxml-Include-sys-select.h-for-fd_set.patch \
7 file://0001-Fix-implicit-function-declarations.patch \ 7 file://0001-Fix-implicit-function-declarations.patch \
8 file://0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch \
8 " 9 "
9 10
10SRC_URI[md5sum] = "0bac0dec19f17ec065b6c332a56d7bae"
11SRC_URI[sha256sum] = "1b8f187583bc6c6b0a63aae0165ca37892a2a3bd4bb0682cd76b56268b42c3d6" 11SRC_URI[sha256sum] = "1b8f187583bc6c6b0a63aae0165ca37892a2a3bd4bb0682cd76b56268b42c3d6"
12 12
13UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sblim/files/sblim-sfcc/"
14
13LICENSE = "EPL-1.0" 15LICENSE = "EPL-1.0"
14LIC_FILES_CHKSUM = "file://COPYING;md5=f300afd598546add034364cd0a533261" 16LIC_FILES_CHKSUM = "file://COPYING;md5=f300afd598546add034364cd0a533261"
15 17
16DEPENDS = "curl" 18DEPENDS = "curl"
17 19
18inherit autotools 20inherit autotools
21
22# http://errors.yoctoproject.org/Errors/Details/766897/
23# sblim-sfcc-2.2.8/TEST/v2test_ec.c:86:31: error: passing argument 1 of 'showClass' from incompatible pointer type [-Wincompatible-pointer-types]
24# sblim-sfcc-2.2.8/TEST/v2test_ein.c:96:36: error: passing argument 1 of 'showObjectPath' from incompatible pointer type [-Wincompatible-pointer-types]
25CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb
index 999d2b9e95..ccd2f90c3b 100644
--- a/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb
+++ b/meta-oe/recipes-extended/scsirastools/scsirastools_1.6.6.bb
@@ -14,7 +14,6 @@ SRC_URI = "http://prdownloads.sourceforge.net/scsirastools/scsirastools-${PV}.ta
14 file://mdadm.patch;apply=no \ 14 file://mdadm.patch;apply=no \
15 file://print-format.patch \ 15 file://print-format.patch \
16" 16"
17SRC_URI[md5sum] = "6271a61b2ce40aaf33ef61775148cda1"
18SRC_URI[sha256sum] = "e7b997e75decb06a650c42c35cd63d0c94c34e39cf133c723337b0eeabbfdf6a" 17SRC_URI[sha256sum] = "e7b997e75decb06a650c42c35cd63d0c94c34e39cf133c723337b0eeabbfdf6a"
19 18
20inherit autotools update-rc.d 19inherit autotools update-rc.d
@@ -44,3 +43,18 @@ FILES:${PN}-raidmon = "${sbindir}/sgraidmon ${sysconfdir}/init.d/sgraid"
44RDEPENDS:${PN} += "bash" 43RDEPENDS:${PN} += "bash"
45RDEPENDS:${PN}-diskmon += "${PN} bash" 44RDEPENDS:${PN}-diskmon += "${PN} bash"
46RDEPENDS:${PN}-raidmon += "${PN} bash" 45RDEPENDS:${PN}-raidmon += "${PN} bash"
46
47# This one is reproducible only on 32bit MACHINEs
48# http://errors.yoctoproject.org/Errors/Details/766967/
49# scsirastools-1.6.6/src/sgdiag.c:238:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
50# scsirastools-1.6.6/src/sgdiag.c:697:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
51# scsirastools-1.6.6/src/sgdiag.c:699:30: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
52# scsirastools-1.6.6/src/sgdiag.c:733:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
53# scsirastools-1.6.6/src/sgdefects.c:214:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
54# scsirastools-1.6.6/src/sgmode.c:290:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
55# scsirastools-1.6.6/src/sgdiskmon.c:1278:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
56# scsirastools-1.6.6/src/sgdskfl.c:318:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
57# scsirastools-1.6.6/src/sgdskfl.c:829:37: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
58# scsirastools-1.6.6/src/sgraidmon.c:1641:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
59# scsirastools-1.6.6/src/sgsafte.c:1298:23: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
60CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-extended/sedutil/files/0001-include-missing-cstdint.patch b/meta-oe/recipes-extended/sedutil/files/0001-include-missing-cstdint.patch
deleted file mode 100644
index 8afcb1fa48..0000000000
--- a/meta-oe/recipes-extended/sedutil/files/0001-include-missing-cstdint.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 927cd88cad7bea94c2eebecc18f7881f0defaccb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 26 Jan 2023 23:36:29 -0800
4Subject: [PATCH] include missing <cstdint>
5
6gcc 13 moved some includes around and as a result <cstdint>
7is no longer transitively included [1]. Explicitly include
8it for uint{32,64}_t.
9
10[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
11
12Upstream-Status: Submitted [https://github.com/Drive-Trust-Alliance/sedutil/pull/425]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 Common/DtaOptions.h | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/Common/DtaOptions.h b/Common/DtaOptions.h
19index c012af1..7530a0b 100644
20--- a/Common/DtaOptions.h
21+++ b/Common/DtaOptions.h
22@@ -21,6 +21,7 @@ along with sedutil. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef _DTAOPTIONS_H
24 #define _DTAOPTIONS_H
25
26+#include <cstdint>
27 /** Output modes */
28 typedef enum _sedutiloutput {
29 sedutilNormal,
30--
312.39.1
32
diff --git a/meta-oe/recipes-extended/sedutil/sedutil_git.bb b/meta-oe/recipes-extended/sedutil/sedutil_git.bb
index 972a33c742..e8987b2dd0 100644
--- a/meta-oe/recipes-extended/sedutil/sedutil_git.bb
+++ b/meta-oe/recipes-extended/sedutil/sedutil_git.bb
@@ -7,13 +7,12 @@ LICENSE = "GPL-3.0-only"
7 7
8LIC_FILES_CHKSUM = "file://Common/LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504" 8LIC_FILES_CHKSUM = "file://Common/LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
9 9
10PV = "1.20.0" 10PV = "1.20.0+git"
11SRCREV = "d3de8e45e06a21d31cca0046ceb16ced1ef3563a" 11
12SRCREV = "6270fb0e3c110572d96936a473b5e0d21a39884d"
12SRC_URI = "git://github.com/Drive-Trust-Alliance/sedutil.git;branch=master;protocol=https \ 13SRC_URI = "git://github.com/Drive-Trust-Alliance/sedutil.git;branch=master;protocol=https \
13 file://0001-Fix-build-on-big-endian-architectures.patch \ 14 file://0001-Fix-build-on-big-endian-architectures.patch \
14 file://0001-include-missing-cstdint.patch \
15 " 15 "
16 16
17S = "${WORKDIR}/git"
18 17
19inherit autotools-brokensep 18inherit autotools-brokensep
diff --git a/meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb b/meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb
index 9b25745ed6..1b3a484ccb 100644
--- a/meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb
+++ b/meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb
@@ -6,10 +6,9 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-1.2-0.10-src.ta
6 file://Makefile-error-fix.patch \ 6 file://Makefile-error-fix.patch \
7 file://0001-makefile-Add-LDFLAGS-to-linking-rule.patch \ 7 file://0001-makefile-Add-LDFLAGS-to-linking-rule.patch \
8 " 8 "
9SRC_URI[md5sum] = "a417bf68da4e9bd79a4664c11d7debd1"
10SRC_URI[sha256sum] = "9bf8c42acaa247efd9321bdb1fc2390022f0c554d77fbbd4a7363d990fc0270b" 9SRC_URI[sha256sum] = "9bf8c42acaa247efd9321bdb1fc2390022f0c554d77fbbd4a7363d990fc0270b"
11 10
12S = "${WORKDIR}/${BPN}" 11S = "${UNPACKDIR}/${BPN}"
13 12
14LICENSE = "GPL-2.0-or-later" 13LICENSE = "GPL-2.0-or-later"
15LIC_FILES_CHKSUM = "file://LICENSE_GPL;md5=393a5ca445f6965873eca0259a17f833" 14LIC_FILES_CHKSUM = "file://LICENSE_GPL;md5=393a5ca445f6965873eca0259a17f833"
diff --git a/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
index 1e5ffdd856..1e63179e84 100644
--- a/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
+++ b/meta-oe/recipes-extended/sigrok/libsigrok_0.5.2.bb
@@ -19,7 +19,6 @@ inherit autotools pkgconfig mime
19 19
20SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz" 20SRC_URI = "http://sigrok.org/download/source/libsigrok/libsigrok-${PV}.tar.gz"
21 21
22SRC_URI[md5sum] = "e258d471b6d5eaa58daf927a0dc3ba67"
23SRC_URI[sha256sum] = "4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c" 22SRC_URI[sha256sum] = "4d341f90b6220d3e8cb251dacf726c41165285612248f2c52d15df4590a1ce3c"
24 23
25FILES:${PN} += "${datadir}/*" 24FILES:${PN} += "${datadir}/*"
diff --git a/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch b/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
index 45556afa8a..a051f90c43 100644
--- a/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
+++ b/meta-oe/recipes-extended/sigrok/libsigrokdecode/0001-configure.ac-add-py-3.10-support.patch
@@ -18,7 +18,7 @@ index 4802f35..e0e468f 100644
18 # https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build 18 # https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
19 SR_PKG_CHECK([python3], [SRD_PKGLIBS], 19 SR_PKG_CHECK([python3], [SRD_PKGLIBS],
20- [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2]) 20- [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
21+ [python-3.12-embed], [python-3.11-embed], [python-3.10-embed], [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2]) 21+ [python-3.13-embed], [python-3.12-embed], [python-3.11-embed], [python-3.10-embed], [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
22 AS_IF([test "x$sr_have_python3" = xno], 22 AS_IF([test "x$sr_have_python3" = xno],
23 [AC_MSG_ERROR([Cannot find Python 3 development headers.])]) 23 [AC_MSG_ERROR([Cannot find Python 3 development headers.])])
24 24
diff --git a/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb b/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
index 24091bcf90..4ea2287e40 100644
--- a/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
+++ b/meta-oe/recipes-extended/sigrok/libsigrokdecode_0.5.3.bb
@@ -13,5 +13,4 @@ SRC_URI = "http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-${P
13 file://0001-configure.ac-add-py-3.10-support.patch \ 13 file://0001-configure.ac-add-py-3.10-support.patch \
14 " 14 "
15 15
16SRC_URI[md5sum] = "7ba4ed4ef1f06ae96979751e096c2821"
17SRC_URI[sha256sum] = "c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0" 16SRC_URI[sha256sum] = "c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0"
diff --git a/meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb b/meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb
index 48f96cc435..f9da51fe6c 100644
--- a/meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb
+++ b/meta-oe/recipes-extended/sigrok/sigrok-cli_0.7.2.bb
@@ -13,7 +13,6 @@ PACKAGECONFIG ??= "decode"
13inherit autotools pkgconfig mime-xdg 13inherit autotools pkgconfig mime-xdg
14 14
15SRC_URI = "http://sigrok.org/download/source/sigrok-cli/sigrok-cli-${PV}.tar.gz" 15SRC_URI = "http://sigrok.org/download/source/sigrok-cli/sigrok-cli-${PV}.tar.gz"
16SRC_URI[md5sum] = "856fd496cd99d1091aa128405c522a36"
17SRC_URI[sha256sum] = "71d0443f36897bf565732dec206830dbea0f2789b6601cf10536b286d1140ab8" 16SRC_URI[sha256sum] = "71d0443f36897bf565732dec206830dbea0f2789b6601cf10536b286d1140ab8"
18 17
19FILES:${PN} += "${datadir}/icons/hicolor" 18FILES:${PN} += "${datadir}/icons/hicolor"
diff --git a/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb b/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb
index bc3bc3aa47..2a49ba99b0 100644
--- a/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb
+++ b/meta-oe/recipes-extended/snappy/snappy_1.1.10.bb
@@ -15,7 +15,6 @@ SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main \
15 15
16SRCREV = "dc05e026488865bc69313a68bcc03ef2e4ea8e83" 16SRCREV = "dc05e026488865bc69313a68bcc03ef2e4ea8e83"
17 17
18S = "${WORKDIR}/git"
19 18
20inherit cmake pkgconfig 19inherit cmake pkgconfig
21 20
diff --git a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
index ab97356e9b..530e38ce21 100644
--- a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
+++ b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
@@ -5,8 +5,9 @@ PV = "1.0+git"
5 5
6SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https;branch=master" 6SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https;branch=master"
7 7
8# Upstream repo does not tag
9UPSTREAM_CHECK_COMMITS = "1"
8 10
9S = "${WORKDIR}/git"
10 11
11inherit module 12inherit module
12 13
diff --git a/meta-oe/recipes-extended/socketcan/can-utils/0001-Include-time.h-for-timespec-struct-definition.patch b/meta-oe/recipes-extended/socketcan/can-utils/0001-Include-time.h-for-timespec-struct-definition.patch
new file mode 100644
index 0000000000..91b9dd3c4e
--- /dev/null
+++ b/meta-oe/recipes-extended/socketcan/can-utils/0001-Include-time.h-for-timespec-struct-definition.patch
@@ -0,0 +1,28 @@
1From 4363ef59cc9f2169455f56453759d4a4d9b89a5f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 13 Feb 2025 22:14:47 -0800
4Subject: [PATCH] Include time.h for timespec struct definition
5
6Fixes
7git/isobusfs/../libj1939.h:33:18: error: field has incomplete type 'struct timespec'
8 33 | struct timespec next_send_time;
9 | ^
10
11Upstream-Status: Submitted [https://github.com/linux-can/can-utils/pull/579]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 libj1939.h | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/libj1939.h b/libj1939.h
18index 44393a2..7c19f43 100644
19--- a/libj1939.h
20+++ b/libj1939.h
21@@ -17,6 +17,7 @@
22 #include <linux/can/j1939.h>
23 #include <stdbool.h>
24 #include <stdint.h>
25+#include <time.h>
26 #include <sys/socket.h>
27
28 #ifndef J1939_LIB_H
diff --git a/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
index ca6cb7db58..5dc41bcb93 100644
--- a/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb
+++ b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
@@ -4,22 +4,46 @@ LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61
4 4
5DEPENDS = "libsocketcan" 5DEPENDS = "libsocketcan"
6 6
7SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master \
8 file://0001-Include-time.h-for-timespec-struct-definition.patch"
8 9
9SRCREV = "cfe41963f3425e9adb01a70cfaddedf5e5982720" 10SRCREV = "01083a64ebf28cc716efe2d2fd51c141042ae34b"
10 11
11S = "${WORKDIR}/git"
12 12
13inherit autotools pkgconfig update-alternatives 13inherit cmake pkgconfig update-alternatives
14 14
15PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log" 15PACKAGES =+ " \
16 ${PN}-access \
17 ${PN}-cantest \
18 ${PN}-isobusfs \
19 ${PN}-isobusfs-dev \
20 ${PN}-isotp \
21 ${PN}-j1939 \
22 ${PN}-log \
23 ${PN}-mcp251xfd \
24 ${PN}-slcan \
25"
16 26
17FILES:${PN}-access = " \ 27FILES:${PN}-access = " \
18 ${bindir}/cangw \ 28 ${bindir}/cangw \
19 ${bindir}/canlogserver \ 29 ${bindir}/canlogserver \
20 ${bindir}/bcmserver \ 30 ${bindir}/bcmserver \
21 ${bindir}/socketcand \ 31"
22 ${bindir}/cannelloni \ 32
33FILES:${PN}-cantest = " \
34 ${bindir}/canbusload \
35 ${bindir}/can-calc-bit-timing \
36 ${bindir}/canfdtest \
37"
38
39FILES:${PN}-isobusfs = " \
40 ${bindir}/isobusfs-cli \
41 ${bindir}/isobusfs-srv \
42 ${libdir}/libisobusfs.so \
43"
44
45FILES:${PN}-isobusfs-dev = " \
46 ${includedir}/isobusfs* \
23" 47"
24 48
25FILES:${PN}-isotp = "${bindir}/isotp*" 49FILES:${PN}-isotp = "${bindir}/isotp*"
@@ -29,16 +53,14 @@ FILES:${PN}-j1939 = " \
29 ${bindir}/testj1939 \ 53 ${bindir}/testj1939 \
30" 54"
31 55
32FILES:${PN}-cantest = " \ 56FILES:${PN}-log = "${bindir}/*log*"
33 ${bindir}/canbusload \ 57
34 ${bindir}/can-calc-bit-timing \ 58FILES:${PN}-mcp251xfd = " \
35 ${bindir}/canfdtest \ 59 ${bindir}/mcp251xfd* \
36" 60"
37 61
38FILES:${PN}-slcan = "${bindir}/slcan*" 62FILES:${PN}-slcan = "${bindir}/slcan*"
39 63
40FILES:${PN}-log = "${bindir}/*log*"
41
42ALTERNATIVE:${PN} = "candump cansend cansequence" 64ALTERNATIVE:${PN} = "candump cansend cansequence"
43ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" 65ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
44ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend" 66ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
@@ -46,5 +68,4 @@ ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"
46 68
47# busybox ip fails to configure can interfaces, so we need iproute2 to do so. 69# busybox ip fails to configure can interfaces, so we need iproute2 to do so.
48# See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver. 70# See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.
49RRECOMMENDS:${PN} += "iproute2" 71RRECOMMENDS:${PN} += "iproute2-ip"
50
diff --git a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
index ab4710e81f..b92b8086d6 100644
--- a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
+++ b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
@@ -8,13 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
8DEPENDS = "libsocketcan" 8DEPENDS = "libsocketcan"
9 9
10SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d" 10SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d"
11SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;branch=master \ 11SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=https;branch=master \
12 file://0001-canutils-candump-Add-error-frame-s-handling.patch \ 12 file://0001-canutils-candump-Add-error-frame-s-handling.patch \
13" 13"
14 14
15inherit update-alternatives 15inherit update-alternatives
16 16
17S = "${WORKDIR}/git"
18 17
19inherit autotools pkgconfig 18inherit autotools pkgconfig
20 19
diff --git a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb
index 9f6ef85c87..535f37f84c 100644
--- a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb
+++ b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.12.bb
@@ -7,9 +7,8 @@ LIC_FILES_CHKSUM = "file://src/libsocketcan.c;beginline=3;endline=17;md5=97e38ad
7 7
8SRCREV = "077def398ad303043d73339112968e5112d8d7c8" 8SRCREV = "077def398ad303043d73339112968e5112d8d7c8"
9 9
10SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=git;branch=master" 10SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=https;branch=master"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools pkgconfig 13inherit autotools pkgconfig
15 14
diff --git a/meta-oe/recipes-extended/socketcan/socketcand_git.bb b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
new file mode 100644
index 0000000000..ba69875c93
--- /dev/null
+++ b/meta-oe/recipes-extended/socketcan/socketcand_git.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Socketcand, socketcan over tcp/ip"
2LICENSE = "GPL-2.0-only | BSD-3-Clause"
3LIC_FILES_CHKSUM = " \
4 file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
5 file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
6"
7
8SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
9SRCREV = "998b0394d028e791aa97d549bfc686b4fbadf5ee"
10
11inherit meson pkgconfig
12
13PACKAGECONFIG ?= "libconfig libsocketcan"
14PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
15PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"
diff --git a/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch b/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch
new file mode 100644
index 0000000000..9a81f1c74c
--- /dev/null
+++ b/meta-oe/recipes-extended/sysdig/sysdig/0001-libsinsp-fix-build-with-gcc-15.patch
@@ -0,0 +1,31 @@
1From 47a86dabd065096ffc8818a1cffca96964d18120 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Tue, 22 Apr 2025 18:43:46 +0200
4Subject: [PATCH] libsinsp: fix build with gcc-15
5
6fixes:
7http://errors.yoctoproject.org/Errors/Details/852848/
8
9In file included from TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/chisel/lua_parser.cpp:20:
10TOPDIR/tmp/work/core2-64-oe-linux/sysdig/0.28.0/git/falcosecurity-libs/userspace/libsinsp/./gen_filter.h:87:17: error: 'uint64_t' does not name a type
11 87 | virtual uint64_t get_ts() const = 0;
12 | ^~~~~~~~
13
14Upstream-Status: Pending [gen_filter is removed in newer version with https://github.com/falcosecurity/libs/commit/47e245f3d343eff27ed178ec2449caa3a01faabb]
15Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
16---
17 userspace/libsinsp/gen_filter.h | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/userspace/libsinsp/gen_filter.h b/userspace/libsinsp/gen_filter.h
21index f4cfa08b1..79ac30dc3 100644
22--- a/userspace/libsinsp/gen_filter.h
23+++ b/userspace/libsinsp/gen_filter.h
24@@ -16,6 +16,7 @@ along with Falco. If not, see <http://www.gnu.org/licenses/>.
25
26 #pragma once
27
28+#include <cstdint>
29 #include <set>
30 #include <list>
31 #include <map>
diff --git a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb
index e814120ee6..b60f9c643c 100644
--- a/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb
+++ b/meta-oe/recipes-extended/sysdig/sysdig_0.28.0.bb
@@ -23,16 +23,16 @@ DEPENDS += "libb64 lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp \
23RDEPENDS:${PN} = "bash" 23RDEPENDS:${PN} = "bash"
24 24
25SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \ 25SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https;name=sysdig \
26 git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=git/falcosecurity-libs \ 26 git://github.com/falcosecurity/libs;protocol=https;branch=master;name=falco;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/falcosecurity-libs \
27 file://0001-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \ 27 file://0001-Add-cstdint-for-uintXX_t-types.patch;patchdir=./falcosecurity-libs \
28 file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \ 28 file://0001-cmake-Pass-PROBE_NAME-via-CFLAGS.patch \
29 file://0001-libsinsp-fix-build-with-gcc-15.patch;patchdir=./falcosecurity-libs \
29 " 30 "
30SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b" 31SRCREV_sysdig = "4fb6288275f567f63515df0ff0a6518043ecfa9b"
31SRCREV_falco= "caa0e4d0044fdaaebab086592a97f0c7f32aeaa9" 32SRCREV_falco = "caa0e4d0044fdaaebab086592a97f0c7f32aeaa9"
32 33
33SRCREV_FORMAT = "sysdig_falco" 34SRCREV_FORMAT = "sysdig_falco"
34 35
35S = "${WORKDIR}/git"
36 36
37EXTRA_OECMAKE = "\ 37EXTRA_OECMAKE = "\
38 -DBUILD_DRIVER=OFF \ 38 -DBUILD_DRIVER=OFF \
diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
index 580d03cbb5..a4bf3eaaca 100644
--- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
+++ b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
@@ -18,7 +18,6 @@ DEPENDS += "libdaemon"
18 18
19RDEPENDS:${PN} = "iproute2-tipc" 19RDEPENDS:${PN} = "iproute2-tipc"
20 20
21S = "${WORKDIR}/git"
22 21
23do_configure:prepend() { 22do_configure:prepend() {
24 ( cd ${S}; ${S}/bootstrap ) 23 ( cd ${S}; ${S}/bootstrap )
@@ -46,7 +45,7 @@ do_install:append() {
46 # Install systemd related configuration file 45 # Install systemd related configuration file
47 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 46 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
48 install -d ${D}${sysconfdir}/modules-load.d 47 install -d ${D}${sysconfdir}/modules-load.d
49 install -m 0644 ${WORKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d 48 install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d
50 fi 49 fi
51} 50}
52 51
diff --git a/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb b/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb
index 4e66d8d05a..5fb28b0085 100644
--- a/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb
+++ b/meta-oe/recipes-extended/tmate/tmate_2.4.0.bb
@@ -12,6 +12,5 @@ SRC_URI = "\
12 12
13SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b" 13SRCREV = "5e00bfa5e137e76c81888727712ced2b3fd99f5b"
14 14
15S = "${WORKDIR}/git"
16 15
17inherit pkgconfig autotools 16inherit pkgconfig autotools
diff --git a/meta-oe/recipes-extended/tmux/tmux_3.3a.bb b/meta-oe/recipes-extended/tmux/tmux_3.5.bb
index 5187222838..33f709681d 100644
--- a/meta-oe/recipes-extended/tmux/tmux_3.3a.bb
+++ b/meta-oe/recipes-extended/tmux/tmux_3.5.bb
@@ -5,13 +5,13 @@ SECTION = "console/utils"
5LICENSE = "ISC" 5LICENSE = "ISC"
6LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=f256b76d52e7b4d02bf19144bdaca107" 6LIC_FILES_CHKSUM = "file://tmux.c;beginline=3;endline=17;md5=f256b76d52e7b4d02bf19144bdaca107"
7 7
8DEPENDS = "ncurses libevent" 8DEPENDS = "ncurses libevent bison-native"
9 9
10SRC_URI = "https://github.com/tmux/tmux/releases/download/${PV}/tmux-${PV}.tar.gz" 10SRC_URI = "https://github.com/tmux/tmux/releases/download/${PV}/tmux-${PV}.tar.gz"
11SRC_URI[md5sum] = "8eee5883b9f6550fa4efaad0c9ec38f3" 11SRC_URI[sha256sum] = "2fe01942e7e7d93f524a22f2c883822c06bc258a4d61dba4b407353d7081950f"
12SRC_URI[sha256sum] = "e4fd347843bd0772c4f48d6dde625b0b109b7a380ff15db21e97c11a4dcdf93f"
13 12
14UPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases" 13UPSTREAM_CHECK_URI = "https://github.com/tmux/tmux/releases"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17 17
diff --git a/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb b/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb
index 0b14f9557a..1a453ebe10 100644
--- a/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb
+++ b/meta-oe/recipes-extended/triggerhappy/triggerhappy_git.bb
@@ -9,9 +9,8 @@ SRCREV = "44a173195986d0d853316cb02a58785ded66c12b"
9PV = "0.5.0+git" 9PV = "0.5.0+git"
10SRC_URI = "git://github.com/wertarbyte/${BPN}.git;branch=debian;protocol=https" 10SRC_URI = "git://github.com/wertarbyte/${BPN}.git;branch=debian;protocol=https"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools-brokensep pkgconfig perlnative update-rc.d systemd 13inherit pkgconfig perlnative update-rc.d systemd
15 14
16PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" 15PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}"
17PACKAGECONFIG[systemd] = ",,systemd" 16PACKAGECONFIG[systemd] = ",,systemd"
@@ -30,7 +29,9 @@ FILES:${PN} = "\
30" 29"
31CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" 30CONFFILES:${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules"
32 31
33do_install:append() { 32do_install() {
33 oe_runmake 'DESTDIR=${D}' 'BINDIR=${D}${sbindir}' install
34
34 install -d ${D}${sysconfdir}/triggerhappy/triggers.d 35 install -d ${D}${sysconfdir}/triggerhappy/triggers.d
35 36
36 install -d ${D}${nonarch_base_libdir}/udev/rules.d 37 install -d ${D}${nonarch_base_libdir}/udev/rules.d
diff --git a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb
index 6a99e8d29b..0e189b558f 100644
--- a/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb
+++ b/meta-oe/recipes-extended/uml-utilities/uml-utilities_20040406.bb
@@ -11,11 +11,11 @@ SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_
11 file://0001-cow.c-Replace-stat64-with-stat.patch \ 11 file://0001-cow.c-Replace-stat64-with-stat.patch \
12 file://0001-makefiles-Append-to-CFLAGS-instead-of-re-assign.patch \ 12 file://0001-makefiles-Append-to-CFLAGS-instead-of-re-assign.patch \
13 " 13 "
14SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a"
15SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41" 14SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41"
16 15
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/user-mode-linux/files/tools/1/"
17 17
18S = "${WORKDIR}/tools" 18S = "${UNPACKDIR}/tools"
19 19
20inherit update-alternatives 20inherit update-alternatives
21 21
diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb
index 3aa766d0bd..616f4ca09a 100644
--- a/meta-oe/recipes-extended/upm/upm_git.bb
+++ b/meta-oe/recipes-extended/upm/upm_git.bb
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/eclipse/${BPN}.git;protocol=https;branch=master \
21 21
22SRC_URI:append:toolchain-clang:x86 = " file://0001-nmea_gps-Link-with-latomic.patch " 22SRC_URI:append:toolchain-clang:x86 = " file://0001-nmea_gps-Link-with-latomic.patch "
23 23
24S = "${WORKDIR}/git"
25 24
26# Depends on mraa which only supports x86 and ARM for now 25# Depends on mraa which only supports x86 and ARM for now
27COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" 26COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux"
diff --git a/meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch b/meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch
new file mode 100644
index 0000000000..7dd064fc03
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/0001-src-Do-not-reset-FINAL_LIBS.patch
@@ -0,0 +1,30 @@
1From a657a3c88488e761c05011400fcee5328fc797e1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 Sep 2019 20:04:26 -0700
4Subject: [PATCH] src: Do not reset FINAL_LIBS
5
6This helps case where additional libraries are needed to be passed from
7environment to get it going
8
9e.g. -latomic is needed on clang/x86 to provide for 64bit atomics
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
14---
15 src/Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/Makefile b/src/Makefile
19index 5919f01e9..e95050376 100644
20--- a/src/Makefile
21+++ b/src/Makefile
22@@ -138,7 +138,7 @@ endif
23
24 FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(SERVER_CFLAGS)
25 FINAL_LDFLAGS=$(LDFLAGS) $(OPT) $(SERVER_LDFLAGS) $(DEBUG)
26-FINAL_LIBS=-lm
27+FINAL_LIBS+=-lm
28 DEBUG=-g -ggdb
29
30 # Linux ARM32 needs -latomic at linking time
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch b/meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch
index 6e07c25c6a..bf6fc9ab24 100644
--- a/meta-oe/recipes-extended/redis/redis-7.2.5/GNU_SOURCE-7.patch
+++ b/meta-oe/recipes-extended/valkey/valkey/GNU_SOURCE-7.patch
@@ -1,4 +1,4 @@
1From a22512ac1cbd6de1f5646219722e49752d1f60ac Mon Sep 17 00:00:00 2001 1From 6414a404c3216e654cc6583ebda0c7b3bd304ecf Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 21 Dec 2019 12:09:51 -0800 3Date: Sat, 21 Dec 2019 12:09:51 -0800
4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER 4Subject: [PATCH] Define _GNU_SOURCE to get PTHREAD_MUTEX_INITIALIZER
@@ -10,18 +10,18 @@ Fixes
10 10
11Upstream-Status: Pending 11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 13Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
14--- 14---
15 src/zmalloc.c | 1 + 15 src/zmalloc.c | 1 +
16 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
17 17
18diff --git a/src/zmalloc.c b/src/zmalloc.c 18diff --git a/src/zmalloc.c b/src/zmalloc.c
19index ba03685..322304f 100644 19index 3abf9a31a..fa2f25c07 100644
20--- a/src/zmalloc.c 20--- a/src/zmalloc.c
21+++ b/src/zmalloc.c 21+++ b/src/zmalloc.c
22@@ -32,6 +32,7 @@ 22@@ -33,6 +33,7 @@
23 #include "config.h"
24 #include "solarisfixes.h" 23 #include "solarisfixes.h"
24 #include "serverassert.h"
25 25
26+#define _GNU_SOURCE 26+#define _GNU_SOURCE
27 #include <stdio.h> 27 #include <stdio.h>
diff --git a/meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch b/meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch
new file mode 100644
index 0000000000..ffb365f371
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/hiredis-use-default-CC-if-it-is-set.patch
@@ -0,0 +1,43 @@
1From a5bcf56630df520040076dd14c3c54fef0785ceb Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 17:39:52 -0600
4Subject: [PATCH] hiredis: use default CC if it is set
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Instead of trying to automagically figure out CC, which breaks with OE
10as CC has spaces in it, just skip it if one was already passed in.
11
12Signed-off-by: Venture Research <tech@ventureresearch.com>
13
14Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17Reworked for 6.0.4
18Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
19
20Reworked for 8.0.0
21Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
22
23Reworked for 8.1.0
24Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
25
26Upstream-Status: Inappropriate [OE-specifc]
27---
28 deps/hiredis/Makefile | 2 --
29 1 file changed, 2 deletions(-)
30
31diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile
32index 4a3de1f6e..49bb525cd 100644
33--- a/deps/hiredis/Makefile
34+++ b/deps/hiredis/Makefile
35@@ -36,8 +36,6 @@ endef
36 export REDIS_TEST_CONFIG
37
38 # Fallback to gcc when $CC is not in $PATH.
39-CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
40-CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
41 OPTIMIZATION?=-O3
42 WARNINGS=-Wall -Wextra -Werror -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
43 DEBUG_FLAGS?= -g -ggdb
diff --git a/meta-oe/recipes-extended/valkey/valkey/init-valkey-server b/meta-oe/recipes-extended/valkey/valkey/init-valkey-server
new file mode 100755
index 0000000000..8731795740
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/init-valkey-server
@@ -0,0 +1,71 @@
1#!/bin/sh
2#
3### BEGIN INIT INFO
4# Provides: valkey-server
5# Required-Start: $network
6# Required-Stop: $network
7# Default-Start: S 2 3 4 5
8# Default-Stop: 0 1 6
9# Short-Description: Redis, a key-value store
10# Description: Redis is an open source, advanced key-value store.
11# http://valkey.io
12### END INIT INFO
13
14test -f /usr/bin/valkey-server || exit 0
15
16ARGS="/etc/valkey/valkey.conf"
17
18case "$1" in
19 start)
20 echo "Starting valkey-server..."
21 start-stop-daemon --start --quiet --exec /usr/bin/valkey-server -- $ARGS
22 ;;
23 stop)
24 echo "Stopping valkey-server..."
25 start-stop-daemon --stop --quiet --exec /usr/bin/valkey-server
26 ;;
27 restart)
28 echo "Stopping valkey-server..."
29 start-stop-daemon --stop --quiet --exec /usr/bin/valkey-server
30
31 # Since busybox implementation ignores --retry arguments repeatedly check
32 # if the process is still running and try another signal after a timeout,
33 # efectively simulating a stop with --retry=TERM/5/KILL/5 schedule.
34 waitAfterTerm=5000000 # us / 5000 ms / 5 s
35 waitAfterKill=5000000 # us / 5000 ms / 5 s
36 waitStep=100000 # us / 100 ms / 0.1 s
37 waited=0
38 start-stop-daemon --stop --test --quiet --exec /usr/bin/valkey-server
39 processOff=$?
40 while [ $processOff -eq 0 ] && [ $waited -le $waitAfterTerm ] ; do
41 usleep ${waitStep}
42 ((waited+=${waitStep}))
43 start-stop-daemon --stop --test --quiet --exec /usr/bin/valkey-server
44 processOff=$?
45 done
46 if [ $processOff -eq 0 ] ; then
47 start-stop-daemon --stop --signal KILL --exec /usr/bin/valkey-server
48 start-stop-daemon --stop --test --quiet --exec /usr/bin/valkey-server
49 processOff=$?
50 fi
51 waited=0
52 while [ $processOff -eq 0 ] && [ $waited -le $waitAfterKill ] ; do
53 usleep ${waitStep}
54 ((waited+=${waitStep}))
55 start-stop-daemon --stop --test --quiet --exec /usr/bin/valkey-server
56 processOff=$?
57 done
58 # Here $processOff will indicate if waiting and retrying according to
59 # the schedule ended in a successfull stop or not.
60
61 echo "Starting valkey-server..."
62 start-stop-daemon --start --quiet --exec /usr/bin/valkey-server -- $ARGS
63 ;;
64 *)
65 echo "Usage: /etc/init.d/valkey-server {start|stop|restart}"
66 exit 1
67 ;;
68esac
69
70exit 0
71
diff --git a/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch b/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch
new file mode 100644
index 0000000000..b91684afd6
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/lua-update-Makefile-to-use-environment-build-setting.patch
@@ -0,0 +1,82 @@
1From 60487572d23cb374f8eb6b6560c385ecf6ad417e Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Fri, 8 Feb 2013 20:22:19 -0600
4Subject: [PATCH] lua: update Makefile to use environment build settings
5
6OE-specific parameters, instead of overriding all of these simply use
7the ones that are already passed in. Also configure for only Linux...
8
9Signed-off-by: Venture Research <tech@ventureresearch.com>
10
11Updated to work with 3.0.x
12
13Signed-off-by: Armin Kuster <akust808@gmail.com>
14
15updated to work wtih 6.2.1
16Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
17Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
18
19Updated to work with 8.1.x
20Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
21
22Upstream-Status: Inappropriate [OE-specific]
23
24---
25 deps/Makefile | 1 -
26 deps/lua/Makefile | 1 -
27 deps/lua/src/Makefile | 16 ++++++----------
28 3 files changed, 6 insertions(+), 12 deletions(-)
29
30diff --git a/deps/Makefile b/deps/Makefile
31index 72389def9..5d3ade528 100644
32--- a/deps/Makefile
33+++ b/deps/Makefile
34@@ -95,7 +95,6 @@ endif
35 # lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
36 # challenging to cross-compile lua (and redis). These defines make it easier
37 # to fit redis into cross-compilation environments, which typically set AR.
38-AR=ar
39 ARFLAGS=rc
40
41 lua: .make-prerequisites
42diff --git a/deps/lua/Makefile b/deps/lua/Makefile
43index 209a13244..72f4b2bf2 100644
44--- a/deps/lua/Makefile
45+++ b/deps/lua/Makefile
46@@ -33,7 +33,6 @@ INSTALL_DATA= $(INSTALL) -m 0644
47
48 # Utilities.
49 MKDIR= mkdir -p
50-RANLIB= ranlib
51
52 # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
53
54diff --git a/deps/lua/src/Makefile b/deps/lua/src/Makefile
55index f3bba2f81..1555ec028 100644
56--- a/deps/lua/src/Makefile
57+++ b/deps/lua/src/Makefile
58@@ -5,18 +5,14 @@
59 # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
60
61 # Your platform. See PLATS for possible values.
62-PLAT= none
63+PLAT= linux
64
65-CC?= gcc
66-CFLAGS= -O2 -Wall $(MYCFLAGS)
67-AR= ar rcu
68-RANLIB= ranlib
69-RM= rm -f
70-LIBS= -lm $(MYLIBS)
71-
72-MYCFLAGS=
73+MYCFLAGS=-DLUA_USE_LINUX
74 MYLDFLAGS=
75-MYLIBS=
76+MYLIBS=-Wl,-E -ldl -lreadline -lhistory -lncurses
77+
78+CFLAGS += $(MYCFLAGS)
79+LIBS += -lm $(MYLIBS)
80
81 # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE =========
82
diff --git a/meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch
new file mode 100644
index 0000000000..a711830e41
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/oe-use-libc-malloc.patch
@@ -0,0 +1,42 @@
1From 87bbb65c3c5fb7d248871d9c3bcbd3d27c781449 Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc
5
6Hack to force libc usage as it seems the option to pass it in has been
7removed in favor of magic.
8
9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly.
11
12Signed-off-by: Venture Research <tech@ventureresearch.com>
13
14Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17Update to work with 8.0.0
18Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
19
20Update to work with 8.1.0
21Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
22
23Upstream-Status: Inappropriate [Embedded specific]
24
25---
26 src/Makefile | 3 ++-
27 1 file changed, 2 insertions(+), 1 deletion(-)
28
29diff --git a/src/Makefile b/src/Makefile
30index 1437f41bd..5919f01e9 100644
31--- a/src/Makefile
32+++ b/src/Makefile
33@@ -13,7 +13,8 @@
34 # Just use 'make dep', but this is only needed by developers.
35
36 release_hdr := $(shell sh -c './mkreleasehdr.sh')
37-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
38+# use fake uname option to force use of generic libc
39+uname_S := "USE_LIBC_MALLOC"
40 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
41 CLANG := $(findstring clang,$(shell sh -c '$(CC) --version | head -1'))
42
diff --git a/meta-oe/recipes-extended/valkey/valkey/valkey.conf b/meta-oe/recipes-extended/valkey/valkey/valkey.conf
new file mode 100644
index 0000000000..5efff8fd4c
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/valkey.conf
@@ -0,0 +1,1314 @@
1# Redis configuration file example.
2#
3# Note that in order to read the configuration file, Redis must be
4# started with the file path as first argument:
5#
6# ./valkey-server /path/to/valkey.conf
7
8# Note on units: when memory size is needed, it is possible to specify
9# it in the usual form of 1k 5GB 4M and so forth:
10#
11# 1k => 1000 bytes
12# 1kb => 1024 bytes
13# 1m => 1000000 bytes
14# 1mb => 1024*1024 bytes
15# 1g => 1000000000 bytes
16# 1gb => 1024*1024*1024 bytes
17#
18# units are case insensitive so 1GB 1Gb 1gB are all the same.
19
20################################## INCLUDES ###################################
21
22# Include one or more other config files here. This is useful if you
23# have a standard template that goes to all Redis servers but also need
24# to customize a few per-server settings. Include files can include
25# other files, so use this wisely.
26#
27# Notice option "include" won't be rewritten by command "CONFIG REWRITE"
28# from admin or Redis Sentinel. Since Redis always uses the last processed
29# line as value of a configuration directive, you'd better put includes
30# at the beginning of this file to avoid overwriting config change at runtime.
31#
32# If instead you are interested in using includes to override configuration
33# options, it is better to use include as the last line.
34#
35# include /path/to/local.conf
36# include /path/to/other.conf
37
38################################## MODULES #####################################
39
40# Load modules at startup. If the server is not able to load modules
41# it will abort. It is possible to use multiple loadmodule directives.
42#
43# loadmodule /path/to/my_module.so
44# loadmodule /path/to/other_module.so
45
46################################## NETWORK #####################################
47
48# By default, if no "bind" configuration directive is specified, Redis listens
49# for connections from all the network interfaces available on the server.
50# It is possible to listen to just one or multiple selected interfaces using
51# the "bind" configuration directive, followed by one or more IP addresses.
52#
53# Examples:
54#
55# bind 192.168.1.100 10.0.0.1
56# bind 127.0.0.1 ::1
57#
58# ~~~ WARNING ~~~ If the computer running Redis is directly exposed to the
59# internet, binding to all the interfaces is dangerous and will expose the
60# instance to everybody on the internet. So by default we uncomment the
61# following bind directive, that will force Redis to listen only into
62# the IPv4 lookback interface address (this means Redis will be able to
63# accept connections only from clients running into the same computer it
64# is running).
65#
66# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
67# JUST COMMENT THE FOLLOWING LINE.
68# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69bind 127.0.0.1
70
71# Protected mode is a layer of security protection, in order to avoid that
72# Redis instances left open on the internet are accessed and exploited.
73#
74# When protected mode is on and if:
75#
76# 1) The server is not binding explicitly to a set of addresses using the
77# "bind" directive.
78# 2) No password is configured.
79#
80# The server only accepts connections from clients connecting from the
81# IPv4 and IPv6 loopback addresses 127.0.0.1 and ::1, and from Unix domain
82# sockets.
83#
84# By default protected mode is enabled. You should disable it only if
85# you are sure you want clients from other hosts to connect to Redis
86# even if no authentication is configured, nor a specific set of interfaces
87# are explicitly listed using the "bind" directive.
88protected-mode yes
89
90# Accept connections on the specified port, default is 6379 (IANA #815344).
91# If port 0 is specified Redis will not listen on a TCP socket.
92port 6379
93
94# TCP listen() backlog.
95#
96# In high requests-per-second environments you need an high backlog in order
97# to avoid slow clients connections issues. Note that the Linux kernel
98# will silently truncate it to the value of /proc/sys/net/core/somaxconn so
99# make sure to raise both the value of somaxconn and tcp_max_syn_backlog
100# in order to get the desired effect.
101tcp-backlog 511
102
103# Unix socket.
104#
105# Specify the path for the Unix socket that will be used to listen for
106# incoming connections. There is no default, so Redis will not listen
107# on a unix socket when not specified.
108#
109# unixsocket /tmp/valkey.sock
110# unixsocketperm 700
111
112# Close the connection after a client is idle for N seconds (0 to disable)
113timeout 0
114
115# TCP keepalive.
116#
117# If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients in absence
118# of communication. This is useful for two reasons:
119#
120# 1) Detect dead peers.
121# 2) Take the connection alive from the point of view of network
122# equipment in the middle.
123#
124# On Linux, the specified value (in seconds) is the period used to send ACKs.
125# Note that to close the connection the double of the time is needed.
126# On other kernels the period depends on the kernel configuration.
127#
128# A reasonable value for this option is 300 seconds, which is the new
129# Redis default starting with Redis 3.2.1.
130tcp-keepalive 300
131
132################################# GENERAL #####################################
133
134# OE: run as a daemon.
135daemonize yes
136
137# If you run Redis from upstart or systemd, Redis can interact with your
138# supervision tree. Options:
139# supervised no - no supervision interaction
140# supervised upstart - signal upstart by putting Redis into SIGSTOP mode
141# supervised systemd - signal systemd by writing READY=1 to $NOTIFY_SOCKET
142# supervised auto - detect upstart or systemd method based on
143# UPSTART_JOB or NOTIFY_SOCKET environment variables
144# Note: these supervision methods only signal "process is ready."
145# They do not enable continuous liveness pings back to your supervisor.
146supervised no
147
148# If a pid file is specified, Redis writes it where specified at startup
149# and removes it at exit.
150#
151# When the server runs non daemonized, no pid file is created if none is
152# specified in the configuration. When the server is daemonized, the pid file
153# is used even if not specified, defaulting to "/var/run/valkey.pid".
154#
155# Creating a pid file is best effort: if Redis is not able to create it
156# nothing bad happens, the server will start and run normally.
157
158# When running daemonized, Redis writes a pid file in /var/run/valkey.pid by
159# default. You can specify a custom pid file location here.
160pidfile /var/run/valkey.pid
161
162# Specify the server verbosity level.
163# This can be one of:
164# debug (a lot of information, useful for development/testing)
165# verbose (many rarely useful info, but not a mess like the debug level)
166# notice (moderately verbose, what you want in production probably)
167# warning (only very important / critical messages are logged)
168loglevel notice
169
170# Specify the log file name. Also the empty string can be used to force
171# Redis to log on the standard output. Note that if you use standard
172# output for logging but daemonize, logs will be sent to /dev/null
173logfile ""
174
175# To enable logging to the system logger, just set 'syslog-enabled' to yes,
176# and optionally update the other syslog parameters to suit your needs.
177syslog-enabled yes
178
179# Specify the syslog identity.
180syslog-ident valkey
181
182# Specify the syslog facility. Must be USER or between LOCAL0-LOCAL7.
183# syslog-facility local0
184
185# Set the number of databases. The default database is DB 0, you can select
186# a different one on a per-connection basis using SELECT <dbid> where
187# dbid is a number between 0 and 'databases'-1
188databases 16
189
190# By default Redis shows an ASCII art logo only when started to log to the
191# standard output and if the standard output is a TTY. Basically this means
192# that normally a logo is displayed only in interactive sessions.
193#
194# However it is possible to force the pre-4.0 behavior and always show a
195# ASCII art logo in startup logs by setting the following option to yes.
196always-show-logo yes
197
198################################ SNAPSHOTTING ################################
199#
200# Save the DB on disk:
201#
202# save <seconds> <changes>
203#
204# Will save the DB if both the given number of seconds and the given
205# number of write operations against the DB occurred.
206#
207# In the example below the behaviour will be to save:
208# after 900 sec (15 min) if at least 1 key changed
209# after 300 sec (5 min) if at least 10 keys changed
210# after 60 sec if at least 10000 keys changed
211#
212# Note: you can disable saving completely by commenting out all "save" lines.
213#
214# It is also possible to remove all the previously configured save
215# points by adding a save directive with a single empty string argument
216# like in the following example:
217#
218# save ""
219
220#save 900 1
221#save 300 10
222#save 60 10000
223
224# OE: tune for a small embedded system with a limited # of keys.
225save 120 1
226save 60 100
227save 30 1000
228
229# By default Redis will stop accepting writes if RDB snapshots are enabled
230# (at least one save point) and the latest background save failed.
231# This will make the user aware (in a hard way) that data is not persisting
232# on disk properly, otherwise chances are that no one will notice and some
233# disaster will happen.
234#
235# If the background saving process will start working again Redis will
236# automatically allow writes again.
237#
238# However if you have setup your proper monitoring of the Redis server
239# and persistence, you may want to disable this feature so that Redis will
240# continue to work as usual even if there are problems with disk,
241# permissions, and so forth.
242stop-writes-on-bgsave-error yes
243
244# Compress string objects using LZF when dump .rdb databases?
245# For default that's set to 'yes' as it's almost always a win.
246# If you want to save some CPU in the saving child set it to 'no' but
247# the dataset will likely be bigger if you have compressible values or keys.
248rdbcompression yes
249
250# Since version 5 of RDB a CRC64 checksum is placed at the end of the file.
251# This makes the format more resistant to corruption but there is a performance
252# hit to pay (around 10%) when saving and loading RDB files, so you can disable it
253# for maximum performances.
254#
255# RDB files created with checksum disabled have a checksum of zero that will
256# tell the loading code to skip the check.
257rdbchecksum yes
258
259# The filename where to dump the DB
260dbfilename dump.rdb
261
262# The working directory.
263#
264# The DB will be written inside this directory, with the filename specified
265# above using the 'dbfilename' configuration directive.
266#
267# The Append Only File will also be created inside this directory.
268#
269# Note that you must specify a directory here, not a file name.
270dir /var/lib/valkey/
271
272################################# REPLICATION #################################
273
274# Master-Slave replication. Use slaveof to make a Redis instance a copy of
275# another Redis server. A few things to understand ASAP about Redis replication.
276#
277# 1) Redis replication is asynchronous, but you can configure a master to
278# stop accepting writes if it appears to be not connected with at least
279# a given number of slaves.
280# 2) Redis slaves are able to perform a partial resynchronization with the
281# master if the replication link is lost for a relatively small amount of
282# time. You may want to configure the replication backlog size (see the next
283# sections of this file) with a sensible value depending on your needs.
284# 3) Replication is automatic and does not need user intervention. After a
285# network partition slaves automatically try to reconnect to masters
286# and resynchronize with them.
287#
288# slaveof <masterip> <masterport>
289
290# If the master is password protected (using the "requirepass" configuration
291# directive below) it is possible to tell the slave to authenticate before
292# starting the replication synchronization process, otherwise the master will
293# refuse the slave request.
294#
295# masterauth <master-password>
296
297# When a slave loses its connection with the master, or when the replication
298# is still in progress, the slave can act in two different ways:
299#
300# 1) if slave-serve-stale-data is set to 'yes' (the default) the slave will
301# still reply to client requests, possibly with out of date data, or the
302# data set may just be empty if this is the first synchronization.
303#
304# 2) if slave-serve-stale-data is set to 'no' the slave will reply with
305# an error "SYNC with master in progress" to all the kind of commands
306# but to INFO and SLAVEOF.
307#
308slave-serve-stale-data yes
309
310# You can configure a slave instance to accept writes or not. Writing against
311# a slave instance may be useful to store some ephemeral data (because data
312# written on a slave will be easily deleted after resync with the master) but
313# may also cause problems if clients are writing to it because of a
314# misconfiguration.
315#
316# Since Redis 2.6 by default slaves are read-only.
317#
318# Note: read only slaves are not designed to be exposed to untrusted clients
319# on the internet. It's just a protection layer against misuse of the instance.
320# Still a read only slave exports by default all the administrative commands
321# such as CONFIG, DEBUG, and so forth. To a limited extent you can improve
322# security of read only slaves using 'rename-command' to shadow all the
323# administrative / dangerous commands.
324slave-read-only yes
325
326# Replication SYNC strategy: disk or socket.
327#
328# -------------------------------------------------------
329# WARNING: DISKLESS REPLICATION IS EXPERIMENTAL CURRENTLY
330# -------------------------------------------------------
331#
332# New slaves and reconnecting slaves that are not able to continue the replication
333# process just receiving differences, need to do what is called a "full
334# synchronization". An RDB file is transmitted from the master to the slaves.
335# The transmission can happen in two different ways:
336#
337# 1) Disk-backed: The Redis master creates a new process that writes the RDB
338# file on disk. Later the file is transferred by the parent
339# process to the slaves incrementally.
340# 2) Diskless: The Redis master creates a new process that directly writes the
341# RDB file to slave sockets, without touching the disk at all.
342#
343# With disk-backed replication, while the RDB file is generated, more slaves
344# can be queued and served with the RDB file as soon as the current child producing
345# the RDB file finishes its work. With diskless replication instead once
346# the transfer starts, new slaves arriving will be queued and a new transfer
347# will start when the current one terminates.
348#
349# When diskless replication is used, the master waits a configurable amount of
350# time (in seconds) before starting the transfer in the hope that multiple slaves
351# will arrive and the transfer can be parallelized.
352#
353# With slow disks and fast (large bandwidth) networks, diskless replication
354# works better.
355repl-diskless-sync no
356
357# When diskless replication is enabled, it is possible to configure the delay
358# the server waits in order to spawn the child that transfers the RDB via socket
359# to the slaves.
360#
361# This is important since once the transfer starts, it is not possible to serve
362# new slaves arriving, that will be queued for the next RDB transfer, so the server
363# waits a delay in order to let more slaves arrive.
364#
365# The delay is specified in seconds, and by default is 5 seconds. To disable
366# it entirely just set it to 0 seconds and the transfer will start ASAP.
367repl-diskless-sync-delay 5
368
369# Slaves send PINGs to server in a predefined interval. It's possible to change
370# this interval with the repl_ping_slave_period option. The default value is 10
371# seconds.
372#
373# repl-ping-slave-period 10
374
375# The following option sets the replication timeout for:
376#
377# 1) Bulk transfer I/O during SYNC, from the point of view of slave.
378# 2) Master timeout from the point of view of slaves (data, pings).
379# 3) Slave timeout from the point of view of masters (REPLCONF ACK pings).
380#
381# It is important to make sure that this value is greater than the value
382# specified for repl-ping-slave-period otherwise a timeout will be detected
383# every time there is low traffic between the master and the slave.
384#
385# repl-timeout 60
386
387# Disable TCP_NODELAY on the slave socket after SYNC?
388#
389# If you select "yes" Redis will use a smaller number of TCP packets and
390# less bandwidth to send data to slaves. But this can add a delay for
391# the data to appear on the slave side, up to 40 milliseconds with
392# Linux kernels using a default configuration.
393#
394# If you select "no" the delay for data to appear on the slave side will
395# be reduced but more bandwidth will be used for replication.
396#
397# By default we optimize for low latency, but in very high traffic conditions
398# or when the master and slaves are many hops away, turning this to "yes" may
399# be a good idea.
400repl-disable-tcp-nodelay no
401
402# Set the replication backlog size. The backlog is a buffer that accumulates
403# slave data when slaves are disconnected for some time, so that when a slave
404# wants to reconnect again, often a full resync is not needed, but a partial
405# resync is enough, just passing the portion of data the slave missed while
406# disconnected.
407#
408# The bigger the replication backlog, the longer the time the slave can be
409# disconnected and later be able to perform a partial resynchronization.
410#
411# The backlog is only allocated once there is at least a slave connected.
412#
413# repl-backlog-size 1mb
414
415# After a master has no longer connected slaves for some time, the backlog
416# will be freed. The following option configures the amount of seconds that
417# need to elapse, starting from the time the last slave disconnected, for
418# the backlog buffer to be freed.
419#
420# Note that slaves never free the backlog for timeout, since they may be
421# promoted to masters later, and should be able to correctly "partially
422# resynchronize" with the slaves: hence they should always accumulate backlog.
423#
424# A value of 0 means to never release the backlog.
425#
426# repl-backlog-ttl 3600
427
428# The slave priority is an integer number published by Redis in the INFO output.
429# It is used by Redis Sentinel in order to select a slave to promote into a
430# master if the master is no longer working correctly.
431#
432# A slave with a low priority number is considered better for promotion, so
433# for instance if there are three slaves with priority 10, 100, 25 Sentinel will
434# pick the one with priority 10, that is the lowest.
435#
436# However a special priority of 0 marks the slave as not able to perform the
437# role of master, so a slave with priority of 0 will never be selected by
438# Redis Sentinel for promotion.
439#
440# By default the priority is 100.
441slave-priority 100
442
443# It is possible for a master to stop accepting writes if there are less than
444# N slaves connected, having a lag less or equal than M seconds.
445#
446# The N slaves need to be in "online" state.
447#
448# The lag in seconds, that must be <= the specified value, is calculated from
449# the last ping received from the slave, that is usually sent every second.
450#
451# This option does not GUARANTEE that N replicas will accept the write, but
452# will limit the window of exposure for lost writes in case not enough slaves
453# are available, to the specified number of seconds.
454#
455# For example to require at least 3 slaves with a lag <= 10 seconds use:
456#
457# min-slaves-to-write 3
458# min-slaves-max-lag 10
459#
460# Setting one or the other to 0 disables the feature.
461#
462# By default min-slaves-to-write is set to 0 (feature disabled) and
463# min-slaves-max-lag is set to 10.
464
465# A Redis master is able to list the address and port of the attached
466# slaves in different ways. For example the "INFO replication" section
467# offers this information, which is used, among other tools, by
468# Redis Sentinel in order to discover slave instances.
469# Another place where this info is available is in the output of the
470# "ROLE" command of a master.
471#
472# The listed IP and address normally reported by a slave is obtained
473# in the following way:
474#
475# IP: The address is auto detected by checking the peer address
476# of the socket used by the slave to connect with the master.
477#
478# Port: The port is communicated by the slave during the replication
479# handshake, and is normally the port that the slave is using to
480# list for connections.
481#
482# However when port forwarding or Network Address Translation (NAT) is
483# used, the slave may be actually reachable via different IP and port
484# pairs. The following two options can be used by a slave in order to
485# report to its master a specific set of IP and port, so that both INFO
486# and ROLE will report those values.
487#
488# There is no need to use both the options if you need to override just
489# the port or the IP address.
490#
491# slave-announce-ip 5.5.5.5
492# slave-announce-port 1234
493
494################################## SECURITY ###################################
495
496# Require clients to issue AUTH <PASSWORD> before processing any other
497# commands. This might be useful in environments in which you do not trust
498# others with access to the host running valkey-server.
499#
500# This should stay commented out for backward compatibility and because most
501# people do not need auth (e.g. they run their own servers).
502#
503# Warning: since Redis is pretty fast an outside user can try up to
504# 150k passwords per second against a good box. This means that you should
505# use a very strong password otherwise it will be very easy to break.
506#
507# requirepass foobared
508
509# Command renaming.
510#
511# It is possible to change the name of dangerous commands in a shared
512# environment. For instance the CONFIG command may be renamed into something
513# hard to guess so that it will still be available for internal-use tools
514# but not available for general clients.
515#
516# Example:
517#
518# rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52
519#
520# It is also possible to completely kill a command by renaming it into
521# an empty string:
522#
523# rename-command CONFIG ""
524#
525# Please note that changing the name of commands that are logged into the
526# AOF file or transmitted to slaves may cause problems.
527
528################################### CLIENTS ####################################
529
530# Set the max number of connected clients at the same time. By default
531# this limit is set to 10000 clients, however if the Redis server is not
532# able to configure the process file limit to allow for the specified limit
533# the max number of allowed clients is set to the current file limit
534# minus 32 (as Redis reserves a few file descriptors for internal uses).
535#
536# Once the limit is reached Redis will close all the new connections sending
537# an error 'max number of clients reached'.
538#
539# maxclients 10000
540
541############################## MEMORY MANAGEMENT ################################
542
543# Set a memory usage limit to the specified amount of bytes.
544# When the memory limit is reached Redis will try to remove keys
545# according to the eviction policy selected (see maxmemory-policy).
546#
547# If Redis can't remove keys according to the policy, or if the policy is
548# set to 'noeviction', Redis will start to reply with errors to commands
549# that would use more memory, like SET, LPUSH, and so on, and will continue
550# to reply to read-only commands like GET.
551#
552# This option is usually useful when using Redis as an LRU or LFU cache, or to
553# set a hard memory limit for an instance (using the 'noeviction' policy).
554#
555# WARNING: If you have slaves attached to an instance with maxmemory on,
556# the size of the output buffers needed to feed the slaves are subtracted
557# from the used memory count, so that network problems / resyncs will
558# not trigger a loop where keys are evicted, and in turn the output
559# buffer of slaves is full with DELs of keys evicted triggering the deletion
560# of more keys, and so forth until the database is completely emptied.
561#
562# In short... if you have slaves attached it is suggested that you set a lower
563# limit for maxmemory so that there is some free RAM on the system for slave
564# output buffers (but this is not needed if the policy is 'noeviction').
565#
566# maxmemory <bytes>
567
568# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
569# is reached. You can select among five behaviors:
570#
571# volatile-lru -> Evict using approximated LRU among the keys with an expire set.
572# allkeys-lru -> Evict any key using approximated LRU.
573# volatile-lfu -> Evict using approximated LFU among the keys with an expire set.
574# allkeys-lfu -> Evict any key using approximated LFU.
575# volatile-random -> Remove a random key among the ones with an expire set.
576# allkeys-random -> Remove a random key, any key.
577# volatile-ttl -> Remove the key with the nearest expire time (minor TTL)
578# noeviction -> Don't evict anything, just return an error on write operations.
579#
580# LRU means Least Recently Used
581# LFU means Least Frequently Used
582#
583# Both LRU, LFU and volatile-ttl are implemented using approximated
584# randomized algorithms.
585#
586# Note: with any of the above policies, Redis will return an error on write
587# operations, when there are no suitable keys for eviction.
588#
589# At the date of writing these commands are: set setnx setex append
590# incr decr rpush lpush rpushx lpushx linsert lset rpoplpush sadd
591# sinter sinterstore sunion sunionstore sdiff sdiffstore zadd zincrby
592# zunionstore zinterstore hset hsetnx hmset hincrby incrby decrby
593# getset mset msetnx exec sort
594#
595# The default is:
596#
597# maxmemory-policy noeviction
598
599# LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated
600# algorithms (in order to save memory), so you can tune it for speed or
601# accuracy. For default Redis will check five keys and pick the one that was
602# used less recently, you can change the sample size using the following
603# configuration directive.
604#
605# The default of 5 produces good enough results. 10 Approximates very closely
606# true LRU but costs more CPU. 3 is faster but not very accurate.
607#
608# maxmemory-samples 5
609
610############################# LAZY FREEING ####################################
611
612# Redis has two primitives to delete keys. One is called DEL and is a blocking
613# deletion of the object. It means that the server stops processing new commands
614# in order to reclaim all the memory associated with an object in a synchronous
615# way. If the key deleted is associated with a small object, the time needed
616# in order to execute the DEL command is very small and comparable to most other
617# O(1) or O(log_N) commands in Redis. However if the key is associated with an
618# aggregated value containing millions of elements, the server can block for
619# a long time (even seconds) in order to complete the operation.
620#
621# For the above reasons Redis also offers non blocking deletion primitives
622# such as UNLINK (non blocking DEL) and the ASYNC option of FLUSHALL and
623# FLUSHDB commands, in order to reclaim memory in background. Those commands
624# are executed in constant time. Another thread will incrementally free the
625# object in the background as fast as possible.
626#
627# DEL, UNLINK and ASYNC option of FLUSHALL and FLUSHDB are user-controlled.
628# It's up to the design of the application to understand when it is a good
629# idea to use one or the other. However the Redis server sometimes has to
630# delete keys or flush the whole database as a side effect of other operations.
631# Specifically Redis deletes objects independently of a user call in the
632# following scenarios:
633#
634# 1) On eviction, because of the maxmemory and maxmemory policy configurations,
635# in order to make room for new data, without going over the specified
636# memory limit.
637# 2) Because of expire: when a key with an associated time to live (see the
638# EXPIRE command) must be deleted from memory.
639# 3) Because of a side effect of a command that stores data on a key that may
640# already exist. For example the RENAME command may delete the old key
641# content when it is replaced with another one. Similarly SUNIONSTORE
642# or SORT with STORE option may delete existing keys. The SET command
643# itself removes any old content of the specified key in order to replace
644# it with the specified string.
645# 4) During replication, when a slave performs a full resynchronization with
646# its master, the content of the whole database is removed in order to
647# load the RDB file just transfered.
648#
649# In all the above cases the default is to delete objects in a blocking way,
650# like if DEL was called. However you can configure each case specifically
651# in order to instead release memory in a non-blocking way like if UNLINK
652# was called, using the following configuration directives:
653
654lazyfree-lazy-eviction no
655lazyfree-lazy-expire no
656lazyfree-lazy-server-del no
657slave-lazy-flush no
658
659############################## APPEND ONLY MODE ###############################
660
661# By default Redis asynchronously dumps the dataset on disk. This mode is
662# good enough in many applications, but an issue with the Redis process or
663# a power outage may result into a few minutes of writes lost (depending on
664# the configured save points).
665#
666# The Append Only File is an alternative persistence mode that provides
667# much better durability. For instance using the default data fsync policy
668# (see later in the config file) Redis can lose just one second of writes in a
669# dramatic event like a server power outage, or a single write if something
670# wrong with the Redis process itself happens, but the operating system is
671# still running correctly.
672#
673# AOF and RDB persistence can be enabled at the same time without problems.
674# If the AOF is enabled on startup Redis will load the AOF, that is the file
675# with the better durability guarantees.
676#
677# Please check http://valkey.io/topics/persistence for more information.
678
679# OE: changed default to enable this
680appendonly yes
681
682# The name of the append only file (default: "appendonly.aof")
683
684appendfilename "appendonly.aof"
685
686# The fsync() call tells the Operating System to actually write data on disk
687# instead of waiting for more data in the output buffer. Some OS will really flush
688# data on disk, some other OS will just try to do it ASAP.
689#
690# Redis supports three different modes:
691#
692# no: don't fsync, just let the OS flush the data when it wants. Faster.
693# always: fsync after every write to the append only log. Slow, Safest.
694# everysec: fsync only one time every second. Compromise.
695#
696# The default is "everysec", as that's usually the right compromise between
697# speed and data safety. It's up to you to understand if you can relax this to
698# "no" that will let the operating system flush the output buffer when
699# it wants, for better performances (but if you can live with the idea of
700# some data loss consider the default persistence mode that's snapshotting),
701# or on the contrary, use "always" that's very slow but a bit safer than
702# everysec.
703#
704# More details please check the following article:
705# http://antirez.com/post/valkey-persistence-demystified.html
706#
707# If unsure, use "everysec".
708
709# appendfsync always
710appendfsync everysec
711# appendfsync no
712
713# When the AOF fsync policy is set to always or everysec, and a background
714# saving process (a background save or AOF log background rewriting) is
715# performing a lot of I/O against the disk, in some Linux configurations
716# Redis may block too long on the fsync() call. Note that there is no fix for
717# this currently, as even performing fsync in a different thread will block
718# our synchronous write(2) call.
719#
720# In order to mitigate this problem it's possible to use the following option
721# that will prevent fsync() from being called in the main process while a
722# BGSAVE or BGREWRITEAOF is in progress.
723#
724# This means that while another child is saving, the durability of Redis is
725# the same as "appendfsync none". In practical terms, this means that it is
726# possible to lose up to 30 seconds of log in the worst scenario (with the
727# default Linux settings).
728#
729# If you have latency problems turn this to "yes". Otherwise leave it as
730# "no" that is the safest pick from the point of view of durability.
731
732no-appendfsync-on-rewrite no
733
734# Automatic rewrite of the append only file.
735# Redis is able to automatically rewrite the log file implicitly calling
736# BGREWRITEAOF when the AOF log size grows by the specified percentage.
737#
738# This is how it works: Redis remembers the size of the AOF file after the
739# latest rewrite (if no rewrite has happened since the restart, the size of
740# the AOF at startup is used).
741#
742# This base size is compared to the current size. If the current size is
743# bigger than the specified percentage, the rewrite is triggered. Also
744# you need to specify a minimal size for the AOF file to be rewritten, this
745# is useful to avoid rewriting the AOF file even if the percentage increase
746# is reached but it is still pretty small.
747#
748# Specify a percentage of zero in order to disable the automatic AOF
749# rewrite feature.
750
751auto-aof-rewrite-percentage 100
752auto-aof-rewrite-min-size 64mb
753
754# An AOF file may be found to be truncated at the end during the Redis
755# startup process, when the AOF data gets loaded back into memory.
756# This may happen when the system where Redis is running
757# crashes, especially when an ext4 filesystem is mounted without the
758# data=ordered option (however this can't happen when Redis itself
759# crashes or aborts but the operating system still works correctly).
760#
761# Redis can either exit with an error when this happens, or load as much
762# data as possible (the default now) and start if the AOF file is found
763# to be truncated at the end. The following option controls this behavior.
764#
765# If aof-load-truncated is set to yes, a truncated AOF file is loaded and
766# the Redis server starts emitting a log to inform the user of the event.
767# Otherwise if the option is set to no, the server aborts with an error
768# and refuses to start. When the option is set to no, the user requires
769# to fix the AOF file using the "valkey-check-aof" utility before to restart
770# the server.
771#
772# Note that if the AOF file will be found to be corrupted in the middle
773# the server will still exit with an error. This option only applies when
774# Redis will try to read more data from the AOF file but not enough bytes
775# will be found.
776aof-load-truncated yes
777
778# When rewriting the AOF file, Redis is able to use an RDB preamble in the
779# AOF file for faster rewrites and recoveries. When this option is turned
780# on the rewritten AOF file is composed of two different stanzas:
781#
782# [RDB file][AOF tail]
783#
784# When loading Redis recognizes that the AOF file starts with the "REDIS"
785# string and loads the prefixed RDB file, and continues loading the AOF
786# tail.
787#
788# This is currently turned off by default in order to avoid the surprise
789# of a format change, but will at some point be used as the default.
790aof-use-rdb-preamble no
791
792################################ LUA SCRIPTING ###############################
793
794# Max execution time of a Lua script in milliseconds.
795#
796# If the maximum execution time is reached Redis will log that a script is
797# still in execution after the maximum allowed time and will start to
798# reply to queries with an error.
799#
800# When a long running script exceeds the maximum execution time only the
801# SCRIPT KILL and SHUTDOWN NOSAVE commands are available. The first can be
802# used to stop a script that did not yet called write commands. The second
803# is the only way to shut down the server in the case a write command was
804# already issued by the script but the user doesn't want to wait for the natural
805# termination of the script.
806#
807# Set it to 0 or a negative value for unlimited execution without warnings.
808lua-time-limit 5000
809
810################################ REDIS CLUSTER ###############################
811#
812# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
813# WARNING EXPERIMENTAL: Redis Cluster is considered to be stable code, however
814# in order to mark it as "mature" we need to wait for a non trivial percentage
815# of users to deploy it in production.
816# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
817#
818# Normal Redis instances can't be part of a Redis Cluster; only nodes that are
819# started as cluster nodes can. In order to start a Redis instance as a
820# cluster node enable the cluster support uncommenting the following:
821#
822# cluster-enabled yes
823
824# Every cluster node has a cluster configuration file. This file is not
825# intended to be edited by hand. It is created and updated by Redis nodes.
826# Every Redis Cluster node requires a different cluster configuration file.
827# Make sure that instances running in the same system do not have
828# overlapping cluster configuration file names.
829#
830# cluster-config-file nodes-6379.conf
831
832# Cluster node timeout is the amount of milliseconds a node must be unreachable
833# for it to be considered in failure state.
834# Most other internal time limits are multiple of the node timeout.
835#
836# cluster-node-timeout 15000
837
838# A slave of a failing master will avoid to start a failover if its data
839# looks too old.
840#
841# There is no simple way for a slave to actually have an exact measure of
842# its "data age", so the following two checks are performed:
843#
844# 1) If there are multiple slaves able to failover, they exchange messages
845# in order to try to give an advantage to the slave with the best
846# replication offset (more data from the master processed).
847# Slaves will try to get their rank by offset, and apply to the start
848# of the failover a delay proportional to their rank.
849#
850# 2) Every single slave computes the time of the last interaction with
851# its master. This can be the last ping or command received (if the master
852# is still in the "connected" state), or the time that elapsed since the
853# disconnection with the master (if the replication link is currently down).
854# If the last interaction is too old, the slave will not try to failover
855# at all.
856#
857# The point "2" can be tuned by user. Specifically a slave will not perform
858# the failover if, since the last interaction with the master, the time
859# elapsed is greater than:
860#
861# (node-timeout * slave-validity-factor) + repl-ping-slave-period
862#
863# So for example if node-timeout is 30 seconds, and the slave-validity-factor
864# is 10, and assuming a default repl-ping-slave-period of 10 seconds, the
865# slave will not try to failover if it was not able to talk with the master
866# for longer than 310 seconds.
867#
868# A large slave-validity-factor may allow slaves with too old data to failover
869# a master, while a too small value may prevent the cluster from being able to
870# elect a slave at all.
871#
872# For maximum availability, it is possible to set the slave-validity-factor
873# to a value of 0, which means, that slaves will always try to failover the
874# master regardless of the last time they interacted with the master.
875# (However they'll always try to apply a delay proportional to their
876# offset rank).
877#
878# Zero is the only value able to guarantee that when all the partitions heal
879# the cluster will always be able to continue.
880#
881# cluster-slave-validity-factor 10
882
883# Cluster slaves are able to migrate to orphaned masters, that are masters
884# that are left without working slaves. This improves the cluster ability
885# to resist to failures as otherwise an orphaned master can't be failed over
886# in case of failure if it has no working slaves.
887#
888# Slaves migrate to orphaned masters only if there are still at least a
889# given number of other working slaves for their old master. This number
890# is the "migration barrier". A migration barrier of 1 means that a slave
891# will migrate only if there is at least 1 other working slave for its master
892# and so forth. It usually reflects the number of slaves you want for every
893# master in your cluster.
894#
895# Default is 1 (slaves migrate only if their masters remain with at least
896# one slave). To disable migration just set it to a very large value.
897# A value of 0 can be set but is useful only for debugging and dangerous
898# in production.
899#
900# cluster-migration-barrier 1
901
902# By default Redis Cluster nodes stop accepting queries if they detect there
903# is at least an hash slot uncovered (no available node is serving it).
904# This way if the cluster is partially down (for example a range of hash slots
905# are no longer covered) all the cluster becomes, eventually, unavailable.
906# It automatically returns available as soon as all the slots are covered again.
907#
908# However sometimes you want the subset of the cluster which is working,
909# to continue to accept queries for the part of the key space that is still
910# covered. In order to do so, just set the cluster-require-full-coverage
911# option to no.
912#
913# cluster-require-full-coverage yes
914
915# In order to setup your cluster make sure to read the documentation
916# available at http://valkey.io web site.
917
918########################## CLUSTER DOCKER/NAT support ########################
919
920# In certain deployments, Redis Cluster nodes address discovery fails, because
921# addresses are NAT-ted or because ports are forwarded (the typical case is
922# Docker and other containers).
923#
924# In order to make Redis Cluster working in such environments, a static
925# configuration where each node knows its public address is needed. The
926# following two options are used for this scope, and are:
927#
928# * cluster-announce-ip
929# * cluster-announce-port
930# * cluster-announce-bus-port
931#
932# Each instruct the node about its address, client port, and cluster message
933# bus port. The information is then published in the header of the bus packets
934# so that other nodes will be able to correctly map the address of the node
935# publishing the information.
936#
937# If the above options are not used, the normal Redis Cluster auto-detection
938# will be used instead.
939#
940# Note that when remapped, the bus port may not be at the fixed offset of
941# clients port + 10000, so you can specify any port and bus-port depending
942# on how they get remapped. If the bus-port is not set, a fixed offset of
943# 10000 will be used as usually.
944#
945# Example:
946#
947# cluster-announce-ip 10.1.1.5
948# cluster-announce-port 6379
949# cluster-announce-bus-port 6380
950
951################################## SLOW LOG ###################################
952
953# The Redis Slow Log is a system to log queries that exceeded a specified
954# execution time. The execution time does not include the I/O operations
955# like talking with the client, sending the reply and so forth,
956# but just the time needed to actually execute the command (this is the only
957# stage of command execution where the thread is blocked and can not serve
958# other requests in the meantime).
959#
960# You can configure the slow log with two parameters: one tells Redis
961# what is the execution time, in microseconds, to exceed in order for the
962# command to get logged, and the other parameter is the length of the
963# slow log. When a new command is logged the oldest one is removed from the
964# queue of logged commands.
965
966# The following time is expressed in microseconds, so 1000000 is equivalent
967# to one second. Note that a negative number disables the slow log, while
968# a value of zero forces the logging of every command.
969slowlog-log-slower-than 10000
970
971# There is no limit to this length. Just be aware that it will consume memory.
972# You can reclaim memory used by the slow log with SLOWLOG RESET.
973slowlog-max-len 128
974
975################################ LATENCY MONITOR ##############################
976
977# The Redis latency monitoring subsystem samples different operations
978# at runtime in order to collect data related to possible sources of
979# latency of a Redis instance.
980#
981# Via the LATENCY command this information is available to the user that can
982# print graphs and obtain reports.
983#
984# The system only logs operations that were performed in a time equal or
985# greater than the amount of milliseconds specified via the
986# latency-monitor-threshold configuration directive. When its value is set
987# to zero, the latency monitor is turned off.
988#
989# By default latency monitoring is disabled since it is mostly not needed
990# if you don't have latency issues, and collecting data has a performance
991# impact, that while very small, can be measured under big load. Latency
992# monitoring can easily be enabled at runtime using the command
993# "CONFIG SET latency-monitor-threshold <milliseconds>" if needed.
994latency-monitor-threshold 0
995
996############################# EVENT NOTIFICATION ##############################
997
998# Redis can notify Pub/Sub clients about events happening in the key space.
999# This feature is documented at http://valkey.io/topics/notifications
1000#
1001# For instance if keyspace events notification is enabled, and a client
1002# performs a DEL operation on key "foo" stored in the Database 0, two
1003# messages will be published via Pub/Sub:
1004#
1005# PUBLISH __keyspace@0__:foo del
1006# PUBLISH __keyevent@0__:del foo
1007#
1008# It is possible to select the events that Redis will notify among a set
1009# of classes. Every class is identified by a single character:
1010#
1011# K Keyspace events, published with __keyspace@<db>__ prefix.
1012# E Keyevent events, published with __keyevent@<db>__ prefix.
1013# g Generic commands (non-type specific) like DEL, EXPIRE, RENAME, ...
1014# $ String commands
1015# l List commands
1016# s Set commands
1017# h Hash commands
1018# z Sorted set commands
1019# x Expired events (events generated every time a key expires)
1020# e Evicted events (events generated when a key is evicted for maxmemory)
1021# A Alias for g$lshzxe, so that the "AKE" string means all the events.
1022#
1023# The "notify-keyspace-events" takes as argument a string that is composed
1024# of zero or multiple characters. The empty string means that notifications
1025# are disabled.
1026#
1027# Example: to enable list and generic events, from the point of view of the
1028# event name, use:
1029#
1030# notify-keyspace-events Elg
1031#
1032# Example 2: to get the stream of the expired keys subscribing to channel
1033# name __keyevent@0__:expired use:
1034#
1035# notify-keyspace-events Ex
1036#
1037# By default all notifications are disabled because most users don't need
1038# this feature and the feature has some overhead. Note that if you don't
1039# specify at least one of K or E, no events will be delivered.
1040notify-keyspace-events ""
1041
1042############################### ADVANCED CONFIG ###############################
1043
1044# Hashes are encoded using a memory efficient data structure when they have a
1045# small number of entries, and the biggest entry does not exceed a given
1046# threshold. These thresholds can be configured using the following directives.
1047hash-max-ziplist-entries 512
1048hash-max-ziplist-value 64
1049
1050# Lists are also encoded in a special way to save a lot of space.
1051# The number of entries allowed per internal list node can be specified
1052# as a fixed maximum size or a maximum number of elements.
1053# For a fixed maximum size, use -5 through -1, meaning:
1054# -5: max size: 64 Kb <-- not recommended for normal workloads
1055# -4: max size: 32 Kb <-- not recommended
1056# -3: max size: 16 Kb <-- probably not recommended
1057# -2: max size: 8 Kb <-- good
1058# -1: max size: 4 Kb <-- good
1059# Positive numbers mean store up to _exactly_ that number of elements
1060# per list node.
1061# The highest performing option is usually -2 (8 Kb size) or -1 (4 Kb size),
1062# but if your use case is unique, adjust the settings as necessary.
1063list-max-ziplist-size -2
1064
1065# Lists may also be compressed.
1066# Compress depth is the number of quicklist ziplist nodes from *each* side of
1067# the list to *exclude* from compression. The head and tail of the list
1068# are always uncompressed for fast push/pop operations. Settings are:
1069# 0: disable all list compression
1070# 1: depth 1 means "don't start compressing until after 1 node into the list,
1071# going from either the head or tail"
1072# So: [head]->node->node->...->node->[tail]
1073# [head], [tail] will always be uncompressed; inner nodes will compress.
1074# 2: [head]->[next]->node->node->...->node->[prev]->[tail]
1075# 2 here means: don't compress head or head->next or tail->prev or tail,
1076# but compress all nodes between them.
1077# 3: [head]->[next]->[next]->node->node->...->node->[prev]->[prev]->[tail]
1078# etc.
1079list-compress-depth 0
1080
1081# Sets have a special encoding in just one case: when a set is composed
1082# of just strings that happen to be integers in radix 10 in the range
1083# of 64 bit signed integers.
1084# The following configuration setting sets the limit in the size of the
1085# set in order to use this special memory saving encoding.
1086set-max-intset-entries 512
1087
1088# Similarly to hashes and lists, sorted sets are also specially encoded in
1089# order to save a lot of space. This encoding is only used when the length and
1090# elements of a sorted set are below the following limits:
1091zset-max-ziplist-entries 128
1092zset-max-ziplist-value 64
1093
1094# HyperLogLog sparse representation bytes limit. The limit includes the
1095# 16 bytes header. When an HyperLogLog using the sparse representation crosses
1096# this limit, it is converted into the dense representation.
1097#
1098# A value greater than 16000 is totally useless, since at that point the
1099# dense representation is more memory efficient.
1100#
1101# The suggested value is ~ 3000 in order to have the benefits of
1102# the space efficient encoding without slowing down too much PFADD,
1103# which is O(N) with the sparse encoding. The value can be raised to
1104# ~ 10000 when CPU is not a concern, but space is, and the data set is
1105# composed of many HyperLogLogs with cardinality in the 0 - 15000 range.
1106hll-sparse-max-bytes 3000
1107
1108# Active rehashing uses 1 millisecond every 100 milliseconds of CPU time in
1109# order to help rehashing the main Redis hash table (the one mapping top-level
1110# keys to values). The hash table implementation Redis uses (see dict.c)
1111# performs a lazy rehashing: the more operation you run into a hash table
1112# that is rehashing, the more rehashing "steps" are performed, so if the
1113# server is idle the rehashing is never complete and some more memory is used
1114# by the hash table.
1115#
1116# The default is to use this millisecond 10 times every second in order to
1117# actively rehash the main dictionaries, freeing memory when possible.
1118#
1119# If unsure:
1120# use "activerehashing no" if you have hard latency requirements and it is
1121# not a good thing in your environment that Redis can reply from time to time
1122# to queries with 2 milliseconds delay.
1123#
1124# use "activerehashing yes" if you don't have such hard requirements but
1125# want to free memory asap when possible.
1126activerehashing yes
1127
1128# The client output buffer limits can be used to force disconnection of clients
1129# that are not reading data from the server fast enough for some reason (a
1130# common reason is that a Pub/Sub client can't consume messages as fast as the
1131# publisher can produce them).
1132#
1133# The limit can be set differently for the three different classes of clients:
1134#
1135# normal -> normal clients including MONITOR clients
1136# slave -> slave clients
1137# pubsub -> clients subscribed to at least one pubsub channel or pattern
1138#
1139# The syntax of every client-output-buffer-limit directive is the following:
1140#
1141# client-output-buffer-limit <class> <hard limit> <soft limit> <soft seconds>
1142#
1143# A client is immediately disconnected once the hard limit is reached, or if
1144# the soft limit is reached and remains reached for the specified number of
1145# seconds (continuously).
1146# So for instance if the hard limit is 32 megabytes and the soft limit is
1147# 16 megabytes / 10 seconds, the client will get disconnected immediately
1148# if the size of the output buffers reach 32 megabytes, but will also get
1149# disconnected if the client reaches 16 megabytes and continuously overcomes
1150# the limit for 10 seconds.
1151#
1152# By default normal clients are not limited because they don't receive data
1153# without asking (in a push way), but just after a request, so only
1154# asynchronous clients may create a scenario where data is requested faster
1155# than it can read.
1156#
1157# Instead there is a default limit for pubsub and slave clients, since
1158# subscribers and slaves receive data in a push fashion.
1159#
1160# Both the hard or the soft limit can be disabled by setting them to zero.
1161client-output-buffer-limit normal 0 0 0
1162client-output-buffer-limit slave 256mb 64mb 60
1163client-output-buffer-limit pubsub 32mb 8mb 60
1164
1165# Client query buffers accumulate new commands. They are limited to a fixed
1166# amount by default in order to avoid that a protocol desynchronization (for
1167# instance due to a bug in the client) will lead to unbound memory usage in
1168# the query buffer. However you can configure it here if you have very special
1169# needs, such us huge multi/exec requests or alike.
1170#
1171# client-query-buffer-limit 1gb
1172
1173# In the Redis protocol, bulk requests, that are, elements representing single
1174# strings, are normally limited ot 512 mb. However you can change this limit
1175# here.
1176#
1177# proto-max-bulk-len 512mb
1178
1179# Redis calls an internal function to perform many background tasks, like
1180# closing connections of clients in timeout, purging expired keys that are
1181# never requested, and so forth.
1182#
1183# Not all tasks are performed with the same frequency, but Redis checks for
1184# tasks to perform according to the specified "hz" value.
1185#
1186# By default "hz" is set to 10. Raising the value will use more CPU when
1187# Redis is idle, but at the same time will make Redis more responsive when
1188# there are many keys expiring at the same time, and timeouts may be
1189# handled with more precision.
1190#
1191# The range is between 1 and 500, however a value over 100 is usually not
1192# a good idea. Most users should use the default of 10 and raise this up to
1193# 100 only in environments where very low latency is required.
1194hz 10
1195
1196# When a child rewrites the AOF file, if the following option is enabled
1197# the file will be fsync-ed every 32 MB of data generated. This is useful
1198# in order to commit the file to the disk more incrementally and avoid
1199# big latency spikes.
1200aof-rewrite-incremental-fsync yes
1201
1202# Redis LFU eviction (see maxmemory setting) can be tuned. However it is a good
1203# idea to start with the default settings and only change them after investigating
1204# how to improve the performances and how the keys LFU change over time, which
1205# is possible to inspect via the OBJECT FREQ command.
1206#
1207# There are two tunable parameters in the Redis LFU implementation: the
1208# counter logarithm factor and the counter decay time. It is important to
1209# understand what the two parameters mean before changing them.
1210#
1211# The LFU counter is just 8 bits per key, it's maximum value is 255, so Redis
1212# uses a probabilistic increment with logarithmic behavior. Given the value
1213# of the old counter, when a key is accessed, the counter is incremented in
1214# this way:
1215#
1216# 1. A random number R between 0 and 1 is extracted.
1217# 2. A probability P is calculated as 1/(old_value*lfu_log_factor+1).
1218# 3. The counter is incremented only if R < P.
1219#
1220# The default lfu-log-factor is 10. This is a table of how the frequency
1221# counter changes with a different number of accesses with different
1222# logarithmic factors:
1223#
1224# +--------+------------+------------+------------+------------+------------+
1225# | factor | 100 hits | 1000 hits | 100K hits | 1M hits | 10M hits |
1226# +--------+------------+------------+------------+------------+------------+
1227# | 0 | 104 | 255 | 255 | 255 | 255 |
1228# +--------+------------+------------+------------+------------+------------+
1229# | 1 | 18 | 49 | 255 | 255 | 255 |
1230# +--------+------------+------------+------------+------------+------------+
1231# | 10 | 10 | 18 | 142 | 255 | 255 |
1232# +--------+------------+------------+------------+------------+------------+
1233# | 100 | 8 | 11 | 49 | 143 | 255 |
1234# +--------+------------+------------+------------+------------+------------+
1235#
1236# NOTE: The above table was obtained by running the following commands:
1237#
1238# valkey-benchmark -n 1000000 incr foo
1239# valkey-cli object freq foo
1240#
1241# NOTE 2: The counter initial value is 5 in order to give new objects a chance
1242# to accumulate hits.
1243#
1244# The counter decay time is the time, in minutes, that must elapse in order
1245# for the key counter to be divided by two (or decremented if it has a value
1246# less <= 10).
1247#
1248# The default value for the lfu-decay-time is 1. A Special value of 0 means to
1249# decay the counter every time it happens to be scanned.
1250#
1251# lfu-log-factor 10
1252# lfu-decay-time 1
1253
1254########################### ACTIVE DEFRAGMENTATION #######################
1255#
1256# WARNING THIS FEATURE IS EXPERIMENTAL. However it was stress tested
1257# even in production and manually tested by multiple engineers for some
1258# time.
1259#
1260# What is active defragmentation?
1261# -------------------------------
1262#
1263# Active (online) defragmentation allows a Redis server to compact the
1264# spaces left between small allocations and deallocations of data in memory,
1265# thus allowing to reclaim back memory.
1266#
1267# Fragmentation is a natural process that happens with every allocator (but
1268# less so with Jemalloc, fortunately) and certain workloads. Normally a server
1269# restart is needed in order to lower the fragmentation, or at least to flush
1270# away all the data and create it again. However thanks to this feature
1271# implemented by Oran Agra for Redis 4.0 this process can happen at runtime
1272# in an "hot" way, while the server is running.
1273#
1274# Basically when the fragmentation is over a certain level (see the
1275# configuration options below) Redis will start to create new copies of the
1276# values in contiguous memory regions by exploiting certain specific Jemalloc
1277# features (in order to understand if an allocation is causing fragmentation
1278# and to allocate it in a better place), and at the same time, will release the
1279# old copies of the data. This process, repeated incrementally for all the keys
1280# will cause the fragmentation to drop back to normal values.
1281#
1282# Important things to understand:
1283#
1284# 1. This feature is disabled by default, and only works if you compiled Redis
1285# to use the copy of Jemalloc we ship with the source code of Redis.
1286# This is the default with Linux builds.
1287#
1288# 2. You never need to enable this feature if you don't have fragmentation
1289# issues.
1290#
1291# 3. Once you experience fragmentation, you can enable this feature when
1292# needed with the command "CONFIG SET activedefrag yes".
1293#
1294# The configuration parameters are able to fine tune the behavior of the
1295# defragmentation process. If you are not sure about what they mean it is
1296# a good idea to leave the defaults untouched.
1297
1298# Enabled active defragmentation
1299# activedefrag yes
1300
1301# Minimum amount of fragmentation waste to start active defrag
1302# active-defrag-ignore-bytes 100mb
1303
1304# Minimum percentage of fragmentation to start active defrag
1305# active-defrag-threshold-lower 10
1306
1307# Maximum percentage of fragmentation at which we use maximum effort
1308# active-defrag-threshold-upper 100
1309
1310# Minimal effort for defrag in CPU percentage
1311# active-defrag-cycle-min 25
1312
1313# Maximal effort for defrag in CPU percentage
1314# active-defrag-cycle-max 75
diff --git a/meta-oe/recipes-extended/valkey/valkey/valkey.service b/meta-oe/recipes-extended/valkey/valkey/valkey.service
new file mode 100644
index 0000000000..5c6aa5b17c
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey/valkey.service
@@ -0,0 +1,16 @@
1[Unit]
2Description=Valkey: an open source, in-memory data store
3After=network.target
4
5[Service]
6User=valkey
7Group=valkey
8ExecStart=/usr/bin/valkey-server /etc/valkey/valkey.conf
9ExecStop=/usr/bin/valkey-cli shutdown
10Restart=always
11LimitNOFILE=10032
12StateDirectory=valkey
13
14[Install]
15WantedBy=multi-user.target
16
diff --git a/meta-oe/recipes-extended/valkey/valkey_8.1.1.bb b/meta-oe/recipes-extended/valkey/valkey_8.1.1.bb
new file mode 100644
index 0000000000..35b3d3c4a7
--- /dev/null
+++ b/meta-oe/recipes-extended/valkey/valkey_8.1.1.bb
@@ -0,0 +1,76 @@
1SUMMARY = "Valkey key-value store"
2DESCRIPTION = "A flexible distributed key-value datastore that supports both caching and beyond caching workloads."
3HOMEPAGE = "http://valkey.io"
4SECTION = "libs"
5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://COPYING;md5=08b9159809d809e8aaa340a8387e693e"
7DEPENDS = "readline lua ncurses"
8
9SRC_URI = " \
10 git://github.com/valkey-io/valkey.git;branch=8.1;protocol=https \
11 file://valkey.conf \
12 file://init-valkey-server \
13 file://valkey.service \
14 file://hiredis-use-default-CC-if-it-is-set.patch \
15 file://lua-update-Makefile-to-use-environment-build-setting.patch \
16 file://oe-use-libc-malloc.patch \
17 file://0001-src-Do-not-reset-FINAL_LIBS.patch \
18 file://GNU_SOURCE-7.patch \
19"
20SRCREV = "fcd8bc3ee40f5d7841b7d5a8f3cd12252fec14e4"
21
22
23RPROVIDES:${PN} = "virtual-redis"
24
25inherit pkgconfig update-rc.d systemd useradd
26
27FINAL_LIBS:x86:toolchain-clang = "-latomic"
28FINAL_LIBS:riscv32:toolchain-clang = "-latomic"
29FINAL_LIBS:mips = "-latomic"
30FINAL_LIBS:arm = "-latomic"
31FINAL_LIBS:powerpc = "-latomic"
32
33export FINAL_LIBS
34
35USERADD_PACKAGES = "${PN}"
36USERADD_PARAM:${PN} = "--system --home-dir /var/lib/valkey -g valkey --shell /bin/false valkey"
37GROUPADD_PARAM:${PN} = "--system valkey"
38
39PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
40PACKAGECONFIG[systemd] = "USE_SYSTEMD=yes,USE_SYSTEMD=no,systemd"
41
42EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}"
43
44do_compile() {
45 oe_runmake -C deps hiredis lua linenoise
46 oe_runmake
47}
48
49do_install() {
50 export PREFIX=${D}/${prefix}
51 oe_runmake install
52 install -d ${D}/${sysconfdir}/valkey
53 install -m 0644 ${UNPACKDIR}/valkey.conf ${D}/${sysconfdir}/valkey/valkey.conf
54 install -d ${D}/${sysconfdir}/init.d
55 install -m 0755 ${UNPACKDIR}/init-valkey-server ${D}/${sysconfdir}/init.d/valkey-server
56 install -d ${D}/var/lib/valkey/
57 chown valkey.valkey ${D}/var/lib/valkey/
58
59 install -d ${D}${systemd_system_unitdir}
60 install -m 0644 ${UNPACKDIR}/valkey.service ${D}${systemd_system_unitdir}
61 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/valkey.service
62
63 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
64 sed -i 's!daemonize yes!# daemonize yes!' ${D}/${sysconfdir}/valkey/valkey.conf
65 sed -i 's!supervised no!supervised systemd!' ${D}/${sysconfdir}/valkey/valkey.conf
66 fi
67}
68
69CONFFILES:${PN} = "${sysconfdir}/valkey/valkey.conf"
70
71INITSCRIPT_NAME = "valkey-server"
72INITSCRIPT_PARAMS = "defaults 87"
73
74SYSTEMD_SERVICE:${PN} = "valkey.service"
75
76CVE_STATUS[CVE-2022-3734] = "not-applicable-platform: CVE only applies for Windows."
diff --git a/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb b/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
index 1a75922277..8f9f87b370 100644
--- a/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
+++ b/meta-oe/recipes-extended/vlock/vlock_2.2.3.bb
@@ -9,14 +9,13 @@ SECTION = "utils"
9LICENSE = "GPL-2.0-only" 9LICENSE = "GPL-2.0-only"
10LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf" 10LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf"
11 11
12SRC_URI = "${GENTOO_MIRROR}/${BP}.tar.gz \ 12SRC_URI = "${GENTOO_MIRROR}/37/${BP}.tar.gz \
13 file://disable_vlockrc.patch \ 13 file://disable_vlockrc.patch \
14 file://vlock_pam_tally2_reset.patch \ 14 file://vlock_pam_tally2_reset.patch \
15 file://vlock-no_tally.patch \ 15 file://vlock-no_tally.patch \
16 file://vlock_pam \ 16 file://vlock_pam \
17 " 17 "
18 18
19SRC_URI[md5sum] = "378175c7692a8f288e65fd4dbf8a38eb"
20SRC_URI[sha256sum] = "85aa5aed1ae49351378a0bd527a013078f0f969372a63164b1944174ae1a5e39" 19SRC_URI[sha256sum] = "85aa5aed1ae49351378a0bd527a013078f0f969372a63164b1944174ae1a5e39"
21 20
22inherit autotools-brokensep update-alternatives 21inherit autotools-brokensep update-alternatives
diff --git a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
index cc03ab4fea..01215a4b25 100644
--- a/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
+++ b/meta-oe/recipes-extended/volume_key/volume-key_0.3.12.bb
@@ -10,11 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
10 10
11SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \ 11SRC_URI = "https://releases.pagure.org/volume_key/volume_key-${PV}.tar.xz \
12" 12"
13SRC_URI[md5sum] = "200591290173c3ea71528411838f9080"
14SRC_URI[sha256sum] = "6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b" 13SRC_URI[sha256sum] = "6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b"
15 14
16SRCNAME = "volume_key" 15SRCNAME = "volume_key"
17S = "${WORKDIR}/${SRCNAME}-${PV}" 16S = "${UNPACKDIR}/${SRCNAME}-${PV}"
18 17
19inherit autotools python3native python3targetconfig gettext pkgconfig 18inherit autotools python3native python3targetconfig gettext pkgconfig
20 19
diff --git a/meta-oe/recipes-extended/wipe/wipe_0.24.bb b/meta-oe/recipes-extended/wipe/wipe_0.24.bb
index ad32cb0e72..ba3ed29d59 100644
--- a/meta-oe/recipes-extended/wipe/wipe_0.24.bb
+++ b/meta-oe/recipes-extended/wipe/wipe_0.24.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/berke/wipe.git;branch=master;protocol=https \
15" 15"
16SRCREV = "796b62293e007546e051619bd03f5ba338ef28e5" 16SRCREV = "796b62293e007546e051619bd03f5ba338ef28e5"
17 17
18S = "${WORKDIR}/git"
19 18
20EXTRA_OEMAKE = "linux" 19EXTRA_OEMAKE = "linux"
21 20
diff --git a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
index 785ae50e9e..b901e8815a 100644
--- a/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
+++ b/meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb
@@ -10,7 +10,6 @@ SRCREV = "493e9704dbc50f141d5fbd41c823311e79d7e8d3"
10SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https \ 10SRC_URI = "git://github.com/thkukuk/wtmpdb.git;branch=main;protocol=https \
11 file://0001-include-libgen.h-for-basename.patch" 11 file://0001-include-libgen.h-for-basename.patch"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit meson pkgconfig systemd features_check 14inherit meson pkgconfig systemd features_check
16 15
@@ -19,7 +18,7 @@ REQUIRED_DISTRO_FEATURES = "pam"
19 18
20SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service" 19SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service"
21 20
22EXTRA_OEMESON = " -Dpamlibdir=${libdir}" 21EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
23 22
24do_install:append () { 23do_install:append () {
25 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then 24 if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
@@ -33,3 +32,4 @@ do_install:append () {
33FILES:${PN} += " ${systemd_system_unitdir} " 32FILES:${PN} += " ${systemd_system_unitdir} "
34FILES:${PN} += " ${libdir} " 33FILES:${PN} += " ${libdir} "
35FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* " 34FILES:${PN} += " ${nonarch_libdir}/tmpfiles.d/* "
35FILES:${PN} += " ${base_libdir}/security/*.so "
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch
deleted file mode 100644
index 52f4449339..0000000000
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 72c3b7324f00047e6dc5d8380ed2f6ff2494a6f9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 18 Dec 2022 14:51:34 -0800
4Subject: [PATCH] locale: Avoid using glibc specific defines on musl
5
6musl does not provide some glibc-only enum members e.g. _NL_ADDRESS_LANG_NAME
7
8Upstream-Status: Submitted [https://github.com/wxWidgets/wxWidgets/pull/23050]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/unix/uilocale.cpp | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/src/unix/uilocale.cpp b/src/unix/uilocale.cpp
15index 57773e17f5..86816ba896 100644
16--- a/src/unix/uilocale.cpp
17+++ b/src/unix/uilocale.cpp
18@@ -619,7 +619,7 @@ wxString
19 wxUILocaleImplUnix::GetLocalizedName(wxLocaleName name, wxLocaleForm form) const
20 {
21 wxString str;
22-#if defined(HAVE_LANGINFO_H) && defined(__LINUX__)
23+#if defined(HAVE_LANGINFO_H) && defined(__LINUX__) && defined(__GLIBC__)
24 switch (name)
25 {
26 case wxLOCALE_NAME_LOCALE:
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch
index b3b9e79c53..a3b8d0c0ee 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch
@@ -1,4 +1,4 @@
1From a071243763f4b06fc7e71f541c49cecf380b6f27 Mon Sep 17 00:00:00 2001 1From 8f582c0ea40ccdb2d439b7614459d752f3606e15 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Sun, 11 Oct 2020 22:16:55 +0200 3Date: Sun, 11 Oct 2020 22:16:55 +0200
4Subject: [PATCH] wx-config.in: Disable cross magic - it does not work for us 4Subject: [PATCH] wx-config.in: Disable cross magic - it does not work for us
@@ -18,10 +18,10 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
18 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
19 19
20diff --git a/wx-config.in b/wx-config.in 20diff --git a/wx-config.in b/wx-config.in
21index d132e3182f..d0d162e8a3 100755 21index 4df8571d28..1173d89685 100755
22--- a/wx-config.in 22--- a/wx-config.in
23+++ b/wx-config.in 23+++ b/wx-config.in
24@@ -396,7 +396,7 @@ get_mask() 24@@ -394,7 +394,7 @@ get_mask()
25 } 25 }
26 26
27 # Returns true if this script is for a cross compiled config. 27 # Returns true if this script is for a cross compiled config.
@@ -31,5 +31,5 @@ index d132e3182f..d0d162e8a3 100755
31 31
32 # Determine the base directories we require. 32 # Determine the base directories we require.
33-- 33--
342.26.2 342.25.1
35 35
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/fix-libdir-for-multilib.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch
index ea204ed3b1..b599f38871 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/fix-libdir-for-multilib.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0002-fix-libdir-for-multilib.patch
@@ -1,12 +1,18 @@
1wxWidgets hardcodes libdir with 'lib' and does not support multilib which will 1From 9487fe5cd271a4bee96ab590509ef38f6972887a Mon Sep 17 00:00:00 2001
2change it. Respect variable wxPLATFORM_LIB_DIR to support libdir be configurable. 2From: Kai Kang <kai.kang@windriver.com>
3Date: Sat, 12 Oct 2024 18:43:25 +0800
4Subject: [PATCH] fix libdir for multilib
5
6wxWidgets hardcodes libdir with 'lib' and does not support multilib
7which will change it. Respect variable wxPLATFORM_LIB_DIR to support
8libdir be configurable.
3 9
4Upstream-Status: Pending 10Upstream-Status: Pending
5 11
6Signed-off-by: Kai Kang <kai.kang@windriver.com> 12Signed-off-by: Kai Kang <kai.kang@windriver.com>
7 13
8Rebase for wxWidgets 3.2.1. Replace wxPLATFORM_LIB_DIR with LIB_SUFFIX in this 14Rebase for wxWidgets 3.2.1. Replace wxPLATFORM_LIB_DIR with LIB_SUFFIX
9patch that LIB_SUFFIX has been passed to cmake in cmake.bbclass. 15in this patch that LIB_SUFFIX has been passed to cmake in cmake.bbclass.
10 16
11Signed-off-by: Kai Kang <kai.kang@windriver.com> 17Signed-off-by: Kai Kang <kai.kang@windriver.com>
12--- 18---
@@ -17,36 +23,36 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
17 4 files changed, 10 insertions(+), 10 deletions(-) 23 4 files changed, 10 insertions(+), 10 deletions(-)
18 24
19diff --git a/CMakeLists.txt b/CMakeLists.txt 25diff --git a/CMakeLists.txt b/CMakeLists.txt
20index a49ecd3883..d469471f38 100644 26index f6ae7f6210..2a13e448db 100644
21--- a/CMakeLists.txt 27--- a/CMakeLists.txt
22+++ b/CMakeLists.txt 28+++ b/CMakeLists.txt
23@@ -45,7 +45,7 @@ include(build/cmake/policies.cmake NO_POLICY_SCOPE) 29@@ -45,7 +45,7 @@ include(build/cmake/policies.cmake NO_POLICY_SCOPE)
24 # Initialize variables for quick access to wx root dir in sub dirs 30 # Initialize variables for quick access to wx root dir in sub dirs
25 set(wxSOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) 31 set(wxSOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
26 set(wxBINARY_DIR ${CMAKE_BINARY_DIR}) 32 set(wxBINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
27-set(wxOUTPUT_DIR ${wxBINARY_DIR}/lib) 33-set(wxOUTPUT_DIR ${wxBINARY_DIR}/lib)
28+set(wxOUTPUT_DIR ${wxBINARY_DIR}/lib${LIB_SUFFIX}) 34+set(wxOUTPUT_DIR ${wxBINARY_DIR}/lib${LIB_SUFFIX})
29 35
30 # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION 36 # parse the version number from wx/version.h and include in wxMAJOR_VERSION and wxMINOR_VERSION
31 file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS) 37 file(READ "${wxSOURCE_DIR}/include/wx/version.h" WX_VERSION_H_CONTENTS)
32diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake 38diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake
33index b359560bc0..c59ea60923 100644 39index addd8d6b81..9ec677534b 100644
34--- a/build/cmake/config.cmake 40--- a/build/cmake/config.cmake
35+++ b/build/cmake/config.cmake 41+++ b/build/cmake/config.cmake
36@@ -76,7 +76,7 @@ function(wx_write_config_inplace) 42@@ -100,7 +100,7 @@ function(wx_write_config_inplace)
37 execute_process( 43 execute_process(
38 COMMAND 44 COMMAND
39 "${CMAKE_COMMAND}" -E ${COPY_CMD} 45 "${CMAKE_COMMAND}" -E ${COPY_CMD}
40- "${CMAKE_CURRENT_BINARY_DIR}/lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" 46- "${wxBINARY_DIR}/lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}"
41+ "${CMAKE_CURRENT_BINARY_DIR}/lib${LIB_SUFFIX}/wx/config/inplace-${TOOLCHAIN_FULLNAME}" 47+ "${wxBINARY_DIR}/lib${LIB_SUFFIX}/wx/config/inplace-${TOOLCHAIN_FULLNAME}"
42 "${CMAKE_CURRENT_BINARY_DIR}/wx-config" 48 "${wxBINARY_DIR}/wx-config"
43 ) 49 )
44 endfunction() 50 endfunction()
45diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake 51diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
46index 7182364e5e..55fbebc7ee 100644 52index 72a34f0b4f..81ede7d8ae 100644
47--- a/build/cmake/functions.cmake 53--- a/build/cmake/functions.cmake
48+++ b/build/cmake/functions.cmake 54+++ b/build/cmake/functions.cmake
49@@ -435,8 +435,8 @@ macro(wx_add_library name) 55@@ -462,8 +462,8 @@ macro(wx_add_library name)
50 endif() 56 endif()
51 wx_install(TARGETS ${name} 57 wx_install(TARGETS ${name}
52 EXPORT wxWidgetsTargets 58 EXPORT wxWidgetsTargets
@@ -105,3 +111,6 @@ index 384c6837b8..d3303faabb 100644
105 ) 111 )
106 112
107 # uninstall target 113 # uninstall target
114--
1152.25.1
116
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/create-links-with-relative-path.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch
index 6eef0b6790..dbede0304f 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/create-links-with-relative-path.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0003-create-links-with-relative-path.patch
@@ -1,18 +1,23 @@
1From b86806ef34d4c9171165c1533064bf34ad822e20 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Sat, 12 Oct 2024 18:43:25 +0800
4Subject: [PATCH] create links with relative path
5
1It fails to build python3-wxgtk4 which depends on wxwidgets: 6It fails to build python3-wxgtk4 which depends on wxwidgets:
2 7
3| ERROR: wxwidgets-native-3.2.1-r0 do_populate_sysroot: sstate found an 8| ERROR: wxwidgets-native-3.2.1-r0 do_populate_sysroot: sstate found an
4 absolute path symlink /path/to/build/tmp-glibc/work/x86_64-linux 9 absolute path symlink /path/to/build/tmp-glibc/work/x86_64-linux
5 /wxwidgets-native/3.2.1-r0/sysroot-destdir/path/to/build/tmp-glibc/work 10 /wxwidgets-native/3.2.1-r0/sysroot-destdir/path/to/build/tmp-glibc/work
6 /x86_64-linux/wxwidgets-native/3.2.1-r0/recipe-sysroot-native/usr/bin/wx-config 11 /x86_64-linux/wxwidgets-native/3.2.1-r0/recipe-sysroot-native/usr/bin/wx-config
7 pointing at /path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native/3.2.1-r0 12 pointing at /path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native/3.2.1-r0
8 /recipe-sysroot-native/usr/lib/wx/config/gtk3-unicode-3.2. 13 /recipe-sysroot-native/usr/lib/wx/config/gtk3-unicode-3.2.
9 Please replace this with a relative link. 14 Please replace this with a relative link.
10| ERROR: wxwidgets-native-3.2.1-r0 do_populate_sysroot: sstate found an 15| ERROR: wxwidgets-native-3.2.1-r0 do_populate_sysroot: sstate found an
11 absolute path symlink /path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native 16 absolute path symlink /path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native
12 /3.2.1-r0/sysroot-destdir/path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native 17 /3.2.1-r0/sysroot-destdir/path/to/build/tmp-glibc/work/x86_64-linux/wxwidgets-native
13 /3.2.1-r0/recipe-sysroot-native/usr/bin/wxrc pointing at /path/to/build/tmp-glibc 18 /3.2.1-r0/recipe-sysroot-native/usr/bin/wxrc pointing at /path/to/build/tmp-glibc
14 /work/x86_64-linux/wxwidgets-native/3.2.1-r0/recipe-sysroot-native/usr/bin/wxrc-3.2. 19 /work/x86_64-linux/wxwidgets-native/3.2.1-r0/recipe-sysroot-native/usr/bin/wxrc-3.2.
15 Please replace this with a relative link. 20 Please replace this with a relative link.
16 21
17Create symlink with relative path to fix the issues. 22Create symlink with relative path to fix the issues.
18 23
@@ -50,3 +55,6 @@ index dbed8cc9b3..1dbc3261d3 100644
50 \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX}\" \ 55 \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/wxrc${EXE_SUFFIX}\" \
51 )" 56 )"
52 ) 57 )
58--
592.25.1
60
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/not-append-system-name-to-lib-name.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0004-don-not-append-system-name-to-lib-name.patch
index 6329256b0c..e3463ba170 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/not-append-system-name-to-lib-name.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0004-don-not-append-system-name-to-lib-name.patch
@@ -1,3 +1,8 @@
1From 5e9725c1151e2b029066d61ef5dccf1f3e6cb323 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Sat, 12 Oct 2024 18:43:25 +0800
4Subject: [PATCH] don not append system name to lib name
5
1It appends system name to library names for cross compile. For example, the 6It appends system name to library names for cross compile. For example, the
2library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is 7library name is libwx_baseu-3.1-Linux.so rather than libwx_baseu-3.1.so. It is
3not appropriate for oe. 8not appropriate for oe.
@@ -14,10 +19,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
14 1 file changed, 3 insertions(+), 3 deletions(-) 19 1 file changed, 3 insertions(+), 3 deletions(-)
15 20
16diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake 21diff --git a/build/cmake/functions.cmake b/build/cmake/functions.cmake
17index e374d9a273..c6b1908bd6 100644 22index 81ede7d8ae..23eebeb914 100644
18--- a/build/cmake/functions.cmake 23--- a/build/cmake/functions.cmake
19+++ b/build/cmake/functions.cmake 24+++ b/build/cmake/functions.cmake
20@@ -219,9 +219,9 @@ function(wx_set_target_properties target_name) 25@@ -243,9 +243,9 @@ function(wx_set_target_properties target_name)
21 endif() 26 endif()
22 27
23 set(cross_target) 28 set(cross_target)
@@ -30,3 +35,6 @@ index e374d9a273..c6b1908bd6 100644
30 35
31 set(lib_prefix "lib") 36 set(lib_prefix "lib")
32 if(MSVC OR (WIN32 AND wxBUILD_SHARED)) 37 if(MSVC OR (WIN32 AND wxBUILD_SHARED))
38--
392.25.1
40
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/wx-config-fix-libdir-for-multilib.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0005-wx-config-fix-libdir-for-multilib.patch
index 628f8dee56..b650c50386 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/wx-config-fix-libdir-for-multilib.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0005-wx-config-fix-libdir-for-multilib.patch
@@ -1,8 +1,14 @@
1It sets 'libdir' with path element 'lib' directly which is not suitable for 1From 4230cd84f156f9eb5c9b80ffbc69dd55fa7c7ca7 Mon Sep 17 00:00:00 2001
2multilib. Add an option '--baselib' for wx-config to support multilib when 2From: Kai Kang <kai.kang@windriver.com>
3cross compile. And set default value of baselib with "lib${wxPLATFORM_LIB_DIR}". 3Date: Sat, 12 Oct 2024 18:43:25 +0800
4Subject: [PATCH] wx-config: fix libdir for multilib
4 5
5Upstream-Status: Pending [oe specific] 6It sets 'libdir' with path element 'lib' directly which is not suitable
7for multilib. Add an option '--baselib' for wx-config to support
8multilib when cross compile. And set default value of baselib with
9"lib${wxPLATFORM_LIB_DIR}".
10
11Upstream-Status: Inappropriate [oe specific]
6 12
7Signed-off-by: Kai Kang <kai.kang@windriver.com> 13Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 14
@@ -15,10 +21,10 @@ Signed-off-by: Kai Kang <kai.kang@windriver.com>
15 2 files changed, 5 insertions(+), 3 deletions(-) 21 2 files changed, 5 insertions(+), 3 deletions(-)
16 22
17diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake 23diff --git a/build/cmake/config.cmake b/build/cmake/config.cmake
18index 52ae69d3f6..28aa733eb0 100644 24index 9ec677534b..ee61cf7572 100644
19--- a/build/cmake/config.cmake 25--- a/build/cmake/config.cmake
20+++ b/build/cmake/config.cmake 26+++ b/build/cmake/config.cmake
21@@ -86,7 +86,7 @@ function(wx_write_config) 27@@ -110,7 +110,7 @@ function(wx_write_config)
22 set(prefix ${CMAKE_INSTALL_PREFIX}) 28 set(prefix ${CMAKE_INSTALL_PREFIX})
23 set(exec_prefix "\${prefix}") 29 set(exec_prefix "\${prefix}")
24 set(includedir "\${prefix}/include") 30 set(includedir "\${prefix}/include")
@@ -26,9 +32,9 @@ index 52ae69d3f6..28aa733eb0 100644
26+ set(libdir "\${exec_prefix}/\${baselib}") 32+ set(libdir "\${exec_prefix}/\${baselib}")
27 set(bindir "\${exec_prefix}/bin") 33 set(bindir "\${exec_prefix}/bin")
28 34
29 find_program(EGREP egrep) 35 if(wxBUILD_MONOLITHIC)
30diff --git a/wx-config.in b/wx-config.in 36diff --git a/wx-config.in b/wx-config.in
31index e3f7d115bb..0e78af03c7 100755 37index 1173d89685..8364a33e9d 100755
32--- a/wx-config.in 38--- a/wx-config.in
33+++ b/wx-config.in 39+++ b/wx-config.in
34@@ -42,7 +42,8 @@ usage() 40@@ -42,7 +42,8 @@ usage()
@@ -41,7 +47,7 @@ index e3f7d115bb..0e78af03c7 100755
41 [--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT] 47 [--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT]
42 [--universal[=yes|no]] [--unicode[=yes|no]] [--static[=yes|no]] 48 [--universal[=yes|no]] [--unicode[=yes|no]] [--static[=yes|no]]
43 [--debug[=yes|no]] [--version[=VERSION]] [--flavour=FLAVOUR] 49 [--debug[=yes|no]] [--version[=VERSION]] [--flavour=FLAVOUR]
44@@ -137,7 +138,7 @@ wxconfig_output_options="prefix exec_prefix 50@@ -133,7 +134,7 @@ wxconfig_output_options="prefix exec_prefix
45 51
46 # Options that permit the user to supply hints that may affect the output. 52 # Options that permit the user to supply hints that may affect the output.
47 # These options all accept arbitrary values, to interpret as they please. 53 # These options all accept arbitrary values, to interpret as they please.
@@ -50,7 +56,7 @@ index e3f7d115bb..0e78af03c7 100755
50 56
51 # Input options that accept only a yes or no argument. 57 # Input options that accept only a yes or no argument.
52 # 58 #
53@@ -404,6 +405,7 @@ is_cross() { [ "x@cross_compiling@" = "xyes" ]; } 59@@ -400,6 +401,7 @@ is_cross() { [ "xno" = "xyes" ]; }
54 # Determine the base directories we require. 60 # Determine the base directories we require.
55 prefix=${input_option_prefix-${this_prefix:-@prefix@}} 61 prefix=${input_option_prefix-${this_prefix:-@prefix@}}
56 exec_prefix=${input_option_exec_prefix-${input_option_prefix-${this_exec_prefix:-@exec_prefix@}}} 62 exec_prefix=${input_option_exec_prefix-${input_option_prefix-${this_exec_prefix:-@exec_prefix@}}}
@@ -58,3 +64,6 @@ index e3f7d115bb..0e78af03c7 100755
58 wxconfdir="@libdir@/wx/config" 64 wxconfdir="@libdir@/wx/config"
59 65
60 installed_configs=`cd "$wxconfdir" 2> /dev/null && ls | grep -v "^inplace-"` 66 installed_configs=`cd "$wxconfdir" 2> /dev/null && ls | grep -v "^inplace-"`
67--
682.25.1
69
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0006-Fix-locale-on-musl.patch
index e4ca6579f8..37d61dcb3f 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/musl-locale-l.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0006-Fix-locale-on-musl.patch
@@ -1,8 +1,19 @@
1Upstream-Status: Pending 1From 64d5d7f68cde208c6f8a5e0b71da93f98e4720f7 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Oct 2024 20:30:16 +0800
4Subject: [PATCH] Fix locale on musl
2 5
3these macro'd away functions don't exist in musl (yet) 6these macro'd away functions don't exist in musl (yet)
7
8Upstream-Status: Pending
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 include/wx/xlocale.h | 20 ++++++++++++++++++++
13 1 file changed, 20 insertions(+)
14
4diff --git a/include/wx/xlocale.h b/include/wx/xlocale.h 15diff --git a/include/wx/xlocale.h b/include/wx/xlocale.h
5index c433d25..3ab9d84 100644 16index c433d25d05..794cf0b66b 100644
6--- a/include/wx/xlocale.h 17--- a/include/wx/xlocale.h
7+++ b/include/wx/xlocale.h 18+++ b/include/wx/xlocale.h
8@@ -33,6 +33,26 @@ 19@@ -33,6 +33,26 @@
@@ -32,3 +43,6 @@ index c433d25..3ab9d84 100644
32 // The platform-specific locale type 43 // The platform-specific locale type
33 // If wxXLocale_t is not defined, then only "C" locale support is provided 44 // If wxXLocale_t is not defined, then only "C" locale support is provided
34 #ifdef wxHAS_XLOCALE_SUPPORT 45 #ifdef wxHAS_XLOCALE_SUPPORT
46--
472.25.1
48
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch
index 5160f2e1fe..ef94e3551b 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch
@@ -1,4 +1,4 @@
1From e108aff9d6dae613f486c1b1681f4a3cdf17b845 Mon Sep 17 00:00:00 2001 1From 22f70d5bd039b20bfdad522341412ca001c639db Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 19 Dec 2022 15:07:55 -0800 3Date: Mon, 19 Dec 2022 15:07:55 -0800
4Subject: [PATCH] Set HAVE_LARGEFILE_SUPPORT to 1 explicitly 4Subject: [PATCH] Set HAVE_LARGEFILE_SUPPORT to 1 explicitly
@@ -6,16 +6,17 @@ Subject: [PATCH] Set HAVE_LARGEFILE_SUPPORT to 1 explicitly
6nothing sets this to 0, but for some reason it gets undef'd 6nothing sets this to 0, but for some reason it gets undef'd
7 7
8Upstream-Status: Pending 8Upstream-Status: Pending
9
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 10Signed-off-by: Khem Raj <raj.khem@gmail.com>
10--- 11---
11 build/cmake/setup.h.in | 3 +-- 12 build/cmake/setup.h.in | 3 +--
12 1 file changed, 1 insertion(+), 2 deletions(-) 13 1 file changed, 1 insertion(+), 2 deletions(-)
13 14
14diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in 15diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in
15index bce33a73f3..22afb4cfa0 100644 16index fcc282980d..767adbf658 100644
16--- a/build/cmake/setup.h.in 17--- a/build/cmake/setup.h.in
17+++ b/build/cmake/setup.h.in 18+++ b/build/cmake/setup.h.in
18@@ -869,8 +869,7 @@ 19@@ -867,8 +867,7 @@
19 /* 20 /*
20 * Define if large (64 bit file offsets) files are supported. 21 * Define if large (64 bit file offsets) files are supported.
21 */ 22 */
@@ -26,5 +27,5 @@ index bce33a73f3..22afb4cfa0 100644
26 * Use OpenGL 27 * Use OpenGL
27 */ 28 */
28-- 29--
292.39.0 302.25.1
30 31
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.6.bb
index 91653e2852..2cd154cab6 100644
--- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb
+++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.6.bb
@@ -20,16 +20,16 @@ DEPENDS += " \
20 20
21SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https \ 21SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https \
22 file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \ 22 file://0001-wx-config.in-Disable-cross-magic-it-does-not-work-fo.patch \
23 file://fix-libdir-for-multilib.patch \ 23 file://0002-fix-libdir-for-multilib.patch \
24 file://create-links-with-relative-path.patch \ 24 file://0003-create-links-with-relative-path.patch \
25 file://not-append-system-name-to-lib-name.patch \ 25 file://0004-don-not-append-system-name-to-lib-name.patch \
26 file://wx-config-fix-libdir-for-multilib.patch \ 26 file://0005-wx-config-fix-libdir-for-multilib.patch \
27 file://0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch \ 27 file://0006-Fix-locale-on-musl.patch \
28 file://musl-locale-l.patch \ 28 file://0007-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \
29 file://0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \
30 " 29 "
31SRCREV= "97e99707c5d2271a70cb686720b48dbf34ced496" 30SRCREV = "5ff25322553c1870cf20a2e1ba6f20ed50d9fe9a"
32S = "${WORKDIR}/git" 31
32UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
33 33
34# These can be either 'builtin' or 'sys' and builtin means cloned soures are 34# These can be either 'builtin' or 'sys' and builtin means cloned soures are
35# build. So these cannot be PACKAGECONFIGs and let's use libs where we can (see 35# build. So these cannot be PACKAGECONFIGs and let's use libs where we can (see
@@ -73,7 +73,7 @@ PACKAGECONFIG[libsecret] = "-DwxUSE_SECRETSTORE=ON,-DwxUSE_SECRETSTORE=OFF,libse
73PACKAGECONFIG[lzma] = "-DwxUSE_LIBLZMA=ON,-DwxUSE_LIBLZMA=OFF,xz" 73PACKAGECONFIG[lzma] = "-DwxUSE_LIBLZMA=ON,-DwxUSE_LIBLZMA=OFF,xz"
74PACKAGECONFIG[mspack] = "-DwxUSE_LIBMSPACK=ON,-DwxUSE_LIBMSPACK=OFF,libmspack" 74PACKAGECONFIG[mspack] = "-DwxUSE_LIBMSPACK=ON,-DwxUSE_LIBMSPACK=OFF,libmspack"
75PACKAGECONFIG[opengl] = "-DwxUSE_OPENGL=ON,-DwxUSE_OPENGL=OFF,libglu" 75PACKAGECONFIG[opengl] = "-DwxUSE_OPENGL=ON,-DwxUSE_OPENGL=OFF,libglu"
76PACKAGECONFIG[sdl_audio] = "-DwxUSE_LIBSDL=ON,-DwxUSE_LIBSDL=OFF,libsdl2" 76PACKAGECONFIG[sdl_audio] = "-DwxUSE_LIBSDL=ON,-DwxUSE_LIBSDL=OFF,virtual/libsdl2"
77PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk3,,,no_gui" 77PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk3,,,no_gui"
78PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl" 78PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl"
79 79
diff --git a/meta-oe/recipes-extended/zlog/zlog_1.2.16.bb b/meta-oe/recipes-extended/zlog/zlog_1.2.16.bb
index b75802f09f..f450c2cf01 100644
--- a/meta-oe/recipes-extended/zlog/zlog_1.2.16.bb
+++ b/meta-oe/recipes-extended/zlog/zlog_1.2.16.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
6SRCREV = "dc2c284664757fce6ef8f96f8b3ab667a53ef489" 6SRCREV = "dc2c284664757fce6ef8f96f8b3ab667a53ef489"
7SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https" 7SRC_URI = "git://github.com/HardySimpson/zlog;branch=master;protocol=https"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit pkgconfig 10inherit pkgconfig
12 11
diff --git a/meta-oe/recipes-extended/zram/zram_0.2.bb b/meta-oe/recipes-extended/zram/zram_0.2.bb
index 89292118d0..2c894c0230 100644
--- a/meta-oe/recipes-extended/zram/zram_0.2.bb
+++ b/meta-oe/recipes-extended/zram/zram_0.2.bb
@@ -4,8 +4,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
4 4
5inherit update-rc.d systemd 5inherit update-rc.d systemd
6 6
7RDEPENDS:${PN} = "kmod \ 7RDEPENDS:${PN} = "kmod util-linux-swaponoff \
8 ${@bb.utils.contains('DISTRO_FEATURES','systemd','util-linux','util-linux-swaponoff',d)}" 8 ${@bb.utils.contains('DISTRO_FEATURES','systemd','util-linux-zramctl','',d)}"
9RRECOMMENDS:${PN} = "kernel-module-zram" 9RRECOMMENDS:${PN} = "kernel-module-zram"
10 10
11 11
@@ -17,8 +17,7 @@ SRC_URI = " \
17 file://dev-zram0.swap \ 17 file://dev-zram0.swap \
18" 18"
19 19
20S = "${WORKDIR}/sources" 20S = "${UNPACKDIR}"
21UNPACKDIR = "${S}"
22 21
23do_install () { 22do_install () {
24 # Install systemd related configuration file 23 # Install systemd related configuration file
diff --git a/meta-oe/recipes-extended/zsync/zsync-curl_git.bb b/meta-oe/recipes-extended/zsync/zsync-curl_git.bb
index 1bc4010f8a..5227b834f9 100644
--- a/meta-oe/recipes-extended/zsync/zsync-curl_git.bb
+++ b/meta-oe/recipes-extended/zsync/zsync-curl_git.bb
@@ -12,9 +12,17 @@ SRCREV = "00141c2806ccc4ddf2ff6263ee1612d19c0b713f"
12 12
13PV = "0.6.2+git" 13PV = "0.6.2+git"
14 14
15# Upstream repo does not tag
16UPSTREAM_CHECK_COMMITS = "1"
17
15inherit autotools 18inherit autotools
16 19
17S = "${WORKDIR}/git"
18AUTOTOOLS_SCRIPT_PATH = "${S}/src" 20AUTOTOOLS_SCRIPT_PATH = "${S}/src"
19 21
20BBCLASSEXTEND = "native nativesdk" 22BBCLASSEXTEND = "native nativesdk"
23
24# http://errors.yoctoproject.org/Errors/Details/766891/
25# git/src/libzsync/zsync.c:445:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
26# git/src/libzsync/zsync.c:450:18: error: returning 'char **' from a function with incompatible return type 'const char * const*' [-Wincompatible-pointer-types]
27# git/src/libzsync/zsync.c:932:43: error: passing argument 4 of 'zsync_configure_zstream_for_zdata' from incompatible pointer type [-Wincompatible-pointer-types]
28CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.3.bb b/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.3.bb
index 62ca015309..23e2ff7811 100644
--- a/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.3.bb
+++ b/meta-oe/recipes-gnome/atk/atkmm-2.36_2.36.3.bb
@@ -15,7 +15,7 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
15 15
16SRC_URI[archive.sha256sum] = "6ec264eaa0c4de0adb7202c600170bde9a7fbe4d466bfbe940eaf7faaa6c5974" 16SRC_URI[archive.sha256sum] = "6ec264eaa0c4de0adb7202c600170bde9a7fbe4d466bfbe940eaf7faaa6c5974"
17 17
18S = "${WORKDIR}/${GNOMEBN}-${PV}" 18S = "${UNPACKDIR}/${GNOMEBN}-${PV}"
19 19
20EXTRA_OEMESON = "-Dbuild-documentation=false" 20EXTRA_OEMESON = "-Dbuild-documentation=false"
21 21
diff --git a/meta-oe/recipes-gnome/gcab/gcab/0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch b/meta-oe/recipes-gnome/gcab/gcab/0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch
new file mode 100644
index 0000000000..dd6ae1b427
--- /dev/null
+++ b/meta-oe/recipes-gnome/gcab/gcab/0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch
@@ -0,0 +1,37 @@
1From 6fa1b6d3f72caf6d0cf61752b522dc19fb9933b7 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 30 Aug 2024 10:44:17 +0200
4Subject: [PATCH] gcab-enums.c.etemplate: include @basename@ instead of full
5 path from @filename@
6
7* fixes:
8 ERROR: QA Issue: File /usr/src/debug/gcab/1.6/libgcab/gcab-enums.c in package gcab-src contains reference to TMPDIR [buildpaths]
9
10lib32-gcab/1.6/package $ grep -R styhead .
11./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-file.h"
12./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-folder.h"
13
14glib-mkenum supports also @basename@ since 2.22 which would avoid this QA issue
15 @filename@ name of current input file
16 @basename@ base name of the current input file (Since: 2.22)
17
18Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
19---
20Upstream-Status: Pending
21
22 libgcab/gcab-enums.c.etemplate | 2 +-
23 1 file changed, 1 insertion(+), 1 deletion(-)
24
25diff --git a/libgcab/gcab-enums.c.etemplate b/libgcab/gcab-enums.c.etemplate
26index 194b1e0..2e85824 100644
27--- a/libgcab/gcab-enums.c.etemplate
28+++ b/libgcab/gcab-enums.c.etemplate
29@@ -21,7 +21,7 @@
30 /*** END file-header ***/
31
32 /*** BEGIN file-production ***/
33-#include "@filename@"
34+#include "@basename@"
35 /*** END file-production ***/
36
37
diff --git a/meta-oe/recipes-gnome/gcab/gcab_1.6.bb b/meta-oe/recipes-gnome/gcab/gcab_1.6.bb
index 4278fc9453..503d25271f 100644
--- a/meta-oe/recipes-gnome/gcab/gcab_1.6.bb
+++ b/meta-oe/recipes-gnome/gcab/gcab_1.6.bb
@@ -7,6 +7,7 @@ DEPENDS = "glib-2.0"
7 7
8SRC_URI = "\ 8SRC_URI = "\
9 ${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \ 9 ${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
10 file://0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch \
10 file://run-ptest \ 11 file://run-ptest \
11" 12"
12SRC_URI[sha256sum] = "2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b" 13SRC_URI[sha256sum] = "2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b"
diff --git a/meta-oe/recipes-gnome/gcr/gcr3_3.41.2.bb b/meta-oe/recipes-gnome/gcr/gcr3_3.41.2.bb
index 0fd30f7424..bb905265ee 100644
--- a/meta-oe/recipes-gnome/gcr/gcr3_3.41.2.bb
+++ b/meta-oe/recipes-gnome/gcr/gcr3_3.41.2.bb
@@ -25,7 +25,7 @@ SRC_URI = "https://download.gnome.org/sources/gcr/3.41/gcr-${PV}.tar.xz;name=arc
25SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch" 25SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch"
26SRC_URI[archive.sha256sum] = "bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7" 26SRC_URI[archive.sha256sum] = "bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7"
27 27
28S = "${WORKDIR}/gcr-${PV}" 28S = "${UNPACKDIR}/gcr-${PV}"
29 29
30PACKAGECONFIG ??= " \ 30PACKAGECONFIG ??= " \
31 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ 31 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
diff --git a/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb b/meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb
index 54b37912b2..1f84c5e20a 100644
--- a/meta-oe/recipes-gnome/gmime/gmime_3.2.13.bb
+++ b/meta-oe/recipes-gnome/gmime/gmime_3.2.15.bb
@@ -11,12 +11,15 @@ inherit gnomebase gobject-introspection vala gtk-doc
11SRC_URI = "https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 11SRC_URI = "https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar.xz \
12 file://iconv-detect.h \ 12 file://iconv-detect.h \
13" 13"
14SRC_URI[sha256sum] = "2e10a54d4821daf8b16c019ad5d567e0fb8e766f8ffe5fec3d4c6a37373d6406" 14SRC_URI[sha256sum] = "84cd2a481a27970ec39b5c95f72db026722904a2ccf3fdbd57b280cf2d02b5c4"
15
16UPSTREAM_CHECK_URI = "https://github.com/jstedfast/gmime/releases"
17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
15 18
16EXTRA_OECONF += "--enable-largefile" 19EXTRA_OECONF += "--enable-largefile"
17 20
18export ac_cv_have_iconv_detect_h="yes" 21export ac_cv_have_iconv_detect_h = "yes"
19export ac_cv_sys_file_offset_bits="64" 22export ac_cv_sys_file_offset_bits = "64"
20 23
21do_configure:append () { 24do_configure:append () {
22 cp ${UNPACKDIR}/iconv-detect.h ${S} 25 cp ${UNPACKDIR}/iconv-detect.h ${S}
diff --git a/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb b/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
index c929763763..f10537eca7 100644
--- a/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
+++ b/meta-oe/recipes-gnome/gnome-doc-utils-stub/gnome-doc-utils-stub_1.0.bb
@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;m
8 8
9SRC_URI = "file://gnome-doc-utils.m4" 9SRC_URI = "file://gnome-doc-utils.m4"
10 10
11S = "${WORKDIR}/sources" 11S = "${UNPACKDIR}"
12UNPACKDIR = "${S}"
13 12
14PROVIDES = "gnome-doc-utils" 13PROVIDES = "gnome-doc-utils"
15 14
diff --git a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb
index 1ddc277651..70da55c137 100644
--- a/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.3.bb
+++ b/meta-oe/recipes-gnome/gnome-themes/adw-gtk3_5.10.bb
@@ -8,9 +8,8 @@ DEPENDS = "sassc-native"
8 8
9inherit meson 9inherit meson
10 10
11SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main" 11SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main;tag=v${PV}"
12 12
13S = "${WORKDIR}/git" 13SRCREV = "c2e74c9d2a5c3895b8025ac1d4b9e4cced71fbe9"
14SRCREV = "22a3b9374369640993e4a7ab84f8acc72318e501"
15 14
16FILES:${PN} = "${datadir}/themes" 15FILES:${PN} = "${datadir}/themes"
diff --git a/meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb b/meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb
index 3456383c3a..61deceb7a3 100644
--- a/meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb
+++ b/meta-oe/recipes-gnome/gnome-themes/gnome-themes-extra_3.28.bb
@@ -1,5 +1,5 @@
1SUMMARY = "GTK+2 standard themes" 1SUMMARY = "GTK+2 standard themes"
2HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/" 2HOMEPAGE = "https://download.gnome.org/sources/gnome-themes-standard/"
3BUGTRACKER = "https://bugzilla.gnome.org/" 3BUGTRACKER = "https://bugzilla.gnome.org/"
4SECTION = "x11/gnome" 4SECTION = "x11/gnome"
5 5
@@ -19,6 +19,9 @@ SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz;name=archive"
19SRC_URI[archive.md5sum] = "f9f2c6c521948da427f702372e16f826" 19SRC_URI[archive.md5sum] = "f9f2c6c521948da427f702372e16f826"
20SRC_URI[archive.sha256sum] = "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819" 20SRC_URI[archive.sha256sum] = "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819"
21 21
22UPSTREAM_CHECK_URI = "https://gitlab.gnome.org/Archive/gnome-themes-extra/-/tags"
23UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
24
22EXTRA_OECONF = "--disable-gtk2-engine" 25EXTRA_OECONF = "--disable-gtk2-engine"
23 26
24do_install:append() { 27do_install:append() {
diff --git a/meta-oe/recipes-gnome/gtk+/gtk+/CVE-2024-6655.patch b/meta-oe/recipes-gnome/gtk+/gtk+/CVE-2024-6655.patch
new file mode 100644
index 0000000000..dfa54f2f31
--- /dev/null
+++ b/meta-oe/recipes-gnome/gtk+/gtk+/CVE-2024-6655.patch
@@ -0,0 +1,40 @@
1From 3bbf0b6176d42836d23c36a6ac410e807ec0a7a7 Mon Sep 17 00:00:00 2001
2From: Matthias Clasen <mclasen@redhat.com>
3Date: Sat, 15 Jun 2024 14:18:01 -0400
4Subject: [PATCH] Stop looking for modules in cwd
5
6This is just not a good idea. It is surprising, and can be misused.
7
8Fixes: #6786
9
10CVE: CVE-2024-6655
11
12Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gtk/-/commit/3bbf0b6176d42836d23c36a6ac410e807ec0a7a7]
13
14Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
15---
16 gtk/gtkmodules.c | 9 ++-------
17 1 file changed, 2 insertions(+), 7 deletions(-)
18
19diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
20index e09b583..e75810c 100644
21--- a/gtk/gtkmodules.c
22+++ b/gtk/gtkmodules.c
23@@ -225,13 +225,8 @@ find_module (const gchar *name)
24 gchar *module_name;
25
26 module_name = _gtk_find_module (name, "modules");
27- if (!module_name)
28- {
29- /* As last resort, try loading without an absolute path (using system
30- * library path)
31- */
32- module_name = g_module_build_path (NULL, name);
33- }
34+ if (module_name == NULL)
35+ return NULL;
36
37 module = g_module_open (module_name, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
38
39--
402.40.0
diff --git a/meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb b/meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb
index 74b0531414..2ca2bba0aa 100644
--- a/meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb
+++ b/meta-oe/recipes-gnome/gtk+/gtk+_2.24.33.bb
@@ -4,13 +4,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
4 file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ 4 file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \
5 file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ 5 file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \
6 file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" 6 file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c"
7SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${PV}.tar.xz \ 7SRC_URI = "${GNOME_MIRROR}/gtk+/2.24/gtk+-${PV}.tar.xz \
8 file://xsettings.patch \ 8 file://xsettings.patch \
9 file://toggle-font.diff;striplevel=0 \ 9 file://toggle-font.diff;striplevel=0 \
10 file://doc-fixes.patch \ 10 file://doc-fixes.patch \
11 file://strict-prototypes.patch \ 11 file://strict-prototypes.patch \
12 file://0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch \ 12 file://0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch \
13 file://0001-Fix-signature-of-create_menu-function.patch \ 13 file://0001-Fix-signature-of-create_menu-function.patch \
14 file://CVE-2024-6655.patch \
14 " 15 "
15 16
16SRC_URI[sha256sum] = "ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da" 17SRC_URI[sha256sum] = "ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da"
diff --git a/meta-oe/recipes-gnome/libjcat/libjcat_0.2.1.bb b/meta-oe/recipes-gnome/libjcat/libjcat_0.2.3.bb
index 2d95e14447..6e31889b69 100644
--- a/meta-oe/recipes-gnome/libjcat/libjcat_0.2.1.bb
+++ b/meta-oe/recipes-gnome/libjcat/libjcat_0.2.3.bb
@@ -11,8 +11,7 @@ SRC_URI = "\
11 git://github.com/hughsie/libjcat.git;branch=main;protocol=https \ 11 git://github.com/hughsie/libjcat.git;branch=main;protocol=https \
12 file://run-ptest \ 12 file://run-ptest \
13" 13"
14SRCREV = "869e7cf4511b81897512a3f0adb627218e618112" 14SRCREV = "f284d18a694ed98f49ddb06e6920265781a30125"
15S = "${WORKDIR}/git"
16 15
17inherit gobject-introspection gtk-doc meson ptest-gnome vala lib_package 16inherit gobject-introspection gtk-doc meson ptest-gnome vala lib_package
18 17
@@ -32,3 +31,5 @@ GTKDOC_MESON_OPTION = "gtkdoc"
32RDEPENDS:${PN}:class-target = "\ 31RDEPENDS:${PN}:class-target = "\
33 ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \ 32 ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \
34" 33"
34
35INSANE_SKIP:${PN}-ptest += "buildpaths"
diff --git a/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch b/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch
deleted file mode 100644
index 6bb48777ec..0000000000
--- a/meta-oe/recipes-gnome/libpeas/libpeas/0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch
+++ /dev/null
@@ -1,82 +0,0 @@
1From d798af685e9e1166400acbdab082c17b02dad85b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 18 May 2023 23:28:10 -0700
4Subject: [PATCH] Remove builddir and srcdir paths from test binaries
5
6Encoding buildtime paths is not needed since if these tests are to be
7run they will be run on target where builddir structure most certainly
8wont be available.
9
10Fixes
11WARNING: libpeas-1.36.0-r0 do_package_qa: QA Issue: File /usr/bin/peas-demo in package libpeas-demo contains reference to TMPDIR [buildpaths]
12
13Upstream-Status: Inappropriate [Cross-compile specific]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 peas-demo/meson.build | 2 +-
17 tests/libpeas-gtk/testing/meson.build | 4 ++--
18 tests/libpeas/testing/meson.build | 4 ++--
19 tests/testing-util/meson.build | 4 ++--
20 4 files changed, 7 insertions(+), 7 deletions(-)
21
22diff --git a/peas-demo/meson.build b/peas-demo/meson.build
23index a3ec53b..855ebf2 100644
24--- a/peas-demo/meson.build
25+++ b/peas-demo/meson.build
26@@ -9,7 +9,7 @@ peas_demo_c = [
27
28 peas_demo_c_args = [
29 '-DHAVE_CONFIG_H',
30- '-DPEAS_BUILDDIR="@0@"'.format(builddir),
31+ '-DPEAS_BUILDDIR="/usr/src/debug/libpeas"',
32 '-DPEAS_PREFIX="@0@"'.format(prefix),
33 '-DPEAS_LIBDIR="@0@"'.format(libdir),
34 ]
35diff --git a/tests/libpeas-gtk/testing/meson.build b/tests/libpeas-gtk/testing/meson.build
36index 646f42d..fd9a692 100644
37--- a/tests/libpeas-gtk/testing/meson.build
38+++ b/tests/libpeas-gtk/testing/meson.build
39@@ -19,8 +19,8 @@ libpeas_gtk_testing_deps = [
40
41 libpeas_gtk_testing_c_args = [
42 '-DHAVE_CONFIG_H',
43- '-DBUILDDIR="@0@"'.format(builddir),
44- '-DSRCDIR="@0@"'.format(srcdir),
45+ '-DBUILDDIR="/usr/src/debug/libpeas"',
46+ '-DSRCDIR="/usr/src/debug/libpeas"',
47 ]
48
49 libpeas_gtk_testing_lib = library(
50diff --git a/tests/libpeas/testing/meson.build b/tests/libpeas/testing/meson.build
51index 74ba7b1..084daa9 100644
52--- a/tests/libpeas/testing/meson.build
53+++ b/tests/libpeas/testing/meson.build
54@@ -21,8 +21,8 @@ libpeas_testing_deps = [
55
56 libpeas_testing_c_args = [
57 '-DHAVE_CONFIG_H',
58- '-DBUILDDIR="@0@"'.format(builddir),
59- '-DSRCDIR="@0@"'.format(srcdir),
60+ '-DBUILDDIR="/usr/src/debug/libpeas"',
61+ '-DSRCDIR="/usr/src/debug/libpeas"',
62 ]
63
64 libpeas_testing_lib = library(
65diff --git a/tests/testing-util/meson.build b/tests/testing-util/meson.build
66index 1c40740..83ad059 100644
67--- a/tests/testing-util/meson.build
68+++ b/tests/testing-util/meson.build
69@@ -17,8 +17,8 @@ libtesting_util_deps = [
70
71 libtesting_util_c_args = [
72 '-DHAVE_CONFIG_H',
73- '-DBUILDDIR="@0@"'.format(builddir),
74- '-DSRCDIR="@0@"'.format(srcdir),
75+ '-DBUILDDIR="/usr/src/debug/libpeas"',
76+ '-DSRCDIR="/usr/src/debug/libpeas"',
77 '-UG_DISABLE_ASSERT',
78 '-UG_DISABLE_CAST_CHECKS',
79 ]
80--
812.40.1
82
diff --git a/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb b/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb
deleted file mode 100644
index 016981f04d..0000000000
--- a/meta-oe/recipes-gnome/libpeas/libpeas_1.36.0.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "libpeas is a gobject-based plugins engine"
2HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas"
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
5
6DEPENDS = "gtk+3"
7
8GTKDOC_MESON_OPTION = "gtk_doc"
9
10inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check
11
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
14REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
15
16SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
17SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
18
19PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
20
21PACKAGES =+ "${PN}-demo ${PN}-python3"
22FILES:${PN}-demo = " \
23 ${bindir}/peas-demo \
24 ${libdir}/peas-demo \
25"
26
27RDEPENDS:${PN}-python3 = "python3-pygobject"
28FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so"
diff --git a/meta-oe/recipes-gnome/malcontent/malcontent-ui.bb b/meta-oe/recipes-gnome/malcontent/malcontent-ui.bb
index ca3bf081d6..8630822939 100644
--- a/meta-oe/recipes-gnome/malcontent/malcontent-ui.bb
+++ b/meta-oe/recipes-gnome/malcontent/malcontent-ui.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
5 5
6require malcontent.inc 6require malcontent.inc
7 7
8DEPENDS = " \ 8DEPENDS += " \
9 malcontent \ 9 malcontent \
10 accountsservice \ 10 accountsservice \
11 glib-2.0 \ 11 glib-2.0 \
@@ -16,6 +16,7 @@ DEPENDS = " \
16 libpam \ 16 libpam \
17 polkit \ 17 polkit \
18 appstream \ 18 appstream \
19 appstream-native \
19 flatpak \ 20 flatpak \
20 libadwaita \ 21 libadwaita \
21 gtk4 \ 22 gtk4 \
@@ -40,7 +41,7 @@ do_install() {
40 ln -sf libmalcontent-ui-1.so.${PV} ${D}${libdir}/libmalcontent-ui-1.so.1 41 ln -sf libmalcontent-ui-1.so.${PV} ${D}${libdir}/libmalcontent-ui-1.so.1
41 install -m 0755 ${B}/malcontent-control/malcontent-control ${D}${bindir} 42 install -m 0755 ${B}/malcontent-control/malcontent-control ${D}${bindir}
42 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.policy ${D}${datadir}/polkit-1/actions 43 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.policy ${D}${datadir}/polkit-1/actions
43 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.appdata.xml ${D}${datadir}/metainfo 44 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.metainfo.xml ${D}${datadir}/metainfo
44 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.desktop ${D}${datadir}/applications 45 install -m 0644 ${B}/malcontent-control/org.freedesktop.MalcontentControl.desktop ${D}${datadir}/applications
45} 46}
46 47
diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.bb b/meta-oe/recipes-gnome/malcontent/malcontent.bb
index c4bc50fa8e..9da95329a8 100644
--- a/meta-oe/recipes-gnome/malcontent/malcontent.bb
+++ b/meta-oe/recipes-gnome/malcontent/malcontent.bb
@@ -17,26 +17,17 @@ DEPENDS = " \
17 17
18GIR_MESON_OPTION = "" 18GIR_MESON_OPTION = ""
19 19
20inherit meson pkgconfig gobject-introspection gettext features_check useradd 20inherit meson pkgconfig gobject-introspection gettext features_check
21 21
22REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" 22REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection"
23 23
24PACKAGECONFIG ?= "ui" 24PACKAGECONFIG ?= "ui"
25PACKAGECONFIG[ui] = ",,,malcontent-ui" 25PACKAGECONFIG[ui] = ",,,malcontent-ui"
26 26
27EXTRA_OEMESON = "-Dui=disabled" 27EXTRA_OEMESON = "-Dui=disabled -Dpamlibdir=${base_libdir}/security"
28
29USERADD_PACKAGES = "${PN}"
30USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd"
31
32do_install:append() {
33 # Fix up permissions on polkit rules.d to work with rpm4 constraints
34 chmod 700 ${D}/${datadir}/polkit-1/rules.d
35 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
36}
37 28
38FILES:${PN} += " \ 29FILES:${PN} += " \
39 ${libdir}/security/pam_malcontent.so \ 30 ${base_libdir}/security/pam_malcontent.so \
40 ${datadir}/accountsservice \ 31 ${datadir}/accountsservice \
41 ${datadir}/help \ 32 ${datadir}/help \
42 ${datadir}/dbus-1 \ 33 ${datadir}/dbus-1 \
diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.inc b/meta-oe/recipes-gnome/malcontent/malcontent.inc
index d48be08bbc..10597f3308 100644
--- a/meta-oe/recipes-gnome/malcontent/malcontent.inc
+++ b/meta-oe/recipes-gnome/malcontent/malcontent.inc
@@ -1,4 +1,3 @@
1SRC_URI = "git://gitlab.freedesktop.org/pwithnall/malcontent.git;protocol=https;branch=main" 1SRC_URI = "git://gitlab.freedesktop.org/pwithnall/malcontent.git;protocol=https;branch=main"
2S = "${WORKDIR}/git" 2SRCREV = "21f3ef7b6f984710a23b607d2298fe16e554f0c3"
3SRCREV = "3ba80995bb25b7aeda7e21d547f9e39ff9a81736" 3PV = "0.13.0"
4PV = "0.12.0"
diff --git a/meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb b/meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb
index 0c9599a49c..b4dc739ec3 100644
--- a/meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb
+++ b/meta-oe/recipes-gnome/pyxdg/pyxdg_0.28.bb
@@ -9,4 +9,3 @@ SRC_URI = "git://anongit.freedesktop.org/xdg/pyxdg;branch=master"
9 9
10inherit setuptools3 10inherit setuptools3
11 11
12S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-graphics/aml/aml_git.bb b/meta-oe/recipes-graphics/aml/aml_git.bb
index 2633e0d215..a0b27bd256 100644
--- a/meta-oe/recipes-graphics/aml/aml_git.bb
+++ b/meta-oe/recipes-graphics/aml/aml_git.bb
@@ -10,7 +10,6 @@ SRCREV = "b83f3576ce4187d9285f06e9066ef43a691464d4"
10 10
11PV = "0.3.0+git" 11PV = "0.3.0+git"
12 12
13S = "${WORKDIR}/git"
14 13
15PACKAGECONFIG ??= "" 14PACKAGECONFIG ??= ""
16PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" 15PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
diff --git a/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb b/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb
index a6872ef0cd..8a8e783309 100644
--- a/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb
+++ b/meta-oe/recipes-graphics/cairo/cairomm-1.16_1.18.0.bb
@@ -10,7 +10,7 @@ DEPENDS += "boost cairo libsigc++-3"
10SRC_URI = "https://www.cairographics.org/releases/cairomm-${PV}.tar.xz" 10SRC_URI = "https://www.cairographics.org/releases/cairomm-${PV}.tar.xz"
11SRC_URI[sha256sum] = "b81255394e3ea8e8aa887276d22afa8985fc8daef60692eb2407d23049f03cfb" 11SRC_URI[sha256sum] = "b81255394e3ea8e8aa887276d22afa8985fc8daef60692eb2407d23049f03cfb"
12 12
13S = "${WORKDIR}/cairomm-${PV}" 13S = "${UNPACKDIR}/cairomm-${PV}"
14 14
15FILES:${PN}-doc += "${datadir}/devhelp" 15FILES:${PN}-doc += "${datadir}/devhelp"
16FILES:${PN}-dev += "${libdir}/cairomm-*/" 16FILES:${PN}-dev += "${libdir}/cairomm-*/"
diff --git a/meta-oe/recipes-graphics/cairo/cairomm_1.14.3.bb b/meta-oe/recipes-graphics/cairo/cairomm_1.14.5.bb
index 54a2b07ca5..e451c5d1ad 100644
--- a/meta-oe/recipes-graphics/cairo/cairomm_1.14.3.bb
+++ b/meta-oe/recipes-graphics/cairo/cairomm_1.14.5.bb
@@ -8,7 +8,7 @@ inherit gnomebase
8DEPENDS += "boost cairo libsigc++-2.0" 8DEPENDS += "boost cairo libsigc++-2.0"
9 9
10SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.xz" 10SRC_URI = "https://www.cairographics.org/releases/${BP}.tar.xz"
11SRC_URI[sha256sum] = "0d37e067c5c4ca7808b7ceddabfe1932c5bd2a750ad64fb321e1213536297e78" 11SRC_URI[sha256sum] = "70136203540c884e89ce1c9edfb6369b9953937f6cd596d97c78c9758a5d48db"
12 12
13FILES:${PN}-doc += "${datadir}/devhelp" 13FILES:${PN}-doc += "${datadir}/devhelp"
14FILES:${PN}-dev += "${libdir}/cairomm-*/" 14FILES:${PN}-dev += "${libdir}/cairomm-*/"
diff --git a/meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb b/meta-oe/recipes-graphics/cglm/cglm_0.9.6.bb
index 6fcc07d92b..b2673f1e9b 100644
--- a/meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb
+++ b/meta-oe/recipes-graphics/cglm/cglm_0.9.6.bb
@@ -9,10 +9,9 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=8dc95c4110ba741c43832734b51b7de7" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=8dc95c4110ba741c43832734b51b7de7"
10 10
11SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" 11SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https"
12# Tag v0.9.1 12# Tag v0.9.6
13SRCREV = "1796cc5ce298235b615dc7a4750b8c3ba56a05dd" 13SRCREV = "144d1e7c29b3b0c6dede7917a0476cc95248559c"
14 14
15S = "${WORKDIR}/git"
16 15
17PACKAGECONFIG[build_tests] = "-Dbuild_tests=true,-Dbuild_tests=false," 16PACKAGECONFIG[build_tests] = "-Dbuild_tests=true,-Dbuild_tests=false,"
18 17
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc
new file mode 100644
index 0000000000..9ba87e0b4a
--- /dev/null
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner-crates.inc
@@ -0,0 +1,300 @@
1# Autogenerated with 'bitbake -c update_crates deqp-runner'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/adler2/2.0.0 \
6 crate://crates.io/aho-corasick/1.1.3 \
7 crate://crates.io/android-tzdata/0.1.1 \
8 crate://crates.io/android_system_properties/0.1.5 \
9 crate://crates.io/ansi_term/0.12.1 \
10 crate://crates.io/anyhow/1.0.97 \
11 crate://crates.io/atty/0.2.14 \
12 crate://crates.io/autocfg/1.4.0 \
13 crate://crates.io/bitflags/1.3.2 \
14 crate://crates.io/bitflags/2.9.0 \
15 crate://crates.io/bumpalo/3.17.0 \
16 crate://crates.io/cast/0.3.0 \
17 crate://crates.io/cc/1.2.18 \
18 crate://crates.io/cfg-if/1.0.0 \
19 crate://crates.io/chrono/0.4.40 \
20 crate://crates.io/clap/2.34.0 \
21 crate://crates.io/core-foundation-sys/0.8.7 \
22 crate://crates.io/crc32fast/1.4.2 \
23 crate://crates.io/criterion/0.3.6 \
24 crate://crates.io/criterion-plot/0.4.5 \
25 crate://crates.io/crossbeam-deque/0.8.6 \
26 crate://crates.io/crossbeam-epoch/0.9.18 \
27 crate://crates.io/crossbeam-utils/0.8.21 \
28 crate://crates.io/csv/1.3.1 \
29 crate://crates.io/csv-core/0.1.12 \
30 crate://crates.io/derive-getters/0.1.1 \
31 crate://crates.io/either/1.15.0 \
32 crate://crates.io/errno/0.3.11 \
33 crate://crates.io/fastrand/2.3.0 \
34 crate://crates.io/flate2/1.1.1 \
35 crate://crates.io/getrandom/0.1.16 \
36 crate://crates.io/getrandom/0.3.2 \
37 crate://crates.io/half/1.8.3 \
38 crate://crates.io/hashbrown/0.12.3 \
39 crate://crates.io/heck/0.3.3 \
40 crate://crates.io/hermit-abi/0.1.19 \
41 crate://crates.io/iana-time-zone/0.1.63 \
42 crate://crates.io/iana-time-zone-haiku/0.1.2 \
43 crate://crates.io/indexmap/1.9.3 \
44 crate://crates.io/itertools/0.10.5 \
45 crate://crates.io/itoa/1.0.15 \
46 crate://crates.io/js-sys/0.3.77 \
47 crate://crates.io/junit-report/0.4.0 \
48 crate://crates.io/lazy_static/1.5.0 \
49 crate://crates.io/libc/0.2.171 \
50 crate://crates.io/linux-raw-sys/0.9.3 \
51 crate://crates.io/log/0.4.27 \
52 crate://crates.io/memchr/2.7.4 \
53 crate://crates.io/miniz_oxide/0.8.7 \
54 crate://crates.io/mio/0.8.11 \
55 crate://crates.io/num-traits/0.2.19 \
56 crate://crates.io/once_cell/1.21.3 \
57 crate://crates.io/oorandom/11.1.5 \
58 crate://crates.io/plotters/0.3.7 \
59 crate://crates.io/plotters-backend/0.3.7 \
60 crate://crates.io/plotters-svg/0.3.7 \
61 crate://crates.io/ppv-lite86/0.2.21 \
62 crate://crates.io/proc-macro-error/1.0.4 \
63 crate://crates.io/proc-macro-error-attr/1.0.4 \
64 crate://crates.io/proc-macro2/1.0.94 \
65 crate://crates.io/quote/1.0.40 \
66 crate://crates.io/r-efi/5.2.0 \
67 crate://crates.io/rand/0.7.3 \
68 crate://crates.io/rand_chacha/0.2.2 \
69 crate://crates.io/rand_core/0.5.1 \
70 crate://crates.io/rand_hc/0.2.0 \
71 crate://crates.io/rayon/1.10.0 \
72 crate://crates.io/rayon-core/1.12.1 \
73 crate://crates.io/regex/1.11.1 \
74 crate://crates.io/regex-automata/0.4.9 \
75 crate://crates.io/regex-syntax/0.8.5 \
76 crate://crates.io/roxmltree/0.13.1 \
77 crate://crates.io/rustix/1.0.5 \
78 crate://crates.io/rustversion/1.0.20 \
79 crate://crates.io/ryu/1.0.20 \
80 crate://crates.io/same-file/1.0.6 \
81 crate://crates.io/serde/1.0.219 \
82 crate://crates.io/serde-tuple-vec-map/1.0.1 \
83 crate://crates.io/serde_cbor/0.11.2 \
84 crate://crates.io/serde_derive/1.0.219 \
85 crate://crates.io/serde_json/1.0.140 \
86 crate://crates.io/serde_yaml/0.9.21 \
87 crate://crates.io/shlex/1.3.0 \
88 crate://crates.io/stderrlog/0.5.4 \
89 crate://crates.io/strsim/0.8.0 \
90 crate://crates.io/structopt/0.3.26 \
91 crate://crates.io/structopt-derive/0.4.18 \
92 crate://crates.io/syn/1.0.109 \
93 crate://crates.io/syn/2.0.100 \
94 crate://crates.io/tempfile/3.19.1 \
95 crate://crates.io/termcolor/1.1.3 \
96 crate://crates.io/textwrap/0.11.0 \
97 crate://crates.io/thiserror/1.0.69 \
98 crate://crates.io/thiserror-impl/1.0.69 \
99 crate://crates.io/thread_local/1.1.8 \
100 crate://crates.io/tinytemplate/1.2.1 \
101 crate://crates.io/toml/0.5.11 \
102 crate://crates.io/unicode-ident/1.0.18 \
103 crate://crates.io/unicode-segmentation/1.12.0 \
104 crate://crates.io/unicode-width/0.1.14 \
105 crate://crates.io/unsafe-libyaml/0.2.11 \
106 crate://crates.io/vec_map/0.8.2 \
107 crate://crates.io/version_check/0.9.5 \
108 crate://crates.io/walkdir/2.5.0 \
109 crate://crates.io/wasi/0.9.0+wasi-snapshot-preview1 \
110 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
111 crate://crates.io/wasi/0.14.2+wasi-0.2.4 \
112 crate://crates.io/wasm-bindgen/0.2.100 \
113 crate://crates.io/wasm-bindgen-backend/0.2.100 \
114 crate://crates.io/wasm-bindgen-macro/0.2.100 \
115 crate://crates.io/wasm-bindgen-macro-support/0.2.100 \
116 crate://crates.io/wasm-bindgen-shared/0.2.100 \
117 crate://crates.io/web-sys/0.3.77 \
118 crate://crates.io/winapi/0.3.9 \
119 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
120 crate://crates.io/winapi-util/0.1.9 \
121 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
122 crate://crates.io/windows-core/0.61.0 \
123 crate://crates.io/windows-implement/0.60.0 \
124 crate://crates.io/windows-interface/0.59.1 \
125 crate://crates.io/windows-link/0.1.1 \
126 crate://crates.io/windows-result/0.3.2 \
127 crate://crates.io/windows-strings/0.4.0 \
128 crate://crates.io/windows-sys/0.48.0 \
129 crate://crates.io/windows-sys/0.59.0 \
130 crate://crates.io/windows-targets/0.48.5 \
131 crate://crates.io/windows-targets/0.52.6 \
132 crate://crates.io/windows_aarch64_gnullvm/0.48.5 \
133 crate://crates.io/windows_aarch64_gnullvm/0.52.6 \
134 crate://crates.io/windows_aarch64_msvc/0.48.5 \
135 crate://crates.io/windows_aarch64_msvc/0.52.6 \
136 crate://crates.io/windows_i686_gnu/0.48.5 \
137 crate://crates.io/windows_i686_gnu/0.52.6 \
138 crate://crates.io/windows_i686_gnullvm/0.52.6 \
139 crate://crates.io/windows_i686_msvc/0.48.5 \
140 crate://crates.io/windows_i686_msvc/0.52.6 \
141 crate://crates.io/windows_x86_64_gnu/0.48.5 \
142 crate://crates.io/windows_x86_64_gnu/0.52.6 \
143 crate://crates.io/windows_x86_64_gnullvm/0.48.5 \
144 crate://crates.io/windows_x86_64_gnullvm/0.52.6 \
145 crate://crates.io/windows_x86_64_msvc/0.48.5 \
146 crate://crates.io/windows_x86_64_msvc/0.52.6 \
147 crate://crates.io/wit-bindgen-rt/0.39.0 \
148 crate://crates.io/xml-rs/0.8.25 \
149 crate://crates.io/xmlparser/0.13.6 \
150 crate://crates.io/zerocopy/0.8.24 \
151 crate://crates.io/zerocopy-derive/0.8.24 \
152"
153
154SRC_URI[adler2-2.0.0.sha256sum] = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
155SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
156SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
157SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
158SRC_URI[ansi_term-0.12.1.sha256sum] = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
159SRC_URI[anyhow-1.0.97.sha256sum] = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
160SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
161SRC_URI[autocfg-1.4.0.sha256sum] = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
162SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
163SRC_URI[bitflags-2.9.0.sha256sum] = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
164SRC_URI[bumpalo-3.17.0.sha256sum] = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
165SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
166SRC_URI[cc-1.2.18.sha256sum] = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c"
167SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
168SRC_URI[chrono-0.4.40.sha256sum] = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c"
169SRC_URI[clap-2.34.0.sha256sum] = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
170SRC_URI[core-foundation-sys-0.8.7.sha256sum] = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
171SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
172SRC_URI[criterion-0.3.6.sha256sum] = "b01d6de93b2b6c65e17c634a26653a29d107b3c98c607c765bf38d041531cd8f"
173SRC_URI[criterion-plot-0.4.5.sha256sum] = "2673cc8207403546f45f5fd319a974b1e6983ad1a3ee7e6041650013be041876"
174SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
175SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
176SRC_URI[crossbeam-utils-0.8.21.sha256sum] = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
177SRC_URI[csv-1.3.1.sha256sum] = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
178SRC_URI[csv-core-0.1.12.sha256sum] = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
179SRC_URI[derive-getters-0.1.1.sha256sum] = "16dc4e2517f08ca167440ccb11023c1308ee19a4022d7b03c0e652f971171869"
180SRC_URI[either-1.15.0.sha256sum] = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
181SRC_URI[errno-0.3.11.sha256sum] = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
182SRC_URI[fastrand-2.3.0.sha256sum] = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
183SRC_URI[flate2-1.1.1.sha256sum] = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
184SRC_URI[getrandom-0.1.16.sha256sum] = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
185SRC_URI[getrandom-0.3.2.sha256sum] = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
186SRC_URI[half-1.8.3.sha256sum] = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403"
187SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
188SRC_URI[heck-0.3.3.sha256sum] = "6d621efb26863f0e9924c6ac577e8275e5e6b77455db64ffa6c65c904e9e132c"
189SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
190SRC_URI[iana-time-zone-0.1.63.sha256sum] = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
191SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
192SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
193SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
194SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
195SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
196SRC_URI[junit-report-0.4.0.sha256sum] = "e4e00ad2de771fc4988af88b02cbd618c08c17920208c35c4bbfe67ccfab31eb"
197SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
198SRC_URI[libc-0.2.171.sha256sum] = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
199SRC_URI[linux-raw-sys-0.9.3.sha256sum] = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413"
200SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
201SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
202SRC_URI[miniz_oxide-0.8.7.sha256sum] = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430"
203SRC_URI[mio-0.8.11.sha256sum] = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
204SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
205SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
206SRC_URI[oorandom-11.1.5.sha256sum] = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
207SRC_URI[plotters-0.3.7.sha256sum] = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
208SRC_URI[plotters-backend-0.3.7.sha256sum] = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
209SRC_URI[plotters-svg-0.3.7.sha256sum] = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
210SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
211SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
212SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
213SRC_URI[proc-macro2-1.0.94.sha256sum] = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
214SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
215SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
216SRC_URI[rand-0.7.3.sha256sum] = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
217SRC_URI[rand_chacha-0.2.2.sha256sum] = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
218SRC_URI[rand_core-0.5.1.sha256sum] = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
219SRC_URI[rand_hc-0.2.0.sha256sum] = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
220SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
221SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
222SRC_URI[regex-1.11.1.sha256sum] = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
223SRC_URI[regex-automata-0.4.9.sha256sum] = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
224SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
225SRC_URI[roxmltree-0.13.1.sha256sum] = "dbf7d7b1ea646d380d0e8153158063a6da7efe30ddbf3184042848e3f8a6f671"
226SRC_URI[rustix-1.0.5.sha256sum] = "d97817398dd4bb2e6da002002db259209759911da105da92bec29ccb12cf58bf"
227SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
228SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
229SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
230SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
231SRC_URI[serde-tuple-vec-map-1.0.1.sha256sum] = "a04d0ebe0de77d7d445bb729a895dcb0a288854b267ca85f030ce51cdc578c82"
232SRC_URI[serde_cbor-0.11.2.sha256sum] = "2bef2ebfde456fb76bbcf9f59315333decc4fda0b2b44b420243c11e0f5ec1f5"
233SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
234SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
235SRC_URI[serde_yaml-0.9.21.sha256sum] = "d9d684e3ec7de3bf5466b32bd75303ac16f0736426e5a4e0d6e489559ce1249c"
236SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
237SRC_URI[stderrlog-0.5.4.sha256sum] = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b"
238SRC_URI[strsim-0.8.0.sha256sum] = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
239SRC_URI[structopt-0.3.26.sha256sum] = "0c6b5c64445ba8094a6ab0c3cd2ad323e07171012d9c98b0b15651daf1787a10"
240SRC_URI[structopt-derive-0.4.18.sha256sum] = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
241SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
242SRC_URI[syn-2.0.100.sha256sum] = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
243SRC_URI[tempfile-3.19.1.sha256sum] = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf"
244SRC_URI[termcolor-1.1.3.sha256sum] = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755"
245SRC_URI[textwrap-0.11.0.sha256sum] = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
246SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
247SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
248SRC_URI[thread_local-1.1.8.sha256sum] = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
249SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
250SRC_URI[toml-0.5.11.sha256sum] = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
251SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
252SRC_URI[unicode-segmentation-1.12.0.sha256sum] = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
253SRC_URI[unicode-width-0.1.14.sha256sum] = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
254SRC_URI[unsafe-libyaml-0.2.11.sha256sum] = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
255SRC_URI[vec_map-0.8.2.sha256sum] = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
256SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
257SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
258SRC_URI[wasi-0.9.0+wasi-snapshot-preview1.sha256sum] = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
259SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
260SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
261SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
262SRC_URI[wasm-bindgen-backend-0.2.100.sha256sum] = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
263SRC_URI[wasm-bindgen-macro-0.2.100.sha256sum] = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
264SRC_URI[wasm-bindgen-macro-support-0.2.100.sha256sum] = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
265SRC_URI[wasm-bindgen-shared-0.2.100.sha256sum] = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
266SRC_URI[web-sys-0.3.77.sha256sum] = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
267SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
268SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
269SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
270SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
271SRC_URI[windows-core-0.61.0.sha256sum] = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980"
272SRC_URI[windows-implement-0.60.0.sha256sum] = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
273SRC_URI[windows-interface-0.59.1.sha256sum] = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
274SRC_URI[windows-link-0.1.1.sha256sum] = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
275SRC_URI[windows-result-0.3.2.sha256sum] = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252"
276SRC_URI[windows-strings-0.4.0.sha256sum] = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97"
277SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
278SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
279SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
280SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
281SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
282SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
283SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
284SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
285SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
286SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
287SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
288SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
289SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
290SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
291SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
292SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
293SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
294SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
295SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
296SRC_URI[wit-bindgen-rt-0.39.0.sha256sum] = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
297SRC_URI[xml-rs-0.8.25.sha256sum] = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4"
298SRC_URI[xmlparser-0.13.6.sha256sum] = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
299SRC_URI[zerocopy-0.8.24.sha256sum] = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879"
300SRC_URI[zerocopy-derive-0.8.24.sha256sum] = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be"
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
new file mode 100644
index 0000000000..d50549e88e
--- /dev/null
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch
@@ -0,0 +1,36 @@
1From 64e8e422abebf139fac9a4ec8ba8f259e54679e6 Mon Sep 17 00:00:00 2001
2From: Dan Gohman <dev@sunfishcode.online>
3Date: Sun, 6 Apr 2025 05:22:49 -0700
4Subject: [PATCH] Define more ioctl codes on riscv32gc-unknown-linux-gnu
5
6Define ioctl codes including `FICLONE` and `FS_IOC32_GETVERSION` on
7riscv32gc-unknown-linux-gnu.
8
9Upstream-Status: Submitted [https://github.com/rust-lang/libc/pull/4382]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/unix/linux_like/linux/arch/generic/mod.rs | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15diff --git a/src/unix/linux_like/linux/arch/generic/mod.rs b/src/unix/linux_like/linux/arch/generic/mod.rs
16index 61d2e3f..05ffb12 100644
17--- a/src/unix/linux_like/linux/arch/generic/mod.rs
18+++ b/src/unix/linux_like/linux/arch/generic/mod.rs
19@@ -164,6 +164,7 @@ cfg_if! {
20 target_arch = "x86_64",
21 target_arch = "arm",
22 target_arch = "aarch64",
23+ target_arch = "riscv32",
24 target_arch = "riscv64",
25 target_arch = "s390x",
26 target_arch = "csky",
27@@ -303,7 +304,8 @@ cfg_if! {
28 if #[cfg(any(
29 target_arch = "x86",
30 target_arch = "arm",
31- target_arch = "csky"
32+ target_arch = "csky",
33+ target_arch = "riscv32"
34 ))] {
35 pub const FS_IOC_GETFLAGS: Ioctl = 0x80046601;
36 pub const FS_IOC_SETFLAGS: Ioctl = 0x40046602;
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch
new file mode 100644
index 0000000000..dcd5e065f9
--- /dev/null
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-cargo-Update-tempfile-to-latest-3.x.patch
@@ -0,0 +1,1239 @@
1From 1cb9f536511ef57cba8f53ea767038084ea2c4af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 6 Apr 2025 19:11:44 -0700
4Subject: [PATCH] cargo: Update tempfile to latest 3.x
5
6This updates rustix to 1.x gets more architectures supported e.g. riscv
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 Cargo.lock | 616 ++++++++++++++++++++++++++++++++---------------------
12 Cargo.toml | 4 +-
13 2 files changed, 375 insertions(+), 245 deletions(-)
14
15diff --git a/Cargo.lock b/Cargo.lock
16index d4f6619..ef87ade 100644
17--- a/Cargo.lock
18+++ b/Cargo.lock
19@@ -1,18 +1,18 @@
20 # This file is automatically @generated by Cargo.
21 # It is not intended for manual editing.
22-version = 3
23+version = 4
24
25 [[package]]
26-name = "adler"
27-version = "1.0.2"
28+name = "adler2"
29+version = "2.0.0"
30 source = "registry+https://github.com/rust-lang/crates.io-index"
31-checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
32+checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
33
34 [[package]]
35 name = "aho-corasick"
36-version = "1.0.5"
37+version = "1.1.3"
38 source = "registry+https://github.com/rust-lang/crates.io-index"
39-checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783"
40+checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
41 dependencies = [
42 "memchr",
43 ]
44@@ -43,9 +43,9 @@ dependencies = [
45
46 [[package]]
47 name = "anyhow"
48-version = "1.0.75"
49+version = "1.0.97"
50 source = "registry+https://github.com/rust-lang/crates.io-index"
51-checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
52+checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
53
54 [[package]]
55 name = "atty"
56@@ -53,16 +53,16 @@ version = "0.2.14"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
58 checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
59 dependencies = [
60- "hermit-abi 0.1.19",
61+ "hermit-abi",
62 "libc",
63 "winapi",
64 ]
65
66 [[package]]
67 name = "autocfg"
68-version = "1.1.0"
69+version = "1.4.0"
70 source = "registry+https://github.com/rust-lang/crates.io-index"
71-checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
72+checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26"
73
74 [[package]]
75 name = "bitflags"
76@@ -72,15 +72,15 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
77
78 [[package]]
79 name = "bitflags"
80-version = "2.4.0"
81+version = "2.9.0"
82 source = "registry+https://github.com/rust-lang/crates.io-index"
83-checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
84+checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
85
86 [[package]]
87 name = "bumpalo"
88-version = "3.13.0"
89+version = "3.17.0"
90 source = "registry+https://github.com/rust-lang/crates.io-index"
91-checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
92+checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
93
94 [[package]]
95 name = "cast"
96@@ -90,11 +90,11 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
97
98 [[package]]
99 name = "cc"
100-version = "1.0.83"
101+version = "1.2.18"
102 source = "registry+https://github.com/rust-lang/crates.io-index"
103-checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
104+checksum = "525046617d8376e3db1deffb079e91cef90a89fc3ca5c185bbf8c9ecdd15cd5c"
105 dependencies = [
106- "libc",
107+ "shlex",
108 ]
109
110 [[package]]
111@@ -105,16 +105,16 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
112
113 [[package]]
114 name = "chrono"
115-version = "0.4.30"
116+version = "0.4.40"
117 source = "registry+https://github.com/rust-lang/crates.io-index"
118-checksum = "defd4e7873dbddba6c7c91e199c7fcb946abc4a6a4ac3195400bcfb01b5de877"
119+checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c"
120 dependencies = [
121 "android-tzdata",
122 "iana-time-zone",
123 "js-sys",
124 "num-traits",
125 "wasm-bindgen",
126- "windows-targets",
127+ "windows-link",
128 ]
129
130 [[package]]
131@@ -134,15 +134,15 @@ dependencies = [
132
133 [[package]]
134 name = "core-foundation-sys"
135-version = "0.8.4"
136+version = "0.8.7"
137 source = "registry+https://github.com/rust-lang/crates.io-index"
138-checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
139+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
140
141 [[package]]
142 name = "crc32fast"
143-version = "1.3.2"
144+version = "1.4.2"
145 source = "registry+https://github.com/rust-lang/crates.io-index"
146-checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
147+checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3"
148 dependencies = [
149 "cfg-if",
150 ]
151@@ -183,54 +183,36 @@ dependencies = [
152 "itertools",
153 ]
154
155-[[package]]
156-name = "crossbeam-channel"
157-version = "0.5.8"
158-source = "registry+https://github.com/rust-lang/crates.io-index"
159-checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
160-dependencies = [
161- "cfg-if",
162- "crossbeam-utils",
163-]
164-
165 [[package]]
166 name = "crossbeam-deque"
167-version = "0.8.3"
168+version = "0.8.6"
169 source = "registry+https://github.com/rust-lang/crates.io-index"
170-checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
171+checksum = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51"
172 dependencies = [
173- "cfg-if",
174 "crossbeam-epoch",
175 "crossbeam-utils",
176 ]
177
178 [[package]]
179 name = "crossbeam-epoch"
180-version = "0.9.15"
181+version = "0.9.18"
182 source = "registry+https://github.com/rust-lang/crates.io-index"
183-checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
184+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
185 dependencies = [
186- "autocfg",
187- "cfg-if",
188 "crossbeam-utils",
189- "memoffset",
190- "scopeguard",
191 ]
192
193 [[package]]
194 name = "crossbeam-utils"
195-version = "0.8.16"
196+version = "0.8.21"
197 source = "registry+https://github.com/rust-lang/crates.io-index"
198-checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
199-dependencies = [
200- "cfg-if",
201-]
202+checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
203
204 [[package]]
205 name = "csv"
206-version = "1.2.2"
207+version = "1.3.1"
208 source = "registry+https://github.com/rust-lang/crates.io-index"
209-checksum = "626ae34994d3d8d668f4269922248239db4ae42d538b14c398b74a52208e8086"
210+checksum = "acdc4883a9c96732e4733212c01447ebd805833b7275a73ca3ee080fd77afdaf"
211 dependencies = [
212 "csv-core",
213 "itoa",
214@@ -240,9 +222,9 @@ dependencies = [
215
216 [[package]]
217 name = "csv-core"
218-version = "0.1.10"
219+version = "0.1.12"
220 source = "registry+https://github.com/rust-lang/crates.io-index"
221-checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90"
222+checksum = "7d02f3b0da4c6504f86e9cd789d8dbafab48c2321be74e9987593de5a894d93d"
223 dependencies = [
224 "memchr",
225 ]
226@@ -286,42 +268,31 @@ dependencies = [
227
228 [[package]]
229 name = "either"
230-version = "1.9.0"
231+version = "1.15.0"
232 source = "registry+https://github.com/rust-lang/crates.io-index"
233-checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"
234+checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
235
236 [[package]]
237 name = "errno"
238-version = "0.3.3"
239+version = "0.3.11"
240 source = "registry+https://github.com/rust-lang/crates.io-index"
241-checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd"
242+checksum = "976dd42dc7e85965fe702eb8164f21f450704bdde31faefd6471dba214cb594e"
243 dependencies = [
244- "errno-dragonfly",
245- "libc",
246- "windows-sys",
247-]
248-
249-[[package]]
250-name = "errno-dragonfly"
251-version = "0.1.2"
252-source = "registry+https://github.com/rust-lang/crates.io-index"
253-checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
254-dependencies = [
255- "cc",
256 "libc",
257+ "windows-sys 0.59.0",
258 ]
259
260 [[package]]
261 name = "fastrand"
262-version = "2.0.0"
263+version = "2.3.0"
264 source = "registry+https://github.com/rust-lang/crates.io-index"
265-checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
266+checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
267
268 [[package]]
269 name = "flate2"
270-version = "1.0.27"
271+version = "1.1.1"
272 source = "registry+https://github.com/rust-lang/crates.io-index"
273-checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010"
274+checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
275 dependencies = [
276 "crc32fast",
277 "miniz_oxide",
278@@ -338,11 +309,23 @@ dependencies = [
279 "wasi 0.9.0+wasi-snapshot-preview1",
280 ]
281
282+[[package]]
283+name = "getrandom"
284+version = "0.3.2"
285+source = "registry+https://github.com/rust-lang/crates.io-index"
286+checksum = "73fea8450eea4bac3940448fb7ae50d91f034f941199fcd9d909a5a07aa455f0"
287+dependencies = [
288+ "cfg-if",
289+ "libc",
290+ "r-efi",
291+ "wasi 0.14.2+wasi-0.2.4",
292+]
293+
294 [[package]]
295 name = "half"
296-version = "1.8.2"
297+version = "1.8.3"
298 source = "registry+https://github.com/rust-lang/crates.io-index"
299-checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
300+checksum = "1b43ede17f21864e81be2fa654110bf1e793774238d86ef8555c37e6519c0403"
301
302 [[package]]
303 name = "hashbrown"
304@@ -368,24 +351,19 @@ dependencies = [
305 "libc",
306 ]
307
308-[[package]]
309-name = "hermit-abi"
310-version = "0.3.2"
311-source = "registry+https://github.com/rust-lang/crates.io-index"
312-checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
313-
314 [[package]]
315 name = "iana-time-zone"
316-version = "0.1.57"
317+version = "0.1.63"
318 source = "registry+https://github.com/rust-lang/crates.io-index"
319-checksum = "2fad5b825842d2b38bd206f3e81d6957625fd7f0a361e345c30e01a0ae2dd613"
320+checksum = "b0c919e5debc312ad217002b8048a17b7d83f80703865bbfcfebb0458b0b27d8"
321 dependencies = [
322 "android_system_properties",
323 "core-foundation-sys",
324 "iana-time-zone-haiku",
325 "js-sys",
326+ "log",
327 "wasm-bindgen",
328- "windows",
329+ "windows-core",
330 ]
331
332 [[package]]
333@@ -418,16 +396,17 @@ dependencies = [
334
335 [[package]]
336 name = "itoa"
337-version = "1.0.9"
338+version = "1.0.15"
339 source = "registry+https://github.com/rust-lang/crates.io-index"
340-checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
341+checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
342
343 [[package]]
344 name = "js-sys"
345-version = "0.3.64"
346+version = "0.3.77"
347 source = "registry+https://github.com/rust-lang/crates.io-index"
348-checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a"
349+checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
350 dependencies = [
351+ "once_cell",
352 "wasm-bindgen",
353 ]
354
355@@ -445,100 +424,81 @@ dependencies = [
356
357 [[package]]
358 name = "lazy_static"
359-version = "1.4.0"
360+version = "1.5.0"
361 source = "registry+https://github.com/rust-lang/crates.io-index"
362-checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
363+checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
364
365 [[package]]
366 name = "libc"
367-version = "0.2.147"
368+version = "0.2.171"
369 source = "registry+https://github.com/rust-lang/crates.io-index"
370-checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
371+checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
372
373 [[package]]
374 name = "linux-raw-sys"
375-version = "0.4.7"
376+version = "0.9.3"
377 source = "registry+https://github.com/rust-lang/crates.io-index"
378-checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128"
379+checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413"
380
381 [[package]]
382 name = "log"
383-version = "0.4.20"
384+version = "0.4.27"
385 source = "registry+https://github.com/rust-lang/crates.io-index"
386-checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
387+checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
388
389 [[package]]
390 name = "memchr"
391-version = "2.6.3"
392+version = "2.7.4"
393 source = "registry+https://github.com/rust-lang/crates.io-index"
394-checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c"
395-
396-[[package]]
397-name = "memoffset"
398-version = "0.9.0"
399-source = "registry+https://github.com/rust-lang/crates.io-index"
400-checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
401-dependencies = [
402- "autocfg",
403-]
404+checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
405
406 [[package]]
407 name = "miniz_oxide"
408-version = "0.7.1"
409+version = "0.8.7"
410 source = "registry+https://github.com/rust-lang/crates.io-index"
411-checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
412+checksum = "ff70ce3e48ae43fa075863cef62e8b43b71a4f2382229920e0df362592919430"
413 dependencies = [
414- "adler",
415+ "adler2",
416 ]
417
418 [[package]]
419 name = "mio"
420-version = "0.8.8"
421+version = "0.8.11"
422 source = "registry+https://github.com/rust-lang/crates.io-index"
423-checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2"
424+checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c"
425 dependencies = [
426 "libc",
427 "log",
428 "wasi 0.11.0+wasi-snapshot-preview1",
429- "windows-sys",
430+ "windows-sys 0.48.0",
431 ]
432
433 [[package]]
434 name = "num-traits"
435-version = "0.2.16"
436+version = "0.2.19"
437 source = "registry+https://github.com/rust-lang/crates.io-index"
438-checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2"
439+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
440 dependencies = [
441 "autocfg",
442 ]
443
444-[[package]]
445-name = "num_cpus"
446-version = "1.16.0"
447-source = "registry+https://github.com/rust-lang/crates.io-index"
448-checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
449-dependencies = [
450- "hermit-abi 0.3.2",
451- "libc",
452-]
453-
454 [[package]]
455 name = "once_cell"
456-version = "1.18.0"
457+version = "1.21.3"
458 source = "registry+https://github.com/rust-lang/crates.io-index"
459-checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"
460+checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
461
462 [[package]]
463 name = "oorandom"
464-version = "11.1.3"
465+version = "11.1.5"
466 source = "registry+https://github.com/rust-lang/crates.io-index"
467-checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
468+checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e"
469
470 [[package]]
471 name = "plotters"
472-version = "0.3.5"
473+version = "0.3.7"
474 source = "registry+https://github.com/rust-lang/crates.io-index"
475-checksum = "d2c224ba00d7cadd4d5c660deaf2098e5e80e07846537c51f9cfa4be50c1fd45"
476+checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747"
477 dependencies = [
478 "num-traits",
479 "plotters-backend",
480@@ -549,24 +509,27 @@ dependencies = [
481
482 [[package]]
483 name = "plotters-backend"
484-version = "0.3.5"
485+version = "0.3.7"
486 source = "registry+https://github.com/rust-lang/crates.io-index"
487-checksum = "9e76628b4d3a7581389a35d5b6e2139607ad7c75b17aed325f210aa91f4a9609"
488+checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a"
489
490 [[package]]
491 name = "plotters-svg"
492-version = "0.3.5"
493+version = "0.3.7"
494 source = "registry+https://github.com/rust-lang/crates.io-index"
495-checksum = "38f6d39893cca0701371e3c27294f09797214b86f1fb951b89ade8ec04e2abab"
496+checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670"
497 dependencies = [
498 "plotters-backend",
499 ]
500
501 [[package]]
502 name = "ppv-lite86"
503-version = "0.2.17"
504+version = "0.2.21"
505 source = "registry+https://github.com/rust-lang/crates.io-index"
506-checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
507+checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
508+dependencies = [
509+ "zerocopy",
510+]
511
512 [[package]]
513 name = "proc-macro-error"
514@@ -594,29 +557,35 @@ dependencies = [
515
516 [[package]]
517 name = "proc-macro2"
518-version = "1.0.85"
519+version = "1.0.94"
520 source = "registry+https://github.com/rust-lang/crates.io-index"
521-checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23"
522+checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
523 dependencies = [
524 "unicode-ident",
525 ]
526
527 [[package]]
528 name = "quote"
529-version = "1.0.36"
530+version = "1.0.40"
531 source = "registry+https://github.com/rust-lang/crates.io-index"
532-checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
533+checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
534 dependencies = [
535 "proc-macro2",
536 ]
537
538+[[package]]
539+name = "r-efi"
540+version = "5.2.0"
541+source = "registry+https://github.com/rust-lang/crates.io-index"
542+checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
543+
544 [[package]]
545 name = "rand"
546 version = "0.7.3"
547 source = "registry+https://github.com/rust-lang/crates.io-index"
548 checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
549 dependencies = [
550- "getrandom",
551+ "getrandom 0.1.16",
552 "libc",
553 "rand_chacha",
554 "rand_core",
555@@ -639,7 +608,7 @@ version = "0.5.1"
556 source = "registry+https://github.com/rust-lang/crates.io-index"
557 checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
558 dependencies = [
559- "getrandom",
560+ "getrandom 0.1.16",
561 ]
562
563 [[package]]
564@@ -653,9 +622,9 @@ dependencies = [
565
566 [[package]]
567 name = "rayon"
568-version = "1.7.0"
569+version = "1.10.0"
570 source = "registry+https://github.com/rust-lang/crates.io-index"
571-checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
572+checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa"
573 dependencies = [
574 "either",
575 "rayon-core",
576@@ -663,30 +632,19 @@ dependencies = [
577
578 [[package]]
579 name = "rayon-core"
580-version = "1.11.0"
581+version = "1.12.1"
582 source = "registry+https://github.com/rust-lang/crates.io-index"
583-checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
584+checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2"
585 dependencies = [
586- "crossbeam-channel",
587 "crossbeam-deque",
588 "crossbeam-utils",
589- "num_cpus",
590-]
591-
592-[[package]]
593-name = "redox_syscall"
594-version = "0.3.5"
595-source = "registry+https://github.com/rust-lang/crates.io-index"
596-checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
597-dependencies = [
598- "bitflags 1.3.2",
599 ]
600
601 [[package]]
602 name = "regex"
603-version = "1.9.5"
604+version = "1.11.1"
605 source = "registry+https://github.com/rust-lang/crates.io-index"
606-checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47"
607+checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
608 dependencies = [
609 "aho-corasick",
610 "memchr",
611@@ -696,9 +654,9 @@ dependencies = [
612
613 [[package]]
614 name = "regex-automata"
615-version = "0.3.8"
616+version = "0.4.9"
617 source = "registry+https://github.com/rust-lang/crates.io-index"
618-checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795"
619+checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
620 dependencies = [
621 "aho-corasick",
622 "memchr",
623@@ -707,9 +665,9 @@ dependencies = [
624
625 [[package]]
626 name = "regex-syntax"
627-version = "0.7.5"
628+version = "0.8.5"
629 source = "registry+https://github.com/rust-lang/crates.io-index"
630-checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
631+checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
632
633 [[package]]
634 name = "roxmltree"
635@@ -722,22 +680,28 @@ dependencies = [
636
637 [[package]]
638 name = "rustix"
639-version = "0.38.13"
640+version = "1.0.5"
641 source = "registry+https://github.com/rust-lang/crates.io-index"
642-checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662"
643+checksum = "d97817398dd4bb2e6da002002db259209759911da105da92bec29ccb12cf58bf"
644 dependencies = [
645- "bitflags 2.4.0",
646+ "bitflags 2.9.0",
647 "errno",
648 "libc",
649 "linux-raw-sys",
650- "windows-sys",
651+ "windows-sys 0.59.0",
652 ]
653
654+[[package]]
655+name = "rustversion"
656+version = "1.0.20"
657+source = "registry+https://github.com/rust-lang/crates.io-index"
658+checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
659+
660 [[package]]
661 name = "ryu"
662-version = "1.0.15"
663+version = "1.0.20"
664 source = "registry+https://github.com/rust-lang/crates.io-index"
665-checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
666+checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
667
668 [[package]]
669 name = "same-file"
670@@ -748,17 +712,11 @@ dependencies = [
671 "winapi-util",
672 ]
673
674-[[package]]
675-name = "scopeguard"
676-version = "1.2.0"
677-source = "registry+https://github.com/rust-lang/crates.io-index"
678-checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
679-
680 [[package]]
681 name = "serde"
682-version = "1.0.203"
683+version = "1.0.219"
684 source = "registry+https://github.com/rust-lang/crates.io-index"
685-checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094"
686+checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
687 dependencies = [
688 "serde_derive",
689 ]
690@@ -784,22 +742,23 @@ dependencies = [
691
692 [[package]]
693 name = "serde_derive"
694-version = "1.0.203"
695+version = "1.0.219"
696 source = "registry+https://github.com/rust-lang/crates.io-index"
697-checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba"
698+checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
699 dependencies = [
700 "proc-macro2",
701 "quote",
702- "syn 2.0.66",
703+ "syn 2.0.100",
704 ]
705
706 [[package]]
707 name = "serde_json"
708-version = "1.0.117"
709+version = "1.0.140"
710 source = "registry+https://github.com/rust-lang/crates.io-index"
711-checksum = "455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3"
712+checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373"
713 dependencies = [
714 "itoa",
715+ "memchr",
716 "ryu",
717 "serde",
718 ]
719@@ -817,6 +776,12 @@ dependencies = [
720 "unsafe-libyaml",
721 ]
722
723+[[package]]
724+name = "shlex"
725+version = "1.3.0"
726+source = "registry+https://github.com/rust-lang/crates.io-index"
727+checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
728+
729 [[package]]
730 name = "stderrlog"
731 version = "0.5.4"
732@@ -873,9 +838,9 @@ dependencies = [
733
734 [[package]]
735 name = "syn"
736-version = "2.0.66"
737+version = "2.0.100"
738 source = "registry+https://github.com/rust-lang/crates.io-index"
739-checksum = "c42f3f41a2de00b01c0aaad383c5a45241efc8b2d1eda5661812fda5f3cdcff5"
740+checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
741 dependencies = [
742 "proc-macro2",
743 "quote",
744@@ -884,15 +849,15 @@ dependencies = [
745
746 [[package]]
747 name = "tempfile"
748-version = "3.8.0"
749+version = "3.19.1"
750 source = "registry+https://github.com/rust-lang/crates.io-index"
751-checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef"
752+checksum = "7437ac7763b9b123ccf33c338a5cc1bac6f69b45a136c19bdd8a65e3916435bf"
753 dependencies = [
754- "cfg-if",
755 "fastrand",
756- "redox_syscall",
757+ "getrandom 0.3.2",
758+ "once_cell",
759 "rustix",
760- "windows-sys",
761+ "windows-sys 0.59.0",
762 ]
763
764 [[package]]
765@@ -915,29 +880,29 @@ dependencies = [
766
767 [[package]]
768 name = "thiserror"
769-version = "1.0.48"
770+version = "1.0.69"
771 source = "registry+https://github.com/rust-lang/crates.io-index"
772-checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7"
773+checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
774 dependencies = [
775 "thiserror-impl",
776 ]
777
778 [[package]]
779 name = "thiserror-impl"
780-version = "1.0.48"
781+version = "1.0.69"
782 source = "registry+https://github.com/rust-lang/crates.io-index"
783-checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35"
784+checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
785 dependencies = [
786 "proc-macro2",
787 "quote",
788- "syn 2.0.66",
789+ "syn 2.0.100",
790 ]
791
792 [[package]]
793 name = "thread_local"
794-version = "1.1.7"
795+version = "1.1.8"
796 source = "registry+https://github.com/rust-lang/crates.io-index"
797-checksum = "3fdd6f064ccff2d6567adcb3873ca630700f00b5ad3f060c25b5dcfd9a4ce152"
798+checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"
799 dependencies = [
800 "cfg-if",
801 "once_cell",
802@@ -964,27 +929,27 @@ dependencies = [
803
804 [[package]]
805 name = "unicode-ident"
806-version = "1.0.11"
807+version = "1.0.18"
808 source = "registry+https://github.com/rust-lang/crates.io-index"
809-checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"
810+checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
811
812 [[package]]
813 name = "unicode-segmentation"
814-version = "1.10.1"
815+version = "1.12.0"
816 source = "registry+https://github.com/rust-lang/crates.io-index"
817-checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36"
818+checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493"
819
820 [[package]]
821 name = "unicode-width"
822-version = "0.1.10"
823+version = "0.1.14"
824 source = "registry+https://github.com/rust-lang/crates.io-index"
825-checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
826+checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
827
828 [[package]]
829 name = "unsafe-libyaml"
830-version = "0.2.9"
831+version = "0.2.11"
832 source = "registry+https://github.com/rust-lang/crates.io-index"
833-checksum = "f28467d3e1d3c6586d8f25fa243f544f5800fec42d97032474e17222c2b75cfa"
834+checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861"
835
836 [[package]]
837 name = "vec_map"
838@@ -994,15 +959,15 @@ checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
839
840 [[package]]
841 name = "version_check"
842-version = "0.9.4"
843+version = "0.9.5"
844 source = "registry+https://github.com/rust-lang/crates.io-index"
845-checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
846+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
847
848 [[package]]
849 name = "walkdir"
850-version = "2.4.0"
851+version = "2.5.0"
852 source = "registry+https://github.com/rust-lang/crates.io-index"
853-checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
854+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
855 dependencies = [
856 "same-file",
857 "winapi-util",
858@@ -1020,36 +985,46 @@ version = "0.11.0+wasi-snapshot-preview1"
859 source = "registry+https://github.com/rust-lang/crates.io-index"
860 checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
861
862+[[package]]
863+name = "wasi"
864+version = "0.14.2+wasi-0.2.4"
865+source = "registry+https://github.com/rust-lang/crates.io-index"
866+checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
867+dependencies = [
868+ "wit-bindgen-rt",
869+]
870+
871 [[package]]
872 name = "wasm-bindgen"
873-version = "0.2.87"
874+version = "0.2.100"
875 source = "registry+https://github.com/rust-lang/crates.io-index"
876-checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342"
877+checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
878 dependencies = [
879 "cfg-if",
880+ "once_cell",
881+ "rustversion",
882 "wasm-bindgen-macro",
883 ]
884
885 [[package]]
886 name = "wasm-bindgen-backend"
887-version = "0.2.87"
888+version = "0.2.100"
889 source = "registry+https://github.com/rust-lang/crates.io-index"
890-checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd"
891+checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
892 dependencies = [
893 "bumpalo",
894 "log",
895- "once_cell",
896 "proc-macro2",
897 "quote",
898- "syn 2.0.66",
899+ "syn 2.0.100",
900 "wasm-bindgen-shared",
901 ]
902
903 [[package]]
904 name = "wasm-bindgen-macro"
905-version = "0.2.87"
906+version = "0.2.100"
907 source = "registry+https://github.com/rust-lang/crates.io-index"
908-checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d"
909+checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
910 dependencies = [
911 "quote",
912 "wasm-bindgen-macro-support",
913@@ -1057,28 +1032,31 @@ dependencies = [
914
915 [[package]]
916 name = "wasm-bindgen-macro-support"
917-version = "0.2.87"
918+version = "0.2.100"
919 source = "registry+https://github.com/rust-lang/crates.io-index"
920-checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b"
921+checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
922 dependencies = [
923 "proc-macro2",
924 "quote",
925- "syn 2.0.66",
926+ "syn 2.0.100",
927 "wasm-bindgen-backend",
928 "wasm-bindgen-shared",
929 ]
930
931 [[package]]
932 name = "wasm-bindgen-shared"
933-version = "0.2.87"
934+version = "0.2.100"
935 source = "registry+https://github.com/rust-lang/crates.io-index"
936-checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1"
937+checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
938+dependencies = [
939+ "unicode-ident",
940+]
941
942 [[package]]
943 name = "web-sys"
944-version = "0.3.64"
945+version = "0.3.77"
946 source = "registry+https://github.com/rust-lang/crates.io-index"
947-checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b"
948+checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2"
949 dependencies = [
950 "js-sys",
951 "wasm-bindgen",
952@@ -1102,11 +1080,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
953
954 [[package]]
955 name = "winapi-util"
956-version = "0.1.5"
957+version = "0.1.9"
958 source = "registry+https://github.com/rust-lang/crates.io-index"
959-checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
960+checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
961 dependencies = [
962- "winapi",
963+ "windows-sys 0.59.0",
964 ]
965
966 [[package]]
967@@ -1116,12 +1094,62 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
968 checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
969
970 [[package]]
971-name = "windows"
972-version = "0.48.0"
973+name = "windows-core"
974+version = "0.61.0"
975+source = "registry+https://github.com/rust-lang/crates.io-index"
976+checksum = "4763c1de310c86d75a878046489e2e5ba02c649d185f21c67d4cf8a56d098980"
977+dependencies = [
978+ "windows-implement",
979+ "windows-interface",
980+ "windows-link",
981+ "windows-result",
982+ "windows-strings",
983+]
984+
985+[[package]]
986+name = "windows-implement"
987+version = "0.60.0"
988+source = "registry+https://github.com/rust-lang/crates.io-index"
989+checksum = "a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836"
990+dependencies = [
991+ "proc-macro2",
992+ "quote",
993+ "syn 2.0.100",
994+]
995+
996+[[package]]
997+name = "windows-interface"
998+version = "0.59.1"
999 source = "registry+https://github.com/rust-lang/crates.io-index"
1000-checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
1001+checksum = "bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8"
1002 dependencies = [
1003- "windows-targets",
1004+ "proc-macro2",
1005+ "quote",
1006+ "syn 2.0.100",
1007+]
1008+
1009+[[package]]
1010+name = "windows-link"
1011+version = "0.1.1"
1012+source = "registry+https://github.com/rust-lang/crates.io-index"
1013+checksum = "76840935b766e1b0a05c0066835fb9ec80071d4c09a16f6bd5f7e655e3c14c38"
1014+
1015+[[package]]
1016+name = "windows-result"
1017+version = "0.3.2"
1018+source = "registry+https://github.com/rust-lang/crates.io-index"
1019+checksum = "c64fd11a4fd95df68efcfee5f44a294fe71b8bc6a91993e2791938abcc712252"
1020+dependencies = [
1021+ "windows-link",
1022+]
1023+
1024+[[package]]
1025+name = "windows-strings"
1026+version = "0.4.0"
1027+source = "registry+https://github.com/rust-lang/crates.io-index"
1028+checksum = "7a2ba9642430ee452d5a7aa78d72907ebe8cfda358e8cb7918a2050581322f97"
1029+dependencies = [
1030+ "windows-link",
1031 ]
1032
1033 [[package]]
1034@@ -1130,7 +1158,16 @@ version = "0.48.0"
1035 source = "registry+https://github.com/rust-lang/crates.io-index"
1036 checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
1037 dependencies = [
1038- "windows-targets",
1039+ "windows-targets 0.48.5",
1040+]
1041+
1042+[[package]]
1043+name = "windows-sys"
1044+version = "0.59.0"
1045+source = "registry+https://github.com/rust-lang/crates.io-index"
1046+checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
1047+dependencies = [
1048+ "windows-targets 0.52.6",
1049 ]
1050
1051 [[package]]
1052@@ -1139,13 +1176,29 @@ version = "0.48.5"
1053 source = "registry+https://github.com/rust-lang/crates.io-index"
1054 checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
1055 dependencies = [
1056- "windows_aarch64_gnullvm",
1057- "windows_aarch64_msvc",
1058- "windows_i686_gnu",
1059- "windows_i686_msvc",
1060- "windows_x86_64_gnu",
1061- "windows_x86_64_gnullvm",
1062- "windows_x86_64_msvc",
1063+ "windows_aarch64_gnullvm 0.48.5",
1064+ "windows_aarch64_msvc 0.48.5",
1065+ "windows_i686_gnu 0.48.5",
1066+ "windows_i686_msvc 0.48.5",
1067+ "windows_x86_64_gnu 0.48.5",
1068+ "windows_x86_64_gnullvm 0.48.5",
1069+ "windows_x86_64_msvc 0.48.5",
1070+]
1071+
1072+[[package]]
1073+name = "windows-targets"
1074+version = "0.52.6"
1075+source = "registry+https://github.com/rust-lang/crates.io-index"
1076+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
1077+dependencies = [
1078+ "windows_aarch64_gnullvm 0.52.6",
1079+ "windows_aarch64_msvc 0.52.6",
1080+ "windows_i686_gnu 0.52.6",
1081+ "windows_i686_gnullvm",
1082+ "windows_i686_msvc 0.52.6",
1083+ "windows_x86_64_gnu 0.52.6",
1084+ "windows_x86_64_gnullvm 0.52.6",
1085+ "windows_x86_64_msvc 0.52.6",
1086 ]
1087
1088 [[package]]
1089@@ -1154,50 +1207,127 @@ version = "0.48.5"
1090 source = "registry+https://github.com/rust-lang/crates.io-index"
1091 checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
1092
1093+[[package]]
1094+name = "windows_aarch64_gnullvm"
1095+version = "0.52.6"
1096+source = "registry+https://github.com/rust-lang/crates.io-index"
1097+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
1098+
1099 [[package]]
1100 name = "windows_aarch64_msvc"
1101 version = "0.48.5"
1102 source = "registry+https://github.com/rust-lang/crates.io-index"
1103 checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
1104
1105+[[package]]
1106+name = "windows_aarch64_msvc"
1107+version = "0.52.6"
1108+source = "registry+https://github.com/rust-lang/crates.io-index"
1109+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
1110+
1111 [[package]]
1112 name = "windows_i686_gnu"
1113 version = "0.48.5"
1114 source = "registry+https://github.com/rust-lang/crates.io-index"
1115 checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
1116
1117+[[package]]
1118+name = "windows_i686_gnu"
1119+version = "0.52.6"
1120+source = "registry+https://github.com/rust-lang/crates.io-index"
1121+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
1122+
1123+[[package]]
1124+name = "windows_i686_gnullvm"
1125+version = "0.52.6"
1126+source = "registry+https://github.com/rust-lang/crates.io-index"
1127+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
1128+
1129 [[package]]
1130 name = "windows_i686_msvc"
1131 version = "0.48.5"
1132 source = "registry+https://github.com/rust-lang/crates.io-index"
1133 checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
1134
1135+[[package]]
1136+name = "windows_i686_msvc"
1137+version = "0.52.6"
1138+source = "registry+https://github.com/rust-lang/crates.io-index"
1139+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
1140+
1141 [[package]]
1142 name = "windows_x86_64_gnu"
1143 version = "0.48.5"
1144 source = "registry+https://github.com/rust-lang/crates.io-index"
1145 checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
1146
1147+[[package]]
1148+name = "windows_x86_64_gnu"
1149+version = "0.52.6"
1150+source = "registry+https://github.com/rust-lang/crates.io-index"
1151+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
1152+
1153 [[package]]
1154 name = "windows_x86_64_gnullvm"
1155 version = "0.48.5"
1156 source = "registry+https://github.com/rust-lang/crates.io-index"
1157 checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
1158
1159+[[package]]
1160+name = "windows_x86_64_gnullvm"
1161+version = "0.52.6"
1162+source = "registry+https://github.com/rust-lang/crates.io-index"
1163+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
1164+
1165 [[package]]
1166 name = "windows_x86_64_msvc"
1167 version = "0.48.5"
1168 source = "registry+https://github.com/rust-lang/crates.io-index"
1169 checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
1170
1171+[[package]]
1172+name = "windows_x86_64_msvc"
1173+version = "0.52.6"
1174+source = "registry+https://github.com/rust-lang/crates.io-index"
1175+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
1176+
1177+[[package]]
1178+name = "wit-bindgen-rt"
1179+version = "0.39.0"
1180+source = "registry+https://github.com/rust-lang/crates.io-index"
1181+checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
1182+dependencies = [
1183+ "bitflags 2.9.0",
1184+]
1185+
1186 [[package]]
1187 name = "xml-rs"
1188-version = "0.8.18"
1189+version = "0.8.25"
1190 source = "registry+https://github.com/rust-lang/crates.io-index"
1191-checksum = "bab77e97b50aee93da431f2cee7cd0f43b4d1da3c408042f2d7d164187774f0a"
1192+checksum = "c5b940ebc25896e71dd073bad2dbaa2abfe97b0a391415e22ad1326d9c54e3c4"
1193
1194 [[package]]
1195 name = "xmlparser"
1196-version = "0.13.5"
1197+version = "0.13.6"
1198 source = "registry+https://github.com/rust-lang/crates.io-index"
1199-checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd"
1200+checksum = "66fee0b777b0f5ac1c69bb06d361268faafa61cd4682ae064a171c16c433e9e4"
1201+
1202+[[package]]
1203+name = "zerocopy"
1204+version = "0.8.24"
1205+source = "registry+https://github.com/rust-lang/crates.io-index"
1206+checksum = "2586fea28e186957ef732a5f8b3be2da217d65c5969d4b1e17f973ebbe876879"
1207+dependencies = [
1208+ "zerocopy-derive",
1209+]
1210+
1211+[[package]]
1212+name = "zerocopy-derive"
1213+version = "0.8.24"
1214+source = "registry+https://github.com/rust-lang/crates.io-index"
1215+checksum = "a996a8f63c5c4448cd959ac1bab0aaa3306ccfd060472f85943ee0750f0169be"
1216+dependencies = [
1217+ "proc-macro2",
1218+ "quote",
1219+ "syn 2.0.100",
1220+]
1221diff --git a/Cargo.toml b/Cargo.toml
1222index d702030..5ee83a1 100644
1223--- a/Cargo.toml
1224+++ b/Cargo.toml
1225@@ -129,7 +129,7 @@ version = ">= 0.4, < 0.6"
1226 version = "0.3"
1227
1228 [dependencies.tempfile]
1229-version = "3.2"
1230+version = "3"
1231
1232 [dependencies.toml]
1233 version = "0.5"
1234@@ -138,4 +138,4 @@ version = "0.5"
1235 version = "0.3.0"
1236
1237 [dev-dependencies.tempfile]
1238-version = "3.2"
1239+version = "3"
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch
new file mode 100644
index 0000000000..1e2cdacf4c
--- /dev/null
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner/0001-deqp-runner-drop-zstd-support.patch
@@ -0,0 +1,172 @@
1From f453ec77fa9e6fd961a1f5f0b221260a5a21bba2 Mon Sep 17 00:00:00 2001
2From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
3Date: Tue, 27 Aug 2024 14:08:47 +0300
4Subject: [PATCH] deqp-runner: drop zstd support
5
6Building zstd-sys results in the "foo contains reference to TMPDIR" QA
7error. Revert commit 1adddf3aa89f21b472d8046347ccdfa4612f141b to drop
8zstd dependency.
9
10Upstream-Status: Inappropriate [oe specific]
11Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
12---
13 Cargo.lock | 45 ---------------------------------------------
14 Cargo.toml | 3 ---
15 src/lib.rs | 31 +++++++------------------------
16 3 files changed, 7 insertions(+), 72 deletions(-)
17
18diff --git a/Cargo.lock b/Cargo.lock
19index 8443695e2bd5..50924576a8e3 100644
20--- a/Cargo.lock
21+++ b/Cargo.lock
22@@ -94,7 +94,6 @@ version = "1.0.83"
23 source = "registry+https://github.com/rust-lang/crates.io-index"
24 checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
25 dependencies = [
26- "jobserver",
27 "libc",
28 ]
29
30@@ -271,7 +270,6 @@ dependencies = [
31 "structopt",
32 "tempfile",
33 "toml",
34- "zstd",
35 ]
36
37 [[package]]
38@@ -423,15 +421,6 @@ version = "1.0.9"
39 source = "registry+https://github.com/rust-lang/crates.io-index"
40 checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
41
42-[[package]]
43-name = "jobserver"
44-version = "0.1.31"
45-source = "registry+https://github.com/rust-lang/crates.io-index"
46-checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
47-dependencies = [
48- "libc",
49-]
50-
51 [[package]]
52 name = "js-sys"
53 version = "0.3.64"
54@@ -544,12 +533,6 @@ version = "11.1.3"
55 source = "registry+https://github.com/rust-lang/crates.io-index"
56 checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
57
58-[[package]]
59-name = "pkg-config"
60-version = "0.3.30"
61-source = "registry+https://github.com/rust-lang/crates.io-index"
62-checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
63-
64 [[package]]
65 name = "plotters"
66 version = "0.3.5"
67@@ -1217,31 +1200,3 @@ name = "xmlparser"
68 version = "0.13.5"
69 source = "registry+https://github.com/rust-lang/crates.io-index"
70 checksum = "4d25c75bf9ea12c4040a97f829154768bbbce366287e2dc044af160cd79a13fd"
71-
72-[[package]]
73-name = "zstd"
74-version = "0.13.1"
75-source = "registry+https://github.com/rust-lang/crates.io-index"
76-checksum = "2d789b1514203a1120ad2429eae43a7bd32b90976a7bb8a05f7ec02fa88cc23a"
77-dependencies = [
78- "zstd-safe",
79-]
80-
81-[[package]]
82-name = "zstd-safe"
83-version = "7.1.0"
84-source = "registry+https://github.com/rust-lang/crates.io-index"
85-checksum = "1cd99b45c6bc03a018c8b8a86025678c87e55526064e38f9df301989dce7ec0a"
86-dependencies = [
87- "zstd-sys",
88-]
89-
90-[[package]]
91-name = "zstd-sys"
92-version = "2.0.10+zstd.1.5.6"
93-source = "registry+https://github.com/rust-lang/crates.io-index"
94-checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa"
95-dependencies = [
96- "cc",
97- "pkg-config",
98-]
99diff --git a/Cargo.toml b/Cargo.toml
100index ac6295763e87..1fa1344a3105 100644
101--- a/Cargo.toml
102+++ b/Cargo.toml
103@@ -120,9 +120,6 @@ version = "3.2"
104 [dependencies.toml]
105 version = "0.5"
106
107-[dependencies.zstd]
108-version = "0.13.0"
109-
110 [dev-dependencies.criterion]
111 version = "0.3.0"
112
113diff --git a/src/lib.rs b/src/lib.rs
114index e7095267f1cd..ff7bc4f5d025 100644
115--- a/src/lib.rs
116+++ b/src/lib.rs
117@@ -63,7 +63,6 @@ use rayon::prelude::*;
118 use regex::RegexSet;
119 use serde::{Deserialize, Serialize};
120 use std::collections::HashMap;
121-use std::ffi::OsStr;
122 use std::fs::File;
123 use std::io::prelude::*;
124 use std::io::BufReader;
125@@ -76,7 +75,6 @@ use std::time::Duration;
126 use std::time::Instant;
127 use structopt::StructOpt;
128 use timeout::{TimeoutChildExt, TimeoutChildStdout, Timer};
129-use zstd::stream::read::Decoder;
130
131 fn parse_key_val<T, U>(s: &str) -> Result<(T, U), Box<dyn std::error::Error>>
132 where
133@@ -1082,32 +1080,17 @@ pub fn read_lines<I: IntoIterator<Item = impl AsRef<Path>>>(files: I) -> Result<
134 let mut lines: Vec<String> = Vec::new();
135
136 for path in files {
137- let mut path: &Path = path.as_ref();
138- let mut path_compressed: PathBuf = path.to_path_buf();
139-
140- // always try append zst extension (and keep existing one, e.g. .txt)
141- let ext = if let Some(file_ext) = path.extension().and_then(|ext| ext.to_str()) {
142- format!("{}.zst", file_ext)
143- } else {
144- (".zst").to_string()
145- };
146-
147- path_compressed.set_extension(ext);
148- if path_compressed.exists() {
149- path = path_compressed.as_ref();
150- }
151- let file = File::open(path).with_context(|| format!("opening path: {}", path.display()))?;
152- let reader: Box<dyn Read> = match path.extension().and_then(OsStr::to_str) {
153- Some("zst") => Box::new(Decoder::new(file).unwrap()),
154- _ => Box::new(file),
155- };
156-
157- for line in BufReader::new(reader).lines() {
158+ let path = path.as_ref();
159+ for line in BufReader::new(
160+ File::open(path).with_context(|| format!("opening path: {}", path.display()))?,
161+ )
162+ .lines()
163+ {
164 let line = line.with_context(|| format!("reading line from {}", path.display()))?;
165 // In newer dEQP, vk-master.txt just contains a list of .txt
166 // caselist files relative to its current path, so recursively read
167 // thoseand append their contents.
168- if line.ends_with(".txt") || line.ends_with(".txt.zst") {
169+ if line.ends_with(".txt") {
170 let sub_path = path.parent().context("Getting path parent dir")?.join(line);
171
172 lines.extend_from_slice(
diff --git a/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb
new file mode 100644
index 0000000000..57f1635426
--- /dev/null
+++ b/meta-oe/recipes-graphics/deqp-runner/deqp-runner_0.20.3.bb
@@ -0,0 +1,21 @@
1SUMMARY = "A VK-GL-CTS/dEQP wrapper program to parallelize it across CPUs and report results against a baseline."
2HOMEPAGE = "https://gitlab.freedesktop.org/mesa/deqp-runner"
3LICENSE = "MIT"
4
5LIC_FILES_CHKSUM = " \
6 file://LICENSE;md5=4f59d6446bf2e004e80df1a0937129fa\
7"
8
9inherit cargo cargo-update-recipe-crates
10
11SRC_URI += " \
12 crate://crates.io/deqp-runner/${PV} \
13 file://0001-deqp-runner-drop-zstd-support.patch \
14 file://0001-cargo-Update-tempfile-to-latest-3.x.patch \
15 file://0001-Define-more-ioctl-codes-on-riscv32gc-unknown-linux-g.patch;patchdir=${CARGO_VENDORING_DIRECTORY}/libc-0.2.171 \
16"
17SRC_URI[deqp-runner-0.20.3.sha256sum] = "2de4b135ed68a7f821deeedebb4084d33058b0307f1f9935e2c960430f7532e8"
18
19require deqp-runner-crates.inc
20
21RUSTFLAGS:append:riscv32 = " --cfg getrandom_backend=\"linux_raw\""
diff --git a/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb b/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb
index 1ee2657bd0..1018e0675e 100644
--- a/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb
+++ b/meta-oe/recipes-graphics/dietsplash/dietsplash_git.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://github.com/lucasdemarchi/dietsplash.git;branch=master;protocol=
14 14
15inherit autotools 15inherit autotools
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OECONF = " --with-systemdsystemunitdir=${systemd_unitdir}/system \ 18EXTRA_OECONF = " --with-systemdsystemunitdir=${systemd_unitdir}/system \
20 --disable-staticimages --with-rootdir=${root_prefix}" 19 --disable-staticimages --with-rootdir=${root_prefix}"
diff --git a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
index 398e339482..f4a257ce89 100644
--- a/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
+++ b/meta-oe/recipes-graphics/directfb/directfb-examples_1.7.0.bb
@@ -14,9 +14,8 @@ SRC_URI = " \
14 14
15LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f" 15LIC_FILES_CHKSUM = "file://COPYING;md5=ecf6fd2b19915afc4da56043926ca18f"
16 16
17S = "${WORKDIR}/DirectFB-examples-${PV}" 17S = "${UNPACKDIR}/DirectFB-examples-${PV}"
18 18
19inherit autotools pkgconfig 19inherit autotools pkgconfig
20 20
21SRC_URI[md5sum] = "8b60c867af295481c32a8c7fc5802307"
22SRC_URI[sha256sum] = "9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a" 21SRC_URI[sha256sum] = "9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a"
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc b/meta-oe/recipes-graphics/directfb/directfb.inc
index 54aeb06aa9..0dc410b2cb 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -9,7 +9,7 @@ LICENSE = "LGPL-2.1-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" 9LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
10 10
11HOMEPAGE = "http://directfb.org" 11HOMEPAGE = "http://directfb.org"
12DEPENDS = "jpeg libpng freetype zlib sysfsutils" 12DEPENDS = "jpeg libpng"
13 13
14SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \ 14SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.gz \
15 file://configurefix.patch \ 15 file://configurefix.patch \
@@ -25,36 +25,34 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g
25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \ 25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \
26 file://0001-include-libgen.h-for-basename.patch \ 26 file://0001-include-libgen.h-for-basename.patch \
27 file://0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch \ 27 file://0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch \
28 file://0001-libdirect-remove-use-of-keyword-register.patch \
28 " 29 "
29 30
30S = "${WORKDIR}/DirectFB-${PV}" 31S = "${UNPACKDIR}/DirectFB-${PV}"
31 32
32LDFLAGS:append = " -lm" 33LDFLAGS:append = " -lm"
33 34
34CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef" 35CXXFLAGS:append:toolchain-clang = " -Wno-error=dtor-typedef"
35 36
36# Workaround for linking issues seen with armv7a + gold
37LDFLAGS:append:arm = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}"
38
39BINCONFIG = "${bindir}/directfb-config" 37BINCONFIG = "${bindir}/directfb-config"
40 38
41inherit autotools binconfig-disabled pkgconfig 39inherit autotools binconfig-disabled pkgconfig
42 40
43PACKAGECONFIG ??= "linuxinput" 41PACKAGECONFIG ??= "freetype linuxinput zlib"
44PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
45PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm" 42PACKAGECONFIG[drmkms] = "--enable-drmkms,--disable-drmkms,libdrm"
46PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff" 43PACKAGECONFIG[freetype] = "--enable-freetype,--disable-freetype,freetype"
47PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" 44PACKAGECONFIG[jpeg2000] = "--enable-jpeg2000,--disable-jpeg2000,jasper"
48PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib" 45PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa,"
49PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,," 46PACKAGECONFIG[linuxinput] = "--with-inputdrivers=linuxinput,,"
50PACKAGECONFIG[noinput] = "--with-inputdrivers=none,," 47PACKAGECONFIG[noinput] = "--with-inputdrivers=none,,"
51PACKAGECONFIG[mesa] = "--enable-mesa,--disable-mesa,virtual/mesa," 48PACKAGECONFIG[tiff] = "--enable-tiff,--disable-tiff,tiff"
49PACKAGECONFIG[tslib] = "--with-inputdrivers=tslib,,tslib"
50PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp"
52PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg," 51PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,xserver-xorg,"
52PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
53 53
54EXTRA_OECONF = "\ 54EXTRA_OECONF = "\
55 --with-gfxdrivers=none \ 55 --with-gfxdrivers=none \
56 --enable-freetype=yes \
57 --enable-zlib \
58 --disable-imlib2 \ 56 --disable-imlib2 \
59 --disable-sdl \ 57 --disable-sdl \
60 --disable-vnc \ 58 --disable-vnc \
diff --git a/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch b/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch
new file mode 100644
index 0000000000..24d977f4dc
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb/0001-libdirect-remove-use-of-keyword-register.patch
@@ -0,0 +1,44 @@
1From f6cdb9f1c3dbef8ef695703a2a5fb4e92b2dd8a0 Mon Sep 17 00:00:00 2001
2From: Simon Barth <simon.barth@gmx.de>
3Date: Mon, 5 Aug 2024 19:35:16 +0200
4Subject: [PATCH] libdirect: remove use of keyword 'register'
5
6The 'register' keyword was removed in C++17 and is now unused and
7reserved. When compiling code that uses DirecthFB with C++17,
8compilation fails.
9
10Since modern compilers likely don't produce different code whether the
11'register' keyword is used or not, there shouldn't be any performance
12impact introduced by this change.
13
14Signed-off-by: Simon Barth <simon.barth@gmx.de>
15
16Upstream-Status: Submitted [https://github.com/deniskropp/DirectFB/pull/25]
17---
18 lib/direct/util.h | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/lib/direct/util.h b/lib/direct/util.h
22index 2109b6ca1..734645796 100644
23--- a/lib/direct/util.h
24+++ b/lib/direct/util.h
25@@ -220,7 +220,7 @@ void DIRECT_API direct_md5_sum( void *dst, const void *src, const int len );
26 static __inline__ int
27 direct_util_count_bits( unsigned int mask )
28 {
29- register int ret = 0;
30+ int ret = 0;
31
32 while (mask) {
33 ret += mask & 1;
34@@ -325,7 +325,7 @@ D_ICEIL(float f)
35 static __inline__ int
36 direct_log2( int val )
37 {
38- register int ret = 0;
39+ int ret = 0;
40
41 while (val >> ++ret);
42
43--
442.25.1
diff --git a/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb b/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb
index c6c070eda6..15f22697cd 100644
--- a/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb
+++ b/meta-oe/recipes-graphics/directfb/directfb_1.7.7.bb
@@ -4,5 +4,4 @@ RV = "1.7-7"
4 4
5LEAD_SONAME = "libdirectfb-1.7.so.0" 5LEAD_SONAME = "libdirectfb-1.7.so.0"
6 6
7SRC_URI[md5sum] = "152cf1863b1a3a28aa1370e9053440bf"
8SRC_URI[sha256sum] = "b785c638dc31b8fe3a7c81be1475c89b2255ab3d67b777c747d3fbc52f8027a3" 7SRC_URI[sha256sum] = "b785c638dc31b8fe3a7c81be1475c89b2255ab3d67b777c747d3fbc52f8027a3"
diff --git a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb
index 50504caf9f..ef6dc14ca6 100644
--- a/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb
+++ b/meta-oe/recipes-graphics/dnfdragora/dnfdragora_2.1.6.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/manatools/dnfdragora.git;branch=stable-2.x;protocol=
11 11
12SRCREV = "abbe08b7a487325182758d5285b54437a914207b" 12SRCREV = "abbe08b7a487325182758d5285b54437a914207b"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake gettext pkgconfig python3-dir python3native setuptools3-base mime-xdg 15inherit cmake gettext pkgconfig python3-dir python3native setuptools3-base mime-xdg
17 16
diff --git a/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb
new file mode 100644
index 0000000000..810be40013
--- /dev/null
+++ b/meta-oe/recipes-graphics/drm/drm-info_2.7.0.bb
@@ -0,0 +1,12 @@
1SUMMARY = "Small utility to dump info about DRM devices"
2HOMEPAGE = "https://gitlab.freedesktop.org/emersion/drm_info"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c"
5
6SRC_URI = "git://gitlab.freedesktop.org/emersion/drm_info.git;branch=master;protocol=https"
7SRCREV = "c1f5ca4cf750b26eb26c1d9d5c2ef057acbcfefc"
8
9
10inherit meson pkgconfig
11
12DEPENDS = "json-c libdrm"
diff --git a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
index 7b52ead909..72187696e3 100644
--- a/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
+++ b/meta-oe/recipes-graphics/fbgrab/fbgrab_1.5.bb
@@ -7,10 +7,14 @@ DEPENDS = "libpng zlib"
7SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master" 7SRC_URI = "git://github.com/GunnarMonell/fbgrab.git;protocol=https;branch=master"
8 8
9SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8" 9SRCREV = "f43ce6d5ce48fb01360eaa7c4a92c2573a1d02f8"
10S = "${WORKDIR}/git"
11
12inherit autotools-brokensep
13 10
14do_configure:prepend() { 11do_configure:prepend() {
15 sed -i 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' ${S}/Makefile 12 sed \
13 -e 's|$(DESTDIR)/usr/bin/|$(DESTDIR)${bindir}/|g' \
14 -e 's|$(DESTDIR)/usr/man/|$(DESTDIR)${mandir}/|g' \
15 -i ${S}/Makefile
16}
17
18do_install() {
19 oe_runmake 'DESTDIR=${D}' install
16} 20}
diff --git a/meta-oe/recipes-graphics/fbida/fbida_git.bb b/meta-oe/recipes-graphics/fbida/fbida_git.bb
index 6c06748499..2736f61004 100644
--- a/meta-oe/recipes-graphics/fbida/fbida_git.bb
+++ b/meta-oe/recipes-graphics/fbida/fbida_git.bb
@@ -21,7 +21,6 @@ SRC_URI = "git://github.com/kraxel/fbida;protocol=https;branch=master \
21 file://0001-fbida-Include-missing-sys-types.h.patch \ 21 file://0001-fbida-Include-missing-sys-types.h.patch \
22" 22"
23SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5" 23SRCREV = "eb769e3d7f4a073d4c37ed524ebd5017c6a578f5"
24S = "${WORKDIR}/git"
25 24
26inherit meson pkgconfig features_check 25inherit meson pkgconfig features_check
27 26
diff --git a/meta-oe/recipes-graphics/feh/feh_3.10.2.bb b/meta-oe/recipes-graphics/feh/feh_3.10.3.bb
index 2c38ce614b..5ab333c60d 100644
--- a/meta-oe/recipes-graphics/feh/feh_3.10.2.bb
+++ b/meta-oe/recipes-graphics/feh/feh_3.10.3.bb
@@ -9,7 +9,7 @@ DEPENDS = "\
9" 9"
10 10
11SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2" 11SRC_URI = "https://feh.finalrewind.org/feh-${PV}.tar.bz2"
12SRC_URI[sha256sum] = "5f94a77de25c5398876f0cf431612d782b842f4db154d2139b778c8f196e8969" 12SRC_URI[sha256sum] = "5426e2799770217af1e01c2e8c182d9ca8687d84613321d8ab4a66fe4041e9c8"
13 13
14inherit mime-xdg features_check 14inherit mime-xdg features_check
15# depends on virtual/libx11 15# depends on virtual/libx11
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch b/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch
new file mode 100644
index 0000000000..40f85e9f33
--- /dev/null
+++ b/meta-oe/recipes-graphics/fontforge/fontforge/CVE-2024-25081_CVE-2024-25082.patch
@@ -0,0 +1,181 @@
1From 216eb14b558df344b206bf82e2bdaf03a1f2f429 Mon Sep 17 00:00:00 2001
2From: Peter Kydas <pk@canva.com>
3Date: Tue, 6 Feb 2024 20:03:04 +1100
4Subject: [PATCH] fix splinefont shell command injection (#5367)
5
6CVE: CVE-2024-25081
7CVE: CVE-2024-25082
8Upstream-Status: Backport [https://github.com/fontforge/fontforge/commit/216eb14b558df344b206bf82e2bdaf03a1f2f429]
9Signed-off-by: Peter Marko <peter.marko@siemens.com>
10---
11 fontforge/splinefont.c | 123 +++++++++++++++++++++++++++++------------
12 1 file changed, 89 insertions(+), 34 deletions(-)
13
14diff --git a/fontforge/splinefont.c b/fontforge/splinefont.c
15index 239fdc035..647daee10 100644
16--- a/fontforge/splinefont.c
17+++ b/fontforge/splinefont.c
18@@ -788,11 +788,14 @@ return( name );
19
20 char *Unarchive(char *name, char **_archivedir) {
21 char *dir = getenv("TMPDIR");
22- char *pt, *archivedir, *listfile, *listcommand, *unarchivecmd, *desiredfile;
23+ char *pt, *archivedir, *listfile, *desiredfile;
24 char *finalfile;
25 int i;
26 int doall=false;
27 static int cnt=0;
28+ gchar *command[5];
29+ gchar *stdoutresponse = NULL;
30+ gchar *stderrresponse = NULL;
31
32 *_archivedir = NULL;
33
34@@ -827,18 +830,30 @@ return( NULL );
35 listfile = malloc(strlen(archivedir)+strlen("/" TOC_NAME)+1);
36 sprintf( listfile, "%s/" TOC_NAME, archivedir );
37
38- listcommand = malloc( strlen(archivers[i].unarchive) + 1 +
39- strlen( archivers[i].listargs) + 1 +
40- strlen( name ) + 3 +
41- strlen( listfile ) +4 );
42- sprintf( listcommand, "%s %s %s > %s", archivers[i].unarchive,
43- archivers[i].listargs, name, listfile );
44- if ( system(listcommand)!=0 ) {
45- free(listcommand); free(listfile);
46- ArchiveCleanup(archivedir);
47-return( NULL );
48+ command[0] = archivers[i].unarchive;
49+ command[1] = archivers[i].listargs;
50+ command[2] = name;
51+ command[3] = NULL; // command args need to be NULL-terminated
52+
53+ if ( g_spawn_sync(
54+ NULL,
55+ command,
56+ NULL,
57+ G_SPAWN_SEARCH_PATH,
58+ NULL,
59+ NULL,
60+ &stdoutresponse,
61+ &stderrresponse,
62+ NULL,
63+ NULL
64+ ) == FALSE) { // did not successfully execute
65+ ArchiveCleanup(archivedir);
66+ return( NULL );
67 }
68- free(listcommand);
69+ // Write out the listfile to be read in later
70+ FILE *fp = fopen(listfile, "wb");
71+ fwrite(stdoutresponse, strlen(stdoutresponse), 1, fp);
72+ fclose(fp);
73
74 desiredfile = ArchiveParseTOC(listfile, archivers[i].ars, &doall);
75 free(listfile);
76@@ -847,22 +862,28 @@ return( NULL );
77 return( NULL );
78 }
79
80- /* I tried sending everything to stdout, but that doesn't work if the */
81- /* output is a directory file (ufo, sfdir) */
82- unarchivecmd = malloc( strlen(archivers[i].unarchive) + 1 +
83- strlen( archivers[i].listargs) + 1 +
84- strlen( name ) + 1 +
85- strlen( desiredfile ) + 3 +
86- strlen( archivedir ) + 30 );
87- sprintf( unarchivecmd, "( cd %s ; %s %s %s %s ) > /dev/null", archivedir,
88- archivers[i].unarchive,
89- archivers[i].extractargs, name, doall ? "" : desiredfile );
90- if ( system(unarchivecmd)!=0 ) {
91- free(unarchivecmd); free(desiredfile);
92- ArchiveCleanup(archivedir);
93-return( NULL );
94+ command[0] = archivers[i].unarchive;
95+ command[1] = archivers[i].extractargs;
96+ command[2] = name;
97+ command[3] = doall ? "" : desiredfile;
98+ command[4] = NULL;
99+
100+ if ( g_spawn_sync(
101+ (gchar*)archivedir,
102+ command,
103+ NULL,
104+ G_SPAWN_SEARCH_PATH,
105+ NULL,
106+ NULL,
107+ &stdoutresponse,
108+ &stderrresponse,
109+ NULL,
110+ NULL
111+ ) == FALSE) { // did not successfully execute
112+ free(desiredfile);
113+ ArchiveCleanup(archivedir);
114+ return( NULL );
115 }
116- free(unarchivecmd);
117
118 finalfile = malloc( strlen(archivedir) + 1 + strlen(desiredfile) + 1);
119 sprintf( finalfile, "%s/%s", archivedir, desiredfile );
120@@ -885,20 +906,54 @@ struct compressors compressors[] = {
121
122 char *Decompress(char *name, int compression) {
123 char *dir = getenv("TMPDIR");
124- char buf[1500];
125 char *tmpfn;
126-
127+ gchar *command[4];
128+ gint stdout_pipe;
129+ gchar buffer[4096];
130+ gssize bytes_read;
131+ GByteArray *binary_data = g_byte_array_new();
132+
133 if ( dir==NULL ) dir = P_tmpdir;
134 tmpfn = malloc(strlen(dir)+strlen(GFileNameTail(name))+2);
135 strcpy(tmpfn,dir);
136 strcat(tmpfn,"/");
137 strcat(tmpfn,GFileNameTail(name));
138 *strrchr(tmpfn,'.') = '\0';
139- snprintf( buf, sizeof(buf), "%s < %s > %s", compressors[compression].decomp, name, tmpfn );
140- if ( system(buf)==0 )
141-return( tmpfn );
142- free(tmpfn);
143-return( NULL );
144+
145+ command[0] = compressors[compression].decomp;
146+ command[1] = "-c";
147+ command[2] = name;
148+ command[3] = NULL;
149+
150+ // Have to use async because g_spawn_sync doesn't handle nul-bytes in the output (which happens with binary data)
151+ if (g_spawn_async_with_pipes(
152+ NULL,
153+ command,
154+ NULL,
155+ G_SPAWN_DO_NOT_REAP_CHILD | G_SPAWN_SEARCH_PATH,
156+ NULL,
157+ NULL,
158+ NULL,
159+ NULL,
160+ &stdout_pipe,
161+ NULL,
162+ NULL) == FALSE) {
163+ //command has failed
164+ return( NULL );
165+ }
166+
167+ // Read binary data from pipe and output to file
168+ while ((bytes_read = read(stdout_pipe, buffer, sizeof(buffer))) > 0) {
169+ g_byte_array_append(binary_data, (guint8 *)buffer, bytes_read);
170+ }
171+ close(stdout_pipe);
172+
173+ FILE *fp = fopen(tmpfn, "wb");
174+ fwrite(binary_data->data, sizeof(gchar), binary_data->len, fp);
175+ fclose(fp);
176+ g_byte_array_free(binary_data, TRUE);
177+
178+ return(tmpfn);
179 }
180
181 static char *ForceFileToHaveName(FILE *file, char *exten) {
diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
index 31dd495fd7..af77ec913e 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
@@ -20,8 +20,8 @@ SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
20 file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \ 20 file://0001-fontforgeexe-Use-env-to-find-fontforge.patch \
21 file://0001-cmake-Use-alternate-way-to-detect-libm.patch \ 21 file://0001-cmake-Use-alternate-way-to-detect-libm.patch \
22 file://0001-Fix-Translations-containing-invalid-directives-hs.patch \ 22 file://0001-Fix-Translations-containing-invalid-directives-hs.patch \
23 file://CVE-2024-25081_CVE-2024-25082.patch \
23" 24"
24S = "${WORKDIR}/git"
25 25
26EXTRA_OECMAKE = "-DENABLE_DOCS=OFF" 26EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
27PACKAGECONFIG = "readline" 27PACKAGECONFIG = "readline"
diff --git a/meta-oe/recipes-graphics/fontforge/libspiro_20221101.bb b/meta-oe/recipes-graphics/fontforge/libspiro_20240903.bb
index 0adac8464e..7e07906e17 100644
--- a/meta-oe/recipes-graphics/fontforge/libspiro_20221101.bb
+++ b/meta-oe/recipes-graphics/fontforge/libspiro_20240903.bb
@@ -7,7 +7,10 @@ LICENSE = "GPL-3.0-or-later"
7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 7LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
8 8
9SRC_URI = "https://github.com/fontforge/libspiro/releases/download/${PV}/libspiro-dist-${PV}.tar.gz" 9SRC_URI = "https://github.com/fontforge/libspiro/releases/download/${PV}/libspiro-dist-${PV}.tar.gz"
10SRC_URI[sha256sum] = "5984fb5af3e4e1f927f3a74850b705a711fb86284802a5e6170b09786440e8be" 10SRC_URI[sha256sum] = "1412a21b943c6e1db834ee2d74145aad20b3f62b12152d475613b8241d9cde10"
11
12UPSTREAM_CHECK_URI = "https://github.com/fontforge/libspiro/releases"
13UPSTREAM_CHECK_REGEX = "(?P<pver>\d+)"
11 14
12inherit autotools 15inherit autotools
13 16
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch
deleted file mode 100644
index 385bff8dd1..0000000000
--- a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From e3bce98a60d6db3b719bbf5d71f732f9b86cb566 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 9 Feb 2019 08:28:09 -0800
4Subject: [PATCH] Explicit typecast to avoid implicit double to float
5 conversion
6
7fixes compile errors e.g.
8
9../../ftgl-2.1.3~rc5/demo/simple.cpp:110:27: error: non-constant-expression cannot be narrowed from type 'double' to
10 'float' in initializer list [-Wc++11-narrowing]
11 (t3 + 2.0) / 3, 0.3 };
12 ^~~~~~~~~~~~~~
13Upstream-Status: Pending
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 demo/simple.cpp | 6 +++---
17 1 file changed, 3 insertions(+), 3 deletions(-)
18
19diff --git a/demo/simple.cpp b/demo/simple.cpp
20index 532e862..aba55b4 100644
21--- a/demo/simple.cpp
22+++ b/demo/simple.cpp
23@@ -105,9 +105,9 @@ static void RenderScene(void)
24 float t2 = sin(n / 50 + 1);
25 float t3 = sin(n / 30 + 2);
26
27- float ambient[4] = { (t1 + 2.0) / 3,
28- (t2 + 2.0) / 3,
29- (t3 + 2.0) / 3, 0.3 };
30+ float ambient[4] = { float(t1 + 2.0) / 3,
31+ float(t2 + 2.0) / 3,
32+ float(t3 + 2.0) / 3, 0.3 };
33 float diffuse[4] = { 1.0, 0.9, 0.9, 1.0 };
34 float specular[4] = { 1.0, 0.7, 0.7, 1.0 };
35 float position[4] = { 100.0, 100.0, 0.0, 1.0 };
36--
372.20.1
38
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch
new file mode 100644
index 0000000000..9c91b5be19
--- /dev/null
+++ b/meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch
@@ -0,0 +1,33 @@
1From d11219b681a080c71e33c51c9404c28b134e1745 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 21 Aug 2024 13:50:34 -0700
4Subject: [PATCH] Fix type mismatch with latest FreeType
5
6This change is intrumented due to a type change in freetype [1] with release 2.13.3
7
8Fixes
9| ../../git/src/FTVectoriser.cpp:171:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'unsigned char *'
10| 171 | char* tagList = &outline.tags[startIndex];
11| | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
12
13[1] https://gitlab.freedesktop.org/freetype/freetype/-/commit/044d142be7b6a93b6940367a1bc5847451ff4775
14
15Upstream-Status: Submitted [https://github.com/HamzaM3/ftgl/pull/1]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 src/FTVectoriser.cpp | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp
22index 26e7da8..3610215 100644
23--- a/src/FTVectoriser.cpp
24+++ b/src/FTVectoriser.cpp
25@@ -168,7 +168,7 @@ void FTVectoriser::ProcessContours()
26 for(int i = 0; i < ftContourCount; ++i)
27 {
28 FT_Vector* pointList = &outline.points[startIndex];
29- char* tagList = &outline.tags[startIndex];
30+ char* tagList = (char*)&outline.tags[startIndex];
31
32 endIndex = outline.contours[i];
33 contourLength = (endIndex - startIndex) + 1;
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch
deleted file mode 100644
index e5ed0bdb86..0000000000
--- a/meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From 8bb183926078b6dd54048fb6820838fe7b6e6163 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Sun, 23 Oct 2016 22:46:43 +0200
4Subject: [PATCH] use pkg-config to find freetype2
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [OE specific]
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 configure.ac | 9 +++++++--
14 1 file changed, 7 insertions(+), 2 deletions(-)
15
16diff --git a/configure.ac b/configure.ac
17index 53560ea..b5bb6a3 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -41,8 +41,13 @@ AC_CHECK_FUNCS(strndup)
21
22 AC_PATH_X
23
24-AC_CHECK_FT2([9.0.3],[],
25- [AC_MSG_ERROR([FreeType2 is required to compile this library])])
26+PKG_CHECK_MODULES(FT2, freetype2,
27+ CFLAGS="$CFLAGS $FT2_CFLAGS"
28+ LIBS="$LIBS $FT2_LIBS",
29+ AC_MSG_ERROR([FreeType2 is required to compile this library])
30+)
31+AC_SUBST([FT2_CFLAGS])
32+AC_SUBST([FT2_LIBS])
33
34 AC_PATH_XTRA
35
36--
372.5.5
38
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch b/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch
deleted file mode 100644
index 830783e204..0000000000
--- a/meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From daabb4110661c4358ec73293d5c0b2106f567c1f Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Sun, 23 Oct 2016 23:54:14 +0200
4Subject: [PATCH] Makefile.am: remove useless and breaking code
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Pending
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 Makefile.am | 9 ---------
14 1 file changed, 9 deletions(-)
15
16diff --git a/Makefile.am b/Makefile.am
17index 89a8a7f..e582a34 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -24,15 +24,6 @@ EXTRA_DIST = \
21 m4 \
22 $(NULL)
23
24-# Print out an informative summary.
25-all-local:
26- @$(ECHO) "Done."
27- @$(ECHO)
28- @if test "x$(MAKECMDGOALS)" = "xall-am" -o "x$(.TARGETS)" = "xall-am" -o "x$(MAKECMDGOALS)" = "x" -o "x$(.TARGETS)" = "x" ; then \
29- $(ECHO) "---" ;\
30- $(ECHO) "Run 'make install' to begin installation into $(prefix)" ;\
31- fi
32- @$(ECHO)
33
34 # Upload documentation
35 DOC = docs/html docs/latex/ftgl.pdf
36--
372.5.5
38
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb b/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb
deleted file mode 100644
index 65f72747cc..0000000000
--- a/meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1SUMMARY = "OpenGL frontend to Freetype 2"
2HOMEPAGE = "https://sourceforge.net/projects/ftgl/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4"
5
6inherit autotools pkgconfig features_check
7
8REQUIRED_DISTRO_FEATURES = "opengl x11"
9
10DEPENDS += " \
11 freetype \
12 freeglut \
13"
14
15SRC_URI = " \
16 ${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
17 file://0001-use-pkg-config-to-find-freetype2.patch \
18 file://0002-Makefile.am-remove-useless-and-breaking-code.patch \
19 file://0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch \
20"
21SRC_URI[md5sum] = "c7879018cde844059495b3029b0b6503"
22SRC_URI[sha256sum] = "521ff7bd62c459ff5372e269c223e2a6107a6a99a36afdc2ae634a973af70c59"
23
24S = "${WORKDIR}/ftgl-2.1.3~rc5"
25
26# undefined reference to symbol 'sin@@GLIBC_2.4'
27CFLAGS += "-lm"
diff --git a/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb b/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb
new file mode 100644
index 0000000000..c5c547186f
--- /dev/null
+++ b/meta-oe/recipes-graphics/ftgl/ftgl_2.4.0.bb
@@ -0,0 +1,19 @@
1SUMMARY = "OpenGL frontend to Freetype 2"
2HOMEPAGE = "https://sourceforge.net/projects/ftgl/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4"
5
6inherit autotools pkgconfig features_check
7
8REQUIRED_DISTRO_FEATURES = "opengl x11"
9
10DEPENDS += " \
11 freetype \
12 freeglut \
13"
14SRCREV = "b787042cc1d1e4861337d5f9a6727e4c6900a4f2"
15PV .= "+git"
16
17SRC_URI = "git://github.com/HamzaM3/ftgl;protocol=https;branch=master \
18 file://0001-Fix-type-mismatch-with-latest-FreeType.patch"
19
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
index df349494aa..959463e962 100644
--- a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
+++ b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
@@ -41,7 +41,6 @@ SRC_URI = " \
41 41
42SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" 42SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46"
43 43
44S = "${WORKDIR}/git"
45 44
46inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check 45inherit autotools gettext update-alternatives pkgconfig python3native perlnative features_check
47# depends on virtual/libx11 46# depends on virtual/libx11
@@ -72,6 +71,8 @@ EXTRA_OECONF = " \
72 --without-xpm-library \ 71 --without-xpm-library \
73 ac_cv_func_mkstemp=no \ 72 ac_cv_func_mkstemp=no \
74 has_safety_mkstemp=yes \ 73 has_safety_mkstemp=yes \
74 ac_cv_path_FVWM_CPP=cpp \
75 ac_cv_path_PERL=perl \
75" 76"
76 77
77# show the exact commands in the log file 78# show the exact commands in the log file
@@ -90,6 +91,7 @@ do_install:append() {
90 sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-* 91 sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${bindir}/fvwm-*
91 sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm* 92 sed -i -e 's:${STAGING_BINDIR_NATIVE}/perl-native/perl:${USRBINPATH}/env perl:g' ${D}${libexecdir}/fvwm/*/Fvwm*
92 sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop 93 sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/fvwm-menu-desktop
94 sed -i -e 's:${WORKDIR}::g' ${D}${bindir}/fvwm-bug
93} 95}
94 96
95# the only needed packages (note: locale packages are automatically generated 97# the only needed packages (note: locale packages are automatically generated
diff --git a/meta-oe/recipes-graphics/glad/glad_2.0.8.bb b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb
new file mode 100644
index 0000000000..ea4ee6eac6
--- /dev/null
+++ b/meta-oe/recipes-graphics/glad/glad_2.0.8.bb
@@ -0,0 +1,11 @@
1SUMMARY = "Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specifications for multiple languages."
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=ae570f26774ac096cff8f992091a223c"
4
5SRC_URI = "git://github.com/Dav1dde/glad.git;protocol=https;branch=glad2"
6SRCREV = "73db193f853e2ee079bf3ca8a64aa2eaf6459043"
7
8inherit python_setuptools_build_meta
9
10BBCLASSEXTEND = "native nativesdk"
11RDEPENDS:${PN} = "python3 python3-jinja2"
diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
index e313d7a192..e6fd0edd21 100644
--- a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
+++ b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
@@ -20,7 +20,6 @@ SRC_URI = " \
20SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447" 20SRCREV = "efec5db081e3aad807d0731e172ac597f6a39447"
21PV .= "+0.9.9.9+git" 21PV .= "+0.9.9.9+git"
22 22
23S = "${WORKDIR}/git"
24 23
25inherit cmake 24inherit cmake
26 25
diff --git a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
index 513845194d..63993bfbeb 100644
--- a/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
+++ b/meta-oe/recipes-graphics/gphoto2/gphoto2_2.5.28.bb
@@ -19,3 +19,6 @@ EXTRA_OECONF += "--with-jpeg-prefix=${STAGING_INCDIR} \
19 --without-cdk \ 19 --without-cdk \
20" 20"
21 21
22do_compile:prepend() {
23 sed -i -e 's/--sysroot=[^ "]*//g' ${B}/config.h
24}
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch
deleted file mode 100644
index fd647b7386..0000000000
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 31a5d2f7db18737aef08c34e8707b4f69f7e5156 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Sun, 21 Oct 2012 17:59:20 +0200
4Subject: [PATCH] configure.ac: remove AM_PO_SUBDIRS
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9together with oe autotools.bbclass this is done twice and causes:
10
11| autoreconf: running: aclocal --system-acdir=/home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/aclocal-copy/ --automake-acdir=/home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ --force -I auto-m4 -I m4m
12| configure.ac:230: error: `po-directories' is already registered with AC_CONFIG_COMMANDS.
13
14Upstream-Status: Inappropriate [configuration]
15
16Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
17---
18 configure.ac | 1 -
19 libgphoto2_port/configure.ac | 1 -
20 2 files changed, 0 insertions(+), 2 deletions(-)
21
22--- a/configure.ac
23+++ b/configure.ac
24@@ -282,7 +282,6 @@ dnl ------------------------------------
25 GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2],
26 [${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}],
27 [po])
28-AM_PO_SUBDIRS()
29 AM_GNU_GETTEXT_VERSION([0.19.1])
30 AM_GNU_GETTEXT([external])
31 AM_ICONV()
32--- a/libgphoto2_port/configure.ac
33+++ b/libgphoto2_port/configure.ac
34@@ -122,7 +122,6 @@ dnl ------------------------------------
35 GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2_PORT],
36 [${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}],
37 [po])
38-AM_PO_SUBDIRS()
39 AM_GNU_GETTEXT_VERSION([0.19.1])
40 AM_GNU_GETTEXT([external])
41 AM_ICONV()
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
index 57c9d199eb..0b58e8e75f 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
@@ -11,7 +11,6 @@ DEPENDS = "libtool jpeg virtual/libusb0 libexif zlib libxml2"
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 \ 12SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 \
13 file://40-libgphoto2.rules \ 13 file://40-libgphoto2.rules \
14 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \
15 file://0001-configure-Filter-out-buildpaths-from-CC.patch \ 14 file://0001-configure-Filter-out-buildpaths-from-CC.patch \
16 file://fix-build-with-gcc-14.patch \ 15 file://fix-build-with-gcc-14.patch \
17" 16"
@@ -25,18 +24,6 @@ PACKAGECONFIG ??= ""
25PACKAGECONFIG[gd] = ",--without-gdlib,gd" 24PACKAGECONFIG[gd] = ",--without-gdlib,gd"
26PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" 25PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev"
27 26
28do_configure:prepend() {
29 rm -rf ${S}/libgphoto2_port/auto-m4/*
30 rm -rf ${S}/auto-m4/*
31}
32
33do_configure:append() {
34 cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/
35 cd ${S}/libgphoto2_port/
36 autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths
37 cd ${S}
38}
39
40do_install:append() { 27do_install:append() {
41 install -d ${D}${sysconfdir}/udev/rules.d/ 28 install -d ${D}${sysconfdir}/udev/rules.d/
42 install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ 29 install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
@@ -49,6 +36,4 @@ RRECOMMENDS:${PN} = "libgphoto2-camlibs"
49FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*" 36FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*"
50 37
51FILES:${PN} += "${nonarch_base_libdir}/udev/*" 38FILES:${PN} += "${nonarch_base_libdir}/udev/*"
52FILES:${PN}-dbg += "${libdir}/*/*/.debug"
53FILES:${PN}-dev += "${libdir}/*/*/*.la"
54FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt" 39FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt"
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch
deleted file mode 100644
index 0d3f412706..0000000000
--- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 671e0d091b40ef7deb4a9d43e0dbed2a44edbec8 Mon Sep 17 00:00:00 2001
2From: Matthew Fernandez <matthew.fernandez@gmail.com>
3Date: Sat, 9 Sep 2023 01:03:04 -0700
4Subject: [PATCH] Autotools: fix: do not put '$prefix' based paths in
5 compilation flags
6
7This was causing problems with cross-compilation with a dedicated sysroot,
8because compilation would incorrectly use headers and libraries from the
9`--prefix` path. The `--prefix` path is meant to indicate a target path to
10install to, not a path from which to source dependent libraries.
11
12Gitlab: fixes #2442
13Reported-by: Daniel Klauer
14Suggested-by: Daniel Klauer
15
16Upstream-Status: Backport [https://gitlab.com/graphviz/graphviz/-/commit/012d250a903e13114bce3ba40995fb957fed7848]
17Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
18---
19 CHANGELOG.md | 3 +++
20 configure.ac | 8 --------
21 2 files changed, 3 insertions(+), 8 deletions(-)
22
23diff --git a/CHANGELOG.md b/CHANGELOG.md
24index b9b7e8e08..3a15fd256 100644
25--- a/CHANGELOG.md
26+++ b/CHANGELOG.md
27@@ -39,6 +39,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
28 longer fails due to missing PHP files. #2388
29 - Syntax for a loop in `gvmap.sh` has been corrected. This was a regression in
30 Graphviz 2.50.0. #2404
31+- The Autotools build system no longer uses headers and libraries from the
32+ `--prefix` path given on the command line. This previously caused
33+ cross-compilation to incorrectly pick up host headers and libraries. #2442
34
35 ## [8.0.5] – 2023-04-30
36
37diff --git a/configure.ac b/configure.ac
38index 573a3ee5d..7d53346de 100644
39--- a/configure.ac
40+++ b/configure.ac
41@@ -190,14 +190,6 @@ if test "x${prefix}" = "xNONE"; then
42 AC_SUBST([prefix])
43 fi
44
45-# automatically check for other dependencies in $prefix first
46-if test "x${prefix}" != "x/usr"; then
47- CPPFLAGS="$CPPFLAGS -I${prefix}/include"
48- LDFLAGS="$LDFLAGS -L${prefix}/lib"
49- PKG_CONFIG_PATH="$prefix/lib/pkgconfig$PATHSEPARATOR$PKG_CONFIG_PATH"
50- export PKG_CONFIG_PATH
51-fi
52-
53 dnl -----------------------------------
54 # Static/Shared binaries
55
56--
572.34.1
58
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch b/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch
deleted file mode 100644
index 99b53e2e12..0000000000
--- a/meta-oe/recipes-graphics/graphviz/graphviz/0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 564901ab78da2b2b1bed92351dc3c102dc0a8154 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 6 Aug 2019 17:51:39 -0700
4Subject: [PATCH] Set use_tcl to be empty string if tcl is disabled
5
6Upstream-Status: Inappropriate [Cross-compile specific]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 configure.ac | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12--- a/configure.ac
13+++ b/configure.ac
14@@ -1225,7 +1225,7 @@ AC_ARG_ENABLE(tcl,
15 [], [enable_tcl=yes])
16
17 if test "x$enable_tcl" != "xyes"; then
18- use_tcl="No (disabled)"
19+ use_tcl=""
20 fi
21
22 if test "x$use_tcl" = "x"; then
23--- a/Makefile.am
24+++ b/Makefile.am
25@@ -11,7 +11,7 @@ pkginclude_HEADERS = $(top_builddir)/gra
26 dist_man_MANS = graphviz.7
27
28 # $(subdirs) contains the list from: AC_CONFIG_SUBDIRS
29-SUBDIRS = $(subdirs) lib plugin cmd tclpkg doc contrib share graphs tests
30+SUBDIRS = $(subdirs) lib plugin cmd doc contrib share graphs tests
31
32 .PHONY: doxygen
33 doxygen:
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_12.2.1.bb
index 38d738310e..cccbbe75f7 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_12.2.1.bb
@@ -19,16 +19,14 @@ DEPENDS:append:class-nativesdk = " ${BPN}-native"
19inherit autotools-brokensep pkgconfig gettext qemu 19inherit autotools-brokensep pkgconfig gettext qemu
20 20
21SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \ 21SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.tar.xz \
22 file://0001-Autotools-fix-do-not-put-prefix-based-paths-in-compi.patch \
23 " 22 "
24# Use native mkdefs
25SRC_URI:append:class-target = "\
26 file://0001-Set-use_tcl-to-be-empty-string-if-tcl-is-disabled.patch \
27"
28SRC_URI:append:class-nativesdk = "\ 23SRC_URI:append:class-nativesdk = "\
29 file://graphviz-setup.sh \ 24 file://graphviz-setup.sh \
30" 25"
31SRC_URI[sha256sum] = "d593695fdaa8a19297523b679ad13d3ef2027b0b7f14cc2bc23e77969ed81565" 26SRC_URI[sha256sum] = "85e34b5c982777c30f01dfab9ea7c713b4335a2f584e62c0abb9868413eb915b"
27
28UPSTREAM_CHECK_URI = "https://graphviz.org/download/"
29UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
32 30
33PACKAGECONFIG ??= "librsvg" 31PACKAGECONFIG ??= "librsvg"
34PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg" 32PACKAGECONFIG[librsvg] = "--with-librsvg,--without-librsvg,librsvg"
@@ -40,6 +38,7 @@ EXTRA_OECONF:class-target = "\
40 --with-expatlibdir=${STAGING_LIBDIR} \ 38 --with-expatlibdir=${STAGING_LIBDIR} \
41 --without-included-ltdl \ 39 --without-included-ltdl \
42 --disable-java \ 40 --disable-java \
41 --disable-perl \
43 --disable-tcl \ 42 --disable-tcl \
44 --disable-r \ 43 --disable-r \
45 --disable-sharp \ 44 --disable-sharp \
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
index 30964a1b9a..ef9b194f9a 100644
--- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
@@ -11,12 +11,14 @@ SRC_URI = "http://prdownloads.sourceforge.net/${BPN}/${BPN}_${PV}.tar.gz \
11 file://0001-main.c-Define-prototype-for-setup_appdata.patch \ 11 file://0001-main.c-Define-prototype-for-setup_appdata.patch \
12 " 12 "
13 13
14SRC_URI[md5sum] = "4331dde4bb83865e15482885fcb0cc53"
15SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b" 14SRC_URI[sha256sum] = "9704344e732038eecbd007dd996a56293a6b027b5b76f3f036273a3fae1ab27b"
16 15
16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gtkperf/files/gtkperf/"
17UPSTREAM_CHECK_REGEX = "${BPN}_(?P<pver>\d+(\.\d+)+)"
18
17DEPENDS = "gtk+" 19DEPENDS = "gtk+"
18 20
19S = "${WORKDIR}/${BPN}" 21S = "${UNPACKDIR}/${BPN}"
20 22
21inherit features_check autotools binconfig pkgconfig gettext 23inherit features_check autotools binconfig pkgconfig gettext
22 24
diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.119.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb
index 0b1b054041..f912686c41 100644
--- a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.119.bb
+++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.122.bb
@@ -6,8 +6,8 @@ LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
7 7
8SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz" 8SRC_URI = "http://gtkwave.sourceforge.net/gtkwave-gtk3-${PV}.tar.gz"
9SRC_URI[sha256sum] = "eab3e09e7641115c07848bfb30f7dd0c3bbe2b8cbe45017e95e077dbba6ac038" 9SRC_URI[sha256sum] = "6201b5f93dcaeafa92fc0ec4ad4baeaf60acf16fc8f019bbf061cf4ebf27938a"
10S = "${WORKDIR}/${BPN}-gtk3-${PV}" 10S = "${UNPACKDIR}/${BPN}-gtk3-${PV}"
11 11
12DEPENDS = " \ 12DEPENDS = " \
13 gperf-native \ 13 gperf-native \
@@ -33,12 +33,15 @@ REQUIRED_DISTRO_FEATURES = "wayland x11"
33 33
34EXTRA_OECONF = " \ 34EXTRA_OECONF = " \
35 --enable-gtk3 \ 35 --enable-gtk3 \
36 --with-tcl=${STAGING_BINDIR_CROSS} \
37 --with-tk=${STAGING_BINDIR_CROSS} \
38 --with-tirpc \ 36 --with-tirpc \
39 --disable-mime-update \ 37 --disable-mime-update \
40" 38"
41 39
40PACKAGECONFIG = ""
41
42PACKAGECONFIG[tcl] = "--with-tcl=${STAGING_BINDIR_CROSS},--disable-tcl,tcl"
43PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS},--disable-tcl,tk"
44
42FILES:${PN} = "${bindir} ${datadir}" 45FILES:${PN} = "${bindir} ${datadir}"
43 46
44RDEPENDS:${PN} += "tk-lib" 47RDEPENDS:${PN} += "tk-lib"
diff --git a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
index 87e7ed4a6b..66e9f8a0c4 100644
--- a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
+++ b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
@@ -7,15 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=344895f253c32f38e182dcaf30fe8a35"
7 7
8DEPENDS = "freetype " 8DEPENDS = "freetype "
9PROVIDES = "virtual/imlib2" 9PROVIDES = "virtual/imlib2"
10PV = "1.12.2" 10PV = "1.12.5"
11SRCREV = "a860e34b19af6b0a73d86ddc0e4829145e18fa6e" 11SRCREV = "df73df52ddf0e1ea40507f5ee8c6b794b328b3bc"
12 12
13inherit autotools pkgconfig lib_package 13inherit autotools pkgconfig lib_package
14 14
15AUTO_LIBNAME_PKGS = "" 15AUTO_LIBNAME_PKGS = ""
16 16
17SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master" 17SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master"
18S = "${WORKDIR}/git"
19 18
20PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 19PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
21 20
diff --git a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb
index 5281980ecb..4796a85190 100644
--- a/meta-oe/recipes-graphics/jasper/jasper_4.1.1.bb
+++ b/meta-oe/recipes-graphics/jasper/jasper_4.2.4.bb
@@ -3,13 +3,11 @@ HOMEPAGE = "https://jasper-software.github.io/jasper/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb" 4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a80440d1d8f17d041c71c7271d6e06eb"
5 5
6SRC_URI = "git://github.com/jasper-software/jasper.git;protocol=https;branch=master" 6SRC_URI = "https://github.com/jasper-software/${BPN}/releases/download/version-${PV}/${BP}.tar.gz"
7SRCREV = "917f7708b755d8434f70618108c1a76f1b6a0a82" 7SRC_URI[sha256sum] = "6a597613d8d84c500b5b83bf0eec06cd3707c23d19957f70354ac2394c9914e7"
8 8
9CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 9CVE_STATUS[CVE-2015-8751] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
10 10
11S = "${WORKDIR}/git"
12
13inherit cmake multilib_header 11inherit cmake multilib_header
14 12
15do_configure:prepend() { 13do_configure:prepend() {
@@ -31,4 +29,3 @@ do_install:append() {
31 chrpath -d ${D}${libdir}/libjasper.so.* 29 chrpath -d ${D}${libdir}/libjasper.so.*
32 oe_multilib_header jasper/jas_config.h 30 oe_multilib_header jasper/jas_config.h
33} 31}
34
diff --git a/meta-oe/recipes-graphics/leptonica/leptonica_1.82.0.bb b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb
index c0a2b45a48..2e1a3642ad 100644
--- a/meta-oe/recipes-graphics/leptonica/leptonica_1.82.0.bb
+++ b/meta-oe/recipes-graphics/leptonica/leptonica_1.85.0.bb
@@ -4,9 +4,10 @@ LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f" 4LIC_FILES_CHKSUM = "file://leptonica-license.txt;md5=809b282cea2df68975fbe0ffe02b560f"
5 5
6UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases" 6UPSTREAM_CHECK_URI = "https://github.com/DanBloomberg/leptonica/releases"
7UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
7 8
8SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz" 9SRC_URI = "http://www.leptonica.org/source/leptonica-${PV}.tar.gz"
9SRC_URI[sha256sum] = "155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6" 10SRC_URI[sha256sum] = "3745ae3bf271a6801a2292eead83ac926e3a9bc1bf622e9cd4dd0f3786e17205"
10 11
11EXTRA_OECONF += " \ 12EXTRA_OECONF += " \
12 --without-libwebp \ 13 --without-libwebp \
diff --git a/meta-oe/recipes-graphics/libdecor/libdecor_0.2.2.bb b/meta-oe/recipes-graphics/libdecor/libdecor_0.2.3.bb
index 6621389b5a..35deb8d2aa 100644
--- a/meta-oe/recipes-graphics/libdecor/libdecor_0.2.2.bb
+++ b/meta-oe/recipes-graphics/libdecor/libdecor_0.2.3.bb
@@ -2,9 +2,7 @@ SUMMARY = "libdecor - A client-side decorations library for Wayland clients"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=7ae2be7fb1637141840314b51970a9f7"
4 4
5SRC_URI = " \ 5SRC_URI = "git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=libdecor-0.2;tag=${PV}"
6 git://gitlab.freedesktop.org/libdecor/libdecor.git;protocol=https;branch=master \
7"
8 6
9DEPENDS = " \ 7DEPENDS = " \
10 cairo \ 8 cairo \
@@ -14,8 +12,7 @@ DEPENDS = " \
14 wayland-protocols \ 12 wayland-protocols \
15" 13"
16 14
17S = "${WORKDIR}/git" 15SRCREV = "15afd30a6e23e949d022ff18f17dd7fdbd3361e4"
18SRCREV = "7807ae3480f5c6a37c5e8505d94af1e764aaf704"
19 16
20PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}" 17PACKAGECONFIG ?= "dbus ${@bb.utils.filter('DISTRO_FEATURES', 'gtk+3', d)}"
21 18
diff --git a/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb b/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb
index 251c07adf0..e59de6f0ca 100644
--- a/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb
+++ b/meta-oe/recipes-graphics/libforms/libforms_1.2.5pre1.bb
@@ -18,9 +18,14 @@ inherit autotools features_check
18 18
19REQUIRED_DISTRO_FEATURES = "opengl x11" 19REQUIRED_DISTRO_FEATURES = "opengl x11"
20 20
21S = "${WORKDIR}/xforms-${PV}" 21S = "${UNPACKDIR}/xforms-${PV}"
22 22
23DEPENDS = "libxpm jpeg libx11 virtual/libgl" 23DEPENDS = "libxpm jpeg libx11 virtual/libgl"
24RDEPENDS:${PN} = "bash" 24RDEPENDS:${PN} = "bash"
25 25
26EXTRA_OECONF = "--with-extra-inc=${S}/lib" 26EXTRA_OECONF = "--with-extra-inc=${S}/lib"
27
28do_compile:append() {
29 sed -i -e 's|${B}|.|' ${B}/fd2ps/fd2ps
30 sed -i -e 's|${B}|.|' ${B}/fdesign/fdesign
31}
diff --git a/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb b/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb
deleted file mode 100644
index 4094aa4fc6..0000000000
--- a/meta-oe/recipes-graphics/libglvnd/libglvnd_1.7.0.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1DESCRIPTION = "libglvnd is a vendor-neutral dispatch layer for arbitrating \
2OpenGL API calls between multiple vendors."
3HOMEPAGE = "https://gitlab.freedesktop.org/glvnd/libglvnd"
4LICENSE = "MIT & BSD-1-Clause & BSD-3-Clause & GPL-3.0-with-autoconf-exception"
5LIC_FILES_CHKSUM = "file://README.md;beginline=323;md5=7ac5f0111f648b92fe5427efeb08e8c4"
6
7SRC_URI = "git://git@gitlab.freedesktop.org/glvnd/libglvnd.git;protocol=https;branch=master"
8
9# v1.5.0 tag
10SRCREV = "faa23f21fc677af5792825dc30cb1ccef4bf33a6"
11
12REQUIRED_DISTRO_FEATURES = "opengl"
13
14inherit meson pkgconfig features_check
15
16S = "${WORKDIR}/git"
17
18PACKAGECONFIG ?= "\
19 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl gles1 gles2', '', d)} \
21 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \
22 "
23
24PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,libx11 libxext xorgproto"
25PACKAGECONFIG[glx] = "-Dglx=enabled,-Dglx=disabled,libx11 libxext xorgproto"
26PACKAGECONFIG[egl] = "-Degl=true,-Degl=false,"
27PACKAGECONFIG[gles1] = "-Dgles1=true,-Dgles1=false,"
28PACKAGECONFIG[gles2] = "-Dgles2=true,-Dgles2=false,"
29
30BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
index ba928d281d..c92696b8bf 100644
--- a/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
+++ b/meta-oe/recipes-graphics/libmng/libmng_2.0.3.bb
@@ -10,9 +10,11 @@ DEPENDS = "zlib"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz" 11SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz"
12 12
13SRC_URI[md5sum] = "7e9a12ba2a99dff7e736902ea07383d4"
14SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa" 13SRC_URI[sha256sum] = "cf112a1fb02f5b1c0fce5cab11ea8243852c139e669c44014125874b14b7dfaa"
15 14
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/libmng/files/libmng-devel/"
16UPSTREAM_CHECK_REGEX = "libmng-devel/(?P<pver>\d+(\.\d+)+)"
17
16inherit autotools-brokensep pkgconfig 18inherit autotools-brokensep pkgconfig
17 19
18PACKAGECONFIG ??= "jpeg" 20PACKAGECONFIG ??= "jpeg"
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.27.bb
index 666442fba2..d707b6c9b4 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.25.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-gfx_2.0.27.bb
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d1de21f0b70830e299905eac3419084"
6DEPENDS = "libsdl" 6DEPENDS = "libsdl"
7 7
8SRC_URI = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz" 8SRC_URI = "http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-${PV}.tar.gz"
9SRC_URI[md5sum] = "ea24ed4b82ff1304809c363494fa8e16" 9SRC_URI[sha256sum] = "dfb15ac5f8ce7a4952dc12d2aed9747518c5e6b335c0e31636d23f93c630f419"
10SRC_URI[sha256sum] = "556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0"
11 10
12S = "${WORKDIR}/SDL_gfx-${PV}" 11UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/sdlgfx/files/"
12
13S = "${UNPACKDIR}/SDL_gfx-${PV}"
13 14
14inherit autotools pkgconfig 15inherit autotools pkgconfig
15 16
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
index 01137bb0ca..29fb8cb4aa 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-image_1.2.12.bb
@@ -11,7 +11,7 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL_image-${PV}.tar.
11 file://configure.patch" 11 file://configure.patch"
12SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699" 12SRC_URI[sha256sum] = "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
13 13
14S = "${WORKDIR}/SDL_image-${PV}" 14S = "${UNPACKDIR}/SDL_image-${PV}"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17 17
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb b/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb
index a470ee81d0..d87c15aebc 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-mixer_1.2.12.bb
@@ -8,10 +8,9 @@ SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.
8 file://configure.patch \ 8 file://configure.patch \
9" 9"
10 10
11SRC_URI[md5sum] = "e03ff73d77a55e3572ad0217131dc4a1"
12SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" 11SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
13 12
14S = "${WORKDIR}/SDL_mixer-${PV}" 13S = "${UNPACKDIR}/SDL_mixer-${PV}"
15 14
16inherit autotools-brokensep pkgconfig 15inherit autotools-brokensep pkgconfig
17 16
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb
index 49b1ef2879..ef4d13ebb6 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-net_1.2.8.bb
@@ -14,7 +14,6 @@ SRC_URI = " \
14 file://am_foreign.patch \ 14 file://am_foreign.patch \
15" 15"
16 16
17S = "${WORKDIR}/SDL_net-${PV}" 17S = "${UNPACKDIR}/SDL_net-${PV}"
18 18
19SRC_URI[md5sum] = "20e64e61d65662db66c379034f11f718"
20SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4" 19SRC_URI[sha256sum] = "5f4a7a8bb884f793c278ac3f3713be41980c5eedccecff0260411347714facb4"
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb b/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb
index 797c38d8e1..2cf3e88f17 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-ttf_2.0.11.bb
@@ -7,10 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=22800d1b3701377aae0b61ee36f5c303"
7SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ 7SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
8 file://use.pkg-config.for.freetype2.patch \ 8 file://use.pkg-config.for.freetype2.patch \
9" 9"
10SRC_URI[md5sum] = "61e29bd9da8d245bc2471d1b2ce591aa"
11SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7" 10SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
12 11
13S = "${WORKDIR}/SDL_ttf-${PV}" 12S = "${UNPACKDIR}/SDL_ttf-${PV}"
14 13
15inherit autotools pkgconfig 14inherit autotools pkgconfig
16 15
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb
deleted file mode 100644
index 267311853a..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb
+++ /dev/null
@@ -1,30 +0,0 @@
1SUMMARY = "Simple DirectMedia Layer image library v2"
2SECTION = "libs"
3
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f6d9e01c97958aa851954ed5acf82ee"
6
7DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp"
8
9SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz"
10SRC_URI[sha256sum] = "8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc"
11
12S = "${WORKDIR}/SDL2_image-${PV}"
13
14inherit autotools pkgconfig
15
16# Disable the run-time loading of the libs and bring back the soname dependencies.
17EXTRA_OECONF += "--disable-jpg-shared --disable-png-shared -disable-tif-shared"
18
19do_configure:prepend() {
20 # make autoreconf happy
21 touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
22 # Removing these files fixes a libtool version mismatch.
23 rm -f ${S}/acinclude/libtool.m4
24 rm -f ${S}/acinclude/sdl2.m4
25 rm -f ${S}/acinclude/pkg.m4
26 rm -f ${S}/acinclude/lt~obsolete.m4
27 rm -f ${S}/acinclude/ltoptions.m4
28 rm -f ${S}/acinclude/ltsugar.m4
29 rm -f ${S}/acinclude/ltversion.m4
30}
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb
new file mode 100644
index 0000000000..c15e986dc3
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.8.bb
@@ -0,0 +1,16 @@
1SUMMARY = "Simple DirectMedia Layer image library v2"
2SECTION = "libs"
3
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
6
7DEPENDS = "tiff zlib libpng jpeg virtual/libsdl2 libwebp"
8
9SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz"
10SRC_URI[sha256sum] = "2213b56fdaff2220d0e38c8e420cbe1a83c87374190cba8c70af2156097ce30a"
11
12S = "${UNPACKDIR}/SDL2_image-${PV}"
13
14inherit cmake pkgconfig
15
16FILES:${PN} += "${datadir}/licenses"
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch
deleted file mode 100644
index 0605b32e30..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 9363c98528ef850235852e44f678df6b5c011ee1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 7 Feb 2021 18:08:36 -0800
4Subject: [PATCH] configure.in: Undefine AC_CONFIG_AUX_DIR
5
6This helps reconfiguring with autotools 2.70+
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 configure.in | 5 -----
12 1 file changed, 5 deletions(-)
13
14--- a/configure.in
15+++ b/configure.in
16@@ -1,7 +1,6 @@
17 dnl Process this file with autoconf to produce a configure script.
18 AC_INIT(README.txt)
19 AC_CONFIG_AUX_DIR(build-scripts)
20-
21 dnl Set various version strings - taken gratefully from the GTk sources
22
23 # Making releases:
24@@ -40,10 +39,6 @@ AC_SUBST(LT_CURRENT)
25 AC_SUBST(LT_REVISION)
26 AC_SUBST(LT_AGE)
27
28-dnl Detect the canonical build and host environments
29-AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
30-dnl AC_CANONICAL_HOST
31-
32 dnl Check for tools
33 AC_PROG_LIBTOOL
34 AC_PROG_CC
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb
deleted file mode 100644
index dbcb2a193b..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1SUMMARY = "Simple DirectMedia Layer mixer library V2"
2SECTION = "libs"
3DEPENDS = "libsdl2 flac libmikmod libvorbis"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \
8 file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \
9 "
10SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419"
11
12S = "${WORKDIR}/SDL2_mixer-${PV}"
13
14inherit autotools-brokensep pkgconfig
15
16EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}"
17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
20
21do_configure:prepend () {
22 # Remove old libtool macros.
23 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
24 for i in ${MACROS}; do
25 rm -f acinclude/$i
26 done
27}
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb
new file mode 100644
index 0000000000..46e6ba0774
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb
@@ -0,0 +1,33 @@
1SUMMARY = "Simple DirectMedia Layer mixer library V2"
2SECTION = "libs"
3DEPENDS = "virtual/libsdl2"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz"
8SRC_URI[sha256sum] = "cb760211b056bfe44f4a1e180cc7cb201137e4d1572f2002cc1be728efd22660"
9
10S = "${UNPACKDIR}/SDL2_mixer-${PV}"
11
12inherit cmake pkgconfig
13
14do_configure:prepend() {
15 # cmake checks for these binaries. Touch them to pass the tests and add RDEPENDS
16 touch ${STAGING_BINDIR}/fluidsynth
17 touch ${STAGING_BINDIR}/wavpack
18 touch ${STAGING_BINDIR}/wvunpack
19 touch ${STAGING_BINDIR}/wvgain
20 touch ${STAGING_BINDIR}/wvtag
21}
22
23PACKAGECONFIG ?= "flac wave vorbis"
24PACKAGECONFIG[opusfile] = "-DSDL2MIXER_OPUS=ON -DSDL2MIXER_OPUS_ENABLED=ON, -DSDL2MIXER_OPUS=OFF,opusfile"
25PACKAGECONFIG[vorbis] = "-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE=ON, -DSDL2MIXER_VORBIS=OFF,libvorbis"
26PACKAGECONFIG[flac] = "-DSDL2MIXER_FLAC=ON, -DSDL2MIXER_FLAC=OFF,flac"
27PACKAGECONFIG[xmp] = "-DSDL2MIXER_MOD=ON -DSDL2MIXER_MOD_XMP=ON, -DSDL2MIXER_MOD=OFF,libxmp,libxmp"
28PACKAGECONFIG[fluidsynth] = "-DSDL2MIXER_MIDI=ON -DSDL2MIXER_MIDI_FLUIDSYNTH_ENABLED=ON, -DSDL2MIXER_MIDI=OFF,fluidsynth,fluidsynth-bin"
29PACKAGECONFIG[wave] = "-DSDL2MIXER_WAVE=ON -DSDL2MIXER_WAVPACK=ON, -DSDL2MIXER_WAVE=OFF,wavpack,wavpack wavpack-bin"
30PACKAGECONFIG[mpg123] = "-DSDL2MIXER_MP3=ON -DSDL2MIXER_MP3_MPG123=ON, -DSDL2MIXER_MP3=OFF,mpg123"
31
32FILES:${PN} += "${datadir}/licenses"
33
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb
deleted file mode 100644
index 35369e8731..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.0.1.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1DESCRIPTION = "Simple DirectMedia Layer networking library."
2SECTION = "libs/network"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127"
5
6SRC_URI = " \
7 https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
8"
9S = "${WORKDIR}/SDL2_net-${PV}"
10
11inherit autotools pkgconfig
12
13DEPENDS = "libsdl2"
14
15SRC_URI[md5sum] = "5c1d9d1cfa63301b141cb5c0de2ea7c4"
16SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21"
17
18do_configure:prepend() {
19 # create dummy files which autotools consider as mandatory
20 touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
21
22 # Remove old libtool macros.
23 for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
24 echo ${S}/acinclude/macro
25 rm -f ${S}/acinclude/$macro
26 done
27}
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb
new file mode 100644
index 0000000000..4a7ada94cb
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-net_2.2.0.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "Simple DirectMedia Layer networking library."
2SECTION = "libs/network"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=68a088513da90254b2fbe664f42af315"
5
6SRC_URI = " \
7 https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
8"
9S = "${UNPACKDIR}/SDL2_net-${PV}"
10
11inherit cmake pkgconfig
12
13DEPENDS = "virtual/libsdl2"
14
15SRC_URI[sha256sum] = "4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb"
16
17FILES:${PN} += "${datadir}/licenses"
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch
deleted file mode 100644
index 8cb76c35d6..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/0001-freetype-Fix-function-signatures-to-match-without-ca.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1From 6c52693d264ca3dc8e15a92f56cf3a636639bb6c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <martin@martin.st>
3Date: Fri, 28 Oct 2022 22:17:15 +0300
4Subject: [PATCH] freetype: Fix function signatures to match without casts
5
6Clang 16 has got a new stricter warning for casts of function types
7(see https://github.com/llvm/llvm-project/commit/1aad641c793090b4d036c03e737df2ebe2c32c57).
8
9This new warning gets included as part of the existing error
10diagnostic setting of -Wcast-function-type.
11
12This fixes errors like these:
13
14../src/hb-ft.cc:1011:34: error: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
15 ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize;
16 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
18Upstream-Status: Backport [https://github.com/harfbuzz/harfbuzz/commit/d88269c827895b38f99f7cf741fa60210d4d5169]
19---
20 src/hb-ft.cc | 10 ++++++----
21 1 file changed, 6 insertions(+), 4 deletions(-)
22
23diff --git a/src/hb-ft.cc b/src/hb-ft.cc
24index a6beb9f0f..a35e75b18 100644
25--- a/src/hb-ft.cc
26+++ b/src/hb-ft.cc
27@@ -729,8 +729,9 @@ hb_ft_face_create_referenced (FT_Face ft_face)
28 }
29
30 static void
31-hb_ft_face_finalize (FT_Face ft_face)
32+hb_ft_face_finalize (void *arg)
33 {
34+ FT_Face ft_face = (FT_Face) arg;
35 hb_face_destroy ((hb_face_t *) ft_face->generic.data);
36 }
37
38@@ -762,7 +763,7 @@ hb_ft_face_create_cached (FT_Face ft_face)
39 ft_face->generic.finalizer (ft_face);
40
41 ft_face->generic.data = hb_ft_face_create (ft_face, nullptr);
42- ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize;
43+ ft_face->generic.finalizer = hb_ft_face_finalize;
44 }
45
46 return hb_face_reference ((hb_face_t *) ft_face->generic.data);
47@@ -949,8 +950,9 @@ get_ft_library ()
48 }
49
50 static void
51-_release_blob (FT_Face ft_face)
52+_release_blob (void *arg)
53 {
54+ FT_Face ft_face = (FT_Face) arg;
55 hb_blob_destroy ((hb_blob_t *) ft_face->generic.data);
56 }
57
58@@ -1032,7 +1034,7 @@ hb_ft_font_set_funcs (hb_font_t *font)
59 #endif
60
61 ft_face->generic.data = blob;
62- ft_face->generic.finalizer = (FT_Generic_Finalizer) _release_blob;
63+ ft_face->generic.finalizer = _release_blob;
64
65 _hb_ft_font_set_funcs (font, ft_face, true);
66 hb_ft_font_set_load_flags (font, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING);
67--
682.39.2
69
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch
deleted file mode 100644
index bc9371553f..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf/automake_foreign.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1From 6ec375eaafc43a2b3c30a0e0e49447d231d81a67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 May 2017 00:57:10 -0700
4
5---
6Upstream-Status: Pending
7
8 Makefile.am | 2 ++
9 1 file changed, 2 insertions(+)
10
11diff --git a/Makefile.am b/Makefile.am
12index 8568dd2..5efc91e 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -3,6 +3,8 @@ ACLOCAL_AMFLAGS = -I acinclude
16
17 lib_LTLIBRARIES = libSDL2_ttf.la
18
19+AUTOMAKE_OPTIONS = foreign
20+
21 libSDL2_ttfincludedir = $(includedir)/SDL2
22 libSDL2_ttfinclude_HEADERS = \
23 SDL_ttf.h
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb
deleted file mode 100644
index 6cd4a48aa8..0000000000
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.20.2.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1SUMMARY = "Simple DirectMedia Layer truetype font library"
2SECTION = "libs"
3DEPENDS = "libsdl2 freetype virtual/egl"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a41cbf59bdea749fe34c1af6d3615f68"
6
7SRC_URI = " \
8 git://github.com/libsdl-org/SDL_ttf.git;branch=release-2.20.x;protocol=https \
9 git://github.com/libsdl-org/freetype.git;branch=VER-2-12-1-SDL;destsuffix=git/external/freetype;name=freetype;protocol=https \
10 git://github.com/libsdl-org/harfbuzz.git;branch=2.9.1-SDL;destsuffix=git/external/harfbuzz;name=harfbuzz;protocol=https \
11 file://0001-freetype-Fix-function-signatures-to-match-without-ca.patch;patchdir=external/harfbuzz \
12 file://automake_foreign.patch \
13"
14SRCREV = "89d1692fd8fe91a679bb943d377bfbd709b52c23"
15SRCREV_freetype = "6fc77cee03e078e97afcee0c0e06a2d3274b9a29"
16SRCREV_harfbuzz = "43931e3e596c04044861770b831c8f9452e2d3b0"
17
18SRCREV_FORMAT .= "_freetype_harfbuzz"
19
20S = "${WORKDIR}/git"
21
22inherit autotools pkgconfig features_check
23
24# links to libGL.so
25REQUIRED_DISTRO_FEATURES += "opengl"
26
27do_configure:prepend() {
28 # Removing these files fixes a libtool version mismatch.
29 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
30
31 for i in ${MACROS}; do
32 rm -f ${S}/acinclude/$i
33 done
34}
35ASNEEDED = ""
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb
new file mode 100644
index 0000000000..d06f41bd0e
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-ttf_2.24.0.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Simple DirectMedia Layer truetype font library"
2SECTION = "libs"
3DEPENDS = "virtual/libsdl2 freetype virtual/egl"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${PV}.tar.gz"
8SRC_URI[sha256sum] = "0b2bf1e7b6568adbdbc9bb924643f79d9dedafe061fa1ed687d1d9ac4e453bfd"
9
10inherit cmake pkgconfig
11
12S = "${UNPACKDIR}/SDL2_ttf-${PV}"
13
14FILES:${PN} += "${datadir}/licenses"
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 1f436c6d7f..8122b88a68 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -31,9 +31,8 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
31 31
32UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar" 32UPSTREAM_CHECK_REGEX = "SDL-(?P<pver>\d+(\.\d+)+)\.tar"
33 33
34S = "${WORKDIR}/SDL-${PV}" 34S = "${UNPACKDIR}/SDL-${PV}"
35 35
36SRC_URI[md5sum] = "9d96df8417572a2afb781a7c4c811a85"
37SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" 36SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00"
38 37
39BINCONFIG = "${bindir}/sdl-config" 38BINCONFIG = "${bindir}/sdl-config"
@@ -41,7 +40,9 @@ BINCONFIG = "${bindir}/sdl-config"
41inherit autotools lib_package binconfig-disabled pkgconfig 40inherit autotools lib_package binconfig-disabled pkgconfig
42 41
43CVE_PRODUCT = "simple_directmedia_layer sdl" 42CVE_PRODUCT = "simple_directmedia_layer sdl"
44 43# GCC15/C23 results in following errors
44# ../SDL-1.2.15/src/video/Xext/XME/xme.c:218:5: error: initialization of 'int (*)(Display *, XExtCodes *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types]
45CFLAGS += "-std=c17"
45EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ 46EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \
46 --enable-file --disable-oss --disable-esd --disable-arts \ 47 --enable-file --disable-oss --disable-esd --disable-arts \
47 --disable-diskaudio --disable-nas \ 48 --disable-diskaudio --disable-nas \
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb
new file mode 100644
index 0000000000..3b17f350df
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Simple DirectMedia Layer (SDL) sdl2-compat"
2DESCRIPTION = "This code is a compatibility layer; it provides a binary and source compatible \
3API for programs written against SDL2, but it uses SDL3 behind the scenes. If you are \
4writing new code, please target SDL3 directly and do not use this layer."
5HOMEPAGE = "http://www.libsdl.org"
6BUGTRACKER = "http://bugzilla.libsdl.org/"
7
8SECTION = "libs"
9
10LICENSE = "Zlib"
11LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=98241180d857fe975e4b60d44d6c01a5"
12
13SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz"
14SRC_URI[sha256sum] = "27e845b1b7dc0a91a85f1a1f18892ed205adb38caf767741eb258008d8264de0"
15S = "${UNPACKDIR}/sdl2-compat-${PV}"
16
17DEPENDS += "libsdl3"
18
19PROVIDES = "virtual/libsdl2"
20
21inherit cmake pkgconfig upstream-version-is-even features_check
22
23REQUIRED_DISTRO_FEATURES = "opengl x11"
24
25do_install:append() {
26 mv ${D}${libdir}/pkgconfig/sdl2-compat.pc ${D}${libdir}/pkgconfig/sdl2.pc
27}
28
29FILES:${PN} += "${datadir}/licenses"
30
31RCONFLICTS:${PN} = "libsdl2"
32RPROVIDES:${PN} = "libsdl2"
33
34BBCLASSEXTEND = "nativesdk native"
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb
new file mode 100644
index 0000000000..ac425f6ad2
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl3/libsdl3-image_3.2.4.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Simple DirectMedia Layer image library v2"
2SECTION = "libs"
3
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
6
7DEPENDS = "tiff zlib libpng jpeg libsdl3 libwebp"
8
9SRC_URI = "git://github.com/libsdl-org/SDL_image.git;protocol=https;branch=release-3.2.x"
10SRCREV = "11154afb7855293159588b245b446a4ef09e574f"
11
12
13inherit cmake pkgconfig
14
15FILES:${PN} += "${datadir}/licenses"
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb
new file mode 100644
index 0000000000..1f82f95d65
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl3/libsdl3-ttf_3.2.2.bb
@@ -0,0 +1,15 @@
1SUMMARY = "Simple DirectMedia Layer truetype font library"
2SECTION = "libs"
3DEPENDS = "libsdl3 freetype"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL3_ttf-${PV}.tar.gz \
8"
9SRC_URI[sha256sum] = "63547d58d0185c833213885b635a2c0548201cc8f301e6587c0be1a67e1e045d"
10
11S = "${UNPACKDIR}/SDL3_ttf-${PV}"
12
13inherit cmake pkgconfig
14
15FILES:${PN} += "${datadir}/licenses"
diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb b/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb
new file mode 100644
index 0000000000..9579cb73a1
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl3/libsdl3_3.2.16.bb
@@ -0,0 +1,78 @@
1SUMMARY = "Simple DirectMedia Layer"
2DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \
3library designed to provide low level access to audio, keyboard, mouse, \
4joystick, 3D hardware via OpenGL, and 2D video framebuffer."
5HOMEPAGE = "http://www.libsdl.org"
6BUGTRACKER = "http://bugzilla.libsdl.org/"
7
8SECTION = "libs"
9
10LICENSE = "Zlib & BSD-2-Clause"
11LIC_FILES_CHKSUM = "\
12 file://LICENSE.txt;md5=cbf0e3161523f9a9315b6b915c5c4457 \
13 file://src/hidapi/LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077 \
14 file://src/hidapi/LICENSE-bsd.txt;md5=b5fa085ce0926bb50d0621620a82361f \
15 file://src/video/yuv2rgb/LICENSE;md5=79f8f3418d91531e05f0fc94ca67e071 \
16"
17
18SRC_URI = "http://www.libsdl.org/release/SDL3-${PV}.tar.gz"
19
20S = "${UNPACKDIR}/SDL3-${PV}"
21
22SRC_URI[sha256sum] = "6340e58879b2d15830c8460d2f589a385c444d1faa2a4828a9626c7322562be8"
23
24inherit cmake lib_package binconfig-disabled pkgconfig upstream-version-is-even
25
26CVE_PRODUCT = "simple_directmedia_layer sdl"
27
28EXTRA_OECMAKE = " \
29 -DSDL_OSS_DEFAULT=OFF \
30 -DSDL_DISKAUDIO=OFF \
31 -DSDL_DUMMYVIDEO=OFF \
32 -DSDL_RPI=OFF \
33 -DSDL_PTHREADS=ON \
34 -DSDL_RPATH=OFF \
35 -DSDL_SNDIO=OFF \
36 -DSDL_X11_XCURSOR=OFF \
37 -DSDL_X11_XDBE=OFF \
38 -DSDL_X11_XFIXES=OFF \
39 -DSDL_X11_XINPUT=OFF \
40 -DSDL_X11_XSCRNSAVER=OFF \
41 -DSDL_X11_XSHAPE=OFF \
42"
43
44# opengl packageconfig factored out to make it easy for distros
45# and BSP layers to pick either (desktop) opengl, gles2, or no GL
46PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
47
48PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
49PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
50PACKAGECONFIG ??= " \
51 ${PACKAGECONFIG_GL} \
52 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio pipewire x11 vulkan', d)} \
53 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
54 ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
55 ${@bb.utils.contains_any("DISTRO_FEATURES", "x11 wayland","","console-build",d)} \
56"
57PACKAGECONFIG[alsa] = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
58PACKAGECONFIG[arm-neon] = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF"
59PACKAGECONFIG[console-build] = "-DSDL_UNIX_CONSOLE_BUILD=ON"
60PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2"
61PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack"
62PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm"
63# The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers,
64# so we'll just use libusb when it's available.
65PACKAGECONFIG[libusb] = "-DSDL_HIDAPI_LIBUSB=ON,-DSDL_HIDAPI_LIBUSB=OFF,libusb1"
66PACKAGECONFIG[libdecor] = "-DSDL_WAYLAND_LIBDECOR=ON,-DSDL_WAYLAND_LIBDECOR=OFF,libdecor,libdecor"
67PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl"
68PACKAGECONFIG[pipewire] = "-DSDL_PIPEWIRE_SHARED=ON,-DSDL_PIPEWIRE_SHARED=OFF,pipewire"
69PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio"
70PACKAGECONFIG[vulkan] = "-DSDL_VULKAN=ON -DSDL_RENDER_VULKAN=ON,-DSDL_VULKAN=OFF -DSDL_RENDER_VULKAN=OFF"
71PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon"
72PACKAGECONFIG[x11] = "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext libxrandr libxrender"
73
74CFLAGS:append:class-native = " -DNO_SHARED_MEMORY"
75
76FILES:${PN} += "${datadir}/licenses/SDL3/LICENSE.txt"
77
78BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb
index ce01593b8b..ff5df428e8 100644
--- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb
+++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb
@@ -35,7 +35,7 @@ PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,libpng"
35PACKAGECONFIG[pthread] = "-DWITH_THREADS=ON,-DWITH_THREADS=OFF," 35PACKAGECONFIG[pthread] = "-DWITH_THREADS=ON,-DWITH_THREADS=OFF,"
36PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd" 36PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd"
37PACKAGECONFIG[sasl] = "-DWITH_SASL=ON,-DWITH_SASL=OFF,cyrus-sasl" 37PACKAGECONFIG[sasl] = "-DWITH_SASL=ON,-DWITH_SASL=OFF,cyrus-sasl"
38PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,libsdl2" 38PACKAGECONFIG[sdl] = "-DWITH_SDL=ON,-DWITH_SDL=OFF,virtual/libsdl2"
39PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF," 39PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF,"
40PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" 40PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib"
41 41
@@ -47,7 +47,6 @@ inherit cmake
47SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https" 47SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https"
48SRCREV = "10e9eb75f73e973725dc75c373de5d89807af028" 48SRCREV = "10e9eb75f73e973725dc75c373de5d89807af028"
49 49
50S = "${WORKDIR}/git"
51 50
52EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}" 51EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}"
53 52
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch b/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch
deleted file mode 100644
index b29e5dc7b2..0000000000
--- a/meta-oe/recipes-graphics/libyui/libyui-ncurses/0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch
+++ /dev/null
@@ -1,176 +0,0 @@
1From b81fb7942ab77b0bf6791e5fd98411dd68f133d9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 18 Dec 2022 15:13:00 -0800
4Subject: [PATCH] libyui-ncurses: Replace off64_t with off_t and stat64 with stat
5
6stat is same as stat64 when 64bit off_t is used.
7
8Upstream-Status: Submitted [https://github.com/libyui/libyui/pull/88]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 CMakeLists.txt | 2 +-
12 src/NCAskForFile.cc | 6 +++---
13 src/NCFileSelection.cc | 24 ++++++++++++------------
14 src/NCFileSelection.h | 6 +++---
15 4 files changed, 19 insertions(+), 19 deletions(-)
16
17diff --git a/CMakeLists.txt b/libyui-ncurses/CMakeLists.txt
18index b10eab8e..2000bb58 100644
19--- a/CMakeLists.txt
20+++ b/CMakeLists.txt
21@@ -58,7 +58,7 @@ set( CMAKE_INSTALL_MESSAGE LAZY ) # Suppress "up-to-date" messages during "make
22 # Initialize compiler flags for all targets in all subdirectories
23 add_compile_options( "-Wall" )
24 add_compile_options( "-Os" ) # Optimize for size (overrides CMake's -O3 in RELEASE builds)
25-
26+add_compile_options( "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ) # Enable largefile support
27 if ( WERROR )
28 add_compile_options( "-Werror" )
29 endif()
30diff --git a/src/NCAskForFile.cc b/libyui-ncurses/src/NCAskForFile.cc
31index aba6e0a6..44bb81bc 100644
32--- a/src/NCAskForFile.cc
33+++ b/src/NCAskForFile.cc
34@@ -73,8 +73,8 @@ std::string NCAskForFile::checkIniDir( std::string iniDir )
35 {
36 std::string dname = "";
37
38- struct stat64 statInfo;
39- stat64( iniDir.c_str(), &statInfo );
40+ struct stat statInfo;
41+ stat( iniDir.c_str(), &statInfo );
42
43 if ( S_ISDIR( statInfo.st_mode ) )
44 {
45@@ -90,7 +90,7 @@ std::string NCAskForFile::checkIniDir( std::string iniDir )
46 && pos != 0 )
47 {
48 std::string dir = iniDir.substr( 0, pos );
49- stat64( dir.c_str(), &statInfo );
50+ stat( dir.c_str(), &statInfo );
51
52 if ( S_ISDIR( statInfo.st_mode ) )
53 {
54diff --git a/src/NCFileSelection.cc b/libyui-ncurses/src/NCFileSelection.cc
55index 3eb9c908..8894dc72 100644
56--- a/src/NCFileSelection.cc
57+++ b/src/NCFileSelection.cc
58@@ -46,7 +46,7 @@ using std::list;
59
60
61 NCFileInfo::NCFileInfo( string fileName,
62- struct stat64 * statInfo,
63+ struct stat * statInfo,
64 bool link )
65 {
66 _name = fileName;
67@@ -146,7 +146,7 @@ NCFileInfo::NCFileInfo()
68 _mode = ( mode_t )0;
69 _device = ( dev_t )0;
70 _links = ( nlink_t )0;
71- _size = ( off64_t )0;
72+ _size = ( off_t )0;
73 _mtime = ( time_t )0;
74 }
75
76@@ -177,11 +177,11 @@ NCFileSelection::NCFileSelection( YWidget * parent,
77 {
78 SetSepChar( ' ' );
79
80- struct stat64 statInfo;
81+ struct stat statInfo;
82
83 if ( !iniDir.empty() )
84 {
85- stat64( iniDir.c_str(), &statInfo );
86+ stat( iniDir.c_str(), &statInfo );
87 }
88
89 if ( iniDir.empty()
90@@ -559,8 +559,8 @@ NCursesEvent NCFileTable::wHandleInput( wint_t key )
91 bool NCFileTable::fillList()
92 {
93
94- struct stat64 statInfo;
95- struct stat64 linkInfo;
96+ struct stat statInfo;
97+ struct stat linkInfo;
98 struct dirent * entry;
99 list<string> tmpList;
100 list<string>::iterator it;
101@@ -592,7 +592,7 @@ bool NCFileTable::fillList()
102 {
103 string fullName = currentDir + "/" + ( *it );
104
105- if ( lstat64( fullName.c_str(), &statInfo ) == 0 )
106+ if ( lstat( fullName.c_str(), &statInfo ) == 0 )
107 {
108 if ( S_ISREG( statInfo.st_mode ) || S_ISBLK( statInfo.st_mode ) )
109 {
110@@ -604,7 +604,7 @@ bool NCFileTable::fillList()
111 }
112 else if ( S_ISLNK( statInfo.st_mode ) )
113 {
114- if ( stat64( fullName.c_str(), &linkInfo ) == 0 )
115+ if ( stat( fullName.c_str(), &linkInfo ) == 0 )
116 {
117 if ( S_ISREG( linkInfo.st_mode ) || S_ISBLK( linkInfo.st_mode ) )
118 {
119@@ -701,8 +701,8 @@ void NCDirectoryTable::fillHeader()
120
121 bool NCDirectoryTable::fillList()
122 {
123- struct stat64 statInfo;
124- struct stat64 linkInfo;
125+ struct stat statInfo;
126+ struct stat linkInfo;
127 struct dirent * entry;
128 list<string> tmpList;
129 list<string>::iterator it;
130@@ -734,7 +734,7 @@ bool NCDirectoryTable::fillList()
131 {
132 string fullName = currentDir + "/" + ( *it );
133
134- if ( lstat64( fullName.c_str(), &statInfo ) == 0 )
135+ if ( lstat( fullName.c_str(), &statInfo ) == 0 )
136 {
137 if ( S_ISDIR( statInfo.st_mode ) )
138 {
139@@ -746,7 +746,7 @@ bool NCDirectoryTable::fillList()
140 }
141 else if ( S_ISLNK( statInfo.st_mode ) )
142 {
143- if ( stat64( fullName.c_str(), &linkInfo ) == 0 )
144+ if ( stat( fullName.c_str(), &linkInfo ) == 0 )
145 {
146 if ( S_ISDIR( linkInfo.st_mode ) )
147 {
148diff --git a/src/NCFileSelection.h b/libyui-ncurses/src/NCFileSelection.h
149index 0569215d..5c459d62 100644
150--- a/src/NCFileSelection.h
151+++ b/src/NCFileSelection.h
152@@ -44,10 +44,10 @@
153 struct NCFileInfo
154 {
155 /**
156- * Constructor from a stat buffer (i.e. based on an lstat64() call).
157+ * Constructor from a stat buffer (i.e. based on an lstat() call).
158 **/
159 NCFileInfo( std::string fileName,
160- struct stat64 * statInfo,
161+ struct stat * statInfo,
162 bool link = false );
163
164 NCFileInfo();
165@@ -65,7 +65,7 @@ struct NCFileInfo
166 dev_t _device; // device this object resides on
167 mode_t _mode; // file permissions + object type
168 nlink_t _links; // number of links
169- off64_t _size; // size in bytes
170+ off_t _size; // size in bytes
171 time_t _mtime; // modification time
172
173 bool isDir() { return (( S_ISDIR( _mode ) ) ? true : false ); }
174--
1752.39.0
176
diff --git a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.2.3.bb b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.6.2.bb
index bcc5ef33e2..d7c96492b2 100644
--- a/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.2.3.bb
+++ b/meta-oe/recipes-graphics/libyui/libyui-ncurses_4.6.2.bb
@@ -5,14 +5,13 @@ LIC_FILES_CHKSUM = "file://../COPYING.lgpl-3;md5=e6a600fd5e1d9cbde2d983680233ad0
5" 5"
6 6
7SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \ 7SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \
8 file://0001-libyui-ncurses-Replace-off64_t-with-off_t-and-stat64.patch \
9 " 8 "
10 9
11SRC_URI:append:class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch" 10SRC_URI:append:class-target = " file://0001-Fix-the-error-of-can-t-find-header-file.patch"
12 11
13SRCREV = "dabdcd9cc6a0058fd6966d7d2e19d508debcc0ac" 12SRCREV = "e691b563262306a40a61bbf228839fa06e4f0516"
14 13
15S = "${WORKDIR}/git/libyui-ncurses" 14S = "${UNPACKDIR}/${BP}/libyui-ncurses"
16 15
17inherit cmake gettext pkgconfig 16inherit cmake gettext pkgconfig
18 17
@@ -20,9 +19,16 @@ DEPENDS += "boost libyui ncurses"
20 19
21BBCLASSEXTEND = "nativesdk" 20BBCLASSEXTEND = "nativesdk"
22 21
23EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" 22EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release -DWERROR=OFF -DCMAKE_SKIP_RPATH=1"
23
24# TODO: Check with newer GCC, it works ok with GCC
25# GCC-14 causes buildpaths QA error
26# WARNING: libyui-ncurses-4.6.2-r0 do_package_qa: QA Issue: File /usr/lib/yui/.debug/libyui-ncurses.so.16.0.0 in package libyui-ncurses-dbg contains reference to TMPDIR [buildpaths
27
28DEBUG_LEVELFLAG = ""
24 29
25CXXFLAGS += "-DNCURSES_WIDECHAR" 30CXXFLAGS += "-DNCURSES_WIDECHAR"
31LDFLAGS += "-L${B}/src"
26 32
27do_configure:prepend () { 33do_configure:prepend () {
28 cd ${S} 34 cd ${S}
diff --git a/meta-oe/recipes-graphics/libyui/libyui_4.2.3.bb b/meta-oe/recipes-graphics/libyui/libyui_4.6.2.bb
index 939f3f36e5..d86aa4da91 100644
--- a/meta-oe/recipes-graphics/libyui/libyui_4.2.3.bb
+++ b/meta-oe/recipes-graphics/libyui/libyui_4.6.2.bb
@@ -10,9 +10,9 @@ SRC_URI = "git://github.com/libyui/libyui.git;branch=master;protocol=https \
10 file://0001-Use-relative-install-paths-for-CMake.patch \ 10 file://0001-Use-relative-install-paths-for-CMake.patch \
11 " 11 "
12 12
13SRCREV = "dabdcd9cc6a0058fd6966d7d2e19d508debcc0ac" 13SRCREV = "e691b563262306a40a61bbf228839fa06e4f0516"
14 14
15S = "${WORKDIR}/git/libyui" 15S = "${UNPACKDIR}/${BP}/libyui"
16 16
17inherit cmake gettext pkgconfig 17inherit cmake gettext pkgconfig
18 18
@@ -20,6 +20,7 @@ DEPENDS += "boost"
20 20
21EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF" 21EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=RELWITHDEBINFO -DWERROR=OFF"
22 22
23LDFLAGS += "-L${B}/src"
23BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
24 25
25do_install:append () { 26do_install:append () {
diff --git a/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch
new file mode 100644
index 0000000000..e61b5224aa
--- /dev/null
+++ b/meta-oe/recipes-graphics/lvgl/files/0001-thorvg-fix-build-with-gcc-15.patch
@@ -0,0 +1,32 @@
1From a9e41f7e9590c757e74877cace6442dd676223ff Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Fri, 21 Mar 2025 10:25:43 +0000
4Subject: [PATCH] thorvg: fix build with gcc-15
5
6* add missing include to fix:
7 src/libs/thorvg/thorvg.h:357:20: error: 'uint8_t' has not been declared
8 357 | Result opacity(uint8_t o) noexcept;
9 | ^~~~~~~
10
11* not needed with latest master where it was resolved differently in
12 fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)
13 which includes stdlib/lv_string.h which includes misc/lv_types.h which
14 includes stdint
15
16Upstream-Status: Pending [not needed with latest master where it was resolved differently in fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)]
17
18Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
19---
20 src/libs/thorvg/thorvg.h | 1 +
21 1 file changed, 1 insertion(+)
22
23--- a/src/libs/thorvg/thorvg.h
24+++ b/src/libs/thorvg/thorvg.h
25@@ -12,6 +12,7 @@
26 #define TVG_BUILD 1
27
28
29+#include <cstdint>
30 #include <functional>
31 #include <memory>
32 #include <string>
diff --git a/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch b/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch
deleted file mode 100644
index bd619b1572..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 5b7f657e8ad656e0854f2252b3bd482b966d650c Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Wed, 13 Mar 2024 02:12:30 +0100
4Subject: [PATCH 2/2] fix(sdl): handle both LV_IMAGE_SRC_FILE and
5 LV_IMAGE_SRC_VARIABLE
6
7The SDL image draw code currently assumes that the image source is a
8filename and attempts to open that filename. This is not necessarily
9the case, e.g. the lv_demo_fb uses encoded images which are of type
10LV_IMAGE_SRC_VARIABLE and instead of filename, come with a buffer of
11pixels. Handle the later using SDL_CreateRGBSurfaceFrom().
12
13Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/5852]
14Signed-off-by: Marek Vasut <marex@denx.de>
15---
16 src/draw/sdl/lv_draw_sdl.c | 30 +++++++++++++++++++++++++++---
17 1 file changed, 27 insertions(+), 3 deletions(-)
18
19diff --git a/src/draw/sdl/lv_draw_sdl.c b/src/draw/sdl/lv_draw_sdl.c
20index cbb555d94..5eee5b725 100644
21--- a/src/draw/sdl/lv_draw_sdl.c
22+++ b/src/draw/sdl/lv_draw_sdl.c
23@@ -224,10 +224,34 @@ static bool draw_to_texture(lv_draw_sdl_unit_t * u, cache_data_t * data)
24 break;
25 case LV_DRAW_TASK_TYPE_IMAGE: {
26 lv_draw_image_dsc_t * image_dsc = task->draw_dsc;
27- const char * path = image_dsc->src;
28- SDL_Surface * surface = IMG_Load(&path[2]);
29+ lv_image_src_t type = lv_image_src_get_type(image_dsc->src);
30+ SDL_Surface * surface = NULL;
31+ if(type == LV_IMAGE_SRC_FILE) {
32+ const char * path = image_dsc->src;
33+ surface = IMG_Load(&path[2]);
34+ }
35+ else if(type == LV_IMAGE_SRC_VARIABLE) {
36+ lv_image_dsc_t * lvd = image_dsc->src;
37+ surface = SDL_CreateRGBSurfaceFrom(lvd->data,
38+ lvd->header.w, lvd->header.h,
39+ LV_COLOR_FORMAT_GET_BPP(lvd->header.cf),
40+ lvd->header.stride,
41+#if SDL_BYTEORDER == SDL_LIL_ENDIAN
42+ 0x00FF0000,
43+ 0x0000FF00,
44+ 0x000000FF,
45+ 0xFF000000
46+#else
47+ 0x0000FF00,
48+ 0x00FF0000,
49+ 0xFF000000,
50+ 0x000000FF
51+#endif
52+ );
53+ }
54+
55 if(surface == NULL) {
56- fprintf(stderr, "could not load image: %s\n", IMG_GetError());
57+ fprintf(stderr, "could not load image\n");
58 return false;
59 }
60
61--
622.43.0
63
diff --git a/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch b/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch
deleted file mode 100644
index 73c01cb590..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 85d90749a10b5f91741d37b75825935bf7cc4fb3 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Tue, 12 Mar 2024 03:00:37 +0100
4Subject: [PATCH 3/6] Make fbdev device node runtime configurable via
5 environment variable
6
7Test whether $LV_VIDEO_CARD environment variable is non-NULL and in
8case it is, use it as the video card file in lv_linux_fbdev_set_file().
9Otherwise fall back to /dev/fb0, i.e. the current behavior. This way,
10it is possible to test LVGL on systems with multiple fbdev devices.
11
12Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47]
13Signed-off-by: Marek Vasut <marex@denx.de>
14---
15 main.c | 8 +++++++-
16 1 file changed, 7 insertions(+), 1 deletion(-)
17
18diff --git a/main.c b/main.c
19index 9775b9c..b64a098 100644
20--- a/main.c
21+++ b/main.c
22@@ -4,13 +4,19 @@
23 #include <pthread.h>
24 #include <time.h>
25
26+static const char *lv_linux_get_video_card_node(const char *videocard_default)
27+{
28+ return getenv("LV_VIDEO_CARD") ? : videocard_default;
29+}
30+
31 int main(void)
32 {
33+ const char *videocard = lv_linux_get_video_card_node("/dev/fb0");
34 lv_init();
35
36 /*Linux frame buffer device init*/
37 lv_display_t * disp = lv_linux_fbdev_create();
38- lv_linux_fbdev_set_file(disp, "/dev/fb0");
39+ lv_linux_fbdev_set_file(disp, videocard);
40
41 /*Create a Demo*/
42 lv_demo_widgets();
43--
442.43.0
45
diff --git a/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch b/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch
deleted file mode 100644
index d24d150c06..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0004-Factor-out-fbdev-initialization-code.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 593da8e11cc5029773ad330b5d7633ee9f2fba95 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Tue, 12 Mar 2024 18:09:42 +0100
4Subject: [PATCH 4/6] Factor out fbdev initialization code
5
6Pull fbdev initialization code into separate function and add ifdef
7around it, so it can be conditionally compiled in. This is done in
8preparation for addition of other backend initialization example
9code.
10
11Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47]
12Signed-off-by: Marek Vasut <marex@denx.de>
13---
14 main.c | 18 ++++++++++++++----
15 1 file changed, 14 insertions(+), 4 deletions(-)
16
17diff --git a/main.c b/main.c
18index b64a098..288519c 100644
19--- a/main.c
20+++ b/main.c
21@@ -9,14 +9,24 @@ static const char *lv_linux_get_video_card_node(const char *videocard_default)
22 return getenv("LV_VIDEO_CARD") ? : videocard_default;
23 }
24
25-int main(void)
26+#if LV_USE_LINUX_FBDEV
27+static void lv_linux_disp_init(void)
28 {
29 const char *videocard = lv_linux_get_video_card_node("/dev/fb0");
30- lv_init();
31-
32- /*Linux frame buffer device init*/
33 lv_display_t * disp = lv_linux_fbdev_create();
34+
35 lv_linux_fbdev_set_file(disp, videocard);
36+}
37+#else
38+#error Unsupported configuration
39+#endif
40+
41+int main(void)
42+{
43+ lv_init();
44+
45+ /*Linux display device init*/
46+ lv_linux_disp_init();
47
48 /*Create a Demo*/
49 lv_demo_widgets();
50--
512.43.0
52
diff --git a/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch b/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch
deleted file mode 100644
index 9ee7a7f19d..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0005-Add-DRM-KMS-example-support.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From dabf40559428733413432afa29598bc145aa6636 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Tue, 12 Mar 2024 03:08:13 +0100
4Subject: [PATCH 5/6] Add DRM/KMS example support
5
6Extend the main.c to support both legacy fbdev and DRM/KMS initialization.
7
8To use legacy fbdev support, adjust lv_conf.h as follows:
9LV_USE_LINUX_FBDEV=1
10LV_USE_LINUX_DRM=0
11
12To use DRM/KMS support, adjust lv_conf.h as follows:
13LV_USE_LINUX_FBDEV=0
14LV_USE_LINUX_DRM=1
15
16Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47]
17Signed-off-by: Marek Vasut <marex@denx.de>
18---
19 CMakeLists.txt | 5 ++++-
20 main.c | 8 ++++++++
21 2 files changed, 12 insertions(+), 1 deletion(-)
22
23diff --git a/CMakeLists.txt b/CMakeLists.txt
24index d91b196..c1cfb7f 100644
25--- a/CMakeLists.txt
26+++ b/CMakeLists.txt
27@@ -12,6 +12,9 @@ target_include_directories(lvgl PUBLIC ${PROJECT_SOURCE_DIR})
28
29 add_executable(main main.c mouse_cursor_icon.c)
30
31-target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} m pthread)
32+include(${CMAKE_CURRENT_LIST_DIR}/lvgl/tests/FindLibDRM.cmake)
33+include_directories(${Libdrm_INCLUDE_DIRS})
34+
35+target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm_LIBRARIES} m pthread)
36 add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main)
37
38diff --git a/main.c b/main.c
39index 288519c..ab4e936 100644
40--- a/main.c
41+++ b/main.c
42@@ -17,6 +17,14 @@ static void lv_linux_disp_init(void)
43
44 lv_linux_fbdev_set_file(disp, videocard);
45 }
46+#elif LV_USE_LINUX_DRM
47+static void lv_linux_disp_init(void)
48+{
49+ const char *videocard = lv_linux_get_video_card_node("/dev/dri/card0");
50+ lv_display_t * disp = lv_linux_drm_create();
51+
52+ lv_linux_drm_set_file(disp, videocard, -1);
53+}
54 #else
55 #error Unsupported configuration
56 #endif
57--
582.43.0
59
diff --git a/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch b/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch
deleted file mode 100644
index 691ee80b59..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0006-Add-SDL2-example-support.patch
+++ /dev/null
@@ -1,69 +0,0 @@
1From b202ce51f7b68c460fcd1b6d9c3ffa8aaf2baaf6 Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Tue, 12 Mar 2024 19:05:38 +0100
4Subject: [PATCH 6/6] Add SDL2 example support
5
6Extend the main.c to support both legacy fbdev, DRM/KMS, SDL2 initialization.
7The SDL2 window resolution can be configured using environment variables
8LV_VIDEO_WIDTH and LV_VIDEO_HEIGHT and defaults to 800 x 480 .
9
10To use legacy fbdev support, adjust lv_conf.h as follows:
11LV_USE_LINUX_FBDEV=1
12LV_USE_LINUX_DRM=0
13LV_USE_SDL=0
14
15To use DRM/KMS support, adjust lv_conf.h as follows:
16LV_USE_LINUX_FBDEV=0
17LV_USE_LINUX_DRM=1
18LV_USE_SDL=0
19
20To use SDL2 support, adjust lv_conf.h as follows:
21LV_USE_LINUX_FBDEV=0
22LV_USE_LINUX_DRM=0
23LV_USE_SDL=1
24
25Upstream-Status: Submitted [https://github.com/lvgl/lv_port_linux_frame_buffer/pull/47]
26Signed-off-by: Marek Vasut <marex@denx.de>
27---
28 CMakeLists.txt | 6 +++++-
29 main.c | 8 ++++++++
30 2 files changed, 13 insertions(+), 1 deletion(-)
31
32diff --git a/CMakeLists.txt b/CMakeLists.txt
33index c1cfb7f..658193f 100644
34--- a/CMakeLists.txt
35+++ b/CMakeLists.txt
36@@ -15,6 +15,10 @@ add_executable(main main.c mouse_cursor_icon.c)
37 include(${CMAKE_CURRENT_LIST_DIR}/lvgl/tests/FindLibDRM.cmake)
38 include_directories(${Libdrm_INCLUDE_DIRS})
39
40-target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${Libdrm_LIBRARIES} m pthread)
41+find_package(SDL2)
42+find_package(SDL2_image)
43+include_directories(${SDL2_INCLUDE_DIRS} ${SDL2_IMAGE_INCLUDE_DIRS})
44+
45+target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} ${SDL2_IMAGE_LIBRARIES} ${Libdrm_LIBRARIES} m pthread)
46 add_custom_target (run COMMAND ${EXECUTABLE_OUTPUT_PATH}/main DEPENDS main)
47
48diff --git a/main.c b/main.c
49index ab4e936..4b66ebc 100644
50--- a/main.c
51+++ b/main.c
52@@ -25,6 +25,14 @@ static void lv_linux_disp_init(void)
53
54 lv_linux_drm_set_file(disp, videocard, -1);
55 }
56+#elif LV_USE_SDL
57+static void lv_linux_disp_init(void)
58+{
59+ const int width = atoi(getenv("LV_VIDEO_WIDTH") ? : "800");
60+ const int height = atoi(getenv("LV_VIDEO_HEIGHT") ? : "480");
61+
62+ lv_sdl_window_create(width, height);
63+}
64 #else
65 #error Unsupported configuration
66 #endif
67--
682.43.0
69
diff --git a/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch b/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch
deleted file mode 100644
index 6997d84153..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0007-fix-cmake-generate-versioned-shared-libraries.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 40657a770baadfff30abfecf7638e7b1c340db4d Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de>
3Date: Thu, 14 Mar 2024 03:23:10 +0100
4Subject: [PATCH] fix(cmake): generate versioned shared libraries
5
6Add missing version suffix to shared libraries. Currently the filename of
7generated shared libraries is only liblvgl.so, which prevents coexistence
8of different versions of LVGL on the same system. Set VERSION and SOVERSION
9to make cmake add the version suffix to generated shared libraries. That
10changes the filename to liblvgl.so.9.0.0 and includes symlink with major
11ABI version, i.e. liblvgl.so.9 .
12
13Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/5865]
14Signed-off-by: Marek Vasut <marex@denx.de>
15---
16 env_support/cmake/custom.cmake | 11 +++++++++++
17 1 file changed, 11 insertions(+)
18
19diff --git a/env_support/cmake/custom.cmake b/env_support/cmake/custom.cmake
20index 9800468eb..6f33f1cc8 100644
21--- a/env_support/cmake/custom.cmake
22+++ b/env_support/cmake/custom.cmake
23@@ -1,3 +1,6 @@
24+set(LVGL_VERSION "9.0.0")
25+set(LVGL_SOVERSION "9")
26+
27 # Option to define LV_LVGL_H_INCLUDE_SIMPLE, default: ON
28 option(LV_LVGL_H_INCLUDE_SIMPLE
29 "Use #include \"lvgl.h\" instead of #include \"../../lvgl.h\"" ON)
30@@ -119,6 +122,8 @@ install(
31 set_target_properties(
32 lvgl
33 PROPERTIES OUTPUT_NAME lvgl
34+ VERSION ${LVGL_VERSION}
35+ SOVERSION ${LVGL_SOVERSION}
36 ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
37 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
38 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
39@@ -137,6 +142,8 @@ if(NOT LV_CONF_BUILD_DISABLE_THORVG_INTERNAL)
40 set_target_properties(
41 lvgl_thorvg
42 PROPERTIES OUTPUT_NAME lvgl_thorvg
43+ VERSION ${LVGL_VERSION}
44+ SOVERSION ${LVGL_SOVERSION}
45 ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
46 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
47 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
48@@ -155,6 +162,8 @@ if(NOT LV_CONF_BUILD_DISABLE_DEMOS)
49 set_target_properties(
50 lvgl_demos
51 PROPERTIES OUTPUT_NAME lvgl_demos
52+ VERSION ${LVGL_VERSION}
53+ SOVERSION ${LVGL_SOVERSION}
54 ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
55 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
56 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
57@@ -173,6 +182,8 @@ if(NOT LV_CONF_BUILD_DISABLE_EXAMPLES)
58 set_target_properties(
59 lvgl_examples
60 PROPERTIES OUTPUT_NAME lvgl_examples
61+ VERSION ${LVGL_VERSION}
62+ SOVERSION ${LVGL_SOVERSION}
63 ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
64 LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib"
65 RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
66--
672.43.0
68
diff --git a/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch b/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch
deleted file mode 100644
index 449db53dfb..0000000000
--- a/meta-oe/recipes-graphics/lvgl/files/0008-fix-fbdev-set-resolution-prior-to-buffer.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From a6f822f75b3ba01b00c028608c93160d09a6ffd1 Mon Sep 17 00:00:00 2001
2From: Jaeyoon Jung <jaeyoon.jung@lge.com>
3Date: Mon, 1 Apr 2024 18:00:39 +0900
4Subject: [PATCH] fix(fbdev): set resolution prior to buffer
5
6Otherwise it ends up with using the default value 800x480 and may fail
7at lv_display_set_buffers due to incorrect resolution.
8
9Upstream-Status: Submitted [https://github.com/lvgl/lvgl/pull/6004]
10Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
11---
12
13 src/drivers/display/fb/lv_linux_fbdev.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/drivers/display/fb/lv_linux_fbdev.c b/src/drivers/display/fb/lv_linux_fbdev.c
17index b3cc89199..5fb4c5c9f 100644
18--- a/src/drivers/display/fb/lv_linux_fbdev.c
19+++ b/src/drivers/display/fb/lv_linux_fbdev.c
20@@ -233,8 +233,8 @@ void lv_linux_fbdev_set_file(lv_display_t * disp, const char * file)
21 draw_buf_2 = malloc(draw_buf_size);
22 }
23
24- lv_display_set_buffers(disp, draw_buf, draw_buf_2, draw_buf_size, LV_LINUX_FBDEV_RENDER_MODE);
25 lv_display_set_resolution(disp, hor_res, ver_res);
26+ lv_display_set_buffers(disp, draw_buf, draw_buf_2, draw_buf_size, LV_LINUX_FBDEV_RENDER_MODE);
27
28 if(width > 0) {
29 lv_display_set_dpi(disp, DIV_ROUND_UP(hor_res * 254, width * 10));
diff --git a/meta-oe/recipes-graphics/lvgl/lv-conf.inc b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
index 9186015537..69e42af922 100644
--- a/meta-oe/recipes-graphics/lvgl/lv-conf.inc
+++ b/meta-oe/recipes-graphics/lvgl/lv-conf.inc
@@ -3,6 +3,7 @@ PACKAGECONFIG ??= "drm"
3PACKAGECONFIG[drm] = ",,libdrm" 3PACKAGECONFIG[drm] = ",,libdrm"
4PACKAGECONFIG[fbdev] = ",," 4PACKAGECONFIG[fbdev] = ",,"
5PACKAGECONFIG[gridnav] = ",," 5PACKAGECONFIG[gridnav] = ",,"
6PACKAGECONFIG[thorvg] = ",,"
6PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image" 7PACKAGECONFIG[sdl] = ",,virtual/libsdl2 libsdl2-image"
7 8
8# Add libdrm include if drm is selected in PACKAGECONFIG 9# Add libdrm include if drm is selected in PACKAGECONFIG
@@ -32,6 +33,16 @@ LVGL_CONFIG_LV_USE_GRIDNAV = "${@bb.utils.contains('PACKAGECONFIG', 'gridnav', '
32 33
33LVGL_CONFIG_LV_THEME_DEFAULT_DARK ?= "0" 34LVGL_CONFIG_LV_THEME_DEFAULT_DARK ?= "0"
34 35
36LVGL_CONFIG_USE_LOTTIE = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}"
37
38LVGL_CONFIG_USE_VECTOR_GRAPHICS = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}"
39
40LVGL_CONFIG_USE_THORVG_INTERNAL = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}"
41
42LVGL_CONFIG_USE_MATRIX = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}"
43
44LVGL_CONFIG_USE_FLOAT = "${@bb.utils.contains('PACKAGECONFIG', 'thorvg', '1', '0', d)}"
45
35DEBUG_BUILD ??= "0" 46DEBUG_BUILD ??= "0"
36 47
37ALLOW_EMPTY:${PN} = "1" 48ALLOW_EMPTY:${PN} = "1"
@@ -77,5 +88,11 @@ do_configure:append() {
77 -e "s|^([[:space:]]*#define LV_USE_GRIDNAV[[:space:]]).*|\1${LVGL_CONFIG_LV_USE_GRIDNAV}|" \ 88 -e "s|^([[:space:]]*#define LV_USE_GRIDNAV[[:space:]]).*|\1${LVGL_CONFIG_LV_USE_GRIDNAV}|" \
78 -e "s|^([[:space:]]*#define LV_THEME_DEFAULT_DARK[[:space:]]).*|\1${LVGL_CONFIG_LV_THEME_DEFAULT_DARK}|" \ 89 -e "s|^([[:space:]]*#define LV_THEME_DEFAULT_DARK[[:space:]]).*|\1${LVGL_CONFIG_LV_THEME_DEFAULT_DARK}|" \
79 \ 90 \
91 -e "s|^([[:space:]]*#define LV_USE_VECTOR_GRAPHIC[[:space:]]).*|\1${LVGL_CONFIG_USE_VECTOR_GRAPHICS}|" \
92 -e "s|^([[:space:]]*#define LV_USE_THORVG_INTERNAL[[:space:]]).*|\1${LVGL_CONFIG_USE_THORVG_INTERNAL}|" \
93 -e "s|^([[:space:]]*#define LV_USE_MATRIX[[:space:]]).*|\1${LVGL_CONFIG_USE_MATRIX}|" \
94 -e "s|^([[:space:]]*#define LV_USE_FLOAT[[:space:]]).*|\1${LVGL_CONFIG_USE_FLOAT}|" \
95 \
96 -e "s|^([[:space:]]*#define LV_USE_LOTTIE[[:space:]]).*|\1${LVGL_CONFIG_USE_LOTTIE}|" \
80 -i "${S}/lv_conf.h" 97 -i "${S}/lv_conf.h"
81} 98}
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.2.2.bb
index 6e8371baad..ede5c16f3f 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl-demo-fb_9.2.2.bb
@@ -5,18 +5,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=802d3d83ae80ef5f343050bf96cce3a4 \
5 file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" 5 file://lvgl/LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
6 6
7SRC_URI = "\ 7SRC_URI = "\
8 git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=master;name=demo \ 8 git://github.com/lvgl/lv_port_linux_frame_buffer.git;protocol=https;branch=release/v9.2;name=demo \
9 git://github.com/lvgl/lvgl;protocol=https;branch=master;name=lvgl;subdir=git/lvgl \ 9 git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.2;name=lvgl;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/lvgl \
10 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch;patchdir=lvgl \ 10 file://0001-thorvg-fix-build-with-gcc-15.patch;patchdir=lvgl \
11 file://0003-Make-fbdev-device-node-runtime-configurable-via-envi.patch \
12 file://0004-Factor-out-fbdev-initialization-code.patch \
13 file://0005-Add-DRM-KMS-example-support.patch \
14 file://0006-Add-SDL2-example-support.patch \
15 file://0007-fix-cmake-generate-versioned-shared-libraries.patch;patchdir=lvgl \
16 file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch;patchdir=lvgl \
17 " 11 "
18SRCREV_demo = "dccc6a1ca48372aa993dbea7a8e17dec6f42df6a" 12SRCREV_demo = "c924e24c7aa55317521bcd9dd75ce9337508f5a5"
19SRCREV_lvgl = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" 13SRCREV_lvgl = "7f07a129e8d77f4984fff8e623fd5be18ff42e74"
20SRCREV_FORMAT = "demo_lvgl" 14SRCREV_FORMAT = "demo_lvgl"
21 15
22EXTRA_OEMAKE = "DESTDIR=${D}" 16EXTRA_OEMAKE = "DESTDIR=${D}"
@@ -30,7 +24,6 @@ require lv-conf.inc
30 24
31inherit cmake 25inherit cmake
32 26
33S = "${WORKDIR}/git"
34 27
35do_configure:prepend() { 28do_configure:prepend() {
36 if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then 29 if [ "${LVGL_CONFIG_USE_SDL}" -eq 1 ] ; then
diff --git a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb b/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb
index 63c810d74d..28306a1101 100644
--- a/meta-oe/recipes-graphics/lvgl/lvgl_9.1.0.bb
+++ b/meta-oe/recipes-graphics/lvgl/lvgl_9.2.2.bb
@@ -9,17 +9,14 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a" 9LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=bf1198c89ae87f043108cea62460b03a"
10 10
11SRC_URI = "\ 11SRC_URI = "\
12 git://github.com/lvgl/lvgl;protocol=https;branch=master \ 12 git://github.com/lvgl/lvgl;protocol=https;branch=release/v9.2 \
13 file://0002-fix-sdl-handle-both-LV_IMAGE_SRC_FILE-and-LV_IMAGE_S.patch \ 13 file://0001-thorvg-fix-build-with-gcc-15.patch \
14 file://0007-fix-cmake-generate-versioned-shared-libraries.patch \
15 file://0008-fix-fbdev-set-resolution-prior-to-buffer.patch \
16 " 14 "
17SRCREV = "e1c0b21b2723d391b885de4b2ee5cc997eccca91" 15SRCREV = "7f07a129e8d77f4984fff8e623fd5be18ff42e74"
18 16
19inherit cmake 17inherit cmake
20 18
21EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON" 19EXTRA_OECMAKE = "-DLIB_INSTALL_DIR=${baselib} -DBUILD_SHARED_LIBS=ON"
22S = "${WORKDIR}/git"
23 20
24require lv-conf.inc 21require lv-conf.inc
25 22
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
index ae45258297..a7d79a916c 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ 5SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \
6 file://lxdm.conf \ 6 file://lxdm.conf \
7 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ 7 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \
8 ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ 8 ${@bb.utils.contains("IMAGE_FEATURES", "allow-root-login", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \
9 file://0002-let-autotools-create-lxdm.conf.patch \ 9 file://0002-let-autotools-create-lxdm.conf.patch \
10 file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ 10 file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \
11 file://0004-fix-css-under-gtk-3.20.patch \ 11 file://0004-fix-css-under-gtk-3.20.patch \
@@ -21,7 +21,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.
21 file://0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch \ 21 file://0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch \
22 file://0001-Initialize-msghdr-struct-in-a-portable-way.patch \ 22 file://0001-Initialize-msghdr-struct-in-a-portable-way.patch \
23 " 23 "
24SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0"
25SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" 24SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f"
26 25
27PE = "1" 26PE = "1"
@@ -30,9 +29,6 @@ DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3
30DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" 29DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
31DEPENDS:append:libc-musl = " libexecinfo" 30DEPENDS:append:libc-musl = " libexecinfo"
32 31
33# combine oe-core way with angstrom DISTRO_TYPE
34DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
35
36inherit autotools pkgconfig gettext systemd features_check 32inherit autotools pkgconfig gettext systemd features_check
37# depends on virtual/libx11 33# depends on virtual/libx11
38REQUIRED_DISTRO_FEATURES = "x11" 34REQUIRED_DISTRO_FEATURES = "x11"
@@ -66,7 +62,8 @@ do_install:append() {
66 # ArchLinux version of pam config has the following advantages: 62 # ArchLinux version of pam config has the following advantages:
67 # * simple setup of passwordless login 63 # * simple setup of passwordless login
68 # * in XFCE powerdown/restart enabled in logoff dialog 64 # * in XFCE powerdown/restart enabled in logoff dialog
69 install -m 644 ${UNPACKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm 65 install -m 644 ${UNPACKDIR}/${@bb.utils.contains_any("IMAGE_FEATURES", [ "allow-empty-password", "empty-root-password" ], "lxdm-pam-debug", "lxdm-pam",d)} \
66 ${D}${sysconfdir}/pam.d/lxdm
70 fi 67 fi
71} 68}
72 69
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.0.bb b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.1.bb
index c9c4a6c27a..2b26ec57ae 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.0.bb
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.8.1.bb
@@ -4,11 +4,10 @@ HOMEPAGE = "https://github.com/any1/neatvnc"
4LICENSE = "ISC" 4LICENSE = "ISC"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7"
6 6
7SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" 7SRC_URI = "git://github.com/any1/neatvnc;branch=v0.8;protocol=https"
8 8
9SRCREV = "46432ce8cade0b54a38d4bb42eb07f96c8ff49fd" 9SRCREV = "07081567ab21a2b099ceb41ae8cab872a31cbb9a"
10 10
11S = "${WORKDIR}/git"
12 11
13DEPENDS = "libdrm pixman aml zlib" 12DEPENDS = "libdrm pixman aml zlib"
14 13
diff --git a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
index 0d53c78f3e..beebbd5665 100644
--- a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
+++ b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
@@ -7,7 +7,6 @@ DEPENDS = "virtual/libx11 libxtst"
7 7
8SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz" 8SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz"
9 9
10SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
11SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4" 10SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
12 11
13inherit autotools features_check 12inherit autotools features_check
diff --git a/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb b/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb
index a44e79362d..c31ad985d9 100644
--- a/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb
+++ b/meta-oe/recipes-graphics/nyancat/nyancat_1.5.2.bb
@@ -5,7 +5,6 @@ SECTION = "graphics"
5LICENSE = "NCSA" 5LICENSE = "NCSA"
6LIC_FILES_CHKSUM = "file://src/nyancat.c;beginline=27;endline=49;md5=285f7ac87da4a631f348800687d845bd" 6LIC_FILES_CHKSUM = "file://src/nyancat.c;beginline=27;endline=49;md5=285f7ac87da4a631f348800687d845bd"
7 7
8S = "${WORKDIR}/git"
9 8
10SRCREV = "5ffb6c5c03d0e9156db8f360599d4f0449bb16b9" 9SRCREV = "5ffb6c5c03d0e9156db8f360599d4f0449bb16b9"
11SRC_URI = " \ 10SRC_URI = " \
diff --git a/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch b/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch
new file mode 100644
index 0000000000..8bc2b80f68
--- /dev/null
+++ b/meta-oe/recipes-graphics/openbox/files/0001-Fix-list-traversal-issue-in-client_calc_layer.patch
@@ -0,0 +1,56 @@
1From d41128e5a1002af41c976c8860f8299cfcd3cd72 Mon Sep 17 00:00:00 2001
2From: pldubouilh <pldubouilh@gmail.com>
3Date: Fri, 17 Mar 2023 18:23:47 +0100
4Subject: [PATCH] Fix list traversal issue in client_calc_layer
5
6The calls to client_calc_layer_internal can modify stacking_list, which
7can cause us to follow dangling ->next pointers (either by the pointer
8itself already being freed, or it pointing to a freed area). Avoid this
9by copying the list first, the goal is to visit every client in the list
10once so this should be fine.
11
12Upstream-Status: Backport [http://git.openbox.org/?p=mikachu/openbox.git;a=commit;h=d41128e5a1002af41c976c8860f8299cfcd3cd72]
13Signed-off-by: Alexandre Videgrain <alexandre.videgrain@smile.fr>
14---
15 openbox/client.c | 9 +++++++--
16 1 file changed, 7 insertions(+), 2 deletions(-)
17
18diff --git a/openbox/client.c b/openbox/client.c
19index 7168b240..b8264587 100644
20--- a/openbox/client.c
21+++ b/openbox/client.c
22@@ -2742,9 +2742,12 @@ static void client_calc_layer_internal(ObClient *self)
23 void client_calc_layer(ObClient *self)
24 {
25 GList *it;
26+ /* the client_calc_layer_internal calls below modify stacking_list,
27+ so we have to make a copy to iterate over */
28+ GList *list = g_list_copy(stacking_list);
29
30 /* skip over stuff above fullscreen layer */
31- for (it = stacking_list; it; it = g_list_next(it))
32+ for (it = list; it; it = g_list_next(it))
33 if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
34
35 /* find the windows in the fullscreen layer, and mark them not-visited */
36@@ -2757,7 +2760,7 @@ void client_calc_layer(ObClient *self)
37 client_calc_layer_internal(self);
38
39 /* skip over stuff above fullscreen layer */
40- for (it = stacking_list; it; it = g_list_next(it))
41+ for (it = list; it; it = g_list_next(it))
42 if (window_layer(it->data) <= OB_STACKING_LAYER_FULLSCREEN) break;
43
44 /* now recalc any windows in the fullscreen layer which have not
45@@ -2768,6 +2771,8 @@ void client_calc_layer(ObClient *self)
46 !WINDOW_AS_CLIENT(it->data)->visited)
47 client_calc_layer_internal(it->data);
48 }
49+
50+ g_list_free(it);
51 }
52
53 gboolean client_should_show(ObClient *self)
54--
552.34.1
56
diff --git a/meta-oe/recipes-graphics/openbox/obconf_git.bb b/meta-oe/recipes-graphics/openbox/obconf_git.bb
index 1210af70ea..917492c982 100644
--- a/meta-oe/recipes-graphics/openbox/obconf_git.bb
+++ b/meta-oe/recipes-graphics/openbox/obconf_git.bb
@@ -16,7 +16,6 @@ SRC_URI = " \
16 file://0001-Fix-function-protype-visibility.patch \ 16 file://0001-Fix-function-protype-visibility.patch \
17" 17"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit autotools gettext pkgconfig mime mime-xdg features_check 20inherit autotools gettext pkgconfig mime mime-xdg features_check
22# depends on openbox, which is X11-only 21# depends on openbox, which is X11-only
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
index 9a15077316..5b62b9b2a7 100644
--- a/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
+++ b/meta-oe/recipes-graphics/openbox/openbox_3.6.1.bb
@@ -8,11 +8,14 @@ SRC_URI = " \
8 http://icculus.org/openbox/releases/openbox-${PV}.tar.gz \ 8 http://icculus.org/openbox/releases/openbox-${PV}.tar.gz \
9 file://0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch \ 9 file://0001-Makefile.am-avoid-race-when-creating-autostart-direc.patch \
10 file://0001-openbox-xdg-autostart-convert-to-python3.patch \ 10 file://0001-openbox-xdg-autostart-convert-to-python3.patch \
11 file://0001-Fix-list-traversal-issue-in-client_calc_layer.patch \
11" 12"
12 13
13SRC_URI[md5sum] = "b72794996c6a3ad94634727b95f9d204"
14SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7" 14SRC_URI[sha256sum] = "8b4ac0760018c77c0044fab06a4f0c510ba87eae934d9983b10878483bde7ef7"
15 15
16UPSTREAM_CHECK_URI = "https://github.com/Mikachu/openbox/tags"
17UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
18
16inherit autotools gettext update-alternatives pkgconfig features_check 19inherit autotools gettext update-alternatives pkgconfig features_check
17# depends on virtual/libx11 20# depends on virtual/libx11
18REQUIRED_DISTRO_FEATURES = "x11" 21REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch b/meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch
index 0ba13cf88f..2e25ecc7ef 100644
--- a/meta-oe/recipes-graphics/openjpeg/openjpeg/0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch
+++ b/meta-oe/recipes-graphics/openjpeg/openjpeg/0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch
@@ -1,4 +1,4 @@
1From 4681de07e21f17aa28710d3a51fabe7da60463f9 Mon Sep 17 00:00:00 2001 1From 805ce4d40c5aaae12aa73452ff07babe8eb43a62 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> 2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Fri, 28 Sep 2018 00:38:50 +0200 3Date: Fri, 28 Sep 2018 00:38:50 +0200
4Subject: [PATCH] Do not ask cmake to export binaries - they don't make it 4Subject: [PATCH] Do not ask cmake to export binaries - they don't make it
@@ -15,17 +15,17 @@ Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
15 1 file changed, 1 deletion(-) 15 1 file changed, 1 deletion(-)
16 16
17diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt 17diff --git a/src/bin/jp2/CMakeLists.txt b/src/bin/jp2/CMakeLists.txt
18index 4324c36d..2c11fe02 100644 18index 26156bcb..9eff04aa 100644
19--- a/src/bin/jp2/CMakeLists.txt 19--- a/src/bin/jp2/CMakeLists.txt
20+++ b/src/bin/jp2/CMakeLists.txt 20+++ b/src/bin/jp2/CMakeLists.txt
21@@ -66,7 +66,6 @@ foreach(exe opj_decompress opj_compress opj_dump) 21@@ -64,7 +64,6 @@ foreach(exe opj_decompress opj_compress opj_dump)
22 endif() 22 endif()
23 # Install exe 23 # Install exe
24 install(TARGETS ${exe} 24 install(TARGETS ${exe}
25- EXPORT OpenJPEGTargets 25- EXPORT OpenJPEGTargets
26 DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications 26 DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Applications
27 ) 27 )
28 if(OPJ_USE_DSYMUTIL) 28 if(OPJ_USE_DSYMUTIL)
29-- 29--
302.14.4 302.25.1
31 31
diff --git a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.3.bb
index f2d74078e8..6c383e3423 100644
--- a/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.0.bb
+++ b/meta-oe/recipes-graphics/openjpeg/openjpeg_2.5.3.bb
@@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c"
6DEPENDS = "libpng tiff lcms zlib" 6DEPENDS = "libpng tiff lcms zlib"
7 7
8SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \ 8SRC_URI = "git://github.com/uclouvain/openjpeg.git;branch=master;protocol=https \
9 file://0002-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \ 9 file://0001-Do-not-ask-cmake-to-export-binaries-they-don-t-make-.patch \
10 " 10 "
11SRCREV = "a5891555eb49ed7cc26b2901ea680acda136d811" 11SRCREV = "210a8a5690d0da66f02d49420d7176a21ef409dc"
12S = "${WORKDIR}/git"
13 12
14inherit cmake 13inherit cmake
15 14
diff --git a/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
new file mode 100644
index 0000000000..d3c96cd66f
--- /dev/null
+++ b/meta-oe/recipes-graphics/panel-mipi-dbi/panel-mipi-dbi-native_git.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Firmware file compiler for the panel-mipi-dbi display driver"
2DESCRIPTION = "The panel-mipi-dbi Linux display driver allows using the same \
3 driver for most MIPI DBI based display panels. \
4 This means many displays attached via SPI, even if the \
5 datasheet does not explicitly mention DBI support. \
6 To do so it uses tiny firmware files that contain \
7 display/controller-specific initialization commands. \
8 The mipi-dbi-cmd tool compiles these firmware files from a \
9 text format to a firmware blob format."
10HOMEPAGE = "https://github.com/notro/panel-mipi-dbi"
11SECTION = "graphics"
12LICENSE = "CC0-1.0"
13LIC_FILES_CHKSUM = "file://mipi-dbi-cmd;beginline=4;endline=13;md5=5e3d3f14cc87aa9e8976d728520cbcae"
14SRCREV = "1cbd40135a8c7f25d7b444a7fac77fd3c3ad471e"
15
16SRC_URI = "git://github.com/notro/panel-mipi-dbi.git;protocol=https;branch=main"
17
18
19inherit native
20
21do_configure[noexec] = "1"
22do_compile[noexec] = "1"
23do_install () {
24 install -D -p -m 0755 ${S}/mipi-dbi-cmd ${D}${bindir}/mipi-dbi-cmd
25}
26
27RDEPENDS:${PN} += "python3-native"
diff --git a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.56.1.bb
index 3b0fbd3e76..d99c6ceac0 100644
--- a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb
+++ b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.56.1.bb
@@ -9,10 +9,10 @@ DEPENDS = "mm-common cairomm-1.16 glibmm-2.68 pango"
9GNOMEBN = "pangomm" 9GNOMEBN = "pangomm"
10inherit gnomebase features_check 10inherit gnomebase features_check
11 11
12SRC_URI[archive.sha256sum] = "34a134126a6484ff12f774358c36ecc44d0e9df094e1b83796d9774bb7d24947" 12SRC_URI[archive.sha256sum] = "539f5aa60e9bdc6b955bb448e2a62cc14562744df690258040fbb74bf885755d"
13REQUIRED_DISTRO_FEATURES = "x11" 13REQUIRED_DISTRO_FEATURES = "x11"
14 14
15S = "${WORKDIR}/${GNOMEBN}-${PV}" 15S = "${UNPACKDIR}/${GNOMEBN}-${PV}"
16 16
17FILES:${PN} = "${libdir}/lib*.so.*" 17FILES:${PN} = "${libdir}/lib*.so.*"
18FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" 18FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/"
diff --git a/meta-oe/recipes-graphics/pango/pangomm_2.46.2.bb b/meta-oe/recipes-graphics/pango/pangomm_2.46.4.bb
index da822f3243..6f228b131e 100644
--- a/meta-oe/recipes-graphics/pango/pangomm_2.46.2.bb
+++ b/meta-oe/recipes-graphics/pango/pangomm_2.46.4.bb
@@ -11,7 +11,7 @@ inherit gnomebase features_check
11 11
12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 12ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
13 13
14SRC_URI[archive.sha256sum] = "57442ab4dc043877bfe3839915731ab2d693fc6634a71614422fb530c9eaa6f4" 14SRC_URI[archive.sha256sum] = "b92016661526424de4b9377f1512f59781f41fb16c9c0267d6133ba1cd68db22"
15 15
16FILES:${PN} = "${libdir}/lib*.so.*" 16FILES:${PN} = "${libdir}/lib*.so.*"
17FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/" 17FILES:${PN}-dev += "${libdir}/*/include/ ${libdir}/pangomm-*/"
diff --git a/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb b/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb
index 2ec89bc05b..88cdce26d1 100644
--- a/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb
+++ b/meta-oe/recipes-graphics/parallel-deqp-runner/parallel-deqp-runner_git.bb
@@ -10,6 +10,5 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/parallel-deqp-runner.git;protocol=h
10PV = "2020.06.15+git" 10PV = "2020.06.15+git"
11SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80" 11SRCREV = "e1642fb691d29b1462504b58916f7f514a963e80"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit pkgconfig meson 14inherit pkgconfig meson
diff --git a/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb b/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb
index 039816e4a0..c794f41370 100644
--- a/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb
+++ b/meta-oe/recipes-graphics/qrencode/qrencode_4.1.1.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
7SRCREV = "715e29fd4cd71b6e452ae0f4e36d917b43122ce8" 7SRCREV = "715e29fd4cd71b6e452ae0f4e36d917b43122ce8"
8SRC_URI = "git://github.com/fukuchi/libqrencode.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/fukuchi/libqrencode.git;branch=master;protocol=https"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit autotools pkgconfig 11inherit autotools pkgconfig
13 12
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb
index 58f2275736..c5a0cdc6aa 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.38.bb
@@ -2,13 +2,12 @@ SUMMARY = "RenderDoc recipe providing renderdoccmd"
2DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger" 2DESCRIPTION = "RenderDoc is a frame-capture based graphics debugger"
3HOMEPAGE = "https://github.com/baldurk/renderdoc" 3HOMEPAGE = "https://github.com/baldurk/renderdoc"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=36d34a46cb71546195d2b0c626a52e5d" 5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=963d134bd809d24547253120513346d3"
6 6
7SRCREV = "35b13a8e8fd2a331854dba6da81a20452e142d6f" 7SRCREV = "34c3c40787f440da9c2947cd63a41e6c4d1f95b9"
8SRC_URI = " \ 8SRC_URI = " \
9 git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \ 9 git://github.com/baldurk/${BPN}.git;protocol=https;branch=v1.x \
10" 10"
11S = "${WORKDIR}/git"
12 11
13DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms" 12DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms"
14 13
diff --git a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb
index bf3070701f..567f7a55e8 100644
--- a/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb
+++ b/meta-oe/recipes-graphics/spir/spirv-shader-generator_git.bb
@@ -4,7 +4,6 @@ LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5SECTION = "graphics" 5SECTION = "graphics"
6 6
7S = "${WORKDIR}/git"
8SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d" 7SRCREV = "f09ba2777714871bddb70d049878af34b94fa54d"
9SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/KhronosGroup/SPIRV-Cross.git;branch=master;protocol=https"
10inherit cmake pkgconfig 9inherit cmake pkgconfig
diff --git a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
index 161650f75d..b70859dc13 100644
--- a/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
+++ b/meta-oe/recipes-graphics/stalonetray/stalonetray_0.8.3.bb
@@ -8,9 +8,10 @@ DEPENDS = "virtual/libx11"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" 9SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2"
10 10
11SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef"
12SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c" 11SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c"
13 12
13UPSTREAM_CHECK_REGEX = "files/v(?P<pver>\d+(\.\d+)+)"
14
14inherit autotools features_check 15inherit autotools features_check
15 16
16REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
diff --git a/meta-oe/recipes-graphics/surf/surf_2.1.bb b/meta-oe/recipes-graphics/surf/surf_2.1.bb
index 4d9d4d3dd0..258c78e509 100644
--- a/meta-oe/recipes-graphics/surf/surf_2.1.bb
+++ b/meta-oe/recipes-graphics/surf/surf_2.1.bb
@@ -14,7 +14,6 @@ SRC_URI = "git://git.suckless.org/surf;branch=surf-webkit2 \
14 " 14 "
15SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}" 15SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'soup3', 'file://0001-config.mk-Fix-compiler-and-linker.patch file://0001-config.ml-make-compatible-with-webkitgtk-2.34.0.patch', '', d)}"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit pkgconfig features_check 18inherit pkgconfig features_check
20 19
diff --git a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb
index 1fabe2e29e..4cfbde5354 100644
--- a/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb
+++ b/meta-oe/recipes-graphics/terminus-font/terminus-font_4.49.1.bb
@@ -12,7 +12,6 @@ DEPENDS = "hostperl-runtime-native gzip-native bdftopcf-native"
12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ 12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
13 file://use-no-name-option-for-gzip.patch \ 13 file://use-no-name-option-for-gzip.patch \
14 " 14 "
15SRC_URI[md5sum] = "1b6acbd221957e33c8a792ebfaf3a659"
16SRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79" 15SRC_URI[sha256sum] = "d961c1b781627bf417f9b340693d64fc219e0113ad3a3af1a3424c7aa373ef79"
17 16
18inherit allarch fontcache 17inherit allarch fontcache
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb b/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb
index 0d45ee765c..f4923f3f00 100644
--- a/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb
+++ b/meta-oe/recipes-graphics/tesseract/tesseract-lang_4.1.0.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6SRCREV = "4767ea922bcc460e70b87b1d303ebdfed0897da8" 6SRCREV = "4767ea922bcc460e70b87b1d303ebdfed0897da8"
7SRC_URI = "git://github.com/tesseract-ocr/tessdata.git;branch=main;protocol=https" 7SRC_URI = "git://github.com/tesseract-ocr/tessdata.git;branch=main;protocol=https"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit allarch 10inherit allarch
12 11
diff --git a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.4.bb b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb
index b32bf34518..4bc0f5b88f 100644
--- a/meta-oe/recipes-graphics/tesseract/tesseract_5.3.4.bb
+++ b/meta-oe/recipes-graphics/tesseract/tesseract_5.5.1.bb
@@ -5,10 +5,9 @@ BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
7 7
8SRCREV = "8ee020e14cf5be4e3f0e9beb09b6b050a1871854" 8SRCREV = "3b7c70e34dea179549ed3e995872e2e019eb8477"
9SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https" 9SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https"
10 10
11S = "${WORKDIR}/git"
12 11
13DEPENDS = "leptonica" 12DEPENDS = "leptonica"
14 13
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch
index 5a42e67d06..0d58d2502d 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0002-do-not-build-tests-sub-directory.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0001-do-not-build-tests-sub-directory.patch
@@ -1,4 +1,4 @@
1From 076d0e12a7be6cd2108e4ca0dcde1cb658918fa5 Mon Sep 17 00:00:00 2001 1From e117ccc2b4ebb116ab63a3aa6097104964ee223b Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:02:45 -0700 3Date: Mon, 19 Apr 2021 23:02:45 -0700
4Subject: [PATCH] do not build tests sub directory 4Subject: [PATCH] do not build tests sub directory
@@ -12,19 +12,19 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
12 1 file changed, 3 deletions(-) 12 1 file changed, 3 deletions(-)
13 13
14diff --git a/CMakeLists.txt b/CMakeLists.txt 14diff --git a/CMakeLists.txt b/CMakeLists.txt
15index 7bf99441..bda80598 100644 15index 468f4b54..c47c9c0e 100644
16--- a/CMakeLists.txt 16--- a/CMakeLists.txt
17+++ b/CMakeLists.txt 17+++ b/CMakeLists.txt
18@@ -304,9 +304,6 @@ if(BUILD_VIEWER) 18@@ -351,9 +351,6 @@ if(BUILD_VIEWER)
19 add_subdirectory(media) 19 add_subdirectory(media)
20 endif() 20 endif()
21 21
22-add_subdirectory(tests) 22-add_subdirectory(tests)
23- 23-
24- 24-
25 add_subdirectory(release) 25 if(BUILD_VIEWER)
26 26 add_subdirectory(release)
27 # uninstall 27 endif()
28-- 28--
292.30.2 292.25.1
30 30
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
index cfb84ac141..101adaa82f 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch
@@ -1,7 +1,7 @@
1From 6369a5be2af2ed1fa443f40f48deaf318d22713e Mon Sep 17 00:00:00 2001 1From 4c7658b43f903599608c1fea4fbd7e37dc117119 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 20 Jul 2017 05:06:00 -0400 3Date: Thu, 20 Jul 2017 05:06:00 -0400
4Subject: [PATCH 3/4] add missing dynamic library to FLTK_LIBRARIES 4Subject: [PATCH] add missing dynamic library to FLTK_LIBRARIES
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,18 +11,18 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11 1 file changed, 2 insertions(+) 11 1 file changed, 2 insertions(+)
12 12
13diff --git a/CMakeLists.txt b/CMakeLists.txt 13diff --git a/CMakeLists.txt b/CMakeLists.txt
14index fb72a00..5732dc8 100644 14index 80c2762c..eb581600 100644
15--- a/CMakeLists.txt 15--- a/CMakeLists.txt
16+++ b/CMakeLists.txt 16+++ b/CMakeLists.txt
17@@ -246,6 +246,8 @@ if(UNIX AND NOT APPLE) 17@@ -315,6 +315,8 @@ if(BUILD_VIEWER)
18 endif() 18 set(CMAKE_REQUIRED_LIBRARIES)
19 endif() 19 endif()
20 20
21+set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg) 21+set(FLTK_LIBRARIES ${FLTK_LIBRARIES} -lm -ldl -lpng -ljpeg)
22+ 22+
23 # Check for GNUTLS library 23 # Check for GNUTLS library
24 option(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication" ON) 24 trioption(ENABLE_GNUTLS "Enable protocol encryption and advanced authentication")
25 if(ENABLE_GNUTLS) 25 if(ENABLE_GNUTLS)
26-- 26--
272.7.4 272.25.1
28 28
diff --git a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
index 5f14665b8d..c292df4a52 100644
--- a/meta-oe/recipes-graphics/tigervnc/files/0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
+++ b/meta-oe/recipes-graphics/tigervnc/files/0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch
@@ -1,4 +1,4 @@
1From 7f8acd59bb2e54f9be25a98dd71534700a9e355a Mon Sep 17 00:00:00 2001 1From 36bf37cb638cd87d7f8eb96afaf69c2d95177614 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Mon, 19 Apr 2021 23:14:28 -0700 3Date: Mon, 19 Apr 2021 23:14:28 -0700
4Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS 4Subject: [PATCH] tigervnc: add fPIC option to COMPILE_FLAGS
@@ -18,35 +18,35 @@ Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
18 3 files changed, 3 insertions(+) 18 3 files changed, 3 insertions(+)
19 19
20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt 20diff --git a/common/network/CMakeLists.txt b/common/network/CMakeLists.txt
21index d00ca452..e84e0290 100644 21index f08eaa31..85c05951 100644
22--- a/common/network/CMakeLists.txt 22--- a/common/network/CMakeLists.txt
23+++ b/common/network/CMakeLists.txt 23+++ b/common/network/CMakeLists.txt
24@@ -16,4 +16,5 @@ endif() 24@@ -15,4 +15,5 @@ endif()
25 25
26 if(UNIX) 26 if(UNIX)
27 libtool_create_control_file(network) 27 libtool_create_control_file(network)
28+ set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC) 28+ set_target_properties(network PROPERTIES COMPILE_FLAGS -fPIC)
29 endif() 29 endif()
30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt 30diff --git a/common/rdr/CMakeLists.txt b/common/rdr/CMakeLists.txt
31index 989ba2f4..20f6489d 100644 31index 30c2403a..94e1ff98 100644
32--- a/common/rdr/CMakeLists.txt 32--- a/common/rdr/CMakeLists.txt
33+++ b/common/rdr/CMakeLists.txt 33+++ b/common/rdr/CMakeLists.txt
34@@ -27,4 +27,5 @@ target_link_libraries(rdr ${RDR_LIBRARIES}) 34@@ -35,4 +35,5 @@ endif()
35 35
36 if(UNIX) 36 if(UNIX)
37 libtool_create_control_file(rdr) 37 libtool_create_control_file(rdr)
38+ set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC) 38+ set_target_properties(rdr PROPERTIES COMPILE_FLAGS -fPIC)
39 endif() 39 endif()
40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt 40diff --git a/common/rfb/CMakeLists.txt b/common/rfb/CMakeLists.txt
41index fc5a37bf..7f5ce131 100644 41index 360434a9..28566e90 100644
42--- a/common/rfb/CMakeLists.txt 42--- a/common/rfb/CMakeLists.txt
43+++ b/common/rfb/CMakeLists.txt 43+++ b/common/rfb/CMakeLists.txt
44@@ -99,4 +99,5 @@ target_link_libraries(rfb ${RFB_LIBRARIES}) 44@@ -116,4 +116,5 @@ endif()
45 45
46 if(UNIX) 46 if(UNIX)
47 libtool_create_control_file(rfb) 47 libtool_create_control_file(rfb)
48+ set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC) 48+ set_target_properties(rfb PROPERTIES COMPILE_FLAGS -fPIC)
49 endif() 49 endif()
50-- 50--
512.30.2 512.25.1
52 52
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
deleted file mode 100644
index 668ca79ddd..0000000000
--- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
+++ /dev/null
@@ -1,133 +0,0 @@
1DESCRIPTION = "TigerVNC remote display system"
2HOMEPAGE = "http://www.tigervnc.com/"
3LICENSE = "GPL-2.0-or-later"
4SECTION = "x11/utils"
5DEPENDS = "xserver-xorg gnutls jpeg libxtst gettext-native fltk libpam"
6RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp"
7
8LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3"
9
10S = "${WORKDIR}/git"
11
12inherit autotools cmake features_check pkgconfig
13
14REQUIRED_DISTRO_FEATURES = "x11 pam"
15
16B = "${S}"
17
18SRCREV = "540bfc3278e396321124d4b18a798ac2bc18b6ca"
19
20SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=https \
21 file://0002-do-not-build-tests-sub-directory.patch \
22 file://0003-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \
23 file://0004-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \
24"
25
26# Keep sync with xorg-server in oe-core
27XORG_PN ?= "xorg-server"
28XORG_PV ?= "1.20.6"
29SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg"
30XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
31SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b"
32SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1"
33
34# It is the directory containing the Xorg source for the
35# machine on which you are building TigerVNC.
36XSERVER_SOURCE_DIR="${S}/unix/xserver"
37
38do_patch[postfuncs] += "do_patch_xserver"
39do_patch_xserver () {
40 for subdir in Xext xkb GL hw/xquartz/bundle hw/xfree86/common; do
41 install -d ${XSERVER_SOURCE_DIR}/$subdir
42 done
43
44 for subdir in hw/dmx/doc man doc hw/dmx/doxygen; do
45 install -d ${XSERVER_SOURCE_DIR}/$subdir
46 done
47
48 sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \
49 hw/dmx/doxygen/doxygen.conf.in xserver.ent.in xkb/README.compiled \
50 hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in"
51 for i in ${sources}; do
52 install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i;
53 done
54
55 cd ${XORG_S}
56 find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | \
57 xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -)
58
59 cd ${XSERVER_SOURCE_DIR}
60 xserverpatch="${S}/unix/xserver120.patch"
61 echo "Apply $xserverpatch"
62 patch -p1 -b --suffix .vnc < $xserverpatch
63}
64
65EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \
66 --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
67 --disable-static --disable-xinerama \
68 --with-xkb-output=${localstatedir}/lib/xkb \
69 --disable-glx --disable-dri --disable-dri2 \
70 --disable-config-hal \
71 --disable-config-udev \
72 --without-dtrace \
73 --disable-unit-tests \
74 --disable-devel-docs \
75 --disable-selective-werror \
76 --disable-xshmfence \
77 --disable-config-udev \
78 --disable-dri3 \
79 --disable-libunwind \
80 --without-xmlto \
81 --enable-systemd-logind=no \
82 --disable-xinerama \
83 --disable-xwayland \
84"
85
86EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}"
87
88do_configure:append () {
89 olddir=`pwd`
90 cd ${XSERVER_SOURCE_DIR}
91
92 rm -rf aclocal-copy/
93 rm -f aclocal.m4
94
95 export ACLOCALDIR="${XSERVER_SOURCE_DIR}/aclocal-copy"
96 mkdir -p ${ACLOCALDIR}/
97 if [ -d ${STAGING_DATADIR_NATIVE}/aclocal ]; then
98 cp-noerror ${STAGING_DATADIR_NATIVE}/aclocal/ ${ACLOCALDIR}/
99 fi
100 if [ -d ${STAGING_DATADIR}/aclocal -a "${STAGING_DATADIR_NATIVE}/aclocal" != "${STAGING_DATADIR}/aclocal" ]; then
101 cp-noerror ${STAGING_DATADIR}/aclocal/ ${ACLOCALDIR}/
102 fi
103 ACLOCAL="aclocal --system-acdir=${ACLOCALDIR}/" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed."
104 chmod +x ./configure
105 ${CACHED_CONFIGUREVARS} ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF}
106 cd $olddir
107}
108
109do_compile:append () {
110 olddir=`pwd`
111 cd ${XSERVER_SOURCE_DIR}
112
113 oe_runmake
114
115 cd $olddir
116}
117
118do_install:append() {
119 olddir=`pwd`
120 cd ${XSERVER_SOURCE_DIR}/hw/vnc
121
122 oe_runmake 'DESTDIR=${D}' install
123
124 cd $olddir
125}
126
127FILES:${PN} += " \
128 ${libdir}/xorg/modules/extensions \
129 ${datadir}/icons \
130 ${systemd_unitdir} \
131"
132
133FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug"
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb
new file mode 100644
index 0000000000..dd4f79c314
--- /dev/null
+++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.15.0.bb
@@ -0,0 +1,87 @@
1DESCRIPTION = "TigerVNC remote display system"
2HOMEPAGE = "http://www.tigervnc.com/"
3LICENSE = "GPL-2.0-or-later"
4SECTION = "x11/utils"
5DEPENDS = "gettext-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk libpam libx11 libxdamage libxfixes libxrandr xkbcomp"
6RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp"
7
8LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3"
9
10
11inherit autotools cmake features_check pkgconfig systemd
12
13REQUIRED_DISTRO_FEATURES = "x11 pam"
14
15# For ease we do in-tree builds right now. It should be possible to do
16# out-of-tree builds.
17B = "${S}"
18
19SRCREV = "8bdf8734ce12c8ed3c232496fc8a4ccdb04636b8"
20
21SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.15-branch;protocol=https \
22 file://0001-do-not-build-tests-sub-directory.patch \
23 file://0002-add-missing-dynamic-library-to-FLTK_LIBRARIES.patch \
24 file://0003-tigervnc-add-fPIC-option-to-COMPILE_FLAGS.patch \
25"
26
27# Keep sync with xorg-server in oe-core
28XORG_PN ?= "xorg-server"
29XORG_PV ?= "21.1.16"
30SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.xz;name=xorg"
31XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
32SRC_URI[xorg.sha256sum] = "b14a116d2d805debc5b5b2aac505a279e69b217dae2fae2dfcb62400471a9970"
33
34# It is the directory containing the Xorg source for the
35# machine on which you are building TigerVNC.
36XSERVER_SOURCE_DIR = "${S}/unix/xserver"
37AUTOTOOLS_SCRIPT_PATH = "${XSERVER_SOURCE_DIR}"
38
39do_patch[postfuncs] += "do_patch_xserver"
40do_patch_xserver () {
41 # Put the xserver source in the right place in the tigervnc source tree
42 cp -rfl ${XORG_S}/* ${XSERVER_SOURCE_DIR}
43 # Apply the patch to integrate the vnc server
44 patch -p1 -b --suffix .vnc --directory ${XSERVER_SOURCE_DIR} <${S}/unix/xserver21.patch
45}
46
47EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \
48 --disable-xwin --disable-xephyr --disable-kdrive --with-pic \
49 --disable-static --disable-xinerama \
50 --with-xkb-output=${localstatedir}/lib/xkb \
51 --disable-glx --disable-dri --disable-dri2 \
52 --disable-config-hal \
53 --disable-config-udev \
54 --without-dtrace \
55 --disable-unit-tests \
56 --disable-devel-docs \
57 --disable-selective-werror \
58 --disable-xshmfence \
59 --disable-config-udev \
60 --disable-dri3 \
61 --disable-libunwind \
62 --without-xmlto \
63 --enable-systemd-logind=no \
64 --disable-xinerama \
65"
66
67EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}"
68
69do_configure:append () {
70 autotools_do_configure
71}
72
73do_compile:append () {
74 oe_runmake 'TIGERVNC_BUILDDIR=${B}'
75}
76
77do_install:append() {
78 oe_runmake -C ${B}/hw/vnc 'DESTDIR=${D}' install
79}
80
81FILES:${PN} += " \
82 ${libdir}/xorg/modules/extensions \
83 ${datadir}/icons \
84 ${datadir}/metainfo \
85"
86
87SYSTEMD_SERVICE:${PN} = "vncserver@.service"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
index e7ec004059..38a5126eea 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
@@ -12,7 +12,10 @@ SRC_URI = " \
12 file://44-source-code-pro-fonts-fontconfig.conf \ 12 file://44-source-code-pro-fonts-fontconfig.conf \
13" 13"
14SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e" 14SRC_URI[sha256sum] = "da2ac159497d31b0c6d9daa8fc390fb8252e75b4a9805ace6a2c9cccaed4932e"
15S = "${WORKDIR}/source-code-pro-2.030R-ro-1.050R-it" 15S = "${UNPACKDIR}/source-code-pro-2.030R-ro-1.050R-it"
16
17UPSTREAM_CHECK_URI = "https://github.com/adobe-fonts/source-code-pro/tags"
18UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+\.\d+)R"
16 19
17do_install() { 20do_install() {
18 install -d ${D}${sysconfdir}/fonts/conf.d/ 21 install -d ${D}${sysconfdir}/fonts/conf.d/
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.100.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.300.bb
index bce37a2e05..4a3b8e471e 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.100.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-abyssinica_2.300.bb
@@ -3,13 +3,15 @@ require ttf.inc
3SUMMARY = "Ethiopia and Eritrea (Amharic) font - TTF Edition" 3SUMMARY = "Ethiopia and Eritrea (Amharic) font - TTF Edition"
4HOMEPAGE = "http://software.sil.org/abyssinica/" 4HOMEPAGE = "http://software.sil.org/abyssinica/"
5LICENSE = "OFL-1.1" 5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://OFL.txt;md5=fd664aaab50445c3c1c97544554a6bda" 6LIC_FILES_CHKSUM = "file://OFL.txt;md5=6c56db018aa8803f8aff326829e3ce32"
7 7
8SRCNAME = "AbyssinicaSIL" 8SRCNAME = "AbyssinicaSIL"
9SRC_URI = "http://software.sil.org/downloads/r/abyssinica/${SRCNAME}-${PV}.zip" 9SRC_URI = "http://software.sil.org/downloads/r/abyssinica/${SRCNAME}-${PV}.zip"
10S = "${WORKDIR}/${SRCNAME}-${PV}" 10S = "${UNPACKDIR}/${SRCNAME}-${PV}"
11 11
12SRC_URI[sha256sum] = "1a1fc8e82f0c0f2e824f42bff05c1f4a0356330a89dc7ba798c1a20bc3e333e0" 12UPSTREAM_CHECK_URI = "https://software.sil.org/abyssinica/download/"
13
14SRC_URI[sha256sum] = "725e6cd58be6495e0e53f367608db36d9f818498bccba739d742892c5a3d8151"
13 15
14FONT_PACKAGES = "${PN}" 16FONT_PACKAGES = "${PN}"
15FILES:${PN} = "${datadir}" 17FILES:${PN} = "${datadir}"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
index ea734182de..82b2541a60 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-arphic-uming_20080216.bb
@@ -8,7 +8,7 @@ RPROVIDES:${PN} = "virtual-chinese-font"
8FONT_PACKAGES = "${PN}" 8FONT_PACKAGES = "${PN}"
9 9
10SRC_URI = "https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_0.2.${PV}.2.orig.tar.bz2" 10SRC_URI = "https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_0.2.${PV}.2.orig.tar.bz2"
11S = "${WORKDIR}/ttf-arphic-uming-0.2.20080216.2" 11S = "${UNPACKDIR}/ttf-arphic-uming-0.2.20080216.2"
12 12
13require ttf.inc 13require ttf.inc
14 14
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
index 54aeb318a4..9dc23fc4c7 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
@@ -17,7 +17,7 @@ RDEPENDS:${PN}-common = ""
17SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ 17SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \
18 file://30-dejavu-aliases.conf" 18 file://30-dejavu-aliases.conf"
19 19
20S = "${WORKDIR}/dejavu-fonts-ttf-${PV}/ttf" 20S = "${UNPACKDIR}/dejavu-fonts-ttf-${PV}/ttf"
21 21
22UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/" 22UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/"
23 23
@@ -44,7 +44,6 @@ FILES:${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.t
44FILES:${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf" 44FILES:${PN}-mathtexgyre = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf"
45FILES:${PN}-common = "${sysconfdir}" 45FILES:${PN}-common = "${sysconfdir}"
46 46
47SRC_URI[md5sum] = "d0efec10b9f110a32e9b8f796e21782c"
48SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7" 47SRC_URI[sha256sum] = "fa9ca4d13871dd122f61258a80d01751d603b4d3ee14095d65453b4e846e17d7"
49 48
50BBCLASSEXTEND = "native nativesdk" 49BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
index cc9213ec5b..06ab2a7921 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb
@@ -9,7 +9,7 @@ PV = "0.1+git"
9 9
10SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https"
11 11
12S = "${WORKDIR}/git/data/fonts" 12S = "${UNPACKDIR}/${BP}/data/fonts"
13 13
14do_install:append() { 14do_install:append() {
15 for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \ 15 for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
index 2439766ad5..f50da65ddc 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \
9 9
10SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " 10SRC_URI = "https://archive.debian.org/debian/pool/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz "
11 11
12S = "${WORKDIR}/ttf-sil-gentium-${PV}" 12S = "${UNPACKDIR}/ttf-sil-gentium-${PV}"
13 13
14do_install:append() { 14do_install:append() {
15 15
@@ -32,5 +32,4 @@ FILES:${PN} = "${datadir}/fonts/truetype/GenI*.ttf \
32 ${datadir}/fonts/truetype/GenR*.ttf \ 32 ${datadir}/fonts/truetype/GenR*.ttf \
33 ${datadir}/doc/ttf-gentium/*" 33 ${datadir}/doc/ttf-gentium/*"
34 34
35SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883"
36SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" 35SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
index c142f1dd02..0697e69399 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
@@ -23,8 +23,7 @@ SRC_URI = "git://github.com/google/fonts.git;protocol=https;branch=main;subpath=
23 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \ 23 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \
24 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed" 24 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed"
25 25
26S = "${WORKDIR}/sources" 26S = "${UNPACKDIR}"
27UNPACKDIR = "${S}"
28 27
29do_install:append() { 28do_install:append() {
30 install -d ${D}${datadir}/fonts/truetype/ 29 install -d ${D}${datadir}/fonts/truetype/
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb
index 8a75fe38bd..373bdb4bde 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-hunkyfonts_0.3.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://../COPYRIGHT.TXT;md5=70d34478e38b1ad9995079f9921f9ef7
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2" 8SRC_URI = "${SOURCEFORGE_MIRROR}/hunkyfonts/hunkyfonts-${PV}.tar.bz2"
9 9
10S = "${WORKDIR}/hunkyfonts-${PV}/TTF" 10S = "${UNPACKDIR}/hunkyfonts-${PV}/TTF"
11 11
12PACKAGES = "ttf-hunky-sans ttf-hunky-serif" 12PACKAGES = "ttf-hunky-sans ttf-hunky-serif"
13FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif" 13FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif"
@@ -15,5 +15,4 @@ FONT_PACKAGES = "ttf-hunky-sans ttf-hunky-serif"
15FILES:ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf" 15FILES:ttf-hunky-sans = "${datadir}/fonts/truetype/HunkySans*.ttf"
16FILES:ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf" 16FILES:ttf-hunky-serif = "${datadir}/fonts/truetype/HunkySerif*.ttf"
17 17
18SRC_URI[md5sum] = "b933312967842e5737b5415fa22d682a"
19SRC_URI[sha256sum] = "3fc528737ccd12ec3c09c4a91447d241d3c5bceeeb4d24b7f2c29b15c9735328" 18SRC_URI[sha256sum] = "3fc528737ccd12ec3c09c4a91447d241d3c5bceeeb4d24b7f2c29b15c9735328"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
index 43b4614f0b..2c671840e2 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5
8SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ 8SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
9 file://OFL.txt" 9 file://OFL.txt"
10 10
11S = "${WORKDIR}/sources" 11S = "${UNPACKDIR}"
12UNPACKDIR = "${S}"
13 12
14FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ 13FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
15 ${datadir}/doc/ttf-inconsolata/*" 14 ${datadir}/doc/ttf-inconsolata/*"
@@ -23,5 +22,4 @@ do_install:append() {
23 install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ 22 install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
24} 23}
25 24
26SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"
27SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a" 25SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
index 89c48d5fe2..165ea7576a 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ipa_003.03.01.bb
@@ -10,7 +10,7 @@ SRC_URI = "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont00303.zip "
10 10
11SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5" 11SRC_URI[sha256sum] = "f755ed79a4b8e715bed2f05a189172138aedf93db0f465b4e20c344a02766fe5"
12 12
13S = "${WORKDIR}/IPAfont00303" 13S = "${UNPACKDIR}/IPAfont00303"
14 14
15PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" 15PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
16FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp" 16FONT_PACKAGES = "ttf-ipag ttf-ipagp ttf-ipam ttf-ipamp"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
index a0fb7b6a79..bb2930ae0b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
@@ -13,10 +13,9 @@ SRC_URI = "https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${P
13 file://30-0-liberation-sans-narrow.conf \ 13 file://30-0-liberation-sans-narrow.conf \
14" 14"
15 15
16SRC_URI[md5sum] = "134d8262145fc793c6af494dcace3e71"
17SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c" 16SRC_URI[sha256sum] = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c"
18 17
19S = "${WORKDIR}/liberation-fonts-ttf-${PV}" 18S = "${UNPACKDIR}/liberation-fonts-ttf-${PV}"
20 19
21do_install:append () { 20do_install:append () {
22 install -d ${D}${datadir}/fonts/TTF/ 21 install -d ${D}${datadir}/fonts/TTF/
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb
deleted file mode 100644
index 6d7ba11e73..0000000000
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_0.2.bb
+++ /dev/null
@@ -1,22 +0,0 @@
1require ttf.inc
2
3SUMMARY = "Liberation fonts - TTF Version"
4HOMEPAGE = "https://www.redhat.com/promo/fonts/"
5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://License.txt;md5=5b171c5100029d884fcea21d9a2b7543 \
8"
9
10
11SRC_URI = "http://fedorahosted.org/liberation-fonts/export/807b6dfd069b998cd9b4d3158da98817ef23c79d/F-9/liberation-fonts-ttf-3.tar.gz"
12S = "${WORKDIR}/liberation-fonts-${PV}"
13
14PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
15FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
16
17FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*"
18FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*"
19FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
20
21SRC_URI[md5sum] = "77728078a17e39f7c242b42c3bf6feb8"
22SRC_URI[sha256sum] = "174cf27c57612971434ec8cc4a52bfd37bad8408e9b9219539c6d5113df6ff8f"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb
new file mode 100644
index 0000000000..92717da32f
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation_2.1.5.bb
@@ -0,0 +1,26 @@
1require ttf.inc
2
3SUMMARY = "Liberation fonts - TTF Version"
4HOMEPAGE = "https://github.com/liberationfonts"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=f96db970a9a46c5369142b99f530366b \
7"
8
9
10SRCREV = "4b0192046158094654e865245832c66d2104219e"
11SRC_URI = "git://github.com/liberationfonts/liberation-fonts.git;branch=main;protocol=https"
12
13DEPENDS = "fontforge-native"
14
15PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
16FONT_PACKAGES = "ttf-liberation-mono ttf-liberation-sans ttf-liberation-serif"
17
18FILES:ttf-liberation-mono = "${datadir}/fonts/truetype/*Mono*"
19FILES:ttf-liberation-sans = "${datadir}/fonts/truetype/*Sans*"
20FILES:ttf-liberation-serif = "${datadir}/fonts/truetype/*Serif*"
21
22inherit python3native
23
24do_compile() {
25 cd ${S}; make ttf;
26}
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
index 65d0f0bb35..d4c7a2f219 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
@@ -10,8 +10,7 @@ SRC_URI[sha256sum] = "de5750f7048973f851961050f76b8b58e9bda400d5007c3078d9317fbe
10 10
11DEPENDS = "fontforge-native" 11DEPENDS = "fontforge-native"
12 12
13S = "${WORKDIR}/sources" 13S = "${UNPACKDIR}"
14UNPACKDIR = "${S}"
15FONT_PACKAGES = "${PN}" 14FONT_PACKAGES = "${PN}"
16FILES:${PN} = "${datadir}" 15FILES:${PN} = "${datadir}"
17 16
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb
index 8340cccbb4..43ec61772b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lohit_2.92.1.bb
@@ -11,7 +11,6 @@ SRCREV = "a403c9b7f509dad5e58dde85ef63b1c36fde3a21"
11SRC_URI = "git://github.com/pravins/lohit.git;branch=master;protocol=https" 11SRC_URI = "git://github.com/pravins/lohit.git;branch=master;protocol=https"
12 12
13DEPENDS = "fontforge-native" 13DEPENDS = "fontforge-native"
14S = "${WORKDIR}/git"
15FONT_PACKAGES = "${PN}" 14FONT_PACKAGES = "${PN}"
16FILES:${PN} = "${datadir}" 15FILES:${PN} = "${datadir}"
17 16
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
index a3babe90a5..1ae1d1a2b4 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-mplus_027.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE_E;md5=ac161e96eda00db9a3aec7870b5d9658 \
7 file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \ 7 file://LICENSE_J;md5=a120ca8d7c8e4a475d5277c9aeb95221 \
8" 8"
9SRC_URI = "http://downloads.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz" 9SRC_URI = "http://downloads.sourceforge.jp/mplus-fonts/6650/mplus-TESTFLIGHT-${PV}.tar.gz"
10S = "${WORKDIR}/mplus-TESTFLIGHT-${PV}" 10S = "${UNPACKDIR}/mplus-TESTFLIGHT-${PV}"
11 11
12PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages " 12PACKAGESPLITFUNCS:prepend = "split_ttf_mplus_packages "
13 13
@@ -22,5 +22,4 @@ do_install() {
22 install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/ 22 install -m 0644 *.ttf ${D}${datadir}/fonts/ttf-mplus/
23} 23}
24 24
25SRC_URI[md5sum] = "d1400184b51b3871e8d2fca6c50e18ae"
26SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6" 25SRC_URI[sha256sum] = "a20b9b9b03c2a6fb1e2137d29e8a6ce06406ba1e008906ea3c474dc048dc06a6"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
index 9d6a9a6c2e..b5dae22a9d 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-noto-emoji_20200916.bb
@@ -11,7 +11,6 @@ SRCREV = "aac7ccaa4d1dea4543453b96f7d6fc47066a57ff"
11PACKAGES = "${PN}-color ${PN}-regular" 11PACKAGES = "${PN}-color ${PN}-regular"
12FONT_PACKAGES = "${PN}-color ${PN}-regular" 12FONT_PACKAGES = "${PN}-color ${PN}-regular"
13 13
14S = "${WORKDIR}/git"
15 14
16FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf" 15FILES:${PN}-color = "${datadir}/fonts/truetype/NotoColorEmoji.ttf"
17FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf" 16FILES:${PN}-regular = "${datadir}/fonts/truetype/NotoEmoji-Regular.ttf"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
index fce76418f9..3c3207c672 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
@@ -13,7 +13,6 @@ inherit allarch fontcache
13# and causes hash build failures 13# and causes hash build failures
14SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip" 14SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans.zip/c3f5a0e20a75cf628387510a720924a7/PTSans.zip"
15 15
16SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
17SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" 16SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
18 17
19S = "${UNPACKDIR}" 18S = "${UNPACKDIR}"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
index 3752ec39bc..9c9f2e566d 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
@@ -6,10 +6,8 @@ LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
7 7
8SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-android.zip" 8SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-android.zip"
9SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1"
10SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" 9SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf"
11 10
12S = "${WORKDIR}/sources" 11S = "${UNPACKDIR}"
13UNPACKDIR = "${S}"
14 12
15FILES:${PN} = "${datadir}/fonts/truetype/*.ttf" 13FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
index a4ad91fc77..b72307519c 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-sazanami_20040629.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://README;md5=97d739900be6e852830f55aa3c07d4a0"
10RPROVIDES:${PN} = "virtual-japanese-font" 10RPROVIDES:${PN} = "virtual-japanese-font"
11 11
12SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2" 12SRC_URI = "http://osdn.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2"
13S = "${WORKDIR}/sazanami-20040629" 13S = "${UNPACKDIR}/sazanami-20040629"
14 14
15PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" 15PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
16FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho" 16FONT_PACKAGES = "ttf-sazanami-gothic ttf-sazanami-mincho"
@@ -29,5 +29,4 @@ do_install:append() {
29 install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho 29 install -m 0644 ${S}/README ${D}${datadir}/doc/ttf-sazanami-mincho
30} 30}
31 31
32SRC_URI[md5sum] = "ceef10579a75c92483171f3bd7f77df2"
33SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7" 32SRC_URI[sha256sum] = "3467ce2f70a9a3fbbf8d4d97355a2f334a6351baa6722251403637a8cbebf6b7"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb
index be0e544ccc..b224f46869 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-takao_003.03.01.bb
@@ -9,10 +9,10 @@ SECTION = "User Interface/X"
9LICENSE = "IPA" 9LICENSE = "IPA"
10LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276" 10LIC_FILES_CHKSUM = "file://IPA_Font_License_Agreement_v1.0.txt;md5=6cd3351ba979cf9db1fad644e8221276"
11 11
12SRC_URI = "https://launchpad.net/${BPN}/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz" 12SRC_URI = "https://launchpad.net/takao-fonts/trunk/15.03/+download/TakaoFonts_00303.01.tar.xz"
13SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f" 13SRC_URI[sha256sum] = "e9871f72ac69acb3e277aebbee7ca01fbebf54800733e29fafdc46133fc3552f"
14 14
15S = "${WORKDIR}/TakaoFonts_00303.01" 15S = "${UNPACKDIR}/TakaoFonts_00303.01"
16 16
17PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" 17PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
18FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho" 18FONT_PACKAGES = "ttf-takao-pgothic ttf-takao-gothic ttf-takao-pmincho ttf-takao-mincho"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb
index d118769cc8..ff89f7466a 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-ubuntu-font-family_0.83.bb
@@ -10,10 +10,12 @@ SHA1SUM = "0cef8205"
10SRC_URI = "https://assets.ubuntu.com/v1/${SHA1SUM}-ubuntu-font-family-${PV}.zip" 10SRC_URI = "https://assets.ubuntu.com/v1/${SHA1SUM}-ubuntu-font-family-${PV}.zip"
11 11
12 12
13SRC_URI[md5sum] = "c5a5059d6856b4ddf79d824dcaf5ad32"
14SRC_URI[sha256sum] = "61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf" 13SRC_URI[sha256sum] = "61a2b342526fd552f19fef438bb9211a8212de19ad96e32a1209c039f1d68ecf"
15 14
16S = "${WORKDIR}/ubuntu-font-family-${PV}" 15UPSTREAM_CHECK_URI = "https://repology.org/project/fonts:ubuntu/packages"
16UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
17
18S = "${UNPACKDIR}/ubuntu-font-family-${PV}"
17 19
18PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" 20PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans"
19FONT_PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans" 21FONT_PACKAGES = "ttf-ubuntu-mono ttf-ubuntu-sans"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb
index 4cc5afd4a7..c7be162b1b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-vlgothic_20200720.bb
@@ -12,7 +12,7 @@ SRC_URI = "https://osdn.jp/dl/vlgothic/VLGothic-${PV}.tar.xz"
12 12
13SRC_URI[sha256sum] = "297a3813675fbea12c5813b55a78091c9a5946515ecbf9fde8b8102e01c579f4" 13SRC_URI[sha256sum] = "297a3813675fbea12c5813b55a78091c9a5946515ecbf9fde8b8102e01c579f4"
14 14
15S = "${WORKDIR}/VLGothic" 15S = "${UNPACKDIR}/VLGothic"
16 16
17do_install:append () { 17do_install:append () {
18 install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt 18 install -D -m644 ${S}/LICENSE_E.mplus ${D}${datadir}/licenses/${PN}/COPYING_MPLUS.txt
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb
index 21897a7589..8d721d00ad 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-wqy-zenhei_0.9.45.bb
@@ -6,10 +6,12 @@ LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c" 6LIC_FILES_CHKSUM = "file://COPYING;md5=cf540fc7d35b5777e36051280b3a911c"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz" 8SRC_URI = "${SOURCEFORGE_MIRROR}/wqy/wqy-zenhei-${PV}.tar.gz"
9SRC_URI[md5sum] = "4c6c3f4e902dd5ee0a121e8c41d040bd"
10SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6" 9SRC_URI[sha256sum] = "e4b7e306475bf9427d1757578f0e4528930c84c44eaa3f167d4c42f110ee75d6"
11 10
12S = "${WORKDIR}/wqy-zenhei" 11UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/wqy/files/wqy-zenhei/"
12UPSTREAM_CHECK_REGEX = "wqy-zenhei/(?P<pver>\d+(\.\d+)+)"
13
14S = "${UNPACKDIR}/wqy-zenhei"
13 15
14do_install:append () { 16do_install:append () {
15 sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf 17 sed -i -e '/<string>[^W]/d' ${S}/44-wqy-zenhei.conf
diff --git a/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb b/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb
index e80aebc89b..5aea738c15 100644
--- a/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb
+++ b/meta-oe/recipes-graphics/unclutter-xfixes/unclutter-xfixes_1.6.bb
@@ -14,7 +14,6 @@ REQUIRED_DISTRO_FEATURES = "x11"
14 14
15DEPENDS = "libev libx11 libxi libxfixes" 15DEPENDS = "libev libx11 libxi libxfixes"
16 16
17S = "${WORKDIR}/git"
18 17
19do_install:append() { 18do_install:append() {
20 # LICENSE is installed to /usr/share/licenses but we don't want it in the package 19 # LICENSE is installed to /usr/share/licenses but we don't want it in the package
diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
index db3c045588..3ba561a54e 100644
--- a/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
+++ b/meta-oe/recipes-graphics/vdpau/libvdpau_1.5.bb
@@ -8,7 +8,6 @@ DEPENDS = "virtual/libx11 libxext xorgproto"
8SRCREV = "79f1506a3307d3275b0fdfb2e110c173f68e6f78" 8SRCREV = "79f1506a3307d3275b0fdfb2e110c173f68e6f78"
9SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau;branch=master" 9SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau;branch=master"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit features_check meson pkgconfig 12inherit features_check meson pkgconfig
14 13
diff --git a/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb
new file mode 100644
index 0000000000..a7db743239
--- /dev/null
+++ b/meta-oe/recipes-graphics/vdpau/vdpauinfo_1.5.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "Tool to query the capabilities of a VDPAU implementation"
2HOMEPAGE = "https://gitlab.freedesktop.org/vdpau/vdpauinfo"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=5b6e110c362fe46168199f3490e52c3c"
6
7DEPENDS = "libvdpau"
8
9# libvdpau is available only with x11
10inherit features_check
11REQUIRED_DISTRO_FEATURES = "x11"
12
13RDEPENDS:${PN} = "libvdpau"
14
15SRCREV = "d3c5bd63bf8878d59b22d618d2bb5116db392d28"
16SRC_URI = "git://anongit.freedesktop.org/vdpau/vdpauinfo;branch=master"
17
18
19inherit autotools pkgconfig
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch
new file mode 100644
index 0000000000..44632bc74f
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-Fix-missing-include-cstdint-causing-build-failures.patch
@@ -0,0 +1,47 @@
1From 1d80b54aefd1f5f361990b1223c6fe308a8d3085 Mon Sep 17 00:00:00 2001
2From: Ricardo Garcia <rgarcia@igalia.com>
3Date: Mon, 21 Apr 2025 12:30:05 +0200
4Subject: [PATCH] Fix missing #include <cstdint> causing build failures
5
6Tested on Fedora 42 with clang.
7
8Upstream-Status: Submitted [https://github.com/google/amber/pull/1092]
9
10Fixes:
11http://errors.yoctoproject.org/Errors/Details/852849/
12
13In file included from TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.cc:15:
14TOPDIR/tmp/work/core2-64-oe-linux/vulkan-cts/1.4.1.0/git/external/amber/src/src/type.h:56:39: error: 'uint32_t' has not been declared
15 56 | static bool IsInt8(FormatMode mode, uint32_t num_bits) {
16 | ^~~~~~~~
17
18Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
19---
20 src/tokenizer.h | 1 +
21 src/type.h | 1 +
22 2 files changed, 2 insertions(+)
23
24diff --git a/src/tokenizer.h b/src/tokenizer.h
25index 53efec60..ea4f19df 100644
26--- a/src/tokenizer.h
27+++ b/src/tokenizer.h
28@@ -16,6 +16,7 @@
29 #define SRC_TOKENIZER_H_
30
31 #include <cstdlib>
32+#include <cstdint>
33 #include <memory>
34 #include <string>
35
36diff --git a/src/type.h b/src/type.h
37index c63779ba..97720f29 100644
38--- a/src/type.h
39+++ b/src/type.h
40@@ -16,6 +16,7 @@
41 #define SRC_TYPE_H_
42
43 #include <cassert>
44+#include <cstdint>
45 #include <memory>
46 #include <string>
47 #include <vector>
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
index f659e36066..9eef9a702e 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
@@ -15,15 +15,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 15
16--- a/framework/platform/CMakeLists.txt 16--- a/framework/platform/CMakeLists.txt
17+++ b/framework/platform/CMakeLists.txt 17+++ b/framework/platform/CMakeLists.txt
18@@ -73,8 +73,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) 18@@ -83,8 +83,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS)
19 add_definitions(-DDEQP_SUPPORT_WAYLAND=1) 19 configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.c ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.c COPYONLY)
20 include_directories(lnx/wayland) 20 configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.h ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.h COPYONLY)
21 21 else ()
22- pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) 22- pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
23- 23-
24+ if (NOT WAYLAND_PROTOCOLS_DIR) 24+ if (NOT WAYLAND_PROTOCOL_DIR)
25+ pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) 25+ pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir)
26+ endif() 26+ endif()
27 if (NOT WAYLAND_SCANNER) 27 if (NOT WAYLAND_SCANNER)
28 pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) 28 pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner)
29 endif() 29 endif()
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch
new file mode 100644
index 0000000000..5e19ed2db3
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch
@@ -0,0 +1,123 @@
1From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001
2From: Trevor Woerner <twoerner@gmail.com>
3Date: Thu, 23 Sep 2021 19:36:43 -0400
4Subject: [PATCH] use library sonames for linking
5
6The recommended "best practices" for applications is to link to library
7sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This
8ensures that applications don't try to use libraries if an incompatible ABI
9change occurs.
10
11Upstream-Status: Denied [https://github.com/KhronosGroup/VK-GL-CTS/pull/288]
12Signed-off-by: Trevor Woerner <twoerner@gmail.com>
13---
14 framework/egl/egluGLContextFactory.cpp | 4 ++--
15 framework/egl/wrapper/eglwLibrary.cpp | 2 +-
16 framework/platform/android/tcuAndroidPlatform.cpp | 2 +-
17 framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +-
18 .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +-
19 framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++---
20 6 files changed, 9 insertions(+), 9 deletions(-)
21
22--- a/framework/egl/egluGLContextFactory.cpp
23+++ b/framework/egl/egluGLContextFactory.cpp
24@@ -63,7 +63,7 @@ using std::vector;
25 #if (DE_OS == DE_OS_WIN32)
26 #define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll"
27 #else
28-#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
29+#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
30 #endif
31 #endif
32
33@@ -75,7 +75,7 @@ using std::vector;
34 #if (DE_OS == DE_OS_WIN32)
35 #define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll"
36 #else
37-#define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
38+#define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
39 #endif
40 #endif
41
42--- a/framework/egl/wrapper/eglwLibrary.cpp
43+++ b/framework/egl/wrapper/eglwLibrary.cpp
44@@ -145,7 +145,7 @@ DefaultLibrary::~DefaultLibrary(void)
45 const char *DefaultLibrary::getLibraryFileName(void)
46 {
47 #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX)
48- return "libEGL.so";
49+ return "libEGL.so.1";
50 #elif (DE_OS == DE_OS_WIN32)
51 return "libEGL.dll";
52 #else
53--- a/framework/platform/android/tcuAndroidPlatform.cpp
54+++ b/framework/platform/android/tcuAndroidPlatform.cpp
55@@ -56,7 +56,7 @@ static const eglu::NativeWindow::Capabil
56 class NativeDisplay : public eglu::NativeDisplay
57 {
58 public:
59- NativeDisplay(void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so")
60+ NativeDisplay(void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1")
61 {
62 }
63 virtual ~NativeDisplay(void)
64@@ -223,7 +223,7 @@ class VulkanLibrary : public vk::Library
65 {
66 public:
67 VulkanLibrary(const char *libraryPath)
68- : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so")
69+ : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so.1")
70 , m_driver(m_library)
71 {
72 }
73--- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
74+++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
75@@ -77,7 +77,7 @@ using tcu::TextureLevel;
76 class Library : public eglw::DefaultLibrary
77 {
78 public:
79- Library(void) : eglw::DefaultLibrary("libEGL.so")
80+ Library(void) : eglw::DefaultLibrary("libEGL.so.1")
81 {
82 }
83
84--- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
85+++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
86@@ -64,7 +64,7 @@ public:
87 Display(MovePtr<wayland::Display> waylandDisplay)
88 : NativeDisplay(CAPABILITIES, EGL_PLATFORM_WAYLAND_KHR, "EGL_KHR_platform_wayland")
89 , m_display(waylandDisplay)
90- , m_library("libEGL.so")
91+ , m_library("libEGL.so.1")
92 {
93 }
94
95--- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
96+++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
97@@ -69,7 +69,7 @@ using std::vector;
98
99 // Default library names
100 #if !defined(DEQP_GLES2_LIBRARY_PATH)
101-#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
102+#define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
103 #endif
104
105 #if !defined(DEQP_GLES3_LIBRARY_PATH)
106@@ -77,7 +77,7 @@ using std::vector;
107 #endif
108
109 #if !defined(DEQP_OPENGL_LIBRARY_PATH)
110-#define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
111+#define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
112 #endif
113
114 #if !defined(DEQP_VULKAN_LIBRARY_PATH)
115@@ -258,7 +258,7 @@ glu::RenderContext *ContextFactory::crea
116
117 EglRenderContext::EglRenderContext(const glu::RenderConfig &config, const tcu::CommandLine &cmdLine,
118 const glu::RenderContext *sharedContext)
119- : m_egl("libEGL.so")
120+ : m_egl("libEGL.so.1")
121 , m_contextType(config.type)
122 , m_eglDisplay(EGL_NO_DISPLAY)
123 , m_eglContext(EGL_NO_CONTEXT)
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch
deleted file mode 100644
index 0dd59713a1..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkan-cts-include-missing-cstdint.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From b07f6ecd6ab83b788301a555dc546b9a5c9dd8a2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 25 Jan 2023 19:19:34 -0800
4Subject: [PATCH] Include missing <cstdint>
5
6This error is seen with gcc-13 where include headers are not implicitly
7included [1]
8
9Fixes errors e.g.
10error: 'uint32_t' does not name a type
11
12[1] https://www.gnu.org/software/gcc/gcc-13/porting_to.html
13
14Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/378]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 framework/common/tcuDefs.hpp | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/framework/common/tcuDefs.hpp b/framework/common/tcuDefs.hpp
21index ad3d0736d..6dfac10fb 100644
22--- a/framework/common/tcuDefs.hpp
23+++ b/framework/common/tcuDefs.hpp
24@@ -26,6 +26,7 @@
25 #include "deDefs.hpp"
26 #include "qpTestLog.h"
27
28+#include <cstdint>
29 #include <string>
30 #include <stdexcept>
31
32--
332.39.1
34
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch
deleted file mode 100644
index 40aea8f203..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-vulkancts-Include-missing-cstdint.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 1b7646ced0f0b969f818084887885827ed1a4244 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 31 May 2021 17:31:33 -0700
4Subject: [PATCH] vulkancts: Include missing <cstdint>
5
6Fixes build with gcc-13
7
8../git/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp:2798:102: error: 'uintptr_t' in namespace 'std' does not name a type
9 2798 | BufferDataType type = static_cast<BufferDataType>(reinterpret_cast<std::uintptr_t>(expectedOutputs[resultIndex].getUserData()));
10 | ^~~~~~~~~
11
12Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/378]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 .../vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp
19index ab02be1dc..3d3ee4829 100644
20--- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp
21+++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmFloatControlsTests.cpp
22@@ -33,6 +33,7 @@
23 #include "deFloat16.h"
24 #include "vkQueryUtil.hpp"
25 #include "vkRefUtil.hpp"
26+#include <cstdint>
27 #include <cstring>
28 #include <vector>
29 #include <limits>
30--
312.39.1
32
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch
index 4ecc371ca4..af59dd3e61 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-clang-private-operator.patch
@@ -2,7 +2,7 @@ Upstream-Status: Pending
2 2
3--- a/external/glslang/src/glslang/Include/PoolAlloc.h 3--- a/external/glslang/src/glslang/Include/PoolAlloc.h
4+++ b/external/glslang/src/glslang/Include/PoolAlloc.h 4+++ b/external/glslang/src/glslang/Include/PoolAlloc.h
5@@ -240,8 +240,9 @@ protected: 5@@ -245,8 +245,9 @@ protected:
6 6
7 int numCalls; // just an interesting statistic 7 int numCalls; // just an interesting statistic
8 size_t totalBytes; // just an interesting statistic 8 size_t totalBytes; // just an interesting statistic
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
index 58dc1f24dd..717d489786 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/fix-musl.patch
@@ -2,9 +2,9 @@ Upstream-Status: Pending
2 2
3--- a/framework/delibs/dethread/CMakeLists.txt 3--- a/framework/delibs/dethread/CMakeLists.txt
4+++ b/framework/delibs/dethread/CMakeLists.txt 4+++ b/framework/delibs/dethread/CMakeLists.txt
5@@ -42,6 +42,7 @@ if (DE_OS_IS_UNIX) 5@@ -41,6 +41,7 @@ if (DE_OS_IS_UNIX)
6 if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
6 add_definitions(-D__BSD_VISIBLE) 7 add_definitions(-D__BSD_VISIBLE)
7 add_definitions(-D_XOPEN_SOURCE=600)
8 endif () 8 endif ()
9+ add_definitions(-D_XOPEN_SOURCE=600) 9+ add_definitions(-D_XOPEN_SOURCE=600)
10 add_definitions(-D_GNU_SOURCE) 10 add_definitions(-D_GNU_SOURCE)
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch
deleted file mode 100644
index 8a8d8d2c32..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/files/gen-framework-path.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1Prepend instead of append to the module search path, as this script needs to use
2the local module build, not the host module build.
3
4Upstream-Status: Submitted
5Signed-off-by: Ross Burton <ross.burton@arm.com>
6
7diff --git a/external/vulkancts/scripts/gen_framework.py b/external/vulkancts/scripts/gen_framework.py
8index 83c5329ce..10e720910 100755
9--- a/external/vulkancts/scripts/gen_framework.py
10+++ b/external/vulkancts/scripts/gen_framework.py
11@@ -33 +33 @@ from collections import OrderedDict
12-sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
13+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
14diff --git a/external/vulkancts/scripts/gen_framework_c.py b/external/vulkancts/scripts/gen_framework_c.py
15index 95587e642..84b878cb2 100644
16--- a/external/vulkancts/scripts/gen_framework_c.py
17+++ b/external/vulkancts/scripts/gen_framework_c.py
18@@ -28 +28 @@ import re
19-sys.path.append(os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
20+sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts"))
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py
new file mode 100755
index 0000000000..c2756b592c
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py
@@ -0,0 +1,131 @@
1#! /usr/bin/env python3
2
3import json
4import re
5import os
6import subprocess
7import sys
8import types
9import urllib.parse
10
11
12def resolve_commit(repo, ref):
13 # If it looks like a SHA, just return that
14 if re.match(r"[a-z0-9]{40}", ref):
15 return ref
16
17 # Otherwise it's probably a tag name so resolve it
18 cmd = ("git", "ls-remote", "--tags", "--exit-code", repo, ref)
19 ret = subprocess.run(cmd, check=True, text=True, capture_output=True)
20 sha = ret.stdout.split(maxsplit=1)[0]
21 assert len(sha) == 40
22 return sha
23
24
25def transform_git(repo_url, repo_ref, destination):
26 parts = urllib.parse.urlparse(repo_url)
27 protocol = parts.scheme
28 parts = parts._replace(scheme="git")
29 url = urllib.parse.urlunparse(parts)
30 # Resolve the commit reference to a SHA
31 sha = resolve_commit(repo_url, repo_ref)
32
33 return url + f";protocol={protocol};nobranch=1;destsuffix={destination};rev={sha}"
34
35
36def load_module(filename):
37 import importlib.util
38
39 spec = importlib.util.spec_from_file_location("fetchmodule", filename)
40 module = importlib.util.module_from_spec(spec)
41 spec.loader.exec_module(module)
42 return module
43
44
45def convert_fetch(basedir):
46 """
47 Convert the external/fetch_sources.py data
48 """
49 fetch = load_module(os.path.join(basedir, "fetch_sources.py"))
50 lines = []
51 for p in fetch.PACKAGES:
52 if isinstance(p, fetch.SourcePackage):
53 # Ignore these as so far we can use the system copies
54 pass
55 elif isinstance(p, fetch.SourceFile):
56 dest = "/".join(["git/external", p.baseDir, p.extractDir])
57 url = f"{p.url};subdir={dest};sha256sum={p.checksum}"
58 lines.append(f" {url} \\")
59 elif isinstance(p, fetch.GitRepo):
60 dest = "/".join(["git/external", p.baseDir, p.extractDir])
61 url = transform_git(p.httpsUrl, p.revision, dest)
62 lines.append(f" {url} \\")
63 else:
64 assert f"Unexpected {p=}"
65 return lines
66
67
68def convert_knowngood(basedir, destination):
69 """
70 Convert the """
71 filename = os.path.join(basedir, "vulkan-validationlayers/src/scripts/known_good.json")
72 try:
73 with open(filename) as fp:
74 data = json.load(fp, object_hook=lambda x: types.SimpleNamespace(**x))
75 except FileNotFoundError:
76 return []
77
78 lines = []
79 for repo in data.repos:
80 # Skip repositories that are not needed on Linux (TODO: assumes linux target)
81 if hasattr(repo, "build_platforms") and repo.build_platforms != "linux":
82 continue
83
84 # Switch the URL to use git: and save the original protocol
85 parts = urllib.parse.urlparse(repo.url)
86 protocol = parts.scheme
87 parts = parts._replace(scheme="git")
88 url = urllib.parse.urlunparse(parts)
89 # Resolve the commit reference to a SHA
90 sha = resolve_commit(repo.url, repo.commit)
91
92 destsuffix = destination + "/" + repo.sub_dir
93
94 url += f";protocol={protocol};nobranch=1;destsuffix={destsuffix};rev={sha}"
95 lines.append(f" {url} \\")
96 return lines
97
98
99def main():
100 pv = sys.argv[1]
101 basedir = sys.argv[2]
102
103 print("""
104#
105# Generated by generate-srcuri.py, don't update manually")
106#
107
108RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri"
109
110python __anonymous() {
111 if d.getVar("PV") != "%s":
112 bb.warn("-sources.inc out of date, run refresh_srcuri task")
113}
114""" % (pv))
115
116 print('SRC_URI += " \\')
117 lines = convert_fetch(basedir)
118 print("\n".join(lines))
119 print('"')
120
121 #lines = convert_knowngood(sys.argv[1], "git/external/validation")
122 #if lines:
123 # print('SRC_URI += " \\')
124 # print("\n".join(lines))
125 # print('"')
126 #else:
127 # print("# Re-run")
128
129
130if __name__ == "__main__":
131 main()
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
index 09f1fbcaee..1cc2da7a49 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -1,46 +1,31 @@
1LICENSE = "Apache-2.0" 1LICENSE = "Apache-2.0"
2LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 2LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
3 3
4SRC_URI = "\ 4SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \
5 git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ 5 file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \
6 git://github.com/google/amber;protocol=https;destsuffix=git/external/amber/src;name=amber;branch=main \ 6 file://0001-use-library-sonames-for-linking.patch \
7 git://github.com/KhronosGroup/glslang.git;protocol=https;destsuffix=git/external/glslang/src;name=glslang;branch=main \ 7 file://generate-srcuri.py \
8 git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;destsuffix=git/external/spirv-headers/src;name=spirv-headers;branch=main \ 8 "
9 git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;destsuffix=git/external/spirv-tools/src;name=spirv-tools;branch=main \
10 git://github.com/open-source-parsers/jsoncpp.git;protocol=https;destsuffix=git/external/jsoncpp/src;name=jsoncpp;branch=master \
11 git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;destsuffix=git/external/vulkan-docs/src;name=vulkan-docs;branch=main \
12 https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;name=renderdoc \
13 git://github.com/Igalia/ESExtractor.git;protocol=https;destsuffix=git/external/ESExtractor/src;name=ESExtractor;branch=main \
14 git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1 \
15"
16 9
17S = "${WORKDIR}/git" 10SRC_URI:append:libc-musl = "file://fix-musl.patch"
11SRC_URI:append:toolchain-clang = "file://fix-clang-private-operator.patch"
18 12
19SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools_jsoncpp_vulkan-docs" 13SRCREV_FORMAT = "vk-gl-cts"
20 14
21S = "${WORKDIR}/git"
22 15
23inherit pkgconfig cmake features_check python3native qemu 16inherit pkgconfig cmake cmake-qemu features_check python3native
17
18UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
24 19
25ANY_OF_DISTRO_FEATURES += "opengl vulkan" 20ANY_OF_DISTRO_FEATURES += "opengl vulkan"
26 21
27DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native" 22DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"
28
29SRC_URI += " \
30 file://0001-vulkancts-Include-missing-cstdint.patch \
31 file://0001-use-library-sonames-for-linking.patch \
32"
33
34SRC_URI:append:libc-musl = "\
35 file://fix-musl.patch \
36"
37DEPENDS:append:libc-musl = " libexecinfo" 23DEPENDS:append:libc-musl = " libexecinfo"
38 24
39SRC_URI:append:toolchain-clang = "\ 25EXTRA_OECMAKE += "-DAMBER_DISABLE_WERROR=ON \
40 file://fix-clang-private-operator.patch \ 26 -DUPDATE_DEPS_DIR=${S}/external/validation/ \
41" 27 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
42 28 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols"
43EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols -DAMBER_DISABLE_WERROR=ON"
44 29
45# The best thing for the user to do is to not specify any of the following 30# The best thing for the user to do is to not specify any of the following
46# PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own 31# PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own
@@ -54,17 +39,6 @@ PACKAGECONFIG[x11_egl] = "-DDEQP_TARGET=x11_egl,,virtual/libx11 virtual/egl,,,su
54PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx" 39PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx"
55PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx" 40PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx"
56 41
57do_configure:append() {
58 # Write out a qemu wrapper that will be used by cmake
59 # so that it can run target helper binaries through that.
60 qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}"
61 cat > ${WORKDIR}/qemuwrapper << EOF
62#!/bin/sh
63$qemu_binary "\$@"
64EOF
65 chmod +x ${WORKDIR}/qemuwrapper
66}
67
68python __anonymous() { 42python __anonymous() {
69 # if the user doesn't specify any PACKAGECONFIG then the cts build system 43 # if the user doesn't specify any PACKAGECONFIG then the cts build system
70 # is going to probe the sysroot to try to figure out what to build 44 # is going to probe the sysroot to try to figure out what to build
@@ -81,3 +55,20 @@ python __anonymous() {
81CTSDIR = "/usr/lib/${BPN}" 55CTSDIR = "/usr/lib/${BPN}"
82 56
83FILES:${PN} += "${CTSDIR}" 57FILES:${PN} += "${CTSDIR}"
58
59# does not work with libc++-19 due
60# error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
61TOOLCHAIN = "gcc"
62
63# Prototype task to refresh the generated SRC_URI entries by parsing
64# the files in the source tree and writing a BPN-sources.inc file.
65do_refresh_srcuri() {
66 ${UNPACKDIR}/generate-srcuri.py ${PV} ${S}/external/ \
67 > ${THISDIR}/${BPN}-sources.inc
68 # Don't convert ${S}/external/vulkan-validationlayers/src/scripts/known_good.json as we
69 # currently build without validation
70}
71
72addtask refresh_srcuri after do_patch
73do_refresh_srcuri[network] = "1"
74do_refresh_srcuri[nostamp] = "1"
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc
new file mode 100644
index 0000000000..4e7155cd7f
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc
@@ -0,0 +1,25 @@
1
2#
3# Generated by generate-srcuri.py, don't update manually")
4#
5
6RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri"
7
8python __anonymous() {
9 if d.getVar("PV") != "3.2.12.0":
10 bb.warn("-sources.inc out of date, run refresh_srcuri task")
11}
12
13SRC_URI += " \
14 https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \
15 git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=04b4a204aa501992ae85a207be1e200e195c98e1 \
16 git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=0549c7127c2fbab2904892c9d6ff491fa1e93751 \
17 git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=e7294a8ebed84f8c5bd3686c68dbe12a4e65b644 \
18 git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \
19 git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \
20 git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \
21 git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \
22 git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \
23 git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \
24 git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \
25"
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch
deleted file mode 100644
index b5a1d331ed..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts/0001-use-library-sonames-for-linking.patch
+++ /dev/null
@@ -1,114 +0,0 @@
1From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001
2From: Trevor Woerner <twoerner@gmail.com>
3Date: Thu, 23 Sep 2021 19:36:43 -0400
4Subject: [PATCH] use library sonames for linking
5
6The recommended "best practices" for applications is to link to library
7sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This
8ensures that applications don't try to use libraries if an incompatible ABI
9change occurs.
10
11Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/288]
12Signed-off-by: Trevor Woerner <twoerner@gmail.com>
13---
14 framework/egl/egluGLContextFactory.cpp | 4 ++--
15 framework/egl/wrapper/eglwLibrary.cpp | 2 +-
16 framework/platform/android/tcuAndroidPlatform.cpp | 2 +-
17 framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +-
18 .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +-
19 framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++---
20 6 files changed, 9 insertions(+), 9 deletions(-)
21
22--- a/framework/egl/egluGLContextFactory.cpp
23+++ b/framework/egl/egluGLContextFactory.cpp
24@@ -63,7 +63,7 @@ using std::vector;
25 # if (DE_OS == DE_OS_WIN32)
26 # define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll"
27 # else
28-# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
29+# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
30 # endif
31 #endif
32
33@@ -75,7 +75,7 @@ using std::vector;
34 # if (DE_OS == DE_OS_WIN32)
35 # define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll"
36 # else
37-# define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
38+# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
39 # endif
40 #endif
41
42--- a/framework/egl/wrapper/eglwLibrary.cpp
43+++ b/framework/egl/wrapper/eglwLibrary.cpp
44@@ -148,7 +148,7 @@ DefaultLibrary::~DefaultLibrary (void)
45 const char* DefaultLibrary::getLibraryFileName (void)
46 {
47 #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX)
48- return "libEGL.so";
49+ return "libEGL.so.1";
50 #elif (DE_OS == DE_OS_WIN32)
51 return "libEGL.dll";
52 #else
53--- a/framework/platform/android/tcuAndroidPlatform.cpp
54+++ b/framework/platform/android/tcuAndroidPlatform.cpp
55@@ -57,7 +57,7 @@ static const eglu::NativeWindow::Capabil
56 class NativeDisplay : public eglu::NativeDisplay
57 {
58 public:
59- NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") {}
60+ NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1") {}
61 virtual ~NativeDisplay (void) {}
62
63 virtual EGLNativeDisplayType getLegacyNative (void) { return EGL_DEFAULT_DISPLAY; }
64--- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
65+++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
66@@ -75,7 +75,7 @@ class Library : public eglw::DefaultLibr
67 {
68 public:
69 Library (void)
70- : eglw::DefaultLibrary("libEGL.so")
71+ : eglw::DefaultLibrary("libEGL.so.1")
72 {
73 }
74
75--- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
76+++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
77@@ -66,7 +66,7 @@ public:
78 EGL_PLATFORM_WAYLAND_KHR,
79 "EGL_KHR_platform_wayland")
80 , m_display (waylandDisplay)
81- , m_library ("libEGL.so") {}
82+ , m_library ("libEGL.so.1") {}
83
84 ~Display(void) {}
85 wayland::Display& getWaylandDisplay (void) { return *m_display; }
86--- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
87+++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
88@@ -69,7 +69,7 @@ using std::vector;
89
90 // Default library names
91 #if !defined(DEQP_GLES2_LIBRARY_PATH)
92-# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
93+# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
94 #endif
95
96 #if !defined(DEQP_GLES3_LIBRARY_PATH)
97@@ -77,7 +77,7 @@ using std::vector;
98 #endif
99
100 #if !defined(DEQP_OPENGL_LIBRARY_PATH)
101-# define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
102+# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
103 #endif
104
105 #if !defined(DEQP_VULKAN_LIBRARY_PATH)
106@@ -234,7 +234,7 @@ glu::RenderContext* ContextFactory::crea
107 }
108
109 EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine)
110- : m_egl("libEGL.so")
111+ : m_egl("libEGL.so.1")
112 , m_contextType(config.type)
113 , m_eglDisplay(EGL_NO_DISPLAY)
114 , m_eglContext(EGL_NO_CONTEXT)
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb
new file mode 100644
index 0000000000..1bcbed1600
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "OpenGL CTS"
2
3require khronos-cts.inc
4
5SRCREV_vk-gl-cts = "42e61858e862e153cd0fe36593a8c3f7c16c3275"
6
7require opengl-es-cts-sources.inc
8
9EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts""
10
11do_install() {
12 install -d ${D}/${CTSDIR}
13 cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
14 cp -r ${S}/external/openglcts/data/gl_cts/data/mustpass/ ${D}/${CTSDIR}/mustpass/
15
16 install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
17 install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
18 install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
19 install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
20 install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
21
22 rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
23 rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
24 rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
25}
26
27SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
28# GCC-15 segfaults see - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120119
29TUNE_CCARGS:remove:aarch64 = "-mcpu=cortex-a57+crc"
30LTO = ""
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb
deleted file mode 100644
index 0656d724b4..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.9.3.bb
+++ /dev/null
@@ -1,40 +0,0 @@
1DESCRIPTION = "OpenGL CTS"
2
3require khronos-cts.inc
4# opengl-es-cts-3.2.9.3
5SRCREV_vk-gl-cts = "7f5fb62245d535a1fc0bf50b2c7e5a342dc551fe"
6SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273"
7SRCREV_glslang = "a0ad0d7067521fff880e36acfb8ce453421c3f25"
8SRCREV_spirv-headers = "87d5b782bec60822aa878941e6b13c0a9a954c9b"
9SRCREV_spirv-tools = "f98473ceeb1d33700d01e20910433583e5256030"
10SRCREV_ESExtractor = "ce5d7ebcf0ebb0d78385ee4cc34653eb6764bfc4"
11# Not yet needed
12SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1"
13SRCREV_vulkan-docs = "9a2e576a052a1e65a5d41b593e693ff02745604b"
14SRCREV_video-parser = "7d68747d3524842afaf050c5e00a10f5b8c07904"
15SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
16
17SRC_URI += "\
18 git://github.com/nvpro-samples/vk_video_samples.git;protocol=https;destsuffix=git/external/video-parser/src;name=video-parser;branch=main \
19 file://gen-framework-path.patch \
20 "
21S = "${WORKDIR}/git"
22
23do_install() {
24 install -d ${D}/${CTSDIR}
25 cp -r ${B}/external/openglcts/modules/* ${D}/${CTSDIR}
26
27 install -m 0755 ${B}/modules/egl/deqp-egl ${D}/${CTSDIR}
28 install -m 0755 ${B}/modules/gles2/deqp-gles2 ${D}/${CTSDIR}
29 install -m 0755 ${B}/modules/gles3/deqp-gles3 ${D}/${CTSDIR}
30 install -m 0755 ${B}/modules/gles31/deqp-gles31 ${D}/${CTSDIR}
31 install -m 0755 ${B}/modules/internal/de-internal-tests ${D}/${CTSDIR}
32
33 rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
34 rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
35 rm -rf ${D}/${CTSDIR}/common/subgroups/*.a ${D}/${CTSDIR}/common/subgroups/cmake_install.cmake ${D}/${CTSDIR}/common/subgroups/CMakeFiles
36}
37
38SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"
39LTO = ""
40
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc
new file mode 100644
index 0000000000..563da1007a
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc
@@ -0,0 +1,26 @@
1
2#
3# Generated by generate-srcuri.py, don't update manually")
4#
5
6RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri"
7
8python __anonymous() {
9 if d.getVar("PV") != "1.4.2.1":
10 bb.warn("-sources.inc out of date, run refresh_srcuri task")
11}
12
13SRC_URI += " \
14 https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \
15 git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=3364b982713a0440d1d342dd5eec65b122a61b71 \
16 git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=1b65bd602b23d401d1c4c86dfa90a36a52c66294 \
17 git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=767e901c986e9755a17e7939b3046fc2911a4bbd \
18 git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \
19 git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \
20 git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \
21 git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \
22 git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \
23 git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \
24 git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \
25 file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \
26"
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch
deleted file mode 100644
index f12abd0c1a..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts/0001-use-library-sonames-for-linking.patch
+++ /dev/null
@@ -1,114 +0,0 @@
1From acd25c4b8d5b7e420a7a89bdfd6551c70de828b3 Mon Sep 17 00:00:00 2001
2From: Trevor Woerner <twoerner@gmail.com>
3Date: Thu, 23 Sep 2021 19:36:43 -0400
4Subject: [PATCH] use library sonames for linking
5
6The recommended "best practices" for applications is to link to library
7sonames (e.g. libGL.so.1) instead of library names (e.g. libGL.so). This
8ensures that applications don't try to use libraries if an incompatible ABI
9change occurs.
10
11Upstream-Status: Submitted [https://github.com/KhronosGroup/VK-GL-CTS/pull/288]
12Signed-off-by: Trevor Woerner <twoerner@gmail.com>
13---
14 framework/egl/egluGLContextFactory.cpp | 4 ++--
15 framework/egl/wrapper/eglwLibrary.cpp | 2 +-
16 framework/platform/android/tcuAndroidPlatform.cpp | 2 +-
17 framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp | 2 +-
18 .../platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp | 2 +-
19 framework/platform/surfaceless/tcuSurfacelessPlatform.cpp | 6 +++---
20 6 files changed, 9 insertions(+), 9 deletions(-)
21
22--- a/framework/egl/egluGLContextFactory.cpp
23+++ b/framework/egl/egluGLContextFactory.cpp
24@@ -63,7 +63,7 @@ using std::vector;
25 # if (DE_OS == DE_OS_WIN32)
26 # define DEQP_GLES2_LIBRARY_PATH "libGLESv2.dll"
27 # else
28-# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
29+# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
30 # endif
31 #endif
32
33@@ -75,7 +75,7 @@ using std::vector;
34 # if (DE_OS == DE_OS_WIN32)
35 # define DEQP_OPENGL_LIBRARY_PATH "opengl32.dll"
36 # else
37-# define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
38+# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
39 # endif
40 #endif
41
42--- a/framework/egl/wrapper/eglwLibrary.cpp
43+++ b/framework/egl/wrapper/eglwLibrary.cpp
44@@ -148,7 +148,7 @@ DefaultLibrary::~DefaultLibrary (void)
45 const char* DefaultLibrary::getLibraryFileName (void)
46 {
47 #if (DE_OS == DE_OS_ANDROID) || (DE_OS == DE_OS_UNIX)
48- return "libEGL.so";
49+ return "libEGL.so.1";
50 #elif (DE_OS == DE_OS_WIN32)
51 return "libEGL.dll";
52 #else
53--- a/framework/platform/android/tcuAndroidPlatform.cpp
54+++ b/framework/platform/android/tcuAndroidPlatform.cpp
55@@ -57,7 +57,7 @@ static const eglu::NativeWindow::Capabil
56 class NativeDisplay : public eglu::NativeDisplay
57 {
58 public:
59- NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so") {}
60+ NativeDisplay (void) : eglu::NativeDisplay(DISPLAY_CAPABILITIES), m_library("libEGL.so.1") {}
61 virtual ~NativeDisplay (void) {}
62
63 virtual EGLNativeDisplayType getLegacyNative (void) { return EGL_DEFAULT_DISPLAY; }
64--- a/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
65+++ b/framework/platform/lnx/X11/tcuLnxX11EglDisplayFactory.cpp
66@@ -75,7 +75,7 @@ class Library : public eglw::DefaultLibr
67 {
68 public:
69 Library (void)
70- : eglw::DefaultLibrary("libEGL.so")
71+ : eglw::DefaultLibrary("libEGL.so.1")
72 {
73 }
74
75--- a/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
76+++ b/framework/platform/lnx/wayland/tcuLnxWaylandEglDisplayFactory.cpp
77@@ -66,7 +66,7 @@ public:
78 EGL_PLATFORM_WAYLAND_KHR,
79 "EGL_KHR_platform_wayland")
80 , m_display (waylandDisplay)
81- , m_library ("libEGL.so") {}
82+ , m_library ("libEGL.so.1") {}
83
84 ~Display(void) {}
85 wayland::Display& getWaylandDisplay (void) { return *m_display; }
86--- a/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
87+++ b/framework/platform/surfaceless/tcuSurfacelessPlatform.cpp
88@@ -69,7 +69,7 @@ using std::vector;
89
90 // Default library names
91 #if !defined(DEQP_GLES2_LIBRARY_PATH)
92-# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so"
93+# define DEQP_GLES2_LIBRARY_PATH "libGLESv2.so.2"
94 #endif
95
96 #if !defined(DEQP_GLES3_LIBRARY_PATH)
97@@ -77,7 +77,7 @@ using std::vector;
98 #endif
99
100 #if !defined(DEQP_OPENGL_LIBRARY_PATH)
101-# define DEQP_OPENGL_LIBRARY_PATH "libGL.so"
102+# define DEQP_OPENGL_LIBRARY_PATH "libGL.so.1"
103 #endif
104
105 #if !defined(DEQP_VULKAN_LIBRARY_PATH)
106@@ -237,7 +237,7 @@ glu::RenderContext* ContextFactory::crea
107 }
108
109 EglRenderContext::EglRenderContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine, const glu::RenderContext *sharedContext)
110- : m_egl("libEGL.so")
111+ : m_egl("libEGL.so.1")
112 , m_contextType(config.type)
113 , m_eglDisplay(EGL_NO_DISPLAY)
114 , m_eglContext(EGL_NO_CONTEXT)
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
deleted file mode 100644
index 7492fe9aa4..0000000000
--- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.7.3.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1DESCRIPTION = "Vulkan CTS"
2
3require khronos-cts.inc
4
5SRC_URI += "git://github.com/Igalia/vk_video_samples.git;protocol=https;destsuffix=git/external/nvidia-video-samples/src;name=video-parser;nobranch=1"
6
7# vulkan-cts-1.3.7.3
8SRCREV_vk-gl-cts = "d71a36db16d98313c431829432a136dbda692a08"
9SRCREV_amber = "933ecb4d6288675a92eb1650e0f52b1d7afe8273"
10SRCREV_glslang = "c5117b328afc86e16edff6ed6afe0fe7872a7cf3"
11SRCREV_spirv-headers = "b8b9eb8640c8c0107ba580fbcb10f969022ca32c"
12SRCREV_spirv-tools = "bfc94f63a7adbcf8ae166f5f108ac9f69079efc0"
13SRCREV_jsoncpp = "9059f5cad030ba11d37818847443a53918c327b1"
14SRCREV_vulkan-docs = "b9aad705f0d9e5e6734ac2ad671d5d1de57b05e0"
15SRC_URI[renderdoc.sha256sum] = "e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e"
16# Not yet needed
17SRCREV_ESExtractor = "75ffcaf55bb069f7a23764194742d2fb78c7f71f"
18SRCREV_video-parser = "138bbe048221d315962ddf8413aa6a08cc62a381"
19
20SRC_URI += "file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \
21 file://0001-vulkan-cts-include-missing-cstdint.patch \
22"
23
24TOOLCHAIN = "gcc"
25
26# Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
27OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
28
29S = "${WORKDIR}/git"
30
31REQUIRED_DISTRO_FEATURES = "vulkan"
32inherit features_check
33
34DEPENDS += " vulkan-loader"
35
36do_install() {
37 install -d ${D}/${CTSDIR}
38 cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/
39 rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
40 rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
41}
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb
new file mode 100644
index 0000000000..abbd026047
--- /dev/null
+++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb
@@ -0,0 +1,25 @@
1DESCRIPTION = "Vulkan CTS"
2
3require khronos-cts.inc
4
5SRCREV_vk-gl-cts = "644f10ca39dea3b7d9dbadaa75c56206b499a520"
6
7require vulkan-cts-sources.inc
8
9# Workaround an optimization bug that breaks createMeshShaderMiscTestsEXT
10OECMAKE_CXX_FLAGS:remove:toolchain-gcc = "-O2"
11
12REQUIRED_DISTRO_FEATURES = "vulkan"
13inherit features_check
14
15DEPENDS += " vulkan-loader"
16
17EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc""
18
19do_install() {
20 install -d ${D}/${CTSDIR}/mustpass
21 cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/
22 cp -r ${S}/external/vulkancts/mustpass/main/ ${D}/${CTSDIR}/mustpass/
23 rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles
24 rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles
25}
diff --git a/meta-oe/recipes-graphics/wayland/libei_1.2.1.bb b/meta-oe/recipes-graphics/wayland/libei_1.4.1.bb
index 807dcea1ed..764616906f 100644
--- a/meta-oe/recipes-graphics/wayland/libei_1.2.1.bb
+++ b/meta-oe/recipes-graphics/wayland/libei_1.4.1.bb
@@ -16,8 +16,7 @@ DEPENDS = " \
16 16
17SRC_URI = "git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main" 17SRC_URI = "git://gitlab.freedesktop.org/libinput/libei.git;protocol=https;branch=main"
18 18
19S = "${WORKDIR}/git" 19SRCREV = "9e0413cbc7d3ae6656266890425f152589ddf74d"
20SRCREV = "08f1d41085a6ae4bac7bc52abe2955d3354342cb"
21 20
22inherit meson pkgconfig 21inherit meson pkgconfig
23 22
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
index c1f5f4ed8e..bb909a313a 100644
--- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
+++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
@@ -8,7 +8,6 @@ SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=maste
8DEPENDS = "pugixml" 8DEPENDS = "pugixml"
9DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" 9DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"
10 10
11S = "${WORKDIR}/git"
12SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3" 11SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3"
13 12
14inherit cmake pkgconfig features_check 13inherit cmake pkgconfig features_check
diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb
index 74f80e1844..1493eed7af 100644
--- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb
+++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.16.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://github.com/LibVNC/x11vnc;branch=master;protocol=https \
13 file://starting-fix.patch \ 13 file://starting-fix.patch \
14 file://CVE-2020-29074.patch \ 14 file://CVE-2020-29074.patch \
15 " 15 "
16S = "${WORKDIR}/git"
17 16
18DEPENDS = "\ 17DEPENDS = "\
19 jpeg \ 18 jpeg \
diff --git a/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb b/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb
index 0c316edf95..5076b5a945 100644
--- a/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb
+++ b/meta-oe/recipes-graphics/xbindkeys/xbindkeys_1.8.7.bb
@@ -12,7 +12,6 @@ inherit features_check autotools
12REQUIRED_DISTRO_FEATURES = "x11" 12REQUIRED_DISTRO_FEATURES = "x11"
13 13
14SRC_URI = "http://www.nongnu.org/xbindkeys/xbindkeys-${PV}.tar.gz" 14SRC_URI = "http://www.nongnu.org/xbindkeys/xbindkeys-${PV}.tar.gz"
15SRC_URI[md5sum] = "b5e1a9668ba13ff8673836d1d965d951"
16SRC_URI[sha256sum] = "a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2" 15SRC_URI[sha256sum] = "a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2"
17 16
18EXTRA_OECONF = "--disable-guile" 17EXTRA_OECONF = "--disable-guile"
diff --git a/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.8.bb b/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.9.bb
index 3770babe80..f8e5de7554 100644
--- a/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.8.bb
+++ b/meta-oe/recipes-graphics/xcursorgen/xcursorgen_1.0.9.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bd1fb9ee90eead85f7b171807b3ab4f2"
4DEPENDS = "libpng libxcursor" 4DEPENDS = "libpng libxcursor"
5 5
6SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.xz" 6SRC_URI = "http://xorg.freedesktop.org/archive/individual/app/${BPN}-${PV}.tar.xz"
7SRC_URI[sha256sum] = "32b33ce27b4e285e64ff375731806bb7988cc626ff10915c65f1dc4da640cc9b" 7SRC_URI[sha256sum] = "0cc9e156ac84ca16ea902710af35e0faffa51d13797071e3b4b6cc7cbd493bbc"
8 8
9inherit features_check autotools pkgconfig 9inherit features_check autotools pkgconfig
10 10
diff --git a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
index cef82bd348..45defe82d6 100644
--- a/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
+++ b/meta-oe/recipes-graphics/xdotool/xdotool_3.20211022.1.bb
@@ -12,7 +12,10 @@ REQUIRED_DISTRO_FEATURES = "x11"
12SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz" 12SRC_URI = "https://github.com/jordansissel/${BPN}/releases/download/v${PV}/${BP}.tar.gz"
13SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada" 13SRC_URI[sha256sum] = "96f0facfde6d78eacad35b91b0f46fecd0b35e474c03e00e30da3fdd345f9ada"
14 14
15EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir}" 15EXTRA_OEMAKE = "PREFIX=${prefix} INSTALLLIB=${libdir} INSTALLMAN=${mandir} WITHOUT_RPATH_FIX=1"
16
17UPSTREAM_CHECK_URI = "https://github.com/jordansissel/xdotool/tags"
18UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+\.\d{8}\.\d+)"
16 19
17do_install() { 20do_install() {
18 oe_runmake install DESTDIR=${D} PREFIX=${prefix} 21 oe_runmake install DESTDIR=${D} PREFIX=${prefix}
diff --git a/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb b/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb
index 9116b5f749..53e09fd868 100644
--- a/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb
+++ b/meta-oe/recipes-graphics/xorg-app/bdftopcf_1.1.bb
@@ -7,7 +7,6 @@ LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://COPYING;md5=f9a35333adf75edd1eaef84bca65a490" 7LIC_FILES_CHKSUM = "file://COPYING;md5=f9a35333adf75edd1eaef84bca65a490"
8DEPENDS = "libxfont" 8DEPENDS = "libxfont"
9 9
10SRC_URI[md5sum] = "2a455d3c02390597feb9cefb3fe97a45"
11SRC_URI[sha256sum] = "4b4df05fc53f1e98993638d6f7e178d95b31745c4568cee407e167491fd311a2" 10SRC_URI[sha256sum] = "4b4df05fc53f1e98993638d6f7e178d95b31745c4568cee407e167491fd311a2"
12 11
13BBCLASSEXTEND = "native" 12BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-graphics/xorg-app/twm_1.0.12.bb b/meta-oe/recipes-graphics/xorg-app/twm_1.0.13.1.bb
index 91b1abc211..ff0238a430 100644
--- a/meta-oe/recipes-graphics/xorg-app/twm_1.0.12.bb
+++ b/meta-oe/recipes-graphics/xorg-app/twm_1.0.13.1.bb
@@ -6,7 +6,7 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4c6d42ef60e8166aa26606524c0b9586" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4c6d42ef60e8166aa26606524c0b9586"
7 7
8SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.gz" 8SRC_URI = "${XORG_MIRROR}/individual/app/${BPN}-${PV}.tar.gz"
9SRC_URI[sha256sum] = "4150c9ec595520167ab8c4efcb5cf82641a4c4db78ce0a1cb4834e6aeb7c87fb" 9SRC_URI[sha256sum] = "e16bdbc82ac57c096d606a90e63c42c73a4a8a6a8a04d97b7dad199f919c8471"
10 10
11FILES:${PN} += "${datadir}/X11/twm/system.twmrc" 11FILES:${PN} += "${datadir}/X11/twm/system.twmrc"
12ALTERNATIVE_NAME = "x-window-manager" 12ALTERNATIVE_NAME = "x-window-manager"
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.5.bb b/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.6.bb
index afc1fe17d5..92f1b94215 100644
--- a/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.5.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xkbevd_1.1.6.bb
@@ -10,4 +10,4 @@ DEPENDS += "libxkbfile bison-native"
10BBCLASSEXTEND = "native" 10BBCLASSEXTEND = "native"
11 11
12SRC_URI_EXT = "xz" 12SRC_URI_EXT = "xz"
13SRC_URI[sha256sum] = "38357b702de9d3457c4ff75053390f457b84c4accc7f088101255c37c684926b" 13SRC_URI[sha256sum] = "d9b401f84cf8568342ff63b1ffc6aecd3877579256d89fe6408645e2741b073e"
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb
index e866bed016..9b8c655acd 100644
--- a/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.6.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xkbprint_1.0.7.bb
@@ -9,5 +9,5 @@ DEPENDS += "libxkbfile"
9 9
10BBCLASSEXTEND = "native" 10BBCLASSEXTEND = "native"
11 11
12SRC_URI[sha256sum] = "99cc9404f7b90289ae04944c0d98a208cc8b158492ad6481386e31d4d09aa7b0" 12SRC_URI[sha256sum] = "1c4f49c030329e0defd8c7bc3739e60f2aa1d2aabe0e2d7e63740ab629aa59cc"
13SRC_URI_EXT = "xz" 13SRC_URI_EXT = "xz"
diff --git a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb
index f3dac53451..1589f9ae6e 100644
--- a/meta-oe/recipes-graphics/xorg-app/xmag_1.0.7.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xmag_1.0.8.bb
@@ -8,4 +8,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3413fe6832380b44b69b172d2d1b2387"
8DEPENDS += " libxaw libxt" 8DEPENDS += " libxaw libxt"
9 9
10SRC_URI_EXT = "xz" 10SRC_URI_EXT = "xz"
11SRC_URI[sha256sum] = "009936cc5a2706084079127b26cf55c713767650a34cb69e5682d60e33ce7461" 11SRC_URI[sha256sum] = "326d3c583d795bb53ac609d144e7f7fb1499baba7eaec14b8e6cd232ea069532"
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_392.bb b/meta-oe/recipes-graphics/xorg-app/xterm_394.bb
index 677f5c9994..94953b288e 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_392.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_394.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=1a3032aa728f8fda9d
7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ 7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
8 file://0001-include-missing-pty.h-header-for-openpty.patch \ 8 file://0001-include-missing-pty.h-header-for-openpty.patch \
9 " 9 "
10SRC_URI[sha256sum] = "4d57372ef08eafa9fb7682db8d07be0fe0513e58e8478c2ec8e9b62486e7fe5e" 10SRC_URI[sha256sum] = "a2a0cb206eb0423dedc34794f5c2d38c83390d2dd1106b66aba0960c3a976c7a"
11 11
12PACKAGECONFIG ?= "" 12PACKAGECONFIG ?= ""
13PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" 13PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"
@@ -47,3 +47,5 @@ ALTERNATIVE:${PN} = "resize x-terminal-emulator"
47ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm" 47ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm"
48# rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm. 48# rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm.
49ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9" 49ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9"
50
51CVE_STATUS[CVE-1999-0965] = "cpe-incorrect: Current version (392) not affected. This was fixed in version X11R5-fix-26 (R11R6 from 1994)"
diff --git a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb
index 1be0b5cd77..27138f23f8 100644
--- a/meta-oe/recipes-graphics/xorg-app/xwud_1.0.6.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xwud_1.0.7.bb
@@ -9,4 +9,4 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794" 9LIC_FILES_CHKSUM = "file://COPYING;md5=31e8892c80b7a0c1c5f37c8e8ae6d794"
10 10
11SRC_URI_EXT = "xz" 11SRC_URI_EXT = "xz"
12SRC_URI[sha256sum] = "64048cd15eba3cd9a3d2e3280650391259ebf6b529f2101d1a20f441038c1afe" 12SRC_URI[sha256sum] = "e55cbedab36d7a5f671abf8e594888afc48caa116d51d429ea53ea317ec0c61e"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
index 8c26bf798c..a2be3bb70b 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
@@ -9,6 +9,8 @@ RRECOMMENDS:${PN} += "tslib-calibrate"
9SRC_URI = "https://github.com/merge/xf86-input-tslib/releases/download/${PV}/xf86-input-tslib-${PV}.tar.xz \ 9SRC_URI = "https://github.com/merge/xf86-input-tslib/releases/download/${PV}/xf86-input-tslib-${PV}.tar.xz \
10 file://99-xf86-input-tslib.rules \ 10 file://99-xf86-input-tslib.rules \
11" 11"
12UPSTREAM_CHECK_URI = "https://github.com/merge/xf86-input-tslib/tags"
13UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)$"
12 14
13SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d78870ca88" 15SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d78870ca88"
14 16
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb
index 8b4526fc5e..8fd2ae2e84 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-armsoc_1.4.1.bb
@@ -9,6 +9,5 @@ DEPENDS += "virtual/libx11 libdrm xorgproto"
9SRCREV = "8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8" 9SRCREV = "8bbdb2ae3bb8ef649999a8da33ddbe11a04763b8"
10SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc;branch=master" 10SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-armsoc;branch=master"
11 11
12S = "${WORKDIR}/git"
13 12
14RDEPENDS:${PN} += "xserver-xorg-module-exa" 13RDEPENDS:${PN} += "xserver-xorg-module-exa"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb
index 34b3e4cde6..5ad64eede8 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.0.1.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-mga_2.1.0.bb
@@ -11,7 +11,7 @@ DEPENDS += "virtual/libx11 libpciaccess"
11COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)' 11COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
12 12
13XORG_DRIVER_COMPRESSOR = ".tar.xz" 13XORG_DRIVER_COMPRESSOR = ".tar.xz"
14SRC_URI[sha256sum] = "27a33b70837965bb4a5f27fd260be085ca5bba837a4e62907f093c2f205603ab" 14SRC_URI[sha256sum] = "7bf85dbf4efa17b7cdd483be8f61cf11fd73d0310514b6ae10d89358de63ab73"
15 15
16PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}" 16PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}"
17PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri" 17PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,drm xorgproto,xserver-xorg-extension-dri"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb
index 36f05b7277..52d5892c15 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-adobe-100dpi_1.0.3.bb
@@ -16,5 +16,4 @@ inherit features_check
16# depends on bdftopcf-native -> virtual/libx11 16# depends on bdftopcf-native -> virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
18 18
19SRC_URI[md5sum] = "1347c3031b74c9e91dc4dfa53b12f143"
20SRC_URI[sha256sum] = "b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054" 19SRC_URI[sha256sum] = "b2c08433eab5cb202470aa9f779efefce8d9cab2534f34f3aa4a31d05671c054"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb b/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb
index 8b83ba378f..7c43767d22 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-adobe-utopia-100dpi_1.0.4.bb
@@ -16,5 +16,4 @@ inherit features_check
16# depends on bdftopcf-native -> virtual/libx11 16# depends on bdftopcf-native -> virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
18 18
19SRC_URI[md5sum] = "66fb6de561648a6dce2755621d6aea17"
20SRC_URI[sha256sum] = "d16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5" 19SRC_URI[sha256sum] = "d16f5e3f227cc6dd07a160a71f443559682dbc35f1c056a5385085aaec4fada5"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb
index 5d321acc6e..fd8f16dca8 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-bh-100dpi_1.0.3.bb
@@ -16,5 +16,4 @@ inherit features_check
16# depends on bdftopcf-native -> virtual/libx11 16# depends on bdftopcf-native -> virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
18 18
19SRC_URI[md5sum] = "9f11ade089d689b9d59e0f47d26f39cd"
20SRC_URI[sha256sum] = "23c07162708e4b79eb33095c8bfa62c783717a9431254bbf44863734ea239481" 19SRC_URI[sha256sum] = "23c07162708e4b79eb33095c8bfa62c783717a9431254bbf44863734ea239481"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb
index 557eeb17bd..a1a6d43e06 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-bh-lucidatypewriter-100dpi_1.0.3.bb
@@ -16,5 +16,4 @@ inherit features_check
16# depends on bdftopcf-native -> virtual/libx11 16# depends on bdftopcf-native -> virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
18 18
19SRC_URI[md5sum] = "c8b73a53dcefe3e8d3907d3500e484a9"
20SRC_URI[sha256sum] = "62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb" 19SRC_URI[sha256sum] = "62a83363c2536095fda49d260d21e0847675676e4e3415054064cbdffa641fbb"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb
index b280a32603..def7357e3f 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-bitstream-100dpi_1.0.3.bb
@@ -16,5 +16,4 @@ inherit features_check
16# depends on bdftopcf-native -> virtual/libx11 16# depends on bdftopcf-native -> virtual/libx11
17REQUIRED_DISTRO_FEATURES = "x11" 17REQUIRED_DISTRO_FEATURES = "x11"
18 18
19SRC_URI[md5sum] = "6b223a54b15ecbd5a1bc52312ad790d8"
20SRC_URI[sha256sum] = "ebe0d7444e3d7c8da7642055ac2206f0190ee060700d99cd876f8fc9964cb6ce" 19SRC_URI[sha256sum] = "ebe0d7444e3d7c8da7642055ac2206f0190ee060700d99cd876f8fc9964cb6ce"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb b/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb
index ba4575bc29..787541d3b3 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-cursor-misc_1.0.3.bb
@@ -13,5 +13,4 @@ inherit features_check
13# depends on bdftopcf-native -> virtual/libx11 13# depends on bdftopcf-native -> virtual/libx11
14REQUIRED_DISTRO_FEATURES = "x11" 14REQUIRED_DISTRO_FEATURES = "x11"
15 15
16SRC_URI[md5sum] = "3e0069d4f178a399cffe56daa95c2b63"
17SRC_URI[sha256sum] = "17363eb35eece2e08144da5f060c70103b59d0972b4f4d77fd84c9a7a2dba635" 16SRC_URI[sha256sum] = "17363eb35eece2e08144da5f060c70103b59d0972b4f4d77fd84c9a7a2dba635"
diff --git a/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb b/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb
index 852f93602f..ed314ab3c0 100644
--- a/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb
+++ b/meta-oe/recipes-graphics/xorg-font/font-misc-misc_1.1.2.bb
@@ -13,5 +13,4 @@ inherit features_check
13# depends on bdftopcf-native -> virtual/libx11 13# depends on bdftopcf-native -> virtual/libx11
14REQUIRED_DISTRO_FEATURES = "x11" 14REQUIRED_DISTRO_FEATURES = "x11"
15 15
16SRC_URI[md5sum] = "c88eb44b3b903d79fb44b860a213e623"
17SRC_URI[sha256sum] = "b8e77940e4e1769dc47ef1805918d8c9be37c708735832a07204258bacc11794" 16SRC_URI[sha256sum] = "b8e77940e4e1769dc47ef1805918d8c9be37c708735832a07204258bacc11794"
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
index d698efa5e6..073b3f0912 100644
--- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
+++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
@@ -13,6 +13,8 @@ MIRRORS += "https://www.jwz.org/${BPN} https://ftp.osuosl.org/pub/blfs/conglomer
13 13
14SRC_URI[sha256sum] = "787014b29f0c5793ecc2d93e1109a049ff48ab0c29b851dab34f683ceef6b152" 14SRC_URI[sha256sum] = "787014b29f0c5793ecc2d93e1109a049ff48ab0c29b851dab34f683ceef6b152"
15 15
16UPSTREAM_CHECK_URI = "https://www.jwz.org/xscreensaver/download.html"
17
16DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam jpeg" 18DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam jpeg"
17# These are only needed as part of the stopgap screensaver implementation: 19# These are only needed as part of the stopgap screensaver implementation:
18RDEPENDS:${PN} = " \ 20RDEPENDS:${PN} = " \
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch
deleted file mode 100644
index 6f738e7376..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-COPYING-add-GPLv2-license-file.patch
+++ /dev/null
@@ -1,364 +0,0 @@
1From f919725918fad2b32504f89a28310fcae4ab0406 Mon Sep 17 00:00:00 2001
2From: Yu Ke <ke.yu@intel.com>
3Date: Wed, 11 Apr 2012 14:26:16 +0200
4Subject: [PATCH] COPYING: add GPLv2 license file
5
6this is a local file recipe and the license file is missing.In order
7to pass the license checksum checking, the license file is needed. So
8this patch add the GPLv2 license file.
9
10Signed-off-by: Yu Ke <ke.yu@intel.com>
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12
13---
14Upstream-Status: Pending
15
16 COPYING | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17 1 file changed, 339 insertions(+)
18 create mode 100644 COPYING
19
20diff --git a/COPYING b/COPYING
21new file mode 100644
22index 0000000..d511905
23--- /dev/null
24+++ b/COPYING
25@@ -0,0 +1,339 @@
26+ GNU GENERAL PUBLIC LICENSE
27+ Version 2, June 1991
28+
29+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
30+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
31+ Everyone is permitted to copy and distribute verbatim copies
32+ of this license document, but changing it is not allowed.
33+
34+ Preamble
35+
36+ The licenses for most software are designed to take away your
37+freedom to share and change it. By contrast, the GNU General Public
38+License is intended to guarantee your freedom to share and change free
39+software--to make sure the software is free for all its users. This
40+General Public License applies to most of the Free Software
41+Foundation's software and to any other program whose authors commit to
42+using it. (Some other Free Software Foundation software is covered by
43+the GNU Lesser General Public License instead.) You can apply it to
44+your programs, too.
45+
46+ When we speak of free software, we are referring to freedom, not
47+price. Our General Public Licenses are designed to make sure that you
48+have the freedom to distribute copies of free software (and charge for
49+this service if you wish), that you receive source code or can get it
50+if you want it, that you can change the software or use pieces of it
51+in new free programs; and that you know you can do these things.
52+
53+ To protect your rights, we need to make restrictions that forbid
54+anyone to deny you these rights or to ask you to surrender the rights.
55+These restrictions translate to certain responsibilities for you if you
56+distribute copies of the software, or if you modify it.
57+
58+ For example, if you distribute copies of such a program, whether
59+gratis or for a fee, you must give the recipients all the rights that
60+you have. You must make sure that they, too, receive or can get the
61+source code. And you must show them these terms so they know their
62+rights.
63+
64+ We protect your rights with two steps: (1) copyright the software, and
65+(2) offer you this license which gives you legal permission to copy,
66+distribute and/or modify the software.
67+
68+ Also, for each author's protection and ours, we want to make certain
69+that everyone understands that there is no warranty for this free
70+software. If the software is modified by someone else and passed on, we
71+want its recipients to know that what they have is not the original, so
72+that any problems introduced by others will not reflect on the original
73+authors' reputations.
74+
75+ Finally, any free program is threatened constantly by software
76+patents. We wish to avoid the danger that redistributors of a free
77+program will individually obtain patent licenses, in effect making the
78+program proprietary. To prevent this, we have made it clear that any
79+patent must be licensed for everyone's free use or not licensed at all.
80+
81+ The precise terms and conditions for copying, distribution and
82+modification follow.
83+
84+ GNU GENERAL PUBLIC LICENSE
85+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
86+
87+ 0. This License applies to any program or other work which contains
88+a notice placed by the copyright holder saying it may be distributed
89+under the terms of this General Public License. The "Program", below,
90+refers to any such program or work, and a "work based on the Program"
91+means either the Program or any derivative work under copyright law:
92+that is to say, a work containing the Program or a portion of it,
93+either verbatim or with modifications and/or translated into another
94+language. (Hereinafter, translation is included without limitation in
95+the term "modification".) Each licensee is addressed as "you".
96+
97+Activities other than copying, distribution and modification are not
98+covered by this License; they are outside its scope. The act of
99+running the Program is not restricted, and the output from the Program
100+is covered only if its contents constitute a work based on the
101+Program (independent of having been made by running the Program).
102+Whether that is true depends on what the Program does.
103+
104+ 1. You may copy and distribute verbatim copies of the Program's
105+source code as you receive it, in any medium, provided that you
106+conspicuously and appropriately publish on each copy an appropriate
107+copyright notice and disclaimer of warranty; keep intact all the
108+notices that refer to this License and to the absence of any warranty;
109+and give any other recipients of the Program a copy of this License
110+along with the Program.
111+
112+You may charge a fee for the physical act of transferring a copy, and
113+you may at your option offer warranty protection in exchange for a fee.
114+
115+ 2. You may modify your copy or copies of the Program or any portion
116+of it, thus forming a work based on the Program, and copy and
117+distribute such modifications or work under the terms of Section 1
118+above, provided that you also meet all of these conditions:
119+
120+ a) You must cause the modified files to carry prominent notices
121+ stating that you changed the files and the date of any change.
122+
123+ b) You must cause any work that you distribute or publish, that in
124+ whole or in part contains or is derived from the Program or any
125+ part thereof, to be licensed as a whole at no charge to all third
126+ parties under the terms of this License.
127+
128+ c) If the modified program normally reads commands interactively
129+ when run, you must cause it, when started running for such
130+ interactive use in the most ordinary way, to print or display an
131+ announcement including an appropriate copyright notice and a
132+ notice that there is no warranty (or else, saying that you provide
133+ a warranty) and that users may redistribute the program under
134+ these conditions, and telling the user how to view a copy of this
135+ License. (Exception: if the Program itself is interactive but
136+ does not normally print such an announcement, your work based on
137+ the Program is not required to print an announcement.)
138+
139+These requirements apply to the modified work as a whole. If
140+identifiable sections of that work are not derived from the Program,
141+and can be reasonably considered independent and separate works in
142+themselves, then this License, and its terms, do not apply to those
143+sections when you distribute them as separate works. But when you
144+distribute the same sections as part of a whole which is a work based
145+on the Program, the distribution of the whole must be on the terms of
146+this License, whose permissions for other licensees extend to the
147+entire whole, and thus to each and every part regardless of who wrote it.
148+
149+Thus, it is not the intent of this section to claim rights or contest
150+your rights to work written entirely by you; rather, the intent is to
151+exercise the right to control the distribution of derivative or
152+collective works based on the Program.
153+
154+In addition, mere aggregation of another work not based on the Program
155+with the Program (or with a work based on the Program) on a volume of
156+a storage or distribution medium does not bring the other work under
157+the scope of this License.
158+
159+ 3. You may copy and distribute the Program (or a work based on it,
160+under Section 2) in object code or executable form under the terms of
161+Sections 1 and 2 above provided that you also do one of the following:
162+
163+ a) Accompany it with the complete corresponding machine-readable
164+ source code, which must be distributed under the terms of Sections
165+ 1 and 2 above on a medium customarily used for software interchange; or,
166+
167+ b) Accompany it with a written offer, valid for at least three
168+ years, to give any third party, for a charge no more than your
169+ cost of physically performing source distribution, a complete
170+ machine-readable copy of the corresponding source code, to be
171+ distributed under the terms of Sections 1 and 2 above on a medium
172+ customarily used for software interchange; or,
173+
174+ c) Accompany it with the information you received as to the offer
175+ to distribute corresponding source code. (This alternative is
176+ allowed only for noncommercial distribution and only if you
177+ received the program in object code or executable form with such
178+ an offer, in accord with Subsection b above.)
179+
180+The source code for a work means the preferred form of the work for
181+making modifications to it. For an executable work, complete source
182+code means all the source code for all modules it contains, plus any
183+associated interface definition files, plus the scripts used to
184+control compilation and installation of the executable. However, as a
185+special exception, the source code distributed need not include
186+anything that is normally distributed (in either source or binary
187+form) with the major components (compiler, kernel, and so on) of the
188+operating system on which the executable runs, unless that component
189+itself accompanies the executable.
190+
191+If distribution of executable or object code is made by offering
192+access to copy from a designated place, then offering equivalent
193+access to copy the source code from the same place counts as
194+distribution of the source code, even though third parties are not
195+compelled to copy the source along with the object code.
196+
197+ 4. You may not copy, modify, sublicense, or distribute the Program
198+except as expressly provided under this License. Any attempt
199+otherwise to copy, modify, sublicense or distribute the Program is
200+void, and will automatically terminate your rights under this License.
201+However, parties who have received copies, or rights, from you under
202+this License will not have their licenses terminated so long as such
203+parties remain in full compliance.
204+
205+ 5. You are not required to accept this License, since you have not
206+signed it. However, nothing else grants you permission to modify or
207+distribute the Program or its derivative works. These actions are
208+prohibited by law if you do not accept this License. Therefore, by
209+modifying or distributing the Program (or any work based on the
210+Program), you indicate your acceptance of this License to do so, and
211+all its terms and conditions for copying, distributing or modifying
212+the Program or works based on it.
213+
214+ 6. Each time you redistribute the Program (or any work based on the
215+Program), the recipient automatically receives a license from the
216+original licensor to copy, distribute or modify the Program subject to
217+these terms and conditions. You may not impose any further
218+restrictions on the recipients' exercise of the rights granted herein.
219+You are not responsible for enforcing compliance by third parties to
220+this License.
221+
222+ 7. If, as a consequence of a court judgment or allegation of patent
223+infringement or for any other reason (not limited to patent issues),
224+conditions are imposed on you (whether by court order, agreement or
225+otherwise) that contradict the conditions of this License, they do not
226+excuse you from the conditions of this License. If you cannot
227+distribute so as to satisfy simultaneously your obligations under this
228+License and any other pertinent obligations, then as a consequence you
229+may not distribute the Program at all. For example, if a patent
230+license would not permit royalty-free redistribution of the Program by
231+all those who receive copies directly or indirectly through you, then
232+the only way you could satisfy both it and this License would be to
233+refrain entirely from distribution of the Program.
234+
235+If any portion of this section is held invalid or unenforceable under
236+any particular circumstance, the balance of the section is intended to
237+apply and the section as a whole is intended to apply in other
238+circumstances.
239+
240+It is not the purpose of this section to induce you to infringe any
241+patents or other property right claims or to contest validity of any
242+such claims; this section has the sole purpose of protecting the
243+integrity of the free software distribution system, which is
244+implemented by public license practices. Many people have made
245+generous contributions to the wide range of software distributed
246+through that system in reliance on consistent application of that
247+system; it is up to the author/donor to decide if he or she is willing
248+to distribute software through any other system and a licensee cannot
249+impose that choice.
250+
251+This section is intended to make thoroughly clear what is believed to
252+be a consequence of the rest of this License.
253+
254+ 8. If the distribution and/or use of the Program is restricted in
255+certain countries either by patents or by copyrighted interfaces, the
256+original copyright holder who places the Program under this License
257+may add an explicit geographical distribution limitation excluding
258+those countries, so that distribution is permitted only in or among
259+countries not thus excluded. In such case, this License incorporates
260+the limitation as if written in the body of this License.
261+
262+ 9. The Free Software Foundation may publish revised and/or new versions
263+of the General Public License from time to time. Such new versions will
264+be similar in spirit to the present version, but may differ in detail to
265+address new problems or concerns.
266+
267+Each version is given a distinguishing version number. If the Program
268+specifies a version number of this License which applies to it and "any
269+later version", you have the option of following the terms and conditions
270+either of that version or of any later version published by the Free
271+Software Foundation. If the Program does not specify a version number of
272+this License, you may choose any version ever published by the Free Software
273+Foundation.
274+
275+ 10. If you wish to incorporate parts of the Program into other free
276+programs whose distribution conditions are different, write to the author
277+to ask for permission. For software which is copyrighted by the Free
278+Software Foundation, write to the Free Software Foundation; we sometimes
279+make exceptions for this. Our decision will be guided by the two goals
280+of preserving the free status of all derivatives of our free software and
281+of promoting the sharing and reuse of software generally.
282+
283+ NO WARRANTY
284+
285+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
286+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
287+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
288+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
289+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
290+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
291+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
292+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
293+REPAIR OR CORRECTION.
294+
295+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
296+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
297+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
298+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
299+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
300+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
301+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
302+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
303+POSSIBILITY OF SUCH DAMAGES.
304+
305+ END OF TERMS AND CONDITIONS
306+
307+ How to Apply These Terms to Your New Programs
308+
309+ If you develop a new program, and you want it to be of the greatest
310+possible use to the public, the best way to achieve this is to make it
311+free software which everyone can redistribute and change under these terms.
312+
313+ To do so, attach the following notices to the program. It is safest
314+to attach them to the start of each source file to most effectively
315+convey the exclusion of warranty; and each file should have at least
316+the "copyright" line and a pointer to where the full notice is found.
317+
318+ <one line to give the program's name and a brief idea of what it does.>
319+ Copyright (C) <year> <name of author>
320+
321+ This program is free software; you can redistribute it and/or modify
322+ it under the terms of the GNU General Public License as published by
323+ the Free Software Foundation; either version 2 of the License, or
324+ (at your option) any later version.
325+
326+ This program is distributed in the hope that it will be useful,
327+ but WITHOUT ANY WARRANTY; without even the implied warranty of
328+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
329+ GNU General Public License for more details.
330+
331+ You should have received a copy of the GNU General Public License along
332+ with this program; if not, write to the Free Software Foundation, Inc.,
333+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
334+
335+Also add information on how to contact you by electronic and paper mail.
336+
337+If the program is interactive, make it output a short notice like this
338+when it starts in an interactive mode:
339+
340+ Gnomovision version 69, Copyright (C) year name of author
341+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
342+ This is free software, and you are welcome to redistribute it
343+ under certain conditions; type `show c' for details.
344+
345+The hypothetical commands `show w' and `show c' should show the appropriate
346+parts of the General Public License. Of course, the commands you use may
347+be called something other than `show w' and `show c'; they could even be
348+mouse-clicks or menu items--whatever suits your program.
349+
350+You should also get your employer (if you work as a programmer) or your
351+school, if any, to sign a "copyright disclaimer" for the program, if
352+necessary. Here is a sample; alter the names:
353+
354+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
355+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
356+
357+ <signature of Ty Coon>, 1 April 1989
358+ Ty Coon, President of Vice
359+
360+This General Public License does not permit incorporating your program into
361+proprietary programs. If your program is a subroutine library, you may
362+consider it more useful to permit linking proprietary applications with the
363+library. If this is what you want to do, use the GNU Lesser General
364+Public License instead of this License.
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch
deleted file mode 100644
index ea7c7d6a94..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0001-Don-t-install-Xsession-or-Xserver.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 1002a1137b140dad3319bf3206fec5b6c6b74fea Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Thu, 10 Nov 2016 14:33:05 +0200
4Subject: [PATCH] Don't install Xsession or Xserver
5
6The goal is to use Xsession and Xserver from xserver-nodm-init.
7Xsession scripts and xserver-common from this recipe will still
8be used as before.
9
10Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
11
12---
13Upstream-Status: Pending
14
15 Makefile | 2 --
16 1 file changed, 2 deletions(-)
17
18diff --git a/Makefile b/Makefile
19index caa5de1..9428205 100644
20--- a/Makefile
21+++ b/Makefile
22@@ -20,8 +20,6 @@ install-program:
23 install -m 755 run-calibrate.sh $(DESTDIR)$(PREFIX)/bin/run-calibrate.sh
24 install -m 644 X11/Xdefaults $(DESTDIR)/etc/X11/Xdefaults
25 install -m 755 X11/Xinit $(DESTDIR)/etc/X11/Xinit
26- install -m 755 X11/Xserver $(DESTDIR)/etc/X11/Xserver
27- install -m 755 X11/Xsession $(DESTDIR)/etc/X11/Xsession
28 install -m 755 X11/xserver-common $(DESTDIR)/etc/X11/xserver-common
29 install -m 755 X11/functions $(DESTDIR)/etc/X11/functions
30 install -d $(DESTDIR)/etc/X11/xmodmap
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch
deleted file mode 100644
index b408234ecb..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0002-add-setdpi-Xinit.d-script.patch
+++ /dev/null
@@ -1,112 +0,0 @@
1From 3b5f431a370054bfc090796e8d55de8c8cea46f4 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:28:45 +0200
4Subject: [PATCH] add setdpi Xinit.d script
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/Xinit.d/50setdpi | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++
12 1 file changed, 92 insertions(+)
13 create mode 100644 X11/Xinit.d/50setdpi
14
15diff --git a/X11/Xinit.d/50setdpi b/X11/Xinit.d/50setdpi
16new file mode 100644
17index 0000000..04a2edd
18--- /dev/null
19+++ b/X11/Xinit.d/50setdpi
20@@ -0,0 +1,92 @@
21+#! /bin/sh
22+#
23+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
24+# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
25+#
26+# Filename: setDPI.sh
27+# Date: 09-Apr-06
28+
29+# This script configures Xft.dpi dependent on your screens DPI. This insures that the same font-size
30+# setting of 7 can be used on all machines.
31+
32+
33+XDEFAULTS="/etc/X11/Xdefaults"
34+
35+
36+
37+set_dpi() {
38+
39+ CURRENT_SETTING="`cat ${XDEFAULTS} | sed -n "/Xft.dpi\:/s/.*\:\(.*\)/\1/p" | sed -n "s/\ //p"`"
40+
41+ if test "$CURRENT_SETTING" != "$1"
42+ then
43+ echo "Using Xft.dpi of $SET_SCREEN_DPI for your $SCREEN_DPI DPI screen"
44+
45+ if grep -q "Xft.dpi" "$XDEFAULTS"
46+ then
47+ cat "${XDEFAULTS}" | sed "s/^Xft.dpi\:.*/Xft.dpi\: $SET_SCREEN_DPI/" > "${XDEFAULTS}_"
48+ mv "${XDEFAULTS}_" "${XDEFAULTS}"
49+ else
50+ echo -e "Xft.dpi: $SET_SCREEN_DPI\n" >> "$XDEFAULTS"
51+ fi
52+ else
53+ echo "Your $SCREEN_DPI DPI screen is already configured."
54+ fi
55+}
56+
57+set_rxvt_font() {
58+
59+ CURRENT_SETTING="`cat ${XDEFAULTS} | sed -n "/Rxvt\*font/s/\(.*\pixelsize=\)\(.*\)/\2/p"`"
60+
61+ if test "$1" -gt 100
62+ then
63+
64+ # Configure the rxvt font-size for your screen here:
65+ test "$1" -gt 180 -a "$1" -lt "221" && RXVT_FONT_SIZE=16
66+
67+ if test -z "$RXVT_FONT_SIZE"
68+ then
69+ echo "WARNING: No rxvt font-size configured for a $SCREEN_DPI DPI screen!"
70+ echo "Defaulting to size 9"
71+ RXVT_FONT_SIZE=9
72+ fi
73+
74+ if test "$CURRENT_SETTING" != "$RXVT_FONT_SIZE"
75+ then
76+ echo "Using a rxvt font-size of $RXVT_FONT_SIZE"
77+ cat ${XDEFAULTS} | sed "/Rxvt\*font/s/\(.*\pixelsize\)\(=*.*\)/\1=$RXVT_FONT_SIZE/" > ${XDEFAULTS}_
78+ mv ${XDEFAULTS}_ ${XDEFAULTS}
79+ else
80+ echo "The rxvt font-size is already configured"
81+ fi
82+ fi
83+}
84+
85+if test -z "$DISPLAY"
86+then
87+ echo "DISPLAY is not set, aborting..."
88+ exit 0
89+fi
90+
91+SCREEN_DPI="`/usr/bin/xdpyinfo | grep "dots per inch" | awk '{print $2}'| sed -n "s/\(.*\)x\(.*\)/\2/p"`"
92+
93+if test -z "$SCREEN_DPI"
94+then
95+ echo "WARNING: Couldn't read your screens DPI, defaulting to 100"
96+ SCREEN_DPI=100
97+fi
98+
99+# Configure your screen here:
100+test "$SCREEN_DPI" -gt 180 -a "$SCREEN_DPI" -lt "221" && SET_SCREEN_DPI=160
101+test "$SCREEN_DPI" -gt 90 -a "$SCREEN_DPI" -lt "121" && SET_SCREEN_DPI=100
102+
103+
104+if test -z "$SET_SCREEN_DPI"
105+then
106+ echo "WARNING: No default configuration found for your $SCREEN_DPI DPI screen!"
107+ echo "Using 100 DPI"
108+ SET_SCREEN_DPI=100
109+fi
110+
111+set_dpi "$SET_SCREEN_DPI"
112+set_rxvt_font "$SCREEN_DPI"
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch
deleted file mode 100644
index 4a9342c934..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0006-add-support-for-etc-X11-xserver-system.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From b60e364c35d56a2a3164254d98c9931bfa3feed4 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:34:43 +0200
4Subject: [PATCH] add support for /etc/X11/xserver-system
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 5 +++++
12 1 file changed, 5 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 52655cb..bb7c2ff 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -204,3 +204,8 @@ fi
19 if [ "$XSERVER" != "Xorg" ] ; then
20 ARGS="$ARGS $MOUSE $KDRIVEARGS"
21 fi
22+
23+# let a local script modify the variables
24+if [ -e /etc/X11/xserver-system ] ; then
25+ . /etc/X11/xserver-system
26+fi
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch
deleted file mode 100644
index ba35d1cf6c..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0007-use-own-functions-file-instead-etc-init.d-functions.patch
+++ /dev/null
@@ -1,87 +0,0 @@
1From 492c65a32a4ae44c34580ed8ac5d3f50a155cfef Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:36:02 +0200
4Subject: [PATCH] use own functions file instead /etc/init.d/functions
5
6* so we don't have to depend on initscripts
7
8Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
9
10---
11Upstream-Status: Pending
12
13 Makefile | 1 +
14 X11/Xinit.d/11zaurus | 2 +-
15 X11/Xinit.d/12keymap | 2 +-
16 X11/functions | 11 +++++++++++
17 X11/xserver-common | 2 +-
18 5 files changed, 15 insertions(+), 3 deletions(-)
19 create mode 100644 X11/functions
20
21diff --git a/Makefile b/Makefile
22index e2d9af9..caa5de1 100644
23--- a/Makefile
24+++ b/Makefile
25@@ -23,6 +23,7 @@ install-program:
26 install -m 755 X11/Xserver $(DESTDIR)/etc/X11/Xserver
27 install -m 755 X11/Xsession $(DESTDIR)/etc/X11/Xsession
28 install -m 755 X11/xserver-common $(DESTDIR)/etc/X11/xserver-common
29+ install -m 755 X11/functions $(DESTDIR)/etc/X11/functions
30 install -d $(DESTDIR)/etc/X11/xmodmap
31 install -m 644 X11/xmodmap/*.xmodmap $(DESTDIR)/etc/X11/xmodmap
32 install -m 644 X11/xmodmap/xmodmap-* $(DESTDIR)/etc/X11/xmodmap
33diff --git a/X11/Xinit.d/11zaurus b/X11/Xinit.d/11zaurus
34index 54ea6f5..23e7713 100644
35--- a/X11/Xinit.d/11zaurus
36+++ b/X11/Xinit.d/11zaurus
37@@ -8,7 +8,7 @@ else
38 CHCK=chkhinge
39 fi
40
41-. /etc/init.d/functions
42+. /etc/X11/functions
43
44 $CHCK -e
45 if [ $? = 12 ]; then
46diff --git a/X11/Xinit.d/12keymap b/X11/Xinit.d/12keymap
47index 7eac296..b7a7f2d 100644
48--- a/X11/Xinit.d/12keymap
49+++ b/X11/Xinit.d/12keymap
50@@ -1,6 +1,6 @@
51 #!/bin/sh
52
53-. /etc/init.d/functions
54+. /etc/X11/functions
55
56 # since kdrive 1.4 there is no default keymap in server
57 xmodmap - </etc/X11/xmodmap/default.xmodmap
58diff --git a/X11/functions b/X11/functions
59new file mode 100644
60index 0000000..a1311ad
61--- /dev/null
62+++ b/X11/functions
63@@ -0,0 +1,11 @@
64+# -*-Shell-script-*-
65+#
66+# functions This file contains functions shared by few X11 scripts
67+# machine_id also exists in /etc/init.d/functions but some
68+# people don't use initscripts anymore
69+#
70+
71+machine_id() { # return the machine ID
72+ awk 'BEGIN { FS=": " } /Hardware/ \
73+ { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo
74+}
75diff --git a/X11/xserver-common b/X11/xserver-common
76index bb7c2ff..d622f2a 100644
77--- a/X11/xserver-common
78+++ b/X11/xserver-common
79@@ -30,7 +30,7 @@ if [ -f /etc/profile ]; then
80 . /etc/profile
81 fi
82
83-. /etc/init.d/functions
84+. /etc/X11/functions
85
86 fallback_screen_arg() {
87 geom=`fbset | grep geometry`
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch
deleted file mode 100644
index a04e563f82..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From e2abbe110e71a7b4b56564e6b9d58ffa7f34a9e8 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:37:29 +0200
4Subject: [PATCH] xserver-common: add dpi and nocursor params for gta01 and
5 gta02
6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8
9---
10Upstream-Status: Pending
11
12 X11/xserver-common | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15diff --git a/X11/xserver-common b/X11/xserver-common
16index d622f2a..a2c0591 100644
17--- a/X11/xserver-common
18+++ b/X11/xserver-common
19@@ -133,15 +133,19 @@ else
20 ARGS="$ARGS -screen ${SCREEN_SIZE}"
21 DPI="225" ;;
22 "gta01" )
23- DPI="285"
24+ DPI="280"
25 if [ "$XSERVER" != "Xorg" ] ; then
26 ARGS="$ARGS -screen 480x640"
27+ else
28+ ARGS="$ARGS -dpi ${DPI} -nocursor"
29 fi
30 ;;
31 "gta02")
32- DPI="285"
33+ DPI="280"
34 if [ "$XSERVER" != "Xorg" ] ; then
35 ARGS="$ARGS -screen ${SCREEN_SIZE}"
36+ else
37+ ARGS="$ARGS -dpi ${DPI} -nocursor"
38 fi
39 ;;
40 "motorola_ezx_platform")
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch
deleted file mode 100644
index 993b320154..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From f2d808cea5b9f69158f82e16c06f882a6db10d63 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:40:14 +0200
4Subject: [PATCH] xserver-common: add support for n900 alias nokia_rx-51_board
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 7 +++++++
12 1 file changed, 7 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index a2c0591..b8c37e6 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -132,6 +132,13 @@ else
19 "nokia_n800" | "nokia_rx-44" | "nokia_n770")
20 ARGS="$ARGS -screen ${SCREEN_SIZE}"
21 DPI="225" ;;
22+ "nokia_rx-51_board" )
23+ DPI="267"
24+ if [ "$XSERVER" != "Xorg" ] ; then
25+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
26+ else
27+ ARGS="$ARGS -dpi ${DPI} -nocursor"
28+ fi ;;
29 "gta01" )
30 DPI="280"
31 if [ "$XSERVER" != "Xorg" ] ; then
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch
deleted file mode 100644
index 2948cd611b..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0010-xserver-common-add-support-for-nexus-S-alias-herring.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From a194ba2013f9e58cf73cd39b57be68386e501eda Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:40:44 +0200
4Subject: [PATCH] xserver-common: add support for nexus S alias herring
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 3 +++
12 1 file changed, 3 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index b8c37e6..9aa6b24 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -126,6 +126,9 @@ else
19 "htc_tornado")
20 ARGS="$ARGS -hide-cursor"
21 DPI="100" ;;
22+ "herring")
23+ DPI="235"
24+ ARGS="$ARGS -dpi ${DPI} -nocursor";;
25 "generic_omap1510/1610/1710")
26 ARGS="$ARGS -screen ${SCREEN_SIZE}"
27 DPI="225" ;;
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch
deleted file mode 100644
index 342d49becd..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch
+++ /dev/null
@@ -1,27 +0,0 @@
1From dfd832b35b6cb4cf2b6f2b51df7b0999f10c8ca1 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:41:06 +0200
4Subject: [PATCH] xserver-common: add support for nexus one alias mahimahi
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 3 +++
12 1 file changed, 3 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 9aa6b24..8da926e 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -129,6 +129,9 @@ else
19 "herring")
20 DPI="235"
21 ARGS="$ARGS -dpi ${DPI} -nocursor";;
22+ "mahimahi")
23+ DPI="254"
24+ ARGS="$ARGS -dpi ${DPI}";;
25 "generic_omap1510/1610/1710")
26 ARGS="$ARGS -screen ${SCREEN_SIZE}"
27 DPI="225" ;;
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch
deleted file mode 100644
index 94f9d2ca6f..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From d9e05e53b30c66705852256ff5c603252aa94b2c Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:41:52 +0200
4Subject: [PATCH] xserver-common: add support for gta04 alias OpenPhoenux
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 8 ++++++++
12 1 file changed, 8 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 8da926e..d9325dd 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -161,6 +161,14 @@ else
19 ARGS="$ARGS -dpi ${DPI} -nocursor"
20 fi
21 ;;
22+ "gta04")
23+ DPI="280"
24+ if [ "$XSERVER" != "Xorg" ] ; then
25+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
26+ else
27+ ARGS="$ARGS -dpi ${DPI} -nocursor"
28+ fi
29+ ;;
30 "motorola_ezx_platform")
31 ARGS="$ARGS -screen 240x320"
32 DPI="170" ;;
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch
deleted file mode 100644
index c023b583b0..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 57ab521ffc1024f21105ca14be2d041a477942b1 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 17 Aug 2012 13:00:56 +0200
4Subject: [PATCH] xserver-common: add support for tuna alias Galaxy Nexus
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9Upstream-Status: Pending
10
11 X11/xserver-common | 8 ++++++++
12 1 file changed, 8 insertions(+)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index d9325dd..017e5ae 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -169,6 +169,14 @@ else
19 ARGS="$ARGS -dpi ${DPI} -nocursor"
20 fi
21 ;;
22+ "tuna")
23+ DPI="316"
24+ if [ "$XSERVER" != "Xorg" ] ; then
25+ ARGS="$ARGS -screen ${SCREEN_SIZE}"
26+ else
27+ ARGS="$ARGS -dpi ${DPI} -nocursor"
28+ fi
29+ ;;
30 "motorola_ezx_platform")
31 ARGS="$ARGS -screen 240x320"
32 DPI="170" ;;
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
deleted file mode 100644
index a731917003..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 5236209e30e0f45113e140f0667c8ffcfe621536 Mon Sep 17 00:00:00 2001
2From: Javier Viguera <javier.viguera@digi.com>
3Date: Wed, 26 Nov 2014 09:24:44 +0100
4Subject: [PATCH] xserver-common: disable TCP connections
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Javier Viguera <javier.viguera@digi.com>
9
10---
11 X11/xserver-common | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/X11/xserver-common b/X11/xserver-common
15index 017e5ae..4dc48c4 100644
16--- a/X11/xserver-common
17+++ b/X11/xserver-common
18@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
19 export USER=root
20 export XSERVER_DEFAULT_ORIENTATION=normal
21
22-ARGS="-br -pn $INPUT_EXTRA_ARGS"
23+ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
24 DPI="100"
25 MOUSE=""
26 KDRIVEARGS=""
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
deleted file mode 100644
index 3f577bfa05..0000000000
--- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "Common X11 scripts and support files"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4
5
6# we are using a gpe-style Makefile
7inherit features_check gpe
8
9REQUIRED_DISTRO_FEATURES = "x11"
10
11SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14"
12SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210"
13
14SRC_URI:append = " \
15 file://0001-COPYING-add-GPLv2-license-file.patch \
16 file://0002-add-setdpi-Xinit.d-script.patch \
17 file://0006-add-support-for-etc-X11-xserver-system.patch \
18 file://0007-use-own-functions-file-instead-etc-init.d-functions.patch \
19 file://0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch \
20 file://0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch \
21 file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \
22 file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \
23 file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \
24 file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \
25 file://0015-xserver-common-disable-TCP-connections.patch \
26 file://0001-Don-t-install-Xsession-or-Xserver.patch \
27"
28
29do_install:append() {
30 sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common
31 # Rename all Xsession files not ending with .sh
32 # Unfortunatelly when xinput-calibrator was moved to oe-core
33 # its Xsession file got name 30xinput_calibrate.sh and ls -X sorts it
34 # last, not respecting numbers for sorting them
35 for i in ${D}/${sysconfdir}/X11/Xsession.d/*; do
36 echo $i | grep '.sh$' || mv $i $i.sh
37 done
38}
39
40RDEPENDS:${PN} = "xmodmap xrandr xdpyinfo fbset xinput-calibrator"
41
42RCONFLICTS:${PN} = "xserver-kdrive-common x11-common"
43RREPLACES:${PN} = "xserver-kdrive-common x11-common"
44
diff --git a/meta-oe/recipes-graphics/yad/yad_6.0.bb b/meta-oe/recipes-graphics/yad/yad_6.0.bb
index 9e46215fd8..64c12f5904 100644
--- a/meta-oe/recipes-graphics/yad/yad_6.0.bb
+++ b/meta-oe/recipes-graphics/yad/yad_6.0.bb
@@ -13,6 +13,5 @@ REQUIRED_DISTRO_FEATURES = "x11"
13 13
14DEPENDS = "gtk+3 glib-2.0-native intltool-native" 14DEPENDS = "gtk+3 glib-2.0-native intltool-native"
15 15
16S = "${WORKDIR}/git"
17 16
18FILES:${PN} += "${datadir}/icons/" 17FILES:${PN} += "${datadir}/icons/"
diff --git a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
index 3acf70235e..7562271d90 100644
--- a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
+++ b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
@@ -8,7 +8,6 @@ PV = "1.0.4+git"
8SRC_URI = "git://github.com/ReimuNotMoe/ydotool;protocol=https;branch=master" 8SRC_URI = "git://github.com/ReimuNotMoe/ydotool;protocol=https;branch=master"
9SRCREV = "0c295346d55afcc6aebaaee564333b3e1efabcbd" 9SRCREV = "0c295346d55afcc6aebaaee564333b3e1efabcbd"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake systemd 12inherit cmake systemd
14 13
diff --git a/meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb b/meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb
index 0e17800c4b..3bbfe4cf9f 100644
--- a/meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb
+++ b/meta-oe/recipes-kernel/agent-proxy/agent-proxy_1.97.bb
@@ -16,7 +16,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kgdb/agent-proxy.git;protoc
16 16
17BBCLASSEXTEND = "native nativesdk" 17BBCLASSEXTEND = "native nativesdk"
18 18
19S = "${WORKDIR}/git"
20 19
21do_install () { 20do_install () {
22 install -d ${D}${bindir} 21 install -d ${D}${bindir}
diff --git a/meta-oe/recipes-kernel/blktests/blktests.bb b/meta-oe/recipes-kernel/blktests/blktests.bb
new file mode 100644
index 0000000000..ded03a4de2
--- /dev/null
+++ b/meta-oe/recipes-kernel/blktests/blktests.bb
@@ -0,0 +1,18 @@
1SUMMARY = "Linux kernel block layer testing framework"
2DESCRIPTION = "blktests is a test framework for the Linux kernel block layer and storage stack. It is inspired by the xfstests filesystem testing framework."
3DEPENDS = "gnutls keyutils glib-2.0 libnl"
4RDEPENDS:${PN} += " bash coreutils gawk util-linux fio"
5LICENSE = "GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://LICENSES/GPL-3.0;md5=d32239bcb673463ab874e80d47fae504"
7
8SRCREV = "9aa2023312bfcdd6b31c24b6e4a4a5c2d4f870d2"
9SRC_URI = " \
10 git://github.com/osandov/blktests.git;nobranch=1;protocol=https \
11 "
12
13
14inherit autotools-brokensep
15
16do_configure[noexec] = "1"
17
18FILES:${PN} = "/usr/blktests/*"
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb
index b22334fe90..d19746184c 100644
--- a/meta-oe/recipes-kernel/bpftool/bpftool.bb
+++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb
@@ -14,7 +14,7 @@ EXTRA_OEMAKE = "\
14 -C ${S}/tools/bpf/bpftool \ 14 -C ${S}/tools/bpf/bpftool \
15 O=${B} \ 15 O=${B} \
16 CROSS=${TARGET_PREFIX} \ 16 CROSS=${TARGET_PREFIX} \
17 CC="${CC} ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH}" \ 17 CC="${CC} ${DEBUG_PREFIX_MAP} -ffile-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} ${CFLAGS}" \
18 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS}" \ 18 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS}" \
19 LD="${LD}" \ 19 LD="${LD}" \
20 AR=${AR} \ 20 AR=${AR} \
@@ -26,7 +26,7 @@ SECURITY_CFLAGS = ""
26 26
27do_configure[depends] += "virtual/kernel:do_shared_workdir" 27do_configure[depends] += "virtual/kernel:do_shared_workdir"
28 28
29COMPATIBLE_HOST = "(x86_64|aarch64).*-linux" 29COMPATIBLE_HOST = "(x86_64|aarch64|riscv64).*-linux"
30COMPATIBLE_HOST:libc-musl = 'null' 30COMPATIBLE_HOST:libc-musl = 'null'
31 31
32do_compile() { 32do_compile() {
diff --git a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb
index 4b6026ebc0..fe980e3e6f 100644
--- a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb
+++ b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p3.bb
@@ -14,7 +14,6 @@ SRCREV = "a0eb4805dbb232f02f156b9351a23790c1a4cec7"
14 14
15PE = "1" 15PE = "1"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit allarch 18inherit allarch
20 19
diff --git a/meta-oe/recipes-kernel/cpupower/cpupower.bb b/meta-oe/recipes-kernel/cpupower/cpupower.bb
index 18e3638052..453ebe8c7f 100644
--- a/meta-oe/recipes-kernel/cpupower/cpupower.bb
+++ b/meta-oe/recipes-kernel/cpupower/cpupower.bb
@@ -7,7 +7,7 @@ PROVIDES = "virtual/cpupower"
7 7
8inherit kernelsrc kernel-arch bash-completion 8inherit kernelsrc kernel-arch bash-completion
9 9
10do_populate_lic[depends] += "virtual/kernel:do_patch" 10do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
11 11
12EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" 12EXTRA_OEMAKE = "-C ${S}/tools/power/cpupower O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
13 13
diff --git a/meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.4.bb b/meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb
index 54883cef38..bafe56d2c4 100644
--- a/meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.4.bb
+++ b/meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb
@@ -15,9 +15,9 @@ DEPENDS = "\
15 nativesdk-mpfr \ 15 nativesdk-mpfr \
16 nativesdk-readline \ 16 nativesdk-readline \
17 nativesdk-zlib \ 17 nativesdk-zlib \
18 virtual/${HOST_PREFIX}gcc \ 18 virtual/nativesdk-cross-cc \
19 virtual/${HOST_PREFIX}binutils \ 19 virtual/nativesdk-cross-binutils \
20 virtual/nativesdk-${HOST_PREFIX}compilerlibs \ 20 virtual/nativesdk-compilerlibs \
21 virtual/nativesdk-libc" 21 virtual/nativesdk-libc"
22 22
23RDEPENDS:${PN} = "nativesdk-liblzma" 23RDEPENDS:${PN} = "nativesdk-liblzma"
diff --git a/meta-oe/recipes-kernel/crash/crash.inc b/meta-oe/recipes-kernel/crash/crash.inc
index 04318b1505..3c9a99ae4a 100644
--- a/meta-oe/recipes-kernel/crash/crash.inc
+++ b/meta-oe/recipes-kernel/crash/crash.inc
@@ -14,16 +14,21 @@ DEPENDS = "zlib readline coreutils-native ncurses-native"
14 14
15INC_PR = "r1" 15INC_PR = "r1"
16 16
17S = "${WORKDIR}/git"
18SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=https \ 17SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=https \
19 ${GNU_MIRROR}/gdb/gdb-10.2.tar.gz;name=gdb;subdir=git \ 18 ${GNU_MIRROR}/gdb/gdb-10.2.tar.gz;name=gdb;subdir=${BB_GIT_DEFAULT_DESTSUFFIX} \
20 file://7001force_define_architecture.patch \ 19 file://7001force_define_architecture.patch \
21 file://7003cross_ranlib.patch \ 20 file://7003cross_ranlib.patch \
22 file://0001-cross_add_configure_option.patch \ 21 file://0001-cross_add_configure_option.patch \
23 file://donnot-extract-gdb-during-do-compile.patch \ 22 file://donnot-extract-gdb-during-do-compile.patch \
24 file://gdb_build_jobs_and_not_write_crash_target.patch \ 23 file://gdb_build_jobs_and_not_write_crash_target.patch \
24 file://0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch \
25 file://0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch \
26 file://0003-Fix-build-failure-in-readline-lib.patch \
27 file://0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch \
28 file://0005-Fix-build-failure-on-32bit-machine-i686.patch \
29 file://0001-Use-CC-env-var-to-get-compiler-version.patch \
25 " 30 "
26SRCREV = "a6832f608cb5d473739cf33bbf84ab1df8d98fd5" 31SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
27 32
28SRC_URI[gdb.sha256sum] = "b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350" 33SRC_URI[gdb.sha256sum] = "b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350"
29 34
diff --git a/meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch b/meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch
new file mode 100644
index 0000000000..773598def1
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0001-Use-CC-env-var-to-get-compiler-version.patch
@@ -0,0 +1,48 @@
1From 6ad5e9302057e157ab701880a8543ca59058df2d Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?K=C3=A9l=C3=A9fa=20San=C3=A9?= <kelefa.sane@smile.fr>
3Date: Fri, 16 May 2025 16:18:28 +0200
4Subject: [PATCH v2] Use CC env var to get compiler version
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9The source file build_data.c generated at compilation time define a
10variable compiler_version which is obtained by calling "gcc --version"
11cmd. This call retrieve the native gcc compiler install on host build
12machine but not necessarily the compiler use to build the project (ex:
13cross compilation).
14
15The CC env variable commonly used in Makefile project define the
16compiler to use at build, so this is the appropriate way to retrieve the
17compiler version, when the CC env var is define.
18
19Upstream-Status: Submitted [https://lists.crash-utility.osci.io/archives/list/devel@lists.crash-utility.osci.io/thread/V3G3QH3YW6WZWD56TVTFQIHYLZ33UIJL/]
20
21Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr>
22---
23 configure.c | 12 +++++++++++-
24 1 file changed, 11 insertions(+), 1 deletion(-)
25
26diff --git a/configure.c b/configure.c
27index 4668c9a..4b65bd7 100644
28--- a/configure.c
29+++ b/configure.c
30@@ -1362,7 +1362,17 @@ make_build_data(char *target)
31
32 fp1 = popen("date", "r");
33 fp2 = popen("id", "r");
34- fp3 = popen("gcc --version", "r");
35+
36+ const char *cc_env = getenv("CC");
37+ if(NULL == cc_env) {
38+ fp3 = popen("gcc --version", "r");
39+ }
40+ else {
41+ char compiler_version_cmd[512];
42+
43+ snprintf(compiler_version_cmd, sizeof(compiler_version_cmd), "%s --version", cc_env);
44+ fp3 = popen(compiler_version_cmd, "r");
45+ }
46
47 if ((fp4 = fopen("build_data.c", "w")) == NULL) {
48 perror("build_data.c");
diff --git a/meta-oe/recipes-kernel/crash/crash/0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch b/meta-oe/recipes-kernel/crash/crash/0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch
new file mode 100644
index 0000000000..47182f8b6c
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch
@@ -0,0 +1,89 @@
1From 329bd56da28fc1b5b53a60ca2172643d2090435d Mon Sep 17 00:00:00 2001
2From: Tao Liu <ltao@redhat.com>
3Date: Fri, 13 Dec 2024 08:36:03 +0000
4Subject: [PATCH] symbol: fix -S cannot work with kaslr detection
5
6When kernel enabled the CONFIG_RANDOMIZE_BASE, crash needs to add "kaslr=auto"
7in crash command line to tell crash to decode the random address.
8But when with "-S" in command line, crash would bypass the kaslr option
9that cause symbol from kernel image is mismatch with ram on a live system.
10
11The fix is provided by Tao Liu <ltao@redhat.com> from crash-utility upstream,
12and not merged to crash master yet.
13
14Upstream-Status: Pending
15[https://lists.crash-utility.osci.io/archives/list/devel@lists.crash-utility.osci.io/thread/5OXNYPPU6GLLQKCWH7WBNBJXLNZ4EBZD/]
16
17Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
18---
19 symbols.c | 18 ++++++++++--------
20 1 file changed, 10 insertions(+), 8 deletions(-)
21
22diff --git a/symbols.c b/symbols.c
23index a3cd0f3..6062d21 100644
24--- a/symbols.c
25+++ b/symbols.c
26@@ -25,7 +25,7 @@
27
28 static void store_symbols(bfd *, int, void *, long, unsigned int);
29 static void store_sysmap_symbols(void);
30-static ulong relocate(ulong, char *, int);
31+static ulong relocate(ulong, char *, int *);
32 static int relocate_force(ulong, char *);
33 static void kaslr_init(void);
34 static void strip_module_symbol_end(char *s);
35@@ -230,6 +230,7 @@ symtab_init(void)
36 DEBUGINFO_ERROR_MESSAGE1 :
37 DEBUGINFO_ERROR_MESSAGE2);
38 }
39+ kt->flags |= RELOC_FORCE;
40 store_sysmap_symbols();
41 return;
42 } else if (LKCD_KERNTYPES())
43@@ -817,7 +818,7 @@ store_symbols(bfd *abfd, int dynamic, void *minisyms, long symcount,
44 syminfo.type)) {
45 if (kt->flags & (RELOC_SET|RELOC_FORCE))
46 sp->value = relocate(syminfo.value,
47- (char *)syminfo.name, !(first++));
48+ (char *)syminfo.name, &first);
49 else
50 sp->value = syminfo.value;
51 sp->type = syminfo.type;
52@@ -893,9 +894,9 @@ store_sysmap_symbols(void)
53
54 if (machdep->verify_symbol(name, syment.value,
55 syment.type)) {
56- if (kt->flags & RELOC_SET)
57+ if (kt->flags & (RELOC_SET|RELOC_FORCE))
58 sp->value = relocate(syment.value,
59- syment.name, !(first++));
60+ syment.name, &first);
61 else
62 sp->value = syment.value;
63 sp->type = syment.type;
64@@ -924,7 +925,7 @@ store_sysmap_symbols(void)
65 * are not as loaded into the kernel (not unity-mapped).
66 */
67 static ulong
68-relocate(ulong symval, char *symname, int first_symbol)
69+relocate(ulong symval, char *symname, int *first_symbol)
70 {
71 if (XEN_HYPER_MODE()) {
72 kt->flags &= ~(RELOC_SET|RELOC_FORCE);
73@@ -937,9 +938,10 @@ relocate(ulong symval, char *symname, int first_symbol)
74 break;
75
76 case RELOC_FORCE:
77- if (first_symbol && !relocate_force(symval, symname))
78- kt->flags &= ~RELOC_FORCE;
79- break;
80+ if (!(*first_symbol) && relocate_force(symval, symname)) {
81+ *first_symbol += 1;
82+ }
83+ return symval - kt->relocate;
84 }
85
86 if (machine_type("X86_64")) {
87--
882.35.5
89
diff --git a/meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch b/meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch
new file mode 100644
index 0000000000..42a585d366
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch
@@ -0,0 +1,85 @@
1From 0f39e33d3504f3a17b83574c3be97640460b7eef Mon Sep 17 00:00:00 2001
2From: "Guanyou.Chen" <chenguanyou@xiaomi.com>
3Date: Wed, 25 Dec 2024 23:50:28 +0800
4Subject: [PATCH] arm64: add pac mask to better support gdb stack unwind
5
6Currently, gdb passthroughs of 'bt', 'frame', 'up', 'down',
7'info, locals' don't work on arm64 machine enabled pauth.
8This is because gdb does not know the lr register actual values
9to unwind the stack frames.
10
11Without the patch:
12 crash> gdb bt
13 #0 __switch_to (prev=0xffffff8001af92c0, next=0xffffff889da7a580) at /proc/self/cwd/common/arch/arm64/kernel/process.c:569
14 #1 0x9fc5c5d3602132c0 in ?? ()
15 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
16
17With the patch:
18 crash> gdb bt
19 #0 __switch_to (prev=prev@entry=0xffffff8001af92c0, next=next@entry=0xffffff889da7a580) at /proc/self/cwd/common/arch/arm64/kernel/process.c:569
20 #1 0xffffffd3602132c0 in context_switch (rq=0xffffff8a7295a080, prev=0xffffff8001af92c0, next=0xffffff889da7a580, rf=<optimized out>) at /proc/self/cwd/common/kernel/sched/core.c:5515
21 #2 __schedule (sched_mode=<optimized out>, sched_mode@entry=2147859424) at /proc/self/cwd/common/kernel/sched/core.c:6843
22 #3 0xffffffd3602136d8 in schedule () at /proc/self/cwd/common/kernel/sched/core.c:6917
23 ...
24
25Signed-off-by: Guanyou.Chen <chenguanyou@xiaomi.com>
26Signed-off-by: mark.yang <mark.yang@lge.com>
27
28Upstream-Status: Backport [0f39e33 arm64: add pac mask to better support gdb stack unwind]
29---
30 gdb-10.2.patch | 23 +++++++++++++++++++++++
31 gdb_interface.c | 10 ++++++++++
32 2 files changed, 33 insertions(+)
33
34diff --git a/gdb-10.2.patch b/gdb-10.2.patch
35index c867660..fd6fadb 100644
36--- a/gdb-10.2.patch
37+++ b/gdb-10.2.patch
38@@ -16216,3 +16216,26 @@ exit 0
39 printf_filtered (_("Backtrace stopped: %s\n"),
40 frame_stop_reason_string (trailing));
41 }
42+--- gdb-10.2/gdb/frame.c.orig
43++++ gdb-10.2/gdb/frame.c
44+@@ -944,6 +944,10 @@ frame_find_by_id (struct frame_id id)
45+ return NULL;
46+ }
47+
48++#ifdef CRASH_MERGE
49++extern "C" void crash_decode_ptrauth_pc(ulong* pc);
50++#endif
51++
52+ static CORE_ADDR
53+ frame_unwind_pc (struct frame_info *this_frame)
54+ {
55+@@ -974,6 +978,9 @@ frame_unwind_pc (struct frame_info *this_frame)
56+ try
57+ {
58+ pc = gdbarch_unwind_pc (prev_gdbarch, this_frame);
59++#ifdef CRASH_MERGE
60++ crash_decode_ptrauth_pc(&pc);
61++#endif
62+ pc_p = true;
63+ }
64+ catch (const gdb_exception_error &ex)
65diff --git a/gdb_interface.c b/gdb_interface.c
66index 315711e..e108d09 100644
67--- a/gdb_interface.c
68+++ b/gdb_interface.c
69@@ -1083,3 +1083,13 @@ int crash_get_current_task_reg (int regno, const char *regname,
70 return machdep->get_current_task_reg(regno, regname, regsize, value);
71 }
72
73+/* arm64 kernel lr maybe has patuh */
74+void crash_decode_ptrauth_pc(ulong *pc);
75+void crash_decode_ptrauth_pc(ulong *pc)
76+{
77+#ifdef ARM64
78+ struct machine_specific *ms = machdep->machspec;
79+ if (is_kernel_text(*pc | ms->CONFIG_ARM64_KERNELPACMASK))
80+ *pc |= ms->CONFIG_ARM64_KERNELPACMASK;
81+#endif /* !ARM64 */
82+}
83--
842.34.1
85
diff --git a/meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch b/meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch
new file mode 100644
index 0000000000..f3318b3a6a
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch
@@ -0,0 +1,136 @@
1From 772fbb1022911410b5fb773fde37910fc8286041 Mon Sep 17 00:00:00 2001
2From: Lianbo Jiang <lijiang@redhat.com>
3Date: Fri, 24 Jan 2025 16:12:40 +0800
4Subject: [PATCH] Fix build failure in readline lib
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This is a backported patch from gdb upstream, see the commit
10425f843d58c5 ("Import GNU Readline 8.2"), and only backported
11patch related to compilation errors.
12
13Without the patch:
14
15 signals.c: In function ‘_rl_handle_signal’:
16 signals.c:62:36: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch]
17 62 | # define SIGHANDLER_RETURN return (0)
18 | ^
19 signals.c:290:3: note: in expansion of macro ‘SIGHANDLER_RETURN’
20 290 | SIGHANDLER_RETURN;
21 | ^~~~~~~~~~~~~~~~~
22 signals.c:178:1: note: declared here
23 178 | _rl_handle_signal (int sig)
24 | ^~~~~~~~~~~~~~~~~
25 signals.c: In function ‘rl_sigwinch_handler’:
26 signals.c:306:32: error: passing argument 2 of ‘rl_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types]
27 306 | rl_set_sighandler (SIGWINCH, rl_sigwinch_handler, &dummy_winch);
28 | ^~~~~~~~~~~~~~~~~~~
29 | |
30 | void (*)(int)
31 In file included from rldefs.h:31,
32 from signals.c:37:
33 signals.c:81:51: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’
34 81 | static SigHandler *rl_set_sighandler PARAMS((int, SigHandler *, sighandler_cxt *));
35
36Note: the current build failure was observed on gcc (GCC) 15.0.0.
37
38Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
39Signed-off-by: mark.yang <mark.yang@lge.com>
40
41Upstream-Status: Backport [772fbb1 Fix build failure in readline lib]
42---
43 gdb-10.2.patch | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++
44 1 file changed, 82 insertions(+)
45
46diff --git a/gdb-10.2.patch b/gdb-10.2.patch
47index fd6fadb..8f5d7db 100644
48--- a/gdb-10.2.patch
49+++ b/gdb-10.2.patch
50@@ -16239,3 +16239,85 @@ exit 0
51 pc_p = true;
52 }
53 catch (const gdb_exception_error &ex)
54+--- gdb-10.2/readline/readline/signals.c.orig
55++++ gdb-10.2/readline/readline/signals.c
56+@@ -48,23 +48,11 @@
57+
58+ #if defined (HANDLE_SIGNALS)
59+
60+-#if !defined (RETSIGTYPE)
61+-# if defined (VOID_SIGHANDLER)
62+-# define RETSIGTYPE void
63+-# else
64+-# define RETSIGTYPE int
65+-# endif /* !VOID_SIGHANDLER */
66+-#endif /* !RETSIGTYPE */
67+-
68+-#if defined (VOID_SIGHANDLER)
69+-# define SIGHANDLER_RETURN return
70+-#else
71+-# define SIGHANDLER_RETURN return (0)
72+-#endif
73++#define SIGHANDLER_RETURN return
74+
75+ /* This typedef is equivalent to the one for Function; it allows us
76+ to say SigHandler *foo = signal (SIGKILL, SIG_IGN); */
77+-typedef RETSIGTYPE SigHandler ();
78++typedef void SigHandler (int);
79+
80+ #if defined (HAVE_POSIX_SIGNALS)
81+ typedef struct sigaction sighandler_cxt;
82+@@ -78,12 +66,12 @@ typedef struct { SigHandler *sa_handler; int sa_mask, sa_flags; } sighandler_cxt
83+ # define SA_RESTART 0
84+ #endif
85+
86+-static SigHandler *rl_set_sighandler PARAMS((int, SigHandler *, sighandler_cxt *));
87+-static void rl_maybe_set_sighandler PARAMS((int, SigHandler *, sighandler_cxt *));
88+-static void rl_maybe_restore_sighandler PARAMS((int, sighandler_cxt *));
89++static SigHandler *rl_set_sighandler (int, SigHandler *, sighandler_cxt *);
90++static void rl_maybe_set_sighandler (int, SigHandler *, sighandler_cxt *);
91++static void rl_maybe_restore_sighandler (int, sighandler_cxt *);
92+
93+-static RETSIGTYPE rl_signal_handler PARAMS((int));
94+-static RETSIGTYPE _rl_handle_signal PARAMS((int));
95++static void rl_signal_handler (int);
96++static void _rl_handle_signal (int);
97+
98+ /* Exported variables for use by applications. */
99+
100+@@ -137,7 +125,7 @@ void *_rl_sigcleanarg;
101+ /* Readline signal handler functions. */
102+
103+ /* Called from RL_CHECK_SIGNALS() macro */
104+-RETSIGTYPE
105++void
106+ _rl_signal_handler (int sig)
107+ {
108+ _rl_caught_signal = 0; /* XXX */
109+@@ -160,7 +148,7 @@ _rl_signal_handler (int sig)
110+ SIGHANDLER_RETURN;
111+ }
112+
113+-static RETSIGTYPE
114++static void
115+ rl_signal_handler (int sig)
116+ {
117+ if (_rl_interrupt_immediately)
118+@@ -174,7 +162,7 @@ rl_signal_handler (int sig)
119+ SIGHANDLER_RETURN;
120+ }
121+
122+-static RETSIGTYPE
123++static void
124+ _rl_handle_signal (int sig)
125+ {
126+ #if defined (HAVE_POSIX_SIGNALS)
127+@@ -291,7 +279,7 @@ _rl_handle_signal (int sig)
128+ }
129+
130+ #if defined (SIGWINCH)
131+-static RETSIGTYPE
132++static void
133+ rl_sigwinch_handler (int sig)
134+ {
135+ SigHandler *oh;
136
diff --git a/meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch b/meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch
new file mode 100644
index 0000000000..e4bd4cd3a9
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch
@@ -0,0 +1,60 @@
1From 325a9d1b3b4ce76bf4556235c885e619e219622c Mon Sep 17 00:00:00 2001
2From: Lianbo Jiang <lijiang@redhat.com>
3Date: Fri, 24 Jan 2025 15:32:59 +0800
4Subject: [PATCH] tools.c: do not use keywords 'nullptr' as a variable in code
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Without the patch:
10
11 tools.c: In function ‘drop_core’:
12 tools.c:6251:23: error: expected identifier or ‘(’ before ‘nullptr’
13 6251 | volatile int *nullptr;
14 | ^~~~~~~
15 tools.c:6259:17: error: lvalue required as left operand of assignment
16 6259 | nullptr = NULL;
17 | ^
18 tools.c:6261:21: error: invalid type argument of unary ‘*’ (have ‘typeof (nullptr)’)
19 6261 | i = *nullptr;
20 | ^~~~~~~~
21 make[6]: *** [Makefile:345: tools.o] Error 1
22
23Note: this was observed on gcc version 15.0.1
24
25Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
26Signed-off-by: mark.yang <mark.yang@lge.com>
27
28Upstream-Status: Backport [325a9d1 tools.c: do not use keywords 'nullptr' as a variable in code]
29---
30 tools.c | 6 +++---
31 1 file changed, 3 insertions(+), 3 deletions(-)
32
33diff --git a/tools.c b/tools.c
34index 85d8b6f..c9305be 100644
35--- a/tools.c
36+++ b/tools.c
37@@ -6248,7 +6248,7 @@ lowest_bit_long(ulong val)
38 void
39 drop_core(char *s)
40 {
41- volatile int *nullptr;
42+ volatile int *ptr;
43 int i ATTRIBUTE_UNUSED;
44
45 if (s && ascii_string(s))
46@@ -6256,9 +6256,9 @@ drop_core(char *s)
47
48 kill((pid_t)pc->program_pid, 3);
49
50- nullptr = NULL;
51+ ptr = NULL;
52 while (TRUE)
53- i = *nullptr;
54+ i = *ptr;
55 }
56
57
58--
592.34.1
60
diff --git a/meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch b/meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch
new file mode 100644
index 0000000000..e4796b9ced
--- /dev/null
+++ b/meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch
@@ -0,0 +1,83 @@
1From 2724bb1d0260f3886f8a3d533838caf80c7e61e5 Mon Sep 17 00:00:00 2001
2From: Lianbo Jiang <lijiang@redhat.com>
3Date: Fri, 24 Jan 2025 17:56:23 +0800
4Subject: [PATCH 10/10] Fix build failure on 32bit machine(i686)
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This issue was caused by commit 0f39e33d3504 with the following
10compilation error:
11
12 frame.c: In function ‘CORE_ADDR frame_unwind_pc(frame_info*)’:
13 frame.c:982:35: error: cannot convert ‘CORE_ADDR*’ {aka ‘long long unsigned int*’} to ‘ulong*’ {aka ‘long unsigned int*’}
14 982 | crash_decode_ptrauth_pc(&pc);
15 | ^~~
16 | |
17 | CORE_ADDR* {aka long long unsigned int*}
18 frame.c:948:48: note: initializing argument 1 of ‘void crash_decode_ptrauth_pc(ulong*)’
19 948 | extern "C" void crash_decode_ptrauth_pc(ulong* pc);
20 | ~~~~~~~^~
21
22Upstream-Status: Backport [https://github.com/crash-utility/crash/commit/2724bb1d0260f3886f8a3d533838caf80c7e61e5]
23Fixes: 0f39e33d3504 ("arm64: add pac mask to better support gdb stack unwind")
24Reported-by: Guanyou.Chen <chenguanyou@xiaomi.com>
25Signed-off-by: Lianbo Jiang <lijiang@redhat.com>
26---
27 gdb-10.2.patch | 6 +++---
28 gdb_interface.c | 4 ++--
29 2 files changed, 5 insertions(+), 5 deletions(-)
30
31diff --git a/gdb-10.2.patch b/gdb-10.2.patch
32index 8f5d7db22840..d22f2d6d75bc 100644
33--- a/gdb-10.2.patch
34+++ b/gdb-10.2.patch
35@@ -55,7 +55,7 @@ exit 0
36 # your system doesn't have fcntl.h in /usr/include (which is where it
37 # should be according to Posix).
38 -DEFS = @DEFS@
39-+DEFS = -DCRASH_MERGE @DEFS@
40++DEFS = -DCRASH_MERGE -D${CRASH_TARGET} @DEFS@
41 GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config \
42 -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
43
44@@ -16222,7 +16222,7 @@ exit 0
45 return NULL;
46 }
47
48-+#ifdef CRASH_MERGE
49++#if defined(CRASH_MERGE) && defined(ARM64)
50 +extern "C" void crash_decode_ptrauth_pc(ulong* pc);
51 +#endif
52 +
53@@ -16233,7 +16233,7 @@ exit 0
54 try
55 {
56 pc = gdbarch_unwind_pc (prev_gdbarch, this_frame);
57-+#ifdef CRASH_MERGE
58++#if defined(CRASH_MERGE) && defined(ARM64)
59 + crash_decode_ptrauth_pc(&pc);
60 +#endif
61 pc_p = true;
62diff --git a/gdb_interface.c b/gdb_interface.c
63index e108d097ee5f..c2e99f5c156a 100644
64--- a/gdb_interface.c
65+++ b/gdb_interface.c
66@@ -1084,12 +1084,12 @@ int crash_get_current_task_reg (int regno, const char *regname,
67 }
68
69 /* arm64 kernel lr maybe has patuh */
70+#ifdef ARM64
71 void crash_decode_ptrauth_pc(ulong *pc);
72 void crash_decode_ptrauth_pc(ulong *pc)
73 {
74-#ifdef ARM64
75 struct machine_specific *ms = machdep->machspec;
76 if (is_kernel_text(*pc | ms->CONFIG_ARM64_KERNELPACMASK))
77 *pc |= ms->CONFIG_ARM64_KERNELPACMASK;
78-#endif /* !ARM64 */
79 }
80+#endif /* !ARM64 */
81--
822.47.1
83
diff --git a/meta-oe/recipes-kernel/crash/crash_8.0.4.bb b/meta-oe/recipes-kernel/crash/crash_8.0.6.bb
index 1af90978e0..1af90978e0 100644
--- a/meta-oe/recipes-kernel/crash/crash_8.0.4.bb
+++ b/meta-oe/recipes-kernel/crash/crash_8.0.6.bb
diff --git a/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.32.bb b/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.32.bb
new file mode 100644
index 0000000000..31674ffec0
--- /dev/null
+++ b/meta-oe/recipes-kernel/drgn/python3-drgn_0.0.32.bb
@@ -0,0 +1,79 @@
1SUMMARY = "drgn (pronounced dragon) is a debugger with an emphasis on \
2programmability. drgn exposes the types and variables in a program for easy, \
3expressive scripting in Python."
4HOMEPAGE = "https://github.com/osandov/drgn"
5LICENSE = " LGPL-2.1-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=7c83d30e99508d6b790eacdd3abab846"
7
8SRC_URI = "git://github.com/osandov/drgn.git;protocol=https;branch=main;tag=v${PV}"
9SRCREV = "348d6efc5c18e0ae4ef2f3aea50a8edf17cb1fe9"
10
11
12DEPENDS = "\
13 autoconf-native \
14 automake-native \
15 libtool-native \
16 elfutils \
17 "
18
19DEPENDS:append:toolchain-clang:class-target = "\
20 openmp \
21 "
22
23OPENMP_LIB = "libgomp"
24OPENMP_LIB:toolchain-clang:class-target = "openmp"
25
26RDEPENDS:${PN} = "\
27 python3-crypt \
28 python3-io \
29 python3-logging \
30 python3-math \
31 python3-pickle \
32 python3-stringold \
33 python3-compression \
34 "
35
36RDEPENDS:${PN}:append:class-target = "\
37 libdw \
38 libelf \
39 ${OPENMP_LIB} \
40 "
41
42RDEPENDS:${PN}:append:class-native = "\
43 elfutils-native \
44 "
45
46RDEPENDS:${PN}:append:class-nativesdk = "\
47 nativesdk-elfutils \
48 "
49
50OPENMP_LIB_NAME = "gomp"
51OPENMP_LIB_NAME:toolchain-clang:class-target = "omp"
52
53export CONFIGURE_FLAGS = "\
54 --build=${BUILD_SYS}, \
55 --host=${HOST_SYS}, \
56 --target=${TARGET_SYS}, \
57 --prefix=${prefix}, \
58 --exec_prefix=${exec_prefix}, \
59 --bindir=${bindir}, \
60 --sbindir=${sbindir}, \
61 --libexecdir=${libexecdir}, \
62 --datadir=${datadir}, \
63 --sysconfdir=${sysconfdir}, \
64 --sharedstatedir=${sharedstatedir}, \
65 --localstatedir=${localstatedir}, \
66 --libdir=${libdir}, \
67 --includedir=${includedir}, \
68 --oldincludedir=${includedir}, \
69 --infodir=${infodir}, \
70 --mandir=${mandir}, \
71 --enable-openmp=${OPENMP_LIB_NAME} \
72 "
73
74export PYTHON_CPPFLAGS = "-I${STAGING_INCDIR}/${PYTHON_DIR}"
75
76inherit python3native pkgconfig setuptools3
77
78BBCLASSEXTEND = "native nativesdk"
79
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index 23ea0d8aae..3b5866180d 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -13,7 +13,7 @@ COMPATIBLE_HOST:libc-musl = 'null'
13 13
14DEPENDS = "libnl" 14DEPENDS = "libnl"
15 15
16do_populate_lic[depends] += "virtual/kernel:do_patch" 16do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
17 17
18B = "${WORKDIR}/${BPN}-${PV}" 18B = "${WORKDIR}/${BPN}-${PV}"
19 19
diff --git a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
index 7a15d16bc3..b5b8075fd7 100644
--- a/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
+++ b/meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
@@ -21,18 +21,20 @@ LICENSE = "BSD-3-Clause"
21LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184" 21LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184"
22 22
23DEPENDS = "openssl readline ncurses" 23DEPENDS = "openssl readline ncurses"
24SRCREV = "ab5ce5baff097ebb6e2a17a171858be213ee68d3" 24SRCREV = "bf774149ae7f74c12164a5b021b23520c5ca4016"
25SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \ 25SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \
26 ${IANA_ENTERPRISE_NUMBERS} \ 26 ${IANA_ENTERPRISE_NUMBERS} \
27 file://0001-csv-revision-Drop-the-git-revision-info.patch \ 27 file://0001-csv-revision-Drop-the-git-revision-info.patch \
28 " 28 "
29
30UPSTREAM_CHECK_GITTAGREGEX = "IPMITOOL_(?P<pver>\d+(_\d+)+)"
31
29IANA_ENTERPRISE_NUMBERS ?= "" 32IANA_ENTERPRISE_NUMBERS ?= ""
30 33
31# Add these via bbappend if this database is needed by the system 34# Add these via bbappend if this database is needed by the system
32#IANA_ENTERPRISE_NUMBERS = "http://www.iana.org/assignments/enterprise-numbers.txt;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers" 35#IANA_ENTERPRISE_NUMBERS = "http://www.iana.org/assignments/enterprise-numbers.txt;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers"
33#SRC_URI[iana-enterprise-numbers.sha256sum] = "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c" 36#SRC_URI[iana-enterprise-numbers.sha256sum] = "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c"
34 37
35S = "${WORKDIR}/git"
36 38
37inherit autotools pkgconfig 39inherit autotools pkgconfig
38 40
@@ -57,3 +59,6 @@ EXTRA_OECONF = "--disable-dependency-tracking --enable-file-security --disable-i
57 --disable-registry-download \ 59 --disable-registry-download \
58 " 60 "
59 61
62# http://errors.yoctoproject.org/Errors/Details/766896/
63# git/lib/ipmi_fru.c:1556:41: error: initialization of 'struct fru_multirec_mgmt *' from incompatible pointer type 'struct fru_multirect_mgmt *' [-Wincompatible-pointer-types]
64CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
index 3f57ef3bfd..14aa5d0c0c 100644
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
@@ -2,16 +2,19 @@ SUMMARY = "Kernel selftest for Linux"
2DESCRIPTION = "Kernel selftest for Linux" 2DESCRIPTION = "Kernel selftest for Linux"
3LICENSE = "GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4 4
5LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" 5LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
6 6
7DEPENDS = "rsync-native llvm-native" 7DEPENDS = "rsync-native llvm-native"
8 8
9S = "${UNPACKDIR}"
10
9# for musl libc 11# for musl libc
10SRC_URI:append:libc-musl = "\ 12SRC_URI:append:libc-musl = "\
11 file://userfaultfd.patch \ 13 file://userfaultfd.patch \
12 " 14 "
13SRC_URI += "file://run-ptest \ 15SRC_URI += "file://run-ptest \
14 file://COPYING \ 16 file://COPYING \
17 file://0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch \
15 " 18 "
16 19
17# now we just test bpf and vm 20# now we just test bpf and vm
@@ -42,8 +45,6 @@ do_compile[depends] += "virtual/kernel:do_install"
42 45
43inherit linux-kernel-base module-base kernel-arch ptest siteinfo 46inherit linux-kernel-base module-base kernel-arch ptest siteinfo
44 47
45S = "${WORKDIR}/${BP}"
46
47DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map" 48DEBUG_PREFIX_MAP:remove = "-fcanon-prefix-map"
48 49
49TEST_LIST = "\ 50TEST_LIST = "\
@@ -55,7 +56,7 @@ TEST_LIST = "\
55EXTRA_OEMAKE = '\ 56EXTRA_OEMAKE = '\
56 CROSS_COMPILE=${TARGET_PREFIX} \ 57 CROSS_COMPILE=${TARGET_PREFIX} \
57 ARCH=${ARCH} \ 58 ARCH=${ARCH} \
58 CC="${CC}" \ 59 CC="${CC} ${DEBUG_PREFIX_MAP}" \
59 AR="${AR}" \ 60 AR="${AR}" \
60 LD="${LD}" \ 61 LD="${LD}" \
61 CLANG="clang -fno-stack-protector -target ${TARGET_ARCH} ${TOOLCHAIN_OPTIONS} -isystem ${S} -D__WORDSIZE=\'64\' -Wno-error=unused-command-line-argument" \ 62 CLANG="clang -fno-stack-protector -target ${TARGET_ARCH} ${TOOLCHAIN_OPTIONS} -isystem ${S} -D__WORDSIZE=\'64\' -Wno-error=unused-command-line-argument" \
@@ -96,33 +97,17 @@ either install it and add it to HOSTTOOLS, or add clang-native from meta-clang t
96 sed -i -e '/mrecord-mcount/d' ${S}/Makefile 97 sed -i -e '/mrecord-mcount/d' ${S}/Makefile
97 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile 98 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/Makefile
98 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.* 99 sed -i -e '/Wno-alloc-size-larger-than/d' ${S}/scripts/Makefile.*
99 for i in ${TEST_LIST} 100 oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}"
100 do
101 oe_runmake -C ${S}/tools/testing/selftests/${i}
102 done
103} 101}
104 102
105do_install() { 103do_install() {
106 for i in ${TEST_LIST} 104 oe_runmake -C ${S}/tools/testing/selftests INSTALL_PATH=${D}/usr/kernel-selftest TARGETS="${TEST_LIST}" install
107 do
108 oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/usr/kernel-selftest/${i} install
109 # Install kselftest-list.txt that required by kselftest runner.
110 oe_runmake -s --no-print-directory COLLECTION=${i} -C ${S}/tools/testing/selftests/${i} emit_tests \
111 >> ${D}/usr/kernel-selftest/kselftest-list.txt
112 done
113 # Install kselftest runner.
114 install -m 0755 ${S}/tools/testing/selftests/run_kselftest.sh ${D}/usr/kernel-selftest/
115 cp -R --no-dereference --preserve=mode,links -v ${S}/tools/testing/selftests/kselftest ${D}/usr/kernel-selftest/
116 if [ -e ${D}/usr/kernel-selftest/bpf/test_offload.py ]; then 105 if [ -e ${D}/usr/kernel-selftest/bpf/test_offload.py ]; then
117 sed -i -e '1s,#!.*python3,#! /usr/bin/env python3,' ${D}/usr/kernel-selftest/bpf/test_offload.py 106 sed -i -e '1s,#!.*python3,#! /usr/bin/env python3,' ${D}/usr/kernel-selftest/bpf/test_offload.py
118 fi 107 fi
119 chown root:root -R ${D}/usr/kernel-selftest 108 chown root:root -R ${D}/usr/kernel-selftest
120} 109}
121 110
122do_configure() {
123 install -D -m 0644 ${UNPACKDIR}/COPYING ${S}/COPYING
124}
125
126do_patch[prefuncs] += "copy_kselftest_source_from_kernel remove_unrelated" 111do_patch[prefuncs] += "copy_kselftest_source_from_kernel remove_unrelated"
127python copy_kselftest_source_from_kernel() { 112python copy_kselftest_source_from_kernel() {
128 sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split() 113 sources = (d.getVar("KERNEL_SELFTEST_SRC") or "").split()
@@ -149,15 +134,23 @@ remove_unrelated() {
149 fi 134 fi
150} 135}
151 136
137do_configure[dirs] = "${S}"
138
152PACKAGE_ARCH = "${MACHINE_ARCH}" 139PACKAGE_ARCH = "${MACHINE_ARCH}"
153 140
154INHIBIT_PACKAGE_DEBUG_SPLIT="1" 141INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
155FILES:${PN} += "/usr/kernel-selftest" 142FILES:${PN} += "/usr/kernel-selftest"
156 143
157RDEPENDS:${PN} += "python3 perl perl-module-io-handle" 144RDEPENDS:${PN} += "python3 perl perl-module-io-handle"
158 145
159INSANE_SKIP:${PN} += "libdir" 146INSANE_SKIP:${PN} += "libdir"
160 147
148# A few of the selftests set compile flags that trip up the "ldflags" and
149# "already-stripped" QA checks. As this is mainly a testing package and
150# not really meant for user level execution, disable these two checks.
151INSANE_SKIP:${PN} += "ldflags"
152INSANE_SKIP:${PN} += "already-stripped"
153
161SECURITY_CFLAGS = "" 154SECURITY_CFLAGS = ""
162COMPATIBLE_HOST:libc-musl = 'null' 155COMPATIBLE_HOST:libc-musl = 'null'
163 156
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch
new file mode 100644
index 0000000000..bf5525c361
--- /dev/null
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch
@@ -0,0 +1,34 @@
1From 34021e84d03e2becb88e6c28e8e4867e82a81da5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 17 Sep 2024 17:40:03 -0700
4Subject: [PATCH] selftests: timers: Fix clock_adjtime for newer 32-bit arches
5
6Newer 32-bit architectures e.g. riscv32 are using 64-bit time_t
7from get go, they have not wired __NR_clock_adjtime at all
8valid-adjtimex testcase fails to compile on such architectures.
9if this condition is found then use 64-bit adjtime syscall
10
11Upstream-Status: Submitted [https://patchwork.kernel.org/project/linux-kselftest/patch/20240918004731.3295870-1-raj.khem@gmail.com/]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Cc: John Stultz <jstultz@google.com>
14Cc: Shuah Khan <shuah@kernel.org>
15---
16 tools/testing/selftests/timers/valid-adjtimex.c | 4 ++++
17 1 file changed, 4 insertions(+)
18
19diff --git a/tools/testing/selftests/timers/valid-adjtimex.c b/tools/testing/selftests/timers/valid-adjtimex.c
20index d500884801d8..ff4ff8b1d127 100644
21--- a/tools/testing/selftests/timers/valid-adjtimex.c
22+++ b/tools/testing/selftests/timers/valid-adjtimex.c
23@@ -39,7 +39,11 @@
24 #include <sys/syscall.h>
25 int clock_adjtime(clockid_t id, struct timex *tx)
26 {
27+#if !defined(__NR_clock_adjtime) && defined(__NR_clock_adjtime64)
28+ return syscall(__NR_clock_adjtime64, id, tx);
29+#else
30 return syscall(__NR_clock_adjtime, id, tx);
31+#endif
32 }
33
34
diff --git a/meta-oe/recipes-kernel/kpatch/kpatch.inc b/meta-oe/recipes-kernel/kpatch/kpatch.inc
index 4d187200ec..b8ef092262 100644
--- a/meta-oe/recipes-kernel/kpatch/kpatch.inc
+++ b/meta-oe/recipes-kernel/kpatch/kpatch.inc
@@ -22,7 +22,6 @@ EXTRA_OEMAKE = " \
22 CC='${CC}' \ 22 CC='${CC}' \
23 " 23 "
24 24
25S = "${WORKDIR}/git"
26 25
27do_install () { 26do_install () {
28 oe_runmake install 27 oe_runmake install
diff --git a/meta-oe/recipes-kernel/kpatch/kpatch_git.bb b/meta-oe/recipes-kernel/kpatch/kpatch_git.bb
index ba3983e6ff..6521830b7a 100644
--- a/meta-oe/recipes-kernel/kpatch/kpatch_git.bb
+++ b/meta-oe/recipes-kernel/kpatch/kpatch_git.bb
@@ -6,6 +6,5 @@ SRCREV = "0c3c21930895f6582a5c9d9d797f7e11ff41ffb2"
6 6
7PV = "0.9.1" 7PV = "0.9.1"
8 8
9S = "${WORKDIR}/git"
10 9
11BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0001-tlshd-Define-ALLPERMS-if-it-doesn-t-exist-to-fix-mus.patch b/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0001-tlshd-Define-ALLPERMS-if-it-doesn-t-exist-to-fix-mus.patch
new file mode 100644
index 0000000000..954b1393db
--- /dev/null
+++ b/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0001-tlshd-Define-ALLPERMS-if-it-doesn-t-exist-to-fix-mus.patch
@@ -0,0 +1,36 @@
1From ca95e956307672484e8c018263600749aa9c4f4d Mon Sep 17 00:00:00 2001
2From: Alistair Francis <alistair.francis@wdc.com>
3Date: Wed, 9 Apr 2025 11:14:52 +1000
4Subject: [PATCH] tlshd: Define ALLPERMS if it doesn't exist to fix musl build
5
6ALLPERMS exists in glibc, but not on musl, so we manually define
7it if it doesn't exist. This fixes building on musl systems.
8
9Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
10Upstream-Status: Submitted [https://github.com/oracle/ktls-utils/pull/88]
11---
12 src/tlshd/config.c | 8 ++++++++
13 1 file changed, 8 insertions(+)
14
15diff --git a/src/tlshd/config.c b/src/tlshd/config.c
16index 38948e8..e653bd8 100644
17--- a/src/tlshd/config.c
18+++ b/src/tlshd/config.c
19@@ -46,6 +46,14 @@
20
21 static GKeyFile *tlshd_configuration;
22
23+/**
24+ * ALLPERMS exists in glibc, but not on musl, so we
25+ * manually define it if it doesn't exist
26+ */
27+#ifndef ALLPERMS
28+#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)
29+#endif
30+
31 /**
32 * tlshd_config_init - Read tlshd's config file
33 * @pathname: Pathname to config file
34--
352.49.0
36
diff --git a/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch b/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch
new file mode 100644
index 0000000000..6aabb77ee8
--- /dev/null
+++ b/meta-oe/recipes-kernel/ktls-utils/ktls-utils/0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch
@@ -0,0 +1,36 @@
1From d170b04dcb8b2b28e370d8b18ffa1f593e8eec11 Mon Sep 17 00:00:00 2001
2From: Alistair Francis <alistair.francis@wdc.com>
3Date: Thu, 10 Apr 2025 13:15:16 +1000
4Subject: [PATCH] tlshd: configure.ac: Use AC_CHECK_HEADER instead of
5 AC_CHECK_FILE
6
7AC_CHECK_FILE doesn't work when cross-compiling [1], which breaks a lot of
8use cases (like OpenEmbedded for one). Autoconf supports AC_CHECK_HEADER
9which can be used instead and is more robust [2] so let's use that
10instead.
11
121: https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Files.html
132: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Generic-Headers.html
14
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16Upstream-Status: Submitted [https://github.com/oracle/ktls-utils/pull/90]
17---
18 configure.ac | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/configure.ac b/configure.ac
22index 2c77fb1..c790d71 100644
23--- a/configure.ac
24+++ b/configure.ac
25@@ -63,7 +63,7 @@ PKG_CHECK_MODULES([LIBNL_GENL3], libnl-genl-3.0 >= 3.1)
26 AC_SUBST([LIBNL_GENL3_CFLAGS])
27 AC_SUBST([LIBNL_GENL3_LIBS])
28
29-AC_CHECK_FILE([/usr/include/linux/quic.h],
30+AC_CHECK_HEADER([linux/quic.h],
31 [AC_CHECK_LIB([gnutls], [gnutls_handshake_set_secret_function],
32 [AC_DEFINE([HAVE_GNUTLS_QUIC], [1], [Define to 1 if QUIC is found.])])])
33
34--
352.49.0
36
diff --git a/meta-oe/recipes-kernel/ktls-utils/ktls-utils_1.0.0.bb b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_1.0.0.bb
new file mode 100644
index 0000000000..1a90dcf998
--- /dev/null
+++ b/meta-oe/recipes-kernel/ktls-utils/ktls-utils_1.0.0.bb
@@ -0,0 +1,24 @@
1SUMMARY = "TLS handshake utilities for in-kernel TLS consumers"
2DESCRIPTION = "In-kernel TLS consumers need a mechanism to perform TLS \
3handshakes on a connected socket to negotiate TLS session parameters that \
4can then be programmed into the kernel's TLS record protocol engine."
5DEPENDS = "gnutls keyutils glib-2.0 libnl"
6RDEPENDS:${PN} += " gnutls"
7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d568123389d9a12625cca2b089b1728b"
9
10SRCREV = "c787cd26330af457e1ca9cf43232db2c71c03154"
11SRC_URI = " \
12 git://github.com/oracle/ktls-utils.git;nobranch=1;protocol=https \
13 file://0001-tlshd-Define-ALLPERMS-if-it-doesn-t-exist-to-fix-mus.patch \
14 file://0002-tlshd-configure.ac-Use-AC_CHECK_HEADER-instead-of-AC.patch \
15 "
16
17
18inherit autotools-brokensep pkgconfig systemd
19
20PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
21
22PACKAGECONFIG[systemd] = "--with-systemd,,systemd"
23
24SYSTEMD_SERVICE:${PN} = "tlshd.service"
diff --git a/meta-oe/recipes-kernel/libbpf/files/0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch b/meta-oe/recipes-kernel/libbpf/files/0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch
new file mode 100644
index 0000000000..873995b644
--- /dev/null
+++ b/meta-oe/recipes-kernel/libbpf/files/0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch
@@ -0,0 +1,43 @@
1From ff2eb6e134ebfc225b97b46182af3cc58ed481f6 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 10 Apr 2025 11:50:04 +0800
4Subject: [PATCH] libbpf: check for empty BTF data section in btf_parse_elf
5
6A valid ELF file may contain a SHT_NOBITS .BTF section. This case is
7not handled correctly in btf_parse_elf, which leads to a segfault.
8
9Add a null check for a buffer returned by elf_getdata() before
10proceeding with its processing.
11
12Bug report: https://github.com/libbpf/libbpf/issues/894
13
14Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
15Acked-by: Mykyta Yatsenko <mykyta.yatsenko5@gmail.com>
16
17Upstream-Status: Backport [https://github.com/kernel-patches/bpf-rc/commit/b02b669fd9398d246c8c9ae901c0d8f5bb36a588]
18
19Signed-off-by: Changqing Li <changqing.li@windriver.com>
20---
21 btf.c | 6 ++++++
22 1 file changed, 6 insertions(+)
23
24diff --git a/btf.c b/btf.c
25index e9673c0e..21d38dcf 100644
26--- a/btf.c
27+++ b/btf.c
28@@ -1199,6 +1199,12 @@ static struct btf *btf_parse_elf(const char *path, struct btf *base_btf,
29 goto done;
30 }
31
32+ if (!secs.btf_data->d_buf) {
33+ pr_warn("BTF data is empty in %s\n", path);
34+ err = -ENODATA;
35+ goto done;
36+ }
37+
38 if (secs.btf_base_data) {
39 dist_base_btf = btf_new(secs.btf_base_data->d_buf, secs.btf_base_data->d_size,
40 NULL);
41--
422.34.1
43
diff --git a/meta-oe/recipes-kernel/libbpf/files/CVE-2025-29481.patch b/meta-oe/recipes-kernel/libbpf/files/CVE-2025-29481.patch
new file mode 100644
index 0000000000..ebfcb94a2f
--- /dev/null
+++ b/meta-oe/recipes-kernel/libbpf/files/CVE-2025-29481.patch
@@ -0,0 +1,102 @@
1From 806b4e0a9f658d831119cece11a082ba1578b800 Mon Sep 17 00:00:00 2001
2From: Viktor Malik <vmalik@redhat.com>
3Date: Tue, 15 Apr 2025 17:50:14 +0200
4Subject: [PATCH] libbpf: Fix buffer overflow in bpf_object__init_prog
5
6As shown in [1], it is possible to corrupt a BPF ELF file such that
7arbitrary BPF instructions are loaded by libbpf. This can be done by
8setting a symbol (BPF program) section offset to a large (unsigned)
9number such that <section start + symbol offset> overflows and points
10before the section data in the memory.
11
12Consider the situation below where:
13- prog_start = sec_start + symbol_offset <-- size_t overflow here
14- prog_end = prog_start + prog_size
15
16 prog_start sec_start prog_end sec_end
17 | | | |
18 v v v v
19 .....................|################################|............
20
21The report in [1] also provides a corrupted BPF ELF which can be used as
22a reproducer:
23
24 $ readelf -S crash
25 Section Headers:
26 [Nr] Name Type Address Offset
27 Size EntSize Flags Link Info Align
28 ...
29 [ 2] uretprobe.mu[...] PROGBITS 0000000000000000 00000040
30 0000000000000068 0000000000000000 AX 0 0 8
31
32 $ readelf -s crash
33 Symbol table '.symtab' contains 8 entries:
34 Num: Value Size Type Bind Vis Ndx Name
35 ...
36 6: ffffffffffffffb8 104 FUNC GLOBAL DEFAULT 2 handle_tp
37
38Here, the handle_tp prog has section offset ffffffffffffffb8, i.e. will
39point before the actual memory where section 2 is allocated.
40
41This is also reported by AddressSanitizer:
42
43 =================================================================
44 ==1232==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7c7302fe0000 at pc 0x7fc3046e4b77 bp 0x7ffe64677cd0 sp 0x7ffe64677490
45 READ of size 104 at 0x7c7302fe0000 thread T0
46 #0 0x7fc3046e4b76 in memcpy (/lib64/libasan.so.8+0xe4b76)
47 #1 0x00000040df3e in bpf_object__init_prog /src/libbpf/src/libbpf.c:856
48 #2 0x00000040df3e in bpf_object__add_programs /src/libbpf/src/libbpf.c:928
49 #3 0x00000040df3e in bpf_object__elf_collect /src/libbpf/src/libbpf.c:3930
50 #4 0x00000040df3e in bpf_object_open /src/libbpf/src/libbpf.c:8067
51 #5 0x00000040f176 in bpf_object__open_file /src/libbpf/src/libbpf.c:8090
52 #6 0x000000400c16 in main /poc/poc.c:8
53 #7 0x7fc3043d25b4 in __libc_start_call_main (/lib64/libc.so.6+0x35b4)
54 #8 0x7fc3043d2667 in __libc_start_main@@GLIBC_2.34 (/lib64/libc.so.6+0x3667)
55 #9 0x000000400b34 in _start (/poc/poc+0x400b34)
56
57 0x7c7302fe0000 is located 64 bytes before 104-byte region [0x7c7302fe0040,0x7c7302fe00a8)
58 allocated by thread T0 here:
59 #0 0x7fc3046e716b in malloc (/lib64/libasan.so.8+0xe716b)
60 #1 0x7fc3045ee600 in __libelf_set_rawdata_wrlock (/lib64/libelf.so.1+0xb600)
61 #2 0x7fc3045ef018 in __elf_getdata_rdlock (/lib64/libelf.so.1+0xc018)
62 #3 0x00000040642f in elf_sec_data /src/libbpf/src/libbpf.c:3740
63
64The problem here is that currently, libbpf only checks that the program
65end is within the section bounds. There used to be a check
66`while (sec_off < sec_sz)` in bpf_object__add_programs, however, it was
67removed by commit 6245947c1b3c ("libbpf: Allow gaps in BPF program
68sections to support overriden weak functions").
69
70Add a check for detecting the overflow of `sec_off + prog_sz` to
71bpf_object__init_prog to fix this issue.
72
73[1] https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md
74
75Fixes: 6245947c1b3c ("libbpf: Allow gaps in BPF program sections to support overriden weak functions")
76Reported-by: lmarch2 <2524158037@qq.com>
77Signed-off-by: Viktor Malik <vmalik@redhat.com>
78Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
79Reviewed-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
80Link: https://github.com/lmarch2/poc/blob/main/libbpf/libbpf.md
81Link: https://lore.kernel.org/bpf/20250415155014.397603-1-vmalik@redhat.com
82
83CVE: CVE-2025-29481
84Upstream-Status: Backport [https://github.com/libbpf/libbpf/commit/806b4e0a9f658d831119cece11a082ba1578b800]
85Signed-off-by: Peter Marko <peter.marko@siemens.com>
86---
87 src/libbpf.c | 2 +-
88 1 file changed, 1 insertion(+), 1 deletion(-)
89
90diff --git a/src/libbpf.c b/src/libbpf.c
91index b2591f5..56250b5 100644
92--- a/src/libbpf.c
93+++ b/src/libbpf.c
94@@ -889,7 +889,7 @@ bpf_object__add_programs(struct bpf_object *obj, Elf_Data *sec_data,
95 return -LIBBPF_ERRNO__FORMAT;
96 }
97
98- if (sec_off + prog_sz > sec_sz) {
99+ if (sec_off + prog_sz > sec_sz || sec_off + prog_sz < sec_off) {
100 pr_warn("sec '%s': program at offset %zu crosses section boundary\n",
101 sec_name, sec_off);
102 return -LIBBPF_ERRNO__FORMAT;
diff --git a/meta-oe/recipes-kernel/libbpf/libbpf_1.4.2.bb b/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb
index 928482ba36..36312c386b 100644
--- a/meta-oe/recipes-kernel/libbpf/libbpf_1.4.2.bb
+++ b/meta-oe/recipes-kernel/libbpf/libbpf_1.5.0.bb
@@ -8,13 +8,16 @@ LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238
8 8
9DEPENDS = "zlib elfutils" 9DEPENDS = "zlib elfutils"
10 10
11SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=libbpf-1.4.2" 11SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master \
12SRCREV = "1b357586a7a62db7fe27af4ebe4bdefe6986cfd6" 12 file://0001-libbpf-check-for-empty-BTF-data-section-in-btf_parse.patch \
13 file://CVE-2025-29481.patch;striplevel=2 \
14"
15SRCREV = "09b9e83102eb8ab9e540d36b4559c55f3bcdb95d"
13 16
14PACKAGE_ARCH = "${MACHINE_ARCH}" 17PACKAGE_ARCH = "${MACHINE_ARCH}"
15COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux" 18COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
16 19
17S = "${WORKDIR}/git/src" 20S = "${UNPACKDIR}/${BP}/src"
18 21
19EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" 22EXTRA_OEMAKE += "DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
20EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}" 23EXTRA_OEMAKE:append:class-native = " UAPIDIR=${includedir}"
diff --git a/meta-oe/recipes-kernel/libpfm/libpfm4_4.13.0.bb b/meta-oe/recipes-kernel/libpfm/libpfm4_4.13.0.bb
index be0659ad2a..f87502930e 100644
--- a/meta-oe/recipes-kernel/libpfm/libpfm4_4.13.0.bb
+++ b/meta-oe/recipes-kernel/libpfm/libpfm4_4.13.0.bb
@@ -26,7 +26,7 @@ EXTRA_OEMAKE:append:powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
26EXTRA_OEMAKE:append:powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" 26EXTRA_OEMAKE:append:powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\""
27EXTRA_OEMAKE:append:aarch64 = " ARCH=\"arm64\"" 27EXTRA_OEMAKE:append:aarch64 = " ARCH=\"arm64\""
28 28
29S = "${WORKDIR}/libpfm-${PV}" 29S = "${UNPACKDIR}/libpfm-${PV}"
30 30
31do_install () { 31do_install () {
32 oe_runmake install 32 oe_runmake install
diff --git a/meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.0.bb b/meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.1.bb
index c90ac19fa7..6b9e8b9b38 100644
--- a/meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.0.bb
+++ b/meta-oe/recipes-kernel/libtracefs/libtracefs_1.8.1.bb
@@ -9,11 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSES/GPL-2.0;md5=e6a75371ba4d16749254a51215d13f97
9SECTION = "libs" 9SECTION = "libs"
10DEPENDS = "libtraceevent bison-native flex-native" 10DEPENDS = "libtraceevent bison-native flex-native"
11 11
12SRCREV = "67f3b2ab9f836e6c9c70c94db7aac3251119a263" 12SRCREV = "417c2e3aa21af670cc5c13db633dd35292f2d0fa"
13SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https \ 13SRC_URI = "git://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;branch=${BPN};protocol=https \
14 file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \ 14 file://0001-makefile-Do-not-preserve-ownership-in-cp-command.patch \
15 " 15 "
16S = "${WORKDIR}/git"
17 16
18inherit pkgconfig 17inherit pkgconfig
19 18
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
deleted file mode 100644
index 96a996f616..0000000000
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch
+++ /dev/null
@@ -1,139 +0,0 @@
1From 6d16911316cb576db0239f607e60918a222e4436 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Sun, 24 Apr 2022 17:25:33 +0800
4Subject: [PATCH] makedumpfile: replace hardcode CFLAGS
5
6* Create alias for target such as powerpc as powerpc32
7* Remove hardcode CFLAGS
8* Add CFLAGS_COMMON to instead of CFLAGS so can flexibly
9 customize CFLAGS and not hardcode the CFLAGS as previously
10* Forcibly to link dynamic library as the poky build
11 system doesn't build static library by default
12
13Upstream-Status: Inappropriate [oe specific]
14
15Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
16
17[2021-11-18] Patch updated to use CFLAGS_COMMON for zstd
18Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
19
20Rebase to 1.7.1
21Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
22---
23 Makefile | 40 +++++++++++++++++++++-------------------
24 1 file changed, 21 insertions(+), 19 deletions(-)
25
26diff --git a/Makefile b/Makefile
27index 71d8548..22acdd5 100644
28--- a/Makefile
29+++ b/Makefile
30@@ -8,12 +8,6 @@ ifeq ($(strip $CC),)
31 CC = gcc
32 endif
33
34-CFLAGS_BASE := $(CFLAGS) -g -O2 -Wall -D_FILE_OFFSET_BITS=64 \
35- -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
36-CFLAGS := $(CFLAGS_BASE) -DVERSION='"$(VERSION)"' -DRELEASE_DATE='"$(DATE)"'
37-CFLAGS_ARCH := $(CFLAGS_BASE)
38-# LDFLAGS = -L/usr/local/lib -I/usr/local/include
39-
40 HOST_ARCH := $(shell uname -m)
41 # Use TARGET as the target architecture if specified.
42 # Defaults to uname -m
43@@ -24,26 +18,34 @@ endif
44 ARCH := $(shell echo ${TARGET} | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
45 -e s/arm.*/arm/ -e s/sa110/arm/ \
46 -e s/s390x/s390/ -e s/parisc64/parisc/ \
47- -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/)
48+ -e s/ppc64/powerpc64/ -e s/ppc/powerpc32/ \
49+ -e s/_powerpc_/_powerpc32_/)
50
51 CROSS :=
52 ifneq ($(TARGET), $(HOST_ARCH))
53 CROSS := -U__$(HOST_ARCH)__
54 endif
55
56-CFLAGS += -D__$(ARCH)__ $(CROSS)
57 CFLAGS_ARCH += -D__$(ARCH)__ $(CROSS)
58
59-ifeq ($(ARCH), powerpc64)
60-CFLAGS += -m64
61+ifeq ($(ARCH), __powerpc64__)
62 CFLAGS_ARCH += -m64
63 endif
64
65-ifeq ($(ARCH), powerpc32)
66-CFLAGS += -m32
67+ifeq ($(ARCH), __powerpc32__)
68 CFLAGS_ARCH += -m32
69 endif
70
71+CFLAGS_ARCH += $(CFLAGS) \
72+ -D_FILE_OFFSET_BITS=64 \
73+ -D_LARGEFILE_SOURCE \
74+ -D_LARGEFILE64_SOURCE
75+
76+CFLAGS_COMMON = $(CFLAGS_ARCH) \
77+ -DVERSION='"$(VERSION)"' \
78+ -DRELEASE_DATE='"$(DATE)"'
79+
80+
81 SRC_BASE = makedumpfile.c makedumpfile.h diskdump_mod.h sadump_mod.h sadump_info.h
82 SRC_PART = print_info.c dwarf_info.c elf_info.c erase_info.c sadump_info.c cache.c tools.c printk.c detect_cycle.c
83 OBJ_PART=$(patsubst %.c,%.o,$(SRC_PART))
84@@ -52,12 +54,12 @@ OBJ_ARCH=$(patsubst %.c,%.o,$(SRC_ARCH))
85
86 LIBS = -ldw -lbz2 -ldl -lelf -lz
87 ifneq ($(LINKTYPE), dynamic)
88-LIBS := -static $(LIBS) -llzma
89+LIBS := $(LIBS) -llzma
90 endif
91
92 ifeq ($(USELZO), on)
93 LIBS := -llzo2 $(LIBS)
94-CFLAGS += -DUSELZO
95+CFLAGS_COMMON += -DUSELZO
96 endif
97
98 ifeq ($(USESNAPPY), on)
99@@ -65,12 +67,12 @@ LIBS := -lsnappy $(LIBS)
100 ifneq ($(LINKTYPE), dynamic)
101 LIBS := $(LIBS) -lstdc++
102 endif
103-CFLAGS += -DUSESNAPPY
104+CFLAGS_COMMON += -DUSESNAPPY
105 endif
106
107 ifeq ($(USEZSTD), on)
108 LIBS := -lzstd $(LIBS)
109-CFLAGS += -DUSEZSTD
110+CFLAGS_COMMON += -DUSEZSTD
111 endif
112
113 ifeq ($(DEBUG), on)
114@@ -104,14 +106,14 @@ LIBS := $(LIBS) $(call try-run,\
115 all: makedumpfile
116
117 $(OBJ_PART): $(SRC_PART)
118- $(CC) $(CFLAGS) -c -o ./$@ $(VPATH)$(@:.o=.c)
119+ $(CC) $(CFLAGS_COMMON) -c -o ./$@ $(VPATH)$(@:.o=.c)
120
121 $(OBJ_ARCH): $(SRC_ARCH)
122 @mkdir -p $(@D)
123 $(CC) $(CFLAGS_ARCH) -c -o ./$@ $(VPATH)$(@:.o=.c)
124
125 makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
126- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -rdynamic -o $@ $< $(LIBS)
127+ $(CC) $(CFLAGS_COMMON) $(LDFLAGS) $(OBJ_PART) $(OBJ_ARCH) -rdynamic -o $@ $< $(LIBS)
128 @sed -e "s/@DATE@/$(DATE)/" \
129 -e "s/@VERSION@/$(VERSION)/" \
130 $(VPATH)makedumpfile.8.in > $(VPATH)makedumpfile.8
131@@ -120,7 +122,7 @@ makedumpfile: $(SRC_BASE) $(OBJ_PART) $(OBJ_ARCH)
132 $(VPATH)makedumpfile.conf.5.in > $(VPATH)makedumpfile.conf.5
133
134 eppic_makedumpfile.so: extension_eppic.c
135- $(CC) $(CFLAGS) $(LDFLAGS) -shared -rdynamic -o $@ extension_eppic.c -fPIC -leppic -ltinfo
136+ $(CC) $(CFLAGS_COMMON) $(LDFLAGS) -shared -rdynamic -o $@ extension_eppic.c -fPIC -leppic -ltinfo
137
138 clean:
139 rm -f $(OBJ) $(OBJ_PART) $(OBJ_ARCH) makedumpfile makedumpfile.8 makedumpfile.conf.5
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb
deleted file mode 100644
index 85b44c4941..0000000000
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.5.bb
+++ /dev/null
@@ -1,62 +0,0 @@
1SUMMARY = "VMcore extraction tool"
2DESCRIPTION = "\
3 This program is used to extract a subset of the memory available either \
4 via /dev/mem or /proc/vmcore (for crashdumps). It is used to get memory \
5 images without extra uneeded information (zero pages, userspace programs, \
6 etc). \
7"
8HOMEPAGE = "https://github.com/makedumpfile/makedumpfile"
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
11LICENSE = "GPL-2.0-only"
12
13SRCBRANCH ?= "master"
14SRCREV = "c266469347d49287be38059d45e7aaa454db9cb2"
15
16DEPENDS = "bzip2 zlib elfutils xz"
17RDEPENDS:${PN}-tools = "perl ${PN}"
18
19# mips/rv32 would not compile.
20COMPATIBLE_HOST:mipsarcho32 = "null"
21COMPATIBLE_HOST:riscv32 = "null"
22
23PACKAGES =+ "${PN}-tools"
24FILES:${PN}-tools = "${bindir}/*.pl"
25
26SRC_URI = "\
27 git://github.com/makedumpfile/makedumpfile;branch=${SRCBRANCH};protocol=https \
28 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
29"
30
31S = "${WORKDIR}/git"
32
33UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
34
35SECTION = "base"
36
37# If we do not specify TARGET, makedumpfile will build for the host but use the
38# target gcc.
39#
40
41MAKEDUMPFILE_TARGET ?= "${TARGET_ARCH}"
42MAKEDUMPFILE_TARGET:powerpc = "ppc"
43
44EXTRA_OEMAKE = "\
45 LINKTYPE=static \
46 TARGET=${MAKEDUMPFILE_TARGET} \
47 ${PACKAGECONFIG_CONFARGS} \
48"
49
50PACKAGECONFIG ??= ""
51PACKAGECONFIG[lzo] = "USELZO=on,USELZO=off,lzo"
52PACKAGECONFIG[snappy] = "USESNAPPY=on,USESNAPPY=off,snappy"
53PACKAGECONFIG[zstd] = "USEZSTD=on,USEZSTD=off,zstd"
54
55do_install () {
56 mkdir -p ${D}/usr/bin
57 install -m 755 ${S}/makedumpfile ${D}/usr/bin
58 install -m 755 ${S}/makedumpfile-R.pl ${D}/usr/bin
59
60 mkdir -p ${D}/etc/
61 install -m 644 ${S}/makedumpfile.conf ${D}/etc/makedumpfile.conf.sample
62}
diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb
index 90e847c137..4073381899 100644
--- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb
+++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.7.bb
@@ -18,7 +18,6 @@ SRC_URI = "git://github.com/diamon/minicoredumper;protocol=https;branch=master \
18 file://0001-corestripper-Fix-uninitialized-warning.patch \ 18 file://0001-corestripper-Fix-uninitialized-warning.patch \
19 " 19 "
20 20
21S = "${WORKDIR}/git"
22 21
23SYSTEMD_SERVICE:${PN} = "minicoredumper.service" 22SYSTEMD_SERVICE:${PN} = "minicoredumper.service"
24SYSTEMD_AUTO_ENABLE = "enable" 23SYSTEMD_AUTO_ENABLE = "enable"
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
index 56981d96fa..e28903d6ba 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-Makefile-fix-multilib-build-failure.patch
@@ -1,4 +1,4 @@
1From 50cea8fd3c07ab27da6edce865a49339f16f3b57 Mon Sep 17 00:00:00 2001 1From 468850b5d39435025633df14dda3d48651d9ec29 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com> 2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Tue, 18 Jun 2019 17:10:15 +0800 3Date: Tue, 18 Jun 2019 17:10:15 +0800
4Subject: [PATCH] Makefile: fix multilib build failure 4Subject: [PATCH] Makefile: fix multilib build failure
@@ -6,20 +6,26 @@ Subject: [PATCH] Makefile: fix multilib build failure
6Upstream-Status: Inappropriate [oe specific] 6Upstream-Status: Inappropriate [oe specific]
7 7
8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> 8Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
9
10Refresh to 5.13
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
9--- 12---
10 Makefile | 50 +++++++++++++++++++++++++++----------------------- 13 Makefile | 16 ++++++++++------
11 1 file changed, 27 insertions(+), 23 deletions(-) 14 1 file changed, 10 insertions(+), 6 deletions(-)
12 15
13diff --git a/Makefile b/Makefile 16diff --git a/Makefile b/Makefile
14index 8455415..4aa0786 100644 17index 337c53e..58e3779 100644
15--- a/Makefile 18--- a/Makefile
16+++ b/Makefile 19+++ b/Makefile
17@@ -1,30 +1,34 @@ 20@@ -25,6 +25,7 @@ BINDIR ?= /usr/bin
18 # SPDX-License-Identifier: GPL-2.0 21 MANDIR ?= /usr/share/man
19 PREFIX ?= /usr 22 SHRDIR ?= /usr/share/pm-graph
20 DESTDIR ?= 23 LIBDIR ?= /usr/lib
21+BASELIB ?= 24+BASELIB ?=
22 25
26 # Toolchain: what tools do we use, and what options do they need:
27 INSTALL = /usr/bin/install
28@@ -33,6 +34,9 @@ INSTALL_DATA = ${INSTALL} -m 644
23 all: 29 all:
24 @echo "Nothing to build" 30 @echo "Nothing to build"
25 31
@@ -27,63 +33,34 @@ index 8455415..4aa0786 100644
27+ @echo "Nothing to clean" 33+ @echo "Nothing to clean"
28+ 34+
29 install : uninstall 35 install : uninstall
30- install -d $(DESTDIR)$(PREFIX)/lib/pm-graph 36 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph
31- install sleepgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph 37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
32- install bootgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph 38@@ -54,10 +58,10 @@ install : uninstall
33- install -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config 39 $(INSTALL) -d $(DESTDIR)$(SHRDIR)
34- install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/lib/pm-graph/config
35- install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
36- install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
37- install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
38- install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
39- install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
40- install -m 644 config/standby-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
41- install -m 644 config/suspend-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
42- install -m 644 config/suspend.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
43- install -m 644 config/suspend-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
44- install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
45+ install -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
46+ install sleepgraph.py $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
47+ install bootgraph.py $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph
48+ install -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
49+ install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
50+ install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
51+ install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
52+ install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
53+ install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
54+ install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
55+ install -m 644 config/standby-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
56+ install -m 644 config/suspend-callgraph.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
57+ install -m 644 config/suspend.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
58+ install -m 644 config/suspend-dev.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
59+ install -m 644 config/suspend-x2-proc.cfg $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config
60 40
61 install -d $(DESTDIR)$(PREFIX)/bin 41 $(INSTALL) -d $(DESTDIR)$(BINDIR)
62- ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph 42- ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
63- ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph 43- ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
64+ ln -s ../$(BASELIB)/pm-graph/bootgraph.py $(DESTDIR)$(PREFIX)/bin/bootgraph 44- ln -s ../lib/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
65+ ln -s ../$(BASELIB)/pm-graph/sleepgraph.py $(DESTDIR)$(PREFIX)/bin/sleepgraph 45- $(DESTDIR)$(BINDIR)/netfix defconfig > $(DESTDIR)$(SHRDIR)/netfix.cfg
46+ ln -s ../$(BASELIB)/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
47+ ln -s ../$(BASELIB)/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
48+ ln -s ../$(BASELIB)/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
49+ #$(DESTDIR)$(BINDIR)/netfix defconfig > $(DESTDIR)$(SHRDIR)/netfix.cfg
66 50
67 install -d $(DESTDIR)$(PREFIX)/share/man/man8 51 $(INSTALL) -d $(DESTDIR)$(MANDIR)/man8
68 install bootgraph.8 $(DESTDIR)$(PREFIX)/share/man/man8 52 $(INSTALL) bootgraph.8 $(DESTDIR)$(MANDIR)/man8
69@@ -37,11 +41,11 @@ uninstall : 53@@ -90,8 +94,8 @@ hwcheck-install :
70 rm -f $(DESTDIR)$(PREFIX)/bin/bootgraph 54 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/hwcheck.py
71 rm -f $(DESTDIR)$(PREFIX)/bin/sleepgraph 55 $(INSTALL) tools/hwcheck.py $(DESTDIR)$(LIBDIR)/pm-graph
56 $(INSTALL) -d $(DESTDIR)$(BINDIR)
57- ln -s ../lib/pm-graph/hwcheck.py $(DESTDIR)$(BINDIR)/hwcheck
58- $(DESTDIR)$(BINDIR)/hwcheck cronon
59+ ln -s ../$(BASELIB)/pm-graph/hwcheck.py $(DESTDIR)$(BINDIR)/hwcheck
60+ #$(DESTDIR)$(BINDIR)/hwcheck cronon
72 61
73- rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/config/* 62 hwcheck-uninstall :
74- if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config ] ; then \ 63 if [ -e $(DESTDIR)$(BINDIR)/hwcheck ] ; then \
75- rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/config; \
76+ rm -f $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config/*
77+ if [ -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config ] ; then \
78+ rmdir $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/config; \
79 fi;
80- rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/*
81- if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph ] ; then \
82- rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph; \
83+ rm -f $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph/*
84+ if [ -d $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph ] ; then \
85+ rmdir $(DESTDIR)$(PREFIX)/$(BASELIB)/pm-graph; \
86 fi;
87-- 64--
882.17.1 652.25.1
89 66
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch
deleted file mode 100644
index f7f8bc0687..0000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 47a1db21f6c5d17c94c58c3fe0dcce35c623dbf4 Mon Sep 17 00:00:00 2001
2From: Liwei Song <liwei.song@windriver.com>
3Date: Tue, 23 Jun 2020 04:47:20 +0000
4Subject: [PATCH] sleepgraph: add support for RT kernel ftrace flags
5
6with PREEMPT_RT enabled in kernel, ftrace have a different
7flags format:
8
9 _-----=> irqs-off
10 / _----=> need-resched
11 | / _----=> need-resched
12 || / _---=> hardirq/softirq
13 ||| / _--=> preempt-depth
14 ||||/ delay
15TASK-PID CPU# ||||| TIMESTAMP FUNCTION
16 | | | ||||| | |
17
18add support for this.
19
20Upstream-Status: Submitted [https://github.com/intel/pm-graph/pull/18]
21
22Signed-off-by: Liwei Song <liwei.song@windriver.com>
23---
24 sleepgraph.py | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27diff --git a/sleepgraph.py b/sleepgraph.py
28index cfed8e09e0e6..561f165cf9be 100755
29--- a/sleepgraph.py
30+++ b/sleepgraph.py
31@@ -2689,7 +2689,7 @@ class TestProps:
32 '[ +!#\*@$]*(?P<dur>[0-9\.]*) .*\| (?P<msg>.*)'
33 ftrace_line_fmt_nop = \
34 ' *(?P<proc>.*)-(?P<pid>[0-9]*) *\[(?P<cpu>[0-9]*)\] *'+\
35- '(?P<flags>.{4}) *(?P<time>[0-9\.]*): *'+\
36+ '(?P<flags>.{4,7}) *(?P<time>[0-9\.]*): *'+\
37 '(?P<msg>.*)'
38 def __init__(self):
39 self.stamp = ''
40--
412.24.1
42
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch
deleted file mode 100644
index fc5991d464..0000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From 9bbc991a927722439cad38c892fc9f57207089d3 Mon Sep 17 00:00:00 2001
2From: Liwei Song <liwei.song@windriver.com>
3Date: Mon, 24 May 2021 08:27:28 +0000
4Subject: [PATCH] sleepgraph.py: parse unfished cpu exec line
5
6exist the below case in ftrace file:
7sleepgraph-6508 [003] .... 18197.824037: tracing_mark_write: ps - xxx..., lock_torture_wr-94 169,lock_torture_wr-95 143,lock_tort
8sleepgraph-6508 [003] .... 18197.824043: tracing_mark_write: ure_wr-96 189,lock_torture_wr-97 174,lock_torture_wr-98 160,lock_torture_st-99 1
9
10lock_torture_wr-96 was split to different line due to limited buffer
11size(1k) set in kernel, check this case and re-parse the unfinished
12line.
13
14Upstream-Status: Submitted [https://github.com/intel/pm-graph/pull/20]
15
16Signed-off-by: Liwei Song <liwei.song@windriver.com>
17---
18 sleepgraph.py | 17 +++++++++++++++--
19 1 file changed, 15 insertions(+), 2 deletions(-)
20
21diff --git a/sleepgraph.py b/sleepgraph.py
22index e340d5b3f03b..38b4439db8eb 100755
23--- a/sleepgraph.py
24+++ b/sleepgraph.py
25@@ -3365,8 +3365,21 @@ def parseTraceLog(live=False):
26 val = ps.split()
27 if not val:
28 continue
29- name = val[0].replace('--', '-')
30- proclist[name] = int(val[1])
31+ if not len(val) < 2:
32+ name = val[0].replace('--', '-')
33+ proclist[name] = int(val[1])
34+ else:
35+ proclist = dict()
36+ nextline = next(tf)
37+ mcont = re.match(tp.ftrace_line_fmt, nextline)
38+ n = m.group('ps') + mcont.group('msg').split(': ')[1]
39+ for pscont in n.split(','):
40+ val = pscont.split()
41+ if not val:
42+ continue
43+ if not len(val) < 2:
44+ name = val[0].replace('--', '-')
45+ proclist[name] = int(val[1])
46 data.pstl[t.time] = proclist
47 continue
48 # find the end of resume
49--
502.29.2
51
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch b/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
deleted file mode 100644
index 25c87093f6..0000000000
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph/0001-sleepgraph.py-use-python3.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From 22ce65d997f99606a3bb9d2a660ead42eecc234a Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 11 Sep 2019 11:31:07 +0800
4Subject: [PATCH] sleepgraph.py: use python3
5
6Already compatible with Python 3.
7Same goes for bootgraph.py
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
12---
13 bootgraph.py | 2 +-
14 sleepgraph.py | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/bootgraph.py b/bootgraph.py
18index d3b99a1..efb5714 100755
19--- a/bootgraph.py
20+++ b/bootgraph.py
21@@ -1,4 +1,4 @@
22-#!/usr/bin/python
23+#!/usr/bin/python3
24 # SPDX-License-Identifier: GPL-2.0-only
25 #
26 # Tool for analyzing boot timing
27diff --git a/sleepgraph.py b/sleepgraph.py
28index 1794c79..cfed8e0 100755
29--- a/sleepgraph.py
30+++ b/sleepgraph.py
31@@ -1,4 +1,4 @@
32-#!/usr/bin/python
33+#!/usr/bin/python3
34 # SPDX-License-Identifier: GPL-2.0-only
35 #
36 # Tool for analyzing suspend/resume timing
37--
382.17.1
39
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb
index 6e52a58de5..219629d4d7 100644
--- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb
@@ -5,14 +5,10 @@ HOMEPAGE = "https://01.org/pm-graph"
5LICENSE = "GPL-2.0-only" 5LICENSE = "GPL-2.0-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
7 7
8SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6" 8SRCREV = "0987732b013936ad771334f51cba31c453c8a9c9"
9SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \
10 file://0001-Makefile-fix-multilib-build-failure.patch \ 10 file://0001-Makefile-fix-multilib-build-failure.patch \
11 file://0001-sleepgraph.py-use-python3.patch \
12 file://0001-sleepgraph-add-support-for-RT-kernel-ftrace-flags.patch \
13 file://0001-sleepgraph.py-parse-unfished-cpu-exec-line.patch \
14" 11"
15S = "${WORKDIR}/git"
16 12
17# Apart from the listed RDEPENDS, analyze-suspend depends on some features 13# Apart from the listed RDEPENDS, analyze-suspend depends on some features
18# provided by the kernel. These options are: 14# provided by the kernel. These options are:
@@ -22,12 +18,14 @@ S = "${WORKDIR}/git"
22# - CONFIG_FUNCTION_TRACER=y 18# - CONFIG_FUNCTION_TRACER=y
23# - CONFIG_FUNCTION_GRAPH_TRACER=y 19# - CONFIG_FUNCTION_GRAPH_TRACER=y
24 20
25COMPATIBLE_HOST='(i.86|x86_64).*' 21COMPATIBLE_HOST = '(i.86|x86_64).*'
26EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}" 22EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} LIBDIR=${libdir} BASELIB=${baselib}"
27 23
28do_install() { 24do_install() {
29 oe_runmake install 25 oe_runmake install
30 install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py 26 install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py
27
28 rm -rf ${D}${libdir}/pm-graph/__pycache__
31} 29}
32 30
33RDEPENDS:${PN} += "python3-core python3-threading python3-datetime python3-compression" 31RDEPENDS:${PN} += "python3-core python3-threading python3-datetime python3-compression"
diff --git a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
index 2e8c5cbb8d..7b87dd28df 100644
--- a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
+++ b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb
@@ -6,7 +6,7 @@ PROVIDES = "virtual/spidev-test"
6 6
7inherit bash-completion kernelsrc kernel-arch 7inherit bash-completion kernelsrc kernel-arch
8 8
9do_populate_lic[depends] += "virtual/kernel:do_patch" 9do_populate_lic[depends] += "virtual/kernel:do_shared_workdir"
10 10
11EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}" 11EXTRA_OEMAKE = "-C ${S}/tools/spi O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"
12 12
diff --git a/meta-oe/recipes-kernel/trace-cmd/trace-cmd_3.1.5.bb b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_3.1.5.bb
index 11c4037b23..6782dec228 100644
--- a/meta-oe/recipes-kernel/trace-cmd/trace-cmd_3.1.5.bb
+++ b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_3.1.5.bb
@@ -12,7 +12,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;b
12 file://0001-Do-not-emit-useless-rpath.patch" 12 file://0001-Do-not-emit-useless-rpath.patch"
13SRCREV = "18233e4c32857cb7ddd4960beeec8360ed834fc5" 13SRCREV = "18233e4c32857cb7ddd4960beeec8360ed834fc5"
14 14
15S = "${WORKDIR}/git"
16 15
17DEPENDS += "libtraceevent libtracefs zstd xmlto-native asciidoc-native swig-native bison-native flex-native" 16DEPENDS += "libtraceevent libtracefs zstd xmlto-native asciidoc-native swig-native bison-native flex-native"
18 17
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb b/meta-oe/recipes-kernel/turbostat/turbostat.bb
index 4770fae50e..f65699865e 100644
--- a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb
+++ b/meta-oe/recipes-kernel/turbostat/turbostat.bb
@@ -16,12 +16,14 @@ LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b
16COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' 16COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
17COMPATIBLE_HOST:libc-musl = "null" 17COMPATIBLE_HOST:libc-musl = "null"
18 18
19KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"
20inherit linux-kernel-base
21
19SRC_URI += "\ 22SRC_URI += "\
20 file://COPYING \ 23 file://COPYING \
21 " 24 "
22 25
23S = "${WORKDIR}/sources" 26S = "${UNPACKDIR}"
24UNPACKDIR = "${S}"
25 27
26PACKAGE_ARCH = "${MACHINE_ARCH}" 28PACKAGE_ARCH = "${MACHINE_ARCH}"
27DEPENDS = "libcap" 29DEPENDS = "libcap"
@@ -33,7 +35,7 @@ do_populate_lic[depends] = "${PN}:do_configure"
33 35
34 36
35EXTRA_OEMAKE = '\ 37EXTRA_OEMAKE = '\
36 CC="${CC}" 'CFLAGS=-Wall ${LDFLAGS}' \ 38 CC="${CC}" 'CFLAGS=-Wall ${LDFLAGS}' \
37 ' 39 '
38 40
39# If we build under STAGING_KERNEL_DIR, source will not be put 41# If we build under STAGING_KERNEL_DIR, source will not be put
@@ -52,12 +54,21 @@ do_configure:prepend() {
52 cp -r ${STAGING_KERNEL_DIR}/include/linux/bits.h ${S} 54 cp -r ${STAGING_KERNEL_DIR}/include/linux/bits.h ${S}
53 cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S} 55 cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
54 fi 56 fi
57 if [ -f "${STAGING_KERNEL_DIR}/tools/include/linux/build_bug.h" ]; then
58 cp -r ${STAGING_KERNEL_DIR}/tools/include/linux/build_bug.h ${S}
59 fi
60 cp -r ${STAGING_KERNEL_DIR}/tools/include/linux/compiler.h ${S}
61 cp -r ${STAGING_KERNEL_DIR}/tools/include/linux/compiler_types.h ${S}
62 cp -r ${STAGING_KERNEL_DIR}/tools/include/linux/compiler-gcc.h ${S}
55 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S} 63 cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
56} 64}
57 65
58 66
59do_compile() { 67do_compile() {
60 sed -i 's#<linux/bits.h>#"bits.h"#' msr-index.h 68 sed -i 's#<linux/bits.h>#"bits.h"#' msr-index.h
69 sed -i 's#<linux/compiler.h>#"compiler.h"#' build_bug.h
70 sed -i 's#<linux/compiler_types.h>#"compiler_types.h"#' compiler.h
71 sed -i 's#<linux/compiler-gcc.h>#"compiler-gcc.h"#' compiler_types.h
61 'TMPCHECK='grep "<vdso/const.h>" bits.h'' || true 72 'TMPCHECK='grep "<vdso/const.h>" bits.h'' || true
62 if [ -n $TMPCHECK ]; then 73 if [ -n $TMPCHECK ]; then
63 sed -i 's#<vdso/const.h>#"const.h"#' bits.h 74 sed -i 's#<vdso/const.h>#"const.h"#' bits.h
@@ -66,8 +77,15 @@ do_compile() {
66 sed -i 's#<linux/const.h>#"const.h"#' bits.h 77 sed -i 's#<linux/const.h>#"const.h"#' bits.h
67 sed -i -e 's#<uapi/linux/const.h>#<linux/const.h>#' -e 's#_LINUX_CONST_H#_LINUX_CONST_H_KERNEL#' const.h 78 sed -i -e 's#<uapi/linux/const.h>#<linux/const.h>#' -e 's#_LINUX_CONST_H#_LINUX_CONST_H_KERNEL#' const.h
68 fi 79 fi
80 echo '#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))' >> msr-index.h
81 echo "#define BIT(x) (1 << (x))" > bits.h
82 echo "#define BIT_ULL(nr) (1ULL << (nr))" >> bits.h
83 echo "#define GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (sizeof(long) * 8 - 1 - (h))))" >> bits.h
84 echo "#define GENMASK_ULL(h, l) (((~0ULL) << (l)) & (~0ULL >> (sizeof(long long) * 8 - 1 - (h))))" >> bits.h
85
69 sed -i 's#MSRHEADER#"msr-index.h"#' turbostat.c 86 sed -i 's#MSRHEADER#"msr-index.h"#' turbostat.c
70 sed -i 's#INTEL_FAMILY_HEADER#"intel-family.h"#' turbostat.c 87 sed -i 's#INTEL_FAMILY_HEADER#"intel-family.h"#' turbostat.c
88 sed -i 's#BUILD_BUG_HEADER#"build_bug.h"#' turbostat.c
71 sed -i 's#\$(CC) \$(CFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#\$(CC) \$(CFLAGS) \$(LDFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#' Makefile 89 sed -i 's#\$(CC) \$(CFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#\$(CC) \$(CFLAGS) \$(LDFLAGS) \$< -o \$(BUILD_OUTPUT)/\$@#' Makefile
72 oe_runmake STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR} 90 oe_runmake STAGING_KERNEL_DIR=${STAGING_KERNEL_DIR}
73} 91}
@@ -75,3 +93,7 @@ do_compile() {
75do_install() { 93do_install() {
76 oe_runmake DESTDIR="${D}" install 94 oe_runmake DESTDIR="${D}" install
77} 95}
96
97python do_package:prepend() {
98 d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0])
99}
diff --git a/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb b/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb
index e7e4ca50af..aae17a9fd7 100644
--- a/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb
+++ b/meta-oe/recipes-kernel/usbip-tools/usbip-tools.bb
@@ -28,7 +28,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
28 28
29# We need to set S, for not being set to STAGING_KERNEL_DIR, and by that 29# We need to set S, for not being set to STAGING_KERNEL_DIR, and by that
30# be wiped when we prune dest below. We just set it to usbip-tools-1.0 30# be wiped when we prune dest below. We just set it to usbip-tools-1.0
31S = "${WORKDIR}/${BP}" 31S = "${UNPACKDIR}/${BP}"
32 32
33# Copy the source files from KERNEL/tools/usb/usbip to ${S} 33# Copy the source files from KERNEL/tools/usb/usbip to ${S}
34do_configure[prefuncs] += "copy_usbip_source_from_kernel" 34do_configure[prefuncs] += "copy_usbip_source_from_kernel"
diff --git a/meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb b/meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb
index a09f84381e..50df31c7b9 100644
--- a/meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb
+++ b/meta-oe/recipes-multimedia/audiofile/audiofile_0.3.6.bb
@@ -13,8 +13,12 @@ SRC_URI = " \
13 file://0001-fix-negative-shift-constants.patch \ 13 file://0001-fix-negative-shift-constants.patch \
14 file://0002-fix-build-on-gcc6.patch \ 14 file://0002-fix-build-on-gcc6.patch \
15 file://0003-fix-CVE-2015-7747.patch \ 15 file://0003-fix-CVE-2015-7747.patch \
16 file://0004-Always-check-the-number-of-coefficients.patch \
17 file://0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch \
18 file://0006-Check-for-multiplication-overflow-in-sfconvert.patch \
19 file://0007-Actually-fail-when-error-occurs-in-parseFormat.patch \
20 file://0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch \
16" 21"
17SRC_URI[md5sum] = "235dde14742317328f0109e9866a8008"
18SRC_URI[sha256sum] = "ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8cb59782" 22SRC_URI[sha256sum] = "ea2449ad3f201ec590d811db9da6d02ffc5e87a677d06b92ab15363d8cb59782"
19 23
20inherit autotools lib_package pkgconfig 24inherit autotools lib_package pkgconfig
diff --git a/meta-oe/recipes-multimedia/audiofile/files/0004-Always-check-the-number-of-coefficients.patch b/meta-oe/recipes-multimedia/audiofile/files/0004-Always-check-the-number-of-coefficients.patch
new file mode 100644
index 0000000000..17a97163f5
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/files/0004-Always-check-the-number-of-coefficients.patch
@@ -0,0 +1,46 @@
1From c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0 Mon Sep 17 00:00:00 2001
2From: Antonio Larrosa <larrosa@kde.org>
3Date: Mon, 6 Mar 2017 12:51:22 +0100
4Subject: [PATCH] Always check the number of coefficients
5
6When building the library with NDEBUG, asserts are eliminated
7so it's better to always check that the number of coefficients
8is inside the array range.
9
10This fixes the 00191-audiofile-indexoob issue in #41
11
12Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13
14CVE: CVE-2017-6827
15CVE: CVE-2017-6828
16CVE: CVE-2017-6832
17CVE: CVE-2017-6833
18CVE: CVE-2017-6835
19CVE: CVE-2017-6837
20CVE: CVE-2020-18781
21Upstream-Status: Inactive-Upstream [lastrelease: 2013]
22Signed-off-by: Peter Marko <peter.marko@siemens.com>
23---
24 libaudiofile/WAVE.cpp | 6 ++++++
25 1 file changed, 6 insertions(+)
26
27diff --git a/libaudiofile/WAVE.cpp b/libaudiofile/WAVE.cpp
28index 0e81cf7..61f9541 100644
29--- a/libaudiofile/WAVE.cpp
30+++ b/libaudiofile/WAVE.cpp
31@@ -281,6 +281,12 @@ status WAVEFile::parseFormat(const Tag &id, uint32_t size)
32
33 /* numCoefficients should be at least 7. */
34 assert(numCoefficients >= 7 && numCoefficients <= 255);
35+ if (numCoefficients < 7 || numCoefficients > 255)
36+ {
37+ _af_error(AF_BAD_HEADER,
38+ "Bad number of coefficients");
39+ return AF_FAIL;
40+ }
41
42 m_msadpcmNumCoefficients = numCoefficients;
43
44--
452.11.0
46
diff --git a/meta-oe/recipes-multimedia/audiofile/files/0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch b/meta-oe/recipes-multimedia/audiofile/files/0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
new file mode 100644
index 0000000000..00bb7e597e
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/files/0005-clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
@@ -0,0 +1,43 @@
1From 25eb00ce913452c2e614548d7df93070bf0d066f Mon Sep 17 00:00:00 2001
2From: Antonio Larrosa <larrosa@kde.org>
3Date: Mon, 6 Mar 2017 18:02:31 +0100
4Subject: [PATCH] clamp index values to fix index overflow in IMA.cpp
5
6This fixes #33
7(also reported at https://bugzilla.opensuse.org/show_bug.cgi?id=1026981
8and https://blogs.gentoo.org/ago/2017/02/20/audiofile-global-buffer-overflow-in-decodesample-ima-cpp/)
9
10Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11
12CVE: CVE-2017-6829
13Upstream-Status: Inactive-Upstream [lastrelease: 2013]
14Signed-off-by: Peter Marko <peter.marko@siemens.com>
15---
16 libaudiofile/modules/IMA.cpp | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
18
19diff --git a/libaudiofile/modules/IMA.cpp b/libaudiofile/modules/IMA.cpp
20index 7476d44..df4aad6 100644
21--- a/libaudiofile/modules/IMA.cpp
22+++ b/libaudiofile/modules/IMA.cpp
23@@ -169,7 +169,7 @@ int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded)
24 if (encoded[1] & 0x80)
25 m_adpcmState[c].previousValue -= 0x10000;
26
27- m_adpcmState[c].index = encoded[2];
28+ m_adpcmState[c].index = clamp(encoded[2], 0, 88);
29
30 *decoded++ = m_adpcmState[c].previousValue;
31
32@@ -210,7 +210,7 @@ int IMA::decodeBlockQT(const uint8_t *encoded, int16_t *decoded)
33 predictor -= 0x10000;
34
35 state.previousValue = clamp(predictor, MIN_INT16, MAX_INT16);
36- state.index = encoded[1] & 0x7f;
37+ state.index = clamp(encoded[1] & 0x7f, 0, 88);
38 encoded += 2;
39
40 for (int n=0; n<m_framesPerPacket; n+=2)
41--
422.11.0
43
diff --git a/meta-oe/recipes-multimedia/audiofile/files/0006-Check-for-multiplication-overflow-in-sfconvert.patch b/meta-oe/recipes-multimedia/audiofile/files/0006-Check-for-multiplication-overflow-in-sfconvert.patch
new file mode 100644
index 0000000000..ec21b09f30
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/files/0006-Check-for-multiplication-overflow-in-sfconvert.patch
@@ -0,0 +1,79 @@
1From 7d65f89defb092b63bcbc5d98349fb222ca73b3c Mon Sep 17 00:00:00 2001
2From: Antonio Larrosa <larrosa@kde.org>
3Date: Mon, 6 Mar 2017 13:54:52 +0100
4Subject: [PATCH] Check for multiplication overflow in sfconvert
5
6Checks that a multiplication doesn't overflow when
7calculating the buffer size, and if it overflows,
8reduce the buffer size instead of failing.
9
10This fixes the 00192-audiofile-signintoverflow-sfconvert case
11in #41
12
13Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14
15CVE: CVE-2017-6830
16CVE: CVE-2017-6834
17CVE: CVE-2017-6836
18CVE: CVE-2017-6838
19Upstream-Status: Inactive-Upstream [lastrelease: 2013]
20Signed-off-by: Peter Marko <peter.marko@siemens.com>
21---
22 sfcommands/sfconvert.c | 34 ++++++++++++++++++++++++++++++++--
23 1 file changed, 32 insertions(+), 2 deletions(-)
24
25diff --git a/sfcommands/sfconvert.c b/sfcommands/sfconvert.c
26index 80a1bc4..970a3e4 100644
27--- a/sfcommands/sfconvert.c
28+++ b/sfcommands/sfconvert.c
29@@ -45,6 +45,33 @@ void printusage (void);
30 void usageerror (void);
31 bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid);
32
33+int firstBitSet(int x)
34+{
35+ int position=0;
36+ while (x!=0)
37+ {
38+ x>>=1;
39+ ++position;
40+ }
41+ return position;
42+}
43+
44+#ifndef __has_builtin
45+#define __has_builtin(x) 0
46+#endif
47+
48+int multiplyCheckOverflow(int a, int b, int *result)
49+{
50+#if (defined __GNUC__ && __GNUC__ >= 5) || ( __clang__ && __has_builtin(__builtin_mul_overflow))
51+ return __builtin_mul_overflow(a, b, result);
52+#else
53+ if (firstBitSet(a)+firstBitSet(b)>31) // int is signed, so we can't use 32 bits
54+ return true;
55+ *result = a * b;
56+ return false;
57+#endif
58+}
59+
60 int main (int argc, char **argv)
61 {
62 if (argc == 2)
63@@ -323,8 +350,11 @@ bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid)
64 {
65 int frameSize = afGetVirtualFrameSize(infile, trackid, 1);
66
67- const int kBufferFrameCount = 65536;
68- void *buffer = malloc(kBufferFrameCount * frameSize);
69+ int kBufferFrameCount = 65536;
70+ int bufferSize;
71+ while (multiplyCheckOverflow(kBufferFrameCount, frameSize, &bufferSize))
72+ kBufferFrameCount /= 2;
73+ void *buffer = malloc(bufferSize);
74
75 AFframecount totalFrames = afGetFrameCount(infile, AF_DEFAULT_TRACK);
76 AFframecount totalFramesWritten = 0;
77--
782.11.0
79
diff --git a/meta-oe/recipes-multimedia/audiofile/files/0007-Actually-fail-when-error-occurs-in-parseFormat.patch b/meta-oe/recipes-multimedia/audiofile/files/0007-Actually-fail-when-error-occurs-in-parseFormat.patch
new file mode 100644
index 0000000000..38294ca200
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/files/0007-Actually-fail-when-error-occurs-in-parseFormat.patch
@@ -0,0 +1,46 @@
1From a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6 Mon Sep 17 00:00:00 2001
2From: Antonio Larrosa <larrosa@kde.org>
3Date: Mon, 6 Mar 2017 18:59:26 +0100
4Subject: [PATCH] Actually fail when error occurs in parseFormat
5
6When there's an unsupported number of bits per sample or an invalid
7number of samples per block, don't only print an error message using
8the error handler, but actually stop parsing the file.
9
10This fixes #35 (also reported at
11https://bugzilla.opensuse.org/show_bug.cgi?id=1026983 and
12https://blogs.gentoo.org/ago/2017/02/20/audiofile-heap-based-buffer-overflow-in-imadecodeblockwave-ima-cpp/
13)
14
15Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
16
17CVE: CVE-2017-6831
18Upstream-Status: Inactive-Upstream [lastrelease: 2013]
19Signed-off-by: Peter Marko <peter.marko@siemens.com>
20---
21 libaudiofile/WAVE.cpp | 2 ++
22 1 file changed, 2 insertions(+)
23
24diff --git a/libaudiofile/WAVE.cpp b/libaudiofile/WAVE.cpp
25index 0e81cf7..d762249 100644
26--- a/libaudiofile/WAVE.cpp
27+++ b/libaudiofile/WAVE.cpp
28@@ -326,6 +326,7 @@ status WAVEFile::parseFormat(const Tag &id, uint32_t size)
29 {
30 _af_error(AF_BAD_NOT_IMPLEMENTED,
31 "IMA ADPCM compression supports only 4 bits per sample");
32+ return AF_FAIL;
33 }
34
35 int bytesPerBlock = (samplesPerBlock + 14) / 8 * 4 * channelCount;
36@@ -333,6 +334,7 @@ status WAVEFile::parseFormat(const Tag &id, uint32_t size)
37 {
38 _af_error(AF_BAD_CODEC_CONFIG,
39 "Invalid samples per block for IMA ADPCM compression");
40+ return AF_FAIL;
41 }
42
43 track->f.sampleWidth = 16;
44--
452.11.0
46
diff --git a/meta-oe/recipes-multimedia/audiofile/files/0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch b/meta-oe/recipes-multimedia/audiofile/files/0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch
new file mode 100644
index 0000000000..857ed78c59
--- /dev/null
+++ b/meta-oe/recipes-multimedia/audiofile/files/0008-Check-for-multiplication-overflow-in-MSADPCM-decodeS.patch
@@ -0,0 +1,126 @@
1From beacc44eb8cdf6d58717ec1a5103c5141f1b37f9 Mon Sep 17 00:00:00 2001
2From: Antonio Larrosa <larrosa@kde.org>
3Date: Mon, 6 Mar 2017 13:43:53 +0100
4Subject: [PATCH] Check for multiplication overflow in MSADPCM decodeSample
5
6Check for multiplication overflow (using __builtin_mul_overflow
7if available) in MSADPCM.cpp decodeSample and return an empty
8decoded block if an error occurs.
9
10This fixes the 00193-audiofile-signintoverflow-MSADPCM case of #41
11
12Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13
14CVE: CVE-2017-6839
15Upstream-Status: Inactive-Upstream [lastrelease: 2013]
16Signed-off-by: Peter Marko <peter.marko@siemens.com>
17---
18 libaudiofile/modules/BlockCodec.cpp | 5 ++--
19 libaudiofile/modules/MSADPCM.cpp | 47 +++++++++++++++++++++++++++++++++----
20 2 files changed, 46 insertions(+), 6 deletions(-)
21
22diff --git a/libaudiofile/modules/BlockCodec.cpp b/libaudiofile/modules/BlockCodec.cpp
23index 45925e8..4731be1 100644
24--- a/libaudiofile/modules/BlockCodec.cpp
25+++ b/libaudiofile/modules/BlockCodec.cpp
26@@ -52,8 +52,9 @@ void BlockCodec::runPull()
27 // Decompress into m_outChunk.
28 for (int i=0; i<blocksRead; i++)
29 {
30- decodeBlock(static_cast<const uint8_t *>(m_inChunk->buffer) + i * m_bytesPerPacket,
31- static_cast<int16_t *>(m_outChunk->buffer) + i * m_framesPerPacket * m_track->f.channelCount);
32+ if (decodeBlock(static_cast<const uint8_t *>(m_inChunk->buffer) + i * m_bytesPerPacket,
33+ static_cast<int16_t *>(m_outChunk->buffer) + i * m_framesPerPacket * m_track->f.channelCount)==0)
34+ break;
35
36 framesRead += m_framesPerPacket;
37 }
38diff --git a/libaudiofile/modules/MSADPCM.cpp b/libaudiofile/modules/MSADPCM.cpp
39index 8ea3c85..ef9c38c 100644
40--- a/libaudiofile/modules/MSADPCM.cpp
41+++ b/libaudiofile/modules/MSADPCM.cpp
42@@ -101,24 +101,60 @@ static const int16_t adaptationTable[] =
43 768, 614, 512, 409, 307, 230, 230, 230
44 };
45
46+int firstBitSet(int x)
47+{
48+ int position=0;
49+ while (x!=0)
50+ {
51+ x>>=1;
52+ ++position;
53+ }
54+ return position;
55+}
56+
57+#ifndef __has_builtin
58+#define __has_builtin(x) 0
59+#endif
60+
61+int multiplyCheckOverflow(int a, int b, int *result)
62+{
63+#if (defined __GNUC__ && __GNUC__ >= 5) || ( __clang__ && __has_builtin(__builtin_mul_overflow))
64+ return __builtin_mul_overflow(a, b, result);
65+#else
66+ if (firstBitSet(a)+firstBitSet(b)>31) // int is signed, so we can't use 32 bits
67+ return true;
68+ *result = a * b;
69+ return false;
70+#endif
71+}
72+
73+
74 // Compute a linear PCM value from the given differential coded value.
75 static int16_t decodeSample(ms_adpcm_state &state,
76- uint8_t code, const int16_t *coefficient)
77+ uint8_t code, const int16_t *coefficient, bool *ok=NULL)
78 {
79 int linearSample = (state.sample1 * coefficient[0] +
80 state.sample2 * coefficient[1]) >> 8;
81+ int delta;
82
83 linearSample += ((code & 0x08) ? (code - 0x10) : code) * state.delta;
84
85 linearSample = clamp(linearSample, MIN_INT16, MAX_INT16);
86
87- int delta = (state.delta * adaptationTable[code]) >> 8;
88+ if (multiplyCheckOverflow(state.delta, adaptationTable[code], &delta))
89+ {
90+ if (ok) *ok=false;
91+ _af_error(AF_BAD_COMPRESSION, "Error decoding sample");
92+ return 0;
93+ }
94+ delta >>= 8;
95 if (delta < 16)
96 delta = 16;
97
98 state.delta = delta;
99 state.sample2 = state.sample1;
100 state.sample1 = linearSample;
101+ if (ok) *ok=true;
102
103 return static_cast<int16_t>(linearSample);
104 }
105@@ -212,13 +248,16 @@ int MSADPCM::decodeBlock(const uint8_t *encoded, int16_t *decoded)
106 {
107 uint8_t code;
108 int16_t newSample;
109+ bool ok;
110
111 code = *encoded >> 4;
112- newSample = decodeSample(*state[0], code, coefficient[0]);
113+ newSample = decodeSample(*state[0], code, coefficient[0], &ok);
114+ if (!ok) return 0;
115 *decoded++ = newSample;
116
117 code = *encoded & 0x0f;
118- newSample = decodeSample(*state[1], code, coefficient[1]);
119+ newSample = decodeSample(*state[1], code, coefficient[1], &ok);
120+ if (!ok) return 0;
121 *decoded++ = newSample;
122
123 encoded++;
124--
1252.11.0
126
diff --git a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
index bbce3e3bfd..4b57957cfc 100644
--- a/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
+++ b/meta-oe/recipes-multimedia/cdrkit/cdrkit_1.1.11.bb
@@ -18,7 +18,6 @@ SRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
18SRC_URI:append:class-nativesdk = " \ 18SRC_URI:append:class-nativesdk = " \
19 file://0001-install-netscsid-to-bin-for-nativesdk.patch \ 19 file://0001-install-netscsid-to-bin-for-nativesdk.patch \
20" 20"
21SRC_URI[md5sum] = "efe08e2f3ca478486037b053acd512e9"
22SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da" 21SRC_URI[sha256sum] = "d1c030756ecc182defee9fe885638c1785d35a2c2a297b4604c0e0dcc78e47da"
23 22
24inherit cmake 23inherit cmake
@@ -63,3 +62,8 @@ do_install:append() {
63} 62}
64 63
65BBCLASSEXTEND = "native nativesdk" 64BBCLASSEXTEND = "native nativesdk"
65
66# http://errors.yoctoproject.org/Errors/Details/766905/
67# cdrkit/1.1.11/cdrkit-1.1.11/genisoimage/eltorito.c:399:41: error: passing argument 1 of 'set_721' from incompatible pointer type [-Wincompatible-pointer-types]
68# cdrkit/1.1.11/cdrkit-1.1.11/genisoimage/eltorito.c:422:25: error: passing argument 1 of 'set_721' from incompatible pointer type [-Wincompatible-pointer-types]
69CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-multimedia/faad2/faad2_2.11.1.bb b/meta-oe/recipes-multimedia/faad2/faad2_2.11.2.bb
index bec9b75ebd..83fcaa248d 100644
--- a/meta-oe/recipes-multimedia/faad2/faad2_2.11.1.bb
+++ b/meta-oe/recipes-multimedia/faad2/faad2_2.11.2.bb
@@ -10,8 +10,7 @@ LICENSE_FLAGS = "commercial"
10PV .= "+git" 10PV .= "+git"
11 11
12SRC_URI = "git://github.com/knik0/faad2.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/knik0/faad2.git;branch=master;protocol=https"
13SRCREV = "216f00e8ddba6f2c64caf481a04f1ddd78b93e78" 13SRCREV = "673a22a3c7c33e96e2ff7aae7c4d2bc190dfbf92"
14 14
15S = "${WORKDIR}/git"
16 15
17inherit cmake 16inherit cmake
diff --git a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
index 379c7e1b63..7ae262345b 100644
--- a/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
+++ b/meta-oe/recipes-multimedia/id3lib/id3lib_3.8.3.bb
@@ -14,6 +14,8 @@ SRC_URI[archive.sha256sum] = "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b687
14SRC_URI[patch.md5sum] = "997c764d3be11c9a51779d93facf1118" 14SRC_URI[patch.md5sum] = "997c764d3be11c9a51779d93facf1118"
15SRC_URI[patch.sha256sum] = "ac2ee23ec89ba2af51d2c6dd5b1b6bf9f8a9f813de251bc182941439a4053176" 15SRC_URI[patch.sha256sum] = "ac2ee23ec89ba2af51d2c6dd5b1b6bf9f8a9f813de251bc182941439a4053176"
16 16
17CVE_STATUS[CVE-2007-4460] = "patched: fix is included in debian patch"
18
17inherit autotools 19inherit autotools
18 20
19# Unlike other Debian packages, id3lib*.diff.gz contains another series of 21# Unlike other Debian packages, id3lib*.diff.gz contains another series of
diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_9.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_9.bb
index bfdf26ed46..7f8988c3c3 100644
--- a/meta-oe/recipes-multimedia/jack/a2jmidid_9.bb
+++ b/meta-oe/recipes-multimedia/jack/a2jmidid_9.bb
@@ -16,7 +16,6 @@ SRC_URI = " \
16 file://ppc_musl_ucontext.patch \ 16 file://ppc_musl_ucontext.patch \
17" 17"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit meson pkgconfig 20inherit meson pkgconfig
22 21
@@ -24,6 +23,6 @@ EXTRA_OEMESON = "-Db_lto=false"
24 23
25LDFLAGS:append:libc-musl = " -lexecinfo" 24LDFLAGS:append:libc-musl = " -lexecinfo"
26 25
27export LINKFLAGS="${LDFLAGS}" 26export LINKFLAGS = "${LDFLAGS}"
28 27
29FILES:${PN} += "${datadir}/dbus-1/services" 28FILES:${PN} += "${datadir}/dbus-1/services"
diff --git a/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb b/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb
new file mode 100644
index 0000000000..58bbd8cac3
--- /dev/null
+++ b/meta-oe/recipes-multimedia/jack/jack-example-tools_4.bb
@@ -0,0 +1,33 @@
1DESCRIPTION = "JACK example tools and clients"
2SECTION = "libs/multimedia"
3
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=4641e94ec96f98fabc56ff9cc48be14b"
6
7DEPENDS = "jack"
8
9SRC_URI = "git://github.com/jackaudio/jack-example-tools.git;branch=main;protocol=https"
10SRCREV = "33de8b4285fa5054af1b37fe0496c110604ed564"
11
12
13inherit meson pkgconfig
14
15PACKAGECONFIG ??= "alsa_in_out jack_rec"
16PACKAGECONFIG[alsa_in_out] = ",-Dalsa_in_out=disabled,alsa-lib"
17PACKAGECONFIG[jack_net] = ",-Djack_net=disabled"
18PACKAGECONFIG[jack_netsource] = ",-Djack_netsource=disabled,libopus"
19PACKAGECONFIG[jack_rec] = ",-Djack_rec=disabled"
20PACKAGECONFIG[opus_support] = ",-Dopus_support=disabled,libopus"
21PACKAGECONFIG[readline] = ",-Dreadline_support=disabled,readline"
22
23# ZALSA requires packages that are not available (libzita-alsa-pcmi and libzita-resampler)
24EXTRA_OECONF = "-Dzalsa=disabled"
25
26# jack recipe previously packaged jack-utils when these were part of the jack2 repository
27# keep using jack-utils package name to provide compatibility with old image recipes
28PACKAGES =+ "jack-utils"
29
30FILES:jack-utils = " \
31 ${bindir}/* \
32 ${libdir}/jack/*.so \
33"
diff --git a/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
index bb844e4ff1..3b3ea85349 100644
--- a/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
+++ b/meta-oe/recipes-multimedia/jack/jack_1.9.22.bb
@@ -24,36 +24,26 @@ SRCREV = "4f58969432339a250ce87fe855fb962c67d00ddb"
24 24
25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 25UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
26 26
27S = "${WORKDIR}/git"
28 27
29inherit waf pkgconfig 28inherit waf pkgconfig
30 29
31PACKAGECONFIG ??= "alsa" 30PACKAGECONFIG ??= "alsa"
32PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib" 31PACKAGECONFIG[alsa] = "--alsa=yes,--alsa=no,alsa-lib"
33# --dbus only stops building jackd -> add --classic 32# --dbus only stops building jackd -> add --classic
34PACKAGECONFIG[dbus] = "--dbus --classic,,dbus" 33PACKAGECONFIG[dbus] = "--dbus --classic,,dbus,python3-core"
35PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus" 34PACKAGECONFIG[opus] = "--opus=yes,--opus=no,libopus"
36 35
37# portaudio is for windows builds only 36# portaudio is for windows builds only
38EXTRA_OECONF = "--portaudio=no" 37EXTRA_OECONF = "--portaudio=no"
39 38
40do_install:append() { 39PACKAGE_BEFORE_PN = "libjack jack-server"
41 if ! ${@bb.utils.contains('PACKAGECONFIG', 'dbus', True, False, d)}; then
42 rm -f ${D}${bindir}/jack_control
43 fi
44}
45
46PACKAGES =+ "libjack jack-server jack-utils"
47 40
48RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})" 41RDEPENDS:jack-dev:remove = "${PN} (= ${EXTENDPKGV})"
49 42
50FILES:libjack = "${libdir}/*.so.* ${libdir}/jack/*.so" 43FILES:libjack = "${libdir}/*.so.* ${libdir}/jack/*.so"
44
51FILES:jack-server = " \ 45FILES:jack-server = " \
52 ${datadir}/dbus-1/services \ 46 ${datadir}/dbus-1/services \
53 ${bindir}/jackdbus \ 47 ${bindir}/jackdbus \
54 ${bindir}/jackd \ 48 ${bindir}/jackd \
55" 49"
56FILES:jack-utils = "${bindir}/*"
57
58FILES:${PN}-doc += " ${datadir}/jack-audio-connection-kit/reference/html/*"
59
diff --git a/meta-oe/recipes-multimedia/libass/libass_0.17.2.bb b/meta-oe/recipes-multimedia/libass/libass_0.17.4.bb
index e239d028eb..3165736981 100644
--- a/meta-oe/recipes-multimedia/libass/libass_0.17.2.bb
+++ b/meta-oe/recipes-multimedia/libass/libass_0.17.4.bb
@@ -8,8 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a42532a0684420bdb15556c3cdd49a75"
8DEPENDS = "fontconfig freetype fribidi harfbuzz" 8DEPENDS = "fontconfig freetype fribidi harfbuzz"
9 9
10SRC_URI = "git://github.com/libass/libass.git;protocol=https;branch=master" 10SRC_URI = "git://github.com/libass/libass.git;protocol=https;branch=master"
11SRCREV = "cbb48cc4f2f076300004b8b06a86bec55281d0c2" 11SRCREV = "bbb3c7f1570a4a021e52683f3fbdf74fe492ae84"
12S = "${WORKDIR}/git"
13 12
14inherit autotools pkgconfig 13inherit autotools pkgconfig
15 14
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb b/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb
index 53404e54a8..42507051f6 100644
--- a/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb
+++ b/meta-oe/recipes-multimedia/libcdio/libcdio-paranoia_10.2+2.0.1.bb
@@ -9,6 +9,9 @@ DEPENDS = "libcdio"
9SRC_URI = "${GNU_MIRROR}/libcdio/${BP}.tar.bz2" 9SRC_URI = "${GNU_MIRROR}/libcdio/${BP}.tar.bz2"
10SRC_URI[sha256sum] = "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a" 10SRC_URI[sha256sum] = "33b1cf305ccfbfd03b43936975615000ce538b119989c4bec469577570b60e8a"
11 11
12UPSTREAM_CHECK_URI = "https://github.com/rocky/libcdio-paranoia/releases"
13UPSTREAM_CHECK_REGEX = "release-(?P<pver>\d+(\.\d+)+\+\d+(\.\d+)+)"
14
12inherit autotools pkgconfig 15inherit autotools pkgconfig
13 16
14PACKAGES += "${PN}-utils" 17PACKAGES += "${PN}-utils"
diff --git a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb
index 8562462cba..d986f90d72 100644
--- a/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb
+++ b/meta-oe/recipes-multimedia/libcdio/libcdio_2.1.0.bb
@@ -9,7 +9,6 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2 \
9 file://Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch \ 9 file://Drop-LIBCDIO_SOURCE_PATH-by-dropping-STRIP_FROM_PATH.patch \
10 " 10 "
11 11
12SRC_URI[md5sum] = "aa7629e8f73662a762f64c444b901055"
13SRC_URI[sha256sum] = "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b" 12SRC_URI[sha256sum] = "8550e9589dbd594bfac93b81ecf129b1dc9d0d51e90f9696f1b2f9b2af32712b"
14 13
15inherit autotools pkgconfig 14inherit autotools pkgconfig
diff --git a/meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb b/meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb
index 850918d319..23487329fb 100644
--- a/meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb
+++ b/meta-oe/recipes-multimedia/libid3tag/libid3tag_0.15.1b.bb
@@ -19,9 +19,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libid3tag-${PV}.tar.gz \
19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/" 19UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mad/files/libid3tag/"
20UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$" 20UPSTREAM_CHECK_REGEX = "/projects/mad/files/libid3tag/(?P<pver>.*)/$"
21 21
22SRC_URI[md5sum] = "e5808ad997ba32c498803822078748c3"
23SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151" 22SRC_URI[sha256sum] = "63da4f6e7997278f8a3fef4c6a372d342f705051d1eeb6a46a86b03610e26151"
24 23
25S = "${WORKDIR}/libid3tag-${PV}" 24S = "${UNPACKDIR}/libid3tag-${PV}"
26 25
27inherit autotools pkgconfig 26inherit autotools pkgconfig
diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl/0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch b/meta-oe/recipes-multimedia/libjxl/libjxl/0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch
new file mode 100644
index 0000000000..287dfc8ca8
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libjxl/libjxl/0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch
@@ -0,0 +1,56 @@
1From 0cf439c243dfdb6eee6133ee87172235a42e59c9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 14 Sep 2024 22:04:06 +0000
4Subject: [PATCH] cmake: Do not use -mrelax-all with clang on RISCV64
5
6This option causes clang 19+ to crash on riscv64
7
8For RISC-V -mrelax-all causes the assembler stage to convert
9all conditional branches into
10
11 bcc reg, reg, tmplabel
12 jmp target
13tmplabel:
14
15Unconditional jmp can reach targets a lot further than a conditional branch.
16Unfortunately, jmp also has a limited range so sometimes needs to be
17converted to an indirect jump which requires a scratch register.
18We do all branch relaxation early for RISC-V during the compilation
19stage so we can allocate the scratch register.
20
21If the assembler also does branch relaxation it will increase the size
22of the function and may cause unconditional jmps to go out of range.
23If this happens, linking will fail.
24
25Upstream-Status: Submitted [https://github.com/libjxl/libjxl/pull/3826]
26Signed-off-by: Khem Raj <raj.khem@gmail.com>
27---
28 CMakeLists.txt | 2 +-
29 CONTRIBUTORS | 1 +
30 2 files changed, 2 insertions(+), 1 deletion(-)
31
32diff --git a/CMakeLists.txt b/CMakeLists.txt
33index 8b2ccb57..39bee096 100644
34--- a/CMakeLists.txt
35+++ b/CMakeLists.txt
36@@ -335,7 +335,7 @@ else ()
37
38 # Machine flags.
39 add_compile_options(-funwind-tables)
40- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
41+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "riscv")
42 add_compile_options("SHELL:-Xclang -mrelax-all")
43 endif()
44 if (CXX_CONSTRUCTOR_ALIASES_SUPPORTED)
45diff --git a/CONTRIBUTORS b/CONTRIBUTORS
46index 848096f9..a88c6157 100644
47--- a/CONTRIBUTORS
48+++ b/CONTRIBUTORS
49@@ -10,6 +10,7 @@ Iulia-Maria Comșa
50 Jan Wassenberg
51 Jon Sneyers
52 Jyrki Alakuijala
53+Khem Raj
54 Krzysztof Potempa
55 Lode Vandevenne
56 Luca Versari
diff --git a/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb b/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.3.bb
index 8df0e9a2c2..2405126e5c 100644
--- a/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.2.bb
+++ b/meta-oe/recipes-multimedia/libjxl/libjxl_0.10.3.bb
@@ -8,10 +8,11 @@ inherit cmake pkgconfig mime
8 8
9DEPENDS = "highway brotli" 9DEPENDS = "highway brotli"
10 10
11SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1" 11SRC_URI = "gitsm://github.com/libjxl/libjxl.git;protocol=https;nobranch=1 \
12 file://0001-cmake-Do-not-use-mrelax-all-with-clang-on-RISCV64.patch \
13 "
12 14
13SRCREV = "e1489592a770b989303b0edc5cc1dc447bbe0515" 15SRCREV = "4a3b22d2600f92d8706fb72d85d52bfee2acbd54"
14S = "${WORKDIR}/git"
15 16
16EXTRA_OECMAKE = " \ 17EXTRA_OECMAKE = " \
17 -DCMAKE_BUILD_TYPE=Release \ 18 -DCMAKE_BUILD_TYPE=Release \
@@ -36,6 +37,7 @@ PACKAGECONFIG ?= "mime gdk-pixbuf-loader sizeless-vectors"
36# 591 | HWY_RVV_FOREACH(HWY_RVV_LANES, Lanes, setvlmax_e, _ALL) 37# 591 | HWY_RVV_FOREACH(HWY_RVV_LANES, Lanes, setvlmax_e, _ALL)
37# | ^ 38# | ^
38PACKAGECONFIG:remove:riscv64 = "sizeless-vectors" 39PACKAGECONFIG:remove:riscv64 = "sizeless-vectors"
40PACKAGECONFIG:remove:riscv32 = "sizeless-vectors"
39PACKAGECONFIG[gdk-pixbuf-loader] = "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf" 41PACKAGECONFIG[gdk-pixbuf-loader] = "-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=ON,-DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=OFF,gdk-pixbuf"
40PACKAGECONFIG[gimp] = "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp" 42PACKAGECONFIG[gimp] = "-DJPEGXL_ENABLE_PLUGIN_GIMP210=ON,-DJPEGXL_ENABLE_PLUGIN_GIMP210=OFF,gimp"
41PACKAGECONFIG[mime] = "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF" 43PACKAGECONFIG[mime] = "-DJPEGXL_ENABLE_PLUGIN_MIME=ON,-DJPEGXL_ENABLE_PLUGIN_MIME=OFF"
diff --git a/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8372_CVE-2017-8373.patch b/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8372_CVE-2017-8373.patch
new file mode 100644
index 0000000000..a57df492d0
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8372_CVE-2017-8373.patch
@@ -0,0 +1,69 @@
1From 7e8f6e5118e31455924940141a761a1589e8d85d Mon Sep 17 00:00:00 2001
2From: Kurt Roeckx <kurt@roeckx.be>
3Date: Sun, 28 Jan 2018 15:44:08 +0100
4Subject: [PATCH] Check the size of the main data
5
6The main data to decode a frame can come from the current frame and part of the
7previous frame, the so called bit reservoir. si.main_data_begin is the part of
8the previous frame we need for this frame. frame_space is the amount of main
9data that can be in this frame, and next_md_begin is the part of this frame that
10is going to be used for the next frame.
11
12The maximum amount of data from a previous frame that the format allows is 511
13bytes. The maximum frame size for the defined bitrates is at MPEG 2.5 layer 2
14at 320 kbit/s and 8 kHz sample rate which gives 72 * (320000 / 8000) + 1 = 2881.
15So those defines are not large enough:
16 # define MAD_BUFFER_GUARD 8
17 # define MAD_BUFFER_MDLEN (511 + 2048 + MAD_BUFFER_GUARD)
18
19There is also support for a "free" bitrate which allows you to create any frame
20size, which can be larger than the buffer.
21
22Changing the defines is not an option since it's part of the ABI, so we check
23that the main data fits in the bufer.
24
25The previous frame data is stored in *stream->main_data and contains
26stream->md_len bytes. If stream->md_len is larger than the data we
27need from the previous frame (si.main_data_begin) it still wouldn't fit
28in the buffer, so just keep the data that we need.
29
30Source: https://salsa.debian.org/multimedia-team/libmad/-/blob/debian/0.15.1b-11/debian/patches/md_size.diff?ref_type=tags
31
32CVE: CVE-2017-8372
33CVE: CVE-2017-8373
34Upstream-Status: Inactive-Upstream [lastrelease: 2018]
35Signed-off-by: Peter Marko <peter.marko@siemens.com>
36---
37 layer3.c | 12 ++++++++++--
38 1 file changed, 10 insertions(+), 2 deletions(-)
39
40diff --git a/layer3.c b/layer3.c
41index 4e5d3fa..7dc4ca6 100644
42--- a/layer3.c
43+++ b/layer3.c
44@@ -2608,6 +2608,11 @@ int mad_layer_III(struct mad_stream *stream, struct mad_frame *frame)
45 next_md_begin = 0;
46
47 md_len = si.main_data_begin + frame_space - next_md_begin;
48+ if (md_len + MAD_BUFFER_GUARD > MAD_BUFFER_MDLEN) {
49+ stream->error = MAD_ERROR_LOSTSYNC;
50+ stream->sync = 0;
51+ return -1;
52+ }
53
54 frame_used = 0;
55
56@@ -2625,8 +2630,11 @@ int mad_layer_III(struct mad_stream *stream, struct mad_frame *frame)
57 }
58 }
59 else {
60- mad_bit_init(&ptr,
61- *stream->main_data + stream->md_len - si.main_data_begin);
62+ memmove(stream->main_data,
63+ *stream->main_data + stream->md_len - si.main_data_begin,
64+ si.main_data_begin);
65+ stream->md_len = si.main_data_begin;
66+ mad_bit_init(&ptr, *stream->main_data);
67
68 if (md_len > si.main_data_begin) {
69 assert(stream->md_len + md_len -
diff --git a/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8374.patch b/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8374.patch
new file mode 100644
index 0000000000..69a7153f07
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libmad/libmad/CVE-2017-8374.patch
@@ -0,0 +1,830 @@
1From 05de6e0ddc2c911b725955d2af331ffd76aa8186 Mon Sep 17 00:00:00 2001
2From: Kurt Roeckx <kurt@roeckx.be>
3Date: Sun, 28 Jan 2018 19:26:36 +0100
4Subject: [PATCH] Check the size before reading with mad_bit_read
5
6There are various cases where it attemps to read past the end of the buffer
7using mad_bit_read(). Most functions didn't even know the size of the buffer
8they were reading from.
9
10Source: https://salsa.debian.org/multimedia-team/libmad/-/raw/debian/0.15.1b-11/debian/patches/length-check.patch?ref_type=tags
11
12CVE: CVE-2017-8374
13Upstream-Status: Inactive-Upstream [lastrelease: 2018]
14Signed-off-by: Peter Marko <peter.marko@siemens.com>
15---
16 bit.c | 3 +
17 frame.c | 20 +++++-
18 layer12.c | 112 +++++++++++++++++++++++++++---
19 layer3.c | 198 ++++++++++++++++++++++++++++++++++++++----------------
20 4 files changed, 262 insertions(+), 71 deletions(-)
21
22diff --git a/bit.c b/bit.c
23index c2bfb24..39ef50b 100644
24--- a/bit.c
25+++ b/bit.c
26@@ -138,6 +138,9 @@ unsigned long mad_bit_read(struct mad_bitptr *bitptr, unsigned int len)
27 {
28 register unsigned long value;
29
30+ if (len == 0)
31+ return 0;
32+
33 if (bitptr->left == CHAR_BIT)
34 bitptr->cache = *bitptr->byte;
35
36diff --git a/frame.c b/frame.c
37index 0cb3d0f..4b3aea8 100644
38--- a/frame.c
39+++ b/frame.c
40@@ -120,11 +120,18 @@ static
41 int decode_header(struct mad_header *header, struct mad_stream *stream)
42 {
43 unsigned int index;
44+ struct mad_bitptr bufend_ptr;
45
46 header->flags = 0;
47 header->private_bits = 0;
48
49+ mad_bit_init(&bufend_ptr, stream->bufend);
50+
51 /* header() */
52+ if (mad_bit_length(&stream->ptr, &bufend_ptr) < 32) {
53+ stream->error = MAD_ERROR_BUFLEN;
54+ return -1;
55+ }
56
57 /* syncword */
58 mad_bit_skip(&stream->ptr, 11);
59@@ -225,8 +232,13 @@ int decode_header(struct mad_header *header, struct mad_stream *stream)
60 /* error_check() */
61
62 /* crc_check */
63- if (header->flags & MAD_FLAG_PROTECTION)
64+ if (header->flags & MAD_FLAG_PROTECTION) {
65+ if (mad_bit_length(&stream->ptr, &bufend_ptr) < 16) {
66+ stream->error = MAD_ERROR_BUFLEN;
67+ return -1;
68+ }
69 header->crc_target = mad_bit_read(&stream->ptr, 16);
70+ }
71
72 return 0;
73 }
74@@ -338,7 +350,7 @@ int mad_header_decode(struct mad_header *header, struct mad_stream *stream)
75 stream->error = MAD_ERROR_BUFLEN;
76 goto fail;
77 }
78- else if (!(ptr[0] == 0xff && (ptr[1] & 0xe0) == 0xe0)) {
79+ else if ((end - ptr >= 2) && !(ptr[0] == 0xff && (ptr[1] & 0xe0) == 0xe0)) {
80 /* mark point where frame sync word was expected */
81 stream->this_frame = ptr;
82 stream->next_frame = ptr + 1;
83@@ -361,6 +373,8 @@ int mad_header_decode(struct mad_header *header, struct mad_stream *stream)
84 ptr = mad_bit_nextbyte(&stream->ptr);
85 }
86
87+ stream->error = MAD_ERROR_NONE;
88+
89 /* begin processing */
90 stream->this_frame = ptr;
91 stream->next_frame = ptr + 1; /* possibly bogus sync word */
92@@ -413,7 +427,7 @@ int mad_header_decode(struct mad_header *header, struct mad_stream *stream)
93 /* check that a valid frame header follows this frame */
94
95 ptr = stream->next_frame;
96- if (!(ptr[0] == 0xff && (ptr[1] & 0xe0) == 0xe0)) {
97+ if ((end - ptr >= 2) && !(ptr[0] == 0xff && (ptr[1] & 0xe0) == 0xe0)) {
98 ptr = stream->next_frame = stream->this_frame + 1;
99 goto sync;
100 }
101diff --git a/layer12.c b/layer12.c
102index 6981f9c..b6f4a2f 100644
103--- a/layer12.c
104+++ b/layer12.c
105@@ -72,10 +72,18 @@ mad_fixed_t const linear_table[14] = {
106 * DESCRIPTION: decode one requantized Layer I sample from a bitstream
107 */
108 static
109-mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb)
110+mad_fixed_t I_sample(struct mad_bitptr *ptr, unsigned int nb, struct mad_stream *stream)
111 {
112 mad_fixed_t sample;
113+ struct mad_bitptr frameend_ptr;
114
115+ mad_bit_init(&frameend_ptr, stream->next_frame);
116+
117+ if (mad_bit_length(ptr, &frameend_ptr) < nb) {
118+ stream->error = MAD_ERROR_LOSTSYNC;
119+ stream->sync = 0;
120+ return 0;
121+ }
122 sample = mad_bit_read(ptr, nb);
123
124 /* invert most significant bit, extend sign, then scale to fixed format */
125@@ -106,6 +114,10 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
126 struct mad_header *header = &frame->header;
127 unsigned int nch, bound, ch, s, sb, nb;
128 unsigned char allocation[2][32], scalefactor[2][32];
129+ struct mad_bitptr bufend_ptr, frameend_ptr;
130+
131+ mad_bit_init(&bufend_ptr, stream->bufend);
132+ mad_bit_init(&frameend_ptr, stream->next_frame);
133
134 nch = MAD_NCHANNELS(header);
135
136@@ -118,6 +130,11 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
137 /* check CRC word */
138
139 if (header->flags & MAD_FLAG_PROTECTION) {
140+ if (mad_bit_length(&stream->ptr, &bufend_ptr)
141+ < 4 * (bound * nch + (32 - bound))) {
142+ stream->error = MAD_ERROR_BADCRC;
143+ return -1;
144+ }
145 header->crc_check =
146 mad_bit_crc(stream->ptr, 4 * (bound * nch + (32 - bound)),
147 header->crc_check);
148@@ -133,6 +150,11 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
149
150 for (sb = 0; sb < bound; ++sb) {
151 for (ch = 0; ch < nch; ++ch) {
152+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 4) {
153+ stream->error = MAD_ERROR_LOSTSYNC;
154+ stream->sync = 0;
155+ return -1;
156+ }
157 nb = mad_bit_read(&stream->ptr, 4);
158
159 if (nb == 15) {
160@@ -145,6 +167,11 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
161 }
162
163 for (sb = bound; sb < 32; ++sb) {
164+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 4) {
165+ stream->error = MAD_ERROR_LOSTSYNC;
166+ stream->sync = 0;
167+ return -1;
168+ }
169 nb = mad_bit_read(&stream->ptr, 4);
170
171 if (nb == 15) {
172@@ -161,6 +188,11 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
173 for (sb = 0; sb < 32; ++sb) {
174 for (ch = 0; ch < nch; ++ch) {
175 if (allocation[ch][sb]) {
176+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 6) {
177+ stream->error = MAD_ERROR_LOSTSYNC;
178+ stream->sync = 0;
179+ return -1;
180+ }
181 scalefactor[ch][sb] = mad_bit_read(&stream->ptr, 6);
182
183 # if defined(OPT_STRICT)
184@@ -185,8 +217,10 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
185 for (ch = 0; ch < nch; ++ch) {
186 nb = allocation[ch][sb];
187 frame->sbsample[ch][s][sb] = nb ?
188- mad_f_mul(I_sample(&stream->ptr, nb),
189+ mad_f_mul(I_sample(&stream->ptr, nb, stream),
190 sf_table[scalefactor[ch][sb]]) : 0;
191+ if (stream->error != 0)
192+ return -1;
193 }
194 }
195
196@@ -194,7 +228,14 @@ int mad_layer_I(struct mad_stream *stream, struct mad_frame *frame)
197 if ((nb = allocation[0][sb])) {
198 mad_fixed_t sample;
199
200- sample = I_sample(&stream->ptr, nb);
201+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < nb) {
202+ stream->error = MAD_ERROR_LOSTSYNC;
203+ stream->sync = 0;
204+ return -1;
205+ }
206+ sample = I_sample(&stream->ptr, nb, stream);
207+ if (stream->error != 0)
208+ return -1;
209
210 for (ch = 0; ch < nch; ++ch) {
211 frame->sbsample[ch][s][sb] =
212@@ -280,13 +321,21 @@ struct quantclass {
213 static
214 void II_samples(struct mad_bitptr *ptr,
215 struct quantclass const *quantclass,
216- mad_fixed_t output[3])
217+ mad_fixed_t output[3], struct mad_stream *stream)
218 {
219 unsigned int nb, s, sample[3];
220+ struct mad_bitptr frameend_ptr;
221+
222+ mad_bit_init(&frameend_ptr, stream->next_frame);
223
224 if ((nb = quantclass->group)) {
225 unsigned int c, nlevels;
226
227+ if (mad_bit_length(ptr, &frameend_ptr) < quantclass->bits) {
228+ stream->error = MAD_ERROR_LOSTSYNC;
229+ stream->sync = 0;
230+ return;
231+ }
232 /* degrouping */
233 c = mad_bit_read(ptr, quantclass->bits);
234 nlevels = quantclass->nlevels;
235@@ -299,8 +348,14 @@ void II_samples(struct mad_bitptr *ptr,
236 else {
237 nb = quantclass->bits;
238
239- for (s = 0; s < 3; ++s)
240+ for (s = 0; s < 3; ++s) {
241+ if (mad_bit_length(ptr, &frameend_ptr) < nb) {
242+ stream->error = MAD_ERROR_LOSTSYNC;
243+ stream->sync = 0;
244+ return;
245+ }
246 sample[s] = mad_bit_read(ptr, nb);
247+ }
248 }
249
250 for (s = 0; s < 3; ++s) {
251@@ -336,6 +391,9 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
252 unsigned char const *offsets;
253 unsigned char allocation[2][32], scfsi[2][32], scalefactor[2][32][3];
254 mad_fixed_t samples[3];
255+ struct mad_bitptr frameend_ptr;
256+
257+ mad_bit_init(&frameend_ptr, stream->next_frame);
258
259 nch = MAD_NCHANNELS(header);
260
261@@ -402,13 +460,24 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
262 for (sb = 0; sb < bound; ++sb) {
263 nbal = bitalloc_table[offsets[sb]].nbal;
264
265- for (ch = 0; ch < nch; ++ch)
266+ for (ch = 0; ch < nch; ++ch) {
267+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < nbal) {
268+ stream->error = MAD_ERROR_LOSTSYNC;
269+ stream->sync = 0;
270+ return -1;
271+ }
272 allocation[ch][sb] = mad_bit_read(&stream->ptr, nbal);
273+ }
274 }
275
276 for (sb = bound; sb < sblimit; ++sb) {
277 nbal = bitalloc_table[offsets[sb]].nbal;
278
279+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < nbal) {
280+ stream->error = MAD_ERROR_LOSTSYNC;
281+ stream->sync = 0;
282+ return -1;
283+ }
284 allocation[0][sb] =
285 allocation[1][sb] = mad_bit_read(&stream->ptr, nbal);
286 }
287@@ -417,8 +486,14 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
288
289 for (sb = 0; sb < sblimit; ++sb) {
290 for (ch = 0; ch < nch; ++ch) {
291- if (allocation[ch][sb])
292+ if (allocation[ch][sb]) {
293+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 2) {
294+ stream->error = MAD_ERROR_LOSTSYNC;
295+ stream->sync = 0;
296+ return -1;
297+ }
298 scfsi[ch][sb] = mad_bit_read(&stream->ptr, 2);
299+ }
300 }
301 }
302
303@@ -441,6 +516,11 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
304 for (sb = 0; sb < sblimit; ++sb) {
305 for (ch = 0; ch < nch; ++ch) {
306 if (allocation[ch][sb]) {
307+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 6) {
308+ stream->error = MAD_ERROR_LOSTSYNC;
309+ stream->sync = 0;
310+ return -1;
311+ }
312 scalefactor[ch][sb][0] = mad_bit_read(&stream->ptr, 6);
313
314 switch (scfsi[ch][sb]) {
315@@ -451,11 +531,21 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
316 break;
317
318 case 0:
319+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 6) {
320+ stream->error = MAD_ERROR_LOSTSYNC;
321+ stream->sync = 0;
322+ return -1;
323+ }
324 scalefactor[ch][sb][1] = mad_bit_read(&stream->ptr, 6);
325 /* fall through */
326
327 case 1:
328 case 3:
329+ if (mad_bit_length(&stream->ptr, &frameend_ptr) < 6) {
330+ stream->error = MAD_ERROR_LOSTSYNC;
331+ stream->sync = 0;
332+ return -1;
333+ }
334 scalefactor[ch][sb][2] = mad_bit_read(&stream->ptr, 6);
335 }
336
337@@ -487,7 +577,9 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
338 if ((index = allocation[ch][sb])) {
339 index = offset_table[bitalloc_table[offsets[sb]].offset][index - 1];
340
341- II_samples(&stream->ptr, &qc_table[index], samples);
342+ II_samples(&stream->ptr, &qc_table[index], samples, stream);
343+ if (stream->error != 0)
344+ return -1;
345
346 for (s = 0; s < 3; ++s) {
347 frame->sbsample[ch][3 * gr + s][sb] =
348@@ -505,7 +597,9 @@ int mad_layer_II(struct mad_stream *stream, struct mad_frame *frame)
349 if ((index = allocation[0][sb])) {
350 index = offset_table[bitalloc_table[offsets[sb]].offset][index - 1];
351
352- II_samples(&stream->ptr, &qc_table[index], samples);
353+ II_samples(&stream->ptr, &qc_table[index], samples, stream);
354+ if (stream->error != 0)
355+ return -1;
356
357 for (ch = 0; ch < nch; ++ch) {
358 for (s = 0; s < 3; ++s) {
359diff --git a/layer3.c b/layer3.c
360index 7dc4ca6..59a81ed 100644
361--- a/layer3.c
362+++ b/layer3.c
363@@ -598,7 +598,8 @@ enum mad_error III_sideinfo(struct mad_bitptr *ptr, unsigned int nch,
364 static
365 unsigned int III_scalefactors_lsf(struct mad_bitptr *ptr,
366 struct channel *channel,
367- struct channel *gr1ch, int mode_extension)
368+ struct channel *gr1ch, int mode_extension,
369+ unsigned int bits_left, unsigned int *part2_length)
370 {
371 struct mad_bitptr start;
372 unsigned int scalefac_compress, index, slen[4], part, n, i;
373@@ -644,8 +645,12 @@ unsigned int III_scalefactors_lsf(struct mad_bitptr *ptr,
374
375 n = 0;
376 for (part = 0; part < 4; ++part) {
377- for (i = 0; i < nsfb[part]; ++i)
378+ for (i = 0; i < nsfb[part]; ++i) {
379+ if (bits_left < slen[part])
380+ return MAD_ERROR_BADSCFSI;
381 channel->scalefac[n++] = mad_bit_read(ptr, slen[part]);
382+ bits_left -= slen[part];
383+ }
384 }
385
386 while (n < 39)
387@@ -690,7 +695,10 @@ unsigned int III_scalefactors_lsf(struct mad_bitptr *ptr,
388 max = (1 << slen[part]) - 1;
389
390 for (i = 0; i < nsfb[part]; ++i) {
391+ if (bits_left < slen[part])
392+ return MAD_ERROR_BADSCFSI;
393 is_pos = mad_bit_read(ptr, slen[part]);
394+ bits_left -= slen[part];
395
396 channel->scalefac[n] = is_pos;
397 gr1ch->scalefac[n++] = (is_pos == max);
398@@ -703,7 +711,8 @@ unsigned int III_scalefactors_lsf(struct mad_bitptr *ptr,
399 }
400 }
401
402- return mad_bit_length(&start, ptr);
403+ *part2_length = mad_bit_length(&start, ptr);
404+ return MAD_ERROR_NONE;
405 }
406
407 /*
408@@ -712,7 +721,8 @@ unsigned int III_scalefactors_lsf(struct mad_bitptr *ptr,
409 */
410 static
411 unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
412- struct channel const *gr0ch, unsigned int scfsi)
413+ struct channel const *gr0ch, unsigned int scfsi,
414+ unsigned int bits_left, unsigned int *part2_length)
415 {
416 struct mad_bitptr start;
417 unsigned int slen1, slen2, sfbi;
418@@ -728,12 +738,20 @@ unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
419 sfbi = 0;
420
421 nsfb = (channel->flags & mixed_block_flag) ? 8 + 3 * 3 : 6 * 3;
422- while (nsfb--)
423+ while (nsfb--) {
424+ if (bits_left < slen1)
425+ return MAD_ERROR_BADSCFSI;
426 channel->scalefac[sfbi++] = mad_bit_read(ptr, slen1);
427+ bits_left -= slen1;
428+ }
429
430 nsfb = 6 * 3;
431- while (nsfb--)
432+ while (nsfb--) {
433+ if (bits_left < slen2)
434+ return MAD_ERROR_BADSCFSI;
435 channel->scalefac[sfbi++] = mad_bit_read(ptr, slen2);
436+ bits_left -= slen2;
437+ }
438
439 nsfb = 1 * 3;
440 while (nsfb--)
441@@ -745,8 +763,12 @@ unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
442 channel->scalefac[sfbi] = gr0ch->scalefac[sfbi];
443 }
444 else {
445- for (sfbi = 0; sfbi < 6; ++sfbi)
446+ for (sfbi = 0; sfbi < 6; ++sfbi) {
447+ if (bits_left < slen1)
448+ return MAD_ERROR_BADSCFSI;
449 channel->scalefac[sfbi] = mad_bit_read(ptr, slen1);
450+ bits_left -= slen1;
451+ }
452 }
453
454 if (scfsi & 0x4) {
455@@ -754,8 +776,12 @@ unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
456 channel->scalefac[sfbi] = gr0ch->scalefac[sfbi];
457 }
458 else {
459- for (sfbi = 6; sfbi < 11; ++sfbi)
460+ for (sfbi = 6; sfbi < 11; ++sfbi) {
461+ if (bits_left < slen1)
462+ return MAD_ERROR_BADSCFSI;
463 channel->scalefac[sfbi] = mad_bit_read(ptr, slen1);
464+ bits_left -= slen1;
465+ }
466 }
467
468 if (scfsi & 0x2) {
469@@ -763,8 +789,12 @@ unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
470 channel->scalefac[sfbi] = gr0ch->scalefac[sfbi];
471 }
472 else {
473- for (sfbi = 11; sfbi < 16; ++sfbi)
474+ for (sfbi = 11; sfbi < 16; ++sfbi) {
475+ if (bits_left < slen2)
476+ return MAD_ERROR_BADSCFSI;
477 channel->scalefac[sfbi] = mad_bit_read(ptr, slen2);
478+ bits_left -= slen2;
479+ }
480 }
481
482 if (scfsi & 0x1) {
483@@ -772,14 +802,19 @@ unsigned int III_scalefactors(struct mad_bitptr *ptr, struct channel *channel,
484 channel->scalefac[sfbi] = gr0ch->scalefac[sfbi];
485 }
486 else {
487- for (sfbi = 16; sfbi < 21; ++sfbi)
488+ for (sfbi = 16; sfbi < 21; ++sfbi) {
489+ if (bits_left < slen2)
490+ return MAD_ERROR_BADSCFSI;
491 channel->scalefac[sfbi] = mad_bit_read(ptr, slen2);
492+ bits_left -= slen2;
493+ }
494 }
495
496 channel->scalefac[21] = 0;
497 }
498
499- return mad_bit_length(&start, ptr);
500+ *part2_length = mad_bit_length(&start, ptr);
501+ return MAD_ERROR_NONE;
502 }
503
504 /*
505@@ -933,19 +968,17 @@ static
506 enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
507 struct channel *channel,
508 unsigned char const *sfbwidth,
509- unsigned int part2_length)
510+ signed int part3_length)
511 {
512 signed int exponents[39], exp;
513 signed int const *expptr;
514 struct mad_bitptr peek;
515- signed int bits_left, cachesz;
516+ signed int bits_left, cachesz, fakebits;
517 register mad_fixed_t *xrptr;
518 mad_fixed_t const *sfbound;
519 register unsigned long bitcache;
520
521- bits_left = (signed) channel->part2_3_length - (signed) part2_length;
522- if (bits_left < 0)
523- return MAD_ERROR_BADPART3LEN;
524+ bits_left = part3_length;
525
526 III_exponents(channel, sfbwidth, exponents);
527
528@@ -956,8 +989,12 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
529 cachesz = mad_bit_bitsleft(&peek);
530 cachesz += ((32 - 1 - 24) + (24 - cachesz)) & ~7;
531
532+ if (bits_left < cachesz) {
533+ cachesz = bits_left;
534+ }
535 bitcache = mad_bit_read(&peek, cachesz);
536 bits_left -= cachesz;
537+ fakebits = 0;
538
539 xrptr = &xr[0];
540
541@@ -986,7 +1023,7 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
542
543 big_values = channel->big_values;
544
545- while (big_values-- && cachesz + bits_left > 0) {
546+ while (big_values-- && cachesz + bits_left - fakebits > 0) {
547 union huffpair const *pair;
548 unsigned int clumpsz, value;
549 register mad_fixed_t requantized;
550@@ -1023,10 +1060,19 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
551 unsigned int bits;
552
553 bits = ((32 - 1 - 21) + (21 - cachesz)) & ~7;
554+ if (bits_left < bits) {
555+ bits = bits_left;
556+ }
557 bitcache = (bitcache << bits) | mad_bit_read(&peek, bits);
558 cachesz += bits;
559 bits_left -= bits;
560 }
561+ if (cachesz < 21) {
562+ unsigned int bits = 21 - cachesz;
563+ bitcache <<= bits;
564+ cachesz += bits;
565+ fakebits += bits;
566+ }
567
568 /* hcod (0..19) */
569
570@@ -1041,6 +1087,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
571 }
572
573 cachesz -= pair->value.hlen;
574+ if (cachesz < fakebits)
575+ return MAD_ERROR_BADHUFFDATA;
576
577 if (linbits) {
578 /* x (0..14) */
579@@ -1054,10 +1102,15 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
580
581 case 15:
582 if (cachesz < linbits + 2) {
583- bitcache = (bitcache << 16) | mad_bit_read(&peek, 16);
584- cachesz += 16;
585- bits_left -= 16;
586+ unsigned int bits = 16;
587+ if (bits_left < 16)
588+ bits = bits_left;
589+ bitcache = (bitcache << bits) | mad_bit_read(&peek, bits);
590+ cachesz += bits;
591+ bits_left -= bits;
592 }
593+ if (cachesz - fakebits < linbits)
594+ return MAD_ERROR_BADHUFFDATA;
595
596 value += MASK(bitcache, cachesz, linbits);
597 cachesz -= linbits;
598@@ -1074,6 +1127,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
599 }
600
601 x_final:
602+ if (cachesz - fakebits < 1)
603+ return MAD_ERROR_BADHUFFDATA;
604 xrptr[0] = MASK1BIT(bitcache, cachesz--) ?
605 -requantized : requantized;
606 }
607@@ -1089,10 +1144,15 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
608
609 case 15:
610 if (cachesz < linbits + 1) {
611- bitcache = (bitcache << 16) | mad_bit_read(&peek, 16);
612- cachesz += 16;
613- bits_left -= 16;
614+ unsigned int bits = 16;
615+ if (bits_left < 16)
616+ bits = bits_left;
617+ bitcache = (bitcache << bits) | mad_bit_read(&peek, bits);
618+ cachesz += bits;
619+ bits_left -= bits;
620 }
621+ if (cachesz - fakebits < linbits)
622+ return MAD_ERROR_BADHUFFDATA;
623
624 value += MASK(bitcache, cachesz, linbits);
625 cachesz -= linbits;
626@@ -1109,6 +1169,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
627 }
628
629 y_final:
630+ if (cachesz - fakebits < 1)
631+ return MAD_ERROR_BADHUFFDATA;
632 xrptr[1] = MASK1BIT(bitcache, cachesz--) ?
633 -requantized : requantized;
634 }
635@@ -1128,6 +1190,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
636 requantized = reqcache[value] = III_requantize(value, exp);
637 }
638
639+ if (cachesz - fakebits < 1)
640+ return MAD_ERROR_BADHUFFDATA;
641 xrptr[0] = MASK1BIT(bitcache, cachesz--) ?
642 -requantized : requantized;
643 }
644@@ -1146,6 +1210,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
645 requantized = reqcache[value] = III_requantize(value, exp);
646 }
647
648+ if (cachesz - fakebits < 1)
649+ return MAD_ERROR_BADHUFFDATA;
650 xrptr[1] = MASK1BIT(bitcache, cachesz--) ?
651 -requantized : requantized;
652 }
653@@ -1155,9 +1221,6 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
654 }
655 }
656
657- if (cachesz + bits_left < 0)
658- return MAD_ERROR_BADHUFFDATA; /* big_values overrun */
659-
660 /* count1 */
661 {
662 union huffquad const *table;
663@@ -1167,15 +1230,24 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
664
665 requantized = III_requantize(1, exp);
666
667- while (cachesz + bits_left > 0 && xrptr <= &xr[572]) {
668+ while (cachesz + bits_left - fakebits > 0 && xrptr <= &xr[572]) {
669 union huffquad const *quad;
670
671 /* hcod (1..6) */
672
673 if (cachesz < 10) {
674- bitcache = (bitcache << 16) | mad_bit_read(&peek, 16);
675- cachesz += 16;
676- bits_left -= 16;
677+ unsigned int bits = 16;
678+ if (bits_left < 16)
679+ bits = bits_left;
680+ bitcache = (bitcache << bits) | mad_bit_read(&peek, bits);
681+ cachesz += bits;
682+ bits_left -= bits;
683+ }
684+ if (cachesz < 10) {
685+ unsigned int bits = 10 - cachesz;
686+ bitcache <<= bits;
687+ cachesz += bits;
688+ fakebits += bits;
689 }
690
691 quad = &table[MASK(bitcache, cachesz, 4)];
692@@ -1188,6 +1260,11 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
693 MASK(bitcache, cachesz, quad->ptr.bits)];
694 }
695
696+ if (cachesz - fakebits < quad->value.hlen + quad->value.v
697+ + quad->value.w + quad->value.x + quad->value.y)
698+ /* We don't have enough bits to read one more entry, consider them
699+ * stuffing bits. */
700+ break;
701 cachesz -= quad->value.hlen;
702
703 if (xrptr == sfbound) {
704@@ -1236,22 +1313,8 @@ enum mad_error III_huffdecode(struct mad_bitptr *ptr, mad_fixed_t xr[576],
705
706 xrptr += 2;
707 }
708-
709- if (cachesz + bits_left < 0) {
710-# if 0 && defined(DEBUG)
711- fprintf(stderr, "huffman count1 overrun (%d bits)\n",
712- -(cachesz + bits_left));
713-# endif
714-
715- /* technically the bitstream is misformatted, but apparently
716- some encoders are just a bit sloppy with stuffing bits */
717-
718- xrptr -= 4;
719- }
720 }
721
722- assert(-bits_left <= MAD_BUFFER_GUARD * CHAR_BIT);
723-
724 # if 0 && defined(DEBUG)
725 if (bits_left < 0)
726 fprintf(stderr, "read %d bits too many\n", -bits_left);
727@@ -2348,10 +2411,11 @@ void III_freqinver(mad_fixed_t sample[18][32], unsigned int sb)
728 */
729 static
730 enum mad_error III_decode(struct mad_bitptr *ptr, struct mad_frame *frame,
731- struct sideinfo *si, unsigned int nch)
732+ struct sideinfo *si, unsigned int nch, unsigned int md_len)
733 {
734 struct mad_header *header = &frame->header;
735 unsigned int sfreqi, ngr, gr;
736+ int bits_left = md_len * CHAR_BIT;
737
738 {
739 unsigned int sfreq;
740@@ -2383,6 +2447,7 @@ enum mad_error III_decode(struct mad_bitptr *ptr, struct mad_frame *frame,
741 for (ch = 0; ch < nch; ++ch) {
742 struct channel *channel = &granule->ch[ch];
743 unsigned int part2_length;
744+ unsigned int part3_length;
745
746 sfbwidth[ch] = sfbwidth_table[sfreqi].l;
747 if (channel->block_type == 2) {
748@@ -2391,18 +2456,30 @@ enum mad_error III_decode(struct mad_bitptr *ptr, struct mad_frame *frame,
749 }
750
751 if (header->flags & MAD_FLAG_LSF_EXT) {
752- part2_length = III_scalefactors_lsf(ptr, channel,
753+ error = III_scalefactors_lsf(ptr, channel,
754 ch == 0 ? 0 : &si->gr[1].ch[1],
755- header->mode_extension);
756+ header->mode_extension, bits_left, &part2_length);
757 }
758 else {
759- part2_length = III_scalefactors(ptr, channel, &si->gr[0].ch[ch],
760- gr == 0 ? 0 : si->scfsi[ch]);
761+ error = III_scalefactors(ptr, channel, &si->gr[0].ch[ch],
762+ gr == 0 ? 0 : si->scfsi[ch], bits_left, &part2_length);
763 }
764+ if (error)
765+ return error;
766
767- error = III_huffdecode(ptr, xr[ch], channel, sfbwidth[ch], part2_length);
768+ bits_left -= part2_length;
769+
770+ if (part2_length > channel->part2_3_length)
771+ return MAD_ERROR_BADPART3LEN;
772+
773+ part3_length = channel->part2_3_length - part2_length;
774+ if (part3_length > bits_left)
775+ return MAD_ERROR_BADPART3LEN;
776+
777+ error = III_huffdecode(ptr, xr[ch], channel, sfbwidth[ch], part3_length);
778 if (error)
779 return error;
780+ bits_left -= part3_length;
781 }
782
783 /* joint stereo processing */
784@@ -2519,11 +2596,13 @@ int mad_layer_III(struct mad_stream *stream, struct mad_frame *frame)
785 unsigned int nch, priv_bitlen, next_md_begin = 0;
786 unsigned int si_len, data_bitlen, md_len;
787 unsigned int frame_space, frame_used, frame_free;
788- struct mad_bitptr ptr;
789+ struct mad_bitptr ptr, bufend_ptr;
790 struct sideinfo si;
791 enum mad_error error;
792 int result = 0;
793
794+ mad_bit_init(&bufend_ptr, stream->bufend);
795+
796 /* allocate Layer III dynamic structures */
797
798 if (stream->main_data == 0) {
799@@ -2587,14 +2666,15 @@ int mad_layer_III(struct mad_stream *stream, struct mad_frame *frame)
800 unsigned long header;
801
802 mad_bit_init(&peek, stream->next_frame);
803+ if (mad_bit_length(&peek, &bufend_ptr) >= 57) {
804+ header = mad_bit_read(&peek, 32);
805+ if ((header & 0xffe60000L) /* syncword | layer */ == 0xffe20000L) {
806+ if (!(header & 0x00010000L)) /* protection_bit */
807+ mad_bit_skip(&peek, 16); /* crc_check */
808
809- header = mad_bit_read(&peek, 32);
810- if ((header & 0xffe60000L) /* syncword | layer */ == 0xffe20000L) {
811- if (!(header & 0x00010000L)) /* protection_bit */
812- mad_bit_skip(&peek, 16); /* crc_check */
813-
814- next_md_begin =
815- mad_bit_read(&peek, (header & 0x00080000L) /* ID */ ? 9 : 8);
816+ next_md_begin =
817+ mad_bit_read(&peek, (header & 0x00080000L) /* ID */ ? 9 : 8);
818+ }
819 }
820
821 mad_bit_finish(&peek);
822@@ -2653,7 +2733,7 @@ int mad_layer_III(struct mad_stream *stream, struct mad_frame *frame)
823 /* decode main_data */
824
825 if (result == 0) {
826- error = III_decode(&ptr, frame, &si, nch);
827+ error = III_decode(&ptr, frame, &si, nch, md_len);
828 if (error) {
829 stream->error = error;
830 result = -1;
diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
index e70c8e3ed1..0f89574b9a 100644
--- a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
+++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
@@ -16,12 +16,16 @@ SRC_URI = "https://downloads.sourceforge.net/mad/libmad-${PV}.tar.gz \
16 file://obsolete_automake_macros.patch \ 16 file://obsolete_automake_macros.patch \
17 file://automake-foreign.patch \ 17 file://automake-foreign.patch \
18 file://0001-configure-Respect-the-cflags-from-environment.patch \ 18 file://0001-configure-Respect-the-cflags-from-environment.patch \
19 file://CVE-2017-8372_CVE-2017-8373.patch \
20 file://CVE-2017-8374.patch \
19" 21"
20SRC_URI:append:toolchain-clang = " file://0004-Remove-clang-unsupported-compiler-flags.patch " 22SRC_URI:append:toolchain-clang = " file://0004-Remove-clang-unsupported-compiler-flags.patch "
21 23
22SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" 24SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690"
23 25
24S = "${WORKDIR}/libmad-${PV}" 26CVE_PRODUCT:append = " mad_libmad"
27
28S = "${UNPACKDIR}/libmad-${PV}"
25 29
26inherit autotools pkgconfig 30inherit autotools pkgconfig
27 31
@@ -34,3 +38,6 @@ do_configure:prepend () {
34} 38}
35 39
36ARM_INSTRUCTION_SET = "arm" 40ARM_INSTRUCTION_SET = "arm"
41
42CVE_STATUS[CVE-2017-11552] = "cpe-incorrect: this CVE is for mpg321, not libmad"
43CVE_STATUS[CVE-2018-7263] = "cpe-incorrect: this CVE is for mpg321, not libmad"
diff --git a/meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb b/meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb
index 62c20c6122..9fcb8a1dc0 100644
--- a/meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb
+++ b/meta-oe/recipes-multimedia/libmms/libmms_0.6.4.bb
@@ -6,7 +6,6 @@ LICENSE = "LGPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" 6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz" 8SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz"
9SRC_URI[md5sum] = "d6b665b335a6360e000976e770da7691"
10SRC_URI[sha256sum] = "3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f" 9SRC_URI[sha256sum] = "3c05e05aebcbfcc044d9e8c2d4646cd8359be39a3f0ba8ce4e72a9094bee704f"
11 10
12inherit autotools pkgconfig 11inherit autotools pkgconfig
diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb
index 02958ef023..642f34f71d 100644
--- a/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb
+++ b/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b365c2155d66e550e1447075d6744a5"
11SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz" 11SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
12SRC_URI[sha256sum] = "65c1d2f78b9f2fb20082c38cbe47c951ad5839345876e46941612ee87f9a7ce1" 12SRC_URI[sha256sum] = "65c1d2f78b9f2fb20082c38cbe47c951ad5839345876e46941612ee87f9a7ce1"
13 13
14S = "${WORKDIR}/opus-${PV}" 14S = "${UNPACKDIR}/opus-${PV}"
15 15
16inherit autotools pkgconfig 16inherit autotools pkgconfig
17 17
diff --git a/meta-oe/recipes-multimedia/libopusenc/libopusenc_0.2.1.bb b/meta-oe/recipes-multimedia/libopusenc/libopusenc_0.2.1.bb
index 596c5fe86d..fb822d7a0e 100644
--- a/meta-oe/recipes-multimedia/libopusenc/libopusenc_0.2.1.bb
+++ b/meta-oe/recipes-multimedia/libopusenc/libopusenc_0.2.1.bb
@@ -8,12 +8,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=174b92049c2c697eb73112801662a07c"
8 8
9DEPENDS = "libopus" 9DEPENDS = "libopus"
10 10
11UPSTREAM_CHECK_URI = "https://github.com/xiph/libopusenc/releases" 11UPSTREAM_CHECK_URI = "https://github.com/xiph/libopusenc/tags"
12UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
12 13
13SRC_URI = "https://ftp.osuosl.org/pub/xiph/releases/opus/libopusenc-${PV}.tar.gz" 14SRC_URI = "https://ftp.osuosl.org/pub/xiph/releases/opus/libopusenc-${PV}.tar.gz"
14SRC_URI[md5sum] = "f038ea0f4168d184c76b42d293697c57"
15SRC_URI[sha256sum] = "8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9" 15SRC_URI[sha256sum] = "8298db61a8d3d63e41c1a80705baa8ce9ff3f50452ea7ec1c19a564fe106cbb9"
16 16
17S = "${WORKDIR}/libopusenc-${PV}" 17S = "${UNPACKDIR}/libopusenc-${PV}"
18 18
19inherit autotools pkgconfig 19inherit autotools pkgconfig
diff --git a/meta-oe/recipes-multimedia/libxmp/libxmp_4.6.3.bb b/meta-oe/recipes-multimedia/libxmp/libxmp_4.6.3.bb
new file mode 100644
index 0000000000..c302f65ed5
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libxmp/libxmp_4.6.3.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Extended Module Player Library"
2HOMEPAGE = "http://xmp.sourceforge.net/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://README;beginline=59;md5=ea030bd80f99071b0d3f9a9f752d1ca8"
5
6inherit cmake pkgconfig
7
8SRC_URI = "git://github.com/libxmp/libxmp.git;protocol=https;branch=master;tag=libxmp-${PV}"
9SRCREV = "bed660f8e530d399c38f27a5a7732f4e79740585"
10
diff --git a/meta-oe/recipes-multimedia/live555/live555_20210824.bb b/meta-oe/recipes-multimedia/live555/live555_20210824.bb
index 80c770c3e3..1622a97fe1 100644
--- a/meta-oe/recipes-multimedia/live555/live555_20210824.bb
+++ b/meta-oe/recipes-multimedia/live555/live555_20210824.bb
@@ -18,7 +18,7 @@ MIRRORS += "http://www.live555.com/liveMedia/public/ http://download.videolan.or
18 18
19SRC_URI[sha256sum] = "ce95a1c79f6d18e959f9dc129b8529b711c60e76754acc285e60946303b923ec" 19SRC_URI[sha256sum] = "ce95a1c79f6d18e959f9dc129b8529b711c60e76754acc285e60946303b923ec"
20 20
21S = "${WORKDIR}/live" 21S = "${UNPACKDIR}/live"
22 22
23LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 23LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
24 file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02 \ 24 file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02 \
diff --git a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.11.1.bb b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.11.1.bb
index e0712ba930..d7a2820a79 100644
--- a/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.11.1.bb
+++ b/meta-oe/recipes-multimedia/mikmod/libmikmod_3.3.11.1.bb
@@ -8,7 +8,6 @@ DEPENDS = "alsa-lib texinfo"
8SRC_URI = "\ 8SRC_URI = "\
9 ${SOURCEFORGE_MIRROR}/project/mikmod/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ 9 ${SOURCEFORGE_MIRROR}/project/mikmod/${BPN}/${PV}/${BPN}-${PV}.tar.gz \
10" 10"
11SRC_URI[md5sum] = "f69d7dd06d307e888f466fc27f4f680b"
12SRC_URI[sha256sum] = "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19" 11SRC_URI[sha256sum] = "ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19"
13 12
14inherit autotools binconfig lib_package 13inherit autotools binconfig lib_package
diff --git a/meta-oe/recipes-multimedia/mplayer/libplacebo_7.351.0.bb b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.351.0.bb
new file mode 100644
index 0000000000..68a29dde91
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/libplacebo_7.351.0.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Reusable library for GPU-accelerated video/image rendering primitives"
2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=435ed639f84d4585d93824e7da3d85da"
4
5DEPENDS += "fastfloat glad-native python3-mako-native python3-jinja2-native vulkan-headers"
6
7SRC_URI = "git://code.videolan.org/videolan/libplacebo.git;protocol=https;branch=v7.351"
8SRCREV = "3188549fba13bbdf3a5a98de2a38c2e71f04e21e"
9
10inherit meson pkgconfig
11
12
13PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan opengl', d)} lcms"
14
15PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc spirv-shader-generator"
16PACKAGECONFIG[glslang] = "-Dglslang=enabled,-Dglslang=disabled,glslang"
17PACKAGECONFIG[opengl] = "-Dopengl=enabled,-Dopengl=disabled"
18PACKAGECONFIG[lcms] = "-Dlcms=enabled,-Dlcms=disabled,lcms"
19PACKAGECONFIG[demos] = "-Ddemos=true,-Ddemos=false,ffmpeg virtual/libsdl2 libsdl2-image"
20
21EXTRA_OEMESON = "-Dvulkan-registry=${STAGING_DATADIR}/vulkan/registry/vk.xml"
22
23do_install:append(){
24 if [ -f ${D}${libdir}/pkgconfig/libplacebo.pc ]; then
25 sed -i "s,${RECIPE_SYSROOT}${libdir}/libSPIRV.so,-lSPIRV,g" ${D}${libdir}/pkgconfig/libplacebo.pc
26 sed -i "s,${RECIPE_SYSROOT}${libdir}/libglslang.so,-lglslang,g" ${D}${libdir}/pkgconfig/libplacebo.pc
27 fi
28}
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb
deleted file mode 100644
index 0f50a6e8fe..0000000000
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.35.1.bb
+++ /dev/null
@@ -1,116 +0,0 @@
1SUMMARY = "Open Source multimedia player"
2DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more."
3SECTION = "multimedia"
4HOMEPAGE = "http://www.mpv.io/"
5
6DEPENDS = " \
7 zlib \
8 ffmpeg \
9 jpeg \
10 libv4l \
11 libass \
12"
13
14LICENSE = "GPL-2.0-or-later"
15LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
16
17SRCREV_mpv = "140ec21c89d671d392877a7f3b91d67e7d7b9239"
18SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/0.35;protocol=https \
19 https://waf.io/waf-2.0.25;name=waf;subdir=git \
20 "
21SRC_URI[waf.sha256sum] = "21199cd220ccf60434133e1fd2ab8c8e5217c3799199c82722543970dc8e38d5"
22
23S = "${WORKDIR}/git"
24
25inherit waf pkgconfig mime-xdg
26
27LDFLAGS:append:riscv64 = " -latomic"
28
29LUA ?= "lua"
30LUA:mips64 = ""
31LUA:powerpc64 = ""
32LUA:powerpc64le = ""
33LUA:riscv64 = ""
34LUA:riscv32 = ""
35LUA:powerpc = ""
36
37# Note: lua is required to get on-screen-display (controls)
38PACKAGECONFIG ??= " \
39 ${LUA} \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \
41 ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
42 ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \
43"
44
45PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 xsp libxv libxscrnsaver libxinerama libxpresent libxext"
46PACKAGECONFIG[xv] = "--enable-xv,--disable-xv,libxv"
47PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
48PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
49PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,libdrm"
50PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm,virtual/libgbm"
51PACKAGECONFIG[lua] = "--enable-lua,--disable-lua,lua luajit"
52PACKAGECONFIG[libarchive] = "--enable-libarchive,--disable-libarchive,libarchive"
53PACKAGECONFIG[jack] = "--enable-jack, --disable-jack, jack"
54PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva"
55PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau"
56PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland wayland-native libxkbcommon"
57
58python __anonymous() {
59 packageconfig = (d.getVar("PACKAGECONFIG") or "").split()
60 extras = []
61 if "x11" in packageconfig and "opengl" in packageconfig:
62 extras.append(" --enable-gl-x11")
63 if "x11" in packageconfig and "egl" in packageconfig:
64 extras.append(" --enable-egl-x11")
65 if "egl" in packageconfig and "drm" in packageconfig:
66 extras.append(" --enable-egl-drm")
67 if "vaapi" in packageconfig and "x11" in packageconfig:
68 extras.append(" --enable-vaapi-x11")
69 if "vaapi" in packageconfig and "drm" in packageconfig:
70 extras.append(" --enable-vaapi-drm")
71 if "vaapi" in packageconfig and "x11" in packageconfig and "egl" in packageconfig:
72 extras.append(" --enable-vaapi-x-egl")
73 if "vdpau" in packageconfig and "opengl" in packageconfig and "x11" in packageconfig:
74 extras.append(" --enable-vdpau-gl-x11")
75 if "wayland" in packageconfig and "opengl" in packageconfig:
76 extras.append(" --enable-gl-wayland")
77 if "wayland" in packageconfig and "vaapi" in packageconfig:
78 extras.append(" --enable-vaapi-wayland")
79 if extras:
80 d.appendVar("EXTRA_OECONF", "".join(extras))
81}
82
83SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}"
84
85EXTRA_OECONF = " \
86 --prefix=${prefix} \
87 --target=${SIMPLE_TARGET_SYS} \
88 --confdir=${sysconfdir} \
89 --datadir=${datadir} \
90 --disable-manpage-build \
91 --disable-libbluray \
92 --disable-dvdnav \
93 --disable-cdda \
94 --disable-uchardet \
95 --disable-rubberband \
96 --disable-lcms2 \
97 --disable-vapoursynth \
98 ${PACKAGECONFIG_CONFARGS} \
99"
100
101do_configure:append() {
102 sed -i -e 's#${WORKDIR}#<WORKDIR>#g' ${B}/config.h
103}
104
105link_waf() {
106 ln -s waf-2.0.25 ${S}/waf
107}
108do_unpack[postfuncs] += "link_waf"
109
110FILES:${PN} += " \
111 ${datadir}/icons \
112 ${datadir}/zsh \
113 ${datadir}/bash-completion \
114 ${datadir}/metainfo \
115 "
116EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
new file mode 100644
index 0000000000..3223dd69d7
--- /dev/null
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
@@ -0,0 +1,102 @@
1SUMMARY = "Open Source multimedia player"
2DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more."
3SECTION = "multimedia"
4HOMEPAGE = "http://www.mpv.io/"
5
6DEPENDS = " \
7 zlib \
8 ffmpeg \
9 jpeg \
10 libv4l \
11 libass \
12 libdisplay-info \
13 libplacebo \
14"
15
16LICENSE = "GPL-2.0-or-later"
17LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=570a9b3749dd0463a1778803b12a6dce"
18
19SRCREV = "e48ac7ce08462f5e33af6ef9deeac6fa87eef01e"
20SRC_URI = "git://github.com/mpv-player/mpv;name=mpv;branch=release/${@oe.utils.trim_version('${PV}', 2)};protocol=https"
21
22inherit meson pkgconfig mime-xdg
23
24LDFLAGS:append:riscv64 = " -latomic"
25
26LUA ?= "lua"
27LUA:mips64 = ""
28LUA:powerpc64 = ""
29LUA:powerpc64le = ""
30LUA:riscv64 = ""
31LUA:riscv32 = ""
32LUA:powerpc = ""
33
34# Note: lua is required to get on-screen-display (controls)
35PACKAGECONFIG ??= " \
36 libmpv \
37 ${LUA} \
38 ${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland opengl pipewire pulseaudio vulkan', d)} \
39 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'egl', '', d)} \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'drm gbm', '', d)} \
41"
42
43PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 xsp libxv libxscrnsaver libxinerama libxpresent libxext"
44PACKAGECONFIG[xv] = "-Dxv=enabled,-Dxv=disabled,libxv"
45PACKAGECONFIG[opengl] = "-Dgl=enabled,-Dgl=disabled,virtual/libgl"
46PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
47PACKAGECONFIG[drm] = "-Ddrm=enabled,-Ddrm=disabled,libdrm"
48PACKAGECONFIG[gbm] = "-Dgbm=enabled,-Dgbm=disabled,virtual/libgbm"
49PACKAGECONFIG[lua] = "-Dlua=luajit,-Dlua=disabled,luajit"
50PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
51PACKAGECONFIG[lcms2] = "-Dlcms2=enabled,-Dlcms2=disabled,lcms"
52PACKAGECONFIG[libmpv] = "-Dlibmpv=true,-Dlibmpv=false"
53PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,jack"
54PACKAGECONFIG[pipewire] = "-Dpipewire=enabled,-Dpipewire=disabled,pipewire"
55PACKAGECONFIG[pulseaudio] = "-Dpulse=enabled,-Dpulse=disabled,pulseaudio"
56PACKAGECONFIG[vaapi] = "-Dvaapi=enabled,-Dvaapi=disabled,libva"
57PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-headers"
58PACKAGECONFIG[vdpau] = "-Dvdpau=enabled,-Dvdpau=disabled,libvdpau nv-codec-headers"
59PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland wayland-native libxkbcommon"
60
61python __anonymous() {
62 packageconfig = (d.getVar("PACKAGECONFIG") or "").split()
63 extras = []
64 if "x11" in packageconfig and "opengl" in packageconfig:
65 extras.append(" -Dgl-x11=enabled")
66 if "x11" in packageconfig and "egl" in packageconfig:
67 extras.append(" -Degl-x11=enabled")
68 if "egl" in packageconfig and "drm" in packageconfig:
69 extras.append(" -Degl-drm=enabled")
70 if "vaapi" in packageconfig and "x11" in packageconfig:
71 extras.append(" -Dvaapi-x11=enabled")
72 if "vaapi" in packageconfig and "drm" in packageconfig:
73 extras.append(" -Dvaapi-drm=enabled")
74 if "vdpau" in packageconfig and "opengl" in packageconfig and "x11" in packageconfig:
75 extras.append(" -Dvdpau-gl-x11=enabled")
76 if "wayland" in packageconfig and "opengl" in packageconfig:
77 extras.append(" -Degl-wayland=enabled")
78 if "wayland" in packageconfig and "vaapi" in packageconfig:
79 extras.append(" -Dvaapi-wayland=enabled")
80 if extras:
81 d.appendVar("EXTRA_OEMESON", "".join(extras))
82}
83
84#SIMPLE_TARGET_SYS = "${@'${TARGET_SYS}'.replace('${TARGET_VENDOR}', '')}"
85
86EXTRA_OEMESON = " \
87 -Dmanpage-build=disabled \
88 -Dlibbluray=disabled \
89 -Ddvdnav=disabled \
90 -Dcdda=disabled \
91 -Duchardet=disabled \
92 -Drubberband=disabled \
93 -Dvapoursynth=disabled \
94 -Dshaderc=disabled \
95"
96
97do_configure:append() {
98 sed -i -e 's#${WORKDIR}#<WORKDIR>#g' ${B}/config.h
99}
100
101FILES:${PN} += "${datadir}"
102EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"
diff --git a/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_5.0.bb b/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_5.0.bb
index 012fc3a94d..29500bdb94 100644
--- a/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_5.0.bb
+++ b/meta-oe/recipes-multimedia/pulseaudio/pavucontrol_5.0.bb
@@ -14,7 +14,7 @@ inherit autotools features_check perlnative pkgconfig
14 14
15ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 15ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
16 16
17SRC_URI = "http://freedesktop.org/software/pulseaudio/${BPN}/${BP}.tar.xz" 17SRC_URI = "http://www.freedesktop.org/software/pulseaudio/${BPN}/${BP}.tar.xz"
18SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'file://0001-pavucontrol-remove-canberra-gtk-support.patch', '', d)}" 18SRC_URI:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'file://0001-pavucontrol-remove-canberra-gtk-support.patch', '', d)}"
19 19
20SRC_URI[sha256sum] = "ce2b72c3b5f1a70ad0df19dd81750f9455bd20870d1d3a36d20536af2e8f4e7a" 20SRC_URI[sha256sum] = "ce2b72c3b5f1a70ad0df19dd81750f9455bd20870d1d3a36d20536af2e8f4e7a"
diff --git a/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb b/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
index 87320a98e8..ed9f561a5e 100644
--- a/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
+++ b/meta-oe/recipes-multimedia/sound-themes/sound-theme-freedesktop_0.8.bb
@@ -11,6 +11,5 @@ inherit autotools gettext
11 11
12DEPENDS += "glib-2.0-native" 12DEPENDS += "glib-2.0-native"
13 13
14SRC_URI = "http://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2" 14SRC_URI = "https://people.freedesktop.org/~mccann/dist/${BPN}-${PV}.tar.bz2"
15SRC_URI[md5sum] = "d7387912cfd275282d1ec94483cb2f62"
16SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" 15SRC_URI[sha256sum] = "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14"
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch
deleted file mode 100644
index 64c01e4977..0000000000
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 502c0302827cec3d2b2a69fb25189646685ef2ff Mon Sep 17 00:00:00 2001
2From: Fabio Estevam <festevam@denx.de>
3Date: Fri, 12 Jan 2024 00:17:14 -0300
4Subject: [PATCH] keytable: meson: Restrict the installation of
5 50-rc_keymap.conf
6
7Currently, meson tries to install 50-rc_keymap.conf even if systemd
8is not used.
9
10Commit 01f2c6c58e6f ("keytable: restrict installation of 50-rc_keymap.conf"),
11only allowed 50-rc_keymap.conf to be installed when both BPF and systemd
12were used.
13
14Apply the same logic in meson to fix the problem.
15
16Signed-off-by: Fabio Estevam <festevam@denx.de>
17Signed-off-by: Sean Young <sean@mess.org>
18Upstream-Status: Backport [https://git.linuxtv.org/v4l-utils.git/commit/?id=a21924ec424c4744af6f2a794e0677eba35dd168]
19---
20 utils/keytable/meson.build | 4 ++++
21 1 file changed, 4 insertions(+)
22
23diff --git a/utils/keytable/meson.build b/utils/keytable/meson.build
24index 4130a4bea514..76ce329eae8e 100644
25--- a/utils/keytable/meson.build
26+++ b/utils/keytable/meson.build
27@@ -69,6 +69,8 @@ ir_keytable_udev_rules = files(
28 install_data(ir_keytable_udev_rules,
29 install_dir : ir_keytable_system_dir / 'rules.d')
30
31+if ir_bpf_enabled
32+if dep_systemd.found()
33 if have_udevdsyscallfilter
34 ir_keytable_systemd_files = files(
35 '50-rc_keymap.conf',
36@@ -76,6 +78,8 @@ if have_udevdsyscallfilter
37 install_data(ir_keytable_systemd_files,
38 install_dir : systemd_systemdir / 'systemd-udevd.service.d')
39 endif
40+endif
41+endif
42
43 # Install non-existing directory to create empty directory structure
44 # See: https://github.com/mesonbuild/meson/issues/2904
45--
462.34.1
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-ctl-Install-media-ctl-header-and-library-files.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-ctl-Install-media-ctl-header-and-library-files.patch
new file mode 100644
index 0000000000..6c946d8c48
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-media-ctl-Install-media-ctl-header-and-library-files.patch
@@ -0,0 +1,78 @@
1From 3867fcfa4389c7fa271705f1fd1d4bfb74bc1bd1 Mon Sep 17 00:00:00 2001
2From: Neel Gandhi <neel.gandhi@amd.com>
3Date: Wed, 5 Jun 2024 13:51:36 +0530
4Subject: [PATCH] media-ctl: Install media-ctl header and library files
5
6Install mediactl and v4l2subdev header and library
7files, which may be required by 3rd party applications
8to populate and control v4l2subdev device node tree
9
10Install of these files was removed in upstream commit
110911dce53b08b0df3066be2c75f67e8a314d8729.
12
13Upstream-Status: Denied
14
15v4l-utils maintainers do not promise a stable API for this library, and
16do not currently have the time to do so. So exporting the API in this
17way is fine, as long as we understand that it will change and users of
18the API will need to adapt over time.
19
20Signed-off-by: Neel Gandhi <neel.gandhi@amd.com>
21Signed-off-by: Mark Hatle <mark.hatle@amd.com>
22---
23 utils/media-ctl/meson.build | 28 +++++++++++++++++++++-------
24 1 file changed, 21 insertions(+), 7 deletions(-)
25
26diff --git a/utils/media-ctl/meson.build b/utils/media-ctl/meson.build
27index 3a7b0c9a..40669b4c 100644
28--- a/utils/media-ctl/meson.build
29+++ b/utils/media-ctl/meson.build
30@@ -3,14 +3,24 @@ libmediactl_sources = files(
31 'mediactl-priv.h',
32 )
33
34+libmediactl_api = files(
35+ 'mediactl.h',
36+ 'v4l2subdev.h',
37+)
38+
39+install_headers(libmediactl_api, subdir: 'mediactl')
40+
41 libmediactl_deps = [
42 dep_libudev,
43 ]
44
45-libmediactl = static_library('mediactl',
46- libmediactl_sources,
47- dependencies : libmediactl_deps,
48- include_directories : v4l2_utils_incdir)
49+libmediactl = library('mediactl',
50+ libmediactl_sources,
51+ soversion: '0',
52+ version: '0.0.0',
53+ install : true,
54+ dependencies : libmediactl_deps,
55+ include_directories : v4l2_utils_incdir)
56
57 dep_libmediactl = declare_dependency(link_with : libmediactl)
58
59@@ -18,9 +28,13 @@ libv4l2subdev_sources = files('libv4l2subdev.c')
60 libv4l2subdev_sources += media_bus_format_names_h
61 libv4l2subdev_sources += media_bus_format_codes_h
62
63-libv4l2subdev = static_library('v4l2subdev',
64- libv4l2subdev_sources,
65- include_directories : v4l2_utils_incdir)
66+libv4l2subdev = library('v4l2subdev',
67+ libv4l2subdev_sources,
68+ soversion: '0',
69+ version: '0.0.0',
70+ install : true,
71+ dependencies : dep_libmediactl,
72+ include_directories : v4l2_utils_incdir)
73
74 dep_libv4l2subdev = declare_dependency(link_with : libv4l2subdev)
75
76--
772.34.1
78
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch
new file mode 100644
index 0000000000..8a009ae806
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0002-media-ctl-Install-media-ctl-pkg-config-files.patch
@@ -0,0 +1,49 @@
1From a422ddf7f8805d34ff1fbb46d335993c9cd05ead Mon Sep 17 00:00:00 2001
2From: Einar Jon Gunnarsson <tolvupostur@gmail.com>
3Date: Fri, 10 May 2024 11:56:17 +0200
4Subject: [PATCH] media-ctl: Install media-ctl pkg-config files
5
6libv4l2subdev/libmediactl can not be used in projects without the
7pkg-config files. This adds them as well.
8
9Upstream-Status: Denied
10
11This is an add-on to the previous patch:
120001-media-ctl-Install-media-ctl-header-and-library-files.patch
13so same restrictions apply.
14
15Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
16---
17 utils/media-ctl/meson.build | 12 ++++++++++++
18 1 file changed, 12 insertions(+)
19
20diff --git a/utils/media-ctl/meson.build b/utils/media-ctl/meson.build
21index 40669b4c..6feba1af 100644
22--- a/utils/media-ctl/meson.build
23+++ b/utils/media-ctl/meson.build
24@@ -38,6 +38,12 @@ libv4l2subdev = library('v4l2subdev',
25
26 dep_libv4l2subdev = declare_dependency(link_with : libv4l2subdev)
27
28+pkg.generate(
29+ libv4l2subdev,
30+ name : 'libv4l2subdev',
31+ version : meson.project_version(),
32+ description : 'v4l2 subdev library')
33+
34 media_ctl_sources = files(
35 'media-ctl.c',
36 'options.c',
37@@ -55,3 +61,9 @@ media_ctl = executable('media-ctl',
38 dependencies : media_ctl_deps,
39 install : true,
40 include_directories : v4l2_utils_incdir)
41+
42+pkg.generate(
43+ libmediactl,
44+ name : 'libmediactl',
45+ version : meson.project_version(),
46+ description : 'v4l2 mediactl library')
47--
482.43.5
49
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb
index 52759ef18e..0a3b5d28b6 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.26.1.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.28.1.bb
@@ -26,15 +26,15 @@ PACKAGECONFIG[qvidcap] = ",-Dqvidcap=disabled"
26PACKAGECONFIG[v4l2-tracer] = ",-Dv4l2-tracer=disabled,json-c" 26PACKAGECONFIG[v4l2-tracer] = ",-Dv4l2-tracer=disabled,json-c"
27 27
28SRC_URI = "\ 28SRC_URI = "\
29 git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.26 \ 29 git://git.linuxtv.org/v4l-utils.git;protocol=https;branch=stable-1.28 \
30 file://0001-keytable-meson-Restrict-the-installation-of-50-rc_ke.patch \ 30 file://0001-media-ctl-Install-media-ctl-header-and-library-files.patch \
31 file://0002-media-ctl-Install-media-ctl-pkg-config-files.patch \
31" 32"
32 33
33SRCREV = "4aee01a027923cab1e40969f56f8ba58d3e6c0d1" 34SRCREV = "fc15e229d9d337e46d730f00647821adbbd58548"
34 35
35PV .= "+git"
36 36
37S = "${WORKDIR}/git" 37UPSTREAM_CHECK_GITTAGREGEX = "v4l-utils-(?P<pver>\d+(\.\d+)+)"
38 38
39EXTRA_OEMESON = "-Dudevdir=${base_libdir}/udev -Dv4l2-compliance-32=false -Dv4l2-ctl-32=false" 39EXTRA_OEMESON = "-Dudevdir=${base_libdir}/udev -Dv4l2-compliance-32=false -Dv4l2-ctl-32=false"
40 40
diff --git a/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb b/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb
index 3069528301..87dc7a7be6 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/yavta_git.bb
@@ -2,23 +2,13 @@ SUMMARY = "Yet Another V4L2 Test Application"
2LICENSE = "GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
4 4
5SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master \ 5SRC_URI = "git://git.ideasonboard.org/yavta.git;branch=master;protocol=https \
6 " 6 "
7SRCREV = "65f740aa1758531fd810339bc1b7d1d33666e28a" 7SRCREV = "52c975e5542504ac10bed8b1d68df5c75951d202"
8 8
9PV = "0.0" 9PV = "0.0"
10S = "${WORKDIR}/git"
11
12EXTRA_OEMAKE = "-e MAKEFLAGS="
13
14# The yavta sources include copies of the headers required to build in the
15# include directory. The Makefile uses CFLAGS to include these, but since
16# we override the CFLAGS then we need to add this include path back in.
17CFLAGS += "-I${S}/include"
18
19do_install() {
20 install -d ${D}${bindir}
21 install -m 0755 yavta ${D}${bindir}
22}
23 10
11# Upstream repo does not tag
12UPSTREAM_CHECK_COMMITS = "1"
24 13
14inherit meson
diff --git a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
index 7384d2892f..651fbc4192 100644
--- a/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
+++ b/meta-oe/recipes-multimedia/wavpack/wavpack_5.6.0.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/dbry/WavPack.git;branch=master;protocol=https \
11 11
12SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce" 12SRCREV = "e03e8e29dc618e08e7baba9636e57ba1254874ce"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake pkgconfig lib_package 15inherit cmake pkgconfig lib_package
17 16
diff --git a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch
index bd3d697885..04c4804c05 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch
+++ b/meta-oe/recipes-multimedia/webm/libvpx/libvpx-configure-support-blank-prefix.patch
@@ -1,4 +1,4 @@
1From 1bbbf27a23c91dcc271b773a97153063461b986d Mon Sep 17 00:00:00 2001 1From c71898649e300d7e5700cd247d7ae994c7faa406 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net> 2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Tue, 16 Aug 2011 16:04:35 +0200 3Date: Tue, 16 Aug 2011 16:04:35 +0200
4Subject: [PATCH] Upstream: not yet 4Subject: [PATCH] Upstream: not yet
@@ -11,10 +11,10 @@ Upstream-Status: Pending
11 1 file changed, 16 insertions(+), 4 deletions(-) 11 1 file changed, 16 insertions(+), 4 deletions(-)
12 12
13diff --git a/build/make/configure.sh b/build/make/configure.sh 13diff --git a/build/make/configure.sh b/build/make/configure.sh
14index 93643f3de..e84198200 100644 14index 8220d5cbe..923daf8bc 100644
15--- a/build/make/configure.sh 15--- a/build/make/configure.sh
16+++ b/build/make/configure.sh 16+++ b/build/make/configure.sh
17@@ -692,6 +692,8 @@ process_common_cmdline() { 17@@ -699,6 +699,8 @@ process_common_cmdline() {
18 ;; 18 ;;
19 --prefix=*) 19 --prefix=*)
20 prefix="${optval}" 20 prefix="${optval}"
@@ -23,7 +23,7 @@ index 93643f3de..e84198200 100644
23 ;; 23 ;;
24 --libdir=*) 24 --libdir=*)
25 libdir="${optval}" 25 libdir="${optval}"
26@@ -721,13 +723,23 @@ process_cmdline() { 26@@ -728,13 +730,23 @@ process_cmdline() {
27 } 27 }
28 28
29 post_process_common_cmdline() { 29 post_process_common_cmdline() {
diff --git a/meta-oe/recipes-multimedia/webm/libvpx_1.14.1.bb b/meta-oe/recipes-multimedia/webm/libvpx_1.15.2.bb
index f32c7842c3..a7cd76e0c7 100644
--- a/meta-oe/recipes-multimedia/webm/libvpx_1.14.1.bb
+++ b/meta-oe/recipes-multimedia/webm/libvpx_1.15.2.bb
@@ -7,12 +7,11 @@ LICENSE = "BSD-3-Clause"
7 7
8LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4" 8LIC_FILES_CHKSUM = "file://LICENSE;md5=d5b04755015be901744a78cc30d390d4"
9 9
10SRCREV = "12f3a2ac603e8f10742105519e0cd03c3b8f71dd" 10SRCREV = "d168454ecd099805c675d4a98c66f4891373302a"
11SRC_URI += "git://chromium.googlesource.com/webm/libvpx;protocol=https;branch=main \ 11SRC_URI += "git://chromium.googlesource.com/webm/libvpx;protocol=https;branch=main;tag=v${PV} \
12 file://libvpx-configure-support-blank-prefix.patch \ 12 file://libvpx-configure-support-blank-prefix.patch \
13 " 13 "
14 14
15S = "${WORKDIR}/git"
16 15
17# ffmpeg links with this and fails 16# ffmpeg links with this and fails
18# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4' 17# sysroots/armv4t-oe-linux-gnueabi/usr/lib/libvpx.a(vpx_encoder.c.o)(.text+0xc4): unresolvable R_ARM_THM_CALL relocation against symbol `memcpy@@GLIBC_2.4'
diff --git a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
index f900aca2d4..5023e4e842 100644
--- a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
+++ b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
@@ -1,4 +1,4 @@
1LICENSE= "MIT" 1LICENSE = "MIT"
2SUMMARY = "X Server Nokia 770 extensions library" 2SUMMARY = "X Server Nokia 770 extensions library"
3SECTION = "x11/libs" 3SECTION = "x11/libs"
4DEPENDS = "virtual/libx11 libxext" 4DEPENDS = "virtual/libx11 libxext"
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=db043791349ba57ad1169e1c92477cb6"
7 7
8SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${BPN}/${BPN}_${PV}.tar.gz \ 8SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${BPN}/${BPN}_${PV}.tar.gz \
9 file://auxdir.patch;striplevel=0" 9 file://auxdir.patch;striplevel=0"
10S = "${WORKDIR}/xpext-1.0" 10S = "${UNPACKDIR}/xpext-1.0"
11 11
12inherit autotools pkgconfig features_check 12inherit autotools pkgconfig features_check
13# depends on virtual/libx11 13# depends on virtual/libx11
@@ -16,5 +16,4 @@ REQUIRED_DISTRO_FEATURES = "x11"
16# Remove runtime dependency on empty package ${PN} 16# Remove runtime dependency on empty package ${PN}
17RDEPENDS:${PN}-dev = "" 17RDEPENDS:${PN}-dev = ""
18 18
19SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"
20SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe" 19SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"
diff --git a/meta-oe/recipes-multimedia/xsp/xsp/0001-fix-incompatible-pointer-types-build-error-in-gcc-15.patch b/meta-oe/recipes-multimedia/xsp/xsp/0001-fix-incompatible-pointer-types-build-error-in-gcc-15.patch
new file mode 100644
index 0000000000..ffb1089423
--- /dev/null
+++ b/meta-oe/recipes-multimedia/xsp/xsp/0001-fix-incompatible-pointer-types-build-error-in-gcc-15.patch
@@ -0,0 +1,40 @@
1From e001efa4a50e43fca5d8918ee05a3bc37180262d Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 24 Apr 2025 18:10:25 +0900
4Subject: [PATCH] fix incompatible-pointer-types build error in gcc 15
5
6../Xsp/Xsp.c:37:9: error: initialization of 'int (*)(Display *, XExtCodes *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types]
7 37 | XSPCloseDisplay, /* close_display */
8 | ^~~~~~~~~~~~~~~
9../Xsp/Xsp.c:37:9: note: (near initialization for 'xsp_extension_hooks.close_display')
10../Xsp/Xsp.c:23:12: note: 'XSPCloseDisplay' declared here
11 23 | static int XSPCloseDisplay();
12 | ^~~~~~~~~~~~~~~
13In file included from ../Xsp/Xsp.c:6:
14../Xsp/Xsp.c:49:37: error: conflicting types for 'XSPCloseDisplay'; have 'int(Display *, XExtCodes *)'
15 49 | static XEXT_GENERATE_CLOSE_DISPLAY (XSPCloseDisplay, xsp_info)
16 | ^~~~~~~~~~~~~~~
17../Xsp/Xsp.c:36:9: error: 'XSPCloseDisplay' undeclared here (not in a function); did you mean 'XCloseDisplay'?
18 36 | XSPCloseDisplay, /* close_display */
19 | ^~~~~~~~~~~~~~~
20 | XCloseDisplay
21
22Upstream-Status: Inactive-Upstream [seems to be unmaintained]
23Signed-off-by: mark.yang <mark.yang@lge.com>
24---
25 Xsp.c | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28diff --git a/Xsp.c b/Xsp.c
29index 28e2d6e..9bcc958 100644
30--- a/Xsp.c
31+++ b/Xsp.c
32@@ -20,7 +20,7 @@ static XExtensionInfo _xsp_info_data;
33 static XExtensionInfo *xsp_info = &_xsp_info_data;
34 static /* const */ char *xsp_extension_name = XSP_NAME;
35
36-static int XSPCloseDisplay();
37+static XEXT_CLOSE_DISPLAY_PROTO(XSPCloseDisplay);
38 static Bool XSPWireToEvent(Display *dpy, XEvent *event, xEvent *wire);
39
40 static Status XSPEventToWire(Display *dpy, XEvent *event, xEvent *wire);
diff --git a/meta-oe/recipes-multimedia/xsp/xsp_1.0.0-8.bb b/meta-oe/recipes-multimedia/xsp/xsp_1.0.0-8.bb
index c611da48c0..5350cf1c65 100644
--- a/meta-oe/recipes-multimedia/xsp/xsp_1.0.0-8.bb
+++ b/meta-oe/recipes-multimedia/xsp/xsp_1.0.0-8.bb
@@ -1,15 +1,18 @@
1LICENSE= "MIT" 1LICENSE = "MIT"
2SUMMARY = "X Server Nokia 770 extensions library" 2SUMMARY = "X Server Nokia 770 extensions library"
3SECTION = "x11/libs" 3SECTION = "x11/libs"
4DEPENDS = "virtual/libx11 libxext xpext" 4DEPENDS = "virtual/libx11 libxext xpext"
5LIC_FILES_CHKSUM = "file://COPYING;md5=ea2bda168c508c7cd8afa567b2fcc549" 5LIC_FILES_CHKSUM = "file://COPYING;md5=ea2bda168c508c7cd8afa567b2fcc549"
6SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/xsp/${BPN}_${PV}.tar.gz \ 6SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/xsp/${BPN}_${PV}.tar.gz \
7 file://xsp-fix-pc.patch" 7 file://xsp-fix-pc.patch \
8S = "${WORKDIR}/Xsp" 8 file://0001-fix-incompatible-pointer-types-build-error-in-gcc-15.patch \
9"
10S = "${UNPACKDIR}/Xsp"
9 11
10inherit autotools pkgconfig features_check 12inherit autotools pkgconfig features_check
11# depends on virtual/libx11 13# depends on virtual/libx11
12REQUIRED_DISTRO_FEATURES = "x11" 14REQUIRED_DISTRO_FEATURES = "x11"
13 15
14SRC_URI[md5sum] = "2a0d8d02228d4cbd28b6e07bb7c17cf5"
15SRC_URI[sha256sum] = "8b722b952b64841d996c70c3278499886c81bb5012991beed5f66f4158418f59" 16SRC_URI[sha256sum] = "8b722b952b64841d996c70c3278499886c81bb5012991beed5f66f4158418f59"
17
18CVE_STATUS[CVE-2006-2658] = "cpe-incorrect: The recipe used in the `meta-openembedded` is a different xsp package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch
index 18e7185649..d2c0e4df67 100644
--- a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch
+++ b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch
@@ -8,10 +8,10 @@ Subject: [PATCH] libgeoclue: don't try to use g-ir-scanner when introspection
8 http://errors.yoctoproject.org/Errors/Details/702778/ 8 http://errors.yoctoproject.org/Errors/Details/702778/
9 geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found 9 geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found
10 10
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12---
13Upstream-Status: Pending 11Upstream-Status: Pending
14 12
13Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
14---
15 libgeoclue/meson.build | 2 +- 15 libgeoclue/meson.build | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 16 1 file changed, 1 insertion(+), 1 deletion(-)
17 17
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb
index 9fcd1e6f1e..48b2535a03 100644
--- a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb
+++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb
@@ -10,14 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6"
10 10
11DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" 11DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native"
12 12
13inherit meson pkgconfig gtk-doc gobject-introspection vala useradd 13inherit meson pkgconfig gtk-doc gobject-introspection vala
14 14
15SRCREV = "8a24f60969d4c235d9918796c38a6a9c42e10131" 15SRCREV = "ab0a7a447ac037d5043aa04df3030796bf47d94d"
16SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ 16SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \
17 file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \ 17 file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \
18" 18"
19 19
20S = "${WORKDIR}/git"
21 20
22# Without this line, package is declared a library and named libgeoclue* 21# Without this line, package is declared a library and named libgeoclue*
23AUTO_LIBNAME_PKGS = "" 22AUTO_LIBNAME_PKGS = ""
@@ -36,17 +35,6 @@ EXTRA_OEMESON += " \
36 -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ 35 -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \
37" 36"
38 37
39USERADD_PACKAGES = "${PN}"
40USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd"
41
42do_install:append() {
43 if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then
44 # Fix up permissions on polkit rules.d to work with rpm4 constraints
45 chmod 700 ${D}/${datadir}/polkit-1/rules.d
46 chown polkitd:root ${D}/${datadir}/polkit-1/rules.d
47 fi
48}
49
50FILES:${PN} += " \ 38FILES:${PN} += " \
51 ${datadir}/dbus-1/system-services \ 39 ${datadir}/dbus-1/system-services \
52 ${datadir}/polkit-1/rules.d \ 40 ${datadir}/polkit-1/rules.d \
diff --git a/meta-oe/recipes-navigation/geos/geos_3.12.1.bb b/meta-oe/recipes-navigation/geos/geos_3.13.1.bb
index 461652a5ad..ba01968052 100644
--- a/meta-oe/recipes-navigation/geos/geos_3.12.1.bb
+++ b/meta-oe/recipes-navigation/geos/geos_3.13.1.bb
@@ -6,7 +6,7 @@ LICENSE = "LGPL-2.1-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
7 7
8SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" 8SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2"
9SRC_URI[sha256sum] = "d6ea7e492224b51193e8244fe3ec17c4d44d0777f3c32ca4fb171140549a0d03" 9SRC_URI[sha256sum] = "df2c50503295f325e7c8d7b783aca8ba4773919cde984193850cf9e361dfd28c"
10 10
11inherit cmake pkgconfig binconfig 11inherit cmake pkgconfig binconfig
12 12
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch b/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch
new file mode 100644
index 0000000000..8942b39524
--- /dev/null
+++ b/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch
@@ -0,0 +1,51 @@
1From c72a489e2eb13296c7b514b7341033114abf430a Mon Sep 17 00:00:00 2001
2From: Miroslav Lichvar <mlichvar@redhat.com>
3Date: Mon, 22 Apr 2024 11:31:24 +0200
4Subject: [PATCH 1/2] SConscript: provide variable names to MergeFlags
5
6If the scons MergeFlags() function is provided with a list of
7compiler/linker options, it needs to guess what options belong where. If
8it doesn't recognize an option, it is silently ignored. There are also
9ambiguous options that could be both in CFLAGS and LINKFLAGS (e.g. -spec).
10
11Provide MergeFlags() with a dict instead of list to avoid the guesswork
12in order to pass all options, even if some are not recognized by scons.
13Switch LDFLAGS to LINKFLAGS for better compatibility with existing
14scripts.
15
16Upstream-Status: Submitted [https://gitlab.com/gpsd/gpsd/-/merge_requests/406]
17Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
18
19---
20 SConscript | 11 ++++++-----
21 1 file changed, 6 insertions(+), 5 deletions(-)
22
23diff --git a/SConscript b/SConscript
24index dab481654..ee90d87c4 100644
25--- a/SConscript
26+++ b/SConscript
27@@ -585,8 +585,8 @@ env['SC_PYTHON'] = sys.executable # Path to SCons Python
28 # explicitly quote them or (better yet) use the "=" form of GNU option
29 # settings.
30 #
31-# Scons also uses different internal names than most other build-systems.
32-# So we rely on MergeFlags/ParseFlags to do the right thing for us.
33+# Scons also uses different internal names than most other build-systems,
34+# e.g. it uses LINKFLAGS instead of LDFLAGS.
35 #
36 # scons uses gcc, or clang, to link. Thus LDFLAGS does not serve its
37 # traditional function of providing arguments to ln. LDFLAGS set in the
38@@ -618,7 +618,10 @@ for i in ["ARFLAGS",
39 "SHLINKFLAGS",
40 ]:
41 if i in os.environ:
42- env.MergeFlags(Split(os.getenv(i)))
43+ t = i
44+ if t == "LDFLAGS":
45+ t = "LINKFLAGS"
46+ env.MergeFlags({t: Split(os.getenv(i))})
47
48
49 # Keep scan-build options in the environment
50--
51GitLab
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
index ddea8ad2e3..0d5232c88c 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb
@@ -4,11 +4,14 @@ LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821" 4LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821"
5DEPENDS = "dbus ncurses python3 pps-tools" 5DEPENDS = "dbus ncurses python3 pps-tools"
6PROVIDES = "virtual/gpsd" 6PROVIDES = "virtual/gpsd"
7BUGTRACKER = "https://gitlab.com/gpsd/gpsd/-/issues"
8HOMEPAGE = "https://gpsd.io/"
7 9
8SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ 10SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
9 file://gpsd.init \ 11 file://gpsd.init \
12 file://fix-pps_strerror_r.patch \
10 " 13 "
11SRC_URI[sha256sum] = "00ee13f615655284874a661be13553abe66128e6deb5cd648af9bc0cb345fe5c" 14SRC_URI[sha256sum] = "b368b6a305e3f7a6382d23a0cbfc1d78923060b6b7f54cf7987a73c7b4a9afc2"
12 15
13inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig 16inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig
14 17
@@ -26,6 +29,7 @@ CLEANBROKEN = "1"
26PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" 29PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb"
27PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" 30PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5"
28PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" 31PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase"
32PACKAGECONFIG[pyserial] = ""
29PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" 33PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1"
30EXTRA_OESCONS = " \ 34EXTRA_OESCONS = " \
31 sysroot=${STAGING_DIR_TARGET} \ 35 sysroot=${STAGING_DIR_TARGET} \
@@ -79,7 +83,7 @@ do_install:append() {
79 fi 83 fi
80} 84}
81 85
82PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils gps-utils-python" 86PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gpsd-snmp gps-utils gps-utils-python"
83 87
84RPROVIDES:${PN}-dbg += "python-pygps-dbg" 88RPROVIDES:${PN}-dbg += "python-pygps-dbg"
85 89
@@ -104,6 +108,9 @@ CONFFILES:gpsd-conf = "${sysconfdir}/default/gpsd.default"
104SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes" 108SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes"
105FILES:gpsd-gpsctl = "${bindir}/gpsctl" 109FILES:gpsd-gpsctl = "${bindir}/gpsctl"
106 110
111SUMMARY:gpsd-snmp = "MIB for using SNMP with gpsd"
112FILES:gpsd-snmp = "${datadir}/snmp"
113
107SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS" 114SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS"
108FILES:gps-utils = "\ 115FILES:gps-utils = "\
109 ${bindir}/cgps \ 116 ${bindir}/cgps \
@@ -143,7 +150,7 @@ FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}
143RDEPENDS:python3-pygps = " \ 150RDEPENDS:python3-pygps = " \
144 python3-core \ 151 python3-core \
145 python3-io \ 152 python3-io \
146 python3-pyserial \ 153 ${@bb.utils.contains('PACKAGECONFIG', 'pyserial', 'python3-pyserial', '', d)} \
147 python3-threading \ 154 python3-threading \
148 python3-terminal \ 155 python3-terminal \
149 gpsd \ 156 gpsd \
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch
new file mode 100644
index 0000000000..daef7fab49
--- /dev/null
+++ b/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch
@@ -0,0 +1,29 @@
1From 406e841b3e011e1090f23dba12b12cdd9ec4707e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 24 Aug 2024 15:19:35 -0700
4Subject: [PATCH] wfs: Cover xmlNanoHTTPCleanup with LIBXML_HTTP_ENABLED
5
6libxml2 has deprecated internal http support [1]
7
8[1] https://www.gaia-gis.it/fossil/libspatialite/tktview?name=7c452740fe
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/wfs/wfs_in.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/src/wfs/wfs_in.c b/src/wfs/wfs_in.c
17index 1cfe39d..41ad2ab 100644
18--- a/src/wfs/wfs_in.c
19+++ b/src/wfs/wfs_in.c
20@@ -4638,7 +4638,9 @@ SPATIALITE_DECLARE void
21 reset_wfs_http_connection (void)
22 {
23 /* Resets the libxml2 "nano HTTP": useful when changing the HTTP_PROXY settings */
24+#ifdef LIBXML_HTTP_ENABLED
25 xmlNanoHTTPCleanup ();
26+#endif
27 }
28
29 #else /* LIBXML2 isn't enabled */
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch
deleted file mode 100644
index 6f1c165f58..0000000000
--- a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Upstream-Status: Pending
2
3diff -rupN --no-dereference libspatialite-5.0.1/configure.ac libspatialite-5.0.1-new/configure.ac
4--- libspatialite-5.0.1/configure.ac 2021-03-08 08:57:18.748858216 +0100
5+++ libspatialite-5.0.1-new/configure.ac 2021-03-08 08:57:18.751858215 +0100
6@@ -96,7 +96,7 @@ AC_PROG_INSTALL
7 AC_PROG_LN_S
8 AC_PROG_MAKE_SET
9 AC_LIBTOOL_WIN32_DLL
10-AC_PROG_LIBTOOL
11+LT_INIT
12
13 # Checks for typedefs, structures, and compiler characteristics.
14 AC_C_CONST
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch
index de6e50a58d..4b381eda88 100644
--- a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch
+++ b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch
@@ -1,13 +1,13 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3diff -rupN libspatialite-5.0.1/spatialite.pc.in libspatialite-5.0.1-new/spatialite.pc.in 3--- a/spatialite.pc.in
4--- libspatialite-5.0.1/spatialite.pc.in 2021-02-07 16:53:46.000000000 +0100 4+++ b/spatialite.pc.in
5+++ libspatialite-5.0.1-new/spatialite.pc.in 2021-02-10 09:54:09.647552994 +0100 5@@ -8,5 +8,7 @@ includedir=@includedir@
6@@ -8,5 +8,6 @@ includedir=@includedir@
7 Name: spatialite 6 Name: spatialite
8 Description: Spatial SQL database engine based on SQLite 7 Description: Spatial SQL database engine based on SQLite
9 Version: @VERSION@ 8 Version: @VERSION@
10-Libs: -L${libdir} -lspatialite @LIBS@ @LIBXML2_LIBS@ -lm 9-Libs: -L${libdir} -lspatialite @LIBS@ @LIBXML2_LIBS@ @SQLITE3_LIBS@ -lm
11+Libs.private: -L${libdir} @LIBS@ @LIBXML2_LIBS@ -lm 10+Libs.private: -L${libdir} @LIBS@ @LIBXML2_LIBS@ @SQLITE3_LIBS@ -lm
12+Libs: -L${libdir} -lspatialite 11+Libs: -L${libdir} -lspatialite
12+
13 Cflags: -I${includedir} 13 Cflags: -I${includedir}
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb b/meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb
index f46b1083e1..0fe0bb1197 100644
--- a/meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb
+++ b/meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb
@@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0e92e1a36cc384b60f5b31dde0bdd39e"
8 8
9SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz \ 9SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz \
10 file://libspatialite_geos.patch \ 10 file://libspatialite_geos.patch \
11 file://libspatialite_macros.patch \
12 file://libspatialite_pkgconfig.patch \ 11 file://libspatialite_pkgconfig.patch \
12 file://0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch \
13" 13"
14 14SRC_URI[sha256sum] = "43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080"
15SRC_URI[sha256sum] = "eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98"
16 15
17inherit autotools-brokensep pkgconfig 16inherit autotools-brokensep pkgconfig
18 17
diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0001-configure-prototypes.patch b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0001-configure-prototypes.patch
new file mode 100644
index 0000000000..e1b7c6e8d5
--- /dev/null
+++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0001-configure-prototypes.patch
@@ -0,0 +1,39 @@
1From 3982a8925e15ea16df49891a700e7f9d9a10541c Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 9 Apr 2025 11:46:36 +0900
4Subject: [PATCH 1/3] configure prototypes
5
6 * Set to use function prototypes for ANSI_C
7 If PROTOTYPES is set in md5global.h, it uses PROTO_LIST(list) list instead of PROTO_LIST(list) ()
8 to provide parameterized prototyping.
9 Therefore, at the configure.ac stage, when using ANSI_C, PROTOTYPES should be defined.
10
11 * to fix the build error with gcc-15
12 Even though I added this configuration to fix the error, the error shown in the following patch still occurs.
13../../git/lib/md5.c:139:8: error: too many arguments to function 'MD5_memcpy'; expected 0, have 3
14 139 | MD5_memcpy
15 | ^~~~~~~~~~
16 140 | ((POINTER)&context->buffer[index], (POINTER)input, partLen); MD5Transform
17 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18../../git/lib/md5.c:62:13: note: declared here
19 62 | static void MD5_memcpy PROTO_LIST ((POINTER, POINTER, unsigned int));
20 | ^~~~~~~~~~
21
22Upstream-Status: Submitted [https://github.com/cyrusimap/cyrus-sasl/pull/873]
23Signed-off-by: mark.yang <mark.yang@lge.com>
24---
25 configure.ac | 1 +
26 1 file changed, 1 insertion(+)
27
28diff --git a/configure.ac b/configure.ac
29index 2a0cf878..657e178b 100644
30--- a/configure.ac
31+++ b/configure.ac
32@@ -88,6 +88,7 @@ AC_ARG_ENABLE(obsolete_digest_attr,
33 enable_obsolete_digest_attr=yes)
34
35 AC_PROG_CC
36+AC_C_PROTOTYPES
37 AX_PROG_CC_FOR_BUILD
38 AC_PROG_CPP
39 AC_PROG_AWK
diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch
new file mode 100644
index 0000000000..df66ab86d1
--- /dev/null
+++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch
@@ -0,0 +1,122 @@
1From 8ad219c21914ee9815c915e075052805efff9757 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 9 Apr 2025 15:42:13 +0900
4Subject: [PATCH 2/3] Fix incompatible-pointer-types error with gcc-15
5
6 * Fix incompatible-pointer-types error with gcc-15
7../../git/saslauthd/md5.c:400:14: error: passing argument 1 of 'MD5_memset' from incompatible pointer type [-Wincompatible-pointer-types]
8 400 | MD5_memset(&k_ipad, 0, sizeof(k_ipad));
9 | ^~~~~~~
10 | |
11 | unsigned char (*)[65]
12../../git/saslauthd/md5.c:335:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'unsigned char (*)[65]'
13 335 | POINTER output;
14 | ^~~~~~
15In file included from ../../git/saslauthd/md5.c:29:
16../include/md5global.h:16:24: note: 'POINTER' declared here
17 16 | typedef unsigned char *POINTER;
18 | ^~~~~~~
19../../git/saslauthd/md5.c:401:14: error: passing argument 1 of 'MD5_memset' from incompatible pointer type [-Wincompatible-pointer-types]
20 401 | MD5_memset(&k_opad, 0, sizeof(k_opad));
21 | ^~~~~~~
22 | |
23 | unsigned char (*)[65]
24../../git/saslauthd/md5.c:335:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'unsigned char (*)[65]'
25 335 | POINTER output;
26 | ^~~~~~
27../include/md5global.h:16:24: note: 'POINTER' declared here
28 16 | typedef unsigned char *POINTER;
29 | ^~~~~~~
30../../git/saslauthd/md5.c:402:14: error: passing argument 1 of 'MD5_memset' from incompatible pointer type [-Wincompatible-pointer-types]
31 402 | MD5_memset(&tk, 0, sizeof(tk));
32 | ^~~
33 | |
34 | unsigned char (*)[16]
35../../git/saslauthd/md5.c:335:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'unsigned char (*)[16]'
36 335 | POINTER output;
37 | ^~~~~~
38../include/md5global.h:16:24: note: 'POINTER' declared here
39 16 | typedef unsigned char *POINTER;
40 | ^~~~~~~
41../../git/saslauthd/md5.c: In function '_saslauthd_hmac_md5_precalc':
42../../git/saslauthd/md5.c:427:14: error: passing argument 1 of 'MD5_memset' from incompatible pointer type [-Wincompatible-pointer-types]
43 427 | MD5_memset(&hmac, 0, sizeof(hmac));
44 | ^~~~~
45 | |
46 | HMAC_MD5_CTX * {aka struct HMAC_MD5_CTX_s *}
47../../git/saslauthd/md5.c:335:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'HMAC_MD5_CTX *' {aka 'struct HMAC_MD5_CTX_s *'}
48 335 | POINTER output;
49 | ^~~~~~
50../include/md5global.h:16:24: note: 'POINTER' declared here
51 16 | typedef unsigned char *POINTER;
52 | ^~~~~~~
53../../git/saslauthd/md5.c: In function '_saslauthd_hmac_md5_import':
54../../git/saslauthd/md5.c:435:14: error: passing argument 1 of 'MD5_memset' from incompatible pointer type [-Wincompatible-pointer-types]
55 435 | MD5_memset(hmac, 0, sizeof(HMAC_MD5_CTX));
56 | ^~~~
57 | |
58 | HMAC_MD5_CTX * {aka struct HMAC_MD5_CTX_s *}
59../../git/saslauthd/md5.c:335:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'HMAC_MD5_CTX *' {aka 'struct HMAC_MD5_CTX_s *'}
60 335 | POINTER output;
61 | ^~~~~~
62../include/md5global.h:16:24: note: 'POINTER' declared here
63 16 | typedef unsigned char *POINTER;
64 | ^~~~~~~
65../../git/saslauthd/md5.c: In function '_saslauthd_hmac_md5':
66../../git/saslauthd/md5.c:455:6: warning: old-style function definition [-Wold-style-definition]
67 455 | void _saslauthd_hmac_md5(text, text_len, key, key_len, digest)
68 | ^~~~~~~~~~~~~~~~~~~
69../../git/saslauthd/md5.c:499:23: warning: passing argument 2 of 'MD5_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
70 499 | MD5_memcpy( k_ipad, key, key_len);
71 | ^~~
72../../git/saslauthd/md5.c:322:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
73 322 | POINTER input;
74 | ^~~~~
75../../git/saslauthd/md5.c:500:23: warning: passing argument 2 of 'MD5_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
76 500 | MD5_memcpy( k_opad, key, key_len);
77 | ^~~
78../../git/saslauthd/md5.c:322:9: note: expected 'POINTER' {aka 'unsigned char *'} but argument is of type 'const unsigned char *'
79 322 | POINTER input;
80 | ^~~~~
81
82Upstream-Status: Submitted [https://github.com/cyrusimap/cyrus-sasl/pull/873]
83Signed-off-by: mark.yang <mark.yang@lge.com>
84---
85 saslauthd/md5.c | 10 +++++-----
86 1 file changed, 5 insertions(+), 5 deletions(-)
87
88diff --git a/saslauthd/md5.c b/saslauthd/md5.c
89index d38425d2..c16922d8 100644
90--- a/saslauthd/md5.c
91+++ b/saslauthd/md5.c
92@@ -397,9 +397,9 @@ void _saslauthd_hmac_md5_init(HMAC_MD5_CTX *hmac,
93 _saslauthd_MD5Update(&hmac->octx, k_opad, 64); /* apply outer pad */
94
95 /* scrub the pads and key context (if used) */
96- MD5_memset(&k_ipad, 0, sizeof(k_ipad));
97- MD5_memset(&k_opad, 0, sizeof(k_opad));
98- MD5_memset(&tk, 0, sizeof(tk));
99+ MD5_memset(k_ipad, 0, sizeof(k_ipad));
100+ MD5_memset(k_opad, 0, sizeof(k_opad));
101+ MD5_memset(tk, 0, sizeof(tk));
102
103 /* and we're done. */
104 }
105@@ -424,7 +424,7 @@ void _saslauthd_hmac_md5_precalc(HMAC_MD5_STATE *state,
106 state->istate[lupe] = htonl(hmac.ictx.state[lupe]);
107 state->ostate[lupe] = htonl(hmac.octx.state[lupe]);
108 }
109- MD5_memset(&hmac, 0, sizeof(hmac));
110+ MD5_memset((POINTER)&hmac, 0, sizeof(hmac));
111 }
112
113
114@@ -432,7 +432,7 @@ void _saslauthd_hmac_md5_import(HMAC_MD5_CTX *hmac,
115 HMAC_MD5_STATE *state)
116 {
117 unsigned lupe;
118- MD5_memset(hmac, 0, sizeof(HMAC_MD5_CTX));
119+ MD5_memset((POINTER)hmac, 0, sizeof(HMAC_MD5_CTX));
120 for (lupe = 0; lupe < 4; lupe++) {
121 hmac->ictx.state[lupe] = ntohl(state->istate[lupe]);
122 hmac->octx.state[lupe] = ntohl(state->ostate[lupe]);
diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0003-Add-compatibility-for-gcc-15-869.patch b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0003-Add-compatibility-for-gcc-15-869.patch
new file mode 100644
index 0000000000..924d39d301
--- /dev/null
+++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl/0003-Add-compatibility-for-gcc-15-869.patch
@@ -0,0 +1,530 @@
1From dcd29d8e5ee427b68f34fdede007fa4787caf464 Mon Sep 17 00:00:00 2001
2From: Rob Crittenden <rcritten@redhat.com>
3Date: Fri, 28 Feb 2025 12:07:25 -0500
4Subject: [PATCH 3/3] Add compatibility for gcc 15 (#869)
5
6Fedora 42 is going to use gcc 15 which changes some warnings into
7errors. Address the issues raised.
8
9The issues addressed include:
10- The RETURN macro is defined differently in two places. Rename one.
11- Both atexit and the sigint and sigterm actions call server_exit().
12 The function arguments diff. Introduce a new generic signal handler
13 to call server_exit() for sigint and sigterm signals.
14
15Signed-off-by: Rob Crittenden <rcritten@redhat.com>
16
17Upstream-Status: Backport [https://github.com/cyrusimap/cyrus-sasl/pull/869]
18Signed-off-by: mark.yang <mark.yang@lge.com>
19---
20 lib/auxprop.c | 2 +-
21 lib/canonusr.c | 6 +++---
22 lib/client.c | 6 +++---
23 lib/common.c | 40 +++++++++++++++++++-------------------
24 lib/saslint.h | 8 ++++----
25 lib/server.c | 32 +++++++++++++++---------------
26 saslauthd/auth_sasldb.c | 4 +---
27 saslauthd/saslauthd-main.c | 12 ++++++++----
28 saslauthd/saslauthd-main.h | 5 +++--
29 9 files changed, 59 insertions(+), 56 deletions(-)
30
31diff --git a/lib/auxprop.c b/lib/auxprop.c
32index 1b0162db..0d465a2d 100644
33--- a/lib/auxprop.c
34+++ b/lib/auxprop.c
35@@ -780,7 +780,7 @@ int sasl_auxprop_request(sasl_conn_t *conn, const char **propnames)
36 }
37
38 result = prop_request(sconn->sparams->propctx, propnames);
39- RETURN(conn, result);
40+ RETURN_VAL(conn, result);
41 }
42
43
44diff --git a/lib/canonusr.c b/lib/canonusr.c
45index 66f7e112..654a72ed 100644
46--- a/lib/canonusr.c
47+++ b/lib/canonusr.c
48@@ -192,7 +192,7 @@ int _sasl_canon_user(sasl_conn_t *conn,
49 oparams->user = conn->user_buf;
50 }
51
52- RETURN(conn, result);
53+ RETURN_VAL(conn, result);
54 }
55
56 /* Lookup all properties for authentication and/or authorization identity. */
57@@ -256,7 +256,7 @@ static int _sasl_auxprop_lookup_user_props (sasl_conn_t *conn,
58 }
59 #endif
60
61- RETURN(conn, result);
62+ RETURN_VAL(conn, result);
63 }
64
65 /* default behavior:
66@@ -285,7 +285,7 @@ int _sasl_canon_user_lookup (sasl_conn_t *conn,
67 oparams);
68 }
69
70- RETURN(conn, result);
71+ RETURN_VAL(conn, result);
72 }
73
74 void _sasl_canonuser_free()
75diff --git a/lib/client.c b/lib/client.c
76index 3784bb0e..281285b8 100644
77--- a/lib/client.c
78+++ b/lib/client.c
79@@ -435,7 +435,7 @@ int sasl_client_new(const char *service,
80 &client_idle, serverFQDN,
81 iplocalport, ipremoteport,
82 prompt_supp, &global_callbacks_client);
83- if (result != SASL_OK) RETURN(*pconn, result);
84+ if (result != SASL_OK) RETURN_VAL(*pconn, result);
85
86 utils = _sasl_alloc_utils(*pconn, &global_callbacks_client);
87 if (utils == NULL) {
88@@ -879,7 +879,7 @@ int sasl_client_start(sasl_conn_t *conn,
89 done:
90 if (ordered_mechs != NULL)
91 c_conn->cparams->utils->free(ordered_mechs);
92- RETURN(conn, result);
93+ RETURN_VAL(conn, result);
94 }
95
96 /* do a single authentication step.
97@@ -952,7 +952,7 @@ int sasl_client_step(sasl_conn_t *conn,
98 }
99 }
100
101- RETURN(conn,result);
102+ RETURN_VAL(conn,result);
103 }
104
105 /* returns the length of all the mechanisms
106diff --git a/lib/common.c b/lib/common.c
107index d9104c89..e9d58d1b 100644
108--- a/lib/common.c
109+++ b/lib/common.c
110@@ -303,7 +303,7 @@ int sasl_encode(sasl_conn_t *conn, const char *input,
111
112 result = sasl_encodev(conn, &tmp, 1, output, outputlen);
113
114- RETURN(conn, result);
115+ RETURN_VAL(conn, result);
116 }
117
118 /* Internal function that doesn't do any verification */
119@@ -389,7 +389,7 @@ _sasl_encodev (sasl_conn_t *conn,
120
121 (*p_num_packets)++;
122
123- RETURN(conn, result);
124+ RETURN_VAL(conn, result);
125 }
126
127 /* security-encode an iovec */
128@@ -434,7 +434,7 @@ int sasl_encodev(sasl_conn_t *conn,
129 *output = conn->encode_buf->data;
130 *outputlen = (unsigned) conn->encode_buf->curlen;
131
132- RETURN(conn, result);
133+ RETURN_VAL(conn, result);
134 }
135
136 /* This might be better to check on a per-plugin basis, but I think
137@@ -592,7 +592,7 @@ cleanup:
138 sasl_FREE(cur_invec);
139 }
140
141- RETURN(conn, result);
142+ RETURN_VAL(conn, result);
143 }
144
145 /* output is only valid until next call to sasl_decode */
146@@ -609,7 +609,7 @@ int sasl_decode(sasl_conn_t *conn,
147 if(!conn->props.maxbufsize) {
148 sasl_seterror(conn, 0,
149 "called sasl_decode with application that does not support security layers");
150- RETURN(conn, SASL_TOOWEAK);
151+ RETURN_VAL(conn, SASL_TOOWEAK);
152 }
153
154 if(conn->oparams.decode == NULL)
155@@ -623,7 +623,7 @@ int sasl_decode(sasl_conn_t *conn,
156 if(inputlen > conn->props.maxbufsize) {
157 sasl_seterror(conn, 0,
158 "input too large for default sasl_decode");
159- RETURN(conn,SASL_BUFOVER);
160+ RETURN_VAL(conn,SASL_BUFOVER);
161 }
162
163 if(!conn->decode_buf)
164@@ -644,7 +644,7 @@ int sasl_decode(sasl_conn_t *conn,
165 /* NULL an empty buffer (for misbehaved applications) */
166 if (*outputlen == 0) *output = NULL;
167
168- RETURN(conn, result);
169+ RETURN_VAL(conn, result);
170 }
171
172 INTERROR(conn, SASL_FAIL);
173@@ -738,11 +738,11 @@ int _sasl_conn_init(sasl_conn_t *conn,
174
175 result = sasl_setprop(conn, SASL_IPLOCALPORT, iplocalport);
176 if(result != SASL_OK)
177- RETURN(conn, result);
178+ RETURN_VAL(conn, result);
179
180 result = sasl_setprop(conn, SASL_IPREMOTEPORT, ipremoteport);
181 if(result != SASL_OK)
182- RETURN(conn, result);
183+ RETURN_VAL(conn, result);
184
185 conn->encode_buf = NULL;
186 conn->context = NULL;
187@@ -787,7 +787,7 @@ int _sasl_conn_init(sasl_conn_t *conn,
188
189 if(result != SASL_OK) MEMERROR( conn );
190
191- RETURN(conn, SASL_OK);
192+ RETURN_VAL(conn, SASL_OK);
193 }
194
195 int _sasl_common_init(sasl_global_callbacks_t *global_callbacks)
196@@ -1068,11 +1068,11 @@ int sasl_getprop(sasl_conn_t *conn, int propnum, const void **pvalue)
197 } else if(result == SASL_NOTDONE) {
198 sasl_seterror(conn, SASL_NOLOG,
199 "Information that was requested is not yet available.");
200- RETURN(conn, result);
201+ RETURN_VAL(conn, result);
202 } else if(result != SASL_OK) {
203 INTERROR(conn, result);
204 } else
205- RETURN(conn, result);
206+ RETURN_VAL(conn, result);
207 }
208
209 /* set property in SASL connection state
210@@ -1146,7 +1146,7 @@ int sasl_setprop(sasl_conn_t *conn, int propnum, const void *value)
211 if(props->maxbufsize == 0 && props->min_ssf != 0) {
212 sasl_seterror(conn, 0,
213 "Attempt to disable security layers (maxoutbuf == 0) with min_ssf > 0");
214- RETURN(conn, SASL_TOOWEAK);
215+ RETURN_VAL(conn, SASL_TOOWEAK);
216 }
217
218 conn->props = *props;
219@@ -1168,7 +1168,7 @@ int sasl_setprop(sasl_conn_t *conn, int propnum, const void *value)
220 } else if (_sasl_ipfromstring(ipremoteport, NULL, 0)
221 != SASL_OK) {
222 sasl_seterror(conn, 0, "Bad IPREMOTEPORT value");
223- RETURN(conn, SASL_BADPARAM);
224+ RETURN_VAL(conn, SASL_BADPARAM);
225 } else {
226 strcpy(conn->ipremoteport, ipremoteport);
227 conn->got_ip_remote = 1;
228@@ -1209,7 +1209,7 @@ int sasl_setprop(sasl_conn_t *conn, int propnum, const void *value)
229 } else if (_sasl_ipfromstring(iplocalport, NULL, 0)
230 != SASL_OK) {
231 sasl_seterror(conn, 0, "Bad IPLOCALPORT value");
232- RETURN(conn, SASL_BADPARAM);
233+ RETURN_VAL(conn, SASL_BADPARAM);
234 } else {
235 strcpy(conn->iplocalport, iplocalport);
236 conn->got_ip_local = 1;
237@@ -1302,7 +1302,7 @@ int sasl_setprop(sasl_conn_t *conn, int propnum, const void *value)
238 result = SASL_BADPARAM;
239 }
240
241- RETURN(conn, result);
242+ RETURN_VAL(conn, result);
243 }
244
245 /* this is apparently no longer a user function */
246@@ -1708,7 +1708,7 @@ _sasl_proxy_policy(sasl_conn_t *conn,
247 (memcmp(auth_identity, requested_user, rlen) != 0)) {
248 sasl_seterror(conn, 0,
249 "Requested identity not authenticated identity");
250- RETURN(conn, SASL_BADAUTH);
251+ RETURN_VAL(conn, SASL_BADAUTH);
252 }
253
254 return SASL_OK;
255@@ -1809,7 +1809,7 @@ int _sasl_getcallback(sasl_conn_t * conn,
256 *pproc = NULL;
257 *pcontext = NULL;
258 sasl_seterror(conn, SASL_NOLOG, "Unable to find a callback: %d", callbackid);
259- RETURN(conn,SASL_FAIL);
260+ RETURN_VAL(conn,SASL_FAIL);
261 }
262
263
264@@ -2405,10 +2405,10 @@ int sasl_listmech(sasl_conn_t *conn,
265 if(!conn) {
266 return SASL_BADPARAM;
267 } else if(conn->type == SASL_CONN_SERVER) {
268- RETURN(conn, _sasl_server_listmech(conn, user, prefix, sep, suffix,
269+ RETURN_VAL(conn, _sasl_server_listmech(conn, user, prefix, sep, suffix,
270 result, plen, pcount));
271 } else if (conn->type == SASL_CONN_CLIENT) {
272- RETURN(conn, _sasl_client_listmech(conn, prefix, sep, suffix,
273+ RETURN_VAL(conn, _sasl_client_listmech(conn, prefix, sep, suffix,
274 result, plen, pcount));
275 }
276
277diff --git a/lib/saslint.h b/lib/saslint.h
278index ebade78f..77fbb1b5 100644
279--- a/lib/saslint.h
280+++ b/lib/saslint.h
281@@ -74,22 +74,22 @@
282 * memory errors.
283 * -Only errors (error codes < SASL_OK) should be remembered
284 */
285-#define RETURN(conn, val) { if(conn && (val) < SASL_OK) \
286+#define RETURN_VAL(conn, val) { if(conn && (val) < SASL_OK) \
287 (conn)->error_code = (val); \
288 return (val); }
289 #define MEMERROR(conn) {\
290 if(conn) sasl_seterror( (conn), 0, \
291 "Out of Memory in " __FILE__ " near line %d", __LINE__ ); \
292- RETURN(conn, SASL_NOMEM) }
293+ RETURN_VAL(conn, SASL_NOMEM) }
294 #define PARAMERROR(conn) {\
295 if(conn) sasl_seterror( (conn), SASL_NOLOG, \
296 "Parameter error in " __FILE__ " near line %d", __LINE__ ); \
297- RETURN(conn, SASL_BADPARAM) }
298+ RETURN_VAL(conn, SASL_BADPARAM) }
299 #define INTERROR(conn, val) {\
300 if(conn) sasl_seterror( (conn), 0, \
301 "Internal Error %d in " __FILE__ " near line %d", (val),\
302 __LINE__ ); \
303- RETURN(conn, (val)) }
304+ RETURN_VAL(conn, (val)) }
305
306 #ifndef PATH_MAX
307 # ifdef WIN32
308diff --git a/lib/server.c b/lib/server.c
309index bff461f8..4ea27643 100644
310--- a/lib/server.c
311+++ b/lib/server.c
312@@ -155,7 +155,7 @@ int sasl_setpass(sasl_conn_t *conn,
313 (current_mech == NULL) ) {
314 sasl_seterror( conn, SASL_NOLOG,
315 "No current SASL mechanism available");
316- RETURN(conn, SASL_BADPARAM);
317+ RETURN_VAL(conn, SASL_BADPARAM);
318 }
319
320 /* Do we want to store SASL_AUX_PASSWORD_PROP (plain text)? and
321@@ -297,7 +297,7 @@ int sasl_setpass(sasl_conn_t *conn,
322 }
323 }
324
325- RETURN(conn, result);
326+ RETURN_VAL(conn, result);
327 }
328
329 /* local mechanism which disposes of server */
330@@ -991,7 +991,7 @@ _sasl_transition(sasl_conn_t * conn,
331 NULL, 0, SASL_SET_CREATE | flags);
332 }
333
334- RETURN(conn,result);
335+ RETURN_VAL(conn,result);
336 }
337
338
339@@ -1367,7 +1367,7 @@ static int do_authorization(sasl_server_conn_t *s_conn)
340 (s_conn->user_realm ? (unsigned) strlen(s_conn->user_realm) : 0),
341 s_conn->sparams->propctx);
342
343- RETURN(&s_conn->base, ret);
344+ RETURN_VAL(&s_conn->base, ret);
345 }
346
347
348@@ -1484,7 +1484,7 @@ int sasl_server_start(sasl_conn_t *conn,
349
350 if (result != SASL_OK) {
351 /* The library will eventually be freed, don't sweat it */
352- RETURN(conn, result);
353+ RETURN_VAL(conn, result);
354 }
355 }
356
357@@ -1573,7 +1573,7 @@ int sasl_server_start(sasl_conn_t *conn,
358 conn->oparams.doneflag = 0;
359 }
360
361- RETURN(conn,result);
362+ RETURN_VAL(conn,result);
363 }
364
365
366@@ -1701,7 +1701,7 @@ int sasl_server_step(sasl_conn_t *conn,
367 conn->oparams.doneflag = 0;
368 }
369
370- RETURN(conn, ret);
371+ RETURN_VAL(conn, ret);
372 }
373
374 /* returns the length of all the mechanisms
375@@ -1950,7 +1950,7 @@ static int _sasl_checkpass(sasl_conn_t *conn,
376 if (result != SASL_OK)
377 sasl_seterror(conn, SASL_NOLOG, "checkpass failed");
378
379- RETURN(conn, result);
380+ RETURN_VAL(conn, result);
381 }
382
383 /* check if a plaintext password is valid
384@@ -1990,7 +1990,7 @@ int sasl_checkpass(sasl_conn_t *conn,
385 result = _sasl_canon_user(conn, user, userlen,
386 SASL_CU_AUTHID | SASL_CU_AUTHZID,
387 &(conn->oparams));
388- if(result != SASL_OK) RETURN(conn, result);
389+ if(result != SASL_OK) RETURN_VAL(conn, result);
390 user = conn->oparams.user;
391
392 /* Check the password and lookup additional properties */
393@@ -2001,7 +2001,7 @@ int sasl_checkpass(sasl_conn_t *conn,
394 result = do_authorization((sasl_server_conn_t *)conn);
395 }
396
397- RETURN(conn,result);
398+ RETURN_VAL(conn,result);
399 }
400
401 /* check if a user exists on server
402@@ -2074,7 +2074,7 @@ int sasl_user_exists(sasl_conn_t *conn,
403 sasl_seterror(conn, SASL_NOLOG, "no plaintext password verifier?");
404 }
405
406- RETURN(conn, result);
407+ RETURN_VAL(conn, result);
408 }
409
410 /* check if an apop exchange is valid
411@@ -2136,7 +2136,7 @@ int sasl_checkapop(sasl_conn_t *conn,
412 if (!user_end || strspn(user_end + 1, "0123456789abcdef") != 32)
413 {
414 sasl_seterror(conn, 0, "Bad Digest");
415- RETURN(conn,SASL_BADPROT);
416+ RETURN_VAL(conn,SASL_BADPROT);
417 }
418
419 user_len = (size_t)(user_end - response);
420@@ -2148,7 +2148,7 @@ int sasl_checkapop(sasl_conn_t *conn,
421 if(result != SASL_OK)
422 {
423 sasl_FREE(user);
424- RETURN(conn, result);
425+ RETURN_VAL(conn, result);
426 }
427
428 /* erase the plaintext password */
429@@ -2163,7 +2163,7 @@ int sasl_checkapop(sasl_conn_t *conn,
430 &(conn->oparams));
431 sasl_FREE(user);
432
433- if(result != SASL_OK) RETURN(conn, result);
434+ if(result != SASL_OK) RETURN_VAL(conn, result);
435
436 /* Do APOP verification */
437 result = _sasl_auxprop_verify_apop(conn, conn->oparams.authid,
438@@ -2178,11 +2178,11 @@ int sasl_checkapop(sasl_conn_t *conn,
439 conn->oparams.authid = NULL;
440 }
441
442- RETURN(conn, result);
443+ RETURN_VAL(conn, result);
444 #else /* sasl_checkapop was disabled at compile time */
445 sasl_seterror(conn, SASL_NOLOG,
446 "sasl_checkapop called, but was disabled at compile time");
447- RETURN(conn, SASL_NOMECH);
448+ RETURN_VAL(conn, SASL_NOMECH);
449 #endif /* DO_SASL_CHECKAPOP */
450 }
451
452diff --git a/saslauthd/auth_sasldb.c b/saslauthd/auth_sasldb.c
453index b6aaa393..08db1892 100644
454--- a/saslauthd/auth_sasldb.c
455+++ b/saslauthd/auth_sasldb.c
456@@ -51,9 +51,7 @@
457 #include "../sasldb/sasldb.h"
458
459 static int
460-vf(void *context __attribute__((unused)),
461- char *file __attribute__((unused)),
462- int type __attribute__((unused)))
463+vf(void)
464 {
465 /* always say ok */
466 return SASL_OK;
467diff --git a/saslauthd/saslauthd-main.c b/saslauthd/saslauthd-main.c
468index ca5b7256..68ffd02f 100644
469--- a/saslauthd/saslauthd-main.c
470+++ b/saslauthd/saslauthd-main.c
471@@ -593,7 +593,7 @@ void signal_setup() {
472 /**************************************************************
473 * Handler for SIGTERM
474 **************************************************************/
475- act_sigterm.sa_handler = server_exit;
476+ act_sigterm.sa_handler = handle_exit;
477 sigemptyset(&act_sigterm.sa_mask);
478
479 if (sigaction(SIGTERM, &act_sigterm, NULL) != 0) {
480@@ -606,7 +606,7 @@ void signal_setup() {
481 /**************************************************************
482 * Handler for SIGINT
483 **************************************************************/
484- act_sigint.sa_handler = server_exit;
485+ act_sigint.sa_handler = handle_exit;
486 sigemptyset(&act_sigint.sa_mask);
487
488 if (sigaction(SIGINT, &act_sigint, NULL) != 0) {
489@@ -876,7 +876,7 @@ pid_t have_baby() {
490 /*************************************************************
491 * Reap in all the dead children
492 **************************************************************/
493-void handle_sigchld() {
494+void handle_sigchld(__attribute__((unused)) int sig) {
495 pid_t pid;
496
497 while ((pid = waitpid(-1, 0, WNOHANG)) > 0) {
498@@ -888,11 +888,15 @@ void handle_sigchld() {
499 return;
500 }
501
502+void handle_exit(__attribute__((unused)) int sig) {
503+ server_exit();
504+}
505+
506
507 /*************************************************************
508 * Do some final cleanup here.
509 **************************************************************/
510-void server_exit() {
511+void server_exit(void) {
512
513 /*********************************************************
514 * If we're not the master process, don't do anything
515diff --git a/saslauthd/saslauthd-main.h b/saslauthd/saslauthd-main.h
516index 754626c6..29998f03 100644
517--- a/saslauthd/saslauthd-main.h
518+++ b/saslauthd/saslauthd-main.h
519@@ -96,8 +96,9 @@ extern void set_mech_option(const char *);
520 extern void set_run_path(const char *);
521 extern void signal_setup();
522 extern void detach_tty();
523-extern void handle_sigchld();
524-extern void server_exit();
525+extern void handle_sigchld(int sig);
526+extern void handle_exit(int sig);
527+extern void server_exit(void);
528 extern pid_t have_baby();
529
530 /* ipc api delcarations */
diff --git a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb
index a6703ecf8d..bd15b0bda8 100644
--- a/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb
+++ b/meta-oe/recipes-networking/cyrus-sasl/cyrus-sasl_2.1.28.bb
@@ -7,20 +7,23 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3f55e0974e3d6db00ca6f57f2d206396"
7 7
8SRCREV = "7a6b45b177070198fed0682bea5fa87c18abb084" 8SRCREV = "7a6b45b177070198fed0682bea5fa87c18abb084"
9 9
10SRC_URI = "git://github.com/cyrusimap/cyrus-sasl;protocol=https;branch=cyrus-sasl-2.1 \ 10SRC_URI = " \
11 file://avoid-to-call-AC_TRY_RUN.patch \ 11 git://github.com/cyrusimap/cyrus-sasl;protocol=https;branch=cyrus-sasl-2.1 \
12 file://debian_patches_0014_avoid_pic_overwrite.diff \ 12 file://avoid-to-call-AC_TRY_RUN.patch \
13 file://0001-sample-Rename-dprintf-to-cyrus_dprintf.patch \ 13 file://debian_patches_0014_avoid_pic_overwrite.diff \
14 file://saslauthd.service \ 14 file://0001-sample-Rename-dprintf-to-cyrus_dprintf.patch \
15 file://saslauthd.conf \ 15 file://saslauthd.service \
16 file://CVE-2019-19906.patch \ 16 file://saslauthd.conf \
17 file://CVE-2022-24407.patch \ 17 file://CVE-2019-19906.patch \
18 file://0001-Fix-time.h-check.patch \ 18 file://CVE-2022-24407.patch \
19 " 19 file://0001-Fix-time.h-check.patch \
20 file://0001-configure-prototypes.patch \
21 file://0002-Fix-incompatible-pointer-types-error-with-gcc-15.patch \
22 file://0003-Add-compatibility-for-gcc-15-869.patch \
23"
20 24
21UPSTREAM_CHECK_URI = "https://github.com/cyrusimap/cyrus-sasl/archives" 25UPSTREAM_CHECK_URI = "https://github.com/cyrusimap/cyrus-sasl/archives"
22 26
23S = "${WORKDIR}/git"
24 27
25inherit autotools pkgconfig useradd systemd 28inherit autotools pkgconfig useradd systemd
26 29
@@ -81,7 +84,6 @@ SYSTEMD_PACKAGES = "${PN}-bin"
81SYSTEMD_SERVICE:${PN}-bin = "saslauthd.service" 84SYSTEMD_SERVICE:${PN}-bin = "saslauthd.service"
82SYSTEMD_AUTO_ENABLE = "disable" 85SYSTEMD_AUTO_ENABLE = "disable"
83 86
84SRC_URI[md5sum] = "a7f4e5e559a0e37b3ffc438c9456e425"
85SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3" 87SRC_URI[sha256sum] = "8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3"
86 88
87PACKAGES =+ "${PN}-bin" 89PACKAGES =+ "${PN}-bin"
diff --git a/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch b/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch
new file mode 100644
index 0000000000..7165593608
--- /dev/null
+++ b/meta-oe/recipes-printing/cups/cups-filters/0001-Fix-build-failure-with-GCC-15-and-std-c23.patch
@@ -0,0 +1,28 @@
1From a31812e179f24f71199e7b1c823ecd212f10472f Mon Sep 17 00:00:00 2001
2From: Zdenek Dohnal <zdohnal@redhat.com>
3Date: Fri, 24 Jan 2025 09:44:58 +0100
4Subject: [PATCH] Fix build failure with GCC 15 and -std=c23
5
6The newest standard has more strict data type checks, function pointers
7in function prototypes have to declare data types of its arguments.
8
9Upstream-Status: Backport [https://github.com/OpenPrinting/cups-filters/commit/9871a50b5c1f9c2caa2754aac1f5db70c886021b]
10
11Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
12---
13 filter/foomatic-rip/process.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/filter/foomatic-rip/process.h b/filter/foomatic-rip/process.h
17index f6e15f6..54a4292 100644
18--- a/filter/foomatic-rip/process.h
19+++ b/filter/foomatic-rip/process.h
20@@ -18,7 +18,7 @@
21 #include <sys/wait.h>
22
23
24-pid_t start_process(const char *name, int (*proc_func)(), void *user_arg,
25+pid_t start_process(const char *name, int (*proc_func)(FILE*, FILE*, void*), void *user_arg,
26 FILE **fdin, FILE **fdout);
27 pid_t start_system_process(const char *name, const char *command, FILE **fdin,
28 FILE **fdout);
diff --git a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb
index efcd1aab8a..2f1a772dde 100644
--- a/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb
+++ b/meta-oe/recipes-printing/cups/cups-filters_2.0.0.bb
@@ -6,18 +6,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6d5b952b53dbe7752199903d082e5f07"
6DEPENDS = "libcupsfilters libppd glib-2.0 poppler" 6DEPENDS = "libcupsfilters libppd glib-2.0 poppler"
7 7
8SRC_URI = " \ 8SRC_URI = " \
9 https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 9 https://github.com/OpenPrinting/${BPN}/releases/download/${PV}/${BP}.tar.xz \
10 file://fix-make-race.patch \ 10 file://fix-make-race.patch \
11 file://0001-Fix-build-failure-with-GCC-15-and-std-c23.patch \
11" 12"
12SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8" 13SRC_URI[sha256sum] = "b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8"
13 14
15UPSTREAM_CHECK_URI = "https://github.com/OpenPrinting/cups-filters/releases"
16
14inherit autotools gettext pkgconfig github-releases 17inherit autotools gettext pkgconfig github-releases
15 18
16EXTRA_OECONF += " \ 19EXTRA_OECONF += " \
17 --enable-imagefilters \ 20 --enable-imagefilters \
18 --enable-ghostscript --with-gs-path=${bindir}/gs \ 21 --enable-ghostscript --with-gs-path=${bindir}/gs \
19 --with-fontdir=${datadir}/fonts \ 22 --with-fontdir=${datadir}/fonts \
20 --localstatedir=${localstatedir} \ 23 --localstatedir=${localstatedir} \
21" 24"
22 25
23PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}" 26PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
diff --git a/meta-oe/recipes-printing/cups/cups-pk-helper_0.2.7.bb b/meta-oe/recipes-printing/cups/cups-pk-helper_0.2.7.bb
index 4bf62006f4..81fdf2a7fb 100644
--- a/meta-oe/recipes-printing/cups/cups-pk-helper_0.2.7.bb
+++ b/meta-oe/recipes-printing/cups/cups-pk-helper_0.2.7.bb
@@ -7,7 +7,7 @@ DEPENDS = "cups polkit glib-2.0"
7 7
8inherit meson pkgconfig gettext features_check 8inherit meson pkgconfig gettext features_check
9 9
10REQUIRED_DISTRO_FEATURES ="polkit" 10REQUIRED_DISTRO_FEATURES = "polkit"
11 11
12SRC_URI = " \ 12SRC_URI = " \
13 https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-${PV}.tar.xz \ 13 https://www.freedesktop.org/software/cups-pk-helper/releases/cups-pk-helper-${PV}.tar.xz \
diff --git a/meta-oe/recipes-printing/qpdf/qpdf_11.9.0.bb b/meta-oe/recipes-printing/qpdf/qpdf_12.2.0.bb
index 4778be42b5..8ed993aa78 100644
--- a/meta-oe/recipes-printing/qpdf/qpdf_11.9.0.bb
+++ b/meta-oe/recipes-printing/qpdf/qpdf_12.2.0.bb
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
5 5
6DEPENDS = "zlib jpeg ${@bb.utils.contains('PACKAGECONFIG', 'gnutls', 'gnutls', 'openssl', d)}" 6DEPENDS = "zlib jpeg ${@bb.utils.contains('PACKAGECONFIG', 'gnutls', 'gnutls', 'openssl', d)}"
7 7
8SRC_URI = "git://github.com/qpdf/qpdf.git;protocol=https;branch=main" 8SRC_URI = "git://github.com/qpdf/qpdf.git;protocol=https;branch=main;tag=v${PV}"
9SRCREV = "3b97c9bd266b7c32ea36d3536e22dab77412886d" 9SRCREV = "856d32c610334855d30e96d25eb5f9636fb62f08"
10 10
11inherit cmake pkgconfig gettext 11inherit cmake pkgconfig gettext
12 12
@@ -20,7 +20,6 @@ EXTRA_OECMAKE = ' \
20LDFLAGS:append:mipsarch = " -latomic" 20LDFLAGS:append:mipsarch = " -latomic"
21LDFLAGS:append:riscv32 = " -latomic" 21LDFLAGS:append:riscv32 = " -latomic"
22 22
23S="${WORKDIR}/git"
24 23
25PACKAGECONFIG ?= "gnutls" 24PACKAGECONFIG ?= "gnutls"
26PACKAGECONFIG[gnutls] = "-DREQUIRE_CRYPTO_GNUTLS=ON,-DREQUIRE_CRYPTO_OPENSSL=ON" 25PACKAGECONFIG[gnutls] = "-DREQUIRE_CRYPTO_GNUTLS=ON,-DREQUIRE_CRYPTO_OPENSSL=ON"
diff --git a/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch b/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch
index f2755d5c08..f37fbf63a7 100644
--- a/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch
+++ b/meta-oe/recipes-security/audit/audit/0001-Fixed-swig-host-contamination-issue.patch
@@ -1,4 +1,4 @@
1From 5cdc667aeb7a014cdc1f8c7df8f8080408773dbe Mon Sep 17 00:00:00 2001 1From 4f78fcb8728cd4bf31175b3fa610a5c003e915d1 Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com> 2From: Li xin <lixin.fnst@cn.fujitsu.com>
3Date: Sun, 19 Jul 2015 02:42:58 +0900 3Date: Sun, 19 Jul 2015 02:42:58 +0900
4Subject: [PATCH] Fixed swig host contamination issue 4Subject: [PATCH] Fixed swig host contamination issue
@@ -19,7 +19,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
19 2 files changed, 3 insertions(+), 2 deletions(-) 19 2 files changed, 3 insertions(+), 2 deletions(-)
20 20
21diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am 21diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am
22index c2c6def4..bcc2836c 100644 22index 428e40fa..f4dd45bc 100644
23--- a/bindings/swig/python3/Makefile.am 23--- a/bindings/swig/python3/Makefile.am
24+++ b/bindings/swig/python3/Makefile.am 24+++ b/bindings/swig/python3/Makefile.am
25@@ -23,6 +23,7 @@ 25@@ -23,6 +23,7 @@
@@ -30,7 +30,7 @@ index c2c6def4..bcc2836c 100644
30 LIBS = $(top_builddir)/lib/libaudit.la 30 LIBS = $(top_builddir)/lib/libaudit.la
31 SWIG_FLAGS = -python 31 SWIG_FLAGS = -python
32 SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES) 32 SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES)
33@@ -37,7 +38,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li 33@@ -35,7 +36,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li
34 _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la 34 _audit_la_LIBADD = ${top_builddir}/lib/libaudit.la
35 nodist__audit_la_SOURCES = audit_wrap.c 35 nodist__audit_la_SOURCES = audit_wrap.c
36 audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i 36 audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i
@@ -40,10 +40,10 @@ index c2c6def4..bcc2836c 100644
40 CLEANFILES = audit.py* audit_wrap.c *~ 40 CLEANFILES = audit.py* audit_wrap.c *~
41 41
42diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i 42diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
43index 6b267844..5a4e442f 100644 43index 2760e516..5d0ea8b6 100644
44--- a/bindings/swig/src/auditswig.i 44--- a/bindings/swig/src/auditswig.i
45+++ b/bindings/swig/src/auditswig.i 45+++ b/bindings/swig/src/auditswig.i
46@@ -50,7 +50,7 @@ typedef unsigned uid_t; 46@@ -52,7 +52,7 @@ typedef unsigned uid_t;
47 */ 47 */
48 %ignore audit_rule_data::buf; 48 %ignore audit_rule_data::buf;
49 49
@@ -52,6 +52,3 @@ index 6b267844..5a4e442f 100644
52 #define __extension__ /*nothing*/ 52 #define __extension__ /*nothing*/
53 %include <stdint.i> 53 %include <stdint.i>
54 %include "../lib/audit-records.h" 54 %include "../lib/audit-records.h"
55--
562.25.1
57
diff --git a/meta-oe/recipes-security/audit/audit/0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch b/meta-oe/recipes-security/audit/audit/0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch
deleted file mode 100644
index b1f324f22d..0000000000
--- a/meta-oe/recipes-security/audit/audit/0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch
+++ /dev/null
@@ -1,49 +0,0 @@
1From 88c9b2c5cebebf13f90890baebbadc60d9fe8d16 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 9 Aug 2022 23:57:03 -0700
4Subject: [PATCH] Replace __attribute_malloc__ with __attribute__((__malloc__))
5
6__attribute_malloc__ is not available on musl
7
8Fixes
9| ../../git/auparse/auparse.h:54:2: error: expected function body after function declarator
10| __attribute_malloc__ __attr_dealloc (auparse_destroy, 1);
11| ^
12
13Upstream-Status: Pending
14
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 audisp/plugins/remote/queue.h | 2 +-
18 auparse/auparse.h | 2 +-
19 2 files changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/audisp/plugins/remote/queue.h b/audisp/plugins/remote/queue.h
22index 36b70d04..031507dc 100644
23--- a/audisp/plugins/remote/queue.h
24+++ b/audisp/plugins/remote/queue.h
25@@ -53,7 +53,7 @@ void q_close(struct queue *q);
26 * On error, return NULL and set errno. */
27 struct queue *q_open(int q_flags, const char *path, size_t num_entries,
28 size_t entry_size)
29- __attribute_malloc__ __attr_dealloc (q_close, 1) __wur;
30+ __attribute__((__malloc__)) __attr_dealloc (q_close, 1) __wur;
31
32 /* Add DATA to tail of Q. Return 0 on success, -1 on error and set errno. */
33 int q_append(struct queue *q, const char *data);
34diff --git a/auparse/auparse.h b/auparse/auparse.h
35index c27f1ff9..87c52965 100644
36--- a/auparse/auparse.h
37+++ b/auparse/auparse.h
38@@ -55,7 +55,7 @@ typedef void (*auparse_callback_ptr)(auparse_state_t *au,
39 void auparse_destroy(auparse_state_t *au);
40 void auparse_destroy_ext(auparse_state_t *au, auparse_destroy_what_t what);
41 auparse_state_t *auparse_init(ausource_t source, const void *b)
42- __attribute_malloc__ __attr_dealloc (auparse_destroy, 1);
43+ __attribute__((__malloc__)) __attr_dealloc (auparse_destroy, 1);
44 int auparse_new_buffer(auparse_state_t *au, const char *data, size_t data_len)
45 __attr_access ((__read_only__, 2, 3));
46 int auparse_feed(auparse_state_t *au, const char *data, size_t data_len)
47--
482.25.1
49
diff --git a/meta-oe/recipes-security/audit/audit/audit-volatile.conf b/meta-oe/recipes-security/audit/audit/audit-volatile.conf
deleted file mode 100644
index 9cbe1547a3..0000000000
--- a/meta-oe/recipes-security/audit/audit/audit-volatile.conf
+++ /dev/null
@@ -1 +0,0 @@
1d /var/log/audit 0750 root root -
diff --git a/meta-oe/recipes-security/audit/audit_4.0.1.bb b/meta-oe/recipes-security/audit/audit_4.0.5.bb
index c189cfea55..58100b206d 100644
--- a/meta-oe/recipes-security/audit/audit_4.0.1.bb
+++ b/meta-oe/recipes-security/audit/audit_4.0.5.bb
@@ -10,13 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
10SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https \ 10SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https \
11 file://0001-Fixed-swig-host-contamination-issue.patch \ 11 file://0001-Fixed-swig-host-contamination-issue.patch \
12 file://auditd \ 12 file://auditd \
13 file://audit-volatile.conf \
14 " 13 "
15 14
16SRC_URI:append:libc-musl = " file://0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch" 15SRCREV = "97c4ec3d68b5b199f2796d1e126c2144506bd228"
17
18S = "${WORKDIR}/git"
19SRCREV = "22ccbd984e493524050ac445f796e9a7e90e1149"
20 16
21inherit autotools python3targetconfig update-rc.d systemd 17inherit autotools python3targetconfig update-rc.d systemd
22 18
@@ -35,6 +31,7 @@ EXTRA_OECONF = " \
35 --with-python3 \ 31 --with-python3 \
36 --with-arm \ 32 --with-arm \
37 --with-aarch64 \ 33 --with-aarch64 \
34 --with-riscv \
38 --without-golang \ 35 --without-golang \
39 --disable-gssapi-krb5 \ 36 --disable-gssapi-krb5 \
40 --disable-zos-remote \ 37 --disable-zos-remote \
@@ -59,7 +56,9 @@ PACKAGES =+ "audispd-plugins"
59PACKAGES += "auditd ${PN}-python" 56PACKAGES += "auditd ${PN}-python"
60 57
61FILES:${PN} = "${sysconfdir}/libaudit.conf ${libdir}/libau*.so.*" 58FILES:${PN} = "${sysconfdir}/libaudit.conf ${libdir}/libau*.so.*"
62FILES:auditd = "${bindir}/* ${base_sbindir}/* ${sysconfdir}/* ${datadir}/audit-rules/* ${libexecdir}/*" 59FILES:auditd = "${bindir}/* ${base_sbindir}/* ${sysconfdir}/* \
60 ${datadir}/audit-rules/* ${libexecdir}/* \
61 ${nonarch_libdir}/tmpfiles.d/*.conf"
63FILES:audispd-plugins = "${sysconfdir}/audit/audisp-remote.conf \ 62FILES:audispd-plugins = "${sysconfdir}/audit/audisp-remote.conf \
64 ${sysconfdir}/audit/plugins.d/au-remote.conf \ 63 ${sysconfdir}/audit/plugins.d/au-remote.conf \
65 ${sysconfdir}/audit/plugins.d/syslog.conf \ 64 ${sysconfdir}/audit/plugins.d/syslog.conf \
@@ -89,15 +88,20 @@ do_install:append() {
89 # Based on the audit.spec "Copy default rules into place on new installation" 88 # Based on the audit.spec "Copy default rules into place on new installation"
90 install -m 0640 ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules 89 install -m 0640 ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules
91 90
92 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
93 install -D -m 0644 ${UNPACKDIR}/audit-volatile.conf ${D}${sysconfdir}/tmpfiles.d/audit.conf
94 fi
95
96 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 91 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
97 install -D -m 0755 ${UNPACKDIR}/auditd ${D}/etc/init.d/auditd 92 install -D -m 0755 ${UNPACKDIR}/auditd ${D}/etc/init.d/auditd
98 rm -rf ${D}${libdir}/systemd 93 fi
94
95 if ! ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
96 rm -rf ${D}${nonarch_libdir}/systemd
97 rm -rf ${D}${nonarch_libdir}/tmpfiles.d
98
99 # Remove empty directory when enable multilib
100 rmdir --ignore-fail-on-non-empty ${D}${nonarch_libdir}
99 fi 101 fi
100 102
101 # Create /var/spool/audit directory for audisp-remote 103 # Create /var/spool/audit directory for audisp-remote
102 install -d -m 0700 ${D}${localstatedir}/spool/audit 104 install -d -m 0700 ${D}${localstatedir}/spool/audit
103} 105}
106
107CVE_PRODUCT = "linux:audit"
diff --git a/meta-oe/recipes-security/bubblewrap/bubblewrap/0001-Use-stdbool.h-for-booleans.patch b/meta-oe/recipes-security/bubblewrap/bubblewrap/0001-Use-stdbool.h-for-booleans.patch
new file mode 100644
index 0000000000..2566314ce3
--- /dev/null
+++ b/meta-oe/recipes-security/bubblewrap/bubblewrap/0001-Use-stdbool.h-for-booleans.patch
@@ -0,0 +1,633 @@
1From 4572dd9378c876349e02403cf7f6031c45281f85 Mon Sep 17 00:00:00 2001
2From: "Simon McVittie" <smcv@collabora.com>
3Date: Tue, 8 Apr 2025 16:29:18 +0900
4Subject: [PATCH] Use stdbool.h for booleans
5
6* backport fix from:
7 https://github.com/containers/bubblewrap/pull/660
8 But patch rework for this version.
9 In gcc 15, bool became a reserved keyword in C23, causing conflicts with our custom bool definition.
10
11 See also, https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
12
13* to fix:
14 http://errors.yoctoproject.org/Errors/Details/851183/
15 ../bubblewrap-0.10.0/utils.h:46:13: error: 'bool' cannot be defined via 'typedef'
16 46 | typedef int bool;
17 | ^~~~
18
19Upstream-Status: Backport [https://github.com/containers/bubblewrap/pull/660]
20Signed-off-by: mark.yang <mark.yang@lge.com>
21---
22 bind-mount.c | 20 ++++----
23 bubblewrap.c | 134 +++++++++++++++++++++++++--------------------------
24 utils.c | 16 +++---
25 utils.h | 5 +-
26 4 files changed, 86 insertions(+), 89 deletions(-)
27
28diff --git a/bind-mount.c b/bind-mount.c
29index 2757cae..bf7f68d 100644
30--- a/bind-mount.c
31+++ b/bind-mount.c
32@@ -76,7 +76,7 @@ match_token (const char *token, const char *token_end, const char *str)
33 if (token == token_end)
34 return *str == 0;
35
36- return FALSE;
37+ return false;
38 }
39
40 static unsigned long
41@@ -281,12 +281,12 @@ parse_mountinfo (int proc_fd,
42 die ("Can't parse mountinfo line");
43 rest = line + consumed;
44
45- rest = skip_token (rest, TRUE); /* mountroot */
46+ rest = skip_token (rest, true); /* mountroot */
47 mountpoint = rest;
48- rest = skip_token (rest, FALSE); /* mountpoint */
49+ rest = skip_token (rest, false); /* mountpoint */
50 mountpoint_end = rest++;
51 options = rest;
52- rest = skip_token (rest, FALSE); /* vfs options */
53+ rest = skip_token (rest, false); /* vfs options */
54 options_end = rest;
55
56 *mountpoint_end = 0;
57@@ -324,7 +324,7 @@ parse_mountinfo (int proc_fd,
58 MountInfoLine *parent = by_id[this->parent_id];
59 MountInfoLine **to_sibling;
60 MountInfoLine *sibling;
61- bool covered = FALSE;
62+ bool covered = false;
63
64 if (!has_path_prefix (this->mountpoint, root_mount))
65 continue;
66@@ -333,7 +333,7 @@ parse_mountinfo (int proc_fd,
67 continue;
68
69 if (strcmp (parent->mountpoint, this->mountpoint) == 0)
70- parent->covered = TRUE;
71+ parent->covered = true;
72
73 to_sibling = &parent->first_child;
74 sibling = parent->first_child;
75@@ -344,7 +344,7 @@ parse_mountinfo (int proc_fd,
76 * covered by the sibling, and we drop it. */
77 if (has_path_prefix (this->mountpoint, sibling->mountpoint))
78 {
79- covered = TRUE;
80+ covered = true;
81 break;
82 }
83
84@@ -499,7 +499,7 @@ bind_mount_result_to_string (bind_mount_result res,
85 bool *want_errno_p)
86 {
87 char *string = NULL;
88- bool want_errno = TRUE;
89+ bool want_errno = true;
90
91 switch (res)
92 {
93@@ -521,7 +521,7 @@ bind_mount_result_to_string (bind_mount_result res,
94
95 case BIND_MOUNT_ERROR_FIND_DEST_MOUNT:
96 string = xasprintf ("Unable to find \"%s\" in mount table", failing_path);
97- want_errno = FALSE;
98+ want_errno = false;
99 break;
100
101 case BIND_MOUNT_ERROR_REMOUNT_DEST:
102@@ -557,7 +557,7 @@ die_with_bind_result (bind_mount_result res,
103 ...)
104 {
105 va_list args;
106- bool want_errno = TRUE;
107+ bool want_errno = true;
108 char *message;
109
110 fprintf (stderr, "bwrap: ");
111diff --git a/bubblewrap.c b/bubblewrap.c
112index bc75da4..1504449 100644
113--- a/bubblewrap.c
114+++ b/bubblewrap.c
115@@ -74,19 +74,19 @@ static bool opt_as_pid_1;
116
117 static const char *opt_argv0 = NULL;
118 static const char *opt_chdir_path = NULL;
119-static bool opt_assert_userns_disabled = FALSE;
120-static bool opt_disable_userns = FALSE;
121-static bool opt_unshare_user = FALSE;
122-static bool opt_unshare_user_try = FALSE;
123-static bool opt_unshare_pid = FALSE;
124-static bool opt_unshare_ipc = FALSE;
125-static bool opt_unshare_net = FALSE;
126-static bool opt_unshare_uts = FALSE;
127-static bool opt_unshare_cgroup = FALSE;
128-static bool opt_unshare_cgroup_try = FALSE;
129-static bool opt_needs_devpts = FALSE;
130-static bool opt_new_session = FALSE;
131-static bool opt_die_with_parent = FALSE;
132+static bool opt_assert_userns_disabled = false;
133+static bool opt_disable_userns = false;
134+static bool opt_unshare_user = false;
135+static bool opt_unshare_user_try = false;
136+static bool opt_unshare_pid = false;
137+static bool opt_unshare_ipc = false;
138+static bool opt_unshare_net = false;
139+static bool opt_unshare_uts = false;
140+static bool opt_unshare_cgroup = false;
141+static bool opt_unshare_cgroup_try = false;
142+static bool opt_needs_devpts = false;
143+static bool opt_new_session = false;
144+static bool opt_die_with_parent = false;
145 static uid_t opt_sandbox_uid = -1;
146 static gid_t opt_sandbox_gid = -1;
147 static int opt_sync_fd = -1;
148@@ -476,7 +476,7 @@ report_child_exit_status (int exitc, int setup_finished_fd)
149 return;
150
151 output = xasprintf ("{ \"exit-code\": %i }\n", exitc);
152- dump_info (opt_json_status_fd, output, FALSE);
153+ dump_info (opt_json_status_fd, output, false);
154 close (opt_json_status_fd);
155 opt_json_status_fd = -1;
156 close (setup_finished_fd);
157@@ -621,7 +621,7 @@ do_init (int event_fd, pid_t initial_pid)
158
159 seccomp_programs_apply ();
160
161- while (TRUE)
162+ while (true)
163 {
164 pid_t child;
165 int status;
166@@ -765,16 +765,16 @@ prctl_caps (uint32_t *caps, bool do_cap_bounding, bool do_set_ambient)
167 */
168 for (cap = 0; cap <= CAP_LAST_CAP; cap++)
169 {
170- bool keep = FALSE;
171+ bool keep = false;
172 if (cap < 32)
173 {
174 if (CAP_TO_MASK_0 (cap) & caps[0])
175- keep = TRUE;
176+ keep = true;
177 }
178 else
179 {
180 if (CAP_TO_MASK_1 (cap) & caps[1])
181- keep = TRUE;
182+ keep = true;
183 }
184
185 if (keep && do_set_ambient)
186@@ -803,11 +803,11 @@ static void
187 drop_cap_bounding_set (bool drop_all)
188 {
189 if (!drop_all)
190- prctl_caps (requested_caps, TRUE, FALSE);
191+ prctl_caps (requested_caps, true, false);
192 else
193 {
194 uint32_t no_caps[2] = {0, 0};
195- prctl_caps (no_caps, TRUE, FALSE);
196+ prctl_caps (no_caps, true, false);
197 }
198 }
199
200@@ -816,7 +816,7 @@ set_ambient_capabilities (void)
201 {
202 if (is_privileged)
203 return;
204- prctl_caps (requested_caps, FALSE, TRUE);
205+ prctl_caps (requested_caps, false, true);
206 }
207
208 /* This acquires the privileges that the bwrap will need it to work.
209@@ -846,7 +846,7 @@ acquire_privs (void)
210 if (euid != 0)
211 die ("Unexpected setuid user %d, should be 0", euid);
212
213- is_privileged = TRUE;
214+ is_privileged = true;
215 /* We want to keep running as euid=0 until at the clone()
216 * operation because doing so will make the user namespace be
217 * owned by root, which makes it not ptrace:able by the user as
218@@ -867,7 +867,7 @@ acquire_privs (void)
219 die ("Unable to set fsuid (was %d)", (int)new_fsuid);
220
221 /* We never need capabilities after execve(), so lets drop everything from the bounding set */
222- drop_cap_bounding_set (TRUE);
223+ drop_cap_bounding_set (true);
224
225 /* Keep only the required capabilities for setup */
226 set_required_caps ();
227@@ -904,7 +904,7 @@ switch_to_user_with_privs (void)
228 {
229 /* If we're in a new user namespace, we got back the bounding set, clear it again */
230 if (opt_unshare_user || opt_userns_fd != -1)
231- drop_cap_bounding_set (FALSE);
232+ drop_cap_bounding_set (false);
233
234 /* If we switched to a new user namespace it may allow other uids/gids, so switch to the target one */
235 if (opt_userns_fd != -1)
236@@ -1211,7 +1211,7 @@ setup_newroot (bool unshare_pid,
237 parent_mode &= ~0005U;
238
239 dest = get_newroot_path (op->dest);
240- if (mkdir_with_parents (dest, parent_mode, FALSE) != 0)
241+ if (mkdir_with_parents (dest, parent_mode, false) != 0)
242 die_with_error ("Can't mkdir parents for %s", op->dest);
243 }
244
245@@ -1761,7 +1761,7 @@ parse_args_recurse (int *argcp,
246 }
247
248 data_argv_copy = data_argv; /* Don't change data_argv, we need to free it */
249- parse_args_recurse (&data_argc, &data_argv_copy, TRUE, total_parsed_argc_p);
250+ parse_args_recurse (&data_argc, &data_argv_copy, true, total_parsed_argc_p);
251
252 argv += 1;
253 argc -= 1;
254@@ -1786,45 +1786,45 @@ parse_args_recurse (int *argcp,
255 */
256 opt_unshare_user_try = opt_unshare_ipc = opt_unshare_pid =
257 opt_unshare_uts = opt_unshare_cgroup_try =
258- opt_unshare_net = TRUE;
259+ opt_unshare_net = true;
260 }
261 /* Begin here the older individual --unshare variants */
262 else if (strcmp (arg, "--unshare-user") == 0)
263 {
264- opt_unshare_user = TRUE;
265+ opt_unshare_user = true;
266 }
267 else if (strcmp (arg, "--unshare-user-try") == 0)
268 {
269- opt_unshare_user_try = TRUE;
270+ opt_unshare_user_try = true;
271 }
272 else if (strcmp (arg, "--unshare-ipc") == 0)
273 {
274- opt_unshare_ipc = TRUE;
275+ opt_unshare_ipc = true;
276 }
277 else if (strcmp (arg, "--unshare-pid") == 0)
278 {
279- opt_unshare_pid = TRUE;
280+ opt_unshare_pid = true;
281 }
282 else if (strcmp (arg, "--unshare-net") == 0)
283 {
284- opt_unshare_net = TRUE;
285+ opt_unshare_net = true;
286 }
287 else if (strcmp (arg, "--unshare-uts") == 0)
288 {
289- opt_unshare_uts = TRUE;
290+ opt_unshare_uts = true;
291 }
292 else if (strcmp (arg, "--unshare-cgroup") == 0)
293 {
294- opt_unshare_cgroup = TRUE;
295+ opt_unshare_cgroup = true;
296 }
297 else if (strcmp (arg, "--unshare-cgroup-try") == 0)
298 {
299- opt_unshare_cgroup_try = TRUE;
300+ opt_unshare_cgroup_try = true;
301 }
302 /* Begin here the newer --share variants */
303 else if (strcmp (arg, "--share-net") == 0)
304 {
305- opt_unshare_net = FALSE;
306+ opt_unshare_net = false;
307 }
308 /* End --share variants, other arguments begin */
309 else if (strcmp (arg, "--chdir") == 0)
310@@ -1841,11 +1841,11 @@ parse_args_recurse (int *argcp,
311 }
312 else if (strcmp (arg, "--disable-userns") == 0)
313 {
314- opt_disable_userns = TRUE;
315+ opt_disable_userns = true;
316 }
317 else if (strcmp (arg, "--assert-userns-disabled") == 0)
318 {
319- opt_assert_userns_disabled = TRUE;
320+ opt_assert_userns_disabled = true;
321 }
322 else if (strcmp (arg, "--remount-ro") == 0)
323 {
324@@ -1975,7 +1975,7 @@ parse_args_recurse (int *argcp,
325
326 op = setup_op_new (SETUP_MOUNT_DEV);
327 op->dest = argv[1];
328- opt_needs_devpts = TRUE;
329+ opt_needs_devpts = true;
330
331 argv += 1;
332 argc -= 1;
333@@ -2425,15 +2425,15 @@ parse_args_recurse (int *argcp,
334 }
335 else if (strcmp (arg, "--new-session") == 0)
336 {
337- opt_new_session = TRUE;
338+ opt_new_session = true;
339 }
340 else if (strcmp (arg, "--die-with-parent") == 0)
341 {
342- opt_die_with_parent = TRUE;
343+ opt_die_with_parent = true;
344 }
345 else if (strcmp (arg, "--as-pid-1") == 0)
346 {
347- opt_as_pid_1 = TRUE;
348+ opt_as_pid_1 = true;
349 }
350 else if (strcmp (arg, "--cap-add") == 0)
351 {
352@@ -2441,7 +2441,7 @@ parse_args_recurse (int *argcp,
353 if (argc < 2)
354 die ("--cap-add takes an argument");
355
356- opt_cap_add_or_drop_used = TRUE;
357+ opt_cap_add_or_drop_used = true;
358
359 if (strcasecmp (argv[1], "ALL") == 0)
360 {
361@@ -2467,7 +2467,7 @@ parse_args_recurse (int *argcp,
362 if (argc < 2)
363 die ("--cap-drop takes an argument");
364
365- opt_cap_add_or_drop_used = TRUE;
366+ opt_cap_add_or_drop_used = true;
367
368 if (strcasecmp (argv[1], "ALL") == 0)
369 {
370@@ -2610,7 +2610,7 @@ parse_args (int *argcp,
371 {
372 int total_parsed_argc = *argcp;
373
374- parse_args_recurse (argcp, argvp, FALSE, &total_parsed_argc);
375+ parse_args_recurse (argcp, argvp, false, &total_parsed_argc);
376 }
377
378 static void
379@@ -2656,7 +2656,7 @@ namespace_ids_read (pid_t pid)
380 int r;
381
382 /* if we don't unshare this ns, ignore it */
383- if (do_unshare && *do_unshare == FALSE)
384+ if (do_unshare && *do_unshare == false)
385 continue;
386
387 r = fstatat (ns_fd, info->name, &st, 0);
388@@ -2691,7 +2691,7 @@ namespace_ids_write (int fd,
389 output = xasprintf (",%s\"%s-namespace\": %ju",
390 indent, info->name, nsid);
391
392- dump_info (fd, output, TRUE);
393+ dump_info (fd, output, true);
394 }
395 }
396
397@@ -2799,18 +2799,18 @@ main (int argc,
398 /* We have to do this if we weren't installed setuid (and we're not
399 * root), so let's just DWIM */
400 if (!is_privileged && getuid () != 0 && opt_userns_fd == -1)
401- opt_unshare_user = TRUE;
402+ opt_unshare_user = true;
403
404 #ifdef ENABLE_REQUIRE_USERNS
405 /* In this build option, we require userns. */
406 if (is_privileged && getuid () != 0 && opt_userns_fd == -1)
407- opt_unshare_user = TRUE;
408+ opt_unshare_user = true;
409 #endif
410
411 if (opt_unshare_user_try &&
412 stat ("/proc/self/ns/user", &sbuf) == 0)
413 {
414- bool disabled = FALSE;
415+ bool disabled = false;
416
417 /* RHEL7 has a kernel module parameter that lets you enable user namespaces */
418 if (stat ("/sys/module/user_namespace/parameters/enable", &sbuf) == 0)
419@@ -2818,7 +2818,7 @@ main (int argc,
420 cleanup_free char *enable = NULL;
421 enable = load_file_at (AT_FDCWD, "/sys/module/user_namespace/parameters/enable");
422 if (enable != NULL && enable[0] == 'N')
423- disabled = TRUE;
424+ disabled = true;
425 }
426
427 /* Check for max_user_namespaces */
428@@ -2827,7 +2827,7 @@ main (int argc,
429 cleanup_free char *max_user_ns = NULL;
430 max_user_ns = load_file_at (AT_FDCWD, "/proc/sys/user/max_user_namespaces");
431 if (max_user_ns != NULL && strcmp(max_user_ns, "0\n") == 0)
432- disabled = TRUE;
433+ disabled = true;
434 }
435
436 /* Debian lets you disable *unprivileged* user namespaces. However this is not
437@@ -2835,7 +2835,7 @@ main (int argc,
438 already, and there is not much we can do, its just a non-working setup. */
439
440 if (!disabled)
441- opt_unshare_user = TRUE;
442+ opt_unshare_user = true;
443 }
444
445 if (argc <= 0)
446@@ -2993,7 +2993,7 @@ main (int argc,
447 */
448 write_uid_gid_map (ns_uid, real_uid,
449 ns_gid, real_gid,
450- pid, TRUE, opt_needs_devpts);
451+ pid, true, opt_needs_devpts);
452 }
453
454 /* Initial launched process, wait for pid 1 or exec:ed command to exit */
455@@ -3002,7 +3002,7 @@ main (int argc,
456 die_with_error ("Setting userns2 failed");
457
458 /* We don't need any privileges in the launcher, drop them immediately. */
459- drop_privs (FALSE, FALSE);
460+ drop_privs (false, false);
461
462 /* Optionally bind our lifecycle to that of the parent */
463 handle_die_with_parent ();
464@@ -3010,17 +3010,17 @@ main (int argc,
465 if (opt_info_fd != -1)
466 {
467 cleanup_free char *output = xasprintf ("{\n \"child-pid\": %i", pid);
468- dump_info (opt_info_fd, output, TRUE);
469- namespace_ids_write (opt_info_fd, FALSE);
470- dump_info (opt_info_fd, "\n}\n", TRUE);
471+ dump_info (opt_info_fd, output, true);
472+ namespace_ids_write (opt_info_fd, false);
473+ dump_info (opt_info_fd, "\n}\n", true);
474 close (opt_info_fd);
475 }
476 if (opt_json_status_fd != -1)
477 {
478 cleanup_free char *output = xasprintf ("{ \"child-pid\": %i", pid);
479- dump_info (opt_json_status_fd, output, TRUE);
480- namespace_ids_write (opt_json_status_fd, TRUE);
481- dump_info (opt_json_status_fd, " }\n", TRUE);
482+ dump_info (opt_json_status_fd, output, true);
483+ namespace_ids_write (opt_json_status_fd, true);
484+ dump_info (opt_json_status_fd, " }\n", true);
485 }
486
487 if (opt_userns_block_fd != -1)
488@@ -3116,7 +3116,7 @@ main (int argc,
489
490 write_uid_gid_map (ns_uid, real_uid,
491 ns_gid, real_gid,
492- -1, TRUE, FALSE);
493+ -1, true, false);
494 }
495
496 old_umask = umask (0);
497@@ -3177,7 +3177,7 @@ main (int argc,
498 if (child == 0)
499 {
500 /* Unprivileged setup process */
501- drop_privs (FALSE, TRUE);
502+ drop_privs (false, true);
503 close (privsep_sockets[0]);
504 setup_newroot (opt_unshare_pid, privsep_sockets[1]);
505 exit (0);
506@@ -3289,11 +3289,11 @@ main (int argc,
507 die_with_error ("unshare user ns");
508
509 /* We're in a new user namespace, we got back the bounding set, clear it again */
510- drop_cap_bounding_set (FALSE);
511+ drop_cap_bounding_set (false);
512
513 write_uid_gid_map (opt_sandbox_uid, ns_uid,
514 opt_sandbox_gid, ns_gid,
515- -1, FALSE, FALSE);
516+ -1, false, false);
517 }
518
519 if (opt_disable_userns || opt_assert_userns_disabled)
520@@ -3306,7 +3306,7 @@ main (int argc,
521 }
522
523 /* All privileged ops are done now, so drop caps we don't need */
524- drop_privs (!is_privileged, TRUE);
525+ drop_privs (!is_privileged, true);
526
527 if (opt_block_fd != -1)
528 {
529@@ -3370,7 +3370,7 @@ main (int argc,
530
531 if (pid != 0)
532 {
533- drop_all_caps (FALSE);
534+ drop_all_caps (false);
535
536 /* Close fds in pid 1, except stdio and optionally event_fd
537 (for syncing pid 2 lifetime with monitor_child) and
538diff --git a/utils.c b/utils.c
539index 43c8d79..7c562b1 100644
540--- a/utils.c
541+++ b/utils.c
542@@ -206,7 +206,7 @@ bool
543 has_path_prefix (const char *str,
544 const char *prefix)
545 {
546- while (TRUE)
547+ while (true)
548 {
549 /* Skip consecutive slashes to reach next path
550 element */
551@@ -217,13 +217,13 @@ has_path_prefix (const char *str,
552
553 /* No more prefix path elements? Done! */
554 if (*prefix == 0)
555- return TRUE;
556+ return true;
557
558 /* Compare path element */
559 while (*prefix != 0 && *prefix != '/')
560 {
561 if (*str != *prefix)
562- return FALSE;
563+ return false;
564 str++;
565 prefix++;
566 }
567@@ -231,7 +231,7 @@ has_path_prefix (const char *str,
568 /* Matched prefix path element,
569 must be entire str path element */
570 if (*str != '/' && *str != 0)
571- return FALSE;
572+ return false;
573 }
574 }
575
576@@ -239,7 +239,7 @@ bool
577 path_equal (const char *path1,
578 const char *path2)
579 {
580- while (TRUE)
581+ while (true)
582 {
583 /* Skip consecutive slashes to reach next path
584 element */
585@@ -256,14 +256,14 @@ path_equal (const char *path1,
586 while (*path1 != 0 && *path1 != '/')
587 {
588 if (*path1 != *path2)
589- return FALSE;
590+ return false;
591 path1++;
592 path2++;
593 }
594
595 /* Matched path1 path element, must be entire path element */
596 if (*path2 != '/' && *path2 != 0)
597- return FALSE;
598+ return false;
599 }
600 }
601
602@@ -526,7 +526,7 @@ copy_file_data (int sfd,
603 char buffer[BUFSIZE];
604 ssize_t bytes_read;
605
606- while (TRUE)
607+ while (true)
608 {
609 bytes_read = read (sfd, buffer, BUFSIZE);
610 if (bytes_read == -1)
611diff --git a/utils.h b/utils.h
612index 9f17297..2c37ccb 100644
613--- a/utils.h
614+++ b/utils.h
615@@ -24,6 +24,7 @@
616 #include <errno.h>
617 #include <fcntl.h>
618 #include <stdarg.h>
619+#include <stdbool.h>
620 #include <stdio.h>
621 #include <stdlib.h>
622 #include <string.h>
623@@ -41,10 +42,6 @@
624
625 #define N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0]))
626
627-#define TRUE 1
628-#define FALSE 0
629-typedef int bool;
630-
631 #define PIPE_READ_END 0
632 #define PIPE_WRITE_END 1
633
diff --git a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.9.0.bb b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb
index c60c1dfd63..41ab0cfc32 100644
--- a/meta-oe/recipes-security/bubblewrap/bubblewrap_0.9.0.bb
+++ b/meta-oe/recipes-security/bubblewrap/bubblewrap_0.10.0.bb
@@ -5,8 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
5 5
6DEPENDS = "libcap" 6DEPENDS = "libcap"
7 7
8SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" 8SRC_URI = " \
9SRC_URI[sha256sum] = "c6347eaced49ac0141996f46bba3b089e5e6ea4408bc1c43bab9f2d05dd094e1" 9 https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz \
10 file://0001-Use-stdbool.h-for-booleans.patch \
11"
12SRC_URI[sha256sum] = "65d92cf44a63a51e1b7771f70c05013dce5bd6b0b2841c4b4be54b0c45565471"
10 13
11inherit autotools bash-completion github-releases manpages pkgconfig 14inherit autotools bash-completion github-releases manpages pkgconfig
12 15
diff --git a/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb b/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb
new file mode 100644
index 0000000000..e7610ac785
--- /dev/null
+++ b/meta-oe/recipes-security/kernel-hardening-checker/kernel-hardening-checker_0.6.10.bb
@@ -0,0 +1,34 @@
1SUMMARY = "A tool for checking the security hardening options of the Linux kernel"
2DESCRIPTION = "\
3 There are plenty of security hardening options for the Linux kernel; Kconfig \
4 options (compile-time); Kernel cmdline arguments (boot-time); Sysctl \
5 parameters (runtime). A lot of them have to be enabled manually to make the \
6 system more secure which is difficult to track. This tool helps with this \
7 task by checking and reporting about the settings compared to a list of \
8 recommendation. \
9"
10HOMEPAGE = "https://github.com/a13xp0p0v/kernel-hardening-checker"
11BUGTRACKER = "https://github.com/a13xp0p0v/kernel-hardening-checker/issues"
12LICENSE = "GPL-3.0-only"
13LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d32239bcb673463ab874e80d47fae504"
14
15SRC_URI = "git://github.com/a13xp0p0v/kernel-hardening-checker;protocol=https;branch=master"
16SRCREV = "f4dbe258ff3d37489962ea9cf210192ae7ff9280"
17
18
19PACKAGE_ARCH = "${MACHINE_ARCH}"
20
21RDEPENDS:${PN} = "\
22 python3-json \
23"
24
25# /boot/config is required for the analysis
26RRECOMMENDS:${PN}:class-target = "\
27 kernel-dev \
28"
29
30inherit setuptools3
31
32# allow to run on build host, if you don't want it in the image
33# oe-run-native kernel-hardening-checker-native kernel-hardening-checker ...
34BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb b/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb
index 7b3d728216..86f45656f6 100644
--- a/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb
+++ b/meta-oe/recipes-security/keyutils/keyutils_1.6.3.bb
@@ -26,7 +26,6 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git;p
26 " 26 "
27SRCREV = "cb3bb194cca88211cbfcdde2f10c0f43c3fb8ec3" 27SRCREV = "cb3bb194cca88211cbfcdde2f10c0f43c3fb8ec3"
28 28
29S = "${WORKDIR}/git"
30 29
31PACKAGECONFIG ?= "" 30PACKAGECONFIG ?= ""
32PACKAGECONFIG[manpages] = "" 31PACKAGECONFIG[manpages] = ""
diff --git a/meta-oe/recipes-security/nmap/files/0001-Make-ndiff-support-python3.patch b/meta-oe/recipes-security/nmap/files/0001-Make-ndiff-support-python3.patch
deleted file mode 100644
index 2ca18b0efb..0000000000
--- a/meta-oe/recipes-security/nmap/files/0001-Make-ndiff-support-python3.patch
+++ /dev/null
@@ -1,1720 +0,0 @@
1From bbbf474b2ebdbdac4d557e3351210f3fe2175c33 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 14 Feb 2020 10:09:55 +0000
4Subject: [PATCH] Make ndiff support python3
5
6Backport a patch from debian to make ndiff support
7python3.
8
9Refer to https://sources.debian.org/data/main/n/nmap/7.80+dfsg1-2/debian/patches/0004-Python3-port-of-ndiff.patch
10
11Upstream-Status: Pending
12
13Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14---
15 Makefile.in | 12 +-
16 ndiff/ndiff.py | 495 +++++++++++++++++-----------------
17 ndiff/ndifftest.py | 94 +++----
18 ndiff/scripts/ndiff | 14 +-
19 ndiff/setup.py | 34 +--
20 ndiff/test-scans/anonymize.py | 18 +-
21 6 files changed, 333 insertions(+), 334 deletions(-)
22 mode change 100644 => 100755 ndiff/setup.py
23
24diff --git a/Makefile.in b/Makefile.in
25index eee8863..32f86ba 100644
26--- a/Makefile.in
27+++ b/Makefile.in
28@@ -35,6 +35,7 @@ ZENMAPDIR = @ZENMAPDIR@
29 NDIFFDIR = @NDIFFDIR@
30 NPINGDIR = @NPINGDIR@
31 PYTHON = @PYTHON@
32+PYTHON3 = /usr/bin/env python3
33 DEFS = @DEFS@ -DNMAP_PLATFORM=\"$(NMAP_PLATFORM)\" -DNMAPDATADIR=\"$(nmapdatadir)\"
34 # With GCC, add extra security checks to source code.
35 # http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
36@@ -260,7 +261,7 @@ clean-zenmap:
37 rm -f $(ZENMAPDIR)/zenmapCore/Name.pyc
38
39 clean-ndiff:
40- -cd $(NDIFFDIR) && $(PYTHON) setup.py clean --all
41+ -cd $(NDIFFDIR) && $(PYTHON3) setup.py clean --all
42
43 clean-nping:
44 -cd $(NPINGDIR) && $(MAKE) clean
45@@ -368,6 +369,7 @@ tests/check_dns: $(OBJS)
46 # this as the location of the interpreter whenever we're not doing a
47 # local installation.
48 DEFAULT_PYTHON_PATH = /usr/bin/env python
49+DEFAULT_PYTHON3_PATH = /usr/bin/env python3
50
51 build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py
52 # When DESTDIR is defined, assume we're building an executable
53@@ -388,13 +390,13 @@ install-zenmap: $(ZENMAPDIR)/setup.py
54 ln -sf zenmap $(DESTDIR)$(bindir)/xnmap
55
56 build-ndiff:
57- cd $(NDIFFDIR) && $(PYTHON) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON_PATH)")
58+ cd $(NDIFFDIR) && $(PYTHON3) setup.py build $(if $(DESTDIR),--executable "$(DEFAULT_PYTHON3_PATH)")
59
60 build-nping: $(NPINGDIR)/Makefile build-nbase build-nsock build-netutil $(NPINGDIR)/nping.h @DNET_BUILD@ @PCAP_BUILD@
61 @cd $(NPINGDIR) && $(MAKE)
62
63 install-ndiff:
64- cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)")
65+ cd $(NDIFFDIR) && $(PYTHON3) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)")
66
67 NSE_FILES = scripts/script.db scripts/*.nse
68 NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc
69@@ -443,7 +445,7 @@ uninstall-zenmap:
70 rm -f $(DESTDIR)$(bindir)/xnmap
71
72 uninstall-ndiff:
73- cd $(NDIFFDIR) && $(PYTHON) setup.py uninstall
74+ cd $(NDIFFDIR) && $(PYTHON3) setup.py uninstall
75
76 uninstall-ncat:
77 @cd $(NCATDIR) && $(MAKE) uninstall
78@@ -458,7 +460,7 @@ check-ncat:
79 @cd $(NCATDIR) && $(MAKE) check
80
81 check-ndiff:
82- @cd $(NDIFFDIR) && $(PYTHON) ndifftest.py
83+ @cd $(NDIFFDIR) && $(PYTHON3) ndifftest.py
84
85 check-nsock:
86 @cd $(NSOCKDIR)/src && $(MAKE) check
87diff --git a/ndiff/ndiff.py b/ndiff/ndiff.py
88index 043273f..abbd1c5 100755
89--- a/ndiff/ndiff.py
90+++ b/ndiff/ndiff.py
91@@ -1,4 +1,4 @@
92-#!/usr/bin/env python
93+#!/usr/bin/env python3
94
95 # Ndiff
96 #
97@@ -26,11 +26,11 @@ xml.__path__ = [x for x in xml.__path__ if "_xmlplus" not in x]
98 import xml.sax
99 import xml.sax.saxutils
100 import xml.dom.minidom
101-from StringIO import StringIO
102+from io import StringIO
103
104 verbose = False
105
106-NDIFF_XML_VERSION = u"1"
107+NDIFF_XML_VERSION = "1"
108
109
110 class OverrideEntityResolver(xml.sax.handler.EntityResolver):
111@@ -78,35 +78,35 @@ class Scan(object):
112 def write_nmaprun_open(self, writer):
113 attrs = {}
114 if self.scanner is not None:
115- attrs[u"scanner"] = self.scanner
116+ attrs["scanner"] = self.scanner
117 if self.args is not None:
118- attrs[u"args"] = self.args
119+ attrs["args"] = self.args
120 if self.start_date is not None:
121- attrs[u"start"] = "%d" % time.mktime(self.start_date.timetuple())
122- attrs[u"startstr"] = self.start_date.strftime(
123+ attrs["start"] = "%d" % time.mktime(self.start_date.timetuple())
124+ attrs["startstr"] = self.start_date.strftime(
125 "%a %b %d %H:%M:%S %Y")
126 if self.version is not None:
127- attrs[u"version"] = self.version
128- writer.startElement(u"nmaprun", attrs)
129+ attrs["version"] = self.version
130+ writer.startElement("nmaprun", attrs)
131
132 def write_nmaprun_close(self, writer):
133- writer.endElement(u"nmaprun")
134+ writer.endElement("nmaprun")
135
136 def nmaprun_to_dom_fragment(self, document):
137 frag = document.createDocumentFragment()
138- elem = document.createElement(u"nmaprun")
139+ elem = document.createElement("nmaprun")
140 if self.scanner is not None:
141- elem.setAttribute(u"scanner", self.scanner)
142+ elem.setAttribute("scanner", self.scanner)
143 if self.args is not None:
144- elem.setAttribute(u"args", self.args)
145+ elem.setAttribute("args", self.args)
146 if self.start_date is not None:
147 elem.setAttribute(
148- u"start", "%d" % time.mktime(self.start_date.timetuple()))
149+ "start", "%d" % time.mktime(self.start_date.timetuple()))
150 elem.setAttribute(
151- u"startstr",
152+ "startstr",
153 self.start_date.strftime("%a %b %d %H:%M:%S %Y"))
154 if self.version is not None:
155- elem.setAttribute(u"version", self.version)
156+ elem.setAttribute("version", self.version)
157 frag.appendChild(elem)
158 return frag
159
160@@ -136,17 +136,17 @@ class Host(object):
161
162 def format_name(self):
163 """Return a human-readable identifier for this host."""
164- address_s = u", ".join(a.s for a in sorted(self.addresses))
165- hostname_s = u", ".join(sorted(self.hostnames))
166+ address_s = ", ".join(a.s for a in sorted(self.addresses))
167+ hostname_s = ", ".join(sorted(self.hostnames))
168 if len(hostname_s) > 0:
169 if len(address_s) > 0:
170- return u"%s (%s)" % (hostname_s, address_s)
171+ return "%s (%s)" % (hostname_s, address_s)
172 else:
173 return hostname_s
174 elif len(address_s) > 0:
175 return address_s
176 else:
177- return u"<no name>"
178+ return "<no name>"
179
180 def add_port(self, port):
181 self.ports[port.spec] = port
182@@ -163,46 +163,46 @@ class Host(object):
183 return state is None or state in self.extraports
184
185 def extraports_string(self):
186- list = [(count, state) for (state, count) in self.extraports.items()]
187+ locallist = [(count, state) for (state, count) in list(self.extraports.items())]
188 # Reverse-sort by count.
189- list.sort(reverse=True)
190- return u", ".join(
191- [u"%d %s ports" % (count, state) for (count, state) in list])
192+ locallist.sort(reverse=True)
193+ return ", ".join(
194+ ["%d %s ports" % (count, state) for (count, state) in locallist])
195
196 def state_to_dom_fragment(self, document):
197 frag = document.createDocumentFragment()
198 if self.state is not None:
199- elem = document.createElement(u"status")
200- elem.setAttribute(u"state", self.state)
201+ elem = document.createElement("status")
202+ elem.setAttribute("state", self.state)
203 frag.appendChild(elem)
204 return frag
205
206 def hostname_to_dom_fragment(self, document, hostname):
207 frag = document.createDocumentFragment()
208- elem = document.createElement(u"hostname")
209- elem.setAttribute(u"name", hostname)
210+ elem = document.createElement("hostname")
211+ elem.setAttribute("name", hostname)
212 frag.appendChild(elem)
213 return frag
214
215 def extraports_to_dom_fragment(self, document):
216 frag = document.createDocumentFragment()
217- for state, count in self.extraports.items():
218- elem = document.createElement(u"extraports")
219- elem.setAttribute(u"state", state)
220- elem.setAttribute(u"count", unicode(count))
221+ for state, count in list(self.extraports.items()):
222+ elem = document.createElement("extraports")
223+ elem.setAttribute("state", state)
224+ elem.setAttribute("count", str(count))
225 frag.appendChild(elem)
226 return frag
227
228 def os_to_dom_fragment(self, document, os):
229 frag = document.createDocumentFragment()
230- elem = document.createElement(u"osmatch")
231- elem.setAttribute(u"name", os)
232+ elem = document.createElement("osmatch")
233+ elem.setAttribute("name", os)
234 frag.appendChild(elem)
235 return frag
236
237 def to_dom_fragment(self, document):
238 frag = document.createDocumentFragment()
239- elem = document.createElement(u"host")
240+ elem = document.createElement("host")
241
242 if self.state is not None:
243 elem.appendChild(self.state_to_dom_fragment(document))
244@@ -211,13 +211,13 @@ class Host(object):
245 elem.appendChild(addr.to_dom_fragment(document))
246
247 if len(self.hostnames) > 0:
248- hostnames_elem = document.createElement(u"hostnames")
249+ hostnames_elem = document.createElement("hostnames")
250 for hostname in self.hostnames:
251 hostnames_elem.appendChild(
252 self.hostname_to_dom_fragment(document, hostname))
253 elem.appendChild(hostnames_elem)
254
255- ports_elem = document.createElement(u"ports")
256+ ports_elem = document.createElement("ports")
257 ports_elem.appendChild(self.extraports_to_dom_fragment(document))
258 for port in sorted(self.ports.values()):
259 if not self.is_extraports(port.state):
260@@ -226,13 +226,13 @@ class Host(object):
261 elem.appendChild(ports_elem)
262
263 if len(self.os) > 0:
264- os_elem = document.createElement(u"os")
265+ os_elem = document.createElement("os")
266 for os in self.os:
267 os_elem.appendChild(self.os_to_dom_fragment(document, os))
268 elem.appendChild(os_elem)
269
270 if len(self.script_results) > 0:
271- hostscript_elem = document.createElement(u"hostscript")
272+ hostscript_elem = document.createElement("hostscript")
273 for sr in self.script_results:
274 hostscript_elem.appendChild(sr.to_dom_fragment(document))
275 elem.appendChild(hostscript_elem)
276@@ -246,7 +246,7 @@ class Address(object):
277 self.s = s
278
279 def __eq__(self, other):
280- return self.__cmp__(other) == 0
281+ return self.sort_key() == other.sort_key()
282
283 def __ne__(self, other):
284 return not self.__eq__(other)
285@@ -254,8 +254,8 @@ class Address(object):
286 def __hash__(self):
287 return hash(self.sort_key())
288
289- def __cmp__(self, other):
290- return cmp(self.sort_key(), other.sort_key())
291+ def __lt__(self, other):
292+ return self.sort_key() < other.sort_key()
293
294 def __str__(self):
295 return str(self.s)
296@@ -264,21 +264,21 @@ class Address(object):
297 return self.s
298
299 def new(type, s):
300- if type == u"ipv4":
301+ if type == "ipv4":
302 return IPv4Address(s)
303- elif type == u"ipv6":
304+ elif type == "ipv6":
305 return IPv6Address(s)
306- elif type == u"mac":
307+ elif type == "mac":
308 return MACAddress(s)
309 else:
310- raise ValueError(u"Unknown address type %s." % type)
311+ raise ValueError("Unknown address type %s." % type)
312 new = staticmethod(new)
313
314 def to_dom_fragment(self, document):
315 frag = document.createDocumentFragment()
316- elem = document.createElement(u"address")
317- elem.setAttribute(u"addr", self.s)
318- elem.setAttribute(u"addrtype", self.type)
319+ elem = document.createElement("address")
320+ elem.setAttribute("addr", self.s)
321+ elem.setAttribute("addrtype", self.type)
322 frag.appendChild(elem)
323 return frag
324
325@@ -287,21 +287,21 @@ class Address(object):
326
327
328 class IPv4Address(Address):
329- type = property(lambda self: u"ipv4")
330+ type = property(lambda self: "ipv4")
331
332 def sort_key(self):
333 return (0, self.s)
334
335
336 class IPv6Address(Address):
337- type = property(lambda self: u"ipv6")
338+ type = property(lambda self: "ipv6")
339
340 def sort_key(self):
341 return (1, self.s)
342
343
344 class MACAddress(Address):
345- type = property(lambda self: u"mac")
346+ type = property(lambda self: "mac")
347
348 def sort_key(self):
349 return (2, self.s)
350@@ -320,28 +320,25 @@ class Port(object):
351
352 def state_string(self):
353 if self.state is None:
354- return u"unknown"
355+ return "unknown"
356 else:
357- return unicode(self.state)
358+ return str(self.state)
359
360 def spec_string(self):
361- return u"%d/%s" % self.spec
362+ return "%d/%s" % self.spec
363
364- def __cmp__(self, other):
365- d = cmp(self.spec, other.spec)
366- if d != 0:
367- return d
368- return cmp((self.spec, self.service, self.script_results),
369- (other.spec, other.service, other.script_results))
370+ def __lt__(self, other):
371+ return (self.spec, self.service, self.script_results) < (
372+ other.spec, other.service, other.script_results)
373
374 def to_dom_fragment(self, document):
375 frag = document.createDocumentFragment()
376- elem = document.createElement(u"port")
377- elem.setAttribute(u"portid", unicode(self.spec[0]))
378- elem.setAttribute(u"protocol", self.spec[1])
379+ elem = document.createElement("port")
380+ elem.setAttribute("portid", str(self.spec[0]))
381+ elem.setAttribute("protocol", self.spec[1])
382 if self.state is not None:
383- state_elem = document.createElement(u"state")
384- state_elem.setAttribute(u"state", self.state)
385+ state_elem = document.createElement("state")
386+ state_elem.setAttribute("state", self.state)
387 elem.appendChild(state_elem)
388 elem.appendChild(self.service.to_dom_fragment(document))
389 for sr in self.script_results:
390@@ -385,7 +382,7 @@ class Service(object):
391 if len(parts) == 0:
392 return None
393 else:
394- return u"/".join(parts)
395+ return "/".join(parts)
396
397 def version_string(self):
398 """Get a string like in the VERSION column of Nmap output."""
399@@ -395,17 +392,17 @@ class Service(object):
400 if self.version is not None:
401 parts.append(self.version)
402 if self.extrainfo is not None:
403- parts.append(u"(%s)" % self.extrainfo)
404+ parts.append("(%s)" % self.extrainfo)
405
406 if len(parts) == 0:
407 return None
408 else:
409- return u" ".join(parts)
410+ return " ".join(parts)
411
412 def to_dom_fragment(self, document):
413 frag = document.createDocumentFragment()
414- elem = document.createElement(u"service")
415- for attr in (u"name", u"product", u"version", u"extrainfo", u"tunnel"):
416+ elem = document.createElement("service")
417+ for attr in ("name", "product", "version", "extrainfo", "tunnel"):
418 v = getattr(self, attr)
419 if v is None:
420 continue
421@@ -435,53 +432,53 @@ class ScriptResult(object):
422 result = []
423 lines = self.output.splitlines()
424 if len(lines) > 0:
425- lines[0] = self.id + u": " + lines[0]
426+ lines[0] = self.id + ": " + lines[0]
427 for line in lines[:-1]:
428- result.append(u"| " + line)
429+ result.append("| " + line)
430 if len(lines) > 0:
431- result.append(u"|_ " + lines[-1])
432+ result.append("|_ " + lines[-1])
433 return result
434
435 def to_dom_fragment(self, document):
436 frag = document.createDocumentFragment()
437- elem = document.createElement(u"script")
438- elem.setAttribute(u"id", self.id)
439- elem.setAttribute(u"output", self.output)
440+ elem = document.createElement("script")
441+ elem.setAttribute("id", self.id)
442+ elem.setAttribute("output", self.output)
443 frag.appendChild(elem)
444 return frag
445
446
447 def format_banner(scan):
448 """Format a startup banner more or less like Nmap does."""
449- scanner = u"Nmap"
450- if scan.scanner is not None and scan.scanner != u"nmap":
451+ scanner = "Nmap"
452+ if scan.scanner is not None and scan.scanner != "nmap":
453 scanner = scan.scanner
454 parts = [scanner]
455 if scan.version is not None:
456 parts.append(scan.version)
457- parts.append(u"scan")
458+ parts.append("scan")
459 if scan.start_date is not None:
460- parts.append(u"initiated %s" % scan.start_date.strftime(
461+ parts.append("initiated %s" % scan.start_date.strftime(
462 "%a %b %d %H:%M:%S %Y"))
463 if scan.args is not None:
464- parts.append(u"as: %s" % scan.args)
465- return u" ".join(parts)
466+ parts.append("as: %s" % scan.args)
467+ return " ".join(parts)
468
469
470 def print_script_result_diffs_text(title, script_results_a, script_results_b,
471 script_result_diffs, f=sys.stdout):
472- table = Table(u"*")
473+ table = Table("*")
474 for sr_diff in script_result_diffs:
475 sr_diff.append_to_port_table(table)
476 if len(table) > 0:
477- print >> f
478+ print(file=f)
479 if len(script_results_b) == 0:
480- print >> f, u"-%s:" % title
481+ print("-%s:" % title, file=f)
482 elif len(script_results_a) == 0:
483- print >> f, u"+%s:" % title
484+ print("+%s:" % title, file=f)
485 else:
486- print >> f, u" %s:" % title
487- print >> f, table
488+ print(" %s:" % title, file=f)
489+ print(table, file=f)
490
491
492 def script_result_diffs_to_dom_fragment(elem, script_results_a,
493@@ -489,13 +486,13 @@ def script_result_diffs_to_dom_fragment(elem, script_results_a,
494 if len(script_results_a) == 0 and len(script_results_b) == 0:
495 return document.createDocumentFragment()
496 elif len(script_results_b) == 0:
497- a_elem = document.createElement(u"a")
498+ a_elem = document.createElement("a")
499 for sr in script_results_a:
500 elem.appendChild(sr.to_dom_fragment(document))
501 a_elem.appendChild(elem)
502 return a_elem
503 elif len(script_results_a) == 0:
504- b_elem = document.createElement(u"b")
505+ b_elem = document.createElement("b")
506 for sr in script_results_b:
507 elem.appendChild(sr.to_dom_fragment(document))
508 b_elem.appendChild(elem)
509@@ -581,10 +578,10 @@ class ScanDiffText(ScanDiff):
510 banner_a = format_banner(self.scan_a)
511 banner_b = format_banner(self.scan_b)
512 if banner_a != banner_b:
513- print >> self.f, u"-%s" % banner_a
514- print >> self.f, u"+%s" % banner_b
515+ print("-%s" % banner_a, file=self.f)
516+ print("+%s" % banner_b, file=self.f)
517 elif verbose:
518- print >> self.f, u" %s" % banner_a
519+ print(" %s" % banner_a, file=self.f)
520
521 def output_pre_scripts(self, pre_script_result_diffs):
522 print_script_result_diffs_text("Pre-scan script results",
523@@ -597,7 +594,7 @@ class ScanDiffText(ScanDiff):
524 post_script_result_diffs, self.f)
525
526 def output_host_diff(self, h_diff):
527- print >> self.f
528+ print(file=self.f)
529 h_diff.print_text(self.f)
530
531 def output_ending(self):
532@@ -622,8 +619,8 @@ class ScanDiffXML(ScanDiff):
533
534 def output_beginning(self):
535 self.writer.startDocument()
536- self.writer.startElement(u"nmapdiff", {u"version": NDIFF_XML_VERSION})
537- self.writer.startElement(u"scandiff", {})
538+ self.writer.startElement("nmapdiff", {"version": NDIFF_XML_VERSION})
539+ self.writer.startElement("scandiff", {})
540
541 if self.nmaprun_differs():
542 self.writer.frag_a(
543@@ -636,7 +633,7 @@ class ScanDiffXML(ScanDiff):
544
545 def output_pre_scripts(self, pre_script_result_diffs):
546 if len(pre_script_result_diffs) > 0 or verbose:
547- prescript_elem = self.document.createElement(u"prescript")
548+ prescript_elem = self.document.createElement("prescript")
549 frag = script_result_diffs_to_dom_fragment(
550 prescript_elem, self.scan_a.pre_script_results,
551 self.scan_b.pre_script_results, pre_script_result_diffs,
552@@ -646,7 +643,7 @@ class ScanDiffXML(ScanDiff):
553
554 def output_post_scripts(self, post_script_result_diffs):
555 if len(post_script_result_diffs) > 0 or verbose:
556- postscript_elem = self.document.createElement(u"postscript")
557+ postscript_elem = self.document.createElement("postscript")
558 frag = script_result_diffs_to_dom_fragment(
559 postscript_elem, self.scan_a.post_script_results,
560 self.scan_b.post_script_results, post_script_result_diffs,
561@@ -660,8 +657,8 @@ class ScanDiffXML(ScanDiff):
562 frag.unlink()
563
564 def output_ending(self):
565- self.writer.endElement(u"scandiff")
566- self.writer.endElement(u"nmapdiff")
567+ self.writer.endElement("scandiff")
568+ self.writer.endElement("nmapdiff")
569 self.writer.endDocument()
570
571
572@@ -719,9 +716,9 @@ class HostDiff(object):
573 self.cost += os_cost
574
575 extraports_a = tuple((count, state)
576- for (state, count) in self.host_a.extraports.items())
577+ for (state, count) in list(self.host_a.extraports.items()))
578 extraports_b = tuple((count, state)
579- for (state, count) in self.host_b.extraports.items())
580+ for (state, count) in list(self.host_b.extraports.items()))
581 if extraports_a != extraports_b:
582 self.extraports_changed = True
583 self.cost += 1
584@@ -747,69 +744,69 @@ class HostDiff(object):
585 # Names and addresses.
586 if self.id_changed:
587 if host_a.state is not None:
588- print >> f, u"-%s:" % host_a.format_name()
589+ print("-%s:" % host_a.format_name(), file=f)
590 if self.host_b.state is not None:
591- print >> f, u"+%s:" % host_b.format_name()
592+ print("+%s:" % host_b.format_name(), file=f)
593 else:
594- print >> f, u" %s:" % host_a.format_name()
595+ print(" %s:" % host_a.format_name(), file=f)
596
597 # State.
598 if self.state_changed:
599 if host_a.state is not None:
600- print >> f, u"-Host is %s." % host_a.state
601+ print("-Host is %s." % host_a.state, file=f)
602 if host_b.state is not None:
603- print >> f, u"+Host is %s." % host_b.state
604+ print("+Host is %s." % host_b.state, file=f)
605 elif verbose:
606- print >> f, u" Host is %s." % host_b.state
607+ print(" Host is %s." % host_b.state, file=f)
608
609 # Extraports.
610 if self.extraports_changed:
611 if len(host_a.extraports) > 0:
612- print >> f, u"-Not shown: %s" % host_a.extraports_string()
613+ print("-Not shown: %s" % host_a.extraports_string(), file=f)
614 if len(host_b.extraports) > 0:
615- print >> f, u"+Not shown: %s" % host_b.extraports_string()
616+ print("+Not shown: %s" % host_b.extraports_string(), file=f)
617 elif verbose:
618 if len(host_a.extraports) > 0:
619- print >> f, u" Not shown: %s" % host_a.extraports_string()
620+ print(" Not shown: %s" % host_a.extraports_string(), file=f)
621
622 # Port table.
623- port_table = Table(u"** * * *")
624+ port_table = Table("** * * *")
625 if host_a.state is None:
626- mark = u"+"
627+ mark = "+"
628 elif host_b.state is None:
629- mark = u"-"
630+ mark = "-"
631 else:
632- mark = u" "
633- port_table.append((mark, u"PORT", u"STATE", u"SERVICE", u"VERSION"))
634+ mark = " "
635+ port_table.append((mark, "PORT", "STATE", "SERVICE", "VERSION"))
636
637 for port in self.ports:
638 port_diff = self.port_diffs[port]
639 port_diff.append_to_port_table(port_table, host_a, host_b)
640
641 if len(port_table) > 1:
642- print >> f, port_table
643+ print(port_table, file=f)
644
645 # OS changes.
646 if self.os_changed or verbose:
647 if len(host_a.os) > 0:
648 if len(host_b.os) > 0:
649- print >> f, u" OS details:"
650+ print(" OS details:", file=f)
651 else:
652- print >> f, u"-OS details:"
653+ print("-OS details:", file=f)
654 elif len(host_b.os) > 0:
655- print >> f, u"+OS details:"
656+ print("+OS details:", file=f)
657 # os_diffs is a list of 5-tuples returned by
658 # difflib.SequenceMatcher.
659 for op, i1, i2, j1, j2 in self.os_diffs:
660 if op == "replace" or op == "delete":
661 for i in range(i1, i2):
662- print >> f, "- %s" % host_a.os[i]
663+ print("- %s" % host_a.os[i], file=f)
664 if op == "replace" or op == "insert":
665 for i in range(j1, j2):
666- print >> f, "+ %s" % host_b.os[i]
667+ print("+ %s" % host_b.os[i], file=f)
668 if op == "equal":
669 for i in range(i1, i2):
670- print >> f, " %s" % host_a.os[i]
671+ print(" %s" % host_a.os[i], file=f)
672
673 print_script_result_diffs_text("Host script results",
674 host_a.script_results, host_b.script_results,
675@@ -820,32 +817,32 @@ class HostDiff(object):
676 host_b = self.host_b
677
678 frag = document.createDocumentFragment()
679- hostdiff_elem = document.createElement(u"hostdiff")
680+ hostdiff_elem = document.createElement("hostdiff")
681 frag.appendChild(hostdiff_elem)
682
683 if host_a.state is None or host_b.state is None:
684 # The host is missing in one scan. Output the whole thing.
685 if host_a.state is not None:
686- a_elem = document.createElement(u"a")
687+ a_elem = document.createElement("a")
688 a_elem.appendChild(host_a.to_dom_fragment(document))
689 hostdiff_elem.appendChild(a_elem)
690 elif host_b.state is not None:
691- b_elem = document.createElement(u"b")
692+ b_elem = document.createElement("b")
693 b_elem.appendChild(host_b.to_dom_fragment(document))
694 hostdiff_elem.appendChild(b_elem)
695 return frag
696
697- host_elem = document.createElement(u"host")
698+ host_elem = document.createElement("host")
699
700 # State.
701 if host_a.state == host_b.state:
702 if verbose:
703 host_elem.appendChild(host_a.state_to_dom_fragment(document))
704 else:
705- a_elem = document.createElement(u"a")
706+ a_elem = document.createElement("a")
707 a_elem.appendChild(host_a.state_to_dom_fragment(document))
708 host_elem.appendChild(a_elem)
709- b_elem = document.createElement(u"b")
710+ b_elem = document.createElement("b")
711 b_elem.appendChild(host_b.state_to_dom_fragment(document))
712 host_elem.appendChild(b_elem)
713
714@@ -854,31 +851,31 @@ class HostDiff(object):
715 addrset_b = set(host_b.addresses)
716 for addr in sorted(addrset_a.intersection(addrset_b)):
717 host_elem.appendChild(addr.to_dom_fragment(document))
718- a_elem = document.createElement(u"a")
719+ a_elem = document.createElement("a")
720 for addr in sorted(addrset_a - addrset_b):
721 a_elem.appendChild(addr.to_dom_fragment(document))
722 if a_elem.hasChildNodes():
723 host_elem.appendChild(a_elem)
724- b_elem = document.createElement(u"b")
725+ b_elem = document.createElement("b")
726 for addr in sorted(addrset_b - addrset_a):
727 b_elem.appendChild(addr.to_dom_fragment(document))
728 if b_elem.hasChildNodes():
729 host_elem.appendChild(b_elem)
730
731 # Host names.
732- hostnames_elem = document.createElement(u"hostnames")
733+ hostnames_elem = document.createElement("hostnames")
734 hostnameset_a = set(host_a.hostnames)
735 hostnameset_b = set(host_b.hostnames)
736 for hostname in sorted(hostnameset_a.intersection(hostnameset_b)):
737 hostnames_elem.appendChild(
738 host_a.hostname_to_dom_fragment(document, hostname))
739- a_elem = document.createElement(u"a")
740+ a_elem = document.createElement("a")
741 for hostname in sorted(hostnameset_a - hostnameset_b):
742 a_elem.appendChild(
743 host_a.hostname_to_dom_fragment(document, hostname))
744 if a_elem.hasChildNodes():
745 hostnames_elem.appendChild(a_elem)
746- b_elem = document.createElement(u"b")
747+ b_elem = document.createElement("b")
748 for hostname in sorted(hostnameset_b - hostnameset_a):
749 b_elem.appendChild(
750 host_b.hostname_to_dom_fragment(document, hostname))
751@@ -887,15 +884,15 @@ class HostDiff(object):
752 if hostnames_elem.hasChildNodes():
753 host_elem.appendChild(hostnames_elem)
754
755- ports_elem = document.createElement(u"ports")
756+ ports_elem = document.createElement("ports")
757 # Extraports.
758 if host_a.extraports == host_b.extraports:
759 ports_elem.appendChild(host_a.extraports_to_dom_fragment(document))
760 else:
761- a_elem = document.createElement(u"a")
762+ a_elem = document.createElement("a")
763 a_elem.appendChild(host_a.extraports_to_dom_fragment(document))
764 ports_elem.appendChild(a_elem)
765- b_elem = document.createElement(u"b")
766+ b_elem = document.createElement("b")
767 b_elem.appendChild(host_b.extraports_to_dom_fragment(document))
768 ports_elem.appendChild(b_elem)
769 # Port list.
770@@ -911,18 +908,18 @@ class HostDiff(object):
771
772 # OS changes.
773 if self.os_changed or verbose:
774- os_elem = document.createElement(u"os")
775+ os_elem = document.createElement("os")
776 # os_diffs is a list of 5-tuples returned by
777 # difflib.SequenceMatcher.
778 for op, i1, i2, j1, j2 in self.os_diffs:
779 if op == "replace" or op == "delete":
780- a_elem = document.createElement(u"a")
781+ a_elem = document.createElement("a")
782 for i in range(i1, i2):
783 a_elem.appendChild(host_a.os_to_dom_fragment(
784 document, host_a.os[i]))
785 os_elem.appendChild(a_elem)
786 if op == "replace" or op == "insert":
787- b_elem = document.createElement(u"b")
788+ b_elem = document.createElement("b")
789 for i in range(j1, j2):
790 b_elem.appendChild(host_b.os_to_dom_fragment(
791 document, host_b.os[i]))
792@@ -936,7 +933,7 @@ class HostDiff(object):
793
794 # Host script changes.
795 if len(self.script_result_diffs) > 0 or verbose:
796- hostscript_elem = document.createElement(u"hostscript")
797+ hostscript_elem = document.createElement("hostscript")
798 host_elem.appendChild(script_result_diffs_to_dom_fragment(
799 hostscript_elem, host_a.script_results,
800 host_b.script_results, self.script_result_diffs,
801@@ -989,38 +986,38 @@ class PortDiff(object):
802 self.port_b.service.version_string()]
803 if a_columns == b_columns:
804 if verbose or self.script_result_diffs > 0:
805- table.append([u" "] + a_columns)
806+ table.append([" "] + a_columns)
807 else:
808 if not host_a.is_extraports(self.port_a.state):
809- table.append([u"-"] + a_columns)
810+ table.append(["-"] + a_columns)
811 if not host_b.is_extraports(self.port_b.state):
812- table.append([u"+"] + b_columns)
813+ table.append(["+"] + b_columns)
814
815 for sr_diff in self.script_result_diffs:
816 sr_diff.append_to_port_table(table)
817
818 def to_dom_fragment(self, document):
819 frag = document.createDocumentFragment()
820- portdiff_elem = document.createElement(u"portdiff")
821+ portdiff_elem = document.createElement("portdiff")
822 frag.appendChild(portdiff_elem)
823 if (self.port_a.spec == self.port_b.spec and
824 self.port_a.state == self.port_b.state):
825- port_elem = document.createElement(u"port")
826- port_elem.setAttribute(u"portid", unicode(self.port_a.spec[0]))
827- port_elem.setAttribute(u"protocol", self.port_a.spec[1])
828+ port_elem = document.createElement("port")
829+ port_elem.setAttribute("portid", str(self.port_a.spec[0]))
830+ port_elem.setAttribute("protocol", self.port_a.spec[1])
831 if self.port_a.state is not None:
832- state_elem = document.createElement(u"state")
833- state_elem.setAttribute(u"state", self.port_a.state)
834+ state_elem = document.createElement("state")
835+ state_elem.setAttribute("state", self.port_a.state)
836 port_elem.appendChild(state_elem)
837 if self.port_a.service == self.port_b.service:
838 port_elem.appendChild(
839 self.port_a.service.to_dom_fragment(document))
840 else:
841- a_elem = document.createElement(u"a")
842+ a_elem = document.createElement("a")
843 a_elem.appendChild(
844 self.port_a.service.to_dom_fragment(document))
845 port_elem.appendChild(a_elem)
846- b_elem = document.createElement(u"b")
847+ b_elem = document.createElement("b")
848 b_elem.appendChild(
849 self.port_b.service.to_dom_fragment(document))
850 port_elem.appendChild(b_elem)
851@@ -1028,10 +1025,10 @@ class PortDiff(object):
852 port_elem.appendChild(sr_diff.to_dom_fragment(document))
853 portdiff_elem.appendChild(port_elem)
854 else:
855- a_elem = document.createElement(u"a")
856+ a_elem = document.createElement("a")
857 a_elem.appendChild(self.port_a.to_dom_fragment(document))
858 portdiff_elem.appendChild(a_elem)
859- b_elem = document.createElement(u"b")
860+ b_elem = document.createElement("b")
861 b_elem.appendChild(self.port_b.to_dom_fragment(document))
862 portdiff_elem.appendChild(b_elem)
863
864@@ -1086,13 +1083,13 @@ class ScriptResultDiff(object):
865 for op, i1, i2, j1, j2 in diffs.get_opcodes():
866 if op == "replace" or op == "delete":
867 for k in range(i1, i2):
868- table.append_raw(u"-" + a_lines[k])
869+ table.append_raw("-" + a_lines[k])
870 if op == "replace" or op == "insert":
871 for k in range(j1, j2):
872- table.append_raw(u"+" + b_lines[k])
873+ table.append_raw("+" + b_lines[k])
874 if op == "equal":
875 for k in range(i1, i2):
876- table.append_raw(u" " + a_lines[k])
877+ table.append_raw(" " + a_lines[k])
878
879 def to_dom_fragment(self, document):
880 frag = document.createDocumentFragment()
881@@ -1102,11 +1099,11 @@ class ScriptResultDiff(object):
882 frag.appendChild(self.sr_a.to_dom_fragment(document))
883 else:
884 if self.sr_a is not None:
885- a_elem = document.createElement(u"a")
886+ a_elem = document.createElement("a")
887 a_elem.appendChild(self.sr_a.to_dom_fragment(document))
888 frag.appendChild(a_elem)
889 if self.sr_b is not None:
890- b_elem = document.createElement(u"b")
891+ b_elem = document.createElement("b")
892 b_elem.appendChild(self.sr_b.to_dom_fragment(document))
893 frag.appendChild(b_elem)
894 return frag
895@@ -1120,7 +1117,7 @@ class Table(object):
896 copied to the output."""
897 self.widths = []
898 self.rows = []
899- self.prefix = u""
900+ self.prefix = ""
901 self.padding = []
902 j = 0
903 while j < len(template) and template[j] != "*":
904@@ -1145,7 +1142,7 @@ class Table(object):
905
906 for i in range(len(row)):
907 if row[i] is None:
908- s = u""
909+ s = ""
910 else:
911 s = str(row[i])
912 if i == len(self.widths):
913@@ -1167,7 +1164,7 @@ class Table(object):
914 for row in self.rows:
915 parts = [self.prefix]
916 i = 0
917- if isinstance(row, basestring):
918+ if isinstance(row, str):
919 # A raw string.
920 lines.append(row)
921 else:
922@@ -1176,13 +1173,13 @@ class Table(object):
923 if i < len(self.padding):
924 parts.append(self.padding[i])
925 i += 1
926- lines.append(u"".join(parts).rstrip())
927- return u"\n".join(lines)
928+ lines.append("".join(parts).rstrip())
929+ return "\n".join(lines)
930
931
932 def warn(str):
933 """Print a warning to stderr."""
934- print >> sys.stderr, str
935+ print(str, file=sys.stderr)
936
937
938 class NmapContentHandler(xml.sax.handler.ContentHandler):
939@@ -1200,22 +1197,22 @@ class NmapContentHandler(xml.sax.handler.ContentHandler):
940 self.current_port = None
941
942 self._start_elem_handlers = {
943- u"nmaprun": self._start_nmaprun,
944- u"host": self._start_host,
945- u"status": self._start_status,
946- u"address": self._start_address,
947- u"hostname": self._start_hostname,
948- u"extraports": self._start_extraports,
949- u"port": self._start_port,
950- u"state": self._start_state,
951- u"service": self._start_service,
952- u"script": self._start_script,
953- u"osmatch": self._start_osmatch,
954- u"finished": self._start_finished,
955+ "nmaprun": self._start_nmaprun,
956+ "host": self._start_host,
957+ "status": self._start_status,
958+ "address": self._start_address,
959+ "hostname": self._start_hostname,
960+ "extraports": self._start_extraports,
961+ "port": self._start_port,
962+ "state": self._start_state,
963+ "service": self._start_service,
964+ "script": self._start_script,
965+ "osmatch": self._start_osmatch,
966+ "finished": self._start_finished,
967 }
968 self._end_elem_handlers = {
969- u'host': self._end_host,
970- u'port': self._end_port,
971+ 'host': self._end_host,
972+ 'port': self._end_port,
973 }
974
975 def parent_element(self):
976@@ -1245,68 +1242,68 @@ class NmapContentHandler(xml.sax.handler.ContentHandler):
977 def _start_nmaprun(self, name, attrs):
978 assert self.parent_element() is None
979 if "start" in attrs:
980- start_timestamp = int(attrs.get(u"start"))
981+ start_timestamp = int(attrs.get("start"))
982 self.scan.start_date = datetime.datetime.fromtimestamp(
983 start_timestamp)
984- self.scan.scanner = attrs.get(u"scanner")
985- self.scan.args = attrs.get(u"args")
986- self.scan.version = attrs.get(u"version")
987+ self.scan.scanner = attrs.get("scanner")
988+ self.scan.args = attrs.get("args")
989+ self.scan.version = attrs.get("version")
990
991 def _start_host(self, name, attrs):
992- assert self.parent_element() == u"nmaprun"
993+ assert self.parent_element() == "nmaprun"
994 self.current_host = Host()
995 self.scan.hosts.append(self.current_host)
996
997 def _start_status(self, name, attrs):
998- assert self.parent_element() == u"host"
999+ assert self.parent_element() == "host"
1000 assert self.current_host is not None
1001- state = attrs.get(u"state")
1002+ state = attrs.get("state")
1003 if state is None:
1004 warn(u'%s element of host %s is missing the "state" attribute; '
1005- 'assuming \unknown\.' % (
1006+ r'assuming \unknown\.' % (
1007 name, self.current_host.format_name()))
1008 return
1009 self.current_host.state = state
1010
1011 def _start_address(self, name, attrs):
1012- assert self.parent_element() == u"host"
1013+ assert self.parent_element() == "host"
1014 assert self.current_host is not None
1015- addr = attrs.get(u"addr")
1016+ addr = attrs.get("addr")
1017 if addr is None:
1018- warn(u'%s element of host %s is missing the "addr" '
1019+ warn('%s element of host %s is missing the "addr" '
1020 'attribute; skipping.' % (
1021 name, self.current_host.format_name()))
1022 return
1023- addrtype = attrs.get(u"addrtype", u"ipv4")
1024+ addrtype = attrs.get("addrtype", "ipv4")
1025 self.current_host.add_address(Address.new(addrtype, addr))
1026
1027 def _start_hostname(self, name, attrs):
1028- assert self.parent_element() == u"hostnames"
1029+ assert self.parent_element() == "hostnames"
1030 assert self.current_host is not None
1031- hostname = attrs.get(u"name")
1032+ hostname = attrs.get("name")
1033 if hostname is None:
1034- warn(u'%s element of host %s is missing the "name" '
1035+ warn('%s element of host %s is missing the "name" '
1036 'attribute; skipping.' % (
1037 name, self.current_host.format_name()))
1038 return
1039 self.current_host.add_hostname(hostname)
1040
1041 def _start_extraports(self, name, attrs):
1042- assert self.parent_element() == u"ports"
1043+ assert self.parent_element() == "ports"
1044 assert self.current_host is not None
1045- state = attrs.get(u"state")
1046+ state = attrs.get("state")
1047 if state is None:
1048- warn(u'%s element of host %s is missing the "state" '
1049+ warn('%s element of host %s is missing the "state" '
1050 'attribute; assuming "unknown".' % (
1051 name, self.current_host.format_name()))
1052 state = None
1053 if state in self.current_host.extraports:
1054- warn(u'Duplicate extraports state "%s" in host %s.' % (
1055+ warn('Duplicate extraports state "%s" in host %s.' % (
1056 state, self.current_host.format_name()))
1057
1058- count = attrs.get(u"count")
1059+ count = attrs.get("count")
1060 if count is None:
1061- warn(u'%s element of host %s is missing the "count" '
1062+ warn('%s element of host %s is missing the "count" '
1063 'attribute; assuming 0.' % (
1064 name, self.current_host.format_name()))
1065 count = 0
1066@@ -1314,99 +1311,99 @@ class NmapContentHandler(xml.sax.handler.ContentHandler):
1067 try:
1068 count = int(count)
1069 except ValueError:
1070- warn(u"Can't convert extraports count \"%s\" "
1071+ warn("Can't convert extraports count \"%s\" "
1072 "to an integer in host %s; assuming 0." % (
1073- attrs[u"count"], self.current_host.format_name()))
1074+ attrs["count"], self.current_host.format_name()))
1075 count = 0
1076 self.current_host.extraports[state] = count
1077
1078 def _start_port(self, name, attrs):
1079- assert self.parent_element() == u"ports"
1080+ assert self.parent_element() == "ports"
1081 assert self.current_host is not None
1082- portid_str = attrs.get(u"portid")
1083+ portid_str = attrs.get("portid")
1084 if portid_str is None:
1085- warn(u'%s element of host %s missing the "portid" '
1086+ warn('%s element of host %s missing the "portid" '
1087 'attribute; skipping.' % (
1088 name, self.current_host.format_name()))
1089 return
1090 try:
1091 portid = int(portid_str)
1092 except ValueError:
1093- warn(u"Can't convert portid \"%s\" to an integer "
1094+ warn("Can't convert portid \"%s\" to an integer "
1095 "in host %s; skipping port." % (
1096 portid_str, self.current_host.format_name()))
1097 return
1098- protocol = attrs.get(u"protocol")
1099+ protocol = attrs.get("protocol")
1100 if protocol is None:
1101- warn(u'%s element of host %s missing the "protocol" '
1102+ warn('%s element of host %s missing the "protocol" '
1103 'attribute; skipping.' % (
1104 name, self.current_host.format_name()))
1105 return
1106 self.current_port = Port((portid, protocol))
1107
1108 def _start_state(self, name, attrs):
1109- assert self.parent_element() == u"port"
1110+ assert self.parent_element() == "port"
1111 assert self.current_host is not None
1112 if self.current_port is None:
1113 return
1114 if "state" not in attrs:
1115- warn(u'%s element of port %s is missing the "state" '
1116+ warn('%s element of port %s is missing the "state" '
1117 'attribute; assuming "unknown".' % (
1118 name, self.current_port.spec_string()))
1119 return
1120- self.current_port.state = attrs[u"state"]
1121+ self.current_port.state = attrs["state"]
1122 self.current_host.add_port(self.current_port)
1123
1124 def _start_service(self, name, attrs):
1125- assert self.parent_element() == u"port"
1126+ assert self.parent_element() == "port"
1127 assert self.current_host is not None
1128 if self.current_port is None:
1129 return
1130- self.current_port.service.name = attrs.get(u"name")
1131- self.current_port.service.product = attrs.get(u"product")
1132- self.current_port.service.version = attrs.get(u"version")
1133- self.current_port.service.extrainfo = attrs.get(u"extrainfo")
1134- self.current_port.service.tunnel = attrs.get(u"tunnel")
1135+ self.current_port.service.name = attrs.get("name")
1136+ self.current_port.service.product = attrs.get("product")
1137+ self.current_port.service.version = attrs.get("version")
1138+ self.current_port.service.extrainfo = attrs.get("extrainfo")
1139+ self.current_port.service.tunnel = attrs.get("tunnel")
1140
1141 def _start_script(self, name, attrs):
1142 result = ScriptResult()
1143- result.id = attrs.get(u"id")
1144+ result.id = attrs.get("id")
1145 if result.id is None:
1146- warn(u'%s element missing the "id" attribute; skipping.' % name)
1147+ warn('%s element missing the "id" attribute; skipping.' % name)
1148 return
1149
1150- result.output = attrs.get(u"output")
1151+ result.output = attrs.get("output")
1152 if result.output is None:
1153- warn(u'%s element missing the "output" attribute; skipping.'
1154+ warn('%s element missing the "output" attribute; skipping.'
1155 % name)
1156 return
1157- if self.parent_element() == u"prescript":
1158+ if self.parent_element() == "prescript":
1159 self.scan.pre_script_results.append(result)
1160- elif self.parent_element() == u"postscript":
1161+ elif self.parent_element() == "postscript":
1162 self.scan.post_script_results.append(result)
1163- elif self.parent_element() == u"hostscript":
1164+ elif self.parent_element() == "hostscript":
1165 self.current_host.script_results.append(result)
1166- elif self.parent_element() == u"port":
1167+ elif self.parent_element() == "port":
1168 self.current_port.script_results.append(result)
1169 else:
1170- warn(u"%s element not inside prescript, postscript, hostscript, "
1171+ warn("%s element not inside prescript, postscript, hostscript, "
1172 "or port element; ignoring." % name)
1173 return
1174
1175 def _start_osmatch(self, name, attrs):
1176- assert self.parent_element() == u"os"
1177+ assert self.parent_element() == "os"
1178 assert self.current_host is not None
1179 if "name" not in attrs:
1180- warn(u'%s element of host %s is missing the "name" '
1181+ warn('%s element of host %s is missing the "name" '
1182 'attribute; skipping.' % (
1183 name, self.current_host.format_name()))
1184 return
1185- self.current_host.os.append(attrs[u"name"])
1186+ self.current_host.os.append(attrs["name"])
1187
1188 def _start_finished(self, name, attrs):
1189- assert self.parent_element() == u"runstats"
1190+ assert self.parent_element() == "runstats"
1191 if "time" in attrs:
1192- end_timestamp = int(attrs.get(u"time"))
1193+ end_timestamp = int(attrs.get("time"))
1194 self.scan.end_date = datetime.datetime.fromtimestamp(end_timestamp)
1195
1196 def _end_host(self, name):
1197@@ -1425,23 +1422,23 @@ class XMLWriter (xml.sax.saxutils.XMLGenerator):
1198
1199 def frag(self, frag):
1200 for node in frag.childNodes:
1201- node.writexml(self.f, newl=u"\n")
1202+ node.writexml(self.f, newl="\n")
1203
1204 def frag_a(self, frag):
1205- self.startElement(u"a", {})
1206+ self.startElement("a", {})
1207 for node in frag.childNodes:
1208- node.writexml(self.f, newl=u"\n")
1209- self.endElement(u"a")
1210+ node.writexml(self.f, newl="\n")
1211+ self.endElement("a")
1212
1213 def frag_b(self, frag):
1214- self.startElement(u"b", {})
1215+ self.startElement("b", {})
1216 for node in frag.childNodes:
1217- node.writexml(self.f, newl=u"\n")
1218- self.endElement(u"b")
1219+ node.writexml(self.f, newl="\n")
1220+ self.endElement("b")
1221
1222
1223 def usage():
1224- print u"""\
1225+ print("""\
1226 Usage: %s [option] FILE1 FILE2
1227 Compare two Nmap XML files and display a list of their differences.
1228 Differences include host state changes, port state changes, and changes to
1229@@ -1451,7 +1448,7 @@ service and OS detection.
1230 -v, --verbose also show hosts and ports that haven't changed.
1231 --text display output in text format (default)
1232 --xml display output in XML format\
1233-""" % sys.argv[0]
1234+""" % sys.argv[0])
1235
1236 EXIT_EQUAL = 0
1237 EXIT_DIFFERENT = 1
1238@@ -1459,8 +1456,8 @@ EXIT_ERROR = 2
1239
1240
1241 def usage_error(msg):
1242- print >> sys.stderr, u"%s: %s" % (sys.argv[0], msg)
1243- print >> sys.stderr, u"Try '%s -h' for help." % sys.argv[0]
1244+ print("%s: %s" % (sys.argv[0], msg), file=sys.stderr)
1245+ print("Try '%s -h' for help." % sys.argv[0], file=sys.stderr)
1246 sys.exit(EXIT_ERROR)
1247
1248
1249@@ -1471,7 +1468,7 @@ def main():
1250 try:
1251 opts, input_filenames = getopt.gnu_getopt(
1252 sys.argv[1:], "hv", ["help", "text", "verbose", "xml"])
1253- except getopt.GetoptError, e:
1254+ except getopt.GetoptError as e:
1255 usage_error(e.msg)
1256 for o, a in opts:
1257 if o == "-h" or o == "--help":
1258@@ -1481,15 +1478,15 @@ def main():
1259 verbose = True
1260 elif o == "--text":
1261 if output_format is not None and output_format != "text":
1262- usage_error(u"contradictory output format options.")
1263+ usage_error("contradictory output format options.")
1264 output_format = "text"
1265 elif o == "--xml":
1266 if output_format is not None and output_format != "xml":
1267- usage_error(u"contradictory output format options.")
1268+ usage_error("contradictory output format options.")
1269 output_format = "xml"
1270
1271 if len(input_filenames) != 2:
1272- usage_error(u"need exactly two input filenames.")
1273+ usage_error("need exactly two input filenames.")
1274
1275 if output_format is None:
1276 output_format = "text"
1277@@ -1502,8 +1499,8 @@ def main():
1278 scan_a.load_from_file(filename_a)
1279 scan_b = Scan()
1280 scan_b.load_from_file(filename_b)
1281- except IOError, e:
1282- print >> sys.stderr, u"Can't open file: %s" % str(e)
1283+ except IOError as e:
1284+ print("Can't open file: %s" % str(e), file=sys.stderr)
1285 sys.exit(EXIT_ERROR)
1286
1287 if output_format == "text":
1288diff --git a/ndiff/ndifftest.py b/ndiff/ndifftest.py
1289index 2fa4ae0..27fc525 100755
1290--- a/ndiff/ndifftest.py
1291+++ b/ndiff/ndifftest.py
1292@@ -1,4 +1,4 @@
1293-#!/usr/bin/env python
1294+#!/usr/bin/env python3
1295
1296 # Unit tests for Ndiff.
1297
1298@@ -22,7 +22,7 @@ for x in dir(ndiff):
1299 sys.dont_write_bytecode = dont_write_bytecode
1300 del dont_write_bytecode
1301
1302-import StringIO
1303+import io
1304
1305
1306 class scan_test(unittest.TestCase):
1307@@ -52,7 +52,7 @@ class scan_test(unittest.TestCase):
1308 scan.load_from_file("test-scans/single.xml")
1309 host = scan.hosts[0]
1310 self.assertEqual(len(host.ports), 5)
1311- self.assertEqual(host.extraports.items(), [("filtered", 95)])
1312+ self.assertEqual(list(host.extraports.items()), [("filtered", 95)])
1313
1314 def test_extraports_multi(self):
1315 """Test that the correct number of known ports is returned when there
1316@@ -68,9 +68,9 @@ class scan_test(unittest.TestCase):
1317 """Test that nmaprun information is recorded."""
1318 scan = Scan()
1319 scan.load_from_file("test-scans/empty.xml")
1320- self.assertEqual(scan.scanner, u"nmap")
1321- self.assertEqual(scan.version, u"4.90RC2")
1322- self.assertEqual(scan.args, u"nmap -oX empty.xml -p 1-100")
1323+ self.assertEqual(scan.scanner, "nmap")
1324+ self.assertEqual(scan.version, "4.90RC2")
1325+ self.assertEqual(scan.args, "nmap -oX empty.xml -p 1-100")
1326
1327 def test_addresses(self):
1328 """Test that addresses are recorded."""
1329@@ -84,7 +84,7 @@ class scan_test(unittest.TestCase):
1330 scan = Scan()
1331 scan.load_from_file("test-scans/simple.xml")
1332 host = scan.hosts[0]
1333- self.assertEqual(host.hostnames, [u"scanme.nmap.org"])
1334+ self.assertEqual(host.hostnames, ["scanme.nmap.org"])
1335
1336 def test_os(self):
1337 """Test that OS information is recorded."""
1338@@ -99,7 +99,7 @@ class scan_test(unittest.TestCase):
1339 scan.load_from_file("test-scans/complex.xml")
1340 host = scan.hosts[0]
1341 self.assertTrue(len(host.script_results) > 0)
1342- self.assertTrue(len(host.ports[(22, u"tcp")].script_results) > 0)
1343+ self.assertTrue(len(host.ports[(22, "tcp")].script_results) > 0)
1344
1345 # This test is commented out because Nmap XML doesn't store any information
1346 # about down hosts, not even the fact that they are down. Recovering the list
1347@@ -128,16 +128,16 @@ class host_test(unittest.TestCase):
1348
1349 def test_format_name(self):
1350 h = Host()
1351- self.assertTrue(isinstance(h.format_name(), basestring))
1352- h.add_address(IPv4Address(u"127.0.0.1"))
1353- self.assertTrue(u"127.0.0.1" in h.format_name())
1354+ self.assertTrue(isinstance(h.format_name(), str))
1355+ h.add_address(IPv4Address("127.0.0.1"))
1356+ self.assertTrue("127.0.0.1" in h.format_name())
1357 h.add_address(IPv6Address("::1"))
1358- self.assertTrue(u"127.0.0.1" in h.format_name())
1359- self.assertTrue(u"::1" in h.format_name())
1360- h.add_hostname(u"localhost")
1361- self.assertTrue(u"127.0.0.1" in h.format_name())
1362- self.assertTrue(u"::1" in h.format_name())
1363- self.assertTrue(u"localhost" in h.format_name())
1364+ self.assertTrue("127.0.0.1" in h.format_name())
1365+ self.assertTrue("::1" in h.format_name())
1366+ h.add_hostname("localhost")
1367+ self.assertTrue("127.0.0.1" in h.format_name())
1368+ self.assertTrue("::1" in h.format_name())
1369+ self.assertTrue("localhost" in h.format_name())
1370
1371 def test_empty_get_port(self):
1372 h = Host()
1373@@ -197,8 +197,8 @@ class host_test(unittest.TestCase):
1374 h = s.hosts[0]
1375 self.assertEqual(len(h.ports), 5)
1376 self.assertEqual(len(h.extraports), 1)
1377- self.assertEqual(h.extraports.keys()[0], u"filtered")
1378- self.assertEqual(h.extraports.values()[0], 95)
1379+ self.assertEqual(list(h.extraports.keys())[0], "filtered")
1380+ self.assertEqual(list(h.extraports.values())[0], 95)
1381 self.assertEqual(h.state, "up")
1382
1383
1384@@ -241,13 +241,13 @@ class port_test(unittest.TestCase):
1385 """Test the Port class."""
1386 def test_spec_string(self):
1387 p = Port((10, "tcp"))
1388- self.assertEqual(p.spec_string(), u"10/tcp")
1389+ self.assertEqual(p.spec_string(), "10/tcp")
1390 p = Port((100, "ip"))
1391- self.assertEqual(p.spec_string(), u"100/ip")
1392+ self.assertEqual(p.spec_string(), "100/ip")
1393
1394 def test_state_string(self):
1395 p = Port((10, "tcp"))
1396- self.assertEqual(p.state_string(), u"unknown")
1397+ self.assertEqual(p.state_string(), "unknown")
1398
1399
1400 class service_test(unittest.TestCase):
1401@@ -255,47 +255,47 @@ class service_test(unittest.TestCase):
1402 def test_compare(self):
1403 """Test that services with the same contents compare equal."""
1404 a = Service()
1405- a.name = u"ftp"
1406- a.product = u"FooBar FTP"
1407- a.version = u"1.1.1"
1408- a.tunnel = u"ssl"
1409+ a.name = "ftp"
1410+ a.product = "FooBar FTP"
1411+ a.version = "1.1.1"
1412+ a.tunnel = "ssl"
1413 self.assertEqual(a, a)
1414 b = Service()
1415- b.name = u"ftp"
1416- b.product = u"FooBar FTP"
1417- b.version = u"1.1.1"
1418- b.tunnel = u"ssl"
1419+ b.name = "ftp"
1420+ b.product = "FooBar FTP"
1421+ b.version = "1.1.1"
1422+ b.tunnel = "ssl"
1423 self.assertEqual(a, b)
1424- b.name = u"http"
1425+ b.name = "http"
1426 self.assertNotEqual(a, b)
1427 c = Service()
1428 self.assertNotEqual(a, c)
1429
1430 def test_tunnel(self):
1431 serv = Service()
1432- serv.name = u"http"
1433- serv.tunnel = u"ssl"
1434- self.assertEqual(serv.name_string(), u"ssl/http")
1435+ serv.name = "http"
1436+ serv.tunnel = "ssl"
1437+ self.assertEqual(serv.name_string(), "ssl/http")
1438
1439 def test_version_string(self):
1440 serv = Service()
1441- serv.product = u"FooBar"
1442+ serv.product = "FooBar"
1443 self.assertTrue(len(serv.version_string()) > 0)
1444 serv = Service()
1445- serv.version = u"1.2.3"
1446+ serv.version = "1.2.3"
1447 self.assertTrue(len(serv.version_string()) > 0)
1448 serv = Service()
1449- serv.extrainfo = u"misconfigured"
1450+ serv.extrainfo = "misconfigured"
1451 self.assertTrue(len(serv.version_string()) > 0)
1452 serv = Service()
1453- serv.product = u"FooBar"
1454- serv.version = u"1.2.3"
1455+ serv.product = "FooBar"
1456+ serv.version = "1.2.3"
1457 # Must match Nmap output.
1458 self.assertEqual(serv.version_string(),
1459- u"%s %s" % (serv.product, serv.version))
1460- serv.extrainfo = u"misconfigured"
1461+ "%s %s" % (serv.product, serv.version))
1462+ serv.extrainfo = "misconfigured"
1463 self.assertEqual(serv.version_string(),
1464- u"%s %s (%s)" % (serv.product, serv.version, serv.extrainfo))
1465+ "%s %s (%s)" % (serv.product, serv.version, serv.extrainfo))
1466
1467
1468 class ScanDiffSub(ScanDiff):
1469@@ -703,7 +703,7 @@ class scan_diff_xml_test(unittest.TestCase):
1470 a.load_from_file("test-scans/empty.xml")
1471 b = Scan()
1472 b.load_from_file("test-scans/simple.xml")
1473- f = StringIO.StringIO()
1474+ f = io.StringIO()
1475 self.scan_diff = ScanDiffXML(a, b, f)
1476 self.scan_diff.output()
1477 self.xml = f.getvalue()
1478@@ -712,8 +712,8 @@ class scan_diff_xml_test(unittest.TestCase):
1479 def test_well_formed(self):
1480 try:
1481 document = xml.dom.minidom.parseString(self.xml)
1482- except Exception, e:
1483- self.fail(u"Parsing XML diff output caused the exception: %s"
1484+ except Exception as e:
1485+ self.fail("Parsing XML diff output caused the exception: %s"
1486 % str(e))
1487
1488
1489@@ -739,8 +739,8 @@ def host_apply_diff(host, diff):
1490 host.os = diff.host_b.os[:]
1491
1492 if diff.extraports_changed:
1493- for state in host.extraports.keys():
1494- for port in host.ports.values():
1495+ for state in list(host.extraports.keys()):
1496+ for port in list(host.ports.values()):
1497 if port.state == state:
1498 del host.ports[port.spec]
1499 host.extraports = diff.host_b.extraports.copy()
1500diff --git a/ndiff/scripts/ndiff b/ndiff/scripts/ndiff
1501index 8517c07..4671e73 100755
1502--- a/ndiff/scripts/ndiff
1503+++ b/ndiff/scripts/ndiff
1504@@ -1,4 +1,4 @@
1505-#!/usr/bin/env python
1506+#!/usr/bin/env python3
1507
1508 # Ndiff
1509 #
1510@@ -67,15 +67,15 @@ if INSTALL_LIB is not None and is_secure_dir(INSTALL_LIB):
1511
1512 try:
1513 import ndiff
1514-except ImportError, e:
1515- print >> sys.stderr, """\
1516+except ImportError as e:
1517+ print("""\
1518 Could not import the ndiff module: %s.
1519-I checked in these directories:""" % repr(e.message)
1520+I checked in these directories:""" % repr(e), file=sys.stderr)
1521 for dir in sys.path:
1522- print >> sys.stderr, " %s" % dir
1523- print >> sys.stderr, """\
1524+ print(" %s" % dir, file=sys.stderr)
1525+ print("""\
1526 If you installed Ndiff in another directory, you may have to add the
1527-modules directory to the PYTHONPATH environment variable."""
1528+modules directory to the PYTHONPATH environment variable.""", file=sys.stderr)
1529 sys.exit(1)
1530
1531 import ndiff
1532diff --git a/ndiff/setup.py b/ndiff/setup.py
1533old mode 100644
1534new mode 100755
1535index b5e254c..c49bcf3
1536--- a/ndiff/setup.py
1537+++ b/ndiff/setup.py
1538@@ -94,7 +94,7 @@ class checked_install(distutils.command.install.install):
1539 self.saved_prefix = sys.prefix
1540 try:
1541 distutils.command.install.install.finalize_options(self)
1542- except distutils.errors.DistutilsPlatformError, e:
1543+ except distutils.errors.DistutilsPlatformError as e:
1544 raise distutils.errors.DistutilsPlatformError(str(e) + """
1545 Installing your distribution's python-dev package may solve this problem.""")
1546
1547@@ -155,13 +155,13 @@ Installing your distribution's python-dev package may solve this problem.""")
1548 #!/usr/bin/env python
1549 import errno, os, os.path, sys
1550
1551-print 'Uninstall %(name)s'
1552+print('Uninstall %(name)s')
1553
1554 answer = raw_input('Are you sure that you want to uninstall '
1555 '%(name)s (yes/no) ')
1556
1557 if answer != 'yes' and answer != 'y':
1558- print 'Not uninstalling.'
1559+ print('Not uninstalling.')
1560 sys.exit(0)
1561
1562 """ % {'name': APP_NAME}
1563@@ -177,8 +177,8 @@ if answer != 'yes' and answer != 'y':
1564 # This should never happen (everything gets installed
1565 # inside the root), but if it does, be safe and don't
1566 # delete anything.
1567- uninstaller += ("print '%s was not installed inside "
1568- "the root %s; skipping.'\n" % (output, self.root))
1569+ uninstaller += ("print('%s was not installed inside "
1570+ "the root %s; skipping.')\n" % (output, self.root))
1571 continue
1572 output = path_strip_prefix(output, self.root)
1573 assert os.path.isabs(output)
1574@@ -202,24 +202,24 @@ for path in INSTALLED_FILES:
1575 dirs.append(path)
1576 # Delete the files.
1577 for file in files:
1578- print "Removing '%s'." % file
1579+ print("Removing '%s'." % file)
1580 try:
1581 os.remove(file)
1582- except OSError, e:
1583- print >> sys.stderr, ' Error: %s.' % str(e)
1584+ except OSError as e:
1585+ print(' Error: %s.' % str(e), file=sys.stderr)
1586 # Delete the directories. First reverse-sort the normalized paths by
1587 # length so that child directories are deleted before their parents.
1588 dirs = [os.path.normpath(dir) for dir in dirs]
1589 dirs.sort(key = len, reverse = True)
1590 for dir in dirs:
1591 try:
1592- print "Removing the directory '%s'." % dir
1593+ print("Removing the directory '%s'." % dir)
1594 os.rmdir(dir)
1595- except OSError, e:
1596+ except OSError as e:
1597 if e.errno == errno.ENOTEMPTY:
1598- print "Directory '%s' not empty; not removing." % dir
1599+ print("Directory '%s' not empty; not removing." % dir)
1600 else:
1601- print >> sys.stderr, str(e)
1602+ print(str(e), file=sys.stderr)
1603 """
1604
1605 uninstaller_file = open(uninstaller_filename, 'w')
1606@@ -227,7 +227,7 @@ for dir in dirs:
1607 uninstaller_file.close()
1608
1609 # Set exec bit for uninstaller
1610- mode = ((os.stat(uninstaller_filename)[ST_MODE]) | 0555) & 07777
1611+ mode = ((os.stat(uninstaller_filename)[ST_MODE]) | 0o555) & 0o7777
1612 os.chmod(uninstaller_filename, mode)
1613
1614 def write_installed_files(self):
1615@@ -242,7 +242,7 @@ for dir in dirs:
1616 try:
1617 for output in self.get_installed_files():
1618 assert "\n" not in output
1619- print >> f, output
1620+ print(output, file=f)
1621 finally:
1622 f.close()
1623
1624@@ -266,7 +266,7 @@ class my_uninstall(distutils.cmd.Command):
1625 # Read the list of installed files.
1626 try:
1627 f = open(INSTALLED_FILES_NAME, "r")
1628- except IOError, e:
1629+ except IOError as e:
1630 if e.errno == errno.ENOENT:
1631 log.error("Couldn't open the installation record '%s'. "
1632 "Have you installed yet?" % INSTALLED_FILES_NAME)
1633@@ -289,7 +289,7 @@ class my_uninstall(distutils.cmd.Command):
1634 try:
1635 if not self.dry_run:
1636 os.remove(file)
1637- except OSError, e:
1638+ except OSError as e:
1639 log.error(str(e))
1640 # Delete the directories. First reverse-sort the normalized paths by
1641 # length so that child directories are deleted before their parents.
1642@@ -300,7 +300,7 @@ class my_uninstall(distutils.cmd.Command):
1643 log.info("Removing the directory '%s'." % dir)
1644 if not self.dry_run:
1645 os.rmdir(dir)
1646- except OSError, e:
1647+ except OSError as e:
1648 if e.errno == errno.ENOTEMPTY:
1649 log.info("Directory '%s' not empty; not removing." % dir)
1650 else:
1651diff --git a/ndiff/test-scans/anonymize.py b/ndiff/test-scans/anonymize.py
1652index 9ba612a..fd251fe 100755
1653--- a/ndiff/test-scans/anonymize.py
1654+++ b/ndiff/test-scans/anonymize.py
1655@@ -1,4 +1,4 @@
1656-#!/usr/bin/env python
1657+#!/usr/bin/env python3
1658
1659 # Anonymize an Nmap XML file, replacing host name and IP addresses with random
1660 # anonymous ones. Anonymized names will be consistent between runs of the
1661@@ -20,20 +20,20 @@ r = random.Random()
1662
1663
1664 def hash(s):
1665- digest = hashlib.sha512(s).hexdigest()
1666+ digest = hashlib.sha512(s.encode()).hexdigest()
1667 return int(digest, 16)
1668
1669
1670 def anonymize_mac_address(addr):
1671 r.seed(hash(addr))
1672 nums = (0, 0, 0) + tuple(r.randrange(256) for i in range(3))
1673- return u":".join(u"%02X" % x for x in nums)
1674+ return ":".join("%02X" % x for x in nums)
1675
1676
1677 def anonymize_ipv4_address(addr):
1678 r.seed(hash(addr))
1679 nums = (10,) + tuple(r.randrange(256) for i in range(3))
1680- return u".".join(unicode(x) for x in nums)
1681+ return ".".join(str(x) for x in nums)
1682
1683
1684 def anonymize_ipv6_address(addr):
1685@@ -41,7 +41,7 @@ def anonymize_ipv6_address(addr):
1686 # RFC 4193.
1687 nums = (0xFD00 + r.randrange(256),)
1688 nums = nums + tuple(r.randrange(65536) for i in range(7))
1689- return u":".join("%04X" % x for x in nums)
1690+ return ":".join("%04X" % x for x in nums)
1691
1692 # Maps to memoize address and host name conversions.
1693 hostname_map = {}
1694@@ -54,11 +54,11 @@ def anonymize_hostname(name):
1695 LETTERS = "acbdefghijklmnopqrstuvwxyz"
1696 r.seed(hash(name))
1697 length = r.randrange(5, 10)
1698- prefix = u"".join(r.sample(LETTERS, length))
1699+ prefix = "".join(r.sample(LETTERS, length))
1700 num = r.randrange(1000)
1701- hostname_map[name] = u"%s-%d.example.com" % (prefix, num)
1702+ hostname_map[name] = "%s-%d.example.com" % (prefix, num)
1703 if VERBOSE:
1704- print >> sys.stderr, "Replace %s with %s" % (name, hostname_map[name])
1705+ print("Replace %s with %s" % (name, hostname_map[name]), file=sys.stderr)
1706 return hostname_map[name]
1707
1708 mac_re = re.compile(r'\b([0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}\b')
1709@@ -78,7 +78,7 @@ def anonymize_address(addr):
1710 else:
1711 assert False
1712 if VERBOSE:
1713- print >> sys.stderr, "Replace %s with %s" % (addr, address_map[addr])
1714+ print("Replace %s with %s" % (addr, address_map[addr]), file=sys.stderr)
1715 return address_map[addr]
1716
1717
1718--
17192.24.1
1720
diff --git a/meta-oe/recipes-security/nmap/files/0001-configure.ac-make-ndiff-depend-on-python3.patch b/meta-oe/recipes-security/nmap/files/0001-configure.ac-make-ndiff-depend-on-python3.patch
deleted file mode 100644
index c43ff9f4d8..0000000000
--- a/meta-oe/recipes-security/nmap/files/0001-configure.ac-make-ndiff-depend-on-python3.patch
+++ /dev/null
@@ -1,48 +0,0 @@
1From 562893e665a6c9e1b60c8b3242bab6fe78318b3b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Fri, 14 Feb 2020 08:19:54 +0000
4Subject: [PATCH] configure.ac: make ndiff depend on python3
5
6Python 2 ceased being maintained on the 1st January 2020.
7We've already removed all users of it from oe-core, so
8let ndiff depend on python3.
9
10Upstream-Status: Pending
11
12Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
13---
14 .../nmap/7.80-r0/nmap-7.80/configure.ac | 11 ++++++++---
15 1 file changed, 8 insertions(+), 3 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index 9d2fff8..5ffdd55 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -237,16 +237,21 @@ if test $HAVE_PYTHON && test "x${PYTHON_VERSION%%.*}" = "x2"; then
22 HAVE_PYTHON2=true
23 fi
24
25+HAVE_PYTHON3=false
26+if test $HAVE_PYTHON && test "x${PYTHON_VERSION%%.*}" = "x3"; then
27+ HAVE_PYTHON3=true
28+fi
29+
30 NDIFFDIR=ndiff
31
32 # Do they want Ndiff?
33 AC_ARG_WITH(ndiff, AC_HELP_STRING([--without-ndiff], [Skip installation of the Ndiff utility]), [], [with_ndiff=check])
34-if $HAVE_PYTHON2 ; then : ;
35+if $HAVE_PYTHON3 ; then : ;
36 else
37 if test "$with_ndiff" = "check" ; then
38- AC_MSG_WARN([Not building Ndiff because Python 2.x with x>=4 was not found])
39+ AC_MSG_WARN([Not building Ndiff because Python3 was not found])
40 elif test "$with_ndiff" = "yes"; then
41- AC_MSG_FAILURE([--with-ndiff requires Python 2.x with x>=4])
42+ AC_MSG_FAILURE([--with-ndiff requires Python3])
43 fi
44 with_ndiff=no
45 fi
46--
472.24.1
48
diff --git a/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch b/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch
new file mode 100644
index 0000000000..aad8b1ee92
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/files/0001-fix-racing-between-build-ncat-and-build-lua.patch
@@ -0,0 +1,55 @@
1From 0cde425abfcacdde725dccff29d01c9fce7c3888 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 9 Feb 2025 00:45:36 +0000
4Subject: [PATCH] fix racing between build-ncat and build-lua
5
6There are two build-lua rules, one in Makefile.in, another in
7ncat/Makefile.in which is required by build-ncat
8
9Build them may cause potential racing
10
11$ bitbake lib32-nmap
12$ grep -e "Compiling liblua" -e 'nmap-7.95/liblua' -e ": error" -n patch-to/temp/log.do_compile
13Compiling liblua
14make[1]: Entering directory 'path-to/build/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
15Compiling liblua
16make[2]: Entering directory 'path-to/build/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
17make[2]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
18path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/recipe-sysroot-native/usr/bin/i686-wrsmllib32-linux/../../libexec/i686-wrsmllib32-linux/gcc/i686-wrsmllib32-linux/14.2.0/ld: ./../liblua/liblua.a: error adding symbols: no more archived files
19collect2: error: ld returned 1 exit status
20make[1]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
21
22Explicitly make build-ncat depends on build-lua to avoid racing,
23after applying the patch
24...
25Compiling liblua
26make[1]: Entering directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
27make[1]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
28Compiling liblua
29make[2]: Entering directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
30make[2]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
31...
32
33Upstream-Status: Submitted [https://github.com/nmap/nmap/pull/3025]
34
35Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
36---
37 Makefile.in | 2 +-
38 1 file changed, 1 insertion(+), 1 deletion(-)
39
40diff --git a/Makefile.in b/Makefile.in
41index e2f79c9..0e634a3 100644
42--- a/Makefile.in
43+++ b/Makefile.in
44@@ -159,7 +159,7 @@ build-netutil: libnetutil/Makefile
45 @echo Compiling libnetutil;
46 cd libnetutil && $(MAKE)
47
48-build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock $(NCATDIR)/ncat.h @PCAP_BUILD@
49+build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock build-lua $(NCATDIR)/ncat.h @PCAP_BUILD@
50 cd $(NCATDIR) && $(MAKE)
51
52 build-lua: $(LIBLUADIR)/Makefile
53--
542.47.1
55
diff --git a/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch b/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch
new file mode 100644
index 0000000000..bcb04250bb
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/files/0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch
@@ -0,0 +1,165 @@
1From 364d089250d1acf459e9e8580161e7bb06268106 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Tue, 15 Oct 2024 02:47:38 +0000
4Subject: [PATCH] Fix off-by-one overflow in the IP protocol table.
5
6Fixes #2896, closes #2897, closes #2900
7
8Upstream-Status: Backport [https://github.com/nmap/nmap/commit/efa0dc36f2ecade6ba8d2ed25dd4d5fbffdea308]
9
10Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
11---
12 CHANGELOG | 3 +++
13 portlist.cc | 8 ++++----
14 protocols.cc | 6 +++---
15 protocols.h | 2 ++
16 scan_lists.cc | 10 +++++-----
17 5 files changed, 17 insertions(+), 12 deletions(-)
18
19diff --git a/CHANGELOG b/CHANGELOG
20index f01262c..5b204bd 100644
21--- a/CHANGELOG
22+++ b/CHANGELOG
23@@ -1,5 +1,8 @@
24 #Nmap Changelog ($Id: CHANGELOG 38849 2024-04-18 17:16:42Z dmiller $); -*-text-*-
25
26+o [GH#2900, GH#2896, GH#2897] Nmap is now able to scan IP protocol 255.
27+ [nnposter]
28+
29 Nmap 7.95 [2024-04-19]
30
31 o [Windows] Upgraded Npcap (our Windows raw packet capturing and
32diff --git a/portlist.cc b/portlist.cc
33index 8258853..cd08437 100644
34--- a/portlist.cc
35+++ b/portlist.cc
36@@ -480,7 +480,7 @@ void PortList::setPortState(u16 portno, u8 protocol, int state, int *oldstate) {
37 state != PORT_CLOSEDFILTERED)
38 fatal("%s: attempt to add port number %d with illegal state %d\n", __func__, portno, state);
39
40- assert(protocol!=IPPROTO_IP || portno<256);
41+ assert(protocol!=IPPROTO_IP || portno<=MAX_IPPROTONUM);
42
43 bool created = false;
44 current = createPort(portno, protocol, &created);
45@@ -566,7 +566,7 @@ Port *PortList::nextPort(const Port *cur, Port *next,
46 if (cur) {
47 proto = INPROTO2PORTLISTPROTO(cur->proto);
48 assert(port_map[proto]!=NULL); // Hmm, it's not possible to handle port that doesn't have anything in map
49- assert(cur->proto!=IPPROTO_IP || cur->portno<256);
50+ assert(cur->proto!=IPPROTO_IP || cur->portno<=MAX_IPPROTONUM);
51 mapped_pno = port_map[proto][cur->portno];
52 mapped_pno++; // we're interested in next port after current
53 } else { // running for the first time
54@@ -615,7 +615,7 @@ void PortList::mapPort(u16 *portno, u8 *protocol) const {
55 mapped_protocol = INPROTO2PORTLISTPROTO(*protocol);
56
57 if (*protocol == IPPROTO_IP)
58- assert(*portno < 256);
59+ assert(*portno <= MAX_IPPROTONUM);
60 if(port_map[mapped_protocol]==NULL || port_list[mapped_protocol]==NULL) {
61 fatal("%s(%i,%i): you're trying to access uninitialized protocol", __func__, *portno, *protocol);
62 }
63@@ -713,7 +713,7 @@ int PortList::port_list_count[PORTLIST_PROTO_MAX];
64 * should be sorted. */
65 void PortList::initializePortMap(int protocol, u16 *ports, int portcount) {
66 int i;
67- int ports_max = (protocol == IPPROTO_IP) ? 256 : 65536;
68+ int ports_max = (protocol == IPPROTO_IP) ? MAX_IPPROTONUM + 1 : 65536;
69 int proto = INPROTO2PORTLISTPROTO(protocol);
70
71 if (port_map[proto] != NULL || port_map_rev[proto] != NULL)
72diff --git a/protocols.cc b/protocols.cc
73index 76e42c7..85e55e4 100644
74--- a/protocols.cc
75+++ b/protocols.cc
76@@ -79,7 +79,7 @@ struct strcmp_comparator {
77
78 // IP Protocol number is 8 bits wide
79 // protocol_table[IPPROTO_TCP] == {"tcp", 6}
80-static struct nprotoent *protocol_table[UCHAR_MAX];
81+static struct nprotoent *protocol_table[MAX_IPPROTONUM + 1];
82 // proto_map["tcp"] = {"tcp", 6}
83 typedef std::map<const char *, struct nprotoent, strcmp_comparator> ProtoMap;
84 static ProtoMap proto_map;
85@@ -119,7 +119,7 @@ static int nmap_protocols_init() {
86 if (*p == '#' || *p == '\0')
87 continue;
88 res = sscanf(line, "%127s %hu", protocolname, &protno);
89- if (res !=2 || protno > UCHAR_MAX) {
90+ if (res !=2 || protno > MAX_IPPROTONUM) {
91 error("Parse error in protocols file %s line %d", filename, lineno);
92 continue;
93 }
94@@ -191,7 +191,7 @@ const struct nprotoent *nmap_getprotbynum(int num) {
95 if (nmap_protocols_init() == -1)
96 return NULL;
97
98- assert(num >= 0 && num < UCHAR_MAX);
99+ assert(num >= 0 && num <= MAX_IPPROTONUM);
100 return protocol_table[num];
101 }
102
103diff --git a/protocols.h b/protocols.h
104index 8934284..2de0aa4 100644
105--- a/protocols.h
106+++ b/protocols.h
107@@ -79,6 +79,8 @@ int addprotocolsfromservmask(char *mask, u8 *porttbl);
108 const struct nprotoent *nmap_getprotbynum(int num);
109 const struct nprotoent *nmap_getprotbyname(const char *name);
110
111+#define MAX_IPPROTONUM 255
112+
113 #define MAX_IPPROTOSTRLEN 4
114 #define IPPROTO2STR(p) \
115 ((p)==IPPROTO_TCP ? "tcp" : \
116diff --git a/scan_lists.cc b/scan_lists.cc
117index f02e279..ebe1357 100644
118--- a/scan_lists.cc
119+++ b/scan_lists.cc
120@@ -165,7 +165,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) {
121 ports->udp_count++;
122 if (porttbl[i] & SCAN_SCTP_PORT)
123 ports->sctp_count++;
124- if (porttbl[i] & SCAN_PROTOCOLS && i < 256)
125+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM)
126 ports->prot_count++;
127 }
128
129@@ -192,7 +192,7 @@ void getpts(const char *origexpr, struct scan_lists *ports) {
130 ports->udp_ports[udpi++] = i;
131 if (porttbl[i] & SCAN_SCTP_PORT)
132 ports->sctp_ports[sctpi++] = i;
133- if (porttbl[i] & SCAN_PROTOCOLS && i < 256)
134+ if (porttbl[i] & SCAN_PROTOCOLS && i <= MAX_IPPROTONUM)
135 ports->prots[proti++] = i;
136 }
137
138@@ -388,7 +388,7 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_
139 } else if (isdigit((int) (unsigned char) *current_range)) {
140 rangestart = strtol(current_range, &endptr, 10);
141 if (range_type & SCAN_PROTOCOLS) {
142- if (rangestart < 0 || rangestart > 255)
143+ if (rangestart < 0 || rangestart > MAX_IPPROTONUM)
144 fatal("Protocols specified must be between 0 and 255 inclusive");
145 } else {
146 if (rangestart < 0 || rangestart > 65535)
147@@ -429,13 +429,13 @@ static void getpts_aux(const char *origexpr, int nested, u8 *porttbl, int range_
148 if (!*current_range || *current_range == ',' || *current_range == ']') {
149 /* Ended with a -, meaning up until the last possible port */
150 if (range_type & SCAN_PROTOCOLS)
151- rangeend = 255;
152+ rangeend = MAX_IPPROTONUM;
153 else
154 rangeend = 65535;
155 } else if (isdigit((int) (unsigned char) *current_range)) {
156 rangeend = strtol(current_range, &endptr, 10);
157 if (range_type & SCAN_PROTOCOLS) {
158- if (rangeend < 0 || rangeend > 255)
159+ if (rangeend < 0 || rangeend > MAX_IPPROTONUM)
160 fatal("Protocols specified must be between 0 and 255 inclusive");
161 } else {
162 if (rangeend < 0 || rangeend > 65535)
163--
1642.34.1
165
diff --git a/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch b/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch
index 356b5071bf..5669ccdf6a 100644
--- a/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch
+++ b/meta-oe/recipes-security/nmap/files/nmap-redefine-the-python-library-dir.patch
@@ -10,20 +10,9 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com>
10 Makefile.in | 4 ++-- 10 Makefile.in | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 2 deletions(-)
12 12
13diff --git a/Makefile.in b/Makefile.in
14index 1bb062c..cced2fb 100644
15--- a/Makefile.in 13--- a/Makefile.in
16+++ b/Makefile.in 14+++ b/Makefile.in
17@@ -311,7 +311,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py 15@@ -383,7 +383,7 @@ build-nping: $(NPINGDIR)/Makefile build-
18
19 install-zenmap: $(ZENMAPDIR)/setup.py
20 $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
21- cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)")
22+ cd $(ZENMAPDIR) && $(PYTHON) setup.py --quiet install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" --force $(if $(DESTDIR),--root "$(DESTDIR)")
23 $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/
24 # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
25 # already a link.
26@@ -328,7 +328,7 @@ build-nping: $(NPINGDIR)/Makefile nbase_build nsock_build netutil_build $(NPINGD
27 @cd $(NPINGDIR) && $(MAKE) 16 @cd $(NPINGDIR) && $(MAKE)
28 17
29 install-ndiff: 18 install-ndiff:
@@ -32,6 +21,3 @@ index 1bb062c..cced2fb 100644
32 21
33 NSE_FILES = scripts/script.db scripts/*.nse 22 NSE_FILES = scripts/script.db scripts/*.nse
34 NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc 23 NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc
35--
361.9.1
37
diff --git a/meta-oe/recipes-security/nmap/files/nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch b/meta-oe/recipes-security/nmap/files/nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch
index cfe043af4b..a07061d4df 100644
--- a/meta-oe/recipes-security/nmap/files/nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch
+++ b/meta-oe/recipes-security/nmap/files/nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch
@@ -12,11 +12,9 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com>
12 nmap-update/Makefile.in | 2 +- 12 nmap-update/Makefile.in | 2 +-
13 2 files changed, 3 insertions(+), 3 deletions(-) 13 2 files changed, 3 insertions(+), 3 deletions(-)
14 14
15diff --git a/ncat/Makefile.in b/ncat/Makefile.in
16index cfd306d..2166e08 100644
17--- a/ncat/Makefile.in 15--- a/ncat/Makefile.in
18+++ b/ncat/Makefile.in 16+++ b/ncat/Makefile.in
19@@ -163,11 +163,11 @@ $(NSOCKDIR)/libnsock.a: $(NSOCKDIR)/Makefile 17@@ -162,11 +162,11 @@ $(NSOCKDIR)/libnsock.a: $(NSOCKDIR)/Make
20 18
21 install: $(TARGET) 19 install: $(TARGET)
22 @echo Installing Ncat; 20 @echo Installing Ncat;
@@ -30,19 +28,3 @@ index cfd306d..2166e08 100644
30 $(INSTALL) -c -m 644 $(DATAFILES) $(DESTDIR)$(pkgdatadir)/; \ 28 $(INSTALL) -c -m 644 $(DATAFILES) $(DESTDIR)$(pkgdatadir)/; \
31 fi 29 fi
32 $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1 30 $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1
33diff --git a/nmap-update/Makefile.in b/nmap-update/Makefile.in
34index 89ff928..93f48d8 100644
35--- a/nmap-update/Makefile.in
36+++ b/nmap-update/Makefile.in
37@@ -37,7 +37,7 @@ $(NBASELIB):
38 cd $(NBASEDIR) && $(MAKE)
39
40 install: nmap-update
41- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
42+ mkdir -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
43 $(INSTALL) -c -m 755 nmap-update $(DESTDIR)$(bindir)
44 $(STRIP) -x $(DESTDIR)$(bindir)/nmap-update
45 $(INSTALL) -c -m 644 ../docs/nmap-update.1 $(DESTDIR)$(mandir)/man1/
46--
471.9.1
48
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch
new file mode 100644
index 0000000000..6298f7ea26
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0001-redefine-the-python-library-install-dir.patch
@@ -0,0 +1,31 @@
1From 67b4614ea529460dca9326bfe5d355bad6f9bdee Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com>
3Date: Sun, 27 Apr 2025 16:33:08 +0800
4Subject: [PATCH] redefine the python library install dir
5
6If install-lib is not defined, it is always /usr/lib/, but it
7maybe /usr/lib64 for multilib
8
9Upstream-Status: Pending
10
11Signed-off-by: Roy Li <rongqing.li@windriver.com>
12---
13 Makefile.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile.in b/Makefile.in
17index ccfceda..6b25d27 100644
18--- a/Makefile.in
19+++ b/Makefile.in
20@@ -387,7 +387,7 @@ build-nping: $(NPINGDIR)/Makefile build-nbase build-nsock build-netutil $(NPINGD
21 @cd $(NPINGDIR) && $(MAKE)
22
23 install-ndiff:
24- cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
25+ cd $(NDIFFDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --install-lib="${PYTHON_SITEPACKAGES_DIR}" $(if $(DESTDIR),--root "$(DESTDIR)")
26
27 NSE_FILES = scripts/script.db scripts/*.nse
28 NSE_LIB_LUA_FILES = nselib/*.lua nselib/*.luadoc
29--
302.34.1
31
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0002-replace-.-shtool-mkdir-with-coreutils-mkdir-command.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0002-replace-.-shtool-mkdir-with-coreutils-mkdir-command.patch
new file mode 100644
index 0000000000..f81e230b28
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0002-replace-.-shtool-mkdir-with-coreutils-mkdir-command.patch
@@ -0,0 +1,38 @@
1From 783333de42b06020f5c0852c415cd34972a773fb Mon Sep 17 00:00:00 2001
2From: Roy Li <rongqing.li@windriver.com>
3Date: Sun, 27 Apr 2025 16:35:11 +0800
4Subject: [PATCH] replace "./shtool mkdir" with coreutils mkdir command
5
6"./shtool mkdir" is used when mkdir has not -p parameter, but mkdir in
7today most release has supportted the -p parameter, not need to use
8shtool, and it can not fix the race if two process are running mkdir to
9create same dir
10
11Upstream-Status: Pending
12
13Signed-off-by: Roy Li <rongqing.li@windriver.com>
14---
15 ncat/Makefile.in | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18diff --git a/ncat/Makefile.in b/ncat/Makefile.in
19index 4632a78..11a5e7c 100644
20--- a/ncat/Makefile.in
21+++ b/ncat/Makefile.in
22@@ -166,11 +166,11 @@ $(NSOCKDIR)/libnsock.a: $(NSOCKDIR)/Makefile
23
24 install: $(TARGET)
25 @echo Installing Ncat;
26- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
27+ mkdir -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
28 $(INSTALL) -c -m 755 ncat $(DESTDIR)$(bindir)/ncat
29 $(STRIP) -x $(DESTDIR)$(bindir)/ncat
30 if [ -n "$(DATAFILES)" ]; then \
31- $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(pkgdatadir); \
32+ mkdir -p -m 755 $(DESTDIR)$(pkgdatadir); \
33 $(INSTALL) -c -m 644 $(DATAFILES) $(DESTDIR)$(pkgdatadir)/; \
34 fi
35 $(INSTALL) -c -m 644 docs/$(TARGET).1 $(DESTDIR)$(mandir)/man1/$(TARGET).1
36--
372.34.1
38
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0003-Include-time.h-header-to-pass-clang-compilation.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0003-Include-time.h-header-to-pass-clang-compilation.patch
new file mode 100644
index 0000000000..b940124f98
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0003-Include-time.h-header-to-pass-clang-compilation.patch
@@ -0,0 +1,76 @@
1From e9d876bedc8a7bc96856ecf38bbeeafee2d5b206 Mon Sep 17 00:00:00 2001
2From: Peiran Hong <peiran.hong@windriver.com>
3Date: Fri, 20 Sep 2019 15:02:45 -0400
4Subject: [PATCH] Include time.h header to pass clang compilation
5
6Upstream-Status: Pending
7
8Signed-off-by: Peiran Hong <peiran.hong@windriver.com>
9---
10 nmap_error.cc | 11 +----------
11 nping/EchoServer.cc | 1 +
12 osscan2.cc | 1 +
13 service_scan.cc | 1 +
14 4 files changed, 4 insertions(+), 10 deletions(-)
15
16diff --git a/nmap_error.cc b/nmap_error.cc
17index 5ec938f..83ba6cc 100644
18--- a/nmap_error.cc
19+++ b/nmap_error.cc
20@@ -67,16 +67,7 @@
21 #include "xml.h"
22
23 #include <errno.h>
24-#if TIME_WITH_SYS_TIME
25-# include <sys/time.h>
26-# include <time.h>
27-#else
28-# if HAVE_SYS_TIME_H
29-# include <sys/time.h>
30-# else
31-# include <time.h>
32-# endif
33-#endif
34+#include <time.h>
35
36 extern NmapOps o;
37
38diff --git a/nping/EchoServer.cc b/nping/EchoServer.cc
39index dea2851..c80efb4 100644
40--- a/nping/EchoServer.cc
41+++ b/nping/EchoServer.cc
42@@ -69,6 +69,7 @@
43 #include "NpingOps.h"
44 #include "ProbeMode.h"
45 #include <signal.h>
46+#include <time.h>
47
48 extern NpingOps o;
49 extern EchoServer es;
50diff --git a/osscan2.cc b/osscan2.cc
51index efe6da0..392c65f 100644
52--- a/osscan2.cc
53+++ b/osscan2.cc
54@@ -80,6 +80,7 @@
55
56 #include <list>
57 #include <math.h>
58+#include <time.h>
59
60 extern NmapOps o;
61 #ifdef WIN32
62diff --git a/service_scan.cc b/service_scan.cc
63index 66e0d92..161f2a1 100644
64--- a/service_scan.cc
65+++ b/service_scan.cc
66@@ -77,6 +77,7 @@
67 #include "nmap_tty.h"
68
69 #include <errno.h>
70+#include <time.h>
71
72 #if HAVE_OPENSSL
73 /* OpenSSL 1.0.0 needs _WINSOCKAPI_ to be defined, otherwise it loads
74--
752.34.1
76
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0004-Fix-building-with-libc.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0004-Fix-building-with-libc.patch
new file mode 100644
index 0000000000..295abe6d50
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0004-Fix-building-with-libc.patch
@@ -0,0 +1,79 @@
1From 4c54b00e6f3749924532c2636eae01daff9e4bcd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 Jan 2019 23:11:56 -0800
4Subject: [PATCH] Fix building with libc++
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 nping/EchoServer.cc | 16 ++++++++--------
11 1 file changed, 8 insertions(+), 8 deletions(-)
12
13diff --git a/nping/EchoServer.cc b/nping/EchoServer.cc
14index c80efb4..914bd54 100644
15--- a/nping/EchoServer.cc
16+++ b/nping/EchoServer.cc
17@@ -214,14 +214,14 @@ int EchoServer::nep_listen_socket(){
18 server_addr6.sin6_len = sizeof(struct sockaddr_in6);
19 #endif
20 /* Bind to local address and the specified port */
21- if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
22+ if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
23 nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr6.sin6_addr), port);
24 /* If the bind failed for the supplied address, just try again with in6addr_any */
25 if( o.spoofSource() ){
26 server_addr6.sin6_addr = in6addr_any;
27- if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
28+ if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){
29 nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno));
30- }else{
31+ }else{
32 nping_print(VB_1, "Server bound to port %d", port);
33 }
34 }
35@@ -252,12 +252,12 @@ int EchoServer::nep_listen_socket(){
36 #endif
37
38 /* Bind to local address and the specified port */
39- if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
40+ if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
41 nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr4.sin_addr), port);
42 /* If the bind failed for the supplied address, just try again with in6addr_any */
43 if( o.spoofSource() ){
44 server_addr4.sin_addr.s_addr=INADDR_ANY;
45- if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
46+ if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){
47 nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno));
48 }else{
49 nping_print(VB_1, "Server bound to port %d", port);
50@@ -493,7 +493,7 @@ clientid_t EchoServer::nep_match_headers(IPv4Header *ip4, IPv6Header *ip6, TCPHe
51 nping_print(DBG_3, ";");
52 /* The payload magic may affect the score only between
53 * zero and 4 bytes. This is done to prevent long
54- * common strings like "GET / HTTP/1.1\r\n"
55+ * common strings like "GET / HTTP/1.1\r\n"
56 * increasing the score a lot and cause problems for
57 * the matching logic. */
58 current_score+= MIN(4, fspec->len)*FACTOR_PAYLOAD_MAGIC;
59@@ -503,7 +503,7 @@ clientid_t EchoServer::nep_match_headers(IPv4Header *ip4, IPv6Header *ip6, TCPHe
60 default:
61 nping_warning(QT_2, "Bogus field specifier found in client #%d context. Please report a bug", ctx->getIdentifier());
62 break;
63- }
64+ }
65 } /* End of field specifiers loop */
66
67 nping_print(DBG_3, "%s() current_score=%.02f candidate_score=%.02f", __func__, current_score, candidate_score);
68@@ -582,7 +582,7 @@ clientid_t EchoServer::nep_match_packet(const u8 *pkt, size_t pktlen){
69 }else{
70 if( (tcplen=tcp.validate())==OP_FAILURE){
71 return CLIENT_NOT_FOUND;
72- }else{
73+ }else{
74 if( (int)pktlen > (iplen+tcplen) ){
75 if( payload.storeRecvData(pkt+iplen+tcplen, pktlen-iplen-tcplen)!=OP_FAILURE)
76 payload_included=true;
77--
782.34.1
79
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0005-fix-racing-between-build-ncat-and-build-lua.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0005-fix-racing-between-build-ncat-and-build-lua.patch
new file mode 100644
index 0000000000..f660719640
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0005-fix-racing-between-build-ncat-and-build-lua.patch
@@ -0,0 +1,55 @@
1From c1b436da46a7e3089b657f3f92308defc0ebb735 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 9 Feb 2025 00:45:36 +0000
4Subject: [PATCH] fix racing between build-ncat and build-lua
5
6There are two build-lua rules, one in Makefile.in, another in
7ncat/Makefile.in which is required by build-ncat
8
9Build them may cause potential racing
10
11$ bitbake lib32-nmap
12$ grep -e "Compiling liblua" -e 'nmap-7.95/liblua' -e ": error" -n patch-to/temp/log.do_compile
13Compiling liblua
14make[1]: Entering directory 'path-to/build/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
15Compiling liblua
16make[2]: Entering directory 'path-to/build/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
17make[2]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
18path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/recipe-sysroot-native/usr/bin/i686-wrsmllib32-linux/../../libexec/i686-wrsmllib32-linux/gcc/i686-wrsmllib32-linux/14.2.0/ld: ./../liblua/liblua.a: error adding symbols: no more archived files
19collect2: error: ld returned 1 exit status
20make[1]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
21
22Explicitly make build-ncat depends on build-lua to avoid racing,
23after applying the patch
24...
25Compiling liblua
26make[1]: Entering directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
27make[1]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
28Compiling liblua
29make[2]: Entering directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
30make[2]: Leaving directory 'path-to/tmp/work/corei7-32-wrsmllib32-linux/lib32-nmap/7.95/nmap-7.95/liblua'
31...
32
33Upstream-Status: Submitted [https://github.com/nmap/nmap/pull/3025]
34
35Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
36---
37 Makefile.in | 2 +-
38 1 file changed, 1 insertion(+), 1 deletion(-)
39
40diff --git a/Makefile.in b/Makefile.in
41index 6b25d27..b0a2719 100644
42--- a/Makefile.in
43+++ b/Makefile.in
44@@ -159,7 +159,7 @@ build-netutil: libnetutil/Makefile
45 @echo Compiling libnetutil;
46 cd libnetutil && $(MAKE)
47
48-build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock $(NCATDIR)/ncat.h @PCAP_BUILD@
49+build-ncat: $(NCATDIR)/Makefile build-nbase build-nsock build-lua $(NCATDIR)/ncat.h @PCAP_BUILD@
50 cd $(NCATDIR) && $(MAKE)
51
52 build-lua: $(LIBLUADIR)/Makefile
53--
542.34.1
55
diff --git a/meta-oe/recipes-security/nmap/nmap-7.92/0006-Fix-build-with-libpcap-1.10.5.patch b/meta-oe/recipes-security/nmap/nmap-7.92/0006-Fix-build-with-libpcap-1.10.5.patch
new file mode 100644
index 0000000000..4ee4a7295e
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap-7.92/0006-Fix-build-with-libpcap-1.10.5.patch
@@ -0,0 +1,47 @@
1From ba7b4a8cc570f0ce154f186fbe840f0ac23b2b96 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Mon, 28 Apr 2025 10:04:46 +0800
4Subject: [PATCH] Fix build with libpcap 1.10.5
5
6Fixes:
7In file included from /build/tmp/work/core2-64-poky-linux/nmap/7.92/recipe-sysroot/usr/include/pcap/pcap.h:130,
8 from /build/tmp/work/core2-64-poky-linux/nmap/7.92/recipe-sysroot/usr/include/pcap.h:43,
9 from tcpip.h:72,
10 from nse_nsock.cc:4:
11nse_nsock.cc:36:3: error: expected identifier before 'int'
12 36 | PCAP_SOCKET = lua_upvalueindex(3), /* pcap socket metatable */
13 | ^~~~~~~~~~~
14nse_nsock.cc:36:3: error: expected '}' before 'int'
15nse_nsock.cc:33:6: note: to match this '{'
16 33 | enum {
17 | ^
18nse_nsock.cc:36:15: error: expected unqualified-id before '=' token
19 36 | PCAP_SOCKET = lua_upvalueindex(3), /* pcap socket metatable */
20 | ^
21nse_nsock.cc:40:1: error: expected declaration before '}' token
22 40 | };
23 | ^
24
25Upstream-Status: Pending
26
27Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
28---
29 nse_nsock.cc | 2 ++
30 1 file changed, 2 insertions(+)
31
32diff --git a/nse_nsock.cc b/nse_nsock.cc
33index 75ddeb6..a3c5186 100644
34--- a/nse_nsock.cc
35+++ b/nse_nsock.cc
36@@ -29,6 +29,8 @@
37
38 #define DEFAULT_TIMEOUT 30000
39
40+#undef PCAP_SOCKET
41+
42 /* Upvalues for library variables */
43 enum {
44 NSOCK_POOL = lua_upvalueindex(1),
45--
462.34.1
47
diff --git a/meta-oe/recipes-security/nmap/nmap_7.92.bb b/meta-oe/recipes-security/nmap/nmap_7.92.bb
new file mode 100644
index 0000000000..98969fe001
--- /dev/null
+++ b/meta-oe/recipes-security/nmap/nmap_7.92.bb
@@ -0,0 +1,66 @@
1SUMMARY = "network auditing tool"
2DESCRIPTION = "Nmap (Network Mapper) is a free and open source (license) utility for network discovery and security auditing.\nGui support via appending to IMAGE_FEATURES x11-base in local.conf"
3SECTION = "security"
4LICENSE = "GPL-2.0-only"
5
6LIC_FILES_CHKSUM = "file://LICENSE;md5=b8823a06822788010eae05b4f5e921b3"
7
8SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \
9 file://0001-redefine-the-python-library-install-dir.patch \
10 file://0002-replace-.-shtool-mkdir-with-coreutils-mkdir-command.patch \
11 file://0003-Include-time.h-header-to-pass-clang-compilation.patch \
12 file://0004-Fix-building-with-libc.patch \
13 file://0005-fix-racing-between-build-ncat-and-build-lua.patch \
14 file://0006-Fix-build-with-libpcap-1.10.5.patch \
15 "
16SRC_URI[sha256sum] = "a5479f2f8a6b0b2516767d2f7189c386c1dc858d997167d7ec5cfc798c7571a1"
17
18UPSTREAM_CHECK_REGEX = "nmap-(?P<pver>\d+(\.\d+)+)\.tar"
19
20inherit autotools-brokensep pkgconfig python3native
21
22PACKAGECONFIG ?= "pcre ncat nping pcap"
23
24PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap"
25PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre"
26PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl"
27PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2"
28PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib"
29
30# disable/enable packages
31PACKAGECONFIG[nping] = ",--without-nping,"
32PACKAGECONFIG[ncat] = ",--without-ncat,"
33PACKAGECONFIG[ndiff] = "--with-ndiff=yes,--without-ndiff,python3 python3-setuptools-native"
34PACKAGECONFIG[update] = ",--without-nmap-update,"
35
36EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included"
37
38# zenmap needs python-pygtk which has been removed
39# it also only works with python2
40# disable for now until py3 is supported
41EXTRA_OECONF += "--without-zenmap"
42
43export PYTHON_SITEPACKAGES_DIR
44
45do_configure() {
46 autoconf
47 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
48 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
49 oe_runconf
50}
51
52do_install:append() {
53 for f in ndiff uninstall_ndiff; do
54 if [ -f ${D}${bindir}/$f ]; then
55 sed -i 's@^#!.*$@#!/usr/bin/env python3@g' ${D}${bindir}/$f
56 fi
57 done
58}
59
60FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat"
61
62RDEPENDS:${PN} += " \
63 python3-difflib \
64 python3-asyncio \
65 python3-xml \
66"
diff --git a/meta-oe/recipes-security/nmap/nmap_7.80.bb b/meta-oe/recipes-security/nmap/nmap_7.95.bb
index f9fe82a91d..a892c1e910 100644
--- a/meta-oe/recipes-security/nmap/nmap_7.80.bb
+++ b/meta-oe/recipes-security/nmap/nmap_7.95.bb
@@ -1,28 +1,28 @@
1SUMMARY = "network auditing tool" 1SUMMARY = "network auditing tool"
2DESCRIPTION = "Nmap ("Network Mapper") is a free and open source (license) utility for network discovery and security auditing.\nGui support via appending to IMAGE_FEATURES x11-base in local.conf" 2DESCRIPTION = "Nmap (Network Mapper) is a free and open source (license) utility for network discovery and security auditing.\nGui support via appending to IMAGE_FEATURES x11-base in local.conf"
3SECTION = "security" 3SECTION = "security"
4LICENSE = "GPL-2.0-only" 4LICENSE = "NPSL"
5 5
6LIC_FILES_CHKSUM = "file://COPYING;beginline=7;endline=12;md5=66938a7e5b4c118eda78271de14874c2" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=895af8527fe4bcb72f271fd1841fd2f6"
7 7
8SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \ 8SRC_URI = "http://nmap.org/dist/${BP}.tar.bz2 \
9 file://nmap-redefine-the-python-library-dir.patch \ 9 file://nmap-redefine-the-python-library-dir.patch \
10 file://nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch \ 10 file://nmap-replace-shtool-mkdir-with-coreutils-mkdir-command.patch \
11 file://0001-Include-time.h-header-to-pass-clang-compilation.patch \ 11 file://0001-Include-time.h-header-to-pass-clang-compilation.patch \
12 file://0002-Fix-building-with-libc.patch \ 12 file://0002-Fix-building-with-libc.patch \
13 file://0001-Make-ndiff-support-python3.patch \ 13 file://0003-Fix-off-by-one-overflow-in-the-IP-protocol-table.patch \
14 file://0001-configure.ac-make-ndiff-depend-on-python3.patch \ 14 file://0001-fix-racing-between-build-ncat-and-build-lua.patch \
15 " 15 "
16SRC_URI[sha256sum] = "e14ab530e47b5afd88f1c8a2bac7f89cd8fe6b478e22d255c5b9bddb7a1c5778"
16 17
17SRC_URI[md5sum] = "d37b75b06d1d40f27b76d60db420a1f5" 18UPSTREAM_CHECK_REGEX = "nmap-(?P<pver>\d+(\.\d+)+)\.tar"
18SRC_URI[sha256sum] = "fcfa5a0e42099e12e4bf7a68ebe6fde05553383a682e816a7ec9256ab4773faa"
19 19
20inherit autotools-brokensep pkgconfig python3native 20inherit autotools-brokensep pkgconfig python3native
21 21
22PACKAGECONFIG ?= "ncat nping pcap" 22PACKAGECONFIG ?= "pcre ncat nping pcap"
23 23
24PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap" 24PACKAGECONFIG[pcap] = "--with-pcap=linux, --without-pcap, libpcap, libpcap"
25PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre" 25PACKAGECONFIG[pcre] = "--with-libpcre=${STAGING_LIBDIR}/.., --with-libpcre=included, libpcre2"
26PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl" 26PACKAGECONFIG[ssl] = "--with-openssl=${STAGING_LIBDIR}/.., --without-openssl, openssl, openssl"
27PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2" 27PACKAGECONFIG[ssh2] = "--with-openssh2=${STAGING_LIBDIR}/.., --without-openssh2, libssh2, libssh2"
28PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib" 28PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, zlib"
@@ -30,7 +30,7 @@ PACKAGECONFIG[libz] = "--with-libz=${STAGING_LIBDIR}/.., --without-libz, zlib, z
30#disable/enable packages 30#disable/enable packages
31PACKAGECONFIG[nping] = ",--without-nping," 31PACKAGECONFIG[nping] = ",--without-nping,"
32PACKAGECONFIG[ncat] = ",--without-ncat," 32PACKAGECONFIG[ncat] = ",--without-ncat,"
33PACKAGECONFIG[ndiff] = "--with-ndiff=yes,--without-ndiff,python3" 33PACKAGECONFIG[ndiff] = "--with-ndiff=yes,--without-ndiff,python3 python3-setuptools-native"
34PACKAGECONFIG[update] = ",--without-nmap-update," 34PACKAGECONFIG[update] = ",--without-nmap-update,"
35 35
36EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included" 36EXTRA_OECONF = "--with-libdnet=included --with-liblinear=included --without-subversion --with-liblua=included"
diff --git a/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch b/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch
new file mode 100644
index 0000000000..6e61aeac3c
--- /dev/null
+++ b/meta-oe/recipes-security/softhsm/files/0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch
@@ -0,0 +1,672 @@
1From 41968e7b742ad59046523a7eeb63514237fb63af Mon Sep 17 00:00:00 2001
2From: Neil Horman <nhorman@openssl.org>
3Date: Fri, 27 Oct 2023 14:57:37 -0400
4Subject: [PATCH] Prevent accessing of global c++ objects once they are deleted
5
6Fixes (Maybe) #729.
7Reset objects_deleted after reset is called.
8
9Upstream-Status: Submitted [https://github.com/opendnssec/SoftHSMv2/pull/742]
10---
11 src/lib/SoftHSM.cpp | 5 ++
12 src/lib/main.cpp | 138 ++++++++++++++++++++++++++++++++++++++++++++
13 2 files changed, 143 insertions(+)
14
15diff --git a/src/lib/SoftHSM.cpp b/src/lib/SoftHSM.cpp
16index 02c0f95..95bf208 100644
17--- a/src/lib/SoftHSM.cpp
18+++ b/src/lib/SoftHSM.cpp
19@@ -89,6 +89,8 @@
20
21 // Initialise the one-and-only instance
22
23+int objects_deleted = 0;
24+
25 #ifdef HAVE_CXX11
26
27 std::unique_ptr<MutexFactory> MutexFactory::instance(nullptr);
28@@ -406,6 +408,8 @@ void SoftHSM::reset()
29 {
30 if (instance.get())
31 instance.reset();
32+
33+ objects_deleted = 0;
34 }
35
36 // Constructor
37@@ -445,6 +449,7 @@ SoftHSM::~SoftHSM()
38
39 isInitialised = false;
40
41+ objects_deleted = 1;
42 resetMutexFactoryCallbacks();
43 }
44
45diff --git a/src/lib/main.cpp b/src/lib/main.cpp
46index 2dfd0eb..e89f18c 100644
47--- a/src/lib/main.cpp
48+++ b/src/lib/main.cpp
49@@ -49,6 +49,8 @@
50 #define PKCS_API
51 #endif
52
53+extern int objects_deleted;
54+
55 // PKCS #11 function list
56 static CK_FUNCTION_LIST functionList =
57 {
58@@ -130,6 +132,8 @@ PKCS_API CK_RV C_Initialize(CK_VOID_PTR pInitArgs)
59 {
60 try
61 {
62+ if (objects_deleted == 1)
63+ return CKR_FUNCTION_FAILED;
64 return SoftHSM::i()->C_Initialize(pInitArgs);
65 }
66 catch (...)
67@@ -145,6 +149,8 @@ PKCS_API CK_RV C_Finalize(CK_VOID_PTR pReserved)
68 {
69 try
70 {
71+ if (objects_deleted == 1)
72+ return CKR_FUNCTION_FAILED;
73 return SoftHSM::i()->C_Finalize(pReserved);
74 }
75 catch (...)
76@@ -160,6 +166,8 @@ PKCS_API CK_RV C_GetInfo(CK_INFO_PTR pInfo)
77 {
78 try
79 {
80+ if (objects_deleted == 1)
81+ return CKR_FUNCTION_FAILED;
82 return SoftHSM::i()->C_GetInfo(pInfo);
83 }
84 catch (...)
85@@ -175,6 +183,8 @@ PKCS_API CK_RV C_GetFunctionList(CK_FUNCTION_LIST_PTR_PTR ppFunctionList)
86 {
87 try
88 {
89+ if (objects_deleted == 1)
90+ return CKR_FUNCTION_FAILED;
91 if (ppFunctionList == NULL_PTR) return CKR_ARGUMENTS_BAD;
92
93 *ppFunctionList = &functionList;
94@@ -194,6 +204,8 @@ PKCS_API CK_RV C_GetSlotList(CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK
95 {
96 try
97 {
98+ if (objects_deleted == 1)
99+ return CKR_FUNCTION_FAILED;
100 return SoftHSM::i()->C_GetSlotList(tokenPresent, pSlotList, pulCount);
101 }
102 catch (...)
103@@ -209,6 +221,8 @@ PKCS_API CK_RV C_GetSlotInfo(CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
104 {
105 try
106 {
107+ if (objects_deleted == 1)
108+ return CKR_FUNCTION_FAILED;
109 return SoftHSM::i()->C_GetSlotInfo(slotID, pInfo);
110 }
111 catch (...)
112@@ -224,6 +238,8 @@ PKCS_API CK_RV C_GetTokenInfo(CK_SLOT_ID slotID, CK_TOKEN_INFO_PTR pInfo)
113 {
114 try
115 {
116+ if (objects_deleted == 1)
117+ return CKR_FUNCTION_FAILED;
118 return SoftHSM::i()->C_GetTokenInfo(slotID, pInfo);
119 }
120 catch (...)
121@@ -239,6 +255,8 @@ PKCS_API CK_RV C_GetMechanismList(CK_SLOT_ID slotID, CK_MECHANISM_TYPE_PTR pMech
122 {
123 try
124 {
125+ if (objects_deleted == 1)
126+ return CKR_FUNCTION_FAILED;
127 return SoftHSM::i()->C_GetMechanismList(slotID, pMechanismList, pulCount);
128 }
129 catch (...)
130@@ -254,6 +272,8 @@ PKCS_API CK_RV C_GetMechanismInfo(CK_SLOT_ID slotID, CK_MECHANISM_TYPE type, CK_
131 {
132 try
133 {
134+ if (objects_deleted == 1)
135+ return CKR_FUNCTION_FAILED;
136 return SoftHSM::i()->C_GetMechanismInfo(slotID, type, pInfo);
137 }
138 catch (...)
139@@ -269,6 +289,8 @@ PKCS_API CK_RV C_InitToken(CK_SLOT_ID slotID, CK_UTF8CHAR_PTR pPin, CK_ULONG ulP
140 {
141 try
142 {
143+ if (objects_deleted == 1)
144+ return CKR_FUNCTION_FAILED;
145 return SoftHSM::i()->C_InitToken(slotID, pPin, ulPinLen, pLabel);
146 }
147 catch (...)
148@@ -284,6 +306,8 @@ PKCS_API CK_RV C_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, CK_UL
149 {
150 try
151 {
152+ if (objects_deleted == 1)
153+ return CKR_FUNCTION_FAILED;
154 return SoftHSM::i()->C_InitPIN(hSession, pPin, ulPinLen);
155 }
156 catch (...)
157@@ -299,6 +323,8 @@ PKCS_API CK_RV C_SetPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, CK_
158 {
159 try
160 {
161+ if (objects_deleted == 1)
162+ return CKR_FUNCTION_FAILED;
163 return SoftHSM::i()->C_SetPIN(hSession, pOldPin, ulOldLen, pNewPin, ulNewLen);
164 }
165 catch (...)
166@@ -314,6 +340,8 @@ PKCS_API CK_RV C_OpenSession(CK_SLOT_ID slotID, CK_FLAGS flags, CK_VOID_PTR pApp
167 {
168 try
169 {
170+ if (objects_deleted == 1)
171+ return CKR_FUNCTION_FAILED;
172 return SoftHSM::i()->C_OpenSession(slotID, flags, pApplication, notify, phSession);
173 }
174 catch (...)
175@@ -329,6 +357,8 @@ PKCS_API CK_RV C_CloseSession(CK_SESSION_HANDLE hSession)
176 {
177 try
178 {
179+ if (objects_deleted == 1)
180+ return CKR_FUNCTION_FAILED;
181 return SoftHSM::i()->C_CloseSession(hSession);
182 }
183 catch (...)
184@@ -344,6 +374,8 @@ PKCS_API CK_RV C_CloseAllSessions(CK_SLOT_ID slotID)
185 {
186 try
187 {
188+ if (objects_deleted == 1)
189+ return CKR_FUNCTION_FAILED;
190 return SoftHSM::i()->C_CloseAllSessions(slotID);
191 }
192 catch (...)
193@@ -359,6 +391,8 @@ PKCS_API CK_RV C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR
194 {
195 try
196 {
197+ if (objects_deleted == 1)
198+ return CKR_FUNCTION_FAILED;
199 return SoftHSM::i()->C_GetSessionInfo(hSession, pInfo);
200 }
201 catch (...)
202@@ -374,6 +408,8 @@ PKCS_API CK_RV C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOper
203 {
204 try
205 {
206+ if (objects_deleted == 1)
207+ return CKR_FUNCTION_FAILED;
208 return SoftHSM::i()->C_GetOperationState(hSession, pOperationState, pulOperationStateLen);
209 }
210 catch (...)
211@@ -389,6 +425,8 @@ PKCS_API CK_RV C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOper
212 {
213 try
214 {
215+ if (objects_deleted == 1)
216+ return CKR_FUNCTION_FAILED;
217 return SoftHSM::i()->C_SetOperationState(hSession, pOperationState, ulOperationStateLen, hEncryptionKey, hAuthenticationKey);
218 }
219 catch (...)
220@@ -404,6 +442,8 @@ PKCS_API CK_RV C_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF
221 {
222 try
223 {
224+ if (objects_deleted == 1)
225+ return CKR_FUNCTION_FAILED;
226 return SoftHSM::i()->C_Login(hSession, userType, pPin, ulPinLen);
227 }
228 catch (...)
229@@ -419,6 +459,8 @@ PKCS_API CK_RV C_Logout(CK_SESSION_HANDLE hSession)
230 {
231 try
232 {
233+ if (objects_deleted == 1)
234+ return CKR_FUNCTION_FAILED;
235 return SoftHSM::i()->C_Logout(hSession);
236 }
237 catch (...)
238@@ -434,6 +476,8 @@ PKCS_API CK_RV C_CreateObject(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemp
239 {
240 try
241 {
242+ if (objects_deleted == 1)
243+ return CKR_FUNCTION_FAILED;
244 return SoftHSM::i()->C_CreateObject(hSession, pTemplate, ulCount, phObject);
245 }
246 catch (...)
247@@ -449,6 +493,8 @@ PKCS_API CK_RV C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject
248 {
249 try
250 {
251+ if (objects_deleted == 1)
252+ return CKR_FUNCTION_FAILED;
253 return SoftHSM::i()->C_CopyObject(hSession, hObject, pTemplate, ulCount, phNewObject);
254 }
255 catch (...)
256@@ -464,6 +510,8 @@ PKCS_API CK_RV C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObj
257 {
258 try
259 {
260+ if (objects_deleted == 1)
261+ return CKR_FUNCTION_FAILED;
262 return SoftHSM::i()->C_DestroyObject(hSession, hObject);
263 }
264 catch (...)
265@@ -479,6 +527,8 @@ PKCS_API CK_RV C_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObj
266 {
267 try
268 {
269+ if (objects_deleted == 1)
270+ return CKR_FUNCTION_FAILED;
271 return SoftHSM::i()->C_GetObjectSize(hSession, hObject, pulSize);
272 }
273 catch (...)
274@@ -494,6 +544,8 @@ PKCS_API CK_RV C_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE
275 {
276 try
277 {
278+ if (objects_deleted == 1)
279+ return CKR_FUNCTION_FAILED;
280 return SoftHSM::i()->C_GetAttributeValue(hSession, hObject, pTemplate, ulCount);
281 }
282 catch (...)
283@@ -509,6 +561,8 @@ PKCS_API CK_RV C_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE
284 {
285 try
286 {
287+ if (objects_deleted == 1)
288+ return CKR_FUNCTION_FAILED;
289 return SoftHSM::i()->C_SetAttributeValue(hSession, hObject, pTemplate, ulCount);
290 }
291 catch (...)
292@@ -524,6 +578,8 @@ PKCS_API CK_RV C_FindObjectsInit(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pT
293 {
294 try
295 {
296+ if (objects_deleted == 1)
297+ return CKR_FUNCTION_FAILED;
298 return SoftHSM::i()->C_FindObjectsInit(hSession, pTemplate, ulCount);
299 }
300 catch (...)
301@@ -539,6 +595,8 @@ PKCS_API CK_RV C_FindObjects(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE_PTR ph
302 {
303 try
304 {
305+ if (objects_deleted == 1)
306+ return CKR_FUNCTION_FAILED;
307 return SoftHSM::i()->C_FindObjects(hSession, phObject, ulMaxObjectCount, pulObjectCount);
308 }
309 catch (...)
310@@ -554,6 +612,8 @@ PKCS_API CK_RV C_FindObjectsFinal(CK_SESSION_HANDLE hSession)
311 {
312 try
313 {
314+ if (objects_deleted == 1)
315+ return CKR_FUNCTION_FAILED;
316 return SoftHSM::i()->C_FindObjectsFinal(hSession);
317 }
318 catch (...)
319@@ -569,6 +629,8 @@ PKCS_API CK_RV C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
320 {
321 try
322 {
323+ if (objects_deleted == 1)
324+ return CKR_FUNCTION_FAILED;
325 return SoftHSM::i()->C_EncryptInit(hSession, pMechanism, hObject);
326 }
327 catch (...)
328@@ -584,6 +646,8 @@ PKCS_API CK_RV C_Encrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
329 {
330 try
331 {
332+ if (objects_deleted == 1)
333+ return CKR_FUNCTION_FAILED;
334 return SoftHSM::i()->C_Encrypt(hSession, pData, ulDataLen, pEncryptedData, pulEncryptedDataLen);
335 }
336 catch (...)
337@@ -599,6 +663,8 @@ PKCS_API CK_RV C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK
338 {
339 try
340 {
341+ if (objects_deleted == 1)
342+ return CKR_FUNCTION_FAILED;
343 return SoftHSM::i()->C_EncryptUpdate(hSession, pData, ulDataLen, pEncryptedData, pulEncryptedDataLen);
344 }
345 catch (...)
346@@ -614,6 +680,8 @@ PKCS_API CK_RV C_EncryptFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncrypted
347 {
348 try
349 {
350+ if (objects_deleted == 1)
351+ return CKR_FUNCTION_FAILED;
352 return SoftHSM::i()->C_EncryptFinal(hSession, pEncryptedData, pulEncryptedDataLen);
353 }
354 catch (...)
355@@ -629,6 +697,8 @@ PKCS_API CK_RV C_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
356 {
357 try
358 {
359+ if (objects_deleted == 1)
360+ return CKR_FUNCTION_FAILED;
361 return SoftHSM::i()->C_DecryptInit(hSession, pMechanism, hObject);
362 }
363 catch (...)
364@@ -644,6 +714,8 @@ PKCS_API CK_RV C_Decrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData,
365 {
366 try
367 {
368+ if (objects_deleted == 1)
369+ return CKR_FUNCTION_FAILED;
370 return SoftHSM::i()->C_Decrypt(hSession, pEncryptedData, ulEncryptedDataLen, pData, pulDataLen);
371 }
372 catch (...)
373@@ -659,6 +731,8 @@ PKCS_API CK_RV C_DecryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncrypte
374 {
375 try
376 {
377+ if (objects_deleted == 1)
378+ return CKR_FUNCTION_FAILED;
379 return SoftHSM::i()->C_DecryptUpdate(hSession, pEncryptedData, ulEncryptedDataLen, pData, pDataLen);
380 }
381 catch (...)
382@@ -674,6 +748,8 @@ PKCS_API CK_RV C_DecryptFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_
383 {
384 try
385 {
386+ if (objects_deleted == 1)
387+ return CKR_FUNCTION_FAILED;
388 return SoftHSM::i()->C_DecryptFinal(hSession, pData, pDataLen);
389 }
390 catch (...)
391@@ -689,6 +765,8 @@ PKCS_API CK_RV C_DigestInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechan
392 {
393 try
394 {
395+ if (objects_deleted == 1)
396+ return CKR_FUNCTION_FAILED;
397 return SoftHSM::i()->C_DigestInit(hSession, pMechanism);
398 }
399 catch (...)
400@@ -704,6 +782,8 @@ PKCS_API CK_RV C_Digest(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
401 {
402 try
403 {
404+ if (objects_deleted == 1)
405+ return CKR_FUNCTION_FAILED;
406 return SoftHSM::i()->C_Digest(hSession, pData, ulDataLen, pDigest, pulDigestLen);
407 }
408 catch (...)
409@@ -719,6 +799,8 @@ PKCS_API CK_RV C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_
410 {
411 try
412 {
413+ if (objects_deleted == 1)
414+ return CKR_FUNCTION_FAILED;
415 return SoftHSM::i()->C_DigestUpdate(hSession, pPart, ulPartLen);
416 }
417 catch (...)
418@@ -734,6 +816,8 @@ PKCS_API CK_RV C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject)
419 {
420 try
421 {
422+ if (objects_deleted == 1)
423+ return CKR_FUNCTION_FAILED;
424 return SoftHSM::i()->C_DigestKey(hSession, hObject);
425 }
426 catch (...)
427@@ -749,6 +833,8 @@ PKCS_API CK_RV C_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, CK
428 {
429 try
430 {
431+ if (objects_deleted == 1)
432+ return CKR_FUNCTION_FAILED;
433 return SoftHSM::i()->C_DigestFinal(hSession, pDigest, pulDigestLen);
434 }
435 catch (...)
436@@ -764,6 +850,8 @@ PKCS_API CK_RV C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanis
437 {
438 try
439 {
440+ if (objects_deleted == 1)
441+ return CKR_FUNCTION_FAILED;
442 return SoftHSM::i()->C_SignInit(hSession, pMechanism, hKey);
443 }
444 catch (...)
445@@ -779,6 +867,8 @@ PKCS_API CK_RV C_Sign(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ul
446 {
447 try
448 {
449+ if (objects_deleted == 1)
450+ return CKR_FUNCTION_FAILED;
451 return SoftHSM::i()->C_Sign(hSession, pData, ulDataLen, pSignature, pulSignatureLen);
452 }
453 catch (...)
454@@ -794,6 +884,8 @@ PKCS_API CK_RV C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_UL
455 {
456 try
457 {
458+ if (objects_deleted == 1)
459+ return CKR_FUNCTION_FAILED;
460 return SoftHSM::i()->C_SignUpdate(hSession, pPart, ulPartLen);
461 }
462 catch (...)
463@@ -809,6 +901,8 @@ PKCS_API CK_RV C_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, C
464 {
465 try
466 {
467+ if (objects_deleted == 1)
468+ return CKR_FUNCTION_FAILED;
469 return SoftHSM::i()->C_SignFinal(hSession, pSignature, pulSignatureLen);
470 }
471 catch (...)
472@@ -824,6 +918,8 @@ PKCS_API CK_RV C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pM
473 {
474 try
475 {
476+ if (objects_deleted == 1)
477+ return CKR_FUNCTION_FAILED;
478 return SoftHSM::i()->C_SignRecoverInit(hSession, pMechanism, hKey);
479 }
480 catch (...)
481@@ -839,6 +935,8 @@ PKCS_API CK_RV C_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_U
482 {
483 try
484 {
485+ if (objects_deleted == 1)
486+ return CKR_FUNCTION_FAILED;
487 return SoftHSM::i()->C_SignRecover(hSession, pData, ulDataLen, pSignature, pulSignatureLen);
488 }
489 catch (...)
490@@ -854,6 +952,8 @@ PKCS_API CK_RV C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechan
491 {
492 try
493 {
494+ if (objects_deleted == 1)
495+ return CKR_FUNCTION_FAILED;
496 return SoftHSM::i()->C_VerifyInit(hSession, pMechanism, hKey);
497 }
498 catch (...)
499@@ -869,6 +969,8 @@ PKCS_API CK_RV C_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG
500 {
501 try
502 {
503+ if (objects_deleted == 1)
504+ return CKR_FUNCTION_FAILED;
505 return SoftHSM::i()->C_Verify(hSession, pData, ulDataLen, pSignature, ulSignatureLen);
506 }
507 catch (...)
508@@ -884,6 +986,8 @@ PKCS_API CK_RV C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_
509 {
510 try
511 {
512+ if (objects_deleted == 1)
513+ return CKR_FUNCTION_FAILED;
514 return SoftHSM::i()->C_VerifyUpdate(hSession, pPart, ulPartLen);
515 }
516 catch (...)
517@@ -899,6 +1003,8 @@ PKCS_API CK_RV C_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature,
518 {
519 try
520 {
521+ if (objects_deleted == 1)
522+ return CKR_FUNCTION_FAILED;
523 return SoftHSM::i()->C_VerifyFinal(hSession, pSignature, ulSignatureLen);
524 }
525 catch (...)
526@@ -914,6 +1020,8 @@ PKCS_API CK_RV C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR
527 {
528 try
529 {
530+ if (objects_deleted == 1)
531+ return CKR_FUNCTION_FAILED;
532 return SoftHSM::i()->C_VerifyRecoverInit(hSession, pMechanism, hKey);
533 }
534 catch (...)
535@@ -929,6 +1037,8 @@ PKCS_API CK_RV C_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignatur
536 {
537 try
538 {
539+ if (objects_deleted == 1)
540+ return CKR_FUNCTION_FAILED;
541 return SoftHSM::i()->C_VerifyRecover(hSession, pSignature, ulSignatureLen, pData, pulDataLen);
542 }
543 catch (...)
544@@ -944,6 +1054,8 @@ PKCS_API CK_RV C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPa
545 {
546 try
547 {
548+ if (objects_deleted == 1)
549+ return CKR_FUNCTION_FAILED;
550 return SoftHSM::i()->C_DigestEncryptUpdate(hSession, pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
551 }
552 catch (...)
553@@ -959,6 +1071,8 @@ PKCS_API CK_RV C_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPa
554 {
555 try
556 {
557+ if (objects_deleted == 1)
558+ return CKR_FUNCTION_FAILED;
559 return SoftHSM::i()->C_DecryptDigestUpdate(hSession, pPart, ulPartLen, pDecryptedPart, pulDecryptedPartLen);
560 }
561 catch (...)
562@@ -974,6 +1088,8 @@ PKCS_API CK_RV C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart
563 {
564 try
565 {
566+ if (objects_deleted == 1)
567+ return CKR_FUNCTION_FAILED;
568 return SoftHSM::i()->C_SignEncryptUpdate(hSession, pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
569 }
570 catch (...)
571@@ -989,6 +1105,8 @@ PKCS_API CK_RV C_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEn
572 {
573 try
574 {
575+ if (objects_deleted == 1)
576+ return CKR_FUNCTION_FAILED;
577 return SoftHSM::i()->C_DecryptVerifyUpdate(hSession, pEncryptedPart, ulEncryptedPartLen, pPart, pulPartLen);
578 }
579 catch (...)
580@@ -1004,6 +1122,8 @@ PKCS_API CK_RV C_GenerateKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMecha
581 {
582 try
583 {
584+ if (objects_deleted == 1)
585+ return CKR_FUNCTION_FAILED;
586 return SoftHSM::i()->C_GenerateKey(hSession, pMechanism, pTemplate, ulCount, phKey);
587 }
588 catch (...)
589@@ -1029,6 +1149,8 @@ PKCS_API CK_RV C_GenerateKeyPair
590 {
591 try
592 {
593+ if (objects_deleted == 1)
594+ return CKR_FUNCTION_FAILED;
595 return SoftHSM::i()->C_GenerateKeyPair(hSession, pMechanism, pPublicKeyTemplate, ulPublicKeyAttributeCount, pPrivateKeyTemplate, ulPrivateKeyAttributeCount, phPublicKey, phPrivateKey);
596 }
597 catch (...)
598@@ -1052,6 +1174,8 @@ PKCS_API CK_RV C_WrapKey
599 {
600 try
601 {
602+ if (objects_deleted == 1)
603+ return CKR_FUNCTION_FAILED;
604 return SoftHSM::i()->C_WrapKey(hSession, pMechanism, hWrappingKey, hKey, pWrappedKey, pulWrappedKeyLen);
605 }
606 catch (...)
607@@ -1077,6 +1201,8 @@ PKCS_API CK_RV C_UnwrapKey
608 {
609 try
610 {
611+ if (objects_deleted == 1)
612+ return CKR_FUNCTION_FAILED;
613 return SoftHSM::i()->C_UnwrapKey(hSession, pMechanism, hUnwrappingKey, pWrappedKey, ulWrappedKeyLen, pTemplate, ulCount, phKey);
614 }
615 catch (...)
616@@ -1100,6 +1226,8 @@ PKCS_API CK_RV C_DeriveKey
617 {
618 try
619 {
620+ if (objects_deleted == 1)
621+ return CKR_FUNCTION_FAILED;
622 return SoftHSM::i()->C_DeriveKey(hSession, pMechanism, hBaseKey, pTemplate, ulCount, phKey);
623 }
624 catch (...)
625@@ -1115,6 +1243,8 @@ PKCS_API CK_RV C_SeedRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSeed, CK_UL
626 {
627 try
628 {
629+ if (objects_deleted == 1)
630+ return CKR_FUNCTION_FAILED;
631 return SoftHSM::i()->C_SeedRandom(hSession, pSeed, ulSeedLen);
632 }
633 catch (...)
634@@ -1130,6 +1260,8 @@ PKCS_API CK_RV C_GenerateRandom(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pRandomD
635 {
636 try
637 {
638+ if (objects_deleted == 1)
639+ return CKR_FUNCTION_FAILED;
640 return SoftHSM::i()->C_GenerateRandom(hSession, pRandomData, ulRandomLen);
641 }
642 catch (...)
643@@ -1145,6 +1277,8 @@ PKCS_API CK_RV C_GetFunctionStatus(CK_SESSION_HANDLE hSession)
644 {
645 try
646 {
647+ if (objects_deleted == 1)
648+ return CKR_FUNCTION_FAILED;
649 return SoftHSM::i()->C_GetFunctionStatus(hSession);
650 }
651 catch (...)
652@@ -1160,6 +1294,8 @@ PKCS_API CK_RV C_CancelFunction(CK_SESSION_HANDLE hSession)
653 {
654 try
655 {
656+ if (objects_deleted == 1)
657+ return CKR_FUNCTION_FAILED;
658 return SoftHSM::i()->C_CancelFunction(hSession);
659 }
660 catch (...)
661@@ -1175,6 +1311,8 @@ PKCS_API CK_RV C_WaitForSlotEvent(CK_FLAGS flags, CK_SLOT_ID_PTR pSlot, CK_VOID_
662 {
663 try
664 {
665+ if (objects_deleted == 1)
666+ return CKR_FUNCTION_FAILED;
667 return SoftHSM::i()->C_WaitForSlotEvent(flags, pSlot, pReserved);
668 }
669 catch (...)
670--
6712.42.0
672
diff --git a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
index 930bca96ff..66f0488792 100644
--- a/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
+++ b/meta-oe/recipes-security/softhsm/softhsm_2.6.1.bb
@@ -7,6 +7,7 @@ DEPENDS = "sqlite3"
7 7
8SRC_URI = "https://dist.opendnssec.org/source/softhsm-2.6.1.tar.gz \ 8SRC_URI = "https://dist.opendnssec.org/source/softhsm-2.6.1.tar.gz \
9 file://0001-avoid-unnecessary-check-for-sqlite3-binary.patch \ 9 file://0001-avoid-unnecessary-check-for-sqlite3-binary.patch \
10 file://0002-Prevent-accessing-of-global-c-objects-once-they-are-.patch \
10" 11"
11SRC_URI[sha256sum] = "61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2" 12SRC_URI[sha256sum] = "61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2"
12 13
diff --git a/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb
new file mode 100644
index 0000000000..48f9a738bb
--- /dev/null
+++ b/meta-oe/recipes-security/spectre-meltdown-checker/spectre-meltdown-checker_0.46.bb
@@ -0,0 +1,34 @@
1SUMMARY = "Hardware vulnerability and mitigation checker"
2DESCRIPTION = "\
3 Reptar, Downfall, Zenbleed, ZombieLoad, RIDL, Fallout, Foreshadow, Spectre, \
4 Meltdown vulnerability/mitigation checker for Linux & BSD \
5"
6HOMEPAGE = "https://github.com/speed47/spectre-meltdown-checker"
7BUGTRACKER = "https://github.com/speed47/spectre-meltdown-checker/issues"
8LICENSE = "GPL-3.0-only"
9LIC_FILES_CHKSUM = "file://spectre-meltdown-checker.sh;beginline=2;endline=2;md5=3ae5399e70af7be9b93f72568069e2f4"
10
11SRC_URI = "git://github.com/speed47/spectre-meltdown-checker;protocol=https;branch=master"
12SRCREV = "b8f8c81d519435c0871b13f02b5c4a72c5bffd5e"
13
14
15# binutils: readelf,objdump might be used for deeper analysis
16# coreutils: dd with iflag=skip_bytes oflag=seek_bytes in some cases
17# kernel-dev: /boot/config is used
18# perl: sometimes used when other tools (dd, rdmsr/wdmsr) are missing
19RRECOMMENDS:${PN} = "\
20 binutils \
21 coreutils \
22 kernel-dev \
23 perl \
24"
25
26INHIBIT_DEFAULT_DEPS = "1"
27
28PACKAGE_ARCH = "${MACHINE_ARCH}"
29
30do_compile[noexec] = "1"
31
32do_install() {
33 install -m 755 -D ${S}/${BPN}.sh ${D}${bindir}/${BPN}
34}
diff --git a/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.6.1.bb b/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.6.1.bb
index 86acdc7aa1..f172168335 100644
--- a/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.6.1.bb
+++ b/meta-oe/recipes-security/tomoyo-tools/tomoyo-tools_2.6.1.bb
@@ -8,7 +8,7 @@ SECTION = "System Environment/Kernel"
8SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/70710/${BP}-20210910.tar.gz" 8SRC_URI = "http://jaist.dl.sourceforge.jp/tomoyo/70710/${BP}-20210910.tar.gz"
9SRC_URI[sha256sum] = "47a12cdb1fe7bbd0b2e3486150fe1e754fa9c869aeefd42fd311c4022b78010a" 9SRC_URI[sha256sum] = "47a12cdb1fe7bbd0b2e3486150fe1e754fa9c869aeefd42fd311c4022b78010a"
10 10
11S = "${WORKDIR}/${BPN}" 11S = "${UNPACKDIR}/${BPN}"
12 12
13LICENSE = "GPL-2.0-only" 13LICENSE = "GPL-2.0-only"
14LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe" 14LIC_FILES_CHKSUM = "file://COPYING.tomoyo;md5=751419260aa954499f7abaabaa882bbe"
diff --git a/meta-oe/recipes-security/usbguard/usbguard/0001-Adapt-for-protobuf-30.0-API-changes.patch b/meta-oe/recipes-security/usbguard/usbguard/0001-Adapt-for-protobuf-30.0-API-changes.patch
new file mode 100644
index 0000000000..b7c5b10acd
--- /dev/null
+++ b/meta-oe/recipes-security/usbguard/usbguard/0001-Adapt-for-protobuf-30.0-API-changes.patch
@@ -0,0 +1,89 @@
1From 06ec6473c2ed1920a1d98d40fe992dea9f60b103 Mon Sep 17 00:00:00 2001
2From: Christian Heusel <christian@heusel.eu>
3Date: Tue, 11 Mar 2025 21:43:51 +0100
4Subject: [PATCH] Adapt for protobuf 30.0 API changes
5
6Fixes https://github.com/USBGuard/usbguard/issues/649
7
8Upstream-Status: Submitted [https://github.com/USBGuard/usbguard/pull/650]
9
10Link: https://protobuf.dev/support/migration/
11Signed-off-by: Christian Heusel <christian@heusel.eu>
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 src/Library/IPCClientPrivate.cpp | 2 +-
15 src/Library/IPCClientPrivate.hpp | 2 +-
16 src/Library/IPCServerPrivate.cpp | 6 +++---
17 src/Library/IPCServerPrivate.hpp | 2 +-
18 4 files changed, 6 insertions(+), 6 deletions(-)
19
20diff --git a/src/Library/IPCClientPrivate.cpp b/src/Library/IPCClientPrivate.cpp
21index 6aa5201..452ecd4 100644
22--- a/src/Library/IPCClientPrivate.cpp
23+++ b/src/Library/IPCClientPrivate.cpp
24@@ -225,7 +225,7 @@ namespace usbguard
25 std::string payload;
26 message.SerializeToString(&payload);
27 struct qb_ipc_request_header hdr;
28- hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(message.GetTypeName());
29+ hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(std::string(message.GetTypeName()));
30 hdr.size = sizeof hdr + payload.size();
31 struct iovec iov[2];
32 iov[0].iov_base = &hdr;
33diff --git a/src/Library/IPCClientPrivate.hpp b/src/Library/IPCClientPrivate.hpp
34index d92a1d4..a33022e 100644
35--- a/src/Library/IPCClientPrivate.hpp
36+++ b/src/Library/IPCClientPrivate.hpp
37@@ -84,7 +84,7 @@ namespace usbguard
38 template<class T>
39 void registerHandler(MessageHandler::HandlerType method)
40 {
41- const uint32_t type_number = IPC::messageTypeNameToNumber(T::default_instance().GetTypeName());
42+ const uint32_t type_number = IPC::messageTypeNameToNumber(std::string(T::default_instance().GetTypeName()));
43 _handlers.emplace(type_number, MessageHandler::create<T>(*this, method));
44 }
45
46diff --git a/src/Library/IPCServerPrivate.cpp b/src/Library/IPCServerPrivate.cpp
47index 548a726..b976f02 100644
48--- a/src/Library/IPCServerPrivate.cpp
49+++ b/src/Library/IPCServerPrivate.cpp
50@@ -311,7 +311,7 @@ namespace usbguard
51 message->SerializeToString(&payload);
52 struct qb_ipc_response_header hdr;
53 struct iovec iov[2];
54- hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(message->GetTypeName());
55+ hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(std::string(message->GetTypeName()));
56 hdr.size = sizeof hdr + payload.size();
57 hdr.error = 0;
58 iov[0].iov_base = &hdr;
59@@ -555,7 +555,7 @@ namespace usbguard
60 std::string payload;
61 message->SerializeToString(&payload);
62 struct qb_ipc_response_header hdr = { };
63- hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(message->GetTypeName());
64+ hdr.id = QB_IPC_MSG_USER_START + IPC::messageTypeNameToNumber(std::string(message->GetTypeName()));
65 hdr.size = sizeof hdr + payload.size();
66 hdr.error = 0;
67 struct iovec iov[2];
68@@ -563,7 +563,7 @@ namespace usbguard
69 iov[0].iov_len = sizeof hdr;
70 iov[1].iov_base = (void*)payload.data();
71 iov[1].iov_len = payload.size();
72- qbIPCBroadcastData(iov, 2, messageTypeNameToAccessControlSection(message->GetTypeName()));
73+ qbIPCBroadcastData(iov, 2, messageTypeNameToAccessControlSection(std::string(message->GetTypeName())));
74 iov[0].iov_base = nullptr;
75 iov[1].iov_base = nullptr;
76 }
77diff --git a/src/Library/IPCServerPrivate.hpp b/src/Library/IPCServerPrivate.hpp
78index 25f9ac3..3b3dcc5 100644
79--- a/src/Library/IPCServerPrivate.hpp
80+++ b/src/Library/IPCServerPrivate.hpp
81@@ -134,7 +134,7 @@ namespace usbguard
82 void registerHandler(MessageHandler::HandlerType method, IPCServer::AccessControl::Section section,
83 IPCServer::AccessControl::Privilege privilege)
84 {
85- const uint32_t type_number = IPC::messageTypeNameToNumber(T::default_instance().GetTypeName());
86+ const uint32_t type_number = IPC::messageTypeNameToNumber(std::string(T::default_instance().GetTypeName()));
87 _handlers.emplace(type_number, MessageHandler::create<T>(*this, method, section, privilege));
88 }
89
diff --git a/meta-oe/recipes-security/usbguard/usbguard_1.1.3.bb b/meta-oe/recipes-security/usbguard/usbguard_1.1.3.bb
index 752938057a..558f4347b6 100644
--- a/meta-oe/recipes-security/usbguard/usbguard_1.1.3.bb
+++ b/meta-oe/recipes-security/usbguard/usbguard_1.1.3.bb
@@ -12,7 +12,9 @@ LICENSE = "GPL-2.0-only"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
13 13
14SRC_URI = "https://github.com/USBGuard/usbguard/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz \ 14SRC_URI = "https://github.com/USBGuard/usbguard/releases/download/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
15 file://0001-Add-and-use-pkgconfig-instead-of-libgcrypt-config.patch" 15 file://0001-Add-and-use-pkgconfig-instead-of-libgcrypt-config.patch \
16 file://0001-Adapt-for-protobuf-30.0-API-changes.patch \
17 "
16 18
17SRC_URI[sha256sum] = "707dad2938923202697f636c2b4e0be80f192242039a2af3fc7ac35d03f78551" 19SRC_URI[sha256sum] = "707dad2938923202697f636c2b4e0be80f192242039a2af3fc7ac35d03f78551"
18 20
@@ -27,6 +29,8 @@ EXTRA_OECONF += "\
27 --with-bundled-pegtl \ 29 --with-bundled-pegtl \
28" 30"
29 31
32LDFLAGS:append:riscv32 = " -latomic"
33
30PACKAGECONFIG ?= "\ 34PACKAGECONFIG ?= "\
31 openssl \ 35 openssl \
32 ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ 36 ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \
diff --git a/meta-oe/recipes-shells/dash/dash_0.5.12.bb b/meta-oe/recipes-shells/dash/dash_0.5.12.bb
index 947ef702d7..1bf3625760 100644
--- a/meta-oe/recipes-shells/dash/dash_0.5.12.bb
+++ b/meta-oe/recipes-shells/dash/dash_0.5.12.bb
@@ -10,6 +10,8 @@ inherit autotools update-alternatives
10SRC_URI = "http://gondor.apana.org.au/~herbert/${BPN}/files/${BP}.tar.gz" 10SRC_URI = "http://gondor.apana.org.au/~herbert/${BPN}/files/${BP}.tar.gz"
11SRC_URI[sha256sum] = "6a474ac46e8b0b32916c4c60df694c82058d3297d8b385b74508030ca4a8f28a" 11SRC_URI[sha256sum] = "6a474ac46e8b0b32916c4c60df694c82058d3297d8b385b74508030ca4a8f28a"
12 12
13CVE_PRODUCT = "dash:dash"
14
13EXTRA_OECONF += "--bindir=${base_bindir}" 15EXTRA_OECONF += "--bindir=${base_bindir}"
14 16
15ALTERNATIVE:${PN} = "sh" 17ALTERNATIVE:${PN} = "sh"
diff --git a/meta-oe/recipes-shells/mksh/mksh_59c.bb b/meta-oe/recipes-shells/mksh/mksh_59c.bb
index e3a8ca8b5e..d27320cf1f 100644
--- a/meta-oe/recipes-shells/mksh/mksh_59c.bb
+++ b/meta-oe/recipes-shells/mksh/mksh_59c.bb
@@ -15,7 +15,7 @@ UPSTREAM_CHECK_REGEX = "${BPN}-R(?P<pver>.*)\.tgz"
15 15
16inherit update-alternatives 16inherit update-alternatives
17 17
18S = "${WORKDIR}/${BPN}" 18S = "${UNPACKDIR}/${BPN}"
19 19
20ALTERNATIVE:${PN} = "sh" 20ALTERNATIVE:${PN} = "sh"
21ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" 21ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
diff --git a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_1.patch b/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_1.patch
deleted file mode 100644
index fb8fa3427f..0000000000
--- a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_1.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1Origin: commit c187154f47697cdbf822c2f9d714d570ed4a0fd1
2From: Oliver Kiddle <opk@zsh.org>
3Date: Wed, 15 Dec 2021 01:56:40 +0100
4Subject: [PATCH 1/9] security/41: Don't perform PROMPT_SUBST evaluation on
5 %F/%K arguments
6
7Mitigates CVE-2021-45444
8
9https://salsa.debian.org/debian/zsh/-/raw/debian/5.8-6+deb11u1/debian/patches/cherry-pick-CVE-2021-45444_1.patch?inline=false
10Upstream-Status: Backport
11CVE: CVE-2021-45444
12Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
13---
14 ChangeLog | 5 +++++
15 Src/prompt.c | 10 ++++++++++
16 2 files changed, 15 insertions(+)
17
18diff --git a/ChangeLog b/ChangeLog
19index 8d7dfc169..eb248ec06 100644
20--- a/ChangeLog
21+++ b/ChangeLog
22@@ -1,3 +1,8 @@
23+2022-01-27 dana <dana@dana.is>
24+
25+ * Oliver Kiddle: security/41: Src/prompt.c: Prevent recursive
26+ PROMPT_SUBST
27+
28 2020-02-14 dana <dana@dana.is>
29
30 * unposted: Config/version.mk: Update for 5.8
31diff --git a/Src/prompt.c b/Src/prompt.c
32index b65bfb86b..91e21c8e9 100644
33--- a/Src/prompt.c
34+++ b/Src/prompt.c
35@@ -244,6 +244,12 @@ parsecolorchar(zattr arg, int is_fg)
36 bv->fm += 2; /* skip over F{ */
37 if ((ep = strchr(bv->fm, '}'))) {
38 char oc = *ep, *col, *coll;
39+ int ops = opts[PROMPTSUBST], opb = opts[PROMPTBANG];
40+ int opp = opts[PROMPTPERCENT];
41+
42+ opts[PROMPTPERCENT] = 1;
43+ opts[PROMPTSUBST] = opts[PROMPTBANG] = 0;
44+
45 *ep = '\0';
46 /* expand the contents of the argument so you can use
47 * %v for example */
48@@ -252,6 +258,10 @@ parsecolorchar(zattr arg, int is_fg)
49 arg = match_colour((const char **)&coll, is_fg, 0);
50 free(col);
51 bv->fm = ep;
52+
53+ opts[PROMPTSUBST] = ops;
54+ opts[PROMPTBANG] = opb;
55+ opts[PROMPTPERCENT] = opp;
56 } else {
57 arg = match_colour((const char **)&bv->fm, is_fg, 0);
58 if (*bv->fm != '}')
59--
602.34.1
diff --git a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_2.patch b/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_2.patch
deleted file mode 100644
index e5b6d7cdc9..0000000000
--- a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_2.patch
+++ /dev/null
@@ -1,140 +0,0 @@
1From 8a4d65ef6d0023ab9b238529410afb433553d2fa Mon Sep 17 00:00:00 2001
2From: Marc Cornellà <hello@mcornella.com>
3Date: Mon, 24 Jan 2022 09:43:28 +0100
4Subject: [PATCH 2/9] security/89: Add patch which can optionally be used to
5 work around CVE-2021-45444 in VCS_Info
6Comment: Updated to use the same file name without blanks as actually
7 used in the final 5.8.1 release.
8
9
10https://salsa.debian.org/debian/zsh/-/blob/debian/5.8-6+deb11u1/debian/patches/cherry-pick-CVE-2021-45444_2.patch
11Upstream-Status: Backport
12CVE: CVE-2021-45444
13Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
14---
15 ChangeLog | 5 +
16 Etc/CVE-2021-45444-VCS_Info-workaround.patch | 98 ++++++++++++++++++++
17 2 files changed, 103 insertions(+)
18 create mode 100644 Etc/CVE-2021-45444-VCS_Info-workaround.patch
19
20diff --git a/ChangeLog b/ChangeLog
21index eb248ec06..9a05a09e1 100644
22--- a/ChangeLog
23+++ b/ChangeLog
24@@ -1,5 +1,10 @@
25 2022-01-27 dana <dana@dana.is>
26
27+ * Marc Cornellà: security/89:
28+ Etc/CVE-2021-45444-VCS_Info-workaround.patch: Add patch which
29+ can optionally be used to work around recursive PROMPT_SUBST
30+ issue in VCS_Info
31+
32 * Oliver Kiddle: security/41: Src/prompt.c: Prevent recursive
33 PROMPT_SUBST
34
35diff --git a/Etc/CVE-2021-45444-VCS_Info-workaround.patch b/Etc/CVE-2021-45444-VCS_Info-workaround.patch
36new file mode 100644
37index 000000000..13e54be77
38--- /dev/null
39+++ b/Etc/CVE-2021-45444-VCS_Info-workaround.patch
40@@ -0,0 +1,98 @@
41+From 972887bbe5eb6a00e5f0e73781d6d73bfdcafb93 Mon Sep 17 00:00:00 2001
42+From: =?UTF-8?q?Marc=20Cornell=C3=A0?= <hello@mcornella.com>
43+Date: Mon, 24 Jan 2022 09:43:28 +0100
44+Subject: [PATCH] security/89: Partially work around CVE-2021-45444 in VCS_Info
45+MIME-Version: 1.0
46+Content-Type: text/plain; charset=UTF-8
47+Content-Transfer-Encoding: 8bit
48+
49+This patch is a partial, VCS_Info-specific work-around for CVE-2021-45444,
50+which is mitigated in the shell itself in 5.8.1 and later versions. It is
51+offered for users who are concerned about an exploit but are unable to update
52+their binaries to receive the complete fix.
53+
54+The patch works around the vulnerability by pre-escaping values substituted
55+into format strings in VCS_Info. Please note that this may break some user
56+configurations that rely on those values being un-escaped (which is why it was
57+not included directly in 5.8.1). It may be possible to limit this breakage by
58+adjusting exactly which ones are pre-escaped, but of course this may leave
59+them vulnerable again.
60+
61+If applying the patch to the file system is inconvenient or not possible, the
62+following script can be used to idempotently patch the relevant function
63+running in memory (and thus must be re-run when the shell is restarted):
64+
65+
66+# Impacted versions go from v5.0.3 to v5.8 (v5.8.1 is the first patched version)
67+autoload -Uz is-at-least
68+if is-at-least 5.8.1 || ! is-at-least 5.0.3; then
69+ return
70+fi
71+
72+# Quote necessary $hook_com[<field>] items just before they are used
73+# in the line "VCS_INFO_hook 'post-backend'" of the VCS_INFO_formats
74+# function, where <field> is:
75+#
76+# base: the full path of the repository's root directory.
77+# base-name: the name of the repository's root directory.
78+# branch: the name of the currently checked out branch.
79+# revision: an identifier of the currently checked out revision.
80+# subdir: the path of the current directory relative to the
81+# repository's root directory.
82+# misc: a string that may contain anything the vcs_info backend wants.
83+#
84+# This patch %-quotes these fields previous to their use in vcs_info hooks and
85+# the zformat call and, eventually, when they get expanded in the prompt.
86+# It's important to quote these here, and not later after hooks have modified the
87+# fields, because then we could be quoting % characters from valid prompt sequences,
88+# like %F{color}, %B, etc.
89+#
90+# 32 │ hook_com[subdir]="$(VCS_INFO_reposub ${hook_com[base]})"
91+# 33 │ hook_com[subdir_orig]="${hook_com[subdir]}"
92+# 34 │
93+# 35 + │ for tmp in base base-name branch misc revision subdir; do
94+# 36 + │ hook_com[$tmp]="${hook_com[$tmp]//\%/%%}"
95+# 37 + │ done
96+# 38 + │
97+# 39 │ VCS_INFO_hook 'post-backend'
98+#
99+# This is especially important so that no command substitution is performed
100+# due to malicious input as a consequence of CVE-2021-45444, which affects
101+# zsh versions from 5.0.3 to 5.8.
102+#
103+autoload -Uz +X regexp-replace VCS_INFO_formats
104+
105+# We use $tmp here because it's already a local variable in VCS_INFO_formats
106+typeset PATCH='for tmp (base base-name branch misc revision subdir) hook_com[$tmp]="${hook_com[$tmp]//\%/%%}"'
107+# Unique string to avoid reapplying the patch if this code gets called twice
108+typeset PATCH_ID=vcs_info-patch-9b9840f2-91e5-4471-af84-9e9a0dc68c1b
109+# Only patch the VCS_INFO_formats function if not already patched
110+if [[ "$functions[VCS_INFO_formats]" != *$PATCH_ID* ]]; then
111+ regexp-replace 'functions[VCS_INFO_formats]' \
112+ "VCS_INFO_hook 'post-backend'" \
113+ ': ${PATCH_ID}; ${PATCH}; ${MATCH}'
114+fi
115+unset PATCH PATCH_ID
116+
117+
118+---
119+ Functions/VCS_Info/VCS_INFO_formats | 4 ++++
120+ 1 file changed, 4 insertions(+)
121+
122+diff --git a/Functions/VCS_Info/VCS_INFO_formats b/Functions/VCS_Info/VCS_INFO_formats
123+index e0e1dc738..4d88e28b6 100644
124+--- a/Functions/VCS_Info/VCS_INFO_formats
125++++ b/Functions/VCS_Info/VCS_INFO_formats
126+@@ -32,6 +32,10 @@ hook_com[base-name_orig]="${hook_com[base_name]}"
127+ hook_com[subdir]="$(VCS_INFO_reposub ${hook_com[base]})"
128+ hook_com[subdir_orig]="${hook_com[subdir]}"
129+
130++for tmp in base base-name branch misc revision subdir; do
131++ hook_com[$tmp]="${hook_com[$tmp]//\%/%%}"
132++done
133++
134+ VCS_INFO_hook 'post-backend'
135+
136+ ## description (for backend authors):
137+--
138+2.34.1
139--
1402.34.1
diff --git a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_3.patch b/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_3.patch
deleted file mode 100644
index adfc00ae57..0000000000
--- a/meta-oe/recipes-shells/zsh/zsh/CVE-2021-45444_3.patch
+++ /dev/null
@@ -1,77 +0,0 @@
1From 4abf2fc193fc2f3e680deecbf81289a7b02e245b Mon Sep 17 00:00:00 2001
2From: dana <dana@dana.is>
3Date: Tue, 21 Dec 2021 13:13:33 -0600
4Subject: [PATCH 3/9] CVE-2021-45444: Update NEWS/README
5
6https://salsa.debian.org/debian/zsh/-/blob/debian/5.8-6+deb11u1/debian/patches/cherry-pick-CVE-2021-45444_3.patch
7Upstream-Status: Backport
8CVE: CVE-2021-45444
9Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
10---
11 ChangeLog | 2 ++
12 NEWS | 20 ++++++++++++++++++++
13 README | 6 ++++++
14 3 files changed, 28 insertions(+)
15
16diff --git a/ChangeLog b/ChangeLog
17index 9a05a09e1..93b0bc337 100644
18--- a/ChangeLog
19+++ b/ChangeLog
20@@ -1,5 +1,7 @@
21 2022-01-27 dana <dana@dana.is>
22
23+ * CVE-2021-45444: NEWS, README: Document preceding two changes
24+
25 * Marc Cornellà: security/89:
26 Etc/CVE-2021-45444-VCS_Info-workaround.patch: Add patch which
27 can optionally be used to work around recursive PROMPT_SUBST
28diff --git a/NEWS b/NEWS
29index 964e1633f..d34b3f79e 100644
30--- a/NEWS
31+++ b/NEWS
32@@ -4,6 +4,26 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH
33
34 Note also the list of incompatibilities in the README file.
35
36+Changes since 5.8
37+-----------------
38+
39+CVE-2021-45444: Some prompt expansion sequences, such as %F, support
40+'arguments' which are themselves expanded in case they contain colour
41+values, etc. This additional expansion would trigger PROMPT_SUBST
42+evaluation, if enabled. This could be abused to execute code the user
43+didn't expect. e.g., given a certain prompt configuration, an attacker
44+could trick a user into executing arbitrary code by having them check
45+out a Git branch with a specially crafted name.
46+
47+This is fixed in the shell itself by no longer performing PROMPT_SUBST
48+evaluation on these prompt-expansion arguments.
49+
50+Users who are concerned about an exploit but unable to update their
51+binaries may apply the partial work-around described in the file
52+'Etc/CVE-2021-45444 VCS_Info workaround.patch' included with the shell
53+source. [ Reported by RyotaK <security@ryotak.me>. Additional thanks to
54+Marc Cornellà <hello@mcornella.com>. ]
55+
56 Changes since 5.7.1-test-3
57 --------------------------
58
59diff --git a/README b/README
60index 7f1dd5f92..c9e994ab3 100644
61--- a/README
62+++ b/README
63@@ -31,6 +31,12 @@ Zsh is a shell with lots of features. For a list of some of these, see the
64 file FEATURES, and for the latest changes see NEWS. For more
65 details, see the documentation.
66
67+Incompatibilities since 5.8
68+---------------------------
69+
70+PROMPT_SUBST expansion is no longer performed on arguments to prompt-
71+expansion sequences such as %F.
72+
73 Incompatibilities since 5.7.1
74 -----------------------------
75
76--
772.34.1
diff --git a/meta-oe/recipes-shells/zsh/zsh_5.8.bb b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
index 7602ff9f64..c03dfc2f83 100644
--- a/meta-oe/recipes-shells/zsh/zsh_5.8.bb
+++ b/meta-oe/recipes-shells/zsh/zsh_5.9.bb
@@ -10,14 +10,12 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=1a4c4cda3e8096d2fd483ff2f4514fec"
10 10
11DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native" 11DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/5.8/${BP}.tar.xz \ 13SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.xz"
14 file://CVE-2021-45444_1.patch \ 14SRC_URI[sha256sum] = "9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5"
15 file://CVE-2021-45444_2.patch \
16 file://CVE-2021-45444_3.patch \
17 "
18SRC_URI[sha256sum] = "dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27"
19 15
20inherit autotools-brokensep gettext update-alternatives manpages 16inherit autotools gettext update-alternatives manpages
17
18EXTRA_AUTORECONF += "--exclude=aclocal"
21 19
22EXTRA_OECONF = " \ 20EXTRA_OECONF = " \
23 --bindir=${base_bindir} \ 21 --bindir=${base_bindir} \
@@ -34,7 +32,7 @@ EXTRA_OECONF = " \
34" 32"
35 33
36# Configure respects --bindir from EXTRA_OECONF, but then Src/Makefile will read bindir from environment 34# Configure respects --bindir from EXTRA_OECONF, but then Src/Makefile will read bindir from environment
37export bindir="${base_bindir}" 35export bindir = "${base_bindir}"
38 36
39EXTRA_OEMAKE = "-e MAKEFLAGS=" 37EXTRA_OEMAKE = "-e MAKEFLAGS="
40 38
@@ -43,20 +41,20 @@ ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
43ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" 41ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}"
44ALTERNATIVE_PRIORITY = "90" 42ALTERNATIVE_PRIORITY = "90"
45 43
46export AUTOHEADER = "true" 44# Needed for manpages.bbclass, but they're always installed
45PACKAGECONFIG[manpages] = ""
47 46
48do_configure () { 47do_install:append() {
49 gnu-configize --force ${S} 48 sed -i -e '1!b; s:^#!.*[ /]zsh:#!${bindir}/zsh:; s#/usr/local/bin#${bindir}#;' \
50 oe_runconf 49 `find ${D}/usr/share/zsh/${PV}/functions -type f`
51} 50}
52 51
53pkg_postinst:${PN} () { 52pkg_postinst:${PN} () {
54 touch $D${sysconfdir}/shells 53 touch $D${sysconfdir}/shells
55 grep -q "bin/zsh" $D${sysconfdir}/shells || echo /bin/zsh >> $D${sysconfdir}/shells 54 for i in zsh sh
56 grep -q "bin/sh" $D${sysconfdir}/shells || echo /bin/sh >> $D${sysconfdir}/shells 55 do
56 grep -q "bin/$i" $D${sysconfdir}/shells || \
57 printf >> $D${sysconfdir}/shells \
58 "${bindir}/$i\n${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/$i\n', '', d)}"
59 done
57} 60}
58
59# work around QA failures with usrmerge installing zsh in /usr/bin/zsh instead of /bin/zsh
60# ERROR: QA Issue: /usr/share/zsh/5.8/functions/zed contained in package zsh requires /bin/zsh, but no providers found in RDEPENDS:zsh? [file-rdeps]
61# like bash does since https://git.openembedded.org/openembedded-core/commit/?id=4759408677a4e60c5fa7131afcb5bc184cf2f90a
62RPROVIDES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', '/bin/zsh', '', d)}"
diff --git a/meta-oe/recipes-support/ace-cloud-editor/ace-cloud-editor_git.bb b/meta-oe/recipes-support/ace-cloud-editor/ace-cloud-editor_git.bb
index 6d64ab71bf..85443984a2 100644
--- a/meta-oe/recipes-support/ace-cloud-editor/ace-cloud-editor_git.bb
+++ b/meta-oe/recipes-support/ace-cloud-editor/ace-cloud-editor_git.bb
@@ -11,7 +11,6 @@ SRCREV = "812e2c56aed246931a667f16c28b096e34597016"
11 11
12FILES:${PN} = "${datadir}/ace-builds" 12FILES:${PN} = "${datadir}/ace-builds"
13 13
14S = "${WORKDIR}/git"
15 14
16DEPENDS += "rsync-native" 15DEPENDS += "rsync-native"
17 16
diff --git a/meta-oe/recipes-support/anthy/anthy_9100h.bb b/meta-oe/recipes-support/anthy/anthy_9100h.bb
index f2bf52cdbc..1826e91697 100644
--- a/meta-oe/recipes-support/anthy/anthy_9100h.bb
+++ b/meta-oe/recipes-support/anthy/anthy_9100h.bb
@@ -1,4 +1,4 @@
1DESCRIPTION="Anthy is a system for Japanese input method. It converts Hiragana text to Kana Kanji mixed text." 1DESCRIPTION = "Anthy is a system for Japanese input method. It converts Hiragana text to Kana Kanji mixed text."
2HOMEPAGE = "http://anthy.sourceforge.jp" 2HOMEPAGE = "http://anthy.sourceforge.jp"
3 3
4LICENSE = "LGPL-2.1-only & GPL-2.0-only" 4LICENSE = "LGPL-2.1-only & GPL-2.0-only"
@@ -14,9 +14,11 @@ SRC_URI = "http://osdn.dl.sourceforge.jp/anthy/37536/anthy-9100h.tar.gz \
14SRC_URI:append:class-target = " file://target-helpers.patch" 14SRC_URI:append:class-target = " file://target-helpers.patch"
15SRC_URI:append:class-native = " file://native-helpers.patch" 15SRC_URI:append:class-native = " file://native-helpers.patch"
16 16
17SRC_URI[md5sum] = "1f558ff7ed296787b55bb1c6cf131108"
18SRC_URI[sha256sum] = "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547" 17SRC_URI[sha256sum] = "d256f075f018b4a3cb0d165ed6151fda4ba7db1621727e0eb54569b6e2275547"
19 18
19UPSTREAM_CHECK_URI = "https://osdn.net/projects/anthy/releases/"
20UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>(\d+)+(\w*))"
21
20DEPENDS:class-target = "anthy-native" 22DEPENDS:class-target = "anthy-native"
21RDEPENDS:${PN}:class-target = "libanthy0" 23RDEPENDS:${PN}:class-target = "libanthy0"
22 24
diff --git a/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch b/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch
new file mode 100644
index 0000000000..5aa502916d
--- /dev/null
+++ b/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch
@@ -0,0 +1,37 @@
1From 7d76513b82a67e117d195a1b5a0d6c2e8591488b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 10 Oct 2024 13:58:38 +0800
4Subject: [PATCH] tests: Remove blocking_adaptation.cpp
5
6The test failed to build with clang as below.
7../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:216:13: error: call to 'query' is ambiguous
8 216 | conditional_t<true, T, P>::query(static_cast<P&&>(p))
9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:213:29: note: in instantiation of exception specification for 'query<asio::execution::detail::blocking_adaptation::allowed_t<>>' requested here
11 213 | static constexpr auto query(P&& p)
12 |
13
14We can add the case back once the above build failure resolved then.
15
16Upstream-Status: Pending
17
18Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
19---
20 src/tests/Makefile.am | 1 -
21 1 file changed, 1 deletion(-)
22
23diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
24index 04f8a03..eab2d56 100644
25--- a/src/tests/Makefile.am
26+++ b/src/tests/Makefile.am
27@@ -68,7 +68,6 @@ check_PROGRAMS = \
28 unit/error \
29 unit/execution/any_executor \
30 unit/execution/blocking \
31- unit/execution/blocking_adaptation \
32 unit/execution/context_as \
33 unit/execution/executor \
34 unit/execution/invocable_archetype \
35--
362.34.1
37
diff --git a/meta-oe/recipes-support/asio/asio/run-ptest b/meta-oe/recipes-support/asio/asio/run-ptest
new file mode 100644
index 0000000000..d37db0b315
--- /dev/null
+++ b/meta-oe/recipes-support/asio/asio/run-ptest
@@ -0,0 +1,19 @@
1#!/bin/sh
2
3ptestdir=$(dirname "$(readlink -f "$0")")
4cd "$ptestdir"/tests || exit
5
6tests=$(find * -type f -executable)
7
8rm -rf test.log
9
10for f in $tests
11do
12 if test -x ./"$f"; then
13 if ./"$f" > test.log 2>&1; then
14 echo "PASS: $f"
15 else
16 echo "FAIL: $f"
17 fi
18 fi
19done
diff --git a/meta-oe/recipes-support/asio/asio_1.30.2.bb b/meta-oe/recipes-support/asio/asio_1.30.2.bb
index 6930381ecd..1f492b71eb 100644
--- a/meta-oe/recipes-support/asio/asio_1.30.2.bb
+++ b/meta-oe/recipes-support/asio/asio_1.30.2.bb
@@ -8,9 +8,12 @@ LICENSE = "BSL-1.0"
8 8
9DEPENDS = "openssl" 9DEPENDS = "openssl"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2" 11SRC_URI = "${SOURCEFORGE_MIRROR}/asio/${BP}.tar.bz2 \
12 file://0001-tests-Remove-blocking_adaptation.cpp.patch \
13 file://run-ptest \
14"
12 15
13inherit autotools 16inherit autotools ptest
14 17
15ALLOW_EMPTY:${PN} = "1" 18ALLOW_EMPTY:${PN} = "1"
16 19
@@ -22,4 +25,16 @@ PACKAGECONFIG ??= "boost"
22 25
23PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost" 26PACKAGECONFIG[boost] = "--with-boost=${STAGING_LIBDIR},--without-boost,boost"
24 27
28TESTDIR = "src/tests"
29do_compile_ptest() {
30 echo 'buildtest-TESTS: $(check_PROGRAMS)' >> ${TESTDIR}/Makefile
31 oe_runmake -C ${TESTDIR} buildtest-TESTS
32}
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 # copy executables
37 find ${B}/${TESTDIR}/unit -type f -executable -exec cp {} ${D}${PTEST_PATH}/tests/ \;
38}
39
25BBCLASSEXTEND = "native nativesdk" 40BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/atop/atop/0001-Redefine-function-prototypes-solves-issue-322.patch b/meta-oe/recipes-support/atop/atop/0001-Redefine-function-prototypes-solves-issue-322.patch
new file mode 100644
index 0000000000..f55ad5318a
--- /dev/null
+++ b/meta-oe/recipes-support/atop/atop/0001-Redefine-function-prototypes-solves-issue-322.patch
@@ -0,0 +1,1154 @@
1From ece93ebc7b9ebbb73f92b2238a87b78ddbd4ca98 Mon Sep 17 00:00:00 2001
2From: Gerlof Langeveld <gerlof.langeveld@atoptool.nl>
3Date: Fri, 14 Mar 2025 15:39:30 +0100
4Subject: [PATCH] Redefine function prototypes (solves issue #322)
5
6Certain function prototypes did not explicitly define the
7calling argument types, specifically the prototypes for the
8convert functions defined in the 'detail_printdef' structure.
9These incomplete definitions cause a lot of errors when using
10gcc 1.15 which is based on C23.
11
12Upstream-Status: Backport [ece93eb Redefine function prototypes (solves issue #322)]
13---
14 atop.c | 5 ++
15 atopacctd.c | 5 ++
16 atopcat.c | 6 ++
17 atopconvert.c | 1 +
18 atophide.c | 5 ++
19 atopsar.c | 4 ++
20 cgroups.c | 7 +-
21 drawbar.c | 4 ++
22 gpucom.c | 4 ++
23 netatopif.c | 4 ++
24 photoproc.c | 4 ++
25 photosyst.c | 5 ++
26 rawlog.c | 4 ++
27 showgeneric.c | 4 ++
28 showlinux.h | 11 ++-
29 showprocs.c | 188 +++++++++++++++++++++++++-------------------------
30 various.c | 4 ++
31 17 files changed, 168 insertions(+), 97 deletions(-)
32
33diff --git a/atop.c b/atop.c
34index fe037fc..ac6aa6d 100644
35--- a/atop.c
36+++ b/atop.c
37@@ -118,6 +118,10 @@
38 ** can be linked with 'atop'; the one to use can eventually be chosen
39 ** at runtime.
40 */
41+#define _POSIX_C_SOURCE
42+#define _XOPEN_SOURCE
43+#define _GNU_SOURCE
44+#define _DEFAULT_SOURCE
45
46 #include <sys/types.h>
47 #include <sys/param.h>
48@@ -128,6 +132,7 @@
49 #include <errno.h>
50 #include <fcntl.h>
51 #include <unistd.h>
52+#include <getopt.h>
53 #include <stdlib.h>
54 #include <signal.h>
55 #include <sys/utsname.h>
56diff --git a/atopacctd.c b/atopacctd.c
57index b16d6a6..c8816b6 100644
58--- a/atopacctd.c
59+++ b/atopacctd.c
60@@ -36,6 +36,11 @@
61 ** it under the terms of the GNU General Public License version 2 as
62 ** published by the Free Software Foundation.
63 */
64+#define _POSIX_C_SOURCE
65+#define _XOPEN_SOURCE
66+#define _GNU_SOURCE
67+#define _DEFAULT_SOURCE
68+
69 #include <sys/types.h>
70 #include <sys/stat.h>
71 #include <stdio.h>
72diff --git a/atopcat.c b/atopcat.c
73index fb014a0..099a888 100644
74--- a/atopcat.c
75+++ b/atopcat.c
76@@ -28,9 +28,15 @@
77 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
78 ** --------------------------------------------------------------------------
79 */
80+#define _POSIX_C_SOURCE
81+#define _XOPEN_SOURCE
82+#define _GNU_SOURCE
83+#define _DEFAULT_SOURCE
84+
85 #include <sys/types.h>
86 #include <sys/param.h>
87 #include <sys/stat.h>
88+#include <getopt.h>
89 #include <fcntl.h>
90 #include <time.h>
91 #include <stdio.h>
92diff --git a/atopconvert.c b/atopconvert.c
93index fd34a85..9c083a6 100644
94--- a/atopconvert.c
95+++ b/atopconvert.c
96@@ -32,6 +32,7 @@
97 #include <sys/param.h>
98 #include <sys/mman.h>
99 #include <sys/stat.h>
100+#include <getopt.h>
101 #include <time.h>
102 #include <stdio.h>
103 #include <errno.h>
104diff --git a/atophide.c b/atophide.c
105index 0502262..313929e 100644
106--- a/atophide.c
107+++ b/atophide.c
108@@ -31,6 +31,11 @@
109 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
110 ** --------------------------------------------------------------------------
111 */
112+#define _POSIX_C_SOURCE
113+#define _XOPEN_SOURCE
114+#define _GNU_SOURCE
115+#define _DEFAULT_SOURCE
116+
117 #include <sys/types.h>
118 #include <sys/param.h>
119 #include <sys/mman.h>
120diff --git a/atopsar.c b/atopsar.c
121index a3dd121..1cf13e8 100644
122--- a/atopsar.c
123+++ b/atopsar.c
124@@ -28,6 +28,10 @@
125 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
126 ** --------------------------------------------------------------------------
127 */
128+#define _POSIX_C_SOURCE
129+#define _XOPEN_SOURCE
130+#define _GNU_SOURCE
131+#define _DEFAULT_SOURCE
132
133 #include <sys/types.h>
134 #include <sys/param.h>
135diff --git a/cgroups.c b/cgroups.c
136index d617b48..4f1247c 100644
137--- a/cgroups.c
138+++ b/cgroups.c
139@@ -27,6 +27,10 @@
140 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
141 ** --------------------------------------------------------------------------
142 */
143+#define _POSIX_C_SOURCE
144+#define _XOPEN_SOURCE
145+#define _GNU_SOURCE
146+#define _DEFAULT_SOURCE
147
148 #include <sys/types.h>
149 #include <sys/param.h>
150@@ -1189,7 +1193,8 @@ mergecgrouplist(struct cglinesel **cgroupselp, int newdepth,
151 //
152 cgroupsel = malloc(sizeof(struct cglinesel) * (ncgroups+nprocs));
153
154- ptrverify(cgroupsel, "Malloc for cglinesel structs failed (%d)\n",
155+ if (cgroupsel == NULL)
156+ ptrverify(cgroupsel, "Malloc for cglinesel structs failed (%d)\n",
157 ncgroups + nprocs);
158
159 *cgroupselp = cgroupsel;
160diff --git a/drawbar.c b/drawbar.c
161index 0ab3b40..c8539bf 100644
162--- a/drawbar.c
163+++ b/drawbar.c
164@@ -103,6 +103,10 @@
165 // horizontally scaled by the user, atop might switch from one model to
166 // the other.
167 /////////////////////////////////////////////////////////////////////////////
168+#define _POSIX_C_SOURCE
169+#define _XOPEN_SOURCE
170+#define _GNU_SOURCE
171+#define _DEFAULT_SOURCE
172
173 #include <sys/types.h>
174 #include <curses.h>
175diff --git a/gpucom.c b/gpucom.c
176index 1ff3818..25e7637 100644
177--- a/gpucom.c
178+++ b/gpucom.c
179@@ -22,6 +22,10 @@
180 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
181 ** See the GNU General Public License for more details.
182 */
183+#define _POSIX_C_SOURCE
184+#define _XOPEN_SOURCE
185+#define _GNU_SOURCE
186+#define _DEFAULT_SOURCE
187
188 #include <sys/types.h>
189 #include <sys/socket.h>
190diff --git a/netatopif.c b/netatopif.c
191index ea67142..d0e9c29 100644
192--- a/netatopif.c
193+++ b/netatopif.c
194@@ -22,6 +22,10 @@
195 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
196 ** See the GNU General Public License for more details.
197 */
198+#define _POSIX_C_SOURCE
199+#define _XOPEN_SOURCE
200+#define _GNU_SOURCE
201+#define _DEFAULT_SOURCE
202
203 #include <sys/types.h>
204 #include <stdio.h>
205diff --git a/photoproc.c b/photoproc.c
206index 234007b..2b8de20 100644
207--- a/photoproc.c
208+++ b/photoproc.c
209@@ -30,6 +30,10 @@
210 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
211 ** --------------------------------------------------------------------------
212 */
213+#define _POSIX_C_SOURCE
214+#define _XOPEN_SOURCE
215+#define _GNU_SOURCE
216+#define _DEFAULT_SOURCE
217
218 #include <sys/types.h>
219 #include <sys/param.h>
220diff --git a/photosyst.c b/photosyst.c
221index 46fccd8..9012946 100644
222--- a/photosyst.c
223+++ b/photosyst.c
224@@ -29,6 +29,11 @@
225 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
226 ** --------------------------------------------------------------------------
227 */
228+#define _POSIX_C_SOURCE
229+#define _XOPEN_SOURCE
230+#define _GNU_SOURCE
231+#define _DEFAULT_SOURCE
232+
233 #include <sys/types.h>
234 #include <stdio.h>
235 #include <string.h>
236diff --git a/rawlog.c b/rawlog.c
237index f46430d..541b75c 100644
238--- a/rawlog.c
239+++ b/rawlog.c
240@@ -26,6 +26,10 @@
241 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
242 ** --------------------------------------------------------------------------
243 */
244+#define _POSIX_C_SOURCE
245+#define _XOPEN_SOURCE
246+#define _GNU_SOURCE
247+#define _DEFAULT_SOURCE
248
249 #include <sys/types.h>
250 #include <sys/param.h>
251diff --git a/showgeneric.c b/showgeneric.c
252index 0722a64..a472501 100644
253--- a/showgeneric.c
254+++ b/showgeneric.c
255@@ -29,6 +29,10 @@
256 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
257 ** --------------------------------------------------------------------------
258 */
259+#define _POSIX_C_SOURCE
260+#define _XOPEN_SOURCE
261+#define _GNU_SOURCE
262+#define _DEFAULT_SOURCE
263
264 #include <sys/types.h>
265 #include <sys/param.h>
266diff --git a/showlinux.h b/showlinux.h
267index e082c72..72c57b9 100644
268--- a/showlinux.h
269+++ b/showlinux.h
270@@ -102,9 +102,16 @@ typedef struct
271 {
272 char *head; // column header
273 char *configname; // name as used to config print line
274- char *(*doactiveconvert)(); // pointer to conv function
275+
276+ union {
277+ char *(*doactiveconverts)(struct tstat *, int, int);
278+ char *(*doactiveconvertc)(struct cgchainer *, struct tstat *,
279+ int, int, count_t, int, int *);
280+ } ac;
281+ // pointer to conv function
282 // for active process
283- char *(*doexitconvert)(); // pointer to conv function
284+ char *(*doexitconvert)(struct tstat *, int, int);
285+ // pointer to conv function
286 // for exited process
287 char sortcrit; // sort criterion similar to showorder
288 int width; // required width
289diff --git a/showprocs.c b/showprocs.c
290index 0db1e31..020cc85 100644
291--- a/showprocs.c
292+++ b/showprocs.c
293@@ -510,7 +510,7 @@ showprocline(detail_printpair* elemptr, struct tstat *curstat,
294 }
295 else if (curstat->gen.state != 'E') // active process
296 {
297- printg("%s", curelem.pf->doactiveconvert(curstat,
298+ printg("%s", curelem.pf->ac.doactiveconverts(curstat,
299 avgval, nsecs));
300 }
301 else // exited process
302@@ -622,7 +622,7 @@ procprt_TID_ae(struct tstat *curstat, int avgval, int nsecs)
303 }
304
305 detail_printdef procprt_TID =
306- { "TID", "TID", procprt_TID_ae, procprt_TID_ae, ' ', 5}; //DYNAMIC WIDTH!
307+ { "TID", "TID", .ac.doactiveconverts = procprt_TID_ae, procprt_TID_ae, ' ', 5}; //DYNAMIC WIDTH!
308 /***************************************************************/
309 char *
310 procprt_PID_a(struct tstat *curstat, int avgval, int nsecs)
311@@ -646,7 +646,7 @@ procprt_PID_e(struct tstat *curstat, int avgval, int nsecs)
312 }
313
314 detail_printdef procprt_PID =
315- { "PID", "PID", procprt_PID_a, procprt_PID_e, ' ', 5}; //DYNAMIC WIDTH!
316+ { "PID", "PID", .ac.doactiveconverts = procprt_PID_a, procprt_PID_e, ' ', 5}; //DYNAMIC WIDTH!
317 /***************************************************************/
318 char *
319 procprt_PPID_a(struct tstat *curstat, int avgval, int nsecs)
320@@ -670,7 +670,7 @@ procprt_PPID_e(struct tstat *curstat, int avgval, int nsecs)
321 }
322
323 detail_printdef procprt_PPID =
324- { "PPID", "PPID", procprt_PPID_a, procprt_PPID_e, ' ', 5}; //DYNAMIC WIDTH!
325+ { "PPID", "PPID", .ac.doactiveconverts = procprt_PPID_a, procprt_PPID_e, ' ', 5}; //DYNAMIC WIDTH!
326 /***************************************************************/
327 char *
328 procprt_VPID_a(struct tstat *curstat, int avgval, int nsecs)
329@@ -691,7 +691,7 @@ procprt_VPID_e(struct tstat *curstat, int avgval, int nsecs)
330 }
331
332 detail_printdef procprt_VPID =
333- { "VPID", "VPID", procprt_VPID_a, procprt_VPID_e, ' ', 5}; //DYNAMIC WIDTH!
334+ { "VPID", "VPID", .ac.doactiveconverts = procprt_VPID_a, procprt_VPID_e, ' ', 5}; //DYNAMIC WIDTH!
335 /***************************************************************/
336 char *
337 procprt_CTID_a(struct tstat *curstat, int avgval, int nsecs)
338@@ -709,7 +709,7 @@ procprt_CTID_e(struct tstat *curstat, int avgval, int nsecs)
339 }
340
341 detail_printdef procprt_CTID =
342- { " CTID", "CTID", procprt_CTID_a, procprt_CTID_e, ' ', 5};
343+ { " CTID", "CTID", .ac.doactiveconverts = procprt_CTID_a, procprt_CTID_e, ' ', 5};
344 /***************************************************************/
345 char *
346 procprt_CID_a(struct tstat *curstat, int avgval, int nsecs)
347@@ -738,7 +738,7 @@ procprt_CID_e(struct tstat *curstat, int avgval, int nsecs)
348 }
349
350 detail_printdef procprt_CID =
351- { "CID/POD ", "CID", procprt_CID_a, procprt_CID_e, ' ', 15};
352+ { "CID/POD ", "CID", .ac.doactiveconverts = procprt_CID_a, procprt_CID_e, ' ', 15};
353 /***************************************************************/
354 char *
355 procprt_SYSCPU_ae(struct tstat *curstat, int avgval, int nsecs)
356@@ -750,7 +750,7 @@ procprt_SYSCPU_ae(struct tstat *curstat, int avgval, int nsecs)
357 }
358
359 detail_printdef procprt_SYSCPU =
360- { "SYSCPU", "SYSCPU", procprt_SYSCPU_ae, procprt_SYSCPU_ae, ' ', 6};
361+ { "SYSCPU", "SYSCPU", .ac.doactiveconverts = procprt_SYSCPU_ae, procprt_SYSCPU_ae, ' ', 6};
362 /***************************************************************/
363 char *
364 procprt_USRCPU_ae(struct tstat *curstat, int avgval, int nsecs)
365@@ -762,7 +762,7 @@ procprt_USRCPU_ae(struct tstat *curstat, int avgval, int nsecs)
366 }
367
368 detail_printdef procprt_USRCPU =
369- { "USRCPU", "USRCPU", procprt_USRCPU_ae, procprt_USRCPU_ae, ' ', 6};
370+ { "USRCPU", "USRCPU", .ac.doactiveconverts = procprt_USRCPU_ae, procprt_USRCPU_ae, ' ', 6};
371 /***************************************************************/
372 char *
373 procprt_VGROW_a(struct tstat *curstat, int avgval, int nsecs)
374@@ -780,7 +780,7 @@ procprt_VGROW_e(struct tstat *curstat, int avgval, int nsecs)
375 }
376
377 detail_printdef procprt_VGROW =
378- { " VGROW", "VGROW", procprt_VGROW_a, procprt_VGROW_e, ' ', 6};
379+ { " VGROW", "VGROW", .ac.doactiveconverts = procprt_VGROW_a, procprt_VGROW_e, ' ', 6};
380 /***************************************************************/
381 char *
382 procprt_RGROW_a(struct tstat *curstat, int avgval, int nsecs)
383@@ -798,7 +798,7 @@ procprt_RGROW_e(struct tstat *curstat, int avgval, int nsecs)
384 }
385
386 detail_printdef procprt_RGROW =
387- { " RGROW", "RGROW", procprt_RGROW_a, procprt_RGROW_e, ' ', 6};
388+ { " RGROW", "RGROW", .ac.doactiveconverts = procprt_RGROW_a, procprt_RGROW_e, ' ', 6};
389 /***************************************************************/
390 char *
391 procprt_MINFLT_ae(struct tstat *curstat, int avgval, int nsecs)
392@@ -810,7 +810,7 @@ procprt_MINFLT_ae(struct tstat *curstat, int avgval, int nsecs)
393 }
394
395 detail_printdef procprt_MINFLT =
396- { "MINFLT", "MINFLT", procprt_MINFLT_ae, procprt_MINFLT_ae, ' ', 6};
397+ { "MINFLT", "MINFLT", .ac.doactiveconverts = procprt_MINFLT_ae, procprt_MINFLT_ae, ' ', 6};
398 /***************************************************************/
399 char *
400 procprt_MAJFLT_ae(struct tstat *curstat, int avgval, int nsecs)
401@@ -822,7 +822,7 @@ procprt_MAJFLT_ae(struct tstat *curstat, int avgval, int nsecs)
402 }
403
404 detail_printdef procprt_MAJFLT =
405- { "MAJFLT", "MAJFLT", procprt_MAJFLT_ae, procprt_MAJFLT_ae, ' ', 6};
406+ { "MAJFLT", "MAJFLT", .ac.doactiveconverts = procprt_MAJFLT_ae, procprt_MAJFLT_ae, ' ', 6};
407 /***************************************************************/
408 char *
409 procprt_VSTEXT_a(struct tstat *curstat, int avgval, int nsecs)
410@@ -840,7 +840,7 @@ procprt_VSTEXT_e(struct tstat *curstat, int avgval, int nsecs)
411 }
412
413 detail_printdef procprt_VSTEXT =
414- { "VSTEXT", "VSTEXT", procprt_VSTEXT_a, procprt_VSTEXT_e, ' ', 6};
415+ { "VSTEXT", "VSTEXT", .ac.doactiveconverts = procprt_VSTEXT_a, procprt_VSTEXT_e, ' ', 6};
416 /***************************************************************/
417 char *
418 procprt_VSIZE_a(struct tstat *curstat, int avgval, int nsecs)
419@@ -858,7 +858,7 @@ procprt_VSIZE_e(struct tstat *curstat, int avgval, int nsecs)
420 }
421
422 detail_printdef procprt_VSIZE =
423- { " VSIZE", "VSIZE", procprt_VSIZE_a, procprt_VSIZE_e, ' ', 6};
424+ { " VSIZE", "VSIZE", .ac.doactiveconverts = procprt_VSIZE_a, procprt_VSIZE_e, ' ', 6};
425 /***************************************************************/
426 char *
427 procprt_RSIZE_a(struct tstat *curstat, int avgval, int nsecs)
428@@ -876,7 +876,7 @@ procprt_RSIZE_e(struct tstat *curstat, int avgval, int nsecs)
429 }
430
431 detail_printdef procprt_RSIZE =
432- { " RSIZE", "RSIZE", procprt_RSIZE_a, procprt_RSIZE_e, ' ', 6};
433+ { " RSIZE", "RSIZE", .ac.doactiveconverts = procprt_RSIZE_a, procprt_RSIZE_e, ' ', 6};
434 /***************************************************************/
435 char *
436 procprt_PSIZE_a(struct tstat *curstat, int avgval, int nsecs)
437@@ -897,7 +897,7 @@ procprt_PSIZE_e(struct tstat *curstat, int avgval, int nsecs)
438 }
439
440 detail_printdef procprt_PSIZE =
441- { " PSIZE", "PSIZE", procprt_PSIZE_a, procprt_PSIZE_e, ' ', 6};
442+ { " PSIZE", "PSIZE", .ac.doactiveconverts = procprt_PSIZE_a, procprt_PSIZE_e, ' ', 6};
443 /***************************************************************/
444 char *
445 procprt_VSLIBS_a(struct tstat *curstat, int avgval, int nsecs)
446@@ -915,7 +915,7 @@ procprt_VSLIBS_e(struct tstat *curstat, int avgval, int nsecs)
447 }
448
449 detail_printdef procprt_VSLIBS =
450- { "VSLIBS", "VSLIBS", procprt_VSLIBS_a, procprt_VSLIBS_e, ' ', 6};
451+ { "VSLIBS", "VSLIBS", .ac.doactiveconverts = procprt_VSLIBS_a, procprt_VSLIBS_e, ' ', 6};
452 /***************************************************************/
453 char *
454 procprt_VDATA_a(struct tstat *curstat, int avgval, int nsecs)
455@@ -933,7 +933,7 @@ procprt_VDATA_e(struct tstat *curstat, int avgval, int nsecs)
456 }
457
458 detail_printdef procprt_VDATA =
459- { " VDATA", "VDATA", procprt_VDATA_a, procprt_VDATA_e, ' ', 6};
460+ { " VDATA", "VDATA", .ac.doactiveconverts = procprt_VDATA_a, procprt_VDATA_e, ' ', 6};
461 /***************************************************************/
462 char *
463 procprt_VSTACK_a(struct tstat *curstat, int avgval, int nsecs)
464@@ -951,7 +951,7 @@ procprt_VSTACK_e(struct tstat *curstat, int avgval, int nsecs)
465 }
466
467 detail_printdef procprt_VSTACK =
468- { "VSTACK", "VSTACK", procprt_VSTACK_a, procprt_VSTACK_e, ' ', 6};
469+ { "VSTACK", "VSTACK", .ac.doactiveconverts = procprt_VSTACK_a, procprt_VSTACK_e, ' ', 6};
470 /***************************************************************/
471 char *
472 procprt_SWAPSZ_a(struct tstat *curstat, int avgval, int nsecs)
473@@ -969,7 +969,7 @@ procprt_SWAPSZ_e(struct tstat *curstat, int avgval, int nsecs)
474 }
475
476 detail_printdef procprt_SWAPSZ =
477- { "SWAPSZ", "SWAPSZ", procprt_SWAPSZ_a, procprt_SWAPSZ_e, ' ', 6};
478+ { "SWAPSZ", "SWAPSZ", .ac.doactiveconverts = procprt_SWAPSZ_a, procprt_SWAPSZ_e, ' ', 6};
479 /***************************************************************/
480 char *
481 procprt_LOCKSZ_a(struct tstat *curstat, int avgval, int nsecs)
482@@ -987,7 +987,7 @@ procprt_LOCKSZ_e(struct tstat *curstat, int avgval, int nsecs)
483 }
484
485 detail_printdef procprt_LOCKSZ =
486- { "LOCKSZ", "LOCKSZ", procprt_LOCKSZ_a, procprt_LOCKSZ_e, ' ', 6};
487+ { "LOCKSZ", "LOCKSZ", .ac.doactiveconverts = procprt_LOCKSZ_a, procprt_LOCKSZ_e, ' ', 6};
488 /***************************************************************/
489 char *
490 procprt_CMD_a(struct tstat *curstat, int avgval, int nsecs)
491@@ -1010,7 +1010,7 @@ procprt_CMD_e(struct tstat *curstat, int avgval, int nsecs)
492 }
493
494 detail_printdef procprt_CMD =
495- { "CMD ", "CMD", procprt_CMD_a, procprt_CMD_e, ' ', 14};
496+ { "CMD ", "CMD", .ac.doactiveconverts = procprt_CMD_a, procprt_CMD_e, ' ', 14};
497 /***************************************************************/
498 char *
499 procprt_RUID_ae(struct tstat *curstat, int avgval, int nsecs)
500@@ -1023,7 +1023,7 @@ procprt_RUID_ae(struct tstat *curstat, int avgval, int nsecs)
501 }
502
503 detail_printdef procprt_RUID =
504- { "RUID ", "RUID", procprt_RUID_ae, procprt_RUID_ae, ' ', 8};
505+ { "RUID ", "RUID", .ac.doactiveconverts = procprt_RUID_ae, procprt_RUID_ae, ' ', 8};
506 /***************************************************************/
507 char *
508 procprt_EUID_a(struct tstat *curstat, int avgval, int nsecs)
509@@ -1042,7 +1042,7 @@ procprt_EUID_e(struct tstat *curstat, int avgval, int nsecs)
510 }
511
512 detail_printdef procprt_EUID =
513- { "EUID ", "EUID", procprt_EUID_a, procprt_EUID_e, ' ', 8};
514+ { "EUID ", "EUID", .ac.doactiveconverts = procprt_EUID_a, procprt_EUID_e, ' ', 8};
515 /***************************************************************/
516 char *
517 procprt_SUID_a(struct tstat *curstat, int avgval, int nsecs)
518@@ -1061,7 +1061,7 @@ procprt_SUID_e(struct tstat *curstat, int avgval, int nsecs)
519 }
520
521 detail_printdef procprt_SUID =
522- { "SUID ", "SUID", procprt_SUID_a, procprt_SUID_e, ' ', 8};
523+ { "SUID ", "SUID", .ac.doactiveconverts = procprt_SUID_a, procprt_SUID_e, ' ', 8};
524 /***************************************************************/
525 char *
526 procprt_FSUID_a(struct tstat *curstat, int avgval, int nsecs)
527@@ -1080,7 +1080,7 @@ procprt_FSUID_e(struct tstat *curstat, int avgval, int nsecs)
528 }
529
530 detail_printdef procprt_FSUID =
531- { "FSUID ", "FSUID", procprt_FSUID_a, procprt_FSUID_e, ' ', 8};
532+ { "FSUID ", "FSUID", .ac.doactiveconverts = procprt_FSUID_a, procprt_FSUID_e, ' ', 8};
533 /***************************************************************/
534 char *
535 procprt_RGID_ae(struct tstat *curstat, int avgval, int nsecs)
536@@ -1093,7 +1093,7 @@ procprt_RGID_ae(struct tstat *curstat, int avgval, int nsecs)
537 }
538
539 detail_printdef procprt_RGID =
540- { "RGID ", "RGID", procprt_RGID_ae, procprt_RGID_ae, ' ', 8};
541+ { "RGID ", "RGID", .ac.doactiveconverts = procprt_RGID_ae, procprt_RGID_ae, ' ', 8};
542 /***************************************************************/
543 char *
544 procprt_EGID_a(struct tstat *curstat, int avgval, int nsecs)
545@@ -1112,7 +1112,7 @@ procprt_EGID_e(struct tstat *curstat, int avgval, int nsecs)
546 }
547
548 detail_printdef procprt_EGID =
549- { "EGID ", "EGID", procprt_EGID_a, procprt_EGID_e, ' ', 8};
550+ { "EGID ", "EGID", .ac.doactiveconverts = procprt_EGID_a, procprt_EGID_e, ' ', 8};
551 /***************************************************************/
552 char *
553 procprt_SGID_a(struct tstat *curstat, int avgval, int nsecs)
554@@ -1131,7 +1131,7 @@ procprt_SGID_e(struct tstat *curstat, int avgval, int nsecs)
555 }
556
557 detail_printdef procprt_SGID =
558- { "SGID ", "SGID", procprt_SGID_a, procprt_SGID_e, ' ', 8};
559+ { "SGID ", "SGID", .ac.doactiveconverts = procprt_SGID_a, procprt_SGID_e, ' ', 8};
560 /***************************************************************/
561 char *
562 procprt_FSGID_a(struct tstat *curstat, int avgval, int nsecs)
563@@ -1150,7 +1150,7 @@ procprt_FSGID_e(struct tstat *curstat, int avgval, int nsecs)
564 }
565
566 detail_printdef procprt_FSGID =
567- { "FSGID ", "FSGID", procprt_FSGID_a, procprt_FSGID_e, ' ', 8};
568+ { "FSGID ", "FSGID", .ac.doactiveconverts = procprt_FSGID_a, procprt_FSGID_e, ' ', 8};
569 /***************************************************************/
570 char *
571 procprt_STDATE_ae(struct tstat *curstat, int avgval, int nsecs)
572@@ -1162,7 +1162,7 @@ procprt_STDATE_ae(struct tstat *curstat, int avgval, int nsecs)
573 }
574
575 detail_printdef procprt_STDATE =
576- { " STDATE ", "STDATE", procprt_STDATE_ae, procprt_STDATE_ae, ' ', 10};
577+ { " STDATE ", "STDATE", .ac.doactiveconverts = procprt_STDATE_ae, procprt_STDATE_ae, ' ', 10};
578 /***************************************************************/
579 char *
580 procprt_STTIME_ae(struct tstat *curstat, int avgval, int nsecs)
581@@ -1174,7 +1174,7 @@ procprt_STTIME_ae(struct tstat *curstat, int avgval, int nsecs)
582 }
583
584 detail_printdef procprt_STTIME =
585- { " STTIME ", "STTIME", procprt_STTIME_ae, procprt_STTIME_ae, ' ', 8};
586+ { " STTIME ", "STTIME", .ac.doactiveconverts = procprt_STTIME_ae, procprt_STTIME_ae, ' ', 8};
587 /***************************************************************/
588 char *
589 procprt_ENDATE_a(struct tstat *curstat, int avgval, int nsecs)
590@@ -1197,7 +1197,7 @@ procprt_ENDATE_e(struct tstat *curstat, int avgval, int nsecs)
591 }
592
593 detail_printdef procprt_ENDATE =
594- { " ENDATE ", "ENDATE", procprt_ENDATE_a, procprt_ENDATE_e, ' ', 10};
595+ { " ENDATE ", "ENDATE", .ac.doactiveconverts = procprt_ENDATE_a, procprt_ENDATE_e, ' ', 10};
596 /***************************************************************/
597 char *
598 procprt_ENTIME_a(struct tstat *curstat, int avgval, int nsecs)
599@@ -1220,7 +1220,7 @@ procprt_ENTIME_e(struct tstat *curstat, int avgval, int nsecs)
600 }
601
602 detail_printdef procprt_ENTIME =
603- { " ENTIME ", "ENTIME", procprt_ENTIME_a, procprt_ENTIME_e, ' ', 8};
604+ { " ENTIME ", "ENTIME", .ac.doactiveconverts = procprt_ENTIME_a, procprt_ENTIME_e, ' ', 8};
605 /***************************************************************/
606 char *
607 procprt_THR_a(struct tstat *curstat, int avgval, int nsecs)
608@@ -1238,7 +1238,7 @@ procprt_THR_e(struct tstat *curstat, int avgval, int nsecs)
609 }
610
611 detail_printdef procprt_THR =
612- { " THR", "THR", procprt_THR_a, procprt_THR_e, ' ', 4};
613+ { " THR", "THR", .ac.doactiveconverts = procprt_THR_a, procprt_THR_e, ' ', 4};
614 /***************************************************************/
615 char *
616 procprt_TRUN_a(struct tstat *curstat, int avgval, int nsecs)
617@@ -1256,7 +1256,7 @@ procprt_TRUN_e(struct tstat *curstat, int avgval, int nsecs)
618 }
619
620 detail_printdef procprt_TRUN =
621- { "TRUN", "TRUN", procprt_TRUN_a, procprt_TRUN_e, ' ', 4};
622+ { "TRUN", "TRUN", .ac.doactiveconverts = procprt_TRUN_a, procprt_TRUN_e, ' ', 4};
623 /***************************************************************/
624 char *
625 procprt_TSLPI_a(struct tstat *curstat, int avgval, int nsecs)
626@@ -1274,7 +1274,7 @@ procprt_TSLPI_e(struct tstat *curstat, int avgval, int nsecs)
627 }
628
629 detail_printdef procprt_TSLPI =
630- { "TSLPI", "TSLPI", procprt_TSLPI_a, procprt_TSLPI_e, ' ', 5};
631+ { "TSLPI", "TSLPI", .ac.doactiveconverts = procprt_TSLPI_a, procprt_TSLPI_e, ' ', 5};
632 /***************************************************************/
633 char *
634 procprt_TSLPU_a(struct tstat *curstat, int avgval, int nsecs)
635@@ -1292,7 +1292,7 @@ procprt_TSLPU_e(struct tstat *curstat, int avgval, int nsecs)
636 }
637
638 detail_printdef procprt_TSLPU =
639- { "TSLPU", "TSLPU", procprt_TSLPU_a, procprt_TSLPU_e, ' ', 5};
640+ { "TSLPU", "TSLPU", .ac.doactiveconverts = procprt_TSLPU_a, procprt_TSLPU_e, ' ', 5};
641 /***************************************************************/
642 char *
643 procprt_TIDLE_a(struct tstat *curstat, int avgval, int nsecs)
644@@ -1310,7 +1310,7 @@ procprt_TIDLE_e(struct tstat *curstat, int avgval, int nsecs)
645 }
646
647 detail_printdef procprt_TIDLE =
648- { "TIDLE", "TIDLE", procprt_TIDLE_a, procprt_TIDLE_e, ' ', 5};
649+ { "TIDLE", "TIDLE", .ac.doactiveconverts = procprt_TIDLE_a, procprt_TIDLE_e, ' ', 5};
650 /***************************************************************/
651 #define SCHED_NORMAL 0
652 #define SCHED_FIFO 1
653@@ -1357,7 +1357,7 @@ procprt_POLI_e(struct tstat *curstat, int avgval, int nsecs)
654 }
655
656 detail_printdef procprt_POLI =
657- { "POLI", "POLI", procprt_POLI_a, procprt_POLI_e, ' ', 4};
658+ { "POLI", "POLI", .ac.doactiveconverts = procprt_POLI_a, procprt_POLI_e, ' ', 4};
659 /***************************************************************/
660 char *
661 procprt_NICE_a(struct tstat *curstat, int avgval, int nsecs)
662@@ -1375,7 +1375,7 @@ procprt_NICE_e(struct tstat *curstat, int avgval, int nsecs)
663 }
664
665 detail_printdef procprt_NICE =
666- { "NICE", "NICE", procprt_NICE_a, procprt_NICE_e, ' ', 4};
667+ { "NICE", "NICE", .ac.doactiveconverts = procprt_NICE_a, procprt_NICE_e, ' ', 4};
668 /***************************************************************/
669 char *
670 procprt_PRI_a(struct tstat *curstat, int avgval, int nsecs)
671@@ -1393,7 +1393,7 @@ procprt_PRI_e(struct tstat *curstat, int avgval, int nsecs)
672 }
673
674 detail_printdef procprt_PRI =
675- { "PRI", "PRI", procprt_PRI_a, procprt_PRI_e, ' ', 3};
676+ { "PRI", "PRI", .ac.doactiveconverts = procprt_PRI_a, procprt_PRI_e, ' ', 3};
677 /***************************************************************/
678 char *
679 procprt_RTPR_a(struct tstat *curstat, int avgval, int nsecs)
680@@ -1411,7 +1411,7 @@ procprt_RTPR_e(struct tstat *curstat, int avgval, int nsecs)
681 }
682
683 detail_printdef procprt_RTPR =
684- { "RTPR", "RTPR", procprt_RTPR_a, procprt_RTPR_e, ' ', 4};
685+ { "RTPR", "RTPR", .ac.doactiveconverts = procprt_RTPR_a, procprt_RTPR_e, ' ', 4};
686 /***************************************************************/
687 char *
688 procprt_CURCPU_a(struct tstat *curstat, int avgval, int nsecs)
689@@ -1429,7 +1429,7 @@ procprt_CURCPU_e(struct tstat *curstat, int avgval, int nsecs)
690 }
691
692 detail_printdef procprt_CURCPU =
693- { "CPUNR", "CPUNR", procprt_CURCPU_a, procprt_CURCPU_e, ' ', 5};
694+ { "CPUNR", "CPUNR", .ac.doactiveconverts = procprt_CURCPU_a, procprt_CURCPU_e, ' ', 5};
695 /***************************************************************/
696 char *
697 procprt_ST_a(struct tstat *curstat, int avgval, int nsecs)
698@@ -1473,7 +1473,7 @@ procprt_ST_e(struct tstat *curstat, int avgval, int nsecs)
699 }
700
701 detail_printdef procprt_ST =
702- { "ST", "ST", procprt_ST_a, procprt_ST_e, ' ', 2};
703+ { "ST", "ST", .ac.doactiveconverts = procprt_ST_a, procprt_ST_e, ' ', 2};
704 /***************************************************************/
705 char *
706 procprt_EXC_a(struct tstat *curstat, int avgval, int nsecs)
707@@ -1496,7 +1496,7 @@ procprt_EXC_e(struct tstat *curstat, int avgval, int nsecs)
708
709
710 detail_printdef procprt_EXC =
711- { "EXC", "EXC", procprt_EXC_a, procprt_EXC_e, ' ', 3};
712+ { "EXC", "EXC", .ac.doactiveconverts = procprt_EXC_a, procprt_EXC_e, ' ', 3};
713 /***************************************************************/
714 char *
715 procprt_S_a(struct tstat *curstat, int avgval, int nsecs)
716@@ -1515,7 +1515,7 @@ procprt_S_e(struct tstat *curstat, int avgval, int nsecs)
717 }
718
719 detail_printdef procprt_S =
720- { "S", "S", procprt_S_a, procprt_S_e, ' ', 1};
721+ { "S", "S", .ac.doactiveconverts = procprt_S_a, procprt_S_e, ' ', 1};
722
723 /***************************************************************/
724 char *
725@@ -1546,7 +1546,7 @@ procprt_COMMAND_LINE_ae(struct tstat *curstat, int avgval, int nsecs)
726 detail_printdef procprt_COMMAND_LINE =
727 { "COMMAND-LINE (horizontal scroll with <- and -> keys)",
728 "COMMAND-LINE",
729- procprt_COMMAND_LINE_ae, procprt_COMMAND_LINE_ae, ' ', 0, 1};
730+ .ac.doactiveconverts = procprt_COMMAND_LINE_ae, procprt_COMMAND_LINE_ae, ' ', 0, 1};
731 /***************************************************************/
732 char *
733 procprt_NPROCS_ae(struct tstat *curstat, int avgval, int nsecs)
734@@ -1558,7 +1558,7 @@ procprt_NPROCS_ae(struct tstat *curstat, int avgval, int nsecs)
735 }
736
737 detail_printdef procprt_NPROCS =
738- { "NPROCS", "NPROCS", procprt_NPROCS_ae, procprt_NPROCS_ae, ' ', 6};
739+ { "NPROCS", "NPROCS", .ac.doactiveconverts = procprt_NPROCS_ae, procprt_NPROCS_ae, ' ', 6};
740 /***************************************************************/
741 char *
742 procprt_RDDSK_a(struct tstat *curstat, int avgval, int nsecs)
743@@ -1580,7 +1580,7 @@ procprt_RDDSK_e(struct tstat *curstat, int avgval, int nsecs)
744 }
745
746 detail_printdef procprt_RDDSK =
747- { " RDDSK", "RDDSK", procprt_RDDSK_a, procprt_RDDSK_e, ' ', 6};
748+ { " RDDSK", "RDDSK", .ac.doactiveconverts = procprt_RDDSK_a, procprt_RDDSK_e, ' ', 6};
749 /***************************************************************/
750 char *
751 procprt_WRDSK_a(struct tstat *curstat, int avgval, int nsecs)
752@@ -1602,7 +1602,7 @@ procprt_WRDSK_e(struct tstat *curstat, int avgval, int nsecs)
753 }
754
755 detail_printdef procprt_WRDSK =
756- { " WRDSK", "WRDSK", procprt_WRDSK_a, procprt_WRDSK_e, ' ', 6};
757+ { " WRDSK", "WRDSK", .ac.doactiveconverts = procprt_WRDSK_a, procprt_WRDSK_e, ' ', 6};
758 /***************************************************************/
759 char *
760 procprt_CWRDSK_a(struct tstat *curstat, int avgval, int nsecs)
761@@ -1621,7 +1621,7 @@ procprt_CWRDSK_a(struct tstat *curstat, int avgval, int nsecs)
762 }
763
764 detail_printdef procprt_CWRDSK =
765- {" WRDSK", "CWRDSK", procprt_CWRDSK_a, procprt_WRDSK_e, ' ', 6};
766+ {" WRDSK", "CWRDSK", .ac.doactiveconverts = procprt_CWRDSK_a, procprt_WRDSK_e, ' ', 6};
767 /***************************************************************/
768 char *
769 procprt_WCANCEL_a(struct tstat *curstat, int avgval, int nsecs)
770@@ -1643,7 +1643,7 @@ procprt_WCANCEL_e(struct tstat *curstat, int avgval, int nsecs)
771 }
772
773 detail_printdef procprt_WCANCEL =
774- {"WCANCL", "WCANCL", procprt_WCANCEL_a, procprt_WCANCEL_e, ' ', 6};
775+ {"WCANCL", "WCANCL", .ac.doactiveconverts = procprt_WCANCEL_a, procprt_WCANCEL_e, ' ', 6};
776 /***************************************************************/
777 char *
778 procprt_TCPRCV_a(struct tstat *curstat, int avgval, int nsecs)
779@@ -1672,7 +1672,7 @@ procprt_TCPRCV_e(struct tstat *curstat, int avgval, int nsecs)
780
781
782 detail_printdef procprt_TCPRCV =
783- { "TCPRCV", "TCPRCV", procprt_TCPRCV_a, procprt_TCPRCV_e, ' ', 6};
784+ { "TCPRCV", "TCPRCV", .ac.doactiveconverts = procprt_TCPRCV_a, procprt_TCPRCV_e, ' ', 6};
785 /***************************************************************/
786 char *
787 procprt_TCPRASZ_a(struct tstat *curstat, int avgval, int nsecs)
788@@ -1704,7 +1704,7 @@ procprt_TCPRASZ_e(struct tstat *curstat, int avgval, int nsecs)
789 }
790
791 detail_printdef procprt_TCPRASZ =
792- { "TCPRASZ", "TCPRASZ", procprt_TCPRASZ_a, procprt_TCPRASZ_e, ' ', 7};
793+ { "TCPRASZ", "TCPRASZ", .ac.doactiveconverts = procprt_TCPRASZ_a, procprt_TCPRASZ_e, ' ', 7};
794 /***************************************************************/
795 char *
796 procprt_TCPSND_a(struct tstat *curstat, int avgval, int nsecs)
797@@ -1732,7 +1732,7 @@ procprt_TCPSND_e(struct tstat *curstat, int avgval, int nsecs)
798 }
799
800 detail_printdef procprt_TCPSND =
801- { "TCPSND", "TCPSND", procprt_TCPSND_a, procprt_TCPSND_e, ' ', 6};
802+ { "TCPSND", "TCPSND", .ac.doactiveconverts = procprt_TCPSND_a, procprt_TCPSND_e, ' ', 6};
803 /***************************************************************/
804 char *
805 procprt_TCPSASZ_a(struct tstat *curstat, int avgval, int nsecs)
806@@ -1764,7 +1764,7 @@ procprt_TCPSASZ_e(struct tstat *curstat, int avgval, int nsecs)
807 }
808
809 detail_printdef procprt_TCPSASZ =
810- { "TCPSASZ", "TCPSASZ", procprt_TCPSASZ_a, procprt_TCPSASZ_e, ' ', 7};
811+ { "TCPSASZ", "TCPSASZ", .ac.doactiveconverts = procprt_TCPSASZ_a, procprt_TCPSASZ_e, ' ', 7};
812 /***************************************************************/
813 char *
814 procprt_UDPRCV_a(struct tstat *curstat, int avgval, int nsecs)
815@@ -1793,7 +1793,7 @@ procprt_UDPRCV_e(struct tstat *curstat, int avgval, int nsecs)
816
817
818 detail_printdef procprt_UDPRCV =
819- { "UDPRCV", "UDPRCV", procprt_UDPRCV_a, procprt_UDPRCV_e, ' ', 6};
820+ { "UDPRCV", "UDPRCV", .ac.doactiveconverts = procprt_UDPRCV_a, procprt_UDPRCV_e, ' ', 6};
821 /***************************************************************/
822 char *
823 procprt_UDPRASZ_a(struct tstat *curstat, int avgval, int nsecs)
824@@ -1826,7 +1826,7 @@ procprt_UDPRASZ_e(struct tstat *curstat, int avgval, int nsecs)
825
826
827 detail_printdef procprt_UDPRASZ =
828- { "UDPRASZ", "UDPRASZ", procprt_UDPRASZ_a, procprt_UDPRASZ_e, ' ', 7};
829+ { "UDPRASZ", "UDPRASZ", .ac.doactiveconverts = procprt_UDPRASZ_a, procprt_UDPRASZ_e, ' ', 7};
830 /***************************************************************/
831 char *
832 procprt_UDPSND_a(struct tstat *curstat, int avgval, int nsecs)
833@@ -1854,7 +1854,7 @@ procprt_UDPSND_e(struct tstat *curstat, int avgval, int nsecs)
834 }
835
836 detail_printdef procprt_UDPSND =
837- { "UDPSND", "UDPSND", procprt_UDPSND_a, procprt_UDPSND_e, ' ', 6};
838+ { "UDPSND", "UDPSND", .ac.doactiveconverts = procprt_UDPSND_a, procprt_UDPSND_e, ' ', 6};
839 /***************************************************************/
840 char *
841 procprt_UDPSASZ_a(struct tstat *curstat, int avgval, int nsecs)
842@@ -1887,7 +1887,7 @@ procprt_UDPSASZ_e(struct tstat *curstat, int avgval, int nsecs)
843
844
845 detail_printdef procprt_UDPSASZ =
846- { "UDPSASZ", "UDPSASZ", procprt_UDPSASZ_a, procprt_UDPSASZ_e, ' ', 7};
847+ { "UDPSASZ", "UDPSASZ", .ac.doactiveconverts = procprt_UDPSASZ_a, procprt_UDPSASZ_e, ' ', 7};
848 /***************************************************************/
849 char *
850 procprt_RNET_a(struct tstat *curstat, int avgval, int nsecs)
851@@ -1917,7 +1917,7 @@ procprt_RNET_e(struct tstat *curstat, int avgval, int nsecs)
852 }
853
854 detail_printdef procprt_RNET =
855- { " RNET", "RNET", procprt_RNET_a, procprt_RNET_e, ' ', 5};
856+ { " RNET", "RNET", .ac.doactiveconverts = procprt_RNET_a, procprt_RNET_e, ' ', 5};
857 /***************************************************************/
858 char *
859 procprt_SNET_a(struct tstat *curstat, int avgval, int nsecs)
860@@ -1945,7 +1945,7 @@ procprt_SNET_e(struct tstat *curstat, int avgval, int nsecs)
861 }
862
863 detail_printdef procprt_SNET =
864- { " SNET", "SNET", procprt_SNET_a, procprt_SNET_e, ' ', 5};
865+ { " SNET", "SNET", .ac.doactiveconverts = procprt_SNET_a, procprt_SNET_e, ' ', 5};
866 /***************************************************************/
867 char *
868 procprt_BANDWI_a(struct tstat *curstat, int avgval, int nsecs)
869@@ -1974,7 +1974,7 @@ procprt_BANDWI_e(struct tstat *curstat, int avgval, int nsecs)
870 }
871
872 detail_printdef procprt_BANDWI =
873- { " BANDWI", "BANDWI", procprt_BANDWI_a, procprt_BANDWI_e, ' ', 9};
874+ { " BANDWI", "BANDWI", .ac.doactiveconverts = procprt_BANDWI_a, procprt_BANDWI_e, ' ', 9};
875 /***************************************************************/
876 char *
877 procprt_BANDWO_a(struct tstat *curstat, int avgval, int nsecs)
878@@ -2003,7 +2003,7 @@ procprt_BANDWO_e(struct tstat *curstat, int avgval, int nsecs)
879 }
880
881 detail_printdef procprt_BANDWO =
882- { " BANDWO", "BANDWO", procprt_BANDWO_a, procprt_BANDWO_e, ' ', 9};
883+ { " BANDWO", "BANDWO", .ac.doactiveconverts = procprt_BANDWO_a, procprt_BANDWO_e, ' ', 9};
884 /***************************************************************/
885 static void
886 format_bandw(char *buf, count_t kbps)
887@@ -2069,7 +2069,7 @@ procprt_GPULIST_ae(struct tstat *curstat, int avgval, int nsecs)
888 }
889
890 detail_printdef procprt_GPULIST =
891- { " GPUNUMS", "GPULIST", procprt_GPULIST_ae, procprt_GPULIST_ae, ' ', 8};
892+ { " GPUNUMS", "GPULIST", .ac.doactiveconverts = procprt_GPULIST_ae, procprt_GPULIST_ae, ' ', 8};
893 /***************************************************************/
894 char *
895 procprt_GPUMEMNOW_ae(struct tstat *curstat, int avgval, int nsecs)
896@@ -2084,7 +2084,7 @@ procprt_GPUMEMNOW_ae(struct tstat *curstat, int avgval, int nsecs)
897 }
898
899 detail_printdef procprt_GPUMEMNOW =
900- { "MEMNOW", "GPUMEM", procprt_GPUMEMNOW_ae, procprt_GPUMEMNOW_ae, ' ', 6};
901+ { "MEMNOW", "GPUMEM", .ac.doactiveconverts = procprt_GPUMEMNOW_ae, procprt_GPUMEMNOW_ae, ' ', 6};
902 /***************************************************************/
903 char *
904 procprt_GPUMEMAVG_ae(struct tstat *curstat, int avgval, int nsecs)
905@@ -2103,7 +2103,7 @@ procprt_GPUMEMAVG_ae(struct tstat *curstat, int avgval, int nsecs)
906 }
907
908 detail_printdef procprt_GPUMEMAVG =
909- { "MEMAVG", "GPUMEMAVG", procprt_GPUMEMAVG_ae, procprt_GPUMEMAVG_ae, ' ', 6};
910+ { "MEMAVG", "GPUMEMAVG", .ac.doactiveconverts = procprt_GPUMEMAVG_ae, procprt_GPUMEMAVG_ae, ' ', 6};
911 /***************************************************************/
912 char *
913 procprt_GPUGPUBUSY_ae(struct tstat *curstat, int avgval, int nsecs)
914@@ -2121,7 +2121,7 @@ procprt_GPUGPUBUSY_ae(struct tstat *curstat, int avgval, int nsecs)
915 }
916
917 detail_printdef procprt_GPUGPUBUSY =
918- { "GPUBUSY", "GPUGPUBUSY", procprt_GPUGPUBUSY_ae, procprt_GPUGPUBUSY_ae, ' ', 7};
919+ { "GPUBUSY", "GPUGPUBUSY", .ac.doactiveconverts = procprt_GPUGPUBUSY_ae, procprt_GPUGPUBUSY_ae, ' ', 7};
920 /***************************************************************/
921 char *
922 procprt_GPUMEMBUSY_ae(struct tstat *curstat, int avgval, int nsecs)
923@@ -2139,7 +2139,7 @@ procprt_GPUMEMBUSY_ae(struct tstat *curstat, int avgval, int nsecs)
924 }
925
926 detail_printdef procprt_GPUMEMBUSY =
927- { "MEMBUSY", "GPUMEMBUSY", procprt_GPUMEMBUSY_ae, procprt_GPUMEMBUSY_ae, ' ', 7};
928+ { "MEMBUSY", "GPUMEMBUSY", .ac.doactiveconverts = procprt_GPUMEMBUSY_ae, procprt_GPUMEMBUSY_ae, ' ', 7};
929 /***************************************************************/
930 char *
931 procprt_WCHAN_a(struct tstat *curstat, int avgval, int nsecs)
932@@ -2164,7 +2164,7 @@ procprt_WCHAN_e(struct tstat *curstat, int avgval, int nsecs)
933 }
934
935 detail_printdef procprt_WCHAN =
936- { "WCHAN ", "WCHAN", procprt_WCHAN_a, procprt_WCHAN_e, ' ', 15};
937+ { "WCHAN ", "WCHAN", .ac.doactiveconverts = procprt_WCHAN_a, procprt_WCHAN_e, ' ', 15};
938 /***************************************************************/
939 char *
940 procprt_RUNDELAY_a(struct tstat *curstat, int avgval, int nsecs)
941@@ -2185,7 +2185,7 @@ procprt_RUNDELAY_e(struct tstat *curstat, int avgval, int nsecs)
942 }
943
944 detail_printdef procprt_RUNDELAY =
945- { "RDELAY", "RDELAY", procprt_RUNDELAY_a, procprt_RUNDELAY_e, ' ', 6};
946+ { "RDELAY", "RDELAY", .ac.doactiveconverts = procprt_RUNDELAY_a, procprt_RUNDELAY_e, ' ', 6};
947 /***************************************************************/
948 char *
949 procprt_BLKDELAY_a(struct tstat *curstat, int avgval, int nsecs)
950@@ -2206,7 +2206,7 @@ procprt_BLKDELAY_e(struct tstat *curstat, int avgval, int nsecs)
951 }
952
953 detail_printdef procprt_BLKDELAY =
954- { "BDELAY", "BDELAY", procprt_BLKDELAY_a, procprt_BLKDELAY_e, ' ', 6};
955+ { "BDELAY", "BDELAY", .ac.doactiveconverts = procprt_BLKDELAY_a, procprt_BLKDELAY_e, ' ', 6};
956 /***************************************************************/
957 char *
958 procprt_NVCSW_a(struct tstat *curstat, int avgval, int nsecs)
959@@ -2224,7 +2224,7 @@ procprt_NVCSW_e(struct tstat *curstat, int avgval, int nsecs)
960 }
961
962 detail_printdef procprt_NVCSW =
963- { " NVCSW", "NVCSW", procprt_NVCSW_a, procprt_NVCSW_e, ' ', 6};
964+ { " NVCSW", "NVCSW", .ac.doactiveconverts = procprt_NVCSW_a, procprt_NVCSW_e, ' ', 6};
965 /***************************************************************/
966 char *
967 procprt_NIVCSW_a(struct tstat *curstat, int avgval, int nsecs)
968@@ -2242,7 +2242,7 @@ procprt_NIVCSW_e(struct tstat *curstat, int avgval, int nsecs)
969 }
970
971 detail_printdef procprt_NIVCSW =
972- { "NIVCSW", "NIVCSW", procprt_NIVCSW_a, procprt_NIVCSW_e, ' ', 6};
973+ { "NIVCSW", "NIVCSW", .ac.doactiveconverts = procprt_NIVCSW_a, procprt_NIVCSW_e, ' ', 6};
974 /***************************************************************/
975 char *
976 procprt_SORTITEM_ae(struct tstat *curstat, int avgval, int nsecs)
977@@ -2251,7 +2251,7 @@ procprt_SORTITEM_ae(struct tstat *curstat, int avgval, int nsecs)
978 }
979
980 detail_printdef procprt_SORTITEM = // width is dynamically defined!
981- { 0, "SORTITEM", procprt_SORTITEM_ae, procprt_SORTITEM_ae, ' ', 4};
982+ { 0, "SORTITEM", .ac.doactiveconverts = procprt_SORTITEM_ae, procprt_SORTITEM_ae, ' ', 4};
983
984
985 /***************************************************************/
986@@ -2382,7 +2382,7 @@ showcgroupline(detail_printpair* elemptr,
987
988 color = 0;
989
990- buf = curelem.pf->doactiveconvert(cgchain, tstat,
991+ buf = curelem.pf->ac.doactiveconvertc(cgchain, tstat,
992 avgval, nsecs, cputicks, nrcpu, &color);
993
994 if (screen)
995@@ -2513,7 +2513,7 @@ cgroup_CGROUP_PATH(struct cgchainer *cgchain, struct tstat *tstat,
996
997 detail_printdef cgroupprt_CGROUP_PATH =
998 {"CGROUP (scroll: <- ->) ", "CGRPATH",
999- cgroup_CGROUP_PATH, NULL, ' ', 26, 0};
1000+ .ac.doactiveconvertc = cgroup_CGROUP_PATH, NULL, ' ', 26, 0};
1001 /***************************************************************/
1002 char *
1003 cgroup_CGRNPROCS(struct cgchainer *cgchain, struct tstat *tstat,
1004@@ -2530,7 +2530,7 @@ cgroup_CGRNPROCS(struct cgchainer *cgchain, struct tstat *tstat,
1005 }
1006
1007 detail_printdef cgroupprt_CGRNPROCS =
1008- { "NPROCS", "CGRNPROCS", cgroup_CGRNPROCS, NULL, ' ', 6};
1009+ { "NPROCS", "CGRNPROCS", .ac.doactiveconvertc = cgroup_CGRNPROCS, NULL, ' ', 6};
1010 /***************************************************************/
1011 char *
1012 cgroup_CGRNPROCSB(struct cgchainer *cgchain, struct tstat *tstat,
1013@@ -2547,7 +2547,7 @@ cgroup_CGRNPROCSB(struct cgchainer *cgchain, struct tstat *tstat,
1014 }
1015
1016 detail_printdef cgroupprt_CGRNPROCSB =
1017- { "PBELOW", "CGRNPROCSB", cgroup_CGRNPROCSB, NULL, ' ', 6};
1018+ { "PBELOW", "CGRNPROCSB", .ac.doactiveconvertc = cgroup_CGRNPROCSB, NULL, ' ', 6};
1019 /***************************************************************/
1020 char *
1021 cgroup_CGRCPUBUSY(struct cgchainer *cgchain, struct tstat *tstat,
1022@@ -2599,7 +2599,7 @@ cgroup_CGRCPUBUSY(struct cgchainer *cgchain, struct tstat *tstat,
1023 }
1024
1025 detail_printdef cgroupprt_CGRCPUBUSY =
1026- { "CPUBUSY", "CGRCPUBUSY", cgroup_CGRCPUBUSY, NULL, 'C', 7};
1027+ { "CPUBUSY", "CGRCPUBUSY", .ac.doactiveconvertc = cgroup_CGRCPUBUSY, NULL, 'C', 7};
1028 /***************************************************************/
1029 char *
1030 cgroup_CGRCPUPSI(struct cgchainer *cgchain, struct tstat *tstat,
1031@@ -2629,7 +2629,7 @@ cgroup_CGRCPUPSI(struct cgchainer *cgchain, struct tstat *tstat,
1032 }
1033
1034 detail_printdef cgroupprt_CGRCPUPSI =
1035- { "CPUPS", "CGRCPUPSI", cgroup_CGRCPUPSI, NULL, ' ', 5};
1036+ { "CPUPS", "CGRCPUPSI", .ac.doactiveconvertc = cgroup_CGRCPUPSI, NULL, ' ', 5};
1037 /***************************************************************/
1038 char *
1039 cgroup_CGRCPUMAX(struct cgchainer *cgchain, struct tstat *tstat,
1040@@ -2672,7 +2672,7 @@ cgroup_CGRCPUMAX(struct cgchainer *cgchain, struct tstat *tstat,
1041 }
1042
1043 detail_printdef cgroupprt_CGRCPUMAX =
1044- { "CPUMAX", "CGRCPUMAX", cgroup_CGRCPUMAX, NULL, ' ', 6};
1045+ { "CPUMAX", "CGRCPUMAX", .ac.doactiveconvertc = cgroup_CGRCPUMAX, NULL, ' ', 6};
1046 /***************************************************************/
1047 char *
1048 cgroup_CGRCPUWGT(struct cgchainer *cgchain, struct tstat *tstat,
1049@@ -2695,7 +2695,7 @@ cgroup_CGRCPUWGT(struct cgchainer *cgchain, struct tstat *tstat,
1050 }
1051
1052 detail_printdef cgroupprt_CGRCPUWGT =
1053- { "CPUWGT", "CGRCPUWGT", cgroup_CGRCPUWGT, NULL, ' ', 6};
1054+ { "CPUWGT", "CGRCPUWGT", .ac.doactiveconvertc = cgroup_CGRCPUWGT, NULL, ' ', 6};
1055 /***************************************************************/
1056 char *
1057 cgroup_CGRMEMORY(struct cgchainer *cgchain, struct tstat *tstat,
1058@@ -2740,7 +2740,7 @@ cgroup_CGRMEMORY(struct cgchainer *cgchain, struct tstat *tstat,
1059 }
1060
1061 detail_printdef cgroupprt_CGRMEMORY =
1062- { "MEMORY", "CGRMEMORY", cgroup_CGRMEMORY, NULL, 'M', 6};
1063+ { "MEMORY", "CGRMEMORY", .ac.doactiveconvertc = cgroup_CGRMEMORY, NULL, 'M', 6};
1064 /***************************************************************/
1065 char *
1066 cgroup_CGRMEMPSI(struct cgchainer *cgchain, struct tstat *tstat,
1067@@ -2770,7 +2770,7 @@ cgroup_CGRMEMPSI(struct cgchainer *cgchain, struct tstat *tstat,
1068 }
1069
1070 detail_printdef cgroupprt_CGRMEMPSI =
1071- { "MEMPS", "CGRMEMPSI", cgroup_CGRMEMPSI, NULL, ' ', 5};
1072+ { "MEMPS", "CGRMEMPSI", .ac.doactiveconvertc = cgroup_CGRMEMPSI, NULL, ' ', 5};
1073 /***************************************************************/
1074 char *
1075 cgroup_CGRMEMMAX(struct cgchainer *cgchain, struct tstat *tstat,
1076@@ -2810,7 +2810,7 @@ cgroup_CGRMEMMAX(struct cgchainer *cgchain, struct tstat *tstat,
1077 }
1078
1079 detail_printdef cgroupprt_CGRMEMMAX =
1080- { "MEMMAX", "CGRMEMMAX", cgroup_CGRMEMMAX, NULL, ' ', 6};
1081+ { "MEMMAX", "CGRMEMMAX", .ac.doactiveconvertc = cgroup_CGRMEMMAX, NULL, ' ', 6};
1082 /***************************************************************/
1083 char *
1084 cgroup_CGRSWPMAX(struct cgchainer *cgchain, struct tstat *tstat,
1085@@ -2835,7 +2835,7 @@ cgroup_CGRSWPMAX(struct cgchainer *cgchain, struct tstat *tstat,
1086 }
1087
1088 detail_printdef cgroupprt_CGRSWPMAX =
1089- { "SWPMAX", "CGRSWPMAX", cgroup_CGRSWPMAX, NULL, ' ', 6};
1090+ { "SWPMAX", "CGRSWPMAX", .ac.doactiveconvertc = cgroup_CGRSWPMAX, NULL, ' ', 6};
1091 /***************************************************************/
1092 char *
1093 cgroup_CGRDISKIO(struct cgchainer *cgchain, struct tstat *tstat,
1094@@ -2864,7 +2864,7 @@ cgroup_CGRDISKIO(struct cgchainer *cgchain, struct tstat *tstat,
1095 }
1096
1097 detail_printdef cgroupprt_CGRDISKIO =
1098- { "DISKIO", "CGRDISKIO", cgroup_CGRDISKIO, NULL, 'D', 6};
1099+ { "DISKIO", "CGRDISKIO", .ac.doactiveconvertc = cgroup_CGRDISKIO, NULL, 'D', 6};
1100 /***************************************************************/
1101 char *
1102 cgroup_CGRDSKPSI(struct cgchainer *cgchain, struct tstat *tstat,
1103@@ -2894,7 +2894,7 @@ cgroup_CGRDSKPSI(struct cgchainer *cgchain, struct tstat *tstat,
1104 }
1105
1106 detail_printdef cgroupprt_CGRDSKPSI =
1107- { "DSKPS", "CGRDSKPSI", cgroup_CGRDSKPSI, NULL, ' ', 5};
1108+ { "DSKPS", "CGRDSKPSI", .ac.doactiveconvertc = cgroup_CGRDSKPSI, NULL, ' ', 5};
1109 /***************************************************************/
1110 char *
1111 cgroup_CGRDSKWGT(struct cgchainer *cgchain, struct tstat *tstat,
1112@@ -2917,7 +2917,7 @@ cgroup_CGRDSKWGT(struct cgchainer *cgchain, struct tstat *tstat,
1113 }
1114
1115 detail_printdef cgroupprt_CGRDSKWGT =
1116- { "IOWGT", "CGRDSKWGT", cgroup_CGRDSKWGT, NULL, ' ', 5};
1117+ { "IOWGT", "CGRDSKWGT", .ac.doactiveconvertc = cgroup_CGRDSKWGT, NULL, ' ', 5};
1118 /***************************************************************/
1119 char *
1120 cgroup_CGRPID(struct cgchainer *cgchain, struct tstat *tstat,
1121@@ -2934,7 +2934,7 @@ cgroup_CGRPID(struct cgchainer *cgchain, struct tstat *tstat,
1122 }
1123
1124 detail_printdef cgroupprt_CGRPID =
1125- { "PID", "CGRPID", cgroup_CGRPID, NULL, ' ', 5}; //DYNAMIC WIDTH!
1126+ { "PID", "CGRPID", .ac.doactiveconvertc = cgroup_CGRPID, NULL, ' ', 5}; //DYNAMIC WIDTH!
1127 /***************************************************************/
1128 char *
1129 cgroup_CGRCMD(struct cgchainer *cgchain, struct tstat *tstat,
1130@@ -2963,5 +2963,5 @@ cgroup_CGRCMD(struct cgchainer *cgchain, struct tstat *tstat,
1131 }
1132
1133 detail_printdef cgroupprt_CGRCMD =
1134- { "CMD ", "CGRCMD", cgroup_CGRCMD, NULL, ' ', 14};
1135+ { "CMD ", "CGRCMD", .ac.doactiveconvertc = cgroup_CGRCMD, NULL, ' ', 14};
1136 /***************************************************************/
1137diff --git a/various.c b/various.c
1138index c175c10..906a529 100644
1139--- a/various.c
1140+++ b/various.c
1141@@ -29,6 +29,10 @@
1142 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1143 ** --------------------------------------------------------------------------
1144 */
1145+#define _POSIX_C_SOURCE
1146+#define _XOPEN_SOURCE
1147+#define _GNU_SOURCE
1148+#define _DEFAULT_SOURCE
1149
1150 #include <sys/types.h>
1151 #include <sys/param.h>
1152--
11532.34.1
1154
diff --git a/meta-oe/recipes-support/atop/atop/0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch b/meta-oe/recipes-support/atop/atop/0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch
deleted file mode 100644
index facb257be6..0000000000
--- a/meta-oe/recipes-support/atop/atop/0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1From ffc8ba8d324243a923abe48e9758adecb03d24a4 Mon Sep 17 00:00:00 2001
2From: Peter Kjellerstedt <pkj@axis.com>
3Date: Tue, 12 Feb 2019 21:25:23 +0100
4Subject: [PATCH] atop.daily, atop.init, atop-pm.sh: Avoid using bash
5
6Avoid using bash and bashisms when not necesary. On some systems,
7e.g., embedded products, bash may not be available by default.
8
9Upstream-Status: Submitted [https://github.com/Atoptool/atop/pull/50]
10Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
11---
12 atop-pm.sh | 2 +-
13 atop.daily | 4 ++--
14 atop.init | 4 ++--
15 3 files changed, 5 insertions(+), 5 deletions(-)
16
17diff --git a/atop-pm.sh b/atop-pm.sh
18index 7f41a86..3ff4ab5 100755
19--- a/atop-pm.sh
20+++ b/atop-pm.sh
21@@ -1,4 +1,4 @@
22-#!/bin/bash
23+#!/bin/sh
24
25 case "$1" in
26 pre) /usr/bin/systemctl stop atop
27diff --git a/atop.daily b/atop.daily
28index 57a9507..fe5a11b 100755
29--- a/atop.daily
30+++ b/atop.daily
31@@ -1,4 +1,4 @@
32-#!/bin/bash
33+#!/bin/sh
34
35 LOGOPTS="-R" # default options
36 LOGINTERVAL=600 # default interval in seconds
37@@ -38,7 +38,7 @@ then
38
39 while ps -p `cat "$PIDFILE"` > /dev/null
40 do
41- let CNT+=1
42+ CNT=$((CNT + 1))
43
44 if [ $CNT -gt 5 ]
45 then
46diff --git a/atop.init b/atop.init
47index e6e11dc..03c3f02 100755
48--- a/atop.init
49+++ b/atop.init
50@@ -1,4 +1,4 @@
51-#!/bin/bash
52+#!/bin/sh
53 #
54 # atop Startup script for the Atop process logging in background
55 #
56@@ -47,7 +47,7 @@ case "$1" in
57
58 while ps -p `cat $PIDFILE` > /dev/null
59 do
60- let CNT+=1
61+ CNT=$((CNT + 1))
62
63 if [ $CNT -gt 5 ]
64 then
65--
662.12.0
67
diff --git a/meta-oe/recipes-support/atop/atop/fix-permissions.patch b/meta-oe/recipes-support/atop/atop/fix-permissions.patch
index 8488b38000..10f504b472 100644
--- a/meta-oe/recipes-support/atop/atop/fix-permissions.patch
+++ b/meta-oe/recipes-support/atop/atop/fix-permissions.patch
@@ -8,24 +8,32 @@ everyone could read.
8 8
9Upstream-Status: Inappropriate [embedded specific] 9Upstream-Status: Inappropriate [embedded specific]
10Signed-off-by: Kai Kang <kai.kang@windriver.com> 10Signed-off-by: Kai Kang <kai.kang@windriver.com>
11Signed-off-by: Tho Dat Nguyen <tho3.nguyen@lge.com>
11--- 12---
12 Makefile | 10 +++++----- 13 Makefile | 16 ++++++++--------
13 1 file changed, 5 insertions(+), 5 deletions(-) 14 1 file changed, 8 insertions(+), 8 deletions(-)
14 15
15diff --git a/Makefile b/Makefile 16diff --git a/Makefile b/Makefile
16index 3bf5929..1221ee4 100644 17index a6f196b..7786f93 100644
17--- a/Makefile 18--- a/Makefile
18+++ b/Makefile 19+++ b/Makefile
19@@ -72,7 +72,7 @@ systemdinstall: genericinstall 20@@ -77,7 +77,7 @@ install: genericinstall
20 chmod 0644 $(DESTDIR)$(SYSDPATH)/atopacct.service 21 cp atopacct.service $(DESTDIR)$(SYSDPATH)
21 cp atop.cronsystemd $(DESTDIR)$(CRNPATH)/atop 22 chmod 0644 $(DESTDIR)$(SYSDPATH)/atopacct.service
22 cp atop-pm.sh $(DESTDIR)$(PMPATHD) 23 cp atop-pm.sh $(DESTDIR)$(PMPATHD)
23- chmod 0711 $(DESTDIR)$(PMPATHD)/atop-pm.sh 24- chmod 0711 $(DESTDIR)$(PMPATHD)/atop-pm.sh
24+ chmod 0755 $(DESTDIR)$(PMPATHD)/atop-pm.sh 25+ chmod 0755 $(DESTDIR)$(PMPATHD)/atop-pm.sh
25 # 26 #
26 # only when making on target system: 27 # only when making on target system:
27 # 28 #
28@@ -97,11 +97,11 @@ sysvinstall: genericinstall 29@@ -107,17 +107,17 @@ sysvinstall: genericinstall
30 cp atopacct.init $(DESTDIR)$(INIPATH)/atopacct
31 cp atop.cronsysv $(DESTDIR)$(CRNPATH)/atop
32 cp atop.daily $(DESTDIR)$(SCRPATH)
33- chmod 0711 $(DESTDIR)$(SCRPATH)/atop.daily
34+ chmod 0755 $(DESTDIR)$(SCRPATH)/atop.daily
35 touch $(DESTDIR)$(LOGPATH)/dummy_before
36 touch $(DESTDIR)$(LOGPATH)/dummy_after
29 # 37 #
30 if [ -d $(DESTDIR)$(PMPATH1) ]; \ 38 if [ -d $(DESTDIR)$(PMPATH1) ]; \
31 then cp 45atoppm $(DESTDIR)$(PMPATH1); \ 39 then cp 45atoppm $(DESTDIR)$(PMPATH1); \
@@ -39,21 +47,27 @@ index 3bf5929..1221ee4 100644
39 fi 47 fi
40 # 48 #
41 # 49 #
42@@ -145,7 +145,7 @@ genericinstall: atop atopacctd atopconvert 50@@ -160,7 +160,7 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
51 chmod 644 $(DESTDIR)$(DEFPATH)/atop
43 # 52 #
44 cp atop $(DESTDIR)$(BINPATH)/atop 53 cp atop $(DESTDIR)$(BINPATH)/atop
45 chown root $(DESTDIR)$(BINPATH)/atop 54- chmod 0711 $(DESTDIR)$(BINPATH)/atop
46- chmod 04711 $(DESTDIR)$(BINPATH)/atop
47+ chmod 0755 $(DESTDIR)$(BINPATH)/atop 55+ chmod 0755 $(DESTDIR)$(BINPATH)/atop
48 ln -sf atop $(DESTDIR)$(BINPATH)/atopsar 56 ln -sf atop $(DESTDIR)$(BINPATH)/atopsar
49 cp atopacctd $(DESTDIR)$(SBINPATH)/atopacctd 57 cp atopacctd $(DESTDIR)$(SBINPATH)/atopacctd
50 chown root $(DESTDIR)$(SBINPATH)/atopacctd 58 chmod 0700 $(DESTDIR)$(SBINPATH)/atopacctd
51@@ -159,7 +159,7 @@ genericinstall: atop atopacctd atopconvert 59@@ -169,11 +169,11 @@ genericinstall: atop atopacctd atopconvert atopcat atophide
52 chown root $(DESTDIR)$(BINPATH)/atopconvert 60 cp atop $(DESTDIR)$(BINPATH)/atop-$(VERS)
53 chmod 0711 $(DESTDIR)$(BINPATH)/atopconvert 61 ln -sf atop-$(VERS) $(DESTDIR)$(BINPATH)/atopsar-$(VERS)
54 cp atop.daily $(DESTDIR)$(SCRPATH) 62 cp atopconvert $(DESTDIR)$(BINPATH)/atopconvert
55- chmod 0711 $(DESTDIR)$(SCRPATH)/atop.daily 63- chmod 0711 $(DESTDIR)$(BINPATH)/atopconvert
56+ chmod 0755 $(DESTDIR)$(SCRPATH)/atop.daily 64+ chmod 0755 $(DESTDIR)$(BINPATH)/atopconvert
65 cp atopcat $(DESTDIR)$(BINPATH)/atopcat
66- chmod 0711 $(DESTDIR)$(BINPATH)/atopcat
67+ chmod 0755 $(DESTDIR)$(BINPATH)/atopcat
68 cp atophide $(DESTDIR)$(BINPATH)/atophide
69- chmod 0711 $(DESTDIR)$(BINPATH)/atophide
70+ chmod 0755 $(DESTDIR)$(BINPATH)/atophide
57 cp man/atop.1 $(DESTDIR)$(MAN1PATH) 71 cp man/atop.1 $(DESTDIR)$(MAN1PATH)
58 cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) 72 cp man/atopsar.1 $(DESTDIR)$(MAN1PATH)
59 cp man/atopconvert.1 $(DESTDIR)$(MAN1PATH) 73 cp man/atopconvert.1 $(DESTDIR)$(MAN1PATH)
diff --git a/meta-oe/recipes-support/atop/atop_2.4.0.bb b/meta-oe/recipes-support/atop/atop_2.11.0.bb
index 4b0e74227b..8eb8cd6b06 100644
--- a/meta-oe/recipes-support/atop/atop_2.4.0.bb
+++ b/meta-oe/recipes-support/atop/atop_2.11.0.bb
@@ -13,18 +13,23 @@ SECTION = "console/utils"
13LICENSE = "GPL-2.0-only" 13LICENSE = "GPL-2.0-only"
14LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" 14LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
15 15
16DEPENDS = "ncurses zlib" 16inherit pkgconfig
17
18DEPENDS = "ncurses zlib glib-2.0"
17 19
18SRC_URI = "http://www.atoptool.nl/download/${BP}.tar.gz \ 20SRC_URI = "http://www.atoptool.nl/download/${BP}.tar.gz \
19 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://volatiles.atop.conf', 'file://volatiles.99_atop', d)} \ 21 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'file://volatiles.atop.conf', 'file://volatiles.99_atop', d)} \
20 file://fix-permissions.patch \ 22 file://fix-permissions.patch \
21 file://sysvinit-implement-status.patch \ 23 file://sysvinit-implement-status.patch \
22 file://0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch \ 24 file://0001-Redefine-function-prototypes-solves-issue-322.patch \
23 " 25 "
24SRC_URI[md5sum] = "1077da884ed94f2bc3c81ac3ab970436" 26SRC_URI[sha256sum] = "9b94c666602efff7bf402ecce706c347f38c39cb63498f9d39626861e5646e20"
25SRC_URI[sha256sum] = "be1c010a77086b7d98376fce96514afcd73c3f20a8d1fe01520899ff69a73d69" 27
28UPSTREAM_CHECK_URI = "https://atoptool.nl/downloadatop.php"
29UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+).tar"
26 30
27CVE_STATUS[CVE-2011-3618] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 31CVE_STATUS[CVE-2011-3618] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
32TARGET_CC_ARCH += "${LDFLAGS}"
28 33
29do_compile() { 34do_compile() {
30 oe_runmake all 35 oe_runmake all
@@ -33,7 +38,7 @@ do_compile() {
33do_install() { 38do_install() {
34 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 39 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
35 make DESTDIR=${D} VERS=${PV} SYSDPATH=${systemd_system_unitdir} \ 40 make DESTDIR=${D} VERS=${PV} SYSDPATH=${systemd_system_unitdir} \
36 PMPATHD=${systemd_unitdir}/system-sleep systemdinstall 41 PMPATHD=${systemd_unitdir}/system-sleep install
37 install -d ${D}${sysconfdir}/tmpfiles.d 42 install -d ${D}${sysconfdir}/tmpfiles.d
38 install -m 644 ${UNPACKDIR}/volatiles.atop.conf ${D}${sysconfdir}/tmpfiles.d/atop.conf 43 install -m 644 ${UNPACKDIR}/volatiles.atop.conf ${D}${sysconfdir}/tmpfiles.d/atop.conf
39 rm -f ${D}${systemd_system_unitdir}/atopacct.service 44 rm -f ${D}${systemd_system_unitdir}/atopacct.service
@@ -54,9 +59,9 @@ do_install() {
54 59
55inherit systemd 60inherit systemd
56 61
57SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service" 62SYSTEMD_SERVICE:${PN} = "atop.service atopgpu.service atop-rotate.service"
58SYSTEMD_AUTO_ENABLE = "disable" 63SYSTEMD_AUTO_ENABLE = "disable"
59 64
60FILES:${PN} += "${systemd_unitdir}/system-sleep" 65FILES:${PN} += "${systemd_unitdir}/system-sleep ${systemd_system_unitdir}/atop-rotate.timer"
61 66
62RDEPENDS:${PN} = "procps" 67RDEPENDS:${PN} = "procps"
diff --git a/meta-oe/recipes-support/augeas/augeas_1.12.0.bb b/meta-oe/recipes-support/augeas/augeas_1.12.0.bb
index 2c6d4cdc88..14e818253b 100644
--- a/meta-oe/recipes-support/augeas/augeas_1.12.0.bb
+++ b/meta-oe/recipes-support/augeas/augeas_1.12.0.bb
@@ -9,7 +9,6 @@ SRC_URI = "http://download.augeas.net/${BP}.tar.gz \
9 file://sepbuildfix.patch \ 9 file://sepbuildfix.patch \
10 file://0001-src-internal-Use-__GLIBC__-to-check-for-GNU-extentio.patch \ 10 file://0001-src-internal-Use-__GLIBC__-to-check-for-GNU-extentio.patch \
11 " 11 "
12SRC_URI[md5sum] = "74f1c7b8550f4e728486091f6b907175"
13SRC_URI[sha256sum] = "321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87" 12SRC_URI[sha256sum] = "321942c9cc32185e2e9cb72d0a70eea106635b50269075aca6714e3ec282cb87"
14 13
15DEPENDS = "readline libxml2" 14DEPENDS = "readline libxml2"
diff --git a/meta-oe/recipes-support/avro/avro-c++_1.11.3.bb b/meta-oe/recipes-support/avro/avro-c++_1.11.3.bb
index 6ec25bdd2b..c1e8863fb3 100644
--- a/meta-oe/recipes-support/avro/avro-c++_1.11.3.bb
+++ b/meta-oe/recipes-support/avro/avro-c++_1.11.3.bb
@@ -15,8 +15,13 @@ SRC_URI = "git://github.com/apache/avro;branch=${BRANCH};protocol=https \
15 file://0003-Update-CXX-standard-to-CXX14.patch \ 15 file://0003-Update-CXX-standard-to-CXX14.patch \
16 " 16 "
17 17
18S = "${WORKDIR}/git/lang/c++" 18S = "${UNPACKDIR}/${BP}/lang/c++"
19 19
20inherit cmake pkgconfig 20inherit cmake pkgconfig
21 21
22BBCLASSEXTEND = "native nativesdk" 22BBCLASSEXTEND = "native nativesdk"
23
24# http://errors.yoctoproject.org/Errors/Details/766913/
25# avro-c++/1.11.3/git/lang/c++/impl/Compiler.cc:304:18: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
26# avro-c++/1.11.3/git/lang/c++/impl/Compiler.cc:370:18: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
27CXXFLAGS += "-Wno-error=dangling-reference"
diff --git a/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch b/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch
new file mode 100644
index 0000000000..bfe2ea6367
--- /dev/null
+++ b/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch
@@ -0,0 +1,59 @@
1From 52f051dbeefad0b7e73187becad6c33747b047d3 Mon Sep 17 00:00:00 2001
2From: Sahil Kang <sahil.kang@asilaycomputing.com>
3Date: Mon, 11 Mar 2024 03:01:21 -0700
4Subject: [PATCH] AVRO-3957: [C] Fix typos in docs and examples (#2795)
5
6* AVRO-3957: [C] Fix misformatted type in docs
7
8Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
9Signed-off-by: Sahil Kang <sahilkang@google.com>
10
11* AVRO-3957: [C] Fix type in quickstop example
12
13This removes the following warning:
14
15 avro/lang/c/examples/quickstop.c:123:40: warning: incompatible pointer types passing 'int32_t **' (aka 'int **') to parameter of type
16 'const char **' [-Wincompatible-pointer-types]
17 avro_value_get_string(&first_value, &p, &size);
18
19Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
20Signed-off-by: Sahil Kang <sahilkang@google.com>
21
22---------
23
24Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
25Signed-off-by: Sahil Kang <sahilkang@google.com>
26
27Upstream-Status: Backport [52f051dbee AVRO-3957: [C] Fix typos in docs and examples (#2795)]
28Signed-off-by: mark.yang <mark.yang@lge.com>
29---
30 lang/c/docs/index.txt | 2 +-
31 lang/c/examples/quickstop.c | 2 +-
32 2 files changed, 2 insertions(+), 2 deletions(-)
33
34diff --git a/lang/c/docs/index.txt b/lang/c/docs/index.txt
35index a439a0526..df16f9d96 100644
36--- a/lang/c/docs/index.txt
37+++ b/lang/c/docs/index.txt
38@@ -178,7 +178,7 @@ different versions of the Avro library. That means that it's really
39 only safe to use these hash values internally within the context of a
40 single execution of a single application.
41
42-The +reset+ method “clears out” an +avro_value_t instance, making sure
43+The +reset+ method “clears out” an +avro_value_t+ instance, making sure
44 that it's ready to accept the contents of a new value. For scalars,
45 this is usually a no-op, since the new value will just overwrite the old
46 one. For arrays and maps, this removes any existing elements from the
47diff --git a/lang/c/examples/quickstop.c b/lang/c/examples/quickstop.c
48index ff9e97005..b26dad10c 100644
49--- a/lang/c/examples/quickstop.c
50+++ b/lang/c/examples/quickstop.c
51@@ -107,7 +107,7 @@ int print_person(avro_file_reader_t db, avro_schema_t reader_schema)
52 if (rval == 0) {
53 int64_t id;
54 int32_t age;
55- int32_t *p;
56+ const char *p;
57 size_t size;
58 avro_value_t id_value;
59 avro_value_t first_value;
diff --git a/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch b/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch
new file mode 100644
index 0000000000..8f7bbc868a
--- /dev/null
+++ b/meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch
@@ -0,0 +1,386 @@
1From 03ea96b48f7e668abd9f3b33799635e4e50a526c Mon Sep 17 00:00:00 2001
2From: Sahil Kang <sahilkang@google.com>
3Date: Mon, 25 Mar 2024 04:41:41 -0700
4Subject: [PATCH] AVRO-3960: [C] Fix st ANYARGS warning (#2798)
5
6This removes the following warning:
7
8 avro/lang/c/src/st.c:240:13: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not
9 supported in C2x [-Wdeprecated-non-prototype]
10 hash_val = do_hash(key, table);
11
12Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
13Signed-off-by: Sahil Kang <sahilkang@google.com>
14
15Upstream-Status: Backport [03ea96b48f AVRO-3960: [C] Fix st ANYARGS warning (#2798)]
16Signed-off-by: mark.yang <mark.yang@lge.com>
17---
18 lang/c/src/datum.c | 12 ++++++------
19 lang/c/src/datum_equal.c | 4 ++--
20 lang/c/src/datum_size.c | 2 +-
21 lang/c/src/datum_validate.c | 2 +-
22 lang/c/src/memoize.c | 6 +++---
23 lang/c/src/schema.c | 10 +++++-----
24 lang/c/src/st.c | 34 ++++++++++++++++++----------------
25 lang/c/src/st.h | 22 +++++++++-------------
26 8 files changed, 45 insertions(+), 47 deletions(-)
27
28diff --git a/lang/c/src/datum.c b/lang/c/src/datum.c
29index 53dfa5ca0..5307c7a83 100644
30--- a/lang/c/src/datum.c
31+++ b/lang/c/src/datum.c
32@@ -1095,7 +1095,7 @@ static void avro_datum_free(avro_datum_t datum)
33 record = avro_datum_to_record(datum);
34 avro_schema_decref(record->schema);
35 st_foreach(record->fields_byname,
36- HASH_FUNCTION_CAST char_datum_free_foreach, 0);
37+ (hash_function_foreach) char_datum_free_foreach, 0);
38 st_free_table(record->field_order);
39 st_free_table(record->fields_byname);
40 avro_freet(struct avro_record_datum_t, record);
41@@ -1123,7 +1123,7 @@ static void avro_datum_free(avro_datum_t datum)
42 struct avro_map_datum_t *map;
43 map = avro_datum_to_map(datum);
44 avro_schema_decref(map->schema);
45- st_foreach(map->map, HASH_FUNCTION_CAST char_datum_free_foreach,
46+ st_foreach(map->map, (hash_function_foreach) char_datum_free_foreach,
47 0);
48 st_free_table(map->map);
49 st_free_table(map->indices_by_key);
50@@ -1135,7 +1135,7 @@ static void avro_datum_free(avro_datum_t datum)
51 struct avro_array_datum_t *array;
52 array = avro_datum_to_array(datum);
53 avro_schema_decref(array->schema);
54- st_foreach(array->els, HASH_FUNCTION_CAST array_free_foreach, 0);
55+ st_foreach(array->els, (hash_function_foreach) array_free_foreach, 0);
56 st_free_table(array->els);
57 avro_freet(struct avro_array_datum_t, array);
58 }
59@@ -1183,7 +1183,7 @@ avro_datum_reset(avro_datum_t datum)
60 {
61 struct avro_array_datum_t *array;
62 array = avro_datum_to_array(datum);
63- st_foreach(array->els, HASH_FUNCTION_CAST array_free_foreach, 0);
64+ st_foreach(array->els, (hash_function_foreach) array_free_foreach, 0);
65 st_free_table(array->els);
66
67 rval = avro_init_array(array);
68@@ -1198,7 +1198,7 @@ avro_datum_reset(avro_datum_t datum)
69 {
70 struct avro_map_datum_t *map;
71 map = avro_datum_to_map(datum);
72- st_foreach(map->map, HASH_FUNCTION_CAST char_datum_free_foreach, 0);
73+ st_foreach(map->map, (hash_function_foreach) char_datum_free_foreach, 0);
74 st_free_table(map->map);
75 st_free_table(map->indices_by_key);
76 st_free_table(map->keys_by_index);
77@@ -1217,7 +1217,7 @@ avro_datum_reset(avro_datum_t datum)
78 record = avro_datum_to_record(datum);
79 rval = 0;
80 st_foreach(record->fields_byname,
81- HASH_FUNCTION_CAST datum_reset_foreach, (st_data_t) &rval);
82+ (hash_function_foreach) datum_reset_foreach, (st_data_t) &rval);
83 return rval;
84 }
85
86diff --git a/lang/c/src/datum_equal.c b/lang/c/src/datum_equal.c
87index 3875bea04..7e7c9b940 100644
88--- a/lang/c/src/datum_equal.c
89+++ b/lang/c/src/datum_equal.c
90@@ -78,7 +78,7 @@ static int map_equal(struct avro_map_datum_t *a, struct avro_map_datum_t *b)
91 if (a->map->num_entries != b->map->num_entries) {
92 return 0;
93 }
94- st_foreach(a->map, HASH_FUNCTION_CAST st_equal_foreach, (st_data_t) & args);
95+ st_foreach(a->map, (hash_function_foreach) st_equal_foreach, (st_data_t) & args);
96 return args.rval;
97 }
98
99@@ -93,7 +93,7 @@ static int record_equal(struct avro_record_datum_t *a,
100 if (a->fields_byname->num_entries != b->fields_byname->num_entries) {
101 return 0;
102 }
103- st_foreach(a->fields_byname, HASH_FUNCTION_CAST st_equal_foreach, (st_data_t) & args);
104+ st_foreach(a->fields_byname, (hash_function_foreach) st_equal_foreach, (st_data_t) & args);
105 return args.rval;
106 }
107
108diff --git a/lang/c/src/datum_size.c b/lang/c/src/datum_size.c
109index be9b98004..3877f3138 100644
110--- a/lang/c/src/datum_size.c
111+++ b/lang/c/src/datum_size.c
112@@ -126,7 +126,7 @@ size_map(avro_writer_t writer, const avro_encoding_t * enc,
113 if (datum->map->num_entries) {
114 size_accum(rval, size,
115 enc->size_long(writer, datum->map->num_entries));
116- st_foreach(datum->map, HASH_FUNCTION_CAST size_map_foreach, (st_data_t) & args);
117+ st_foreach(datum->map, (hash_function_foreach) size_map_foreach, (st_data_t) & args);
118 size += args.size;
119 }
120 if (!args.rval) {
121diff --git a/lang/c/src/datum_validate.c b/lang/c/src/datum_validate.c
122index 6167bd63f..e997d3067 100644
123--- a/lang/c/src/datum_validate.c
124+++ b/lang/c/src/datum_validate.c
125@@ -123,7 +123,7 @@ avro_schema_datum_validate(avro_schema_t expected_schema, avro_datum_t datum)
126 { avro_schema_to_map(expected_schema)->values, 1
127 };
128 st_foreach(avro_datum_to_map(datum)->map,
129- HASH_FUNCTION_CAST schema_map_validate_foreach,
130+ (hash_function_foreach) schema_map_validate_foreach,
131 (st_data_t) & vst);
132 return vst.rval;
133 }
134diff --git a/lang/c/src/memoize.c b/lang/c/src/memoize.c
135index 933fecbd0..e3602884d 100644
136--- a/lang/c/src/memoize.c
137+++ b/lang/c/src/memoize.c
138@@ -52,8 +52,8 @@ avro_memoize_key_hash(avro_memoize_key_t *a)
139
140
141 static struct st_hash_type avro_memoize_hash_type = {
142- HASH_FUNCTION_CAST avro_memoize_key_cmp,
143- HASH_FUNCTION_CAST avro_memoize_key_hash
144+ (hash_function_compare) avro_memoize_key_cmp,
145+ (hash_function_hash) avro_memoize_key_hash
146 };
147
148
149@@ -78,7 +78,7 @@ avro_memoize_free_key(avro_memoize_key_t *key, void *result, void *dummy)
150 void
151 avro_memoize_done(avro_memoize_t *mem)
152 {
153- st_foreach((st_table *) mem->cache, HASH_FUNCTION_CAST avro_memoize_free_key, 0);
154+ st_foreach((st_table *) mem->cache, (hash_function_foreach) avro_memoize_free_key, 0);
155 st_free_table((st_table *) mem->cache);
156 memset(mem, 0, sizeof(avro_memoize_t));
157 }
158diff --git a/lang/c/src/schema.c b/lang/c/src/schema.c
159index 2acad51a1..a4d8e9f89 100644
160--- a/lang/c/src/schema.c
161+++ b/lang/c/src/schema.c
162@@ -137,7 +137,7 @@ static void avro_schema_free(avro_schema_t schema)
163 if (record->space) {
164 avro_str_free(record->space);
165 }
166- st_foreach(record->fields, HASH_FUNCTION_CAST record_free_foreach,
167+ st_foreach(record->fields, (hash_function_foreach) record_free_foreach,
168 0);
169 st_free_table(record->fields_byname);
170 st_free_table(record->fields);
171@@ -152,7 +152,7 @@ static void avro_schema_free(avro_schema_t schema)
172 if (enump->space) {
173 avro_str_free(enump->space);
174 }
175- st_foreach(enump->symbols, HASH_FUNCTION_CAST enum_free_foreach,
176+ st_foreach(enump->symbols, (hash_function_foreach) enum_free_foreach,
177 0);
178 st_free_table(enump->symbols);
179 st_free_table(enump->symbols_byname);
180@@ -189,7 +189,7 @@ static void avro_schema_free(avro_schema_t schema)
181 case AVRO_UNION:{
182 struct avro_union_schema_t *unionp;
183 unionp = avro_schema_to_union(schema);
184- st_foreach(unionp->branches, HASH_FUNCTION_CAST union_free_foreach,
185+ st_foreach(unionp->branches, (hash_function_foreach) union_free_foreach,
186 0);
187 st_free_table(unionp->branches);
188 st_free_table(unionp->branches_byname);
189@@ -1239,7 +1239,7 @@ avro_schema_from_json_root(json_t *root, avro_schema_t *schema)
190 /* json_dumpf(root, stderr, 0); */
191 rval = avro_schema_from_json_t(root, schema, named_schemas, NULL);
192 json_decref(root);
193- st_foreach(named_schemas, HASH_FUNCTION_CAST named_schema_free_foreach, 0);
194+ st_foreach(named_schemas, (hash_function_foreach) named_schema_free_foreach, 0);
195 st_free_table(named_schemas);
196 return rval;
197 }
198@@ -1455,7 +1455,7 @@ avro_schema_t avro_schema_copy(avro_schema_t schema)
199 }
200
201 new_schema = avro_schema_copy_root(schema, named_schemas);
202- st_foreach(named_schemas, HASH_FUNCTION_CAST named_schema_free_foreach, 0);
203+ st_foreach(named_schemas, (hash_function_foreach) named_schema_free_foreach, 0);
204 st_free_table(named_schemas);
205 return new_schema;
206 }
207diff --git a/lang/c/src/st.c b/lang/c/src/st.c
208index 27578289e..8437777cb 100644
209--- a/lang/c/src/st.c
210+++ b/lang/c/src/st.c
211@@ -39,8 +39,8 @@ struct st_table_entry {
212 static int numcmp(long, long);
213 static int numhash(long);
214 static struct st_hash_type type_numhash = {
215- HASH_FUNCTION_CAST numcmp,
216- HASH_FUNCTION_CAST numhash
217+ (hash_function_compare) numcmp,
218+ (hash_function_hash) numhash
219 };
220
221 /*
222@@ -48,8 +48,8 @@ static struct st_hash_type type_numhash = {
223 */
224 static int strhash(const char *);
225 static struct st_hash_type type_strhash = {
226- HASH_FUNCTION_CAST strcmp,
227- HASH_FUNCTION_CAST strhash
228+ (hash_function_compare) strcmp,
229+ (hash_function_hash) strhash
230 };
231
232 static void rehash(st_table *);
233@@ -212,7 +212,7 @@ void st_free_table(st_table *table)
234 }
235
236 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \
237-((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
238+((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (void*) (key), (void*) (ptr)->key)))
239
240 #ifdef HASH_LOG
241 #define COLLISION collision++
242@@ -237,7 +237,7 @@ int st_lookup(st_table *table, register st_data_t key, st_data_t *value)
243 unsigned int hash_val, bin_pos;
244 register st_table_entry *ptr;
245
246- hash_val = do_hash(key, table);
247+ hash_val = do_hash((void*) key, table);
248 FIND_ENTRY(table, ptr, hash_val, bin_pos);
249
250 if (ptr == 0) {
251@@ -272,7 +272,7 @@ int st_insert(register st_table *table, register st_data_t key, st_data_t value)
252 unsigned int hash_val, bin_pos;
253 register st_table_entry *ptr;
254
255- hash_val = do_hash(key, table);
256+ hash_val = do_hash((void*) key, table);
257 FIND_ENTRY(table, ptr, hash_val, bin_pos);
258
259 if (ptr == 0) {
260@@ -288,7 +288,7 @@ void st_add_direct(st_table *table,st_data_t key,st_data_t value)
261 {
262 unsigned int hash_val, bin_pos;
263
264- hash_val = do_hash(key, table);
265+ hash_val = do_hash((void*) key, table);
266 bin_pos = hash_val % table->num_bins;
267 ADD_DIRECT(table, key, value, hash_val, bin_pos);
268 }
269@@ -363,7 +363,7 @@ int st_delete(register st_table *table,register st_data_t *key,st_data_t *value)
270 st_table_entry *tmp;
271 register st_table_entry *ptr;
272
273- hash_val = do_hash_bin(*key, table);
274+ hash_val = do_hash_bin((void*) *key, table);
275 ptr = table->bins[hash_val];
276
277 if (ptr == 0) {
278@@ -372,7 +372,7 @@ int st_delete(register st_table *table,register st_data_t *key,st_data_t *value)
279 return 0;
280 }
281
282- if (EQUAL(table, *key, ptr->key)) {
283+ if (EQUAL(table, (void*) *key, (void*) ptr->key)) {
284 table->bins[hash_val] = ptr->next;
285 table->num_entries--;
286 if (value != 0)
287@@ -383,7 +383,7 @@ int st_delete(register st_table *table,register st_data_t *key,st_data_t *value)
288 }
289
290 for (; ptr->next != 0; ptr = ptr->next) {
291- if (EQUAL(table, ptr->next->key, *key)) {
292+ if (EQUAL(table, (void*) ptr->next->key, (void*) *key)) {
293 tmp = ptr->next;
294 ptr->next = ptr->next->next;
295 table->num_entries--;
296@@ -403,7 +403,7 @@ int st_delete_safe(register st_table *table,register st_data_t *key,st_data_t *v
297 unsigned int hash_val;
298 register st_table_entry *ptr;
299
300- hash_val = do_hash_bin(*key, table);
301+ hash_val = do_hash_bin((void*) *key, table);
302 ptr = table->bins[hash_val];
303
304 if (ptr == 0) {
305@@ -413,7 +413,7 @@ int st_delete_safe(register st_table *table,register st_data_t *key,st_data_t *v
306 }
307
308 for (; ptr != 0; ptr = ptr->next) {
309- if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) {
310+ if ((ptr->key != never) && EQUAL(table, (void*) ptr->key, (void*) *key)) {
311 table->num_entries--;
312 *key = ptr->key;
313 if (value != 0)
314@@ -439,11 +439,11 @@ void st_cleanup_safe(st_table *table,st_data_t never)
315 {
316 int num_entries = table->num_entries;
317
318- st_foreach(table, HASH_FUNCTION_CAST delete_never, never);
319+ st_foreach(table, (hash_function_foreach) delete_never, never);
320 table->num_entries = num_entries;
321 }
322
323-int st_foreach(st_table *table,int (*func) (ANYARGS),st_data_t arg)
324+int st_foreach(st_table *table,int (*func) (void*, void*, void*),st_data_t arg)
325 {
326 st_table_entry *ptr, *last, *tmp;
327 enum st_retval retval;
328@@ -452,7 +452,9 @@ int st_foreach(st_table *table,int (*func) (ANYARGS),st_data_t arg)
329 for (i = 0; i < table->num_bins; i++) {
330 last = 0;
331 for (ptr = table->bins[i]; ptr != 0;) {
332- retval = (enum st_retval) (*func) (ptr->key, ptr->record, arg);
333+ retval = (enum st_retval) (*func) ((void*) ptr->key,
334+ (void*) ptr->record,
335+ (void*) arg);
336 switch (retval) {
337 case ST_CHECK: /* check if hash is modified during
338 * iteration */
339diff --git a/lang/c/src/st.h b/lang/c/src/st.h
340index cf8a22491..93da018bd 100644
341--- a/lang/c/src/st.h
342+++ b/lang/c/src/st.h
343@@ -20,26 +20,22 @@ extern "C" {
344
345 #pragma GCC visibility push(hidden)
346
347-#ifndef ANYARGS
348- #ifdef __cplusplus
349- #define ANYARGS ...
350- #else
351- #define ANYARGS
352- #endif
353-#endif
354-
355 #ifdef _WIN32
356- #define HASH_FUNCTION_CAST (int (__cdecl *)(ANYARGS))
357+ typedef int (__cdecl *hash_function_compare)(void*, void*);
358+ typedef int (__cdecl *hash_function_hash)(void*);
359+ typedef int (__cdecl *hash_function_foreach)(void*, void*, void*);
360 #else
361- #define HASH_FUNCTION_CAST
362+ typedef int (*hash_function_compare)(void*, void*);
363+ typedef int (*hash_function_hash)(void*);
364+ typedef int (*hash_function_foreach)(void*, void*, void*);
365 #endif
366
367 typedef uintptr_t st_data_t;
368 typedef struct st_table st_table;
369
370 struct st_hash_type {
371- int (*compare) (ANYARGS);
372- int (*hash) (ANYARGS);
373+ hash_function_compare compare;
374+ hash_function_hash hash;
375 };
376
377 struct st_table {
378@@ -67,7 +63,7 @@ int st_delete _((st_table *, st_data_t *, st_data_t *));
379 int st_delete_safe _((st_table *, st_data_t *, st_data_t *, st_data_t));
380 int st_insert _((st_table *, st_data_t, st_data_t));
381 int st_lookup _((st_table *, st_data_t, st_data_t *));
382-int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
383+int st_foreach _((st_table *, hash_function_foreach, st_data_t));
384 void st_add_direct _((st_table *, st_data_t, st_data_t));
385 void st_free_table _((st_table *));
386 void st_cleanup_safe _((st_table *, st_data_t));
diff --git a/meta-oe/recipes-support/avro/avro-c_1.11.3.bb b/meta-oe/recipes-support/avro/avro-c_1.11.3.bb
index bb7f53e459..f7da323710 100644
--- a/meta-oe/recipes-support/avro/avro-c_1.11.3.bb
+++ b/meta-oe/recipes-support/avro/avro-c_1.11.3.bb
@@ -8,10 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6d502b41f76179fc84e536236f359cae"
8DEPENDS = "jansson zlib xz" 8DEPENDS = "jansson zlib xz"
9 9
10BRANCH = "branch-1.11" 10BRANCH = "branch-1.11"
11SRCREV = "35ff8b997738e4d983871902d47bfb67b3250734" 11SRCREV = "579a36762293fa4c9f2831e27e7af7713a0838a0"
12SRC_URI = "git://github.com/apache/avro;branch=${BRANCH};protocol=https \ 12SRC_URI = " \
13 " 13 git://github.com/apache/avro;branch=${BRANCH};protocol=https \
14 14 file://0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch;patchdir=../.. \
15S = "${WORKDIR}/git/lang/c" 15 file://0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch;patchdir=../.. \
16"
17S = "${UNPACKDIR}/${BP}/lang/c"
16 18
17inherit cmake pkgconfig 19inherit cmake pkgconfig
diff --git a/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch
new file mode 100644
index 0000000000..bab1d1f301
--- /dev/null
+++ b/meta-oe/recipes-support/bcu/bcu/0001-CMakeLists-do-not-use-vendored-libcurl.patch
@@ -0,0 +1,45 @@
1From 678c32f867931fd9f410b6e46ea8d101714c7ed5 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= <l.goehrs@pengutronix.de>
3Date: Tue, 6 May 2025 07:45:36 +0200
4Subject: [PATCH] CMakeLists: do not use vendored libcurl
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Inappropriate [upstream ticket https://github.com/nxp-imx/bcu/issues/17]
10
11Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
12---
13 CMakeLists.txt | 10 +++++-----
14 1 file changed, 5 insertions(+), 5 deletions(-)
15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index 42158a2..ac840fc 100644
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -17,17 +17,17 @@ pkg_check_modules(LIBFTDI REQUIRED libftdi1)
21 pkg_check_modules(LIBYAML REQUIRED yaml-0.1)
22 pkg_check_modules(LIBOPENSSL REQUIRED openssl)
23 pkg_check_modules(LIBUSB REQUIRED libusb-1.0)
24+pkg_check_modules(LIBCURL REQUIRED libcurl)
25 project(bcu)
26-include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${PROJECT_SOURCE_DIR}/libftdi/src ${LIBYAML_INCLUDEDIR} ${PROJECT_SOURCE_DIR}/libcurl/include)
27+include_directories(${LIBUSB_INCLUDE_DIRS} ${LIBFTDI_INCLUDE_DIRS}include ${LIBYAML_INCLUDEDIR})
28 include_directories(${PROJECT_SOURCE_DIR})
29
30 message("operation system is ${CMAKE_SYSTEM}")
31 if (LINUX)
32 add_executable(bcu bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
33- link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS})
34- target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${PROJECT_SOURCE_DIR}/libcurl/build.bcu/lib/libcurl.a -lpthread -lssl -lcrypto -lm -ldl)
35- execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR}
36- COMMAND ${PROJECT_SOURCE_DIR}/build_libs.sh ${PROJECT_SOURCE_DIR})
37+ link_directories(${LIBUSB_LIBRARY_DIRS} ${LIBFTDI_LIBRARY_DIRS} ${LIBYAML_LIBRARY_DIRS} ${LIBCURL_LIBRARY_DIRS})
38+ target_link_libraries (bcu ${LIBUSB_LIBRARIES} ${LIBFTDI_LIBRARIES} ${LIBYAML_LIBRARIES} ${LIBCURL_LIBRARIES} -lpthread -lssl -lcrypto -lm -ldl)
39+ execute_process( COMMAND ${PROJECT_SOURCE_DIR}/create_version_h.sh ${PROJECT_SOURCE_DIR})
40 install(TARGETS bcu DESTINATION bin)
41 elseif (MACOS)
42 add_executable(bcu_mac bcu.c port.c chip.c board.c bcu_parser.c bcu_yaml.c bcu_https.c bcu_ftdi_eeprom.c)
43--
442.39.5
45
diff --git a/meta-oe/recipes-support/bcu/bcu_1.1.115.bb b/meta-oe/recipes-support/bcu/bcu_1.1.115.bb
new file mode 100644
index 0000000000..260fba02a9
--- /dev/null
+++ b/meta-oe/recipes-support/bcu/bcu_1.1.115.bb
@@ -0,0 +1,22 @@
1SUMMARY = "NXP Board Control Utilities"
2DESCRIPTION = "The NXP Board Control Utilities are able to control various \
3 features of NXP i.MX evaluation boards (EVK) from a host \
4 computer. \
5 Features like resetting the board, selecting the boot mode, \
6 monitoring power consumption, programming the EEPROM and others"
7HOMEPAGE = "https://github.com/nxp-imx/bcu"
8SECTION = "devel"
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=884d48c2aa7b82e1ad4a33909fab24b6"
11
12SRC_URI = "git://github.com/nxp-imx/bcu;protocol=https;branch=master \
13 file://0001-CMakeLists-do-not-use-vendored-libcurl.patch \
14 "
15SRCREV = "f081c69c26e330cf03ec790051c415c4716509d9"
16
17
18DEPENDS = "curl libyaml libusb1 openssl libftdi"
19
20inherit cmake pkgconfig
21
22BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb
index a5a7a63657..3c8c41cc03 100644
--- a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb
+++ b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb
@@ -23,10 +23,9 @@ LIC_FILES_CHKSUM = "file://README.QUICK;md5=dd27361ad00943bb27bc3e0589037075"
23 23
24DEPENDS = "libatomic-ops" 24DEPENDS = "libatomic-ops"
25 25
26SRCREV = "e340b2e869e02718de9c9d7fa440ef4b35785388" 26SRCREV = "ee59af3722e56de8404de6cd0c21c2493cc4d855"
27SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https" 27SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https"
28 28
29S = "${WORKDIR}/git"
30 29
31inherit autotools pkgconfig 30inherit autotools pkgconfig
32 31
diff --git a/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb b/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb
new file mode 100644
index 0000000000..f49aa480da
--- /dev/null
+++ b/meta-oe/recipes-support/bmap-writer/bmap-writer_1.0.2.bb
@@ -0,0 +1,19 @@
1SUMMARY = "bmaptool alternative written in C++"
2DESCRIPTION = "bmap-writer is a command-line utility designed to efficiently write disk images \
3to storage devices using block mapping (BMAP). It serves as \
4a lightweight alternative to the Yocto BMAP tool, \
5bmap-writer is C++ based does not require Python and focuses solely on writing an image."
6HOMEPAGE = "https://github.com/embetrix/bmap-writer"
7SECTION = "console/utils"
8LICENSE = "GPL-3.0-only"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=e49f4652534af377a713df3d9dec60cb"
10
11SRC_URI = "git://github.com/embetrix/${BPN};branch=master;protocol=https"
12SRCREV = "7489280a7a1247f23543343aba4e95bf2f2e8fa6"
13
14DEPENDS = "libtinyxml2 libarchive"
15inherit cmake pkgconfig
16
17FILES:${PN} = "${bindir}"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/boost-sml/boost-sml_1.1.11.bb b/meta-oe/recipes-support/boost-sml/boost-sml_1.1.12.bb
index a48195a15d..0a2514237a 100644
--- a/meta-oe/recipes-support/boost-sml/boost-sml_1.1.11.bb
+++ b/meta-oe/recipes-support/boost-sml/boost-sml_1.1.12.bb
@@ -9,9 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=e4224ccaecb14d942c71d31bef20d78c"
9DEPENDS += "boost qemu-native" 9DEPENDS += "boost qemu-native"
10 10
11SRC_URI = "git://github.com/boost-ext/sml.git;protocol=https;branch=master" 11SRC_URI = "git://github.com/boost-ext/sml.git;protocol=https;branch=master"
12SRCREV = "b7df6180d20422b2724d26007aebb24066f2a6a9" 12SRCREV = "cd3ef80206b71463de96d6b682cfdc99703ec147"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake 15inherit cmake
17 16
diff --git a/meta-oe/recipes-support/btop/btop_1.3.2.bb b/meta-oe/recipes-support/btop/btop_1.4.3.bb
index c473bf0a35..9a5a21c56d 100644
--- a/meta-oe/recipes-support/btop/btop_1.3.2.bb
+++ b/meta-oe/recipes-support/btop/btop_1.4.3.bb
@@ -4,10 +4,10 @@ LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
5SECTION = "console/utils" 5SECTION = "console/utils"
6 6
7SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main" 7SRC_URI = "git://github.com/aristocratos/btop.git;protocol=https;branch=main;tag=v${PV} \
8SRCREV = "fd2a2acdad6fbaad76846cb5e802cf2ae022d670" 8 "
9SRCREV = "3f1ccd9f6c455fef6d4d8cfbc8ed71b86961323d"
9 10
10S = "${WORKDIR}/git"
11 11
12inherit cmake 12inherit cmake
13 13
diff --git a/meta-oe/recipes-support/bvi/bvi_1.4.2.bb b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
new file mode 100644
index 0000000000..fb136e16a6
--- /dev/null
+++ b/meta-oe/recipes-support/bvi/bvi_1.4.2.bb
@@ -0,0 +1,17 @@
1SUMMARY = "Binary VI editor"
2DESCRIPTION = "bvi is a visual editor for binary files."
3HOMEPAGE = "https://sourceforge.net/projects/bvi"
4SECTION = "console/utils"
5LICENSE = "GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=a36207309d382da27cd66fdaae922e3c"
7
8SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz"
9SRC_URI[sha256sum] = "4bba16c2b496963a9b939336c0abcc8d488664492080ae43a86da18cf4ce94f2"
10
11DEPENDS += "ncurses"
12
13# The project uses old style C interfaces and it is not compatible with C23
14# it builds fine with C17, specifying gnu17 as the C dialect to use
15CFLAGS:append = " -std=gnu17 -Wno-old-style-definition"
16
17inherit pkgconfig autotools-brokensep
diff --git a/meta-oe/recipes-support/c-ares/c-ares_1.27.0.bb b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb
index ddd081e115..b6945f221d 100644
--- a/meta-oe/recipes-support/c-ares/c-ares_1.27.0.bb
+++ b/meta-oe/recipes-support/c-ares/c-ares_1.34.5.bb
@@ -1,13 +1,13 @@
1# Copyright (c) 2012-2014 LG Electronics, Inc. 1# Copyright (c) 2012-2014 LG Electronics, Inc.
2SUMMARY = "c-ares is a C library that resolves names asynchronously." 2SUMMARY = "c-ares is a C library that resolves names asynchronously."
3HOMEPAGE = "http://daniel.haxx.se/projects/c-ares/" 3HOMEPAGE = "https://c-ares.org/"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "MIT" 5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=fdbc58a6da11a9f68aa73c453818decc" 6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=d3e72a10e08191f2ca1be3f3228d78f3"
7 7
8SRC_URI = "https://github.com/c-ares/c-ares/releases/download/cares-1_27_0/${BPN}-${PV}.tar.gz \ 8SRC_URI = "https://github.com/c-ares/c-ares/releases/download/v${PV}/${BPN}-${PV}.tar.gz \
9 file://run-ptest" 9 file://run-ptest"
10SRC_URI[sha256sum] = "0a72be66959955c43e2af2fbd03418e82a2bd5464604ec9a62147e37aceb420b" 10SRC_URI[sha256sum] = "7d935790e9af081c25c495fd13c2cfcda4792983418e96358ef6e7320ee06346"
11 11
12PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" 12PACKAGECONFIG ?= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
13PACKAGECONFIG[manpages] = "" 13PACKAGECONFIG[manpages] = ""
diff --git a/meta-oe/recipes-support/c-periphery/c-periphery_2.4.2.bb b/meta-oe/recipes-support/c-periphery/c-periphery_2.4.3.bb
index 8e38517448..058ede614e 100644
--- a/meta-oe/recipes-support/c-periphery/c-periphery_2.4.2.bb
+++ b/meta-oe/recipes-support/c-periphery/c-periphery_2.4.3.bb
@@ -6,12 +6,11 @@ HOMEPAGE = "https://github.com/vsergeev/c-periphery"
6SECTION = "libs" 6SECTION = "libs"
7 7
8LICENSE = "MIT" 8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=be30d45bdc453f70a494c149c2168289" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=e88456d0a60de4c71ff4d787c212f253"
10 10
11SRC_URI = "git://github.com/vsergeev/c-periphery;protocol=https;branch=master" 11SRC_URI = "git://github.com/vsergeev/c-periphery;protocol=https;branch=master"
12SRCREV = "91f9678d2a35a3af3c633f20165bdde8bea32209" 12SRCREV = "911e989fe41eb90c7df274cb54555346caf2a632"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake 15inherit cmake
17 16
diff --git a/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb b/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb
index bf62e8416e..9d905cc22e 100644
--- a/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/frame_2.5.0.bb
@@ -17,7 +17,6 @@ SRC_URI = "https://launchpad.net/${BPN}/trunk/v${PV}/+download/${BPN}-${PV}.tar.
17 17
18UPSTREAM_CHECK_URI = "https://launchpad.net/frame/trunk" 18UPSTREAM_CHECK_URI = "https://launchpad.net/frame/trunk"
19 19
20SRC_URI[md5sum] = "02baa941091c5d198cd1623b3ad36e68"
21SRC_URI[sha256sum] = "cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f" 20SRC_URI[sha256sum] = "cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f"
22 21
23PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 22PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
diff --git a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
index 139649b975..2ac535d258 100644
--- a/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/geis_2.2.17.bb
@@ -27,7 +27,6 @@ SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.x
27 27
28UPSTREAM_CHECK_URI = "https://launchpad.net/geis/trunk" 28UPSTREAM_CHECK_URI = "https://launchpad.net/geis/trunk"
29 29
30SRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
31SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb" 30SRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
32 31
33EXTRA_OECONF = "--disable-integration-tests" 32EXTRA_OECONF = "--disable-integration-tests"
diff --git a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
index 067052c036..1a5900b78b 100644
--- a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
@@ -16,7 +16,6 @@ SRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.b
16 16
17UPSTREAM_CHECK_URI = "https://launchpad.net/grail/trunk" 17UPSTREAM_CHECK_URI = "https://launchpad.net/grail/trunk"
18 18
19SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
20SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3" 19SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
21 20
22REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" 21REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
diff --git a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
index 18db0721de..63500def05 100644
--- a/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
+++ b/meta-oe/recipes-support/ceres-solver/ceres-solver_2.2.0.bb
@@ -8,7 +8,6 @@ DEPENDS = "libeigen glog"
8SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/ceres-solver/ceres-solver.git;branch=master;protocol=https"
9SRCREV = "85331393dc0dff09f6fb9903ab0c4bfa3e134b01" 9SRCREV = "85331393dc0dff09f6fb9903ab0c4bfa3e134b01"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake 12inherit cmake
14 13
diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb
index 1ee776cefe..f5d6d9d4f8 100644
--- a/meta-oe/recipes-support/ckermit/ckermit_302.bb
+++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb
@@ -11,9 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING.TXT;md5=932ca542d6c6cb8a59a0bcd76ab67cc3"
11SRC_URI = "http://www.kermitproject.org/ftp/kermit/archives/cku${PV}.tar.gz;subdir=${BPN}-${PV} \ 11SRC_URI = "http://www.kermitproject.org/ftp/kermit/archives/cku${PV}.tar.gz;subdir=${BPN}-${PV} \
12 file://0001-Fix-function-prototype-errors.patch \ 12 file://0001-Fix-function-prototype-errors.patch \
13 " 13 "
14SRC_URI[md5sum] = "eac4dbf18b45775e4cdee5a7c74762b0"
15SRC_URI[sha256sum] = "0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711" 14SRC_URI[sha256sum] = "0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711"
16 15
16UPSTREAM_CHECK_URI = "https://www.kermitproject.org/ck90.html"
17UPSTREAM_CHECK_REGEX = "cku(?P<pver>\d+)\.tar"
17 18
18export CC2 = "${CC}" 19export CC2 = "${CC}"
19export BINDIR = "${bindir}" 20export BINDIR = "${bindir}"
@@ -28,7 +29,7 @@ do_compile () {
28 # The original makefile doesn't differentiate between CC and CC_FOR_BUILD, 29 # The original makefile doesn't differentiate between CC and CC_FOR_BUILD,
29 # so we build wart manually. Note that you need a ckwart.o with the proper 30 # so we build wart manually. Note that you need a ckwart.o with the proper
30 # timestamp to make this hack work: 31 # timestamp to make this hack work:
31 ${BUILD_CC} -c ckwart.c 32 ${BUILD_CC} -DMAINTYPE=int -c -o ckwart.o ckwart.c
32 ${BUILD_CC} -o wart ckwart.o 33 ${BUILD_CC} -o wart ckwart.o
33 ./wart ckcpro.w ckcpro.c 34 ./wart ckcpro.w ckcpro.c
34 35
@@ -45,7 +46,8 @@ do_compile () {
45 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ 46 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
46 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ 47 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
47 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ 48 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \
48 -DNOARROWKEYS -DMAINTYPE=int" 49 -DNOARROWKEYS -DMAINTYPE=int \
50 -D_DEFAULT_SOURCE -ansi"
49} 51}
50 52
51do_install () { 53do_install () {
@@ -55,3 +57,11 @@ do_install () {
55 rm ${D}${BINDIR}/kermit-sshsub 57 rm ${D}${BINDIR}/kermit-sshsub
56 (cd ${D}${BINDIR} && ln -s ${BINDIR}/kermit kermit-sshusb) 58 (cd ${D}${BINDIR} && ln -s ${BINDIR}/kermit kermit-sshusb)
57} 59}
60
61# This one is reproducible only on 32bit MACHINEs
62# http://errors.yoctoproject.org/Errors/Details/766966/
63# ckutio.c:12057:10: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
64# ckutio.c:12058:20: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
65# ckufio.c:5043:32: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
66# ckufio.c:5263:32: error: passing argument 1 of 'localtime' from incompatible pointer type [-Wincompatible-pointer-types]
67CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-support/cli11/cli11_2.3.2.bb b/meta-oe/recipes-support/cli11/cli11_2.3.2.bb
index ef3c951bbf..346ccd6c69 100644
--- a/meta-oe/recipes-support/cli11/cli11_2.3.2.bb
+++ b/meta-oe/recipes-support/cli11/cli11_2.3.2.bb
@@ -11,7 +11,6 @@ SRC_URI += "gitsm://github.com/CLIUtils/CLI11;branch=main;protocol=https \
11 file://0001-Do-not-download-the-catch-framework-during-configure.patch" 11 file://0001-Do-not-download-the-catch-framework-during-configure.patch"
12 12
13SRC_URI[sha256sum] = "ea379c4a3cb5799027b1eb451163dff065a3d641aaba23bf4e24ee6b536bd9bc" 13SRC_URI[sha256sum] = "ea379c4a3cb5799027b1eb451163dff065a3d641aaba23bf4e24ee6b536bd9bc"
14S = "${WORKDIR}/git"
15 14
16do_configure:prepend() { 15do_configure:prepend() {
17 mkdir -p ${S}/tests/catch2 16 mkdir -p ${S}/tests/catch2
diff --git a/meta-oe/recipes-support/cmark/cmark_0.31.0.bb b/meta-oe/recipes-support/cmark/cmark_0.31.1.bb
index ce8b4cd493..bbbb36dace 100644
--- a/meta-oe/recipes-support/cmark/cmark_0.31.0.bb
+++ b/meta-oe/recipes-support/cmark/cmark_0.31.1.bb
@@ -4,8 +4,7 @@ LICENSE = "BSD-2-Clause & MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62" 4LIC_FILES_CHKSUM = "file://COPYING;md5=81f9cae6293cc0345a9144b78152ab62"
5 5
6SRC_URI = "git://github.com/commonmark/cmark.git;branch=master;protocol=https" 6SRC_URI = "git://github.com/commonmark/cmark.git;branch=master;protocol=https"
7SRCREV = "8fbf029685482827828b5858444157052f1b0a5f" 7SRCREV = "bb3678d7a73cb02d35c8876ecd097072636200a8"
8S = "${WORKDIR}/git"
9 8
10inherit cmake lib_package 9inherit cmake lib_package
11 10
diff --git a/meta-oe/recipes-support/colord/colord-native.bb b/meta-oe/recipes-support/colord/colord-native.bb
index 64dd94a9ed..2c79be4957 100644
--- a/meta-oe/recipes-support/colord/colord-native.bb
+++ b/meta-oe/recipes-support/colord/colord-native.bb
@@ -1,7 +1,5 @@
1require ${BPN}.inc 1require ${BPN}.inc
2 2
3FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-native:"
4
5inherit meson pkgconfig native 3inherit meson pkgconfig native
6 4
7DEPENDS += " \ 5DEPENDS += " \
diff --git a/meta-oe/recipes-support/colord/colord.bb b/meta-oe/recipes-support/colord/colord.bb
index e300222518..6eb9db8dab 100644
--- a/meta-oe/recipes-support/colord/colord.bb
+++ b/meta-oe/recipes-support/colord/colord.bb
@@ -1,28 +1,33 @@
1require ${BPN}.inc 1require ${BPN}.inc
2 2
3inherit meson gobject-introspection gsettings gettext bash-completion systemd features_check useradd pkgconfig 3inherit meson gobject-introspection gsettings gtk-doc gettext bash-completion systemd features_check useradd pkgconfig
4 4
5# polkit and gobject-introspection are mandatory and cannot be configured 5# polkit and gobject-introspection are mandatory and cannot be configured
6REQUIRED_DISTRO_FEATURES = "polkit gobject-introspection-data" 6REQUIRED_DISTRO_FEATURES = "polkit gobject-introspection-data"
7GIR_MESON_OPTION = "" 7GIR_MESON_OPTION = ""
8 8
9DEPENDS += " \ 9DEPENDS += " \
10 ${BPN}-native \ 10 ${BPN}-native \
11 glib-2.0 \ 11 dbus \
12 lcms \ 12 glib-2.0 \
13 sqlite3 \ 13 lcms \
14 libgusb \ 14 libgudev \
15 libgudev \ 15 libgusb \
16 polkit \ 16 polkit \
17 sqlite3 \
17" 18"
18 19
20RDEPENDS:${PN} += "hwdata"
21
19SRC_URI += " \ 22SRC_URI += " \
20 file://0001-Run-native-cd_idt8-cd_create_profile.patch \ 23 file://0001-Run-native-cd_idt8-cd_create_profile.patch \
24 file://08a32b2379fb5582f4312e59bf51a2823df56276.patch \
21" 25"
22 26
23EXTRA_OEMESON = " \ 27EXTRA_OEMESON += " \
24 -Dman=false \ 28 -Dman=false \
25 -Ddocs=false \ 29 -Ddaemon_user=colord \
30 -Dpnp_ids=${datadir}/hwdata/pnp.ids \
26" 31"
27 32
28PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 33PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@@ -42,4 +47,5 @@ FILES:${PN} += " \
42" 47"
43 48
44USERADD_PACKAGES = "${PN}" 49USERADD_PACKAGES = "${PN}"
45USERADD_PARAM:${PN} = "--system --user-group -d /var/lib/colord -s /bin/false colord" 50USERADD_PARAM:${PN} = "--system --user-group -s /bin/false colord"
51
diff --git a/meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch b/meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
index a120b73114..a120b73114 100644
--- a/meta-oe/recipes-support/colord/colord-native/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
+++ b/meta-oe/recipes-support/colord/colord/0001-Move-the-function-cd_icc_create_from_edid-to-avoid-u.patch
diff --git a/meta-oe/recipes-support/colord/colord/08a32b2379fb5582f4312e59bf51a2823df56276.patch b/meta-oe/recipes-support/colord/colord/08a32b2379fb5582f4312e59bf51a2823df56276.patch
new file mode 100644
index 0000000000..860e6ab4af
--- /dev/null
+++ b/meta-oe/recipes-support/colord/colord/08a32b2379fb5582f4312e59bf51a2823df56276.patch
@@ -0,0 +1,28 @@
1From 08a32b2379fb5582f4312e59bf51a2823df56276 Mon Sep 17 00:00:00 2001
2From: Richard Hughes <richard@hughsie.com>
3Date: Mon, 29 Jan 2024 10:37:11 +0000
4Subject: [PATCH] Fix writing to the database with ProtectSystem=strict
5
6Fixes https://github.com/hughsie/colord/issues/166
7
8Upstream-Status: Backport [https://github.com/hughsie/colord/commit/08a32b2379fb5582f4312e59bf51a2823df56276]
9Signed-off-by: Markus Volk <f_l_k@t-online.de>
10---
11 data/colord.service.in | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/data/colord.service.in b/data/colord.service.in
15index 6825d944..c358dc4b 100644
16--- a/data/colord.service.in
17+++ b/data/colord.service.in
18@@ -17,6 +17,10 @@ ProtectControlGroups=true
19 RestrictRealtime=true
20 RestrictAddressFamilies=AF_UNIX
21
22+ConfigurationDirectory=colord
23+StateDirectory=colord
24+CacheDirectory=colord
25+
26 # drop all capabilities
27 CapabilityBoundingSet=~CAP_SETUID CAP_SETGID CAP_SETPCAP CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_CHOWN CAP_FSETID CAP_SETFCAP CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER CAP_IPC_OWNER CAP_NET_ADMIN CAP_SYS_RAWIO CAP_SYS_TIME CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CAP_SYS_RESOURCE CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_SYS_BOOT CAP_LINUX_IMMUTABLE CAP_IPC_LOCK CAP_SYS_CHROOT CAP_BLOCK_SUSPEND CAP_LEASE CAP_SYS_PACCT CAP_SYS_TTY_CONFIG CAP_WAKE_ALARM
28
diff --git a/meta-oe/recipes-support/colord/colord-native/Makefile b/meta-oe/recipes-support/colord/colord/Makefile
index 1e29e4f670..1e29e4f670 100644
--- a/meta-oe/recipes-support/colord/colord-native/Makefile
+++ b/meta-oe/recipes-support/colord/colord/Makefile
diff --git a/meta-oe/recipes-support/composefs/composefs_1.0.4.bb b/meta-oe/recipes-support/composefs/composefs_1.0.8.bb
index aaf33b40ec..f2bae91f44 100644
--- a/meta-oe/recipes-support/composefs/composefs_1.0.4.bb
+++ b/meta-oe/recipes-support/composefs/composefs_1.0.8.bb
@@ -3,31 +3,27 @@ DESCRIPTION = "The composefs project combines several underlying Linux \
3features to provide a very flexible mechanism to support read-only mountable \ 3features to provide a very flexible mechanism to support read-only mountable \
4filesystem trees, stacking on top of an underlying "lower" Linux filesystem." 4filesystem trees, stacking on top of an underlying "lower" Linux filesystem."
5HOMEPAGE = "https://github.com/containers/composefs" 5HOMEPAGE = "https://github.com/containers/composefs"
6LICENSE = "GPL-3.0-or-later & LGPL-2.0-or-later & Apache-2.0" 6LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later & Apache-2.0"
7LIC_FILES_CHKSUM = "\ 7LIC_FILES_CHKSUM = "\
8 file://BSD-2-Clause.txt;md5=121c8a0a8fa5961a26b7863034ebcce8 \ 8 file://BSD-2-Clause.txt;md5=121c8a0a8fa5961a26b7863034ebcce8 \
9 file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 9 file://COPYING;md5=5cbca48090f7fe0169186a551a5bf78c \
10 file://COPYING.LESSERv3;md5=6a6a8e020838b23406c81b19c1d46df6 \ 10 file://COPYING.GPL-2.0-only;md5=94fa01670a2a8f2d3ab2de15004e0848 \
11 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ 11 file://COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
12 file://COPYINGv3;md5=d32239bcb673463ab874e80d47fae504 \ 12 file://COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \
13 file://LICENSE.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 13 file://LICENSE.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
14" 14"
15 15
16PV .= "+git${SRCPV}" 16SRCREV = "858ce1b38e1534c2602eb431124b5dca706bc746"
17SRCREV = "7623e4dc89f62ada5724d4e41d0a16d2671312f5"
18SRC_URI = "git://github.com/containers/composefs.git;protocol=https;branch=main" 17SRC_URI = "git://github.com/containers/composefs.git;protocol=https;branch=main"
19 18
20S = "${WORKDIR}/git"
21 19
22inherit autotools pkgconfig 20inherit meson
23 21
24DEPENDS = "openssl" 22DEPENDS = "openssl"
25 23
26EXTRA_OECONF += " \ 24EXTRA_OEMESON += " \
27 --disable-man \ 25 -Dman=disabled \
28 --without-fuse \ 26 -Dfuse=disabled \
29" 27"
30 28
31LDFLAGS:append:class-native = " -pthread"
32
33BBCLASSEXTEND = "native" 29BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/consolation/consolation_0.0.9.bb b/meta-oe/recipes-support/consolation/consolation_0.0.9.bb
index 17981b6e9b..a1523be376 100644
--- a/meta-oe/recipes-support/consolation/consolation_0.0.9.bb
+++ b/meta-oe/recipes-support/consolation/consolation_0.0.9.bb
@@ -17,7 +17,6 @@ DEPENDS = " \
17SRC_URI = "git://salsa.debian.org/consolation-team/consolation.git;branch=master" 17SRC_URI = "git://salsa.debian.org/consolation-team/consolation.git;branch=master"
18SRCREV = "5ef08f0cd6ede62de14de477b74fc3611108c676" 18SRCREV = "5ef08f0cd6ede62de14de477b74fc3611108c676"
19 19
20S = "${WORKDIR}/git"
21 20
22inherit autotools pkgconfig systemd 21inherit autotools pkgconfig systemd
23 22
diff --git a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
index bda5177fc4..4b8bf162fa 100644
--- a/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
+++ b/meta-oe/recipes-support/cpp-netlib/cpp-netlib_git.bb
@@ -16,7 +16,6 @@ SRC_URI = "\
16 file://a53f123040998744602f190944464af0e159ea19.patch \ 16 file://a53f123040998744602f190944464af0e159ea19.patch \
17" 17"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit cmake pkgconfig 20inherit cmake pkgconfig
22 21
@@ -28,3 +27,5 @@ do_install:append() {
28 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibConfig.cmake 27 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibConfig.cmake
29 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibTargets-noconfig.cmake 28 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/cmake/cppnetlib/cppnetlibTargets-noconfig.cmake
30} 29}
30
31SKIP_RECIPE[cpp-netlib] ?= "Does not work with boost >= 1.87"
diff --git a/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb b/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
index aec7286404..ec7be4ad37 100644
--- a/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
+++ b/meta-oe/recipes-support/cpprest/cpprest_2.10.19.bb
@@ -12,8 +12,9 @@ SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=maste
12 file://disable-outside-tests.patch " 12 file://disable-outside-tests.patch "
13 13
14# tag 2.10.19 14# tag 2.10.19
15SRCREV= "411a109150b270f23c8c97fa4ec9a0a4a98cdecf" 15SRCREV = "411a109150b270f23c8c97fa4ec9a0a4a98cdecf"
16 16
17S = "${WORKDIR}/git"
18 17
19inherit cmake pkgconfig 18inherit cmake pkgconfig
19
20SKIP_RECIPE[cpprest] ?= "Needs websocketpp which does not yet work with boost >= 1.87"
diff --git a/meta-oe/recipes-support/cpulimit/cpulimit/0002-busy.c-Fix-incompatible-pointer-type-error.patch b/meta-oe/recipes-support/cpulimit/cpulimit/0002-busy.c-Fix-incompatible-pointer-type-error.patch
new file mode 100644
index 0000000000..c75cbe1950
--- /dev/null
+++ b/meta-oe/recipes-support/cpulimit/cpulimit/0002-busy.c-Fix-incompatible-pointer-type-error.patch
@@ -0,0 +1,51 @@
1From 86b71c49a373f78920d78c0e88f530f476b4fe70 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 26 Mar 2025 15:57:54 +0900
4Subject: [PATCH] busy.c: Fix incompatible pointer type error.
5
6Error occurs in gcc 15.0.1 environment.
7busy.c: In function 'main':
8busy.c:20:58: error: passing argument 3 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types]
9 20 | if ((ret = pthread_create(&thread, NULL, loop, NULL)) != 0)
10 | ^~~~
11 | |
12 | void * (*)(void)
13In file included from busy.c:3:
14recipe-sysroot/usr/include/pthread.h:204:36: note: expected 'void * (*)(void *)' but argument is of type 'void * (*)(void)'
15 204 | void *(*__start_routine) (void *),
16 | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
17busy.c:6:7: note: 'loop' declared here
18 6 | void *loop()
19 | ^~~~
20
21Set loop parameter to void* since it requires void* type argument.
22
23Signed-off-by: mark.yang <mark.yang@lge.com>
24
25Upstream-Status: Inactive-Upstream [lastcommit: 9 Years ago and lastrelease: 9 Years ago]
26---
27 tests/busy.c | 4 ++--
28 1 file changed, 2 insertions(+), 2 deletions(-)
29
30diff --git a/tests/busy.c b/tests/busy.c
31index b3afb7c..2d726eb 100644
32--- a/tests/busy.c
33+++ b/tests/busy.c
34@@ -3,7 +3,7 @@
35 #include <pthread.h>
36 #include <unistd.h>
37
38-void *loop()
39+void *loop(void *arg)
40 {
41 while(1);
42 }
43@@ -23,7 +23,7 @@ int main(int argc, char **argv) {
44 exit(1);
45 }
46 }
47- loop();
48+ loop(NULL);
49 return 0;
50 }
51 \ No newline at end of file
diff --git a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
index f88d3b6ca1..676028efa1 100644
--- a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
+++ b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
@@ -7,9 +7,9 @@ SRCREV ?= "f4d2682804931e7aea02a869137344bb5452a3cd"
7 7
8SRC_URI = "git://github.com/opsengine/cpulimit.git;protocol=https;branch=master \ 8SRC_URI = "git://github.com/opsengine/cpulimit.git;protocol=https;branch=master \
9 file://0001-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch \ 9 file://0001-Remove-sys-sysctl.h-and-add-missing-libgen.h-include.patch \
10 file://0002-busy.c-Fix-incompatible-pointer-type-error.patch \
10 " 11 "
11 12
12S = "${WORKDIR}/git"
13 13
14do_compile() { 14do_compile() {
15 oe_runmake all 15 oe_runmake all
diff --git a/meta-oe/recipes-support/crucible/crucible-go-mods.inc b/meta-oe/recipes-support/crucible/crucible-go-mods.inc
new file mode 100644
index 0000000000..0123d8c966
--- /dev/null
+++ b/meta-oe/recipes-support/crucible/crucible-go-mods.inc
@@ -0,0 +1,155 @@
1SRC_URI += "\
2 gomod://cloud.google.com/go;version=v0.111.0;sha256sum=f17610c7b09a9582375daa59ec73761b0bd7ad313075710ebfb1c8f4fd63776a \
3 gomod://cloud.google.com/go;version=v0.26.0;mod=1;sha256sum=2218a34f20b971bc195216d4195f57520a2acbd85de7fc31acfc440266704c11 \
4 gomod://cloud.google.com/go/compute;version=v1.23.3;sha256sum=9214cf85837ea8b96bd61e56e297f06d3008b9d1fc81841e79aaad2940f3ed56 \
5 gomod://cloud.google.com/go/compute/metadata;version=v0.2.3;sha256sum=292864dbd0b1de37a968e285e949885e573384837d81cd3695be5ce2e2391887 \
6 gomod://cloud.google.com/go/iam;version=v1.1.5;sha256sum=7d218318eef5255587d6db35f2aa9952125881c640f6e04fe76d521c14d5d7f3 \
7 gomod://cloud.google.com/go/kms;version=v1.15.6;sha256sum=75e7a21b453cad66aae756e3d0c42a7550c299d62832a0361d6ea6396b4074a9 \
8 gomod://cloud.google.com/go/longrunning;version=v0.5.4;sha256sum=a3eb14ee47bfdbca7df05c0011bcd9a86997ae8ef0a12c3a44a340c7e9ce2c0f \
9 gomod://cloud.google.com/go/security;version=v1.15.5;sha256sum=f4dd23e113cad47462715d654c95de55c1c890b37cca8c79b47bb5a7c0ec9417 \
10 gomod://github.com/BurntSushi/toml;version=v0.3.1;mod=1;sha256sum=28021b4180a59c3993607a95b18e230dd0bc6bea5242ffe8ea8bbfb4f4f7b4d7 \
11 gomod://github.com/census-instrumentation/opencensus-proto;version=v0.2.1;mod=1;sha256sum=dae64639296402235b55587d14d2640615eb3736fa840e4327d3c15db63cc345 \
12 gomod://github.com/client9/misspell;version=v0.3.4;mod=1;sha256sum=d1bc362dddd96fb3a43ed4b92aaab70aa6c7ef5a500d7f09564e3eb24abcf0b8 \
13 gomod://github.com/cncf/udpa/go;version=v0.0.0-20191209042840-269d4d468f6f;mod=1;sha256sum=05f5d4a77a84be45dedc80ebac5a38ef2fd1c6ff3faedad9c00eb31231181218 \
14 gomod://github.com/davecgh/go-spew;version=v1.1.0;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
15 gomod://github.com/davecgh/go-spew;version=v1.1.1;mod=1;sha256sum=bcb29393251237b79a17b6c19bf29134f43e8f438c3198988fcd461a1cdf05cc \
16 gomod://github.com/envoyproxy/go-control-plane;version=v0.9.0;mod=1;sha256sum=2e0f3c5940c6930bce03f0c8cd1724dd93d4d30c6b1c5ae2ee4e3039f0215c07 \
17 gomod://github.com/envoyproxy/go-control-plane;version=v0.9.1-0.20191026205805-5f8ba28d4473;mod=1;sha256sum=2e0f3c5940c6930bce03f0c8cd1724dd93d4d30c6b1c5ae2ee4e3039f0215c07 \
18 gomod://github.com/envoyproxy/go-control-plane;version=v0.9.4;mod=1;sha256sum=6309f752f7d45b74c97e3f8e0e54fc47e604d965b528e60fa68a46317ecb44dc \
19 gomod://github.com/envoyproxy/protoc-gen-validate;version=v0.1.0;mod=1;sha256sum=c8e2e1bf931ad31ab4a5a32673eff764398fbf9cbc6c31bbf005c7c904fc69aa \
20 gomod://github.com/felixge/httpsnoop;version=v1.0.4;sha256sum=75aa471311265e9860df0e523400b4650ed0c1a33262786a421f07226792e494 \
21 gomod://github.com/ghodss/yaml;version=v1.0.0;sha256sum=c3f295d23c02c0b35e4d3b29053586e737cf9642df9615da99c0bda9bbacc624 \
22 gomod://github.com/go-logr/logr;version=v1.2.2;mod=1;sha256sum=519b1d6da5eeef675b4a1857d628f05f110a2b8cb3c423b715fea80d0975a518 \
23 gomod://github.com/go-logr/logr;version=v1.4.1;sha256sum=27d1c8d411fd8e42dc6202991d70afa630089700f1d002de5454d6c26f93674c \
24 gomod://github.com/go-logr/stdr;version=v1.2.2;sha256sum=9dd6893bf700198485ae699640b49bc1efbc6c73b37cb5792a0476e1fd8f7fef \
25 gomod://github.com/golang/glog;version=v0.0.0-20160126235308-23def4e6c14b;mod=1;sha256sum=9c9bafc0f52905afaa7164858b3a01a0cc3dc07da23030177ce487f727438958 \
26 gomod://github.com/golang/groupcache;version=v0.0.0-20200121045136-8c9f03a8e57e;mod=1;sha256sum=5117e2bb86f1cc7cc7489f9f2580fa17b2ef1e3a0a346bf64ed8063ca7b87663 \
27 gomod://github.com/golang/groupcache;version=v0.0.0-20210331224755-41bb18bfe9da;sha256sum=b27034e8fc013627543e1ad098cfc65329f2896df3da5cf3266cc9166f93f3a5 \
28 gomod://github.com/golang/mock;version=v1.1.1;mod=1;sha256sum=5c47c4f981ac63d37f1308647a20d75a148eb2a8f9cc0e7531f030afd0b229e0 \
29 gomod://github.com/golang/protobuf;version=v1.2.0;mod=1;sha256sum=c0a2031bf277087749d8ccc432449f6b1375787eac8641dd2f930074231aafb4 \
30 gomod://github.com/golang/protobuf;version=v1.3.2;mod=1;sha256sum=c0a2031bf277087749d8ccc432449f6b1375787eac8641dd2f930074231aafb4 \
31 gomod://github.com/golang/protobuf;version=v1.4.0;mod=1;sha256sum=0d092f7aa2877feb9e55aee2668286ebbf7e3d0711b1702d84c9225e4cca73f8 \
32 gomod://github.com/golang/protobuf;version=v1.4.0-rc.1;mod=1;sha256sum=eb386ed18bb8d6092974524bd0cda610ad87bee1a4485c9f01bccb713e7dab1e \
33 gomod://github.com/golang/protobuf;version=v1.4.0-rc.1.0.20200221234624-67d41d38c208;mod=1;sha256sum=78c95913aee9dfebd1e84f8b862e98bb1848d1d3e9f22aaf909c4ef4f7e7293d \
34 gomod://github.com/golang/protobuf;version=v1.4.0-rc.2;mod=1;sha256sum=e2622048b96cd87173bd9aeb801a1010807a412e89529509e9a5099f1fc69ab4 \
35 gomod://github.com/golang/protobuf;version=v1.4.0-rc.4.0.20200313231945-b860323f09d0;mod=1;sha256sum=1edf9512236391b88764083bde0391fc49864738432acfdcdd3229572dc71be1 \
36 gomod://github.com/golang/protobuf;version=v1.4.1;mod=1;sha256sum=b7ebbef0f2166a73c7ab79ec37a01b25206b6327e684e3898ba7cb75ecd6ec00 \
37 gomod://github.com/golang/protobuf;version=v1.4.3;mod=1;sha256sum=4bf5885d1ebdc6d270958379a741cd3b4f7aca016e874d8e8b1059110dfe9e15 \
38 gomod://github.com/golang/protobuf;version=v1.5.0;mod=1;sha256sum=738cbb1de96b67a6238ac3b8081cd8b1bfb0daebcf6c9bbe8cbdb6d73baecd19 \
39 gomod://github.com/golang/protobuf;version=v1.5.2;mod=1;sha256sum=7c8e7610527afd7724c7e8b7e843f132b0db61e8c9dd49dc589d430e8929bcc4 \
40 gomod://github.com/golang/protobuf;version=v1.5.3;sha256sum=93bda6e88d4a0a493a98b481de67a10000a755d15f16a800b49a6b96d1bd6f81 \
41 gomod://github.com/google/go-cmp;version=v0.2.0;mod=1;sha256sum=9c2736ea2c03fb1d94b2a1d496aa1a51726c764f158b9f6cde1d7465fc90f412 \
42 gomod://github.com/google/go-cmp;version=v0.3.0;mod=1;sha256sum=81df7917c225a9da7604b230d952fa278c60a8832c10d799385d134b05d5b087 \
43 gomod://github.com/google/go-cmp;version=v0.3.1;mod=1;sha256sum=81df7917c225a9da7604b230d952fa278c60a8832c10d799385d134b05d5b087 \
44 gomod://github.com/google/go-cmp;version=v0.4.0;mod=1;sha256sum=4036ab5636aa42bd313296cd3bfcb4c88912760c56a9e6655ae422d8767c80da \
45 gomod://github.com/google/go-cmp;version=v0.5.0;mod=1;sha256sum=4036ab5636aa42bd313296cd3bfcb4c88912760c56a9e6655ae422d8767c80da \
46 gomod://github.com/google/go-cmp;version=v0.5.3;mod=1;sha256sum=4036ab5636aa42bd313296cd3bfcb4c88912760c56a9e6655ae422d8767c80da \
47 gomod://github.com/google/go-cmp;version=v0.5.5;mod=1;sha256sum=4036ab5636aa42bd313296cd3bfcb4c88912760c56a9e6655ae422d8767c80da \
48 gomod://github.com/google/s2a-go;version=v0.1.7;sha256sum=4392e675b6f0ff0b90f970c0280d63e34b32d077e1f8c0abd1006ad0dbeb2f2e \
49 gomod://github.com/google/uuid;version=v1.1.2;mod=1;sha256sum=73da47b6338b00a082fd451aa35a3273d3adc09b8e9bba98dab01091e402af6e \
50 gomod://github.com/googleapis/enterprise-certificate-proxy;version=v0.3.2;sha256sum=56127cb8bea94f438c4e867f9217bdfc55865282953e54c74eee019575c1020e \
51 gomod://github.com/googleapis/gax-go/v2;version=v2.12.0;sha256sum=10ad5944b8bcce3f2cb9a215a0dda163de5b1f092e61b74a4e162d1eb8f7f7a2 \
52 gomod://github.com/pmezard/go-difflib;version=v1.0.0;mod=1;sha256sum=74b2e766eb215377864d587badf57e95521f692d2a7860b3c7759093f9c9bec2 \
53 gomod://github.com/prometheus/client_model;version=v0.0.0-20190812154241-14fe0d1b01d4;mod=1;sha256sum=8ae247f8b1ced742fbc4aa7ebc6b6c935172eaafa61a2be52ba0bd41286db031 \
54 gomod://github.com/smallstep/pkcs7;version=v0.0.0-20231107075624-be1870d87d13;sha256sum=7f8ed17d46a7dbc883d64b95718a1f6b7ec3bac4b5984741523701d20723ad14 \
55 gomod://github.com/stretchr/objx;version=v0.1.0;mod=1;sha256sum=1350354d52d2287a62336ecc0d56232d4c47699af9bba49c67c2b48254da98f1 \
56 gomod://github.com/stretchr/objx;version=v0.4.0;mod=1;sha256sum=31b2fdcdee870f0f61bffafafb96220967e5bca08a76a920d574216fc1f91355 \
57 gomod://github.com/stretchr/objx;version=v0.5.0;mod=1;sha256sum=cb326540efcb1274a6e4e970d7fc9de2e8062f08a058fc296d859025e62e807a \
58 gomod://github.com/stretchr/testify;version=v1.7.1;mod=1;sha256sum=fff8168d98e6a07156c454a1b6e925509f3177e96c155516d7f96b4079cca3bf \
59 gomod://github.com/stretchr/testify;version=v1.8.0;mod=1;sha256sum=e076074c1560ad1dda98b8b00fea6308c4b6ccd06ddd088d22db4626ed68f738 \
60 gomod://github.com/stretchr/testify;version=v1.8.1;mod=1;sha256sum=af1a5dcb331ace7a3f9fc1b5d7eee9c0bc82b4a2a182fe4cec2add217e2853d6 \
61 gomod://github.com/usbarmory/tamago;version=v0.0.0-20221201111136-9bb9b42304fa;mod=1;sha256sum=3735262e8a80c900b992a499da1076db95d5ecab3fd5237152e4e78fb28db944 \
62 gomod://github.com/yuin/goldmark;version=v1.4.13;mod=1;sha256sum=ee7fe4466203a01d3ac19adc134cdec99bc6de71992c28f3dd9a74480bff0603 \
63 gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c \
64 gomod://go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc;version=v0.47.0;sha256sum=efb13c3eb89199b0f677057a238017b06ffceb868ac55f4f649a31309ec0321d \
65 gomod://go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp;version=v0.47.0;sha256sum=476b9113a426e31a3802d8371c348ae3334c56acba9fc7228b886096c64647a1 \
66 gomod://go.opentelemetry.io/otel;version=v1.22.0;sha256sum=6c02668caef05c8221cf2fb43f4f2943de701f3c4fb69096f2f7da523f1c80d2 \
67 gomod://go.opentelemetry.io/otel/metric;version=v1.22.0;sha256sum=deb750b41631365dbda60fb872dc6901f16817e0b2646307fbfeb4eeb391e02f \
68 gomod://go.opentelemetry.io/otel/trace;version=v1.22.0;sha256sum=d63e40f32d614b00bedfa945eae95e2bc5fe867e167cd7dbfe7f90d96fa599d7 \
69 gomod://golang.org/x/crypto;version=v0.0.0-20190308221718-c2843e01d9a2;mod=1;sha256sum=33ed070a5a66e0960685ac5386440e1b59899e74d8a38a1180685e72a2195ded \
70 gomod://golang.org/x/crypto;version=v0.0.0-20200622213623-75b288015ac9;mod=1;sha256sum=b2b12d09f81915fbcf4226009e50f9efda8bd3757d2055d8ec07977e65bc6618 \
71 gomod://golang.org/x/crypto;version=v0.0.0-20210921155107-089bfa567519;mod=1;sha256sum=cd6311612a2aa4d0d7e03c41b3aa1fbc2d5f895ab3f61089fab80bfe9f8f5485 \
72 gomod://golang.org/x/crypto;version=v0.18.0;sha256sum=5413479720bbf5183144652805203a3df74800d2f281f611e82d3a7ec15f4325 \
73 gomod://golang.org/x/exp;version=v0.0.0-20190121172915-509febef88a4;mod=1;sha256sum=9ff1d07ca8c09458450eb5f4076aa0390ef5c7db0c7a942150e88258a78b5383 \
74 gomod://golang.org/x/lint;version=v0.0.0-20181026193005-c67002cb31c3;mod=1;sha256sum=169b05225c8e2729727e0679ae3911918dfe1c4b18bed5ee0fae29f9ed77b207 \
75 gomod://golang.org/x/lint;version=v0.0.0-20190227174305-5b3e6a55c961;mod=1;sha256sum=8e86b5869db58a7659e485b07dbce3beb1170a153631579e50f4cbf544bb1342 \
76 gomod://golang.org/x/lint;version=v0.0.0-20190313153728-d0100b6bd8b3;mod=1;sha256sum=79df4350b922a8d193782e5600f88280a2b9d41781bfb3760c09bf52ad3023bf \
77 gomod://golang.org/x/mod;version=v0.6.0-dev.0.20220419223038-86c51ed26bb4;mod=1;sha256sum=42d19023ff8f2eae700bc5495f371ecd998a22d19ba985d0af5f69900b254083 \
78 gomod://golang.org/x/net;version=v0.0.0-20180724234803-3673e40ba225;mod=1;sha256sum=3e08f487ddda1851b891df5b1d04bb1a01b84d6d702aa82d9efbccde0aa7df81 \
79 gomod://golang.org/x/net;version=v0.0.0-20180826012351-8a410e7b638d;mod=1;sha256sum=3e08f487ddda1851b891df5b1d04bb1a01b84d6d702aa82d9efbccde0aa7df81 \
80 gomod://golang.org/x/net;version=v0.0.0-20190213061140-3a22650c66bd;mod=1;sha256sum=3e08f487ddda1851b891df5b1d04bb1a01b84d6d702aa82d9efbccde0aa7df81 \
81 gomod://golang.org/x/net;version=v0.0.0-20190311183353-d8887717615a;mod=1;sha256sum=f7046769daac02beb57cbcc481280df59fb403c96fe8262282aba858c7f7fa4d \
82 gomod://golang.org/x/net;version=v0.0.0-20190404232315-eb5bcb51f2a3;mod=1;sha256sum=f7046769daac02beb57cbcc481280df59fb403c96fe8262282aba858c7f7fa4d \
83 gomod://golang.org/x/net;version=v0.0.0-20190620200207-3b0461eec859;mod=1;sha256sum=e6efdaf78a29503f080cf6d2615e289cfb1d9e3ab7d570f53668eca2b4ab41da \
84 gomod://golang.org/x/net;version=v0.0.0-20201110031124-69a78807bb2b;mod=1;sha256sum=66fc44a0644a506da780f7a22a5d73dd025d44a6e58740b62d27f74d7c3a4948 \
85 gomod://golang.org/x/net;version=v0.0.0-20210226172049-e18ecbb05110;mod=1;sha256sum=fef5896d103a0bce5055fdb5e96e830944334792437865347718edceb633348a \
86 gomod://golang.org/x/net;version=v0.0.0-20220722155237-a158d28d115b;mod=1;sha256sum=b315c52647d2da2f76e5cdb9d367e1d6727784236a9bffb612192b19b10a128d \
87 gomod://golang.org/x/net;version=v0.20.0;sha256sum=00adca2fa3315d397ecb886989998f03fefda7b81a0b5ebb3586acef273e0f29 \
88 gomod://golang.org/x/oauth2;version=v0.0.0-20180821212333-d2e6202438be;mod=1;sha256sum=cbbb618da87d4f943b54bfd4f4d3a2fff3610298f04fbeeb3db388cb075f351a \
89 gomod://golang.org/x/oauth2;version=v0.16.0;sha256sum=a6597a80e0461877b21bf5bda71423bfdc9e8701128e39c71ec3aa7e190c7ac3 \
90 gomod://golang.org/x/sync;version=v0.0.0-20180314180146-1d60e4601c6f;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
91 gomod://golang.org/x/sync;version=v0.0.0-20181108010431-42b317875d0f;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
92 gomod://golang.org/x/sync;version=v0.0.0-20190423024810-112230192c58;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
93 gomod://golang.org/x/sync;version=v0.0.0-20220722155255-886fb9371eb4;mod=1;sha256sum=421f6139686d5891f3dc5a563d0995780d3279f65cad4d225cea52686794161c \
94 gomod://golang.org/x/sync;version=v0.6.0;sha256sum=7c75175297a3b368b806bd24c7401629df11dcc655e3c14470058282f101ca6a \
95 gomod://golang.org/x/sys;version=v0.0.0-20180830151530-49385e6e1522;mod=1;sha256sum=8969115e4a39108848324e79a1bd8a8445230e6e3aaccbe9f8057fb50fffc8c1 \
96 gomod://golang.org/x/sys;version=v0.0.0-20190215142949-d0b11bdaac8a;mod=1;sha256sum=8969115e4a39108848324e79a1bd8a8445230e6e3aaccbe9f8057fb50fffc8c1 \
97 gomod://golang.org/x/sys;version=v0.0.0-20190412213103-97732733099d;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
98 gomod://golang.org/x/sys;version=v0.0.0-20200930185726-fdedc70b468f;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
99 gomod://golang.org/x/sys;version=v0.0.0-20201119102817-f84b799fce68;mod=1;sha256sum=181979e8bd57d2d9e064182da86c9a6111aa69755e888f08431ece4742aec343 \
100 gomod://golang.org/x/sys;version=v0.0.0-20210615035016-665e8c7367d1;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
101 gomod://golang.org/x/sys;version=v0.0.0-20220520151302-bc2c85ada10a;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
102 gomod://golang.org/x/sys;version=v0.0.0-20220722155257-8c9f86f7a55f;mod=1;sha256sum=f033333096fe198f3151deed93f2deba74e50bbfe7739134045bc3b7ce4a5024 \
103 gomod://golang.org/x/sys;version=v0.16.0;sha256sum=0175809134fc12e040ea427e927036692127f2891b72e224e5153da543af604a \
104 gomod://golang.org/x/term;version=v0.0.0-20201126162022-7de9c90e9dd1;mod=1;sha256sum=4cbab14f7706771b271d995a1b3cc131fe5a246aadc7ee6d1ba6f0bd894781fa \
105 gomod://golang.org/x/term;version=v0.0.0-20210927222741-03fcf44c2211;mod=1;sha256sum=740794e2914f5cc87e25656c5843222b2c65665821205f45632a0477c8d3f79b \
106 gomod://golang.org/x/text;version=v0.14.0;sha256sum=b9814897e0e09cd576a7a013f066c7db537a3d538d2e0f60f0caee9bc1b3f4af \
107 gomod://golang.org/x/text;version=v0.3.0;mod=1;sha256sum=36879d586fd8001e84da8787190a11e4f78749e2a81dfe8b9b6931899fff31cf \
108 gomod://golang.org/x/text;version=v0.3.3;mod=1;sha256sum=fbb7a88ed140515e790eca7a10ffd319c9786b11c6a6c7e59f80f7fb37bb4542 \
109 gomod://golang.org/x/text;version=v0.3.7;mod=1;sha256sum=c45d669089427bc4635d07b185f9b9680332d1c48c75b3c49cb715b81a04a5b0 \
110 gomod://golang.org/x/text;version=v0.3.8;mod=1;sha256sum=0c06e8d4bc0c4eddce0f9ca01ad87dd9ff74cad7fa8ba166fe97d97d1deb27ae \
111 gomod://golang.org/x/time;version=v0.5.0;sha256sum=e0e5812d19aed367f79ac0ae0ce4770b6602c85f5cfb8d59f3f573c7487ea516 \
112 gomod://golang.org/x/tools;version=v0.0.0-20180917221912-90fa682c2a6e;mod=1;sha256sum=a0e02f0678fe62dc3c4b4bc77fa912c9b70de10fa9f7cf2f7aad0337392b52af \
113 gomod://golang.org/x/tools;version=v0.0.0-20190114222345-bf090417da8b;mod=1;sha256sum=a0e02f0678fe62dc3c4b4bc77fa912c9b70de10fa9f7cf2f7aad0337392b52af \
114 gomod://golang.org/x/tools;version=v0.0.0-20190226205152-f727befe758c;mod=1;sha256sum=2503823869125550d3f88bdef72820024fe27b141f44b81fc3b4f59ef78370eb \
115 gomod://golang.org/x/tools;version=v0.0.0-20190311212946-11955173bddd;mod=1;sha256sum=029638674bdf4fce7437ebc25cda0c8172674ec534b1d2edeb0b474c7d618f00 \
116 gomod://golang.org/x/tools;version=v0.0.0-20190524140312-2c0ae7006135;mod=1;sha256sum=135189df02315d75d62e27551d1accad1db5bd3c1a2a8756f63a69f73b1b5217 \
117 gomod://golang.org/x/tools;version=v0.0.0-20191119224855-298f0cb1881e;mod=1;sha256sum=88d479265f886f5e598d76c003d0f257b42dbf1b895d820a12b5ab0b3501aca1 \
118 gomod://golang.org/x/tools;version=v0.1.12;mod=1;sha256sum=2a8b9365898f0822face65ba089a1353e68a65d342f300ca317cceccde6421f3 \
119 gomod://golang.org/x/xerrors;version=v0.0.0-20190717185122-a985d3407aa7;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \
120 gomod://golang.org/x/xerrors;version=v0.0.0-20191204190536-9bdfabe68543;mod=1;sha256sum=aa5e3ec9bb7b9f681609efac019d9de1a7ba7719248ff1eaa27e78882db3d7f5 \
121 gomod://google.golang.org/api;version=v0.160.0;sha256sum=3130cdcb9e9ab27b9ee8d2b0b3427b25e948ca2eb5000ab6c8ecea6411396b5c \
122 gomod://google.golang.org/appengine;version=v1.1.0;mod=1;sha256sum=d0fb3f328a95259ddeeb7ef934f2abae0327c6a052ff1ab05a2b882178a953b8 \
123 gomod://google.golang.org/appengine;version=v1.4.0;mod=1;sha256sum=f95b808fed2c6febb23a8d11e92743583b37861584d302349ada5ae02a3874dd \
124 gomod://google.golang.org/appengine;version=v1.6.8;mod=1;sha256sum=ef17709123a95906e09d1318b71489fd455bd6efbf6d404083b3137256df2423 \
125 gomod://google.golang.org/genproto;version=v0.0.0-20180817151627-c66870c02cf8;mod=1;sha256sum=4379a64312660353b2dadb20fd55d9968674bbc2bbcf09d50c0aba80111a64b2 \
126 gomod://google.golang.org/genproto;version=v0.0.0-20190819201941-24fa4b261c55;mod=1;sha256sum=4b8edb9554439c665a29e584eda81870cbb699092227d97ba8fa9641538d541d \
127 gomod://google.golang.org/genproto;version=v0.0.0-20200526211855-cb27e3aa2013;mod=1;sha256sum=4ec394d3eca73687d111a3e0e88808b100687302b463b17869bcd026016748bd \
128 gomod://google.golang.org/genproto;version=v0.0.0-20240116215550-a9fa1716bcac;sha256sum=e65fb3abc11c20b0910c40a3b269b79b06c2cdd6e7efab29a5ea50f18a62b7f9 \
129 gomod://google.golang.org/genproto/googleapis/api;version=v0.0.0-20240125205218-1f4bbc51befe;sha256sum=742068cead896163dbe16785d7e56c45d31335d478ea6d10f9188507531bcb52 \
130 gomod://google.golang.org/genproto/googleapis/rpc;version=v0.0.0-20240116215550-a9fa1716bcac;sha256sum=6a1f0ec363ac60b2c41801d1f303306f7a6768ec0ba8efe5b4e9257ff4a91ad5 \
131 gomod://google.golang.org/grpc;version=v1.19.0;mod=1;sha256sum=71de2597fd082e882ef08965ba0c3ee19d38f2df25920733cd434cf80a27ac35 \
132 gomod://google.golang.org/grpc;version=v1.23.0;mod=1;sha256sum=587c9b854d7f5f0181487c854a24fc4c01982e5641d302ce1d0f3d041951cb8b \
133 gomod://google.golang.org/grpc;version=v1.25.1;mod=1;sha256sum=3c4690179945744ec5b01279df99be86153fd386d6fa6b8ef9888ace428cb182 \
134 gomod://google.golang.org/grpc;version=v1.27.0;mod=1;sha256sum=8ad8b97a2a43c2c76572c43a01c469a6e8ec3b049e739a8d3353c9c2ee4cd3d6 \
135 gomod://google.golang.org/grpc;version=v1.33.2;mod=1;sha256sum=74c09c930b5587527ec7bedb25986cce9589e76f0676096abad1a03565b3cff2 \
136 gomod://google.golang.org/grpc;version=v1.61.0;sha256sum=6971b322a68f83ae2055391e5bd57dfb359e67509961a75229b825d2bd15564d \
137 gomod://google.golang.org/protobuf;version=v0.0.0-20200109180630-ec00e32a8dfd;mod=1;sha256sum=a23990efb67ee10bb16d1d1936109cefa4e4262ae3da8d0748efb691614dbb78 \
138 gomod://google.golang.org/protobuf;version=v0.0.0-20200221191635-4d8936d0db64;mod=1;sha256sum=a6d950dd2a7eb82e51cf459d3f61f614b09d730adb9e8094d5bf96b043f38174 \
139 gomod://google.golang.org/protobuf;version=v0.0.0-20200228230310-ab0ca4ff8a60;mod=1;sha256sum=3b808d19947fb29e4db24ed5cb88941afc1927f538d80ad6f880ae4664a5d016 \
140 gomod://google.golang.org/protobuf;version=v1.20.1-0.20200309200217-e05f789c0967;mod=1;sha256sum=420ec9fba7793b96dff1c5ae9983656e72e1c0bd1d14dda2398aec1b294780ff \
141 gomod://google.golang.org/protobuf;version=v1.21.0;mod=1;sha256sum=a532d488ff1097b330ff2e2929f39ecff8c2fa09dc7650b66ca5430c2d8303fb \
142 gomod://google.golang.org/protobuf;version=v1.22.0;mod=1;sha256sum=394a49462cbf6dca4dd86f3cf0e8ddcbb9adc9397f73e82fecae54c79e9e4d53 \
143 gomod://google.golang.org/protobuf;version=v1.23.0;mod=1;sha256sum=394a49462cbf6dca4dd86f3cf0e8ddcbb9adc9397f73e82fecae54c79e9e4d53 \
144 gomod://google.golang.org/protobuf;version=v1.23.1-0.20200526195155-81db48ad09cc;mod=1;sha256sum=394a49462cbf6dca4dd86f3cf0e8ddcbb9adc9397f73e82fecae54c79e9e4d53 \
145 gomod://google.golang.org/protobuf;version=v1.25.0;mod=1;sha256sum=6dea80873d2758a81de6d16bcf6a7f45a27f2ad4c047b7b4da1e88481a974903 \
146 gomod://google.golang.org/protobuf;version=v1.26.0;mod=1;sha256sum=08ec2e20f38efcb651462800069ece4891e252a261007fa9d5a1b157f516ee5f \
147 gomod://google.golang.org/protobuf;version=v1.26.0-rc.1;mod=1;sha256sum=b2c4fe1a66ff5be6eb7c0c5388f080d08821c327ac5cf975dee51d8b0fb49e9f \
148 gomod://google.golang.org/protobuf;version=v1.32.0;sha256sum=c2c117cf29abee8697dabdc69662accf66171bea0efa2749988867ae8ef2362d \
149 gomod://gopkg.in/check.v1;version=v0.0.0-20161208181325-20d25e280405;mod=1;sha256sum=5c306e0d633cd66a11b40e2e5fbbc6da42110db7d72ea3c1524ceb45ee40c33f \
150 gomod://gopkg.in/yaml.v2;version=v2.4.0;sha256sum=ede49e27c4cca6cdd2ec719aed8ea4d363710cceb3d411e7a786fbdec0d391fd \
151 gomod://gopkg.in/yaml.v3;version=v3.0.0-20200313102051-9f266ea9e77c;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \
152 gomod://gopkg.in/yaml.v3;version=v3.0.1;mod=1;sha256sum=21579860a20306fcf43b1bd234d1fba319499c77611b71c05f9bf3ba90dab939 \
153 gomod://honnef.co/go/tools;version=v0.0.0-20190102054323-c2f93a96b099;mod=1;sha256sum=b1c60837ea61335f14df64f3194c3cd92e0f628f6064806718950f0d7a1dbe9e \
154 gomod://honnef.co/go/tools;version=v0.0.0-20190523083050-ea95bdfd59fc;mod=1;sha256sum=b1c60837ea61335f14df64f3194c3cd92e0f628f6064806718950f0d7a1dbe9e \
155"
diff --git a/meta-oe/recipes-support/crucible/crucible-licenses.inc b/meta-oe/recipes-support/crucible/crucible-licenses.inc
new file mode 100644
index 0000000000..bba9dbfc86
--- /dev/null
+++ b/meta-oe/recipes-support/crucible/crucible-licenses.inc
@@ -0,0 +1,40 @@
1GO_MOD_LICENSES = "Apache-2.0 & BSD-3-Clause & MIT"
2
3LIC_FILES_CHKSUM += "\
4 file://pkg/mod/cloud.google.com/go/compute/metadata@v0.2.3/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
5 file://pkg/mod/cloud.google.com/go/iam@v1.1.5/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
6 file://pkg/mod/cloud.google.com/go/kms@v1.15.6/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
7 file://pkg/mod/cloud.google.com/go/longrunning@v0.5.4/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
8 file://pkg/mod/cloud.google.com/go/security@v1.15.5/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
9 file://pkg/mod/github.com/felixge/httpsnoop@v1.0.4/LICENSE.txt;md5=684da2bf3eed8fc8860e75ad84638225 \
10 file://pkg/mod/github.com/ghodss/yaml@v1.0.0/LICENSE;md5=0ceb9ff3b27d3a8cf451ca3785d73c71 \
11 file://pkg/mod/github.com/go-logr/logr@v1.4.1/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
12 file://pkg/mod/github.com/go-logr/stdr@v1.2.2/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
13 file://pkg/mod/github.com/golang/groupcache@v0.0.0-20210331224755-41bb18bfe9da/LICENSE;md5=19cbd64715b51267a47bf3750cc6a8a5 \
14 file://pkg/mod/github.com/golang/protobuf@v1.5.3/LICENSE;md5=939cce1ec101726fa754e698ac871622 \
15 file://pkg/mod/github.com/google/s2a-go@v0.1.7/LICENSE.md;md5=3b83ef96387f14655fc854ddc3c6bd57 \
16 file://pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.2/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
17 file://pkg/mod/github.com/googleapis/gax-go/v2@v2.12.0/LICENSE;md5=0dd48ae8103725bd7b401261520cdfbb \
18 file://pkg/mod/github.com/smallstep/pkcs7@v0.0.0-20231107075624-be1870d87d13/LICENSE;md5=a9b2952d51b44eae97b6090117f60792 \
19 file://pkg/mod/go.opencensus.io@v0.24.0/LICENSE;md5=175792518e4ac015ab6696d16c4f607e \
20 file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc@v0.47.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
21 file://pkg/mod/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.47.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
22 file://pkg/mod/go.opentelemetry.io/otel/metric@v1.22.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
23 file://pkg/mod/go.opentelemetry.io/otel/trace@v1.22.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
24 file://pkg/mod/go.opentelemetry.io/otel@v1.22.0/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
25 file://pkg/mod/golang.org/x/crypto@v0.18.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
26 file://pkg/mod/golang.org/x/net@v0.20.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
27 file://pkg/mod/golang.org/x/oauth2@v0.16.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
28 file://pkg/mod/golang.org/x/sync@v0.6.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
29 file://pkg/mod/golang.org/x/sys@v0.16.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
30 file://pkg/mod/golang.org/x/text@v0.14.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
31 file://pkg/mod/golang.org/x/time@v0.5.0/LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707 \
32 file://pkg/mod/google.golang.org/api@v0.160.0/LICENSE;md5=a651bb3d8b1c412632e28823bb432b40 \
33 file://pkg/mod/google.golang.org/api@v0.160.0/internal/third_party/uritemplates/LICENSE;md5=4ee4feb2b545c2231749e5c54ace343e \
34 file://pkg/mod/google.golang.org/genproto/googleapis/api@v0.0.0-20240125205218-1f4bbc51befe/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
35 file://pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20240116215550-a9fa1716bcac/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
36 file://pkg/mod/google.golang.org/genproto@v0.0.0-20240116215550-a9fa1716bcac/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
37 file://pkg/mod/google.golang.org/grpc@v1.61.0/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \
38 file://pkg/mod/google.golang.org/protobuf@v1.32.0/LICENSE;md5=02d4002e9171d41a8fad93aa7faf3956 \
39 file://pkg/mod/gopkg.in/yaml.v2@v2.4.0/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
40"
diff --git a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
index 4247263b5a..132395e023 100644
--- a/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
+++ b/meta-oe/recipes-support/crucible/crucible_2023.11.02.bb
@@ -1,20 +1,19 @@
1SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses" 1SUMMARY = "Utility that provides userspace support for reading and writing to the i.MX fuses"
2LICENSE = "BSD-3-Clause" 2
3LICENSE = "BSD-3-Clause & ${GO_MOD_LICENSES}"
3LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116" 4LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=201414b6610203caed355323b1ab3116"
5require ${BPN}-licenses.inc
4 6
5GO_IMPORT = "github.com/usbarmory/crucible"
6SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}" 7SRC_URI = "git://${GO_IMPORT}.git;protocol=https;branch=master;destsuffix=${GO_SRCURI_DESTSUFFIX}"
8require ${BPN}-go-mods.inc
9
10SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5"
7 11
12
13GO_IMPORT = "github.com/usbarmory/crucible"
8GO_INSTALL = "\ 14GO_INSTALL = "\
9 ${GO_IMPORT}/cmd/crucible \ 15 ${GO_IMPORT}/cmd/crucible \
10 ${GO_IMPORT}/cmd/habtool \ 16 ${GO_IMPORT}/cmd/habtool \
11" 17"
12SRCREV = "dec27cd4e0e0db106c0a21d429c04ca8d36bbdd5"
13
14export GOPROXY = "https://proxy.golang.org,direct"
15# Workaround for network access issue during compile step.
16# This needs to be fixed in the recipes buildsystem so that
17# it can be accomplished during do_fetch task.
18do_compile[network] = "1"
19 18
20inherit go-mod 19inherit go-mod
diff --git a/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb
index ece30a598b..04362db7e5 100644
--- a/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb
+++ b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-14.bb
@@ -8,8 +8,7 @@ SRC_URI = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/
8 https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README" 8 https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README"
9SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91" 9SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91"
10 10
11S = "${WORKDIR}/sources" 11S = "${UNPACKDIR}"
12UNPACKDIR = "${S}"
13 12
14do_compile() { 13do_compile() {
15 install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE 14 install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE
diff --git a/meta-oe/recipes-support/ctre/ctre_3.9.0.bb b/meta-oe/recipes-support/ctre/ctre_3.9.0.bb
new file mode 100644
index 0000000000..901763f0ad
--- /dev/null
+++ b/meta-oe/recipes-support/ctre/ctre_3.9.0.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Fast compile-time regular expressions with support for matching/searching/capturing."
2HOMEPAGE = "https://github.com/hanickadot/compile-time-regular-expressions"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=2e982d844baa4df1c80de75470e0c5cb"
6
7SRC_URI = "git://github.com/hanickadot/compile-time-regular-expressions.git;protocol=https;branch=main"
8SRCREV = "eb9577aae3515d14e6c5564f9aeb046d2e7c1124"
9
10
11inherit cmake
12
13PACKAGECONFIG ??= ""
14PACKAGECONFIG[module] = "-DCTRE_MODULE=ON,-DCTRE_MODULE=OFF"
15PACKAGECONFIG[tests] = "-DCTRE_BUILD_TESTS=ON,-DCTRE_BUILD_TESTS=OFF"
16
17EXTRA_OECMAKE:append = " \
18-DCTRE_BUILD_PACKAGE=OFF \
19-DCTRE_BUILD_PACKAGE_DEB=OFF \
20-DCTRE_BUILD_PACKAGE_RPM=OFF \
21"
diff --git a/meta-oe/recipes-support/cxxopts/cxxopts_3.3.1.bb b/meta-oe/recipes-support/cxxopts/cxxopts_3.3.1.bb
new file mode 100644
index 0000000000..7b0cc05979
--- /dev/null
+++ b/meta-oe/recipes-support/cxxopts/cxxopts_3.3.1.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "A header-only lightweight C++ command line option parser."
2HOMEPAGE = "https://github.com/jarro2783/cxxopts"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=8de00431559a76a1b43f6fd44f8f6689"
6
7SRC_URI = "git://github.com/jarro2783/cxxopts.git;protocol=https;branch=master"
8SRCREV = "44380e5a44706ab7347f400698c703eb2a196202"
9
10
11inherit cmake
12
13EXTRA_OECMAKE:append = " \
14-DCXXOPTS_BUILD_EXAMPLES=OFF \
15-DCXXOPTS_BUILD_TESTS=OFF \
16-DCXXOPTS_ENABLE_INSTALL=ON \
17-DCXXOPTS_ENABLE_WARNINGS=OFF \
18-DCXXOPTS_USE_UNICODE_HELP=OFF \
19"
diff --git a/meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb b/meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb
index f63348a328..5f33c27c52 100644
--- a/meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb
+++ b/meta-oe/recipes-support/cyaml/cyaml_1.4.1.bb
@@ -11,7 +11,6 @@ SRCREV = "07ff8654a270ec9b410acd3152b60de9e9f941af"
11 11
12SRC_URI = "git://github.com/tlsa/libcyaml.git;protocol=https;branch=main" 12SRC_URI = "git://github.com/tlsa/libcyaml.git;protocol=https;branch=main"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit pkgconfig 15inherit pkgconfig
17 16
diff --git a/meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch b/meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch
new file mode 100644
index 0000000000..3a79dba682
--- /dev/null
+++ b/meta-oe/recipes-support/daemonize/daemonize/0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch
@@ -0,0 +1,46 @@
1From c47fdcc0a900aea93b1967c20db42743171ab1ac Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 27 Mar 2025 16:46:42 +0900
4Subject: [PATCH] fix getopt.c too many arguments to function 'write' error in
5 gcc-15.0.1
6
7In the original code, write() was declared as 'extern int write();',
8which is interpreted as a function taking no parameters.
9This caused errors when actually calling it with 3 parameters.
10The current fix to declare it as 'extern int write(int, const void *, unsigned);'
11is the correct solution.
12This properly defines the write function to accept 3 parameters.
13
14../git/getopt.c: In function 'x_getopt':
15../git/getopt.c:51:16: error: too many arguments to function 'write'; expected 0, have 3
16 51 | (void) write(2, argv[0], (unsigned)strlen(argv[0]));\
17 | ^~~~~ ~
18../git/getopt.c:78:17: note: in expansion of macro 'ERR'
19 78 | ERR(": illegal option -- ", c);
20 | ^~~
21../git/getopt.c:48:20: note: declared here
22 48 | extern int write();\
23 | ^~~~~
24
25Upstream-Status: Submitted [https://github.com/bmc/daemonize/pull/37]
26Signed-off-by: mark.yang <mark.yang@lge.com>
27---
28 getopt.c | 2 +-
29 1 file changed, 1 insertion(+), 1 deletion(-)
30
31diff --git a/getopt.c b/getopt.c
32index 3f37c55..f298da7 100644
33--- a/getopt.c
34+++ b/getopt.c
35@@ -45,7 +45,7 @@
36 #include <string.h>
37
38 #define ERR(s, c) if(x_opterr){\
39- extern int write();\
40+ extern int write(int, const void *, unsigned);\
41 char errbuf[2];\
42 errbuf[0] = c; errbuf[1] = '\n';\
43 (void) write(2, argv[0], (unsigned)strlen(argv[0]));\
44--
452.34.1
46
diff --git a/meta-oe/recipes-support/daemonize/daemonize_git.bb b/meta-oe/recipes-support/daemonize/daemonize_git.bb
index f46dec59fc..bae04ca7a3 100644
--- a/meta-oe/recipes-support/daemonize/daemonize_git.bb
+++ b/meta-oe/recipes-support/daemonize/daemonize_git.bb
@@ -7,9 +7,10 @@ PV = "1.7.8"
7inherit autotools 7inherit autotools
8 8
9SRCREV = "18869a797dab12bf1c917ba3b4782fef484c407c" 9SRCREV = "18869a797dab12bf1c917ba3b4782fef484c407c"
10SRC_URI = "git://github.com/bmc/daemonize.git;branch=master;protocol=https \ 10SRC_URI = " \
11 git://github.com/bmc/daemonize.git;branch=master;protocol=https \
12 file://0001-fix-getopt.c-too-many-arguments-to-function-write-er.patch \
11" 13"
12 14
13S = "${WORKDIR}/git"
14 15
15EXTRA_AUTORECONF += "--exclude=autoheader" 16EXTRA_AUTORECONF += "--exclude=autoheader"
diff --git a/meta-oe/recipes-support/daemontools/daemontools/0001-fix-prototype-declaration-with-gcc-15.patch b/meta-oe/recipes-support/daemontools/daemontools/0001-fix-prototype-declaration-with-gcc-15.patch
new file mode 100644
index 0000000000..8910b40ec5
--- /dev/null
+++ b/meta-oe/recipes-support/daemontools/daemontools/0001-fix-prototype-declaration-with-gcc-15.patch
@@ -0,0 +1,252 @@
1From d4e8b6638ede51dee635317baf86a43d40bc45d2 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Tue, 8 Apr 2025 14:02:04 +0900
4Subject: [PATCH] fix prototype declaration with gcc 15
5
6* Fix prototype declaration and too many arguments function errors due to outdated style
7byte_chr.c:9:1: error: number of arguments doesn't match prototype
8 9 | {
9 | ^
10In file included from byte_chr.c:3:
11byte.h:6:21: error: prototype declaration
12 6 | extern unsigned int byte_chr();
13 | ^~~~~~~~
14...
15./compile buffer_get.c
16buffer_get.c: In function 'oneread':
17buffer_get.c:12:9: error: too many arguments to function 'op'; expected 0, have 3
18 12 | r = op(fd,buf,len);
19 | ^~ ~~
20...
21supervise.c: In function 'doit':
22supervise.c:144:11: error: too many arguments to function 'wait_nohang'; expected 0, have 1
23 144 | r = wait_nohang(&wstat);
24 | ^~~~~~~~~~~ ~~~~~~
25
26Upstream-Status: Inactive-Upstream [lastrelease: 10 years ago]
27Signed-off-by: mark.yang <mark.yang@lge.com>
28---
29 src/alloc.c | 6 ++----
30 src/alloc.h | 6 +++---
31 src/alloc_re.c | 5 +----
32 src/buffer_get.c | 2 +-
33 src/buffer_put.c | 2 +-
34 src/byte.h | 10 +++++-----
35 src/byte_chr.c | 5 +----
36 src/byte_copy.c | 5 +----
37 src/byte_cr.c | 5 +----
38 src/byte_diff.c | 5 +----
39 src/byte_rchr.c | 5 +----
40 src/select.h2 | 1 -
41 src/wait.h | 4 ++--
42 13 files changed, 20 insertions(+), 41 deletions(-)
43
44diff --git a/src/alloc.c b/src/alloc.c
45index c741aa4..5b21993 100644
46--- a/src/alloc.c
47+++ b/src/alloc.c
48@@ -12,8 +12,7 @@ static aligned realspace[SPACE / ALIGNMENT];
49 #define space ((char *) realspace)
50 static unsigned int avail = SPACE; /* multiple of ALIGNMENT; 0<=avail<=SPACE */
51
52-/*@null@*//*@out@*/char *alloc(n)
53-unsigned int n;
54+/*@null@*//*@out@*/char *alloc(unsigned int n)
55 {
56 char *x;
57 n = ALIGNMENT + n - (n & (ALIGNMENT - 1)); /* XXX: could overflow */
58@@ -23,8 +22,7 @@ unsigned int n;
59 return x;
60 }
61
62-void alloc_free(x)
63-char *x;
64+void alloc_free(char *x)
65 {
66 if (x >= space)
67 if (x < space + SPACE)
68diff --git a/src/alloc.h b/src/alloc.h
69index 21122fc..7a13178 100644
70--- a/src/alloc.h
71+++ b/src/alloc.h
72@@ -3,8 +3,8 @@
73 #ifndef ALLOC_H
74 #define ALLOC_H
75
76-extern /*@null@*//*@out@*/char *alloc();
77-extern void alloc_free();
78-extern int alloc_re();
79+extern /*@null@*//*@out@*/char *alloc(unsigned int n);
80+extern void alloc_free(char *x);
81+extern int alloc_re(char **x,unsigned int m,unsigned int n);
82
83 #endif
84diff --git a/src/alloc_re.c b/src/alloc_re.c
85index 1074609..5096fb1 100644
86--- a/src/alloc_re.c
87+++ b/src/alloc_re.c
88@@ -3,10 +3,7 @@
89 #include "alloc.h"
90 #include "byte.h"
91
92-int alloc_re(x,m,n)
93-char **x;
94-unsigned int m;
95-unsigned int n;
96+int alloc_re(char **x,unsigned int m,unsigned int n)
97 {
98 char *y;
99
100diff --git a/src/buffer_get.c b/src/buffer_get.c
101index 3a6e1b6..2a38fa1 100644
102--- a/src/buffer_get.c
103+++ b/src/buffer_get.c
104@@ -4,7 +4,7 @@
105 #include "byte.h"
106 #include "error.h"
107
108-static int oneread(int (*op)(),int fd,char *buf,unsigned int len)
109+static int oneread(int (*op)(int, char *, unsigned int),int fd,char *buf,unsigned int len)
110 {
111 int r;
112
113diff --git a/src/buffer_put.c b/src/buffer_put.c
114index 23164b3..23d1d2b 100644
115--- a/src/buffer_put.c
116+++ b/src/buffer_put.c
117@@ -5,7 +5,7 @@
118 #include "byte.h"
119 #include "error.h"
120
121-static int allwrite(int (*op)(),int fd,const char *buf,unsigned int len)
122+static int allwrite(int (*op)(int, const char *, unsigned int),int fd,const char *buf,unsigned int len)
123 {
124 int w;
125
126diff --git a/src/byte.h b/src/byte.h
127index 09aab61..d5ccf83 100644
128--- a/src/byte.h
129+++ b/src/byte.h
130@@ -3,11 +3,11 @@
131 #ifndef BYTE_H
132 #define BYTE_H
133
134-extern unsigned int byte_chr();
135-extern unsigned int byte_rchr();
136-extern void byte_copy();
137-extern void byte_copyr();
138-extern int byte_diff();
139+extern unsigned int byte_chr(char* s,register unsigned int n,int c);
140+extern unsigned int byte_rchr(char* s,register unsigned int n,int c);
141+extern void byte_copy(register char* to,register unsigned int n,register char* from);
142+extern void byte_copyr(register char* to,register unsigned int n,register char* from);
143+extern int byte_diff(register char* s,register unsigned int n,register char* t);
144 extern void byte_zero();
145
146 #define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
147diff --git a/src/byte_chr.c b/src/byte_chr.c
148index fd56056..7fbcd61 100644
149--- a/src/byte_chr.c
150+++ b/src/byte_chr.c
151@@ -2,10 +2,7 @@
152
153 #include "byte.h"
154
155-unsigned int byte_chr(s,n,c)
156-char *s;
157-register unsigned int n;
158-int c;
159+unsigned int byte_chr(char* s,register unsigned int n,int c)
160 {
161 register char ch;
162 register char *t;
163diff --git a/src/byte_copy.c b/src/byte_copy.c
164index 74c9e4a..917d795 100644
165--- a/src/byte_copy.c
166+++ b/src/byte_copy.c
167@@ -2,10 +2,7 @@
168
169 #include "byte.h"
170
171-void byte_copy(to,n,from)
172-register char *to;
173-register unsigned int n;
174-register char *from;
175+void byte_copy(register char* to,register unsigned int n,register char* from)
176 {
177 for (;;) {
178 if (!n) return; *to++ = *from++; --n;
179diff --git a/src/byte_cr.c b/src/byte_cr.c
180index 52dc251..ac3ec67 100644
181--- a/src/byte_cr.c
182+++ b/src/byte_cr.c
183@@ -2,10 +2,7 @@
184
185 #include "byte.h"
186
187-void byte_copyr(to,n,from)
188-register char *to;
189-register unsigned int n;
190-register char *from;
191+void byte_copyr(register char* to,register unsigned int n,register char* from)
192 {
193 to += n;
194 from += n;
195diff --git a/src/byte_diff.c b/src/byte_diff.c
196index 0c4d17b..e1ef257 100644
197--- a/src/byte_diff.c
198+++ b/src/byte_diff.c
199@@ -2,10 +2,7 @@
200
201 #include "byte.h"
202
203-int byte_diff(s,n,t)
204-register char *s;
205-register unsigned int n;
206-register char *t;
207+int byte_diff(register char* s,register unsigned int n,register char* t)
208 {
209 for (;;) {
210 if (!n) return 0; if (*s != *t) break; ++s; ++t; --n;
211diff --git a/src/byte_rchr.c b/src/byte_rchr.c
212index 7ea9948..04391bf 100644
213--- a/src/byte_rchr.c
214+++ b/src/byte_rchr.c
215@@ -2,10 +2,7 @@
216
217 #include "byte.h"
218
219-unsigned int byte_rchr(s,n,c)
220-char *s;
221-register unsigned int n;
222-int c;
223+unsigned int byte_rchr(char* s,register unsigned int n,int c)
224 {
225 register char ch;
226 register char *t;
227diff --git a/src/select.h2 b/src/select.h2
228index 4bd4fcf..b7ac8c9 100644
229--- a/src/select.h2
230+++ b/src/select.h2
231@@ -8,6 +8,5 @@
232 #include <sys/types.h>
233 #include <sys/time.h>
234 #include <sys/select.h>
235-extern int select();
236
237 #endif
238diff --git a/src/wait.h b/src/wait.h
239index d294e9d..168d1bf 100644
240--- a/src/wait.h
241+++ b/src/wait.h
242@@ -3,8 +3,8 @@
243 #ifndef WAIT_H
244 #define WAIT_H
245
246-extern int wait_pid();
247-extern int wait_nohang();
248+extern int wait_pid(int* status, int pid);
249+extern int wait_nohang(int* status);
250 extern int wait_stop();
251 extern int wait_stopnohang();
252
diff --git a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
index a35b54e3bc..cc83015e65 100644
--- a/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
+++ b/meta-oe/recipes-support/daemontools/daemontools_0.76.bb
@@ -24,14 +24,22 @@ SRC_URI = "http://cr.yp.to/daemontools/${BPN}-${PV}.tar.gz \
24 file://0001-daemontools-Fix-QA-Issue.patch \ 24 file://0001-daemontools-Fix-QA-Issue.patch \
25 file://warnings.patch \ 25 file://warnings.patch \
26 file://0001-Fix-signature-of-main-function.patch \ 26 file://0001-Fix-signature-of-main-function.patch \
27 file://0001-fix-prototype-declaration-with-gcc-15.patch \
27" 28"
28 29
29SRC_URI[md5sum] = "1871af2453d6e464034968a0fbcb2bfc"
30SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f" 30SRC_URI[sha256sum] = "a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f"
31 31
32S = "${WORKDIR}/admin/${BP}" 32UPSTREAM_CHECK_URI = "http://cr.yp.to/daemontools/install.html"
33 33
34S = "${UNPACKDIR}/admin/${BP}"
35
36# http://errors.yoctoproject.org/Errors/Details/766886/
37# pathexec_run.c:19:17: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types]
38# pathexec_run.c:19:22: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types]
39# pathexec_run.c:36:18: error: passing argument 2 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types]
40# pathexec_run.c:36:23: error: passing argument 3 of 'execve' from incompatible pointer type [-Wincompatible-pointer-types]
34do_compile() { 41do_compile() {
42 export CC="$CC -Wno-error=incompatible-pointer-types"
35 ./package/compile 43 ./package/compile
36} 44}
37 45
diff --git a/meta-oe/recipes-support/dc/double-conversion_3.3.0.bb b/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb
index a8fd88a9ad..31330faa17 100644
--- a/meta-oe/recipes-support/dc/double-conversion_3.3.0.bb
+++ b/meta-oe/recipes-support/dc/double-conversion_3.3.1.bb
@@ -6,13 +6,12 @@ LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=1ea35644f0ec0d9767897115667e901f"
7 7
8 8
9S = "${WORKDIR}/git"
10 9
11SRC_URI = " \ 10SRC_URI = " \
12 git://github.com/google/double-conversion.git;protocol=https;branch=master \ 11 git://github.com/google/double-conversion.git;protocol=https;branch=master \
13 file://run-ptest \ 12 file://run-ptest \
14" 13"
15SRCREV = "4f7a25d8ced8c7cf6eee6fd09d6788eaa23c9afe" 14SRCREV = "ae0dbfeb9744efd216c95b30555049d75d47116a"
16 15
17inherit cmake ptest 16inherit cmake ptest
18 17
diff --git a/meta-oe/recipes-support/devmem2/devmem2_2.0.bb b/meta-oe/recipes-support/devmem2/devmem2_2.0.bb
index aee6bfe3da..e601755af4 100644
--- a/meta-oe/recipes-support/devmem2/devmem2_2.0.bb
+++ b/meta-oe/recipes-support/devmem2/devmem2_2.0.bb
@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf9862
5SRC_URI = "git://github.com/denix0/devmem2.git;protocol=https;branch=main" 5SRC_URI = "git://github.com/denix0/devmem2.git;protocol=https;branch=main"
6SRCREV = "5b395a946894eb4f4ef5d07c80a50a88573a541e" 6SRCREV = "5b395a946894eb4f4ef5d07c80a50a88573a541e"
7 7
8S = "${WORKDIR}/git" 8# Upstream repo does not tag
9UPSTREAM_CHECK_COMMITS = "1"
10
9 11
10CFLAGS += "-DFORCE_STRICT_ALIGNMENT" 12CFLAGS += "-DFORCE_STRICT_ALIGNMENT"
11 13
diff --git a/meta-oe/recipes-support/dhex/dhex/0001-Fix-function-declaration-conflict-error-with-empty-p.patch b/meta-oe/recipes-support/dhex/dhex/0001-Fix-function-declaration-conflict-error-with-empty-p.patch
new file mode 100644
index 0000000000..b4d7656aff
--- /dev/null
+++ b/meta-oe/recipes-support/dhex/dhex/0001-Fix-function-declaration-conflict-error-with-empty-p.patch
@@ -0,0 +1,38 @@
1From 86491a25b9057576234d1eaf4da020413e7259ad Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Tue, 8 Apr 2025 14:43:29 +0900
4Subject: [PATCH] Fix function declaration conflict error with empty parameters
5 in gcc-15
6
7* A strict error handling for function parameters in gcc-15 causes errors.
8output.c:9:6: error: conflicting types for 'initcolors'; have 'void(tOutput *)' {aka 'void(struct _tOutput *)'}
9 9 | void initcolors(tOutput* output)
10 | ^~~~~~~~~~
11In file included from output.c:7:
12output.h:10:6: note: previous declaration of 'initcolors' with type 'void(void)'
13 10 | void initcolors();
14 | ^~~~~~~~~~
15
16
17* This component is a personal project and is maintained through the maintainer's personal email.
18 I have sent the patch via email and am waiting for a response.
19
20Upstream-Status: Pending
21Signed-off-by: mark.yang <mark.yang@lge.com>
22---
23 output.h | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/output.h b/output.h
27index cef29e9..b2b5e38 100644
28--- a/output.h
29+++ b/output.h
30@@ -7,7 +7,7 @@
31 #include "machine_type.h"
32 #include "datatypes.h"
33
34-void initcolors();
35+void initcolors(tOutput* output);
36 void colorpair(tOutput* output,uicolors uicol,short fg,short bg,int attr);
37 void pairsinit(tOutput* output);
38 void setcolor(tOutput* output,uicolors col);
diff --git a/meta-oe/recipes-support/dhex/dhex_0.69.bb b/meta-oe/recipes-support/dhex/dhex_0.69.bb
index 3cc870481f..f292cf8d4f 100644
--- a/meta-oe/recipes-support/dhex/dhex_0.69.bb
+++ b/meta-oe/recipes-support/dhex/dhex_0.69.bb
@@ -7,11 +7,13 @@ DEPENDS = "ncurses"
7LICENSE = "GPL-2.0-or-later" 7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://README.txt;beginline=229;endline=241;md5=6f252a421b65bcecf624382ba3c899da" 8LIC_FILES_CHKSUM = "file://README.txt;beginline=229;endline=241;md5=6f252a421b65bcecf624382ba3c899da"
9 9
10SRC_URI = "http://www.dettus.net/dhex/dhex_0.69.tar.gz" 10SRC_URI = " \
11SRC_URI[md5sum] = "64d557437fe110c19f23ed3e9bbcdd54" 11 http://www.dettus.net/dhex/dhex_0.69.tar.gz \
12 file://0001-Fix-function-declaration-conflict-error-with-empty-p.patch \
13"
12SRC_URI[sha256sum] = "52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b" 14SRC_URI[sha256sum] = "52730bcd1cf16bd4dae0de42531be9a4057535ec61ca38c0804eb8246ea6c41b"
13 15
14S = "${WORKDIR}/dhex_${PV}" 16S = "${UNPACKDIR}/dhex_${PV}"
15 17
16EXTRA_OEMAKE += "'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'CPPFLAGS=${CPPFLAGS}'" 18EXTRA_OEMAKE += "'CC=${CC}' 'LDFLAGS=${LDFLAGS}' 'CPPFLAGS=${CPPFLAGS}'"
17 19
diff --git a/meta-oe/recipes-support/digitemp/digitemp/0001-Fix-conflicting-prototype.patch b/meta-oe/recipes-support/digitemp/digitemp/0001-Fix-conflicting-prototype.patch
new file mode 100644
index 0000000000..484fc1c3a2
--- /dev/null
+++ b/meta-oe/recipes-support/digitemp/digitemp/0001-Fix-conflicting-prototype.patch
@@ -0,0 +1,32 @@
1From fa56b0f78d12f97ac44e0a367d413a9e88611d1c Mon Sep 17 00:00:00 2001
2From: Robert Scheck <robert-scheck@users.noreply.github.com>
3Date: Thu, 16 Jan 2025 21:24:41 +0100
4Subject: [PATCH] Fix conflicting prototype
5
6src/digitemp.c:171:6: error: conflicting types for ‘free_coupler’; have ‘void(int)’
7 171 | void free_coupler( int free_only )
8 | ^~~~~~~~~~~~
9In file included from src/digitemp.c:78:
10src/digitemp.h:90:6: note: previous declaration of ‘free_coupler’ with type ‘void(void)’
11 90 | void free_coupler();
12 | ^~~~~~~~~~~~
13
14Upstream-Status: Backport [https://github.com/bcl/digitemp/commit/fa56b0f78d12f97ac44e0a367d413a9e88611d1c]
15Signed-off-by: mark.yang <mark.yang@lge.com>
16---
17 src/digitemp.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/src/digitemp.h b/src/digitemp.h
21index 06d50e9..e81a7be 100644
22--- a/src/digitemp.h
23+++ b/src/digitemp.h
24@@ -87,7 +87,7 @@ struct _coupler {
25
26 /* Prototypes */
27 void usage();
28-void free_coupler();
29+void free_coupler( int free_only );
30 float c2f( float temp );
31 int build_tf( char *time_format, char *format, int sensor,
32 float temp_c, int humidity, unsigned char *sn );
diff --git a/meta-oe/recipes-support/digitemp/digitemp_3.7.2.bb b/meta-oe/recipes-support/digitemp/digitemp_3.7.2.bb
index 6565097334..baddf42e6b 100644
--- a/meta-oe/recipes-support/digitemp/digitemp_3.7.2.bb
+++ b/meta-oe/recipes-support/digitemp/digitemp_3.7.2.bb
@@ -4,11 +4,13 @@ DEPENDS = "libusb1"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0" 5LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
6 6
7SRC_URI = "git://github.com/bcl/digitemp;branch=master;protocol=https" 7SRC_URI = " \
8 git://github.com/bcl/digitemp;branch=master;protocol=https \
9 file://0001-Fix-conflicting-prototype.patch \
10"
8 11
9SRCREV = "a162e63aad35358aab325388f3d5e88121606419" 12SRCREV = "a162e63aad35358aab325388f3d5e88121606419"
10 13
11S = "${WORKDIR}/git"
12 14
13EXTRA_OEMAKE = "ds9097 ds9097u \ 15EXTRA_OEMAKE = "ds9097 ds9097u \
14 SYSTYPE='Linux' \ 16 SYSTYPE='Linux' \
diff --git a/meta-oe/recipes-support/dool/dool_1.3.2.bb b/meta-oe/recipes-support/dool/dool_1.3.4.bb
index f7e403018c..d18f5c8b01 100644
--- a/meta-oe/recipes-support/dool/dool_1.3.2.bb
+++ b/meta-oe/recipes-support/dool/dool_1.3.4.bb
@@ -12,9 +12,8 @@ RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell pyth
12SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \ 12SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=master;protocol=https \
13 " 13 "
14 14
15SRCREV = "b2862905be841232c9e36ce1e059d3fe34ef0cdf" 15SRCREV = "5068abef0a960c173a91e84a45e7fea1b0a802c0"
16 16
17S = "${WORKDIR}/git"
18 17
19do_install() { 18do_install() {
20 oe_runmake 'DESTDIR=${D}' install 19 oe_runmake 'DESTDIR=${D}' install
diff --git a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
index 970844f982..578a2b8d3b 100644
--- a/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
+++ b/meta-oe/recipes-support/driverctl/driverctl_0.115.bb
@@ -10,7 +10,6 @@ RDEPENDS:${PN} += "bash bash-completion"
10SRC_URI = "git://gitlab.com/driverctl/driverctl.git;branch=master;protocol=https" 10SRC_URI = "git://gitlab.com/driverctl/driverctl.git;branch=master;protocol=https"
11SRCREV = "2ba60536eb20ca0a6a751bd8b6501dba84ec45d3" 11SRCREV = "2ba60536eb20ca0a6a751bd8b6501dba84ec45d3"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit pkgconfig systemd features_check 14inherit pkgconfig systemd features_check
16 15
diff --git a/meta-oe/recipes-support/edid-decode/edid-decode_git.bb b/meta-oe/recipes-support/edid-decode/edid-decode_git.bb
index 6eaec800ca..fc8681ca44 100644
--- a/meta-oe/recipes-support/edid-decode/edid-decode_git.bb
+++ b/meta-oe/recipes-support/edid-decode/edid-decode_git.bb
@@ -6,10 +6,13 @@ SECTION = "console/utils"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2ef696d66c156139232201f223c22592" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=2ef696d66c156139232201f223c22592"
8 8
9SRC_URI= "git://git.linuxtv.org/edid-decode.git;protocol=https;branch=master" 9SRC_URI = "git://git.linuxtv.org/edid-decode.git;protocol=https;branch=master"
10SRCREV = "5920bf2a756b2f748c49ff6a08b9f421026473c5" 10SRCREV = "5920bf2a756b2f748c49ff6a08b9f421026473c5"
11PV = "0.0+git" 11PV = "0.0+git"
12S = "${WORKDIR}/git" 12
13# Upstream repo does not tag
14UPSTREAM_CHECK_COMMITS = "1"
15
13 16
14do_install() { 17do_install() {
15 oe_runmake 'DESTDIR=${D}' install 18 oe_runmake 'DESTDIR=${D}' install
diff --git a/meta-oe/recipes-support/eject/eject_2.1.5.bb b/meta-oe/recipes-support/eject/eject_2.1.5.bb
index dd5489e7db..aa0e86db12 100644
--- a/meta-oe/recipes-support/eject/eject_2.1.5.bb
+++ b/meta-oe/recipes-support/eject/eject_2.1.5.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
5 5
6inherit autotools gettext update-alternatives 6inherit autotools gettext update-alternatives
7 7
8SRC_URI = "http://sources.openembedded.org/${BP}.tar.gz \ 8SRC_URI = "https://downloads.yoctoproject.org/mirror/sources/${BP}.tar.gz \
9 file://eject-2.1.5-error-return.patch \ 9 file://eject-2.1.5-error-return.patch \
10 file://eject-2.1.1-verbose.patch \ 10 file://eject-2.1.1-verbose.patch \
11 file://eject-2.1.5-spaces.patch \ 11 file://eject-2.1.5-spaces.patch \
@@ -13,10 +13,9 @@ SRC_URI = "http://sources.openembedded.org/${BP}.tar.gz \
13 file://0001-eject-Include-sys-sysmacros.h-for-major-minor.patch \ 13 file://0001-eject-Include-sys-sysmacros.h-for-major-minor.patch \
14 " 14 "
15 15
16SRC_URI[md5sum] = "b96a6d4263122f1711db12701d79f738"
17SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55" 16SRC_URI[sha256sum] = "ef9f7906484cfde4ba223b2682a37058f9a3c7d3bb1adda7a34a67402e2ffe55"
18 17
19S = "${WORKDIR}/${BPN}" 18S = "${UNPACKDIR}/${BPN}"
20 19
21 20
22do_compile:prepend() { 21do_compile:prepend() {
diff --git a/meta-oe/recipes-support/enca/enca/cross.patch b/meta-oe/recipes-support/enca/enca/cross.patch
new file mode 100644
index 0000000000..7749dee088
--- /dev/null
+++ b/meta-oe/recipes-support/enca/enca/cross.patch
@@ -0,0 +1,68 @@
1From: Helmut Grohne <helmut@subdivi.de>
2Subject: build make_hash with the build arch compiler
3
4Also note that we cannot include config.h in make_hash.c, because it is
5specific to the host architecture.
6
7Sourced from debian - https://salsa.debian.org/debian/enca/-/blob/master/debian/patches/cross.patch?ref_type=heads
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11
12Index: enca-1.19/configure.ac
13===================================================================
14--- enca-1.19.orig/configure.ac
15+++ enca-1.19/configure.ac
16@@ -35,6 +35,7 @@
17 dnl Checks for programs.
18 AC_PROG_AWK
19 AC_PROG_CC
20+AX_PROG_CC_FOR_BUILD
21 AC_GNU_SOURCE
22 AC_AIX
23 AC_ISC_POSIX
24Index: enca-1.19/tools/Makefile.am
25===================================================================
26--- enca-1.19.orig/tools/Makefile.am
27+++ enca-1.19/tools/Makefile.am
28@@ -2,7 +2,8 @@
29 noinst_HEADERS = encodings.h
30 noinst_SCRIPTS = expand_table.pl
31
32-make_hash_SOURCES = make_hash.c
33+make_hash$(EXEEXT): make_hash.c
34+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -o $@ $<
35
36 BUILT_SOURCES = $(noinst_HEADERS)
37
38Index: enca-1.19/tools/make_hash.c
39===================================================================
40--- enca-1.19.orig/tools/make_hash.c
41+++ enca-1.19/tools/make_hash.c
42@@ -17,25 +17,9 @@
43 with this program; if not, write to the Free Software Foundation, Inc.,
44 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
45 */
46-#ifdef HAVE_CONFIG_H
47-# include "config.h"
48-#endif /* HAVE_CONFIG_H */
49-
50 #include <stdlib.h>
51 #include <stdio.h>
52-
53-#ifdef HAVE_STRING_H
54-# include <string.h>
55-#else /* HAVE_STRING_H */
56-# ifdef HAVE_STRINGS_H
57-# include <strings.h>
58-# endif /* HAVE_STRINGS_H */
59-#endif /* HAVE_STRING_H */
60-
61-#ifdef HAVE_MEMORY_H
62-# include <memory.h>
63-#endif /* HAVE_MEMORY_H */
64-
65+#include <string.h>
66 #include <unistd.h>
67 #include <ctype.h>
68
diff --git a/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch b/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch
deleted file mode 100644
index 756745d839..0000000000
--- a/meta-oe/recipes-support/enca/enca/makefile-remove-tools.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Upstream-Status: Pending
2
3--- enca-1.19/Makefile.am.orig 2006-06-29 15:34:55.000000000 +0100
4+++ enca-1.19/Makefile.am 2006-06-29 15:35:20.000000000 +0100
5@@ -1,7 +1,7 @@
6 if MAINTAINER_MODE
7-SUBDIRS = tools data script lib src devel-docs test
8+SUBDIRS = data script lib src devel-docs test
9 else
10-SUBDIRS = tools script lib src devel-docs
11+SUBDIRS = script lib src devel-docs
12 endif
13 man_MANS = man/enca.1
14
diff --git a/meta-oe/recipes-support/enca/enca_1.19.bb b/meta-oe/recipes-support/enca/enca_1.19.bb
index 774f05f7c4..61da50ba52 100644
--- a/meta-oe/recipes-support/enca/enca_1.19.bb
+++ b/meta-oe/recipes-support/enca/enca_1.19.bb
@@ -2,33 +2,19 @@ SUMMARY = "Enca is an Extremely Naive Charset Analyser"
2SECTION = "libs" 2SECTION = "libs"
3HOMEPAGE = "https://cihar.com/software/enca/" 3HOMEPAGE = "https://cihar.com/software/enca/"
4 4
5DEPENDS += "gettext-native" 5DEPENDS += "gettext-native autoconf-archive-native"
6 6
7LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4" 8LIC_FILES_CHKSUM = "file://COPYING;md5=24b9569831c46d4818450b55282476b4"
9 9
10SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \ 10SRC_URI = "https://dl.cihar.com/enca/enca-${PV}.tar.gz \
11 file://cross.patch \
11 file://dont-run-tests.patch \ 12 file://dont-run-tests.patch \
12 file://makefile-remove-tools.patch \
13 file://libenca-003-iconv.patch \ 13 file://libenca-003-iconv.patch \
14 file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch" 14 file://0001-Do-not-use-MKTEMP_PROG-in-cross-build.patch \
15 "
15SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a" 16SRC_URI[sha256sum] = "4c305cc59f3e57f2cfc150a6ac511690f43633595760e1cb266bf23362d72f8a"
16 17
17inherit autotools 18inherit autotools
18 19
19do_configure:prepend() { 20EXTRA_OECONF += "MKTEMP_PROG=mktemp"
20 # remove failing test which checks for something that isn't even used
21 sed -i -e '/ye_FUNC_SCANF_MODIF_SIZE_T/d' ${S}/configure.ac
22}
23
24do_configure:append() {
25 sed -i s:-I/usr/include::g ${B}/Makefile
26 sed -i s:-I/usr/include::g ${B}/*/Makefile
27}
28
29do_compile() {
30 cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c
31 cd ${B}
32 oe_runmake
33}
34
diff --git a/meta-oe/recipes-support/epeg/epeg_git.bb b/meta-oe/recipes-support/epeg/epeg_git.bb
index e5277b1579..63c1455f25 100644
--- a/meta-oe/recipes-support/epeg/epeg_git.bb
+++ b/meta-oe/recipes-support/epeg/epeg_git.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/mattes/epeg.git;branch=master;protocol=https \
9 file://0001-configure-Fix-checks-for-libjpeg-and-libexif.patch \ 9 file://0001-configure-Fix-checks-for-libjpeg-and-libexif.patch \
10 " 10 "
11SRCREV = "9a175cd67eaa61fe45413d8da82da72936567047" 11SRCREV = "9a175cd67eaa61fe45413d8da82da72936567047"
12S = "${WORKDIR}/git"
13 12
14inherit autotools pkgconfig 13inherit autotools pkgconfig
15 14
diff --git a/meta-oe/recipes-support/espeak/espeak_1.48.04.bb b/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
index 147a8069fa..c80bf12ade 100644
--- a/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
+++ b/meta-oe/recipes-support/espeak/espeak_1.48.04.bb
@@ -8,10 +8,9 @@ SRC_URI = "http://downloads.sourceforge.net/espeak/espeak-1.48.04-source.zip \
8 file://0002-tr_languages-cast-string_ordinal-init-values.patch \ 8 file://0002-tr_languages-cast-string_ordinal-init-values.patch \
9 file://0001-Drop-using-register-keyword-for-storage-classifier.patch \ 9 file://0001-Drop-using-register-keyword-for-storage-classifier.patch \
10" 10"
11SRC_URI[md5sum] = "cadd7482eaafe9239546bdc09fa244c3"
12SRC_URI[sha256sum] = "bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659" 11SRC_URI[sha256sum] = "bf9a17673adffcc28ff7ea18764f06136547e97bbd9edf2ec612f09b207f0659"
13 12
14S = "${WORKDIR}/espeak-${PV}-source" 13S = "${UNPACKDIR}/espeak-${PV}-source"
15 14
16DEPENDS = "portaudio-v19 qemu-helper-native" 15DEPENDS = "portaudio-v19 qemu-helper-native"
17inherit siteinfo qemu 16inherit siteinfo qemu
diff --git a/meta-oe/recipes-support/evemu-tools/evemu-tools_git.bb b/meta-oe/recipes-support/evemu-tools/evemu-tools_git.bb
index 491f10dda0..225d15cc7f 100644
--- a/meta-oe/recipes-support/evemu-tools/evemu-tools_git.bb
+++ b/meta-oe/recipes-support/evemu-tools/evemu-tools_git.bb
@@ -10,7 +10,6 @@ DEPENDS = "libevdev"
10SRCREV = "86a5627dbeac8d9d9bc34326a758d6a477e876e4" 10SRCREV = "86a5627dbeac8d9d9bc34326a758d6a477e876e4"
11SRC_URI = "git://git@gitlab.freedesktop.org/libevdev/evemu.git;protocol=https;branch=master" 11SRC_URI = "git://git@gitlab.freedesktop.org/libevdev/evemu.git;protocol=https;branch=master"
12 12
13S = "${WORKDIR}/git"
14PV = "2.7.0+git" 13PV = "2.7.0+git"
15 14
16inherit autotools pkgconfig 15inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/exiv2/exiv2_0.28.0.bb b/meta-oe/recipes-support/exiv2/exiv2_0.28.0.bb
deleted file mode 100644
index 958810cf7a..0000000000
--- a/meta-oe/recipes-support/exiv2/exiv2_0.28.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "Exif, Iptc and XMP metadata manipulation library and tools"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
4
5DEPENDS = "zlib expat brotli libinih"
6
7SRC_URI = "https://github.com/Exiv2/${BPN}/releases/download/v${PV}/${BP}-Source.tar.gz"
8SRC_URI[sha256sum] = "89af3b5ef7277753ef7a7b5374ae017c6b9e304db3b688f1948e73e103491f3d"
9# Once patch is obsolete (project should be aware due to PRs), dos2unix can be removed either
10# inherit dos2unix
11S = "${WORKDIR}/${BP}-Source"
12
13inherit cmake gettext
14
15do_install:append:class-target() {
16 # reproducibility: remove build host path
17 sed -i ${D}${libdir}/cmake/exiv2/exiv2Config.cmake \
18 -e 's:${STAGING_DIR_HOST}::g'
19}
diff --git a/meta-oe/recipes-support/exiv2/exiv2_0.28.3.bb b/meta-oe/recipes-support/exiv2/exiv2_0.28.3.bb
new file mode 100644
index 0000000000..c0fb32ab79
--- /dev/null
+++ b/meta-oe/recipes-support/exiv2/exiv2_0.28.3.bb
@@ -0,0 +1,10 @@
1SUMMARY = "Exif, Iptc and XMP metadata manipulation library and tools"
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=625f055f41728f84a8d7938acc35bdc2"
4
5DEPENDS = "zlib expat brotli libinih"
6
7SRC_URI = "git://github.com/Exiv2/exiv2.git;protocol=https;branch=0.28.x"
8SRCREV = "a6a79ef064f131ffd03c110acce2d3edb84ffa2e"
9
10inherit cmake gettext
diff --git a/meta-oe/recipes-support/fbset/fbset-modes.bb b/meta-oe/recipes-support/fbset/fbset-modes.bb
index fcaf31795b..8ab79f6d7a 100644
--- a/meta-oe/recipes-support/fbset/fbset-modes.bb
+++ b/meta-oe/recipes-support/fbset/fbset-modes.bb
@@ -7,8 +7,7 @@ PV = "0.1.0"
7 7
8SRC_URI = "file://fb.modes" 8SRC_URI = "file://fb.modes"
9 9
10S = "${WORKDIR}/sources" 10S = "${UNPACKDIR}"
11UNPACKDIR = "${S}"
12 11
13do_install() { 12do_install() {
14 install -d ${D}${sysconfdir} 13 install -d ${D}${sysconfdir}
diff --git a/meta-oe/recipes-support/fbset/fbset_2.1.bb b/meta-oe/recipes-support/fbset/fbset_2.1.bb
index 690fee0df3..e6f357fd4f 100644
--- a/meta-oe/recipes-support/fbset/fbset_2.1.bb
+++ b/meta-oe/recipes-support/fbset/fbset_2.1.bb
@@ -33,5 +33,4 @@ ALTERNATIVE_LINK_NAME[fbset] = "${sbindir}/fbset"
33ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real" 33ALTERNATIVE_TARGET[fbset] = "${sbindir}/fbset.real"
34ALTERNATIVE_PRIORITY[fbset] = "55" 34ALTERNATIVE_PRIORITY[fbset] = "55"
35 35
36SRC_URI[md5sum] = "40ed9608f46d787bfb65fd1269f7f459"
37SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338" 36SRC_URI[sha256sum] = "517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338"
diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
index af7117da7b..52122b9c0c 100644
--- a/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
+++ b/meta-oe/recipes-support/fftw/fftw_3.3.10.bb
@@ -11,6 +11,8 @@ SRC_URI = " \
11" 11"
12SRC_URI[sha256sum] = "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467" 12SRC_URI[sha256sum] = "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
13 13
14UPSTREAM_CHECK_URI = "http://www.fftw.org/download.html"
15
14inherit autotools pkgconfig ptest 16inherit autotools pkgconfig ptest
15 17
16# we had multiple recipes in the past 18# we had multiple recipes in the past
diff --git a/meta-oe/recipes-support/fltk/fltk-native.bb b/meta-oe/recipes-support/fltk/fltk-native.bb
index 3e8e2cdf77..322a28430f 100644
--- a/meta-oe/recipes-support/fltk/fltk-native.bb
+++ b/meta-oe/recipes-support/fltk/fltk-native.bb
@@ -4,6 +4,8 @@ DEPENDS = "zlib-native jpeg-native libpng-native libxext-native libxft-native"
4 4
5SRC_URI += "file://fltk-native-link-libdl.patch" 5SRC_URI += "file://fltk-native-link-libdl.patch"
6 6
7UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"
8
7inherit native 9inherit native
8 10
9EXTRA_OECMAKE += " \ 11EXTRA_OECMAKE += " \
diff --git a/meta-oe/recipes-support/fltk/fltk.bb b/meta-oe/recipes-support/fltk/fltk.bb
index 82007c4cf4..4278a2fa3d 100644
--- a/meta-oe/recipes-support/fltk/fltk.bb
+++ b/meta-oe/recipes-support/fltk/fltk.bb
@@ -7,6 +7,8 @@ REQUIRED_DISTRO_FEATURES = "x11"
7 7
8SRC_URI += "file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch" 8SRC_URI += "file://0003-fluid-CMakeLists.txt-Do-not-export-fluid-target.patch"
9 9
10UPSTREAM_CHECK_URI = "https://www.fltk.org/software.php"
11
10EXTRA_OECMAKE = " \ 12EXTRA_OECMAKE = " \
11 -DOPTION_BUILD_SHARED_LIBS=ON \ 13 -DOPTION_BUILD_SHARED_LIBS=ON \
12 -DOPTION_USE_THREADS=ON \ 14 -DOPTION_USE_THREADS=ON \
diff --git a/meta-oe/recipes-support/fltk/fltk.inc b/meta-oe/recipes-support/fltk/fltk.inc
index b1bc83578f..0b2921095c 100644
--- a/meta-oe/recipes-support/fltk/fltk.inc
+++ b/meta-oe/recipes-support/fltk/fltk.inc
@@ -11,8 +11,8 @@ SRC_URI = " \
11 file://0002-always-build-fluid-and-export-pointers.patch \ 11 file://0002-always-build-fluid-and-export-pointers.patch \
12" 12"
13 13
14PV = "1.3.8" 14PV = "1.3.9"
15SRC_URI[sha256sum] = "1d9832409fc08c908c64ab40ad9fd8b0e8af5d203651eb9690b810f41e2f412d" 15SRC_URI[sha256sum] = "103441134915402808fd45424d4061778609437e804334434e946cfd26b196c2"
16 16
17inherit cmake pkgconfig 17inherit cmake pkgconfig
18 18
diff --git a/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch b/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch
index d1cbb35479..0d47dac2dd 100644
--- a/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch
+++ b/meta-oe/recipes-support/fltk/fltk/0001-Fl_Preferences.cxx-do-not-use-dlopen-in-case-glibc-s.patch
@@ -16,10 +16,10 @@ Content-Transfer-Encoding: 8bit
16| ^ 16| ^
17| src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed 17| src/CMakeFiles/fltk.dir/build.make:1217: recipe for target 'src/CMakeFiles/fltk.dir/Fl_Preferences.cxx.o' failed
18 18
19Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
20---
21Upstream-Status: Pending 19Upstream-Status: Pending
22 20
21Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
22---
23 src/Fl_Preferences.cxx | 2 +- 23 src/Fl_Preferences.cxx | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-) 24 1 file changed, 1 insertion(+), 1 deletion(-)
25 25
diff --git a/meta-oe/recipes-support/freeipmi/freeipmi/0001-Fix-for-GCC15-C23-build-failure.patch b/meta-oe/recipes-support/freeipmi/freeipmi/0001-Fix-for-GCC15-C23-build-failure.patch
new file mode 100644
index 0000000000..ee27fe7906
--- /dev/null
+++ b/meta-oe/recipes-support/freeipmi/freeipmi/0001-Fix-for-GCC15-C23-build-failure.patch
@@ -0,0 +1,42 @@
1From 5afe6492735938e0053ae78817399fa433f0f8c7 Mon Sep 17 00:00:00 2001
2From: "Pavel Cahyna" <pcahyna@redhat.com>
3Date: Tue, 8 Apr 2025 19:05:53 +0900
4Subject: [PATCH] Fix for GCC15 / C23 build failure
5
6* Import submitted patch from:
7 https://lists.gnu.org/archive/html/freeipmi-devel/2025-02/msg00000.html
8
9 to fix:
10 http://errors.yoctoproject.org/Errors/Details/851185/
11 Error occurs with gcc version 15.
12 In gcc-15, C23 is the default and 'bool' is used as a reserved keyword.
13 https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
14
15Upstream-Status: Submitted [https://lists.gnu.org/archive/html/freeipmi-devel/2025-02/msg00000.html]
16Signed-off-by: mark.yang <mark.yang@lge.com>
17---
18 common/toolcommon/tool-config-file-common.c | 6 +++---
19 1 file changed, 3 insertions(+), 3 deletions(-)
20
21diff --git a/common/toolcommon/tool-config-file-common.c b/common/toolcommon/tool-config-file-common.c
22index 609e7a3..20dfad5 100644
23--- a/common/toolcommon/tool-config-file-common.c
24+++ b/common/toolcommon/tool-config-file-common.c
25@@ -78,14 +78,14 @@ _config_file_bool (conffile_t cf,
26 void *app_ptr,
27 int app_data)
28 {
29- int *bool;
30+ int *value;
31
32 assert (data);
33 assert (optionname);
34 assert (option_ptr);
35
36- bool = (int *)option_ptr;
37- *bool = data->boolval;
38+ value = (int *)option_ptr;
39+ *value = data->boolval;
40 return (0);
41 }
42
diff --git a/meta-oe/recipes-support/freeipmi/freeipmi_1.6.15.bb b/meta-oe/recipes-support/freeipmi/freeipmi_1.6.15.bb
new file mode 100644
index 0000000000..e04ebfb0c6
--- /dev/null
+++ b/meta-oe/recipes-support/freeipmi/freeipmi_1.6.15.bb
@@ -0,0 +1,28 @@
1LICENSE = "GPL-3.0-only"
2LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
3 file://COPYING.ZRESEARCH;md5=d32239bcb673463ab874e80d47fae504 \
4 file://COPYING.bmc-watchdog;md5=d32239bcb673463ab874e80d47fae504 \
5 file://COPYING.ipmi-dcmi;md5=d32239bcb673463ab874e80d47fae504 \
6 file://COPYING.ipmi-fru;md5=d32239bcb673463ab874e80d47fae504 \
7 file://COPYING.ipmiconsole;md5=d32239bcb673463ab874e80d47fae504 \
8 file://COPYING.ipmidetect;md5=d32239bcb673463ab874e80d47fae504 \
9 file://COPYING.ipmimonitoring;md5=d32239bcb673463ab874e80d47fae504 \
10 file://COPYING.ipmiping;md5=d32239bcb673463ab874e80d47fae504 \
11 file://COPYING.ipmipower;md5=d32239bcb673463ab874e80d47fae504 \
12 file://COPYING.ipmiseld;md5=d32239bcb673463ab874e80d47fae504 \
13 file://COPYING.pstdout;md5=d32239bcb673463ab874e80d47fae504 \
14 file://COPYING.sunbmc;md5=c03f21cd76ff5caba6b890d1213cbfbb"
15
16SRC_URI = " \
17 ${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \
18 file://0001-Fix-for-GCC15-C23-build-failure.patch \
19"
20SRC_URI[sha256sum] = "d6929c354639f5ce75b5b1897e8b366eb63625c23e5c4590a7aea034fe2b8caf"
21
22DEPENDS = "libgcrypt"
23DEPENDS:append:libc-musl = " argp-standalone"
24
25inherit pkgconfig autotools
26
27EXTRA_OECONF = "--without-random-device"
28
diff --git a/meta-oe/recipes-support/freerdp/freerdp/CVE-2024-32661.patch b/meta-oe/recipes-support/freerdp/freerdp/CVE-2024-32661.patch
new file mode 100644
index 0000000000..002135b5e4
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp/CVE-2024-32661.patch
@@ -0,0 +1,27 @@
1From 71e463e31b4d69f4022d36bfc814592f56600793 Mon Sep 17 00:00:00 2001
2From: akallabeth <akallabeth@posteo.net>
3Date: Sun, 21 Apr 2024 13:56:13 +0200
4Subject: [PATCH] [core,info] fix missing check in rdp_write_logon_info_v1
5
6CVE: CVE-2024-32661
7Upstream-Status: Backport [https://github.com/FreeRDP/FreeRDP/commit/71e463e31b4d69f4022d36bfc814592f56600793]
8Signed-off-by: Peter Marko <peter.marko@siemens.com>
9---
10 libfreerdp/core/info.c | 4 ++++
11 1 file changed, 4 insertions(+)
12
13diff --git a/libfreerdp/core/info.c b/libfreerdp/core/info.c
14index 7d6eec137..3395e4d2e 100644
15--- a/libfreerdp/core/info.c
16+++ b/libfreerdp/core/info.c
17@@ -1322,6 +1322,10 @@ static BOOL rdp_write_logon_info_v1(wStream* s, logon_info* info)
18 return FALSE;
19
20 /* domain */
21+ WINPR_ASSERT(info);
22+ if (!info->domain || !info->username)
23+ return FALSE;
24+
25 ilen = ConvertToUnicode(CP_UTF8, 0, info->domain, -1, &wString, 0);
26
27 if (ilen < 0)
diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb
index b6974af739..284f61c137 100644
--- a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb
@@ -10,7 +10,8 @@ inherit pkgconfig cmake
10SRCREV = "eda5c99686e15327f2f37b9cadf307e852b96adf" 10SRCREV = "eda5c99686e15327f2f37b9cadf307e852b96adf"
11SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https" 11SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=master;protocol=https"
12 12
13S = "${WORKDIR}/git" 13
14CVE_PRODUCT = "freerdp"
14 15
15PACKAGECONFIG ??= " \ 16PACKAGECONFIG ??= " \
16 ${@bb.utils.filter('DISTRO_FEATURES', 'pam pulseaudio wayland x11', d)} \ 17 ${@bb.utils.filter('DISTRO_FEATURES', 'pam pulseaudio wayland x11', d)} \
diff --git a/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
index ee4d4530d6..18af3229d7 100644
--- a/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
+++ b/meta-oe/recipes-support/freerdp/freerdp_2.11.7.bb
@@ -3,7 +3,7 @@
3 3
4DESCRIPTION = "FreeRDP RDP client & server library" 4DESCRIPTION = "FreeRDP RDP client & server library"
5HOMEPAGE = "http://www.freerdp.com" 5HOMEPAGE = "http://www.freerdp.com"
6DEPENDS = "openssl alsa-lib libusb1" 6DEPENDS = "openssl libusb1"
7SECTION = "net" 7SECTION = "net"
8LICENSE = "Apache-2.0" 8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 9LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
@@ -20,12 +20,11 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https
20 file://0001-Fix-const-qualifier-error.patch \ 20 file://0001-Fix-const-qualifier-error.patch \
21 file://0002-Do-not-install-tools-a-CMake-targets.patch \ 21 file://0002-Do-not-install-tools-a-CMake-targets.patch \
22 file://0001-Fixed-compilation-warnings-in-ainput-channel.patch \ 22 file://0001-Fixed-compilation-warnings-in-ainput-channel.patch \
23 file://CVE-2024-32661.patch \
23 " 24 "
24 25
25S = "${WORKDIR}/git"
26 26
27EXTRA_OECMAKE += " \ 27EXTRA_OECMAKE += " \
28 -DWITH_ALSA=ON \
29 -DWITH_FFMPEG=OFF \ 28 -DWITH_FFMPEG=OFF \
30 -DWITH_CUNIT=OFF \ 29 -DWITH_CUNIT=OFF \
31 -DWITH_NEON=OFF \ 30 -DWITH_NEON=OFF \
@@ -37,7 +36,7 @@ EXTRA_OECMAKE += " \
37 36
38PACKAGECONFIG ??= " \ 37PACKAGECONFIG ??= " \
39 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\ 38 ${@bb.utils.filter('DISTRO_FEATURES', 'directfb pam pulseaudio wayland x11', d)}\
40 gstreamer cups pcsc server \ 39 alsa gstreamer cups pcsc server \
41" 40"
42 41
43X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr libxkbfile" 42X11_DEPS = "virtual/libx11 libxinerama libxext libxcursor libxv libxi libxrender libxfixes libxdamage libxrandr libxkbfile"
@@ -50,6 +49,7 @@ PACKAGECONFIG[pulseaudio] = "-DWITH_PULSEAUDIO=ON,-DWITH_PULSEAUDIO=OFF,pulseaud
50PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base" 49PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER_1_0=ON,-DWITH_GSTREAMER_1_0=OFF,gstreamer1.0 gstreamer1.0-plugins-base"
51PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups" 50PACKAGECONFIG[cups] = "-DWITH_CUPS=ON,-DWITH_CUPS=OFF,cups"
52PACKAGECONFIG[server] = "-DWITH_SERVER=ON,-DWITH_SERVER=OFF" 51PACKAGECONFIG[server] = "-DWITH_SERVER=ON,-DWITH_SERVER=OFF"
52PACKAGECONFIG[alsa] = "-DWITH_ALSA=ON,-DWITH_ALSA=OFF,alsa-lib"
53 53
54PACKAGES =+ "libfreerdp" 54PACKAGES =+ "libfreerdp"
55 55
@@ -92,3 +92,9 @@ python populate_packages:prepend () {
92 description='FreeRDP plugin %s', 92 description='FreeRDP plugin %s',
93 prepend=True, extra_depends='') 93 prepend=True, extra_depends='')
94} 94}
95
96CVE_STATUS[CVE-2024-32662] = "fixed-version: 2.x is not affected, bug was introduced in 3.0.0"
97
98# avoid http://errors.yoctoproject.org/Errors/Details/852862/
99# fixed in freerdp3 with https://github.com/FreeRDP/FreeRDP/pull/10553
100CFLAGS += "-std=gnu17"
diff --git a/meta-oe/recipes-support/function2/function2_4.2.4.bb b/meta-oe/recipes-support/function2/function2_4.2.4.bb
index 98d05f6e25..588e44deaa 100644
--- a/meta-oe/recipes-support/function2/function2_4.2.4.bb
+++ b/meta-oe/recipes-support/function2/function2_4.2.4.bb
@@ -8,7 +8,6 @@ PV .= "+git"
8 8
9SRC_URI += "gitsm://github.com/Naios/function2;branch=master;protocol=https" 9SRC_URI += "gitsm://github.com/Naios/function2;branch=master;protocol=https"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake 12inherit cmake
14inherit ptest 13inherit ptest
diff --git a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
index 47b070557d..5333c25a9c 100644
--- a/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
+++ b/meta-oe/recipes-support/fuse/fuse3_3.16.2.bb
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = " \
16SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.gz" 16SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.gz"
17SRC_URI[sha256sum] = "f797055d9296b275e981f5f62d4e32e089614fc253d1ef2985851025b8a0ce87" 17SRC_URI[sha256sum] = "f797055d9296b275e981f5f62d4e32e089614fc253d1ef2985851025b8a0ce87"
18 18
19S = "${WORKDIR}/fuse-${PV}" 19S = "${UNPACKDIR}/fuse-${PV}"
20 20
21UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases" 21UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
22UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz" 22UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>3(\.\d+)+).tar.xz"
@@ -29,8 +29,9 @@ SRC_URI += " \
29 file://run-ptest \ 29 file://run-ptest \
30 file://fuse3.conf \ 30 file://fuse3.conf \
31" 31"
32 32#python3-compile for filecmp module
33RDEPENDS:${PN}-ptest += " \ 33RDEPENDS:${PN}-ptest += " \
34 python3-compile \
34 python3-pytest \ 35 python3-pytest \
35 python3-looseversion \ 36 python3-looseversion \
36 bash \ 37 bash \
diff --git a/meta-oe/recipes-support/gd/gd_2.3.3.bb b/meta-oe/recipes-support/gd/gd_2.3.3.bb
index cc2c1571e6..ea5c487c52 100644
--- a/meta-oe/recipes-support/gd/gd_2.3.3.bb
+++ b/meta-oe/recipes-support/gd/gd_2.3.3.bb
@@ -19,7 +19,6 @@ SRC_URI = "git://github.com/libgd/libgd.git;nobranch=1;protocol=https \
19 19
20SRCREV = "b5319a41286107b53daa0e08e402aa1819764bdc" 20SRCREV = "b5319a41286107b53daa0e08e402aa1819764bdc"
21 21
22S = "${WORKDIR}/git"
23 22
24inherit autotools binconfig gettext pkgconfig 23inherit autotools binconfig gettext pkgconfig
25 24
diff --git a/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
index 4d97b1a419..2057caff78 100644
--- a/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
+++ b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb"
8 8
9SRC_URI = "${GNU_MIRROR}/gengetopt/${BPN}-${PV}.tar.xz" 9SRC_URI = "${GNU_MIRROR}/gengetopt/${BPN}-${PV}.tar.xz"
10 10
11SRC_URI[md5sum] = "ea165d618640dbdecb42ae4491337965"
12SRC_URI[sha256sum] = "b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac" 11SRC_URI[sha256sum] = "b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac"
13 12
14inherit autotools texinfo 13inherit autotools texinfo
diff --git a/meta-oe/recipes-support/genimage/genimage_18.bb b/meta-oe/recipes-support/genimage/genimage_18.bb
new file mode 100644
index 0000000000..23169f5d44
--- /dev/null
+++ b/meta-oe/recipes-support/genimage/genimage_18.bb
@@ -0,0 +1,22 @@
1SUMMARY = "genimage - The image creation tool"
2DESCRIPTION = "Genimage is a tool for generating filesystem and disk/flash images \
3from a root filesystem tree or existing filesystem images."
4HOMEPAGE = "https://github.com/pengutronix/genimage"
5
6SECTION = "base"
7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
9
10DEPENDS = "libconfuse"
11
12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/genimage-${PV}.tar.xz"
13SRC_URI[sha256sum] = "ebc3f886c4d80064dd6c6d5e3c2e98e5a670078264108ce2f89ada8a2e13fedd"
14
15EXTRA_OECONF = "--enable-largefile"
16
17inherit pkgconfig autotools gettext github-releases
18
19GITHUB_BASE_URI = "https://github.com/pengutronix/genimage/releases"
20UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)*)"
21
22BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.2.bb b/meta-oe/recipes-support/gflags/gflags_2.2.2.bb
index a9a867b575..8ea158eab3 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.2.bb
+++ b/meta-oe/recipes-support/gflags/gflags_2.2.2.bb
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
6SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https" 6SRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https"
7SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067" 7SRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit cmake 10inherit cmake
12 11
13EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}" 12EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}"
14 13
15PACKAGES =+ "${PN}-bash-completion" 14PACKAGES =+ "${PN}-bash-completion"
16FILES:${PN}-bash-completion += "${bindir}/gflags_completions.sh" 15FILES:${PN}-bash-completion += "${bindir}/gflags_completions.sh"
diff --git a/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch b/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch
deleted file mode 100644
index 3732c62cd0..0000000000
--- a/meta-oe/recipes-support/glog/glog/0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 176230435cb4b64ff7f2d97f77a04579ad9ca239 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 Feb 2023 13:14:14 -0800
4Subject: [PATCH] Change SleepForMilliseconds parameter from unsigned int -> long
5
6Fixes following error on 32bit platforms
7
8src/googletest.h:631:35: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'long' in initializer list [-Wc++11-narrowing]
9 const struct timespec req = {0, t * 1000 * 1000};
10 ^~~~~~~~~~~~~~~
11
12Upstream-Status: Submitted [https://github.com/google/glog/pull/894]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/googletest.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/googletest.h b/src/googletest.h
19index 5761361..836b06c 100644
20--- a/src/googletest.h
21+++ b/src/googletest.h
22@@ -625,7 +625,7 @@ class Thread {
23 #endif
24 };
25
26-static inline void SleepForMilliseconds(unsigned t) {
27+static inline void SleepForMilliseconds(long t) {
28 #ifndef GLOG_OS_WINDOWS
29 # if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309L
30 const struct timespec req = {0, t * 1000 * 1000};
31--
322.39.2
33
diff --git a/meta-oe/recipes-support/glog/glog/libexecinfo.patch b/meta-oe/recipes-support/glog/glog/libexecinfo.patch
deleted file mode 100644
index a791a40dbc..0000000000
--- a/meta-oe/recipes-support/glog/glog/libexecinfo.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 19d00c15710840910a7397252c14d612746631fe Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 8 Mar 2021 14:58:40 -0800
4Subject: [PATCH] Link libexecinfo if its found, this is needed for musl based
5 systems
6
7Fixes
8ld: libglog.so.0.4.0: undefined reference to `backtrace'
9| collect2: error: ld returned 1 exit status
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13
14---
15 CMakeLists.txt | 5 +++++
16 1 file changed, 5 insertions(+)
17
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 846b444..1553358 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -162,6 +162,7 @@ cmake_pop_check_state ()
23 check_cxx_symbol_exists (snprintf cstdio HAVE_SNPRINTF)
24
25 check_library_exists (dbghelp UnDecorateSymbolName "" HAVE_DBGHELP)
26+check_library_exists (execinfo backtrace "" HAVE_EXECINFO)
27
28 check_cxx_source_compiles ("
29 #include <cstdlib>
30@@ -629,6 +630,10 @@ if (Unwind_FOUND)
31 set (Unwind_DEPENDENCY "find_dependency (Unwind ${Unwind_VERSION})")
32 endif (Unwind_FOUND)
33
34+if (HAVE_EXECINFO)
35+ target_link_libraries (glog PUBLIC execinfo)
36+endif (HAVE_EXECINFO)
37+
38 if (HAVE_DBGHELP)
39 target_link_libraries (glog PRIVATE dbghelp)
40 set (glog_libraries_options_for_static_linking "${glog_libraries_options_for_static_linking} -ldbghelp")
diff --git a/meta-oe/recipes-support/glog/glog_0.6.0.bb b/meta-oe/recipes-support/glog/glog_0.7.1.bb
index ec39604f44..570d9a7e5f 100644
--- a/meta-oe/recipes-support/glog/glog_0.6.0.bb
+++ b/meta-oe/recipes-support/glog/glog_0.7.1.bb
@@ -4,17 +4,14 @@ macros."
4HOMEPAGE = "https://github.com/google/glog" 4HOMEPAGE = "https://github.com/google/glog"
5 5
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" 7LIC_FILES_CHKSUM = "file://COPYING;md5=583a6ead531ca3cd5a2ea593a2888800"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 git://github.com/google/glog.git;branch=master;protocol=https \ 10 git://github.com/google/glog.git;branch=master;protocol=https \
11 file://libexecinfo.patch \
12 file://0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch \
13" 11"
14 12
15SRCREV = "b33e3bad4c46c8a6345525fd822af355e5ef9446" 13SRCREV = "7b134a5c82c0c0b5698bb6bf7a835b230c5638e4"
16 14
17S = "${WORKDIR}/git"
18 15
19inherit cmake 16inherit cmake
20 17
@@ -24,6 +21,7 @@ PACKAGECONFIG:remove:riscv32 = "unwind 64bit-atomics"
24PACKAGECONFIG:remove:mipsarch = "64bit-atomics" 21PACKAGECONFIG:remove:mipsarch = "64bit-atomics"
25PACKAGECONFIG:remove:armv5 = "64bit-atomics" 22PACKAGECONFIG:remove:armv5 = "64bit-atomics"
26PACKAGECONFIG:remove:armv6 = "64bit-atomics" 23PACKAGECONFIG:remove:armv6 = "64bit-atomics"
24PACKAGECONFIG:remove:powerpc = "64bit-atomics"
27 25
28PACKAGECONFIG:append:libc-musl:riscv64 = " execinfo" 26PACKAGECONFIG:append:libc-musl:riscv64 = " execinfo"
29PACKAGECONFIG:append:libc-musl:riscv32 = " execinfo" 27PACKAGECONFIG:append:libc-musl:riscv32 = " execinfo"
diff --git a/meta-oe/recipes-support/gnulib/gnulib_202401.bb b/meta-oe/recipes-support/gnulib/gnulib_202401.bb
index 41675d3587..f3fbb94ae8 100644
--- a/meta-oe/recipes-support/gnulib/gnulib_202401.bb
+++ b/meta-oe/recipes-support/gnulib/gnulib_202401.bb
@@ -16,7 +16,6 @@ SRCREV = "c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1"
16SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \ 16SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \
17" 17"
18 18
19S = "${WORKDIR}/git"
20 19
21do_install () { 20do_install () {
22 install -d ${D}/${datadir}/gnulib 21 install -d ${D}/${datadir}/gnulib
@@ -32,6 +31,5 @@ do_packagedata[noexec] = "1"
32deltask package_write_ipk 31deltask package_write_ipk
33deltask package_write_deb 32deltask package_write_deb
34deltask package_write_rpm 33deltask package_write_rpm
35deltask do_deploy_archives
36 34
37BBCLASSEXTEND = "native" 35BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch b/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch
deleted file mode 100644
index 3017314abe..0000000000
--- a/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 7f0e99af540a333108b92d792923ec7fc9e9fad9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 28 May 2024 20:14:54 -0700
4Subject: [PATCH] cycleclock: Fix type conversion to match function return type
5 (#1794)
6
7fixes build with clang19
8
9src/cycleclock.h:208:52: error: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Werror,-Wsign-conversion]
10 208 | return (static_cast<uint64_t>(cycles_hi1) << 32) | cycles_lo;
11 | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
121 error generated.
13
14Upstream-Status: Backport [https://github.com/google/benchmark/commit/7f0e99af540a333108b92d792923ec7fc9e9fad9]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 src/cycleclock.h | 3 ++-
18 1 file changed, 2 insertions(+), 1 deletion(-)
19
20diff --git a/src/cycleclock.h b/src/cycleclock.h
21index a25843760..c657414e5 100644
22--- a/src/cycleclock.h
23+++ b/src/cycleclock.h
24@@ -205,7 +205,8 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
25 "sub %0, zero, %0\n"
26 "and %1, %1, %0\n"
27 : "=r"(cycles_hi0), "=r"(cycles_lo), "=r"(cycles_hi1));
28- return (static_cast<uint64_t>(cycles_hi1) << 32) | cycles_lo;
29+ return static_cast<int64_t>((static_cast<uint64_t>(cycles_hi1) << 32) |
30+ cycles_lo);
31 #else
32 uint64_t cycles;
33 asm volatile("rdtime %0" : "=r"(cycles));
diff --git a/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch b/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch
deleted file mode 100644
index cc22a7e8a9..0000000000
--- a/meta-oe/recipes-support/googlebenchmark/googlebenchmark/0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 54bca09aca6ccec41f852cb1f834463bc51290d0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 10 Jun 2024 21:45:22 -0700
4Subject: [PATCH] cycleclock: Fix type conversion to match function return type
5 on riscv64
6
7Fixes builds with clang
8
9src/cycleclock.h:213:10: error: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Werror,-Wsign-conversion]
10 213 | return cycles;
11 | ~~~~~~ ^~~~~~
12 1 error generated.
13
14Upstream-Status: Submitted [https://github.com/google/benchmark/pull/1802]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 src/cycleclock.h | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/src/cycleclock.h b/src/cycleclock.h
21index c657414..bd62f5d 100644
22--- a/src/cycleclock.h
23+++ b/src/cycleclock.h
24@@ -210,7 +210,7 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() {
25 #else
26 uint64_t cycles;
27 asm volatile("rdtime %0" : "=r"(cycles));
28- return cycles;
29+ return static_cast<int64_t>(cycles);
30 #endif
31 #elif defined(__e2k__) || defined(__elbrus__)
32 struct timeval tv;
diff --git a/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.8.4.bb b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb
index 706862f24a..4558aa13d6 100644
--- a/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.8.4.bb
+++ b/meta-oe/recipes-support/googlebenchmark/googlebenchmark_1.9.4.bb
@@ -4,12 +4,9 @@ SECTION = "libs"
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI = "git://github.com/google/benchmark.git;protocol=https;branch=main \ 7SRC_URI = "git://github.com/google/benchmark.git;protocol=https;branch=main;tag=v${PV}"
8 file://0001-cycleclock-Fix-type-conversion-to-match-function-ret.patch \ 8SRCREV = "eddb0241389718a23a42db6af5f0164b6e0139af"
9 file://0002-cycleclock-Fix-type-conversion-to-match-function-ret.patch"
10SRCREV = "a4cf155615c63e019ae549e31703bf367df5b471"
11 9
12S = "${WORKDIR}/git"
13 10
14EXTRA_OECMAKE = " \ 11EXTRA_OECMAKE = " \
15 -DBUILD_SHARED_LIBS=yes \ 12 -DBUILD_SHARED_LIBS=yes \
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch
deleted file mode 100644
index 2ea54e48c9..0000000000
--- a/meta-oe/recipes-support/gperftools/gperftools/0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 06605158852f9364519391fa11070ba5ec4303e9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Sep 2017 08:07:17 -0700
4Subject: [PATCH] disbale heap checkers and debug allocator on musl
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7
8Upstream-Status: Pending
9
10---
11 configure.ac | 2 ++
12 1 file changed, 2 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 68fd51c..4cb71fe 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -53,6 +53,8 @@ case "$host" in
19 need_nanosleep=no;;
20 *-cygwin*) default_enable_cpu_profiler=no;;
21 *-linux*) default_enable_heap_checker=yes; heap_checker_supported=yes;;
22+ *-musl*) default_enable_heap_checker=no; default_enable_heap_profiler=no;
23+ default_enable_debugalloc=no; default_enable_libunwind=no;
24 esac
25
26 # Currently only backtrace works on s390 and OSX.
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch
deleted file mode 100644
index 1142df0be9..0000000000
--- a/meta-oe/recipes-support/gperftools/gperftools/0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From d675808d300278a9e7143428cfecf3fda61cc9a2 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 21 Mar 2024 10:59:29 +0000
4Subject: [PATCH] src/mmap_hook.cc: Fix build for 32bit machine
5
6Fixed build error on 32bit machine:
7
8../git/src/mmap_hook.cc:309:31: error: static assertion failed
9 309 | static_assert(sizeof(int32_t) == sizeof(off_t), "");
10
11This is because oe's off_t is 64bit on both 32 and 64bit system, which is the
12default value of glibc, so the assertion would be failed on 32bit system, and
13remove mmap() and mmap64() to fix the redefined error.
14
15Upstream-Status: Inappropriate [OE-Specific]
16
17Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
18---
19 src/mmap_hook.cc | 22 ----------------------
20 1 file changed, 22 deletions(-)
21
22diff --git a/src/mmap_hook.cc b/src/mmap_hook.cc
23index 0a0f62f..27425e4 100644
24--- a/src/mmap_hook.cc
25+++ b/src/mmap_hook.cc
26@@ -302,30 +302,8 @@ void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t off) _
27
28 #define HOOKED_MMAP
29
30-#elif defined(DEFINED_DO_MMAP) && defined(__linux__) && !GOOD_LINUX_SYSTEM
31-// Linuxes with 32-bit off_t. We're being careful with mmap64 being
32-// 64-bit and mmap being 32-bit.
33-
34-static_assert(sizeof(int32_t) == sizeof(off_t), "");
35-
36-extern "C" void* mmap64(void* start, size_t length, int prot, int flags, int fd, int64_t off)
37- __THROW ATTRIBUTE_SECTION(malloc_hook);
38-extern "C" void* mmap(void* start, size_t length, int prot, int flags, int fd, off_t off)
39- __THROW ATTRIBUTE_SECTION(malloc_hook);
40-
41-void* mmap(void *start, size_t length, int prot, int flags, int fd, off_t off) __THROW {
42- return do_mmap_with_hooks(start, length, prot, flags, fd, off);
43-}
44-
45-void* mmap64(void *start, size_t length, int prot, int flags, int fd, int64_t off) __THROW {
46- return do_mmap_with_hooks(start, length, prot, flags, fd, off);
47-}
48-
49-#define HOOKED_MMAP
50-
51 #endif // Linux/32-bit off_t case
52
53-
54 #ifdef HOOKED_MMAP
55
56 extern "C" int munmap(void* start, size_t length) __THROW ATTRIBUTE_SECTION(malloc_hook);
57--
582.35.5
59
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch
new file mode 100644
index 0000000000..eae71be8fc
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools/0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch
@@ -0,0 +1,35 @@
1From 02ff9fcc74ba64aeb22fcc553f30657bd2b62930 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 26 Feb 2025 23:46:56 -0800
4Subject: [PATCH 2/3] src/base/elf_mem_image.cc: fix build for musl
5
6Include header file for musl to avoid error below:
7
8 error: '__WORDSIZE' was not declared in this scope
9
10Upstream-Status: Pending
11
12Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13---
14 src/base/elf_mem_image.cc | 5 +++++
15 1 file changed, 5 insertions(+)
16
17diff --git a/src/base/elf_mem_image.cc b/src/base/elf_mem_image.cc
18index d2ca1a5..89dc0e4 100644
19--- a/src/base/elf_mem_image.cc
20+++ b/src/base/elf_mem_image.cc
21@@ -38,6 +38,11 @@
22
23 #ifdef HAVE_ELF_MEM_IMAGE // defined in elf_mem_image.h
24
25+// for musl __WORDSIZE definition
26+#if !defined(__GLIBC__)
27+#include <sys/reg.h>
28+#endif
29+
30 #include <stddef.h> // for size_t, ptrdiff_t
31 #include "base/logging.h"
32
33--
342.25.1
35
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0003-Makefile.am-disable-building-noinst-tests-for-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/0003-Makefile.am-disable-building-noinst-tests-for-musl.patch
new file mode 100644
index 0000000000..01ecdd5336
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools/0003-Makefile.am-disable-building-noinst-tests-for-musl.patch
@@ -0,0 +1,32 @@
1From 3bb5707c6a6a0d2061c79c556cbe4a87efea02ab Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Thu, 27 Feb 2025 00:44:34 -0800
4Subject: [PATCH 3/3] Makefile.am: disable building noinst tests for musl
5
6Build fails for musl + qemuppc64 about ld failing to find
7symbols in libucontext. Until a real solution is found,
8we need this workaround.
9
10Upstream-Status: Inappropriate [OE Specific]
11
12Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
13---
14 Makefile.am | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/Makefile.am b/Makefile.am
18index 9fa24c0..7dd1b60 100644
19--- a/Makefile.am
20+++ b/Makefile.am
21@@ -938,7 +938,7 @@ endif WITH_HEAP_PROFILER_OR_CHECKER
22 # This should always include $(TESTS), but may also include other
23 # binaries that you compile but don't want automatically installed.
24 # We'll add to this later, on a library-by-library basis
25-noinst_PROGRAMS += $(TESTS)
26+#noinst_PROGRAMS += $(TESTS)
27
28 # http://linux.die.net/man/1/pkg-config, http://pkg-config.freedesktop.org/wiki
29 pkgconfigdir = $(libdir)/pkgconfig
30--
312.25.1
32
diff --git a/meta-oe/recipes-support/gperftools/gperftools/disable_libunwind_aarch64.patch b/meta-oe/recipes-support/gperftools/gperftools/disable_libunwind_aarch64.patch
deleted file mode 100644
index 15eacc8993..0000000000
--- a/meta-oe/recipes-support/gperftools/gperftools/disable_libunwind_aarch64.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 564f800e3e24647c095f7a321bf3ebdccfbf762d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 2 Sep 2017 12:02:04 -0700
4Subject: [PATCH] Disable libunwind on aarch64
5
6Fixes hangs when using libtcmalloc.so
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11---
12 configure.ac | 5 +++++
13 1 file changed, 5 insertions(+)
14
15--- a/configure.ac
16+++ b/configure.ac
17@@ -76,6 +76,11 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [re
18 [default_enable_libunwind=yes
19 default_tcmalloc_pagesize=8])
20
21+# Disable libunwind linking on aarch64 by default.
22+AC_COMPILE_IFELSE([AC_LANG_PROGRAM(, [return __aarch64__])],
23+ [default_enable_libunwind=no],
24+ [default_enable_libunwind=yes])
25+
26 AC_ARG_ENABLE([cpu-profiler],
27 [AS_HELP_STRING([--disable-cpu-profiler],
28 [do not build the cpu profiler])],
diff --git a/meta-oe/recipes-support/gperftools/gperftools/ppc-musl.patch b/meta-oe/recipes-support/gperftools/gperftools/ppc-musl.patch
index 800fa3a84f..e5061840bc 100644
--- a/meta-oe/recipes-support/gperftools/gperftools/ppc-musl.patch
+++ b/meta-oe/recipes-support/gperftools/gperftools/ppc-musl.patch
@@ -1,20 +1,21 @@
1From 328805fd16930deefda400a77e9c2c5d17d04d29 Mon Sep 17 00:00:00 2001 1From 1526be49b8c49719459ef15c93090fdbdc10f3cb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 13 Mar 2021 00:42:25 -0800 3Date: Sat, 13 Mar 2021 00:42:25 -0800
4Subject: [PATCH] Compatibility fixes for musl. 4Subject: [PATCH 1/3] Compatibility fixes for musl.
5 5
6---
7Upstream-Status: Pending 6Upstream-Status: Pending
8 7
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9---
9 src/getpc.h | 4 ++++ 10 src/getpc.h | 4 ++++
10 src/stacktrace_powerpc-linux-inl.h | 8 ++++++-- 11 src/stacktrace_powerpc-linux-inl.h | 8 ++++++--
11 2 files changed, 10 insertions(+), 2 deletions(-) 12 2 files changed, 10 insertions(+), 2 deletions(-)
12 13
13diff --git a/src/getpc.h b/src/getpc.h 14diff --git a/src/getpc.h b/src/getpc.h
14index 87d18b6..c569731 100644 15index c14c9d0..cf4866b 100644
15--- a/src/getpc.h 16--- a/src/getpc.h
16+++ b/src/getpc.h 17+++ b/src/getpc.h
17@@ -68,6 +68,10 @@ 18@@ -61,6 +61,10 @@
18 typedef ucontext ucontext_t; 19 typedef ucontext ucontext_t;
19 #endif 20 #endif
20 21
@@ -59,3 +60,6 @@ index 883e7d2..212bd25 100644
59 } 60 }
60 #endif 61 #endif
61 62
63--
642.25.1
65
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.15.bb b/meta-oe/recipes-support/gperftools/gperftools_2.16.bb
index bd3b2afaea..c0fe586f6d 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.15.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.16.bb
@@ -10,18 +10,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
10 10
11DEPENDS:append:libc-musl = " libucontext" 11DEPENDS:append:libc-musl = " libucontext"
12 12
13SRCREV = "365060c4213a48adb27f63d5dfad41b3dfbdd62e" 13SRCREV = "e1014dead2029b341d06027b4f2b5562d799d5b1"
14SRC_URI = "git://github.com/gperftools/gperftools;branch=master;protocol=https \ 14SRC_URI = "git://github.com/gperftools/gperftools;branch=master;protocol=https"
15 file://0001-disbale-heap-checkers-and-debug-allocator-on-musl.patch \
16 file://disable_libunwind_aarch64.patch \
17 file://0001-src-mmap_hook.cc-Fix-build-for-32bit-machine.patch \
18 "
19 15
20SRC_URI:append:libc-musl = " file://ppc-musl.patch" 16SRC_URI:append:libc-musl = " \
17 file://ppc-musl.patch \
18 file://0002-src-base-elf_mem_image.cc-fix-build-for-musl.patch \
19 file://0003-Makefile.am-disable-building-noinst-tests-for-musl.patch \
20 "
21 21
22inherit autotools 22inherit autotools
23 23
24S = "${WORKDIR}/git"
25 24
26# On mips, we have the following error. 25# On mips, we have the following error.
27# do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008 26# do_page_fault(): sending SIGSEGV to ls for invalid read access from 00000008
diff --git a/meta-oe/recipes-support/gpm/gpm/0001-Avoid-shadowing-ncurses-functions.patch b/meta-oe/recipes-support/gpm/gpm/0001-Avoid-shadowing-ncurses-functions.patch
new file mode 100644
index 0000000000..ad10c9848c
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm/0001-Avoid-shadowing-ncurses-functions.patch
@@ -0,0 +1,234 @@
1From 8acd38879bcdeb34700ab1989e0dd6245af04706 Mon Sep 17 00:00:00 2001
2From: NHOrus <jy6x2b32pie9@yahoo.com>
3Date: Tue, 11 Feb 2025 18:42:47 +0400
4Subject: [PATCH 1/3] Avoid shadowing ncurses functions. This fails with GCC-15
5 and other compilers implementing C23 Added prefix gpm_ to raw() and noraw()
6 used in two files because they are implemented in same two files, and are
7 static. Same with scr_dump() and src_restore() in yacc source file
8
9Upstream-Status: Submitted [https://github.com/telmich/gpm/pull/49]
10Signed-off-by: mark.yang <mark.yang@lge.com>
11---
12 src/prog/gpm-root.y | 10 +++++-----
13 src/prog/hltest.c | 11 +++++------
14 src/prog/mouse-test.c | 24 ++++++++++++------------
15 3 files changed, 22 insertions(+), 23 deletions(-)
16
17diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y
18index 76c896c..800e51b 100644
19--- a/src/prog/gpm-root.y
20+++ b/src/prog/gpm-root.y
21@@ -941,7 +941,7 @@ static unsigned short clear_sel_args[6]={0, 0,0, 0,0, 4};
22 static unsigned char *clear_sel_arg= (unsigned char *)clear_sel_args+1;
23
24 /*------------*/
25-static inline void scr_dump(int fd, FILE *f, unsigned char *buffer, int vc)
26+static inline void gpm_scr_dump(int fd, FILE *f, unsigned char *buffer, int vc)
27 {
28 int dumpfd;
29 char dumpname[20];
30@@ -960,7 +960,7 @@ static inline void scr_dump(int fd, FILE *f, unsigned char *buffer, int vc)
31 }
32
33 /*------------*/
34-static inline void scr_restore(int fd, FILE *f, unsigned char *buffer, int vc)
35+static inline void gpm_scr_restore(int fd, FILE *f, unsigned char *buffer, int vc)
36 {
37 int dumpfd;
38 char dumpname[20];
39@@ -1002,7 +1002,7 @@ Posted *postmenu(int fd, FILE *f, Draw *draw, int x, int y, int console)
40 if (!new) return NULL;
41 new->draw=draw;
42 new->dump=dump=malloc(opt_buf);
43- scr_dump(fd,f,dump,console);
44+ gpm_scr_dump(fd,f,dump,console);
45 lines=dump[0]; columns=dump[1];
46 i=(columns*dump[3]+dump[2])*2+1; /* where to get it */
47 if (i<0) i=1;
48@@ -1060,7 +1060,7 @@ Posted *postmenu(int fd, FILE *f, Draw *draw, int x, int y, int console)
49 for (i=0; i<draw->width; i++) PUTC(HORLINE,draw->bord,draw->back);
50 PUTC(LRCORNER,draw->bord,draw->back);
51
52- scr_restore(fd,f,dump,console);
53+ gpm_scr_restore(fd,f,dump,console);
54 free(dump);
55
56 #undef PUTC
57@@ -1077,7 +1077,7 @@ Posted *unpostmenu(int fd, FILE *f, Posted *which, int vc)
58 {
59 Posted *prev=which->prev;
60
61- scr_restore(fd,f,which->dump, vc);
62+ gpm_scr_restore(fd,f,which->dump, vc);
63 ioctl(fd,TCXONC,TCOON); /* activate the console */
64 free(which->dump);
65 free(which);
66diff --git a/src/prog/hltest.c b/src/prog/hltest.c
67index cce0abc..a916873 100644
68--- a/src/prog/hltest.c
69+++ b/src/prog/hltest.c
70@@ -80,7 +80,6 @@ int wid,hei,vcsize;
71 unsigned short clear_sel_args[6]={0, 0,0, 0,0, 4};
72 unsigned char *clear_sel_arg= (unsigned char *)clear_sel_args+1;
73
74-
75 static inline int scrdump(char *buf)
76 {
77 clear_sel_arg[0]=2; /* clear_selection */
78@@ -99,7 +98,7 @@ static inline int scrrestore(char *buf)
79
80
81 /* I don't like curses, so I'm doing low level stuff here */
82-static void raw(void)
83+static void gpm_raw(void)
84 {
85 struct termios it;
86
87@@ -115,7 +114,7 @@ tcsetattr(fileno(stdin),TCSANOW,&it);
88
89 }
90
91-static void noraw(void)
92+static void gpm_noraw(void)
93 {
94 struct termios it;
95
96@@ -136,7 +135,7 @@ void killed(int signo)
97 {
98 CLEAR;
99 fprintf(stderr,"hltest: killed by signal %i\r\n",signo);
100- noraw();
101+ gpm_noraw();
102 exit(0);
103 }
104
105@@ -525,7 +524,7 @@ int main(int argc, char **argv)
106 gpm_roi_handler=xhandler;
107 gpm_roi_data=NULL;
108
109- raw();
110+ gpm_raw();
111 newmsg(0,NULL); /* init data structures */
112 while((c=Gpm_Getchar())!=EOF) {
113 char s[32];
114@@ -538,6 +537,6 @@ int main(int argc, char **argv)
115 newmsg(roi ? ((WinInfo *)roi->clientdata)->number : 0,s);
116 }
117
118- noraw();
119+ gpm_noraw();
120 exit(0);
121 }
122diff --git a/src/prog/mouse-test.c b/src/prog/mouse-test.c
123index d7d1027..0db3560 100644
124--- a/src/prog/mouse-test.c
125+++ b/src/prog/mouse-test.c
126@@ -106,7 +106,7 @@ return 0;
127 /*-----------------------------------------------------------------------------
128 Place the description here.
129 -----------------------------------------------------------------------------*/
130-static void raw(void)
131+static void gpm_raw(void)
132 {
133 struct termios it;
134
135@@ -125,7 +125,7 @@ static void raw(void)
136 /*-----------------------------------------------------------------------------
137 Place the description here.
138 -----------------------------------------------------------------------------*/
139-static void noraw(void)
140+static void gpm_noraw(void)
141 {
142 struct termios it;
143
144@@ -144,7 +144,7 @@ static void noraw(void)
145 void killed(int signo)
146 {
147 fprintf(stderr,"mouse-test: killed by signal %i\r\n",signo);
148- noraw();
149+ gpm_noraw();
150 exit(0);
151 }
152
153@@ -196,7 +196,7 @@ int mousereopen(int oldfd, const char *name, Gpm_Type *type)
154
155 int noneofthem(void)
156 {
157- noraw();
158+ gpm_noraw();
159 printf("\n\nSomething went wrong, I didn't manage to detect your"
160 "protocol\n\nFeel free to report your problems to the author\n");
161 exit(1);
162@@ -336,7 +336,7 @@ int main(int argc, char **argv)
163 I_serial=mice->init; /* the first one has I_serial */
164
165 signal(SIGINT,killed); /* control-C kills us */
166- raw();
167+ gpm_raw();
168
169 /*====================================== First of all, detect the device */
170
171@@ -568,7 +568,7 @@ int main(int argc, char **argv)
172 /* why checking and not using return value ??? */
173 CHECKFAIL(typecount);
174 if (typecount==1) {
175- noraw();
176+ gpm_noraw();
177 printf("\n\n\nWell, it seems like your mouse is already detected:\n"
178 "it is on the device \"%s\", and speaks the protocol \"%s\"\n",
179 mousename,list->this->name);
180@@ -587,7 +587,7 @@ int main(int argc, char **argv)
181 } while(i!='y' && i!='n');
182
183 if (i=='n') {
184- noraw();
185+ gpm_noraw();
186 printf("\nThen, you should use the \"bare\" protocol on \"%s\"\n",
187 mousename);
188 exit(0);
189@@ -634,7 +634,7 @@ int main(int argc, char **argv)
190 for (pending=0,i=0;i<got-16;i++)
191 if(!memcmp(buf+i,buf+i+8,8)) pending++;
192 if (pending > 3) {
193- noraw();
194+ gpm_noraw();
195 printf("\nYour mouse seems to be a 'mman' one on \"%s\" (%i matches)\n",
196 mousename,pending);
197 exit(0);
198@@ -660,7 +660,7 @@ int main(int argc, char **argv)
199 continue;
200 }
201 if (pending>3) {
202- noraw();
203+ gpm_noraw();
204 printf("\nYour mouse seems to be a '%s' one on \"%s\" (%i matches)\n",
205 cur->this->name,mousename,pending);
206 exit(0);
207@@ -695,7 +695,7 @@ int main(int argc, char **argv)
208 for (pending=0,i=0;i<got-20;i++)
209 if(!memcmp(buf+i,buf+i+10,10)) pending++;
210 if (pending>3) {
211- noraw();
212+ gpm_noraw();
213 printf("\nYour mouse becomes a 3-buttons ('-t msc') one when\n"
214 "gpm gets '-o %s' on it command line, and X gets\n"
215 "%s in XF86Config\nThe device is \"%s\"",
216@@ -726,7 +726,7 @@ int main(int argc, char **argv)
217 for (pending=0,i=0;i<got-20;i++)
218 if(!memcmp(buf+i,buf+i+10,10)) pending++;
219 if (pending>3) {
220- noraw();
221+ gpm_noraw();
222 printf("\nWorked. You should keep the button pressed every time the\n"
223 "computer boots, and run gpm in '-R' mode in order to ignore\n"
224 "such hassle when starting X\n\nStill better, but a better mouse\n"
225@@ -734,7 +734,7 @@ int main(int argc, char **argv)
226
227 exit(0);
228 }
229- noraw();
230+ gpm_noraw();
231 printf("\nI'm lost. Can't tell you how to use your middle button\n");
232 return 0;
233 }
234
diff --git a/meta-oe/recipes-support/gpm/gpm/0002-Fix-function-definition-in-yacc-source-file-until-va.patch b/meta-oe/recipes-support/gpm/gpm/0002-Fix-function-definition-in-yacc-source-file-until-va.patch
new file mode 100644
index 0000000000..4534de9be4
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm/0002-Fix-function-definition-in-yacc-source-file-until-va.patch
@@ -0,0 +1,81 @@
1From 155873ed357a94f06e7e7032e27acba58bba8214 Mon Sep 17 00:00:00 2001
2From: NHOrus <jy6x2b32pie9@yahoo.com>
3Date: Tue, 11 Feb 2025 19:01:48 +0400
4Subject: [PATCH 2/3] Fix function definition in yacc source file until valid
5 C23. Fill empty argument lists with values. Add 0 as third argument for
6 two-argument function, it will be ignored at call site.
7
8Upstream-Status: Submitted [https://github.com/telmich/gpm/pull/49]
9Signed-off-by: mark.yang <mark.yang@lge.com>
10---
11 src/prog/gpm-root.y | 14 +++++++-------
12 1 file changed, 7 insertions(+), 7 deletions(-)
13
14diff --git a/src/prog/gpm-root.y b/src/prog/gpm-root.y
15index 800e51b..f06872c 100644
16--- a/src/prog/gpm-root.y
17+++ b/src/prog/gpm-root.y
18@@ -128,7 +128,7 @@ typedef struct DrawItem {
19 char *name;
20 char *arg; /* a cmd string */
21 void *clientdata; /* a (Draw *) for menus or whatever */
22- int (*fun)();
23+ int (*fun)(int, struct DrawItem *, int);
24 struct DrawItem *next;
25 } DrawItem;
26
27@@ -159,7 +159,7 @@ int yyerror(char *s);
28 int yylex(void);
29
30 DrawItem *cfg_cat(DrawItem *, DrawItem *);
31-DrawItem *cfg_makeitem(int mode, char *msg, int(*fun)(), void *detail);
32+DrawItem *cfg_makeitem(int mode, char *msg, int(*fun)(int, DrawItem *, int), void *detail);
33
34
35 /*===================================================================*
36@@ -195,7 +195,7 @@ int f_pipe(int mode, DrawItem *self, int uid);
37 char *string;
38 Draw *draw;
39 DrawItem *item;
40- int (*fun)();
41+ int (*fun)(int, DrawItem *, int);
42 }
43
44 %token <string> T_STRING
45@@ -284,7 +284,7 @@ struct tokenName tokenList[] = {
46 struct funcName {
47 char *name;
48 int token;
49- int (*fun)();
50+ int (*fun)(int, DrawItem *, int);
51 };
52 struct funcName funcList[] = {
53 {"f.debug",T_FUNC,f_debug},
54@@ -390,7 +390,7 @@ Draw *cfg_alloc(void)
55
56 /*---------------------------------------------------------------------*/
57 /* malloc an empty DrawItem and fill it */
58-DrawItem *cfg_makeitem(int mode, char *msg, int(*fun)(), void *detail)
59+DrawItem *cfg_makeitem(int mode, char *msg, int(*fun)(int, DrawItem *, int), void *detail)
60 {
61 DrawItem *new=calloc(1,sizeof(DrawItem));
62
63@@ -405,7 +405,7 @@ DrawItem *cfg_makeitem(int mode, char *msg, int(*fun)(), void *detail)
64
65 case 'F': /* a function without args */
66 new->fun=fun;
67- if (fun) fun(F_CREATE,new);
68+ if (fun) fun(F_CREATE,new,0);
69 break;
70
71 case 'M':
72@@ -1047,7 +1047,7 @@ Posted *postmenu(int fd, FILE *f, Draw *draw, int x, int y, int console)
73 }
74 /* sides and items */
75 for (item=draw->menu; y++, item; item=item->next) {
76- if (item->fun) (*(item->fun))(F_POST,item);
77+ if (item->fun) (*(item->fun))(F_POST,item,0);
78 GOTO(x,y); PUTC(VERLINE,draw->bord,draw->back);
79 for (i=0;i<item->pad;i++) PUTC(' ',draw->fore,draw->back);
80 PUTS(item->name,draw->fore,draw->back); i+=strlen(item->name);
81
diff --git a/meta-oe/recipes-support/gpm/gpm/0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch b/meta-oe/recipes-support/gpm/gpm/0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch
new file mode 100644
index 0000000000..0913c809c8
--- /dev/null
+++ b/meta-oe/recipes-support/gpm/gpm/0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch
@@ -0,0 +1,37 @@
1From d8224863233ae64310a1ee91b9f4e77daf9cfd10 Mon Sep 17 00:00:00 2001
2From: NHOrus <jy6x2b32pie9@yahoo.com>
3Date: Sat, 22 Feb 2025 01:12:32 +0400
4Subject: [PATCH 3/3] Add incomplete type definition for WINDOW in Gpm_Wgetch()
5
6Window handle is an opaque pointer that Gpm_Wgetch() passes
7through straight to ncurses if it's not null and calls getch
8if it's null. Code doesn't care what's inside the handle
9as long as it agrees with curses definition.
10
11Upstream-Status: Submitted [https://github.com/telmich/gpm/pull/49]
12Signed-off-by: mark.yang <mark.yang@lge.com>
13---
14 src/headers/gpm.h | 9 ++++++++-
15 1 file changed, 8 insertions(+), 1 deletion(-)
16
17diff --git a/src/headers/gpm.h b/src/headers/gpm.h
18index fe52e53..b944d4b 100644
19--- a/src/headers/gpm.h
20+++ b/src/headers/gpm.h
21@@ -268,7 +268,14 @@ Gpm_Roi * Gpm_LowerRoi(Gpm_Roi *which, Gpm_Roi *after);
22 /* libcurses.c */
23 /* #include <curses.h> Hmm... seems risky */
24
25-extern int Gpm_Wgetch();
26+/* Window handle is an opaque pointer that Gpm_Wgetch()
27+ * passes through to ncurses if it's not null and calls getch
28+ * if it's null. Code doesn't care what's inside the handle
29+ * as long as it agrees with curses definition.
30+*/
31+typedef struct _win_st WINDOW;
32+
33+extern int Gpm_Wgetch(WINDOW *);
34 #define Gpm_Getch() (Gpm_Wgetch(NULL))
35
36 /* libxtra.c */
37
diff --git a/meta-oe/recipes-support/gpm/gpm_git.bb b/meta-oe/recipes-support/gpm/gpm_git.bb
index 25e5414a35..155e56bdef 100644
--- a/meta-oe/recipes-support/gpm/gpm_git.bb
+++ b/meta-oe/recipes-support/gpm/gpm_git.bb
@@ -15,15 +15,21 @@ DEPENDS = "ncurses bison-native"
15SRC_URI = "git://github.com/telmich/gpm;protocol=https;branch=master \ 15SRC_URI = "git://github.com/telmich/gpm;protocol=https;branch=master \
16 file://init \ 16 file://init \
17 file://gpm.service.in \ 17 file://gpm.service.in \
18 file://0001-Avoid-shadowing-ncurses-functions.patch \
19 file://0002-Fix-function-definition-in-yacc-source-file-until-va.patch \
20 file://0003-Add-incomplete-type-definition-for-WINDOW-in-Gpm_Wge.patch \
18 " 21 "
19 22
20S = "${WORKDIR}/git"
21 23
22inherit autotools-brokensep update-rc.d systemd texinfo 24inherit autotools-brokensep update-rc.d systemd texinfo
23 25
24INITSCRIPT_NAME = "gpm" 26INITSCRIPT_NAME = "gpm"
25INITSCRIPT_PARAMS = "defaults" 27INITSCRIPT_PARAMS = "defaults"
26 28
29# Avoid line statements with bison/yacc
30# ERROR: lib32-gpm-1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530-r0 do_package_qa: QA Issue: File /usr/src/debug/lib32-gpm/1.99.7+gite82d1a653ca94aa4ed12441424da6ce780b1e530/src/prog/gpm-root.c in package lib32-gpm-src contains reference to TMPDIR [buildpaths]
31EXTRA_OEMAKE = "YFLAGS='-l'"
32
27do_configure:prepend() { 33do_configure:prepend() {
28 (cd ${S};./autogen.sh;cd -) 34 (cd ${S};./autogen.sh;cd -)
29} 35}
diff --git a/meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb b/meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb
index c82b529f96..c0eb3e02d8 100644
--- a/meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb
+++ b/meta-oe/recipes-support/gradm/gradm_3.1-202111052217.bb
@@ -18,9 +18,9 @@ SRC_URI = "http://grsecurity.net/stable/${BP}.tar.gz \
18 " 18 "
19SRC_URI[sha256sum] = "2459290f367a47c8a1ce4ea2ec08359799ea33dc15ed4436439596ce88284fb9" 19SRC_URI[sha256sum] = "2459290f367a47c8a1ce4ea2ec08359799ea33dc15ed4436439596ce88284fb9"
20 20
21S = "${WORKDIR}/gradm" 21UPSTREAM_CHECK_URI = "https://grsecurity.net/download"
22 22
23inherit autotools-brokensep 23S = "${UNPACKDIR}/gradm"
24 24
25do_compile() { 25do_compile() {
26 oe_runmake 'CC=${CC}' \ 26 oe_runmake 'CC=${CC}' \
diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.134.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.134.bb
index 5528e87e6c..0956eb121c 100644
--- a/meta-oe/recipes-support/gsoap/gsoap_2.8.134.bb
+++ b/meta-oe/recipes-support/gsoap/gsoap_2.8.134.bb
@@ -13,7 +13,7 @@ inherit autotools
13 13
14BBCLASSEXTEND = "native" 14BBCLASSEXTEND = "native"
15 15
16S = "${WORKDIR}/${BPN}-2.8" 16S = "${UNPACKDIR}/${BPN}-2.8"
17 17
18EXTRA_OECONF += "--enable-ipv6 --enable-c-locale" 18EXTRA_OECONF += "--enable-ipv6 --enable-c-locale"
19PARALLEL_MAKE = "" 19PARALLEL_MAKE = ""
diff --git a/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb b/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
index 75feccb87c..5930a8c95c 100644
--- a/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
+++ b/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
@@ -15,7 +15,6 @@ SRC_URI = "${SAVANNAH_NONGNU_MIRROR}/hddtemp/hddtemp-0.3-beta15.tar.bz2 \
15 file://init \ 15 file://init \
16" 16"
17 17
18SRC_URI[md5sum] = "8b829339e1ae9df701684ec239021bb8"
19SRC_URI[sha256sum] = "618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b" 18SRC_URI[sha256sum] = "618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b"
20 19
21LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a" 20LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a"
diff --git a/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch b/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
index 68d9c3a3cf..0d016ccb4c 100644
--- a/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
+++ b/meta-oe/recipes-support/hdf5/files/0001-cmake-remove-build-flags.patch
@@ -1,6 +1,6 @@
1From 4fa437782261c0da785d4574ad3a03700f624e66 Mon Sep 17 00:00:00 2001 1From 9f5afd99cce93e68996deb2b5fa7c32737d279fe Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Tue, 19 Sep 2023 02:56:09 +0000 3Date: Tue, 16 Jul 2024 17:54:29 +0800
4Subject: [PATCH] cmake: remove build flags 4Subject: [PATCH] cmake: remove build flags
5 5
6Don't generate the build host related info and reemove the build flags 6Don't generate the build host related info and reemove the build flags
@@ -11,11 +11,10 @@ Upstream-Status: Inappropriate [oe specific]
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12--- 12---
13 config/cmake/libhdf5.settings.cmake.in | 18 +++++++++--------- 13 config/cmake/libhdf5.settings.cmake.in | 18 +++++++++---------
14 src/H5make_libsettings.c | 17 ----------------- 14 1 file changed, 9 insertions(+), 9 deletions(-)
15 2 files changed, 9 insertions(+), 26 deletions(-)
16 15
17diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in 16diff --git a/config/cmake/libhdf5.settings.cmake.in b/config/cmake/libhdf5.settings.cmake.in
18index f60f0de..f4433c0 100644 17index deb07ed..6f255c4 100644
19--- a/config/cmake/libhdf5.settings.cmake.in 18--- a/config/cmake/libhdf5.settings.cmake.in
20+++ b/config/cmake/libhdf5.settings.cmake.in 19+++ b/config/cmake/libhdf5.settings.cmake.in
21@@ -23,23 +23,23 @@ Linking Options: 20@@ -23,23 +23,23 @@ Linking Options:
@@ -28,7 +27,7 @@ index f60f0de..f4433c0 100644
28 AM_LDFLAGS: @AM_LDFLAGS@ 27 AM_LDFLAGS: @AM_LDFLAGS@
29 Extra libraries: @LINK_LIBS@ 28 Extra libraries: @LINK_LIBS@
30- Archiver: @CMAKE_AR@ 29- Archiver: @CMAKE_AR@
31- AR_FLAGS: 30- AR_FLAGS:
32- Ranlib: @CMAKE_RANLIB@ 31- Ranlib: @CMAKE_RANLIB@
33+ Archiver: 32+ Archiver:
34+ AR_FLAGS: 33+ AR_FLAGS:
@@ -63,34 +62,6 @@ index f60f0de..f4433c0 100644
63 H5 C++ Flags: @HDF5_CMAKE_CXX_FLAGS@ 62 H5 C++ Flags: @HDF5_CMAKE_CXX_FLAGS@
64 AM C++ Flags: @AM_CXXFLAGS@ 63 AM C++ Flags: @AM_CXXFLAGS@
65 Shared C++ Library: @H5_ENABLE_SHARED_LIB@ 64 Shared C++ Library: @H5_ENABLE_SHARED_LIB@
66diff --git a/src/H5make_libsettings.c b/src/H5make_libsettings.c
67index 2661288..7c0f84f 100644
68--- a/src/H5make_libsettings.c
69+++ b/src/H5make_libsettings.c
70@@ -205,23 +205,6 @@ information about the library build configuration\n";
71 fprintf(rawoutstream, "/* Generated automatically by H5make_libsettings -- do not edit */\n\n\n");
72 fputs(FileHeader, rawoutstream); /*the copyright notice--see top of this file */
73
74- fprintf(rawoutstream, " *\n * Created:\t\t%s %2d, %4d\n", month_name[tm->tm_mon], tm->tm_mday,
75- 1900 + tm->tm_year);
76- if (pwd || real_name[0] || host_name[0]) {
77- fprintf(rawoutstream, " *\t\t\t");
78- if (real_name[0])
79- fprintf(rawoutstream, "%s <", real_name);
80-#ifdef H5_HAVE_GETPWUID
81- if (pwd)
82- fputs(pwd->pw_name, rawoutstream);
83-#endif
84- if (host_name[0])
85- fprintf(rawoutstream, "@%s", host_name);
86- if (real_name[0])
87- fprintf(rawoutstream, ">");
88- fputc('\n', rawoutstream);
89- }
90-
91 fprintf(rawoutstream, " *\n * Purpose:\t\t");
92
93 for (s = purpose; *s; s++) {
94-- 65--
952.35.5 662.25.1
96 67
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb b/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb
index b8a81bb0b7..edaf5710e1 100644
--- a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb
+++ b/meta-oe/recipes-support/hdf5/hdf5_1.14.4-3.bb
@@ -5,18 +5,18 @@ HOMEPAGE = "https://www.hdfgroup.org/"
5SECTION = "libs" 5SECTION = "libs"
6 6
7LICENSE = "HDF5" 7LICENSE = "HDF5"
8LIC_FILES_CHKSUM = "file://COPYING;md5=9ba0f3d878ab6c2403c86e9b0362d998" 8LIC_FILES_CHKSUM = "file://COPYING;md5=adebb1ecf1b3b80c13359e18ef67301e"
9 9
10inherit cmake siteinfo qemu multilib_header multilib_script 10inherit cmake siteinfo qemu multilib_header multilib_script
11 11
12DEPENDS += "qemu-native zlib" 12DEPENDS += "qemu-native zlib"
13 13
14SRC_URI = " \ 14SRC_URI = " \
15 https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-${PV}/src/${BPN}-${PV}.tar.bz2 \ 15 https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.4/src/${BPN}-${PV}.tar.gz \
16 file://0002-Remove-suffix-shared-from-shared-library-name.patch \ 16 file://0002-Remove-suffix-shared-from-shared-library-name.patch \
17 file://0001-cmake-remove-build-flags.patch \ 17 file://0001-cmake-remove-build-flags.patch \
18" 18"
19SRC_URI[sha256sum] = "ea3c5e257ef322af5e77fc1e52ead3ad6bf3bb4ac06480dd17ee3900d7a24cfb" 19SRC_URI[sha256sum] = "019ac451d9e1cf89c0482ba2a06f07a46166caf23f60fea5ef3c37724a318e03"
20 20
21FILES:${PN} += "${libdir}/libhdf5.settings ${datadir}/*" 21FILES:${PN} += "${libdir}/libhdf5.settings ${datadir}/*"
22 22
@@ -37,6 +37,7 @@ $qemu_binary "\$@"
37EOF 37EOF
38 chmod +x ${WORKDIR}/qemuwrapper 38 chmod +x ${WORKDIR}/qemuwrapper
39} 39}
40gen_emu:class-native = ""
40 41
41do_unpack[postfuncs] += "gen_emu" 42do_unpack[postfuncs] += "gen_emu"
42 43
@@ -44,10 +45,13 @@ MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc \
44 ${PN}:${bindir}/h5hlcc \ 45 ${PN}:${bindir}/h5hlcc \
45" 46"
46 47
48do_configure:append() {
49 sed -i -e 's|${WORKDIR}||g' ${B}/src/libhdf5.settings
50 sed -i -e 's|${WORKDIR}||g' ${B}/src/H5build_settings.c
51}
52
47do_install:append() { 53do_install:append() {
48 # Used for generating config files on target 54 # Used for generating config files on target
49 install -m 755 ${B}/bin/H5detect ${D}${bindir}
50 install -m 755 ${B}/bin/H5make_libsettings ${D}${bindir}
51 oe_multilib_header H5pubconf.h 55 oe_multilib_header H5pubconf.h
52 # remove the buildpath 56 # remove the buildpath
53 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/pkgconfig/hdf5.pc 57 sed -i -e 's|${RECIPE_SYSROOT}||g' ${D}${libdir}/pkgconfig/hdf5.pc
diff --git a/meta-oe/recipes-support/hidapi/hidapi_0.14.0.bb b/meta-oe/recipes-support/hidapi/hidapi_0.15.0.bb
index c7a487ba5c..7d2c87d02d 100644
--- a/meta-oe/recipes-support/hidapi/hidapi_0.14.0.bb
+++ b/meta-oe/recipes-support/hidapi/hidapi_0.15.0.bb
@@ -11,5 +11,4 @@ RDEPENDS:${PN}:append:libc-glibc = " glibc-gconv-utf-16"
11inherit autotools pkgconfig 11inherit autotools pkgconfig
12 12
13SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https;branch=master" 13SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https;branch=master"
14SRCREV = "d3013f0af3f4029d82872c1a9487ea461a56dee4" 14SRCREV = "d6b2a974608dec3b76fb1e36c189f22b9cf3650c"
15S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-support/hstr/hstr_3.1.0.bb b/meta-oe/recipes-support/hstr/hstr_3.1.0.bb
index a641feef6f..0ee900ca3d 100644
--- a/meta-oe/recipes-support/hstr/hstr_3.1.0.bb
+++ b/meta-oe/recipes-support/hstr/hstr_3.1.0.bb
@@ -10,7 +10,7 @@ SRC_URI = "https://github.com/dvorka/hstr/releases/download/3.1/hstr-${PV}-tarba
10 file://0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch \ 10 file://0001-configure.ac-Don-t-use-AC_CHECK_FILE.patch \
11 file://0001-Use-OE-specific-checks-for-ncurses.patch" 11 file://0001-Use-OE-specific-checks-for-ncurses.patch"
12 12
13S = "${WORKDIR}/${BPN}" 13S = "${UNPACKDIR}/${BPN}"
14 14
15SRC_URI[sha256sum] = "4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5" 15SRC_URI[sha256sum] = "4dabf61f045f022bac8bc909e5fd96041af6c53df56d97dfa3cfbf49af4453a5"
16 16
diff --git a/meta-oe/recipes-support/htop/htop_3.3.0.bb b/meta-oe/recipes-support/htop/htop_3.3.0.bb
index cd5b766f0f..efb89bf3ae 100644
--- a/meta-oe/recipes-support/htop/htop_3.3.0.bb
+++ b/meta-oe/recipes-support/htop/htop_3.3.0.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https \
11" 11"
12SRCREV = "68c970c7ef4a0682760ed570b3d82388ae7ccf54" 12SRCREV = "68c970c7ef4a0682760ed570b3d82388ae7ccf54"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit autotools pkgconfig 15inherit autotools pkgconfig
17 16
diff --git a/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb b/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb
index 0ec426afb9..7f6fba995c 100644
--- a/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb
+++ b/meta-oe/recipes-support/hunspell/hunspell-dictionaries.bb
@@ -135,9 +135,11 @@ RDEPENDS:${PN} = "hunspell"
135 135
136PV = "0.0.0+git" 136PV = "0.0.0+git"
137SRCREV = "820a65e539e34a3a8c2a855d2450b84745c624ee" 137SRCREV = "820a65e539e34a3a8c2a855d2450b84745c624ee"
138SRC_URI = "git://github.com/wooorm/dictionaries.git;branch=master;protocol=https" 138SRC_URI = "git://github.com/wooorm/dictionaries.git;branch=main;protocol=https"
139
140# Upstream repo does not tag
141UPSTREAM_CHECK_COMMITS = "1"
139 142
140S = "${WORKDIR}/git"
141 143
142do_install() { 144do_install() {
143 for LANGUAGE in `ls -d1 ${S}/dictionaries/*` ; do 145 for LANGUAGE in `ls -d1 ${S}/dictionaries/*` ; do
diff --git a/meta-oe/recipes-support/hunspell/hunspell_1.7.2.bb b/meta-oe/recipes-support/hunspell/hunspell_1.7.2.bb
index afe75472a5..67a51f5c9f 100644
--- a/meta-oe/recipes-support/hunspell/hunspell_1.7.2.bb
+++ b/meta-oe/recipes-support/hunspell/hunspell_1.7.2.bb
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = " \
9SRCREV = "2969be996acad84b91ab3875b1816636fe61a40e" 9SRCREV = "2969be996acad84b91ab3875b1816636fe61a40e"
10SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools pkgconfig gettext 13inherit autotools pkgconfig gettext
15 14
diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.383.bb b/meta-oe/recipes-support/hwdata/hwdata_0.383.bb
deleted file mode 100644
index cfa6ae0e45..0000000000
--- a/meta-oe/recipes-support/hwdata/hwdata_0.383.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1DESCRIPTION = "Hardware identification and configuration data"
2HOMEPAGE = "https://github.com/vcrhonek/hwdata"
3SECTION = "System/Base"
4
5LICENSE = "GPL-2.0-or-later | XFree86-1.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
7
8SRCREV = "229069b51b488bc776602d82315188cd1fbf4887"
9SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https"
10
11S = "${WORKDIR}/git"
12
13inherit allarch
14
15do_configure() {
16 ${S}/configure --datadir=${datadir} --libdir=${libdir}
17}
18
19do_compile[noexec] = "1"
20
21do_install() {
22 oe_runmake install DESTDIR=${D}
23}
24
25FILES:${PN} = "${libdir}/* \
26 ${datadir}/* "
diff --git a/meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb b/meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb
index 8218b08084..03eb7ccbf1 100644
--- a/meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb
+++ b/meta-oe/recipes-support/idevicerestore/idevicerestore_git.bb
@@ -13,5 +13,4 @@ PV = "1.0.1+git"
13SRCREV = "ecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7" 13SRCREV = "ecae6c6e8ca6b6bad080a1c73f10ffd0e67d75a7"
14SRC_URI = "git://github.com/libimobiledevice/idevicerestore;protocol=https;branch=master" 14SRC_URI = "git://github.com/libimobiledevice/idevicerestore;protocol=https;branch=master"
15 15
16S = "${WORKDIR}/git"
17inherit autotools pkgconfig 16inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch b/meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch
deleted file mode 100644
index 41fccc3ab0..0000000000
--- a/meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From 7136a908a056d0e36c89b6e1c39adff8ce2bb1d4 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Wed, 1 Nov 2017 13:17:34 -0700
4Subject: [PATCH] avoid obsolete gnutls apis
5
6The gnutls_*_set_priority() family of functions was marked deprecated
7in gnutls 2.12.x and removed completely in 3.5.x. These functions
8have been superceded by gnutls_priority_set_direct(), which was added
9in gnutls 2.2.0 (released 2007-12-14).
10
11Rather than simply update the custom gnutls_*_set_priority() calls to
12use gnutls_priority_set_direct(), drop the custom priority selection
13completely and use the recommended approach of letting gnutls pick a
14reasonable set of defaults.
15
16Upstream-Status: Pending
17
18Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
19---
20 src/tls-gnutls.c | 12 ++----------
21 1 file changed, 2 insertions(+), 10 deletions(-)
22
23diff --git a/src/tls-gnutls.c b/src/tls-gnutls.c
24index d7b7c91..749e9ef 100644
25--- a/src/tls-gnutls.c
26+++ b/src/tls-gnutls.c
27@@ -48,11 +48,6 @@ tls_pull (struct ikstls_data *data, char *buffer, size_t len)
28 static int
29 tls_handshake (struct ikstls_data **datap, ikstransport *trans, void *sock)
30 {
31- const int protocol_priority[] = { GNUTLS_TLS1, GNUTLS_SSL3, 0 };
32- const int kx_priority[] = { GNUTLS_KX_RSA, 0 };
33- const int cipher_priority[] = { GNUTLS_CIPHER_3DES_CBC, GNUTLS_CIPHER_ARCFOUR, 0};
34- const int comp_priority[] = { GNUTLS_COMP_ZLIB, GNUTLS_COMP_NULL, 0 };
35- const int mac_priority[] = { GNUTLS_MAC_SHA, GNUTLS_MAC_MD5, 0 };
36 struct ikstls_data *data;
37 int ret;
38
39@@ -81,11 +76,8 @@ tls_handshake (struct ikstls_data **datap, ikstransport *trans, void *sock)
40 return IKS_NOMEM;
41 }
42
43- gnutls_protocol_set_priority (data->sess, protocol_priority);
44- gnutls_cipher_set_priority(data->sess, cipher_priority);
45- gnutls_compression_set_priority(data->sess, comp_priority);
46- gnutls_kx_set_priority(data->sess, kx_priority);
47- gnutls_mac_set_priority(data->sess, mac_priority);
48+ gnutls_set_default_priority (data->sess);
49+
50 gnutls_credentials_set (data->sess, GNUTLS_CRD_CERTIFICATE, data->cred);
51
52 gnutls_transport_set_push_function (data->sess, (gnutls_push_func) tls_push);
53--
541.9.1
55
diff --git a/meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch b/meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch
deleted file mode 100644
index 05accdd9c8..0000000000
--- a/meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch
+++ /dev/null
@@ -1,62 +0,0 @@
1From 17a5cf8f70b86d8a2195562e2d9dcccb4fa35c83 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Tue, 31 Oct 2017 20:05:58 -0700
4Subject: [PATCH] fix configure option parsing
5
6Don't over-write with_openssl etc by trying to set to $enablevar
7
8Upstream-Status: Pending
9
10Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
11---
12 configure.ac | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 82e6d2d..823e6c1 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -56,17 +56,17 @@ fi
20 dnl Options for overriding TLS checks
21 AC_ARG_WITH([openssl],
22 AS_HELP_STRING([--without-openssl],[disable checking for openssl]),
23- [with_openssl=$enableval],
24- [with_openssl=yes]
25+ [],
26+ [with_openssl=auto]
27 )
28 AC_ARG_WITH([gnutls],
29 AS_HELP_STRING([--without-gnutls],[disable checking for GNU TLS]),
30- [with_gnutls=$enableval],
31- [with_gnutls=yes]
32+ [],
33+ [with_gnutls=auto]
34 )
35
36 dnl Check OpenSSL
37-if test "x$with_openssl" = "xyes"; then
38+if test "x$with_openssl" != "xno"; then
39 PKG_CHECK_MODULES([OPENSSL], openssl >= 0.9.8, have_openssl=yes, have_openssl=no)
40 if test "x$have_openssl" = "xyes"; then
41 LIBOPENSSL_CFLAGS="$OPENSSL_CFLAGS"
42@@ -78,7 +78,7 @@ if test "x$with_openssl" = "xyes"; then
43 fi
44
45 dnl Check GNU TLS
46-if test "x$with_gnutls" = "xyes"; then
47+if test "x$with_gnutls" != "xno"; then
48 if test "x$have_openssl" != "xyes"; then
49 PKG_CHECK_MODULES([GNUTLS], gnutls >= 2.0.0, have_gnutls=yes, have_gnutls=no)
50 if test "x$have_gnutls" = "xyes"; then
51@@ -94,7 +94,7 @@ fi
52 dnl Option for overriding Python check
53 AC_ARG_ENABLE([python],
54 AS_HELP_STRING([--disable-python],[disable checking for Python bindings]),
55- [with_python=$enableval],
56+ [],
57 [with_python=yes]
58 )
59
60--
611.9.1
62
diff --git a/meta-oe/recipes-support/iksemel/iksemel_1.5.bb b/meta-oe/recipes-support/iksemel/iksemel_1.5.bb
deleted file mode 100644
index 017e7d26a6..0000000000
--- a/meta-oe/recipes-support/iksemel/iksemel_1.5.bb
+++ /dev/null
@@ -1,24 +0,0 @@
1SUMMARY = "Fast and portable XML parser and Jabber protocol library"
2HOMEPAGE = "https://github.com/meduketto/iksemel"
3SECTION = "libs"
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
6
7SRCREV = "978b733462e41efd5db72bc9974cb3b0d1d5f6fa"
8PV = "1.5+git"
9
10SRC_URI = "git://github.com/meduketto/iksemel.git;protocol=https;branch=master \
11 file://fix-configure-option-parsing.patch \
12 file://avoid-obsolete-gnutls-apis.patch"
13
14S = "${WORKDIR}/git"
15
16inherit autotools pkgconfig lib_package texinfo
17
18# TLS support requires either openssl or gnutls (if both are enabled openssl will be used).
19PACKAGECONFIG ?= "gnutls"
20
21PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
22PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl"
23
24EXTRA_OECONF = "--disable-python"
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb
new file mode 100644
index 0000000000..10d2150998
--- /dev/null
+++ b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1-43.bb
@@ -0,0 +1,183 @@
1SUMMARY = "ImageMagick is an image conversion toolkit"
2SECTION = "console/utils"
3HOMEPAGE = "https://www.imagemagick.org/"
4DESCRIPTION = "ImageMagick is a collection of tools for displaying, converting, and \
5editing raster and vector image files. It can read and write over 200 image file formats."
6LICENSE = "ImageMagick"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2f9de66264141265b203cde9902819ea \
8 file://NOTICE;md5=bcbf1f1897b40ec8df39700cb560e9ed"
9# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
10DEPENDS = "lcms bzip2 jpeg libpng tiff zlib fftw freetype libtool"
11
12BASE_PV = "${@d.getVar('PV').split('-')[0]}"
13UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>([0-9][\.|_|-]?)+)"
14
15SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=https"
16SRCREV = "a2d96f40e707ba54b57e7d98c3277d3ea6611ace"
17
18
19inherit autotools pkgconfig update-alternatives
20export ac_cv_sys_file_offset_bits = "64"
21
22EXTRA_OECONF = "--program-prefix= --program-suffix=.im7 --without-perl --enable-largefile"
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} cxx webp xml"
25PACKAGECONFIG[cxx] = "--with-magick-plus-plus,--without-magick-plus-plus"
26PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
27PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
28PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
29PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"
30PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
31PACKAGECONFIG[rsvg] = "--with-rsvg,--without-rsvg,librsvg"
32PACKAGECONFIG[tcmalloc] = "--with-tcmalloc=yes,--with-tcmalloc=no,gperftools"
33PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
34PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
35PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt"
36PACKAGECONFIG[xml] = "--with-xml,--without-xml,libxml2"
37
38do_install:append:class-target() {
39 for file in MagickCore-config.im7 MagickWand-config.im7; do
40 sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/$file"
41 done
42
43 if ${@bb.utils.contains('PACKAGECONFIG', 'cxx', 'true', 'false', d)}; then
44 sed -i 's,${STAGING_DIR_TARGET},,g' "${D}${bindir}/Magick++-config.im7"
45 fi
46
47 if ${@bb.utils.contains('PACKAGECONFIG', 'xml', 'true', 'false', d)}; then
48 xml_config="${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml"
49 sed -i 's,${S},,g' "$xml_config"
50 sed -i 's,${B},,g' "$xml_config"
51 sed -i 's,${RECIPE_SYSROOT},,g' "$xml_config"
52 fi
53
54 if ${@bb.utils.contains_any('PACKAGECONFIG', 'webp openjpeg', 'true', 'false', d)}; then
55 sed -i 's,${HOSTTOOLS_DIR},${bindir},g' "${D}${sysconfdir}/ImageMagick-7/delegates.xml"
56 fi
57}
58
59FILES:${PN} += "${libdir}/ImageMagick-${BASE_PV}/config-Q16* \
60 ${datadir}/ImageMagick-7"
61
62FILES:${PN}-dev += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/*.a"
63
64FILES:${PN}-dbg += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/.debug/*"
65
66BBCLASSEXTEND = "native nativesdk"
67
68ALTERNATIVE_PRIORITY = "100"
69
70ALTERNATIVE:${PN} = "animate compare composite conjure convert display \
71 identify import magick-script mogrify montage stream"
72
73ALTERNATIVE_TARGET[animate] = "${bindir}/animate.im7"
74ALTERNATIVE_TARGET[compare] = "${bindir}/compare.im7"
75ALTERNATIVE_TARGET[composite] = "${bindir}/composite.im7"
76ALTERNATIVE_TARGET[conjure] = "${bindir}/conjure.im7"
77ALTERNATIVE_TARGET[convert] = "${bindir}/convert.im7"
78ALTERNATIVE_TARGET[display] = "${bindir}/display.im7"
79ALTERNATIVE_TARGET[identify] = "${bindir}/identify.im7"
80ALTERNATIVE_TARGET[import] = "${bindir}/import.im7"
81ALTERNATIVE_TARGET[magick-script] = "${bindir}/magick-script.im7"
82ALTERNATIVE_TARGET[mogrify] = "${bindir}/mogrify.im7"
83ALTERNATIVE_TARGET[montage] = "${bindir}/montage.im7"
84ALTERNATIVE_TARGET[stream] = "${bindir}/stream.im7"
85
86ALTERNATIVE:${PN}-doc = "animate.1 compare.1 composite.1 conjure.1 \
87 convert.1 display.1 identify.1 import.1 magick-script.1 mogrify.1 montage.1 stream.1"
88
89ALTERNATIVE_LINK_NAME[animate.1] = "${mandir}/man1/animate.1"
90ALTERNATIVE_TARGET[animate.1] = "${mandir}/man1/animate.im7.1"
91ALTERNATIVE_LINK_NAME[compare.1] = "${mandir}/man1/compare.1"
92ALTERNATIVE_TARGET[compare.1] = "${mandir}/man1/compare.im7.1"
93ALTERNATIVE_LINK_NAME[composite.1] = "${mandir}/man1/composite.1"
94ALTERNATIVE_TARGET[composite.1] = "${mandir}/man1/composite.im7.1"
95ALTERNATIVE_LINK_NAME[conjure.1] = "${mandir}/man1/conjure.1"
96ALTERNATIVE_TARGET[conjure.1] = "${mandir}/man1/conjure.im7.1"
97ALTERNATIVE_LINK_NAME[convert.1] = "${mandir}/man1/convert.1"
98ALTERNATIVE_TARGET[convert.1] = "${mandir}/man1/convert.im7.1"
99ALTERNATIVE_LINK_NAME[display.1] = "${mandir}/man1/display.1"
100ALTERNATIVE_TARGET[display.1] = "${mandir}/man1/display.im7.1"
101ALTERNATIVE_LINK_NAME[identify.1] = "${mandir}/man1/identify.1"
102ALTERNATIVE_TARGET[identify.1] = "${mandir}/man1/identify.im7.1"
103ALTERNATIVE_LINK_NAME[import.1] = "${mandir}/man1/import.1"
104ALTERNATIVE_TARGET[import.1] = "${mandir}/man1/import.im7.1"
105ALTERNATIVE_LINK_NAME[magick-script.1] = "${mandir}/man1/magick-script.1"
106ALTERNATIVE_TARGET[magick-script.1] = "${mandir}/man1/magick-script.im7.1"
107ALTERNATIVE_LINK_NAME[mogrify.1] = "${mandir}/man1/mogrify.1"
108ALTERNATIVE_TARGET[mogrify.1] = "${mandir}/man1/mogrify.im7.1"
109ALTERNATIVE_LINK_NAME[montage.1] = "${mandir}/man1/montage.1"
110ALTERNATIVE_TARGET[montage.1] = "${mandir}/man1/montage.im7.1"
111ALTERNATIVE_LINK_NAME[stream.1] = "${mandir}/man1/stream.1"
112ALTERNATIVE_TARGET[stream.1] = "${mandir}/man1/stream.im7.1"
113
114CVE_STATUS[CVE-2007-1667] = "cpe-incorrect: CVE should not include a CPE for imagemagick"
115CVE_STATUS[CVE-2014-9804] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
116CVE_STATUS[CVE-2014-9805] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
117CVE_STATUS[CVE-2014-9806] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
118CVE_STATUS[CVE-2014-9807] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
119CVE_STATUS[CVE-2014-9808] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
120CVE_STATUS[CVE-2014-9809] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
121CVE_STATUS[CVE-2014-9810] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
122CVE_STATUS[CVE-2014-9811] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
123CVE_STATUS[CVE-2014-9812] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
124CVE_STATUS[CVE-2014-9813] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
125CVE_STATUS[CVE-2014-9814] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
126CVE_STATUS[CVE-2014-9815] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
127CVE_STATUS[CVE-2014-9816] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
128CVE_STATUS[CVE-2014-9817] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
129CVE_STATUS[CVE-2014-9818] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
130CVE_STATUS[CVE-2014-9819] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
131CVE_STATUS[CVE-2014-9820] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
132CVE_STATUS[CVE-2014-9821] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
133CVE_STATUS[CVE-2014-9822] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
134CVE_STATUS[CVE-2014-9823] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
135CVE_STATUS[CVE-2014-9824] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
136CVE_STATUS[CVE-2014-9825] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
137CVE_STATUS[CVE-2014-9826] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
138CVE_STATUS[CVE-2014-9827] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
139CVE_STATUS[CVE-2014-9828] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
140CVE_STATUS[CVE-2014-9829] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
141CVE_STATUS[CVE-2014-9830] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
142CVE_STATUS[CVE-2014-9831] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
143CVE_STATUS[CVE-2014-9848] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
144CVE_STATUS[CVE-2014-9852] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
145CVE_STATUS[CVE-2014-9853] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
146CVE_STATUS[CVE-2014-9854] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
147CVE_STATUS[CVE-2014-9907] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
148CVE_STATUS[CVE-2016-10062] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-10"
149CVE_STATUS[CVE-2016-10144] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.7-1"
150CVE_STATUS[CVE-2016-10145] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.7-1"
151CVE_STATUS[CVE-2016-10146] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.6-8"
152CVE_STATUS[CVE-2016-5118] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-7"
153CVE_STATUS[CVE-2016-7513] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
154CVE_STATUS[CVE-2016-7514] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-0"
155CVE_STATUS[CVE-2016-7515] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
156CVE_STATUS[CVE-2016-7516] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
157CVE_STATUS[CVE-2016-7517] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
158CVE_STATUS[CVE-2016-7518] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
159CVE_STATUS[CVE-2016-7519] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
160CVE_STATUS[CVE-2016-7520] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
161CVE_STATUS[CVE-2016-7521] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
162CVE_STATUS[CVE-2016-7522] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
163CVE_STATUS[CVE-2016-7523] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
164CVE_STATUS[CVE-2016-7524] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
165CVE_STATUS[CVE-2016-7525] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
166CVE_STATUS[CVE-2016-7526] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
167CVE_STATUS[CVE-2016-7527] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
168CVE_STATUS[CVE-2016-7528] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
169CVE_STATUS[CVE-2016-7529] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
170CVE_STATUS[CVE-2016-7530] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
171CVE_STATUS[CVE-2016-7531] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-0"
172CVE_STATUS[CVE-2016-7532] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
173CVE_STATUS[CVE-2016-7533] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
174CVE_STATUS[CVE-2016-7534] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
175CVE_STATUS[CVE-2016-7535] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
176CVE_STATUS[CVE-2016-7536] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
177CVE_STATUS[CVE-2016-7537] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
178CVE_STATUS[CVE-2016-7538] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
179CVE_STATUS[CVE-2017-5506] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
180CVE_STATUS[CVE-2017-5509] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
181CVE_STATUS[CVE-2017-5510] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-4"
182CVE_STATUS[CVE-2017-5511] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.4-3"
183CVE_STATUS[CVE-2023-5341] = "fixed-version: this is fixed in 7.1.1-19"
diff --git a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1.bb b/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1.bb
deleted file mode 100644
index 61dc1b795e..0000000000
--- a/meta-oe/recipes-support/imagemagick/imagemagick_7.1.1.bb
+++ /dev/null
@@ -1,121 +0,0 @@
1SUMMARY = "ImageMagick is an image conversion toolkit"
2SECTION = "console/utils"
3HOMEPAGE = "https://www.imagemagick.org/"
4DESCRIPTION = "ImageMagick is a collection of tools for displaying, converting, and \
5editing raster and vector image files. It can read and write over 200 image file formats."
6LICENSE = "ImageMagick"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2f9de66264141265b203cde9902819ea \
8 file://NOTICE;md5=bcbf1f1897b40ec8df39700cb560e9ed"
9# FIXME: There are many more checked libraries. All should be added or explicitly disabled to get consistent results.
10DEPENDS = "lcms bzip2 jpeg libpng tiff zlib fftw freetype libtool"
11
12BASE_PV := "${PV}"
13PV .= "-26"
14SRC_URI = "git://github.com/ImageMagick/ImageMagick.git;branch=main;protocol=https"
15SRCREV = "570a9a048bb0e3a5c221ca87be9408ae35f711e2"
16
17S = "${WORKDIR}/git"
18
19inherit autotools pkgconfig update-alternatives
20export ac_cv_sys_file_offset_bits="64"
21
22EXTRA_OECONF = "--program-prefix= --program-suffix=.im7 --without-perl --enable-largefile"
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} cxx webp xml"
25PACKAGECONFIG[cxx] = "--with-magick-plus-plus,--without-magick-plus-plus"
26PACKAGECONFIG[graphviz] = "--with-gvc,--without-gvc,graphviz"
27PACKAGECONFIG[jp2] = "--with-jp2,,jasper"
28PACKAGECONFIG[lzma] = "--with-lzma,--without-lzma,xz"
29PACKAGECONFIG[openjpeg] = "--with-openjp2,--without-openjp2,openjpeg"
30PACKAGECONFIG[pango] = "--with-pango,--without-pango,pango cairo"
31PACKAGECONFIG[rsvg] = "--with-rsvg,--without-rsvg,librsvg"
32PACKAGECONFIG[tcmalloc] = "--with-tcmalloc=yes,--with-tcmalloc=no,gperftools"
33PACKAGECONFIG[webp] = "--with-webp,--without-webp,libwebp"
34PACKAGECONFIG[wmf] = "--with-wmf,--without-wmf,libwmf"
35PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11 libxext libxt"
36PACKAGECONFIG[xml] = "--with-xml,--without-xml,libxml2"
37
38do_install:append:class-target() {
39 for file in MagickCore-config.im7 MagickWand-config.im7 Magick++-config.im7; do
40 sed -i 's,${STAGING_DIR_TARGET},,g' ${D}${bindir}/"$file"
41 done
42 sed -i 's,${S},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml
43 sed -i 's,${B},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml
44 sed -i 's,${RECIPE_SYSROOT},,g' ${D}${libdir}/ImageMagick-${BASE_PV}/config-Q16HDRI/configure.xml
45 sed -i 's,${HOSTTOOLS_DIR},${bindir},g' ${D}${sysconfdir}/ImageMagick-7/delegates.xml
46}
47
48FILES:${PN} += "${libdir}/ImageMagick-${BASE_PV}/config-Q16* \
49 ${datadir}/ImageMagick-7"
50
51FILES:${PN}-dev += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/*.a"
52
53FILES:${PN}-dbg += "${libdir}/ImageMagick-${BASE_PV}/modules-Q16/*/.debug/*"
54
55BBCLASSEXTEND = "native nativesdk"
56
57ALTERNATIVE_PRIORITY = "100"
58
59ALTERNATIVE:${PN} = "animate compare composite conjure convert display \
60 identify import magick-script mogrify montage stream"
61
62ALTERNATIVE_TARGET[animate] = "${bindir}/animate.im7"
63ALTERNATIVE_TARGET[compare] = "${bindir}/compare.im7"
64ALTERNATIVE_TARGET[composite] = "${bindir}/composite.im7"
65ALTERNATIVE_TARGET[conjure] = "${bindir}/conjure.im7"
66ALTERNATIVE_TARGET[convert] = "${bindir}/convert.im7"
67ALTERNATIVE_TARGET[display] = "${bindir}/display.im7"
68ALTERNATIVE_TARGET[identify] = "${bindir}/identify.im7"
69ALTERNATIVE_TARGET[import] = "${bindir}/import.im7"
70ALTERNATIVE_TARGET[magick-script] = "${bindir}/magick-script.im7"
71ALTERNATIVE_TARGET[mogrify] = "${bindir}/mogrify.im7"
72ALTERNATIVE_TARGET[montage] = "${bindir}/montage.im7"
73ALTERNATIVE_TARGET[stream] = "${bindir}/stream.im7"
74
75ALTERNATIVE:${PN}-doc = "animate.1 compare.1 composite.1 conjure.1 \
76 convert.1 display.1 identify.1 import.1 magick-script.1 mogrify.1 montage.1 stream.1"
77
78ALTERNATIVE_LINK_NAME[animate.1] = "${mandir}/man1/animate.1"
79ALTERNATIVE_TARGET[animate.1] = "${mandir}/man1/animate.im7.1"
80ALTERNATIVE_LINK_NAME[compare.1] = "${mandir}/man1/compare.1"
81ALTERNATIVE_TARGET[compare.1] = "${mandir}/man1/compare.im7.1"
82ALTERNATIVE_LINK_NAME[composite.1] = "${mandir}/man1/composite.1"
83ALTERNATIVE_TARGET[composite.1] = "${mandir}/man1/composite.im7.1"
84ALTERNATIVE_LINK_NAME[conjure.1] = "${mandir}/man1/conjure.1"
85ALTERNATIVE_TARGET[conjure.1] = "${mandir}/man1/conjure.im7.1"
86ALTERNATIVE_LINK_NAME[convert.1] = "${mandir}/man1/convert.1"
87ALTERNATIVE_TARGET[convert.1] = "${mandir}/man1/convert.im7.1"
88ALTERNATIVE_LINK_NAME[display.1] = "${mandir}/man1/display.1"
89ALTERNATIVE_TARGET[display.1] = "${mandir}/man1/display.im7.1"
90ALTERNATIVE_LINK_NAME[identify.1] = "${mandir}/man1/identify.1"
91ALTERNATIVE_TARGET[identify.1] = "${mandir}/man1/identify.im7.1"
92ALTERNATIVE_LINK_NAME[import.1] = "${mandir}/man1/import.1"
93ALTERNATIVE_TARGET[import.1] = "${mandir}/man1/import.im7.1"
94ALTERNATIVE_LINK_NAME[magick-script.1] = "${mandir}/man1/magick-script.1"
95ALTERNATIVE_TARGET[magick-script.1] = "${mandir}/man1/magick-script.im7.1"
96ALTERNATIVE_LINK_NAME[mogrify.1] = "${mandir}/man1/mogrify.1"
97ALTERNATIVE_TARGET[mogrify.1] = "${mandir}/man1/mogrify.im7.1"
98ALTERNATIVE_LINK_NAME[montage.1] = "${mandir}/man1/montage.1"
99ALTERNATIVE_TARGET[montage.1] = "${mandir}/man1/montage.im7.1"
100ALTERNATIVE_LINK_NAME[stream.1] = "${mandir}/man1/stream.1"
101ALTERNATIVE_TARGET[stream.1] = "${mandir}/man1/stream.im7.1"
102
103CVE_STATUS[CVE-2014-9804] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
104CVE_STATUS[CVE-2014-9805] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
105CVE_STATUS[CVE-2014-9806] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
106CVE_STATUS[CVE-2014-9807] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
107CVE_STATUS[CVE-2014-9808] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
108CVE_STATUS[CVE-2014-9809] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
109CVE_STATUS[CVE-2014-9810] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
110CVE_STATUS[CVE-2014-9811] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
111CVE_STATUS[CVE-2014-9812] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
112CVE_STATUS[CVE-2014-9813] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
113CVE_STATUS[CVE-2014-9814] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
114CVE_STATUS[CVE-2014-9815] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
115CVE_STATUS[CVE-2014-9816] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
116CVE_STATUS[CVE-2014-9817] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
117CVE_STATUS[CVE-2014-9818] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
118CVE_STATUS[CVE-2014-9819] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
119CVE_STATUS[CVE-2014-9820] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
120CVE_STATUS[CVE-2014-9821] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 6.9.4-0"
121CVE_STATUS[CVE-2016-7531] = "cpe-incorrect: The current version (7.1.1) is not affected by the CVE which affects versions at least earlier than 7.0.1-0"
diff --git a/meta-oe/recipes-support/imapfilter/imapfilter_2.8.2.bb b/meta-oe/recipes-support/imapfilter/imapfilter_2.8.3.bb
index 422d96359c..f4905e3c0b 100644
--- a/meta-oe/recipes-support/imapfilter/imapfilter_2.8.2.bb
+++ b/meta-oe/recipes-support/imapfilter/imapfilter_2.8.3.bb
@@ -3,13 +3,12 @@ LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=f8d2fc4954306888fd0e4b27bef83525" 3LIC_FILES_CHKSUM = "file://LICENSE;md5=f8d2fc4954306888fd0e4b27bef83525"
4 4
5# v2.7.6 5# v2.7.6
6SRCREV = "9e6661278572009a92a8e125c9b339232a9735a1" 6SRCREV = "72f7fa621357299bb6c8f5d29b4efbafcbd34bf7"
7SRC_URI = "git://github.com/lefcha/imapfilter;protocol=https;branch=master \ 7SRC_URI = "git://github.com/lefcha/imapfilter;protocol=https;branch=master;tag=v${PV} \
8 file://ldflags.patch \ 8 file://ldflags.patch \
9" 9"
10S = "${WORKDIR}/git"
11 10
12DEPENDS= "openssl lua libpcre2" 11DEPENDS = "openssl lua libpcre2"
13 12
14EXTRA_OEMAKE:append = " PREFIX=${prefix}" 13EXTRA_OEMAKE:append = " PREFIX=${prefix}"
15 14
diff --git a/meta-oe/recipes-support/imx-cst/imx-cst/0001-fix-missing-makefile-rule-dependency.patch b/meta-oe/recipes-support/imx-cst/imx-cst/0001-fix-missing-makefile-rule-dependency.patch
new file mode 100644
index 0000000000..ce7626ab31
--- /dev/null
+++ b/meta-oe/recipes-support/imx-cst/imx-cst/0001-fix-missing-makefile-rule-dependency.patch
@@ -0,0 +1,45 @@
1From 73509cb22ffab827dc3e3ccda2781683b8e8296d Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?K=C3=A9l=C3=A9fa=20San=C3=A9?= <kelefa.sane@smile.fr>
3Date: Mon, 2 Jun 2025 11:07:08 +0200
4Subject: [PATCH] fix missing makefile rule dependency
5
6During, the package build with an high CPU load we can face
7a build failed issue, caused by the header file cst_parser.h not present
8when compiling cst_lexer.c, which depend on cst_parser.h:
9| x86_64-poky-linux-gcc ... -c cst_lexer.c -o cst_lexer.d
10| ../../code/front_end/src/cst_lexer.l:21:10: fatal error:
11|cst_parser.h: No such file or directory
12| 21 | #include "cst_parser.h"
13| | ^~~~~~~~~~~~~~
14| compilation terminated.
15
16The file cst_parser.h is generated during compilation
17by a makefile rule which also generate cst_parser.c
18
19To fix the issue, makefile rule needed to be update
20in order for compilation of cst_lexer.c to be done,
21always after the generation of cst_parser.h and .c
22
23Upstream-Status: Submitted [https://community.nxp.com/t5/Other-NXP-Products/Package-imx-code-signing-tool-3-4-0-dfsg-2-build-issue/m-p/2108575#M28853]
24
25Signed-off-by: Kelefa Sane <kelefa.sane@smile.fr>
26---
27 code/build/make/rules.mk | 5 +++++
28 1 file changed, 5 insertions(+)
29
30diff --git a/code/build/make/rules.mk b/code/build/make/rules.mk
31index 7720e4b..239108b 100644
32--- a/code/build/make/rules.mk
33+++ b/code/build/make/rules.mk
34@@ -35,6 +35,11 @@ LFLAGS := -t
35 @echo "Link $@"
36 $(LD) $^ $(LDFLAGS) -o $@
37
38+# Compilation of cst_lexer.c require cst_parser.h
39+# (cst_lexer.c include cst_parser.h) which is generated
40+# by the same makefile genrating cst_parser.c
41+cst_lexer.o: cst_parser.c
42+
43 %.o: %.c
44 @echo "Compile $@"
45 # generate dependency file
diff --git a/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb
new file mode 100644
index 0000000000..3b57f4ed81
--- /dev/null
+++ b/meta-oe/recipes-support/imx-cst/imx-cst_3.4.0.bb
@@ -0,0 +1,40 @@
1SUMMARY = "i.MX code signing tool"
2DESCRIPTION = "Code signing support that integrates the HABv4 and AHAB library for i.MX processors"
3LICENSE = "BSD-3-Clause & Apache-2.0"
4
5LIC_FILES_CHKSUM = "\
6 file://LICENSE.bsd3;md5=14aba05f9fa6c25527297c8aac95fcf6 \
7 file://LICENSE.hidapi;md5=e0ea014f523f64f0adb13409055ee59e \
8 file://LICENSE.openssl;md5=3441526b1df5cc01d812c7dfc218cea6 \
9"
10
11DEPENDS = "byacc-native flex-native openssl"
12
13# debian: 3.4.0+dfsg-2
14DEBIAN_PGK_NAME = "imx-code-signing-tool"
15DEBIAN_PGK_VERSION = "${PV}+dfsg"
16
17SRC_URI = "\
18 ${DEBIAN_MIRROR}/main/i/${DEBIAN_PGK_NAME}/${DEBIAN_PGK_NAME}_${DEBIAN_PGK_VERSION}.orig.tar.xz \
19 file://0001-fix-missing-makefile-rule-dependency.patch \
20"
21
22SRC_URI[sha256sum] = "52ee3cee3bc500a42095f73c4584e223b4b9d2dfc1cd3e5df965c5952eba8c8d"
23
24S = "${UNPACKDIR}/${DEBIAN_PGK_NAME}-${DEBIAN_PGK_VERSION}"
25
26EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" AR="${AR}" OBJCOPY="${OBJCOPY}"'
27
28do_compile() {
29 oe_runmake -C code/obj.linux64 OSTYPE=linux64 ENCRYPTION=yes COPTIONS="${CFLAGS} ${CPPFLAGS}" LDOPTIONS="${LDFLAGS}"
30 oe_runmake -C add-ons/hab_csf_parser COPTS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}"
31}
32
33do_install () {
34 install -d ${D}${bindir}
35 install -m 755 ${S}/code/obj.linux64/cst ${D}${bindir}/
36 install -m 755 ${S}/code/obj.linux64/srktool ${D}${bindir}
37 install -m 755 ${S}/add-ons/hab_csf_parser/csf_parser ${D}${bindir}
38}
39
40BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/inih/libinih_58.bb b/meta-oe/recipes-support/inih/libinih_58.bb
index 2bcf2b4bd4..0ebeec6851 100644
--- a/meta-oe/recipes-support/inih/libinih_58.bb
+++ b/meta-oe/recipes-support/inih/libinih_58.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7a95d2af90376e85a05318794e6f202"
8 8
9SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https;branch=master" 9SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https;branch=master"
10 10
11S = "${WORKDIR}/git"
12SRCREV = "5cc5e2c24642513aaa5b19126aad42d0e4e0923e" 11SRCREV = "5cc5e2c24642513aaa5b19126aad42d0e4e0923e"
13 12
14inherit meson pkgconfig 13inherit meson pkgconfig
diff --git a/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb b/meta-oe/recipes-support/iniparser/iniparser_4.2.6.bb
index 8c6c60a79a..9ab713ee92 100644
--- a/meta-oe/recipes-support/iniparser/iniparser_4.2.2.bb
+++ b/meta-oe/recipes-support/iniparser/iniparser_4.2.6.bb
@@ -4,10 +4,9 @@ HOMEPAGE = "https://gitlab.com/iniparser/iniparser"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=8474d3b745f77e203f1fc82fb0bb7678" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=8474d3b745f77e203f1fc82fb0bb7678"
6SRCBRANCH = "main" 6SRCBRANCH = "main"
7SRCREV = "762715ca6cdba9dcf31a5af9297b444f3b5b8c00" 7SRCREV = "4bef811283e0ec1658c60e09950bd5a1ddc92e4b"
8 8
9SRC_URI = "git://gitlab.com/iniparser/iniparser.git;protocol=https;branch=${SRCBRANCH}" 9SRC_URI = "git://gitlab.com/iniparser/iniparser.git;protocol=https;branch=${SRCBRANCH}"
10S = "${WORKDIR}/git"
11 10
12inherit cmake 11inherit cmake
13 12
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-configure-Add-AC_SYS_LARGEFILE-autoconf-macro.patch b/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-configure-Add-AC_SYS_LARGEFILE-autoconf-macro.patch
deleted file mode 100644
index 3b195aae4f..0000000000
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-configure-Add-AC_SYS_LARGEFILE-autoconf-macro.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 6a57ff26d695aaad096b798879a5dbc5af2cedf5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 20 Dec 2022 10:46:50 -0800
4Subject: [PATCH] configure: Add AC_SYS_LARGEFILE autoconf macro
5
6This will define _FILE_OFFSET_BITS to be 64 if off_t is 64bit
7and we do not need to define lfs64 functions
8
9Upstream-Status: Submitted [https://github.com/inotify-tools/inotify-tools/pull/174]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 configure.ac | 3 +++
13 1 file changed, 3 insertions(+)
14
15diff --git a/configure.ac b/configure.ac
16index bddf14d..b89a266 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -17,6 +17,9 @@ AC_PROG_CC
20 AM_INIT_AUTOMAKE
21 LT_INIT
22
23+# Add option for largefile support
24+AC_SYS_LARGEFILE
25+
26 AC_PATH_PROG(DOXYGEN, doxygen, NO_DOXYGEN)
27
28 AC_ARG_ENABLE(doxygen,
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-libinotifytools-Bridge-differences-between-musl-glib.patch b/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-libinotifytools-Bridge-differences-between-musl-glib.patch
deleted file mode 100644
index 931244830c..0000000000
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools/0002-libinotifytools-Bridge-differences-between-musl-glib.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 6c3ce01a281a9aa661494d24a862219fc9e2b460 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 Dec 2021 14:57:55 -0800
4Subject: [PATCH 2/2] libinotifytools: Bridge differences between
5 musl/glibc/kernel fnotify.h
6
7System detects to use sys/fnotify.h and then assumes glibc's definitions
8but musl has definitions of its own. perhaps portable thing would be to
9use linux/fnotify.h interface directly on linux irrespective of libc
10
11See the differences discussion here [1]
12
13[1] https://inbox.vuxu.org/musl/20191112220151.GC27331@x230/T/#ma8700992467200c8792e0fa8508eae656b81aeba
14
15Upstream-Status: Submitted [https://github.com/inotify-tools/inotify-tools/pull/154]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 libinotifytools/src/inotifytools.c | 6 ++++++
19 1 file changed, 6 insertions(+)
20
21diff --git a/libinotifytools/src/inotifytools.c b/libinotifytools/src/inotifytools.c
22index 902eac2..2b96395 100644
23--- a/libinotifytools/src/inotifytools.c
24+++ b/libinotifytools/src/inotifytools.c
25@@ -55,6 +55,12 @@ struct fanotify_event_fid {
26 struct fanotify_event_info_fid info;
27 struct file_handle handle;
28 };
29+
30+#ifndef __GLIBC__
31+#define val __val
32+#define __kernel_fsid_t fsid_t
33+#endif
34+
35 #endif
36
37 /**
38--
392.34.1
40
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools/0003-replace-stat64-lstat64-with-stat-lstat.patch b/meta-oe/recipes-support/inotify-tools/inotify-tools/0003-replace-stat64-lstat64-with-stat-lstat.patch
deleted file mode 100644
index c0784ecc73..0000000000
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools/0003-replace-stat64-lstat64-with-stat-lstat.patch
+++ /dev/null
@@ -1,119 +0,0 @@
1From c6093ad63b92f5d25e6826d1c49dc7cee86d3747 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 20 Dec 2022 10:48:10 -0800
4Subject: [PATCH] replace stat64/lstat64 with stat/lstat
5
6lfs64 functions are not needed when off_t is 64-bit
7Additionally this fixes build with musl which does not
8export these functions without defining _LARGEFILE64_SOURCE
9
10Upstream-Status: Submitted [https://github.com/inotify-tools/inotify-tools/pull/174]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 libinotifytools/src/inotifytools.c | 8 ++++----
14 libinotifytools/src/inotifytools/inotify-nosys.h | 5 -----
15 libinotifytools/src/inotifytools/inotifytools.h | 5 -----
16 src/common.c | 4 ++--
17 src/common.h | 6 +-----
18 5 files changed, 7 insertions(+), 21 deletions(-)
19
20diff --git a/libinotifytools/src/inotifytools.c b/libinotifytools/src/inotifytools.c
21index 50f6135..3e17ac6 100644
22--- a/libinotifytools/src/inotifytools.c
23+++ b/libinotifytools/src/inotifytools.c
24@@ -1750,14 +1750,14 @@ int inotifytools_watch_recursively_with_exclude(char const* path,
25
26 static struct dirent * ent;
27 char * next_file;
28- static struct stat64 my_stat;
29+ static struct stat my_stat;
30 ent = readdir( dir );
31 // Watch each directory within this directory
32 while ( ent ) {
33 if ( (0 != strcmp( ent->d_name, "." )) &&
34 (0 != strcmp( ent->d_name, ".." )) ) {
35 nasprintf(&next_file,"%s%s", my_path, ent->d_name);
36- if ( -1 == lstat64( next_file, &my_stat ) ) {
37+ if ( -1 == lstat( next_file, &my_stat ) ) {
38 error = errno;
39 free( next_file );
40 if ( errno != EACCES ) {
41@@ -1840,9 +1840,9 @@ int inotifytools_error() {
42 * @internal
43 */
44 static int isdir( char const * path ) {
45- static struct stat64 my_stat;
46+ static struct stat my_stat;
47
48- if ( -1 == lstat64( path, &my_stat ) ) {
49+ if ( -1 == lstat( path, &my_stat ) ) {
50 if (errno == ENOENT) return 0;
51 fprintf(stderr, "Stat failed on %s: %s\n", path, strerror(errno));
52 return 0;
53diff --git a/libinotifytools/src/inotifytools/inotify-nosys.h b/libinotifytools/src/inotifytools/inotify-nosys.h
54index 01aa45e..97166d4 100644
55--- a/libinotifytools/src/inotifytools/inotify-nosys.h
56+++ b/libinotifytools/src/inotifytools/inotify-nosys.h
57@@ -13,11 +13,6 @@
58 #include <sys/syscall.h>
59 #include <unistd.h>
60
61-#ifdef __FreeBSD__
62-#define stat64 stat
63-#define lstat64 lstat
64-#endif
65-
66 /*
67 * struct inotify_event - structure read from the inotify device for each event
68 *
69diff --git a/libinotifytools/src/inotifytools/inotifytools.h b/libinotifytools/src/inotifytools/inotifytools.h
70index 49936ae..2ec4358 100644
71--- a/libinotifytools/src/inotifytools/inotifytools.h
72+++ b/libinotifytools/src/inotifytools/inotifytools.h
73@@ -1,11 +1,6 @@
74 #ifndef _inotifytools_H
75 #define _inotifytools_H
76
77-#ifdef __FreeBSD__
78-#define stat64 stat
79-#define lstat64 lstat
80-#endif
81-
82 #ifdef __cplusplus
83 extern "C"
84 {
85diff --git a/src/common.c b/src/common.c
86index 5a6fda1..885286e 100644
87--- a/src/common.c
88+++ b/src/common.c
89@@ -45,9 +45,9 @@ void print_event_descriptions() {
90 }
91
92 int isdir(char const *path) {
93- static struct stat64 my_stat;
94+ static struct stat my_stat;
95
96- if (-1 == lstat64(path, &my_stat)) {
97+ if (-1 == lstat(path, &my_stat)) {
98 if (errno == ENOENT)
99 return 0;
100 fprintf(stderr, "Stat failed on %s: %s\n", path, strerror(errno));
101diff --git a/src/common.h b/src/common.h
102index 12d3dde..7f1e34a 100644
103--- a/src/common.h
104+++ b/src/common.h
105@@ -1,13 +1,9 @@
106 #ifndef COMMON_H
107 #define COMMON_H
108
109-#ifdef __FreeBSD__
110-#define stat64 stat
111-#define lstat64 lstat
112-#ifdef ENABLE_FANOTIFY
113+#if defined(__FreeBSD__) && defined(ENABLE_FANOTIFY)
114 #error "FreeBSD does not support fanotify"
115 #endif
116-#endif
117
118 #include <stdbool.h>
119
diff --git a/meta-oe/recipes-support/inotify-tools/inotify-tools_3.22.6.0.bb b/meta-oe/recipes-support/inotify-tools/inotify-tools_4.23.9.0.bb
index 8a0ae17ad7..cb77dc81b0 100644
--- a/meta-oe/recipes-support/inotify-tools/inotify-tools_3.22.6.0.bb
+++ b/meta-oe/recipes-support/inotify-tools/inotify-tools_4.23.9.0.bb
@@ -4,15 +4,11 @@ SECTION = "console/devel"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6" 5LIC_FILES_CHKSUM = "file://COPYING;md5=ac6c26e52aea428ee7f56dc2c56424c6"
6 6
7SRCREV = "c8bdbc0a2ed822fc7c67c5c3e102d89fe27fb2d0" 7SRCREV = "5c2ab772338bcbe516306bf8cf1059ddf2fa6bb7"
8 8
9SRC_URI = "git://github.com/${BPN}/${BPN};branch=master;protocol=https \ 9SRC_URI = "git://github.com/${BPN}/${BPN};branch=master;protocol=https \
10 file://0002-libinotifytools-Bridge-differences-between-musl-glib.patch \
11 file://0002-configure-Add-AC_SYS_LARGEFILE-autoconf-macro.patch \
12 file://0003-replace-stat64-lstat64-with-stat-lstat.patch \
13 " 10 "
14 11
15S = "${WORKDIR}/git"
16 12
17inherit autotools 13inherit autotools
18 14
diff --git a/meta-oe/recipes-support/joe/joe_4.6.bb b/meta-oe/recipes-support/joe/joe_4.6.bb
index ed0bf337b5..510d8f8498 100644
--- a/meta-oe/recipes-support/joe/joe_4.6.bb
+++ b/meta-oe/recipes-support/joe/joe_4.6.bb
@@ -11,5 +11,4 @@ PACKAGECONFIG[curses] = "--enable-curses,--disable-curses,ncurses,ncurses-termin
11 11
12inherit autotools-brokensep mime-xdg 12inherit autotools-brokensep mime-xdg
13 13
14SRC_URI[md5sum] = "9017484e6116830d846678b625ea5c43"
15SRC_URI[sha256sum] = "495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de" 14SRC_URI[sha256sum] = "495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de"
diff --git a/meta-oe/recipes-support/jsoncons/jsoncons_1.3.2.bb b/meta-oe/recipes-support/jsoncons/jsoncons_1.3.2.bb
new file mode 100644
index 0000000000..314f67928a
--- /dev/null
+++ b/meta-oe/recipes-support/jsoncons/jsoncons_1.3.2.bb
@@ -0,0 +1,14 @@
1DESCRIPTION = "A C++, header-only library for constructing JSON and JSON-like data formats."
2HOMEPAGE = "https://github.com/danielaparker/jsoncons"
3
4LICENSE = "BSL-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=6ee7f7ed2001e4cde4679fdb8926f820"
6
7SRC_URI = "git://github.com/danielaparker/jsoncons.git;protocol=https;branch=master;tag=v${PV}"
8SRCREV = "64b9da1e9f15eeff4ec9d6bc856538db542118f2"
9
10
11inherit cmake
12
13PACKAGECONFIG ??= ""
14PACKAGECONFIG[tests] = "-DJSONCONS_BUILD_TESTS=ON,-DJSONCONS_BUILD_TESTS=OFF"
diff --git a/meta-oe/recipes-support/lcms/lcms_2.16.bb b/meta-oe/recipes-support/lcms/lcms_2.16.bb
index 8135f83a05..87b0979200 100644
--- a/meta-oe/recipes-support/lcms/lcms_2.16.bb
+++ b/meta-oe/recipes-support/lcms/lcms_2.16.bb
@@ -10,7 +10,7 @@ DEPENDS = "tiff"
10 10
11BBCLASSEXTEND = "native nativesdk" 11BBCLASSEXTEND = "native nativesdk"
12 12
13S = "${WORKDIR}/lcms2-${PV}" 13S = "${UNPACKDIR}/lcms2-${PV}"
14 14
15inherit autotools 15inherit autotools
16 16
diff --git a/meta-oe/recipes-support/lcov/lcov_1.16.bb b/meta-oe/recipes-support/lcov/lcov_1.16.bb
index 22d68814ee..a889b3fa82 100755
--- a/meta-oe/recipes-support/lcov/lcov_1.16.bb
+++ b/meta-oe/recipes-support/lcov/lcov_1.16.bb
@@ -9,13 +9,13 @@ LICENSE = "GPL-2.0-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
10 10
11RDEPENDS:${PN} += " \ 11RDEPENDS:${PN} += " \
12 libjson-perl \
12 perl \ 13 perl \
13 perl-module-filehandle \ 14 perl-module-compress-zlib \
14 perl-module-getopt-std \
15 perl-module-digest-md5 \
16 perl-module-digest-sha \
17 perl-module-constant \ 15 perl-module-constant \
18 perl-module-cwd \ 16 perl-module-cwd \
17 perl-module-digest-md5 \
18 perl-module-digest-sha \
19 perl-module-errno \ 19 perl-module-errno \
20 perl-module-file-basename \ 20 perl-module-file-basename \
21 perl-module-file-copy \ 21 perl-module-file-copy \
@@ -25,12 +25,16 @@ RDEPENDS:${PN} += " \
25 perl-module-file-spec-functions \ 25 perl-module-file-spec-functions \
26 perl-module-file-spec-unix \ 26 perl-module-file-spec-unix \
27 perl-module-file-temp \ 27 perl-module-file-temp \
28 perl-module-filehandle \
28 perl-module-getopt-long \ 29 perl-module-getopt-long \
30 perl-module-getopt-std \
29 perl-module-list-util \ 31 perl-module-list-util \
32 perl-module-load \
33 perl-module-metadata \
30 perl-module-mro \ 34 perl-module-mro \
31 perl-module-overload \ 35 perl-module-overload \
32 perl-module-overloading \
33 perl-module-overload-numbers \ 36 perl-module-overload-numbers \
37 perl-module-overloading \
34 perl-module-parent \ 38 perl-module-parent \
35 perl-module-pod-usage \ 39 perl-module-pod-usage \
36 perl-module-posix \ 40 perl-module-posix \
@@ -47,9 +51,11 @@ RDEPENDS:${PN}:append:class-target = " \
47 gcov-symlinks \ 51 gcov-symlinks \
48" 52"
49SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz" 53SRC_URI = "https://github.com/linux-test-project/lcov/releases/download/v${PV}/lcov-${PV}.tar.gz"
50SRC_URI[md5sum] = "bfee0cef50d7b7bd1df03bfadf68dcef"
51SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b" 54SRC_URI[sha256sum] = "987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b"
52 55
56UPSTREAM_CHECK_URI = "https://github.com/linux-test-project/lcov/releases"
57UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
58
53do_install() { 59do_install() {
54 oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir} LCOV_PERL_PATH="/usr/bin/env perl" 60 oe_runmake install PREFIX=${D}${prefix} CFG_DIR=${D}${sysconfdir} LCOV_PERL_PATH="/usr/bin/env perl"
55} 61}
diff --git a/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
new file mode 100644
index 0000000000..344bf119b9
--- /dev/null
+++ b/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
@@ -0,0 +1,29 @@
1SUMMARY = "LGI is gobject-introspection based dynamic Lua binding to GObject based libraries."
2HOMEPAGE = "https://https://github.com/pavouk/lgi"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=a77b7838f84aa753d37f88fd9c9ccf7d"
5
6SRC_URI = "git://github.com/pavouk/lgi.git;protocol=https;branch=master"
7
8DEPENDS = " \
9 luajit \
10 luajit-native \
11 cairo \
12 gobject-introspection \
13 gobject-introspection-native \
14"
15
16SRCREV = "d7666f77e7ee33907c84f5efdef32aef2e1cc196"
17SRCPV = "${PV}+${SRCREV}"
18
19inherit meson pkgconfig
20
21EXTRA_OEMESON += "--buildtype release -Dtests=false"
22
23FILES:${PN} = "${libdir} ${datadir}"
24
25# ppc64/riscv64/riscv32 is not supported on luajit
26COMPATIBLE_HOST:riscv32 = "null"
27COMPATIBLE_HOST:riscv64 = "null"
28COMPATIBLE_HOST:powerpc64 = "null"
29COMPATIBLE_HOST:powerpc64le = "null"
diff --git a/meta-oe/recipes-support/libatasmart/libatasmart_0.19.bb b/meta-oe/recipes-support/libatasmart/libatasmart_0.19.bb
index f747ecbf72..89b2dff0ba 100644
--- a/meta-oe/recipes-support/libatasmart/libatasmart_0.19.bb
+++ b/meta-oe/recipes-support/libatasmart/libatasmart_0.19.bb
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
5DEPENDS = "udev" 5DEPENDS = "udev"
6 6
7SRCREV = "de6258940960443038b4c1651dfda3620075e870" 7SRCREV = "de6258940960443038b4c1651dfda3620075e870"
8SRC_URI = "git://git.0pointer.de/libatasmart.git;branch=master \ 8SRC_URI = "git://git.0pointer.net/libatasmart.git;protocol=http;branch=master \
9 file://0001-Makefile.am-add-CFLAGS-and-LDFLAGS-definiton.patch \ 9 file://0001-Makefile.am-add-CFLAGS-and-LDFLAGS-definiton.patch \
10" 10"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit autotools lib_package pkgconfig 13inherit autotools lib_package pkgconfig
15 14
diff --git a/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb b/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb
index e0683b177b..4a1052e75b 100644
--- a/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb
+++ b/meta-oe/recipes-support/libb64/libb64_2.0.0.1.bb
@@ -16,7 +16,6 @@ SRC_URI = "git://github.com/libb64/libb64;protocol=https;branch=master \
16 file://0001-examples-Use-proper-function-prototype-for-main.patch \ 16 file://0001-examples-Use-proper-function-prototype-for-main.patch \
17 " 17 "
18 18
19S = "${WORKDIR}/git"
20 19
21CFLAGS += "-fPIC" 20CFLAGS += "-fPIC"
22 21
diff --git a/meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb b/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb
index daa01bfc3d..ef2a6c76fb 100644
--- a/meta-oe/recipes-support/libbytesize/libbytesize_2.10.bb
+++ b/meta-oe/recipes-support/libbytesize/libbytesize_2.11.bb
@@ -6,9 +6,8 @@ SECTION = "devel/lib"
6 6
7LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=c07cb499d259452f324bb90c3067d85c"
8 8
9S = "${WORKDIR}/git"
10 9
11SRCREV = "6e83cc6f6dff4f126fc79284e0c3c1c50123380d" 10SRCREV = "9da72b2732508b0ba0ceed27f5e50bc276ef31f2"
12SRC_URI = "git://github.com/storaged-project/libbytesize;branch=main;protocol=https" 11SRC_URI = "git://github.com/storaged-project/libbytesize;branch=main;protocol=https"
13 12
14inherit gettext autotools pkgconfig python3native 13inherit gettext autotools pkgconfig python3native
diff --git a/meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch b/meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch
new file mode 100644
index 0000000000..b8ad041850
--- /dev/null
+++ b/meta-oe/recipes-support/libcanberra/files/0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch
@@ -0,0 +1,42 @@
1From 86488a7fc209ac08dd92c9d50a77e3330e7aedd9 Mon Sep 17 00:00:00 2001
2From: Patrick Zacharias <1475802+Fighter19@users.noreply.github.com>
3Date: Thu, 7 Nov 2024 14:03:29 +0100
4Subject: [PATCH] Determine audio buffer size for a time of 500ms
5
6On some hardware like the SGTL5000, not specifying a buffer size
7results to EINVAL being returned.
8
9This code sets the buffer time to 500ms and the period time to a fourth of that,
10or whatever is nearest to that.
11
12Upstream-Status: Pending
13---
14 src/alsa.c | 15 +++++++++++++++
15 1 file changed, 15 insertions(+)
16
17diff --git a/src/alsa.c b/src/alsa.c
18index bebcc4a..ac26578 100644
19--- a/src/alsa.c
20+++ b/src/alsa.c
21@@ -258,6 +258,21 @@ static int open_alsa(ca_context *c, struct outstanding *out) {
22 if ((ret = snd_pcm_hw_params_set_channels(out->pcm, hwparams, ca_sound_file_get_nchannels(out->file))) < 0)
23 goto finish;
24
25+ unsigned int buffer_time = 0;
26+ if ((ret = snd_pcm_hw_params_get_buffer_time_max(hwparams, &buffer_time, 0)) < 0)
27+ goto finish;
28+
29+ // Cap the buffer time to 500ms
30+ if (buffer_time > 500000)
31+ buffer_time = 500000;
32+
33+ unsigned int period_time = buffer_time / 4;
34+ if ((ret = snd_pcm_hw_params_set_period_time_near(out->pcm, hwparams, &period_time, 0)) < 0)
35+ goto finish;
36+
37+ if ((ret = snd_pcm_hw_params_set_buffer_time_near(out->pcm, hwparams, &buffer_time, 0)) < 0)
38+ goto finish;
39+
40 if ((ret = snd_pcm_hw_params(out->pcm, hwparams)) < 0)
41 goto finish;
42
diff --git a/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
index 95c9479588..7eac53ae90 100644
--- a/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
+++ b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
@@ -13,8 +13,8 @@ SRC_URI = " \
13 file://0001-build-gtk-and-gtk3-version-for-canberra_gtk_play.patch \ 13 file://0001-build-gtk-and-gtk3-version-for-canberra_gtk_play.patch \
14 file://0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch \ 14 file://0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch \
15 file://0001-remove-dropped-templates.patch \ 15 file://0001-remove-dropped-templates.patch \
16 file://0001-Determine-audio-buffer-size-for-a-time-of-500ms.patch \
16" 17"
17SRC_URI[md5sum] = "34cb7e4430afaf6f447c4ebdb9b42072"
18SRC_URI[sha256sum] = "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72" 18SRC_URI[sha256sum] = "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
19 19
20EXTRA_OECONF = "\ 20EXTRA_OECONF = "\
diff --git a/meta-oe/recipes-support/libcereal/files/0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch b/meta-oe/recipes-support/libcereal/files/0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch
new file mode 100644
index 0000000000..86ee6902f2
--- /dev/null
+++ b/meta-oe/recipes-support/libcereal/files/0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch
@@ -0,0 +1,41 @@
1From 395cd70a8c28a4ea408a227d745fe20ed8af9105 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 10 Sep 2024 18:11:40 -0700
4Subject: [PATCH] Fix instances of
5 -Wmissing-template-arg-list-after-template-kw.
6
7Clang has a new warning that requires a template argument list after using
8the template keyword. Remove uses of the template keyword when we're not
9specifying types.
10
11See https://github.com/llvm/llvm-project/issues/94194 for the upstream
12clang changes
13
14Upstream-Status: Submitted [https://github.com/USCiLab/cereal/pull/835]
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 include/cereal/types/tuple.hpp | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/include/cereal/types/tuple.hpp b/include/cereal/types/tuple.hpp
21index 80c68075..5c79eca9 100644
22--- a/include/cereal/types/tuple.hpp
23+++ b/include/cereal/types/tuple.hpp
24@@ -95,7 +95,7 @@ namespace cereal
25 template <class Archive, class ... Types> inline
26 static void apply( Archive & ar, std::tuple<Types...> & tuple )
27 {
28- serialize<Height - 1>::template apply( ar, tuple );
29+ serialize<Height - 1>::apply( ar, tuple );
30 ar( CEREAL_NVP_(tuple_element_name<Height - 1>::c_str(),
31 std::get<Height - 1>( tuple )) );
32 }
33@@ -116,7 +116,7 @@ namespace cereal
34 template <class Archive, class ... Types> inline
35 void CEREAL_SERIALIZE_FUNCTION_NAME( Archive & ar, std::tuple<Types...> & tuple )
36 {
37- tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple );
38+ tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::apply( ar, tuple );
39 }
40 } // namespace cereal
41
diff --git a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb
index 6ad20d6370..7d4a352a31 100644
--- a/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb
+++ b/meta-oe/recipes-support/libcereal/libcereal_1.3.2.bb
@@ -22,10 +22,10 @@ SRC_URI = "git://github.com/USCiLab/cereal.git;branch=master;protocol=https \
22 file://0001-sandbox-Do-not-use-int8_t-in-std-uniform_int_distrib.patch \ 22 file://0001-sandbox-Do-not-use-int8_t-in-std-uniform_int_distrib.patch \
23 file://0001-cmake-Use-idirafter-instead-of-isystem.patch \ 23 file://0001-cmake-Use-idirafter-instead-of-isystem.patch \
24 file://0001-doctest-Do-not-use-unnamed-class.patch \ 24 file://0001-doctest-Do-not-use-unnamed-class.patch \
25 file://0001-Fix-instances-of-Wmissing-template-arg-list-after-te.patch \
25 file://run-ptest \ 26 file://run-ptest \
26" 27"
27 28
28S = "${WORKDIR}/git"
29 29
30inherit cmake pkgconfig ptest 30inherit cmake pkgconfig ptest
31 31
diff --git a/meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch b/meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch
new file mode 100644
index 0000000000..aa9fab86e6
--- /dev/null
+++ b/meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch
@@ -0,0 +1,48 @@
1From b684f4cc25821b6e86a58576f864e4b12dfdfecc Mon Sep 17 00:00:00 2001
2From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
3Date: Sat, 5 Jun 2021 22:57:51 +0200
4Subject: [PATCH] only apply search path logic to relative pathnames
5
6Adding any directory to the search path via cfg_add_searchpath breaks
7lookup of absolute paths. So change the logic in cfg_searchpath() to
8ignore the search path when the given filename is absolute, and merely
9check that for existence.
10
11This is technically an ABI change, but the current behaviour is quite
12unusual and unexpected.
13
14Upstream-Status: Backport [https://github.com/libconfuse/libconfuse/pull/155]
15
16Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
17---
18 src/confuse.c | 8 ++++++++
19 1 file changed, 8 insertions(+)
20
21diff --git a/src/confuse.c b/src/confuse.c
22index 2ea0254..19b56e3 100644
23--- a/src/confuse.c
24+++ b/src/confuse.c
25@@ -1746,12 +1746,20 @@ DLLIMPORT char *cfg_searchpath(cfg_searchpath_t *p, const char *file)
26 return NULL;
27 }
28
29+ if (file[0] == '/') {
30+ fullpath = strdup(file);
31+ if (!fullpath)
32+ return NULL;
33+ goto check;
34+ }
35+
36 if ((fullpath = cfg_searchpath(p->next, file)) != NULL)
37 return fullpath;
38
39 if ((fullpath = cfg_make_fullpath(p->dir, file)) == NULL)
40 return NULL;
41
42+check:
43 #ifdef HAVE_SYS_STAT_H
44 err = stat((const char *)fullpath, &st);
45 if ((!err) && S_ISREG(st.st_mode))
46--
472.31.1
48
diff --git a/meta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch b/meta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch
new file mode 100755
index 0000000000..52296b9c0f
--- /dev/null
+++ b/meta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch
@@ -0,0 +1,42 @@
1From d73777c2c3566fb2647727bb56d9a2295b81669b Mon Sep 17 00:00:00 2001
2From: Joachim Wiberg <troglobit@gmail.com>
3Date: Fri, 2 Sep 2022 16:12:46 +0200
4Subject: [PATCH] Fix #163: unterminated username used with getpwnam()
5
6Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
7
8CVE: CVE-2022-40320
9Upstream-Status: Backport [https://github.com/libconfuse/libconfuse/commit/d73777c2c3566fb2647727bb56d9a2295b81669b]
10Signed-off-by: Peter Marko <peter.marko@siemens.com>
11---
12 src/confuse.c | 9 ++++++---
13 1 file changed, 6 insertions(+), 3 deletions(-)
14
15diff --git a/src/confuse.c b/src/confuse.c
16index 6d1fdbd..05566b5 100644
17--- a/src/confuse.c
18+++ b/src/confuse.c
19@@ -1872,17 +1872,20 @@ DLLIMPORT char *cfg_tilde_expand(const char *filename)
20 file = filename + 1;
21 } else {
22 /* ~user or ~user/path */
23- char *user;
24+ char *user; /* ~user or ~user/path */
25+ size_t len;
26
27 file = strchr(filename, '/');
28 if (file == 0)
29 file = filename + strlen(filename);
30
31- user = malloc(file - filename);
32+ len = file - filename - 1;
33+ user = malloc(len + 1);
34 if (!user)
35 return NULL;
36
37- strncpy(user, filename + 1, file - filename - 1);
38+ strncpy(user, &filename[1], len);
39+ user[len] = 0;
40 passwd = getpwnam(user);
41 free(user);
42 }
diff --git a/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
new file mode 100644
index 0000000000..20966a535c
--- /dev/null
+++ b/meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
@@ -0,0 +1,15 @@
1SUMMARY = "libConfuse is a configuration file parser library"
2LICENSE = "ISC"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a"
4
5SRC_URI = "https://github.com/libconfuse/libconfuse/releases/download/v${PV}/confuse-${PV}.tar.gz"
6SRC_URI[sha256sum] = "3a59ded20bc652eaa8e6261ab46f7e483bc13dad79263c15af42ecbb329707b8"
7
8SRC_URI += "file://0001-only-apply-search-path-logic-to-relative-pathnames.patch"
9SRC_URI += "file://CVE-2022-40320.patch"
10
11inherit autotools-brokensep pkgconfig gettext
12
13S = "${UNPACKDIR}/confuse-${PV}"
14
15BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb b/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
index cf2d933169..d825f8fdee 100644
--- a/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
+++ b/meta-oe/recipes-support/libcppkafka/libcppkafka_git.bb
@@ -21,7 +21,6 @@ inherit cmake
21 21
22EXTRA_OECMAKE = "-DCPPKAFKA_BUILD_SHARED=ON" 22EXTRA_OECMAKE = "-DCPPKAFKA_BUILD_SHARED=ON"
23 23
24S = "${WORKDIR}/git"
25 24
26do_install:append(){ 25do_install:append(){
27 chrpath -d ${D}${libdir}/libcppkafka.so.${BASEPV} 26 chrpath -d ${D}${libdir}/libcppkafka.so.${BASEPV}
diff --git a/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0001-Fix-gcc-15-incompatible-pointer-types-error.patch b/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0001-Fix-gcc-15-incompatible-pointer-types-error.patch
new file mode 100644
index 0000000000..74ff091c94
--- /dev/null
+++ b/meta-oe/recipes-support/libcyusbserial/libcyusbserial/0001-Fix-gcc-15-incompatible-pointer-types-error.patch
@@ -0,0 +1,41 @@
1From 7b5318037b2a21a592e8a85c9724c1dc35078426 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Thu, 3 Apr 2025 20:42:03 +0900
4Subject: [PATCH] Fix gcc 15 incompatible-pointer-types error
5
6* Fix incompatible pointer type error in signal function parameter
7TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:101:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
8 101 | signal (SIGUSR1, deviceHotPlug);
9 | ^~~~~~~~~~~~~
10 | |
11 | void (*)(void)
12In file included from TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:25:
13TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
14 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
15 | ~~~~~~~~~~~~~~~^~~~~~~~~
16TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:83:6: note: 'deviceHotPlug' declared here
17 83 | void deviceHotPlug () {
18 | ^~~~~~~~~~~~~
19TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
20 72 | typedef void (*__sighandler_t) (int);
21 | ^~~~~~~~~~~~~~
22
23Upstream-Status: Submitted [https://github.com/cyrozap/libcyusbserial/pull/7]
24Signed-off-by: mark.yang <mark.yang@lge.com>
25---
26 tools/cyusbserialtest.c | 2 +-
27 1 file changed, 1 insertion(+), 1 deletion(-)
28
29diff --git a/tools/cyusbserialtest.c b/tools/cyusbserialtest.c
30index 9f21249..92e91a1 100644
31--- a/tools/cyusbserialtest.c
32+++ b/tools/cyusbserialtest.c
33@@ -80,7 +80,7 @@ int getUserInput()
34 return output;
35 }
36
37-void deviceHotPlug () {
38+void deviceHotPlug (int sig) {
39 CY_RETURN_STATUS rStatus;
40 deviceAddedRemoved = true;
41 selectedDeviceNum = -1;
diff --git a/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb b/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb
index dd7f457b10..939e7db24e 100644
--- a/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb
+++ b/meta-oe/recipes-support/libcyusbserial/libcyusbserial_git.bb
@@ -10,9 +10,9 @@ PV = "1.0.0+git"
10SRCREV = "655e2d544183d094f0e2d119c7e0c6206a0ddb3f" 10SRCREV = "655e2d544183d094f0e2d119c7e0c6206a0ddb3f"
11SRC_URI = "git://github.com/cyrozap/${BPN}.git;branch=master;protocol=https \ 11SRC_URI = "git://github.com/cyrozap/${BPN}.git;branch=master;protocol=https \
12 file://0001-CMakeLists.txt-don-t-fall-back-CMAKE_INSTALL_LIBDIR-.patch \ 12 file://0001-CMakeLists.txt-don-t-fall-back-CMAKE_INSTALL_LIBDIR-.patch \
13 file://0001-Fix-gcc-15-incompatible-pointer-types-error.patch \
13" 14"
14 15
15S = "${WORKDIR}/git"
16 16
17inherit cmake 17inherit cmake
18 18
diff --git a/meta-oe/recipes-support/libee/libee.inc b/meta-oe/recipes-support/libee/libee.inc
deleted file mode 100644
index 592109b951..0000000000
--- a/meta-oe/recipes-support/libee/libee.inc
+++ /dev/null
@@ -1,39 +0,0 @@
1SUMMARY = "An Event Expression Library inspired by CEE"
2DESCRIPTION = "The core idea of libee is to provide a small \
3but hopefully convenient API layer above the CEE standard."
4
5HOMEPAGE = "http://www.libee.org"
6SECTION = "base"
7
8LICENSE = "LGPL-2.1-or-later"
9LIC_FILES_CHKSUM = "file://COPYING;md5=1c2687de35e36ba3b999136236a66cd6"
10
11SRC_URI = "http://www.libee.org/download/files/download/${BPN}-${PV}.tar.gz\
12 file://libee-parallel-make.patch \
13 file://run-ptest \
14 file://ezapi1.sh \
15"
16
17inherit autotools ptest pkgconfig
18
19DEPENDS += "libestr"
20
21PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'testbench', '', d)}"
22
23PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,,"
24PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,,"
25
26TESTDIR = "tests"
27
28# We presume the tests we are going to install so just build them directly.
29#
30do_compile_ptest() {
31 oe_runmake -C ${TESTDIR} genfile ezapi1
32}
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}
36 install -m 0755 ${B}/${TESTDIR}/genfile ${D}${PTEST_PATH}
37 install -m 0755 ${B}/${TESTDIR}/.libs/ezapi1 ${D}${PTEST_PATH}
38 install -m 0755 ${UNPACKDIR}/ezapi1.sh ${D}${PTEST_PATH}
39}
diff --git a/meta-oe/recipes-support/libee/libee/ezapi1.sh b/meta-oe/recipes-support/libee/libee/ezapi1.sh
deleted file mode 100755
index e9db5e614b..0000000000
--- a/meta-oe/recipes-support/libee/libee/ezapi1.sh
+++ /dev/null
@@ -1,14 +0,0 @@
1#!/bin/sh
2#
3echo ---------------------------------------------------------------------------
4echo A very basic test for the event class
5echo ---------------------------------------------------------------------------
6rm -f infile
7./genfile 100 > infile
8./ezapi1 -iinfile
9if [ $? -ne 0 ] ; then
10 echo "FAIL: $0"
11 exit 1
12fi
13echo "PASS: $0"
14rm -f infile
diff --git a/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch b/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch
deleted file mode 100644
index 8bb23aafca..0000000000
--- a/meta-oe/recipes-support/libee/libee/libee-parallel-make.patch
+++ /dev/null
@@ -1,20 +0,0 @@
1fix parallel compiling problem
2
3without specifying libee_convert_DEPENDENCIES = libee.la, libee_convert
4can't find libee.la when linking as libee is not generated yet.
5
6Upstream-Status: Pending
7
8Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
9---
10diff --git a/src/Makefile.am b/src/Makefile.am
11index 08aaa9e..f0c78f7 100644
12--- a/src/Makefile.am
13+++ b/src/Makefile.am
14@@ -46,5 +46,6 @@ libee_la_LDFLAGS = -version-info 0:0:0
15 libee_convert_SOURCES = convert.c
16 libee_convert_CPPFLAGS = -I$(top_srcdir) $(LIBEE_CFLAGS) $(LIBESTR_CFLAGS) $(LIBXML2_CFLAGS)
17 libee_convert_LDADD = $(LIBEE_LIBS) $(LIBXML2_LIBS) $(LIBESTR_LIBS)
18+libee_convert_DEPENDENCIES = libee.la
19
20 include_HEADERS =
diff --git a/meta-oe/recipes-support/libee/libee/run-ptest b/meta-oe/recipes-support/libee/libee/run-ptest
deleted file mode 100755
index 3cb6607645..0000000000
--- a/meta-oe/recipes-support/libee/libee/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/sh
2#
3./ezapi1.sh
diff --git a/meta-oe/recipes-support/libee/libee_0.4.1.bb b/meta-oe/recipes-support/libee/libee_0.4.1.bb
deleted file mode 100644
index ef2c20db5a..0000000000
--- a/meta-oe/recipes-support/libee/libee_0.4.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1require ${BPN}.inc
2
3SRC_URI[md5sum] = "7bbf4160876c12db6193c06e2badedb2"
4SRC_URI[sha256sum] = "c0dac01938593deee06c3d161e4eda4ecc0fd7317e1321bd96e301aceb7fb027"
diff --git a/meta-oe/recipes-support/libeigen/libeigen/0002-Remove-LGPL-Code-and-references.patch b/meta-oe/recipes-support/libeigen/libeigen/0002-Remove-LGPL-Code-and-references.patch
new file mode 100644
index 0000000000..2d19bc23c8
--- /dev/null
+++ b/meta-oe/recipes-support/libeigen/libeigen/0002-Remove-LGPL-Code-and-references.patch
@@ -0,0 +1,1040 @@
1From e63a6950dbebf4dd95e5c74c423c06fd65df5182 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Antonio=20S=C3=A1nchez?= <cantonios@google.com>
3Date: Wed, 8 Feb 2023 01:25:06 +0000
4Subject: [PATCH] Remove LGPL Code and references.
5
6Upstream-Status: Backport [https://gitlab.com/libeigen/eigen/-/commit/e256ad1823c2eddd6954241ddc99bfeb7bb29cb3]
7---
8 COPYING.LGPL | 502 ------------------
9 COPYING.README | 16 +-
10 Eigen/src/Core/util/NonMPL2.h | 3 -
11 .../IncompleteCholesky.h | 3 +-
12 bench/tensors/eigen_sycl_bench.sh | 1 -
13 bench/tensors/eigen_sycl_bench_contract.sh | 2 +-
14 doc/PreprocessorDirectives.dox | 3 -
15 test/CMakeLists.txt | 1 -
16 test/mpl2only.cpp | 24 -
17 unsupported/Eigen/IterativeSolvers | 6 -
18 .../IterativeSolvers/ConstrainedConjGrad.h | 187 -------
19 .../IterativeSolvers/IterationController.h | 154 ------
20 12 files changed, 4 insertions(+), 898 deletions(-)
21 delete mode 100644 COPYING.LGPL
22 delete mode 100644 Eigen/src/Core/util/NonMPL2.h
23 delete mode 100644 test/mpl2only.cpp
24 delete mode 100644 unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h
25 delete mode 100644 unsupported/Eigen/src/IterativeSolvers/IterationController.h
26
27diff --git a/COPYING.LGPL b/COPYING.LGPL
28deleted file mode 100644
29index 4362b4915..000000000
30--- a/COPYING.LGPL
31+++ /dev/null
32@@ -1,502 +0,0 @@
33- GNU LESSER GENERAL PUBLIC LICENSE
34- Version 2.1, February 1999
35-
36- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
37- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
38- Everyone is permitted to copy and distribute verbatim copies
39- of this license document, but changing it is not allowed.
40-
41-[This is the first released version of the Lesser GPL. It also counts
42- as the successor of the GNU Library Public License, version 2, hence
43- the version number 2.1.]
44-
45- Preamble
46-
47- The licenses for most software are designed to take away your
48-freedom to share and change it. By contrast, the GNU General Public
49-Licenses are intended to guarantee your freedom to share and change
50-free software--to make sure the software is free for all its users.
51-
52- This license, the Lesser General Public License, applies to some
53-specially designated software packages--typically libraries--of the
54-Free Software Foundation and other authors who decide to use it. You
55-can use it too, but we suggest you first think carefully about whether
56-this license or the ordinary General Public License is the better
57-strategy to use in any particular case, based on the explanations below.
58-
59- When we speak of free software, we are referring to freedom of use,
60-not price. Our General Public Licenses are designed to make sure that
61-you have the freedom to distribute copies of free software (and charge
62-for this service if you wish); that you receive source code or can get
63-it if you want it; that you can change the software and use pieces of
64-it in new free programs; and that you are informed that you can do
65-these things.
66-
67- To protect your rights, we need to make restrictions that forbid
68-distributors to deny you these rights or to ask you to surrender these
69-rights. These restrictions translate to certain responsibilities for
70-you if you distribute copies of the library or if you modify it.
71-
72- For example, if you distribute copies of the library, whether gratis
73-or for a fee, you must give the recipients all the rights that we gave
74-you. You must make sure that they, too, receive or can get the source
75-code. If you link other code with the library, you must provide
76-complete object files to the recipients, so that they can relink them
77-with the library after making changes to the library and recompiling
78-it. And you must show them these terms so they know their rights.
79-
80- We protect your rights with a two-step method: (1) we copyright the
81-library, and (2) we offer you this license, which gives you legal
82-permission to copy, distribute and/or modify the library.
83-
84- To protect each distributor, we want to make it very clear that
85-there is no warranty for the free library. Also, if the library is
86-modified by someone else and passed on, the recipients should know
87-that what they have is not the original version, so that the original
88-author's reputation will not be affected by problems that might be
89-introduced by others.
90-
91- Finally, software patents pose a constant threat to the existence of
92-any free program. We wish to make sure that a company cannot
93-effectively restrict the users of a free program by obtaining a
94-restrictive license from a patent holder. Therefore, we insist that
95-any patent license obtained for a version of the library must be
96-consistent with the full freedom of use specified in this license.
97-
98- Most GNU software, including some libraries, is covered by the
99-ordinary GNU General Public License. This license, the GNU Lesser
100-General Public License, applies to certain designated libraries, and
101-is quite different from the ordinary General Public License. We use
102-this license for certain libraries in order to permit linking those
103-libraries into non-free programs.
104-
105- When a program is linked with a library, whether statically or using
106-a shared library, the combination of the two is legally speaking a
107-combined work, a derivative of the original library. The ordinary
108-General Public License therefore permits such linking only if the
109-entire combination fits its criteria of freedom. The Lesser General
110-Public License permits more lax criteria for linking other code with
111-the library.
112-
113- We call this license the "Lesser" General Public License because it
114-does Less to protect the user's freedom than the ordinary General
115-Public License. It also provides other free software developers Less
116-of an advantage over competing non-free programs. These disadvantages
117-are the reason we use the ordinary General Public License for many
118-libraries. However, the Lesser license provides advantages in certain
119-special circumstances.
120-
121- For example, on rare occasions, there may be a special need to
122-encourage the widest possible use of a certain library, so that it becomes
123-a de-facto standard. To achieve this, non-free programs must be
124-allowed to use the library. A more frequent case is that a free
125-library does the same job as widely used non-free libraries. In this
126-case, there is little to gain by limiting the free library to free
127-software only, so we use the Lesser General Public License.
128-
129- In other cases, permission to use a particular library in non-free
130-programs enables a greater number of people to use a large body of
131-free software. For example, permission to use the GNU C Library in
132-non-free programs enables many more people to use the whole GNU
133-operating system, as well as its variant, the GNU/Linux operating
134-system.
135-
136- Although the Lesser General Public License is Less protective of the
137-users' freedom, it does ensure that the user of a program that is
138-linked with the Library has the freedom and the wherewithal to run
139-that program using a modified version of the Library.
140-
141- The precise terms and conditions for copying, distribution and
142-modification follow. Pay close attention to the difference between a
143-"work based on the library" and a "work that uses the library". The
144-former contains code derived from the library, whereas the latter must
145-be combined with the library in order to run.
146-
147- GNU LESSER GENERAL PUBLIC LICENSE
148- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
149-
150- 0. This License Agreement applies to any software library or other
151-program which contains a notice placed by the copyright holder or
152-other authorized party saying it may be distributed under the terms of
153-this Lesser General Public License (also called "this License").
154-Each licensee is addressed as "you".
155-
156- A "library" means a collection of software functions and/or data
157-prepared so as to be conveniently linked with application programs
158-(which use some of those functions and data) to form executables.
159-
160- The "Library", below, refers to any such software library or work
161-which has been distributed under these terms. A "work based on the
162-Library" means either the Library or any derivative work under
163-copyright law: that is to say, a work containing the Library or a
164-portion of it, either verbatim or with modifications and/or translated
165-straightforwardly into another language. (Hereinafter, translation is
166-included without limitation in the term "modification".)
167-
168- "Source code" for a work means the preferred form of the work for
169-making modifications to it. For a library, complete source code means
170-all the source code for all modules it contains, plus any associated
171-interface definition files, plus the scripts used to control compilation
172-and installation of the library.
173-
174- Activities other than copying, distribution and modification are not
175-covered by this License; they are outside its scope. The act of
176-running a program using the Library is not restricted, and output from
177-such a program is covered only if its contents constitute a work based
178-on the Library (independent of the use of the Library in a tool for
179-writing it). Whether that is true depends on what the Library does
180-and what the program that uses the Library does.
181-
182- 1. You may copy and distribute verbatim copies of the Library's
183-complete source code as you receive it, in any medium, provided that
184-you conspicuously and appropriately publish on each copy an
185-appropriate copyright notice and disclaimer of warranty; keep intact
186-all the notices that refer to this License and to the absence of any
187-warranty; and distribute a copy of this License along with the
188-Library.
189-
190- You may charge a fee for the physical act of transferring a copy,
191-and you may at your option offer warranty protection in exchange for a
192-fee.
193-
194- 2. You may modify your copy or copies of the Library or any portion
195-of it, thus forming a work based on the Library, and copy and
196-distribute such modifications or work under the terms of Section 1
197-above, provided that you also meet all of these conditions:
198-
199- a) The modified work must itself be a software library.
200-
201- b) You must cause the files modified to carry prominent notices
202- stating that you changed the files and the date of any change.
203-
204- c) You must cause the whole of the work to be licensed at no
205- charge to all third parties under the terms of this License.
206-
207- d) If a facility in the modified Library refers to a function or a
208- table of data to be supplied by an application program that uses
209- the facility, other than as an argument passed when the facility
210- is invoked, then you must make a good faith effort to ensure that,
211- in the event an application does not supply such function or
212- table, the facility still operates, and performs whatever part of
213- its purpose remains meaningful.
214-
215- (For example, a function in a library to compute square roots has
216- a purpose that is entirely well-defined independent of the
217- application. Therefore, Subsection 2d requires that any
218- application-supplied function or table used by this function must
219- be optional: if the application does not supply it, the square
220- root function must still compute square roots.)
221-
222-These requirements apply to the modified work as a whole. If
223-identifiable sections of that work are not derived from the Library,
224-and can be reasonably considered independent and separate works in
225-themselves, then this License, and its terms, do not apply to those
226-sections when you distribute them as separate works. But when you
227-distribute the same sections as part of a whole which is a work based
228-on the Library, the distribution of the whole must be on the terms of
229-this License, whose permissions for other licensees extend to the
230-entire whole, and thus to each and every part regardless of who wrote
231-it.
232-
233-Thus, it is not the intent of this section to claim rights or contest
234-your rights to work written entirely by you; rather, the intent is to
235-exercise the right to control the distribution of derivative or
236-collective works based on the Library.
237-
238-In addition, mere aggregation of another work not based on the Library
239-with the Library (or with a work based on the Library) on a volume of
240-a storage or distribution medium does not bring the other work under
241-the scope of this License.
242-
243- 3. You may opt to apply the terms of the ordinary GNU General Public
244-License instead of this License to a given copy of the Library. To do
245-this, you must alter all the notices that refer to this License, so
246-that they refer to the ordinary GNU General Public License, version 2,
247-instead of to this License. (If a newer version than version 2 of the
248-ordinary GNU General Public License has appeared, then you can specify
249-that version instead if you wish.) Do not make any other change in
250-these notices.
251-
252- Once this change is made in a given copy, it is irreversible for
253-that copy, so the ordinary GNU General Public License applies to all
254-subsequent copies and derivative works made from that copy.
255-
256- This option is useful when you wish to copy part of the code of
257-the Library into a program that is not a library.
258-
259- 4. You may copy and distribute the Library (or a portion or
260-derivative of it, under Section 2) in object code or executable form
261-under the terms of Sections 1 and 2 above provided that you accompany
262-it with the complete corresponding machine-readable source code, which
263-must be distributed under the terms of Sections 1 and 2 above on a
264-medium customarily used for software interchange.
265-
266- If distribution of object code is made by offering access to copy
267-from a designated place, then offering equivalent access to copy the
268-source code from the same place satisfies the requirement to
269-distribute the source code, even though third parties are not
270-compelled to copy the source along with the object code.
271-
272- 5. A program that contains no derivative of any portion of the
273-Library, but is designed to work with the Library by being compiled or
274-linked with it, is called a "work that uses the Library". Such a
275-work, in isolation, is not a derivative work of the Library, and
276-therefore falls outside the scope of this License.
277-
278- However, linking a "work that uses the Library" with the Library
279-creates an executable that is a derivative of the Library (because it
280-contains portions of the Library), rather than a "work that uses the
281-library". The executable is therefore covered by this License.
282-Section 6 states terms for distribution of such executables.
283-
284- When a "work that uses the Library" uses material from a header file
285-that is part of the Library, the object code for the work may be a
286-derivative work of the Library even though the source code is not.
287-Whether this is true is especially significant if the work can be
288-linked without the Library, or if the work is itself a library. The
289-threshold for this to be true is not precisely defined by law.
290-
291- If such an object file uses only numerical parameters, data
292-structure layouts and accessors, and small macros and small inline
293-functions (ten lines or less in length), then the use of the object
294-file is unrestricted, regardless of whether it is legally a derivative
295-work. (Executables containing this object code plus portions of the
296-Library will still fall under Section 6.)
297-
298- Otherwise, if the work is a derivative of the Library, you may
299-distribute the object code for the work under the terms of Section 6.
300-Any executables containing that work also fall under Section 6,
301-whether or not they are linked directly with the Library itself.
302-
303- 6. As an exception to the Sections above, you may also combine or
304-link a "work that uses the Library" with the Library to produce a
305-work containing portions of the Library, and distribute that work
306-under terms of your choice, provided that the terms permit
307-modification of the work for the customer's own use and reverse
308-engineering for debugging such modifications.
309-
310- You must give prominent notice with each copy of the work that the
311-Library is used in it and that the Library and its use are covered by
312-this License. You must supply a copy of this License. If the work
313-during execution displays copyright notices, you must include the
314-copyright notice for the Library among them, as well as a reference
315-directing the user to the copy of this License. Also, you must do one
316-of these things:
317-
318- a) Accompany the work with the complete corresponding
319- machine-readable source code for the Library including whatever
320- changes were used in the work (which must be distributed under
321- Sections 1 and 2 above); and, if the work is an executable linked
322- with the Library, with the complete machine-readable "work that
323- uses the Library", as object code and/or source code, so that the
324- user can modify the Library and then relink to produce a modified
325- executable containing the modified Library. (It is understood
326- that the user who changes the contents of definitions files in the
327- Library will not necessarily be able to recompile the application
328- to use the modified definitions.)
329-
330- b) Use a suitable shared library mechanism for linking with the
331- Library. A suitable mechanism is one that (1) uses at run time a
332- copy of the library already present on the user's computer system,
333- rather than copying library functions into the executable, and (2)
334- will operate properly with a modified version of the library, if
335- the user installs one, as long as the modified version is
336- interface-compatible with the version that the work was made with.
337-
338- c) Accompany the work with a written offer, valid for at
339- least three years, to give the same user the materials
340- specified in Subsection 6a, above, for a charge no more
341- than the cost of performing this distribution.
342-
343- d) If distribution of the work is made by offering access to copy
344- from a designated place, offer equivalent access to copy the above
345- specified materials from the same place.
346-
347- e) Verify that the user has already received a copy of these
348- materials or that you have already sent this user a copy.
349-
350- For an executable, the required form of the "work that uses the
351-Library" must include any data and utility programs needed for
352-reproducing the executable from it. However, as a special exception,
353-the materials to be distributed need not include anything that is
354-normally distributed (in either source or binary form) with the major
355-components (compiler, kernel, and so on) of the operating system on
356-which the executable runs, unless that component itself accompanies
357-the executable.
358-
359- It may happen that this requirement contradicts the license
360-restrictions of other proprietary libraries that do not normally
361-accompany the operating system. Such a contradiction means you cannot
362-use both them and the Library together in an executable that you
363-distribute.
364-
365- 7. You may place library facilities that are a work based on the
366-Library side-by-side in a single library together with other library
367-facilities not covered by this License, and distribute such a combined
368-library, provided that the separate distribution of the work based on
369-the Library and of the other library facilities is otherwise
370-permitted, and provided that you do these two things:
371-
372- a) Accompany the combined library with a copy of the same work
373- based on the Library, uncombined with any other library
374- facilities. This must be distributed under the terms of the
375- Sections above.
376-
377- b) Give prominent notice with the combined library of the fact
378- that part of it is a work based on the Library, and explaining
379- where to find the accompanying uncombined form of the same work.
380-
381- 8. You may not copy, modify, sublicense, link with, or distribute
382-the Library except as expressly provided under this License. Any
383-attempt otherwise to copy, modify, sublicense, link with, or
384-distribute the Library is void, and will automatically terminate your
385-rights under this License. However, parties who have received copies,
386-or rights, from you under this License will not have their licenses
387-terminated so long as such parties remain in full compliance.
388-
389- 9. You are not required to accept this License, since you have not
390-signed it. However, nothing else grants you permission to modify or
391-distribute the Library or its derivative works. These actions are
392-prohibited by law if you do not accept this License. Therefore, by
393-modifying or distributing the Library (or any work based on the
394-Library), you indicate your acceptance of this License to do so, and
395-all its terms and conditions for copying, distributing or modifying
396-the Library or works based on it.
397-
398- 10. Each time you redistribute the Library (or any work based on the
399-Library), the recipient automatically receives a license from the
400-original licensor to copy, distribute, link with or modify the Library
401-subject to these terms and conditions. You may not impose any further
402-restrictions on the recipients' exercise of the rights granted herein.
403-You are not responsible for enforcing compliance by third parties with
404-this License.
405-
406- 11. If, as a consequence of a court judgment or allegation of patent
407-infringement or for any other reason (not limited to patent issues),
408-conditions are imposed on you (whether by court order, agreement or
409-otherwise) that contradict the conditions of this License, they do not
410-excuse you from the conditions of this License. If you cannot
411-distribute so as to satisfy simultaneously your obligations under this
412-License and any other pertinent obligations, then as a consequence you
413-may not distribute the Library at all. For example, if a patent
414-license would not permit royalty-free redistribution of the Library by
415-all those who receive copies directly or indirectly through you, then
416-the only way you could satisfy both it and this License would be to
417-refrain entirely from distribution of the Library.
418-
419-If any portion of this section is held invalid or unenforceable under any
420-particular circumstance, the balance of the section is intended to apply,
421-and the section as a whole is intended to apply in other circumstances.
422-
423-It is not the purpose of this section to induce you to infringe any
424-patents or other property right claims or to contest validity of any
425-such claims; this section has the sole purpose of protecting the
426-integrity of the free software distribution system which is
427-implemented by public license practices. Many people have made
428-generous contributions to the wide range of software distributed
429-through that system in reliance on consistent application of that
430-system; it is up to the author/donor to decide if he or she is willing
431-to distribute software through any other system and a licensee cannot
432-impose that choice.
433-
434-This section is intended to make thoroughly clear what is believed to
435-be a consequence of the rest of this License.
436-
437- 12. If the distribution and/or use of the Library is restricted in
438-certain countries either by patents or by copyrighted interfaces, the
439-original copyright holder who places the Library under this License may add
440-an explicit geographical distribution limitation excluding those countries,
441-so that distribution is permitted only in or among countries not thus
442-excluded. In such case, this License incorporates the limitation as if
443-written in the body of this License.
444-
445- 13. The Free Software Foundation may publish revised and/or new
446-versions of the Lesser General Public License from time to time.
447-Such new versions will be similar in spirit to the present version,
448-but may differ in detail to address new problems or concerns.
449-
450-Each version is given a distinguishing version number. If the Library
451-specifies a version number of this License which applies to it and
452-"any later version", you have the option of following the terms and
453-conditions either of that version or of any later version published by
454-the Free Software Foundation. If the Library does not specify a
455-license version number, you may choose any version ever published by
456-the Free Software Foundation.
457-
458- 14. If you wish to incorporate parts of the Library into other free
459-programs whose distribution conditions are incompatible with these,
460-write to the author to ask for permission. For software which is
461-copyrighted by the Free Software Foundation, write to the Free
462-Software Foundation; we sometimes make exceptions for this. Our
463-decision will be guided by the two goals of preserving the free status
464-of all derivatives of our free software and of promoting the sharing
465-and reuse of software generally.
466-
467- NO WARRANTY
468-
469- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
470-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
471-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
472-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
473-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
474-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
475-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
476-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
477-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
478-
479- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
480-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
481-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
482-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
483-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
484-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
485-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
486-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
487-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
488-DAMAGES.
489-
490- END OF TERMS AND CONDITIONS
491-
492- How to Apply These Terms to Your New Libraries
493-
494- If you develop a new library, and you want it to be of the greatest
495-possible use to the public, we recommend making it free software that
496-everyone can redistribute and change. You can do so by permitting
497-redistribution under these terms (or, alternatively, under the terms of the
498-ordinary General Public License).
499-
500- To apply these terms, attach the following notices to the library. It is
501-safest to attach them to the start of each source file to most effectively
502-convey the exclusion of warranty; and each file should have at least the
503-"copyright" line and a pointer to where the full notice is found.
504-
505- <one line to give the library's name and a brief idea of what it does.>
506- Copyright (C) <year> <name of author>
507-
508- This library is free software; you can redistribute it and/or
509- modify it under the terms of the GNU Lesser General Public
510- License as published by the Free Software Foundation; either
511- version 2.1 of the License, or (at your option) any later version.
512-
513- This library is distributed in the hope that it will be useful,
514- but WITHOUT ANY WARRANTY; without even the implied warranty of
515- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
516- Lesser General Public License for more details.
517-
518- You should have received a copy of the GNU Lesser General Public
519- License along with this library; if not, write to the Free Software
520- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
521-
522-Also add information on how to contact you by electronic and paper mail.
523-
524-You should also get your employer (if you work as a programmer) or your
525-school, if any, to sign a "copyright disclaimer" for the library, if
526-necessary. Here is a sample; alter the names:
527-
528- Yoyodyne, Inc., hereby disclaims all copyright interest in the
529- library `Frob' (a library for tweaking knobs) written by James Random Hacker.
530-
531- <signature of Ty Coon>, 1 April 1990
532- Ty Coon, President of Vice
533-
534-That's all there is to it!
535diff --git a/COPYING.README b/COPYING.README
536index de5b63215..11af93ca7 100644
537--- a/COPYING.README
538+++ b/COPYING.README
539@@ -2,17 +2,5 @@ Eigen is primarily MPL2 licensed. See COPYING.MPL2 and these links:
540 http://www.mozilla.org/MPL/2.0/
541 http://www.mozilla.org/MPL/2.0/FAQ.html
542
543-Some files contain third-party code under BSD or LGPL licenses, whence the other
544-COPYING.* files here.
545-
546-All the LGPL code is either LGPL 2.1-only, or LGPL 2.1-or-later.
547-For this reason, the COPYING.LGPL file contains the LGPL 2.1 text.
548-
549-If you want to guarantee that the Eigen code that you are #including is licensed
550-under the MPL2 and possibly more permissive licenses (like BSD), #define this
551-preprocessor symbol:
552- EIGEN_MPL2_ONLY
553-For example, with most compilers, you could add this to your project CXXFLAGS:
554- -DEIGEN_MPL2_ONLY
555-This will cause a compilation error to be generated if you #include any code that is
556-LGPL licensed.
557+Some files contain third-party code under BSD or other MPL2-compatible licenses,
558+whence the other COPYING.* files here.
559\ No newline at end of file
560diff --git a/Eigen/src/Core/util/NonMPL2.h b/Eigen/src/Core/util/NonMPL2.h
561deleted file mode 100644
562index 1af67cf18..000000000
563--- a/Eigen/src/Core/util/NonMPL2.h
564+++ /dev/null
565@@ -1,3 +0,0 @@
566-#ifdef EIGEN_MPL2_ONLY
567-#error Including non-MPL2 code in EIGEN_MPL2_ONLY mode
568-#endif
569diff --git a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h
570index 7803fd817..1a5d7faeb 100644
571--- a/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h
572+++ b/Eigen/src/IterativeLinearSolvers/IncompleteCholesky.h
573@@ -24,8 +24,7 @@ namespace Eigen {
574 * \tparam Scalar the scalar type of the input matrices
575 * \tparam _UpLo The triangular part that will be used for the computations. It can be Lower
576 * or Upper. Default is Lower.
577- * \tparam _OrderingType The ordering method to use, either AMDOrdering<> or NaturalOrdering<>. Default is AMDOrdering<int>,
578- * unless EIGEN_MPL2_ONLY is defined, in which case the default is NaturalOrdering<int>.
579+ * \tparam _OrderingType The ordering method to use, either AMDOrdering<> or NaturalOrdering<>. Default is AMDOrdering<int>.
580 *
581 * \implsparsesolverconcept
582 *
583diff --git a/bench/tensors/eigen_sycl_bench.sh b/bench/tensors/eigen_sycl_bench.sh
584index 3f67b3d86..4cb8f7be4 100755
585--- a/bench/tensors/eigen_sycl_bench.sh
586+++ b/bench/tensors/eigen_sycl_bench.sh
587@@ -10,7 +10,6 @@ benchmark_main.cc \
588 -march=native \
589 -O3 \
590 -DNDEBUG \
591--DEIGEN_MPL2_ONLY \
592 -DEIGEN_USE_SYCL=1 \
593 -DEIGEN_SYCL_LOCAL_MEM=1 \
594 -no-serial-memop \
595diff --git a/bench/tensors/eigen_sycl_bench_contract.sh b/bench/tensors/eigen_sycl_bench_contract.sh
596index 73fd6c4a0..3ab0138a1 100644
597--- a/bench/tensors/eigen_sycl_bench_contract.sh
598+++ b/bench/tensors/eigen_sycl_bench_contract.sh
599@@ -1,7 +1,7 @@
600 rm -f tensor_contract_sycl_bench
601 : "${COMPUTECPP_PACKAGE_ROOT_DIR:?Need to set COMPUTECPP_PACKAGE_ROOT_DIR}"
602 echo "COMPUTECPP_PACKAGE_ROOT_DIR is set to: "$COMPUTECPP_PACKAGE_ROOT_DIR
603-${COMPUTECPP_PACKAGE_ROOT_DIR}/bin/compute++ tensor_contract_sycl_bench.cc -I ../../ -I ${COMPUTECPP_PACKAGE_ROOT_DIR}/include/ -std=c++11 -O3 -DNDEBUG -DEIGEN_MPL2_ONLY -DEIGEN_USE_SYCL=1 -no-serial-memop -mllvm -inline-threshold=10000 -fsycl-ih-last -sycl-driver -Xclang -cl-mad-enable -lOpenCL -lComputeCpp -lpthread -o tensor_contract_sycl_bench ${@:1}
604+${COMPUTECPP_PACKAGE_ROOT_DIR}/bin/compute++ tensor_contract_sycl_bench.cc -I ../../ -I ${COMPUTECPP_PACKAGE_ROOT_DIR}/include/ -std=c++11 -O3 -DNDEBUG -DEIGEN_USE_SYCL=1 -no-serial-memop -mllvm -inline-threshold=10000 -fsycl-ih-last -sycl-driver -Xclang -cl-mad-enable -lOpenCL -lComputeCpp -lpthread -o tensor_contract_sycl_bench ${@:1}
605 export LD_LIBRARY_PATH=${COMPUTECPP_PACKAGE_ROOT_DIR}/lib:$LD_LIBRARY_PATH
606 ./tensor_contract_sycl_bench
607
608diff --git a/doc/PreprocessorDirectives.dox b/doc/PreprocessorDirectives.dox
609index 0f545b086..b7d59ccbc 100644
610--- a/doc/PreprocessorDirectives.dox
611+++ b/doc/PreprocessorDirectives.dox
612@@ -92,9 +92,6 @@ run time. However, these assertions do cost time and can thus be turned off.
613 - \b eigen_assert - macro with one argument that is used inside %Eigen for assertions. By default, it is
614 basically defined to be \c assert, which aborts the program if the assertion is violated. Redefine this
615 macro if you want to do something else, like throwing an exception.
616- - \b EIGEN_MPL2_ONLY - disable non MPL2 compatible features, or in other words disable the features which
617- are still under the LGPL.
618-
619
620 \section TopicPreprocessorDirectivesPerformance Alignment, vectorization and performance tweaking
621
622diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
623index 5136f82aa..9f557743a 100644
624--- a/test/CMakeLists.txt
625+++ b/test/CMakeLists.txt
626@@ -277,7 +277,6 @@ ei_add_test(special_numbers)
627 ei_add_test(rvalue_types)
628 ei_add_test(dense_storage)
629 ei_add_test(ctorleak)
630-ei_add_test(mpl2only)
631 ei_add_test(inplace_decomposition)
632 ei_add_test(half_float)
633 ei_add_test(bfloat16_float)
634diff --git a/test/mpl2only.cpp b/test/mpl2only.cpp
635deleted file mode 100644
636index 296350d08..000000000
637--- a/test/mpl2only.cpp
638+++ /dev/null
639@@ -1,24 +0,0 @@
640-// This file is part of Eigen, a lightweight C++ template library
641-// for linear algebra.
642-//
643-// Copyright (C) 2015 Gael Guennebaud <gael.guennebaud@inria.fr>
644-//
645-// This Source Code Form is subject to the terms of the Mozilla
646-// Public License v. 2.0. If a copy of the MPL was not distributed
647-// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
648-
649-#ifndef EIGEN_MPL2_ONLY
650-#define EIGEN_MPL2_ONLY
651-#endif
652-#include <Eigen/Dense>
653-#include <Eigen/SparseCore>
654-#include <Eigen/SparseLU>
655-#include <Eigen/SparseQR>
656-#include <Eigen/Sparse>
657-#include <Eigen/IterativeLinearSolvers>
658-#include <Eigen/Eigen>
659-
660-int main()
661-{
662- return 0;
663-}
664diff --git a/unsupported/Eigen/IterativeSolvers b/unsupported/Eigen/IterativeSolvers
665index a3f58d676..f045fb607 100644
666--- a/unsupported/Eigen/IterativeSolvers
667+++ b/unsupported/Eigen/IterativeSolvers
668@@ -19,7 +19,6 @@
669 * \defgroup IterativeLinearSolvers_Module Iterative solvers module
670 * This module aims to provide various iterative linear and non linear solver algorithms.
671 * It currently provides:
672- * - a constrained conjugate gradient
673 * - a Householder GMRES implementation
674 * - an IDR(s) implementation
675 * - a DGMRES implementation
676@@ -33,11 +32,6 @@
677
678 #include "../../Eigen/src/Core/util/DisableStupidWarnings.h"
679
680-#ifndef EIGEN_MPL2_ONLY
681-#include "src/IterativeSolvers/IterationController.h"
682-#include "src/IterativeSolvers/ConstrainedConjGrad.h"
683-#endif
684-
685 #include "src/IterativeSolvers/IncompleteLU.h"
686 #include "src/IterativeSolvers/GMRES.h"
687 #include "src/IterativeSolvers/DGMRES.h"
688diff --git a/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h b/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h
689deleted file mode 100644
690index e7d70f39d..000000000
691--- a/unsupported/Eigen/src/IterativeSolvers/ConstrainedConjGrad.h
692+++ /dev/null
693@@ -1,187 +0,0 @@
694-// This file is part of Eigen, a lightweight C++ template library
695-// for linear algebra.
696-//
697-// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
698-
699-/* NOTE The functions of this file have been adapted from the GMM++ library */
700-
701-//========================================================================
702-//
703-// Copyright (C) 2002-2007 Yves Renard
704-//
705-// This file is a part of GETFEM++
706-//
707-// Getfem++ is free software; you can redistribute it and/or modify
708-// it under the terms of the GNU Lesser General Public License as
709-// published by the Free Software Foundation; version 2.1 of the License.
710-//
711-// This program is distributed in the hope that it will be useful,
712-// but WITHOUT ANY WARRANTY; without even the implied warranty of
713-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
714-// GNU Lesser General Public License for more details.
715-// You should have received a copy of the GNU Lesser General Public
716-// License along with this program; if not, write to the Free Software
717-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
718-// USA.
719-//
720-//========================================================================
721-
722-#include "../../../../Eigen/src/Core/util/NonMPL2.h"
723-
724-#ifndef EIGEN_CONSTRAINEDCG_H
725-#define EIGEN_CONSTRAINEDCG_H
726-
727-#include "../../../../Eigen/Core"
728-
729-namespace Eigen {
730-
731-namespace internal {
732-
733-/** \ingroup IterativeLinearSolvers_Module
734- * Compute the pseudo inverse of the non-square matrix C such that
735- * \f$ CINV = (C * C^T)^{-1} * C \f$ based on a conjugate gradient method.
736- *
737- * This function is internally used by constrained_cg.
738- */
739-template <typename CMatrix, typename CINVMatrix>
740-void pseudo_inverse(const CMatrix &C, CINVMatrix &CINV)
741-{
742- // optimisable : copie de la ligne, precalcul de C * trans(C).
743- typedef typename CMatrix::Scalar Scalar;
744- typedef typename CMatrix::Index Index;
745- // FIXME use sparse vectors ?
746- typedef Matrix<Scalar,Dynamic,1> TmpVec;
747-
748- Index rows = C.rows(), cols = C.cols();
749-
750- TmpVec d(rows), e(rows), l(cols), p(rows), q(rows), r(rows);
751- Scalar rho, rho_1, alpha;
752- d.setZero();
753-
754- typedef Triplet<double> T;
755- std::vector<T> tripletList;
756-
757- for (Index i = 0; i < rows; ++i)
758- {
759- d[i] = 1.0;
760- rho = 1.0;
761- e.setZero();
762- r = d;
763- p = d;
764-
765- while (rho >= 1e-38)
766- { /* conjugate gradient to compute e */
767- /* which is the i-th row of inv(C * trans(C)) */
768- l = C.transpose() * p;
769- q = C * l;
770- alpha = rho / p.dot(q);
771- e += alpha * p;
772- r += -alpha * q;
773- rho_1 = rho;
774- rho = r.dot(r);
775- p = (rho/rho_1) * p + r;
776- }
777-
778- l = C.transpose() * e; // l is the i-th row of CINV
779- // FIXME add a generic "prune/filter" expression for both dense and sparse object to sparse
780- for (Index j=0; j<l.size(); ++j)
781- if (l[j]<1e-15)
782- tripletList.push_back(T(i,j,l(j)));
783-
784-
785- d[i] = 0.0;
786- }
787- CINV.setFromTriplets(tripletList.begin(), tripletList.end());
788-}
789-
790-
791-
792-/** \ingroup IterativeLinearSolvers_Module
793- * Constrained conjugate gradient
794- *
795- * Computes the minimum of \f$ 1/2((Ax).x) - bx \f$ under the constraint \f$ Cx \le f \f$
796- */
797-template<typename TMatrix, typename CMatrix,
798- typename VectorX, typename VectorB, typename VectorF>
799-void constrained_cg(const TMatrix& A, const CMatrix& C, VectorX& x,
800- const VectorB& b, const VectorF& f, IterationController &iter)
801-{
802- using std::sqrt;
803- typedef typename TMatrix::Scalar Scalar;
804- typedef typename TMatrix::Index Index;
805- typedef Matrix<Scalar,Dynamic,1> TmpVec;
806-
807- Scalar rho = 1.0, rho_1, lambda, gamma;
808- Index xSize = x.size();
809- TmpVec p(xSize), q(xSize), q2(xSize),
810- r(xSize), old_z(xSize), z(xSize),
811- memox(xSize);
812- std::vector<bool> satured(C.rows());
813- p.setZero();
814- iter.setRhsNorm(sqrt(b.dot(b))); // gael vect_sp(PS, b, b)
815- if (iter.rhsNorm() == 0.0) iter.setRhsNorm(1.0);
816-
817- SparseMatrix<Scalar,RowMajor> CINV(C.rows(), C.cols());
818- pseudo_inverse(C, CINV);
819-
820- while(true)
821- {
822- // computation of residual
823- old_z = z;
824- memox = x;
825- r = b;
826- r += A * -x;
827- z = r;
828- bool transition = false;
829- for (Index i = 0; i < C.rows(); ++i)
830- {
831- Scalar al = C.row(i).dot(x) - f.coeff(i);
832- if (al >= -1.0E-15)
833- {
834- if (!satured[i])
835- {
836- satured[i] = true;
837- transition = true;
838- }
839- Scalar bb = CINV.row(i).dot(z);
840- if (bb > 0.0)
841- // FIXME: we should allow that: z += -bb * C.row(i);
842- for (typename CMatrix::InnerIterator it(C,i); it; ++it)
843- z.coeffRef(it.index()) -= bb*it.value();
844- }
845- else
846- satured[i] = false;
847- }
848-
849- // descent direction
850- rho_1 = rho;
851- rho = r.dot(z);
852-
853- if (iter.finished(rho)) break;
854- if (transition || iter.first()) gamma = 0.0;
855- else gamma = (std::max)(0.0, (rho - old_z.dot(z)) / rho_1);
856- p = z + gamma*p;
857-
858- ++iter;
859- // one dimensionnal optimization
860- q = A * p;
861- lambda = rho / q.dot(p);
862- for (Index i = 0; i < C.rows(); ++i)
863- {
864- if (!satured[i])
865- {
866- Scalar bb = C.row(i).dot(p) - f[i];
867- if (bb > 0.0)
868- lambda = (std::min)(lambda, (f.coeff(i)-C.row(i).dot(x)) / bb);
869- }
870- }
871- x += lambda * p;
872- memox -= x;
873- }
874-}
875-
876-} // end namespace internal
877-
878-} // end namespace Eigen
879-
880-#endif // EIGEN_CONSTRAINEDCG_H
881diff --git a/unsupported/Eigen/src/IterativeSolvers/IterationController.h b/unsupported/Eigen/src/IterativeSolvers/IterationController.h
882deleted file mode 100644
883index a116e09e2..000000000
884--- a/unsupported/Eigen/src/IterativeSolvers/IterationController.h
885+++ /dev/null
886@@ -1,154 +0,0 @@
887-// This file is part of Eigen, a lightweight C++ template library
888-// for linear algebra.
889-//
890-// Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr>
891-
892-/* NOTE The class IterationController has been adapted from the iteration
893- * class of the GMM++ and ITL libraries.
894- */
895-
896-//=======================================================================
897-// Copyright (C) 1997-2001
898-// Authors: Andrew Lumsdaine <lums@osl.iu.edu>
899-// Lie-Quan Lee <llee@osl.iu.edu>
900-//
901-// This file is part of the Iterative Template Library
902-//
903-// You should have received a copy of the License Agreement for the
904-// Iterative Template Library along with the software; see the
905-// file LICENSE.
906-//
907-// Permission to modify the code and to distribute modified code is
908-// granted, provided the text of this NOTICE is retained, a notice that
909-// the code was modified is included with the above COPYRIGHT NOTICE and
910-// with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE
911-// file is distributed with the modified code.
912-//
913-// LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
914-// By way of example, but not limitation, Licensor MAKES NO
915-// REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
916-// PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS
917-// OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS
918-// OR OTHER RIGHTS.
919-//=======================================================================
920-
921-//========================================================================
922-//
923-// Copyright (C) 2002-2007 Yves Renard
924-//
925-// This file is a part of GETFEM++
926-//
927-// Getfem++ is free software; you can redistribute it and/or modify
928-// it under the terms of the GNU Lesser General Public License as
929-// published by the Free Software Foundation; version 2.1 of the License.
930-//
931-// This program is distributed in the hope that it will be useful,
932-// but WITHOUT ANY WARRANTY; without even the implied warranty of
933-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
934-// GNU Lesser General Public License for more details.
935-// You should have received a copy of the GNU Lesser General Public
936-// License along with this program; if not, write to the Free Software
937-// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301,
938-// USA.
939-//
940-//========================================================================
941-
942-#include "../../../../Eigen/src/Core/util/NonMPL2.h"
943-
944-#ifndef EIGEN_ITERATION_CONTROLLER_H
945-#define EIGEN_ITERATION_CONTROLLER_H
946-
947-namespace Eigen {
948-
949-/** \ingroup IterativeLinearSolvers_Module
950- * \class IterationController
951- *
952- * \brief Controls the iterations of the iterative solvers
953- *
954- * This class has been adapted from the iteration class of GMM++ and ITL libraries.
955- *
956- */
957-class IterationController
958-{
959- protected :
960- double m_rhsn; ///< Right hand side norm
961- size_t m_maxiter; ///< Max. number of iterations
962- int m_noise; ///< if noise > 0 iterations are printed
963- double m_resmax; ///< maximum residual
964- double m_resminreach, m_resadd;
965- size_t m_nit; ///< iteration number
966- double m_res; ///< last computed residual
967- bool m_written;
968- void (*m_callback)(const IterationController&);
969- public :
970-
971- void init()
972- {
973- m_nit = 0; m_res = 0.0; m_written = false;
974- m_resminreach = 1E50; m_resadd = 0.0;
975- m_callback = 0;
976- }
977-
978- IterationController(double r = 1.0E-8, int noi = 0, size_t mit = size_t(-1))
979- : m_rhsn(1.0), m_maxiter(mit), m_noise(noi), m_resmax(r) { init(); }
980-
981- void operator ++(int) { m_nit++; m_written = false; m_resadd += m_res; }
982- void operator ++() { (*this)++; }
983-
984- bool first() { return m_nit == 0; }
985-
986- /* get/set the "noisyness" (verbosity) of the solvers */
987- int noiseLevel() const { return m_noise; }
988- void setNoiseLevel(int n) { m_noise = n; }
989- void reduceNoiseLevel() { if (m_noise > 0) m_noise--; }
990-
991- double maxResidual() const { return m_resmax; }
992- void setMaxResidual(double r) { m_resmax = r; }
993-
994- double residual() const { return m_res; }
995-
996- /* change the user-definable callback, called after each iteration */
997- void setCallback(void (*t)(const IterationController&))
998- {
999- m_callback = t;
1000- }
1001-
1002- size_t iteration() const { return m_nit; }
1003- void setIteration(size_t i) { m_nit = i; }
1004-
1005- size_t maxIterarions() const { return m_maxiter; }
1006- void setMaxIterations(size_t i) { m_maxiter = i; }
1007-
1008- double rhsNorm() const { return m_rhsn; }
1009- void setRhsNorm(double r) { m_rhsn = r; }
1010-
1011- bool converged() const { return m_res <= m_rhsn * m_resmax; }
1012- bool converged(double nr)
1013- {
1014- using std::abs;
1015- m_res = abs(nr);
1016- m_resminreach = (std::min)(m_resminreach, m_res);
1017- return converged();
1018- }
1019- template<typename VectorType> bool converged(const VectorType &v)
1020- { return converged(v.squaredNorm()); }
1021-
1022- bool finished(double nr)
1023- {
1024- if (m_callback) m_callback(*this);
1025- if (m_noise > 0 && !m_written)
1026- {
1027- converged(nr);
1028- m_written = true;
1029- }
1030- return (m_nit >= m_maxiter || converged(nr));
1031- }
1032- template <typename VectorType>
1033- bool finished(const MatrixBase<VectorType> &v)
1034- { return finished(double(v.squaredNorm())); }
1035-
1036-};
1037-
1038-} // end namespace Eigen
1039-
1040-#endif // EIGEN_ITERATION_CONTROLLER_H
diff --git a/meta-oe/recipes-support/libeigen/libeigen_3.4.0.bb b/meta-oe/recipes-support/libeigen/libeigen_3.4.0.bb
index 72044427dd..f5f874941a 100644
--- a/meta-oe/recipes-support/libeigen/libeigen_3.4.0.bb
+++ b/meta-oe/recipes-support/libeigen/libeigen_3.4.0.bb
@@ -1,20 +1,24 @@
1DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms." 1DESCRIPTION = "Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms."
2HOMEPAGE = "http://eigen.tuxfamily.org/" 2HOMEPAGE = "http://eigen.tuxfamily.org/"
3LICENSE = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & GPL-2.0-only & LGPL-2.1-only & MINPACK" 3LICENSE = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & GPL-2.0-only & Minpack"
4# The GPL code is only used for benchmark tests and does not affect what is installed.
5LICENSE:${PN} = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack"
6LICENSE:${PN}-dbg = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack"
7LICENSE:${PN}-dev = "MPL-2.0 & Apache-2.0 & BSD-3-Clause & Minpack"
4LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \ 8LIC_FILES_CHKSUM = "file://COPYING.MPL2;md5=815ca599c9df247a0c7f619bab123dad \
9 file://COPYING.APACHE;md5=8de23b8e93c63005353056b2475e9aa5 \
5 file://COPYING.BSD;md5=2dd0510ee95e59ca28834b875bc96596 \ 10 file://COPYING.BSD;md5=2dd0510ee95e59ca28834b875bc96596 \
6 file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504 \ 11 file://COPYING.GPL;md5=d32239bcb673463ab874e80d47fae504 \
7 file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
8 file://COPYING.MINPACK;md5=71d91b0f75ce79a75d3108a72bef8116 \ 12 file://COPYING.MINPACK;md5=71d91b0f75ce79a75d3108a72bef8116 \
9" 13"
10 14
11SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=http;branch=3.4 \ 15SRC_URI = "git://gitlab.com/libeigen/eigen.git;protocol=http;branch=3.4 \
12 file://0001-Default-eigen_packet_wrapper-constructor.patch \ 16 file://0001-Default-eigen_packet_wrapper-constructor.patch \
17 file://0002-Remove-LGPL-Code-and-references.patch \
13" 18"
14 19
15SRCREV = "3147391d946bb4b6c68edd901f2add6ac1f31f8c" 20SRCREV = "3147391d946bb4b6c68edd901f2add6ac1f31f8c"
16 21
17S = "${WORKDIR}/git"
18 22
19inherit cmake 23inherit cmake
20 24
diff --git a/meta-oe/recipes-support/libestr/libestr_0.1.11.bb b/meta-oe/recipes-support/libestr/libestr_0.1.11.bb
index 2ebf2757d7..2490947f5d 100644
--- a/meta-oe/recipes-support/libestr/libestr_0.1.11.bb
+++ b/meta-oe/recipes-support/libestr/libestr_0.1.11.bb
@@ -5,9 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9d6c993486c18262afba4ca5bcb894d0"
5 5
6SRC_URI = "http://libestr.adiscon.com/files/download/${BP}.tar.gz" 6SRC_URI = "http://libestr.adiscon.com/files/download/${BP}.tar.gz"
7 7
8SRC_URI[md5sum] = "1f25a2332750d4bfacfb314235fedff0"
9SRC_URI[sha256sum] = "46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024" 8SRC_URI[sha256sum] = "46632b2785ff4a231dcf241eeb0dcb5fc0c7d4da8ee49cf5687722cdbe8b2024"
10 9
11UPSTREAM_CHECK_URI = "http://libestr.adiscon.com/download/" 10UPSTREAM_CHECK_URI = "http://libestr.adiscon.com/download/"
12 11
12CVE_PRODUCT = "adiscon:libestr"
13
13inherit autotools 14inherit autotools
diff --git a/meta-oe/recipes-support/libfann/libfann_git.bb b/meta-oe/recipes-support/libfann/libfann_git.bb
index 40f91ac43d..2f68ea95a8 100644
--- a/meta-oe/recipes-support/libfann/libfann_git.bb
+++ b/meta-oe/recipes-support/libfann/libfann_git.bb
@@ -14,6 +14,5 @@ SRC_URI = "git://github.com/libfann/fann.git;branch=master;protocol=https \
14 14
15PV = "2.2.0+git" 15PV = "2.2.0+git"
16 16
17S = "${WORKDIR}/git"
18 17
19EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" 18EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}"
diff --git a/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb b/meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb
index d453d0ab97..09d34603d6 100644
--- a/meta-oe/recipes-support/libfido2/libfido2_1.14.0.bb
+++ b/meta-oe/recipes-support/libfido2/libfido2_1.16.0.bb
@@ -7,10 +7,10 @@ LICENSE = "BSD-2-Clause"
7SECTION = "libs/network" 7SECTION = "libs/network"
8DEPENDS = "libcbor openssl zlib udev" 8DEPENDS = "libcbor openssl zlib udev"
9 9
10LIC_FILES_CHKSUM = "file://LICENSE;md5=5f14cb32bdf2b87063e0a2d20c4178d0" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=20be19aaa222f71738712b26f7f8717b"
11 11
12SRC_URI = "https://developers.yubico.com/${BPN}/Releases/${BPN}-${PV}.tar.gz" 12SRC_URI = "https://developers.yubico.com/${BPN}/Releases/${BPN}-${PV}.tar.gz"
13SRC_URI[sha256sum] = "3601792e320032d428002c4cce8499a4c7b803319051a25a0c9f1f138ffee45a" 13SRC_URI[sha256sum] = "8c2b6fb279b5b42e9ac92ade71832e485852647b53607c43baaafbbcecea04e4"
14 14
15inherit cmake pkgconfig manpages 15inherit cmake pkgconfig manpages
16 16
diff --git a/meta-oe/recipes-support/libftdi/files/CMakeLists-txt-fix-paths-when-FTDIPP-is-set.patch b/meta-oe/recipes-support/libftdi/files/CMakeLists-txt-fix-paths-when-FTDIPP-is-set.patch
new file mode 100644
index 0000000000..b2735f8059
--- /dev/null
+++ b/meta-oe/recipes-support/libftdi/files/CMakeLists-txt-fix-paths-when-FTDIPP-is-set.patch
@@ -0,0 +1,45 @@
1From cdb28383402d248dbc6062f4391b038375c52385 Mon Sep 17 00:00:00 2001
2From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3Date: Fri, 17 Jul 2020 21:25:03 +0200
4Subject: [PATCH] CMakeLists.txt: fix paths when FTDIPP is set
5
6Use the same project name (i.e. libftdi1 and not libftdipp1) when FTDIPP
7is enabled as suggested by Aurelien Jarno in
8http://developer.intra2net.com/mailarchive/html/libftdi/2020/msg00044.html
9
10Without this change, the libftdi1.pc config file defines the include
11path as /usr/local/include/libftdipp1 while the ftdi.h file is actually
12installed in /usr/local/include/libftdi1
13
14This is an issue for example for libsigrok which will fail on:
15
16In file included from src/hardware/asix-sigma/protocol.c:27:
17src/hardware/asix-sigma/protocol.h:28:10: fatal error: ftdi.h: No such file or directory
18 28 | #include <ftdi.h>
19 | ^~~~~~~~
20
21Fixes:
22 - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe
23
24Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
25Upstream-Status: Backport [http://developer.intra2net.com/git/?p=libftdi;a=patch;h=cdb28383402d248dbc6062f4391b038375c52385]
26---
27 CMakeLists.txt | 2 +-
28 1 files changed, 1 insertions(+), 1 deletions(-)
29
30diff --git a/CMakeLists.txt b/CMakeLists.txt
31index 5aecafc..3b0b87c 100644
32--- a/CMakeLists.txt
33+++ b/CMakeLists.txt
34@@ -136,7 +136,7 @@ endif ()
35
36 add_subdirectory(src)
37 if ( FTDIPP )
38- project(libftdipp1 C CXX)
39+ project(libftdi1 C CXX)
40 add_subdirectory(ftdipp)
41 endif ()
42 if ( PYTHON_BINDINGS )
43--
441.7.1
45
diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
index eae1c02f04..8c30eca0e7 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.5.bb
@@ -4,17 +4,22 @@ including the popular bitbang mode."
4HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/" 4HOMEPAGE = "http://www.intra2net.com/en/developer/libftdi/"
5SECTION = "libs" 5SECTION = "libs"
6LICENSE = "LGPL-2.1-only & GPL-2.0-only" 6LICENSE = "LGPL-2.1-only & GPL-2.0-only"
7LIC_FILES_CHKSUM= "\ 7LIC_FILES_CHKSUM = "\
8 file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \ 8 file://COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe \
9 file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ 9 file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
10" 10"
11 11
12DEPENDS = "libusb1 python3 swig-native" 12DEPENDS = "libusb1 python3 swig-native"
13 13
14SRC_URI = "http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2" 14SRC_URI = "\
15 http://www.intra2net.com/en/developer/${BPN}/download/${BPN}1-${PV}.tar.bz2 \
16 file://CMakeLists-txt-fix-paths-when-FTDIPP-is-set.patch \
17"
15SRC_URI[sha256sum] = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049" 18SRC_URI[sha256sum] = "7c7091e9c86196148bd41177b4590dccb1510bfe6cea5bf7407ff194482eb049"
16 19
17S = "${WORKDIR}/${BPN}1-${PV}" 20UPSTREAM_CHECK_URI = "http://www.intra2net.com/en/developer/libftdi/download.php"
21
22S = "${UNPACKDIR}/${BPN}1-${PV}"
18 23
19inherit cmake binconfig pkgconfig python3native 24inherit cmake binconfig pkgconfig python3native
20 25
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch
deleted file mode 100644
index ac1eff510b..0000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch
+++ /dev/null
@@ -1,530 +0,0 @@
1From 0d3e1b3923a1fac80e9d75d8b5e33cd36f4fe659 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 31 May 2024 09:03:22 -0700
4Subject: [PATCH] bindings: cxx: Migrate C++ tests to use Catch2 v3
5
6Catch2 v3.x has API changes which needs to be addressed
7in the tests themselves, hence this changeset is to fix
8those.
9
10Upstream-Status: Submitted [https://lore.kernel.org/linux-gpio/20240531184223.3949069-1-raj.khem@gmail.com/T/#u]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
13---
14 bindings/cxx/tests/Makefile.am | 2 +-
15 bindings/cxx/tests/gpiod-cxx-test-main.cpp | 3 +--
16 bindings/cxx/tests/helpers.hpp | 8 +++---
17 bindings/cxx/tests/tests-chip-info.cpp | 30 ++++++++++-----------
18 bindings/cxx/tests/tests-chip.cpp | 14 +++++-----
19 bindings/cxx/tests/tests-edge-event.cpp | 2 +-
20 bindings/cxx/tests/tests-info-event.cpp | 2 +-
21 bindings/cxx/tests/tests-line-config.cpp | 2 +-
22 bindings/cxx/tests/tests-line-info.cpp | 22 +++++++--------
23 bindings/cxx/tests/tests-line-request.cpp | 16 +++++------
24 bindings/cxx/tests/tests-line-settings.cpp | 2 +-
25 bindings/cxx/tests/tests-line.cpp | 2 +-
26 bindings/cxx/tests/tests-misc.cpp | 2 +-
27 bindings/cxx/tests/tests-request-config.cpp | 10 +++----
28 configure.ac | 4 +--
29 15 files changed, 60 insertions(+), 61 deletions(-)
30
31diff --git a/bindings/cxx/tests/Makefile.am b/bindings/cxx/tests/Makefile.am
32index fbf80a1..d9284da 100644
33--- a/bindings/cxx/tests/Makefile.am
34+++ b/bindings/cxx/tests/Makefile.am
35@@ -4,7 +4,7 @@
36 AM_CXXFLAGS = -I$(top_srcdir)/bindings/cxx/ -I$(top_srcdir)/include
37 AM_CXXFLAGS += -I$(top_srcdir)/tests/gpiosim/
38 AM_CXXFLAGS += -Wall -Wextra -g -std=gnu++17 $(CATCH2_CFLAGS)
39-AM_LDFLAGS = -pthread
40+AM_LDFLAGS = -pthread $(CATCH2_LIBS)
41 LDADD = $(top_builddir)/bindings/cxx/libgpiodcxx.la
42 LDADD += $(top_builddir)/tests/gpiosim/libgpiosim.la
43
44diff --git a/bindings/cxx/tests/gpiod-cxx-test-main.cpp b/bindings/cxx/tests/gpiod-cxx-test-main.cpp
45index 11bf8e5..ec48286 100644
46--- a/bindings/cxx/tests/gpiod-cxx-test-main.cpp
47+++ b/bindings/cxx/tests/gpiod-cxx-test-main.cpp
48@@ -1,5 +1,4 @@
49 // SPDX-License-Identifier: GPL-2.0-or-later
50 // SPDX-FileCopyrightText: 2017-2021 Bartosz Golaszewski <bartekgola@gmail.com>
51
52-#define CATCH_CONFIG_MAIN
53-#include <catch2/catch.hpp>
54+#include <catch2/catch_all.hpp>
55diff --git a/bindings/cxx/tests/helpers.hpp b/bindings/cxx/tests/helpers.hpp
56index 62d9827..62bbdf5 100644
57--- a/bindings/cxx/tests/helpers.hpp
58+++ b/bindings/cxx/tests/helpers.hpp
59@@ -4,13 +4,13 @@
60 #ifndef __GPIOD_CXX_TEST_HELPERS_HPP__
61 #define __GPIOD_CXX_TEST_HELPERS_HPP__
62
63-#include <catch2/catch.hpp>
64+#include <catch2/catch_all.hpp>
65 #include <regex>
66 #include <string>
67 #include <sstream>
68 #include <system_error>
69
70-class system_error_matcher : public Catch::MatcherBase<::std::system_error>
71+class system_error_matcher : public Catch::Matchers::MatcherBase<::std::system_error>
72 {
73 public:
74 explicit system_error_matcher(int expected_errno);
75@@ -21,7 +21,7 @@ private:
76 ::std::error_condition _m_cond;
77 };
78
79-class regex_matcher : public Catch::MatcherBase<::std::string>
80+class regex_matcher : public Catch::Matchers::MatcherBase<::std::string>
81 {
82 public:
83 explicit regex_matcher(const ::std::string& pattern);
84@@ -33,7 +33,7 @@ private:
85 ::std::string _m_repr;
86 };
87
88-template<class T> class stringify_matcher : public Catch::MatcherBase<T>
89+template<class T> class stringify_matcher : public Catch::Matchers::MatcherBase<T>
90 {
91 public:
92 explicit stringify_matcher(const ::std::string& expected) : _m_expected(expected)
93diff --git a/bindings/cxx/tests/tests-chip-info.cpp b/bindings/cxx/tests/tests-chip-info.cpp
94index 717c387..2c54f53 100644
95--- a/bindings/cxx/tests/tests-chip-info.cpp
96+++ b/bindings/cxx/tests/tests-chip-info.cpp
97@@ -1,7 +1,7 @@
98 // SPDX-License-Identifier: GPL-2.0-or-later
99 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
100
101-#include <catch2/catch.hpp>
102+#include <catch2/catch_all.hpp>
103 #include <gpiod.hpp>
104 #include <sstream>
105
106@@ -24,12 +24,12 @@ TEST_CASE("chip_info properties can be read", "[chip-info][chip]")
107
108 SECTION("get chip name")
109 {
110- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
111+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
112 }
113
114 SECTION("get chip label")
115 {
116- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
117+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
118 }
119
120 SECTION("get num_lines")
121@@ -52,12 +52,12 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
122 {
123 auto copy(info);
124
125- REQUIRE_THAT(copy.name(), Catch::Equals(sim.name()));
126- REQUIRE_THAT(copy.label(), Catch::Equals("foobar"));
127+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals(sim.name()));
128+ REQUIRE_THAT(copy.label(), Catch::Matchers::Equals("foobar"));
129 REQUIRE(copy.num_lines() == 4);
130
131- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
132- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
133+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
134+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
135 REQUIRE(info.num_lines() == 4);
136 }
137
138@@ -67,12 +67,12 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
139
140 copy = info;
141
142- REQUIRE_THAT(copy.name(), Catch::Equals(sim.name()));
143- REQUIRE_THAT(copy.label(), Catch::Equals("foobar"));
144+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals(sim.name()));
145+ REQUIRE_THAT(copy.label(), Catch::Matchers::Equals("foobar"));
146 REQUIRE(copy.num_lines() == 4);
147
148- REQUIRE_THAT(info.name(), Catch::Equals(sim.name()));
149- REQUIRE_THAT(info.label(), Catch::Equals("foobar"));
150+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals(sim.name()));
151+ REQUIRE_THAT(info.label(), Catch::Matchers::Equals("foobar"));
152 REQUIRE(info.num_lines() == 4);
153 }
154
155@@ -80,8 +80,8 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
156 {
157 auto moved(std::move(info));
158
159- REQUIRE_THAT(moved.name(), Catch::Equals(sim.name()));
160- REQUIRE_THAT(moved.label(), Catch::Equals("foobar"));
161+ REQUIRE_THAT(moved.name(), Catch::Matchers::Equals(sim.name()));
162+ REQUIRE_THAT(moved.label(), Catch::Matchers::Equals("foobar"));
163 REQUIRE(moved.num_lines() == 4);
164 }
165
166@@ -91,8 +91,8 @@ TEST_CASE("chip_info can be copied and moved", "[chip-info]")
167
168 moved = ::std::move(info);
169
170- REQUIRE_THAT(moved.name(), Catch::Equals(sim.name()));
171- REQUIRE_THAT(moved.label(), Catch::Equals("foobar"));
172+ REQUIRE_THAT(moved.name(), Catch::Matchers::Equals(sim.name()));
173+ REQUIRE_THAT(moved.label(), Catch::Matchers::Equals("foobar"));
174 REQUIRE(moved.num_lines() == 4);
175 }
176 }
177diff --git a/bindings/cxx/tests/tests-chip.cpp b/bindings/cxx/tests/tests-chip.cpp
178index c5ec19b..1ab7add 100644
179--- a/bindings/cxx/tests/tests-chip.cpp
180+++ b/bindings/cxx/tests/tests-chip.cpp
181@@ -1,7 +1,7 @@
182 // SPDX-License-Identifier: GPL-2.0-or-later
183 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
184
185-#include <catch2/catch.hpp>
186+#include <catch2/catch_all.hpp>
187 #include <gpiod.hpp>
188 #include <sstream>
189 #include <system_error>
190@@ -48,9 +48,9 @@ TEST_CASE("chip constructor works", "[chip]")
191 .build();
192
193 ::gpiod::chip first(sim.dev_path());
194- REQUIRE_THAT(first.get_info().label(), Catch::Equals("foobar"));
195+ REQUIRE_THAT(first.get_info().label(), Catch::Matchers::Equals("foobar"));
196 ::gpiod::chip second(::std::move(first));
197- REQUIRE_THAT(second.get_info().label(), Catch::Equals("foobar"));
198+ REQUIRE_THAT(second.get_info().label(), Catch::Matchers::Equals("foobar"));
199 }
200 }
201
202@@ -70,9 +70,9 @@ TEST_CASE("chip operators work", "[chip]")
203
204 ::gpiod::chip moved_chip(moved_sim.dev_path());
205
206- REQUIRE_THAT(chip.get_info().label(), Catch::Equals("foobar"));
207+ REQUIRE_THAT(chip.get_info().label(), Catch::Matchers::Equals("foobar"));
208 chip = ::std::move(moved_chip);
209- REQUIRE_THAT(chip.get_info().label(), Catch::Equals("moved"));
210+ REQUIRE_THAT(chip.get_info().label(), Catch::Matchers::Equals("moved"));
211 }
212
213 SECTION("boolean operator")
214@@ -94,7 +94,7 @@ TEST_CASE("chip properties can be read", "[chip]")
215
216 SECTION("get device path")
217 {
218- REQUIRE_THAT(chip.path(), Catch::Equals(sim.dev_path()));
219+ REQUIRE_THAT(chip.path(), Catch::Matchers::Equals(sim.dev_path()));
220 }
221
222 SECTION("get file descriptor")
223@@ -169,7 +169,7 @@ TEST_CASE("stream insertion operator works for chip", "[chip]")
224 "\", label=\"foobar\", num_lines=4))";
225
226 buf << chip;
227- REQUIRE_THAT(buf.str(), Catch::Equals(expected.str()));
228+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected.str()));
229 }
230
231 SECTION("closed chip")
232diff --git a/bindings/cxx/tests/tests-edge-event.cpp b/bindings/cxx/tests/tests-edge-event.cpp
233index 19a6ab3..db387be 100644
234--- a/bindings/cxx/tests/tests-edge-event.cpp
235+++ b/bindings/cxx/tests/tests-edge-event.cpp
236@@ -1,7 +1,7 @@
237 // SPDX-License-Identifier: GPL-2.0-or-later
238 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
239
240-#include <catch2/catch.hpp>
241+#include <catch2/catch_all.hpp>
242 #include <chrono>
243 #include <gpiod.hpp>
244 #include <sstream>
245diff --git a/bindings/cxx/tests/tests-info-event.cpp b/bindings/cxx/tests/tests-info-event.cpp
246index 21c0ef0..f7ae309 100644
247--- a/bindings/cxx/tests/tests-info-event.cpp
248+++ b/bindings/cxx/tests/tests-info-event.cpp
249@@ -1,7 +1,7 @@
250 // SPDX-License-Identifier: GPL-2.0-or-later
251 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
252
253-#include <catch2/catch.hpp>
254+#include <catch2/catch_all.hpp>
255 #include <chrono>
256 #include <filesystem>
257 #include <gpiod.hpp>
258diff --git a/bindings/cxx/tests/tests-line-config.cpp b/bindings/cxx/tests/tests-line-config.cpp
259index 5e439a1..2f510fb 100644
260--- a/bindings/cxx/tests/tests-line-config.cpp
261+++ b/bindings/cxx/tests/tests-line-config.cpp
262@@ -1,7 +1,7 @@
263 // SPDX-License-Identifier: GPL-2.0-or-later
264 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
265
266-#include <catch2/catch.hpp>
267+#include <catch2/catch_all.hpp>
268 #include <gpiod.hpp>
269
270 #include "gpiosim.hpp"
271diff --git a/bindings/cxx/tests/tests-line-info.cpp b/bindings/cxx/tests/tests-line-info.cpp
272index 21211f2..8589da3 100644
273--- a/bindings/cxx/tests/tests-line-info.cpp
274+++ b/bindings/cxx/tests/tests-line-info.cpp
275@@ -1,7 +1,7 @@
276 // SPDX-License-Identifier: GPL-2.0-or-later
277 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
278
279-#include <catch2/catch.hpp>
280+#include <catch2/catch_all.hpp>
281 #include <gpiod.hpp>
282 #include <string>
283
284@@ -35,9 +35,9 @@ TEST_CASE("get_line_info() works", "[chip][line-info]")
285 auto info = chip.get_line_info(0);
286
287 REQUIRE(info.offset() == 0);
288- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
289+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
290 REQUIRE(info.used());
291- REQUIRE_THAT(info.consumer(), Catch::Equals("hog"));
292+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("hog"));
293 REQUIRE(info.direction() == ::gpiod::line::direction::OUTPUT);
294 REQUIRE_FALSE(info.active_low());
295 REQUIRE(info.bias() == ::gpiod::line::bias::UNKNOWN);
296@@ -74,9 +74,9 @@ TEST_CASE("line properties can be retrieved", "[line-info]")
297 auto info6 = chip.get_line_info(6);
298
299 REQUIRE(info4.offset() == 4);
300- REQUIRE_THAT(info4.name(), Catch::Equals("baz"));
301+ REQUIRE_THAT(info4.name(), Catch::Matchers::Equals("baz"));
302 REQUIRE(info4.used());
303- REQUIRE_THAT(info4.consumer(), Catch::Equals("hog4"));
304+ REQUIRE_THAT(info4.consumer(), Catch::Matchers::Equals("hog4"));
305 REQUIRE(info4.direction() == direction::OUTPUT);
306 REQUIRE(info4.edge_detection() == edge::NONE);
307 REQUIRE_FALSE(info4.active_low());
308@@ -102,10 +102,10 @@ TEST_CASE("line_info can be copied and moved")
309 {
310 auto copy(info);
311 REQUIRE(copy.offset() == 2);
312- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
313+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
314 /* info can still be used */
315 REQUIRE(info.offset() == 2);
316- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
317+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
318 }
319
320 SECTION("assignment operator works")
321@@ -113,17 +113,17 @@ TEST_CASE("line_info can be copied and moved")
322 auto copy = chip.get_line_info(0);
323 copy = info;
324 REQUIRE(copy.offset() == 2);
325- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
326+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
327 /* info can still be used */
328 REQUIRE(info.offset() == 2);
329- REQUIRE_THAT(info.name(), Catch::Equals("foobar"));
330+ REQUIRE_THAT(info.name(), Catch::Matchers::Equals("foobar"));
331 }
332
333 SECTION("move constructor works")
334 {
335 auto copy(::std::move(info));
336 REQUIRE(copy.offset() == 2);
337- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
338+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
339 }
340
341 SECTION("move assignment operator works")
342@@ -131,7 +131,7 @@ TEST_CASE("line_info can be copied and moved")
343 auto copy = chip.get_line_info(0);
344 copy = ::std::move(info);
345 REQUIRE(copy.offset() == 2);
346- REQUIRE_THAT(copy.name(), Catch::Equals("foobar"));
347+ REQUIRE_THAT(copy.name(), Catch::Matchers::Equals("foobar"));
348 }
349 }
350
351diff --git a/bindings/cxx/tests/tests-line-request.cpp b/bindings/cxx/tests/tests-line-request.cpp
352index 9632ae0..af8b979 100644
353--- a/bindings/cxx/tests/tests-line-request.cpp
354+++ b/bindings/cxx/tests/tests-line-request.cpp
355@@ -1,7 +1,7 @@
356 // SPDX-License-Identifier: GPL-2.0-or-later
357 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
358
359-#include <catch2/catch.hpp>
360+#include <catch2/catch_all.hpp>
361 #include <gpiod.hpp>
362 #include <sstream>
363 #include <stdexcept>
364@@ -20,7 +20,7 @@ using pull = ::gpiosim::chip::pull;
365
366 namespace {
367
368-class value_matcher : public Catch::MatcherBase<value>
369+class value_matcher : public Catch::Matchers::MatcherBase<value>
370 {
371 public:
372 value_matcher(pull pull, bool active_low = false)
373@@ -117,7 +117,7 @@ TEST_CASE("consumer string is set correctly", "[line-request]")
374 auto info = chip.get_line_info(2);
375
376 REQUIRE(info.used());
377- REQUIRE_THAT(info.consumer(), Catch::Equals("foobar"));
378+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("foobar"));
379 }
380
381 SECTION("empty consumer")
382@@ -130,7 +130,7 @@ TEST_CASE("consumer string is set correctly", "[line-request]")
383 auto info = chip.get_line_info(2);
384
385 REQUIRE(info.used());
386- REQUIRE_THAT(info.consumer(), Catch::Equals("?"));
387+ REQUIRE_THAT(info.consumer(), Catch::Matchers::Equals("?"));
388 }
389 }
390
391@@ -380,7 +380,7 @@ TEST_CASE("line_request can be moved", "[line-request]")
392 auto moved(::std::move(request));
393
394 REQUIRE(moved.fd() == fd);
395- REQUIRE_THAT(moved.offsets(), Catch::Equals(offs));
396+ REQUIRE_THAT(moved.offsets(), Catch::Matchers::Equals(offs));
397 }
398
399 SECTION("move assignment operator works")
400@@ -388,7 +388,7 @@ TEST_CASE("line_request can be moved", "[line-request]")
401 another = ::std::move(request);
402
403 REQUIRE(another.fd() == fd);
404- REQUIRE_THAT(another.offsets(), Catch::Equals(offs));
405+ REQUIRE_THAT(another.offsets(), Catch::Matchers::Equals(offs));
406 }
407 }
408
409@@ -484,7 +484,7 @@ TEST_CASE("line_request stream insertion operator works", "[line-request]")
410 {
411 buf << request;
412
413- REQUIRE_THAT(buf.str(), Catch::Equals(expected.str()));
414+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected.str()));
415 }
416
417 SECTION("request released")
418@@ -493,7 +493,7 @@ TEST_CASE("line_request stream insertion operator works", "[line-request]")
419
420 buf << request;
421
422- REQUIRE_THAT(buf.str(), Catch::Equals("gpiod::line_request(released)"));
423+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals("gpiod::line_request(released)"));
424 }
425 }
426
427diff --git a/bindings/cxx/tests/tests-line-settings.cpp b/bindings/cxx/tests/tests-line-settings.cpp
428index dc821bb..2690331 100644
429--- a/bindings/cxx/tests/tests-line-settings.cpp
430+++ b/bindings/cxx/tests/tests-line-settings.cpp
431@@ -1,7 +1,7 @@
432 // SPDX-License-Identifier: GPL-2.0-or-later
433 // SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
434
435-#include <catch2/catch.hpp>
436+#include <catch2/catch_all.hpp>
437 #include <gpiod.hpp>
438
439 #include "helpers.hpp"
440diff --git a/bindings/cxx/tests/tests-line.cpp b/bindings/cxx/tests/tests-line.cpp
441index 319012a..abd0e08 100644
442--- a/bindings/cxx/tests/tests-line.cpp
443+++ b/bindings/cxx/tests/tests-line.cpp
444@@ -1,7 +1,7 @@
445 // SPDX-License-Identifier: GPL-2.0-or-later
446 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
447
448-#include <catch2/catch.hpp>
449+#include <catch2/catch_all.hpp>
450 #include <gpiod.hpp>
451
452 #include "helpers.hpp"
453diff --git a/bindings/cxx/tests/tests-misc.cpp b/bindings/cxx/tests/tests-misc.cpp
454index f06dc39..33fc3fa 100644
455--- a/bindings/cxx/tests/tests-misc.cpp
456+++ b/bindings/cxx/tests/tests-misc.cpp
457@@ -1,7 +1,7 @@
458 // SPDX-License-Identifier: GPL-2.0-or-later
459 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
460
461-#include <catch2/catch.hpp>
462+#include <catch2/catch_all.hpp>
463 #include <filesystem>
464 #include <gpiod.hpp>
465 #include <string>
466diff --git a/bindings/cxx/tests/tests-request-config.cpp b/bindings/cxx/tests/tests-request-config.cpp
467index 66eb748..d71e91b 100644
468--- a/bindings/cxx/tests/tests-request-config.cpp
469+++ b/bindings/cxx/tests/tests-request-config.cpp
470@@ -1,7 +1,7 @@
471 // SPDX-License-Identifier: GPL-2.0-or-later
472 // SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl>
473
474-#include <catch2/catch.hpp>
475+#include <catch2/catch_all.hpp>
476 #include <cstddef>
477 #include <gpiod.hpp>
478 #include <string>
479@@ -33,7 +33,7 @@ TEST_CASE("request_config can be moved", "[request-config]")
480 SECTION("move constructor works")
481 {
482 auto moved(::std::move(cfg));
483- REQUIRE_THAT(moved.consumer(), Catch::Equals("foobar"));
484+ REQUIRE_THAT(moved.consumer(), Catch::Matchers::Equals("foobar"));
485 REQUIRE(moved.event_buffer_size() == 64);
486 }
487
488@@ -43,7 +43,7 @@ TEST_CASE("request_config can be moved", "[request-config]")
489
490 moved = ::std::move(cfg);
491
492- REQUIRE_THAT(moved.consumer(), Catch::Equals("foobar"));
493+ REQUIRE_THAT(moved.consumer(), Catch::Matchers::Equals("foobar"));
494 REQUIRE(moved.event_buffer_size() == 64);
495 }
496 }
497@@ -55,7 +55,7 @@ TEST_CASE("request_config mutators work", "[request-config]")
498 SECTION("set consumer")
499 {
500 cfg.set_consumer("foobar");
501- REQUIRE_THAT(cfg.consumer(), Catch::Equals("foobar"));
502+ REQUIRE_THAT(cfg.consumer(), Catch::Matchers::Equals("foobar"));
503 }
504
505 SECTION("set event_buffer_size")
506@@ -77,7 +77,7 @@ TEST_CASE("request_config stream insertion operator works", "[request-config]")
507
508 ::std::string expected("gpiod::request_config(consumer='foobar', event_buffer_size=32)");
509
510- REQUIRE_THAT(buf.str(), Catch::Equals(expected));
511+ REQUIRE_THAT(buf.str(), Catch::Matchers::Equals(expected));
512 }
513
514 } /* namespace */
515diff --git a/configure.ac b/configure.ac
516index a2370c5..216007e 100644
517--- a/configure.ac
518+++ b/configure.ac
519@@ -206,9 +206,9 @@ then
520
521 if test "x$with_tests" = xtrue
522 then
523- PKG_CHECK_MODULES([CATCH2], [catch2],, [
524+ PKG_CHECK_MODULES([CATCH2], [catch2-with-main],, [
525 AC_LANG_PUSH([C++])
526- AC_CHECK_HEADERS([catch2/catch.hpp], [], [HEADER_NOT_FOUND_CXX([catch2/catch.hpp])])
527+ AC_CHECK_HEADERS([catch2/catch_all.hpp], [], [HEADER_NOT_FOUND_CXX([catch2/catch_all.hpp])])
528 AC_LANG_POP([C++])
529 ])
530 fi
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init
new file mode 100644
index 0000000000..e36755eea2
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/gpio-manager.init
@@ -0,0 +1,76 @@
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides: gpio-manager
4# Required-Start: $remote_fs $syslog
5# Required-Stop: $remote_fs $syslog
6# Default-Start: 2 3 4 5
7# Default-Stop: 1
8# Short-Description: Centralized GPIO manager daemon
9### END INIT INFO
10#
11# -*- coding: utf-8 -*-
12# Debian init.d script for gpio-manager
13# Copyright (c) 2024 Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
14
15# set -e
16
17# Source function library.
18. /etc/init.d/functions
19
20DAEMON=/usr/bin/gpio-manager
21NAME=gpio-manager
22PIDFILE=/var/run/gpio-manager/pid
23DESC="GPIO manager daemon"
24
25test -x $DAEMON || exit 0
26test "$ENABLED" != "0" || exit 0
27
28do_start()
29{
30 mkdir -p "`dirname $PIDFILE`"
31 if [ -e $PIDFILE ]; then
32 PIDDIR=/proc/$(cat $PIDFILE)
33 if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then
34 echo "$DESC already started; not starting."
35 else
36 echo "Removing stale PID file $PIDFILE."
37 rm -f $PIDFILE
38 fi
39 fi
40
41 echo -n "Starting $DESC: "
42 start-stop-daemon --user gpio-manager --background --start --quiet --make-pidfile --pidfile $PIDFILE --exec $DAEMON
43 echo "$NAME."
44}
45
46do_stop()
47{
48 echo -n "Stopping $DESC: "
49 start-stop-daemon --stop --quiet --pidfile $PIDFILE
50 echo "$NAME."
51 rm -f $PIDFILE
52}
53
54case "$1" in
55 start)
56 do_start
57 ;;
58 stop)
59 do_stop
60 ;;
61 status)
62 status $DAEMON
63 exit $?
64 ;;
65 restart)
66 do_stop
67 sleep 1
68 do_start
69 ;;
70 *)
71 echo "Usage: /etc/init.d/$NAME {start|stop|status|restart}" >&2
72 exit 1
73 ;;
74esac
75
76exit 0
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
index 29ec0d1027..eae172116f 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
+++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest
@@ -1,24 +1,43 @@
1#!/bin/sh 1#!/bin/sh
2 2
3testbins="gpiod-test gpio-tools-test.bash gpiod-cxx-test"
4
5ptestdir=$(dirname "$(readlink -f "$0")") 3ptestdir=$(dirname "$(readlink -f "$0")")
6cd $ptestdir/tests 4cd $ptestdir/tests
7 5
6export GPIODBUS_TEST_DAEMON_PATH="$ptestdir/tests/gpio-manager"
7export PATH="$ptestdir/tests/:$PATH"
8
8# libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to 9# libgpiod v2 uses gpio-sim - a configfs-based testing module. We need to
9# make sure configfs is mounted before running any tests. 10# make sure configfs is mounted before running any tests.
10modprobe configfs 11modprobe configfs
11mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config 12mountpoint /sys/kernel/config > /dev/null || mount -t configfs configfs /sys/kernel/config
12 13
13for testbin in $testbins; do 14# Make sure the daemon is not running during tests.
14 if test -e ./$testbin; then 15systemctl stop gpio-manager 2> /dev/null > /dev/null
15 ./$testbin > ./$testbin.out 2>&1 16service gpio-manager stop 2> /dev/null > /dev/null
16 if [ $? -ne 0 ]; then 17
17 echo "FAIL: $testbin" 18run_one_test() {
18 else 19 testbin="$1"
19 echo "PASS: $testbin" 20
20 fi 21 ./$testbin > ./$testbin.out 2>&1
22 if [ $? -ne 0 ]; then
23 echo "FAIL: $testbin"
21 else 24 else
22 echo "SKIP: $testbin" 25 echo "PASS: $testbin"
23 fi 26 fi
24done 27}
28
29run_one_test gpiod-test
30run_one_test gpio-tools-test.bash
31run_one_test gpiod-cxx-test
32run_one_test gpiod-glib-test
33
34# Wait for the leftover uevents to be emitted before running DBus tests.
35udevadm settle
36run_one_test gpiodbus-test
37
38udevadm settle
39gpio-manager 2> /dev/null > /dev/null &
40GPIO_MANAGER_PID=$!
41run_one_test gpiocli-test.bash
42kill $GPIO_MANAGER_PID
43wait $GPIO_MANAGER_PID
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc
index 7b68f77d20..fb309c5644 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod.inc
+++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc
@@ -53,4 +53,3 @@ do_install_ptest() {
53 install ${B}/tools/.libs/$(basename $tool) ${D}${PTEST_PATH}/tests/ 53 install ${B}/tools/.libs/$(basename $tool) ${D}${PTEST_PATH}/tests/
54 done 54 done
55} 55}
56
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
index 0795839492..009cf9897a 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.5.bb
@@ -7,17 +7,13 @@ SRC_URI += "file://0001-bindings-cxx-disable-tests.patch"
7 7
8SRC_URI[sha256sum] = "ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc" 8SRC_URI[sha256sum] = "ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc"
9 9
10FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-1.x:" 10FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-1.x:"
11 11
12inherit python3native 12inherit python3native
13 13
14PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2" 14PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev glib-2.0 catch2"
15PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3" 15PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3"
16 16
17# Always build tools - they don't have any additional
18# requirements over the library.
19EXTRA_OECONF = "--enable-tools"
20
21PACKAGES =+ "${PN}-python" 17PACKAGES =+ "${PN}-python"
22FILES:${PN}-tools += "${bindir}/gpiofind" 18FILES:${PN}-tools += "${bindir}/gpiofind"
23FILES:${PN}-ptest += " \ 19FILES:${PN}-ptest += " \
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb
deleted file mode 100644
index b4665c1567..0000000000
--- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.2.bb
+++ /dev/null
@@ -1,33 +0,0 @@
1require libgpiod.inc
2
3LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0"
4LIC_FILES_CHKSUM = " \
5 file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \
7 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
8"
9
10FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-2.x:"
11
12SRC_URI += "file://0001-bindings-cxx-Migrate-C-tests-to-use-Catch2-v3.patch"
13SRC_URI[sha256sum] = "7a148a5a7d1c97a1abb40474b9a392b6edd7a42fe077dfd7ff42cfba24308548"
14
15# Enable all project features for ptest
16PACKAGECONFIG[tests] = "--enable-tests --enable-tools --enable-bindings-cxx --enable-gpioset-interactive,--disable-tests,kmod util-linux glib-2.0 catch2 libedit"
17PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
18
19PACKAGES =+ "${PN}-ptest-dev"
20FILES:${PN}-tools += "${bindir}/gpionotify"
21FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
22FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
23
24RDEPENDS:${PN}-ptest += " \
25 ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
26"
27RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"
28
29do_install_ptest:append() {
30 install -m 0755 ${B}/bindings/cxx/tests/.libs/gpiod-cxx-test ${D}${PTEST_PATH}/tests/
31 install -m 0755 ${S}/tools/gpio-tools-test.bash ${D}${PTEST_PATH}/tests/
32 install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h
33}
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb
new file mode 100644
index 0000000000..93c3e3b92d
--- /dev/null
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb
@@ -0,0 +1,104 @@
1require libgpiod.inc
2
3inherit systemd update-rc.d useradd gobject-introspection
4
5LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0"
6LIC_FILES_CHKSUM = " \
7 file://LICENSES/GPL-2.0-or-later.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
8 file://LICENSES/LGPL-2.1-or-later.txt;md5=4b54a1fd55a448865a0b32d41598759d \
9 file://LICENSES/CC-BY-SA-4.0.txt;md5=fba3b94d88bfb9b81369b869a1e9a20f \
10"
11
12FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:"
13
14SRC_URI += "file://gpio-manager.init"
15
16SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18"
17
18# Enable all project features for ptest
19PACKAGECONFIG[tests] = " \
20 --enable-tests --enable-tools --enable-bindings-cxx --enable-bindings-glib --enable-gpioset-interactive --enable-dbus, \
21 --disable-tests, \
22 kmod util-linux glib-2.0 catch2 libedit glib-2.0-native libgudev, \
23 bash ${VIRTUAL-RUNTIME_dbus} glib-2.0-utils libgpiod-manager-cfg shunit2 \
24"
25PACKAGECONFIG[gpioset-interactive] = "--enable-gpioset-interactive,--disable-gpioset-interactive,libedit"
26PACKAGECONFIG[glib] = "--enable-bindings-glib,--disable-bindings-glib,glib-2.0 glib-2.0-native"
27PACKAGECONFIG[dbus] = "--enable-dbus,--disable-dbus,glib-2.0 glib-2.0-native libgudev,${VIRTUAL-RUNTIME_dbus}"
28
29PACKAGES =+ "${PN}-gpiosim ${PN}-glib ${PN}-manager ${PN}-manager-cfg ${PN}-cli"
30FILES:${PN}-tools += "${bindir}/gpionotify"
31FILES:${PN}-gpiosim += "${libdir}/libgpiosim.so.*"
32FILES:${PN}-gpiosim-dev += "${includedir}/gpiosim.h"
33FILES:${PN}-glib += "${libdir}/libgpiod-glib.so.*"
34FILES:${PN}-manager += " \
35 ${bindir}/gpio-manager \
36 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${systemd_system_unitdir}/gpio-manager.service', '', d)} \
37 ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', '${sysconfdir}/init.d/gpio-manager', '', d)} \
38"
39FILES:${PN}-manager-cfg += " \
40 ${sysconfdir}/dbus-1/system.d/io.gpiod1.conf \
41 ${datadir}/dbus-1/interfaces/io.gpiod1.xml \
42 ${nonarch_base_libdir}/udev/rules.d/90-gpio.rules \
43"
44FILES:${PN}-cli += "${bindir}/gpiocli"
45
46RDEPENDS:${PN}-manager += "${VIRTUAL-RUNTIME_dbus} ${PN}-manager-cfg"
47RDEPENDS:${PN}-cli += "${PN}-manager"
48
49SYSTEMD_PACKAGES = "${PN}-manager"
50
51python __anonymous() {
52 distro_features = d.getVar("DISTRO_FEATURES").split()
53 packageconfig = d.getVar("PACKAGECONFIG").split()
54 pn = d.getVar("PN")
55
56 if "systemd" in distro_features and "dbus" in packageconfig:
57 d.appendVar("EXTRA_OECONF", " --enable-systemd")
58 # We need to set it conditionally or else the systemd class will look
59 # for the file that we don't install with systemd support disabled.
60 d.setVar("SYSTEMD_SERVICE:{}-manager".format(pn), "gpio-manager.service")
61 else:
62 d.appendVar("EXTRA_OECONF", " --disable-systemd")
63
64 # Disable gobject introspection set by the bbclass if we don't want it.
65 if not any(cfg in ["glib", "dbus", "ptest"] for cfg in packageconfig):
66 d.setVar("GI_DATA_ENABLED", "False")
67}
68
69UPDATERCPN = "${PN}-manager"
70INITSCRIPT_NAME = "gpio-manager"
71INITSCRIPT_PARAMS = "start 20 2 3 4 5 . stop 20 0 1 6 ."
72
73USERADD_PACKAGES = "${PN}-manager"
74GROUPADD_PARAM:${PN}-manager = "--system gpio"
75USERADD_PARAM:${PN}-manager = "--system -M -s /bin/nologin -g gpio gpio-manager"
76
77RDEPENDS:${PN}-ptest += " \
78 ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
79"
80RRECOMMENDS:${PN}-gpiosim += "kernel-module-gpio-sim kernel-module-configfs"
81INSANE_SKIP:${PN}-ptest += "buildpaths"
82
83do_compile:prepend() {
84 export GIR_EXTRA_LIBS_PATH="${B}/lib/.libs"
85}
86
87do_install:append() {
88 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
89 install -d ${D}${sysconfdir}/init.d
90 install -m 0755 ${UNPACKDIR}/gpio-manager.init ${D}${sysconfdir}/init.d/gpio-manager
91 fi
92}
93
94do_install_ptest:append() {
95 install -m 0755 ${B}/bindings/cxx/tests/.libs/gpiod-cxx-test ${D}${PTEST_PATH}/tests/
96 install -m 0755 ${S}/tools/gpio-tools-test.bash ${D}${PTEST_PATH}/tests/
97 install -m 0644 ${S}/tests/scripts/gpiod-bash-test-helper.inc ${D}${PTEST_PATH}/tests/
98 install -m 0644 ${S}/tests/gpiosim/gpiosim.h ${D}${includedir}/gpiosim.h
99 install -m 0755 ${B}/bindings/glib/tests/.libs/gpiod-glib-test ${D}${PTEST_PATH}/tests/
100 install -m 0755 ${B}/dbus/tests/.libs/gpiodbus-test ${D}${PTEST_PATH}/tests/
101 install -m 0755 ${S}/dbus/client/gpiocli-test.bash ${D}${PTEST_PATH}/tests/
102 install -m 0755 ${B}/dbus/manager/.libs/gpio-manager ${D}${PTEST_PATH}/tests/
103 install -m 0755 ${B}/dbus/client/.libs/gpiocli ${D}${PTEST_PATH}/tests/
104}
diff --git a/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb b/meta-oe/recipes-support/libgusb/libgusb_0.4.9.bb
index 491b6a7a1d..9007574fc6 100644
--- a/meta-oe/recipes-support/libgusb/libgusb_0.3.10.bb
+++ b/meta-oe/recipes-support/libgusb/libgusb_0.4.9.bb
@@ -2,17 +2,19 @@ SUMMARY = "GUsb is a GObject wrapper for libusb1"
2LICENSE = "LGPL-2.1-only" 2LICENSE = "LGPL-2.1-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" 3LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
4 4
5DEPENDS = "glib-2.0 libusb" 5DEPENDS = "glib-2.0 libusb json-glib"
6RDEPENDS:${PN} = "hwdata"
6 7
7inherit meson gobject-introspection gtk-doc gettext vala 8inherit meson gobject-introspection gi-docgen gettext vala pkgconfig
8 9
9PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" 10PACKAGECONFIG:class-target ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}"
10PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" 11PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false"
11 12
12EXTRA_OEMESON:append:class-native = " -Dtests=false -Dintrospection=false" 13EXTRA_OEMESON:class-native += "-Dtests=false -Dintrospection=false"
14
15GIDOCGEN_MESON_OPTION = 'docs'
13 16
14SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" 17SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https"
15SRCREV = "332d5b987ffecb824426e88518e05547faf2b520" 18SRCREV = "ed31c8134d80d006bd45450e84180be2a7c0742e"
16S = "${WORKDIR}/git"
17 19
18BBCLASSEXTEND = "native" 20BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/libharu/libharu_2.4.4.bb b/meta-oe/recipes-support/libharu/libharu_2.4.5.bb
index 02dc499e03..0ad4bd92c0 100644
--- a/meta-oe/recipes-support/libharu/libharu_2.4.4.bb
+++ b/meta-oe/recipes-support/libharu/libharu_2.4.5.bb
@@ -9,8 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=924546dab2bef90e370d7c0c090ddcf0"
9DEPENDS += "libpng zlib" 9DEPENDS += "libpng zlib"
10 10
11SRC_URI = "git://github.com/libharu/libharu.git;branch=master;protocol=https" 11SRC_URI = "git://github.com/libharu/libharu.git;branch=master;protocol=https"
12SRCREV = "0c598becaadaef8e3d12b883f9fc2864a118c12d" 12SRCREV = "8fe5a738541a04642885fb7a75b2b5b9c5b416fa"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake 15inherit cmake
diff --git a/meta-oe/recipes-support/libiio/libiio_0.25.bb b/meta-oe/recipes-support/libiio/libiio_0.26.bb
index 2c6d2b5145..ecd9223600 100644
--- a/meta-oe/recipes-support/libiio/libiio_0.25.bb
+++ b/meta-oe/recipes-support/libiio/libiio_0.26.bb
@@ -4,12 +4,11 @@ SECTION = "libs"
4LICENSE = "LGPL-2.1-or-later" 4LICENSE = "LGPL-2.1-or-later"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c" 5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7c13b3376cea0ce68d2d2da0a1b3a72c"
6 6
7SRCREV = "b6028fdeef888ab45f7c1dd6e4ed9480ae4b55e3" 7SRCREV = "a0eca0d2bf10326506fb762f0eec14255b27bef5"
8 8
9SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=main" 9SRC_URI = "git://github.com/analogdevicesinc/libiio.git;protocol=https;branch=libiio-v0"
10UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" 10UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
11 11
12S = "${WORKDIR}/git"
13 12
14SETUPTOOLS_SETUP_PATH ?= "${B}/bindings/python/" 13SETUPTOOLS_SETUP_PATH ?= "${B}/bindings/python/"
15 14
diff --git a/meta-oe/recipes-support/libiodbc/libiodbc_3.52.15.bb b/meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb
index ff976ed975..0478ef3403 100644
--- a/meta-oe/recipes-support/libiodbc/libiodbc_3.52.15.bb
+++ b/meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb
@@ -9,11 +9,14 @@ HOMEPAGE = "http://www.iodbc.org/"
9 9
10LICENSE = "LGPL-2.0-only | BSD-2-Clause" 10LICENSE = "LGPL-2.0-only | BSD-2-Clause"
11LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=8c0138a8701f0e1282f5c8b2c7d39114 \ 11LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=8c0138a8701f0e1282f5c8b2c7d39114 \
12 file://LICENSE.BSD;md5=ff3a66a194e500df485da930da7f2c62 \ 12 file://LICENSE.BSD;md5=5b36348a404e1d65b57df8d33fd6e414 \
13 " 13 "
14 14
15SRC_URI = "https://github.com/openlink/iODBC/releases/download/v${PV}/${BP}.tar.gz" 15SRC_URI = "https://github.com/openlink/iODBC/releases/download/v${PV}/${BP}.tar.gz"
16SRC_URI[sha256sum] = "c74541e3327fc9a1c7ccf103645471c67bc014542d70f572476eb07c0b2dd43c" 16SRC_URI[sha256sum] = "3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa"
17
18UPSTREAM_CHECK_URI = "https://github.com/openlink/iODBC/releases"
19UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
17 20
18inherit autotools 21inherit autotools
19 22
@@ -28,3 +31,9 @@ EXTRA_OECONF += " --prefix=/usr/local \
28 31
29inherit multilib_script 32inherit multilib_script
30MULTILIB_SCRIPTS = "${PN}:${bindir}/iodbc-config" 33MULTILIB_SCRIPTS = "${PN}:${bindir}/iodbc-config"
34
35# avoid http://errors.yoctoproject.org/Errors/Details/852861/
36CFLAGS += "-std=gnu17"
37# http://errors.yoctoproject.org/Errors/Details/853276/
38# libiodbc-3.52.16/iodbcinst/unicode.c:1565:16: error: initialization of 'ucs4_t *' {aka 'unsigned int *'} from incompatible pointer type 'wchar_t *' {aka 'long int *'} [-Wincompatible-pointer-types]
39CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb
index 38ffd032ab..f4e26a65fc 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-cookie_3.0.5.bb
@@ -7,7 +7,6 @@ SRC_URI = "git://github.com/js-cookie/js-cookie.git;protocol=https;branch=main"
7 7
8SRCREV = "ab3f67fc4fad88cdf07b258c08e4164e06bf7506" 8SRCREV = "ab3f67fc4fad88cdf07b258c08e4164e06bf7506"
9 9
10S = "${WORKDIR}/git"
11 10
12JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie" 11JQUERYCOOKIEDIR = "${datadir}/javascript/jquery-cookie"
13JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie" 12JQUERYCOOKIEDOCDIR = "${docdir}/libjs-jquery-cookie"
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb b/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb
index b6147ffeb2..cbf5700a5b 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-globalize_1.7.0.bb
@@ -3,7 +3,6 @@ SECTION = "console/network"
3HOMEPAGE = "https://github.com/globalizejs/globalize" 3HOMEPAGE = "https://github.com/globalizejs/globalize"
4LICENSE = "MIT" 4LICENSE = "MIT"
5 5
6S = "${WORKDIR}/git"
7 6
8LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea"
9 8
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
index 63dfc6fa78..88fbc109ee 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery-icheck_1.0.3.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/fronteed/icheck.git;protocol=https;branch=${PV}"
9 9
10SRCREV = "c8c1af84e4b90b4aea31466aad09bf877619e943" 10SRCREV = "c8c1af84e4b90b4aea31466aad09bf877619e943"
11 11
12S = "${WORKDIR}/git"
13 12
14do_install() { 13do_install() {
15 install -d ${D}${datadir}/javascript/jquery-icheck/ 14 install -d ${D}${datadir}/javascript/jquery-icheck/
diff --git a/meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb b/meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb
index 4f0d8e5548..be8a29d998 100644
--- a/meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb
+++ b/meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb
@@ -7,11 +7,13 @@ SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/${BPN}_${PV}~d
7 7
8SRC_URI[sha256sum] = "e04d192c2356e9d4c2b2c7d83fde9408713212b53c4d106e5b9e46c1a56da33b" 8SRC_URI[sha256sum] = "e04d192c2356e9d4c2b2c7d83fde9408713212b53c4d106e5b9e46c1a56da33b"
9 9
10UPSTREAM_CHECK_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/main/j/jquery/"
11UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
12
10JQUERYDIR = "${datadir}/javascript/jquery" 13JQUERYDIR = "${datadir}/javascript/jquery"
11JQUERYDOCDIR = "${docdir}/libjs-jquery" 14JQUERYDOCDIR = "${docdir}/libjs-jquery"
12 15
13S = "${WORKDIR}/sources" 16S = "${UNPACKDIR}"
14UNPACKDIR = "${S}"
15 17
16do_install() { 18do_install() {
17 install -d -m 0755 ${D}${JQUERYDIR} 19 install -d -m 0755 ${D}${JQUERYDIR}
diff --git a/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
index e639ce59d8..ffd26d263c 100644
--- a/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
+++ b/meta-oe/recipes-support/libjs/libjs-sizzle_1.10.18.bb
@@ -4,10 +4,9 @@ LICENSE = "GPL-2.0-only & MIT & AFL-2.1"
4LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9" 4LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9"
5 5
6SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz" 6SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz"
7SRC_URI[md5sum] = "91477c1edeef9f8100ffd6c4d31725b5"
8SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8" 7SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8"
9 8
10S = "${WORKDIR}/sizzle-${PV}" 9S = "${UNPACKDIR}/sizzle-${PV}"
11 10
12SIZZLEDIR = "${S}/dist" 11SIZZLEDIR = "${S}/dist"
13 12
diff --git a/meta-oe/recipes-support/liblinebreak/liblinebreak_1.2.bb b/meta-oe/recipes-support/liblinebreak/liblinebreak_1.2.bb
deleted file mode 100644
index d0463a640d..0000000000
--- a/meta-oe/recipes-support/liblinebreak/liblinebreak_1.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1DESCRIPTION = "Liblinebreak is an implementation of the line breaking algorithm as described in Unicode 5.1.0 Standard Annex 14, Revision 22"
2HOMEPAGE = "http://vimgadgets.sourceforge.net/liblinebreak/"
3SECTION = "libs"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENCE;md5=3715191da62bafb5cfc4ff36195b2ec3"
6
7SRC_URI = "${SOURCEFORGE_MIRROR}/project/vimgadgets/liblinebreak/${PV}/liblinebreak-${PV}.tar.gz"
8SRC_URI[md5sum] = "d18039259001ccb24b5dd4648c49c5ad"
9SRC_URI[sha256sum] = "9efcb0cb1afc75ad1e92d2b2dbf4d9c77b072d6656c5f1a150af8b718d0c7b76"
10
11inherit autotools
diff --git a/meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb b/meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb
index db05422699..2e59401892 100644
--- a/meta-oe/recipes-support/libmanette/libmanette_0.2.7.bb
+++ b/meta-oe/recipes-support/libmanette/libmanette_0.2.9.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
8DEPENDS = "libevdev libgudev" 8DEPENDS = "libevdev libgudev"
9 9
10SRC_URI = "https://download.gnome.org/sources/libmanette/0.2/libmanette-${PV}.tar.xz" 10SRC_URI = "https://download.gnome.org/sources/libmanette/0.2/libmanette-${PV}.tar.xz"
11SRC_URI[sha256sum] = "cddd5c02a131072c19c6cde6f2cb2cd57eae7dacb50d14c337efd980baa51a51" 11SRC_URI[sha256sum] = "29366be5452f60a74c65fc64ffe2d74eddd4e6e6824c2cefa567a43bd92b688f"
12 12
13inherit meson pkgconfig gobject-introspection ptest vala 13inherit meson pkgconfig gobject-introspection ptest vala
14 14
diff --git a/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
index 4d4a5ff109..a2de42d946 100644
--- a/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
+++ b/meta-oe/recipes-support/libmimetic/libmimetic_0.9.8.bb
@@ -16,7 +16,6 @@ SRC_URI += "git://github.com/LadislavSopko/mimetic/;branch=master;protocol=https
16 16
17UPSTREAM_CHECK_COMMITS = "1" 17UPSTREAM_CHECK_COMMITS = "1"
18 18
19S = "${WORKDIR}/git"
20 19
21CXXFLAGS += "-Wno-narrowing -std=c++14" 20CXXFLAGS += "-Wno-narrowing -std=c++14"
22 21
diff --git a/meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb b/meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb
index 54582e7047..d692774f08 100644
--- a/meta-oe/recipes-support/libmxml/libmxml_4.0.3.bb
+++ b/meta-oe/recipes-support/libmxml/libmxml_4.0.4.bb
@@ -5,8 +5,7 @@ HOMEPAGE = "https://www.msweet.org/mxml/"
5BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues" 5BUGTRACKER = "https://github.com/michaelrsweet/mxml/issues"
6 6
7SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https" 7SRC_URI = "git://github.com/michaelrsweet/mxml.git;branch=master;protocol=https"
8SRCREV = "804c4f4d922e4ca240ce2cad3ec7bc5d00c08691" 8SRCREV = "0d5afc4278d7a336d554602b951c2979c3f8f296"
9S = "${WORKDIR}/git"
10 9
11# Package does not support out of tree builds. 10# Package does not support out of tree builds.
12inherit autotools-brokensep 11inherit autotools-brokensep
diff --git a/meta-oe/recipes-support/libnice/libnice_0.1.22.bb b/meta-oe/recipes-support/libnice/libnice_0.1.22.bb
index 175e10fdf6..4b932029ee 100644
--- a/meta-oe/recipes-support/libnice/libnice_0.1.22.bb
+++ b/meta-oe/recipes-support/libnice/libnice_0.1.22.bb
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
11SRC_URI = "http://nice.freedesktop.org/releases/${BP}.tar.gz" 11SRC_URI = "http://nice.freedesktop.org/releases/${BP}.tar.gz"
12SRC_URI[sha256sum] = "a5f724cf09eae50c41a7517141d89da4a61ec9eaca32da4a0073faed5417ad7e" 12SRC_URI[sha256sum] = "a5f724cf09eae50c41a7517141d89da4a61ec9eaca32da4a0073faed5417ad7e"
13 13
14UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/libnice/libnice/-/tags"
15UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
16
14DEPENDS = "glib-2.0 gnutls ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'graphviz-native', '', d)}" 17DEPENDS = "glib-2.0 gnutls ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'graphviz-native', '', d)}"
15 18
16PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp" 19PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp"
diff --git a/meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch b/meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch
new file mode 100644
index 0000000000..8734d443bb
--- /dev/null
+++ b/meta-oe/recipes-support/libnvme/files/0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch
@@ -0,0 +1,41 @@
1From 14328a9a429fd84ddd1a3ed4fb0eb9643c61fa58 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 7 Apr 2025 13:23:57 +0800
4Subject: [PATCH] mock.c: fix checking of HAVE_GLIBC_IOCTL
5
6Commit [ 0d8d0a55 build: do not include config.h globally ]
7changed to always pass -DHAVE_GLIBC_IOCTL=[0|1], and this causes
8a regression, for system without glibc ioctl, -DHAVE_GLIBC_IOCTL=0
9is passed, and causes error:
10../git/test/ioctl/mock.c:123:5: error: conflicting types for 'ioctl'; have 'int(int, long unsigned int, ...)'
11 123 | int ioctl(int fd, unsigned long request, ...)
12 | ^~~~~
13In file included from ../git/test/ioctl/mock.c:9:
14pathto/usr/include/sys/ioctl.h:115:5: note: previous declaration of 'ioctl' with type 'int(int, int, ...)'
15 115 | int ioctl (int, int, ...);
16
17Fixed by checking value of HAVE_GLIBC_IOCTL in mock.c
18
19Upstream-Status: Submitted [https://github.com/linux-nvme/libnvme/pull/985]
20
21Signed-off-by: Changqing Li <changqing.li@windriver.com>
22---
23 test/ioctl/mock.c | 2 +-
24 1 file changed, 1 insertion(+), 1 deletion(-)
25
26diff --git a/test/ioctl/mock.c b/test/ioctl/mock.c
27index 7402b45c..da3caba8 100644
28--- a/test/ioctl/mock.c
29+++ b/test/ioctl/mock.c
30@@ -118,7 +118,7 @@ void end_mock_cmds(void)
31 } \
32 })
33
34-#ifdef HAVE_GLIBC_IOCTL
35+#if defined(HAVE_GLIBC_IOCTL) && HAVE_GLIBC_IOCTL == 1
36 typedef int (*ioctl_func_t)(int, unsigned long, void *);
37 int ioctl(int fd, unsigned long request, ...)
38 #else
39--
402.34.1
41
diff --git a/meta-oe/recipes-support/libnvme/libnvme_1.9.bb b/meta-oe/recipes-support/libnvme/libnvme_1.12.bb
index 1e03b4e7ad..95d18a1ed0 100644
--- a/meta-oe/recipes-support/libnvme/libnvme_1.9.bb
+++ b/meta-oe/recipes-support/libnvme/libnvme_1.12.bb
@@ -11,12 +11,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
11 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \ 11 file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
12 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2" 12 file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
13DEPENDS = "json-c" 13DEPENDS = "json-c"
14SRCREV = "80c5cf2aa45f4afc7571dc48850fae3fd62828af" 14SRCREV = "5ec1f5284ecb0eda481f3d2d61236fbc5b46164f"
15 15
16SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master" 16SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master \
17 file://0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch"
17 18
18S = "${WORKDIR}/git"
19 19
20inherit meson pkgconfig 20inherit meson pkgconfig
21 21
22EXTRA_OEMESON += "-Dkeyutils=disabled -Dopenssl=disabled -Dpython=disabled" 22PACKAGECONFIG ??= "keyutils openssl"
23
24PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils"
25PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
26PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,python"
diff --git a/meta-oe/recipes-support/liboauth/liboauth_1.0.3.bb b/meta-oe/recipes-support/liboauth/liboauth_1.0.3.bb
index d4b8170873..3e3f9137cf 100644
--- a/meta-oe/recipes-support/liboauth/liboauth_1.0.3.bb
+++ b/meta-oe/recipes-support/liboauth/liboauth_1.0.3.bb
@@ -12,7 +12,6 @@ DEPENDS = "curl openssl"
12SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BP}.tar.gz \ 12SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BP}.tar.gz \
13 file://0001-Support-OpenSSL-1.1.0.patch \ 13 file://0001-Support-OpenSSL-1.1.0.patch \
14 " 14 "
15SRC_URI[md5sum] = "689b46c2b3ab1a39735ac33f714c4f7f"
16SRC_URI[sha256sum] = "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f" 15SRC_URI[sha256sum] = "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
17 16
18inherit autotools pkgconfig 17inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/liboop/liboop/0001-Use-pkg-config-to-find-tcl.patch b/meta-oe/recipes-support/liboop/liboop/0001-Use-pkg-config-to-find-tcl.patch
new file mode 100644
index 0000000000..24249b9360
--- /dev/null
+++ b/meta-oe/recipes-support/liboop/liboop/0001-Use-pkg-config-to-find-tcl.patch
@@ -0,0 +1,48 @@
1From 5dad843ca0860d6d7be443ddc850566584b8004a Mon Sep 17 00:00:00 2001
2From: Gyorgy Sarvari <skandigraun@gmail.com>
3Date: Sun, 16 Feb 2025 21:09:02 +0100
4Subject: [PATCH] Use pkg-config to find tcl
5
6Instead of using hardcoded path for the tcl include folder
7use pkg-config to find the proper values.
8
9That way it won't use the system folders for cross-compilation.
10
11Also, extend the number of tcl versions to check (at the time of
12this commit oe-core provides version 8.6)
13
14Upstream-Status: Pending
15---
16 configure.ac | 15 +++++++--------
17 1 file changed, 7 insertions(+), 8 deletions(-)
18
19diff --git a/configure.ac b/configure.ac
20index e95956e..3d0dc82 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -71,18 +71,17 @@ if test xno != x$with_glib; then
24 fi
25
26 if test xno != x$with_tcl; then
27- for version in 8.4 8.3 8.2 8.1 8.0 ; do
28- CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
29- AC_CHECK_LIB(tcl$version,Tcl_Main,[
30- AC_CHECK_HEADER(tcl.h,[
31+ save_cppflags="$CPPFLAGS"
32+ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
33+ PKG_CHECK_EXISTS(tcl$version,,continue)
34+ PKG_CHECK_MODULES(TCL, tcl$version, [
35 LIBOOP_LIBS="liboop-tcl.la $LIBOOP_LIBS"
36 AC_DEFINE(HAVE_TCL)
37- TCL_INCLUDES="-I/usr/include/tcl$version"
38- TCL_LIBS="-ltcl$version"
39+ TCL_INCLUDES="$TCL_CFLAGS"
40+ CPPFLAGS="$save_cppflags $TCL_CFLAGS"
41 break
42- ])])
43+ ])
44 done
45- CPPFLAGS="$save_cppflags"
46 fi
47
48 if test xyes = x$with_libwww; then
diff --git a/meta-oe/recipes-support/liboop/liboop/tcl_dev.patch b/meta-oe/recipes-support/liboop/liboop/tcl_dev.patch
deleted file mode 100644
index 0521aaeaff..0000000000
--- a/meta-oe/recipes-support/liboop/liboop/tcl_dev.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Upstream-Status: Pending
2
3--- a/configure.ac
4+++ b/configure.ac
5@@ -71,7 +71,7 @@
6 fi
7
8 if test xno != x$with_tcl; then
9- for version in 8.4 8.3 8.2 8.1 8.0 ; do
10+ for version in "" 8.4 8.3 8.2 8.1 8.0 ; do
11 CPPFLAGS="$save_cppflags -I/usr/include/tcl$version"
12 AC_CHECK_LIB(tcl$version,Tcl_Main,[
13 AC_CHECK_HEADER(tcl.h,[
diff --git a/meta-oe/recipes-support/liboop/liboop_1.0.1.bb b/meta-oe/recipes-support/liboop/liboop_1.0.1.bb
index 7ad88b7402..19da1d1aa9 100644
--- a/meta-oe/recipes-support/liboop/liboop_1.0.1.bb
+++ b/meta-oe/recipes-support/liboop/liboop_1.0.1.bb
@@ -1,19 +1,18 @@
1DESCRIPTION = "Liboop is a low-level event loop management library for POSIX-based operating systems" 1DESCRIPTION = "Liboop is a low-level event loop management library for POSIX-based operating systems"
2HOMEPAGE = "http://www.lysator.liu.se/liboop/" 2HOMEPAGE = "http://www.lysator.liu.se/liboop/"
3LICENSE = "GPL-2.0-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=8b54f38ccbd44feb80ab90e01af8b700" 4LIC_FILES_CHKSUM = "file://COPYING;md5=8b54f38ccbd44feb80ab90e01af8b700"
5 5
6SRC_URI = "http://ftp.lysator.liu.se/pub/liboop/liboop-${PV}.tar.gz \ 6SRC_URI = "http://ftp.lysator.liu.se/pub/liboop/liboop-${PV}.tar.gz \
7 file://tcl_dev.patch \ 7 file://0001-Use-pkg-config-to-find-tcl.patch \
8" 8"
9 9
10SRC_URI[md5sum] = "f2b3dff17355fd9a6e2229caca8993f0"
11SRC_URI[sha256sum] = "56af16ad65e7397dadc8268e37ff6f67431db390c60c75e21a33e12b0e0d17e0" 10SRC_URI[sha256sum] = "56af16ad65e7397dadc8268e37ff6f67431db390c60c75e21a33e12b0e0d17e0"
12 11
13PACKAGECONFIG ?= "" 12PACKAGECONFIG ?= ""
14PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" 13PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
15PACKAGECONFIG[glib] = "--with-glib,--without-glib,glib-2.0 libpcre" 14PACKAGECONFIG[glib] = "--with-glib,--without-glib,glib-2.0 libpcre"
16PACKAGECONFIG[tcl] = "--with-tcl,--without-tcl,tcl" 15PACKAGECONFIG[tcl] = "--with-tcl,--without-tcl,tcl8"
17 16
18EXTRA_OECONF += "--without-adns -without-libwww" 17EXTRA_OECONF += "--without-adns -without-libwww"
19 18
diff --git a/meta-oe/recipes-support/libosinfo/libosinfo/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch b/meta-oe/recipes-support/libosinfo/libosinfo/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch
deleted file mode 100644
index 467c6b4baf..0000000000
--- a/meta-oe/recipes-support/libosinfo/libosinfo/0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 5bbdd06503456784c5ffa22409e8bab50470d673 Mon Sep 17 00:00:00 2001
2From: Michal Privoznik <mprivozn@redhat.com>
3Date: Mon, 27 Nov 2023 15:11:45 +0100
4Subject: [PATCH] osinfo: Make xmlError struct constant in
5 propagate_libxml_error()
6
7In libxml2 commit v2.12.0~14 the API changed so that
8xmlGetLastError() returns pointer to a constant xmlError struct.
9Reflect this change in our code.
10
11Upstream-Status: Backport [https://gitlab.com/libosinfo/libosinfo/-/merge_requests/155]
12Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
13---
14 osinfo/osinfo_install_script.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c
18index 5800f37..303245a 100644
19--- a/osinfo/osinfo_install_script.c
20+++ b/osinfo/osinfo_install_script.c
21@@ -769,7 +769,7 @@ static void propagate_libxml_error(GError **error, const char *format, ...) G_GN
22
23 static void propagate_libxml_error(GError **error, const char *format, ...)
24 {
25- xmlErrorPtr err = xmlGetLastError();
26+ const xmlError *err = xmlGetLastError();
27 char *prefix;
28 va_list ap;
29
30--
312.44.0
32
diff --git a/meta-oe/recipes-support/libosinfo/libosinfo/0adf38535637ec668e658d43f04f60f11f51574f.patch b/meta-oe/recipes-support/libosinfo/libosinfo/0adf38535637ec668e658d43f04f60f11f51574f.patch
new file mode 100644
index 0000000000..f76aef8b25
--- /dev/null
+++ b/meta-oe/recipes-support/libosinfo/libosinfo/0adf38535637ec668e658d43f04f60f11f51574f.patch
@@ -0,0 +1,86 @@
1From 0adf38535637ec668e658d43f04f60f11f51574f Mon Sep 17 00:00:00 2001
2From: Roman Bogorodskiy <bogorodskiy@gmail.com>
3Date: Thu, 10 Apr 2025 13:54:02 +0200
4Subject: [PATCH] loader: don't use libxml2 deprecated APIs
5
6Address the following items:
7
8 - Deprecated direct access to buf's content
9 - Mismatching error function signature
10 - Deprecated direct access to ctxt's lastError
11
12Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
13Signed-off-by: Markus Volk <f_l_k@t-online.de>
14
15Upstream-Status: Backport [https://gitlab.com/libosinfo/libosinfo/-/commit/0adf38535637ec668e658d43f04f60f11f51574f.patch]
16---
17 osinfo/osinfo_loader.c | 42 +++++++++++++++++++++++-------------------
18 1 file changed, 23 insertions(+), 19 deletions(-)
19
20diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c
21index 0a9004af..b3fd4535 100644
22--- a/osinfo/osinfo_loader.c
23+++ b/osinfo/osinfo_loader.c
24@@ -354,7 +354,7 @@ osinfo_loader_doc(const char *xpath,
25 xmlXPathFreeObject(obj);
26 OSINFO_LOADER_SET_ERROR(err, "Cannot format stylesheet");
27 }
28- ret = g_strdup((char *)buf->content);
29+ ret = g_strdup((char *)xmlBufferContent(buf));
30
31 xmlBufferFree(buf);
32 xmlXPathFreeObject(obj);
33@@ -1902,28 +1902,32 @@ static void osinfo_loader_root(OsinfoLoader *loader,
34 }
35
36 static void
37-catchXMLError(void *ctx, const char *msg ATTRIBUTE_UNUSED, ...)
38+catchXMLError(void *ctx, const char *msg, ...)
39 {
40 xmlParserCtxtPtr ctxt = (xmlParserCtxtPtr) ctx;
41+ const xmlError *xmlErr = NULL;
42+ g_autofree gchar *xmlmsg = NULL;
43
44- if (ctxt && ctxt->_private) {
45- GError **err = ctxt->_private;
46- if (!error_is_set(err)) {
47- gchar *xmlmsg;
48- if (ctxt->lastError.file) {
49- xmlmsg = g_strdup_printf("%s:%d: %s",
50- ctxt->lastError.file,
51- ctxt->lastError.line,
52- ctxt->lastError.message);
53- } else {
54- xmlmsg = g_strdup_printf("at line %d: %s",
55- ctxt->lastError.line,
56- ctxt->lastError.message);
57- }
58- OSINFO_LOADER_SET_ERROR(ctxt->_private, xmlmsg);
59- g_free(xmlmsg);
60- }
61+ if (!ctxt || !ctxt->_private)
62+ return;
63+
64+ if (error_is_set(ctxt->_private))
65+ return;
66+
67+ if (!(xmlErr = xmlCtxtGetLastError(ctx)))
68+ return;
69+
70+ if (xmlErr->file) {
71+ xmlmsg = g_strdup_printf("%s:%d: %s",
72+ xmlErr->file,
73+ xmlErr->line,
74+ xmlErr->message);
75+ } else {
76+ xmlmsg = g_strdup_printf("at line %d: %s",
77+ xmlErr->line,
78+ xmlErr->message);
79 }
80+ OSINFO_LOADER_SET_ERROR(ctxt->_private, xmlmsg);
81 }
82
83 static void osinfo_loader_process_xml(OsinfoLoader *loader,
84--
85GitLab
86
diff --git a/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb b/meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb
index 8ef7ac3df0..2462786aae 100644
--- a/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb
+++ b/meta-oe/recipes-support/libosinfo/libosinfo_1.12.0.bb
@@ -8,12 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
8SRC_URI = " \ 8SRC_URI = " \
9 git://gitlab.com/libosinfo/libosinfo.git;branch=main;protocol=https \ 9 git://gitlab.com/libosinfo/libosinfo.git;branch=main;protocol=https \
10 file://0001-meson.build-allow-crosscompiling-gir.patch \ 10 file://0001-meson.build-allow-crosscompiling-gir.patch \
11 file://0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch \ 11 file://0adf38535637ec668e658d43f04f60f11f51574f.patch \
12" 12"
13 13
14SRCREV = "ca9dd5b810dc04ea38048ae9be491654c8596ef9" 14SRCREV = "b505ef5161d2552102a743acd4ad83298d3d8f99"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit meson pkgconfig gtk-doc gobject-introspection vala 17inherit meson pkgconfig gtk-doc gobject-introspection vala
19 18
@@ -32,4 +31,4 @@ EXTRA_OEMESON += " \
32 -Dwith-usb-ids-path=${datadir}/hwdata/usb.ids \ 31 -Dwith-usb-ids-path=${datadir}/hwdata/usb.ids \
33" 32"
34 33
35RDEPENDS:${PN} = "hwdata" 34RDEPENDS:${PN} = "hwdata osinfo-db"
diff --git a/meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb b/meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb
new file mode 100644
index 0000000000..ee75c39eee
--- /dev/null
+++ b/meta-oe/recipes-support/libosinfo/osinfo-db-tools_1.12.0.bb
@@ -0,0 +1,20 @@
1SUMMARY = "Tools for managing the libosinfo database files"
2HOMEPAGE = "https://libosinfo.org"
3
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6
7DEPENDS = "glib-2.0 json-glib libarchive libsoup"
8
9SRC_URI = "git://gitlab.com/libosinfo/osinfo-db-tools.git;branch=main;protocol=https \
10 "
11SRCREV = "e5564be303bfac49cc3490bd0fada342cd65566f"
12
13
14inherit meson pkgconfig
15
16do_configure:prepend () {
17 sed -i 's/-Werror//' ${S}/meson.build
18}
19
20BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/libosinfo/osinfo-db_20250606.bb b/meta-oe/recipes-support/libosinfo/osinfo-db_20250606.bb
new file mode 100644
index 0000000000..33e17234ce
--- /dev/null
+++ b/meta-oe/recipes-support/libosinfo/osinfo-db_20250606.bb
@@ -0,0 +1,20 @@
1SUMMARY = "osinfo-db provides the database files for use with the libosinfo library"
2HOMEPAGE = "https://libosinfo.org"
3
4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6
7DEPENDS = "osinfo-db-tools-native"
8
9SRC_URI = "git://gitlab.com/libosinfo/osinfo-db.git;branch=main;protocol=https"
10
11SRCREV = "62f8adceb8ee88e643a134f2cfaf04fc11b9fc51"
12
13
14inherit allarch autotools-brokensep
15
16EXTRA_OEMAKE = "OSINFO_DB_TARGET='--dir ${datadir}/osinfo'"
17
18do_configure[noexec] = "1"
19
20FILES:${PN} = "${datadir}/osinfo"
diff --git a/meta-oe/recipes-support/libp11/libp11_0.4.12.bb b/meta-oe/recipes-support/libp11/libp11_0.4.13.bb
index 2237782009..1731d350ae 100644
--- a/meta-oe/recipes-support/libp11/libp11_0.4.12.bb
+++ b/meta-oe/recipes-support/libp11/libp11_0.4.13.bb
@@ -10,11 +10,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
10DEPENDS = "libtool openssl" 10DEPENDS = "libtool openssl"
11 11
12SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https"
13SRCREV = "53d65dc48cf436694f7edcfc805414e608e8a2bf" 13
14SRCREV = "6d669183c7b241ce47ecce28744837ad92814f5c"
14 15
15UPSTREAM_CHECK_GITTAGREGEX = "libp11-(?P<pver>\d+(\.\d+)+)" 16UPSTREAM_CHECK_GITTAGREGEX = "libp11-(?P<pver>\d+(\.\d+)+)"
16 17
17S = "${WORKDIR}/git"
18 18
19inherit autotools pkgconfig 19inherit autotools pkgconfig
20 20
diff --git a/meta-oe/recipes-support/libpaper/libpaper_2.1.2.bb b/meta-oe/recipes-support/libpaper/libpaper_2.2.6.bb
index a45ffe1849..4acf7fd473 100644
--- a/meta-oe/recipes-support/libpaper/libpaper_2.1.2.bb
+++ b/meta-oe/recipes-support/libpaper/libpaper_2.2.6.bb
@@ -2,7 +2,10 @@ LICENSE = "LGPL-2.1-only"
2LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 2LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
3 3
4SRC_URI = "https://github.com/rrthomas/libpaper/releases/download/v${PV}/libpaper-${PV}.tar.gz" 4SRC_URI = "https://github.com/rrthomas/libpaper/releases/download/v${PV}/libpaper-${PV}.tar.gz"
5SRC_URI[sha256sum] = "1fda0cf64efa46b9684a4ccc17df4386c4cc83254805419222c064bf62ea001f" 5SRC_URI[sha256sum] = "500d39dc58768ee09688738c8b5bfe07640ba2fd6c25a6dc78810eb69c719e93"
6
7UPSTREAM_CHECK_URI = "https://github.com/rrthomas/libpaper/releases"
8UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
6 9
7inherit perlnative autotools 10inherit perlnative autotools
8 11
diff --git a/meta-oe/recipes-support/libraw/libraw_0.21.2.bb b/meta-oe/recipes-support/libraw/libraw_0.21.2.bb
index 4d089f3b79..01425c6db0 100644
--- a/meta-oe/recipes-support/libraw/libraw_0.21.2.bb
+++ b/meta-oe/recipes-support/libraw/libraw_0.21.2.bb
@@ -4,8 +4,10 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1501ae0aa3c8544e63f08d6f7bf88a6f"
4 4
5SRC_URI = "git://github.com/LibRaw/LibRaw.git;branch=0.21-stable;protocol=https" 5SRC_URI = "git://github.com/LibRaw/LibRaw.git;branch=0.21-stable;protocol=https"
6SRCREV = "1ef70158d7fde1ced6aaddb0b9443c32a7121d3d" 6SRCREV = "1ef70158d7fde1ced6aaddb0b9443c32a7121d3d"
7S = "${WORKDIR}/git"
8 7
9inherit autotools pkgconfig 8inherit autotools pkgconfig
10 9
11DEPENDS = "jpeg jasper lcms" 10DEPENDS = "jpeg jasper lcms"
11
12CVE_STATUS[CVE-2020-22628] = "cpe-incorrect: The current version (0.21.2) is not affected by the CVE which affects versions earlier than 0.21.2"
13CVE_STATUS[CVE-2023-1729] = "cpe-incorrect: The current version (0.21.2) is not affected by the CVE which affects versions earlier than 0.21.2"
diff --git a/meta-oe/recipes-support/libraw1394/libraw1394_2.1.2.bb b/meta-oe/recipes-support/libraw1394/libraw1394_2.1.2.bb
index 15e1ee2438..97eb105d46 100644
--- a/meta-oe/recipes-support/libraw1394/libraw1394_2.1.2.bb
+++ b/meta-oe/recipes-support/libraw1394/libraw1394_2.1.2.bb
@@ -5,7 +5,6 @@ LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d8045f3b8f929c1cb29a1e3fd737b499" 5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d8045f3b8f929c1cb29a1e3fd737b499"
6 6
7SRC_URI = "https://www.kernel.org/pub/linux/libs/ieee1394/${BPN}-${PV}.tar.gz" 7SRC_URI = "https://www.kernel.org/pub/linux/libs/ieee1394/${BPN}-${PV}.tar.gz"
8SRC_URI[md5sum] = "45031ab15ca93e50c19886a38bc1814a"
9SRC_URI[sha256sum] = "ddc4e32721cdfe680d964aaede68ac606a20cd17dd2ba70e2d7e0692086ab57c" 8SRC_URI[sha256sum] = "ddc4e32721cdfe680d964aaede68ac606a20cd17dd2ba70e2d7e0692086ab57c"
10 9
11inherit autotools 10inherit autotools
diff --git a/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb b/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb
index 6148e7cb08..968094daff 100644
--- a/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb
+++ b/meta-oe/recipes-support/librdkafka/librdkafka_1.8.2.bb
@@ -16,7 +16,6 @@ DEPENDS = "zlib openssl zstd"
16 16
17inherit cmake 17inherit cmake
18 18
19S = "${WORKDIR}/git"
20 19
21FILES:${PN} += "${datadir}" 20FILES:${PN} += "${datadir}"
22 21
diff --git a/meta-oe/recipes-support/librsync/librsync_2.3.4.bb b/meta-oe/recipes-support/librsync/librsync_2.3.4.bb
index 3cad665389..c8dfafa2aa 100644
--- a/meta-oe/recipes-support/librsync/librsync_2.3.4.bb
+++ b/meta-oe/recipes-support/librsync/librsync_2.3.4.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499"
5 5
6SRC_URI = "git://github.com/librsync/librsync.git;branch=master;protocol=https" 6SRC_URI = "git://github.com/librsync/librsync.git;branch=master;protocol=https"
7SRCREV = "e364852674780e43d578e4239128ff7014190ed3" 7SRCREV = "e364852674780e43d578e4239128ff7014190ed3"
8S = "${WORKDIR}/git"
9 8
10DEPENDS = "popt" 9DEPENDS = "popt"
11 10
diff --git a/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.8.bb b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.8.bb
new file mode 100644
index 0000000000..245d501b8a
--- /dev/null
+++ b/meta-oe/recipes-support/libserialmodule/libserialmodule_1.0.8.bb
@@ -0,0 +1,12 @@
1SUMMARY = "A library for Serial/COM"
2DESCRIPTION = "Async C/C++ I/O with COM/Serial Port Library."
3HOMEPAGE = "https://github.com/thuanalg/libserialmodule"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
7DEPENDS = "libsimplelog"
8SRC_URI = "git://git@github.com/thuanalg/libserialmodule.git;branch=main;protocol=https;tag=v${PV}"
9SRCREV = "f89f98ff0c9d0aaee2624d40addb0687a74c5d81"
10inherit cmake
11EXTRA_OECMAKE = "-DUNIX_LINUX=1 -DMETA_OPENEMBEDDED=1"
12
diff --git a/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb
new file mode 100644
index 0000000000..31dce12155
--- /dev/null
+++ b/meta-oe/recipes-support/libsimplelog/libsimplelog_1.0.8.bb
@@ -0,0 +1,18 @@
1
2SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records."
3DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies."
4HOMEPAGE = "https://github.com/thuanalg/simplelog-topic"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c"
7
8SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https;tag=v${PV}"
9
10SRCREV = "093d80b4006042b75a433a5e63760ae9bebad142"
11
12
13inherit cmake
14
15# Specify any options you want to pass to cmake using EXTRA_OECMAKE:
16EXTRA_OECMAKE += "-DUNIX_LINUX=1"
17
18
diff --git a/meta-oe/recipes-support/libsmi/libsmi/0001-Fix-build-failure-with-gcc-15.patch b/meta-oe/recipes-support/libsmi/libsmi/0001-Fix-build-failure-with-gcc-15.patch
new file mode 100644
index 0000000000..69af5f5141
--- /dev/null
+++ b/meta-oe/recipes-support/libsmi/libsmi/0001-Fix-build-failure-with-gcc-15.patch
@@ -0,0 +1,154 @@
1From ea4bc4aad22455f8f37030f5915c4a94d76fd5e7 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Mon, 7 Apr 2025 18:57:26 +0900
4Subject: [PATCH] Fix build failure with gcc-15
5
6* see more details: http://errors.yoctoproject.org/Errors/Details/851179/
7
8yang-data.c:594:9: error: too many arguments to function 'yangparse'; expected 0, have 1
9 594 | yangparse(parser);
10 | ^~~~~~~~~ ~~~~~~
11In file included from scanner-yang.h:19,
12 from yang-data.c:47:
13parser-yang.h:16:12: note: declared here
14 16 | extern int yangparse();
15 | ^~~~~~~~~
16In file included from parser-yang.c:346:
17parser-yang.tab.h:170:5: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
18 170 | int yangparse (struct Parser *parserPtr);
19 | ^~~~~~~~~
20In file included from parser-yang.y:40:
21parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
22 16 | extern int yangparse();
23 | ^~~~~~~~~
24make[2]: *** [Makefile:573: yang-data.lo] Error 1
25make[2]: *** Waiting for unfinished jobs....
26smi-data.c: In function 'loadModule':
27smi-data.c:4658:9: error: too many arguments to function 'smiparse'; expected 0, have 1
28 4658 | smiparse((void *)&parser);
29 | ^~~~~~~~ ~~~~~~~~~~~~~~~
30smi-data.c:42:12: note: declared here
31 42 | extern int smiparse();
32 | ^~~~~~~~
33parser-smi.c:1515:5: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
34 1515 | int smiparse (struct Parser *parserPtr);
35 | ^~~~~~~~
36In file included from parser-smi.y:37:
37parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
38 27 | extern int smiparse();
39 | ^~~~~~~~
40parser-smi.c:63:25: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
41 63 | #define yyparse smiparse
42 | ^~~~~~~~
43parser-smi.c:3207:1: note: in expansion of macro 'yyparse'
44 3207 | yyparse (struct Parser *parserPtr)
45 | ^~~~~~~
46parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
47 27 | extern int smiparse();
48 | ^~~~~~~~
49parser-yang.c:68:25: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
50 68 | #define yyparse yangparse
51 | ^~~~~~~~~
52parser-yang.c:2312:1: note: in expansion of macro 'yyparse'
53 2312 | yyparse (struct Parser *parserPtr)
54 | ^~~~~~~
55parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
56 16 | extern int yangparse();
57 | ^~~~~~~~~
58In file included from scanner-yang.l:31:
59parser-yang.tab.h:170:5: error: conflicting types for 'yangparse'; have 'int(struct Parser *)'
60 170 | int yangparse (struct Parser *parserPtr);
61 | ^~~~~~~~~
62In file included from scanner-yang.l:30:
63parser-yang.h:16:12: note: previous declaration of 'yangparse' with type 'int(void)'
64 16 | extern int yangparse();
65 | ^~~~~~~~~
66scanner-yang.l: In function 'yangEnterLexRecursion':
67scanner-yang.l:79:1: warning: old-style function definition [-Wold-style-definition]
68 79 |
69 | ^
70make[2]: *** [Makefile:573: smi-data.lo] Error 1
71In file included from parser-smi.y:36:
72parser-smi.c: In function 'smiparse':
73parser-smi.c:10265:29: warning: passing argument 1 of 'smiyyerror' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
7410265 | yyerror (parserPtr, yymsgp);
75 | ^~~~~~
76error.h:25:44: note: in definition of macro 'yyerror'
77 25 | #define yyerror(parserPtr, msg) smiyyerror(msg, parserPtr)
78 | ^~~
79In file included from parser-smi.y:40:
80smi-check.h:71:30: note: expected 'char *' but argument is of type 'const char *'
81 71 | extern void smiyyerror(char *msg, Parser *parserPtr);
82 | ~~~~~~^~~
83make[2]: *** [Makefile:573: parser-yang.lo] Error 1
84make[2]: *** [Makefile:573: parser-smi.lo] Error 1
85make[2]: *** [Makefile:573: scanner-yang.lo] Error 1
86In file included from scanner-smi.l:34:
87parser-smi.tab.h:192:5: error: conflicting types for 'smiparse'; have 'int(struct Parser *)'
88 192 | int smiparse (struct Parser *parserPtr);
89 | ^~~~~~~~
90In file included from util.h:22,
91 from scanner-smi.l:32:
92parser-smi.h:27:12: note: previous declaration of 'smiparse' with type 'int(void)'
93 27 | extern int smiparse();
94 | ^~~~~~~~
95scanner-smi.l: In function 'smiEnterLexRecursion':
96scanner-smi.l:76:1: warning: old-style function definition [-Wold-style-definition]
97 76 | smiEnterLexRecursion(file)
98 | ^~~~~~~~~~~~~~~~~~~~
99
100Upstream-Status: Submitted [https://lists.ibr.cs.tu-bs.de/hyperkitty/list/libsmi@ibr.cs.tu-bs.de/thread/XUW4E575ALYHCAM33OEMU5V2LKUOYAVA/]
101Signed-off-by: mark.yang <mark.yang@lge.com>
102---
103 lib/parser-smi.h | 2 +-
104 lib/parser-yang.h | 4 ++--
105 lib/smi-data.c | 2 +-
106 3 files changed, 4 insertions(+), 4 deletions(-)
107
108diff --git a/lib/parser-smi.h b/lib/parser-smi.h
109index 90d7ec2..c2a3d1f 100644
110--- a/lib/parser-smi.h
111+++ b/lib/parser-smi.h
112@@ -24,7 +24,7 @@
113
114
115
116-extern int smiparse();
117+extern int smiparse(struct Parser *parserPtr);
118
119
120
121diff --git a/lib/parser-yang.h b/lib/parser-yang.h
122index dbfec46..f008cd6 100644
123--- a/lib/parser-yang.h
124+++ b/lib/parser-yang.h
125@@ -6,14 +6,14 @@
126 #include <stdio.h>
127
128 #include "yang-data.h"
129-
130+#include "smi-data.h"
131
132
133 #define YYERROR_VERBOSE
134
135
136
137-extern int yangparse();
138+extern int yangparse(struct Parser *parserPtr);
139
140
141
142diff --git a/lib/smi-data.c b/lib/smi-data.c
143index c9d95a4..773bc01 100644
144--- a/lib/smi-data.c
145+++ b/lib/smi-data.c
146@@ -39,7 +39,7 @@
147
148 #ifdef BACKEND_SMI
149 #include "scanner-smi.h"
150-extern int smiparse();
151+extern int smiparse(struct Parser *parserPtr);
152 #endif
153
154 #ifdef BACKEND_SMING
diff --git a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
index 1f7442af07..85eac33369 100644
--- a/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
+++ b/meta-oe/recipes-support/libsmi/libsmi_0.5.0.bb
@@ -9,11 +9,14 @@ SRC_URI = "https://www.ibr.cs.tu-bs.de/projects/${BPN}/download/${BP}.tar.gz \
9 file://libsmi-fix-the-test-dump-files.patch \ 9 file://libsmi-fix-the-test-dump-files.patch \
10 file://0001-Define-createIdentifierRef-prototype-in-yang-complex.patch \ 10 file://0001-Define-createIdentifierRef-prototype-in-yang-complex.patch \
11 file://0001-parser-yang-Define-_DEFAULT_SOURCE.patch \ 11 file://0001-parser-yang-Define-_DEFAULT_SOURCE.patch \
12 file://0001-Fix-build-failure-with-gcc-15.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "4bf47483c06c9f07d1b10fbc74eddf11"
15SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3" 15SRC_URI[sha256sum] = "f21accdadb1bb328ea3f8a13fc34d715baac6e2db66065898346322c725754d3"
16 16
17UPSTREAM_CHECK_URI = "https://repology.org/project/libsmi/information"
18UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
19
17DEPENDS += "bison-native flex-native wget-native gawk-native" 20DEPENDS += "bison-native flex-native wget-native gawk-native"
18 21
19inherit autotools-brokensep update-alternatives 22inherit autotools-brokensep update-alternatives
diff --git a/meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb b/meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb
index 5969220a41..958f3cf5a1 100644
--- a/meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb
+++ b/meta-oe/recipes-support/libsoc/libsoc_0.8.2.bb
@@ -12,7 +12,6 @@ inherit autotools pkgconfig python3-dir
12SRCREV = "fd1ad6e7823fa76d8db0d3c5884faffa8ffddafb" 12SRCREV = "fd1ad6e7823fa76d8db0d3c5884faffa8ffddafb"
13SRC_URI = "git://github.com/jackmitch/libsoc.git;branch=master;protocol=https" 13SRC_URI = "git://github.com/jackmitch/libsoc.git;branch=master;protocol=https"
14 14
15S = "${WORKDIR}/git"
16 15
17BOARD ??= "devboard" 16BOARD ??= "devboard"
18 17
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-CVE-2025-32911.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-CVE-2025-32911.patch
new file mode 100644
index 0000000000..d75594bb4f
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-CVE-2025-32911.patch
@@ -0,0 +1,74 @@
1From 52c5859b82fe79f2c32d883e048d218e0d7f2182 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Wed, 30 Apr 2025 14:59:55 +0800
4Subject: [PATCH] CVE-2025-32911
5
6CVE: CVE-2025-32911 CVE-2025-32913
7Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/422/commits]
8
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10---
11 libsoup/soup-message-headers.c | 13 +++++++++----
12 tests/header-parsing-test.c | 15 +++++++++++++++
13 2 files changed, 24 insertions(+), 4 deletions(-)
14
15diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
16index 39ad14a..78b2455 100644
17--- a/libsoup/soup-message-headers.c
18+++ b/libsoup/soup-message-headers.c
19@@ -1454,10 +1454,15 @@ soup_message_headers_get_content_disposition (SoupMessageHeaders *hdrs,
20 */
21 if (params && g_hash_table_lookup_extended (*params, "filename",
22 &orig_key, &orig_value)) {
23- char *filename = strrchr (orig_value, '/');
24-
25- if (filename)
26- g_hash_table_insert (*params, g_strdup (orig_key), filename + 1);
27+ if (orig_value) {
28+ char *filename = strrchr (orig_value, '/');
29+
30+ if (filename)
31+ g_hash_table_insert (*params, g_strdup (orig_key), g_strdup(filename + 1));
32+ } else {
33+ /* filename with no value isn't valid. */
34+ g_hash_table_remove (*params, "filename");
35+ }
36 }
37 return TRUE;
38 }
39diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c
40index 946f118..752196e 100644
41--- a/tests/header-parsing-test.c
42+++ b/tests/header-parsing-test.c
43@@ -1034,6 +1034,7 @@ do_param_list_tests (void)
44 #define RFC5987_TEST_HEADER_FALLBACK "attachment; filename*=Unknown''t%FF%FF%FFst.txt; filename=\"test.txt\""
45 #define RFC5987_TEST_HEADER_NO_TYPE "filename=\"test.txt\""
46 #define RFC5987_TEST_HEADER_NO_TYPE_2 "filename=\"test.txt\"; foo=bar"
47+#define RFC5987_TEST_HEADER_EMPTY_FILENAME ";filename"
48
49 static void
50 do_content_disposition_tests (void)
51@@ -1133,6 +1134,20 @@ do_content_disposition_tests (void)
52 g_assert_cmpstr (filename, ==, RFC5987_TEST_FALLBACK_FILENAME);
53 parameter2 = g_hash_table_lookup (params, "foo");
54 g_assert_cmpstr (parameter2, ==, "bar");
55+ g_hash_table_destroy (params);
56+
57+ /* Empty filename */
58+ soup_message_headers_clear (hdrs);
59+ soup_message_headers_append (hdrs, "Content-Disposition",
60+ RFC5987_TEST_HEADER_EMPTY_FILENAME);
61+ if (!soup_message_headers_get_content_disposition (hdrs,
62+ &disposition,
63+ &params)) {
64+ soup_test_assert (FALSE, "empty filename decoding FAILED");
65+ return;
66+ }
67+ g_free (disposition);
68+ g_assert_false (g_hash_table_contains (params, "filename"));
69 g_hash_table_destroy (params);
70
71 soup_message_headers_free (hdrs);
72--
732.34.1
74
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch
new file mode 100644
index 0000000000..d867e5bc17
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch
@@ -0,0 +1,44 @@
1From ced3c5d8cad0177b297666343f1561799dfefb0d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 22 Nov 2023 18:49:10 -0800
4Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17
5
6Fixes build errors about missing function prototypes with clang-17
7
8Fixes
9| ../libsoup-2.74.3/libsoup/soup-xmlrpc-old.c:512:8: error: call to undeclared function 'xmlParseMemory'; ISO C99 and later do not support implicit function declarations
10
11Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/385]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 libsoup/soup-xmlrpc-old.c | 1 +
15 libsoup/soup-xmlrpc.c | 1 +
16 2 files changed, 2 insertions(+)
17
18diff --git a/libsoup/soup-xmlrpc-old.c b/libsoup/soup-xmlrpc-old.c
19index c57086b6..527e3b23 100644
20--- a/libsoup/soup-xmlrpc-old.c
21+++ b/libsoup/soup-xmlrpc-old.c
22@@ -11,6 +11,7 @@
23
24 #include <string.h>
25
26+#include <libxml/parser.h>
27 #include <libxml/tree.h>
28
29 #include "soup-xmlrpc-old.h"
30diff --git a/libsoup/soup-xmlrpc.c b/libsoup/soup-xmlrpc.c
31index 42dcda9c..e991cbf0 100644
32--- a/libsoup/soup-xmlrpc.c
33+++ b/libsoup/soup-xmlrpc.c
34@@ -17,6 +17,7 @@
35
36 #include <string.h>
37 #include <errno.h>
38+#include <libxml/parser.h>
39 #include <libxml/tree.h>
40 #include "soup-xmlrpc.h"
41 #include "soup.h"
42--
432.43.0
44
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-possibly-uninitialized-warnings.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-possibly-uninitialized-warnings.patch
new file mode 100644
index 0000000000..fcd442c13a
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Fix-possibly-uninitialized-warnings.patch
@@ -0,0 +1,43 @@
1From 1159686379184a1c899eabb2174258aba5e0fd79 Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Mon, 20 Sep 2021 15:41:31 -0500
4Subject: [PATCH] Fix possibly uninitialized warnings
5
6Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/fb98e9a8c3062c75357b961543af091de2dd5459]
7
8Signed-off-by: Changqing Li <changqing.li@windriver.com>
9---
10 libsoup/soup-websocket-connection.c | 2 +-
11 tests/samesite-test.c | 3 +++
12 2 files changed, 4 insertions(+), 1 deletion(-)
13
14diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c
15index 65c1492..585d45c 100644
16--- a/libsoup/soup-websocket-connection.c
17+++ b/libsoup/soup-websocket-connection.c
18@@ -471,7 +471,7 @@ send_message (SoupWebsocketConnection *self,
19 GByteArray *bytes;
20 gsize frame_len;
21 guint8 *outer;
22- guint8 mask_offset;
23+ guint8 mask_offset = 0;
24 GBytes *filtered_bytes;
25 GList *l;
26 GError *error = NULL;
27diff --git a/tests/samesite-test.c b/tests/samesite-test.c
28index 0b081b2..60c9b8e 100644
29--- a/tests/samesite-test.c
30+++ b/tests/samesite-test.c
31@@ -60,6 +60,9 @@ assert_highest_policy_visible (GSList *cookies, SoupSameSitePolicy policy)
32 case SOUP_SAME_SITE_POLICY_NONE:
33 expected_count = 1;
34 break;
35+ default:
36+ g_assert_not_reached ();
37+ break;
38 }
39
40 g_assert_cmpuint (size, ==, expected_count);
41--
422.34.1
43
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Remove-http-and-https-aliases-support-test.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Remove-http-and-https-aliases-support-test.patch
new file mode 100644
index 0000000000..0d4139ec08
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/0001-Remove-http-and-https-aliases-support-test.patch
@@ -0,0 +1,145 @@
1From 0e3bfa22b23451531caf8cc30b1771ac6a41fcad Mon Sep 17 00:00:00 2001
2From: Carlos Garcia Campos <cgarcia@igalia.com>
3Date: Thu, 11 Feb 2021 10:47:09 +0100
4Subject: [PATCH] Remove http and https aliases support test
5
6Upstream has removed the whole function of http and https aliases
7support, this commit partially cherry pick it, only remove the test to
8mute the warning:
9| ../libsoup-2.74.3/tests/server-test.c: In function 'do_one_server_aliases_test':
10| ../libsoup-2.74.3/tests/server-test.c:180:17: warning: 'g_socket_client_set_tls_validation_flags' is deprecated [-Wdeprecated-declarations]
11| 180 | g_socket_client_set_tls_validation_flags (client, 0);
12| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
14Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/111ae4ebe7cc2e389573cff5b9ac76509d6cbac0]
15
16Signed-off-by: Changqing Li <changqing.li@windriver.com>
17---
18 tests/server-test.c | 104 --------------------------------------------
19 1 file changed, 104 deletions(-)
20
21diff --git a/tests/server-test.c b/tests/server-test.c
22index 8976103..cb7e815 100644
23--- a/tests/server-test.c
24+++ b/tests/server-test.c
25@@ -154,108 +154,6 @@ do_star_test (ServerData *sd, gconstpointer test_data)
26 soup_uri_free (star_uri);
27 }
28
29-static void
30-do_one_server_aliases_test (SoupURI *uri,
31- const char *alias,
32- gboolean succeed)
33-{
34- GSocketClient *client;
35- GSocketConnectable *addr;
36- GSocketConnection *conn;
37- GInputStream *in;
38- GOutputStream *out;
39- GError *error = NULL;
40- GString *req;
41- static char buf[1024];
42-
43- debug_printf (1, " %s via %s\n", alias, uri->scheme);
44-
45- /* There's no way to make libsoup's client side send an absolute
46- * URI (to a non-proxy server), so we have to fake this.
47- */
48-
49- client = g_socket_client_new ();
50- if (uri->scheme == SOUP_URI_SCHEME_HTTPS) {
51- g_socket_client_set_tls (client, TRUE);
52- g_socket_client_set_tls_validation_flags (client, 0);
53- }
54- addr = g_network_address_new (uri->host, uri->port);
55-
56- conn = g_socket_client_connect (client, addr, NULL, &error);
57- g_object_unref (addr);
58- g_object_unref (client);
59- if (!conn) {
60- g_assert_no_error (error);
61- g_error_free (error);
62- return;
63- }
64-
65- in = g_io_stream_get_input_stream (G_IO_STREAM (conn));
66- out = g_io_stream_get_output_stream (G_IO_STREAM (conn));
67-
68- req = g_string_new (NULL);
69- g_string_append_printf (req, "GET %s://%s:%d HTTP/1.1\r\n",
70- alias, uri->host, uri->port);
71- g_string_append_printf (req, "Host: %s:%d\r\n",
72- uri->host, uri->port);
73- g_string_append (req, "Connection: close\r\n\r\n");
74-
75- if (!g_output_stream_write_all (out, req->str, req->len, NULL, NULL, &error)) {
76- g_assert_no_error (error);
77- g_error_free (error);
78- g_object_unref (conn);
79- g_string_free (req, TRUE);
80- return;
81- }
82- g_string_free (req, TRUE);
83-
84- if (!g_input_stream_read_all (in, buf, sizeof (buf), NULL, NULL, &error)) {
85- g_assert_no_error (error);
86- g_error_free (error);
87- g_object_unref (conn);
88- return;
89- }
90-
91- if (succeed)
92- g_assert_true (g_str_has_prefix (buf, "HTTP/1.1 200 "));
93- else
94- g_assert_true (g_str_has_prefix (buf, "HTTP/1.1 400 "));
95-
96- g_io_stream_close (G_IO_STREAM (conn), NULL, NULL);
97- g_object_unref (conn);
98-}
99-
100-static void
101-do_server_aliases_test (ServerData *sd, gconstpointer test_data)
102-{
103- char *http_aliases[] = { "dav", NULL };
104- char *https_aliases[] = { "davs", NULL };
105- char *http_good[] = { "http", "dav", NULL };
106- char *http_bad[] = { "https", "davs", "fred", NULL };
107- char *https_good[] = { "https", "davs", NULL };
108- char *https_bad[] = { "http", "dav", "fred", NULL };
109- int i;
110-
111- g_test_bug ("703694");
112-
113- g_object_set (G_OBJECT (sd->server),
114- SOUP_SERVER_HTTP_ALIASES, http_aliases,
115- SOUP_SERVER_HTTPS_ALIASES, https_aliases,
116- NULL);
117-
118- for (i = 0; http_good[i]; i++)
119- do_one_server_aliases_test (sd->base_uri, http_good[i], TRUE);
120- for (i = 0; http_bad[i]; i++)
121- do_one_server_aliases_test (sd->base_uri, http_bad[i], FALSE);
122-
123- if (tls_available) {
124- for (i = 0; https_good[i]; i++)
125- do_one_server_aliases_test (sd->ssl_base_uri, https_good[i], TRUE);
126- for (i = 0; https_bad[i]; i++)
127- do_one_server_aliases_test (sd->ssl_base_uri, https_bad[i], FALSE);
128- }
129-}
130-
131 static void
132 do_dot_dot_test (ServerData *sd, gconstpointer test_data)
133 {
134@@ -1382,8 +1280,6 @@ main (int argc, char **argv)
135
136 g_test_add ("/server/OPTIONS *", ServerData, NULL,
137 server_setup, do_star_test, server_teardown);
138- g_test_add ("/server/aliases", ServerData, NULL,
139- server_setup, do_server_aliases_test, server_teardown);
140 g_test_add ("/server/..-in-path", ServerData, NULL,
141 server_setup, do_dot_dot_test, server_teardown);
142 g_test_add ("/server/ipv6", ServerData, NULL,
143--
1442.34.1
145
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch
new file mode 100644
index 0000000000..04713850e1
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch
@@ -0,0 +1,150 @@
1From 4a2bb98e03d79146c729dca52c8d6edc635218ff Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Mon, 8 Jul 2024 12:33:15 -0500
4Subject: [PATCH] headers: Strictly don't allow NUL bytes
5
6In the past (2015) this was allowed for some problematic sites. However Chromium also does not allow NUL bytes in either header names or values these days. So this should no longer be a problem.
7
8CVE: CVE-2024-52530
9Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/402/diffs?commit_id=04df03bc092ac20607f3e150936624d4f536e68b]
10
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 libsoup/soup-headers.c | 15 +++------
14 tests/header-parsing-test.c | 62 +++++++++++++++++--------------------
15 2 files changed, 32 insertions(+), 45 deletions(-)
16
17diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
18index eec28ad..e5d3c03 100644
19--- a/libsoup/soup-headers.c
20+++ b/libsoup/soup-headers.c
21@@ -50,13 +50,14 @@ soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest)
22 * ignorable trailing whitespace.
23 */
24
25+ /* No '\0's are allowed */
26+ if (memchr (str, '\0', len))
27+ return FALSE;
28+
29 /* Skip over the Request-Line / Status-Line */
30 headers_start = memchr (str, '\n', len);
31 if (!headers_start)
32 return FALSE;
33- /* No '\0's in the Request-Line / Status-Line */
34- if (memchr (str, '\0', headers_start - str))
35- return FALSE;
36
37 /* We work on a copy of the headers, which we can write '\0's
38 * into, so that we don't have to individually g_strndup and
39@@ -68,14 +69,6 @@ soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest)
40 headers_copy[copy_len] = '\0';
41 value_end = headers_copy;
42
43- /* There shouldn't be any '\0's in the headers already, but
44- * this is the web we're talking about.
45- */
46- while ((p = memchr (headers_copy, '\0', copy_len))) {
47- memmove (p, p + 1, copy_len - (p - headers_copy));
48- copy_len--;
49- }
50-
51 while (*(value_end + 1)) {
52 name = value_end + 1;
53 name_end = strchr (name, ':');
54diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c
55index 752196e..c1d3b33 100644
56--- a/tests/header-parsing-test.c
57+++ b/tests/header-parsing-test.c
58@@ -358,24 +358,6 @@ static struct RequestTest {
59 }
60 },
61
62- { "NUL in header name", "760832",
63- "GET / HTTP/1.1\r\nHost\x00: example.com\r\n", 36,
64- SOUP_STATUS_OK,
65- "GET", "/", SOUP_HTTP_1_1,
66- { { "Host", "example.com" },
67- { NULL }
68- }
69- },
70-
71- { "NUL in header value", "760832",
72- "GET / HTTP/1.1\r\nHost: example\x00" "com\r\n", 35,
73- SOUP_STATUS_OK,
74- "GET", "/", SOUP_HTTP_1_1,
75- { { "Host", "examplecom" },
76- { NULL }
77- }
78- },
79-
80 /************************/
81 /*** INVALID REQUESTS ***/
82 /************************/
83@@ -448,6 +430,21 @@ static struct RequestTest {
84 SOUP_STATUS_EXPECTATION_FAILED,
85 NULL, NULL, -1,
86 { { NULL } }
87+ },
88+
89+ // https://gitlab.gnome.org/GNOME/libsoup/-/issues/377
90+ { "NUL in header name", NULL,
91+ "GET / HTTP/1.1\r\nHost\x00: example.com\r\n", 36,
92+ SOUP_STATUS_BAD_REQUEST,
93+ NULL, NULL, -1,
94+ { { NULL } }
95+ },
96+
97+ { "NUL in header value", NULL,
98+ "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28,
99+ SOUP_STATUS_BAD_REQUEST,
100+ NULL, NULL, -1,
101+ { { NULL } }
102 }
103 };
104 static const int num_reqtests = G_N_ELEMENTS (reqtests);
105@@ -620,22 +617,6 @@ static struct ResponseTest {
106 { NULL } }
107 },
108
109- { "NUL in header name", "760832",
110- "HTTP/1.1 200 OK\r\nF\x00oo: bar\r\n", 28,
111- SOUP_HTTP_1_1, SOUP_STATUS_OK, "OK",
112- { { "Foo", "bar" },
113- { NULL }
114- }
115- },
116-
117- { "NUL in header value", "760832",
118- "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28,
119- SOUP_HTTP_1_1, SOUP_STATUS_OK, "OK",
120- { { "Foo", "bar" },
121- { NULL }
122- }
123- },
124-
125 /********************************/
126 /*** VALID CONTINUE RESPONSES ***/
127 /********************************/
128@@ -768,6 +749,19 @@ static struct ResponseTest {
129 { { NULL }
130 }
131 },
132+
133+ // https://gitlab.gnome.org/GNOME/libsoup/-/issues/377
134+ { "NUL in header name", NULL,
135+ "HTTP/1.1 200 OK\r\nF\x00oo: bar\r\n", 28,
136+ -1, 0, NULL,
137+ { { NULL } }
138+ },
139+
140+ { "NUL in header value", "760832",
141+ "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28,
142+ -1, 0, NULL,
143+ { { NULL } }
144+ },
145 };
146 static const int num_resptests = G_N_ELEMENTS (resptests);
147
148--
1492.34.1
150
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch
new file mode 100644
index 0000000000..9de0310c8d
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch
@@ -0,0 +1,39 @@
1From 8331e681c85c3b1893d8d5193783f631bfc07acb Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 13:42:08 +0800
4Subject: [PATCH] tests: Add test for passing invalid UTF-8 to
5 soup_header_parse_semi_param_list()
6
7CVE: CVE-2024-52531
8Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/407/diffs?commit_id=825fda3425546847b42ad5270544e9388ff349fe]
9
10Signed-off-by: Changqing Li <changqing.li@windriver.com>
11---
12 tests/header-parsing-test.c | 11 +++++++++++
13 1 file changed, 11 insertions(+)
14
15diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c
16index b811115..cfcc003 100644
17--- a/tests/header-parsing-test.c
18+++ b/tests/header-parsing-test.c
19@@ -836,6 +836,17 @@ static struct ParamListTest {
20 { "filename", "t\xC3\xA9st.txt" },
21 },
22 },
23+
24+/* This tests invalid UTF-8 data which *should* never be passed here but it was designed to be robust against it. */
25+ { TRUE,
26+ "invalid*=\x69\x27\x27\x93\x93\x93\x93\xff\x61\x61\x61\x61\x61\x61\x61\x62\x63\x64\x65\x0a; filename*=iso-8859-1''\x69\x27\x27\x93\x93\x93\x93\xff\x61\x61\x61\x61\x61\x61\x61\x62\x63\x64\x65\x0a; foo",
27+ {
28+ { "filename", "i''\302\223\302\223\302\223\302\223\303\277aaaaaaabcde" },
29+ { "invalid", "\302\223\302\223\302\223\302\223\303\277aaaaaaabcde" },
30+ { "foo", NULL },
31+ },
32+ }
33+
34 };
35 static const int num_paramlisttests = G_N_ELEMENTS (paramlisttests);
36
37--
382.34.1
39
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch
new file mode 100644
index 0000000000..740c28c016
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch
@@ -0,0 +1,133 @@
1From 12523a592f1216450d18706bcf6c16e0f1ab0ce0 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 13:52:37 +0800
4Subject: [PATCH] headers: Be more robust against invalid input when
5 parsing params
6
7If you pass invalid input to a function such as soup_header_parse_param_list_strict()
8it can cause an overflow if it decodes the input to UTF-8.
9
10This should never happen with valid UTF-8 input which libsoup's client API
11ensures, however it's server API does not currently.
12
13CVE: CVE-2024-52531
14Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/407/diffs?commit_id=a35222dd0bfab2ac97c10e86b95f762456628283]
15
16Signed-off-by: Changqing Li <changqing.li@windriver.com>
17---
18 libsoup/soup-headers.c | 45 +++++++++++++++++++++---------------------
19 1 file changed, 23 insertions(+), 22 deletions(-)
20
21diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
22index 67905b2..39e8d34 100644
23--- a/libsoup/soup-headers.c
24+++ b/libsoup/soup-headers.c
25@@ -642,8 +642,9 @@ soup_header_contains (const char *header, const char *token)
26 }
27
28 static void
29-decode_quoted_string (char *quoted_string)
30+decode_quoted_string_inplace (GString *quoted_gstring)
31 {
32+ char *quoted_string = quoted_gstring->str;
33 char *src, *dst;
34
35 src = quoted_string + 1;
36@@ -657,10 +658,11 @@ decode_quoted_string (char *quoted_string)
37 }
38
39 static gboolean
40-decode_rfc5987 (char *encoded_string)
41+decode_rfc5987_inplace (GString *encoded_gstring)
42 {
43 char *q, *decoded;
44 gboolean iso_8859_1 = FALSE;
45+ const char *encoded_string = encoded_gstring->str;
46
47 q = strchr (encoded_string, '\'');
48 if (!q)
49@@ -689,14 +691,7 @@ decode_rfc5987 (char *encoded_string)
50 decoded = utf8;
51 }
52
53- /* If encoded_string was UTF-8, then each 3-character %-escape
54- * will be converted to a single byte, and so decoded is
55- * shorter than encoded_string. If encoded_string was
56- * iso-8859-1, then each 3-character %-escape will be
57- * converted into at most 2 bytes in UTF-8, and so it's still
58- * shorter.
59- */
60- strcpy (encoded_string, decoded);
61+ g_string_assign (encoded_gstring, decoded);
62 g_free (decoded);
63 return TRUE;
64 }
65@@ -706,15 +701,16 @@ parse_param_list (const char *header, char delim, gboolean strict)
66 {
67 GHashTable *params;
68 GSList *list, *iter;
69- char *item, *eq, *name_end, *value;
70- gboolean override, duplicated;
71
72 params = g_hash_table_new_full (soup_str_case_hash,
73 soup_str_case_equal,
74- g_free, NULL);
75+ g_free, g_free);
76
77 list = parse_list (header, delim);
78 for (iter = list; iter; iter = iter->next) {
79+ char *item, *eq, *name_end;
80+ gboolean override, duplicated;
81+ GString *parsed_value = NULL;
82 item = iter->data;
83 override = FALSE;
84
85@@ -729,19 +725,19 @@ parse_param_list (const char *header, char delim, gboolean strict)
86
87 *name_end = '\0';
88
89- value = (char *)skip_lws (eq + 1);
90+ parsed_value = g_string_new ((char *)skip_lws (eq + 1));
91
92 if (name_end[-1] == '*' && name_end > item + 1) {
93 name_end[-1] = '\0';
94- if (!decode_rfc5987 (value)) {
95+ if (!decode_rfc5987_inplace (parsed_value)) {
96+ g_string_free (parsed_value, TRUE);
97 g_free (item);
98 continue;
99 }
100 override = TRUE;
101- } else if (*value == '"')
102- decode_quoted_string (value);
103- } else
104- value = NULL;
105+ } else if (parsed_value->str[0] == '"')
106+ decode_quoted_string_inplace (parsed_value);
107+ }
108
109 duplicated = g_hash_table_lookup_extended (params, item, NULL, NULL);
110
111@@ -749,11 +745,16 @@ parse_param_list (const char *header, char delim, gboolean strict)
112 soup_header_free_param_list (params);
113 params = NULL;
114 g_slist_foreach (iter, (GFunc)g_free, NULL);
115+ if (parsed_value)
116+ g_string_free (parsed_value, TRUE);
117 break;
118- } else if (override || !duplicated)
119- g_hash_table_replace (params, item, value);
120- else
121+ } else if (override || !duplicated) {
122+ g_hash_table_replace (params, item, parsed_value ? g_string_free (parsed_value, FALSE) : NULL);
123+ } else {
124+ if (parsed_value)
125+ g_string_free (parsed_value, TRUE);
126 g_free (item);
127+ }
128 }
129
130 g_slist_free (list);
131--
1322.34.1
133
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-1.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-1.patch
new file mode 100644
index 0000000000..cb1f096110
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-1.patch
@@ -0,0 +1,37 @@
1From a693d49bff058fc20a448dc4e7d324ff0dc6597e Mon Sep 17 00:00:00 2001
2From: Ignacio Casal Quinteiro <qignacio@amazon.com>
3Date: Wed, 11 Sep 2024 11:52:11 +0200
4Subject: [PATCH 1/3] websocket: process the frame as soon as we read data
5
6Otherwise we can enter in a read loop because we were not
7validating the data until the all the data was read.
8
9Fixes #391
10
11CVE: CVE-2024-52532
12Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/6adc0e3eb74c257ed4e2a23eb4b2774fdb0d67be#f1d67ca0386b145ea201cf88d27f72724d7c6715]
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15---
16 libsoup/soup-websocket-connection.c | 5 ++---
17 1 file changed, 2 insertions(+), 3 deletions(-)
18
19diff --git a/libsoup/soup-websocket-connection.c b/libsoup/soup-websocket-connection.c
20index a4095e1..65c1492 100644
21--- a/libsoup/soup-websocket-connection.c
22+++ b/libsoup/soup-websocket-connection.c
23@@ -1140,9 +1140,8 @@ soup_websocket_connection_read (SoupWebsocketConnection *self)
24 }
25
26 pv->incoming->len = len + count;
27- } while (count > 0);
28-
29- process_incoming (self);
30+ process_incoming (self);
31+ } while (count > 0 && !pv->close_sent && !pv->io_closing);
32
33 if (end) {
34 if (!pv->close_sent || !pv->close_received) {
35--
362.34.1
37
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-2.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-2.patch
new file mode 100644
index 0000000000..dcadafe944
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-2.patch
@@ -0,0 +1,43 @@
1From f5b76410de1318f49844dacf6e68692522b6c856 Mon Sep 17 00:00:00 2001
2From: Ignacio Casal Quinteiro <qignacio@amazon.com>
3Date: Wed, 2 Oct 2024 11:17:19 +0200
4Subject: [PATCH] websocket-test: disconnect error copy after the test ends
5
6Otherwise the server will have already sent a few more wrong
7bytes and the client will continue getting errors to copy
8but the error is already != NULL and it will assert
9
10CVE: CVE-2024-52532
11Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/29b96fab2512666d7241e46c98cc45b60b795c0c]
12
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14---
15 tests/websocket-test.c | 5 ++++-
16 1 file changed, 4 insertions(+), 1 deletion(-)
17
18diff --git a/tests/websocket-test.c b/tests/websocket-test.c
19index 5e40cf3..1ec9ff6 100644
20--- a/tests/websocket-test.c
21+++ b/tests/websocket-test.c
22@@ -1331,8 +1331,9 @@ test_receive_invalid_encode_length_64 (Test *test,
23 GError *error = NULL;
24 InvalidEncodeLengthTest context = { test, NULL };
25 guint i;
26+ guint error_id;
27
28- g_signal_connect (test->client, "error", G_CALLBACK (on_error_copy), &error);
29+ error_id = g_signal_connect (test->client, "error", G_CALLBACK (on_error_copy), &error);
30 g_signal_connect (test->client, "message", G_CALLBACK (on_binary_message), &received);
31
32 /* We use 127(\x7f) as payload length with 65535 extended length */
33@@ -1345,6 +1346,7 @@ test_receive_invalid_encode_length_64 (Test *test,
34 WAIT_UNTIL (error != NULL || received != NULL);
35 g_assert_error (error, SOUP_WEBSOCKET_ERROR, SOUP_WEBSOCKET_CLOSE_PROTOCOL_ERROR);
36 g_clear_error (&error);
37+ g_signal_handler_disconnect (test->client, error_id);
38 g_assert_null (received);
39
40 g_thread_join (thread);
41--
422.34.1
43
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-3.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-3.patch
new file mode 100644
index 0000000000..ab6af72291
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2024-52532-3.patch
@@ -0,0 +1,48 @@
1From d97bb2e340f5a6d7e56a7738403f9d18bc406b70 Mon Sep 17 00:00:00 2001
2From: Simon McVittie <smcv@debian.org>
3Date: Wed, 13 Nov 2024 14:14:23 +0000
4Subject: [PATCH 3/3] websocket-test: Disconnect error signal in another place
5
6This is the same change as commit 29b96fab "websocket-test: disconnect
7error copy after the test ends", and is done for the same reason, but
8replicating it into a different function.
9
10Fixes: 6adc0e3e "websocket: process the frame as soon as we read data"
11Resolves: https://gitlab.gnome.org/GNOME/libsoup/-/issues/399
12Signed-off-by: Simon McVittie <smcv@debian.org>
13
14CVE: CVE-2024-52532
15Upstream-Status: Backport
16[https://gitlab.gnome.org/GNOME/libsoup/-/commit/4c9e75c6676a37b6485620c332e568e1a3f530ff]
17
18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19---
20 tests/websocket-test.c | 4 +++-
21 1 file changed, 3 insertions(+), 1 deletion(-)
22
23diff --git a/tests/websocket-test.c b/tests/websocket-test.c
24index 2b19a7b..0699a06 100644
25--- a/tests/websocket-test.c
26+++ b/tests/websocket-test.c
27@@ -1300,8 +1300,9 @@ test_receive_invalid_encode_length_16 (Test *test,
28 GError *error = NULL;
29 InvalidEncodeLengthTest context = { test, NULL };
30 guint i;
31+ guint error_id;
32
33- g_signal_connect (test->client, "error", G_CALLBACK (on_error_copy), &error);
34+ error_id = g_signal_connect (test->client, "error", G_CALLBACK (on_error_copy), &error);
35 g_signal_connect (test->client, "message", G_CALLBACK (on_binary_message), &received);
36
37 /* We use 126(~) as payload length with 125 extended length */
38@@ -1314,6 +1315,7 @@ test_receive_invalid_encode_length_16 (Test *test,
39 WAIT_UNTIL (error != NULL || received != NULL);
40 g_assert_error (error, SOUP_WEBSOCKET_ERROR, SOUP_WEBSOCKET_CLOSE_PROTOCOL_ERROR);
41 g_clear_error (&error);
42+ g_signal_handler_disconnect (test->client, error_id);
43 g_assert_null (received);
44
45 g_thread_join (thread);
46--
472.34.1
48
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch
new file mode 100644
index 0000000000..106f907168
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch
@@ -0,0 +1,56 @@
1From 2eacbd762332795e00692ddab2515c6da23198d3 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 12 May 2025 14:06:41 +0800
4Subject: [PATCH] sniffer: Add better coverage of skip_insignificant_space()
5
6CVE: CVE-2025-2784
7Upstream-Status: Backport
8[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/435/diffs?commit_id=242a10fbb12dbdc12d254bd8fc8669a0ac055304;
9 https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/442/diffs?commit_id=c415ad0b6771992e66c70edf373566c6e247089d]
10
11Test code is not added since it uses some functions not defined in
12version 2.74. These tests are not used now, so just ignore them.
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15---
16 libsoup/soup-content-sniffer.c | 9 +++----
17 1 files changed, 3 insertions(+), 4 deletions(-)
18
19diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
20index 5f2896e..9554636 100644
21--- a/libsoup/soup-content-sniffer.c
22+++ b/libsoup/soup-content-sniffer.c
23@@ -612,8 +612,10 @@ sniff_text_or_binary (SoupContentSniffer *sniffer, SoupBuffer *buffer)
24 }
25
26 static gboolean
27-skip_insignificant_space (const char *resource, int *pos, int resource_length)
28+skip_insignificant_space (const char *resource, gsize *pos, gsize resource_length)
29 {
30+ if (*pos >= resource_length)
31+ return TRUE;
32 while ((resource[*pos] == '\x09') ||
33 (resource[*pos] == '\x20') ||
34 (resource[*pos] == '\x0A') ||
35@@ -632,7 +634,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer)
36 {
37 const char *resource = (const char *)buffer->data;
38 int resource_length = MIN (512, buffer->length);
39- int pos = 0;
40+ gsize pos = 0;
41
42 if (resource_length < 3)
43 goto text_html;
44@@ -642,9 +644,6 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer)
45 pos = 3;
46
47 look_for_tag:
48- if (pos > resource_length)
49- goto text_html;
50-
51 if (skip_insignificant_space (resource, &pos, resource_length))
52 goto text_html;
53
54--
552.34.1
56
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch
new file mode 100644
index 0000000000..c032846ef0
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch
@@ -0,0 +1,29 @@
1From 5709dfffb6fdc5b66ce001bf82a755ad8ad1d992 Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Mon, 28 Oct 2024 12:29:48 -0500
4Subject: [PATCH] Fix using int instead of size_t for strcspn return
5
6CVE: CVE-2025-32050
7Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323]
8
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10---
11 libsoup/soup-headers.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
15index 9707ca0..67905b2 100644
16--- a/libsoup/soup-headers.c
17+++ b/libsoup/soup-headers.c
18@@ -902,7 +902,7 @@ append_param_quoted (GString *string,
19 const char *name,
20 const char *value)
21 {
22- int len;
23+ gsize len;
24
25 g_string_append (string, name);
26 g_string_append (string, "=\"");
27--
282.34.1
29
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch
new file mode 100644
index 0000000000..34bc8113a4
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch
@@ -0,0 +1,32 @@
1From f4a67a9a3033586edaee715d40d5992e02d32893 Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Sat, 16 Nov 2024 12:07:30 -0600
4Subject: [PATCH] Fix heap buffer overflow in soup_content_sniffer_sniff
5
6Co-Author: Ar Jun <pkillarjun@protonmail.com>
7
8CVE: CVE-2025-32052
9Upstream-Status: Backport
10[https://gitlab.gnome.org/GNOME/libsoup/-/commit/f182429e5b1fc034050510da20c93256c4fa9652#500da7cfde649872c49169be34b03a1c42a53ddb]
11
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 libsoup/soup-content-sniffer.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
18index 9554636..eac9e7b 100644
19--- a/libsoup/soup-content-sniffer.c
20+++ b/libsoup/soup-content-sniffer.c
21@@ -504,7 +504,7 @@ sniff_unknown (SoupContentSniffer *sniffer, SoupBuffer *buffer,
22 guint index_pattern = 0;
23 gboolean skip_row = FALSE;
24
25- while ((index_stream < resource_length) &&
26+ while ((index_stream < resource_length - 1) &&
27 (index_pattern <= type_row->pattern_length)) {
28 /* Skip insignificant white space ("WS" in the spec) */
29 if (type_row->pattern[index_pattern] == ' ') {
30--
312.34.1
32
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch
new file mode 100644
index 0000000000..0d829d6200
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch
@@ -0,0 +1,39 @@
1From d9bcffd6cd5e8ec32889a594f7348d67a5101b3a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 12 May 2025 13:58:42 +0800
4Subject: [PATCH] Fix heap buffer overflow in
5 soup-content-sniffer.c:sniff_feed_or_html()
6
7CVE: CVE-2025-32053
8Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/eaed42ca8d40cd9ab63764e3d63641180505f40a]
9
10Signed-off-by: Changqing Li <changqing.li@windriver.com>
11---
12 libsoup/soup-content-sniffer.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
16index 967ec61..5f2896e 100644
17--- a/libsoup/soup-content-sniffer.c
18+++ b/libsoup/soup-content-sniffer.c
19@@ -620,7 +620,7 @@ skip_insignificant_space (const char *resource, int *pos, int resource_length)
20 (resource[*pos] == '\x0D')) {
21 *pos = *pos + 1;
22
23- if (*pos > resource_length)
24+ if (*pos >= resource_length)
25 return TRUE;
26 }
27
28@@ -682,7 +682,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer)
29 do {
30 pos++;
31
32- if (pos > resource_length)
33+ if ((pos + 1) > resource_length)
34 goto text_html;
35 } while (resource[pos] != '>');
36
37--
382.34.1
39
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch
new file mode 100644
index 0000000000..c33ebf8056
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch
@@ -0,0 +1,71 @@
1From 4b8809cca4bbcbf9514314d86227f985362258b0 Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Wed, 12 Feb 2025 11:30:02 -0600
4Subject: [PATCH] headers: Handle parsing only newlines
5
6Closes #404
7Closes #407
8
9CVE: CVE-2025-32906
10Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/af5b9a4a3945c52b940d5ac181ef51bb12011f1f]
11
12Signed-off-by: Changqing Li <changqing.li@windriver.com>
13---
14 libsoup/soup-headers.c | 4 ++--
15 tests/header-parsing-test.c | 11 +++++++++++
16 2 files changed, 13 insertions(+), 2 deletions(-)
17
18diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
19index e5d3c03..87bb3dc 100644
20--- a/libsoup/soup-headers.c
21+++ b/libsoup/soup-headers.c
22@@ -185,7 +185,7 @@ soup_headers_parse_request (const char *str,
23 /* RFC 2616 4.1 "servers SHOULD ignore any empty line(s)
24 * received where a Request-Line is expected."
25 */
26- while ((*str == '\r' || *str == '\n') && len > 0) {
27+ while (len > 0 && (*str == '\r' || *str == '\n')) {
28 str++;
29 len--;
30 }
31@@ -369,7 +369,7 @@ soup_headers_parse_response (const char *str,
32 * after a response, which we then see prepended to the next
33 * response on that connection.
34 */
35- while ((*str == '\r' || *str == '\n') && len > 0) {
36+ while (len > 0 && (*str == '\r' || *str == '\n')) {
37 str++;
38 len--;
39 }
40diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c
41index c1d3b33..b811115 100644
42--- a/tests/header-parsing-test.c
43+++ b/tests/header-parsing-test.c
44@@ -6,6 +6,10 @@ typedef struct {
45 const char *name, *value;
46 } Header;
47
48+static char only_newlines[] = {
49+ '\n', '\n', '\n', '\n'
50+};
51+
52 static struct RequestTest {
53 const char *description;
54 const char *bugref;
55@@ -445,6 +449,13 @@ static struct RequestTest {
56 SOUP_STATUS_BAD_REQUEST,
57 NULL, NULL, -1,
58 { { NULL } }
59+ },
60+
61+ { "Only newlines", NULL,
62+ only_newlines, sizeof (only_newlines),
63+ SOUP_STATUS_BAD_REQUEST,
64+ NULL, NULL, -1,
65+ { { NULL } }
66 }
67 };
68 static const int num_reqtests = G_N_ELEMENTS (reqtests);
69--
702.34.1
71
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch
new file mode 100644
index 0000000000..41dd3ff3f4
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch
@@ -0,0 +1,39 @@
1From 8158b4084dcba2a233dfcb7359c53ab2840148f7 Mon Sep 17 00:00:00 2001
2From: Milan Crha <mcrha@redhat.com>
3Date: Tue, 15 Apr 2025 12:17:39 +0200
4Subject: [PATCH 1/2] soup-message-headers: Correct merge of ranges
5
6It had been skipping every second range, which generated an array
7of a lot of insane ranges, causing large memory usage by the server.
8
9Closes #428
10
11Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452>
12
13CVE: CVE-2025-32907
14Upstream-Status: Backport
15[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452/diffs?commit_id=9bb92f7a685e31e10e9e8221d0342280432ce836]
16
17Test part not applied since test codes use some functions not in this
18version
19
20Signed-off-by: Changqing Li <changqing.li@windriver.com>
21---
22 libsoup/soup-message-headers.c | 1 +
23 1 files changed, 1 insertions(+)
24
25diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c
26index 78b2455..00b9763 100644
27--- a/libsoup/soup-message-headers.c
28+++ b/libsoup/soup-message-headers.c
29@@ -1024,6 +1024,7 @@ soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs,
30 if (cur->start <= prev->end) {
31 prev->end = MAX (prev->end, cur->end);
32 g_array_remove_index (array, i);
33+ i--;
34 }
35 }
36 }
37--
382.34.1
39
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch
new file mode 100644
index 0000000000..2f5366348d
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch
@@ -0,0 +1,38 @@
1From e6e088e62c10ab91fa2f2ad5c122332aa7cde97c Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 12 May 2025 16:55:37 +0800
4Subject: [PATCH] content-sniffer: Handle sniffing resource shorter than
5 4 bytes
6
7CVE: CVE-2025-32909
8Upstream-Status: Backport
9[https://gitlab.gnome.org/GNOME/libsoup/-/commit/ba4c3a6f988beff59e45801ab36067293d24ce92]
10
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 libsoup/soup-content-sniffer.c | 7 ++++++-
14 1 file changed, 6 insertions(+), 1 deletion(-)
15
16diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c
17index eac9e7b..73d2245 100644
18--- a/libsoup/soup-content-sniffer.c
19+++ b/libsoup/soup-content-sniffer.c
20@@ -227,9 +227,14 @@ sniff_mp4 (SoupContentSniffer *sniffer, SoupBuffer *buffer)
21 {
22 const char *resource = (const char *)buffer->data;
23 guint resource_length = MIN (512, buffer->length);
24- guint32 box_size = *((guint32*)resource);
25+ guint32 box_size;
26 guint i;
27
28+ if (resource_length < sizeof (guint32))
29+ return FALSE;
30+
31+ box_size = *((guint32*)resource);
32+
33 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
34 box_size = ((box_size >> 24) |
35 ((box_size << 8) & 0x00FF0000) |
36--
372.34.1
38
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch
new file mode 100644
index 0000000000..c1dc6860f2
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch
@@ -0,0 +1,32 @@
1From a7e711d0f162c6edc8acad2a96981d4890784ea3 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 12 May 2025 17:02:55 +0800
4Subject: [PATCH] auth-digest: Handle missing realm/nonce in authenticate
5 header
6
7CVE: CVE-2025-32910
8Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=e40df6d48a1cbab56f5d15016cc861a503423cfe]
9
10Signed-off-by: Changqing Li <changqing.li@windriver.com>
11---
12 libsoup/soup-auth-digest.c | 3 +++
13 1 files changed, 3 insertions(+)
14
15diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
16index e8ba990..0ab3499 100644
17--- a/libsoup/soup-auth-digest.c
18+++ b/libsoup/soup-auth-digest.c
19@@ -142,6 +142,9 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg,
20 guint qop_options;
21 gboolean ok = TRUE;
22
23+ if (!soup_auth_get_realm (auth))
24+ return FALSE;
25+
26 g_free (priv->domain);
27 g_free (priv->nonce);
28 g_free (priv->opaque);
29
30--
312.34.1
32
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch
new file mode 100644
index 0000000000..019a35e3be
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch
@@ -0,0 +1,94 @@
1From eccfca1074fc485a0b60dfb9c8385429a226bf73 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 13:19:38 +0800
4Subject: [PATCH] auth-digest: Handle missing nonce
5
6CVE: CVE-2025-32910
7Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=405a8a34597a44bd58c4759e7d5e23f02c3b556a]
8
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10---
11 libsoup/soup-auth-digest.c | 45 ++++++++++++++++++++++++++++----------
12 1 files changed, 28 insertions(+), 10 deletions(-)
13
14diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
15index 0ab3499..10a8591 100644
16--- a/libsoup/soup-auth-digest.c
17+++ b/libsoup/soup-auth-digest.c
18@@ -132,6 +132,19 @@ soup_auth_digest_get_qop (SoupAuthDigestQop qop)
19 return g_string_free (out, FALSE);
20 }
21
22+static gboolean
23+validate_params (SoupAuthDigest *auth_digest)
24+{
25+ SoupAuthDigestPrivate *priv = soup_auth_digest_get_instance_private (auth_digest);
26+
27+ if (priv->qop || priv->algorithm == SOUP_AUTH_DIGEST_ALGORITHM_MD5_SESS) {
28+ if (!priv->nonce)
29+ return FALSE;
30+ }
31+
32+ return TRUE;
33+}
34+
35 static gboolean
36 soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg,
37 GHashTable *auth_params)
38@@ -169,17 +182,22 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg,
39 if (priv->algorithm == -1)
40 ok = FALSE;
41
42- stale = g_hash_table_lookup (auth_params, "stale");
43- if (stale && !g_ascii_strcasecmp (stale, "TRUE") && *priv->hex_urp)
44- recompute_hex_a1 (priv);
45- else {
46- g_free (priv->user);
47- priv->user = NULL;
48- g_free (priv->cnonce);
49- priv->cnonce = NULL;
50- memset (priv->hex_urp, 0, sizeof (priv->hex_urp));
51- memset (priv->hex_a1, 0, sizeof (priv->hex_a1));
52- }
53+ if (!validate_params (auth_digest))
54+ ok = FALSE;
55+
56+ if (ok) {
57+ stale = g_hash_table_lookup (auth_params, "stale");
58+ if (stale && !g_ascii_strcasecmp (stale, "TRUE") && *priv->hex_urp)
59+ recompute_hex_a1 (priv);
60+ else {
61+ g_free (priv->user);
62+ priv->user = NULL;
63+ g_free (priv->cnonce);
64+ priv->cnonce = NULL;
65+ memset (priv->hex_urp, 0, sizeof (priv->hex_urp));
66+ memset (priv->hex_a1, 0, sizeof (priv->hex_a1));
67+ }
68+ }
69
70 return ok;
71 }
72@@ -359,6 +377,8 @@ soup_auth_digest_compute_response (const char *method,
73 if (qop) {
74 char tmp[9];
75
76+ g_assert (cnonce);
77+
78 g_snprintf (tmp, 9, "%.8x", nc);
79 g_checksum_update (checksum, (guchar *)tmp, strlen (tmp));
80 g_checksum_update (checksum, (guchar *)":", 1);
81@@ -422,6 +442,9 @@ soup_auth_digest_get_authorization (SoupAuth *auth, SoupMessage *msg)
82 g_return_val_if_fail (uri != NULL, NULL);
83 url = soup_uri_to_string (uri, TRUE);
84
85+ g_assert (priv->nonce);
86+ g_assert (!priv->qop || priv->cnonce);
87+
88 soup_auth_digest_compute_response (msg->method, url, priv->hex_a1,
89 priv->qop, priv->nonce,
90 priv->cnonce, priv->nc,
91
92--
932.34.1
94
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch
new file mode 100644
index 0000000000..bdf4d64ca3
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch
@@ -0,0 +1,28 @@
1From 74c95d54fe42041fe161cb74c76d942ffd37a5dd Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 13:21:43 +0800
4Subject: [PATCH] auth-digest: Fix leak
5
6CVE: CVE-2025-32910
7Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=ea16eeacb052e423eb5c3b0b705e5eab34b13832]
8
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10---
11 libsoup/soup-auth-digest.c | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
15index 10a8591..6d965d2 100644
16--- a/libsoup/soup-auth-digest.c
17+++ b/libsoup/soup-auth-digest.c
18@@ -66,6 +66,7 @@ soup_auth_digest_finalize (GObject *object)
19 g_free (priv->nonce);
20 g_free (priv->domain);
21 g_free (priv->cnonce);
22+ g_free (priv->opaque);
23
24 memset (priv->hex_urp, 0, sizeof (priv->hex_urp));
25 memset (priv->hex_a1, 0, sizeof (priv->hex_a1));
26--
272.34.1
28
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch
new file mode 100644
index 0000000000..b3ce9d8bc3
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch
@@ -0,0 +1,32 @@
1From 0984dddb11daf14fdf5ca24077cd0ebda796439a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 13:25:32 +0800
4Subject: [PATCH] auth-digest: Handle missing nonce
5
6CVE: CVE-2025-32912
7Upstream-Status: Backport
8[https://gitlab.gnome.org/GNOME/libsoup/-/commit/cd077513f267e43ce4b659eb18a1734d8a369992?merge_request_iid=434
9https://gitlab.gnome.org/GNOME/libsoup/-/commit/910ebdcd3dd82386717a201c13c834f3a63eed7f]
10
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 libsoup/soup-auth-digest.c | 2 +-
14 1 files changed, 1 insertions(+), 1 deletion(-)
15
16diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
17index 6d965d2..f1621ec 100644
18--- a/libsoup/soup-auth-digest.c
19+++ b/libsoup/soup-auth-digest.c
20@@ -156,7 +156,7 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg,
21 guint qop_options;
22 gboolean ok = TRUE;
23
24- if (!soup_auth_get_realm (auth))
25+ if (!soup_auth_get_realm (auth) || !g_hash_table_lookup (auth_params, "nonce"))
26 return FALSE;
27
28 g_free (priv->domain);
29
30--
312.34.1
32
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch
new file mode 100644
index 0000000000..9f3bb21a25
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch
@@ -0,0 +1,35 @@
1From ac844b9fc7945c38ea21fb7cf1a49a5c226d7c9c Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 12 May 2025 16:17:20 +0800
4Subject: [PATCH] Resolve "(CVE-2025-32914) (#YWH-PGM9867-23) OOB Read on
5 libsoup through function "soup_multipart_new_from_message" in
6 soup-multipart.c leads to crash or exit of process"
7
8CVE: CVE-2025-32914
9Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/450/diffs?commit_id=5bfcf8157597f2d327050114fb37ff600004dbcf]
10
11Test code are not added since some functions not aligned with version
122.74.3
13
14Signed-off-by: Changqing Li <changqing.li@windriver.com>
15---
16 libsoup/soup-multipart.c | 2 +-
17 1 files changed, 1 insertions(+), 1 deletion(-)
18
19diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c
20index a7e550f..dd93973 100644
21--- a/libsoup/soup-multipart.c
22+++ b/libsoup/soup-multipart.c
23@@ -181,7 +181,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers,
24 return NULL;
25 }
26
27- split = strstr (start, "\r\n\r\n");
28+ split = g_strstr_len (start, body_end - start, "\r\n\r\n");
29 if (!split || split > end) {
30 soup_multipart_free (multipart);
31 soup_buffer_free (flattened);
32
33--
342.34.1
35
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch
new file mode 100644
index 0000000000..874f62e7ad
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch
@@ -0,0 +1,38 @@
1From 52a0f9234d384b9dab368835b22e5a5a01542168 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 16 May 2025 14:16:10 +0800
4Subject: [PATCH] auth-digest: fix crash in
5 soup_auth_digest_get_protection_space()
6
7We need to validate the Domain parameter in the WWW-Authenticate header.
8
9Unfortunately this crash only occurs when listening on default ports 80
10and 443, so there's no good way to test for this. The test would require
11running as root.
12
13Fixes #440
14
15CVE: CVE-2025-4476
16Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/e64c221f9c7d09b48b610c5626b3b8c400f0907c?merge_request_iid=457]
17
18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19---
20 libsoup/soup-auth-digest.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c
24index f1621ec..a2dc560 100644
25--- a/libsoup/soup-auth-digest.c
26+++ b/libsoup/soup-auth-digest.c
27@@ -229,7 +229,7 @@ soup_auth_digest_get_protection_space (SoupAuth *auth, SoupURI *source_uri)
28 uri = soup_uri_new (d);
29 if (uri && uri->scheme == source_uri->scheme &&
30 uri->port == source_uri->port &&
31- !strcmp (uri->host, source_uri->host))
32+ !g_strcmp0 (uri->host, source_uri->host))
33 dir = g_strdup (uri->path);
34 else
35 dir = NULL;
36--
372.34.1
38
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch
new file mode 100644
index 0000000000..c970661694
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch
@@ -0,0 +1,61 @@
1From 81e03c538d6a102406114567f4f1c468033ce2e4 Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Thu, 26 Dec 2024 18:31:42 -0600
4Subject: [PATCH] soup_header_parse_quality_list: Fix leak
5
6When iterating over the parsed list we now steal the allocated strings that we want and then free_full the list which may contain remaining strings.
7
8CVE: CVE-2025-46420
9Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/421/diffs?commit_id=c9083869ec2a3037e6df4bd86b45c419ba295f8e]
10
11 Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 libsoup/soup-headers.c | 11 +++++------
14 1 file changed, 5 insertions(+), 6 deletions(-)
15
16diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
17index 87bb3dc..9707ca0 100644
18--- a/libsoup/soup-headers.c
19+++ b/libsoup/soup-headers.c
20@@ -528,7 +528,7 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable)
21 GSList *unsorted;
22 QualityItem *array;
23 GSList *sorted, *iter;
24- char *item, *semi;
25+ char *semi;
26 const char *param, *equal, *value;
27 double qval;
28 int n;
29@@ -541,9 +541,8 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable)
30 unsorted = soup_header_parse_list (header);
31 array = g_new0 (QualityItem, g_slist_length (unsorted));
32 for (iter = unsorted, n = 0; iter; iter = iter->next) {
33- item = iter->data;
34 qval = 1.0;
35- for (semi = strchr (item, ';'); semi; semi = strchr (semi + 1, ';')) {
36+ for (semi = strchr (iter->data, ';'); semi; semi = strchr (semi + 1, ';')) {
37 param = skip_lws (semi + 1);
38 if (*param != 'q')
39 continue;
40@@ -575,15 +574,15 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable)
41 if (qval == 0.0) {
42 if (unacceptable) {
43 *unacceptable = g_slist_prepend (*unacceptable,
44- item);
45+ g_steal_pointer (&iter->data));
46 }
47 } else {
48- array[n].item = item;
49+ array[n].item = g_steal_pointer (&iter->data);
50 array[n].qval = qval;
51 n++;
52 }
53 }
54- g_slist_free (unsorted);
55+ g_slist_free_full (unsorted, g_free);
56
57 qsort (array, n, sizeof (QualityItem), sort_by_qval);
58 sorted = NULL;
59--
602.34.1
61
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch
new file mode 100644
index 0000000000..3318093400
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch
@@ -0,0 +1,47 @@
1From 5eb225f02bb35de56cfeedd87bde716bf1cb750b Mon Sep 17 00:00:00 2001
2From: Patrick Griffis <pgriffis@igalia.com>
3Date: Wed, 5 Feb 2025 16:18:10 -0600
4Subject: [PATCH] session: Strip authentication credentails on
5 cross-origin redirect
6
7This should match the behavior of Firefox and Safari but not of Chromium.
8
9CVE: CVE-2025-46421
10Upstream-Status: Backport
11[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/436/diffs?commit_id=3e5c26415811f19e7737238bb23305ffaf96f66b]
12
13Test code not added since it included some headers not in version 2.74.3
14
15Signed-off-by: Changqing Li <changqing.li@windriver.com>
16---
17 libsoup/soup-session.c | 8 ++++-
18 2 files changed, 85 insertions(+), 1 deletion(-)
19
20diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
21index 83421ef..8d6ac61 100644
22--- a/libsoup/soup-session.c
23+++ b/libsoup/soup-session.c
24@@ -1189,12 +1189,18 @@ soup_session_redirect_message (SoupSession *session, SoupMessage *msg)
25 SOUP_ENCODING_NONE);
26 }
27
28+ /* Strip all credentials on cross-origin redirect. */
29+ if (!soup_uri_host_equal (soup_message_get_uri (msg), new_uri)) {
30+ soup_message_headers_remove (msg->request_headers, "Authorization");
31+ soup_message_set_auth (msg, NULL);
32+ }
33+
34 soup_message_set_uri (msg, new_uri);
35 soup_uri_free (new_uri);
36
37 soup_session_requeue_message (session, msg);
38 return TRUE;
39-}
40+}
41
42 static void
43 redirect_handler (SoupMessage *msg, gpointer user_data)
44
45--
462.34.1
47
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch
new file mode 100644
index 0000000000..b15b8c763d
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch
@@ -0,0 +1,38 @@
1From dfdc9b3cc73e6fe88cc12792ba00e14642572339 Mon Sep 17 00:00:00 2001
2From: Milan Crha <mcrha@redhat.com>
3Date: Thu, 15 May 2025 17:49:11 +0200
4Subject: [PATCH] soup-multipart: Verify boundary limits for multipart body
5
6It could happen that the boundary started at a place which resulted into
7a negative number, which in an unsigned integer is a very large value.
8Check the body size is not a negative value before setting it.
9
10Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/449
11
12Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463>
13
14CVE: CVE-2025-4948
15Upstream-Status: Backport
16[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463/diffs?commit_id=f2f28afe0b3b2b3009ab67d6874457ec6bac70c0]
17
18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19---
20 libsoup/soup-multipart.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c
24index dd93973..ce2fc10 100644
25--- a/libsoup/soup-multipart.c
26+++ b/libsoup/soup-multipart.c
27@@ -214,7 +214,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers,
28 */
29 part_body = soup_buffer_new_subbuffer (flattened,
30 split - flattened->data,
31- end - 2 - split);
32+ end - 2 >= split ? end - 2 - split : 0);
33 g_ptr_array_add (multipart->bodies, part_body);
34
35 start = end;
36--
372.34.1
38
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch
new file mode 100644
index 0000000000..7bc3e8da99
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch
@@ -0,0 +1,37 @@
1From a7d0c58608ed830bedfb6b92aea11e00feb55aa9 Mon Sep 17 00:00:00 2001
2From: Milan Crha <mcrha@redhat.com>
3Date: Mon, 19 May 2025 17:48:27 +0200
4Subject: [PATCH] soup-multipart: Verify array bounds before accessing its
5 members
6
7The boundary could be at a place which, calculated, pointed
8before the beginning of the array. Check the bounds, to avoid
9read out of the array bounds.
10
11Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/447
12
13CVE: CVE-2025-4969
14Upstream-Status: Backport
15[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/467/diffs?commit_id=b5b4dd10d4810f0c87b4eaffe88504f06e502f33]
16
17Signed-off-by: Changqing Li <changqing.li@windriver.com>
18---
19 libsoup/soup-multipart.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c
23index ce2fc10..a29cdf0 100644
24--- a/libsoup/soup-multipart.c
25+++ b/libsoup/soup-multipart.c
26@@ -108,7 +108,7 @@ find_boundary (const char *start, const char *end,
27 continue;
28
29 /* Check that it's at start of line */
30- if (!(b == start || (b[-1] == '\n' && b[-2] == '\r')))
31+ if (!(b == start || (b - start >= 2 && b[-1] == '\n' && b[-2] == '\r')))
32 continue;
33
34 /* Check for "--" or "\r\n" after boundary */
35--
362.34.1
37
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb
new file mode 100644
index 0000000000..cbc886a2cb
--- /dev/null
+++ b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb
@@ -0,0 +1,86 @@
1SUMMARY = "An HTTP library implementation in C"
2DESCRIPTION = "libsoup is an HTTP client/server library for GNOME. It uses GObjects \
3and the glib main loop, to integrate well with GNOME applications."
4HOMEPAGE = "https://wiki.gnome.org/Projects/libsoup"
5BUGTRACKER = "https://bugzilla.gnome.org/"
6SECTION = "x11/gnome/libs"
7LICENSE = "LGPL-2.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
9
10DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl"
11
12SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
13
14SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
15 file://0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch \
16 file://0001-CVE-2025-32911.patch \
17 file://0001-Fix-possibly-uninitialized-warnings.patch \
18 file://0001-Remove-http-and-https-aliases-support-test.patch \
19 file://CVE-2024-52532-1.patch \
20 file://CVE-2024-52532-2.patch \
21 file://CVE-2024-52532-3.patch \
22 file://CVE-2025-32053.patch \
23 file://CVE-2025-2784.patch \
24 file://CVE-2024-52530.patch \
25 file://CVE-2025-32906.patch \
26 file://CVE-2025-32914.patch \
27 file://CVE-2025-46420.patch \
28 file://CVE-2025-46421.patch \
29 file://CVE-2025-32050.patch \
30 file://CVE-2025-32052.patch \
31 file://CVE-2025-32909.patch \
32 file://CVE-2025-32910-1.patch \
33 file://CVE-2025-32910-2.patch \
34 file://CVE-2025-32910-3.patch \
35 file://CVE-2025-32912.patch \
36 file://CVE-2024-52531-1.patch \
37 file://CVE-2024-52531-2.patch \
38 file://CVE-2025-4476.patch \
39 file://CVE-2025-32907.patch \
40 file://CVE-2025-4948.patch \
41 file://CVE-2025-4969.patch \
42"
43SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
44
45CVE_PRODUCT = "libsoup"
46
47S = "${UNPACKDIR}/libsoup-${PV}"
48
49inherit meson gettext pkgconfig upstream-version-is-even gobject-introspection gtk-doc
50
51UPSTREAM_CHECK_REGEX = "libsoup-(?P<pver>2(\.(?!99)\d+)+)\.tar"
52
53GIR_MESON_ENABLE_FLAG = 'enabled'
54GIR_MESON_DISABLE_FLAG = 'disabled'
55
56PACKAGECONFIG ??= ""
57PACKAGECONFIG[brotli] = "-Dbrotli=enabled,-Dbrotli=disabled,brotli"
58# libsoup-gnome is entirely deprecated and just stubs in 2.42 onwards
59PACKAGECONFIG[gnome] = "-Dgnome=true,-Dgnome=false"
60PACKAGECONFIG[gssapi] = "-Dgssapi=enabled,-Dgssapi=disabled,krb5"
61PACKAGECONFIG[ntlm] = "-Dntlm=enabled,-Dntlm=disabled"
62PACKAGECONFIG[sysprof] = "-Dsysprof=enabled,-Dsysprof=disabled,sysprof"
63
64# Tell libsoup where the target ntlm_auth is installed
65do_write_config:append:class-target() {
66 cat >${WORKDIR}/soup.cross <<EOF
67[binaries]
68ntlm_auth = '${bindir}/ntlm_auth'
69EOF
70}
71EXTRA_OEMESON:append:class-target = " --cross-file ${WORKDIR}/soup.cross"
72
73EXTRA_OEMESON += "-Dvapi=disabled -Dtls_check=false"
74
75GTKDOC_MESON_OPTION = "gtk_doc"
76
77# When built without gnome support, libsoup-2.4 will contain only one shared lib
78# and will therefore become subject to renaming by debian.bbclass. Prevent
79# renaming in order to keep the package name consistent regardless of whether
80# gnome support is enabled or disabled.
81DEBIAN_NOAUTONAME:${PN} = "1"
82
83# glib-networking is needed for SSL, proxies, etc.
84RRECOMMENDS:${PN} = "glib-networking"
85
86BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/libspdm/libspdm/0001-Backport-API-introduced-in-openssl-3.5.0.patch b/meta-oe/recipes-support/libspdm/libspdm/0001-Backport-API-introduced-in-openssl-3.5.0.patch
new file mode 100644
index 0000000000..2df9a18c68
--- /dev/null
+++ b/meta-oe/recipes-support/libspdm/libspdm/0001-Backport-API-introduced-in-openssl-3.5.0.patch
@@ -0,0 +1,33 @@
1From 92f6c3d8fa26d9019ba27e0c1aa894517ada93b9 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 11 Apr 2025 17:47:05 -0700
4Subject: [PATCH] Backport API introduced in openssl 3.5.0
5
6This commit [1] introduced this new API which is used by pem.h from
7openssl and it should be provided by asn1.h which is vendored here so
8it goes out of sync and causes build errors e.g
9
10In file included from ./os_stub/cryptlib_openssl/pk/x509.c:18:
11/usr/include/openssl/pem.h:399:28: error: unknown type name 'OSSL_i2d_of_void_ctx'
12 399 | int PEM_ASN1_write_bio_ctx(OSSL_i2d_of_void_ctx *i2d, void *vctx,
13
14[1] https://github.com/openssl/openssl/commit/35f6e7ea02b599d5aaf220b4720cbadd946d8023
15
16Upstream-Status: Submitted [https://github.com/DMTF/libspdm/pull/3033]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 os_stub/openssllib/openssl_gen/openssl/asn1.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/os_stub/openssllib/openssl_gen/openssl/asn1.h b/os_stub/openssllib/openssl_gen/openssl/asn1.h
23index a90152ee..fcfbe42e 100644
24--- a/os_stub/openssllib/openssl_gen/openssl/asn1.h
25+++ b/os_stub/openssllib/openssl_gen/openssl/asn1.h
26@@ -368,6 +368,7 @@ typedef struct ASN1_VALUE_st ASN1_VALUE;
27
28 typedef void *d2i_of_void(void **, const unsigned char **, long);
29 typedef int i2d_of_void(const void *, unsigned char **);
30+typedef int OSSL_i2d_of_void_ctx(const void *, unsigned char **, void *vctx);
31
32 /*-
33 * The following macros and typedefs allow an ASN1_ITEM
diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
new file mode 100644
index 0000000000..c6bbd1716b
--- /dev/null
+++ b/meta-oe/recipes-support/libspdm/libspdm_3.7.0.bb
@@ -0,0 +1,83 @@
1SUMMARY = "DMTF's Reference Implementation of SPDM"
2DESCRIPTION = "libspdm is a reference implementation of the DMTF’s Security Protocols and \
3Data Models (SPDM). This is used to enable authentication, attestation and key exchange to \
4assist in providing infrastructure security enablement"
5HOMEPAGE = "https://github.com/DMTF/libspdm"
6BUGTRACKER = "https://github.com/DMTF/libspdm/issues"
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8f9b59a81a88da8e812af43728b72dd7"
9
10DEPENDS = "openssl"
11
12SRC_URI = "git://github.com/DMTF/libspdm.git;branch=main;protocol=https \
13 file://0001-Backport-API-introduced-in-openssl-3.5.0.patch"
14SRCREV = "1be116c7b7713fa9003e1bd53b53a34758549eb9"
15
16
17inherit cmake
18
19LIBSPDM_CFLAGS = "\
20 ${OECMAKE_C_FLAGS} \
21 -DLIBSPDM_ENABLE_CAPABILITY_EVENT_CAP=0 \
22 -DLIBSPDM_ENABLE_CAPABILITY_MEL_CAP=0 \
23 -DLIBSPDM_ENABLE_CAPABILITY_GET_KEY_PAIR_INFO_CAP=0 \
24 -DLIBSPDM_ENABLE_CAPABILITY_SET_KEY_PAIR_INFO_CAP=0 \
25 -DLIBSPDM_HAL_PASS_SPDM_CONTEXT=1 \
26 -DLIBSPDM_ENABLE_CAPABILITY_ENDPOINT_INFO_CAP=0 \
27 "
28
29LIBSPDM_CFLAGS:append:toolchain-gcc = " -fPIE"
30
31def get_spdm_multiarch(bb, d):
32 target_arch = d.getVar('TARGET_ARCH')
33 multiarch_options = {
34 "x86_64": "x64",
35 "i586": "ia32",
36 "i686": "ia32",
37 "arm": "arm",
38 "aarch64": "aarch64",
39 "riscv32": "riscv32",
40 "riscv64": "riscv64",
41 "ppc64le": "ppc64le",
42 }
43
44 if target_arch in multiarch_options :
45 return multiarch_options[target_arch]
46
47 bb.error("unsupported architecture '%s'" % target_arch)
48
49EXTRA_OECMAKE += "\
50 -DARCH=${@get_spdm_multiarch(bb, d)} \
51 -DTOOLCHAIN=NONE \
52 -DTARGET=Release \
53 -DCRYPTO=openssl \
54 -DENABLE_BINARY_BUILD=1 \
55 -DCOMPILED_LIBCRYPTO_PATH=${libdir} \
56 -DCOMPILED_LIBSSL_PATH=${libdir} \
57 -DDISABLE_TESTS=1 \
58 -DDISABLE_EDDSA=1 \
59 -DCMAKE_C_FLAGS='${LIBSPDM_CFLAGS}' \
60 "
61
62do_install () {
63 install -d ${D}/${libdir}
64 install -m 0644 lib/* ${D}/${libdir}/
65
66 install -d ${D}/${includedir}/${BPN}/
67 cp -rf ${S}/include/* ${D}/${includedir}/${BPN}/
68
69 install -d ${D}/${includedir}/${BPN}/os_stub/spdm_crypt_ext_lib
70 cp -rf ${S}/os_stub/spdm_crypt_ext_lib/*.h ${D}/${includedir}/${BPN}/os_stub/spdm_crypt_ext_lib/
71}
72
73FILES:${PN} += "${libdir}/*.a"
74FILES:${PN} += "${includedir}/${BPN}/*.h"
75FILES:${PN} += "${includedir}/${BPN}/os_stub/spdm_crypt_ext_lib/*.h"
76
77COMPATIBLE_HOST:powerpc = "null"
78COMPATIBLE_HOST:powerpc64 = "null"
79COMPATIBLE_HOST:mipsarchn32 = "null"
80COMPATIBLE_HOST:mipsarcho32 = "null"
81COMPATIBLE_HOST:mipsarchn64 = "null"
82
83BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch b/meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch
new file mode 100644
index 0000000000..21af9a5a19
--- /dev/null
+++ b/meta-oe/recipes-support/libssh/libssh/0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch
@@ -0,0 +1,37 @@
1From 98a330971f4344619b698d4603a45bd31d6935d9 Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Sun, 15 Sep 2024 20:31:55 +0800
4Subject: [PATCH] CompilerChecks.cmake: drop -Wunused-variable flag
5
6Drop -Wunused-variable flag to fix build with clang:
7
8libssh/0.11.1/git/src/threads/libgcrypt.c:29:1: error: unused variable 'gcry_threads_pthread' [-Werror,-Wunused-variable]
9 29 | GCRY_THREAD_OPTION_PTHREAD_IMPL;
10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11libssh/0.11.1/recipe-sysroot/usr/include/gcrypt.h:217:33: note: expanded from macro 'GCRY_THREAD_OPTION_PTHREAD_IMPL'
12 217 | static struct gcry_thread_cbs gcry_threads_pthread = { \
13 | ^~~~~~~~~~~~~~~~~~~~
14
15Upstream-Status: Inappropriate [embedded specific]
16
17Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
18---
19 CompilerChecks.cmake | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/CompilerChecks.cmake b/CompilerChecks.cmake
23index 9719e699..ec15fa2a 100644
24--- a/CompilerChecks.cmake
25+++ b/CompilerChecks.cmake
26@@ -48,7 +48,7 @@ if (UNIX)
27 add_c_compiler_flag("-Werror=implicit-int" SUPPORTED_COMPILER_FLAGS)
28 add_c_compiler_flag("-Wint-conversion" SUPPORTED_COMPILER_FLAGS)
29 add_c_compiler_flag("-Werror=int-conversion" SUPPORTED_COMPILER_FLAGS)
30- add_c_compiler_flag("-Werror=unused-variable" SUPPORTED_COMPILER_FLAGS)
31+ #add_c_compiler_flag("-Werror=unused-variable" SUPPORTED_COMPILER_FLAGS)
32
33 check_c_compiler_flag("-Wformat" REQUIRED_FLAGS_WFORMAT)
34 if (REQUIRED_FLAGS_WFORMAT)
35--
362.25.1
37
diff --git a/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch b/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
deleted file mode 100644
index d2d1fb5955..0000000000
--- a/meta-oe/recipes-support/libssh/libssh/0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 49a8ae4d6f77434ed9f7a601b9df488b921e4a22 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 Mar 2023 21:59:19 -0700
4Subject: [PATCH] libgcrypt.c: Fix prototype of des3_encrypt/des3_decrypt
5
6This is to match the prototype for callback functions which are now emitted as
7errors by clang16
8
9Fixes
10
11TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libssh/0.10.4-r0/git/src/libgcrypt.c:903:20: error: incompatible function pointer types initializing 'void (*)(struct ssh_cipher_struct *, void *, void *, size_t)' (aka 'void (*)(struct ssh_cipher_struct *, void *, void *, unsigned int)') with an expression of type 'void (struct ssh_cipher_struct *, void *, void *, unsigned long)' [-Wincompatible-function-pointer-types]
12 .encrypt = des3_encrypt,
13 ^~~~~~~~~~~~
14TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/libssh/0.10.4-r0/git/src/libgcrypt.c:904:20: error: incompatible function pointer types initializing 'void (*)(struct ssh_cipher_struct *, void *, void *, size_t)' (aka 'void (*)(struct ssh_cipher_struct *, void *, void *, unsigned int)') with an expression of type 'void (struct ssh_cipher_struct *, void *, void *, unsigned long)' [-Wincompatible-function-pointer-types]
15 .decrypt = des3_decrypt
16 ^~~~~~~~~~~~
17
18Upstream-Status: Pending
19
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21
22---
23 src/libgcrypt.c | 4 ++--
24 1 file changed, 2 insertions(+), 2 deletions(-)
25
26diff --git a/src/libgcrypt.c b/src/libgcrypt.c
27index f410d997..e3f66781 100644
28--- a/src/libgcrypt.c
29+++ b/src/libgcrypt.c
30@@ -416,12 +416,12 @@ static int des3_set_key(struct ssh_cipher_struct *cipher, void *key, void *IV) {
31 }
32
33 static void des3_encrypt(struct ssh_cipher_struct *cipher, void *in,
34- void *out, unsigned long len) {
35+ void *out, size_t len) {
36 gcry_cipher_encrypt(cipher->key[0], out, len, in, len);
37 }
38
39 static void des3_decrypt(struct ssh_cipher_struct *cipher, void *in,
40- void *out, unsigned long len) {
41+ void *out, size_t len) {
42 gcry_cipher_decrypt(cipher->key[0], out, len, in, len);
43 }
44
diff --git a/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch b/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
index d6bc75c3a6..4803ff81d8 100644
--- a/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
+++ b/meta-oe/recipes-support/libssh/libssh/0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch
@@ -1,4 +1,4 @@
1From 69a89e8f015802f61637fed0d3791d20a594f298 Mon Sep 17 00:00:00 2001 1From 99fcb71903cca8458bcd6c0d5b676619a9710dab Mon Sep 17 00:00:00 2001
2From: Yi Zhao <yi.zhao@windriver.com> 2From: Yi Zhao <yi.zhao@windriver.com>
3Date: Wed, 15 Mar 2023 16:51:58 +0800 3Date: Wed, 15 Mar 2023 16:51:58 +0800
4Subject: [PATCH] tests/CMakeLists.txt: do not search ssh/sshd commands on host 4Subject: [PATCH] tests/CMakeLists.txt: do not search ssh/sshd commands on host
@@ -9,16 +9,15 @@ not required by unittests, we can skip the search.
9Upstream-Status: Inappropriate [embedded specific] 9Upstream-Status: Inappropriate [embedded specific]
10 10
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12
13--- 12---
14 tests/CMakeLists.txt | 2 ++ 13 tests/CMakeLists.txt | 2 ++
15 1 file changed, 2 insertions(+) 14 1 file changed, 2 insertions(+)
16 15
17diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt 16diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
18index f5c30061..885c926a 100644 17index 89b95d08..e481534c 100644
19--- a/tests/CMakeLists.txt 18--- a/tests/CMakeLists.txt
20+++ b/tests/CMakeLists.txt 19+++ b/tests/CMakeLists.txt
21@@ -86,6 +86,7 @@ set(TEST_TARGET_LIBRARIES 20@@ -96,6 +96,7 @@ set(TEST_TARGET_LIBRARIES
22 21
23 add_subdirectory(unittests) 22 add_subdirectory(unittests)
24 23
@@ -26,11 +25,14 @@ index f5c30061..885c926a 100644
26 # OpenSSH Capabilities are required for all unit tests 25 # OpenSSH Capabilities are required for all unit tests
27 find_program(SSH_EXECUTABLE NAMES ssh) 26 find_program(SSH_EXECUTABLE NAMES ssh)
28 if (SSH_EXECUTABLE) 27 if (SSH_EXECUTABLE)
29@@ -302,6 +303,7 @@ if (CLIENT_TESTING OR SERVER_TESTING) 28@@ -345,6 +346,7 @@ endif (WITH_PKCS11_URI)
29 file(COPY gss/kdcsetup.sh DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/gss FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE)
30 30
31 message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}") 31 message(STATUS "TORTURE_ENVIRONMENT=${TORTURE_ENVIRONMENT}")
32 endif ()
33+endif () 32+endif ()
34 33
35 configure_file(tests_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/tests_config.h) 34 configure_file(tests_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/tests_config.h)
36 35
36--
372.25.1
38
diff --git a/meta-oe/recipes-support/libssh/libssh_0.10.6.bb b/meta-oe/recipes-support/libssh/libssh_0.11.1.bb
index 31f29c1b7d..bb2b0dc466 100644
--- a/meta-oe/recipes-support/libssh/libssh_0.10.6.bb
+++ b/meta-oe/recipes-support/libssh/libssh_0.11.1.bb
@@ -6,14 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dabb4958b830e5df11d2b0ed8ea255a0"
6 6
7DEPENDS = "zlib openssl" 7DEPENDS = "zlib openssl"
8 8
9SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.10 \ 9SRC_URI = "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable-0.11 \
10 file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \ 10 file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \
11 file://0001-libgcrypt.c-Fix-prototype-of-des3_encrypt-des3_decry.patch \
12 file://run-ptest \ 11 file://run-ptest \
13 " 12 "
14SRCREV = "10e09e273f69e149389b3e0e5d44b8c221c2e7f6"
15 13
16S = "${WORKDIR}/git" 14SRC_URI:append:toolchain-clang = " file://0001-CompilerChecks.cmake-drop-Wunused-variable-flag.patch"
15
16SRCREV = "854795c654eda518ed6de6c1ebb4e2107fcb2e73"
17
17 18
18inherit cmake ptest 19inherit cmake ptest
19 20
diff --git a/meta-oe/recipes-support/libstemmer/libstemmer_2.2.0.bb b/meta-oe/recipes-support/libstemmer/libstemmer_2.2.0.bb
index be2935a385..d462d3018f 100644
--- a/meta-oe/recipes-support/libstemmer/libstemmer_2.2.0.bb
+++ b/meta-oe/recipes-support/libstemmer/libstemmer_2.2.0.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/snowballstem/snowball.git;branch=master;protocol=htt
9 file://0001-Build-so-lib.patch \ 9 file://0001-Build-so-lib.patch \
10 " 10 "
11SRCREV = "48a67a2831005f49c48ec29a5837640e23e54e6b" 11SRCREV = "48a67a2831005f49c48ec29a5837640e23e54e6b"
12S = "${WORKDIR}/git"
13 12
14LIBVER = "0.0.0" 13LIBVER = "0.0.0"
15 14
diff --git a/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch b/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
new file mode 100644
index 0000000000..f0fd2a4aa1
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0003-Fix-missing-prototype-compiler-warnings.patch
@@ -0,0 +1,53 @@
1From 9426ac3d232e2f90c571979a2166c5e1328967d1 Mon Sep 17 00:00:00 2001
2From: Hans de Goede <j.w.r.degoede@hhs.nl>
3Date: Tue, 15 Oct 2013 14:39:04 +0200
4Subject: [PATCH] Fix missing prototype compiler warnings
5
6Signed-off-by: Kamil Dudka <kdudka@redhat.com>
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/30e5556d1c9323e9f1887b28d42581c2954b53c9]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/append.c | 2 ++
13 lib/output.c | 1 +
14 lib/wrapper.c | 1 +
15 3 files changed, 4 insertions(+)
16
17diff --git a/lib/append.c b/lib/append.c
18index 13e1ace..e8bd89d 100644
19--- a/lib/append.c
20+++ b/lib/append.c
21@@ -13,6 +13,8 @@
22 #include <internal.h>
23
24 #include <stdio.h>
25+#include <stdlib.h>
26+#include <string.h>
27 #include <errno.h>
28 #include <fcntl.h>
29 #include <sys/param.h>
30diff --git a/lib/output.c b/lib/output.c
31index a2db929..a5262ee 100644
32--- a/lib/output.c
33+++ b/lib/output.c
34@@ -13,6 +13,7 @@
35 #include <internal.h>
36
37 #include <stdio.h>
38+#include <stdlib.h>
39 #include <pwd.h>
40 #include <grp.h>
41 #include <time.h>
42diff --git a/lib/wrapper.c b/lib/wrapper.c
43index 4cd0652..44cc435 100644
44--- a/lib/wrapper.c
45+++ b/lib/wrapper.c
46@@ -13,6 +13,7 @@
47 #include <internal.h>
48
49 #include <stdio.h>
50+#include <stdlib.h>
51 #include <sys/param.h>
52 #include <dirent.h>
53 #include <errno.h>
diff --git a/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch b/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
new file mode 100644
index 0000000000..b1ecb552bc
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0004-Fix-invalid-memory-de-reference-issue.patch
@@ -0,0 +1,44 @@
1From c0a89709860acae5ef67727db7b23db385703bf6 Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 14:39:05 +0200
4Subject: [PATCH] Fix invalid memory de-reference issue
5
6Bug: https://bugzilla.redhat.com/551415
7
8Signed-off-by: Kamil Dudka <kdudka@redhat.com>
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/560911b694055b0c677431cf85d4d0d5ebd1a3fd]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/libtar.h | 1 +
15 lib/util.c | 4 +---
16 2 files changed, 2 insertions(+), 3 deletions(-)
17
18diff --git a/lib/libtar.h b/lib/libtar.h
19index 55f509a..7fc4d03 100644
20--- a/lib/libtar.h
21+++ b/lib/libtar.h
22@@ -172,6 +172,7 @@ int th_write(TAR *t);
23 #define TH_ISDIR(t) ((t)->th_buf.typeflag == DIRTYPE \
24 || S_ISDIR((mode_t)oct_to_int((t)->th_buf.mode)) \
25 || ((t)->th_buf.typeflag == AREGTYPE \
26+ && strlen((t)->th_buf.name) \
27 && ((t)->th_buf.name[strlen((t)->th_buf.name) - 1] == '/')))
28 #define TH_ISFIFO(t) ((t)->th_buf.typeflag == FIFOTYPE \
29 || S_ISFIFO((mode_t)oct_to_int((t)->th_buf.mode)))
30diff --git a/lib/util.c b/lib/util.c
31index 31e8315..11438ef 100644
32--- a/lib/util.c
33+++ b/lib/util.c
34@@ -148,9 +148,7 @@ oct_to_int(char *oct)
35 {
36 int i;
37
38- sscanf(oct, "%o", &i);
39-
40- return i;
41+ return sscanf(oct, "%o", &i) == 1 ? i : 0;
42 }
43
44
diff --git a/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch b/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
new file mode 100644
index 0000000000..627c270163
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch
@@ -0,0 +1,101 @@
1From d998b9f75c79aab68255dace641dd30db239eff6 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 15 Oct 2013 19:48:41 -0400
4Subject: [PATCH] fix file descriptor leaks reported by cppcheck
5
6Bug: https://bugzilla.redhat.com/785760
7
8Authored by Kamil Dudka <kdudka@redhat.com>.
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/abd0274e6b2f708e9eaa29414b07b3f542cec694]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/append.c | 14 +++++++++-----
15 lib/extract.c | 4 ++++
16 libtar/libtar.c | 3 +++
17 3 files changed, 16 insertions(+), 5 deletions(-)
18
19diff --git a/lib/append.c b/lib/append.c
20index e8bd89d..ff58532 100644
21--- a/lib/append.c
22+++ b/lib/append.c
23@@ -216,6 +216,7 @@ tar_append_regfile(TAR *t, const char *realname)
24 int filefd;
25 int i, j;
26 size_t size;
27+ int rv = -1;
28
29 filefd = open(realname, O_RDONLY);
30 if (filefd == -1)
31@@ -234,25 +235,28 @@ tar_append_regfile(TAR *t, const char *realname)
32 {
33 if (j != -1)
34 errno = EINVAL;
35- return -1;
36+ goto fail;
37 }
38 if (tar_block_write(t, &block) == -1)
39- return -1;
40+ goto fail;
41 }
42
43 if (i > 0)
44 {
45 j = read(filefd, &block, i);
46 if (j == -1)
47- return -1;
48+ goto fail;
49 memset(&(block[i]), 0, T_BLOCKSIZE - i);
50 if (tar_block_write(t, &block) == -1)
51- return -1;
52+ goto fail;
53 }
54
55+ /* success! */
56+ rv = 0;
57+fail:
58 close(filefd);
59
60- return 0;
61+ return rv;
62 }
63
64
65diff --git a/lib/extract.c b/lib/extract.c
66index 36357e7..9fc6ad5 100644
67--- a/lib/extract.c
68+++ b/lib/extract.c
69@@ -228,13 +228,17 @@ tar_extract_regfile(TAR *t, char *realname)
70 {
71 if (k != -1)
72 errno = EINVAL;
73+ close(fdout);
74 return -1;
75 }
76
77 /* write block to output file */
78 if (write(fdout, buf,
79 ((i > T_BLOCKSIZE) ? T_BLOCKSIZE : i)) == -1)
80+ {
81+ close(fdout);
82 return -1;
83+ }
84 }
85
86 /* close output file */
87diff --git a/libtar/libtar.c b/libtar/libtar.c
88index 9fa92b2..bb5644c 100644
89--- a/libtar/libtar.c
90+++ b/libtar/libtar.c
91@@ -83,7 +83,10 @@ gzopen_frontend(char *pathname, int oflags, int mode)
92 return -1;
93
94 if ((oflags & O_CREAT) && fchmod(fd, mode))
95+ {
96+ close(fd);
97 return -1;
98+ }
99
100 gzf = gzdopen(fd, gzoflags);
101 if (!gzf)
diff --git a/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch b/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
new file mode 100644
index 0000000000..90809ad846
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0006-fix-memleak-on-tar_open-failure.patch
@@ -0,0 +1,26 @@
1From f6c5cba59444ecda9bbc22b8e8e57fd1015a688d Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 20:02:58 -0400
4Subject: [PATCH] fix memleak on tar_open() failure
5
6Authored by Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/36629a41208375f5105427e98078127551692028]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/handle.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/lib/handle.c b/lib/handle.c
16index 33a262c..002d23c 100644
17--- a/lib/handle.c
18+++ b/lib/handle.c
19@@ -82,6 +82,7 @@ tar_open(TAR **t, const char *pathname, tartype_t *type,
20 (*t)->fd = (*((*t)->type->openfunc))(pathname, oflags, mode);
21 if ((*t)->fd == -1)
22 {
23+ libtar_hash_free((*t)->h, NULL);
24 free(*t);
25 return -1;
26 }
diff --git a/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch b/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
new file mode 100644
index 0000000000..f88bcbf9cf
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0007-fix-memleaks-in-libtar-sample-program.patch
@@ -0,0 +1,119 @@
1From e3888e452aee72e0d658185ac20e8e63bed1aff8 Mon Sep 17 00:00:00 2001
2From: Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>
3Date: Tue, 15 Oct 2013 20:05:04 -0400
4Subject: [PATCH] fix memleaks in libtar sample program
5
6Authored by Huzaifa Sidhpurwala <huzaifas@fedoraproject.org>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/f3c711cf3054ff366a1a3500cdc8c64ecc2d2da6]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 libtar/libtar.c | 29 ++++++++++++++++++-----------
13 1 file changed, 18 insertions(+), 11 deletions(-)
14
15diff --git a/libtar/libtar.c b/libtar/libtar.c
16index bb5644c..23f8741 100644
17--- a/libtar/libtar.c
18+++ b/libtar/libtar.c
19@@ -253,6 +253,7 @@ extract(char *tarfile, char *rootdir)
20 if (tar_extract_all(t, rootdir) != 0)
21 {
22 fprintf(stderr, "tar_extract_all(): %s\n", strerror(errno));
23+ tar_close(t);
24 return -1;
25 }
26
27@@ -270,12 +271,13 @@ extract(char *tarfile, char *rootdir)
28
29
30 void
31-usage()
32+usage(void *rootdir)
33 {
34 printf("Usage: %s [-C rootdir] [-g] [-z] -x|-t filename.tar\n",
35 progname);
36 printf(" %s [-C rootdir] [-g] [-z] -c filename.tar ...\n",
37 progname);
38+ free(rootdir);
39 exit(-1);
40 }
41
42@@ -292,6 +294,7 @@ main(int argc, char *argv[])
43 int c;
44 int mode = 0;
45 libtar_list_t *l;
46+ int return_code = -2;
47
48 progname = basename(argv[0]);
49
50@@ -313,17 +316,17 @@ main(int argc, char *argv[])
51 break;
52 case 'c':
53 if (mode)
54- usage();
55+ usage(rootdir);
56 mode = MODE_CREATE;
57 break;
58 case 'x':
59 if (mode)
60- usage();
61+ usage(rootdir);
62 mode = MODE_EXTRACT;
63 break;
64 case 't':
65 if (mode)
66- usage();
67+ usage(rootdir);
68 mode = MODE_LIST;
69 break;
70 #ifdef HAVE_LIBZ
71@@ -332,7 +335,7 @@ main(int argc, char *argv[])
72 break;
73 #endif /* HAVE_LIBZ */
74 default:
75- usage();
76+ usage(rootdir);
77 }
78
79 if (!mode || ((argc - optind) < (mode == MODE_CREATE ? 2 : 1)))
80@@ -341,7 +344,7 @@ main(int argc, char *argv[])
81 printf("argc - optind == %d\tmode == %d\n", argc - optind,
82 mode);
83 #endif
84- usage();
85+ usage(rootdir);
86 }
87
88 #ifdef DEBUG
89@@ -351,21 +354,25 @@ main(int argc, char *argv[])
90 switch (mode)
91 {
92 case MODE_EXTRACT:
93- return extract(argv[optind], rootdir);
94+ return_code = extract(argv[optind], rootdir);
95+ break;
96 case MODE_CREATE:
97 tarfile = argv[optind];
98 l = libtar_list_new(LIST_QUEUE, NULL);
99 for (c = optind + 1; c < argc; c++)
100 libtar_list_add(l, argv[c]);
101- return create(tarfile, rootdir, l);
102+ return_code = create(tarfile, rootdir, l);
103+ libtar_list_free(l, NULL);
104+ break;
105 case MODE_LIST:
106- return list(argv[optind]);
107+ return_code = list(argv[optind]);
108+ break;
109 default:
110 break;
111 }
112
113- /* NOTREACHED */
114- return -2;
115+ free(rootdir);
116+ return return_code;
117 }
118
119
diff --git a/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch b/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
new file mode 100644
index 0000000000..beba45405e
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch
@@ -0,0 +1,89 @@
1From edbee9832475347183a841a8fd5be71f74e10392 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Wed, 23 Oct 2013 15:04:22 +0200
4Subject: [PATCH] decode: avoid using a static buffer in th_get_pathname()
5
6A solution suggested by Chris Frey:
7https://lists.feep.net:8080/pipermail/libtar/2013-October/000377.html
8
9Note this can break programs that expect sizeof(TAR) to be fixed.
10
11Authored by Kamil Dudka <kdudka@redhat.com>.
12
13Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/ec613af2e9371d7a3e1f7c7a6822164a4255b4d1]
14
15Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
16---
17 lib/decode.c | 24 +++++++++++++++++-------
18 lib/handle.c | 1 +
19 lib/libtar.h | 3 +++
20 3 files changed, 21 insertions(+), 7 deletions(-)
21
22diff --git a/lib/decode.c b/lib/decode.c
23index c16ea2d..edb2185 100644
24--- a/lib/decode.c
25+++ b/lib/decode.c
26@@ -26,20 +26,30 @@
27 char *
28 th_get_pathname(TAR *t)
29 {
30- static TLS_THREAD char filename[MAXPATHLEN];
31-
32 if (t->th_buf.gnu_longname)
33 return t->th_buf.gnu_longname;
34
35- if (t->th_buf.prefix[0] != '\0')
36+ /* allocate the th_pathname buffer if not already */
37+ if (t->th_pathname == NULL)
38+ {
39+ t->th_pathname = malloc(MAXPATHLEN * sizeof(char));
40+ if (t->th_pathname == NULL)
41+ /* out of memory */
42+ return NULL;
43+ }
44+
45+ if (t->th_buf.prefix[0] == '\0')
46+ {
47+ snprintf(t->th_pathname, MAXPATHLEN, "%.100s", t->th_buf.name);
48+ }
49+ else
50 {
51- snprintf(filename, sizeof(filename), "%.155s/%.100s",
52+ snprintf(t->th_pathname, MAXPATHLEN, "%.155s/%.100s",
53 t->th_buf.prefix, t->th_buf.name);
54- return filename;
55 }
56
57- snprintf(filename, sizeof(filename), "%.100s", t->th_buf.name);
58- return filename;
59+ /* will be deallocated in tar_close() */
60+ return t->th_pathname;
61 }
62
63
64diff --git a/lib/handle.c b/lib/handle.c
65index 002d23c..a19c046 100644
66--- a/lib/handle.c
67+++ b/lib/handle.c
68@@ -122,6 +122,7 @@ tar_close(TAR *t)
69 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
70 ? free
71 : (libtar_freefunc_t)tar_dev_free));
72+ free(t->th_pathname);
73 free(t);
74
75 return i;
76diff --git a/lib/libtar.h b/lib/libtar.h
77index 7fc4d03..08a8e0f 100644
78--- a/lib/libtar.h
79+++ b/lib/libtar.h
80@@ -85,6 +85,9 @@ typedef struct
81 int options;
82 struct tar_header th_buf;
83 libtar_hash_t *h;
84+
85+ /* introduced in libtar 1.2.21 */
86+ char *th_pathname;
87 }
88 TAR;
89
diff --git a/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch b/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
new file mode 100644
index 0000000000..2d8f21171b
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0009-Check-for-NULL-before-freeing-th_pathname.patch
@@ -0,0 +1,30 @@
1From bc8ec7d940d7ffc870638521bd134098d2efa5df Mon Sep 17 00:00:00 2001
2From: Chris Frey <cdfrey@foursquare.net>
3Date: Thu, 24 Oct 2013 17:55:12 -0400
4Subject: [PATCH] Check for NULL before freeing th_pathname
5
6Thanks to Harald Koch for pointing out that AIX 4 and 5 still need this.
7
8Authored by Chris Frey <cdfrey@foursquare.net>.
9
10Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/495d0c0eabc5648186e7d58ad54b508d14af38f4]
11
12Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
13---
14 lib/handle.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17diff --git a/lib/handle.c b/lib/handle.c
18index a19c046..28a7dc2 100644
19--- a/lib/handle.c
20+++ b/lib/handle.c
21@@ -122,7 +122,8 @@ tar_close(TAR *t)
22 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
23 ? free
24 : (libtar_freefunc_t)tar_dev_free));
25- free(t->th_pathname);
26+ if (t->th_pathname != NULL)
27+ free(t->th_pathname);
28 free(t);
29
30 return i;
diff --git a/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
new file mode 100644
index 0000000000..edbd636b23
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch
@@ -0,0 +1,26 @@
1From c64dfdc6ec5bc752aafd1ac16a380f47602197c4 Mon Sep 17 00:00:00 2001
2From: Chris Frey <cdfrey@foursquare.net>
3Date: Thu, 24 Oct 2013 17:58:47 -0400
4Subject: [PATCH] Added stdlib.h for malloc() in lib/decode.c
5
6Authored by Chris Frey <cdfrey@foursquare.net>.
7
8Upstream-Status: Backport [https://repo.or.cz/libtar.git/commit/20aa09bd7775094a2beb0f136c2c7d9e9fd6c7e6]
9
10Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
11---
12 lib/decode.c | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/lib/decode.c b/lib/decode.c
16index edb2185..35312be 100644
17--- a/lib/decode.c
18+++ b/lib/decode.c
19@@ -13,6 +13,7 @@
20 #include <internal.h>
21
22 #include <stdio.h>
23+#include <stdlib.h>
24 #include <sys/param.h>
25 #include <pwd.h>
26 #include <grp.h>
diff --git a/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch b/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
new file mode 100644
index 0000000000..7b39df4254
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/0011-libtar-fix-programming-mistakes-detected-by-static-a.patch
@@ -0,0 +1,100 @@
1From b469d621c0143e652c51bb238fd2060135aa2009 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 6 Nov 2018 17:24:05 +0100
4Subject: [PATCH] libtar: fix programming mistakes detected by static analysis
5
6Authored by Kamil Dudka <kdudka@redhat.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
13
14[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
15[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
16[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
17
18Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
19---
20 lib/append.c | 7 +++++++
21 lib/wrapper.c | 11 +++++++----
22 libtar/libtar.c | 1 +
23 3 files changed, 15 insertions(+), 4 deletions(-)
24
25diff --git a/lib/append.c b/lib/append.c
26index ff58532..6386a50 100644
27--- a/lib/append.c
28+++ b/lib/append.c
29@@ -110,9 +110,16 @@ tar_append_file(TAR *t, const char *realname, const char *savename)
30 td->td_dev = s.st_dev;
31 td->td_h = libtar_hash_new(256, (libtar_hashfunc_t)ino_hash);
32 if (td->td_h == NULL)
33+ {
34+ free(td);
35 return -1;
36+ }
37 if (libtar_hash_add(t->h, td) == -1)
38+ {
39+ libtar_hash_free(td->td_h, free);
40+ free(td);
41 return -1;
42+ }
43 }
44 libtar_hashptr_reset(&hp);
45 if (libtar_hash_getkey(td->td_h, &hp, &(s.st_ino),
46diff --git a/lib/wrapper.c b/lib/wrapper.c
47index 44cc435..2d3f5b9 100644
48--- a/lib/wrapper.c
49+++ b/lib/wrapper.c
50@@ -97,6 +97,7 @@ tar_append_tree(TAR *t, char *realdir, char *savedir)
51 struct dirent *dent;
52 DIR *dp;
53 struct stat s;
54+ int ret = -1;
55
56 #ifdef DEBUG
57 printf("==> tar_append_tree(0x%lx, \"%s\", \"%s\")\n",
58@@ -130,24 +131,26 @@ tar_append_tree(TAR *t, char *realdir, char *savedir)
59 dent->d_name);
60
61 if (lstat(realpath, &s) != 0)
62- return -1;
63+ goto fail;
64
65 if (S_ISDIR(s.st_mode))
66 {
67 if (tar_append_tree(t, realpath,
68 (savedir ? savepath : NULL)) != 0)
69- return -1;
70+ goto fail;
71 continue;
72 }
73
74 if (tar_append_file(t, realpath,
75 (savedir ? savepath : NULL)) != 0)
76- return -1;
77+ goto fail;
78 }
79
80+ ret = 0;
81+fail:
82 closedir(dp);
83
84- return 0;
85+ return ret;
86 }
87
88
89diff --git a/libtar/libtar.c b/libtar/libtar.c
90index 23f8741..ac339e7 100644
91--- a/libtar/libtar.c
92+++ b/libtar/libtar.c
93@@ -92,6 +92,7 @@ gzopen_frontend(char *pathname, int oflags, int mode)
94 if (!gzf)
95 {
96 errno = ENOMEM;
97+ close(fd);
98 return -1;
99 }
100
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch b/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
new file mode 100644
index 0000000000..93b35cbcd3
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2013-4420.patch
@@ -0,0 +1,160 @@
1From 2c81f47508fa6bce9df84e3b43dfb16dffb742a0 Mon Sep 17 00:00:00 2001
2From: Raphael Geissert <geissert@debian.org>
3Date: Thu, 12 Sep 2024 15:51:05 +0300
4Subject: [PATCH] Avoid directory traversal when extracting archives
5
6Description of the vulnerability from the NIST CVE tracker [1]:
7
8 Multiple directory traversal vulnerabilities in the (1)
9 tar_extract_glob and (2) tar_extract_all functions in libtar 1.2.20
10 and earlier allow remote attackers to overwrite arbitrary files via
11 a .. (dot dot) in a crafted tar file.
12
13Imported from the Debian libtar package 1.2.20-8 [2]. Original Debian
14description:
15
16 Author: Raphael Geissert <geissert@debian.org>
17 Bug-Debian: https://bugs.debian.org/731860
18 Description: Avoid directory traversal when extracting archives
19 by skipping over leading slashes and any prefix containing ".." components.
20 Forwarded: yes
21
22meta-openembedded uses Debian's release tarball [3]. Debian uses
23repo.or.cz/libtar.git as their upstream [4]. repo.or.cz/libtar.git has
24been inactive since 2013 [5].
25
26CVE: CVE-2013-4420
27
28Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
29
30Comments: Added the commit message
31
32[1] https://nvd.nist.gov/vuln/detail/CVE-2013-4420
33[2] https://sources.debian.org/patches/libtar/1.2.20-8/CVE-2013-4420.patch/
34[3] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
35[4] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
36[5] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
37
38Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
39---
40 lib/decode.c | 33 +++++++++++++++++++++++++++++++--
41 lib/extract.c | 8 ++++----
42 lib/internal.h | 1 +
43 lib/output.c | 4 ++--
44 4 files changed, 38 insertions(+), 8 deletions(-)
45
46diff --git a/lib/decode.c b/lib/decode.c
47index 35312be..edd5f2e 100644
48--- a/lib/decode.c
49+++ b/lib/decode.c
50@@ -22,13 +22,42 @@
51 # include <string.h>
52 #endif
53
54+char *
55+safer_name_suffix (char const *file_name)
56+{
57+ char const *p, *t;
58+ p = t = file_name;
59+ while (*p == '/') t = ++p;
60+ while (*p)
61+ {
62+ while (p[0] == '.' && p[0] == p[1] && p[2] == '/')
63+ {
64+ p += 3;
65+ t = p;
66+ }
67+ /* advance pointer past the next slash */
68+ while (*p && (p++)[0] != '/');
69+ }
70+
71+ if (!*t)
72+ {
73+ t = ".";
74+ }
75+
76+ if (t != file_name)
77+ {
78+ /* TODO: warn somehow that the path was modified */
79+ }
80+ return (char*)t;
81+}
82+
83
84 /* determine full path name */
85 char *
86 th_get_pathname(TAR *t)
87 {
88 if (t->th_buf.gnu_longname)
89- return t->th_buf.gnu_longname;
90+ return safer_name_suffix(t->th_buf.gnu_longname);
91
92 /* allocate the th_pathname buffer if not already */
93 if (t->th_pathname == NULL)
94@@ -50,7 +79,7 @@ th_get_pathname(TAR *t)
95 }
96
97 /* will be deallocated in tar_close() */
98- return t->th_pathname;
99+ return safer_name_suffix(t->th_pathname);
100 }
101
102
103diff --git a/lib/extract.c b/lib/extract.c
104index 9fc6ad5..4ff1a95 100644
105--- a/lib/extract.c
106+++ b/lib/extract.c
107@@ -302,14 +302,14 @@ tar_extract_hardlink(TAR * t, char *realname)
108 if (mkdirhier(dirname(filename)) == -1)
109 return -1;
110 libtar_hashptr_reset(&hp);
111- if (libtar_hash_getkey(t->h, &hp, th_get_linkname(t),
112+ if (libtar_hash_getkey(t->h, &hp, safer_name_suffix(th_get_linkname(t)),
113 (libtar_matchfunc_t)libtar_str_match) != 0)
114 {
115 lnp = (char *)libtar_hashptr_data(&hp);
116 linktgt = &lnp[strlen(lnp) + 1];
117 }
118 else
119- linktgt = th_get_linkname(t);
120+ linktgt = safer_name_suffix(th_get_linkname(t));
121
122 #ifdef DEBUG
123 printf(" ==> extracting: %s (link to %s)\n", filename, linktgt);
124@@ -347,9 +347,9 @@ tar_extract_symlink(TAR *t, char *realname)
125
126 #ifdef DEBUG
127 printf(" ==> extracting: %s (symlink to %s)\n",
128- filename, th_get_linkname(t));
129+ filename, safer_name_suffix(th_get_linkname(t)));
130 #endif
131- if (symlink(th_get_linkname(t), filename) == -1)
132+ if (symlink(safer_name_suffix(th_get_linkname(t)), filename) == -1)
133 {
134 #ifdef DEBUG
135 perror("symlink()");
136diff --git a/lib/internal.h b/lib/internal.h
137index da7be7f..f05ca4f 100644
138--- a/lib/internal.h
139+++ b/lib/internal.h
140@@ -21,3 +21,4 @@
141 #define TLS_THREAD
142 #endif
143
144+char* safer_name_suffix(char const*);
145diff --git a/lib/output.c b/lib/output.c
146index a5262ee..af754f1 100644
147--- a/lib/output.c
148+++ b/lib/output.c
149@@ -124,9 +124,9 @@ th_print_long_ls(TAR *t)
150 else
151 printf(" link to ");
152 if ((t->options & TAR_GNU) && t->th_buf.gnu_longlink != NULL)
153- printf("%s", t->th_buf.gnu_longlink);
154+ printf("%s", safer_name_suffix(t->th_buf.gnu_longlink));
155 else
156- printf("%.100s", t->th_buf.linkname);
157+ printf("%.100s", safer_name_suffix(t->th_buf.linkname));
158 }
159
160 putchar('\n');
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch b/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
new file mode 100644
index 0000000000..0a2773fae2
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch
@@ -0,0 +1,42 @@
1From e590423f62cf5bc922ff4a1f7eab9bf7d65ee472 Mon Sep 17 00:00:00 2001
2From: Kamil Dudka <kdudka@redhat.com>
3Date: Tue, 4 Oct 2022 10:39:35 +0200
4Subject: [PATCH] free memory allocated by gnu_long* fields
5
6Authored by Kamil Dudka <kdudka@redhat.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12CVE: CVE-2021-33640 CVE-2021-33645 CVE-2021-33646
13
14Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
15
16[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
17[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
18[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
19
20Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
21---
22 lib/handle.c | 7 +++++--
23 1 file changed, 5 insertions(+), 2 deletions(-)
24
25diff --git a/lib/handle.c b/lib/handle.c
26index 28a7dc2..18bd8dc 100644
27--- a/lib/handle.c
28+++ b/lib/handle.c
29@@ -122,8 +122,11 @@ tar_close(TAR *t)
30 libtar_hash_free(t->h, ((t->oflags & O_ACCMODE) == O_RDONLY
31 ? free
32 : (libtar_freefunc_t)tar_dev_free));
33- if (t->th_pathname != NULL)
34- free(t->th_pathname);
35+
36+ free(t->th_pathname);
37+ free(t->th_buf.gnu_longname);
38+ free(t->th_buf.gnu_longlink);
39+
40 free(t);
41
42 return i;
diff --git a/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch b/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
new file mode 100644
index 0000000000..a61cc3b6a9
--- /dev/null
+++ b/meta-oe/recipes-support/libtar/files/CVE-2021-33643-CVE-2021-33644.patch
@@ -0,0 +1,52 @@
1From c778d234c396e78bacef7c9bff0dd2bb9fb6aac8 Mon Sep 17 00:00:00 2001
2From: shixuantong <1726671442@qq.com>
3Date: Wed, 6 Apr 2022 17:40:57 +0800
4Subject: [PATCH] Ensure that sz is greater than 0.
5
6Authored by shixuantong <1726671442@qq.com>.
7
8meta-openembedded uses Debian's release tarball [1]. Debian uses
9repo.or.cz/libtar.git as their upstream [2]. repo.or.cz/libtar.git has
10been inactive since 2013 [3].
11
12CVE: CVE-2021-33643 CVE-2021-33644
13
14Upstream-Status: Inactive-Upstream [lastrelease: 2013 lastcommit: 2013]
15
16[1] https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtar/libtar_1.2.20.bb?h=master#n8
17[2] http://svn.kibibyte.se/libtar/trunk/debian/control (rev 51; not tagged)
18[3] https://repo.or.cz/libtar.git/shortlog/refs/heads/master
19
20Signed-off-by: Katariina Lounento <katariina.lounento@vaisala.com>
21---
22 lib/block.c | 10 ++++++++++
23 1 file changed, 10 insertions(+)
24
25diff --git a/lib/block.c b/lib/block.c
26index 092bc28..f12c4bc 100644
27--- a/lib/block.c
28+++ b/lib/block.c
29@@ -118,6 +118,11 @@ th_read(TAR *t)
30 if (TH_ISLONGLINK(t))
31 {
32 sz = th_get_size(t);
33+ if ((int)sz <= 0)
34+ {
35+ errno = EINVAL;
36+ return -1;
37+ }
38 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0);
39 if (blocks > ((size_t)-1 / T_BLOCKSIZE))
40 {
41@@ -168,6 +173,11 @@ th_read(TAR *t)
42 if (TH_ISLONGNAME(t))
43 {
44 sz = th_get_size(t);
45+ if ((int)sz <= 0)
46+ {
47+ errno = EINVAL;
48+ return -1;
49+ }
50 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0);
51 if (blocks > ((size_t)-1 / T_BLOCKSIZE))
52 {
diff --git a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
index f93d9c09a5..a17509d2e5 100644
--- a/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
+++ b/meta-oe/recipes-support/libtar/libtar_1.2.20.bb
@@ -8,11 +8,22 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=61cbac6719ae682ce6cd45b5c11e21af"
8SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \ 8SRC_URI = "${DEBIAN_MIRROR}/main/libt/${BPN}/${BPN}_${PV}.orig.tar.gz \
9 file://fix_libtool_sysroot.patch \ 9 file://fix_libtool_sysroot.patch \
10 file://0002-Do-not-strip-libtar.patch \ 10 file://0002-Do-not-strip-libtar.patch \
11 file://0003-Fix-missing-prototype-compiler-warnings.patch \
12 file://0004-Fix-invalid-memory-de-reference-issue.patch \
13 file://0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch \
14 file://0006-fix-memleak-on-tar_open-failure.patch \
15 file://0007-fix-memleaks-in-libtar-sample-program.patch \
16 file://0008-decode-avoid-using-a-static-buffer-in-th_get_pathnam.patch \
17 file://0009-Check-for-NULL-before-freeing-th_pathname.patch \
18 file://0010-Added-stdlib.h-for-malloc-in-lib-decode.c.patch \
19 file://0011-libtar-fix-programming-mistakes-detected-by-static-a.patch \
20 file://CVE-2021-33643-CVE-2021-33644.patch \
21 file://CVE-2021-33640-CVE-2021-33645-CVE-2021-33646.patch \
22 file://CVE-2013-4420.patch \
11 " 23 "
12 24
13S = "${WORKDIR}/${BPN}" 25S = "${UNPACKDIR}/${BPN}"
14 26
15SRC_URI[md5sum] = "6ced95ab3a4b33fbfe2dfb231d156cdb"
16SRC_URI[sha256sum] = "50f24c857a7ef1cb092e6508758b86d06f1188508f897f3e6b40c573e8879109" 27SRC_URI[sha256sum] = "50f24c857a7ef1cb092e6508758b86d06f1188508f897f3e6b40c573e8879109"
17 28
18inherit autotools-brokensep 29inherit autotools-brokensep
diff --git a/meta-oe/recipes-support/libteam/libteam_1.32.bb b/meta-oe/recipes-support/libteam/libteam_1.32.bb
index 508cbb13bb..4686f4be5c 100644
--- a/meta-oe/recipes-support/libteam/libteam_1.32.bb
+++ b/meta-oe/recipes-support/libteam/libteam_1.32.bb
@@ -17,7 +17,6 @@ SRC_URI = "git://github.com/jpirko/libteam;branch=master;protocol=https \
17 " 17 "
18SRCREV = "8b843e93cee1dab61fb79b01791201cdad45e1d1" 18SRCREV = "8b843e93cee1dab61fb79b01791201cdad45e1d1"
19 19
20S = "${WORKDIR}/git"
21 20
22inherit autotools pkgconfig ptest 21inherit autotools pkgconfig ptest
23 22
diff --git a/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch b/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch
new file mode 100644
index 0000000000..8fc623744c
--- /dev/null
+++ b/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2021-42260.patch
@@ -0,0 +1,27 @@
1Description: In stamp always advance the pointer if *p= 0xef
2 .
3 The current implementation only advanced if 0xef is followed
4 by two non-zero bytes. In case of malformed input (0xef should be
5 the start byte of a three byte character) this leads to an infinite
6 loop. (CVE-2021-42260)
7Origin: https://sourceforge.net/p/tinyxml/git/merge-requests/1/
8
9CVE: CVE-2021-42260
10Upstream-Status: Inactive-Upstream [lastrelease: 2011]
11Signed-off-by: Peter Marko <peter.marko@siemens.com>
12
13--- a/tinyxmlparser.cpp
14+++ b/tinyxmlparser.cpp
15@@ -274,6 +274,12 @@ void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding )
16 else
17 { p +=3; ++col; } // A normal character.
18 }
19+ else
20+ {
21+ // TIXML_UTF_LEAD_0 (239) is the start character of a 3 byte sequence, so
22+ // there is something wrong here. Just advance the pointer to evade infinite loops
23+ ++p;
24+ }
25 }
26 else
27 {
diff --git a/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch b/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch
new file mode 100644
index 0000000000..a94806daad
--- /dev/null
+++ b/meta-oe/recipes-support/libtinyxml/libtinyxml/CVE-2023-34194.patch
@@ -0,0 +1,31 @@
1From: Guilhem Moulin <guilhem@debian.org>
2Date: Sat, 30 Dec 2023 14:15:54 +0100
3Subject: Avoid reachable assertion via crafted XML document with a '\0'
4 located after whitespace
5
6Bug: https://www.forescout.com/resources/sierra21-vulnerabilities
7Bug-Debian: https://bugs.debian.org/1059315
8Bug-Debian: https://security-tracker.debian.org/tracker/CVE-2023-34194
9
10CVE: CVE-2023-34194
11Upstream-Status: Inactive-Upstream [lastrelease: 2011]
12Signed-off-by: Peter Marko <peter.marko@siemens.com>
13---
14 tinyxmlparser.cpp | 4 ++++
15 1 file changed, 4 insertions(+)
16
17diff --git a/tinyxmlparser.cpp b/tinyxmlparser.cpp
18index 8aa0dfa..1601962 100644
19--- a/tinyxmlparser.cpp
20+++ b/tinyxmlparser.cpp
21@@ -1606,6 +1606,10 @@ const char* TiXmlDeclaration::Parse( const char* p, TiXmlParsingData* data, TiXm
22 }
23
24 p = SkipWhiteSpace( p, _encoding );
25+ if ( !p || !*p )
26+ {
27+ break;
28+ }
29 if ( StringEqual( p, "version", true, _encoding ) )
30 {
31 TiXmlAttribute attrib;
diff --git a/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb b/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
index 6fbdd071e8..b91a455aff 100644
--- a/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
+++ b/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb
@@ -5,15 +5,18 @@ HOMEPAGE = "http://www.sourceforge.net/projects/tinyxml"
5LICENSE = "Zlib" 5LICENSE = "Zlib"
6LIC_FILES_CHKSUM = "file://readme.txt;md5=f8f366f3370dda889f60faa7db162cf4" 6LIC_FILES_CHKSUM = "file://readme.txt;md5=f8f366f3370dda889f60faa7db162cf4"
7SECTION = "libs" 7SECTION = "libs"
8CVE_PRODUCT = "tinyxml"
8 9
9 10
10SRC_URI = "${SOURCEFORGE_MIRROR}/tinyxml/tinyxml_${@'${PV}'.replace('.', '_')}.tar.gz \ 11SRC_URI = "${SOURCEFORGE_MIRROR}/tinyxml/tinyxml_${@'${PV}'.replace('.', '_')}.tar.gz \
11 file://enforce-use-stl.patch \ 12 file://enforce-use-stl.patch \
12 file://entity-encoding.patch" 13 file://entity-encoding.patch \
13SRC_URI[md5sum] = "c1b864c96804a10526540c664ade67f0" 14 file://CVE-2021-42260.patch \
15 file://CVE-2023-34194.patch \
16"
14SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593" 17SRC_URI[sha256sum] = "15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593"
15 18
16S = "${WORKDIR}/tinyxml" 19S = "${UNPACKDIR}/tinyxml"
17 20
18EXTRA_CXXFLAGS = "-I. -fPIC" 21EXTRA_CXXFLAGS = "-I. -fPIC"
19 22
diff --git a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
index bcd309282b..89e6eca99b 100644
--- a/meta-oe/recipes-support/libtinyxml2/libtinyxml2_10.0.0.bb
+++ b/meta-oe/recipes-support/libtinyxml2/libtinyxml2_11.0.0.bb
@@ -3,12 +3,12 @@ HOMEPAGE = "https://leethomason.github.io/tinyxml2"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "Zlib" 4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd"
6CVE_PRODUCT = "tinyxml2"
6 7
7SRCREV = "321ea883b7190d4e85cae5512a12e5eaa8f8731f" 8SRCREV = "9148bdf719e997d1f474be6bcc7943881046dba1"
8SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https \
9 file://run-ptest" 10 file://run-ptest"
10 11
11S = "${WORKDIR}/git"
12 12
13inherit meson ptest 13inherit meson ptest
14 14
diff --git a/meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb b/meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb
index 4d6c06240d..28c474e1dd 100644
--- a/meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb
+++ b/meta-oe/recipes-support/libtommath/libtommath_1.3.0.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/libtom/libtommath.git;protocol=https;branch=master"
10 10
11SRCREV = "95d80fd8229d05dd6cb4ec88bc8d4f5377ff00ef" 11SRCREV = "95d80fd8229d05dd6cb4ec88bc8d4f5377ff00ef"
12 12
13S = "${WORKDIR}/git"
14 13
15EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'" 14EXTRA_OEMAKE = "'PREFIX=${prefix}' 'DESTDIR=${D}' 'LIBPATH=${libdir}' 'CFLAGS=${CFLAGS}'"
16 15
diff --git a/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch b/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch
new file mode 100644
index 0000000000..f744812a3f
--- /dev/null
+++ b/meta-oe/recipes-support/liburing/liburing/0001-test-Including-missing-string.h-for-memcpy.patch
@@ -0,0 +1,39 @@
1From c55874bc28f66d606527b940d4bd0f266bbaaa2c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Feb 2025 11:51:19 -0800
4Subject: [PATCH] test: Including missing string.h for memcpy
5
6Fixes
7accept-test.c:39:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8
9Upstream-Status: Submitted [https://github.com/axboe/liburing/pull/1351]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 test/232c93d07b74.c | 1 +
13 test/accept-test.c | 1 +
14 2 files changed, 2 insertions(+)
15
16diff --git a/test/232c93d07b74.c b/test/232c93d07b74.c
17index d3053b9..d5677d3 100644
18--- a/test/232c93d07b74.c
19+++ b/test/232c93d07b74.c
20@@ -10,6 +10,7 @@
21 #include <stdlib.h>
22 #include <stdint.h>
23 #include <assert.h>
24+#include <string.h>
25
26 #include <pthread.h>
27 #include <errno.h>
28diff --git a/test/accept-test.c b/test/accept-test.c
29index 99f6080..142b2de 100644
30--- a/test/accept-test.c
31+++ b/test/accept-test.c
32@@ -7,6 +7,7 @@
33 #include <sys/socket.h>
34 #include <sys/un.h>
35 #include <assert.h>
36+#include <string.h>
37 #include "liburing.h"
38 #include "helpers.h"
39
diff --git a/meta-oe/recipes-support/liburing/liburing_2.6.bb b/meta-oe/recipes-support/liburing/liburing_2.9.bb
index fc3fe1cac1..a645a8e4c4 100644
--- a/meta-oe/recipes-support/liburing/liburing_2.6.bb
+++ b/meta-oe/recipes-support/liburing/liburing_2.9.bb
@@ -9,20 +9,21 @@ SECTION = "libs"
9LICENSE = "LGPL-2.1-only | MIT" 9LICENSE = "LGPL-2.1-only | MIT"
10LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af" 10LIC_FILES_CHKSUM = "file://README;beginline=41;endline=44;md5=2b0e9926530c269f5ae95560370195af"
11 11
12SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https" 12SRC_URI = "git://github.com/axboe/liburing.git;branch=master;protocol=https \
13SRCREV = "f7dcc1ea60819475dffd3a45059e16f04381bee7" 13 file://0001-test-Including-missing-string.h-for-memcpy.patch"
14SRCREV = "08468cc3830185c75f9e7edefd88aa01e5c2f8ab"
14 15
15S = "${WORKDIR}/git"
16 16
17DEPENDS:append:libc-musl = " libucontext" 17DEPENDS:append:libc-musl = " libucontext"
18XCFLAGS = "-pthread" 18XCFLAGS = "-pthread"
19XCFLAGS:append:libc-musl = " -lucontext" 19XCFLAGS:append:libc-musl = " -lucontext"
20 20
21USELIBC = "" 21USELIBC = ""
22# clang-18 on RV64 emits memset for arch/riscv64/syscall.h provided __do_syscall4 macro 22# clang-18+ on RV64 emits memset for arch/riscv64/syscall.h provided __do_syscall4 macro
23# this does not happen for gcc or older clang, so link with libc since we need memset API 23# this does not happen for gcc or older clang, so link with libc since we need memset API
24# -fno-builtin-memset does not help 24# -fno-builtin-memset does not help
25USELIBC:riscv64:toolchain-clang = "--use-libc" 25USELIBC:riscv64:toolchain-clang = "--use-libc"
26USELIBC:riscv32 = "--use-libc"
26EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'" 27EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'LDFLAGS=${LDFLAGS}' 'XCFLAGS=${XCFLAGS}' 'BUILDDIR=${S}'"
27do_configure() { 28do_configure() {
28 ${S}/configure --prefix=${prefix} --libdir=${libdir} --libdevdir=${libdir} --mandir=${mandir} --datadir=${datadir} --includedir=${includedir} ${USELIBC} 29 ${S}/configure --prefix=${prefix} --libdir=${libdir} --libdevdir=${libdir} --mandir=${mandir} --datadir=${datadir} --includedir=${includedir} ${USELIBC}
diff --git a/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb b/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
index 57f1f54387..960f547f94 100644
--- a/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
+++ b/meta-oe/recipes-support/libusb/libusb-compat_0.1.8.bb
@@ -28,7 +28,6 @@ SRC_URI = " \
28 file://run-ptest \ 28 file://run-ptest \
29" 29"
30SRCREV = "c497eff1ae8c4cfd4fdff370f04c78fa0584f4f3" 30SRCREV = "c497eff1ae8c4cfd4fdff370f04c78fa0584f4f3"
31S = "${WORKDIR}/git"
32 31
33UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases" 32UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases"
34 33
diff --git a/meta-oe/recipes-support/libusbg/libusbg_git.bb b/meta-oe/recipes-support/libusbg/libusbg_git.bb
index 716d9c4ce4..84f97aab2c 100644
--- a/meta-oe/recipes-support/libusbg/libusbg_git.bb
+++ b/meta-oe/recipes-support/libusbg/libusbg_git.bb
@@ -12,7 +12,6 @@ SRC_URI = "git://github.com/libusbg/libusbg.git;branch=master;protocol=https \
12 file://0001-Fix-out-of-tree-builds.patch \ 12 file://0001-Fix-out-of-tree-builds.patch \
13 " 13 "
14 14
15S = "${WORKDIR}/git"
16 15
17ALTERNATIVE:${PN} = "gadget-acm-ecm show-gadgets" 16ALTERNATIVE:${PN} = "gadget-acm-ecm show-gadgets"
18ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm" 17ALTERNATIVE_LINK_NAME[gadget-acm-ecm] = "${bindir}/gadget-acm-ecm"
diff --git a/meta-oe/recipes-support/libusbgx/libusbgx-config.bb b/meta-oe/recipes-support/libusbgx/libusbgx-config.bb
index c79dd092cd..f3870203ad 100644
--- a/meta-oe/recipes-support/libusbgx/libusbgx-config.bb
+++ b/meta-oe/recipes-support/libusbgx/libusbgx-config.bb
@@ -4,8 +4,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
4 4
5SRC_URI = "file://usbgx.default" 5SRC_URI = "file://usbgx.default"
6 6
7S = "${WORKDIR}/sources" 7S = "${UNPACKDIR}"
8UNPACKDIR = "${S}"
9 8
10do_configure[noexec] = "1" 9do_configure[noexec] = "1"
11do_compile[noexec] = "1" 10do_compile[noexec] = "1"
diff --git a/meta-oe/recipes-support/libusbgx/libusbgx_git.bb b/meta-oe/recipes-support/libusbgx/libusbgx_git.bb
index bc40f029cd..7b12b911d8 100644
--- a/meta-oe/recipes-support/libusbgx/libusbgx_git.bb
+++ b/meta-oe/recipes-support/libusbgx/libusbgx_git.bb
@@ -18,7 +18,6 @@ SRC_URI = " \
18 file://usbgx.service \ 18 file://usbgx.service \
19" 19"
20 20
21S = "${WORKDIR}/git"
22 21
23PACKAGECONFIG ??= "examples gadget-schemes libconfig" 22PACKAGECONFIG ??= "examples gadget-schemes libconfig"
24PACKAGECONFIG[libconfig] = "--with-libconfig=yes,--without-libconfig,libconfig" 23PACKAGECONFIG[libconfig] = "--with-libconfig=yes,--without-libconfig,libconfig"
@@ -35,12 +34,12 @@ SYSTEMD_AUTO_ENABLE:${PN}-examples = "${@bb.utils.contains('PACKAGECONFIG', 'exa
35INITSCRIPT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '${PN}-examples', '', d)}" 34INITSCRIPT_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '${PN}-examples', '', d)}"
36INITSCRIPT_NAME = "usbgx" 35INITSCRIPT_NAME = "usbgx"
37INITSCRIPT_PARAMS = "defaults" 36INITSCRIPT_PARAMS = "defaults"
38INHIBIT_UPDATERCD_BBCLASS = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '1', '0', d)}" 37INHIBIT_UPDATERCD_BBCLASS = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '', '1', d)}"
39 38
40do_install:append() { 39do_install:append() {
41 install -Dm 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-start 40 install -Dm 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-start
42 sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-start 41 sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-start
43 install -m 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-stop 42 install -m 0755 ${UNPACKDIR}/gadget-stop ${D}${bindir}/gadget-stop
44 sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-stop 43 sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-stop
45 44
46 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 45 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
diff --git a/meta-oe/recipes-support/libutempter/libutempter_1.2.2-alt1.bb b/meta-oe/recipes-support/libutempter/libutempter_1.2.2-alt1.bb
index 0d2cd135c6..cc28860b04 100644
--- a/meta-oe/recipes-support/libutempter/libutempter_1.2.2-alt1.bb
+++ b/meta-oe/recipes-support/libutempter/libutempter_1.2.2-alt1.bb
@@ -14,7 +14,7 @@ SRC_URI = "git://git.altlinux.org/people/ldv/packages/libutempter.git;branch=mas
14 file://0002-Proper-macro-path-generation.patch \ 14 file://0002-Proper-macro-path-generation.patch \
15 " 15 "
16 16
17S = "${WORKDIR}/git/${BPN}" 17S = "${UNPACKDIR}/${BP}/${BPN}"
18 18
19CFLAGS += "-DLIBEXECDIR=${libexecdir}" 19CFLAGS += "-DLIBEXECDIR=${libexecdir}"
20 20
diff --git a/meta-oe/recipes-support/links/links-x11_2.26.bb b/meta-oe/recipes-support/links/links-x11_2.26.bb
index 713919bca1..c1601ab7d9 100644
--- a/meta-oe/recipes-support/links/links-x11_2.26.bb
+++ b/meta-oe/recipes-support/links/links-x11_2.26.bb
@@ -13,7 +13,7 @@ SRC_URI += " file://links2.desktop \
13SRC_URI[sha256sum] = "f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb" 13SRC_URI[sha256sum] = "f05b3577f25dbe63e491c424f0ecb31f7bfadce9b2bc2f111dfed049c004c9cb"
14SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47" 14SRC_URI[icon.sha256sum] = "eddcd8b8c8698aa621d1a453943892d77b72ed492e0d14e0dbac5c6a57e52f47"
15 15
16S = "${WORKDIR}/links-${PV}" 16S = "${UNPACKDIR}/links-${PV}"
17 17
18EXTRA_OECONF = "--enable-graphics \ 18EXTRA_OECONF = "--enable-graphics \
19 --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \ 19 --with-ssl=${STAGING_LIBDIR}/.. --with-libjpeg \
diff --git a/meta-oe/recipes-support/links/links_2.29.bb b/meta-oe/recipes-support/links/links_2.29.bb
index e3a15d1819..311d84e484 100644
--- a/meta-oe/recipes-support/links/links_2.29.bb
+++ b/meta-oe/recipes-support/links/links_2.29.bb
@@ -9,3 +9,5 @@ EXTRA_OECONF = "--enable-graphics \
9 --without-directfb --without-pmshell --without-atheos \ 9 --without-directfb --without-pmshell --without-atheos \
10 --without-x" 10 --without-x"
11SRC_URI[sha256sum] = "22aa96c0b38e1a6f8f7ed9d7a4167a47fc37246097759ef6059ecf8f9ead7998" 11SRC_URI[sha256sum] = "22aa96c0b38e1a6f8f7ed9d7a4167a47fc37246097759ef6059ecf8f9ead7998"
12
13CVE_STATUS[CVE-2008-3319] = "cpe-incorrect: The recipe used in the `meta-openembedded` is a different links package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch b/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch
deleted file mode 100644
index 86edcc2e42..0000000000
--- a/meta-oe/recipes-support/lio-utils/lio-utils/0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch
+++ /dev/null
@@ -1,63 +0,0 @@
1From 2cc2315eecaa48fd24792aaa889dc7d9fb96978b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 Mar 2017 22:18:44 -0700
4Subject: [PATCH] Makefiles: Respect environment variables and add LDFLAGS to
5 linker cmdline
6
7Fixes QA errors about GNU_HASH
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Pending
12
13 mib-modules/Makefile | 10 +++++-----
14 tools/Makefile | 2 +-
15 2 files changed, 6 insertions(+), 6 deletions(-)
16
17diff --git a/mib-modules/Makefile b/mib-modules/Makefile
18index 0d54c9b..051d4d2 100644
19--- a/mib-modules/Makefile
20+++ b/mib-modules/Makefile
21@@ -17,13 +17,13 @@ TARG = iscsiTargetMib.so
22 OBJS = iscsiTargetMib.o iscsiMib.o scsiMib.o ipsAuthMib.o \
23 iscsiAuthData.o
24
25-CC = gcc
26-CFLAGS = -I$(INCLDIR) -I$(INCLDIR)/agent -I$(INCLDIR)/agent/mibgroup -shared -fPIC
27+CC ?= gcc
28+CFLAGS += -I$(INCLDIR) -I$(INCLDIR)/agent -I$(INCLDIR)/agent/mibgroup -shared -fPIC
29 CFLAGS += -I../include -Wall -Werror
30 #CFLAGS +=$(AUTO_CFLAGS)
31
32-LD = gcc -shared
33-
34+LD ?= gcc
35+LDFLAGS += -shared
36 INSTALL = install
37
38 all: $(TARG)
39@@ -32,7 +32,7 @@ all: $(TARG)
40 $(CC) $(CFLAGS) -o $@ -c $<
41
42 $(TARG): $(OBJS)
43- $(LD) -o $@ $(OBJS)
44+ $(LD) -o $@ $(OBJS) $(LDFLAGS)
45
46 clean:
47 rm -f $(OBJS) $(TARG)
48diff --git a/tools/Makefile b/tools/Makefile
49index 79ed3cd..ffd9bf3 100644
50--- a/tools/Makefile
51+++ b/tools/Makefile
52@@ -6,7 +6,7 @@ ISCSI_NAME_OBJS = $(ISCSI_NAME_SRCS:.c=.o)
53 all:: $(ISCSI_NAME)
54
55 $(ISCSI_NAME): $(ISCSI_NAME_OBJS)
56- $(CC) -o $@ $(CFLAGS) $(ISCSI_NAME_OBJS)
57+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(ISCSI_NAME_OBJS)
58
59 clean:
60 rm -f $(ISCSI_NAME_OBJS) $(ISCSI_NAME)
61--
622.12.0
63
diff --git a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb b/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
deleted file mode 100644
index 844e5acf90..0000000000
--- a/meta-oe/recipes-support/lio-utils/lio-utils_4.1.bb
+++ /dev/null
@@ -1,75 +0,0 @@
1SUMMARY = "lio-utils"
2DESCRIPTION = "a simple low-level configuration tool set for the Target+iSCSI (LIO)"
3HOMEPAGE = "http://linux-iscsi.org/index.php/Lio-utils"
4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=c3ea231a32635cbb5debedf3e88aa3df"
6
7PV = "4.1+git"
8
9SRC_URI = "git://github.com/Datera/lio-utils.git;branch=master;protocol=https \
10 file://0001-Makefiles-Respect-environment-variables-and-add-LDFL.patch \
11 "
12SRCREV = "0ac9091c1ff7a52d5435a4f4449e82637142e06e"
13S = "${WORKDIR}/git"
14
15inherit ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "distutils", "", d)}
16
17EXTRA_OEMAKE += "DESTDIR=${D}"
18
19do_compile() {
20 cd ${S}/tcm-py
21 distutils_do_compile
22
23 cd ${S}/lio-py
24 distutils_do_compile
25
26 if test -d ${S}/tools; then
27 oe_runmake -C ${S}/tools
28 fi
29}
30
31do_install() {
32 cd ${S}/tcm-py
33 distutils_do_install
34
35 cd ${S}/lio-py
36 distutils_do_install
37
38 SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR}
39 install -d ${D}/${sbindir}
40 for var in tcm_node tcm_dump tcm_loop tcm_fabric lio_dump lio_node; do
41 if [ ! -h ${D}/${sbindir}/${var} ];then
42 chmod a+x ${SITE_PACKAGES}/${var}.py
43 ln -s ${PYTHON_SITEPACKAGES_DIR}/${var}.py ${D}/${sbindir}/${var}
44 fi
45 done
46
47 if test -d ${S}/tools; then
48 oe_runmake -C ${S}/tools install
49 fi
50
51 install -d ${D}/etc/target/
52 install -d ${D}/etc/init.d/
53 install -m 755 ${S}/scripts/rc.target ${D}/etc/init.d/
54 install -m 755 ${S}/conf/tcm_start.default ${D}/etc/target/tcm_start.sh
55 install -m 755 ${S}/conf/lio_start.default ${D}/etc/target/lio_start.sh
56}
57
58SKIP_RECIPE[lio-utils] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"
59
60RDEPENDS:${PN} += "python-stringold python-subprocess python-shell \
61 python-datetime python-textutils python-crypt python-netclient python-email \
62 bash"
63
64FILES:${PN} += "${sbindir}/* /etc/init.d/* /etc/target/*"
65
66# http://errors.yoctoproject.org/Errors/Details/184712/
67# python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory
68CLEANBROKEN = "1"
69
70python() {
71 if 'meta-python2' not in d.getVar('BBFILE_COLLECTIONS').split():
72 raise bb.parse.SkipRecipe('Requires meta-python2 to be present.')
73}
74
75
diff --git a/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb
index a52ca25da4..5fe3006524 100644
--- a/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb
+++ b/meta-oe/recipes-support/lockdev/lockdev_1.0.3.bb
@@ -1,7 +1,7 @@
1SUMMARY = "Locking devices library" 1SUMMARY = "Locking devices library"
2SECTION = "libs" 2SECTION = "libs"
3LICENSE = "LGPL-2.1-only" 3LICENSE = "LGPL-2.1-only"
4LIC_FILES_CHKSUM="file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
5 5
6PE = "1" 6PE = "1"
7SRC_URI = "http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz \ 7SRC_URI = "http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockdev/lockdev_${PV}.orig.tar.gz \
diff --git a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
index 7d9b9d50f8..a0bd40b03a 100644
--- a/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
+++ b/meta-oe/recipes-support/log4c/log4c_1.2.4.bb
@@ -8,7 +8,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \
8 file://0001-Use-the-API-properly-in-the-example-format-security-.patch \ 8 file://0001-Use-the-API-properly-in-the-example-format-security-.patch \
9 " 9 "
10 10
11SRC_URI[md5sum] = "0d94919136e1d16b68427562e74cb3dd"
12SRC_URI[sha256sum] = "5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea" 11SRC_URI[sha256sum] = "5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea"
13 12
14PACKAGECONFIG ??= "expat" 13PACKAGECONFIG ??= "expat"
diff --git a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb
index 729857eb62..d51e51387b 100644
--- a/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb
+++ b/meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb
@@ -8,10 +8,12 @@ SRC_URI = "http://downloads.sourceforge.net/${BPN}/${BP}.tar.gz \
8 " 8 "
9SRC_URI[sha256sum] = "696113659e426540625274a8b251052cc04306d8ee5c42a0c7639f39ca90c9d6" 9SRC_URI[sha256sum] = "696113659e426540625274a8b251052cc04306d8ee5c42a0c7639f39ca90c9d6"
10 10
11S = "${WORKDIR}/${BPN}" 11S = "${UNPACKDIR}/${BPN}"
12 12
13inherit autotools pkgconfig 13inherit autotools pkgconfig
14 14
15EXTRA_AUTORECONF += "-I m4"
16
15EXTRA_OECONF = "\ 17EXTRA_OECONF = "\
16 --enable-doxygen=no \ 18 --enable-doxygen=no \
17 --enable-dot=no \ 19 --enable-dot=no \
@@ -20,3 +22,7 @@ EXTRA_OECONF = "\
20" 22"
21 23
22CXXFLAGS += "-std=c++14" 24CXXFLAGS += "-std=c++14"
25
26do_install:append() {
27 sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${bindir}/log4cpp-config
28}
diff --git a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb b/meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb
index 3549cb2153..6be82979a4 100644
--- a/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb
+++ b/meta-oe/recipes-support/logwarn/logwarn_1.0.17.bb
@@ -11,8 +11,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
11 11
12SRC_URI = "https://s3.amazonaws.com/archie-public/${BPN}/${BP}.tar.gz" 12SRC_URI = "https://s3.amazonaws.com/archie-public/${BPN}/${BP}.tar.gz"
13 13
14SRC_URI[md5sum] = "e544a6230673ea54f7430bf817bb39d8" 14SRC_URI[sha256sum] = "062d197349f4a43d8f69887fc642cb58b59a8e2cc54cc951d5c1c6abc4809a9a"
15SRC_URI[sha256sum] = "8dbfcf9b28c782ab3bddd6a620d4fb95d1b0ffcbe93276996cdc4800aa9aebd1" 15
16UPSTREAM_CHECK_URI = "https://github.com/archiecobbs/logwarn/tags"
17UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
16 18
17inherit autotools-brokensep 19inherit autotools-brokensep
18 20
diff --git a/meta-oe/recipes-support/lvm2/files/0001-configure.ac-check-egrep.patch b/meta-oe/recipes-support/lvm2/files/0001-configure.ac-check-egrep.patch
deleted file mode 100644
index f4b0f913d8..0000000000
--- a/meta-oe/recipes-support/lvm2/files/0001-configure.ac-check-egrep.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From f261b2f1bc16c32a55a22e28bf1b2f15ac6c7a88 Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Wed, 6 Dec 2023 10:24:46 +0800
4Subject: [PATCH] configure.ac: check egrep
5
6The macro AC_HEADER_STDC which requires AC_PROG_EGREP has been removed
7from configure.ac, then it fails to substitute '@EGREP@':
8
9| [GEN] command-lines-input.h
10| /bin/bash: line 2: @EGREP@: command not found
11| [GEN] command-count.h
12
13Call AC_PROG_EGREP to fix the error.
14
15Upstream-Status: Submitted [https://gitlab.com/lvmteam/lvm2/-/merge_requests/4]
16
17Signed-off-by: Kai Kang <kai.kang@windriver.com>
18---
19 configure.ac | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/configure.ac b/configure.ac
23index c2dbf3c9f..d9e7964c3 100644
24--- a/configure.ac
25+++ b/configure.ac
26@@ -88,6 +88,7 @@ AC_PROG_EGREP
27 AC_PROG_MAKE_SET
28 AC_PROG_MKDIR_P
29 AC_PROG_RANLIB
30+AC_PROG_EGREP
31 AC_CHECK_TOOL([READELF], [readelf])
32 AC_CHECK_TOOL(AR, ar)
33 AC_PATH_TOOL(CFLOW_CMD, cflow)
diff --git a/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch b/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch
index e11ac5ac08..1f6b89f2b6 100644
--- a/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch
+++ b/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch
@@ -1,4 +1,4 @@
1From a86919ed5468f3c152114446c189b00f5f656d59 Mon Sep 17 00:00:00 2001 1From 65a04547541894b3ec56bd70510b164810cd64b3 Mon Sep 17 00:00:00 2001
2From: Dengke Du <dengke.du@windriver.com> 2From: Dengke Du <dengke.du@windriver.com>
3Date: Tue, 25 Oct 2016 11:49:40 +0000 3Date: Tue, 25 Oct 2016 11:49:40 +0000
4Subject: [PATCH] implement libc specific reopen_stream 4Subject: [PATCH] implement libc specific reopen_stream
@@ -21,7 +21,7 @@ Upstream-Status: Pending
21 2 files changed, 9 insertions(+), 3 deletions(-) 21 2 files changed, 9 insertions(+), 3 deletions(-)
22 22
23diff --git a/lib/log/log.c b/lib/log/log.c 23diff --git a/lib/log/log.c b/lib/log/log.c
24index 7b88252f0..e1720098a 100644 24index 90905e629..ed69662d0 100644
25--- a/lib/log/log.c 25--- a/lib/log/log.c
26+++ b/lib/log/log.c 26+++ b/lib/log/log.c
27@@ -165,6 +165,7 @@ static void _check_and_replace_standard_log_streams(FILE *old_stream, FILE *new_ 27@@ -165,6 +165,7 @@ static void _check_and_replace_standard_log_streams(FILE *old_stream, FILE *new_
@@ -45,10 +45,10 @@ index 7b88252f0..e1720098a 100644
45 void init_log_fn(lvm2_log_fn_t log_fn) 45 void init_log_fn(lvm2_log_fn_t log_fn)
46 { 46 {
47diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c 47diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
48index 3fd23a521..c2ee39905 100644 48index 22ae1e3bb..b0928bc04 100644
49--- a/tools/lvmcmdline.c 49--- a/tools/lvmcmdline.c
50+++ b/tools/lvmcmdline.c 50+++ b/tools/lvmcmdline.c
51@@ -3380,7 +3380,7 @@ static int _check_standard_fds(void) 51@@ -3407,7 +3407,7 @@ static int _check_standard_fds(void)
52 int err = is_valid_fd(STDERR_FILENO); 52 int err = is_valid_fd(STDERR_FILENO);
53 53
54 if (!is_valid_fd(STDIN_FILENO) && 54 if (!is_valid_fd(STDIN_FILENO) &&
@@ -57,7 +57,7 @@ index 3fd23a521..c2ee39905 100644
57 if (err) 57 if (err)
58 perror("stdin stream open"); 58 perror("stdin stream open");
59 else 59 else
60@@ -3390,7 +3390,7 @@ static int _check_standard_fds(void) 60@@ -3417,7 +3417,7 @@ static int _check_standard_fds(void)
61 } 61 }
62 62
63 if (!is_valid_fd(STDOUT_FILENO) && 63 if (!is_valid_fd(STDOUT_FILENO) &&
@@ -66,7 +66,7 @@ index 3fd23a521..c2ee39905 100644
66 if (err) 66 if (err)
67 perror("stdout stream open"); 67 perror("stdout stream open");
68 /* else no stdout */ 68 /* else no stdout */
69@@ -3398,7 +3398,7 @@ static int _check_standard_fds(void) 69@@ -3425,7 +3425,7 @@ static int _check_standard_fds(void)
70 } 70 }
71 71
72 if (!is_valid_fd(STDERR_FILENO) && 72 if (!is_valid_fd(STDERR_FILENO) &&
diff --git a/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch b/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch
index 83a7f936b1..2fcbc12b22 100644
--- a/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch
+++ b/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch
@@ -1,4 +1,4 @@
1From 4e7f4ea0bf89726255612a2a382c064e5923fbcd Mon Sep 17 00:00:00 2001 1From c7a63e17fc841eab5874aa5dc4e848e2bf300bf0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 25 Mar 2024 13:07:28 -0700 3Date: Mon, 25 Mar 2024 13:07:28 -0700
4Subject: [PATCH] include libgen.h for basename 4Subject: [PATCH] include libgen.h for basename
@@ -16,12 +16,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 1 file changed, 1 insertion(+) 16 1 file changed, 1 insertion(+)
17 17
18diff --git a/lib/device/device_id.c b/lib/device/device_id.c 18diff --git a/lib/device/device_id.c b/lib/device/device_id.c
19index 2b183810a..53467cbbb 100644 19index a3f341bfc..0c05eb151 100644
20--- a/lib/device/device_id.c 20--- a/lib/device/device_id.c
21+++ b/lib/device/device_id.c 21+++ b/lib/device/device_id.c
22@@ -26,6 +26,7 @@ 22@@ -27,6 +27,7 @@
23 #include "lib/datastruct/str_list.h" 23 #include "lib/display/display.h"
24 #include "lib/metadata/metadata-exported.h" 24 #include "device_mapper/misc/dm-ioctl.h"
25 25
26+#include <libgen.h> 26+#include <libgen.h>
27 #include <sys/stat.h> 27 #include <sys/stat.h>
diff --git a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
index 6435c3fd92..ac5c440e4e 100644
--- a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
+++ b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch
@@ -1,4 +1,4 @@
1From b30f842d5d200a8217a47465d6cdd99d3805ba76 Mon Sep 17 00:00:00 2001 1From 53a879b5a285722f0cb0ee42607c1cd1102b79be Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 31 Jul 2018 15:04:29 +0800 3Date: Tue, 31 Jul 2018 15:04:29 +0800
4Subject: [PATCH] tweak MODPROBE_CMD for cross compile 4Subject: [PATCH] tweak MODPROBE_CMD for cross compile
@@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
21 1 file changed, 2 deletions(-) 21 1 file changed, 2 deletions(-)
22 22
23diff --git a/configure.ac b/configure.ac 23diff --git a/configure.ac b/configure.ac
24index c8d81e16c..7c1c04627 100644 24index e5e5e71ce..3af73c781 100644
25--- a/configure.ac 25--- a/configure.ac
26+++ b/configure.ac 26+++ b/configure.ac
27@@ -1689,8 +1689,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [ 27@@ -1742,8 +1742,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [
28 ]) 28 ])
29 29
30 ################################################################################ 30 ################################################################################
diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
index e7aaad4d0e..f7a85b4b3f 100644
--- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
+++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch
@@ -1,4 +1,4 @@
1From e0e06b77e067da6a01dd9b0d5582a0a1709c655d Mon Sep 17 00:00:00 2001 1From 8657541b91b4f2bd05ce14ec9899ff5f9f3b7d4c Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 26 Nov 2018 14:59:55 +0800 3Date: Mon, 26 Nov 2018 14:59:55 +0800
4Subject: [PATCH] do not build manual 4Subject: [PATCH] do not build manual
@@ -57,10 +57,10 @@ index 06c4b1823..90df7b09c 100644
57 57
58 ifeq ("@INTL@", "yes") 58 ifeq ("@INTL@", "yes")
59diff --git a/configure.ac b/configure.ac 59diff --git a/configure.ac b/configure.ac
60index 7c1c04627..5364dd68e 100644 60index 3af73c781..f32d1f376 100644
61--- a/configure.ac 61--- a/configure.ac
62+++ b/configure.ac 62+++ b/configure.ac
63@@ -2022,7 +2022,6 @@ libdaemon/server/Makefile 63@@ -2076,7 +2076,6 @@ libdaemon/server/Makefile
64 libdm/Makefile 64 libdm/Makefile
65 libdm/dm-tools/Makefile 65 libdm/dm-tools/Makefile
66 libdm/libdevmapper.pc 66 libdm/libdevmapper.pc
diff --git a/meta-oe/recipes-support/lvm2/libdevmapper.bb b/meta-oe/recipes-support/lvm2/libdevmapper.bb
index be558ce1d2..3b4439c3ae 100644
--- a/meta-oe/recipes-support/lvm2/libdevmapper.bb
+++ b/meta-oe/recipes-support/lvm2/libdevmapper.bb
@@ -5,6 +5,8 @@ require lvm2.inc
5 5
6DEPENDS += "autoconf-archive-native" 6DEPENDS += "autoconf-archive-native"
7 7
8inherit nopackages
9
8TARGET_CC_ARCH += "${LDFLAGS}" 10TARGET_CC_ARCH += "${LDFLAGS}"
9 11
10do_install() { 12do_install() {
diff --git a/meta-oe/recipes-support/lvm2/lvm2.bb b/meta-oe/recipes-support/lvm2/lvm2.bb
index 868f5a249e..f569424e27 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2.bb
@@ -1,7 +1,6 @@
1require lvm2.inc 1require lvm2.inc
2 2
3SRC_URI += " \ 3SRC_URI += " \
4 file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \
5 file://tweak-for-lvmdbusd.patch \ 4 file://tweak-for-lvmdbusd.patch \
6 " 5 "
7 6
@@ -38,7 +37,7 @@ do_install:append() {
38 || true 37 || true
39} 38}
40 39
41PACKAGE_BEFORE_PN = "${PN}-scripts ${PN}-udevrules" 40PACKAGE_BEFORE_PN = "${PN}-scripts"
42 41
43SYSTEMD_PACKAGES = "${PN}" 42SYSTEMD_PACKAGES = "${PN}"
44SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \ 43SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'dmeventd', 'lvm2-monitor.service dm-event.socket dm-event.service', '', d)} \
@@ -57,21 +56,30 @@ LVM2_PACKAGECONFIG:append:class-target = " \
57" 56"
58 57
59PACKAGECONFIG[dbus] = "--enable-dbus-service,--disable-dbus-service,,python3-dbus python3-pyudev" 58PACKAGECONFIG[dbus] = "--enable-dbus-service,--disable-dbus-service,,python3-dbus python3-pyudev"
60PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev,${PN}-udevrules" 59PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev,"
61 60
62PACKAGES =+ "libdevmapper" 61PACKAGES =+ "libdevmapper"
63FILES:libdevmapper = " \ 62FILES:libdevmapper = " \
64 ${libdir}/libdevmapper.so.* \ 63 ${libdir}/libdevmapper.so.* \
65 ${sbindir}/dmsetup \ 64 ${sbindir}/dmsetup \
66 ${sbindir}/dmstats \ 65 ${sbindir}/dmstats \
66 ${nonarch_base_libdir}/udev/rules.d/10-dm.rules \
67 ${nonarch_base_libdir}/udev/rules.d/13-dm-disk.rules \
68 ${nonarch_base_libdir}/udev/rules.d/95-dm-notify.rules \
67" 69"
68 70
69FILES:${PN} += " \ 71FILES:${PN} += " \
70 ${libdir}/device-mapper/*.so \ 72 ${libdir}/device-mapper/*.so \
71 ${systemd_system_unitdir}/lvm2-pvscan@.service \ 73 ${systemd_system_unitdir} \
72 ${PYTHON_SITEPACKAGES_DIR}/lvmdbusd \ 74 ${PYTHON_SITEPACKAGES_DIR}/lvmdbusd \
73 ${datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service \ 75 ${datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service \
76 ${nonarch_base_libdir}/udev/rules.d/11-dm-lvm.rules \
77 ${nonarch_base_libdir}/udev/rules.d/69-dm-lvm.rules \
74" 78"
79# Remove /lib/udev from FILES:${PN} so that any new rules files that are added
80# upstream will have to be explicitly added to either FILES:${PN} or
81# FILES:libdevmapper.
82FILES:${PN}:remove = "${nonarch_base_libdir}/udev"
75 83
76FILES:${PN}-scripts = " \ 84FILES:${PN}-scripts = " \
77 ${sbindir}/blkdeactivate \ 85 ${sbindir}/blkdeactivate \
@@ -79,11 +87,8 @@ FILES:${PN}-scripts = " \
79 ${sbindir}/lvmconf \ 87 ${sbindir}/lvmconf \
80 ${sbindir}/lvmdump \ 88 ${sbindir}/lvmdump \
81" 89"
82# Specified explicitly for the udev rules, just in case that it does not get picked 90
83# up automatically:
84FILES:${PN}-udevrules = "${nonarch_base_libdir}/udev/rules.d"
85RDEPENDS:${PN} = "bash" 91RDEPENDS:${PN} = "bash"
86RDEPENDS:${PN}-udevrules = "libdevmapper"
87RDEPENDS:${PN}:append:class-target = " libdevmapper" 92RDEPENDS:${PN}:append:class-target = " libdevmapper"
88RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper" 93RDEPENDS:${PN}:append:class-nativesdk = " libdevmapper"
89 94
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 29cc7425ba..0ff17aed5c 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -15,18 +15,39 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
15 file://0005-do-not-build-manual.patch \ 15 file://0005-do-not-build-manual.patch \
16 file://0006-start-lvm2-monitor.service-after-tmp.mount.patch \ 16 file://0006-start-lvm2-monitor.service-after-tmp.mount.patch \
17 file://reproducible-build.patch \ 17 file://reproducible-build.patch \
18 file://0001-configure.ac-check-egrep.patch \
19 file://0001-include-libgen.h-for-basename.patch \ 18 file://0001-include-libgen.h-for-basename.patch \
20 " 19 "
21 20
22SRCREV = "90ec2cd92f6367c431dd8dae55d0cbe7e196734f" 21SRCREV = "8817523c5682a7fd83770d3f58a99c436f7e73f7"
23S = "${WORKDIR}/git" 22PV = "2.03.32"
24PV = "2.03.24"
25 23
26UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" 24UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
27 25
28inherit autotools-brokensep pkgconfig systemd 26inherit autotools-brokensep pkgconfig systemd
29 27
28def get_dm_version(p):
29 import re
30
31 fn = p + '/VERSION_DM'
32 try:
33 f = open(fn, 'r')
34 except IOError:
35 return None
36
37 lines = f.readlines()
38 f.close()
39 for line in lines:
40 m = re.match(r'(\w+)[-. ](\w+)[-. ](\w+)', line.strip())
41 if m:
42 return ".".join([m.group(1), m.group(2), m.group(3)])
43
44 return None
45
46DM_VERSION = '${@get_dm_version("${S}")}'
47python do_package:prepend() {
48 d.setVar('PKGV:libdevmapper', d.getVar("DM_VERSION"))
49}
50
30LVM2_PACKAGECONFIG = "dmeventd" 51LVM2_PACKAGECONFIG = "dmeventd"
31LVM2_PACKAGECONFIG:append:class-target = " \ 52LVM2_PACKAGECONFIG:append:class-target = " \
32 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \ 53 ${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
@@ -59,7 +80,3 @@ EXTRA_OECONF = "--with-user= \
59 --with-thin-repair=${sbindir}/thin_repair \ 80 --with-thin-repair=${sbindir}/thin_repair \
60 --with-thin-restore=${sbindir}/thin_restore \ 81 --with-thin-restore=${sbindir}/thin_restore \
61" 82"
62
63# gold doesn't like multiple dm_bitset_parse_list definitions in libdm/.exported_symbols.DM_1_02_138 and libdm/.exported_symbols.DM_1_02_129
64# after it was uncommented in the later in 2.03.12 with https://github.com/lvmteam/lvm2/commit/60eb608d66c2056a78e81f27db3da14139d9faab
65LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', " -fuse-ld=bfd", '', d)}"
diff --git a/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch b/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch
deleted file mode 100644
index 96a3d64fdf..0000000000
--- a/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch
+++ /dev/null
@@ -1,70 +0,0 @@
1From 2ff2a867db8d3e1c660d191a1805f9e355169c80 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 2 Mar 2021 01:33:05 -0800
4Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found
5
6In oe-core (util-linux and coreutils), the commands locates in
7${bindir} rather than /bin, add BINDIR to configure it
8
9Upstream-Status: Inappropriate [oe specific]
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 configure.ac | 3 +++
14 scripts/blkdeactivate.sh.in | 7 ++++---
15 2 files changed, 7 insertions(+), 3 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index d9e7964c3..9dfdcfe01 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -1704,6 +1704,8 @@ AS_IF([test -n "$MODPROBE_CMD"], [
22
23 SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))"
24
25+BINDIR="$(eval echo $(eval echo $bindir))"
26+
27 SBINDIR="$(eval echo $(eval echo $sbindir))"
28 LVM_PATH="$SBINDIR/lvm"
29 AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
30@@ -1944,6 +1946,7 @@ AC_SUBST(PYTHON2DIR)
31 AC_SUBST(PYTHON3)
32 AC_SUBST(PYTHON3DIR)
33 AC_SUBST(RT_LIBS)
34+AC_SUBST(BINDIR)
35 AC_SUBST(SBINDIR)
36 AC_SUBST(SELINUX_LIBS)
37 AC_SUBST(SELINUX_PC)
38diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in
39index 7c517b87b..7ef1bb766 100644
40--- a/scripts/blkdeactivate.sh.in
41+++ b/scripts/blkdeactivate.sh.in
42@@ -42,13 +42,14 @@ VDO="/bin/vdo"
43
44 sbindir="@SBINDIR@"
45 DMSETUP="$sbindir/dmsetup"
46+bindir="@BINDIR@"
47 LVM="$sbindir/lvm"
48
49 if "$UMOUNT" --help | grep -- "--all-targets" >"$DEV_DIR/null"; then
50 UMOUNT_OPTS="--all-targets "
51 else
52 UMOUNT_OPTS=""
53- FINDMNT="/bin/findmnt -r --noheadings -u -o TARGET"
54+ FINDMNT="$bindir/findmnt -r --noheadings -u -o TARGET"
55 FINDMNT_READ="read -r mnt"
56 fi
57 DMSETUP_OPTS=""
58@@ -57,10 +58,10 @@ MDADM_OPTS=""
59 MPATHD_OPTS=""
60 VDO_OPTS=""
61
62-LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
63+LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
64 LSBLK_VARS="local devtype local kname local name local mnt"
65 LSBLK_READ="read -r devtype kname name mnt"
66-SORT_MNT="/bin/sort -r -u -k 4"
67+SORT_MNT="$bindir/sort -r -u -k 4"
68
69 # Do not show tool errors by default (only done/skipping summary
70 # message provided by this script) and no verbose mode by default.
diff --git a/meta-oe/recipes-support/mbuffer/mbuffer_20140310.bb b/meta-oe/recipes-support/mbuffer/mbuffer_20140310.bb
index ccc21f418c..01e7645ef9 100644
--- a/meta-oe/recipes-support/mbuffer/mbuffer_20140310.bb
+++ b/meta-oe/recipes-support/mbuffer/mbuffer_20140310.bb
@@ -8,7 +8,8 @@ SRC_URI = " \
8 http://www.maier-komor.de/software/mbuffer/mbuffer-20140310.tgz \ 8 http://www.maier-komor.de/software/mbuffer/mbuffer-20140310.tgz \
9" 9"
10 10
11SRC_URI[md5sum] = "9937d7f666c19a2e6b2499b04dbecc44" 11UPSTREAM_CHECK_URI = "http://www.maier-komor.de/mbuffer.html"
12
12SRC_URI[sha256sum] = "ab90b6fdce16db2bf08bcda0bc5d2bfb053a9a163d2a24f95fbf246460549b99" 13SRC_URI[sha256sum] = "ab90b6fdce16db2bf08bcda0bc5d2bfb053a9a163d2a24f95fbf246460549b99"
13 14
14inherit autotools 15inherit autotools
diff --git a/meta-oe/recipes-support/mcelog/mce-inject_git.bb b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
index a228c3cc06..c8ffb65fa1 100644
--- a/meta-oe/recipes-support/mcelog/mce-inject_git.bb
+++ b/meta-oe/recipes-support/mcelog/mce-inject_git.bb
@@ -6,7 +6,7 @@ SECTION = "System Environment/Base"
6 6
7SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git;branch=master" 7SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git;branch=master"
8 8
9SRCREV = "4cbe46321b4a81365ff3aafafe63967264dbfec5" 9SRCREV = "ca81c1dbed5c7e30fe79d44953ccfeaab98d2b4f"
10 10
11UPSTREAM_CHECK_COMMITS = "1" 11UPSTREAM_CHECK_COMMITS = "1"
12 12
@@ -15,10 +15,11 @@ DEPENDS = "bison-native"
15LICENSE = "GPL-2.0-only" 15LICENSE = "GPL-2.0-only"
16LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6" 16LIC_FILES_CHKSUM = "file://README;beginline=30;md5=94c18755082a2da9c9cf97cba3ad47d6"
17 17
18S = "${WORKDIR}/git"
19 18
20COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' 19COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
21 20
22inherit autotools-brokensep 21EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'"
23 22
24EXTRA_OEMAKE = "destdir=${D} CFLAGS='${CFLAGS}'" 23do_install() {
24 oe_runmake 'destdir=${D}' install
25}
diff --git a/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch b/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch
index 969bfc17cf..80b9ae23b3 100644
--- a/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch
+++ b/meta-oe/recipes-support/mcelog/mce-test/0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] gcov_merge.py/scov_merge.py: switch to python3
5 5
6Make gcov_merge.py and scov_merge.py port to python3. 6Make gcov_merge.py and scov_merge.py port to python3.
7 7
8Upstream-Status: Pending 8Upstream-Status: Submitted [https://github.com/andikleen/mce-test/pull/8]
9 9
10Signed-off-by: Mingli Yu <mingli.yu@windriver.com> 10Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
11--- 11---
diff --git a/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch b/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch
new file mode 100644
index 0000000000..3b2e9502ae
--- /dev/null
+++ b/meta-oe/recipes-support/mcelog/mce-test/0001-ltp-pan-fix-wait_handler-declaration.patch
@@ -0,0 +1,47 @@
1From 3f1f2d143a1e365bb0451609d08194756951099a Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Tue, 22 Apr 2025 18:03:24 +0000
4Subject: [PATCH] ltp-pan: fix wait_handler declaration
5
6to match definition in:
7tools/ltp-pan/ltp-pan.c:wait_handler( int sig )
8
9* fixes build with gcc-15:
10 http://errors.yoctoproject.org/Errors/Details/852857/
11
12ltp-pan.c: In function 'main':
13ltp-pan.c:459:19: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
14 459 | sa.sa_handler = wait_handler;
15 | ^
16In file included from ltp-pan.c:67:
17zoolib.h:52:6: note: 'wait_handler' declared here
18 52 | void wait_handler();
19 | ^~~~~~~~~~~~
20In file included from TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/sys/param.h:28,
21 from ltp-pan.c:56:
22TOPDIR/tmp/work/core2-64-oe-linux/mce-test/20230601+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
23 72 | typedef void (*__sighandler_t) (int);
24 | ^~~~~~~~~~~~~~
25ltp-pan.c:489:17: error: too many arguments to function 'wait_handler'; expected 0, have 1
26 489 | wait_handler(SIGINT);
27 | ^~~~~~~~~~~~ ~~~~~~
28
29Upstream-Status: Submitted [https://github.com/andikleen/mce-test/pull/9]
30Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
31---
32 tools/ltp-pan/zoolib.h | 2 +-
33 1 file changed, 1 insertion(+), 1 deletion(-)
34
35diff --git a/tools/ltp-pan/zoolib.h b/tools/ltp-pan/zoolib.h
36index 8b4049e..34ce76f 100644
37--- a/tools/ltp-pan/zoolib.h
38+++ b/tools/ltp-pan/zoolib.h
39@@ -49,7 +49,7 @@ extern char zoo_error[ZELEN];
40 int lock_file( FILE *fp, short ltype, char **errmsg );
41 /* FILE *open_file( char *file, char *mode, char **errmsg ); */
42
43-void wait_handler();
44+void wait_handler(int sig);
45
46 /* char *zoo_active( void ); */
47 /* zoo_getname(): create a filename to use for the zoo
diff --git a/meta-oe/recipes-support/mcelog/mce-test_git.bb b/meta-oe/recipes-support/mcelog/mce-test_git.bb
index 05e98e86ed..3b96210633 100644
--- a/meta-oe/recipes-support/mcelog/mce-test_git.bb
+++ b/meta-oe/recipes-support/mcelog/mce-test_git.bb
@@ -11,17 +11,17 @@ LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" 11LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
12 12
13SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \ 13SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-test.git;protocol=git;branch=master \
14 file://makefile-remove-ldflags.patch \ 14 file://makefile-remove-ldflags.patch \
15 file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \ 15 file://0001-gcov_merge.py-scov_merge.py-switch-to-python3.patch \
16 " 16 file://0001-ltp-pan-fix-wait_handler-declaration.patch \
17SRCREV = "025014dedca39d2b8a57a82e52286e72e157d73a" 17"
18PV = "20222810+git" 18SRCREV = "9d11fc3e05eae7b454efeb5941beded56f80445b"
19PV = "20230601+git"
19 20
20RDEPENDS:${PN} = "mcelog mce-inject dialog bash" 21RDEPENDS:${PN} = "mcelog mce-inject dialog bash"
21 22
22COMPATIBLE_HOST = '(i.86|x86_64).*-linux' 23COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
23 24
24S ="${WORKDIR}/git"
25 25
26EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'" 26EXTRA_OEMAKE += "CFLAGS='${CFLAGS}'"
27 27
diff --git a/meta-oe/recipes-support/mcelog/mcelog_199.bb b/meta-oe/recipes-support/mcelog/mcelog_204.bb
index 0a48fc48ce..c3d082aa67 100644
--- a/meta-oe/recipes-support/mcelog/mcelog_199.bb
+++ b/meta-oe/recipes-support/mcelog/mcelog_204.bb
@@ -10,12 +10,11 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git;protocol=http;;
10 file://run-ptest \ 10 file://run-ptest \
11 " 11 "
12 12
13SRCREV = "c17897deb52daab300c585a6a6c2456d062d80cf" 13SRCREV = "ad244c6b60fcbd08a5d73497bfb3487983801598"
14 14
15LICENSE = "GPL-2.0-only" 15LICENSE = "GPL-2.0-only"
16LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" 16LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
17 17
18S = "${WORKDIR}/git"
19 18
20inherit ptest 19inherit ptest
21 20
diff --git a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb b/meta-oe/recipes-support/md4c/md4c_0.5.2.bb
index 6c409666fc..59f2e430aa 100644
--- a/meta-oe/recipes-support/md4c/md4c_0.5.2.bb
+++ b/meta-oe/recipes-support/md4c/md4c_0.5.2.bb
@@ -6,7 +6,6 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378" 6LIC_FILES_CHKSUM = "file://LICENSE.md;md5=383f39920f391605af6e8e46e60e2378"
7 7
8 8
9S = "${WORKDIR}/git"
10 9
11SRC_URI = " \ 10SRC_URI = " \
12 git://github.com/mity/md4c.git;protocol=https;branch=master \ 11 git://github.com/mity/md4c.git;protocol=https;branch=master \
diff --git a/meta-oe/recipes-support/mg/mg_20230501.bb b/meta-oe/recipes-support/mg/mg_20230501.bb
index ee00003977..04811f1bdd 100644
--- a/meta-oe/recipes-support/mg/mg_20230501.bb
+++ b/meta-oe/recipes-support/mg/mg_20230501.bb
@@ -14,7 +14,6 @@ SRC_URI:append:libc-musl = "\
14 file://0001-Undefine-REGEX-for-musl-based-systems.patch \ 14 file://0001-Undefine-REGEX-for-musl-based-systems.patch \
15 " 15 "
16 16
17S = "${WORKDIR}/git"
18 17
19# CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?= 18# CFLAGS isn't in EXTRA_OEMAKE, as the makefile picks it up via ?=
20EXTRA_OEMAKE = "\ 19EXTRA_OEMAKE = "\
diff --git a/meta-oe/recipes-support/mime-support/mime-support_3.62.bb b/meta-oe/recipes-support/mime-support/mime-support_3.62.bb
index 46def2a23c..1c0aec13e3 100644
--- a/meta-oe/recipes-support/mime-support/mime-support_3.62.bb
+++ b/meta-oe/recipes-support/mime-support/mime-support_3.62.bb
@@ -12,7 +12,7 @@ RRECOMMENDS:${PN} = "file"
12 12
13SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}.tar.gz" 13SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}.tar.gz"
14SRC_URI[sha256sum] = "54e0a03e0cd63c7c9fe68a18ead0a2143fd3c327604215f989d85484d0409f4a" 14SRC_URI[sha256sum] = "54e0a03e0cd63c7c9fe68a18ead0a2143fd3c327604215f989d85484d0409f4a"
15S = "${WORKDIR}/${BPN}" 15S = "${UNPACKDIR}/${BPN}"
16 16
17inherit update-alternatives 17inherit update-alternatives
18 18
diff --git a/meta-oe/recipes-support/minini/minini_1.2.b.bb b/meta-oe/recipes-support/minini/minini_1.2.b.bb
index 4a73f12129..582f183938 100644
--- a/meta-oe/recipes-support/minini/minini_1.2.b.bb
+++ b/meta-oe/recipes-support/minini/minini_1.2.b.bb
@@ -16,7 +16,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=eb21481ad45c5578ae8c8d37b8c8d76d"
16 16
17SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/minini/minIni_12b.zip;subdir=${BP}" 17SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/minini/minIni_12b.zip;subdir=${BP}"
18 18
19SRC_URI[md5sum] = "32740621098e3f0a321c7c23f4bcbc5d"
20SRC_URI[sha256sum] = "b08839af74acb36061fb76e1123bf56711bc5cf7a08b32e189b0ad78a2e888e2" 19SRC_URI[sha256sum] = "b08839af74acb36061fb76e1123bf56711bc5cf7a08b32e189b0ad78a2e888e2"
21 20
22do_configure[noexec] = "1" 21do_configure[noexec] = "1"
diff --git a/meta-oe/recipes-support/monit/monit_5.34.0.bb b/meta-oe/recipes-support/monit/monit_5.35.2.bb
index 7c3869789c..97020d1953 100644
--- a/meta-oe/recipes-support/monit/monit_5.34.0.bb
+++ b/meta-oe/recipes-support/monit/monit_5.35.2.bb
@@ -6,8 +6,9 @@ causal actions in error situations."
6HOMEPAGE = "http://mmonit.com/monit/" 6HOMEPAGE = "http://mmonit.com/monit/"
7 7
8LICENSE = "AGPL-3.0-only" 8LICENSE = "AGPL-3.0-only"
9LIC_FILES_CHKSUM = "file://COPYING;md5=ea116a7defaf0e93b3bb73b2a34a3f51 \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=79ca9f26f1ecb1e377e90383109ede64 \
10 file://libmonit/COPYING;md5=2405f1c59ed1bf3714cebdb40162ce92" 10 file://libmonit/COPYING;md5=44aaa0a664332e9568add09f1ddb01cb \
11 "
11 12
12SRC_URI = " \ 13SRC_URI = " \
13 https://mmonit.com/monit/dist/monit-${PV}.tar.gz \ 14 https://mmonit.com/monit/dist/monit-${PV}.tar.gz \
@@ -15,11 +16,14 @@ SRC_URI = " \
15 file://monitrc \ 16 file://monitrc \
16" 17"
17 18
18SRC_URI[sha256sum] = "37f514cd8973bbce104cb8517ff3fc504052a083703eee0d0e873db26b919820" 19SRC_URI[sha256sum] = "4dfef54329e63d9772a9e1c36ac99bc41173b79963dc0d8235f2c32f4b9e078f"
19 20
20DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt" 21DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt"
21 22
22inherit autotools-brokensep systemd update-rc.d 23inherit autotools-brokensep systemd update-rc.d
24# brokensep because | ../../monit-5.34.4/libmonit/src/util/Str.c:26:10: fatal error: Config.h: No such file or directory
25
26EXTRA_AUTORECONF += "-I config"
23 27
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" 28PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}"
25PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" 29PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
@@ -38,10 +42,6 @@ INITSCRIPT_PACKAGES = "${PN}"
38INITSCRIPT_NAME:${PN} = "monit" 42INITSCRIPT_NAME:${PN} = "monit"
39INITSCRIPT_PARAMS:${PN} = "defaults 89" 43INITSCRIPT_PARAMS:${PN} = "defaults 89"
40 44
41do_configure:prepend() {
42 rm -rf ${S}/m4/*
43}
44
45do_install:append() { 45do_install:append() {
46 46
47 # Configuration file 47 # Configuration file
diff --git a/meta-oe/recipes-support/mscgen/mscgen_0.20.bb b/meta-oe/recipes-support/mscgen/mscgen_0.20.bb
index 371281d6e4..8b674db926 100644
--- a/meta-oe/recipes-support/mscgen/mscgen_0.20.bb
+++ b/meta-oe/recipes-support/mscgen/mscgen_0.20.bb
@@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b1e6a340187c1cf716513439d07c1d79"
6 6
7SRC_URI = "http://www.mcternan.me.uk/mscgen/software/${BPN}-src-${PV}.tar.gz" 7SRC_URI = "http://www.mcternan.me.uk/mscgen/software/${BPN}-src-${PV}.tar.gz"
8 8
9SRC_URI[md5sum] = "65c90fb5150d7176b65b793f0faa7377"
10SRC_URI[sha256sum] = "3c3481ae0599e1c2d30b7ed54ab45249127533ab2f20e768a0ae58d8551ddc23" 9SRC_URI[sha256sum] = "3c3481ae0599e1c2d30b7ed54ab45249127533ab2f20e768a0ae58d8551ddc23"
11 10
11UPSTREAM_CHECK_URI = "https://www.mcternan.me.uk//mscgen/"
12
12DEPENDS = "gd " 13DEPENDS = "gd "
13 14
14inherit autotools gettext pkgconfig 15inherit autotools gettext pkgconfig
diff --git a/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb b/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb
index b4f4651e37..4c68e7adf4 100644
--- a/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb
+++ b/meta-oe/recipes-support/msktutil/msktutil_1.2.1.bb
@@ -11,6 +11,9 @@ SRC_URI = "https://github.com/msktutil/msktutil/releases/download/${PV}/${BP}.ta
11 file://0001-configure.ac-Remove-native-include-path.patch" 11 file://0001-configure.ac-Remove-native-include-path.patch"
12SRC_URI[sha256sum] = "f9686237c4e24414802415f4c8627c7343da365c5a3bcdef7a853fa3cd27b45d" 12SRC_URI[sha256sum] = "f9686237c4e24414802415f4c8627c7343da365c5a3bcdef7a853fa3cd27b45d"
13 13
14UPSTREAM_CHECK_URI = "https://github.com/msktutil/msktutil/releases/"
15UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
16
14DEPENDS += "krb5 cyrus-sasl openldap" 17DEPENDS += "krb5 cyrus-sasl openldap"
15 18
16inherit autotools 19inherit autotools
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
index 74ae1530cb..909fd77ba2 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-RH-fixup-udev-rules-for-redhat.patch
@@ -1,7 +1,7 @@
1From 1e1ba9ecc16895bf472eae345d44631b65629611 Mon Sep 17 00:00:00 2001 1From 68160e86472b197107c60bf6e5a3d126040e85b6 Mon Sep 17 00:00:00 2001
2From: Benjamin Marzinski <bmarzins@redhat.com> 2From: Benjamin Marzinski <bmarzins@redhat.com>
3Date: Thu, 13 Apr 2017 07:22:23 -0500 3Date: Thu, 13 Apr 2017 07:22:23 -0500
4Subject: [PATCH 01/12] RH: fixup udev rules for redhat 4Subject: [PATCH] RH: fixup udev rules for redhat
5 5
6The multipath rules need to run after scsi_id is run. This means moving 6The multipath rules need to run after scsi_id is run. This means moving
7them after 60-persistent-storage.rules for redhat. Redhat also uses a 7them after 60-persistent-storage.rules for redhat. Redhat also uses a
@@ -18,17 +18,20 @@ Rebase to 0.9.8
18Signed-off-by: Changqing Li <changqing.li@windriver.com> 18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19 19
20Upstream-Status: Pending 20Upstream-Status: Pending
21
22Rebase to 0.10.0
23Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
21--- 24---
22 Makefile.inc | 2 +- 25 Makefile.inc | 2 +-
23 kpartx/kpartx.rules | 2 +- 26 kpartx/kpartx.rules.in | 2 +-
24 multipath/Makefile | 4 ++-- 27 multipath/Makefile | 4 ++--
25 3 files changed, 4 insertions(+), 4 deletions(-) 28 3 files changed, 4 insertions(+), 4 deletions(-)
26 29
27diff --git a/Makefile.inc b/Makefile.inc 30diff --git a/Makefile.inc b/Makefile.inc
28index 5668e638..de89b21f 100644 31index 729618bd..69521882 100644
29--- a/Makefile.inc 32--- a/Makefile.inc
30+++ b/Makefile.inc 33+++ b/Makefile.inc
31@@ -59,7 +59,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d 34@@ -62,7 +62,7 @@ tmpfilesdir := $(systemd_prefix)lib/tmpfiles.d
32 modulesloaddir := $(systemd_prefix)lib/modules-load.d 35 modulesloaddir := $(systemd_prefix)lib/modules-load.d
33 libudevdir := $(systemd_prefix)lib/udev 36 libudevdir := $(systemd_prefix)lib/udev
34 udevrulesdir := $(libudevdir)/rules.d 37 udevrulesdir := $(libudevdir)/rules.d
@@ -37,16 +40,16 @@ index 5668e638..de89b21f 100644
37 mandir := $(usr_prefix)share/man 40 mandir := $(usr_prefix)share/man
38 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib) 41 LIB := $(if $(shell test -d /lib64 && echo 1),lib64,lib)
39 syslibdir := $(prefix)$(LIB) 42 syslibdir := $(prefix)$(LIB)
40diff --git a/kpartx/kpartx.rules b/kpartx/kpartx.rules 43diff --git a/kpartx/kpartx.rules.in b/kpartx/kpartx.rules.in
41index 1969dee0..d2b28233 100644 44index 9d879609..2049eb8f 100644
42--- a/kpartx/kpartx.rules 45--- a/kpartx/kpartx.rules.in
43+++ b/kpartx/kpartx.rules 46+++ b/kpartx/kpartx.rules.in
44@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end" 47@@ -39,6 +39,6 @@ LABEL="mpath_kpartx_end"
45 GOTO="kpartx_end" 48 GOTO="kpartx_end"
46 49
47 LABEL="run_kpartx" 50 LABEL="run_kpartx"
48-RUN+="/sbin/kpartx -un -p -part /dev/$name" 51-RUN+="@BINDIR@/kpartx -un -p -part /dev/$name"
49+RUN+="/sbin/kpartx -un /dev/$name" 52+RUN+="@BINDIR@/kpartx -un /dev/$name"
50 53
51 LABEL="kpartx_end" 54 LABEL="kpartx_end"
52diff --git a/multipath/Makefile b/multipath/Makefile 55diff --git a/multipath/Makefile b/multipath/Makefile
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch
new file mode 100644
index 0000000000..128a0c4d8d
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch
@@ -0,0 +1,28 @@
1From 1d444772db14f4acb8d47b874462b0cc171ab672 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 17 Feb 2025 12:01:59 -0800
4Subject: [PATCH] libmpathutils/uxsock.c: Include string.h for memcpy
5
6Fixes
7uxsock.c:72:2: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
8
9Upstream-Status: Submitted [https://lore.kernel.org/dm-devel/20250217200503.4166910-1-raj.khem@gmail.com/T/#u]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11Cc: Benjamin Marzinski <bmarzins@redhat.com>
12Cc: Martin Wilck <mwilck@suse.com>
13---
14 libmpathutil/uxsock.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/libmpathutil/uxsock.c b/libmpathutil/uxsock.c
18index 2135476d..a474874e 100644
19--- a/libmpathutil/uxsock.c
20+++ b/libmpathutil/uxsock.c
21@@ -8,6 +8,7 @@
22 #include <stdlib.h>
23 #include <unistd.h>
24 #include <stdarg.h>
25+#include <string.h>
26 #include <fcntl.h>
27 #include <sys/ioctl.h>
28 #include <sys/types.h>
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch b/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch
deleted file mode 100644
index 0365a7ef64..0000000000
--- a/meta-oe/recipes-support/multipath-tools/files/0001-libmultipath-always-use-glibc-basename.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 389286b25a903be62ce7f964246824fcc20c4c67 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 26 Mar 2024 18:56:55 -0700
4Subject: [PATCH] libmultipath: always use glibc basename()
5
6There is a use of basename() which expects it to be GNU version of
7basename, which is not available in other libcs e.g. musl on Linux
8therefore provide a version for such cases
9
10Upstream-Status: Submitted [https://github.com/opensvc/multipath-tools/pull/84]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 libmultipath/configure.c | 13 +++++++++++++
14 1 file changed, 13 insertions(+)
15
16diff --git a/libmultipath/configure.c b/libmultipath/configure.c
17index 4ecf6ba4..e81cc67c 100644
18--- a/libmultipath/configure.c
19+++ b/libmultipath/configure.c
20@@ -43,6 +43,19 @@
21 #include "sysfs.h"
22 #include "io_err_stat.h"
23
24+#ifndef __GLIBC__
25+/*
26+ * glibc's non-destructive version of basename()
27+ * License: LGPL-2.1-or-later
28+ */
29+static const char *__basename(const char *filename)
30+{
31+ char *p = strrchr(filename, '/');
32+ return p ? p + 1 : filename;
33+}
34+#define basename(x) __basename(x)
35+#endif
36+
37 /* group paths in pg by host adapter
38 */
39 int group_by_host_adapter(struct pathgroup *pgp, vector adapters)
40--
412.44.0
42
diff --git a/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch b/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
index 4b24bd2d35..a578280491 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0002-RH-Remove-the-property-blacklist-exception-builtin.patch
@@ -1,7 +1,7 @@
1From bb6db01cc19940bb5162c1cc0c9b5f8e4c209822 Mon Sep 17 00:00:00 2001 1From e3449e163d7fe9bf1e188f0e28962f0659e9652d Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 1 Mar 2024 10:34:06 +0800 3Date: Fri, 1 Mar 2024 10:34:06 +0800
4Subject: [PATCH 02/12] RH: Remove the property blacklist exception builtin 4Subject: [PATCH] RH: Remove the property blacklist exception builtin
5 5
6Multipath set the default property blacklist exceptions to 6Multipath set the default property blacklist exceptions to
7(ID_SCSI_VPD|ID_WWN). This has the effect of blacklisting some internal 7(ID_SCSI_VPD|ID_WWN). This has the effect of blacklisting some internal
@@ -13,21 +13,19 @@ it.
13 13
14Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> 14Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
15 15
16Upsteam-Status: Pending 16Upstream-Status: Pending
17 17
18[OP: Rebase to 0.9.3] 18[OP: Rebase to 0.9.3]
19Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> 19Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
20 20
21Rebase to 0.9.8 21Rebase to 0.9.8
22Signed-off-by: Changqing Li <changqing.li@windriver.com> 22Signed-off-by: Changqing Li <changqing.li@windriver.com>
23
24Upstream-Status: Pending
25--- 23---
26 libmultipath/blacklist.c | 16 +++++----------- 24 libmultipath/blacklist.c | 16 +++++-----------
27 1 file changed, 5 insertions(+), 11 deletions(-) 25 1 file changed, 5 insertions(+), 11 deletions(-)
28 26
29diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c 27diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c
30index 75100b20..4fdaca76 100644 28index 17e1b54a..2cfb18b8 100644
31--- a/libmultipath/blacklist.c 29--- a/libmultipath/blacklist.c
32+++ b/libmultipath/blacklist.c 30+++ b/libmultipath/blacklist.c
33@@ -221,15 +221,6 @@ setup_default_blist (struct config * conf) 31@@ -221,15 +221,6 @@ setup_default_blist (struct config * conf)
diff --git a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
index 54b3bdc863..649f1fa778 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0003-RH-don-t-start-without-a-config-file.patch
@@ -1,7 +1,7 @@
1From de8ee3480ec7479ed014c197a9d747403f6e0237 Mon Sep 17 00:00:00 2001 1From 2fe1037b8198bd00961d8df48e684296758127d1 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 23 Nov 2018 17:25:15 +0800 3Date: Fri, 23 Nov 2018 17:25:15 +0800
4Subject: [PATCH 03/12] RH: don't start without a config file 4Subject: [PATCH] RH: don't start without a config file
5 5
6If /etc/multipath.conf doesn't exist, don't start multipathd and blacklist 6If /etc/multipath.conf doesn't exist, don't start multipathd and blacklist
7all devices when running multipath. A completely blank configuration file 7all devices when running multipath. A completely blank configuration file
@@ -28,7 +28,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
28 5 files changed, 23 insertions(+) 28 5 files changed, 23 insertions(+)
29 29
30diff --git a/libmultipath/config.c b/libmultipath/config.c 30diff --git a/libmultipath/config.c b/libmultipath/config.c
31index 83fa7369..8a3a8f37 100644 31index 8b424d18..d8fafa1f 100644
32--- a/libmultipath/config.c 32--- a/libmultipath/config.c
33+++ b/libmultipath/config.c 33+++ b/libmultipath/config.c
34@@ -26,6 +26,7 @@ 34@@ -26,6 +26,7 @@
@@ -39,7 +39,7 @@ index 83fa7369..8a3a8f37 100644
39 39
40 /* 40 /*
41 * We don't support re-initialization after 41 * We don't support re-initialization after
42@@ -959,6 +960,23 @@ int _init_config (const char *file, struct config *conf) 42@@ -937,6 +938,23 @@ int init_config__ (const char *file, struct config *conf)
43 } 43 }
44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file); 44 factorize_hwtable(conf->hwtable, builtin_hwtable_size, file);
45 validate_pctable(conf->overrides, 0, file); 45 validate_pctable(conf->overrides, 0, file);
@@ -64,7 +64,7 @@ index 83fa7369..8a3a8f37 100644
64 64
65 conf->processed_main_config = 1; 65 conf->processed_main_config = 1;
66diff --git a/libmultipath/config.h b/libmultipath/config.h 66diff --git a/libmultipath/config.h b/libmultipath/config.h
67index 384193ab..158cebf0 100644 67index 5b4ebf8c..2302eacc 100644
68--- a/libmultipath/config.h 68--- a/libmultipath/config.h
69+++ b/libmultipath/config.h 69+++ b/libmultipath/config.h
70@@ -10,6 +10,7 @@ 70@@ -10,6 +10,7 @@
@@ -76,7 +76,7 @@ index 384193ab..158cebf0 100644
76 enum devtypes { 76 enum devtypes {
77 DEV_NONE, 77 DEV_NONE,
78diff --git a/multipath/multipath.rules.in b/multipath/multipath.rules.in 78diff --git a/multipath/multipath.rules.in b/multipath/multipath.rules.in
79index 780bf852..2c518378 100644 79index 2ac1972f..cc248231 100644
80--- a/multipath/multipath.rules.in 80--- a/multipath/multipath.rules.in
81+++ b/multipath/multipath.rules.in 81+++ b/multipath/multipath.rules.in
82@@ -9,6 +9,7 @@ IMPORT{cmdline}="nompath" 82@@ -9,6 +9,7 @@ IMPORT{cmdline}="nompath"
@@ -88,7 +88,7 @@ index 780bf852..2c518378 100644
88 ENV{DEVTYPE}!="partition", GOTO="test_dev" 88 ENV{DEVTYPE}!="partition", GOTO="test_dev"
89 IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH" 89 IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH"
90diff --git a/multipathd/multipathd.8.in b/multipathd/multipathd.8.in 90diff --git a/multipathd/multipathd.8.in b/multipathd/multipathd.8.in
91index f1cab3ff..5ae21db1 100644 91index 7bc8806e..315884eb 100644
92--- a/multipathd/multipathd.8.in 92--- a/multipathd/multipathd.8.in
93+++ b/multipathd/multipathd.8.in 93+++ b/multipathd/multipathd.8.in
94@@ -49,6 +49,8 @@ map regains its maximum performance and redundancy. 94@@ -49,6 +49,8 @@ map regains its maximum performance and redundancy.
@@ -101,7 +101,7 @@ index f1cab3ff..5ae21db1 100644
101 . 101 .
102 .\" ---------------------------------------------------------------------------- 102 .\" ----------------------------------------------------------------------------
103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in 103diff --git a/multipathd/multipathd.service.in b/multipathd/multipathd.service.in
104index 6d03ff71..0cd85102 100644 104index b6a25b31..f78bb91b 100644
105--- a/multipathd/multipathd.service.in 105--- a/multipathd/multipathd.service.in
106+++ b/multipathd/multipathd.service.in 106+++ b/multipathd/multipathd.service.in
107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target 107@@ -5,6 +5,7 @@ Before=local-fs-pre.target blk-availability.service shutdown.target
@@ -112,6 +112,3 @@ index 6d03ff71..0cd85102 100644
112 Before=initrd-cleanup.service 112 Before=initrd-cleanup.service
113 DefaultDependencies=no 113 DefaultDependencies=no
114 Conflicts=shutdown.target 114 Conflicts=shutdown.target
115--
1162.25.1
117
diff --git a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
index 91477a44cb..6556d4af85 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0004-RH-use-rpm-optflags-if-present.patch
@@ -1,7 +1,7 @@
1From f1b74f21875d6d9f0a5ac3d67df40a28b167052a Mon Sep 17 00:00:00 2001 1From dd4f005ab3b38cee2776dcb0a0661c5a01befd00 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:19:17 +0800 3Date: Mon, 26 Nov 2018 09:19:17 +0800
4Subject: [PATCH 04/12] RH: use rpm optflags if present 4Subject: [PATCH] RH: use rpm optflags if present
5 5
6Use the passed in optflags when compiling as an RPM, and keep the 6Use the passed in optflags when compiling as an RPM, and keep the
7default flags as close as possible to the current fedora flags, while 7default flags as close as possible to the current fedora flags, while
@@ -16,15 +16,18 @@ Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
16 16
17Rebase to 0.9.8 17Rebase to 0.9.8
18Signed-off-by: Changqing Li <changqing.li@windriver.com> 18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19
20Rebase to 0.10.0
21Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
19--- 22---
20 Makefile.inc | 12 ++++++++++-- 23 Makefile.inc | 12 ++++++++++--
21 1 file changed, 10 insertions(+), 2 deletions(-) 24 1 file changed, 10 insertions(+), 2 deletions(-)
22 25
23diff --git a/Makefile.inc b/Makefile.inc 26diff --git a/Makefile.inc b/Makefile.inc
24index de89b21f..6ac632ff 100644 27index 69521882..2127f208 100644
25--- a/Makefile.inc 28--- a/Makefile.inc
26+++ b/Makefile.inc 29+++ b/Makefile.inc
27@@ -95,7 +95,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo 30@@ -99,7 +99,15 @@ SYSTEMD_LIBDEPS := $(if $(SYSTEMD),$(if $(shell test $(SYSTEMD) -gt 209 && echo
28 MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \ 31 MODPROBE_UNIT := $(shell test "0$(SYSTEMD)" -lt 245 2>/dev/null || \
29 echo "modprobe@dm_multipath.service") 32 echo "modprobe@dm_multipath.service")
30 33
@@ -38,18 +41,18 @@ index de89b21f..6ac632ff 100644
38+ -Werror=implicit-function-declaration -Wno-sign-compare \ 41+ -Werror=implicit-function-declaration -Wno-sign-compare \
39+ -Wno-unused-parameter -Werror=cast-qual \ 42+ -Wno-unused-parameter -Werror=cast-qual \
40+ -Werror=discarded-qualifiers 43+ -Werror=discarded-qualifiers
41 WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \ 44
42 -Werror=implicit-function-declaration -Werror=format-security \ 45 # Set WARN_ONLY=1 to avoid compilation erroring out due to warnings. Useful during development.
43 $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) $(W_URCU_TYPE_LIMITS) 46 WARN_ONLY :=
44@@ -105,7 +113,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \ 47@@ -115,7 +123,7 @@ CPPFLAGS := $(FORTIFY_OPT) $(CPPFLAGS) $(D_URCU_VERSION) \
45 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(configdir)\" \ 48 -DRUNTIME_DIR=\"$(runtimedir)\" -DCONFIG_DIR=\"$(TGTDIR)$(configdir)\" \
46 -DDEFAULT_CONFIGFILE=\"$(configfile)\" -DSTATE_DIR=\"$(statedir)\" \ 49 -DDEFAULT_CONFIGFILE=\"$(TGTDIR)$(configfile)\" -DSTATE_DIR=\"$(TGTDIR)$(statedir)\" \
47 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP 50 -DEXTRAVERSION=\"$(EXTRAVERSION)\" -MMD -MP
48-CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe 51-CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \
49+CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe 52+CFLAGS := -std=gnu99 $(CFLAGS) $(OPTFLAGS) -pipe \
53 -fexceptions
50 BIN_CFLAGS := -fPIE -DPIE 54 BIN_CFLAGS := -fPIE -DPIE
51 LIB_CFLAGS := -fPIC 55 LIB_CFLAGS := -fPIC
52 SHARED_FLAGS := -shared
53-- 56--
542.25.1 572.25.1
55 58
diff --git a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
index c6089612b3..e7ea374cd1 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0005-RH-add-mpathconf.patch
@@ -1,7 +1,7 @@
1From 8f52504859704466667e042baf437c2b6272ffb9 Mon Sep 17 00:00:00 2001 1From 4035b48b512b5010b1c33aeba8c58cf2705bca83 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 09:55:12 +0800 3Date: Mon, 26 Nov 2018 09:55:12 +0800
4Subject: [PATCH 05/12] RH: add mpathconf 4Subject: [PATCH] RH: add mpathconf
5 5
6mpathconf is a program (largely based on lvmcomf) to help users 6mpathconf is a program (largely based on lvmcomf) to help users
7configure /etc/multipath.conf and enable or disable multipathing. It 7configure /etc/multipath.conf and enable or disable multipathing. It
@@ -29,10 +29,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
29 create mode 100644 multipath/mpathconf.8 29 create mode 100644 multipath/mpathconf.8
30 30
31diff --git a/libmultipath/config.c b/libmultipath/config.c 31diff --git a/libmultipath/config.c b/libmultipath/config.c
32index 8a3a8f37..a40b41ab 100644 32index d8fafa1f..cba7994b 100644
33--- a/libmultipath/config.c 33--- a/libmultipath/config.c
34+++ b/libmultipath/config.c 34+++ b/libmultipath/config.c
35@@ -962,6 +962,7 @@ int _init_config (const char *file, struct config *conf) 35@@ -940,6 +940,7 @@ int init_config__ (const char *file, struct config *conf)
36 validate_pctable(conf->overrides, 0, file); 36 validate_pctable(conf->overrides, 0, file);
37 } else { 37 } else {
38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices."); 38 condlog(0, "/etc/multipath.conf does not exist, blacklisting all devices.");
@@ -648,6 +648,3 @@ index 00000000..4cd32672
648+.BR service (8), 648+.BR service (8),
649+.SH AUTHOR 649+.SH AUTHOR
650+Benjamin Marzinski <bmarzins@redhat.com> 650+Benjamin Marzinski <bmarzins@redhat.com>
651--
6522.25.1
653
diff --git a/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch b/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
index 8df7de3b48..04160eaac5 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0006-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch
@@ -1,7 +1,7 @@
1From f93248d8e3598ccdc42b6d639107917c9cda268c Mon Sep 17 00:00:00 2001 1From bd65cdc704666dd4153779c74cdbb2cac6efea71 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 26 Sep 2019 16:29:48 +0800 3Date: Thu, 26 Sep 2019 16:29:48 +0800
4Subject: [PATCH 06/12] RH: add wwids from kernel cmdline mpath.wwids with -A 4Subject: [PATCH] RH: add wwids from kernel cmdline mpath.wwids with -A
5 5
6This patch adds another option to multipath, "-A", which reads 6This patch adds another option to multipath, "-A", which reads
7/proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds 7/proc/cmdline for mpath.wwid=<WWID> options, and adds any wwids it finds
@@ -27,7 +27,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
27 2 files changed, 45 insertions(+) 27 2 files changed, 45 insertions(+)
28 28
29diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c 29diff --git a/libmultipath/wwids.c b/libmultipath/wwids.c
30index 591cd09b..b01f1b85 100644 30index aac18c04..68f8e373 100644
31--- a/libmultipath/wwids.c 31--- a/libmultipath/wwids.c
32+++ b/libmultipath/wwids.c 32+++ b/libmultipath/wwids.c
33@@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid) 33@@ -439,3 +439,47 @@ int unmark_failed_wwid(const char *wwid)
@@ -79,7 +79,7 @@ index 591cd09b..b01f1b85 100644
79+ return ret; 79+ return ret;
80+} 80+}
81diff --git a/libmultipath/wwids.h b/libmultipath/wwids.h 81diff --git a/libmultipath/wwids.h b/libmultipath/wwids.h
82index 0c6ee54d..e32a0b0e 100644 82index ee47ad9f..1ed0d85e 100644
83--- a/libmultipath/wwids.h 83--- a/libmultipath/wwids.h
84+++ b/libmultipath/wwids.h 84+++ b/libmultipath/wwids.h
85@@ -17,6 +17,7 @@ int remember_wwid(char *wwid); 85@@ -17,6 +17,7 @@ int remember_wwid(char *wwid);
diff --git a/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch b/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
index c64b8aeabc..b435e6d677 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0007-RH-warn-on-invalid-regex-instead-of-failing.patch
@@ -1,7 +1,7 @@
1From 49d0b0279f54ceb96878e8e72e828efbb84a534c Mon Sep 17 00:00:00 2001 1From 9f1075f82ecd39a9960f868eef890baf2ba36d4e Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 1 Mar 2024 11:45:10 +0800 3Date: Fri, 1 Mar 2024 11:45:10 +0800
4Subject: [PATCH 07/12] RH: warn on invalid regex instead of failing 4Subject: [PATCH] RH: warn on invalid regex instead of failing
5 5
6multipath.conf used to allow "*" as a match everything regular expression, 6multipath.conf used to allow "*" as a match everything regular expression,
7instead of requiring ".*". Instead of erroring when the old style 7instead of requiring ".*". Instead of erroring when the old style
@@ -23,7 +23,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
23 1 file changed, 34 insertions(+), 6 deletions(-) 23 1 file changed, 34 insertions(+), 6 deletions(-)
24 24
25diff --git a/libmultipath/dict.c b/libmultipath/dict.c 25diff --git a/libmultipath/dict.c b/libmultipath/dict.c
26index 5af036b7..e494419d 100644 26index a06a6138..a734ba9b 100644
27--- a/libmultipath/dict.c 27--- a/libmultipath/dict.c
28+++ b/libmultipath/dict.c 28+++ b/libmultipath/dict.c
29@@ -189,6 +189,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr) 29@@ -189,6 +189,34 @@ set_str_noslash(vector strvec, void *ptr, const char *file, int line_nr)
@@ -61,7 +61,7 @@ index 5af036b7..e494419d 100644
61 static int 61 static int
62 set_yes_no(vector strvec, void *ptr, const char *file, int line_nr) 62 set_yes_no(vector strvec, void *ptr, const char *file, int line_nr)
63 { 63 {
64@@ -1798,7 +1826,7 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \ 64@@ -1854,7 +1882,7 @@ ble_ ## option ## _handler (struct config *conf, vector strvec, \
65 if (!conf->option) \ 65 if (!conf->option) \
66 return 1; \ 66 return 1; \
67 \ 67 \
@@ -70,7 +70,7 @@ index 5af036b7..e494419d 100644
70 if (!buff) \ 70 if (!buff) \
71 return 1; \ 71 return 1; \
72 \ 72 \
73@@ -1818,7 +1846,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \ 73@@ -1874,7 +1902,7 @@ ble_ ## option ## _ ## name ## _handler (struct config *conf, vector strvec, \
74 if (!conf->option) \ 74 if (!conf->option) \
75 return 1; \ 75 return 1; \
76 \ 76 \
@@ -79,7 +79,7 @@ index 5af036b7..e494419d 100644
79 if (!buff) \ 79 if (!buff) \
80 return 1; \ 80 return 1; \
81 \ 81 \
82@@ -1924,16 +1952,16 @@ device_handler(struct config *conf, vector strvec, const char *file, 82@@ -1980,16 +2008,16 @@ device_handler(struct config *conf, vector strvec, const char *file,
83 return 0; 83 return 0;
84 } 84 }
85 85
diff --git a/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch b/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
index 1fa1f3be27..9ea255cbcb 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0008-RH-reset-default-find_mutipaths-value-to-off.patch
@@ -1,7 +1,7 @@
1From fcba3e0d4c8448a2510025acb255c7335413bf56 Mon Sep 17 00:00:00 2001 1From 87e19d273c46fe78933627fc4e8046e3a76da47a Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 11:12:01 +0800 3Date: Mon, 26 Nov 2018 11:12:01 +0800
4Subject: [PATCH 08/12] RH: reset default find_mutipaths value to off 4Subject: [PATCH] RH: reset default find_mutipaths value to off
5 5
6Upstream has changed to default find_multipaths to "strict". For now 6Upstream has changed to default find_multipaths to "strict". For now
7Redhat will retain the previous default of "off". 7Redhat will retain the previous default of "off".
@@ -17,10 +17,10 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
17 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
18 18
19diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h 19diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h
20index 64b633f2..a06a8a41 100644 20index 02f7e57c..98dd66f7 100644
21--- a/libmultipath/defaults.h 21--- a/libmultipath/defaults.h
22+++ b/libmultipath/defaults.h 22+++ b/libmultipath/defaults.h
23@@ -23,7 +23,7 @@ 23@@ -24,7 +24,7 @@
24 #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF 24 #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF
25 #define DEFAULT_VERBOSITY 2 25 #define DEFAULT_VERBOSITY 2
26 #define DEFAULT_REASSIGN_MAPS 0 26 #define DEFAULT_REASSIGN_MAPS 0
diff --git a/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
index 041b79a9af..661e38f684 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0009-multipath-tools-modify-create-config.mk-for-cross-co.patch
@@ -1,7 +1,7 @@
1From 7452549e572b1c40aefe25524bf4bbbf34c952e5 Mon Sep 17 00:00:00 2001 1From c22c897e7c55fc0b8c5bdd113a0357654ee895ae Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Tue, 4 Jun 2019 11:39:39 +0800 3Date: Tue, 4 Jun 2019 11:39:39 +0800
4Subject: [PATCH 09/12] multipath-tools: modify create-config.mk for 4Subject: [PATCH] multipath-tools: modify create-config.mk for
5 cross-compilation 5 cross-compilation
6 6
7Do not look for systemd info on the host, and allow us to pass in CFLAGS 7Do not look for systemd info on the host, and allow us to pass in CFLAGS
@@ -21,7 +21,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
21 1 file changed, 4 deletions(-) 21 1 file changed, 4 deletions(-)
22 22
23diff --git a/create-config.mk b/create-config.mk 23diff --git a/create-config.mk b/create-config.mk
24index 4d318b96..a65975ba 100644 24index 8bd2c20c..40d2446a 100644
25--- a/create-config.mk 25--- a/create-config.mk
26+++ b/create-config.mk 26+++ b/create-config.mk
27@@ -127,10 +127,6 @@ ifeq ($(ENABLE_DMEVENTS_POLL),0) 27@@ -127,10 +127,6 @@ ifeq ($(ENABLE_DMEVENTS_POLL),0)
diff --git a/meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch b/meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch
index b48720b8a1..cf053680f6 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0010-Subject-PATCH-Always-use-devmapper.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0010-Always-use-devmapper.patch
@@ -1,7 +1,7 @@
1From 5d2fa3c5975266a6c02214afa6254e6eeeb1baad Mon Sep 17 00:00:00 2001 1From c34c65a3f5ddec22cb417872f90c2c9540a1847b Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com> 2From: Changqing Li <changqing.li@windriver.com>
3Date: Mon, 26 Nov 2018 11:17:41 +0800 3Date: Mon, 26 Nov 2018 11:17:41 +0800
4Subject: [PATCH 10/12] Subject: [PATCH] Always use devmapper 4Subject: [PATCH] Always use devmapper
5 5
6Do not try to compute several _API_ make variables 6Do not try to compute several _API_ make variables
7from host information when cross-compiling. 7from host information when cross-compiling.
@@ -21,7 +21,7 @@ Signed-off-by: Changqing Li <changqing.li@windriver.com>
21 1 file changed, 8 insertions(+), 28 deletions(-) 21 1 file changed, 8 insertions(+), 28 deletions(-)
22 22
23diff --git a/create-config.mk b/create-config.mk 23diff --git a/create-config.mk b/create-config.mk
24index a65975ba..8ba592f4 100644 24index 40d2446a..f5eb2803 100644
25--- a/create-config.mk 25--- a/create-config.mk
26+++ b/create-config.mk 26+++ b/create-config.mk
27@@ -79,34 +79,14 @@ URCU_VERSION = $(shell \ 27@@ -79,34 +79,14 @@ URCU_VERSION = $(shell \
diff --git a/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch b/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
index abaea2cfb6..0c5015142c 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0011-fix-bug-of-do_compile-and-do_install.patch
@@ -1,7 +1,7 @@
1From 949070286692dfff89213792571da233fe82e440 Mon Sep 17 00:00:00 2001 1From 698361847e6fae321bc277a5fc518b2bd55751b8 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@cn.fujitsu.com> 2From: Wang Mingyu <wangmy@cn.fujitsu.com>
3Date: Sun, 10 May 2020 21:22:53 +0800 3Date: Sun, 10 May 2020 21:22:53 +0800
4Subject: [PATCH 11/12] fix bug of do_compile and do_install 4Subject: [PATCH] fix bug of do_compile and do_install
5 5
6when multiple processes make run in parallel, 6when multiple processes make run in parallel,
7because of dependency error will occur. 7because of dependency error will occur.
@@ -18,10 +18,10 @@ Upstream-Status: Pending
18 1 file changed, 10 insertions(+) 18 1 file changed, 10 insertions(+)
19 19
20diff --git a/Makefile b/Makefile 20diff --git a/Makefile b/Makefile
21index 4df5f161..065249c2 100644 21index f06f7faa..690dc050 100644
22--- a/Makefile 22--- a/Makefile
23+++ b/Makefile 23+++ b/Makefile
24@@ -91,6 +91,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath 24@@ -94,6 +94,16 @@ libmpathpersist libmpathvalid multipath multipathd: libmultipath
25 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath 25 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
26 mpathpersist multipathd: libmpathpersist 26 mpathpersist multipathd: libmpathpersist
27 27
diff --git a/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch b/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
index 2f774940d6..f47d8afe4b 100644
--- a/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
+++ b/meta-oe/recipes-support/multipath-tools/files/0012-add-explicit-dependency-on-libraries.patch
@@ -1,7 +1,7 @@
1From 7a46f43682641436464579d8bf76c382e71ea557 Mon Sep 17 00:00:00 2001 1From 69ee17207574ca032c3cb46a3db99736de3eedf8 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 25 May 2020 23:22:55 -0700 3Date: Mon, 25 May 2020 23:22:55 -0700
4Subject: [PATCH 12/12] add explicit dependency on libraries 4Subject: [PATCH] add explicit dependency on libraries
5 5
6[snip] 6[snip]
7gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist 7gcc/i686-overc-linux/10.1.0/ld: cannot find -lmpathpersist
@@ -24,10 +24,10 @@ Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
24 1 file changed, 1 insertion(+) 24 1 file changed, 1 insertion(+)
25 25
26diff --git a/Makefile b/Makefile 26diff --git a/Makefile b/Makefile
27index 065249c2..0444c2ea 100644 27index 690dc050..b775f949 100644
28--- a/Makefile 28--- a/Makefile
29+++ b/Makefile 29+++ b/Makefile
30@@ -90,6 +90,7 @@ libmultipath: libmpathutil 30@@ -93,6 +93,7 @@ libmultipath: libmpathutil
31 libmpathpersist libmpathvalid multipath multipathd: libmultipath 31 libmpathpersist libmpathvalid multipath multipathd: libmultipath
32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath 32 libmultipath/prioritizers libmultipath/checkers libmultipath/foreign: libmultipath
33 mpathpersist multipathd: libmpathpersist 33 mpathpersist multipathd: libmpathpersist
diff --git a/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch b/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch
new file mode 100644
index 0000000000..4cca7decb8
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch
@@ -0,0 +1,29 @@
1From bcb052a8dadbd0a837986b1e15924b469fc59edc Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?K=C3=A9l=C3=A9fa=20San=C3=A9?= <kelefa.sane@smile.fr>
3Date: Thu, 3 Apr 2025 10:08:49 +0200
4Subject: [PATCH] libdmmp/Makefile: Fix KBUILD_BUILD_TIMESTAMP usage
5
6Add missing $ (Makefile need to escape '$' as '$$')
7
8Upstream-Status: Submitted [https://lore.kernel.org/dm-devel/20250404122902.2750036-1-sofiane.hamam@smile.fr/]
9
10Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
11Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
12Signed-off-by: Kelefa Sane <kelefa.sane@smile.fr>
13---
14 libdmmp/Makefile | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/libdmmp/Makefile b/libdmmp/Makefile
18index 172ba045..7e0e2509 100644
19--- a/libdmmp/Makefile
20+++ b/libdmmp/Makefile
21@@ -74,7 +74,7 @@ doc: docs/man/dmmp_strerror.3
22 docs/man/dmmp_strerror.3: $(HEADERS)
23 $(Q)TEMPFILE=$(shell mktemp); \
24 cat $^ | perl docs/doc-preclean.pl >$$TEMPFILE; \
25- [ "$KBUILD_BUILD_TIMESTAMP" ] || \
26+ [ "$$KBUILD_BUILD_TIMESTAMP" ] || \
27 KBUILD_BUILD_TIMESTAMP=`git log -n1 --pretty=%cd --date=iso -- $^`; \
28 export KBUILD_BUILD_TIMESTAMP; \
29 LC_ALL=C \
diff --git a/meta-oe/recipes-support/multipath-tools/files/0014-libdmmp-Makefile-Add-target-docs-man-dmmp_strerror.3.patch b/meta-oe/recipes-support/multipath-tools/files/0014-libdmmp-Makefile-Add-target-docs-man-dmmp_strerror.3.patch
new file mode 100644
index 0000000000..aad46c229b
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/0014-libdmmp-Makefile-Add-target-docs-man-dmmp_strerror.3.patch
@@ -0,0 +1,41 @@
1From 6e231d887c20b2139db75e6dc6c20107273aaacd Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?K=C3=A9l=C3=A9fa=20San=C3=A9?= <kelefa.sane@smile.fr>
3Date: Thu, 3 Apr 2025 10:25:30 +0200
4Subject: [PATCH] libdmmp/Makefile: Add target docs/man/dmmp_strerror.3 to
5 .PHONY list
6
7When cloning git repos, depending on the order of written to the disk, target
8docs/man/dmmp_strerror.3 is more recent that the prerequisite
9libdmmp/libdmmp.h this leads to a non reproducible behavior:
10Sometimes, the timestamps are updated in the man pages, sometimes not.
11
12Upstream-Status: Denied
13
14https://lore.kernel.org/dm-devel/72355f1d0984647e91f8c50f1c2295071af49e33.camel@suse.com/
15The patch has been rejected by upstream, who will update the timestamps of the
16manpages with a new commit.
17In order to be reproducible without having a random result, forcing the target
18rebuild by adding it to .PHONY is the more acceptable solution, the alternative
19would have been to use the make -B option which consider all target has
20obsolete and rebuild them all, which is less efficient.
21
22Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
23Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
24Signed-off-by: Kelefa Sane <kelefa.sane@smile.fr>
25---
26 libdmmp/Makefile | 2 +-
27 1 file changed, 1 insertion(+), 1 deletion(-)
28
29diff --git a/libdmmp/Makefile b/libdmmp/Makefile
30index 7e0e2509..187bcb8c 100644
31--- a/libdmmp/Makefile
32+++ b/libdmmp/Makefile
33@@ -20,7 +20,7 @@ CFLAGS += $(LIB_CFLAGS) -fvisibility=hidden
34 LIBDEPS += $(shell $(PKG_CONFIG) --libs json-c) -L$(mpathcmddir) -lmpathcmd -lpthread
35
36 all: $(LIBS) doc
37-.PHONY: doc clean install uninstall check speed_test dep_clean
38+.PHONY: doc clean install uninstall check speed_test dep_clean docs/man/dmmp_strerror.3
39
40 $(LIBS): $(OBJS)
41 $(Q)$(CC) $(LDFLAGS) $(SHARED_FLAGS) -Wl,-soname=$@ -o $@ $(OBJS) $(LIBDEPS)
diff --git a/meta-oe/recipes-support/multipath-tools/files/multipathd.oe b/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
index 3bdf875e3c..3bdf875e3c 100755..100644
--- a/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
+++ b/meta-oe/recipes-support/multipath-tools/files/multipathd.oe
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.1.bb
index 374cda3b4e..07bc84ce8b 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.9.8.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.11.1.bb
@@ -29,7 +29,7 @@ DEPENDS = "libdevmapper \
29 29
30LICENSE = "GPL-2.0-only" 30LICENSE = "GPL-2.0-only"
31 31
32SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=master \ 32SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=stable-0.11.y \
33 file://multipathd.oe \ 33 file://multipathd.oe \
34 file://multipath.conf.example \ 34 file://multipath.conf.example \
35 file://0001-RH-fixup-udev-rules-for-redhat.patch \ 35 file://0001-RH-fixup-udev-rules-for-redhat.patch \
@@ -41,17 +41,18 @@ SRC_URI = "git://github.com/opensvc/multipath-tools.git;protocol=https;branch=ma
41 file://0007-RH-warn-on-invalid-regex-instead-of-failing.patch \ 41 file://0007-RH-warn-on-invalid-regex-instead-of-failing.patch \
42 file://0008-RH-reset-default-find_mutipaths-value-to-off.patch \ 42 file://0008-RH-reset-default-find_mutipaths-value-to-off.patch \
43 file://0009-multipath-tools-modify-create-config.mk-for-cross-co.patch \ 43 file://0009-multipath-tools-modify-create-config.mk-for-cross-co.patch \
44 file://0010-Subject-PATCH-Always-use-devmapper.patch \ 44 file://0010-Always-use-devmapper.patch \
45 file://0011-fix-bug-of-do_compile-and-do_install.patch \ 45 file://0011-fix-bug-of-do_compile-and-do_install.patch \
46 file://0012-add-explicit-dependency-on-libraries.patch \ 46 file://0012-add-explicit-dependency-on-libraries.patch \
47 file://0001-libmultipath-always-use-glibc-basename.patch \ 47 file://0001-libmpathutils-uxsock.c-Include-string.h-for-memcpy.patch \
48 file://0013-libdmmp-Makefile-Fix-KBUILD_BUILD_TIMESTAMP-usage.patch \
49 file://0014-libdmmp-Makefile-Add-target-docs-man-dmmp_strerror.3.patch \
48 " 50 "
49 51
50LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" 52LIC_FILES_CHKSUM = "file://COPYING;md5=9ec28527f3d544b51ceb0e1907d0bf3f"
51 53
52SRCREV = "3daacfdfd110b24a3a7d5a276dcf8512b7039199" 54SRCREV = "cb8de98b2cc3b62fd1a578ba479c0820778e9c02"
53 55
54S = "${WORKDIR}/git"
55 56
56inherit systemd pkgconfig 57inherit systemd pkgconfig
57 58
@@ -73,6 +74,7 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
73EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \ 74EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
74 OPTFLAGS="${CFLAGS}" \ 75 OPTFLAGS="${CFLAGS}" \
75 prefix=${prefix} \ 76 prefix=${prefix} \
77 etc_prefix=${sysconfdir} \
76 bindir=${base_sbindir} \ 78 bindir=${base_sbindir} \
77 LIB=${base_libdir} libdir=${base_libdir}/multipath \ 79 LIB=${base_libdir} libdir=${base_libdir}/multipath \
78 usrlibdir=${libdir} \ 80 usrlibdir=${libdir} \
@@ -82,6 +84,7 @@ EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
82 modulesloaddir=${sysconfdir}/modules-load.d \ 84 modulesloaddir=${sysconfdir}/modules-load.d \
83 tmpfilesdir=${sysconfdir}/tmpfiles.d \ 85 tmpfilesdir=${sysconfdir}/tmpfiles.d \
84 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \ 86 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "SYSTEMD=216", "", d)} \
87 KBUILD_BUILD_TIMESTAMP="$(date -u -d "@$SOURCE_DATE_EPOCH" +"%Y-%m-%d %H:%M:%S +0000")" \
85 ' 88 '
86 89
87do_install() { 90do_install() {
diff --git a/meta-oe/recipes-support/nano/nano_8.0.bb b/meta-oe/recipes-support/nano/nano_8.3.bb
index 56aa47f641..d1af89ef8d 100644
--- a/meta-oe/recipes-support/nano/nano_8.0.bb
+++ b/meta-oe/recipes-support/nano/nano_8.3.bb
@@ -7,13 +7,13 @@ SECTION = "console/utils"
7LICENSE = "GPL-3.0-only" 7LICENSE = "GPL-3.0-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" 8LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
9 9
10DEPENDS = "ncurses file" 10DEPENDS = "ncurses"
11RDEPENDS:${PN} = "ncurses-terminfo-base" 11RDEPENDS:${PN} = "ncurses-terminfo-base"
12 12
13PV_MAJOR = "${@d.getVar('PV').split('.')[0]}" 13PV_MAJOR = "${@d.getVar('PV').split('.')[0]}"
14 14
15SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz" 15SRC_URI = "https://nano-editor.org/dist/v${PV_MAJOR}/nano-${PV}.tar.xz"
16SRC_URI[sha256sum] = "c17f43fc0e37336b33ee50a209c701d5beb808adc2d9f089ca831b40539c9ac4" 16SRC_URI[sha256sum] = "551b717b2e28f7e90f749323686a1b5bbbd84cfa1390604d854a3ca3778f111e"
17 17
18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano" 18UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/nano"
19 19
diff --git a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
index b10c23984d..b4db0c0f64 100644
--- a/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
+++ b/meta-oe/recipes-support/ne10/ne10_1.2.1.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/projectNe10/Ne10.git;branch=master;protocol=https \
10 " 10 "
11SRCREV = "18c4c982a595dad069cd8df4932aefb1d257591f" 11SRCREV = "18c4c982a595dad069cd8df4932aefb1d257591f"
12 12
13S = "${WORKDIR}/git"
14PV .= "+git" 13PV .= "+git"
15 14
16inherit cmake 15inherit cmake
@@ -26,6 +25,7 @@ NE10_TARGET_ARCH:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7","
26NE10_TARGET_ARCH:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7","",d)}" 25NE10_TARGET_ARCH:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon","armv7","",d)}"
27 26
28EXTRA_OECMAKE = '-DGNULINUX_PLATFORM=ON -DNE10_BUILD_SHARED=ON -DNE10_LINUX_TARGET_ARCH="${NE10_TARGET_ARCH}"' 27EXTRA_OECMAKE = '-DGNULINUX_PLATFORM=ON -DNE10_BUILD_SHARED=ON -DNE10_LINUX_TARGET_ARCH="${NE10_TARGET_ARCH}"'
28CFLAGS += "-Wa,--noexecstack"
29 29
30do_install() { 30do_install() {
31 install -d ${D}${libdir} 31 install -d ${D}${libdir}
diff --git a/meta-oe/recipes-support/neon/neon_0.33.0.bb b/meta-oe/recipes-support/neon/neon_0.33.0.bb
index a0333f4560..0ab6d25f53 100644
--- a/meta-oe/recipes-support/neon/neon_0.33.0.bb
+++ b/meta-oe/recipes-support/neon/neon_0.33.0.bb
@@ -5,7 +5,7 @@ LICENSE = "LGPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \ 5LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
6 file://src/ne_utils.h;beginline=1;endline=20;md5=34c8e338bfa0237561e68d30c3c71133" 6 file://src/ne_utils.h;beginline=1;endline=20;md5=34c8e338bfa0237561e68d30c3c71133"
7 7
8SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \ 8SRC_URI = "https://notroj.github.io/neon/neon-${PV}.tar.gz \
9 file://pkgconfig.patch \ 9 file://pkgconfig.patch \
10 file://0001-Disable-installing-documentation.patch \ 10 file://0001-Disable-installing-documentation.patch \
11 file://run-ptest \ 11 file://run-ptest \
@@ -13,34 +13,31 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \
13 13
14SRC_URI[sha256sum] = "659a5cc9cea05e6e7864094f1e13a77abbbdbab452f04d751a8c16a9447cf4b8" 14SRC_URI[sha256sum] = "659a5cc9cea05e6e7864094f1e13a77abbbdbab452f04d751a8c16a9447cf4b8"
15 15
16inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest 16inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest gettext
17
18EXTRA_AUTORECONF += "-I macros"
17 19
18# Enable gnutls or openssl, not both 20# Enable gnutls or openssl, not both
19PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib nls" 21PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib"
20PACKAGECONFIG:class-native = "expat gnutls webdav zlib nls" 22PACKAGECONFIG:class-native = "expat gnutls webdav zlib"
21PACKAGECONFIG:remove:libc-musl = "nls"
22 23
23PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" 24PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
24PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" 25PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
25PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5" 26PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
26PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy" 27PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
27PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2" 28PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2"
28PACKAGECONFIG[nls] = ",--disable-nls,gettext-native"
29PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" 29PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
30PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav," 30PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav,"
31PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" 31PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
32 32
33EXTRA_OECONF += "--enable-shared --enable-threadsafe-ssl=posix" 33EXTRA_OECONF += "--enable-shared --enable-threadsafe-ssl=posix"
34 34
35# Do not install into /usr/local
36EXTRA_OEMAKE:append:class-native = " prefix=${prefix_native}"
37
38do_configure:prepend() { 35do_configure:prepend() {
39 echo "${PV}" > ${S}/.version 36 echo "${PV}" > ${S}/.version
40} 37}
41 38
42do_compile:append() { 39do_compile:append() {
43 if ${@bb.utils.contains('PACKAGECONFIG', 'nls', 'true', 'false', d)}; then 40 if ${@bb.utils.contains('USE_NLS', 'yes', 'true', 'false', d)}; then
44 oe_runmake compile-gmo 41 oe_runmake compile-gmo
45 fi 42 fi
46 oe_runmake -C test 43 oe_runmake -C test
diff --git a/meta-oe/recipes-support/nmon/nmon_16m.bb b/meta-oe/recipes-support/nmon/nmon_16m.bb
index 1779dd2273..4e7abb2123 100644
--- a/meta-oe/recipes-support/nmon/nmon_16m.bb
+++ b/meta-oe/recipes-support/nmon/nmon_16m.bb
@@ -14,12 +14,14 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/nmon/lmon${PV}.c;name=lmon \
14SRC_URI[lmon.sha256sum] = "2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1" 14SRC_URI[lmon.sha256sum] = "2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1"
15SRC_URI[doc.sha256sum] = "1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278" 15SRC_URI[doc.sha256sum] = "1f7f83afe62a7210be5e83cd24157adb854c14599efe0b377a7ecca933869278"
16 16
17UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/nmon/files/"
18UPSTREAM_CHECK_REGEX = "lmon(?P<pver>.*).c"
19
17CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM" 20CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
18LDFLAGS += "-ltinfo -lncursesw -lm" 21LDFLAGS += "-ltinfo -lncursesw -lm"
19ASNEEDED:pn-nmon = "" 22ASNEEDED:pn-nmon = ""
20 23
21S = "${WORKDIR}/sources" 24S = "${UNPACKDIR}"
22UNPACKDIR = "${S}"
23 25
24do_compile() { 26do_compile() {
25 ${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon 27 ${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
diff --git a/meta-oe/recipes-support/nspr/nspr/0001-Fix-Wincompatible-function-pointer-types.patch b/meta-oe/recipes-support/nspr/nspr/0001-Fix-Wincompatible-function-pointer-types.patch
deleted file mode 100644
index 8515075fe0..0000000000
--- a/meta-oe/recipes-support/nspr/nspr/0001-Fix-Wincompatible-function-pointer-types.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1From d24dc9bebaefbd8abf32707bad5efc0c811c0cd4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Jan 2023 13:04:56 -0800
4Subject: [PATCH] Fix -Wincompatible-function-pointer-types
5
6Fixes warnings with clang16
7testfile.c:576:31: error: incompatible function pointer types passing 'PRInt32 (void *)' (aka 'int (void *)') to parameter of type 'void (*)(void *)' [-Wincompatible-function-pointe r-types]
8
9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 pr/tests/testfile.c | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/pr/tests/testfile.c b/pr/tests/testfile.c
16index 79d8a05..42aa6a7 100644
17--- a/pr/tests/testfile.c
18+++ b/pr/tests/testfile.c
19@@ -123,7 +123,7 @@ PRThread* create_new_thread(PRThreadType type,
20 if (native_thread) {
21 #if defined(_PR_PTHREADS)
22 pthread_t tid;
23- if (!pthread_create(&tid, NULL, start, arg)) {
24+ if (!pthread_create(&tid, NULL, (void*(*)(void*))start, arg)) {
25 return((PRThread *) tid);
26 }
27 else {
28@@ -573,7 +573,7 @@ static PRInt32 RunDirTest(void)
29
30 thrarg.done= 0;
31 t = create_new_thread(PR_USER_THREAD,
32- DirTest, &thrarg,
33+ (void (*)(void *))DirTest, &thrarg,
34 PR_PRIORITY_NORMAL,
35 PR_LOCAL_THREAD,
36 PR_UNJOINABLE_THREAD,
37--
382.39.1
39
diff --git a/meta-oe/recipes-support/nspr/nspr/remove-rpath-from-tests.patch b/meta-oe/recipes-support/nspr/nspr/0001-remove-rpath-from-tests.patch
index 7ba59ed644..5cb14b5781 100644
--- a/meta-oe/recipes-support/nspr/nspr/remove-rpath-from-tests.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0001-remove-rpath-from-tests.patch
@@ -1,5 +1,7 @@
1Author: Andrei Gherzan <andrei@gherzan.ro> 1From 63eb483f7feb05917402731d8f21b396630ef202 Mon Sep 17 00:00:00 2001
2Date: Thu Feb 9 00:03:38 2012 +0200 2From: Andrei Gherzan <andrei@gherzan.ro>
3Date: Thu, 9 Feb 2012 00:03:38 +0200
4Subject: [PATCH] remove rpath from tests
3 5
4Avoid QA warnings by removing hardcoded rpath from binaries. 6Avoid QA warnings by removing hardcoded rpath from binaries.
5 7
@@ -8,14 +10,18 @@ WARNING: QA Issue: package nspr contains bad RPATH {builddir}/tmp/work/armv5te-p
8in file {builddir}/tmp/work/armv5te-poky-linux-gnueabi/nspr-4.8.9-r1/packages-split/nspr/usr/lib/nspr/tests/multiwait 10in file {builddir}/tmp/work/armv5te-poky-linux-gnueabi/nspr-4.8.9-r1/packages-split/nspr/usr/lib/nspr/tests/multiwait
9[...] 11[...]
10 12
11Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
12Upstream-Status: Pending 13Upstream-Status: Pending
13 14
14Index: nspr/pr/tests/Makefile.in 15Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
15=================================================================== 16---
16--- nspr.orig/pr/tests/Makefile.in 17 pr/tests/Makefile.in | 2 +-
17+++ nspr/pr/tests/Makefile.in 18 1 file changed, 1 insertion(+), 1 deletion(-)
18@@ -316,7 +316,7 @@ ifeq ($(OS_ARCH), SunOS) 19
20diff --git a/pr/tests/Makefile.in b/pr/tests/Makefile.in
21index 20e2f99..56c73e1 100644
22--- a/pr/tests/Makefile.in
23+++ b/pr/tests/Makefile.in
24@@ -260,7 +260,7 @@ ifeq ($(OS_ARCH), SunOS)
19 endif # SunOS 25 endif # SunOS
20 26
21 ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH))) 27 ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
@@ -24,3 +30,6 @@ Index: nspr/pr/tests/Makefile.in
24 ifeq ($(USE_PTHREADS),1) 30 ifeq ($(USE_PTHREADS),1)
25 EXTRA_LIBS = -lpthread 31 EXTRA_LIBS = -lpthread
26 endif 32 endif
33--
342.25.1
35
diff --git a/meta-oe/recipes-support/nspr/nspr/fix-build-on-x86_64.patch b/meta-oe/recipes-support/nspr/nspr/0002-Fix-build-failure-on-x86_64.patch
index f12acc8548..9e1928e376 100644
--- a/meta-oe/recipes-support/nspr/nspr/fix-build-on-x86_64.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0002-Fix-build-failure-on-x86_64.patch
@@ -1,21 +1,24 @@
1Fix build failure on x86_64 1From f68f2535e98231ab362b6bbbe7cc4718b2c72aa9 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Tue, 31 Dec 2024 10:25:15 +0800
4Subject: [PATCH] Fix build failure on x86_64
2 5
3When the target_cpu is x86_64, we should assume that the pkg uses 64bit, 6When the target_cpu is x86_64, we should assume that the pkg uses 64bit,
4only if USE_N32 is set, we can assume that the pkg uses 32bit. It used a 7only if USE_N32 is set, we can assume that the pkg uses 32bit. It used a
5opposite logic before. 8opposite logic before.
6 9
7Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
8
9Upstream-Status: Pending 10Upstream-Status: Pending
11
12Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
10--- 13---
11 configure.in | 12 ++++++------ 14 configure.in | 16 ++++++----------
12 1 files changed, 6 insertions(+), 6 deletions(-) 15 1 file changed, 6 insertions(+), 10 deletions(-)
13 16
14Index: nspr/configure.in 17diff --git a/configure.in b/configure.in
15=================================================================== 18index 1a3e489..04419d9 100644
16--- nspr.orig/configure.in 19--- a/configure.in
17+++ nspr/configure.in 20+++ b/configure.in
18@@ -1875,28 +1875,24 @@ tools are selected during the Xcode/Deve 21@@ -1590,28 +1590,24 @@ tools are selected during the Xcode/Developer Tools installation.])
19 PR_MD_ASFILES=os_Linux_ia64.s 22 PR_MD_ASFILES=os_Linux_ia64.s
20 ;; 23 ;;
21 x86_64) 24 x86_64)
@@ -49,4 +52,7 @@ Index: nspr/configure.in
49- PR_MD_ASFILES=os_Linux_ppc.s 52- PR_MD_ASFILES=os_Linux_ppc.s
50 fi 53 fi
51 ;; 54 ;;
52 esac 55 esac
56--
572.25.1
58
diff --git a/meta-oe/recipes-support/nspr/nspr/0002-Add-nios2-support.patch b/meta-oe/recipes-support/nspr/nspr/0003-Add-nios2-support.patch
index dab2a4e291..3d1bbd31a7 100644
--- a/meta-oe/recipes-support/nspr/nspr/0002-Add-nios2-support.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0003-Add-nios2-support.patch
@@ -1,21 +1,23 @@
1From 4760065a58153e4dae24e4e437a5136592c624bc Mon Sep 17 00:00:00 2001 1From 09a67d3945f1fde8372532ef2e19af20db2112cd Mon Sep 17 00:00:00 2001
2From: Marek Vasut <marex@denx.de> 2From: Marek Vasut <marex@denx.de>
3Date: Sat, 30 Jan 2016 07:18:02 +0100 3Date: Sat, 30 Jan 2016 07:18:02 +0100
4Subject: [PATCH] Add nios2 support 4Subject: [PATCH] Add nios2 support
5 5
6Add support for the nios2 CPU. 6Add support for the nios2 CPU.
7 7
8Signed-off-by: Marek Vasut <marex@denx.de>
9Upstream-Status: Submitted [ https://bugzilla.mozilla.org/show_bug.cgi?id=1244421 ] 8Upstream-Status: Submitted [ https://bugzilla.mozilla.org/show_bug.cgi?id=1244421 ]
10 9
10Signed-off-by: Marek Vasut <marex@denx.de>
11--- 11---
12 pr/include/md/_linux.cfg | 45 +++++++++++++++++++++++++++++++++++ 12 pr/include/md/_linux.cfg | 45 ++++++++++++++++++++++++++++++++++++++++
13 pr/include/md/_linux.h | 4 +++- 13 pr/include/md/_linux.h | 4 +++-
14 2 files changed, 48 insertions(+), 1 deletion(-) 14 2 files changed, 48 insertions(+), 1 deletion(-)
15 15
16diff --git a/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg
17index 009d5e5..77c13df 100644
16--- a/pr/include/md/_linux.cfg 18--- a/pr/include/md/_linux.cfg
17+++ b/pr/include/md/_linux.cfg 19+++ b/pr/include/md/_linux.cfg
18@@ -975,6 +975,51 @@ 20@@ -979,6 +979,51 @@
19 #define PR_BYTES_PER_WORD_LOG2 2 21 #define PR_BYTES_PER_WORD_LOG2 2
20 #define PR_BYTES_PER_DWORD_LOG2 3 22 #define PR_BYTES_PER_DWORD_LOG2 3
21 23
@@ -67,6 +69,8 @@ Upstream-Status: Submitted [ https://bugzilla.mozilla.org/show_bug.cgi?id=124442
67 #elif defined(__or1k__) 69 #elif defined(__or1k__)
68 70
69 #undef IS_LITTLE_ENDIAN 71 #undef IS_LITTLE_ENDIAN
72diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h
73index ad57d08..45a2231 100644
70--- a/pr/include/md/_linux.h 74--- a/pr/include/md/_linux.h
71+++ b/pr/include/md/_linux.h 75+++ b/pr/include/md/_linux.h
72@@ -55,6 +55,8 @@ 76@@ -55,6 +55,8 @@
@@ -78,7 +82,7 @@ Upstream-Status: Submitted [ https://bugzilla.mozilla.org/show_bug.cgi?id=124442
78 #elif defined(__or1k__) 82 #elif defined(__or1k__)
79 #define _PR_SI_ARCHITECTURE "or1k" 83 #define _PR_SI_ARCHITECTURE "or1k"
80 #elif defined(__riscv) && (__riscv_xlen == 32) 84 #elif defined(__riscv) && (__riscv_xlen == 32)
81@@ -143,7 +145,7 @@ extern PRInt32 _PR_x86_64_AtomicSet(PRIn 85@@ -143,7 +145,7 @@ extern PRInt32 _PR_x86_64_AtomicSet(PRInt32 *val, PRInt32 newval);
82 #define _MD_ATOMIC_SET _PR_x86_64_AtomicSet 86 #define _MD_ATOMIC_SET _PR_x86_64_AtomicSet
83 #endif 87 #endif
84 88
@@ -87,3 +91,6 @@ Upstream-Status: Submitted [ https://bugzilla.mozilla.org/show_bug.cgi?id=124442
87 #if defined(__GNUC__) 91 #if defined(__GNUC__)
88 /* Use GCC built-in functions */ 92 /* Use GCC built-in functions */
89 #define _PR_HAVE_ATOMIC_OPS 93 #define _PR_HAVE_ATOMIC_OPS
94--
952.25.1
96
diff --git a/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch b/meta-oe/recipes-support/nspr/nspr/0004-md-Fix-build-with-musl.patch
index 09855a03dc..75d184bb3b 100644
--- a/meta-oe/recipes-support/nspr/nspr/0001-md-Fix-build-with-musl.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0004-md-Fix-build-with-musl.patch
@@ -1,4 +1,4 @@
1From 5f6fcaeb0b7a319c8afd32ddb48b3515b63a6c0c Mon Sep 17 00:00:00 2001 1From e8cab35851949cd4b7498d56978c5e7907841f32 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 18 Sep 2017 17:22:43 -0700 3Date: Mon, 18 Sep 2017 17:22:43 -0700
4Subject: [PATCH] md: Fix build with musl 4Subject: [PATCH] md: Fix build with musl
@@ -7,17 +7,17 @@ The MIPS specific header <sgidefs.h> is not provided by musl
7linux kernel headers provide <asm/sgidefs.h> which has same definitions 7linux kernel headers provide <asm/sgidefs.h> which has same definitions
8 8
9Upstream-Status: Pending 9Upstream-Status: Pending
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- 12---
13 pr/include/md/_linux.cfg | 2 +- 13 pr/include/md/_linux.cfg | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg 16diff --git a/pr/include/md/_linux.cfg b/pr/include/md/_linux.cfg
17index aa3af78..899826f 100644 17index 77c13df..3eb2faf 100644
18--- a/pr/include/md/_linux.cfg 18--- a/pr/include/md/_linux.cfg
19+++ b/pr/include/md/_linux.cfg 19+++ b/pr/include/md/_linux.cfg
20@@ -511,7 +511,7 @@ 20@@ -515,7 +515,7 @@
21 #error "Unknown MIPS endianness." 21 #error "Unknown MIPS endianness."
22 #endif 22 #endif
23 23
@@ -26,3 +26,6 @@ index aa3af78..899826f 100644
26 26
27 #define IS_64 27 #define IS_64
28 28
29--
302.25.1
31
diff --git a/meta-oe/recipes-support/nspr/nspr/Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch b/meta-oe/recipes-support/nspr/nspr/0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch
index 90fe45f34d..470ada591a 100644
--- a/meta-oe/recipes-support/nspr/nspr/Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch
@@ -1,4 +1,4 @@
1From 8a592e4ead4ed6befe6044da3dd2dc7523c33905 Mon Sep 17 00:00:00 2001 1From 161c955f32dd350413de076b7cad588fa4bdc4de Mon Sep 17 00:00:00 2001
2From: Mingli Yu <Mingli.Yu@windriver.com> 2From: Mingli Yu <Mingli.Yu@windriver.com>
3Date: Fri, 16 Nov 2018 13:52:49 +0800 3Date: Fri, 16 Nov 2018 13:52:49 +0800
4Subject: [PATCH] Makefile.in: remove _BUILD_STRING and _BUILD_TIME 4Subject: [PATCH] Makefile.in: remove _BUILD_STRING and _BUILD_TIME
@@ -23,10 +23,10 @@ Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
23 4 files changed, 4 insertions(+), 28 deletions(-) 23 4 files changed, 4 insertions(+), 28 deletions(-)
24 24
25diff --git a/lib/ds/Makefile.in b/lib/ds/Makefile.in 25diff --git a/lib/ds/Makefile.in b/lib/ds/Makefile.in
26index e737791..b578476 100644 26index fa8c783..74b4bdd 100644
27--- a/lib/ds/Makefile.in 27--- a/lib/ds/Makefile.in
28+++ b/lib/ds/Makefile.in 28+++ b/lib/ds/Makefile.in
29@@ -114,13 +114,7 @@ GARBAGE += $(TINC) 29@@ -104,13 +104,7 @@ GARBAGE += $(TINC)
30 30
31 $(TINC): 31 $(TINC):
32 @$(MAKE_OBJDIR) 32 @$(MAKE_OBJDIR)
@@ -42,10 +42,10 @@ index e737791..b578476 100644
42 42
43 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC) 43 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC)
44diff --git a/lib/libc/src/Makefile.in b/lib/libc/src/Makefile.in 44diff --git a/lib/libc/src/Makefile.in b/lib/libc/src/Makefile.in
45index e8a6d9f..978ed28 100644 45index 9ef2007..21abd6f 100644
46--- a/lib/libc/src/Makefile.in 46--- a/lib/libc/src/Makefile.in
47+++ b/lib/libc/src/Makefile.in 47+++ b/lib/libc/src/Makefile.in
48@@ -116,13 +116,7 @@ GARBAGE += $(TINC) 48@@ -106,13 +106,7 @@ GARBAGE += $(TINC)
49 49
50 $(TINC): 50 $(TINC):
51 @$(MAKE_OBJDIR) 51 @$(MAKE_OBJDIR)
@@ -61,10 +61,10 @@ index e8a6d9f..978ed28 100644
61 61
62 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC) 62 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC)
63diff --git a/lib/prstreams/Makefile.in b/lib/prstreams/Makefile.in 63diff --git a/lib/prstreams/Makefile.in b/lib/prstreams/Makefile.in
64index aeb2944..f318097 100644 64index 5865ab8..a00d20c 100644
65--- a/lib/prstreams/Makefile.in 65--- a/lib/prstreams/Makefile.in
66+++ b/lib/prstreams/Makefile.in 66+++ b/lib/prstreams/Makefile.in
67@@ -116,13 +116,7 @@ endif 67@@ -102,13 +102,7 @@ endif
68 68
69 $(TINC): 69 $(TINC):
70 @$(MAKE_OBJDIR) 70 @$(MAKE_OBJDIR)
@@ -80,10 +80,10 @@ index aeb2944..f318097 100644
80 80
81 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC) 81 $(OBJDIR)/plvrsion.$(OBJ_SUFFIX): plvrsion.c $(TINC)
82diff --git a/pr/src/Makefile.in b/pr/src/Makefile.in 82diff --git a/pr/src/Makefile.in b/pr/src/Makefile.in
83index 19c5a69..b4ac31c 100644 83index a9e86f5..bbcbb67 100644
84--- a/pr/src/Makefile.in 84--- a/pr/src/Makefile.in
85+++ b/pr/src/Makefile.in 85+++ b/pr/src/Makefile.in
86@@ -326,13 +326,7 @@ GARBAGE += $(TINC) 86@@ -291,13 +291,7 @@ GARBAGE += $(TINC)
87 87
88 $(TINC): 88 $(TINC):
89 @$(MAKE_OBJDIR) 89 @$(MAKE_OBJDIR)
@@ -99,5 +99,5 @@ index 19c5a69..b4ac31c 100644
99 99
100 $(OBJDIR)/prvrsion.$(OBJ_SUFFIX): prvrsion.c $(TINC) 100 $(OBJDIR)/prvrsion.$(OBJ_SUFFIX): prvrsion.c $(TINC)
101-- 101--
1022.7.4 1022.25.1
103 103
diff --git a/meta-oe/recipes-support/nspr/nspr/0001-config-nspr-config.in-don-t-pass-LDFLAGS.patch b/meta-oe/recipes-support/nspr/nspr/0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch
index 6ebc9c4ae6..fa7dbcc474 100644
--- a/meta-oe/recipes-support/nspr/nspr/0001-config-nspr-config.in-don-t-pass-LDFLAGS.patch
+++ b/meta-oe/recipes-support/nspr/nspr/0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch
@@ -1,4 +1,4 @@
1From 13e9d66c24d1dce5179805ae5e1bf940409b4914 Mon Sep 17 00:00:00 2001 1From 88bf2abc07ae56ed1bcc9e915add0b3d9ed66c7b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com> 2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Wed, 10 Aug 2022 15:21:07 +0800 3Date: Wed, 10 Aug 2022 15:21:07 +0800
4Subject: [PATCH] config/nspr-config.in: don't pass LDFLAGS 4Subject: [PATCH] config/nspr-config.in: don't pass LDFLAGS
diff --git a/meta-oe/recipes-support/nspr/nspr_4.35.bb b/meta-oe/recipes-support/nspr/nspr_4.36.bb
index abd750b138..c129362539 100644
--- a/meta-oe/recipes-support/nspr/nspr_4.35.bb
+++ b/meta-oe/recipes-support/nspr/nspr_4.36.bb
@@ -6,13 +6,12 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=6;md5=90c2fdee38e45d
6SECTION = "libs/network" 6SECTION = "libs/network"
7 7
8SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \ 8SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
9 file://remove-rpath-from-tests.patch \ 9 file://0001-remove-rpath-from-tests.patch \
10 file://fix-build-on-x86_64.patch \ 10 file://0002-Fix-build-failure-on-x86_64.patch \
11 file://0002-Add-nios2-support.patch \ 11 file://0003-Add-nios2-support.patch \
12 file://0001-md-Fix-build-with-musl.patch \ 12 file://0004-md-Fix-build-with-musl.patch \
13 file://Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \ 13 file://0005-Makefile.in-remove-_BUILD_STRING-and-_BUILD_TIME.patch \
14 file://0001-config-nspr-config.in-don-t-pass-LDFLAGS.patch \ 14 file://0006-config-nspr-config.in-don-t-pass-LDFLAGS.patch \
15 file://0001-Fix-Wincompatible-function-pointer-types.patch \
16 file://nspr.pc.in \ 15 file://nspr.pc.in \
17 " 16 "
18 17
@@ -24,11 +23,11 @@ CACHED_CONFIGUREVARS:append:libc-musl = " CFLAGS='${CFLAGS} -D_PR_POLL_AVAILABLE
24UPSTREAM_CHECK_URI = "http://ftp.mozilla.org/pub/nspr/releases/" 23UPSTREAM_CHECK_URI = "http://ftp.mozilla.org/pub/nspr/releases/"
25UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)/" 24UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)/"
26 25
27SRC_URI[sha256sum] = "7ea3297ea5969b5d25a5dd8d47f2443cda88e9ee746301f6e1e1426f8a6abc8f" 26SRC_URI[sha256sum] = "55dec317f1401cd2e5dba844d340b930ab7547f818179a4002bce62e6f1c6895"
28 27
29CVE_PRODUCT = "netscape_portable_runtime" 28CVE_PRODUCT = "netscape_portable_runtime"
30 29
31S = "${WORKDIR}/nspr-${PV}/nspr" 30S = "${UNPACKDIR}/nspr-${PV}/nspr"
32 31
33RDEPENDS:${PN}-dev += "perl" 32RDEPENDS:${PN}-dev += "perl"
34TARGET_CC_ARCH += "${LDFLAGS}" 33TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch b/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
index 2385fd3b9d..5733bb068f 100644
--- a/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
+++ b/meta-oe/recipes-support/nss/nss/0001-nss-fix-support-cross-compiling.patch
@@ -1,21 +1,21 @@
1From 46ab1ca6e6fb8e1196e0665a54506dff370f8f2a Mon Sep 17 00:00:00 2001 1From c15470d6b52986a8e41f9be4579c88ed80413b44 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 22 Feb 2017 11:36:11 +0200 3Date: Wed, 22 Feb 2017 11:36:11 +0200
4Subject: [PATCH] nss: fix support cross compiling 4Subject: [PATCH] nss: fix support cross compiling
5 5
6Let some make variables be assigned from outside makefile. 6Let some make variables be assigned from outside makefile.
7 7
8Upstream-Status: Inappropriate [configuration] 8Upstream-Status: Inappropriate [oe specific]
9
9Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11
12--- 12---
13 nss/coreconf/arch.mk | 4 ++-- 13 nss/coreconf/arch.mk | 4 ++--
14 nss/lib/freebl/Makefile | 6 ++++++ 14 nss/lib/freebl/Makefile | 6 ++++++
15 2 files changed, 8 insertions(+), 2 deletions(-) 15 2 files changed, 8 insertions(+), 2 deletions(-)
16 16
17diff --git a/nss/coreconf/arch.mk b/nss/coreconf/arch.mk 17diff --git a/nss/coreconf/arch.mk b/nss/coreconf/arch.mk
18index 17e9fae..bc4180a 100644 18index 711d19d..a163d24 100644
19--- a/nss/coreconf/arch.mk 19--- a/nss/coreconf/arch.mk
20+++ b/nss/coreconf/arch.mk 20+++ b/nss/coreconf/arch.mk
21@@ -26,11 +26,11 @@ OS_ARCH := $(subst /,_,$(shell uname -s)) 21@@ -26,11 +26,11 @@ OS_ARCH := $(subst /,_,$(shell uname -s))
@@ -33,7 +33,7 @@ index 17e9fae..bc4180a 100644
33 33
34 34
35diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile 35diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
36index eeee90a..7ee8736 100644 36index e744314..0ebfc92 100644
37--- a/nss/lib/freebl/Makefile 37--- a/nss/lib/freebl/Makefile
38+++ b/nss/lib/freebl/Makefile 38+++ b/nss/lib/freebl/Makefile
39@@ -36,6 +36,12 @@ ifdef USE_64 39@@ -36,6 +36,12 @@ ifdef USE_64
@@ -49,3 +49,6 @@ index eeee90a..7ee8736 100644
49 ifdef USE_ABI32_FPU 49 ifdef USE_ABI32_FPU
50 DEFINES += -DNSS_USE_ABI32_FPU 50 DEFINES += -DNSS_USE_ABI32_FPU
51 endif 51 endif
52--
532.25.1
54
diff --git a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch b/meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch
index 8c715cc447..19fa5a7261 100644
--- a/meta-oe/recipes-support/nss/nss/nss-no-rpath-for-cross-compiling.patch
+++ b/meta-oe/recipes-support/nss/nss/0002-nss-no-rpath-for-cross-compiling.patch
@@ -1,11 +1,11 @@
1From 73edfbdf33fe4e41724e7e947033d8caeec8f3d0 Mon Sep 17 00:00:00 2001 1From 621023bc696d3d26a4179dbbafb42d79bef1faf9 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss:no rpath for cross compiling 4Subject: [PATCH] nss:no rpath for cross compiling
5 5
6Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 6Upstream-Status: Inappropriate [oe specific]
7Upstream-Status: Inappropriate [configuration]
8 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9--- 9---
10 nss/cmd/platlibs.mk | 4 ++-- 10 nss/cmd/platlibs.mk | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-) 11 1 file changed, 2 insertions(+), 2 deletions(-)
@@ -26,3 +26,6 @@ index 6401778..e5c4e16 100644
26 endif 26 endif
27 endif 27 endif
28 28
29--
302.25.1
31
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch b/meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch
index 735b06b5ca..61b7565739 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-incorrect-shebang-of-perl.patch
+++ b/meta-oe/recipes-support/nss/nss/0003-nss-fix-incorrect-shebang-of-perl.patch
@@ -1,14 +1,14 @@
1From 2ce67b1f4b1f582d556ae058da10698bbaa0edc1 Mon Sep 17 00:00:00 2001 1From 6aec640342088498cb1b0a2e395eb3da297a48b4 Mon Sep 17 00:00:00 2001
2From: Ovidiu Panait <ovidiu.panait@windriver.com> 2From: Ovidiu Panait <ovidiu.panait@windriver.com>
3Date: Mon, 13 Jul 2020 12:12:31 +0300 3Date: Mon, 13 Jul 2020 12:12:31 +0300
4Subject: [PATCH] nss: fix incorrect shebang of perl 4Subject: [PATCH] nss: fix incorrect shebang of perl
5 5
6Replace incorrect shebang of perl with `#!/usr/bin/env perl'. 6Replace incorrect shebang of perl with `#!/usr/bin/env perl'.
7 7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9Upstream-Status: Pending 8Upstream-Status: Pending
10Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
11 9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
12--- 12---
13 nss/cmd/signver/examples/1/form.pl | 2 +- 13 nss/cmd/signver/examples/1/form.pl | 2 +-
14 nss/cmd/signver/examples/1/signedForm.pl | 2 +- 14 nss/cmd/signver/examples/1/signedForm.pl | 2 +-
@@ -89,3 +89,6 @@ index f29f60a..850332a 100755
89 89
90 ######################################################################## 90 ########################################################################
91 # 91 #
92--
932.25.1
94
diff --git a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch b/meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch
index 4c9bea30c0..fa4c5bacbf 100644
--- a/meta-oe/recipes-support/nss/nss/disable-Wvarargs-with-clang.patch
+++ b/meta-oe/recipes-support/nss/nss/0004-nss-disable-Wvarargs-with-clang.patch
@@ -1,7 +1,7 @@
1From f613c9a9107435a40d91329f33f12cfb16927f07 Mon Sep 17 00:00:00 2001 1From 72c3150300975524bb0001b5a731f077852c95ab Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss,nspr: Add recipes 4Subject: [PATCH] nss: disable Wvarargs with clang
5 5
6clang 3.9 add this warning to rightly flag undefined 6clang 3.9 add this warning to rightly flag undefined
7behavior, we relegate this to be just a warning instead 7behavior, we relegate this to be just a warning instead
@@ -20,9 +20,9 @@ see
20https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start 20https://www.securecoding.cert.org/confluence/display/cplusplus/EXP58-CPP.+Pass+an+object+of+the+correct+type+to+va_start
21for more details 21for more details
22 22
23Signed-off-by: Khem Raj <raj.khem@gmail.com>
24Upstream-Status: Pending 23Upstream-Status: Pending
25 24
25Signed-off-by: Khem Raj <raj.khem@gmail.com>
26--- 26---
27 nss/coreconf/Werror.mk | 2 +- 27 nss/coreconf/Werror.mk | 2 +-
28 1 file changed, 1 insertion(+), 1 deletion(-) 28 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -40,3 +40,6 @@ index a569a49..687fe58 100644
40 # -Wno-parentheses-equality : because clang warns about macro expansions 40 # -Wno-parentheses-equality : because clang warns about macro expansions
41 WARNING_CFLAGS += $(call disable_warning,parentheses-equality) 41 WARNING_CFLAGS += $(call disable_warning,parentheses-equality)
42 ifdef BUILD_OPT 42 ifdef BUILD_OPT
43--
442.25.1
45
diff --git a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch b/meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch
index 589b4d5e7f..f12a278ef2 100644
--- a/meta-oe/recipes-support/nss/nss/pqg.c-ULL_addend.patch
+++ b/meta-oe/recipes-support/nss/nss/0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch
@@ -1,22 +1,22 @@
1From cbd367160338847b28fc801a12c74f1c8b5b03ee Mon Sep 17 00:00:00 2001 1From 5935755eef43ac7cb8f4567e7bed5892180f954c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] nss does not build on mips with clang because wrong types are 4Subject: [PATCH] nss: does not build on mips with clang because wrong types
5 used? 5 are used
6 6
7pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] 7pqg.c:339:16: error: comparison of constant 18446744073709551615 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
8 if (addend < MP_DIGIT_MAX) { 8 if (addend < MP_DIGIT_MAX) {
9 ~~~~~~ ^ ~~~~~~~~~~~~ 9 ~~~~~~ ^ ~~~~~~~~~~~~
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12Upstream-Status: Pending 11Upstream-Status: Pending
13 12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14--- 14---
15 nss/lib/freebl/pqg.c | 4 ++-- 15 nss/lib/freebl/pqg.c | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-) 16 1 file changed, 2 insertions(+), 2 deletions(-)
17 17
18diff --git a/nss/lib/freebl/pqg.c b/nss/lib/freebl/pqg.c 18diff --git a/nss/lib/freebl/pqg.c b/nss/lib/freebl/pqg.c
19index 1b03278..ad895b7 100644 19index 62d46b5..8c8665d 100644
20--- a/nss/lib/freebl/pqg.c 20--- a/nss/lib/freebl/pqg.c
21+++ b/nss/lib/freebl/pqg.c 21+++ b/nss/lib/freebl/pqg.c
22@@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_int *H) 22@@ -326,8 +326,8 @@ generate_h_candidate(SECItem *hit, mp_int *H)
@@ -30,3 +30,6 @@ index 1b03278..ad895b7 100644
30 SECItem *seedout) 30 SECItem *seedout)
31 { 31 {
32 mp_int s, sum, modulus, tmp; 32 mp_int s, sum, modulus, tmp;
33--
342.25.1
35
diff --git a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch b/meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch
index a1897f88d8..afe11821af 100644
--- a/meta-oe/recipes-support/nss/nss/nss-fix-nsinstall-build.patch
+++ b/meta-oe/recipes-support/nss/nss/0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch
@@ -1,4 +1,4 @@
1From f9b2b1c738576a17460aebd005f511f427aa1974 Mon Sep 17 00:00:00 2001 1From 895e76e75dbb993a8f445072c190a9db4ee50d15 Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com> 2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Sat, 7 Mar 2020 08:34:02 -0800 3Date: Sat, 7 Mar 2020 08:34:02 -0800
4Subject: [PATCH] Fix nss multilib build on openSUSE 11.x 32bit 4Subject: [PATCH] Fix nss multilib build on openSUSE 11.x 32bit
@@ -15,17 +15,15 @@ on host to install built files, it doesn't need any cross-compling or
15multilib build options. Just clean the ARCHFLAG and LDFLAGS to fix this 15multilib build options. Just clean the ARCHFLAG and LDFLAGS to fix this
16error. 16error.
17 17
18Upstream-Status: Inappropriate [configuration] 18Upstream-Status: Inappropriate [oe specific]
19 19
20Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> 20Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
21===================================================
22
23--- 21---
24 nss/coreconf/nsinstall/Makefile | 7 +++++++ 22 nss/coreconf/nsinstall/Makefile | 7 +++++++
25 1 file changed, 7 insertions(+) 23 1 file changed, 7 insertions(+)
26 24
27diff --git a/nss/coreconf/nsinstall/Makefile b/nss/coreconf/nsinstall/Makefile 25diff --git a/nss/coreconf/nsinstall/Makefile b/nss/coreconf/nsinstall/Makefile
28index 08dfbc2..e97fb5f 100644 26index 337cbeb..dd77fbe 100644
29--- a/nss/coreconf/nsinstall/Makefile 27--- a/nss/coreconf/nsinstall/Makefile
30+++ b/nss/coreconf/nsinstall/Makefile 28+++ b/nss/coreconf/nsinstall/Makefile
31@@ -18,6 +18,13 @@ INTERNAL_TOOLS = 1 29@@ -18,6 +18,13 @@ INTERNAL_TOOLS = 1
@@ -39,6 +37,9 @@ index 08dfbc2..e97fb5f 100644
39+LDFLAGS = 37+LDFLAGS =
40+# CFLAGS = 38+# CFLAGS =
41+ 39+
42 ifeq (,$(filter-out OS2 WIN%,$(OS_TARGET))) 40 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
43 PROGRAM = 41 PROGRAM =
44 TARGETS = 42 TARGETS =
43--
442.25.1
45
diff --git a/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch b/meta-oe/recipes-support/nss/nss/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
index b7f1b01a14..63f822be25 100644
--- a/meta-oe/recipes-support/nss/nss/0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
+++ b/meta-oe/recipes-support/nss/nss/0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch
@@ -1,4 +1,4 @@
1From 7c8f367faf8848a43a414079189e10270d6c0fcc Mon Sep 17 00:00:00 2001 1From 459ee39104228a958a0999e1a7d4c43e4e6fe4f0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 18 Dec 2019 12:29:50 +0100 3Date: Wed, 18 Dec 2019 12:29:50 +0100
4Subject: [PATCH] freebl: add a configure option to disable ARM HW crypto 4Subject: [PATCH] freebl: add a configure option to disable ARM HW crypto
@@ -7,15 +7,15 @@ Not all current hardware supports it, particularly anything
7prior to armv8 does not. 7prior to armv8 does not.
8 8
9Upstream-Status: Pending 9Upstream-Status: Pending
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 10
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12--- 12---
13 nss/lib/freebl/Makefile | 3 +++ 13 nss/lib/freebl/Makefile | 3 +++
14 nss/lib/freebl/gcm.c | 2 ++ 14 nss/lib/freebl/gcm.c | 2 ++
15 2 files changed, 5 insertions(+) 15 2 files changed, 5 insertions(+)
16 16
17diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile 17diff --git a/nss/lib/freebl/Makefile b/nss/lib/freebl/Makefile
18index 7ee8736..f9b4925 100644 18index 0ebfc92..3ee7623 100644
19--- a/nss/lib/freebl/Makefile 19--- a/nss/lib/freebl/Makefile
20+++ b/nss/lib/freebl/Makefile 20+++ b/nss/lib/freebl/Makefile
21@@ -142,6 +142,8 @@ endif 21@@ -142,6 +142,8 @@ endif
@@ -33,10 +33,10 @@ index 7ee8736..f9b4925 100644
33 endif 33 endif
34+endif 34+endif
35 35
36 ifeq (OS2,$(OS_TARGET)) 36 ifeq (,$(filter-out WINNT,$(OS_TARGET)))
37 ASFILES = mpi_x86_os2.s 37 ifndef USE_64
38diff --git a/nss/lib/freebl/gcm.c b/nss/lib/freebl/gcm.c 38diff --git a/nss/lib/freebl/gcm.c b/nss/lib/freebl/gcm.c
39index 2dae724..9ee7fc8 100644 39index a2f63a6..743158e 100644
40--- a/nss/lib/freebl/gcm.c 40--- a/nss/lib/freebl/gcm.c
41+++ b/nss/lib/freebl/gcm.c 41+++ b/nss/lib/freebl/gcm.c
42@@ -18,6 +18,7 @@ 42@@ -18,6 +18,7 @@
@@ -53,5 +53,5 @@ index 2dae724..9ee7fc8 100644
53 #endif 53 #endif
54+#endif 54+#endif
55 55
56 /* Forward declarations */ 56 #if defined(__ARM_NEON) || defined(__ARM_NEON__)
57 SECStatus gcm_HashInit_hw(gcmHashContext *ghash); 57 #include <arm_neon.h>
diff --git a/meta-oe/recipes-support/nss/nss_3.101.bb b/meta-oe/recipes-support/nss/nss_3.112.bb
index 5a01efb7e4..cf0b20d48b 100644
--- a/meta-oe/recipes-support/nss/nss_3.101.bb
+++ b/meta-oe/recipes-support/nss/nss_3.112.bb
@@ -22,21 +22,21 @@ VERSION_DIR = "${@d.getVar('BP').upper().replace('-', '_').replace('.', '_') + '
22 22
23SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/${BP}.tar.gz \ 23SRC_URI = "http://ftp.mozilla.org/pub/security/nss/releases/${VERSION_DIR}/src/${BP}.tar.gz \
24 file://nss.pc.in \ 24 file://nss.pc.in \
25 file://0001-nss-fix-support-cross-compiling.patch \
26 file://nss-no-rpath-for-cross-compiling.patch \
27 file://nss-fix-incorrect-shebang-of-perl.patch \
28 file://disable-Wvarargs-with-clang.patch \
29 file://pqg.c-ULL_addend.patch \
30 file://blank-cert9.db \ 25 file://blank-cert9.db \
31 file://blank-key4.db \ 26 file://blank-key4.db \
32 file://system-pkcs11.txt \ 27 file://system-pkcs11.txt \
33 file://nss-fix-nsinstall-build.patch \ 28 file://0001-nss-fix-support-cross-compiling.patch \
34 file://0001-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \ 29 file://0002-nss-no-rpath-for-cross-compiling.patch \
30 file://0003-nss-fix-incorrect-shebang-of-perl.patch \
31 file://0004-nss-disable-Wvarargs-with-clang.patch \
32 file://0005-nss-does-not-build-on-mips-with-clang-because-wrong-.patch \
33 file://0006-Fix-nss-multilib-build-on-openSUSE-11.x-32bit.patch \
34 file://0007-freebl-add-a-configure-option-to-disable-ARM-HW-cryp.patch \
35 " 35 "
36SRC_URI[sha256sum] = "859748f0b4b7bb51e7e600ae5a88ef4d71f93e6964b1beed2727784dd9ed85e7" 36SRC_URI[sha256sum] = "33ae72d43b275957252adc8639e84229d3ae692a57b6191b059d9456b8568a68"
37 37
38UPSTREAM_CHECK_URI = "https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Releases" 38UPSTREAM_CHECK_URI = "https://ftp.mozilla.org/pub/security/nss/releases/"
39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>.+)_release_notes" 39UPSTREAM_CHECK_REGEX = "NSS_(?P<pver>\d+(\_\d+)+)"
40 40
41inherit siteinfo 41inherit siteinfo
42 42
diff --git a/meta-oe/recipes-support/onig/onig_6.9.9.bb b/meta-oe/recipes-support/onig/onig_6.9.10.bb
index b29437db1e..f285c2ed73 100644
--- a/meta-oe/recipes-support/onig/onig_6.9.9.bb
+++ b/meta-oe/recipes-support/onig/onig_6.9.10.bb
@@ -14,7 +14,10 @@ SRC_URI = "\
14 file://run-ptest \ 14 file://run-ptest \
15" 15"
16 16
17SRC_URI[sha256sum] = "60162bd3b9fc6f4886d4c7a07925ffd374167732f55dce8c491bfd9cd818a6cf" 17SRC_URI[sha256sum] = "2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05"
18
19UPSTREAM_CHECK_URI = "https://github.com/kkos/oniguruma/releases/"
20UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
18 21
19BINCONFIG = "${bindir}/onig-config" 22BINCONFIG = "${bindir}/onig-config"
20 23
diff --git a/meta-oe/recipes-support/opencl/clinfo_3.0.23.01.25.bb b/meta-oe/recipes-support/opencl/clinfo_3.0.23.01.25.bb
index 6cacd3722c..7390d83bcc 100644
--- a/meta-oe/recipes-support/opencl/clinfo_3.0.23.01.25.bb
+++ b/meta-oe/recipes-support/opencl/clinfo_3.0.23.01.25.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/Oblomov/clinfo.git;protocol=https;branch=master"
11 11
12SRCREV = "748c3930a9b9cb826e631d77439e2cb8f84f5bcf" 12SRCREV = "748c3930a9b9cb826e631d77439e2cb8f84f5bcf"
13 13
14S = "${WORKDIR}/git"
15 14
16DEPENDS += "opencl-headers virtual/opencl-icd" 15DEPENDS += "opencl-headers virtual/opencl-icd"
17 16
diff --git a/meta-oe/recipes-support/openct/openct/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch b/meta-oe/recipes-support/openct/openct/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch
new file mode 100644
index 0000000000..73c9d06667
--- /dev/null
+++ b/meta-oe/recipes-support/openct/openct/0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch
@@ -0,0 +1,65 @@
1From c4351058da555e1e6a2b4b15d913baee80f55865 Mon Sep 17 00:00:00 2001
2From: Wang Mingyu <wangmy@fujitsu.com>
3Date: Thu, 27 Jun 2024 06:27:18 +0000
4Subject: Fix incompatible pointer type error with gcc option
5 -Wincompatible-pointer-types
6
7| ../../../openct-0.6.20/src/ifd/ifdhandler.c: In function 'ifdhandler_run':
8| ../../../openct-0.6.20/src/ifd/ifdhandler.c:239:52: error: passing argument 2 of 'ifd_get_eventfd' from incompatible pointer type [-Wincompatible-pointer-types]
9| 239 | sock->fd = ifd_get_eventfd(reader, &sock->events);
10| | ^~~~~~~~~~~~~
11| | |
12| | int *
13| In file included from ../../../openct-0.6.20/src/ifd/internal.h:17,
14| from ../../../openct-0.6.20/src/ifd/ifdhandler.c:7:
15| ../../../openct-0.6.20/src/include/openct/ifd.h:182:65: note: expected 'short int *' but argument is of type 'int *'
16| 182 | extern int ifd_get_eventfd(ifd_reader_t *, short *);
17| | ^~~~~~~
18
19| ../../../openct-0.6.20/src/ifd/process.c: In function 'do_memory_write':
20| ../../../openct-0.6.20/src/ifd/process.c:461:61: error: passing argument 4 of 'ct_tlv_get_opaque' from incompatible pointer type [-Wincompatible-pointer-types]
21| 461 | || !ct_tlv_get_opaque(args, CT_TAG_DATA, &data, &data_len))
22| | ^~~~~~~~~
23| | |
24| | unsigned int *
25| In file included from ../../../openct-0.6.20/src/ifd/process.c:20:
26| ../../../openct-0.6.20/src/include/openct/tlv.h:40:62: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'unsigned int *'
27| 40 | ifd_tag_t, unsigned char **, size_t *);
28
29Upstream-Status: Submitted
30
31Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
32---
33 src/ifd/ifdhandler.c | 2 +-
34 src/ifd/process.c | 2 +-
35 2 files changed, 2 insertions(+), 2 deletions(-)
36
37diff --git a/src/ifd/ifdhandler.c b/src/ifd/ifdhandler.c
38index 12686c9..ebd1b53 100644
39--- a/src/ifd/ifdhandler.c
40+++ b/src/ifd/ifdhandler.c
41@@ -236,7 +236,7 @@ static void ifdhandler_run(ifd_reader_t * reader)
42 sock->fd = -1;
43 }
44 else {
45- sock->fd = ifd_get_eventfd(reader, &sock->events);
46+ sock->fd = ifd_get_eventfd(reader, (short int *)&sock->events);
47 }
48 if (sock->fd == -1) {
49 ifd_debug(1, "events inactive for reader %s", reader->name);
50diff --git a/src/ifd/process.c b/src/ifd/process.c
51index 4563bdf..7088a76 100644
52--- a/src/ifd/process.c
53+++ b/src/ifd/process.c
54@@ -458,7 +458,7 @@ static int do_memory_write(ifd_reader_t * reader, int unit,
55 return IFD_ERROR_INVALID_SLOT;
56
57 if (ct_tlv_get_int(args, CT_TAG_ADDRESS, &address) == 0
58- || !ct_tlv_get_opaque(args, CT_TAG_DATA, &data, &data_len))
59+ || !ct_tlv_get_opaque(args, CT_TAG_DATA, &data, (size_t *)&data_len))
60 return IFD_ERROR_MISSING_ARG;
61
62 rc = ifd_card_write_memory(reader, unit, address, data, data_len);
63--
642.34.1
65
diff --git a/meta-oe/recipes-support/openct/openct_0.6.20.bb b/meta-oe/recipes-support/openct/openct_0.6.20.bb
index e4b99089f5..c7b0d0d56d 100644
--- a/meta-oe/recipes-support/openct/openct_0.6.20.bb
+++ b/meta-oe/recipes-support/openct/openct_0.6.20.bb
@@ -18,11 +18,13 @@ SRC_URI = " \
18 file://openct.init \ 18 file://openct.init \
19 file://openct.sysconfig \ 19 file://openct.sysconfig \
20 file://openct.service \ 20 file://openct.service \
21 file://0001-Fix-incompatible-pointer-type-error-with-gcc-option.patch \
21" 22"
22 23
23SRC_URI[md5sum] = "a1da3358ab798f1cb9232f1dbababc21"
24SRC_URI[sha256sum] = "6cd3e2933d29eb1f875c838ee58b8071fd61f0ec8ed5922a86c01c805d181a68" 24SRC_URI[sha256sum] = "6cd3e2933d29eb1f875c838ee58b8071fd61f0ec8ed5922a86c01c805d181a68"
25 25
26UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/opensc/files/openct/"
27
26LICENSE = "LGPL-2.0-or-later" 28LICENSE = "LGPL-2.0-or-later"
27LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1" 29LIC_FILES_CHKSUM = "file://LGPL-2.1;md5=2d5025d4aa3495befef8f17206a5b0a1"
28 30
@@ -30,7 +32,7 @@ inherit systemd
30SYSTEMD_SERVICE:${PN} += "openct.service " 32SYSTEMD_SERVICE:${PN} += "openct.service "
31SYSTEMD_AUTO_ENABLE = "enable" 33SYSTEMD_AUTO_ENABLE = "enable"
32 34
33EXTRA_OECONF=" \ 35EXTRA_OECONF = " \
34 --disable-static \ 36 --disable-static \
35 --enable-usb \ 37 --enable-usb \
36 --enable-pcsc \ 38 --enable-pcsc \
@@ -82,3 +84,8 @@ do_install () {
82} 84}
83 85
84BBCLASSEXTEND = "native" 86BBCLASSEXTEND = "native"
87
88# http://errors.yoctoproject.org/Errors/Details/766890/
89# openct-0.6.20/src/ifd/ifdhandler.c:239:52: error: passing argument 2 of 'ifd_get_eventfd' from incompatible pointer type [-Wincompatible-pointer-types]
90# openct-0.6.20/src/ifd/process.c:461:61: error: passing argument 4 of 'ct_tlv_get_opaque' from incompatible pointer type [-Wincompatible-pointer-types]
91CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-support/opencv/ade_0.1.2.bb b/meta-oe/recipes-support/opencv/ade_0.1.2.bb
index 93b14ad4f3..b54c28d624 100644
--- a/meta-oe/recipes-support/opencv/ade_0.1.2.bb
+++ b/meta-oe/recipes-support/opencv/ade_0.1.2.bb
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
13 13
14inherit cmake 14inherit cmake
15 15
16S = "${WORKDIR}/git"
17 16
18EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release" 17EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"
19 18
diff --git a/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-FastCV-latest-libs-hash-update.patch b/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-FastCV-latest-libs-hash-update.patch
new file mode 100644
index 0000000000..b35335c35e
--- /dev/null
+++ b/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-FastCV-latest-libs-hash-update.patch
@@ -0,0 +1,50 @@
1From ba6eb8d95292f4631a3b8de09bfaa59e43c17226 Mon Sep 17 00:00:00 2001
2From: adsha-quic <quic_adsha@quicinc.com>
3Date: Wed, 16 Apr 2025 18:54:40 +0530
4Subject: [PATCH] FROMLIST: Merge pull request #27214 from CodeLinaro:fastcv_lib_hash_update
5
6Signed-off-by: Alexander Smorkalov <alexander.smorkalov@opencv.ai>
7Upstream-Status: Submitted [https://github.com/opencv/opencv/pull/27214]
8
9---
10 3rdparty/fastcv/fastcv.cmake | 14 +++++++-------
11 1 file changed, 7 insertions(+), 7 deletions(-)
12
13diff --git a/3rdparty/fastcv/fastcv.cmake b/3rdparty/fastcv/fastcv.cmake
14index 5c81c11300..6fee4ce4ce 100644
15--- a/3rdparty/fastcv/fastcv.cmake
16+++ b/3rdparty/fastcv/fastcv.cmake
17@@ -1,23 +1,23 @@
18 function(download_fastcv root_dir)
19
20 # Commit SHA in the opencv_3rdparty repo
21- set(FASTCV_COMMIT "f4413cc2ab7233fdfc383a4cded402c072677fb0")
22+ set(FASTCV_COMMIT "8d86e68dad8b80b8575a8d3cf401d3ee96c24148")
23
24 # Define actual FastCV versions
25 if(ANDROID)
26 if(AARCH64)
27 message(STATUS "Download FastCV for Android aarch64")
28- set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2024_12_11.tgz")
29- set(FCV_PACKAGE_HASH "9dac41e86597305f846212dae31a4a88")
30+ set(FCV_PACKAGE_NAME "fastcv_android_aarch64_2025_04_08.tgz")
31+ set(FCV_PACKAGE_HASH "e028966a1d1b2f3f0bc5967d316e8b64")
32 else()
33 message(STATUS "Download FastCV for Android armv7")
34- set(FCV_PACKAGE_NAME "fastcv_android_arm32_2024_12_11.tgz")
35- set(FCV_PACKAGE_HASH "fe2d30334180b17e3031eee92aac43b6")
36+ set(FCV_PACKAGE_NAME "fastcv_android_arm32_2025_04_08.tgz")
37+ set(FCV_PACKAGE_HASH "6fc1e812a4b3ef392469d2283e037ffe")
38 endif()
39 elseif(UNIX AND NOT APPLE AND NOT IOS AND NOT XROS)
40 if(AARCH64)
41- set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_02_12.tgz")
42- set(FCV_PACKAGE_HASH "33ac2a59cf3e7d6402eee2e010de1202")
43+ set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_04_08.tgz")
44+ set(FCV_PACKAGE_HASH "062a26639cd2788beee2e0dd8743d680")
45 else()
46 message("FastCV: fastcv lib for 32-bit Linux is not supported for now!")
47 endif()
48--
492.34.1
50
diff --git a/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch b/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch
new file mode 100644
index 0000000000..dd3c9a7a82
--- /dev/null
+++ b/meta-oe/recipes-support/opencv/opencv/0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch
@@ -0,0 +1,87 @@
1From e517347450636012e5f7a65a504e4ac9e1224c50 Mon Sep 17 00:00:00 2001
2From: Alexander Smorkalov <alexander.smorkalov@opencv.ai>
3Date: Thu, 13 Feb 2025 09:17:08 +0300
4Subject: [PATCH] FROMLIST: Switch to static instance of FastCV on Linux.
5
6Signed-off-by: Alexander Smorkalov <alexander.smorkalov@opencv.ai>
7Upstream-Status: Submitted [https://github.com/opencv/opencv/pull/26917]
8---
9 3rdparty/fastcv/fastcv.cmake | 7 ++++---
10 cmake/OpenCVFindLibsPerf.cmake | 21 +++++++++++++++------
11 2 files changed, 19 insertions(+), 9 deletions(-)
12
13diff --git a/3rdparty/fastcv/fastcv.cmake b/3rdparty/fastcv/fastcv.cmake
14index b8172705ca..5c81c11300 100644
15--- a/3rdparty/fastcv/fastcv.cmake
16+++ b/3rdparty/fastcv/fastcv.cmake
17@@ -1,7 +1,7 @@
18 function(download_fastcv root_dir)
19
20 # Commit SHA in the opencv_3rdparty repo
21- set(FASTCV_COMMIT "dc5d58018f3af915a8d209386d2c58c0501c0f2c")
22+ set(FASTCV_COMMIT "f4413cc2ab7233fdfc383a4cded402c072677fb0")
23
24 # Define actual FastCV versions
25 if(ANDROID)
26@@ -16,14 +16,15 @@ function(download_fastcv root_dir)
27 endif()
28 elseif(UNIX AND NOT APPLE AND NOT IOS AND NOT XROS)
29 if(AARCH64)
30- set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2024_12_11.tgz")
31- set(FCV_PACKAGE_HASH "7b33ad833e6f15ab6d4ec64fa3c17acd")
32+ set(FCV_PACKAGE_NAME "fastcv_linux_aarch64_2025_02_12.tgz")
33+ set(FCV_PACKAGE_HASH "33ac2a59cf3e7d6402eee2e010de1202")
34 else()
35 message("FastCV: fastcv lib for 32-bit Linux is not supported for now!")
36 endif()
37 endif(ANDROID)
38
39 # Download Package
40+
41 set(OPENCV_FASTCV_URL "https://raw.githubusercontent.com/opencv/opencv_3rdparty/${FASTCV_COMMIT}/fastcv/")
42
43 ocv_download( FILENAME ${FCV_PACKAGE_NAME}
44diff --git a/cmake/OpenCVFindLibsPerf.cmake b/cmake/OpenCVFindLibsPerf.cmake
45index c2380e6ce5..c5fb628c44 100644
46--- a/cmake/OpenCVFindLibsPerf.cmake
47+++ b/cmake/OpenCVFindLibsPerf.cmake
48@@ -181,7 +181,14 @@ endif(WITH_KLEIDICV)
49 if(WITH_FASTCV)
50 if((EXISTS ${FastCV_INCLUDE_PATH}) AND (EXISTS ${FastCV_LIB_PATH}))
51 message(STATUS "Use external FastCV ${FastCV_INCLUDE_PATH}, ${FastCV_LIB_PATH}")
52- set(HAVE_FASTCV TRUE CACHE BOOL "FastCV status")
53+ find_library(FASTCV_LIBRARY NAMES "fastcv"
54+ PATHS "${FastCV_LIB_PATH}" NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
55+ mark_as_advanced(FASTCV_LIBRARY)
56+ if (FASTCV_LIBRARY)
57+ set(HAVE_FASTCV TRUE CACHE BOOL "FastCV status")
58+ else()
59+ set(HAVE_FASTCV FALSE CACHE BOOL "FastCV status")
60+ endif()
61 else()
62 include("${OpenCV_SOURCE_DIR}/3rdparty/fastcv/fastcv.cmake")
63 set(FCV_ROOT_DIR "${OpenCV_BINARY_DIR}/3rdparty/fastcv")
64@@ -190,13 +197,15 @@ if(WITH_FASTCV)
65 set(FastCV_INCLUDE_PATH "${FCV_ROOT_DIR}/inc" CACHE PATH "FastCV includes directory")
66 set(FastCV_LIB_PATH "${FCV_ROOT_DIR}/libs" CACHE PATH "FastCV library directory")
67 ocv_install_3rdparty_licenses(FastCV "${OpenCV_BINARY_DIR}/3rdparty/fastcv/LICENSE")
68- install(FILES "${FastCV_LIB_PATH}/libfastcvopt.so"
69- DESTINATION "${OPENCV_LIB_INSTALL_PATH}" COMPONENT "bin")
70+ if(ANDROID)
71+ set(FASTCV_LIBRARY "${FastCV_LIB_PATH}/libfastcvopt.so" CACHE PATH "FastCV library")
72+ install(FILES "${FASTCV_LIBRARY}" DESTINATION "${OPENCV_LIB_INSTALL_PATH}" COMPONENT "bin")
73+ else()
74+ set(FASTCV_LIBRARY "${FastCV_LIB_PATH}/libfastcv.a" CACHE PATH "FastCV library")
75+ install(FILES "${FASTCV_LIBRARY}" DESTINATION "${OPENCV_LIB_INSTALL_PATH}" COMPONENT "dev")
76+ endif()
77 else()
78 set(HAVE_FASTCV FALSE CACHE BOOL "FastCV status")
79 endif()
80 endif()
81- if(HAVE_FASTCV)
82- set(FASTCV_LIBRARY "${FastCV_LIB_PATH}/libfastcvopt.so" CACHE PATH "FastCV library")
83- endif()
84 endif(WITH_FASTCV)
85--
862.34.1
87
diff --git a/meta-oe/recipes-support/opencv/opencv/0001-core-fixed-VSX-intrinsics-implementation.patch b/meta-oe/recipes-support/opencv/opencv/0001-core-fixed-VSX-intrinsics-implementation.patch
new file mode 100644
index 0000000000..9fc89e4244
--- /dev/null
+++ b/meta-oe/recipes-support/opencv/opencv/0001-core-fixed-VSX-intrinsics-implementation.patch
@@ -0,0 +1,61 @@
1From 97f3f390661f2fd1168336820b89eb4383ce8528 Mon Sep 17 00:00:00 2001
2From: Maksim Shabunin <maksim.shabunin@gmail.com>
3Date: Fri, 10 Jan 2025 18:34:11 +0300
4Subject: [PATCH] core: fixed VSX intrinsics implementation
5
6Upstream-Status: Backport
7[https://github.com/opencv/opencv/commit/97f3f390661f2fd1168336820b89eb4383ce8528]
8
9Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
10---
11 modules/core/include/opencv2/core/hal/intrin_vsx.hpp | 10 +++++-----
12 1 file changed, 5 insertions(+), 5 deletions(-)
13
14diff --git a/modules/core/include/opencv2/core/hal/intrin_vsx.hpp b/modules/core/include/opencv2/core/hal/intrin_vsx.hpp
15index 2157e1e870..0a0915a22f 100644
16--- a/modules/core/include/opencv2/core/hal/intrin_vsx.hpp
17+++ b/modules/core/include/opencv2/core/hal/intrin_vsx.hpp
18@@ -262,7 +262,7 @@ OPENCV_HAL_IMPL_VSX_EXTRACT_N(v_float64x2, double)
19 inline _Tpvec v_setzero_##suffix() { return _Tpvec(vec_splats((_Tp)0)); } \
20 inline _Tpvec v_setall_##suffix(_Tp v) { return _Tpvec(vec_splats((_Tp)v));} \
21 template <> inline _Tpvec v_setzero_() { return v_setzero_##suffix(); } \
22-template <> inline _Tpvec v_setall_(_Tp v) { return v_setall_##suffix(_Tp v); } \
23+template <> inline _Tpvec v_setall_(_Tp v) { return v_setall_##suffix(v); } \
24 template<typename _Tpvec0> inline _Tpvec v_reinterpret_as_##suffix(const _Tpvec0 &a) \
25 { return _Tpvec((cast)a.val); }
26
27@@ -650,11 +650,11 @@ OPENCV_HAL_IMPL_VSX_SELECT(v_float64x2, vec_bdword2_c)
28 #define OPENCV_HAL_IMPL_VSX_INT_CMP_OP(_Tpvec) \
29 inline _Tpvec v_eq(const _Tpvec& a, const _Tpvec& b) \
30 { return _Tpvec(vec_cmpeq(a.val, b.val)); } \
31-inline _Tpvec V_ne(const _Tpvec& a, const _Tpvec& b) \
32+inline _Tpvec v_ne(const _Tpvec& a, const _Tpvec& b) \
33 { return _Tpvec(vec_cmpne(a.val, b.val)); } \
34 inline _Tpvec v_lt(const _Tpvec& a, const _Tpvec& b) \
35 { return _Tpvec(vec_cmplt(a.val, b.val)); } \
36-inline _Tpvec V_gt(const _Tpvec& a, const _Tpvec& b) \
37+inline _Tpvec v_gt(const _Tpvec& a, const _Tpvec& b) \
38 { return _Tpvec(vec_cmpgt(a.val, b.val)); } \
39 inline _Tpvec v_le(const _Tpvec& a, const _Tpvec& b) \
40 { return _Tpvec(vec_cmple(a.val, b.val)); } \
41@@ -1507,7 +1507,7 @@ inline v_float64x2 v_dotprod_expand(const v_int32x4& a, const v_int32x4& b, cons
42 inline v_int32x4 v_dotprod_fast(const v_int16x8& a, const v_int16x8& b)
43 { return v_dotprod(a, b); }
44 inline v_int32x4 v_dotprod_fast(const v_int16x8& a, const v_int16x8& b, const v_int32x4& c)
45-{ return v_int32x4(vec_msum(a.val, b.val, vec_int4_z)) + c; }
46+{ return v_add(v_int32x4(vec_msum(a.val, b.val, vec_int4_z)), c); }
47 // 32 >> 64
48 inline v_int64x2 v_dotprod_fast(const v_int32x4& a, const v_int32x4& b)
49 { return v_dotprod(a, b); }
50@@ -1518,7 +1518,7 @@ inline v_int64x2 v_dotprod_fast(const v_int32x4& a, const v_int32x4& b, const v_
51 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b)
52 { return v_dotprod_expand(a, b); }
53 inline v_uint32x4 v_dotprod_expand_fast(const v_uint8x16& a, const v_uint8x16& b, const v_uint32x4& c)
54-{ return v_uint32x4(vec_msum(a.val, b.val, vec_uint4_z)) + c; }
55+{ return v_add(v_uint32x4(vec_msum(a.val, b.val, vec_uint4_z)), c); }
56
57 inline v_int32x4 v_dotprod_expand_fast(const v_int8x16& a, const v_int8x16& b)
58 {
59--
602.25.1
61
diff --git a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb b/meta-oe/recipes-support/opencv/opencv_4.11.0.bb
index cf836d3ecf..826eff30ca 100644
--- a/meta-oe/recipes-support/opencv/opencv_4.9.0.bb
+++ b/meta-oe/recipes-support/opencv/opencv_4.11.0.bb
@@ -10,31 +10,35 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
10 10
11DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp" 11DEPENDS = "libtool swig-native bzip2 zlib glib-2.0 libwebp"
12 12
13SRCREV_opencv = "dad8af6b17f8e60d7b95a1203a1b4d22f56574cf" 13SRCREV_opencv = "31b0eeea0b44b370fd0712312df4214d4ae1b158"
14SRCREV_contrib = "c7602a8f74205e44389bd6a4e8d727d32e7e27b4" 14SRCREV_contrib = "0e5254ebf54d2aed6e7eaf6660bf3b797cf50a02"
15SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26" 15SRCREV_boostdesc = "34e4206aef44d50e6bbcd0ab06354b52e7466d26"
16SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d" 16SRCREV_vgg = "fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d"
17SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12" 17SRCREV_face = "8afa57abc8229d611c4937165d20e2a2d9fc5a12"
18SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252" 18SRCREV_wechat-qrcode = "a8b69ccc738421293254aec5ddb38bd523503252"
19SRCREV_fastcv = "8d86e68dad8b80b8575a8d3cf401d3ee96c24148"
19 20
20 21
21SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg" 22SRCREV_FORMAT = "opencv_contrib_ipp_boostdesc_vgg_fastcv"
22SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https \ 23SRC_URI = "git://github.com/opencv/opencv.git;name=opencv;branch=4.x;protocol=https \
23 git://github.com/opencv/opencv_contrib.git;destsuffix=git/contrib;name=contrib;branch=4.x;protocol=https \ 24 git://github.com/opencv/opencv_contrib.git;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/contrib;name=contrib;branch=4.x;protocol=https \
24 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=git/boostdesc;name=boostdesc;protocol=https \ 25 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_boostdesc_20161012;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/boostdesc;name=boostdesc;protocol=https \
25 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=git/vgg;name=vgg;protocol=https \ 26 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_xfeatures2d_vgg_20160317;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/vgg;name=vgg;protocol=https \
26 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=git/face;name=face;protocol=https \ 27 git://github.com/opencv/opencv_3rdparty.git;branch=contrib_face_alignment_20170818;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/face;name=face;protocol=https \
27 git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=git/wechat_qrcode;name=wechat-qrcode;protocol=https \ 28 git://github.com/WeChatCV/opencv_3rdparty.git;branch=wechat_qrcode;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/wechat_qrcode;name=wechat-qrcode;protocol=https \
29 git://github.com/opencv/opencv_3rdparty.git;branch=fastcv/4.x_20250410;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/fastcv;name=fastcv;protocol=https \
28 file://0003-To-fix-errors-as-following.patch \ 30 file://0003-To-fix-errors-as-following.patch \
29 file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \ 31 file://0001-Temporarliy-work-around-deprecated-ffmpeg-RAW-functi.patch \
30 file://0001-Dont-use-isystem.patch \ 32 file://0001-Dont-use-isystem.patch \
31 file://download.patch \ 33 file://download.patch \
32 file://0001-Make-ts-module-external.patch \ 34 file://0001-Make-ts-module-external.patch \
33 file://0008-Do-not-embed-build-directory-in-binaries.patch \ 35 file://0008-Do-not-embed-build-directory-in-binaries.patch \
36 file://0001-core-fixed-VSX-intrinsics-implementation.patch \
37 file://0001-FROMLIST-Switch-to-static-instance-of-FastCV-on-Linux.patch \
38 file://0001-FROMLIST-FastCV-latest-libs-hash-update.patch \
34 " 39 "
35SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib" 40SRC_URI:append:riscv64 = " file://0001-Use-Os-to-compile-tinyxml2.cpp.patch;patchdir=contrib"
36 41
37S = "${WORKDIR}/git"
38 42
39# OpenCV wants to download more files during configure. We download these in 43# OpenCV wants to download more files during configure. We download these in
40# do_fetch and construct a source cache in the format it expects 44# do_fetch and construct a source cache in the format it expects
@@ -60,6 +64,7 @@ do_unpack_extra() {
60 cache data ${S}/face/*.dat 64 cache data ${S}/face/*.dat
61 cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel 65 cache wechat_qrcode ${S}/wechat_qrcode/*.caffemodel
62 cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt 66 cache wechat_qrcode ${S}/wechat_qrcode/*.prototxt
67 cache fastcv ${S}/fastcv/fastcv/*.tgz
63} 68}
64addtask unpack_extra after do_unpack before do_patch 69addtask unpack_extra after do_unpack before do_patch
65 70
@@ -86,7 +91,7 @@ EXTRA_OECMAKE:append:x86 = " -DX86=ON"
86EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1" 91EXTRA_OECMAKE:remove:x86 = " -DENABLE_SSE41=1 -DENABLE_SSE42=1"
87 92
88PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \ 93PACKAGECONFIG ??= "gapi python3 eigen jpeg png tiff v4l libv4l gstreamer samples tbb gphoto2 \
89 ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk", "", d)} \ 94 ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \
90 ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}" 95 ${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "commercial_ffmpeg commercial", "libav", "", d)}"
91 96
92# TBB does not build for powerpc so disable that package config 97# TBB does not build for powerpc so disable that package config
@@ -113,20 +118,21 @@ PACKAGECONFIG[opencl] = "-DWITH_OPENCL=ON,-DWITH_OPENCL=OFF,opencl-headers virtu
113PACKAGECONFIG[openvino] = "-DWITH_OPENVINO=ON,-DWITH_OPENVINO=OFF,openvino-inference-engine,openvino-inference-engine" 118PACKAGECONFIG[openvino] = "-DWITH_OPENVINO=ON,-DWITH_OPENVINO=OFF,openvino-inference-engine,openvino-inference-engine"
114PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native," 119PACKAGECONFIG[oracle-java] = "-DJAVA_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_INCLUDE_PATH2=${ORACLE_JAVA_HOME}/include/linux -DJAVA_AWT_INCLUDE_PATH=${ORACLE_JAVA_HOME}/include -DJAVA_AWT_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/libjawt.so -DJAVA_JVM_LIBRARY=${ORACLE_JAVA_HOME}/lib/amd64/server/libjvm.so,,ant-native oracle-jse-jdk oracle-jse-jdk-native,"
115PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng," 120PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng,"
116PACKAGECONFIG[python3] = "-DPYTHON3_INCLUDE_PATH=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} -DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include,,python3-numpy," 121PACKAGECONFIG[python3] = "-DPYTHON3_INCLUDE_PATH=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} -DPYTHON3_NUMPY_INCLUDE_DIRS:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/_core/include,,python3-numpy,"
117PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,," 122PACKAGECONFIG[samples] = "-DBUILD_EXAMPLES=ON -DINSTALL_PYTHON_EXAMPLES=ON,-DBUILD_EXAMPLES=OFF,,"
118PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb," 123PACKAGECONFIG[tbb] = "-DWITH_TBB=ON,-DWITH_TBB=OFF,tbb,"
119PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF,," 124PACKAGECONFIG[tests] = "-DBUILD_TESTS=ON,-DBUILD_TESTS=OFF,,"
120PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract," 125PACKAGECONFIG[text] = "-DBUILD_opencv_text=ON,-DBUILD_opencv_text=OFF,tesseract,"
121PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff," 126PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff,"
122PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils," 127PACKAGECONFIG[v4l] = "-DWITH_V4L=ON,-DWITH_V4L=OFF,v4l-utils,"
128PACKAGECONFIG[fastcv] = "-DWITH_FASTCV=ON ,-DWITH_FASTCV=OFF,,"
123 129
124inherit pkgconfig cmake setuptools3-base python3native 130inherit pkgconfig cmake setuptools3-base python3native
125 131
126export PYTHON_CSPEC="-I${STAGING_INCDIR}/${PYTHON_DIR}" 132export PYTHON_CSPEC = "-I${STAGING_INCDIR}/${PYTHON_DIR}"
127export ORACLE_JAVA_HOME="${STAGING_DIR_NATIVE}/usr/bin/java" 133export ORACLE_JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/bin/java"
128export JAVA_HOME="${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native" 134export JAVA_HOME = "${STAGING_DIR_NATIVE}/usr/lib/jvm/openjdk-8-native"
129export ANT_DIR="${STAGING_DIR_NATIVE}/usr/share/ant/" 135export ANT_DIR = "${STAGING_DIR_NATIVE}/usr/share/ant/"
130 136
131TARGET_CC_ARCH += "-I${S}/include " 137TARGET_CC_ARCH += "-I${S}/include "
132 138
@@ -207,4 +213,10 @@ do_install:append() {
207 if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then 213 if [ -f ${D}${bindir}/setup_vars_opencv4.sh ]; then
208 rm -rf ${D}${bindir}/setup_vars_opencv4.sh 214 rm -rf ${D}${bindir}/setup_vars_opencv4.sh
209 fi 215 fi
216
217 for fn in arithm.vsx3.cpp convert.vsx3.cpp; do
218 if [ -f ${B}/modules/core/$fn ]; then
219 sed -i -e 's,${S},/usr/src/debug/${PN}/${PV},g' ${B}/modules/core/$fn
220 fi
221 done
210} 222}
diff --git a/meta-oe/recipes-support/openldap/openldap_2.6.7.bb b/meta-oe/recipes-support/openldap/openldap_2.6.10.bb
index c229667d68..9ef4a83584 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.6.7.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.6.10.bb
@@ -4,10 +4,10 @@ HOMEPAGE = "http://www.OpenLDAP.org/license.html"
4# The OpenLDAP Public License - see the HOMEPAGE - defines 4# The OpenLDAP Public License - see the HOMEPAGE - defines
5# the license. www.openldap.org claims this is Open Source 5# the license. www.openldap.org claims this is Open Source
6# (see http://www.openldap.org), the license appears to be 6# (see http://www.openldap.org), the license appears to be
7# basically BSD. opensource.org does not record this license 7# basically BSD. opensource.org has listed this license
8# at present (so it is apparently not OSI certified). 8# since August 2019.
9LICENSE = "OpenLDAP" 9LICENSE = "OLDAP-2.8"
10LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=beceb5ac7100b6430640c61655b25c1f \ 10LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=3a41b4ed95ab4a20f366a8d82536afe4 \
11 file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972 \ 11 file://LICENSE;md5=153d07ef052c4a37a8fac23bc6031972 \
12 " 12 "
13SECTION = "libs" 13SECTION = "libs"
@@ -21,7 +21,7 @@ SRC_URI = "http://www.openldap.org/software/download/OpenLDAP/openldap-release/$
21 file://0001-build-top.mk-unset-STRIP_OPTS.patch \ 21 file://0001-build-top.mk-unset-STRIP_OPTS.patch \
22" 22"
23 23
24SRC_URI[sha256sum] = "cd775f625c944ed78a3da18a03b03b08eea73c8aabc97b41bb336e9a10954930" 24SRC_URI[sha256sum] = "c065f04aad42737aebd60b2fe4939704ac844266bc0aeaa1609f0cad987be516"
25 25
26DEPENDS = "util-linux groff-native" 26DEPENDS = "util-linux groff-native"
27 27
diff --git a/meta-oe/recipes-support/opensc/opensc_0.25.1.bb b/meta-oe/recipes-support/opensc/opensc_0.26.1.bb
index 19fb78092e..78258c965a 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.25.1.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.26.1.bb
@@ -5,24 +5,24 @@ functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\
5keys on the smart card is possible with PKCS\ 5keys on the smart card is possible with PKCS\
6such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ 6such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\
7eID cards have also been confirmed to work." 7eID cards have also been confirmed to work."
8
9HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki" 8HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki"
10SECTION = "System Environment/Libraries" 9SECTION = "System Environment/Libraries"
11LICENSE = "LGPL-2.0-or-later" 10LICENSE = "LGPL-2.1-or-later"
12LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" 11LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7"
12DEPENDS = "openssl"
13
14SRCREV = "043343d2df7b09d1938bc3dc313d86a96be457cc"
15SRC_URI = "git://github.com/OpenSC/OpenSC;branch=0.26.1;protocol=https"
16
17CVE_STATUS[CVE-2024-8443] = "fixed-version: this is fixed since 0.26.0"
13 18
14#v0.21.0
15SRCREV = "0a4b772d6fdab9bfaaa3123775a48a7cb6c5e7c6"
16SRC_URI = "git://github.com/OpenSC/OpenSC;branch=stable-0.25;protocol=https"
17DEPENDS = "virtual/libiconv openssl"
18 19
19S = "${WORKDIR}/git"
20inherit autotools pkgconfig bash-completion 20inherit autotools pkgconfig bash-completion
21 21
22EXTRA_OECONF = " \ 22EXTRA_OECONF = " \
23 --disable-static \
24 --disable-ctapi \ 23 --disable-ctapi \
25 --disable-doc \ 24 --disable-doc \
25 --disable-static \
26 --disable-strict \ 26 --disable-strict \
27" 27"
28EXTRA_OEMAKE = "DESTDIR=${D}" 28EXTRA_OEMAKE = "DESTDIR=${D}"
@@ -31,12 +31,10 @@ PACKAGECONFIG ??= "pcsc"
31 31
32PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" 32PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct"
33PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" 33PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib"
34 34PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline"
35RDEPENDS:${PN} = "readline"
36 35
37FILES:${PN} += "\ 36FILES:${PN} += "\
38 ${libdir}/opensc-pkcs11.so \ 37 ${libdir}/opensc-pkcs11.so \
39 ${libdir}/onepin-opensc-pkcs11.so \
40 ${libdir}/pkcs11-spy.so \ 38 ${libdir}/pkcs11-spy.so \
41" 39"
42FILES:${PN}-dev += "\ 40FILES:${PN}-dev += "\
diff --git a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
index 1c5a18e863..02815ec7ba 100644
--- a/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
+++ b/meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb
@@ -8,10 +8,9 @@ DEPENDS = "expat"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/libwbxml/libwbxml-${PV}.tar.gz" 9SRC_URI = "${SOURCEFORGE_MIRROR}/libwbxml/libwbxml-${PV}.tar.gz"
10 10
11SRC_URI[md5sum] = "f5031e9f730ffd9dc6a2d1ded585e1d1"
12SRC_URI[sha256sum] = "a057daa098f12838eb4e635bb28413027f1b73819872c3fbf64e3207790a3f7d" 11SRC_URI[sha256sum] = "a057daa098f12838eb4e635bb28413027f1b73819872c3fbf64e3207790a3f7d"
13 12
14S = "${WORKDIR}/libwbxml-${PV}" 13S = "${UNPACKDIR}/libwbxml-${PV}"
15 14
16inherit cmake pkgconfig 15inherit cmake pkgconfig
17 16
diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb
deleted file mode 100644
index 88033e58cc..0000000000
--- a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Open Telemetry Library"
2DESCRIPTION = "An Observability framework to create and manage telemetry data \
3such as traces, metrics, and logs."
4HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp"
5SECTION = "libs"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
8
9DEPENDS = "nlohmann-json"
10
11SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;"
12SRCREV = "054b0dc207c1f58e290d78cdaac5f314bc328b31"
13
14S = "${WORKDIR}/git"
15inherit cmake pkgconfig lib_package
16
17PACKAGECONFIG ?= "opentelemety_install otlp_api"
18
19PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF"
20PACKAGECONFIG[build_package]="-DBUILD_PACKAGE=ON,-DBUILD_PACKAGE=OFF"
21PACKAGECONFIG[otlp_api]="-DWITH_OTLP_API=ON,-DWITH_OTLP_API=OFF"
22PACKAGECONFIG[otlp_grpc]="-DWITH_OTLP_GRPC=ON,-DWITH_OTLP_GRPC=OFF"
23PACKAGECONFIG[otlp_http]="-DWITH_OTLP_HTTP=ON,-DWITH_OTLP_HTTP=OFF"
24PACKAGECONFIG[otlp_prometheus]="-DWITH_PROMETHEUS=ON,-DWITH_PROMETHEUS=OFF"
25PACKAGECONFIG[benchmark]="-DWITH_BENCHMARK=ON,-DWITH_BENCHMARK=OFF"
26PACKAGECONFIG[testing]="-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF"
diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.20.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.20.0.bb
new file mode 100644
index 0000000000..eb108c177c
--- /dev/null
+++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.20.0.bb
@@ -0,0 +1,30 @@
1SUMMARY = "Open Telemetry Library"
2DESCRIPTION = "An Observability framework to create and manage telemetry data \
3such as traces, metrics, and logs."
4HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp"
5SECTION = "libs"
6LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
8
9DEPENDS = "nlohmann-json"
10SRC_URI = "gitsm://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;tag=v${PV}"
11SRCREV = "6175aa0b213eea053247e43b4f35b8d201fa356e"
12
13inherit cmake pkgconfig lib_package
14
15LDFLAGS:append:riscv32 = " -latomic"
16
17EXTRA_OECMAKE:append = " -DPROTOBUF_PROTOC_EXECUTABLE=${RECIPE_SYSROOT_NATIVE}${bindir}/protoc \
18 -DOTELCPP_VERSIONED_LIBS=ON \
19 -DBUILD_SHARED_LIBS=ON "
20
21PACKAGECONFIG ?= "opentelemetry_install otlp_api"
22
23PACKAGECONFIG[opentelemetry_install] = "-DOPENTELEMETRY_INSTALL=ON, -DOPENTELEMETRY_INSTALL=OFF"
24PACKAGECONFIG[otlp_api] = "-DWITH_OTLP_API=ON, -DWITH_OTLP_API=OFF"
25PACKAGECONFIG[otlp_grpc] = "-DWITH_OTLP_GRPC=ON -DWITH_ABSEIL=ON, -DWITH_OTLP_GRPC=OFF, grpc grpc-native protobuf-native"
26PACKAGECONFIG[otlp_http] = "-DWITH_OTLP_HTTP=ON -DWITH_ABSEIL=ON, -DWITH_OTLP_HTTP=OFF, protobuf protobuf-native curl"
27PACKAGECONFIG[otlp_prometheus] = "-DWITH_PROMETHEUS=ON -DUSE_THIRDPARTY_LIBRARIES=OFF, \
28 -DWITH_PROMETHEUS=OFF, civetweb curl"
29PACKAGECONFIG[benchmark] = "-DWITH_BENCHMARK=ON, -DWITH_BENCHMARK=OFF"
30PACKAGECONFIG[testing] = "-DBUILD_TESTING=ON, -DBUILD_TESTING=OFF, gtest"
diff --git a/meta-oe/recipes-support/p910nd/p910nd_0.97.bb b/meta-oe/recipes-support/p910nd/p910nd_0.97.bb
index c6a3079ea2..0b5740c161 100644
--- a/meta-oe/recipes-support/p910nd/p910nd_0.97.bb
+++ b/meta-oe/recipes-support/p910nd/p910nd_0.97.bb
@@ -10,7 +10,6 @@ SRCREV = "57ebc07ad8723ea4106090536c58c7f7160743e2"
10SRC_URI = "git://github.com/kenyapcomau/p910nd;protocol=https;branch=master \ 10SRC_URI = "git://github.com/kenyapcomau/p910nd;protocol=https;branch=master \
11 file://fix-var-lock.patch" 11 file://fix-var-lock.patch"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit update-rc.d 14inherit update-rc.d
16 15
diff --git a/meta-oe/recipes-support/pcp/pcp-native_6.0.5.bb b/meta-oe/recipes-support/pcp/pcp-native_6.3.7.bb
index 2f37b099b4..806ef668e2 100644
--- a/meta-oe/recipes-support/pcp/pcp-native_6.0.5.bb
+++ b/meta-oe/recipes-support/pcp/pcp-native_6.3.7.bb
@@ -44,5 +44,6 @@ do_install () {
44 PCP_LIBADM_DIR=${D}/${libdir} \ 44 PCP_LIBADM_DIR=${D}/${libdir} \
45 PCP_LIB_DIR=${D}/${libdir} \ 45 PCP_LIB_DIR=${D}/${libdir} \
46 PCP_MAN_DIR=${D}/${mandir} \ 46 PCP_MAN_DIR=${D}/${mandir} \
47 PCP_DOC_DIR=${D}/${docdir} 47 PCP_DOC_DIR=${D}/${docdir} \
48 PCP_SYSTEMDUNIT_DIR=${D}${systemd_system_unitdir}
48} 49}
diff --git a/meta-oe/recipes-support/pcp/pcp.inc b/meta-oe/recipes-support/pcp/pcp.inc
index 4cafa7234b..c54c054cf8 100644
--- a/meta-oe/recipes-support/pcp/pcp.inc
+++ b/meta-oe/recipes-support/pcp/pcp.inc
@@ -7,12 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=37ab75b580d5aad4ada04260efa3702f \
7 " 7 "
8COMPATIBLE_HOST:libc-musl = "null" 8COMPATIBLE_HOST:libc-musl = "null"
9 9
10SRC_URI = "https://performancecopilot.jfrog.io/artifactory/pcp-source-release/${BP}.src.tar.gz \ 10SRC_URI = "git://github.com/performancecopilot/pcp;branch=stable;protocol=https \
11 file://0001-configure-Limit-the-header-search-to-sysroot.patch \ 11 file://0001-configure-Limit-the-header-search-to-sysroot.patch \
12 file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \ 12 file://0001-htop-Change-dependency-order-of-header-and-sourcefil.patch \
13 file://config.linux \ 13 file://config.linux \
14 " 14 "
15SRC_URI[sha256sum] = "dacf92ba195f1f2ea8f40bf0c455d2cd2456273a1e30dcc3ee5b5bfd099a99ee" 15
16SRCREV = "d8d97b79ee47d9dfb076a3242564ed3cae04eba9"
17
16 18
17inherit setuptools3-base pkgconfig autotools-brokensep 19inherit setuptools3-base pkgconfig autotools-brokensep
18 20
@@ -36,5 +38,3 @@ EXTRA_OECONF:append = "\
36PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d" 38PACKAGECONFIG[qt5] = "--with-qt=yes --with-qt3d=yes,--with-qt=no --with-qt3d=no,qtbase qt3d"
37 39
38PACKAGECONFIG ?= "" 40PACKAGECONFIG ?= ""
39
40PARALLEL_MAKE = ""
diff --git a/meta-oe/recipes-support/pcp/pcp/0001-bind2-Use-pmcpp-from-native-builds.patch b/meta-oe/recipes-support/pcp/pcp/0001-bind2-Use-pmcpp-from-native-builds.patch
new file mode 100644
index 0000000000..32b9252542
--- /dev/null
+++ b/meta-oe/recipes-support/pcp/pcp/0001-bind2-Use-pmcpp-from-native-builds.patch
@@ -0,0 +1,30 @@
1From 4c79ea13b8456155e1acd6a53a2586b6c2c32e05 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 3 May 2025 14:27:30 -0700
4Subject: [PATCH] bind2: Use pmcpp from native builds
5
6This is needed for cross compiling. Fixes
7| ./mk.rewrite
8| ./mk.rewrite: line 41: ../../pmcpp/pmcpp.static: No such file or directory
9| Error: pmcpp failed
10| make[3]: *** [GNUmakefile:54: rewrite.conf] Error 1
11
12Upstream-Status: Inappropriate [Cross-compiling specific]
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 src/pmdas/bind2/mk.rewrite | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/src/pmdas/bind2/mk.rewrite b/src/pmdas/bind2/mk.rewrite
19index 36e8dc1e61..142a75a824 100755
20--- a/src/pmdas/bind2/mk.rewrite
21+++ b/src/pmdas/bind2/mk.rewrite
22@@ -38,7 +38,7 @@ inlist == 1 { print }' \
23 -e 's/[ ][ ]*\([0-9][0-9]*\)/ { pmid -> BIND2.0.\1 }/' \
24 ) >$tmp.tmp
25
26-if PCP_CONF=../../include/pcp.conf ../../pmcpp/pmcpp.static -P <$tmp.tmp >>rewrite.conf
27+if PCP_CONF=../../include/pcp.conf pmcpp -P <$tmp.tmp >>rewrite.conf
28 then
29 :
30 else
diff --git a/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch b/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch
index 009dfe2d04..2915d48f04 100644
--- a/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch
+++ b/meta-oe/recipes-support/pcp/pcp/0001-htop-Change-dependency-order-of-header-and-sourcefil.patch
@@ -16,14 +16,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
16 src/pcp/htop/GNUmakefile | 4 ++-- 16 src/pcp/htop/GNUmakefile | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-) 17 1 file changed, 2 insertions(+), 2 deletions(-)
18 18
19diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile
20index 6b7c0c5..5153c63 100644
21--- a/src/pcp/htop/GNUmakefile 19--- a/src/pcp/htop/GNUmakefile
22+++ b/src/pcp/htop/GNUmakefile 20+++ b/src/pcp/htop/GNUmakefile
23@@ -186,8 +186,8 @@ CFGMETERS = $(patsubst %,pcp/meters/%,$(METERS)) 21@@ -210,8 +210,8 @@ CFGCOLUMNS = $(patsubst %,pcp/columns/%,
24 CFGCOLUMNS = $(patsubst %,pcp/columns/%,$(COLUMNS)) 22 CFGSCREENS = $(patsubst %,pcp/screens/%,$(SCREENS))
25 23
26 CFGXFILES = $(CFGMETERS) $(CFGCOLUMNS) 24 CFGXFILES = $(CFGMETERS) $(CFGCOLUMNS) $(CFGSCREENS)
27-TOPXFILES = $(TOPCFILES) $(TOPHFILES) $(DOCFILES) 25-TOPXFILES = $(TOPCFILES) $(TOPHFILES) $(DOCFILES)
28-SUBXFILES = $(SUBCFILES) $(SUBHFILES) 26-SUBXFILES = $(SUBCFILES) $(SUBHFILES)
29+TOPXFILES = $(TOPHFILES) $(TOPCFILES) $(DOCFILES) 27+TOPXFILES = $(TOPHFILES) $(TOPCFILES) $(DOCFILES)
@@ -31,6 +29,3 @@ index 6b7c0c5..5153c63 100644
31 CFILES = $(TOPCFILES) $(SUBCFILES) 29 CFILES = $(TOPCFILES) $(SUBCFILES)
32 HFILES = $(TOPHFILES) $(SUBHFILES) 30 HFILES = $(TOPHFILES) $(SUBHFILES)
33 LDIRT = $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) \ 31 LDIRT = $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) \
34--
352.41.0
36
diff --git a/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch b/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch
new file mode 100644
index 0000000000..2c3cf696ed
--- /dev/null
+++ b/meta-oe/recipes-support/pcp/pcp/0001-pcp-htop-fix-header-build-race-condition.patch
@@ -0,0 +1,33 @@
1From d04ea418c5fcfec2f6fbb2dd9f982ddf12c5be87 Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Tue, 3 Jun 2025 10:02:58 +0200
4Subject: [PATCH] pcp-htop: fix header build race condition
5
6.c and .h files are soft-linked before being compiled. Under heavy load
7or a build with a high CPU count, the compilation can start before
8header files are softlinked, resulting in a build error:
9| pcp-htop.c:13:10: fatal error: CommandLine.h: No such file or directory
10| 13 | #include "CommandLine.h"
11| | ^~~~~~~~~~~~~~~
12
13Fix this by adding the make dependency between object files and the
14headers.
15
16Upstream-Status: Backport [https://github.com/performancecopilot/pcp/commit/0ca303467ce382127cd9676e288bf7690a93f084]
17Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
18---
19 src/pcp/htop/GNUmakefile | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/src/pcp/htop/GNUmakefile b/src/pcp/htop/GNUmakefile
23index 3e29638d6..898f0b766 100644
24--- a/src/pcp/htop/GNUmakefile
25+++ b/src/pcp/htop/GNUmakefile
26@@ -224,6 +224,7 @@ default: build-me
27 include $(BUILDRULES)
28
29 ifeq "$(HAVE_NCURSESW)" "true"
30+$(OBJECTS): $(HFILES)
31 build-me: $(TOPXFILES) $(SUBXFILES) $(CFGXFILES) $(CMDTARGET) $(DISTLINKS) $(MAN_PAGES)
32
33 install: default
diff --git a/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch b/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch
index 9cb649a594..7bc045949b 100644
--- a/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch
+++ b/meta-oe/recipes-support/pcp/pcp/fix_parallel_make.patch
@@ -1,13 +1,113 @@
1Upstream-Status: Pending 1From 92add24ccfc7e643349a1c091957595ce25a9915 Mon Sep 17 00:00:00 2001
2From: Yoann Congal <yoann.congal@smile.fr>
3Date: Tue, 27 May 2025 08:45:36 +0200
4Subject: [PATCH] QA: cleanup localconfig.h build dependencies
2 5
6Some QA binaries include localconfig.h but there is no explicit dependencies
7between the binary build and the localconfig.h generation.
8On heavily loaded systems, this can result in the binary being built
9before localconf.h and a compilation error, e.g:
10| username.c:8:10: fatal error: localconfig.h: No such file or directory
11| 8 | #include "localconfig.h"
12| | ^~~~~~~~~~~~~~~
13| compilation terminated.
14
15This can be reproduced by adding "sleep 30" at the start of the
16localconfig.h generation rule.
17
18Fix this by adding the missing Makefile rule dependency between the
19binary (or its pre-link .o) and localconfig.h.
20
21Also remove an un-needed scale.o->localconfig.h dependency.
22
23Upstream-Status: Backport [https://github.com/performancecopilot/pcp/commit/8de7bbb06703f224b72fe0994acde3189b742fd2]
24Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
25---
26 qa/src/GNUlocaldefs | 22 +++++++++++-----------
27 1 file changed, 11 insertions(+), 11 deletions(-)
28
29diff --git a/qa/src/GNUlocaldefs b/qa/src/GNUlocaldefs
30index f83826068..e47fbfd72 100644
3--- a/qa/src/GNUlocaldefs 31--- a/qa/src/GNUlocaldefs
4+++ b/qa/src/GNUlocaldefs 32+++ b/qa/src/GNUlocaldefs
5@@ -728,7 +728,7 @@ scale.o: localconfig.h 33@@ -299,7 +299,7 @@ diowr: diowr.c
34 rm -f $@
35 $(CCF) $(CDEFS) -o $@ diowr.c
36
37-endian: endian.c
38+endian: endian.c localconfig.h
39 rm -f $@
40 $(CCF) $(CDEFS) -o $@ endian.c
41
42@@ -331,15 +331,15 @@ exercise: exercise.c
43 rm -f $@
44 $(CCF) $(CDEFS) -o $@ exercise.c $(LDLIBS)
45
46-chkacc1: chkacc1.c
47+chkacc1: chkacc1.c localconfig.h
48 rm -f $@
49 $(CCF) $(CDEFS) -o $@ chkacc1.c $(LDLIBS)
50
51-chkacc2: chkacc2.c
52+chkacc2: chkacc2.c localconfig.h
53 rm -f $@
54 $(CCF) $(CDEFS) -o $@ chkacc2.c $(LDLIBS)
55
56-chkacc3: chkacc3.c
57+chkacc3: chkacc3.c localconfig.h
58 rm -f $@
59 $(CCF) $(CDEFS) -o $@ chkacc3.c $(LDLIBS)
60
61@@ -489,7 +489,7 @@ pmdashutdown: pmdashutdown.c
62 rm -f $@
63 $(CCF) $(CDEFS) -o $@ $@.c $(LDLIBS) -lpcp_pmda
64
65-dumb_pmda: dumb_pmda.c
66+dumb_pmda: dumb_pmda.c localconfig.h
67 $(CCF) $(LCDEFS) $(LCOPTS) -o $@ $@.c $(LDLIBS) -lpcp_pmda
68
69 pmdacache: pmdacache.c
70@@ -633,7 +633,7 @@ else
71 $(CCF) $(CDEFS) -o $@ $@.c $(LIB_FOR_PTHREADS) $(LDLIBS)
72 endif
73
74-multithread2: multithread2.c
75+multithread2: multithread2.c localconfig.h
76 rm -f $@
77 $(CCF) $(CDEFS) -o $@ $@.c $(LIB_FOR_PTHREADS) $(LDLIBS)
78
79@@ -786,7 +786,6 @@ $(NVIDIAQALIB): nvidia-ml.o
80 endif
81
82 arch_maxfd.o: localconfig.h
83-scale.o: localconfig.h
84
6 779246.o: libpcp.h 85 779246.o: libpcp.h
7 aggrstore.o: libpcp.h 86 aggrstore.o: libpcp.h
8 badmmv.o: libpcp.h 87@@ -847,14 +846,14 @@ multithread14.o: libpcp.h
9-chkacc1.o: libpcp.h 88 nameall.o: libpcp.h
10+chkacc1.o: libpcp.h localconfig.h 89 parsehostattrs.o: libpcp.h
11 chkacc2.o: libpcp.h 90 parsehostspec.o: libpcp.h
12 chkacc3.o: libpcp.h 91-pdubufbounds.o: libpcp.h
13 chkacc4.o: libpcp.h 92-pducheck.o: libpcp.h
93+pdubufbounds.o: libpcp.h localconfig.h
94+pducheck.o: libpcp.h localconfig.h
95 pducrash.o: libpcp.h
96-pdu-server.o: libpcp.h
97+pdu-server.o: libpcp.h localconfig.h
98 pmcdgone.o: libpcp.h
99 pmlcmacro.o: libpcp.h
100 pmnsinarchives.o: libpcp.h
101-pmnsunload.o: libpcp.h
102+pmnsunload.o: libpcp.h localconfig.h
103 proc_test.o: libpcp.h
104 qa_libpcp_compat.o: libpcp.h
105 qa_timezone.o: libpcp.h
106@@ -874,6 +873,7 @@ torture_pmns.o: libpcp.h
107 tztest.o: libpcp.h
108 unpack.o: libpcp.h
109 unpickargs.o: libpcp.h
110+username.o: localconfig.h
111 xarch.o: libpcp.h
112 xlog.o: libpcp.h
113 xmktime.o: libpcp.h
diff --git a/meta-oe/recipes-support/pcp/pcp_6.0.5.bb b/meta-oe/recipes-support/pcp/pcp_6.3.7.bb
index 10545b65ea..65efac06be 100644
--- a/meta-oe/recipes-support/pcp/pcp_6.0.5.bb
+++ b/meta-oe/recipes-support/pcp/pcp_6.3.7.bb
@@ -13,12 +13,17 @@ DEPENDS += "perl-native bison-native flex-native python3-native python3-setuptoo
13SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \ 13SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
14 file://pass-options-to-AR.patch \ 14 file://pass-options-to-AR.patch \
15 file://fix_parallel_make.patch \ 15 file://fix_parallel_make.patch \
16 file://0001-bind2-Use-pmcpp-from-native-builds.patch \
17 file://0001-pcp-htop-fix-header-build-race-condition.patch \
16 " 18 "
17 19
18export PCP_DIR="${RECIPE_SYSROOT_NATIVE}" 20export PCP_DIR = "${RECIPE_SYSROOT_NATIVE}"
19#export PCP_RUN_DIR="${RECIPE_SYSROOT_NATIVE}" 21#export PCP_RUN_DIR = "${RECIPE_SYSROOT_NATIVE}"
20EXTRA_OEMAKE = "CC="${CC}" LD="${LD}"" 22EXTRA_OEMAKE = '\
21inherit useradd systemd features_check python3targetconfig 23 CC="${CC}" LD="${LD}" CROSS_COMPILING="yes" \
24 PCP_SYSTEMDUNIT_DIR=${systemd_system_unitdir} \
25'
26inherit useradd systemd features_check python3targetconfig gtk-icon-cache
22 27
23# Needs libx11 28# Needs libx11
24REQUIRED_DISTRO_FEATURES = "x11" 29REQUIRED_DISTRO_FEATURES = "x11"
@@ -48,6 +53,7 @@ USERADD_PARAM:${PN}-testsuite = "--system --home ${localstatedir}/lib/pcp/testsu
48 --user-group pcpqa" 53 --user-group pcpqa"
49 54
50RDEPENDS:${PN} += "perl" 55RDEPENDS:${PN} += "perl"
56RDEPENDS:${PN}-xsos += "${PN} bash"
51RDEPENDS:${PN}-testsuite += "${PN} bash perl" 57RDEPENDS:${PN}-testsuite += "${PN} bash perl"
52RDEPENDS:python3-${PN} += "${PN} python3" 58RDEPENDS:python3-${PN} += "${PN} python3"
53 59
@@ -69,6 +75,7 @@ do_compile:prepend() {
69 ${S}/src/include/builddefs 75 ${S}/src/include/builddefs
70 sed -i -e "s,TOPDIR)/python3-pcp.list,TOPDIR)/python3-pcp.list --install-lib=${PYTHON_SITEPACKAGES_DIR},g" ${S}/src/python/GNUmakefile 76 sed -i -e "s,TOPDIR)/python3-pcp.list,TOPDIR)/python3-pcp.list --install-lib=${PYTHON_SITEPACKAGES_DIR},g" ${S}/src/python/GNUmakefile
71 export PYTHON=python3 77 export PYTHON=python3
78 export PATH=${PATH}:${RECIPE_SYSROOT_NATIVE}${libexecdir}/pcp/bin
72 #export PYTHON3=${STAGING_BINDIR_NATIVE}/python3-native/python3 79 #export PYTHON3=${STAGING_BINDIR_NATIVE}/python3-native/python3
73} 80}
74 81
@@ -85,17 +92,18 @@ do_install () {
85 rm -rf ${D}${localstatedir}/lib/pcp/pmcd 92 rm -rf ${D}${localstatedir}/lib/pcp/pmcd
86 rm -rf ${D}${localstatedir}/lib/pcp/tmp 93 rm -rf ${D}${localstatedir}/lib/pcp/tmp
87 rm -rf ${D}${localstatedir}/run 94 rm -rf ${D}${localstatedir}/run
88 mv ${D}${docdir}/C* ${D}${docdir}/pcp-doc/
89 mv ${D}${docdir}/I* ${D}${docdir}/pcp-doc/
90 mv ${D}${docdir}/R* ${D}${docdir}/pcp-doc/
91 mv ${D}${docdir}/V* ${D}${docdir}/pcp-doc/
92 sed -i "s#PCP_AWK_PROG=.*#PCP_AWK_PROG=awk#" ${D}/${sysconfdir}/pcp.conf 95 sed -i "s#PCP_AWK_PROG=.*#PCP_AWK_PROG=awk#" ${D}/${sysconfdir}/pcp.conf
93 sed -i "s#PCP_SORT_PROG=.*#PCP_SORT_PROG=sort#" ${D}/${sysconfdir}/pcp.conf 96 sed -i "s#PCP_SORT_PROG=.*#PCP_SORT_PROG=sort#" ${D}/${sysconfdir}/pcp.conf
94 sed -i "s#PCP_ECHO_PROG=.*#PCP_ECHO_PROG=echo#" ${D}/${sysconfdir}/pcp.conf 97 sed -i "s#PCP_ECHO_PROG=.*#PCP_ECHO_PROG=echo#" ${D}/${sysconfdir}/pcp.conf
95 sed -i "s#PCP_WHICH_PROG=.*#PCP_WHICH_PROG=which#" ${D}/${sysconfdir}/pcp.conf 98 sed -i "s#PCP_WHICH_PROG=.*#PCP_WHICH_PROG=which#" ${D}/${sysconfdir}/pcp.conf
99 sed -i -e 's#${RECIPE_SYSROOT}##g' ${D}/${sysconfdir}/pcp.conf
100 sed -i -e 's#${RECIPE_SYSROOT}##g' \
101 -e 's#${RECIPE_SYSROOT_NATIVE}##g' \
102 -e 's#${TMPDIR}##g' ${D}${includedir}/pcp/builddefs
96} 103}
97 104
98PACKAGES += " ${PN}-export-zabbix-agent ${PN}-testsuite \ 105PACKAGE_BEFORE_PN = "${PN}-xsos"
106PACKAGES =+ " ${PN}-export-zabbix-agent ${PN}-testsuite \
99 libpcp-gui2 libpcp-gui2-dev \ 107 libpcp-gui2 libpcp-gui2-dev \
100 libpcp-import1 libpcp-archive1 \ 108 libpcp-import1 libpcp-archive1 \
101 libpcp-mmv1 libpcp-mmv1-dev \ 109 libpcp-mmv1 libpcp-mmv1-dev \
@@ -105,7 +113,7 @@ PACKAGES += " ${PN}-export-zabbix-agent ${PN}-testsuite \
105 libpcp3 libpcp3-dev python3-${PN}\ 113 libpcp3 libpcp3-dev python3-${PN}\
106" 114"
107FILES:libpcp-gui2 = "${libdir}/libpcp_gui.so.2 \ 115FILES:libpcp-gui2 = "${libdir}/libpcp_gui.so.2 \
108" 116"
109FILES:libpcp-archive1 = "${libdir}/libpcp_archive.so.1 \ 117FILES:libpcp-archive1 = "${libdir}/libpcp_archive.so.1 \
110" 118"
111FILES:libpcp-gui2-dev = " \ 119FILES:libpcp-gui2-dev = " \
@@ -114,6 +122,8 @@ FILES:libpcp-gui2-dev = " \
114 ${includedir}/pmafm.h \ 122 ${includedir}/pmafm.h \
115 ${includedir}/pmtime.h \ 123 ${includedir}/pmtime.h \
116" 124"
125INSANE_SKIP:libpcp-gui2-dev = "staticdev"
126
117FILES:libpcp-mmv1 = " \ 127FILES:libpcp-mmv1 = " \
118 ${libdir}/libpcp_mmv.so.1 \ 128 ${libdir}/libpcp_mmv.so.1 \
119" 129"
@@ -126,6 +136,8 @@ FILES:libpcp-mmv1-dev = " \
126 ${datadir}/man/man3/mmv_* \ 136 ${datadir}/man/man3/mmv_* \
127 ${datadir}/man/man5/mmv.5.gz \ 137 ${datadir}/man/man5/mmv.5.gz \
128" 138"
139INSANE_SKIP:libpcp-mmv1-dev = "staticdev"
140
129FILES:libpcp-import1 = " \ 141FILES:libpcp-import1 = " \
130 ${libdir}/libpcp_import.so.1 \ 142 ${libdir}/libpcp_import.so.1 \
131" 143"
@@ -141,6 +153,8 @@ FILES:libpcp-pmda3-dev = " \
141 ${datadir}/man/man3/PMDA.3.gz \ 153 ${datadir}/man/man3/PMDA.3.gz \
142 ${datadir}/man/man3/pmda* \ 154 ${datadir}/man/man3/pmda* \
143" 155"
156INSANE_SKIP:libpcp-pmda3-dev = "staticdev"
157
144FILES:libpcp-trace2 = " \ 158FILES:libpcp-trace2 = " \
145 ${libdir}/libpcp_trace.so.2 \ 159 ${libdir}/libpcp_trace.so.2 \
146" 160"
@@ -151,6 +165,8 @@ FILES:libpcp-trace2-dev = " \
151 ${libdir}/libpcp_trace.so \ 165 ${libdir}/libpcp_trace.so \
152 ${datadir}/man/man3/pmtrace* \ 166 ${datadir}/man/man3/pmtrace* \
153" 167"
168INSANE_SKIP:libpcp-trace2-dev = "staticdev"
169
154FILES:libpcp-web1 = " \ 170FILES:libpcp-web1 = " \
155 ${libdir}/libpcp_web.so.1 \ 171 ${libdir}/libpcp_web.so.1 \
156" 172"
@@ -162,10 +178,15 @@ FILES:libpcp-web1-dev = " \
162 ${datadir}/man/man3/pmhttp* \ 178 ${datadir}/man/man3/pmhttp* \
163 ${datadir}/man/man3/pmjson* \ 179 ${datadir}/man/man3/pmjson* \
164" 180"
181INSANE_SKIP:libpcp-web1-dev = "staticdev"
182
165FILES:libpcp3 = " \ 183FILES:libpcp3 = " \
166 ${libdir}/libpcp.so.3 \ 184 ${libdir}/libpcp.so.3 \
167" 185"
168 186
187FILES:${PN}-xsos = " \
188 ${libexecdir}/pcp/bin/pcp-xsos \
189"
169FILES:${PN} = " \ 190FILES:${PN} = " \
170 ${sysconfdir}/pcp \ 191 ${sysconfdir}/pcp \
171 ${sysconfdir}/cron.d \ 192 ${sysconfdir}/cron.d \
@@ -175,6 +196,7 @@ FILES:${PN} = " \
175 ${datadir}/bash-completion \ 196 ${datadir}/bash-completion \
176 ${datadir}/pcp-gui \ 197 ${datadir}/pcp-gui \
177 ${datadir}/zsh \ 198 ${datadir}/zsh \
199 ${datadir}/icons \
178 ${systemd_system_unitdir}/ \ 200 ${systemd_system_unitdir}/ \
179 ${libdir}/pcp/ \ 201 ${libdir}/pcp/ \
180 ${libdir}/sysusers.d/pcp.conf \ 202 ${libdir}/sysusers.d/pcp.conf \
@@ -188,6 +210,7 @@ FILES:${PN} = " \
188 ${localstatedir}/lib/pcp/pmdas/ \ 210 ${localstatedir}/lib/pcp/pmdas/ \
189 ${localstatedir}/lib/pcp/pmns \ 211 ${localstatedir}/lib/pcp/pmns \
190 ${libdir}/libpcp_fault.so.3 \ 212 ${libdir}/libpcp_fault.so.3 \
213 ${nonarch_libdir}/tmpfiles.d/pcp-reboot-init.conf \
191" 214"
192 215
193FILES:${PN}-export-zabbix-agent += " \ 216FILES:${PN}-export-zabbix-agent += " \
@@ -196,6 +219,8 @@ FILES:${PN}-export-zabbix-agent += " \
196 ${mandir}/man3/zbxpcp.3.gz \ 219 ${mandir}/man3/zbxpcp.3.gz \
197 ${libdir}/zabbix \ 220 ${libdir}/zabbix \
198" 221"
222INSANE_SKIP:${PN}-export-zabbix-agent = "dev-so"
223
199FILES:${PN}-testsuite = "${localstatedir}/lib/pcp/testsuite/ ${libdir}/sysusers.d/pcp-testsuite.conf" 224FILES:${PN}-testsuite = "${localstatedir}/lib/pcp/testsuite/ ${libdir}/sysusers.d/pcp-testsuite.conf"
200FILES:python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}" 225FILES:python3-${PN} = "${PYTHON_SITEPACKAGES_DIR}"
201FILES:${PN}-dev += " \ 226FILES:${PN}-dev += " \
diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb
index d5a560a6a0..169630d319 100644
--- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_2.0.3.bb
@@ -21,7 +21,7 @@ EXTRA_OECONF = " \
21 --enable-usbdropdir=${libdir}/pcsc/drivers \ 21 --enable-usbdropdir=${libdir}/pcsc/drivers \
22" 22"
23 23
24S = "${WORKDIR}/pcsc-lite-${PV}" 24S = "${UNPACKDIR}/pcsc-lite-${PV}"
25 25
26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} udev" 26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)} udev"
27PACKAGECONFIG:class-native ??= "" 27PACKAGECONFIG:class-native ??= ""
diff --git a/meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.1.bb b/meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.2.bb
index 97a94ec973..14ffab6128 100644
--- a/meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.1.bb
+++ b/meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.7.2.bb
@@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=94d55d512a9ba36caa9b7df079bae19f"
5 5
6SRC_URI = "git://github.com/LudovicRousseau/pcsc-tools;protocol=https;branch=master" 6SRC_URI = "git://github.com/LudovicRousseau/pcsc-tools;protocol=https;branch=master"
7 7
8SRCREV = "53834cd33155ae1f0332102b1baca6ce63660fc5" 8SRCREV = "778da3d86a59f5166443118c158e11ba4da9a5f1"
9 9
10inherit autotools pkgconfig 10inherit autotools pkgconfig
11 11
12S = "${WORKDIR}/git"
13 12
14DEPENDS = "pcsc-lite autoconf-archive-native" 13DEPENDS = "pcsc-lite autoconf-archive-native"
15 14
diff --git a/meta-oe/recipes-support/picocom/picocom_git.bb b/meta-oe/recipes-support/picocom/picocom_2024.bb
index cc0d88faca..37cf2d0a4c 100644
--- a/meta-oe/recipes-support/picocom/picocom_git.bb
+++ b/meta-oe/recipes-support/picocom/picocom_2024.bb
@@ -4,17 +4,13 @@ LICENSE = "GPL-2.0-or-later"
4HOMEPAGE = "https://gitlab.com/wsakernel/picocom" 4HOMEPAGE = "https://gitlab.com/wsakernel/picocom"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000e4830620e310fe65c0eb69df9e8a" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000e4830620e310fe65c0eb69df9e8a"
6 6
7BASEPV = "2023-04" 7SRCREV = "7b6acbd421a2d4ca99376b7b427828dc1bcba4d8"
8PV = "${BASEPV}+git"
9
10SRCREV = "12537df0314767d5af35bddddbbca3694e6a0342"
11 8
12SRC_URI = "git://gitlab.com/wsakernel/picocom;branch=master;protocol=https \ 9SRC_URI = "git://gitlab.com/wsakernel/picocom;branch=master;protocol=https \
13 " 10 "
14 11
15S = "${WORKDIR}/git"
16 12
17EXTRA_OEMAKE = "'CC=${CC}' 'LD=${CC}' 'VERSION=${BASEPV}' \ 13EXTRA_OEMAKE = "'CC=${CC}' 'LD=${CC}' 'VERSION=${PV}' \
18 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}' " 14 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}' "
19 15
20do_install () { 16do_install () {
diff --git a/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb b/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb
index ad6a7501c5..c547b0532e 100644
--- a/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb
+++ b/meta-oe/recipes-support/pidgin/funyahoo-plusplus_git.bb
@@ -10,7 +10,9 @@ inherit pkgconfig
10SRC_URI = "git://github.com/EionRobb/funyahoo-plusplus;branch=master;protocol=https" 10SRC_URI = "git://github.com/EionRobb/funyahoo-plusplus;branch=master;protocol=https"
11SRCREV = "fbbd9c591100aa00a0487738ec7b6acd3d924b3f" 11SRCREV = "fbbd9c591100aa00a0487738ec7b6acd3d924b3f"
12 12
13S = "${WORKDIR}/git" 13# Upstream repo does not tag
14UPSTREAM_CHECK_COMMITS = "1"
15
14 16
15do_compile() { 17do_compile() {
16 oe_runmake CC="${CC}" CXX="${CXX}" EXTRA_INCLUDES="${TARGET_CFLAGS}" AR="${AR}"; 18 oe_runmake CC="${CC}" CXX="${CXX}" EXTRA_INCLUDES="${TARGET_CFLAGS}" AR="${AR}";
diff --git a/meta-oe/recipes-support/pidgin/icyque_git.bb b/meta-oe/recipes-support/pidgin/icyque_git.bb
index ed58c4a76f..e8b4a3c2c3 100644
--- a/meta-oe/recipes-support/pidgin/icyque_git.bb
+++ b/meta-oe/recipes-support/pidgin/icyque_git.bb
@@ -12,7 +12,9 @@ inherit pkgconfig
12SRC_URI = "git://github.com/EionRobb/icyque;branch=master;protocol=https" 12SRC_URI = "git://github.com/EionRobb/icyque;branch=master;protocol=https"
13SRCREV = "513fc162d5d1a201c2b044e2b42941436d1069d5" 13SRCREV = "513fc162d5d1a201c2b044e2b42941436d1069d5"
14 14
15S = "${WORKDIR}/git" 15# Upstream repo does not tag
16UPSTREAM_CHECK_COMMITS = "1"
17
16 18
17do_compile() { 19do_compile() {
18 oe_runmake; 20 oe_runmake;
diff --git a/meta-oe/recipes-support/pidgin/libgnt_2.14.1.bb b/meta-oe/recipes-support/pidgin/libgnt_2.14.1.bb
index d17a623063..f2fe4a7a93 100644
--- a/meta-oe/recipes-support/pidgin/libgnt_2.14.1.bb
+++ b/meta-oe/recipes-support/pidgin/libgnt_2.14.1.bb
@@ -15,6 +15,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/pidgin/${BPN}/${PV}/${BP}.tar.xz \
15" 15"
16SRC_URI[sha256sum] = "5ec3e68e18f956e9998d79088b299fa3bca689bcc95c86001bc5da17c1eb4bd8" 16SRC_URI[sha256sum] = "5ec3e68e18f956e9998d79088b299fa3bca689bcc95c86001bc5da17c1eb4bd8"
17 17
18UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/pidgin/files/libgnt/"
19UPSTREAM_CHECK_REGEX = "${BPN}/(?P<pver>\d+(\.\d+)+)"
20
18EXTRA_OEMESON = "-Dintrospection=false -Ddoc=false" 21EXTRA_OEMESON = "-Dintrospection=false -Ddoc=false"
19 22
20FILES:${PN} += "${libdir}/gnt/s.so ${libdir}/gnt/irssi.so" 23FILES:${PN} += "${libdir}/gnt/s.so ${libdir}/gnt/irssi.so"
diff --git a/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb b/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
index 115a6968eb..b4f462de83 100644
--- a/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
+++ b/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
@@ -10,7 +10,6 @@ SRC_URI = "http://www.cypherpunks.ca/otr/${BP}.tar.gz \
10 file://0001-tests-Include-missing-sys-socket.h-header.patch \ 10 file://0001-tests-Include-missing-sys-socket.h-header.patch \
11" 11"
12 12
13SRC_URI[md5sum] = "dac5a8778a35f674c046ddf5d97e4d81"
14SRC_URI[sha256sum] = "8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5" 13SRC_URI[sha256sum] = "8b3b182424251067a952fb4e6c7b95a21e644fbb27fbd5f8af2b2ed87ca419f5"
15 14
16inherit autotools pkgconfig 15inherit autotools pkgconfig
diff --git a/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb b/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb
index 326c5bfc57..f4c9020dea 100644
--- a/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb
+++ b/meta-oe/recipes-support/pidgin/pidgin-otr_4.0.2.bb
@@ -7,7 +7,6 @@ REQUIRED_DISTRO_FEATURES = "x11"
7 7
8SRC_URI = "https://otr.cypherpunks.ca/${BP}.tar.gz \ 8SRC_URI = "https://otr.cypherpunks.ca/${BP}.tar.gz \
9" 9"
10SRC_URI[md5sum] = "7ef14e1334a4bc80e5d530f9a3cfc626"
11SRC_URI[sha256sum] = "f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4" 10SRC_URI[sha256sum] = "f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4"
12 11
13FILES:${PN} = "${libdir}/pidgin/*" 12FILES:${PN} = "${libdir}/pidgin/*"
diff --git a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
index 6ce42ec187..5fd927bc64 100644
--- a/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
+++ b/meta-oe/recipes-support/pidgin/pidgin-sipe_1.25.0.bb
@@ -14,7 +14,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/sipe/pidgin-sipe-${PV}.tar.xz \
14 file://0001-Migrate-to-use-g_memdup2.patch \ 14 file://0001-Migrate-to-use-g_memdup2.patch \
15" 15"
16 16
17SRC_URI[md5sum] = "0e742f021dc8c3f17435aea05c3e0314"
18SRC_URI[sha256sum] = "738b121b11f2b3f1744150c00cb381222eb6cf67161a7742797eb4f03e64a2ba" 17SRC_URI[sha256sum] = "738b121b11f2b3f1744150c00cb381222eb6cf67161a7742797eb4f03e64a2ba"
19 18
20PACKAGECONFIG ??= "nss krb5" 19PACKAGECONFIG ??= "nss krb5"
@@ -37,3 +36,7 @@ FILES:${PN} += " \
37 ${datadir}/appdata \ 36 ${datadir}/appdata \
38 ${datadir}/metainfo \ 37 ${datadir}/metainfo \
39" 38"
39
40# http://errors.yoctoproject.org/Errors/Details/766947/
41# pidgin-sipe-1.25.0/src/core/sipe-xml.c:210:9: error: initialization of 'void (*)(void *, const xmlError *)' {aka 'void (*)(void *, const struct _xmlError *)'} from incompatible pointer type 'void (*)(void *, xmlError *)' {aka 'void (*)(void *, struct _xmlError *)'} [-Wincompatible-pointer-types]
42CFLAGS += "-Wno-error=incompatible-pointer-types"
diff --git a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch b/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch
deleted file mode 100644
index 1c4daa9f67..0000000000
--- a/meta-oe/recipes-support/pidgin/pidgin/purple-OE-branding-25.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 43e9db656431ffb22b429d5fca4ce3b4af21bc9e Mon Sep 17 00:00:00 2001
2From: Herrie <github.com@herrie.org>
3Date: Mon, 24 Jul 2017 21:30:16 +0200
4
5---
6Upstream-Status: Pending
7
8 libpurple/protocols/irc/irc.h | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/libpurple/protocols/irc/irc.h b/libpurple/protocols/irc/irc.h
12index 596ddaf..b70f3a9 100644
13--- a/libpurple/protocols/irc/irc.h
14+++ b/libpurple/protocols/irc/irc.h
15@@ -40,9 +40,9 @@
16
17 #define IRC_DEFAULT_CHARSET "UTF-8"
18 #define IRC_DEFAULT_AUTODETECT FALSE
19-#define IRC_DEFAULT_ALIAS "purple"
20+#define IRC_DEFAULT_ALIAS "OE-user"
21
22-#define IRC_DEFAULT_QUIT "Leaving."
23+#define IRC_DEFAULT_QUIT "Powered by OE: www.openembedded.org"
24
25 #define IRC_BUFSIZE_INCREMENT 1024
26 #define IRC_MAX_BUFSIZE 16384
diff --git a/meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb b/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb
index ae251b5a08..13a22f6e59 100644
--- a/meta-oe/recipes-support/pidgin/pidgin_2.14.2.bb
+++ b/meta-oe/recipes-support/pidgin/pidgin_2.14.14.bb
@@ -10,10 +10,9 @@ inherit autotools gettext pkgconfig gconf perlnative python3native
10SRC_URI = "\ 10SRC_URI = "\
11 ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \ 11 ${SOURCEFORGE_MIRROR}/pidgin/pidgin-${PV}.tar.bz2 \
12 file://sanitize-configure.ac.patch \ 12 file://sanitize-configure.ac.patch \
13 file://purple-OE-branding-25.patch \
14" 13"
15 14
16SRC_URI[sha256sum] = "19654ad276b149646371fbdac21bc7620742f2975f7399fed0ffc1a18fbaf603" 15SRC_URI[sha256sum] = "0ffc9994def10260f98a55cd132deefa8dc4a9835451cc0e982747bd458e2356"
17 16
18CVE_STATUS[CVE-2010-1624] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 17CVE_STATUS[CVE-2010-1624] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
19CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions." 18CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't reflect correctly the vulnerable versions."
@@ -21,7 +20,6 @@ CVE_STATUS[CVE-2011-3594] = "fixed-version: The CPE in the NVD database doesn't
21PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \ 20PACKAGECONFIG ??= "gnutls consoleui avahi dbus idn nss \
22 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \ 21 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtk startup-notification', '', d)} \
23" 22"
24PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2"
25# --disable-gstreamer compile without GStreamer audio support 23# --disable-gstreamer compile without GStreamer audio support
26# --disable-gstreamer-video 24# --disable-gstreamer-video
27# compile without GStreamer 1.0 Video Overlay support 25# compile without GStreamer 1.0 Video Overlay support
@@ -29,8 +27,7 @@ PACKAGECONFIG[farsight2] = "--enable-farstream,--disable-farstream,farsight2"
29# compile without GStreamer 0.10 interface support 27# compile without GStreamer 0.10 interface support
30# --with-gstreamer=<version> 28# --with-gstreamer=<version>
31# compile with GStreamer 0.10 or 1.0 interface 29# compile with GStreamer 0.10 or 1.0 interface
32PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer" 30PACKAGECONFIG[gstreamer] = "--enable-gstreamer,--disable-gstreamer,gstreamer1.0"
33PACKAGECONFIG[vv] = "--enable-vv,--disable-vv,gstreamer"
34PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn" 31PACKAGECONFIG[idn] = "--enable-idn,--disable-idn,libidn"
35PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+" 32PACKAGECONFIG[gtk] = "--enable-gtkui,--disable-gtkui,gtk+"
36PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11" 33PACKAGECONFIG[x11] = "--with-x=yes --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--with-x=no,virtual/libx11"
@@ -51,10 +48,19 @@ EXTRA_OECONF = " \
51 --disable-meanwhile \ 48 --disable-meanwhile \
52 --disable-nm \ 49 --disable-nm \
53 --disable-screensaver \ 50 --disable-screensaver \
51 --disable-farstream \
52 --disable-vv \
54" 53"
55 54
56OE_LT_RPATH_ALLOW=":${libdir}/purple-2:" 55# CONFIG_ARGS is used to display build info. Replace full paths by reproducible
57OE_LT_RPATH_ALLOW[export]="1" 56# variables ($S, $WORKDIR)
57do_configure:append() {
58 sed -i -e "/CONFIG_ARGS/s|${S}|\$S|g" ${B}/config.h
59 sed -i -e "/CONFIG_ARGS/s|${WORKDIR}|\$WORKDIR|g" ${B}/config.h
60}
61
62OE_LT_RPATH_ALLOW = ":${libdir}/purple-2:"
63OE_LT_RPATH_ALLOW[export] = "1"
58 64
59PACKAGES =+ "libpurple-dev libpurple finch finch-dev ${PN}-data" 65PACKAGES =+ "libpurple-dev libpurple finch finch-dev ${PN}-data"
60 66
@@ -73,7 +79,7 @@ FILES:finch = "${bindir}/finch"
73FILES:finch-dev = "${libdir}/finch/*.la" 79FILES:finch-dev = "${libdir}/finch/*.la"
74 80
75FILES:${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \ 81FILES:${PN} = "${bindir} ${datadir}/${PN} ${libdir}/${PN}/*.so \
76 ${datadir}/applications" 82 ${datadir}/applications ${datadir}/metainfo"
77RRECOMMENDS:${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp" 83RRECOMMENDS:${PN} = "${PN}-data libpurple-protocol-irc libpurple-protocol-xmpp"
78 84
79FILES:${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata" 85FILES:${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons ${datadir}/appdata"
diff --git a/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb b/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb
index 1981f1ee9c..421b1725ba 100644
--- a/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb
+++ b/meta-oe/recipes-support/pidgin/purple-skypeweb_git.bb
@@ -10,7 +10,6 @@ inherit pkgconfig
10SRC_URI = "git://github.com/EionRobb/skype4pidgin;branch=master;protocol=https" 10SRC_URI = "git://github.com/EionRobb/skype4pidgin;branch=master;protocol=https"
11SRCREV = "b226d1c457d73900ae89b8a7469247fbe33677a6" 11SRCREV = "b226d1c457d73900ae89b8a7469247fbe33677a6"
12 12
13S = "${WORKDIR}/git"
14PV = "1.7+git" 13PV = "1.7+git"
15 14
16do_compile() { 15do_compile() {
diff --git a/meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_0.3.bb b/meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_1.0.bb
index 816ee967c1..a403289cfc 100644
--- a/meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_0.3.bb
+++ b/meta-oe/recipes-support/pkcs11-provider/pkcs11-provider_1.0.bb
@@ -11,17 +11,18 @@ SECTION = "libs"
11LICENSE = "Apache-2.0" 11LICENSE = "Apache-2.0"
12LIC_FILES_CHKSUM = "file://COPYING;md5=b53b787444a60266932bd270d1cf2d45" 12LIC_FILES_CHKSUM = "file://COPYING;md5=b53b787444a60266932bd270d1cf2d45"
13DEPENDS = "\ 13DEPENDS = "\
14 autoconf-archive \
15 openssl \ 14 openssl \
16 p11-kit \ 15 p11-kit \
17" 16"
18 17
19SRCREV = "58040b4e32975cc1d7f39e424ee7b0097cd11311" 18SRCREV = "8f6b94409d4872265076df310492da1e5f6abdf7"
20 19
21SRC_URI = "git://github.com/latchset/${BPN}.git;branch=main;protocol=https" 20SRC_URI = "git://github.com/latchset/${BPN}.git;branch=main;protocol=https"
22 21
23S = "${WORKDIR}/git"
24 22
25inherit autotools pkgconfig 23inherit meson pkgconfig
24
25# Overwrite default pkcs11 module path
26#EXTRA_OEMESON += "-Ddefault_pkcs11_module=/path/to/mymodule.so"
26 27
27FILES:${PN} += "${libdir}/ossl-modules/pkcs11.so" 28FILES:${PN} += "${libdir}/ossl-modules/pkcs11.so"
diff --git a/meta-oe/recipes-support/pngcheck/pngcheck_2.3.0.bb b/meta-oe/recipes-support/pngcheck/pngcheck_2.3.0.bb
index 19da947d04..3bd2f414d7 100644
--- a/meta-oe/recipes-support/pngcheck/pngcheck_2.3.0.bb
+++ b/meta-oe/recipes-support/pngcheck/pngcheck_2.3.0.bb
@@ -10,9 +10,11 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/png-mng/${BPN}/${PV}/${BPN}-${PV}.tar.g
10 file://0001-make-Respect-variables-from-environement.patch \ 10 file://0001-make-Respect-variables-from-environement.patch \
11 " 11 "
12 12
13SRC_URI[md5sum] = "980bd6d9a3830fdce746d7fe3c9166ee"
14SRC_URI[sha256sum] = "77f0a039ac64df55fbd06af6f872fdbad4f639d009bbb5cd5cbe4db25690f35f" 13SRC_URI[sha256sum] = "77f0a039ac64df55fbd06af6f872fdbad4f639d009bbb5cd5cbe4db25690f35f"
15 14
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/png-mng/files/pngcheck/"
16UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
17
16CFLAGS += "-DUSE_ZLIB" 18CFLAGS += "-DUSE_ZLIB"
17 19
18EXTRA_OEMAKE = "-f ${S}/Makefile.unx" 20EXTRA_OEMAKE = "-f ${S}/Makefile.unx"
diff --git a/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch b/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
new file mode 100644
index 0000000000..d976a1f83b
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco/0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch
@@ -0,0 +1,59 @@
1From 03c35cff930e421199b586c33a00eb6cc537ba28 Mon Sep 17 00:00:00 2001
2From: Sergei Trofimovich <slyich@gmail.com>
3Date: Thu, 19 Sep 2024 09:36:48 +0100
4Subject: [PATCH] SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied
5 `noexcept`)
6
7On today's `gcc-15` poco fails to build as:
8
9 In file included from /build/source/Data/include/Poco/Data/Statement.h:27,
10 from /build/source/Data/include/Poco/Data/Session.h:23,
11 from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:22,
12 from /build/source/Data/src/ArchiveStrategy.cpp:15:
13 /build/source/Data/include/Poco/Data/SimpleRowFormatter.h:114:21: error: declaration of 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_construc
14 tible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]' has a different exception specifier
15 114 | inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 In file included from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/new_allocator.h:36,
18 from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/x86_64-unknown-linux-gnu/bits/c++allocator.h:33,
19 from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/allocator.h:46,
20 from /nix/store/...-gcc-15.0.0/include/c++/15.0.0/string:43,
21 from /build/source/Foundation/include/Poco/Foundation.h:94,
22 from /build/source/Data/include/Poco/Data/Data.h:23,
23 from /build/source/Data/include/Poco/Data/ArchiveStrategy.h:21:
24 /nix/store/...-gcc-15.0.0/include/c++/15.0.0/bits/move.h:214:5: note: from previous declaration 'std::_Require<std::__not_<std::__is_tuple_like<_Tp> >, std::is_move_constructible<_Tp>, std::is_move_assignable<_Tp> > std::swap(_Tp&, _Tp&) noexcept (false) [with _Tp = Poco::Data::SimpleRowFormatter; _Require<__not_<__is_tuple_like<_Tp> >, is_move_constructible<_Tp>, is_move_assignable<_Tp> > = void]'
25 214 | swap(_Tp& __a, _Tp& __b)
26 | ^~~~
27
28Possibly because `SimpleRowFormatter` does not have constructors and
29assignment operators that involve rvalue references?
30
31Updated `noexcept` condition. Fixes the build on` gcc-15`. Still
32compiles on `gcc-13`.
33
34Upstream-Status: Backport [03c35cf SimpleRowFormatter.h: fix the build on `gcc-15` (unsatisfied `noexcept`)]
35Signed-off-by: mark.yang <mark.yang@lge.com>
36---
37 Data/include/Poco/Data/SimpleRowFormatter.h | 5 +----
38 1 file changed, 1 insertion(+), 4 deletions(-)
39
40diff --git a/Data/include/Poco/Data/SimpleRowFormatter.h b/Data/include/Poco/Data/SimpleRowFormatter.h
41index 0dcb43b0b..c8417b3a7 100644
42--- a/Data/include/Poco/Data/SimpleRowFormatter.h
43+++ b/Data/include/Poco/Data/SimpleRowFormatter.h
44@@ -109,13 +109,10 @@ inline std::streamsize SimpleRowFormatter::getSpacing() const
45
46 namespace std
47 {
48- // Note: for an unknown reason, clang refuses to compile this function as noexcept
49 template<>
50 inline void swap<Poco::Data::SimpleRowFormatter>(Poco::Data::SimpleRowFormatter& s1,
51 Poco::Data::SimpleRowFormatter& s2)
52-#ifndef POCO_COMPILER_CLANG
53- noexcept
54-#endif
55+ noexcept(std::is_nothrow_swappable_v<Poco::Data::SimpleRowFormatter>)
56 /// Full template specalization of std:::swap for SimpleRowFormatter
57 {
58 s1.swap(s2);
59
diff --git a/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch b/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch
deleted file mode 100644
index b06135222a..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch
+++ /dev/null
@@ -1,60 +0,0 @@
1From 4cbb225811205b51b65371d0d8abc2d2af8233b6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 26 Jan 2023 14:56:36 -0800
4Subject: [PATCH] Use std::atomic<int> instead of std::atomic<bool>
5
6GCC on RISCV does not yet support inline subword atomics [1]
7Therefore avoid them until fixed
8
9Upstream-Status: Pending
10
11[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104338
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 Foundation/include/Poco/AsyncChannel.h | 2 +-
16 Foundation/src/AsyncChannel.cpp | 5 ++---
17 2 files changed, 3 insertions(+), 4 deletions(-)
18
19diff --git a/Foundation/include/Poco/AsyncChannel.h b/Foundation/include/Poco/AsyncChannel.h
20index 190bae7dd..d73ea6c72 100644
21--- a/Foundation/include/Poco/AsyncChannel.h
22+++ b/Foundation/include/Poco/AsyncChannel.h
23@@ -111,7 +111,7 @@ private:
24 NotificationQueue _queue;
25 std::size_t _queueSize = 0;
26 std::size_t _dropCount = 0;
27- std::atomic<bool> _closed;
28+ std::atomic<int> _closed;
29 };
30
31
32diff --git a/Foundation/src/AsyncChannel.cpp b/Foundation/src/AsyncChannel.cpp
33index 37cdec477..e829b180c 100644
34--- a/Foundation/src/AsyncChannel.cpp
35+++ b/Foundation/src/AsyncChannel.cpp
36@@ -48,11 +48,10 @@ private:
37 Message _msg;
38 };
39
40-
41 AsyncChannel::AsyncChannel(Channel::Ptr pChannel, Thread::Priority prio):
42 _pChannel(pChannel),
43 _thread("AsyncChannel"),
44- _closed(false)
45+ _closed(0)
46 {
47 _thread.setPriority(prio);
48 }
49@@ -95,7 +94,7 @@ void AsyncChannel::open()
50
51 void AsyncChannel::close()
52 {
53- if (!_closed.exchange(true))
54+ if (!_closed.exchange(1))
55 {
56 if (_thread.isRunning())
57 {
58--
592.39.1
60
diff --git a/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch b/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
new file mode 100644
index 0000000000..e607063d58
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco/0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch
@@ -0,0 +1,53 @@
1From 6faf90773a7327e54342a5d3caee151623b5caf0 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= <guenter.obiltschnig@appinf.com>
3Date: Fri, 27 Sep 2024 08:53:18 +0200
4Subject: [PATCH] =?UTF-8?q?fix(Foundation):=20Build=20error=20with=20GCC-1?=
5 =?UTF-8?q?5=20(class=20Poco::PriorityDelegate<TObj,=20void,=20true>?=
6 =?UTF-8?q?=E2=80=99=20has=20no=20member=20named=20=E2=80=98=5FpTarget?=
7 =?UTF-8?q?=E2=80=99)=20(#4695)?=
8MIME-Version: 1.0
9Content-Type: text/plain; charset=UTF-8
10Content-Transfer-Encoding: 8bit
11
12Upstream-Status: Backport [6faf907 fix(Foundation): Build error with GCC-15 (class Poco::PriorityDelegate<TObj, void, true>’ has no member named ‘_pTarget’) (#4695)]
13Signed-off-by: mark.yang <mark.yang@lge.com>
14---
15 Foundation/include/Poco/PriorityDelegate.h | 4 ----
16 1 file changed, 4 deletions(-)
17
18diff --git a/Foundation/include/Poco/PriorityDelegate.h b/Foundation/include/Poco/PriorityDelegate.h
19index 4cd664aab..cac9cf25e 100644
20--- a/Foundation/include/Poco/PriorityDelegate.h
21+++ b/Foundation/include/Poco/PriorityDelegate.h
22@@ -52,7 +52,6 @@ public:
23 {
24 if (&delegate != this)
25 {
26- this->_pTarget = delegate._pTarget;
27 this->_receiverObject = delegate._receiverObject;
28 this->_receiverMethod = delegate._receiverMethod;
29 this->_priority = delegate._priority;
30@@ -126,7 +125,6 @@ public:
31 {
32 if (&delegate != this)
33 {
34- this->_pTarget = delegate._pTarget;
35 this->_receiverObject = delegate._receiverObject;
36 this->_receiverMethod = delegate._receiverMethod;
37 this->_priority = delegate._priority;
38@@ -200,7 +198,6 @@ public:
39 {
40 if (&delegate != this)
41 {
42- this->_pTarget = delegate._pTarget;
43 this->_receiverObject = delegate._receiverObject;
44 this->_receiverMethod = delegate._receiverMethod;
45 this->_priority = delegate._priority;
46@@ -274,7 +271,6 @@ public:
47 {
48 if (&delegate != this)
49 {
50- this->_pTarget = delegate._pTarget;
51 this->_receiverObject = delegate._receiverObject;
52 this->_receiverMethod = delegate._receiverMethod;
53 this->_priority = delegate._priority;
diff --git a/meta-oe/recipes-support/poco/poco_1.13.3.bb b/meta-oe/recipes-support/poco/poco_1.13.3.bb
index 6ad577b37b..e0f6c4169e 100644
--- a/meta-oe/recipes-support/poco/poco_1.13.3.bb
+++ b/meta-oe/recipes-support/poco/poco_1.13.3.bb
@@ -8,16 +8,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
8# These dependencies are required by Foundation 8# These dependencies are required by Foundation
9DEPENDS = "libpcre2 zlib" 9DEPENDS = "libpcre2 zlib"
10 10
11SRC_URI = "git://github.com/pocoproject/poco.git;branch=master-unused;protocol=https \ 11SRC_URI = "git://github.com/pocoproject/poco.git;branch=poco-1.13.3;protocol=https \
12 file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \
13 file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \ 12 file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \
14 file://run-ptest \ 13 file://run-ptest \
14 file://0001-SimpleRowFormatter.h-fix-the-build-on-gcc-15-unsatis.patch \
15 file://0002-fix-Foundation-Build-error-with-GCC-15-class-Poco-Pr.patch \
15 " 16 "
16SRCREV = "d6bd48a94c5f03e3c69cac1b024fdad5120e3a7b" 17SRCREV = "7f848d25aa0461d3beeff1189dc61b48ffe8e2f4"
17 18
18UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" 19UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
19 20
20S = "${WORKDIR}/git"
21 21
22inherit cmake ptest 22inherit cmake ptest
23 23
diff --git a/meta-oe/recipes-support/poppler/poppler/0001-cmake-Do-not-use-isystem.patch b/meta-oe/recipes-support/poppler/poppler/0001-cmake-Do-not-use-isystem.patch
index adbe82263f..ab2fbf7d9b 100644
--- a/meta-oe/recipes-support/poppler/poppler/0001-cmake-Do-not-use-isystem.patch
+++ b/meta-oe/recipes-support/poppler/poppler/0001-cmake-Do-not-use-isystem.patch
@@ -40,11 +40,9 @@ Upstream-Status: Pending
40 utils/CMakeLists.txt | 10 +++++----- 40 utils/CMakeLists.txt | 10 +++++-----
41 6 files changed, 16 insertions(+), 16 deletions(-) 41 6 files changed, 16 insertions(+), 16 deletions(-)
42 42
43diff --git a/CMakeLists.txt b/CMakeLists.txt
44index c6c757c..5f1c540 100644
45--- a/CMakeLists.txt 43--- a/CMakeLists.txt
46+++ b/CMakeLists.txt 44+++ b/CMakeLists.txt
47@@ -603,10 +603,10 @@ add_library(poppler ${poppler_SRCS}) 45@@ -628,10 +628,10 @@ add_library(poppler ${poppler_SRCS} ${LI
48 if (OpenJPEG_FOUND) 46 if (OpenJPEG_FOUND)
49 # check if we can remove this when we depend on newer openjpeg versions, 2.5 seems fixed 47 # check if we can remove this when we depend on newer openjpeg versions, 2.5 seems fixed
50 # target openjp2 may lack interface include directories 48 # target openjp2 may lack interface include directories
@@ -56,9 +54,7 @@ index c6c757c..5f1c540 100644
56+ target_include_directories(poppler PRIVATE ${LCMS2_INCLUDE_DIR}) 54+ target_include_directories(poppler PRIVATE ${LCMS2_INCLUDE_DIR})
57 endif() 55 endif()
58 generate_export_header(poppler BASE_NAME poppler-private EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/poppler_private_export.h") 56 generate_export_header(poppler BASE_NAME poppler-private EXPORT_FILE_NAME "${CMAKE_CURRENT_BINARY_DIR}/poppler_private_export.h")
59 set_target_properties(poppler PROPERTIES VERSION 127.0.0 SOVERSION 127) 57 set_target_properties(poppler PROPERTIES
60diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
61index 52e8687..08ab39a 100644
62--- a/glib/CMakeLists.txt 58--- a/glib/CMakeLists.txt
63+++ b/glib/CMakeLists.txt 59+++ b/glib/CMakeLists.txt
64@@ -4,7 +4,7 @@ include_directories( 60@@ -4,7 +4,7 @@ include_directories(
@@ -66,7 +62,7 @@ index 52e8687..08ab39a 100644
66 62
67 include_directories( 63 include_directories(
68- SYSTEM 64- SYSTEM
69+ 65+
70 ${GLIB2_INCLUDE_DIRS} 66 ${GLIB2_INCLUDE_DIRS}
71 ${CAIRO_INCLUDE_DIRS} 67 ${CAIRO_INCLUDE_DIRS}
72 ) 68 )
@@ -78,9 +74,7 @@ index 52e8687..08ab39a 100644
78+target_include_directories(poppler-glib PRIVATE ${CAIRO_INCLUDE_DIRS}) 74+target_include_directories(poppler-glib PRIVATE ${CAIRO_INCLUDE_DIRS})
79 install(TARGETS poppler-glib RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 75 install(TARGETS poppler-glib RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
80 76
81 install(FILES 77 if (ENABLE_NSS3)
82diff --git a/qt5/src/CMakeLists.txt b/qt5/src/CMakeLists.txt
83index 5db3a6c..f242d29 100644
84--- a/qt5/src/CMakeLists.txt 78--- a/qt5/src/CMakeLists.txt
85+++ b/qt5/src/CMakeLists.txt 79+++ b/qt5/src/CMakeLists.txt
86@@ -45,11 +45,11 @@ if(MINGW AND BUILD_SHARED_LIBS) 80@@ -45,11 +45,11 @@ if(MINGW AND BUILD_SHARED_LIBS)
@@ -97,8 +91,6 @@ index 5db3a6c..f242d29 100644
97 endif() 91 endif()
98 install(TARGETS poppler-qt5 RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 92 install(TARGETS poppler-qt5 RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
99 93
100diff --git a/qt6/src/CMakeLists.txt b/qt6/src/CMakeLists.txt
101index cd91975..6c42e12 100644
102--- a/qt6/src/CMakeLists.txt 94--- a/qt6/src/CMakeLists.txt
103+++ b/qt6/src/CMakeLists.txt 95+++ b/qt6/src/CMakeLists.txt
104@@ -45,11 +45,11 @@ if(MINGW AND BUILD_SHARED_LIBS) 96@@ -45,11 +45,11 @@ if(MINGW AND BUILD_SHARED_LIBS)
@@ -115,8 +107,6 @@ index cd91975..6c42e12 100644
115 endif() 107 endif()
116 install(TARGETS poppler-qt6 RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 108 install(TARGETS poppler-qt6 RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
117 109
118diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
119index afa1352..9bd3b9a 100644
120--- a/test/CMakeLists.txt 110--- a/test/CMakeLists.txt
121+++ b/test/CMakeLists.txt 111+++ b/test/CMakeLists.txt
122@@ -23,7 +23,7 @@ if (GTK_FOUND) 112@@ -23,7 +23,7 @@ if (GTK_FOUND)
@@ -146,11 +136,9 @@ index afa1352..9bd3b9a 100644
146 endif () 136 endif ()
147 endif () 137 endif ()
148 138
149diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
150index 1c3ebcb..bc1840a 100644
151--- a/utils/CMakeLists.txt 139--- a/utils/CMakeLists.txt
152+++ b/utils/CMakeLists.txt 140+++ b/utils/CMakeLists.txt
153@@ -16,7 +16,7 @@ add_executable(pdftoppm ${pdftoppm_SOURCES}) 141@@ -18,7 +18,7 @@ add_executable(pdftoppm ${pdftoppm_SOURC
154 target_link_libraries(pdftoppm ${common_libs}) 142 target_link_libraries(pdftoppm ${common_libs})
155 if(LCMS2_FOUND) 143 if(LCMS2_FOUND)
156 target_link_libraries(pdftoppm ${LCMS2_LIBRARIES}) 144 target_link_libraries(pdftoppm ${LCMS2_LIBRARIES})
@@ -159,7 +147,7 @@ index 1c3ebcb..bc1840a 100644
159 endif() 147 endif()
160 install(TARGETS pdftoppm DESTINATION bin) 148 install(TARGETS pdftoppm DESTINATION bin)
161 install(FILES pdftoppm.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) 149 install(FILES pdftoppm.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
162@@ -37,10 +37,10 @@ if (HAVE_CAIRO) 150@@ -39,10 +39,10 @@ if (HAVE_CAIRO)
163 add_definitions(${CAIRO_CFLAGS}) 151 add_definitions(${CAIRO_CFLAGS})
164 add_executable(pdftocairo ${pdftocairo_SOURCES}) 152 add_executable(pdftocairo ${pdftocairo_SOURCES})
165 target_link_libraries(pdftocairo ${CAIRO_LIBRARIES} Freetype::Freetype ${common_libs}) 153 target_link_libraries(pdftocairo ${CAIRO_LIBRARIES} Freetype::Freetype ${common_libs})
@@ -172,16 +160,16 @@ index 1c3ebcb..bc1840a 100644
172 endif() 160 endif()
173 install(TARGETS pdftocairo DESTINATION bin) 161 install(TARGETS pdftocairo DESTINATION bin)
174 install(FILES pdftocairo.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) 162 install(FILES pdftocairo.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
175@@ -99,7 +99,7 @@ if (ENABLE_NSS3) 163@@ -109,7 +109,7 @@ if (ENABLE_SIGNATURES)
176 pdfsig.cc
177 )
178 add_executable(pdfsig ${pdfsig_SOURCES}) 164 add_executable(pdfsig ${pdfsig_SOURCES})
179- target_include_directories(pdfsig SYSTEM PRIVATE ${NSS3_INCLUDE_DIRS})
180+ target_include_directories(pdfsig PRIVATE ${NSS3_INCLUDE_DIRS})
181 target_link_libraries(pdfsig ${common_libs}) 165 target_link_libraries(pdfsig ${common_libs})
182 install(TARGETS pdfsig DESTINATION bin) 166 if (ENABLE_NSS3)
183 install(FILES pdfsig.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) 167- target_include_directories(pdfsig SYSTEM PRIVATE ${NSS3_INCLUDE_DIRS})
184@@ -114,7 +114,7 @@ add_executable(pdftops ${pdftops_SOURCES}) 168+ target_include_directories(pdfsig PRIVATE ${NSS3_INCLUDE_DIRS})
169 endif()
170 if (Intl_FOUND)
171 target_link_libraries(pdfsig Intl::Intl)
172@@ -127,7 +127,7 @@ add_executable(pdftops ${pdftops_SOURCES
185 target_link_libraries(pdftops ${common_libs}) 173 target_link_libraries(pdftops ${common_libs})
186 if(LCMS2_FOUND) 174 if(LCMS2_FOUND)
187 target_link_libraries(pdftops ${LCMS2_LIBRARIES}) 175 target_link_libraries(pdftops ${LCMS2_LIBRARIES})
diff --git a/meta-oe/recipes-support/poppler/poppler/CVE-2023-34872.patch b/meta-oe/recipes-support/poppler/poppler/CVE-2023-34872.patch
deleted file mode 100644
index cc942fad77..0000000000
--- a/meta-oe/recipes-support/poppler/poppler/CVE-2023-34872.patch
+++ /dev/null
@@ -1,46 +0,0 @@
1From 591235c8b6c65a2eee88991b9ae73490fd9afdfe Mon Sep 17 00:00:00 2001
2From: Albert Astals Cid <aacid@kde.org>
3Date: Fri, 18 Aug 2023 11:36:06 +0000
4Subject: [PATCH] OutlineItem::open: Fix crash on malformed files
5
6Fixes #1399
7
8CVE: CVE-2023-34872
9
10Upstream-Status: Backport [https://gitlab.freedesktop.org/poppler/poppler/-/commit/591235c8b6c65a2eee88991b9ae73490fd9afdfe]
11
12Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
13---
14 poppler/Outline.cc | 10 +++++++---
15 1 file changed, 7 insertions(+), 3 deletions(-)
16
17diff --git a/poppler/Outline.cc b/poppler/Outline.cc
18index cbb6cb4..4c68be9 100644
19--- a/poppler/Outline.cc
20+++ b/poppler/Outline.cc
21@@ -14,7 +14,7 @@
22 // under GPL version 2 or later
23 //
24 // Copyright (C) 2005 Marco Pesenti Gritti <mpg@redhat.com>
25-// Copyright (C) 2008, 2016-2019, 2021 Albert Astals Cid <aacid@kde.org>
26+// Copyright (C) 2008, 2016-2019, 2021, 2023 Albert Astals Cid <aacid@kde.org>
27 // Copyright (C) 2009 Nick Jones <nick.jones@network-box.com>
28 // Copyright (C) 2016 Jason Crain <jason@aquaticape.us>
29 // Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com>
30@@ -483,8 +483,12 @@ void OutlineItem::open()
31 {
32 if (!kids) {
33 Object itemDict = xref->fetch(ref);
34- const Object &firstRef = itemDict.dictLookupNF("First");
35- kids = readItemList(this, &firstRef, xref, doc);
36+ if (itemDict.isDict()) {
37+ const Object &firstRef = itemDict.dictLookupNF("First");
38+ kids = readItemList(this, &firstRef, xref, doc);
39+ } else {
40+ kids = new std::vector<OutlineItem *>();
41+ }
42 }
43 }
44
45--
462.35.5
diff --git a/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch b/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch
deleted file mode 100644
index 70ba1cf123..0000000000
--- a/meta-oe/recipes-support/poppler/poppler/jpeg-stdio.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 2986f06c7cc9d64a506ebe861b8bf38f73386e86 Mon Sep 17 00:00:00 2001
2From: Jordan Abrahams-Whitehead <ajordanr@google.com>
3Date: Tue, 16 May 2023 18:52:19 +0000
4Subject: [PATCH] Add missing #include <cstdio> prior to jpeglib.h
5
6Fixes #1398
7
8Upstream-Status: Backport
9Signed-off-by: Ross Burton <ross.burton@arm.com>
10---
11 goo/JpegWriter.cc | 2 +-
12 poppler/ImageEmbeddingUtils.cc | 1 +
13 2 files changed, 2 insertions(+), 1 deletion(-)
14
15diff --git a/goo/JpegWriter.cc b/goo/JpegWriter.cc
16index ca69fd055..566ee38f8 100644
17--- a/goo/JpegWriter.cc
18+++ b/goo/JpegWriter.cc
19@@ -23,7 +23,7 @@
20 #ifdef ENABLE_LIBJPEG
21
22 # include "poppler/Error.h"
23-
24+# include <cstdio>
25 extern "C" {
26 # include <jpeglib.h>
27 }
28diff --git a/poppler/ImageEmbeddingUtils.cc b/poppler/ImageEmbeddingUtils.cc
29index 0c13fe968..07b9dfb62 100644
30--- a/poppler/ImageEmbeddingUtils.cc
31+++ b/poppler/ImageEmbeddingUtils.cc
32@@ -14,6 +14,7 @@
33
34 #include <memory>
35 #ifdef ENABLE_LIBJPEG
36+# include <cstdio>
37 extern "C" {
38 # include <jpeglib.h>
39 }
40--
41GitLab
diff --git a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb b/meta-oe/recipes-support/poppler/poppler_25.04.0.bb
index f4411e1163..1cd5f28cd8 100644
--- a/meta-oe/recipes-support/poppler/poppler_23.04.0.bb
+++ b/meta-oe/recipes-support/poppler/poppler_25.04.0.bb
@@ -7,24 +7,24 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
7 file://0001-Do-not-overwrite-all-our-build-flags.patch \ 7 file://0001-Do-not-overwrite-all-our-build-flags.patch \
8 file://basename-include.patch \ 8 file://basename-include.patch \
9 file://0001-cmake-Do-not-use-isystem.patch \ 9 file://0001-cmake-Do-not-use-isystem.patch \
10 file://jpeg-stdio.patch \
11 file://CVE-2023-34872.patch \
12 " 10 "
13SRC_URI[sha256sum] = "b6d893dc7dcd4138b9e9df59a13c59695e50e80dc5c2cacee0674670693951a1" 11SRC_URI[sha256sum] = "b010c596dce127fba88532fd2f1043e55ea30601767952d0f2c0a80e7dc0da3d"
14 12
15DEPENDS = "fontconfig zlib cairo lcms glib-2.0 glib-2.0-native" 13DEPENDS = "fontconfig zlib cairo lcms glib-2.0 glib-2.0-native"
16 14
17inherit cmake pkgconfig gobject-introspection 15inherit cmake pkgconfig gobject-introspection
18 16
19PACKAGECONFIG ??= "jpeg openjpeg png tiff nss splash" 17PACKAGECONFIG ??= "boost jpeg nss openjpeg png tiff"
18PACKAGECONFIG[boost] = "-DENABLE_BOOST=ON,-DENABLE_BOOST=OFF,boost"
20PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON -DENABLE_DCTDECODER=libjpeg,-DWITH_JPEG=OFF -DENABLE_DCTDECODER=none,jpeg" 19PACKAGECONFIG[jpeg] = "-DWITH_JPEG=ON -DENABLE_DCTDECODER=libjpeg,-DWITH_JPEG=OFF -DENABLE_DCTDECODER=none,jpeg"
21PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng" 20PACKAGECONFIG[png] = "-DWITH_PNG=ON,-DWITH_PNG=OFF,libpng"
22PACKAGECONFIG[tiff] = "-DWITH_TIFF=ON,-DWITH_TIFF=OFF,tiff" 21PACKAGECONFIG[tiff] = "-DENABLE_LIBTIFF=ON,-DENABLE_LIBTIFF=OFF,tiff"
23PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl" 22PACKAGECONFIG[curl] = "-DENABLE_LIBCURL=ON,-DENABLE_LIBCURL=OFF,curl"
24PACKAGECONFIG[openjpeg] = "-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg" 23PACKAGECONFIG[openjpeg] = "-DENABLE_LIBOPENJPEG=openjpeg2,-DENABLE_LIBOPENJPEG=none,openjpeg"
25PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native" 24PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF,qtbase qttools-native"
26PACKAGECONFIG[nss] = "-DWITH_NSS3=ON,-DWITH_NSS3=OFF,nss" 25PACKAGECONFIG[nss] = "-DENABLE_NSS3=ON,-DENABLE_NSS3=OFF,nss"
27PACKAGECONFIG[splash] = "-DENABLE_SPLASH=ON -DENABLE_BOOST=ON,-DENABLE_SPLASH=OFF -DENABLE_BOOST=OFF,boost" 26PACKAGECONFIG[gpgme] = "-DENABLE_GPGME=ON,-DENABLE_GPGME=OFF,gpgme"
27PACKAGECONFIG[qt6] = "-DENABLE_QT6=ON,-DENABLE_QT6=OFF,qtbase"
28 28
29# surprise - did not expect this to work :) 29# surprise - did not expect this to work :)
30inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)} 30inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)}
@@ -32,10 +32,9 @@ inherit ${@bb.utils.contains('PACKAGECONFIG', 'qt5', 'cmake_qt5', '', d)}
32SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" 32SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
33 33
34EXTRA_OECMAKE += " \ 34EXTRA_OECMAKE += " \
35 -DENABLE_CMS=lcms2 \ 35 -DENABLE_LCMS=ON \
36 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ 36 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
37 -DBUILD_GTK_TESTS=OFF \ 37 -DBUILD_GTK_TESTS=OFF \
38 -DENABLE_ZLIB=ON \
39 -DRUN_GPERF_IF_PRESENT=OFF \ 38 -DRUN_GPERF_IF_PRESENT=OFF \
40 -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \ 39 -DCMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES:PATH='${STAGING_INCDIR}' \
41 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \ 40 ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-DENABLE_GOBJECT_INTROSPECTION=ON', '-DENABLE_GOBJECT_INTROSPECTION=OFF', d)} \
diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb b/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb
index 2bf4d0a449..4451e96307 100644
--- a/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb
+++ b/meta-oe/recipes-support/portaudio/portaudio-v19_19.7.0.bb
@@ -8,7 +8,6 @@ PV .= "+git"
8SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/PortAudio/portaudio.git;branch=master;protocol=https"
9SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97" 9SRCREV = "929e2e8f7af281c5eb4fa07758930d542ec43d97"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake pkgconfig 12inherit cmake pkgconfig
14 13
diff --git a/meta-oe/recipes-support/pps-tools/pps-tools/0001-Use-lld-in-printf-for-64-bit-time_t.patch b/meta-oe/recipes-support/pps-tools/pps-tools/0001-Use-lld-in-printf-for-64-bit-time_t.patch
new file mode 100644
index 0000000000..058217d68d
--- /dev/null
+++ b/meta-oe/recipes-support/pps-tools/pps-tools/0001-Use-lld-in-printf-for-64-bit-time_t.patch
@@ -0,0 +1,59 @@
1From 6faed0a3b41fba4619fe4598a2834dfb4d2be7e4 Mon Sep 17 00:00:00 2001
2From: Matt Merhar <mattmerhar@protonmail.com>
3Date: Fri, 10 Nov 2023 17:21:51 -0500
4Subject: [PATCH] Use %lld in printf for 64-bit time_t
5
6musl 1.2.0 switched to use 64-bit time_t everywhere, including 32-bit
7architectures, causing garbage values to be printed from ppswatch and
8ppstest.
9
10Use the correct format string for the affected printf statements and
11explicitly cast to long long to avoid potential compatibility issues
12with 32-bit glibc.
13
14Upstream-Status: Backport [https://github.com/redlab-i/pps-tools/commit/6faed0a3b41fba4619fe4598a2834dfb4d2be7e4]
15
16Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
17---
18 ppstest.c | 8 ++++----
19 ppswatch.c | 2 +-
20 2 files changed, 5 insertions(+), 5 deletions(-)
21
22diff --git a/ppstest.c b/ppstest.c
23index 0370794..c375a09 100644
24--- a/ppstest.c
25+++ b/ppstest.c
26@@ -110,13 +110,13 @@ retry:
27 }
28
29 printf("source %d - "
30- "assert %ld.%09ld, sequence: %ld - "
31- "clear %ld.%09ld, sequence: %ld\n",
32+ "assert %lld.%09ld, sequence: %ld - "
33+ "clear %lld.%09ld, sequence: %ld\n",
34 i,
35- infobuf.assert_timestamp.tv_sec,
36+ (long long)infobuf.assert_timestamp.tv_sec,
37 infobuf.assert_timestamp.tv_nsec,
38 infobuf.assert_sequence,
39- infobuf.clear_timestamp.tv_sec,
40+ (long long)infobuf.clear_timestamp.tv_sec,
41 infobuf.clear_timestamp.tv_nsec, infobuf.clear_sequence);
42 fflush(stdout);
43
44diff --git a/ppswatch.c b/ppswatch.c
45index 5c6202b..15d7a77 100644
46--- a/ppswatch.c
47+++ b/ppswatch.c
48@@ -148,7 +148,7 @@ int fetch_source(pps_handle_t handle, int avail_mode)
49 if (max_divergence < div)
50 max_divergence = div;
51 if (div >= margin) {
52- printf("timestamp: %ld, sequence: %ld, offset: % 6ld\n", ts.tv_sec, seq, ts.tv_nsec);
53+ printf("timestamp: %lld, sequence: %ld, offset: % 6ld\n", (long long)ts.tv_sec, seq, ts.tv_nsec);
54 fflush(stdout);
55 overflows++;
56 curr_unsync++;
57--
582.47.1
59
diff --git a/meta-oe/recipes-support/pps-tools/pps-tools_1.0.3.bb b/meta-oe/recipes-support/pps-tools/pps-tools_1.0.3.bb
index 65c06c1bd5..65caa05a13 100644
--- a/meta-oe/recipes-support/pps-tools/pps-tools_1.0.3.bb
+++ b/meta-oe/recipes-support/pps-tools/pps-tools_1.0.3.bb
@@ -5,9 +5,10 @@ LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6 6
7SRCREV = "c50cb7183e252b47308fa22f420e0a877277aa29" 7SRCREV = "c50cb7183e252b47308fa22f420e0a877277aa29"
8SRC_URI = "git://github.com/ago/pps-tools.git;branch=master;protocol=https" 8SRC_URI = "git://github.com/ago/pps-tools.git;branch=master;protocol=https \
9 file://0001-Use-lld-in-printf-for-64-bit-time_t.patch \
10 "
9 11
10S = "${WORKDIR}/git"
11 12
12RDEPENDS:${PN} = "bash" 13RDEPENDS:${PN} = "bash"
13 14
diff --git a/meta-oe/recipes-support/procmail/procmail/0001-fix-too-many-arguments-issue.patch b/meta-oe/recipes-support/procmail/procmail/0001-fix-too-many-arguments-issue.patch
new file mode 100644
index 0000000000..9b98720b2e
--- /dev/null
+++ b/meta-oe/recipes-support/procmail/procmail/0001-fix-too-many-arguments-issue.patch
@@ -0,0 +1,88 @@
1From 6f00795de8623347580c4366cb517a6653f73ca4 Mon Sep 17 00:00:00 2001
2From: Liu Yiding <liuyd.fnst@fujitsu.com>
3Date: Mon, 9 Jun 2025 08:01:39 +0000
4Subject: [PATCH] fix too many arguments issue
5
6fix issue like:
7| procmail.c:76:12: error: too many arguments to function 'auth_finduid'; expected 0, have 2
8| 76 | if(tpass=auth_finduid(uid,0)) /* save by copying */
9| | ^~~~~~~~~~~~ ~~~
10| In file included from procmail.c:36:
11| authenticate.h:15:3: note: declared here
12| 15 | *auth_finduid Q((const uid_t uid,const int sock));
13| --
14| procmail.c:212:9: error: too many arguments to function 'checkprivFrom_'; expected 0, have 3
15| 212 | checkprivFrom_(euid,passinvk?auth_username(passinvk):0,override);
16| | ^~~~~~~~~~~~~~ ~~~~
17| In file included from procmail.c:41:
18| from.h:9:2: note: declared here
19| 9 | checkprivFrom_ Q((uid_t euid,const char*logname,int override));
20| --
21| procmail.c:213:9: error: too many arguments to function 'doumask'; expected 0, have 1
22| 213 | doumask(INIT_UMASK); /* allowed to set the From_ line? */
23| | ^~~~~~~
24| In file included from procmail.c:23:
25| robust.h:12:2: note: declared here
26| 12 | doumask Q((const mode_t mask));
27
28Upstream-Status: Submitted [https://github.com/BuGlessRB/procmail/pull/11]
29Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
30---
31 src/authenticate.h | 2 +-
32 src/exopen.c | 2 +-
33 src/includes.h | 2 +-
34 src/misc.h | 1 +
35 4 files changed, 4 insertions(+), 3 deletions(-)
36
37diff --git a/src/authenticate.h b/src/authenticate.h
38index be9d88d..31e665a 100644
39--- a/src/authenticate.h
40+++ b/src/authenticate.h
41@@ -7,7 +7,7 @@ typedef struct auth_identity auth_identity;
42
43 #ifndef P
44 #define P(x) x
45-#define Q(x) ()
46+#define Q(x) x
47 #endif
48
49 /*const*/auth_identity
50diff --git a/src/exopen.c b/src/exopen.c
51index c7647e5..46e3467 100644
52--- a/src/exopen.c
53+++ b/src/exopen.c
54@@ -51,7 +51,7 @@ static const char*safehost P((void)) /* return a hostname safe for filenames */
55 return sname;
56 }
57
58-int unique(full,p,len,mode,verbos,flags)char*const full;char*p;
59+int unique(full,p,len,mode,verbos,flags)const char*const full;char*p;
60 const size_t len;const mode_t mode;const int verbos,flags;
61 { static const char s2c[]=".,+%";static int serial=STRLEN(s2c);
62 static time_t t;char*dot,*end,*host;struct stat filebuf;
63diff --git a/src/includes.h b/src/includes.h
64index 7d6b41f..134805b 100644
65--- a/src/includes.h
66+++ b/src/includes.h
67@@ -530,7 +530,7 @@ extern void*memmove();
68 * problems caused by one of those types being shorter than int and thereby
69 * being passed differently under ANSI rules.
70 */
71-#define Q(args) ()
72+#define Q(args) args
73
74 #ifdef oBRAIN_DAMAGE
75 #undef oBRAIN_DAMAGE
76diff --git a/src/misc.h b/src/misc.h
77index 4f62ebc..659dfcb 100644
78--- a/src/misc.h
79+++ b/src/misc.h
80@@ -1,4 +1,5 @@
81 /*$Id: misc.h,v 1.56 2001/06/30 01:14:19 guenther Exp $*/
82+#include "authenticate.h"
83
84 struct dyna_array{int filled,tspace;char*vals;};
85 union offori{off_t o;int i;};
86--
872.43.0
88
diff --git a/meta-oe/recipes-support/procmail/procmail/0001-fix-uname-declaration.patch b/meta-oe/recipes-support/procmail/procmail/0001-fix-uname-declaration.patch
new file mode 100644
index 0000000000..adbc4f584a
--- /dev/null
+++ b/meta-oe/recipes-support/procmail/procmail/0001-fix-uname-declaration.patch
@@ -0,0 +1,27 @@
1From a9e57d4048c94f6bc2533ccc41e6c35d4416571a Mon Sep 17 00:00:00 2001
2From: Liu Yiding <liuyd.fnst@fujitsu.com>
3Date: Mon, 9 Jun 2025 06:44:06 +0000
4Subject: [PATCH] fix uname declaration
5
6Upstream-Status: Submitted [https://github.com/BuGlessRB/procmail/pull/11]
7Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
8---
9 src/includes.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/includes.h b/src/includes.h
13index 4466907..7d6b41f 100644
14--- a/src/includes.h
15+++ b/src/includes.h
16@@ -331,7 +331,7 @@ extern int errno;
17
18 #ifndef NOuname
19 #ifndef P /* SINIX V5.23 has the wrong prototype for uname() */
20-extern int uname(); /* so we fix it :-) */
21+extern int uname(struct utsname *);
22 #define Uname(name) ((int(*)(struct utsname*))uname)(name)
23 #else
24 #define Uname(name) uname(name) /* no fix needed */
25--
262.43.0
27
diff --git a/meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch b/meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch
new file mode 100644
index 0000000000..b041924361
--- /dev/null
+++ b/meta-oe/recipes-support/procmail/procmail/CVE-2014-3618.patch
@@ -0,0 +1,29 @@
1Description: Fix heap-overflow in formail
2 CVE-2014-3618: Heap-overflow in formail when processing
3 specially-crafted email headers.
4Origin: http://www.openwall.com/lists/oss-security/2014/09/03/8
5Bug-Debian: https://bugs.debian.org/704675
6Bug-Debian: https://bugs.debian.org/760443
7Forwarded: not-needed
8Last-Update: 2014-09-04
9
10CVE: CVE-2014-3618
11Upstream-Status: Inactive-Upstream [lastrelease: 2001]
12Signed-off-by: Peter Marko <peter.marko@siemens.com>
13
14--- a/src/formisc.c
15+++ b/src/formisc.c
16@@ -84,12 +84,11 @@ normal: *target++= *start++;
17 case '"':*target++=delim='"';start++;
18 }
19 ;{ int i;
20- do
21+ while(*start)
22 if((i= *target++= *start++)==delim) /* corresponding delimiter? */
23 break;
24 else if(i=='\\'&&*start) /* skip quoted character */
25 *target++= *start++;
26- while(*start); /* anything? */
27 }
28 hitspc=2;
29 }
diff --git a/meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch b/meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch
new file mode 100644
index 0000000000..6e04989c33
--- /dev/null
+++ b/meta-oe/recipes-support/procmail/procmail/CVE-2017-16844.patch
@@ -0,0 +1,20 @@
1From: Santiago Vila <sanvila@debian.org>
2Subject: Fix heap-based buffer overflow in loadbuf()
3Bug-Debian: http://bugs.debian.org/876511
4X-Debian-version: 3.22-26
5
6CVE: CVE-2017-16844
7Upstream-Status: Inactive-Upstream [lastrelease: 2001]
8Signed-off-by: Peter Marko <peter.marko@siemens.com>
9
10--- a/src/formisc.c
11+++ b/src/formisc.c
12@@ -103,7 +103,7 @@
13 }
14 /* append to buf */
15 void loadbuf(text,len)const char*const text;const size_t len;
16-{ if(buffilled+len>buflen) /* buf can't hold the text */
17+{ while(buffilled+len>buflen) /* buf can't hold the text */
18 buf=realloc(buf,buflen+=Bsize);
19 tmemmove(buf+buffilled,text,len);buffilled+=len;
20 }
diff --git a/meta-oe/recipes-support/procmail/procmail/gcc14.patch b/meta-oe/recipes-support/procmail/procmail/gcc14.patch
new file mode 100644
index 0000000000..5ca56fa006
--- /dev/null
+++ b/meta-oe/recipes-support/procmail/procmail/gcc14.patch
@@ -0,0 +1,127 @@
1From: Santiago Vila <sanvila@debian.org>
2Subject: Fix build with gcc-14
3Bug-Debian: https://bugs.debian.org/1075398
4
5Upstream-Status: Pending
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7--- a/initmake
8+++ b/initmake
9@@ -124,7 +124,7 @@ else
10 fi
11
12 cat >_autotst.c <<HERE
13-main()
14+int main()
15 { return 0;
16 }
17 HERE
18@@ -200,7 +200,7 @@ cat >_autotst.c <<HERE
19 #include <sys/types.h>
20 #include <stdio.h>
21 #include <sys/stat.h>
22-main()
23+int main()
24 { struct stat buf;return!&buf;
25 }
26 HERE
27--- a/src/autoconf
28+++ b/src/autoconf
29@@ -414,6 +414,12 @@ cat >_autotst.c <<HERE
30 int dolock,child[NR_of_forks],timeout,fdcollect;
31 char dirlocktest[]="_locktest";
32
33+#include <stdlib.h>
34+int killchildren();
35+int fdlock(int fd);
36+int sfdlock(int fd);
37+int fdunlock();
38+
39 void stimeout()
40 { timeout=1;close(fdcollect);killchildren();
41 }
42@@ -435,7 +441,7 @@ unsigned sfork()
43 return pid;
44 }
45
46-int main(argc,argv)char*argv[];
47+int main(int argc,char*argv[])
48 { int goodlock,testlock,i,pip[2],pipw[2];time_t otimet;unsigned dtimet;
49 static char filename[]="_locktst.l0";
50 close(0);goodlock=0;testlock=FIRST_lock;signal(SIGPIPE,SIG_DFL);
51@@ -585,13 +591,13 @@ int killchildren()
52 return 0;
53 }
54
55-int sfdlock(fd)
56+int sfdlock(int fd)
57 { int i;unsigned gobble[GOBBLE>>2];
58 for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
59 return fdlock(fd);
60 }
61
62-static oldfdlock;
63+static int oldfdlock;
64 #ifdef F_SETLKW
65 static struct flock flck; /* why can't it be a local variable? */
66 #endif
67@@ -599,7 +605,7 @@ static struct flock flck; /* why can't
68 static off_t oldlockoffset;
69 #endif
70
71-int fdlock(fd)
72+int fdlock(int fd)
73 { int i;unsigned gobble[GOBBLE>>2];
74 for(i=GOBBLE>>2;i;gobble[--i]=~(unsigned)0); /* SunOS crash test */
75 oldfdlock=fd;fd=0;
76@@ -993,11 +999,11 @@ int main(){int i;i=1;
77 i+=WIFEXITED(i);
78 i+=WIFSTOPPED(i);
79 i+=WEXITSTATUS(i);
80- i+=WSIGTERM(i);
81+ i+=WTERMSIG(i);
82 return i;}
83 HERE
84
85-echo 'Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM()'
86+echo 'Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WTERMSIG()'
87 if $MAKE _autotst.$O >_autotst.rrr 2>&1
88 then
89 $FGREP -v include/ <_autotst.rrr >_autotst.$O
90@@ -1029,6 +1035,8 @@ cat >_autotst.c <<HERE
91 #ifndef NO_COMSAT
92 #include "network.h"
93 #endif
94+int setrgid();
95+int setresgid();
96 int main(){char a[2];
97 endpwent();endgrent();memmove(a,"0",1);bcopy("0",a,1);strcspn(a,"0");
98 strtol("0",(char**)0,10);strchr("0",'0');strpbrk(a,"0");rename(a,"0");
99@@ -1059,7 +1067,7 @@ echo 'Testing for memmove, strchr, strpb
100 echo ' rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync,'
101 echo ' ftruncate, strtod, strncasecmp, strerror, strlcat,'
102 echo ' memset, bzero, and _exit'
103-if $MAKE _autotst.$O >$DEVNULL 2>&1
104+if $MAKE _autotst.$O >_autotst.rrr 2>&1
105 then
106 :
107 else
108@@ -1196,7 +1204,7 @@ unsigned long dobench(strstr,iter,haysta
109 return (unsigned long)clock()-to;
110 }
111 #endif
112-int main(argc,argv)int argc;const char*argv[];
113+int main(int argc,const char*argv[])
114 { if(argc==1)
115 { char*haystack;
116 #ifdef BENCHSIZE
117--- a/src/mailfold.c
118+++ b/src/mailfold.c
119@@ -378,7 +378,7 @@ void concon(ch)const int ch; /* flip b
120 }
121 }
122
123-void readmail(rhead,tobesent)const long tobesent;
124+void readmail(int rhead,const long tobesent)
125 { char*chp,*pastend;static size_t contlengthoffset;
126 ;{ long dfilled;
127 if(rhead==2) /* already read, just examine what we have */
diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb
index 16917666a4..47c8310eaf 100644
--- a/meta-oe/recipes-support/procmail/procmail_3.22.bb
+++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb
@@ -12,8 +12,13 @@ SRC_URI = "http://www.ring.gr.jp/archives/net/mail/${BPN}/${BP}.tar.gz \
12 file://from-debian-to-fix-compile-errors.patch \ 12 file://from-debian-to-fix-compile-errors.patch \
13 file://from-debian-to-modify-parameters.patch \ 13 file://from-debian-to-modify-parameters.patch \
14 file://from-debian-to-fix-man-file.patch \ 14 file://from-debian-to-fix-man-file.patch \
15 file://man-file-mailstat.1-from-debian.patch" 15 file://man-file-mailstat.1-from-debian.patch \
16SRC_URI[md5sum] = "1678ea99b973eb77eda4ecf6acae53f1" 16 file://CVE-2014-3618.patch \
17 file://CVE-2017-16844.patch \
18 file://gcc14.patch \
19 file://0001-fix-uname-declaration.patch \
20 file://0001-fix-too-many-arguments-issue.patch \
21"
17SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117" 22SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117"
18 23
19LICENSE = "GPL-2.0-only & Artistic-1.0" 24LICENSE = "GPL-2.0-only & Artistic-1.0"
@@ -22,6 +27,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a71e50e197a992c862379e576e669757 \
22 27
23DEPENDS = "libnet" 28DEPENDS = "libnet"
24inherit autotools-brokensep 29inherit autotools-brokensep
30
25do_configure() { 31do_configure() {
26 find examples -type f | xargs chmod 644 32 find examples -type f | xargs chmod 644
27 export CC="${BUILD_CC}" 33 export CC="${BUILD_CC}"
@@ -33,7 +39,7 @@ do_configure() {
33} 39}
34 40
35do_compile() { 41do_compile() {
36 oe_runmake -i TARGET_CFLAGS="$TARGET_CFLAGS -Wno-comments -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" 42 oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-int -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}"
37} 43}
38 44
39do_install() { 45do_install() {
diff --git a/meta-oe/recipes-support/psutils/psutils_2.10.bb b/meta-oe/recipes-support/psutils/psutils_2.10.bb
index 1f1894a5f2..14792acaa5 100644
--- a/meta-oe/recipes-support/psutils/psutils_2.10.bb
+++ b/meta-oe/recipes-support/psutils/psutils_2.10.bb
@@ -6,7 +6,7 @@ SRC_URI[sha256sum] = "6f8339fd5322df5c782bfb355d9f89e513353220fca0700a5a28775404
6 6
7inherit perlnative autotools 7inherit perlnative autotools
8 8
9export PERL="/usr/bin/env perl" 9export PERL = "/usr/bin/env perl"
10 10
11DEPENDS += "libpaper-native" 11DEPENDS += "libpaper-native"
12 12
diff --git a/meta-oe/recipes-support/pv/pv/0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch b/meta-oe/recipes-support/pv/pv/0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch
deleted file mode 100644
index c51fb1cfdb..0000000000
--- a/meta-oe/recipes-support/pv/pv/0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From c5cd932fb08e7ce90cdbf9ae6c5cc7e65ac0738e Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Michael=20Wei=C3=9F?= <michael.weiss@aisec.fraunhofer.de>
3Date: Tue, 9 May 2023 20:00:26 +0200
4Subject: [PATCH] pv/display: handle error of tcgetpgrp() in pv_in_foreground()
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Show pv progress bar even if no terminal is set, e.g., in a busybox
10init script. The description of pv_in_forground() states it will
11return true "if we aren't outputting to a terminal". However, this
12is not the case since tcgetpgrg() will return an error and set ERRNO
13to ENOTTY if the output fd is not an tty. We now handle this error
14correctly and pv_in_foreground() returns also true in that case.
15
16Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
17---
18Upstream-Status: Pending
19
20 src/pv/display.c | 4 ++++
21 1 file changed, 4 insertions(+)
22
23diff --git a/src/pv/display.c b/src/pv/display.c
24index aff643b..8d1f4c9 100644
25--- a/src/pv/display.c
26+++ b/src/pv/display.c
27@@ -48,6 +48,10 @@ bool pv_in_foreground(void)
28
29 our_process_group = getpgrp();
30 tty_process_group = tcgetpgrp(STDERR_FILENO);
31+
32+ if (tty_process_group == -1 && errno == ENOTTY)
33+ return true;
34+
35 if (our_process_group == tty_process_group)
36 return true;
37
38--
392.30.2
40
diff --git a/meta-oe/recipes-support/pv/pv/pv-test-system-version.patch b/meta-oe/recipes-support/pv/pv/pv-test-system-version.patch
new file mode 100644
index 0000000000..f5e2b05768
--- /dev/null
+++ b/meta-oe/recipes-support/pv/pv/pv-test-system-version.patch
@@ -0,0 +1,18 @@
1Use the version of pv installed on the system rather than the ./pv from
2the development tree as is done when running 'make check'.
3
4Upstream-Status: Inappropriate [x-compile specific]
5
6---
7diff -Naur pv-1.9.31.orig/tests/test-env.sh pv-1.9.31/tests/test-env.sh
8--- pv-1.9.31.orig/tests/test-env.sh 2024-12-07 08:59:43.000000000 -0500
9+++ pv-1.9.31/tests/test-env.sh 2025-03-26 14:11:30.987123378 -0400
10@@ -9,7 +9,7 @@
11 true "${srcdir:?not set - call this from 'make check'}"
12
13 # Parameters.
14-testSubject="./pv"
15+testSubject="pv"
16 sourcePath="${srcdir}"
17
18 # Set everything to the "C" locale.
diff --git a/meta-oe/recipes-support/pv/pv/run-ptest b/meta-oe/recipes-support/pv/pv/run-ptest
index 3f5956f4c0..b0370e0a99 100644
--- a/meta-oe/recipes-support/pv/pv/run-ptest
+++ b/meta-oe/recipes-support/pv/pv/run-ptest
@@ -1,7 +1,22 @@
1#!/bin/sh 1#!/bin/sh
2 2
3rm -rf tests.log 3srcdir=/usr/lib/pv/ptest
4sh -e run-test.sh pv . > tests.log 2>&1 4export srcdir
5sed -e 's|\(.*\):.*OK|PASS: \1|' \ 5
6 -e 's|\(.*\):.*FAILED|FAIL: \1|' \ 6source tests/test-env.sh
7 tests.log 7
8num_fail=0
9
10# all pv tests are capitalized
11for test in tests/[A-Z]*
12do
13 ./"$test" \
14 && echo "PASS: $test" \
15 || {
16 echo "FAIL: $test"
17 num_fail=$(( ${num_fail} + 1))
18 }
19
20done
21
22exit $num_fail
diff --git a/meta-oe/recipes-support/pv/pv_1.6.20.bb b/meta-oe/recipes-support/pv/pv_1.6.20.bb
deleted file mode 100644
index 6a739af927..0000000000
--- a/meta-oe/recipes-support/pv/pv_1.6.20.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1SUMMARY = "Terminal-based tool for monitoring the progress of data through a pipeline"
2HOMEPAGE = "http://www.ivarch.com/programs/pv.shtml"
3
4LICENSE = "Artistic-2.0"
5LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02"
6
7SRC_URI = "https://www.ivarch.com/programs/sources/${BP}.tar.bz2 \
8 file://0001-pv-display-handle-error-of-tcgetpgrp-in-pv_in_foregr.patch \
9 file://run-ptest \
10"
11SRC_URI[sha256sum] = "e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603"
12
13UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
14UPSTREAM_CHECK_REGEX = "pv-(?P<pver>\d+(\.\d+)+).tar.bz2"
15
16inherit autotools ptest
17
18LDEMULATION:mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}"
19export LDEMULATION
20
21RDEPENDS:${PN}-ptest += "coreutils ${PN}"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests
26 cp -r ${S}/autoconf/scripts/run-test.sh ${D}${PTEST_PATH}
27 # sed -i -e 's@\$SRCDIR/@./@g' ${D}${PTEST_PATH}/run-ptest
28}
diff --git a/meta-oe/recipes-support/pv/pv_1.9.31.bb b/meta-oe/recipes-support/pv/pv_1.9.31.bb
new file mode 100644
index 0000000000..578012fcfd
--- /dev/null
+++ b/meta-oe/recipes-support/pv/pv_1.9.31.bb
@@ -0,0 +1,65 @@
1SUMMARY = "Terminal-based tool for monitoring the progress of data through a pipeline"
2HOMEPAGE = "http://www.ivarch.com/programs/pv.shtml"
3
4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://docs/COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
6
7SRC_URI = "https://www.ivarch.com/programs/sources/${BP}.tar.gz \
8 file://pv-test-system-version.patch \
9 file://run-ptest \
10"
11SRC_URI[sha256sum] = "a35e92ec4ac0e8f380e8e840088167ae01014bfa008a3a9d6506b848079daedf"
12
13UPSTREAM_CHECK_URI = "http://www.ivarch.com/programs/pv.shtml"
14UPSTREAM_CHECK_REGEX = "pv-(?P<pver>\d+(\.\d+)+).tar"
15
16inherit autotools gettext ptest
17
18LDEMULATION:mipsarchn32 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'elf32btsmipn32', 'elf32ltsmipn32', d)}"
19export LDEMULATION
20
21# for ptests
22VALGRIND = "valgrind"
23
24# valgrind supports armv7 and above
25VALGRIND:armv4 = ''
26VALGRIND:armv5 = ''
27VALGRIND:armv6 = ''
28
29# X32 isn't supported by valgrind at this time
30VALGRIND:linux-gnux32 = ''
31VALGRIND:linux-muslx32 = ''
32
33# Disable for some MIPS variants
34VALGRIND:mipsarchr6 = ''
35VALGRIND:linux-gnun32 = ''
36
37# Disable for powerpc64 with musl
38VALGRIND:libc-musl:powerpc64 = ''
39VALGRIND:libc-musl:powerpc64le = ''
40
41# RISC-V support for valgrind is not there yet
42VALGRIND:riscv64 = ""
43VALGRIND:riscv32 = ""
44
45RDEPENDS:${PN}-ptest += "bash coreutils tmux ${VALGRIND}"
46RDEPENDS:${PN}-ptest:append:libc-musl = " musl-locales"
47RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-binary-localedata-c"
48
49do_install_ptest() {
50 testsdir=${D}${PTEST_PATH}/tests
51 install -d ${testsdir}
52 cp -r ${S}/tests/* ${testsdir}
53 #
54 # remove self-hosted install test
55 rm -f ${testsdir}/Bug_-_Install_all_files.test
56 # skip the failing valgrind tests for now (March 2025).
57 # See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15817
58 rm -f ${testsdir}/Memory*
59 # test requires at least 3GB free on /tmp
60 rm -f ${testsdir}/Integrity_-_Large_file_support.test
61 # fails due to our prompt:
62 rm -f ${testsdir}/Terminal_-_Detect_width.test
63 #
64 # sed -i -e 's@\$SRCDIR/@./@g' ${D}${PTEST_PATH}/run-ptest
65}
diff --git a/meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb b/meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb
index 09534c44fd..ff4668ecde 100644
--- a/meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb
+++ b/meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb
@@ -9,8 +9,7 @@ SRC_URI = "file://pxaregs.c \
9 file://serial.patch \ 9 file://serial.patch \
10 file://usb.patch " 10 file://usb.patch "
11 11
12S = "${WORKDIR}/sources" 12S = "${UNPACKDIR}"
13UNPACKDIR = "${S}"
14 13
15do_compile() { 14do_compile() {
16 ${CC} pxaregs.c -o pxaregs ${CFLAGS} ${LDFLAGS} 15 ${CC} pxaregs.c -o pxaregs ${CFLAGS} ${LDFLAGS}
@@ -21,5 +20,4 @@ do_install() {
21 install -m 0755 pxaregs ${D}${sbindir}/ 20 install -m 0755 pxaregs ${D}${sbindir}/
22} 21}
23 22
24SRC_URI[md5sum] = "a43baa88842cd5926dbffb6fb87624f6"
25SRC_URI[sha256sum] = "f339b91cd8ab348052c36b36d20033e4bffc3666bc836ff72d5704f025e1c057" 23SRC_URI[sha256sum] = "f339b91cd8ab348052c36b36d20033e4bffc3666bc836ff72d5704f025e1c057"
diff --git a/meta-oe/recipes-support/raptor2/raptor2/raptor-2.0.16-dont_use_curl-config.patch b/meta-oe/recipes-support/raptor2/raptor2/raptor-2.0.16-dont_use_curl-config.patch
new file mode 100644
index 0000000000..b12beff6cb
--- /dev/null
+++ b/meta-oe/recipes-support/raptor2/raptor2/raptor-2.0.16-dont_use_curl-config.patch
@@ -0,0 +1,73 @@
1Do not use curl-config
2
3Sourced from
4https://bugs.gentoo.org/552474
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8--- a/configure.ac
9+++ b/configure.ac
10@@ -596,49 +596,12 @@ else
11 PKG_CHECK_MODULES([XSLT], [libxslt > $libxslt_min_version], [have_libxslt=1], [have_libxslt=0])
12 fi
13
14-dnl curl
15-AC_ARG_WITH(curl-config, [ --with-curl-config=PATH Location of libcurl curl-config []], curl_config="$withval", curl_config="")
16-
17-if test "X$curl_config" != "Xno" ; then
18- if test "X$curl_config" != "X" ; then
19- AC_MSG_CHECKING(for $curl_config)
20-
21- if test -f $curl_config ; then
22- CURL_CONFIG=$curl_config
23- AC_MSG_RESULT(yes)
24- else
25- AC_MSG_RESULT(no - searching PATH)
26- fi
27- fi
28- if test "X$CURL_CONFIG" = "X" ; then
29- AC_CHECK_PROGS(CURL_CONFIG, curl-config)
30- fi
31-fi
32-
33 libcurl_source=no
34-if test "X$CURL_CONFIG" != "X"; then
35- LIBCURL_CFLAGS=`$CURL_CONFIG --cflags`
36- LIBCURL_LIBS=`$CURL_CONFIG --libs`
37-
38- CPPFLAGS="$LIBCURL_CFLAGS $CPPFLAGS"
39- LIBS="$LIBS $LIBCURL_LIBS"
40- AC_CHECK_HEADER(curl/curl.h)
41- AC_CHECK_FUNC(curl_easy_init, have_curl_easy_init=yes, have_curl_easy_init=no)
42-
43- AC_MSG_CHECKING(for libcurl via curl-config)
44- if test $have_curl_easy_init = yes; then
45- libcurl_source="curl-config"
46- LIBCURL_VERSION=`$CURL_CONFIG --version | sed -e 's/^libcurl *//'`
47- fi
48- CPPFLAGS="$oCPPFLAGS"
49- LIBS="$oLIBS"
50-else
51- PKG_CHECK_MODULES([LIBCURL],[libcurl],[
52- LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion`
53- libcurl_source="pkg-config"
54- ], [:])
55- AC_MSG_CHECKING(for libcurl via pkg-config)
56-fi
57+PKG_CHECK_MODULES([LIBCURL],[libcurl],[
58+ LIBCURL_VERSION=`$PKG_CONFIG libcurl --modversion`
59+ libcurl_source="pkg-config"
60+], [:])
61+AC_MSG_CHECKING(for libcurl via pkg-config)
62
63 if test "$libcurl_source" = "no"; then
64 AC_MSG_RESULT(no - not found)
65@@ -1033,7 +996,7 @@ need_libcurl=0
66 need_libxml_www=0
67 need_libfetch=0
68
69-if test "X$CURL_CONFIG" != X; then
70+if test "$libcurl_source" != "no"; then
71 CPPFLAGS="$CPPFLAGS $LIBCURL_CFLAGS"
72 LIBS="$LIBS $LIBCURL_LIBS"
73 AC_CHECK_HEADER(curl/curl.h)
diff --git a/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb b/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
index 85012bcfb3..7014a28c02 100644
--- a/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
+++ b/meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
@@ -7,18 +7,18 @@ LIC_FILES_CHKSUM = " \
7 file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 7 file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
8" 8"
9 9
10DEPENDS = "libxml2 libxslt curl yajl" 10DEPENDS = "bison-native flex-native libxml2 libxslt curl yajl"
11 11
12SRC_URI = " \ 12SRC_URI = " \
13 http://download.librdf.org/source/${BPN}-${PV}.tar.gz \ 13 http://download.librdf.org/source/${BPN}-${PV}.tar.gz \
14 file://0001-Remove-the-access-to-entities-checked-private-symbol.patch \ 14 file://0001-Remove-the-access-to-entities-checked-private-symbol.patch \
15 file://raptor-2.0.16-dont_use_curl-config.patch \
15" 16"
16SRC_URI[sha256sum] = "089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680" 17SRC_URI[sha256sum] = "089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680"
17 18
18inherit autotools pkgconfig gtk-doc 19inherit autotools pkgconfig gtk-doc perlnative
19 20
20EXTRA_OECONF = " \ 21EXTRA_OECONF = " \
21 --without-xml2-config \ 22 --without-xml2-config \
22 --without-curl-config \
23 --without-xslt-config \ 23 --without-xslt-config \
24" 24"
diff --git a/meta-oe/recipes-support/re2/re2_2024.03.01.bb b/meta-oe/recipes-support/re2/re2_2024.03.01.bb
index 76d6f0c7a9..55a834fa42 100644
--- a/meta-oe/recipes-support/re2/re2_2024.03.01.bb
+++ b/meta-oe/recipes-support/re2/re2_2024.03.01.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https \
10 ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \ 10 ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
11 " 11 "
12 12
13S = "${WORKDIR}/git"
14 13
15DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}" 14DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}"
16 15
diff --git a/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb b/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb
index 28da51a21c..5ea0fb852a 100644
--- a/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb
+++ b/meta-oe/recipes-support/read-edid/read-edid_3.0.2.bb
@@ -12,7 +12,6 @@ SRC_URI = "http://polypux.org/projects/read-edid/read-edid-${PV}.tar.gz \
12 file://0001-Do-not-install-license-file.patch \ 12 file://0001-Do-not-install-license-file.patch \
13 file://0001-get-edid-define-quiet-once.patch \ 13 file://0001-get-edid-define-quiet-once.patch \
14 " 14 "
15SRC_URI[md5sum] = "016546e438bf6c98739ff74061df9854"
16SRC_URI[sha256sum] = "c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f" 15SRC_URI[sha256sum] = "c7c6d8440f5b90f98e276829271ccea5b2ff5a3413df8a0f87ec09f834af186f"
17 16
18EXTRA_OECMAKE = "-DCLASSICBUILD=OFF" 17EXTRA_OECMAKE = "-DCLASSICBUILD=OFF"
diff --git a/meta-oe/recipes-support/reboot-mode/reboot-mode_git.bb b/meta-oe/recipes-support/reboot-mode/reboot-mode_git.bb
index c038966ba8..4172de857c 100644
--- a/meta-oe/recipes-support/reboot-mode/reboot-mode_git.bb
+++ b/meta-oe/recipes-support/reboot-mode/reboot-mode_git.bb
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
6SRC_URI = "git://gitlab.com/postmarketOS/reboot-mode.git;protocol=http;branch=master" 6SRC_URI = "git://gitlab.com/postmarketOS/reboot-mode.git;protocol=http;branch=master"
7SRCREV = "84831b20512abd9033414ca5f5a023f333525335" 7SRCREV = "84831b20512abd9033414ca5f5a023f333525335"
8 8
9S = "${WORKDIR}/git" 9
10# Upstream repo has not made releases/tags after 1.0.0
11UPSTREAM_CHECK_COMMITS = "1"
10 12
11do_compile() { 13do_compile() {
12 ${CC} ${CFLAGS} ${LDFLAGS} ${S}/reboot-mode.c -o ${B}/reboot-mode 14 ${CC} ${CFLAGS} ${LDFLAGS} ${S}/reboot-mode.c -o ${B}/reboot-mode
diff --git a/meta-oe/recipes-support/remmina/remmina_1.4.35.bb b/meta-oe/recipes-support/remmina/remmina_1.4.36.bb
index 0cad52df3a..aefd871354 100644
--- a/meta-oe/recipes-support/remmina/remmina_1.4.35.bb
+++ b/meta-oe/recipes-support/remmina/remmina_1.4.36.bb
@@ -25,9 +25,8 @@ DEPENDS = " \
25DEPENDS:append:libc-musl = " libexecinfo" 25DEPENDS:append:libc-musl = " libexecinfo"
26LDFLAGS:append:libc-musl = " -lexecinfo" 26LDFLAGS:append:libc-musl = " -lexecinfo"
27 27
28SRCREV = "2a455eadd6462457d08c2d066c5c245e0dee3bf9" 28SRCREV = "17cf7956b9f925fa788083a2db8d5e669f86bfaf"
29SRC_URI = "git://gitlab.com/Remmina/Remmina;protocol=https;branch=master" 29SRC_URI = "git://gitlab.com/Remmina/Remmina;protocol=https;branch=master"
30S = "${WORKDIR}/git"
31 30
32inherit cmake features_check mime mime-xdg gtk-icon-cache pkgconfig 31inherit cmake features_check mime mime-xdg gtk-icon-cache pkgconfig
33REQUIRED_DISTRO_FEATURES = "x11" 32REQUIRED_DISTRO_FEATURES = "x11"
@@ -44,7 +43,7 @@ do_configure:append() {
44 43
45RDEPENDS:${PN} = "bash" 44RDEPENDS:${PN} = "bash"
46 45
47FILES:${PN}+= " \ 46FILES:${PN} += " \
48 ${datadir}/metainfo \ 47 ${datadir}/metainfo \
49 ${datadir}/mime \ 48 ${datadir}/mime \
50" 49"
diff --git a/meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb b/meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb
index 57b31a78d9..5f4ffcd657 100644
--- a/meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb
+++ b/meta-oe/recipes-support/reptyr/reptyr_0.10.0.bb
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a0555028c71837623fa6dfa4cc45c0"
9SRC_URI = "git://github.com/nelhage/reptyr.git;protocol=https;branch=master" 9SRC_URI = "git://github.com/nelhage/reptyr.git;protocol=https;branch=master"
10SRCREV = "1238097fc2cd15db058d2185cc4985daa87bcd41" 10SRCREV = "1238097fc2cd15db058d2185cc4985daa87bcd41"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit bash-completion github-releases manpages pkgconfig 13inherit bash-completion github-releases manpages pkgconfig
15 14
@@ -27,3 +26,5 @@ do_compile () {
27do_install () { 26do_install () {
28 oe_runmake install 'DESTDIR=${D}' 27 oe_runmake install 'DESTDIR=${D}'
29} 28}
29
30COMPATIBLE_HOST:riscv32 = "null"
diff --git a/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb b/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
index 3cbd04bd5c..8c4183bae3 100644
--- a/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
+++ b/meta-oe/recipes-support/rsnapshot/rsnapshot_git.bb
@@ -29,7 +29,6 @@ SRC_URI = "git://github.com/DrHyde/${BPN};branch=master;protocol=https \
29 file://configure-fix-cmd_rsync.patch \ 29 file://configure-fix-cmd_rsync.patch \
30 " 30 "
31 31
32S = "${WORKDIR}/git"
33 32
34inherit autotools perlnative 33inherit autotools perlnative
35 34
diff --git a/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb b/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb
index d65f5da859..711d4696fd 100644
--- a/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb
+++ b/meta-oe/recipes-support/rtc-tools/rtc-tools_2022.02.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=74274e8a218423e49eefdea80bc55038"
5SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/${BPN}.git;protocol=https;branch=master" 5SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/${BPN}.git;protocol=https;branch=master"
6SRCREV = "61839777afedcc7bdb68ea4628c5ce5ca72c2ac8" 6SRCREV = "61839777afedcc7bdb68ea4628c5ce5ca72c2ac8"
7 7
8S = "${WORKDIR}/git"
9 8
10EXTRA_OEMAKE = "DESTDIR=${D}" 9EXTRA_OEMAKE = "DESTDIR=${D}"
11 10
diff --git a/meta-oe/recipes-support/rtkit/rtkit_0.13.bb b/meta-oe/recipes-support/rtkit/rtkit_0.13.bb
index 4f06e55e8e..b68820dfd6 100644
--- a/meta-oe/recipes-support/rtkit/rtkit_0.13.bb
+++ b/meta-oe/recipes-support/rtkit/rtkit_0.13.bb
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a8e768468b658b3ed44971b53d4a6716"
5SRC_URI = "git://github.com/heftig/rtkit.git;protocol=https;branch=master" 5SRC_URI = "git://github.com/heftig/rtkit.git;protocol=https;branch=master"
6 6
7SRCREV = "b9169402fe5e82d20efb754509eb0b191f214599" 7SRCREV = "b9169402fe5e82d20efb754509eb0b191f214599"
8S = "${WORKDIR}/git"
9 8
10inherit meson pkgconfig features_check useradd 9inherit meson pkgconfig features_check useradd
11 10
diff --git a/meta-oe/recipes-support/sass/libsass_git.bb b/meta-oe/recipes-support/sass/libsass_git.bb
deleted file mode 100644
index f0824944b9..0000000000
--- a/meta-oe/recipes-support/sass/libsass_git.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SUMMARY = "C/C++ port of the Sass CSS precompiler"
2HOMEPAGE = "http://sass-lang.com/libsass"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=8f34396ca205f5e119ee77aae91fa27d"
5
6inherit autotools
7
8SRC_URI = "git://github.com/sass/libsass.git;branch=master;protocol=https"
9SRCREV = "7037f03fabeb2b18b5efa84403f5a6d7a990f460"
10PV = "3.6.6"
11
12S = "${WORKDIR}/git"
13
14BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/sass/sassc_git.bb b/meta-oe/recipes-support/sass/sassc_git.bb
deleted file mode 100644
index 9bb8c76e87..0000000000
--- a/meta-oe/recipes-support/sass/sassc_git.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1SUMMARY = "libsass command line driver "
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=2f8a76980411a3f1f1480b141ce06744"
4
5DEPENDS = "libsass"
6
7inherit autotools pkgconfig
8
9SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https"
10SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
11S = "${WORKDIR}/git"
12PV = "3.6.2"
13
14BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/satyr/satyr_0.43.bb b/meta-oe/recipes-support/satyr/satyr_0.43.bb
index 9e6d701c7f..1976a929bd 100644
--- a/meta-oe/recipes-support/satyr/satyr_0.43.bb
+++ b/meta-oe/recipes-support/satyr/satyr_0.43.bb
@@ -11,7 +11,6 @@ SRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \
11 file://0002-fix-compile-failure-against-musl-C-library.patch \ 11 file://0002-fix-compile-failure-against-musl-C-library.patch \
12 " 12 "
13SRCREV = "5891618d6a95afc4cde6757374485adf9bf0e9a5" 13SRCREV = "5891618d6a95afc4cde6757374485adf9bf0e9a5"
14S = "${WORKDIR}/git"
15 14
16LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 15LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
17 16
diff --git a/meta-oe/recipes-support/sdmon/sdmon_git.bb b/meta-oe/recipes-support/sdmon/sdmon_git.bb
index 81c8033c15..8007ead6c6 100644
--- a/meta-oe/recipes-support/sdmon/sdmon_git.bb
+++ b/meta-oe/recipes-support/sdmon/sdmon_git.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/Ognian/sdmon;protocol=https;branch=master"
9PV = "0.9.0" 9PV = "0.9.0"
10SRCREV = "4dff9b690e8d4454fada6abfbb6b32fcb794968c" 10SRCREV = "4dff9b690e8d4454fada6abfbb6b32fcb794968c"
11 11
12S = "${WORKDIR}/git"
13 12
14do_compile() { 13do_compile() {
15 oe_runmake -C ${S}/src CC="${CC}" CFLAGS="${CFLAGS} -D_REENTRANT -DVERSION=\"\\\"${PV}\\\"\"" LDFLAGS="${LDFLAGS}" 14 oe_runmake -C ${S}/src CC="${CC}" CFLAGS="${CFLAGS} -D_REENTRANT -DVERSION=\"\\\"${PV}\\\"\"" LDFLAGS="${LDFLAGS}"
diff --git a/meta-oe/recipes-support/sdparm/sdparm_1.12.bb b/meta-oe/recipes-support/sdparm/sdparm_1.12.bb
index a5f98e6723..1143d157c9 100644
--- a/meta-oe/recipes-support/sdparm/sdparm_1.12.bb
+++ b/meta-oe/recipes-support/sdparm/sdparm_1.12.bb
@@ -6,7 +6,7 @@ SECTION = "console/utils"
6LICENSE = "BSD-3-Clause" 6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=ecab6c36b7ba82c675581dd0afde36f7 \
8 file://lib/BSD_LICENSE;md5=12cde17a04c30dece2752f36b7192c64" 8 file://lib/BSD_LICENSE;md5=12cde17a04c30dece2752f36b7192c64"
9DEPENDS="sg3-utils" 9DEPENDS = "sg3-utils"
10SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \ 10SRC_URI = "http://sg.danny.cz/sg/p/${BPN}-${PV}.tgz \
11 file://make-sysroot-work.patch \ 11 file://make-sysroot-work.patch \
12 " 12 "
@@ -17,7 +17,6 @@ UPSTREAM_CHECK_REGEX = "sdparm-(?P<pver>\d+(\.\d+)+)\.tgz"
17PACKAGES =+ "${PN}-scripts" 17PACKAGES =+ "${PN}-scripts"
18RDEPENDS:${PN}-scripts += "bash ${PN}" 18RDEPENDS:${PN}-scripts += "bash ${PN}"
19 19
20SRC_URI[md5sum] = "2902fd29e6834fd62c16bb5d1ac53c7e"
21SRC_URI[sha256sum] = "e7f84247069da9a0c293963948d8aba8e5897a13e35e5476c8258acb7ca3a124" 20SRC_URI[sha256sum] = "e7f84247069da9a0c293963948d8aba8e5897a13e35e5476c8258acb7ca3a124"
22 21
23inherit autotools 22inherit autotools
diff --git a/meta-oe/recipes-support/serial-utils/pty-forward-native.bb b/meta-oe/recipes-support/serial-utils/pty-forward-native.bb
index 82994331ee..1d7e29ecc5 100644
--- a/meta-oe/recipes-support/serial-utils/pty-forward-native.bb
+++ b/meta-oe/recipes-support/serial-utils/pty-forward-native.bb
@@ -6,7 +6,7 @@ SRCREV = "00dbec2636ae0385ad028587e20e446272ff97ec"
6PV = "1.1+git" 6PV = "1.1+git"
7 7
8SRC_URI = "git://github.com/freesmartphone/cornucopia.git;protocol=https;branch=master" 8SRC_URI = "git://github.com/freesmartphone/cornucopia.git;protocol=https;branch=master"
9S = "${WORKDIR}/git/tools/serial_forward" 9S = "${UNPACKDIR}/${BP}/tools/serial_forward"
10 10
11inherit autotools native 11inherit autotools native
12 12
diff --git a/meta-oe/recipes-support/serial-utils/serial-forward_git.bb b/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
index 541ae84a93..05e965fc63 100644
--- a/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
+++ b/meta-oe/recipes-support/serial-utils/serial-forward_git.bb
@@ -9,6 +9,6 @@ SRC_URI = "git://github.com/freesmartphone/cornucopia.git;branch=master;protocol
9 file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \ 9 file://0001-serial_forward-Disable-default-static-linking.patch;striplevel=3 \
10 file://0001-correct-the-typo-in-include-file-name-string.h.patch;striplevel=3 \ 10 file://0001-correct-the-typo-in-include-file-name-string.h.patch;striplevel=3 \
11 " 11 "
12S = "${WORKDIR}/git/tools/serial_forward" 12S = "${UNPACKDIR}/${BP}/tools/serial_forward"
13 13
14inherit autotools 14inherit autotools
diff --git a/meta-oe/recipes-support/serial/serial_1.2.1.bb b/meta-oe/recipes-support/serial/serial_1.2.1.bb
index c3f13d1af5..42151da532 100644
--- a/meta-oe/recipes-support/serial/serial_1.2.1.bb
+++ b/meta-oe/recipes-support/serial/serial_1.2.1.bb
@@ -11,7 +11,6 @@ SRC_URI = " \
11SRCREV = "10ac4e1c25c2cda1dc0a32a8e12b87fd89f3bb4f" 11SRCREV = "10ac4e1c25c2cda1dc0a32a8e12b87fd89f3bb4f"
12SRC_URI[sha256sum] = "c8cd235dda2ef7d977ba06dfcb35c35e42f45cfd9149ba3ad257756123d8ff96" 12SRC_URI[sha256sum] = "c8cd235dda2ef7d977ba06dfcb35c35e42f45cfd9149ba3ad257756123d8ff96"
13 13
14S = "${WORKDIR}/git"
15 14
16inherit cmake 15inherit cmake
17 16
diff --git a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.48.bb b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.48.bb
index 6c3d813983..4af20fe72a 100644
--- a/meta-oe/recipes-support/sg3-utils/sg3-utils_1.48.bb
+++ b/meta-oe/recipes-support/sg3-utils/sg3-utils_1.48.bb
@@ -17,6 +17,6 @@ SRC_URI[sha256sum] = "d62b6c3cf20390fa7357044390084166d25f1d932a1135c450b69fe5c2
17 17
18inherit autotools-brokensep 18inherit autotools-brokensep
19 19
20S = "${WORKDIR}/sg3_utils-${PV}" 20S = "${UNPACKDIR}/sg3_utils-${PV}"
21 21
22RDEPENDS:${PN} += "bash" 22RDEPENDS:${PN} += "bash"
diff --git a/meta-oe/recipes-support/sharutils/sharutils/0001-ISO-C23-Backport-stdbool.m4.patch b/meta-oe/recipes-support/sharutils/sharutils/0001-ISO-C23-Backport-stdbool.m4.patch
new file mode 100644
index 0000000000..507c0c99cb
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils/0001-ISO-C23-Backport-stdbool.m4.patch
@@ -0,0 +1,213 @@
1From c349e9656440fcde2f71950d466fcddaa9a59f72 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Fri, 4 Apr 2025 14:19:00 +0900
4Subject: [PATCH 1/3] ISO C23: Backport stdbool.m4
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9From: Petr Písař <ppisar@redhat.com>
10
11The bundled gnulib check for stdbool.h did not account for ISO C23
12which provides its own false and true keywords. As a result stdbool.h
13presence was not correctly detected and libopts/compat/compat.h,
14bundled from AutoGen, failed to compile with GCC 15 which defaults to
15ISO C23:
16
17 In file included from autoopts/project.h:30,
18 from libopts.c:2:
19 ./compat/compat.h:188:19: error: cannot use keyword ‘false’ as enumeration
20constant
21 188 | typedef enum { false = 0, true = 1 } _Bool;
22 | ^~~~~
23 ./compat/compat.h:188:19: note: ‘false’ is a keyword with ‘-std=c23’ onwards
24 ./compat/compat.h:188:41: error: expected ‘;’, identifier or ‘(’ before
25‘_Bool’
26 188 | typedef enum { false = 0, true = 1 } _Bool;
27 | ^~~~~
28
29Signed-off-by: Petr Písař <ppisar@redhat.com>
30
31Upstream-Status: Backport [https://lists.gnu.org/r/bug-gnu-utils/2025-03/msg00002.html]
32Signed-off-by: mark.yang <mark.yang@lge.com>
33---
34 m4/stdbool.m4 | 129 +++++++++++++++++++++++++++++---------------------
35 1 file changed, 74 insertions(+), 55 deletions(-)
36
37diff --git a/m4/stdbool.m4 b/m4/stdbool.m4
38index 7273b82..8e00e4a 100644
39--- a/m4/stdbool.m4
40+++ b/m4/stdbool.m4
41@@ -1,27 +1,40 @@
42 # Check for stdbool.h that conforms to C99.
43
44-dnl Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
45+dnl Copyright (C) 2002-2006, 2009-2023 Free Software Foundation, Inc.
46 dnl This file is free software; the Free Software Foundation
47 dnl gives unlimited permission to copy and/or distribute it,
48 dnl with or without modifications, as long as this notice is preserved.
49
50-#serial 5
51+#serial 10
52
53 # Prepare for substituting <stdbool.h> if it is not supported.
54
55 AC_DEFUN([AM_STDBOOL_H],
56 [
57 AC_REQUIRE([AC_CHECK_HEADER_STDBOOL])
58+ AC_REQUIRE([AC_CANONICAL_HOST])
59
60- # Define two additional variables used in the Makefile substitution.
61-
62+ dnl On some platforms, <stdbool.h> does not exist or does not conform to C99.
63+ dnl On Solaris 10 with CC=cc CXX=CC, <stdbool.h> exists but is not usable
64+ dnl in C++ mode (and no <cstdbool> exists). In this case, we use our
65+ dnl replacement, also in C mode (for binary compatibility between C and C++).
66 if test "$ac_cv_header_stdbool_h" = yes; then
67- STDBOOL_H=''
68+ case "$host_os" in
69+ solaris*)
70+ if test -z "$GCC"; then
71+ GL_GENERATE_STDBOOL_H=true
72+ else
73+ GL_GENERATE_STDBOOL_H=false
74+ fi
75+ ;;
76+ *)
77+ GL_GENERATE_STDBOOL_H=false
78+ ;;
79+ esac
80 else
81- STDBOOL_H='stdbool.h'
82+ GL_GENERATE_STDBOOL_H=true
83 fi
84- AC_SUBST([STDBOOL_H])
85- AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"])
86+ AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test "$GL_GENERATE_STDBOOL_H" = "true"])
87
88 if test "$ac_cv_type__Bool" = yes; then
89 HAVE__BOOL=1
90@@ -31,70 +44,76 @@ AC_DEFUN([AM_STDBOOL_H],
91 AC_SUBST([HAVE__BOOL])
92 ])
93
94-# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future.
95-AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H])
96-
97-# This version of the macro is needed in autoconf <= 2.68.
98+m4_version_prereq([2.72], [], [
99
100 AC_DEFUN([AC_CHECK_HEADER_STDBOOL],
101- [AC_CACHE_CHECK([for stdbool.h that conforms to C99],
102+ [AC_CHECK_TYPES([_Bool])
103+ AC_CACHE_CHECK([for stdbool.h that conforms to C99 or later],
104 [ac_cv_header_stdbool_h],
105 [AC_COMPILE_IFELSE(
106 [AC_LANG_PROGRAM(
107- [[
108- #include <stdbool.h>
109- #ifndef bool
110- "error: bool is not defined"
111+ [[#include <stdbool.h>
112+
113+ /* "true" and "false" should be usable in #if expressions and
114+ integer constant expressions, and "bool" should be a valid
115+ type name.
116+
117+ Although C99 requires bool, true, and false to be macros,
118+ C23 and C++11 overrule that, so do not test for that.
119+ Although C99 requires __bool_true_false_are_defined and
120+ _Bool, C23 says they are obsolescent, so do not require
121+ them. */
122+
123+ #if !true
124+ #error "'true' is not true"
125 #endif
126- #ifndef false
127- "error: false is not defined"
128+ #if true != 1
129+ #error "'true' is not equal to 1"
130 #endif
131+ char b[true == 1 ? 1 : -1];
132+ char c[true];
133+
134 #if false
135- "error: false is not 0"
136+ #error "'false' is not false"
137 #endif
138- #ifndef true
139- "error: true is not defined"
140- #endif
141- #if true != 1
142- "error: true is not 1"
143- #endif
144- #ifndef __bool_true_false_are_defined
145- "error: __bool_true_false_are_defined is not defined"
146+ #if false != 0
147+ #error "'false' is not equal to 0"
148 #endif
149+ char d[false == 0 ? 1 : -1];
150+
151+ enum { e = false, f = true, g = false * true, h = true * 256 };
152+
153+ char i[(bool) 0.5 == true ? 1 : -1];
154+ char j[(bool) 0.0 == false ? 1 : -1];
155+ char k[sizeof (bool) > 0 ? 1 : -1];
156+
157+ struct sb { bool s: 1; bool t; } s;
158+ char l[sizeof s.t > 0 ? 1 : -1];
159
160- struct s { _Bool s: 1; _Bool t; } s;
161-
162- char a[true == 1 ? 1 : -1];
163- char b[false == 0 ? 1 : -1];
164- char c[__bool_true_false_are_defined == 1 ? 1 : -1];
165- char d[(bool) 0.5 == true ? 1 : -1];
166- /* See body of main program for 'e'. */
167- char f[(_Bool) 0.0 == false ? 1 : -1];
168- char g[true];
169- char h[sizeof (_Bool)];
170- char i[sizeof s.t];
171- enum { j = false, k = true, l = false * true, m = true * 256 };
172 /* The following fails for
173 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
174- _Bool n[m];
175- char o[sizeof n == m * sizeof n[0] ? 1 : -1];
176- char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
177+ bool m[h];
178+ char n[sizeof m == h * sizeof m[0] ? 1 : -1];
179+ char o[-1 - (bool) 0 < 0 ? 1 : -1];
180 /* Catch a bug in an HP-UX C compiler. See
181- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
182- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
183+ https://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
184+ https://lists.gnu.org/r/bug-coreutils/2005-11/msg00161.html
185 */
186- _Bool q = true;
187- _Bool *pq = &q;
188+ bool p = true;
189+ bool *pp = &p;
190 ]],
191 [[
192- bool e = &s;
193- *pq |= q;
194- *pq |= ! q;
195- /* Refer to every declared value, to avoid compiler optimizations. */
196- return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
197- + !m + !n + !o + !p + !q + !pq);
198+ bool ps = &s;
199+ *pp |= p;
200+ *pp |= ! p;
201+
202+ /* Refer to every declared value, so they cannot be
203+ discarded as unused. */
204+ return (!b + !c + !d + !e + !f + !g + !h + !i + !j + !k
205+ + !l + !m + !n + !o + !p + !pp + !ps);
206 ]])],
207 [ac_cv_header_stdbool_h=yes],
208 [ac_cv_header_stdbool_h=no])])
209- AC_CHECK_TYPES([_Bool])
210-])
211+])# AC_CHECK_HEADER_STDBOOL
212+
213+]) # m4_version_prereq 2.72
diff --git a/meta-oe/recipes-support/sharutils/sharutils/0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch b/meta-oe/recipes-support/sharutils/sharutils/0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch
new file mode 100644
index 0000000000..6d8a5e2128
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils/0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch
@@ -0,0 +1,47 @@
1From fb8bf1c1b1d0bf8e9bc637c0e67219fab1a9eb03 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 14 Aug 2024 15:24:57 -0700
4Subject: [PATCH] libopts.m4: accept POSIX_SHELL from the environment during
5 the configure step
6
7This lets us set it to the canonical path /bin/bash, even on systems
8where both /bin/bash and /usr/bin/bash are available, and therefore
9which(1) might return /usr/bin/bash (depending on PATH order).
10
11Both copies of libopts.m4 are marked as generated files, but the files
12from which they were generated do not seem to be present in the sharutils
13package. This change is equivalent to part of a 2016 autogen commit
14<https://git.savannah.gnu.org/cgit/autogen.git/commit/?id=db064b9a>.
15
16Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/autogen.git/commit/?id=db064b9a]
17
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 libopts/m4/libopts.m4 | 1 +
21 m4/libopts.m4 | 1 +
22 2 files changed, 2 insertions(+)
23
24diff --git a/libopts/m4/libopts.m4 b/libopts/m4/libopts.m4
25index 1a896d9..3b88426 100644
26--- a/libopts/m4/libopts.m4
27+++ b/libopts/m4/libopts.m4
28@@ -114,6 +114,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
29 AC_PROG_SED
30 [while :
31 do
32+ test -x "$POSIX_SHELL" && break
33 POSIX_SHELL=`which bash`
34 test -x "$POSIX_SHELL" && break
35 POSIX_SHELL=`which dash`
36diff --git a/m4/libopts.m4 b/m4/libopts.m4
37index c7ba4f3..a1127e1 100644
38--- a/m4/libopts.m4
39+++ b/m4/libopts.m4
40@@ -114,6 +114,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
41 AC_PROG_SED
42 [while :
43 do
44+ test -x "$POSIX_SHELL" && break
45 POSIX_SHELL=`which bash`
46 test -x "$POSIX_SHELL" && break
47 POSIX_SHELL=`which dash`
diff --git a/meta-oe/recipes-support/sharutils/sharutils/0002-ISO-C23-Port-getcwd.m4-to-ISO-C23.patch b/meta-oe/recipes-support/sharutils/sharutils/0002-ISO-C23-Port-getcwd.m4-to-ISO-C23.patch
new file mode 100644
index 0000000000..44991cad1b
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils/0002-ISO-C23-Port-getcwd.m4-to-ISO-C23.patch
@@ -0,0 +1,49 @@
1From 01c13c5b455ec8d51240af20f59324b2ed15a337 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
3Date: Fri, 4 Apr 2025 14:20:05 +0900
4Subject: [PATCH 2/3] ISO C23: Port getcwd.m4 to ISO C23
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9From: Petr Písař <ppisar@redhat.com>
10
11Some confgure tests failed because of function arguments missing from
12the prototypes:
13
14 configure:16105: checking whether getcwd (NULL, 0) allocates memory for
15result
16 configure:16162: gcc -o conftest -g -O2 conftest.c >&5
17 conftest.c:186:16: error: conflicting types for 'getcwd'; have 'char
18*(void)'
19 186 | char *getcwd ();
20 | ^~~~~~
21 In file included from conftest.c:181:
22 /usr/include/unistd.h:531:14: note: previous declaration of 'getcwd' with
23type 'char *(char *, size_t)'
24
25This patch fixes it.
26
27Maintainer is encouraged to rebase the m4 files to the latest gnulib.
28
29Signed-off-by: Petr Písař <ppisar@redhat.com>
30
31Upstream-Status: Backport [https://lists.gnu.org/r/bug-gnu-utils/2025-03/msg00003.html]
32Signed-off-by: mark.yang <mark.yang@lge.com>
33---
34 m4/getcwd.m4 | 2 +-
35 1 file changed, 1 insertion(+), 1 deletion(-)
36
37diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
38index b9fbcec..6f24b14 100644
39--- a/m4/getcwd.m4
40+++ b/m4/getcwd.m4
41@@ -21,7 +21,7 @@ AC_DEFUN([gl_FUNC_GETCWD_NULL],
42 # include <direct.h>
43 # endif
44 # ifndef getcwd
45- char *getcwd ();
46+ char *getcwd (char *buf, size_t size);
47 # endif
48 ]], [[
49 #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
diff --git a/meta-oe/recipes-support/sharutils/sharutils/0003-ISO-C23-Port-the-code-to-ISO-C23.patch b/meta-oe/recipes-support/sharutils/sharutils/0003-ISO-C23-Port-the-code-to-ISO-C23.patch
new file mode 100644
index 0000000000..57e0ac3ed6
--- /dev/null
+++ b/meta-oe/recipes-support/sharutils/sharutils/0003-ISO-C23-Port-the-code-to-ISO-C23.patch
@@ -0,0 +1,143 @@
1From 4e50196673fc14bd6081e8a78cc940199566ba55 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Fri, 4 Apr 2025 14:38:51 +0900
4Subject: [PATCH 3/3] ISO C23: Port the code to ISO C23
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9From: Petr Písař <ppisar@redhat.com>
10
11With GCC 15, which defaults to ISO 23, a build failed, for example like
12this:
13
14 gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I..
15-I../libopts -I. -I.. -I../lib -I
16 ../lib -I../intl -Wno-format-contains-nul -g -O2 -Wno-format-contains-nul
17-c -o shar.o shar.c
18 In file included from local.h:23,
19 from shar-opts.h:354,
20 from shar.c:46:
21 ../lib/system.h:78:7: error: conflicting types for ‘fdopen’; have ‘FILE
22*(void)’
23 78 | FILE *fdopen ();
24 | ^~~~~~
25
26The cause is that ISO C23 changed a meaning of an empty argument list
27from an unspecified list to no arguments.
28
29Also K&R syntax is now deprecated and the compiler warned:
30
31 encode.c: In function ‘write_encoded_bytes’:
32 encode.c:33:1: warning: old-style function definition
33[-Wold-style-definition]
34 33 | write_encoded_bytes (group, file)
35 | ^~~~~~~~~~~~~~~~~~~
36
37This patch fixes both the erros and the warnigs by specifying all the
38arguments in the modern syntax.
39
40Signed-off-by: Petr Písař <ppisar@redhat.com>
41
42Upstream-Status: Backport [https://lists.gnu.org/r/bug-gnu-utils/2025-03/msg00001.html]
43Signed-off-by: mark.yang <mark.yang@lge.com>
44---
45 lib/system.h | 6 +++---
46 src/encode.c | 13 +++----------
47 src/shar.c | 3 +--
48 src/uudecode.c | 2 +-
49 4 files changed, 8 insertions(+), 16 deletions(-)
50
51diff --git a/lib/system.h b/lib/system.h
52index 2b9846b..811e8cf 100644
53--- a/lib/system.h
54+++ b/lib/system.h
55@@ -52,7 +52,7 @@ typedef enum {false = 0, true = 1} bool;
56 #endif
57
58 #if !HAVE_DECL_STRTOIMAX && !defined strtoimax
59-intmax_t strtoimax ();
60+intmax_t strtoimax (const char *nptr, char **endptr, int base);
61 #endif
62
63 #if HAVE_STRING_H
64@@ -75,8 +75,8 @@ intmax_t strtoimax ();
65 # include <unistd.h>
66 #endif
67
68-FILE *fdopen ();
69-FILE *popen ();
70+FILE *fdopen (int fd, const char *mode);
71+FILE *popen (const char *command, const char *type);
72
73 /* Global functions of the shar package. */
74
75diff --git a/src/encode.c b/src/encode.c
76index 09e0c69..b1de8bd 100644
77--- a/src/encode.c
78+++ b/src/encode.c
79@@ -30,9 +30,7 @@
80 `------------------------------------------*/
81
82 static void
83-write_encoded_bytes (group, file)
84- char *group;
85- FILE *file;
86+write_encoded_bytes (char *group, FILE *file)
87 {
88 int c1, c2, c3, c4;
89
90@@ -52,10 +50,7 @@ write_encoded_bytes (group, file)
91 `--------------------------------------------------------------------*/
92
93 static int
94-read_raw_bytes (file, buffer, buffer_size)
95- FILE *file;
96- char *buffer;
97- int buffer_size;
98+read_raw_bytes (FILE *file, char *buffer, int buffer_size)
99 {
100 int character;
101 int counter;
102@@ -75,9 +70,7 @@ read_raw_bytes (file, buffer, buffer_size)
103 `----------------------------------------------------*/
104
105 void
106-copy_file_encoded (input, output)
107- FILE *input;
108- FILE *output;
109+copy_file_encoded (FILE *input, FILE *output)
110 {
111 char buffer[LINE_BUFFER_SIZE];
112 int counter;
113diff --git a/src/shar.c b/src/shar.c
114index 6d7ed1d..b5e84ff 100644
115--- a/src/shar.c
116+++ b/src/shar.c
117@@ -1,4 +1,3 @@
118-
119 static const char cright_years_z[] =
120
121 /* Handle so called `shell archives'.
122@@ -109,7 +108,7 @@ static inline unsigned char to_uchar (char ch) { return ch; }
123 #define IS_GRAPH(_c) (isprint (to_uchar (_c)) && !isspace (to_uchar (_c)))
124 #endif
125
126-struct tm *localtime ();
127+struct tm *localtime (const time_t *timep);
128
129 #if MSDOS
130 /* 1 extra for CR. */
131diff --git a/src/uudecode.c b/src/uudecode.c
132index 0621c99..b8a316e 100644
133--- a/src/uudecode.c
134+++ b/src/uudecode.c
135@@ -82,7 +82,7 @@ static char const cright_years_z[] =
136 #define UU_CHMOD(_n, _fd, _m) chmod ((_n), UU_MODE_BITS(_m))
137 #endif
138
139-struct passwd *getpwnam ();
140+struct passwd *getpwnam (const char *name);
141
142 static uudecode_exit_code_t read_stduu(
143 const char *inname, const char *outname);
diff --git a/meta-oe/recipes-support/sharutils/sharutils_4.15.2.bb b/meta-oe/recipes-support/sharutils/sharutils_4.15.2.bb
index 2a16b18288..45bf341063 100644
--- a/meta-oe/recipes-support/sharutils/sharutils_4.15.2.bb
+++ b/meta-oe/recipes-support/sharutils/sharutils_4.15.2.bb
@@ -1,7 +1,7 @@
1SUMMARY = "This is the set of GNU shar utilities." 1SUMMARY = "This is the set of GNU shar utilities."
2HOMEPAGE = "http://www.gnu.org/software/sharutils/" 2HOMEPAGE = "http://www.gnu.org/software/sharutils/"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE="GPL-3.0-or-later" 4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
6 6
7inherit gettext autotools update-alternatives 7inherit gettext autotools update-alternatives
@@ -13,10 +13,15 @@ SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
13 file://0001-Fix-building-with-GCC-10.patch \ 13 file://0001-Fix-building-with-GCC-10.patch \
14 file://0002-Do-not-include-lib-md5.c-into-src-shar.c.patch \ 14 file://0002-Do-not-include-lib-md5.c-into-src-shar.c.patch \
15 file://0001-configure.ac-Check-and-define-intmax_t-type.patch \ 15 file://0001-configure.ac-Check-and-define-intmax_t-type.patch \
16 file://0001-libopts.m4-accept-POSIX_SHELL-from-the-environment-d.patch \
17 file://0001-ISO-C23-Backport-stdbool.m4.patch \
18 file://0002-ISO-C23-Port-getcwd.m4-to-ISO-C23.patch \
19 file://0003-ISO-C23-Port-the-code-to-ISO-C23.patch \
16 " 20 "
17SRC_URI[md5sum] = "32a51b23e25ad5e6af4b89f228be1800"
18SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637" 21SRC_URI[sha256sum] = "ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637"
19 22
23EXTRA_OECONF = "POSIX_SHELL=${base_bindir}/sh"
24
20do_install:append() { 25do_install:append() {
21 if [ -e ${D}${libdir}/charset.alias ] 26 if [ -e ${D}${libdir}/charset.alias ]
22 then 27 then
diff --git a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb b/meta-oe/recipes-support/smarty/smarty_4.4.1.bb
deleted file mode 100644
index e0979bb5aa..0000000000
--- a/meta-oe/recipes-support/smarty/smarty_4.4.1.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1DESCRIPTION = "the compiling PHP template engine"
2SECTION = "console/network"
3HOMEPAGE = "https://www.smarty.net/"
4
5LICENSE = "GPL-3.0-only"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
7
8DEPENDS += "php"
9
10SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=support/4.3"
11
12SRCREV = "f4152e9b814ae2369b6e4935c05e1e0c3654318d"
13
14S = "${WORKDIR}/git"
15
16do_install() {
17 install -d ${D}${datadir}/php/smarty3/libs/
18 install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
19
20 install -d ${D}${datadir}/php/smarty3/libs/plugins
21 install -m 0644 ${S}/libs/plugins/*.php ${D}${datadir}/php/smarty3/libs/plugins/
22
23 install -d ${D}${datadir}/php/smarty3/libs/sysplugins
24 install -m 0644 ${S}/libs/sysplugins/*.php ${D}${datadir}/php/smarty3/libs/sysplugins/
25}
26FILES:${PN} = "${datadir}/php/smarty3/"
27
28CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-support/smarty/smarty_5.4.5.bb b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
new file mode 100644
index 0000000000..047f10589d
--- /dev/null
+++ b/meta-oe/recipes-support/smarty/smarty_5.4.5.bb
@@ -0,0 +1,37 @@
1SUMMARY = "Template engine for PHP"
2DESCRIPTION = "\
3 Smarty facilitates the separation of presentation (HTML/CSS) from \
4 application logic. This implies that PHP code is application logic, and is \
5 separated from the presentation. \
6"
7HOMEPAGE = "https://smarty-php.github.io/smarty/"
8BUGTRACKER = "https://github.com/smarty-php/smarty/issues"
9
10LICENSE = "GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://LICENSE;md5=2c0f216b2120ffc367e20f2b56df51b3"
12
13SRC_URI = "git://github.com/smarty-php/smarty.git;protocol=https;branch=master;tag=v${PV}"
14
15SRCREV = "e26f82d02c4d18fc82094c28fbc65f711e39ed5d"
16
17
18INHIBIT_DEFAULT_DEPS = "1"
19
20# `make clean` removes files, they can't be rebuild with `make all`
21CLEANBROKEN = "1"
22
23do_configure[noexec] = "1"
24do_compile[noexec] = "1"
25
26do_install() {
27 install -d ${D}${datadir}/php/smarty3/libs/
28 install -m 0644 ${S}/libs/*.php ${D}${datadir}/php/smarty3/libs/
29
30 install -d ${D}${datadir}/php/smarty3/src/
31 cp -rf ${S}/src/* ${D}${datadir}/php/smarty3/src/
32}
33FILES:${PN} += "${datadir}/php/smarty3/"
34
35RDEPENDS:${PN} = "php"
36
37CVE_STATUS[CVE-2020-10375] = "cpe-incorrect: The recipe used in the meta-openembedded is a different smarty package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch b/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch
new file mode 100644
index 0000000000..ec8594629e
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper/0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch
@@ -0,0 +1,30 @@
1From d103eaeae169708ca567f092182a89b79e5ab9db Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 Oct 2024 07:52:33 -0700
4Subject: [PATCH 1/2] Include linux/types.h for __u16/__u32/__u64 type
5
6This header is included indirectly with glibc but when using musl
7it ends up with compilation failure
8
9BcachefsUtils.cc:85:20: error: use of undeclared identifier '__u32'
10 85 | args.dirfd = (__u32) fddst;
11 | ^
12
13Upstream-Status: Submitted [https://github.com/openSUSE/snapper/pull/945]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 snapper/BcachefsUtils.cc | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/snapper/BcachefsUtils.cc b/snapper/BcachefsUtils.cc
20index e9163ffb..1d328a78 100644
21--- a/snapper/BcachefsUtils.cc
22+++ b/snapper/BcachefsUtils.cc
23@@ -24,6 +24,7 @@
24
25 #include <cstring>
26 #include <cerrno>
27+#include <linux/types.h>
28 #include <sys/stat.h>
29 #include <sys/ioctl.h>
30
diff --git a/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch b/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch
new file mode 100644
index 0000000000..b915fda257
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper/0002-Use-statvfs-instead-of-statvfs64.patch
@@ -0,0 +1,37 @@
1From 0b39f4484553c796cb300fb4933ea314e91d913b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 Oct 2024 07:55:23 -0700
4Subject: [PATCH 2/2] Use statvfs instead of statvfs64
5
6when using LFS64 these functions are same and also
7on 64bit systems they are same. musl is using 64bit off_t
8by default and does not define LFS64 variants of these functions
9and it ends up in build errors
10
11Taken from Alpine Linux: [https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/snapper/statvfs64.patch]
12
13Upstream-Status: Submitted [https://github.com/openSUSE/snapper/pull/945]
14
15Signed-off-by: Markus Volk <f_l_k@t-online.de>
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 snapper/FileUtils.cc | 6 +++---
19 1 file changed, 3 insertions(+), 3 deletions(-)
20
21diff --git a/snapper/FileUtils.cc b/snapper/FileUtils.cc
22index d4034279..4c8578a1 100644
23--- a/snapper/FileUtils.cc
24+++ b/snapper/FileUtils.cc
25@@ -387,9 +387,9 @@ namespace snapper
26 std::pair<unsigned long long, unsigned long long>
27 SDir::statvfs() const
28 {
29- struct statvfs64 fsbuf;
30- if (fstatvfs64(dirfd, &fsbuf) != 0)
31- SN_THROW(IOErrorException(sformat("statvfs64 failed path:%s errno:%d (%s)", base_path.c_str(),
32+ struct statvfs fsbuf;
33+ if (fstatvfs(dirfd, &fsbuf) != 0)
34+ SN_THROW(IOErrorException(sformat("statvfs failed path:%s errno:%d (%s)", base_path.c_str(),
35 errno, stringerror(errno).c_str())));
36
37 // f_bavail is used (not f_bfree) since df seems to do the
diff --git a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
new file mode 100644
index 0000000000..887615ef45
--- /dev/null
+++ b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
@@ -0,0 +1,40 @@
1SUMMARY = "Snapper is a tool for Linux file system snapshot management"
2HOMEPAGE = "https://github.com/openSUSE/snapper"
3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
5
6DEPENDS = "acl boost btrfs-tools dbus e2fsprogs json-c libxml2 lvm2 ncurses zlib"
7
8# Build separation is slightly broken
9inherit autotools-brokensep pkgconfig gettext
10
11SRC_URI = " \
12 git://github.com/openSUSE/snapper.git;protocol=https;branch=master \
13 file://0001-Include-linux-types.h-for-__u16-__u32-__u64-type.patch \
14 file://0002-Use-statvfs-instead-of-statvfs64.patch \
15"
16SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708"
17
18
19EXTRA_OECONF += "--disable-zypp"
20
21PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}"
22PACKAGECONFIG[pam] = "--enable-pam --with-pam-security=${base_libdir}/security, --disable-pam,libpam"
23PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
24PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native"
25
26# Avoid HOSTTOOLS path in binaries
27export DIFFBIN = "${bindir}/diff"
28export RMBIN = "${bindir}/rm"
29export TOUCHBIN = "${bindir}/touch"
30export CPBIN = "${bindir}/cp"
31
32do_install:append() {
33 install -d ${D}${sysconfdir}/sysconfig
34 install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper
35}
36
37FILES:${PN} += "${base_libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}"
38
39# bash is needed for the testsuite
40RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount"
diff --git a/meta-oe/recipes-support/source-highlight/source-highlight_git.bb b/meta-oe/recipes-support/source-highlight/source-highlight_git.bb
new file mode 100644
index 0000000000..8b0a38095f
--- /dev/null
+++ b/meta-oe/recipes-support/source-highlight/source-highlight_git.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Syntax highlight utility"
2DESCRIPTION = "Source-highlight converts source code to formatted text with syntax highlighting."
3HOMEPAGE = "https://www.gnu.org/software/src-highlite/"
4LICENSE = "GPL-3.0-only"
5SECTION = "libs"
6LIC_FILES_CHKSUM = "file://COPYING;md5=ff95bfe019feaf92f524b73dd79e76eb"
7
8SRCREV = "894cacd0799ca60afa359a63782729dec76cbb79"
9PV = "3.1.9+git"
10SRC_URI = "git://git.savannah.gnu.org/git/src-highlite.git;protocol=https;branch=master"
11
12inherit autotools pkgconfig
13
14DEPENDS:append = " bison-native boost"
15
16DEPENDS:append:class-target = " ${BPN}-native"
17
18EXTRA_OECONF = "--with-boost-regex=boost_regex"
19
20BBCLASSEXTEND = "native nativesdk"
21
22PACKAGES += "${PN}-tools ${PN}-data"
23
24RDEPENDS:${PN} = "boost-regex ${PN}-data"
25RDEPENDS:${PN}-tools = "${PN} ${PN}-data bash"
26
27FILES:${PN} = "${libdir}/*${SOLIBS}"
28FILES:${PN}-data = "${datadir}/source-highlight"
29FILES:${PN}-tools = "${bindir} ${sysconfdir}/bash_completion.d"
30
31# source-highlight is using its own binary from the build tree to make documentation
32# let's substitute the native binary instead
33do_configure:prepend:class-target () {
34 sed -i -e 's,^SRCHILITEEXE = $(top_builddir).*,SRCHILITEEXE = source-highlight,' ${S}/doc/Makefile.am
35}
diff --git a/meta-oe/recipes-support/span-lite/span-lite_0.11.0.bb b/meta-oe/recipes-support/span-lite/span-lite_0.11.0.bb
index 9dc393fd08..9fef39216f 100644
--- a/meta-oe/recipes-support/span-lite/span-lite_0.11.0.bb
+++ b/meta-oe/recipes-support/span-lite/span-lite_0.11.0.bb
@@ -6,6 +6,5 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6SRC_URI += "git://github.com/martinmoene/span-lite;branch=master;protocol=https" 6SRC_URI += "git://github.com/martinmoene/span-lite;branch=master;protocol=https"
7SRCREV = "50f55c59d1b66910837313c40d11328d03447a41" 7SRCREV = "50f55c59d1b66910837313c40d11328d03447a41"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit cmake 10inherit cmake
diff --git a/meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb b/meta-oe/recipes-support/spdlog/spdlog_1.15.0.bb
index 19bac0be89..25d8249917 100644
--- a/meta-oe/recipes-support/spdlog/spdlog_1.14.1.bb
+++ b/meta-oe/recipes-support/spdlog/spdlog_1.15.0.bb
@@ -3,12 +3,12 @@ HOMEPAGE = "https://github.com/gabime/spdlog/wiki"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=9573510928429ad0cbe5ba4de77546e9" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=9573510928429ad0cbe5ba4de77546e9"
5 5
6SRCREV = "27cb4c76708608465c413f6d0e6b8d99a4d84302" 6PV .= "+git"
7SRCREV = "96a8f6250cbf4e8c76387c614f666710a2fa9bad"
7SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x" 8SRC_URI = "git://github.com/gabime/spdlog.git;protocol=https;branch=v1.x"
8 9
9DEPENDS = "fmt" 10DEPENDS += "fmt"
10 11
11S = "${WORKDIR}/git"
12 12
13inherit cmake 13inherit cmake
14 14
diff --git a/meta-oe/recipes-support/spitools/spitools_git.bb b/meta-oe/recipes-support/spitools/spitools_git.bb
index 1e3d6beaf4..e313685d95 100644
--- a/meta-oe/recipes-support/spitools/spitools_git.bb
+++ b/meta-oe/recipes-support/spitools/spitools_git.bb
@@ -1,12 +1,11 @@
1DESCRIPTION = "This package contains some simple command line tools to help using Linux spidev devices" 1DESCRIPTION = "This package contains some simple command line tools to help using Linux spidev devices"
2HOMEPAGE = "https://github.com/cpb-/spi-tools" 2HOMEPAGE = "https://github.com/cpb-/spi-tools"
3LICENSE="GPL-2.0-only" 3LICENSE = "GPL-2.0-only"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
5 5
6PV = "1.0.2" 6PV = "1.0.2"
7SRCREV = "1748e092425a4a0ff693aa347062a57fc1ffdd00" 7SRCREV = "1748e092425a4a0ff693aa347062a57fc1ffdd00"
8 8
9S = "${WORKDIR}/git"
10 9
11SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=https;branch=master" 10SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=https;branch=master"
12 11
diff --git a/meta-oe/recipes-support/srecord/files/0001-fix-build-failure-with-gcc-15-by-adding-cstdint-head.patch b/meta-oe/recipes-support/srecord/files/0001-fix-build-failure-with-gcc-15-by-adding-cstdint-head.patch
new file mode 100644
index 0000000000..fe55fc5c87
--- /dev/null
+++ b/meta-oe/recipes-support/srecord/files/0001-fix-build-failure-with-gcc-15-by-adding-cstdint-head.patch
@@ -0,0 +1,36 @@
1From 69290e4d727492a63a2a4424368a476b86ef8183 Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Mon, 7 Apr 2025 17:18:34 +0900
4Subject: [PATCH] fix build failure with gcc 15 by adding cstdint header
5
6Fixes #79
7
8srecord/input/file/hp64k.h:82:21: error: ‘uint16_t’ has not been declared
9 82 | bool read_u16be(uint16_t *dest);
10 | ^~~~~~~~
11/home/abuild/rpmbuild/BUILD/srecord-1.65.0-build/srecord-1.65.0-Source/./srecord/input/file/hp64k.h:1:1: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
12 +++ |+#include <cstdint>
13 1 | //
14make[2]: *** [srecord/CMakeFiles/lib_srecord.dir/build.make:222: srecord/CMakeFiles/lib_srecord.dir/arglex/tool/input.cc.o] Error 1
15
16 * From gcc 13, cstdint header must be explicitly included for uint_X data types.
17 * See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
18
19Upstream-Status: Submitted [https://github.com/sierrafoxtrot/srecord/pull/80]
20Signed-off-by: mark.yang <mark.yang@lge.com>
21---
22 srecord/input/file/hp64k.h | 1 +
23 1 file changed, 1 insertion(+)
24
25diff --git a/srecord/input/file/hp64k.h b/srecord/input/file/hp64k.h
26index a3f8a6d..205e1e4 100644
27--- a/srecord/input/file/hp64k.h
28+++ b/srecord/input/file/hp64k.h
29@@ -21,6 +21,7 @@
30 #define LIB_INPUT_FILE_HP64K
31
32 #include <srecord/input/file.h>
33+#include <cstdint>
34
35 namespace srecord {
36
diff --git a/meta-oe/recipes-support/srecord/srecord_1.65.0.bb b/meta-oe/recipes-support/srecord/srecord_1.65.0.bb
index 3e8a87d07f..1797112a90 100644
--- a/meta-oe/recipes-support/srecord/srecord_1.65.0.bb
+++ b/meta-oe/recipes-support/srecord/srecord_1.65.0.bb
@@ -7,9 +7,11 @@ SRC_URI = " \
7 https://sourceforge.net/projects/${BPN}/files/srecord/${@oe.utils.trim_version('${PV}', 2)}/${BP}-Source.tar.gz \ 7 https://sourceforge.net/projects/${BPN}/files/srecord/${@oe.utils.trim_version('${PV}', 2)}/${BP}-Source.tar.gz \
8 file://0001-Disable-doxygen.patch \ 8 file://0001-Disable-doxygen.patch \
9 file://0001-cmake-Do-not-try-to-compute-library-dependencies-dur.patch \ 9 file://0001-cmake-Do-not-try-to-compute-library-dependencies-dur.patch \
10 file://0001-cmake-respect-explicit-install-prefix.patch" 10 file://0001-cmake-respect-explicit-install-prefix.patch \
11 file://0001-fix-build-failure-with-gcc-15-by-adding-cstdint-head.patch \
12"
11SRC_URI[sha256sum] = "81c3d07cf15ce50441f43a82cefd0ac32767c535b5291bcc41bd2311d1337644" 13SRC_URI[sha256sum] = "81c3d07cf15ce50441f43a82cefd0ac32767c535b5291bcc41bd2311d1337644"
12S = "${WORKDIR}/${BP}-Source" 14S = "${UNPACKDIR}/${BP}-Source"
13 15
14UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/srecord/files/releases" 16UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/srecord/files/releases"
15 17
diff --git a/meta-oe/recipes-support/ssiapi/ssiapi_1.3.0.bb b/meta-oe/recipes-support/ssiapi/ssiapi_1.3.0.bb
index bf9de31f84..d634ca1b6e 100644
--- a/meta-oe/recipes-support/ssiapi/ssiapi_1.3.0.bb
+++ b/meta-oe/recipes-support/ssiapi/ssiapi_1.3.0.bb
@@ -22,10 +22,9 @@ SRC_URI = "http://sourceforge.net/projects/irstessi/files/${BPN}.${PV}.tgz \
22 file://0004-include-limits.h.patch \ 22 file://0004-include-limits.h.patch \
23 file://0001-Include-libgen.h.patch \ 23 file://0001-Include-libgen.h.patch \
24 " 24 "
25SRC_URI[md5sum] = "d06c9b426437a7697d77266e9835b520"
26SRC_URI[sha256sum] = "59daab29363d6e9f07c524029c4239653cfbbee6b0e57fd75df62499728dad8a" 25SRC_URI[sha256sum] = "59daab29363d6e9f07c524029c4239653cfbbee6b0e57fd75df62499728dad8a"
27 26
28S ="${WORKDIR}/${BPN}.${PV}" 27S = "${UNPACKDIR}/${BPN}.${PV}"
29 28
30inherit autotools 29inherit autotools
31 30
diff --git a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
index 17f54dcf4c..bba2507e14 100644
--- a/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
+++ b/meta-oe/recipes-support/switchtec-user/switchtec-user_4.2.bb
@@ -10,7 +10,6 @@ SRCREV = "e7c351c6c722336b3c79b79cd002c7c2986eefb0"
10SRC_URI = "git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master" 10SRC_URI = "git://github.com/Microsemi/switchtec-user.git;protocol=https;branch=master"
11SRC_URI[sha256sum] = "a715e46d8498418dbb8a2519318ba0714ee148151d7e4a7fa5e27770a2f6888f" 11SRC_URI[sha256sum] = "a715e46d8498418dbb8a2519318ba0714ee148151d7e4a7fa5e27770a2f6888f"
12 12
13S = "${WORKDIR}/git"
14 13
15inherit autotools-brokensep pkgconfig 14inherit autotools-brokensep pkgconfig
16 15
diff --git a/meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch b/meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch
new file mode 100644
index 0000000000..4ad2a45275
--- /dev/null
+++ b/meta-oe/recipes-support/synergy/synergy/CVE-2020-15117.patch
@@ -0,0 +1,48 @@
1From 79efdb7c617b809e1a2daf17441d7a30f7046aa5 Mon Sep 17 00:00:00 2001
2From: Jnewbon <48688400+Jnewbon@users.noreply.github.com>
3Date: Tue, 14 Jul 2020 13:14:40 +0100
4Subject: [PATCH] Merge pull request from GHSA-chfm-333q-gfpp
5
6Attempts to fis DoS to servers with less then 4GB memory
7
8CVE: CVE-2020-15117
9Upstream-Status: Backport [https://github.com/deskflow/deskflow/commit/0a97c2be0da2d0df25cb86dfd642429e7a8bea39]
10Signed-off-by: Peter Marko <peter.marko@siemens.com>
11---
12 src/lib/synergy/ProtocolUtil.cpp | 13 ++++++++++++-
13 1 file changed, 12 insertions(+), 1 deletion(-)
14
15diff --git a/src/lib/synergy/ProtocolUtil.cpp b/src/lib/synergy/ProtocolUtil.cpp
16index d9f5dc324..7d2c37ff8 100644
17--- a/src/lib/synergy/ProtocolUtil.cpp
18+++ b/src/lib/synergy/ProtocolUtil.cpp
19@@ -61,6 +61,9 @@ ProtocolUtil::readf(synergy::IStream* stream, const char* fmt, ...)
20 catch (XIO&) {
21 result = false;
22 }
23+ catch (std::bad_alloc & exception) {
24+ result = false;
25+ }
26 va_end(args);
27 return result;
28 }
29@@ -216,7 +219,15 @@ ProtocolUtil::vreadf(synergy::IStream* stream, const char* fmt, va_list args)
30 // allocate a buffer to read the data
31 UInt8* sBuffer = buffer;
32 if (!useFixed) {
33- sBuffer = new UInt8[len];
34+ try{
35+ sBuffer = new UInt8[len];
36+ }
37+ catch (std::bad_alloc & exception) {
38+ // Added try catch due to GHSA-chfm-333q-gfpp
39+ LOG((CLOG_ERR "ALLOC: Unable to allocate memory %d bytes", len));
40+ LOG((CLOG_DEBUG "bad_alloc detected: Do you have enough free memory?"));
41+ throw exception;
42+ }
43 }
44
45 // read the data
46--
472.30.2
48
diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb b/meta-oe/recipes-support/synergy/synergy_git.bb
index fb767942fe..e215c62620 100644
--- a/meta-oe/recipes-support/synergy/synergy_git.bb
+++ b/meta-oe/recipes-support/synergy/synergy_git.bb
@@ -10,12 +10,12 @@ DEPENDS = "virtual/libx11 libxtst libxinerama curl openssl"
10REQUIRED_DISTRO_FEATURES = "x11" 10REQUIRED_DISTRO_FEATURES = "x11"
11 11
12SRC_URI = "git://github.com/symless/synergy-core;protocol=https;nobranch=1" 12SRC_URI = "git://github.com/symless/synergy-core;protocol=https;nobranch=1"
13SRC_URI += "file://CVE-2020-15117.patch"
13 14
14# Version 1.10.1-stable 15# Version 1.10.1-stable
15SRCREV ?= "1b4c076127687aceac931d269e898beaac1cad9f" 16SRCREV ?= "1b4c076127687aceac931d269e898beaac1cad9f"
16PV = "1.10.1+git" 17PV = "1.10.1+git"
17 18
18S = "${WORKDIR}/git"
19 19
20inherit cmake features_check 20inherit cmake features_check
21 21
diff --git a/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch b/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
deleted file mode 100644
index f21ad5d70f..0000000000
--- a/meta-oe/recipes-support/syslog-ng/files/0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 896d77dd949b52d6ea5798e5a038ba97d6b802be Mon Sep 17 00:00:00 2001
2From: Peter Marko <peter.marko@siemens.com>
3Date: Thu, 4 Apr 2024 15:44:18 +0200
4Subject: [PATCH] macros: guard ipv6 code with SYSLOG_NG_ENABLE_IPV6
5
6With ipv6 disabled, there are linking errors currently.
7This fixes it by not using the symbols when IPv6 is disabled.
8
9Solves #4810 with my config options
10https://github.com/openembedded/meta-openembedded/blob/2487e65ee3842b6ae0c7a2628985be6189ed9ebf/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
11
12Upstream-Status: Submitted [https://github.com/syslog-ng/syslog-ng/pull/4880]
13
14Signed-off-by: Peter Marko <peter.marko@siemens.com>
15---
16 lib/template/macros.c | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/lib/template/macros.c b/lib/template/macros.c
20index 54142706c..fcb83637f 100644
21--- a/lib/template/macros.c
22+++ b/lib/template/macros.c
23@@ -277,12 +277,14 @@ _get_originating_ip_protocol(const LogMessage *msg)
24 return 0;
25 if (g_sockaddr_inet_check(msg->saddr))
26 return 4;
27+#if SYSLOG_NG_ENABLE_IPV6
28 if (g_sockaddr_inet6_check(msg->saddr))
29 {
30 if (g_sockaddr_inet6_is_v4_mapped(msg->saddr))
31 return 4;
32 return 6;
33 }
34+#endif
35 return 0;
36 }
37
38--
392.30.2
40
diff --git a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd
index 851bf252b7..d3f3730105 100644
--- a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd
+++ b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.systemd
@@ -1,5 +1,6 @@
1@version: 3.36 1@version: 4.8
2# 2@include "scl.conf"
3
3# Syslog-ng configuration file, compatible with default Debian syslogd 4# Syslog-ng configuration file, compatible with default Debian syslogd
4# installation. Originally written by anonymous (I can't find his name) 5# installation. Originally written by anonymous (I can't find his name)
5# Revised, and rewrited by me (SZALAY Attila <sasa@debian.org>) 6# Revised, and rewrited by me (SZALAY Attila <sasa@debian.org>)
@@ -10,9 +11,9 @@
10# Joe Slater <joe.slater@windriver.com> 11# Joe Slater <joe.slater@windriver.com>
11 12
12# First, set some global options. 13# First, set some global options.
13options { chain_hostnames(off); flush_lines(0); use_dns(no); dns_cache(no); use_fqdn(no); 14options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
14 owner("root"); group("adm"); perm(0640); stats_freq(0); 15 dns_cache(no); owner("root"); group("adm"); perm(0640);
15 bad_hostname("^gconfd$"); 16 stats(freq(0)); bad_hostname("^gconfd$");
16}; 17};
17 18
18######################## 19########################
diff --git a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit
index 70afd0da84..2b18dce89c 100644
--- a/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit
+++ b/meta-oe/recipes-support/syslog-ng/files/syslog-ng.conf.sysvinit
@@ -1,4 +1,4 @@
1@version: 3.36 1@version: 4.8
2# 2#
3# Syslog-ng configuration file, compatible with default Debian syslogd 3# Syslog-ng configuration file, compatible with default Debian syslogd
4# installation. Originally written by anonymous (I can't find his name) 4# installation. Originally written by anonymous (I can't find his name)
@@ -10,9 +10,9 @@
10# Joe Slater <joe.slater@windriver.com> 10# Joe Slater <joe.slater@windriver.com>
11 11
12# First, set some global options. 12# First, set some global options.
13options { chain_hostnames(off); flush_lines(0); use_dns(no); dns_cache(no); use_fqdn(no); 13options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
14 owner("root"); group("adm"); perm(0640); stats_freq(0); 14 dns_cache(no); owner("root"); group("adm"); perm(0640);
15 bad_hostname("^gconfd$"); 15 stats(freq(0)); bad_hostname("^gconfd$");
16}; 16};
17 17
18######################## 18########################
diff --git a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.8.2.bb
index ab4a8d1825..1b46d66d6c 100644
--- a/meta-oe/recipes-support/syslog-ng/syslog-ng_4.6.0.bb
+++ b/meta-oe/recipes-support/syslog-ng/syslog-ng_4.8.2.bb
@@ -13,7 +13,7 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
13LIC_FILES_CHKSUM = "file://COPYING;md5=924958cefc9f7de3e0b818832b8a1cec" 13LIC_FILES_CHKSUM = "file://COPYING;md5=924958cefc9f7de3e0b818832b8a1cec"
14 14
15# util-linux added to get libuuid 15# util-linux added to get libuuid
16DEPENDS = "libpcre flex glib-2.0 openssl util-linux bison-native curl" 16DEPENDS = "libpcre flex glib-2.0 openssl util-linux bison-native curl json-c"
17 17
18SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.tar.gz \ 18SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.tar.gz \
19 file://syslog-ng.conf.systemd \ 19 file://syslog-ng.conf.systemd \
@@ -23,11 +23,10 @@ SRC_URI = "https://github.com/balabit/syslog-ng/releases/download/${BP}/${BP}.ta
23 file://syslog-ng-tmp.conf \ 23 file://syslog-ng-tmp.conf \
24 file://syslog-ng.service-the-syslog-ng-service.patch \ 24 file://syslog-ng.service-the-syslog-ng-service.patch \
25 file://0001-Fix-buildpaths-warning.patch \ 25 file://0001-Fix-buildpaths-warning.patch \
26 file://0001-macros-guard-ipv6-code-with-SYSLOG_NG_ENABLE_IPV6.patch \
27" 26"
28SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch" 27SRC_URI:append:powerpc64le = " file://0001-plugin.c-workaround-powerpc64le-segfaults-error.patch"
29 28
30SRC_URI[sha256sum] = "b69e3360dfb96a754a4e1cbead4daef37128b1152a23572356db4ab64a475d4f" 29SRC_URI[sha256sum] = "7d1ebe70746009dc06bd2fa5c412a1985579a9c887292f766cc775d169d60e68"
31 30
32UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases" 31UPSTREAM_CHECK_URI = "https://github.com/balabit/syslog-ng/releases"
33 32
@@ -60,19 +59,12 @@ PACKAGECONFIG[dbi] = "--enable-sql,--disable-sql,libdbi,"
60PACKAGECONFIG[spoof-source] = "--enable-spoof-source --with-libnet=${STAGING_BINDIR_CROSS},--disable-spoof-source,libnet," 59PACKAGECONFIG[spoof-source] = "--enable-spoof-source --with-libnet=${STAGING_BINDIR_CROSS},--disable-spoof-source,libnet,"
61PACKAGECONFIG[http] = "--enable-http,--disable-http,curl," 60PACKAGECONFIG[http] = "--enable-http,--disable-http,curl,"
62PACKAGECONFIG[smtp] = "--enable-smtp --with-libesmtp=${STAGING_LIBDIR},--disable-smtp,libesmtp," 61PACKAGECONFIG[smtp] = "--enable-smtp --with-libesmtp=${STAGING_LIBDIR},--disable-smtp,libesmtp,"
62PACKAGECONFIG[stomp] = "--enable-stomp,--disable-stomp,,"
63PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c," 63PACKAGECONFIG[json] = "--enable-json,--disable-json,json-c,"
64PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers," 64PACKAGECONFIG[tcp-wrapper] = "--enable-tcp-wrapper,--disable-tcp-wrapper,tcp-wrappers,"
65PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip," 65PACKAGECONFIG[geoip] = "--enable-geoip,--disable-geoip,geoip,"
66PACKAGECONFIG[native] = "--enable-native,--disable-native,," 66PACKAGECONFIG[native] = "--enable-native,--disable-native,,"
67 67PACKAGECONFIG[examples] = "--enable-example-modules,--disable-example-modules,,"
68do_configure:prepend() {
69 olddir=$(pwd)
70 cd ${AUTOTOOLS_SCRIPT_PATH}
71
72 ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} -I ${S}/m4 ${ACLOCALEXTRAPATH} || die "extra autoreconf execution failed."
73
74 cd $olddir
75}
76 68
77do_install:append() { 69do_install:append() {
78 install -d ${D}${sysconfdir}/${BPN} 70 install -d ${D}${sysconfdir}/${BPN}
diff --git a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb b/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
deleted file mode 100644
index db4c395c56..0000000000
--- a/meta-oe/recipes-support/system-config-keyboard/system-config-keyboard_1.4.0.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1DESCRIPTION = "a graphical user interface that allows the user to \
2change the default keyboard of the system"
3LICENSE = "GPL-2.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
5SRC_URI = "https://fedorahosted.org/releases/s/y/${BPN}/${BP}.tar.bz2"
6SRC_URI[md5sum] = "c267db0ee7a2131ba418399dc17f9e72"
7SRC_URI[sha256sum] = "218c883e4e2bfcc82bfe07e785707b5c2ece28df772f2155fd044b9bb1614284"
8
9inherit python3-dir gettext
10DEPENDS += "intltool-native gettext-native"
11
12EXTRA_OEMAKE = " \
13 PYTHON='${STAGING_BINDIR_NATIVE}'/python-native/python \
14 PYTHON_SITELIB=${PYTHON_SITEPACKAGES_DIR} \
15"
16do_install() {
17 oe_runmake 'DESTDIR=${D}' install
18}
19
20do_install:append:class-native() {
21 rm -rf ${D}/usr
22}
23
24FILES:${PN} += " \
25 ${libdir}/python${PYTHON_BASEVERSION}/* \
26 ${datadir}/* \
27"
28BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb b/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
new file mode 100644
index 0000000000..019098fdf7
--- /dev/null
+++ b/meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
@@ -0,0 +1,27 @@
1SUMMARY = "Forwards messages from the journal to other hosts over the network using the Syslog Protocol"
2
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
5
6SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main"
7SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6"
8
9inherit meson systemd pkgconfig useradd features_check
10
11REQUIRED_DISTRO_FEATURES = "systemd"
12COMPATIBLE_HOST:libc-musl = "null"
13
14
15DEPENDS += "systemd"
16DEPENDS += "openssl"
17DEPENDS += "gperf-native"
18DEPENDS += "python3-sphinx-native"
19
20# systemd-netlogd uses prefix and sysconfdir in a weird way.
21EXTRA_OEMESON += "--prefix ${libdir}/systemd --sysconfdir ${sysconfdir}/systemd"
22
23FILES:${PN} += "${libdir}"
24
25USERADD_PACKAGES = "${PN}"
26GROUPADD_PARAM:${PN} = "-r systemd-journal"
27USERADD_PARAM:${PN} = "--system -d / -M --shell /sbin/nologin -g systemd-journal systemd-journal-netlog"
diff --git a/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch b/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch
deleted file mode 100644
index 640b131703..0000000000
--- a/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 7ffc1eba8596544d6e3af0fd5f4004fff6d56f84 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 29 Nov 2023 15:48:57 +0800
4Subject: [PATCH] hwloc_detection.cmake: remove cross-compiation check
5
6This check is preventing pkgconfig to
7search for hwloc under cross-compilation.
8
9pkgconfig able to find hwloc pkg from sysroot.
10
11Upstream-Status: Inappropriate
12
13Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
14---
15 cmake/hwloc_detection.cmake | 2 --
16 1 file changed, 2 deletions(-)
17
18diff --git a/cmake/hwloc_detection.cmake b/cmake/hwloc_detection.cmake
19index 47233b17..5a7e84c3 100644
20--- a/cmake/hwloc_detection.cmake
21+++ b/cmake/hwloc_detection.cmake
22@@ -46,8 +46,6 @@ endforeach()
23 unset(HWLOC_TARGET_NAME)
24
25 if (NOT HWLOC_TARGET_EXPLICITLY_DEFINED AND
26- # No hwloc auto detection for cross compilation
27- NOT CMAKE_CROSSCOMPILING AND
28 NOT TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH
29 )
30 find_package(PkgConfig QUIET)
31--
322.37.3
33
diff --git a/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb b/meta-oe/recipes-support/tbb/tbb_2022.1.0.bb
index f834726bd6..937cf6a0b9 100644
--- a/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb
+++ b/meta-oe/recipes-support/tbb/tbb_2022.1.0.bb
@@ -12,12 +12,11 @@ DEPENDS:append:class-target = " hwloc"
12 12
13PE = "1" 13PE = "1"
14 14
15BRANCH = "onetbb_2021" 15BRANCH = "onetbb_2022"
16SRCREV = "8b829acc65569019edb896c5150d427f288e8aba" 16SRCREV = "45587e94dfb6dfe00220c5f520020a5bc745e92f"
17SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \ 17SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \
18 file://0001-hwloc_detection.cmake-remove-cross-compiation-check.patch \ 18 "
19" 19
20S = "${WORKDIR}/git"
21 20
22inherit cmake pkgconfig 21inherit cmake pkgconfig
23 22
@@ -25,6 +24,8 @@ inherit cmake pkgconfig
25EXTRA_OECMAKE += " \ 24EXTRA_OECMAKE += " \
26 -DTBB_TEST=OFF \ 25 -DTBB_TEST=OFF \
27 -DCMAKE_BUILD_TYPE=Release \ 26 -DCMAKE_BUILD_TYPE=Release \
27 -DTBB_STRICT=OFF \
28 -DTBB_DISABLE_HWLOC_AUTOMATIC_SEARCH=OFF \
28 " 29 "
29 30
30# Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) 31# Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)
diff --git a/meta-oe/recipes-support/testdisk/testdisk_7.2.bb b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
new file mode 100644
index 0000000000..66d0cd4d0d
--- /dev/null
+++ b/meta-oe/recipes-support/testdisk/testdisk_7.2.bb
@@ -0,0 +1,17 @@
1DESCRIPTION = "TestDisk is a free data recovery software primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting your Partition Table)."
2LICENSE = "GPL-2.0-or-later"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4
5DEPENDS = "jpeg ncurses e2fsprogs"
6
7SRC_URI = "https://www.cgsecurity.org/${BP}.tar.bz2"
8SRC_URI[sha256sum] = "f8343be20cb4001c5d91a2e3bcd918398f00ae6d8310894a5a9f2feb813c283f"
9
10inherit autotools pkgconfig
11COMPATIBLE_HOST:libc-musl = "null"
12
13PACKAGES =+ "${PN}-photorec"
14
15DESCRIPTION:${PN}-photorec = "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory."
16FILES:${PN}-photorec = "${sbindir}/photorec"
17
diff --git a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc b/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
deleted file mode 100644
index d71aa442fa..0000000000
--- a/meta-oe/recipes-support/thin-provisioning-tools/thin-provisioning-tools-crates.inc
+++ /dev/null
@@ -1,214 +0,0 @@
1# Autogenerated with 'bitbake -c update_crates thin-provisioning-tools'
2
3# from Cargo.lock
4SRC_URI += " \
5 crate://crates.io/adler/1.0.2 \
6 crate://crates.io/aho-corasick/1.1.2 \
7 crate://crates.io/anstyle/1.0.6 \
8 crate://crates.io/anyhow/1.0.80 \
9 crate://crates.io/atty/0.2.14 \
10 crate://crates.io/autocfg/1.1.0 \
11 crate://crates.io/base64/0.21.7 \
12 crate://crates.io/bitflags/1.3.2 \
13 crate://crates.io/bitflags/2.4.2 \
14 crate://crates.io/bytemuck/1.14.3 \
15 crate://crates.io/byteorder/1.5.0 \
16 crate://crates.io/cassowary/0.3.0 \
17 crate://crates.io/cfg-if/1.0.0 \
18 crate://crates.io/clap/4.5.1 \
19 crate://crates.io/clap_builder/4.5.1 \
20 crate://crates.io/clap_lex/0.7.0 \
21 crate://crates.io/console/0.15.8 \
22 crate://crates.io/crc32c/0.6.5 \
23 crate://crates.io/crc32fast/1.4.0 \
24 crate://crates.io/data-encoding/2.5.0 \
25 crate://crates.io/downcast/0.11.0 \
26 crate://crates.io/duct/0.13.7 \
27 crate://crates.io/encode_unicode/0.3.6 \
28 crate://crates.io/env_logger/0.8.4 \
29 crate://crates.io/errno/0.3.8 \
30 crate://crates.io/exitcode/1.1.2 \
31 crate://crates.io/fastrand/2.0.1 \
32 crate://crates.io/fixedbitset/0.4.2 \
33 crate://crates.io/flate2/1.0.28 \
34 crate://crates.io/fragile/2.0.0 \
35 crate://crates.io/getrandom/0.2.12 \
36 crate://crates.io/hermit-abi/0.1.19 \
37 crate://crates.io/hermit-abi/0.3.6 \
38 crate://crates.io/indicatif/0.17.8 \
39 crate://crates.io/instant/0.1.12 \
40 crate://crates.io/iovec/0.1.4 \
41 crate://crates.io/lazy_static/1.4.0 \
42 crate://crates.io/libc/0.2.153 \
43 crate://crates.io/linux-raw-sys/0.4.13 \
44 crate://crates.io/log/0.4.20 \
45 crate://crates.io/memchr/2.7.1 \
46 crate://crates.io/minimal-lexical/0.2.1 \
47 crate://crates.io/miniz_oxide/0.7.2 \
48 crate://crates.io/mockall/0.12.1 \
49 crate://crates.io/mockall_derive/0.12.1 \
50 crate://crates.io/nom/7.1.3 \
51 crate://crates.io/num-derive/0.4.2 \
52 crate://crates.io/num-traits/0.2.18 \
53 crate://crates.io/num_cpus/1.16.0 \
54 crate://crates.io/number_prefix/0.4.0 \
55 crate://crates.io/numtoa/0.1.0 \
56 crate://crates.io/once_cell/1.19.0 \
57 crate://crates.io/os_pipe/1.1.5 \
58 crate://crates.io/portable-atomic/1.6.0 \
59 crate://crates.io/ppv-lite86/0.2.17 \
60 crate://crates.io/predicates/3.1.0 \
61 crate://crates.io/predicates-core/1.0.6 \
62 crate://crates.io/predicates-tree/1.0.9 \
63 crate://crates.io/proc-macro2/1.0.78 \
64 crate://crates.io/quick-xml/0.31.0 \
65 crate://crates.io/quickcheck/1.0.3 \
66 crate://crates.io/quickcheck_macros/1.0.0 \
67 crate://crates.io/quote/1.0.35 \
68 crate://crates.io/rand/0.8.5 \
69 crate://crates.io/rand_chacha/0.3.1 \
70 crate://crates.io/rand_core/0.6.4 \
71 crate://crates.io/rangemap/1.5.0 \
72 crate://crates.io/redox_syscall/0.2.16 \
73 crate://crates.io/redox_termios/0.1.3 \
74 crate://crates.io/regex/1.10.3 \
75 crate://crates.io/regex-automata/0.4.5 \
76 crate://crates.io/regex-syntax/0.8.2 \
77 crate://crates.io/roaring/0.10.3 \
78 crate://crates.io/rustc_version/0.4.0 \
79 crate://crates.io/rustix/0.38.31 \
80 crate://crates.io/safemem/0.3.3 \
81 crate://crates.io/semver/1.0.22 \
82 crate://crates.io/shared_child/1.0.0 \
83 crate://crates.io/strsim/0.11.0 \
84 crate://crates.io/syn/1.0.109 \
85 crate://crates.io/syn/2.0.50 \
86 crate://crates.io/tempfile/3.10.0 \
87 crate://crates.io/termion/1.5.6 \
88 crate://crates.io/termtree/0.4.1 \
89 crate://crates.io/thiserror/1.0.57 \
90 crate://crates.io/thiserror-impl/1.0.57 \
91 crate://crates.io/threadpool/1.8.1 \
92 crate://crates.io/tui/0.19.0 \
93 crate://crates.io/unicode-ident/1.0.12 \
94 crate://crates.io/unicode-segmentation/1.11.0 \
95 crate://crates.io/unicode-width/0.1.11 \
96 crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
97 crate://crates.io/winapi/0.3.9 \
98 crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
99 crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
100 crate://crates.io/windows-sys/0.52.0 \
101 crate://crates.io/windows-targets/0.52.3 \
102 crate://crates.io/windows_aarch64_gnullvm/0.52.3 \
103 crate://crates.io/windows_aarch64_msvc/0.52.3 \
104 crate://crates.io/windows_i686_gnu/0.52.3 \
105 crate://crates.io/windows_i686_msvc/0.52.3 \
106 crate://crates.io/windows_x86_64_gnu/0.52.3 \
107 crate://crates.io/windows_x86_64_gnullvm/0.52.3 \
108 crate://crates.io/windows_x86_64_msvc/0.52.3 \
109"
110
111SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
112SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
113SRC_URI[anstyle-1.0.6.sha256sum] = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc"
114SRC_URI[anyhow-1.0.80.sha256sum] = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1"
115SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
116SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
117SRC_URI[base64-0.21.7.sha256sum] = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567"
118SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
119SRC_URI[bitflags-2.4.2.sha256sum] = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf"
120SRC_URI[bytemuck-1.14.3.sha256sum] = "a2ef034f05691a48569bd920a96c81b9d91bbad1ab5ac7c4616c1f6ef36cb79f"
121SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
122SRC_URI[cassowary-0.3.0.sha256sum] = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
123SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
124SRC_URI[clap-4.5.1.sha256sum] = "c918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520da"
125SRC_URI[clap_builder-4.5.1.sha256sum] = "9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1eb"
126SRC_URI[clap_lex-0.7.0.sha256sum] = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce"
127SRC_URI[console-0.15.8.sha256sum] = "0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4eb"
128SRC_URI[crc32c-0.6.5.sha256sum] = "89254598aa9b9fa608de44b3ae54c810f0f06d755e24c50177f1f8f31ff50ce2"
129SRC_URI[crc32fast-1.4.0.sha256sum] = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa"
130SRC_URI[data-encoding-2.5.0.sha256sum] = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
131SRC_URI[downcast-0.11.0.sha256sum] = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
132SRC_URI[duct-0.13.7.sha256sum] = "e4ab5718d1224b63252cd0c6f74f6480f9ffeb117438a2e0f5cf6d9a4798929c"
133SRC_URI[encode_unicode-0.3.6.sha256sum] = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f"
134SRC_URI[env_logger-0.8.4.sha256sum] = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
135SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245"
136SRC_URI[exitcode-1.1.2.sha256sum] = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
137SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
138SRC_URI[fixedbitset-0.4.2.sha256sum] = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
139SRC_URI[flate2-1.0.28.sha256sum] = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e"
140SRC_URI[fragile-2.0.0.sha256sum] = "6c2141d6d6c8512188a7891b4b01590a45f6dac67afb4f255c4124dbb86d4eaa"
141SRC_URI[getrandom-0.2.12.sha256sum] = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5"
142SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
143SRC_URI[hermit-abi-0.3.6.sha256sum] = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd"
144SRC_URI[indicatif-0.17.8.sha256sum] = "763a5a8f45087d6bcea4222e7b72c291a054edf80e4ef6efd2a4979878c7bea3"
145SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
146SRC_URI[iovec-0.1.4.sha256sum] = "b2b3ea6ff95e175473f8ffe6a7eb7c00d054240321b84c57051175fe3c1e075e"
147SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
148SRC_URI[libc-0.2.153.sha256sum] = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
149SRC_URI[linux-raw-sys-0.4.13.sha256sum] = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c"
150SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
151SRC_URI[memchr-2.7.1.sha256sum] = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
152SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
153SRC_URI[miniz_oxide-0.7.2.sha256sum] = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7"
154SRC_URI[mockall-0.12.1.sha256sum] = "43766c2b5203b10de348ffe19f7e54564b64f3d6018ff7648d1e2d6d3a0f0a48"
155SRC_URI[mockall_derive-0.12.1.sha256sum] = "af7cbce79ec385a1d4f54baa90a76401eb15d9cab93685f62e7e9f942aa00ae2"
156SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
157SRC_URI[num-derive-0.4.2.sha256sum] = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202"
158SRC_URI[num-traits-0.2.18.sha256sum] = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a"
159SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
160SRC_URI[number_prefix-0.4.0.sha256sum] = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3"
161SRC_URI[numtoa-0.1.0.sha256sum] = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
162SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
163SRC_URI[os_pipe-1.1.5.sha256sum] = "57119c3b893986491ec9aa85056780d3a0f3cf4da7cc09dd3650dbd6c6738fb9"
164SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0"
165SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
166SRC_URI[predicates-3.1.0.sha256sum] = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8"
167SRC_URI[predicates-core-1.0.6.sha256sum] = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
168SRC_URI[predicates-tree-1.0.9.sha256sum] = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
169SRC_URI[proc-macro2-1.0.78.sha256sum] = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
170SRC_URI[quick-xml-0.31.0.sha256sum] = "1004a344b30a54e2ee58d66a71b32d2db2feb0a31f9a2d302bf0536f15de2a33"
171SRC_URI[quickcheck-1.0.3.sha256sum] = "588f6378e4dd99458b60ec275b4477add41ce4fa9f64dcba6f15adccb19b50d6"
172SRC_URI[quickcheck_macros-1.0.0.sha256sum] = "b22a693222d716a9587786f37ac3f6b4faedb5b80c23914e7303ff5a1d8016e9"
173SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
174SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
175SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
176SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
177SRC_URI[rangemap-1.5.0.sha256sum] = "795915a3930a5d6bafd9053d37602fea3e61be2e5d4d788983a8ba9654c1c6f2"
178SRC_URI[redox_syscall-0.2.16.sha256sum] = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
179SRC_URI[redox_termios-0.1.3.sha256sum] = "20145670ba436b55d91fc92d25e71160fbfbdd57831631c8d7d36377a476f1cb"
180SRC_URI[regex-1.10.3.sha256sum] = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15"
181SRC_URI[regex-automata-0.4.5.sha256sum] = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd"
182SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
183SRC_URI[roaring-0.10.3.sha256sum] = "a1c77081a55300e016cb86f2864415b7518741879db925b8d488a0ee0d2da6bf"
184SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
185SRC_URI[rustix-0.38.31.sha256sum] = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949"
186SRC_URI[safemem-0.3.3.sha256sum] = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
187SRC_URI[semver-1.0.22.sha256sum] = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca"
188SRC_URI[shared_child-1.0.0.sha256sum] = "b0d94659ad3c2137fef23ae75b03d5241d633f8acded53d672decfa0e6e0caef"
189SRC_URI[strsim-0.11.0.sha256sum] = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01"
190SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
191SRC_URI[syn-2.0.50.sha256sum] = "74f1bdc9872430ce9b75da68329d1c1746faf50ffac5f19e02b71e37ff881ffb"
192SRC_URI[tempfile-3.10.0.sha256sum] = "a365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67"
193SRC_URI[termion-1.5.6.sha256sum] = "077185e2eac69c3f8379a4298e1e07cd36beb962290d4a51199acf0fdc10607e"
194SRC_URI[termtree-0.4.1.sha256sum] = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
195SRC_URI[thiserror-1.0.57.sha256sum] = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b"
196SRC_URI[thiserror-impl-1.0.57.sha256sum] = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81"
197SRC_URI[threadpool-1.8.1.sha256sum] = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
198SRC_URI[tui-0.19.0.sha256sum] = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1"
199SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
200SRC_URI[unicode-segmentation-1.11.0.sha256sum] = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202"
201SRC_URI[unicode-width-0.1.11.sha256sum] = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
202SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
203SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
204SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
205SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
206SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
207SRC_URI[windows-targets-0.52.3.sha256sum] = "d380ba1dc7187569a8a9e91ed34b8ccfc33123bbacb8c0aed2d1ad7f3ef2dc5f"
208SRC_URI[windows_aarch64_gnullvm-0.52.3.sha256sum] = "68e5dcfb9413f53afd9c8f86e56a7b4d86d9a2fa26090ea2dc9e40fba56c6ec6"
209SRC_URI[windows_aarch64_msvc-0.52.3.sha256sum] = "8dab469ebbc45798319e69eebf92308e541ce46760b49b18c6b3fe5e8965b30f"
210SRC_URI[windows_i686_gnu-0.52.3.sha256sum] = "2a4e9b6a7cac734a8b4138a4e1044eac3404d8326b6c0f939276560687a033fb"
211SRC_URI[windows_i686_msvc-0.52.3.sha256sum] = "28b0ec9c422ca95ff34a78755cfa6ad4a51371da2a5ace67500cf7ca5f232c58"
212SRC_URI[windows_x86_64_gnu-0.52.3.sha256sum] = "704131571ba93e89d7cd43482277d6632589b18ecf4468f591fbae0a8b101614"
213SRC_URI[windows_x86_64_gnullvm-0.52.3.sha256sum] = "42079295511643151e98d61c38c0acc444e52dd42ab456f7ccfd5152e8ecf21c"
214SRC_URI[windows_x86_64_msvc-0.52.3.sha256sum] = "0770833d60a970638e989b3fa9fd2bb1aaadcf88963d1659fd7d9990196ed2d6"
diff --git a/meta-oe/recipes-support/tio/tio_2.7.bb b/meta-oe/recipes-support/tio/tio_3.9.bb
index 59c772b5d0..67107e2924 100644
--- a/meta-oe/recipes-support/tio/tio_2.7.bb
+++ b/meta-oe/recipes-support/tio/tio_3.9.bb
@@ -2,18 +2,16 @@ SUMMARY = "tio - a simple serial device I/O tool"
2DESCRIPTION = "tio is a simple serial device tool which features a \ 2DESCRIPTION = "tio is a simple serial device tool which features a \
3 straightforward command-line and configuration file interface to easily \ 3 straightforward command-line and configuration file interface to easily \
4 connect to serial TTY devices for basic I/O operations." 4 connect to serial TTY devices for basic I/O operations."
5
6LICENSE = "GPL-2.0-or-later" 5LICENSE = "GPL-2.0-or-later"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=0e1a95b7892d3015ecd6d0016f601f2c" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=d25b0ab86d83b943da4d25251a2c21d7"
7DEPENDS += " glib-2.0 lua"
8SRCREV = "bdfe87e1cbf6e3bfd48324a25ea026fcd3cc47e9"
8 9
9SRC_URI = "git://github.com/tio/tio;protocol=https;branch=master" 10SRC_URI = "git://github.com/tio/tio;protocol=https;branch=master;tag=v${PV}"
10SRCREV = "1c32555c2a4f26b60f94757656825fc6684d6892"
11 11
12S = "${WORKDIR}/git"
13 12
14inherit meson pkgconfig 13inherit meson pkgconfig
15 14
16DEPENDS += " libinih" 15RDEPENDS:${PN} += " lua"
17RDEPENDS:${PN} += " libinih"
18 16
19FILES:${PN} += " /usr/share/bash-completion/completions/tio " 17FILES:${PN} += " ${datadir}/bash-completion/completions/tio"
diff --git a/meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb b/meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb
index ae00ff4e55..75f68ab5f5 100644
--- a/meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb
+++ b/meta-oe/recipes-support/tokyocabinet/tokyocabinet_1.4.48.bb
@@ -20,7 +20,6 @@ SRC_URI = "http://fallabs.com/tokyocabinet/${BP}.tar.gz \
20 file://0001-configure-Fix-check-functions-for-AC_CHECK_LIB-test.patch \ 20 file://0001-configure-Fix-check-functions-for-AC_CHECK_LIB-test.patch \
21" 21"
22 22
23SRC_URI[md5sum] = "fd03df6965f8f56dd5b8518ca43b4f5e"
24SRC_URI[sha256sum] = "a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90" 23SRC_URI[sha256sum] = "a003f47c39a91e22d76bc4fe68b9b3de0f38851b160bbb1ca07a4f6441de1f90"
25 24
26DEPENDS = "bzip2 zlib" 25DEPENDS = "bzip2 zlib"
diff --git a/meta-oe/recipes-support/tree/tree_2.1.1.bb b/meta-oe/recipes-support/tree/tree_2.2.1.bb
index 0b61149609..df52d63fbb 100644
--- a/meta-oe/recipes-support/tree/tree_2.1.1.bb
+++ b/meta-oe/recipes-support/tree/tree_2.2.1.bb
@@ -1,11 +1,11 @@
1SUMMARY = "A recursive directory listing command" 1SUMMARY = "A recursive directory listing command"
2HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" 2HOMEPAGE = "https://oldmanprogrammer.net/source.php?dir=projects/tree"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "GPL-2.0-only" 4LICENSE = "GPL-2.0-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
6 6
7SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/${BP}.tgz" 7SRC_URI = "https://oldmanprogrammer.net/tar/tree/${BP}.tgz"
8SRC_URI[sha256sum] = "d3c3d55f403af7c76556546325aa1eca90b918cbaaf6d3ab60a49d8367ab90d5" 8SRC_URI[sha256sum] = "68ac45dc78c0c311ada06200ffc3c285e74223ba208061f8d15ffac25e44b2ec"
9 9
10# tree's default CFLAGS for Linux 10# tree's default CFLAGS for Linux
11CFLAGS += "-Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" 11CFLAGS += "-Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
diff --git a/meta-oe/recipes-support/udisks/udisks2_2.10.1.bb b/meta-oe/recipes-support/udisks/udisks2_2.10.1.bb
index cb1cbe670d..85859cd968 100644
--- a/meta-oe/recipes-support/udisks/udisks2_2.10.1.bb
+++ b/meta-oe/recipes-support/udisks/udisks2_2.10.1.bb
@@ -22,7 +22,6 @@ SRC_URI = " \
22 file://0001-Makefile.am-Dont-include-buildpath.patch \ 22 file://0001-Makefile.am-Dont-include-buildpath.patch \
23" 23"
24SRCREV = "18c9faf089e306ad6f3f51f5cb887a6b9aa08350" 24SRCREV = "18c9faf089e306ad6f3f51f5cb887a6b9aa08350"
25S = "${WORKDIR}/git"
26 25
27CVE_PRODUCT = "udisks" 26CVE_PRODUCT = "udisks"
28 27
diff --git a/meta-oe/recipes-support/uhubctl/uhubctl_2.5.0.bb b/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb
index 8b334dbdec..f4c2eaa63f 100644
--- a/meta-oe/recipes-support/uhubctl/uhubctl_2.5.0.bb
+++ b/meta-oe/recipes-support/uhubctl/uhubctl_2.6.0.bb
@@ -6,9 +6,10 @@ DEPENDS = "libusb1"
6LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8 8
9SRCREV = "20276ad5ced147d018e2b3fccedabd94597aa25e" 9SRCREV = "352f5878e999c0a9d5a453b34110479b2056d7e7"
10SRC_URI = "git://github.com/mvp/${BPN};branch=master;protocol=https" 10SRC_URI = "git://github.com/mvp/${BPN};branch=master;protocol=https"
11S = "${WORKDIR}/git" 11
12inherit pkgconfig
12 13
13# uhubctl gets its program version from "git describe". As we use the source 14# uhubctl gets its program version from "git describe". As we use the source
14# archive do reduce download size replace the call with our hardcoded version. 15# archive do reduce download size replace the call with our hardcoded version.
diff --git a/meta-oe/recipes-support/uim/uim_1.8.9.bb b/meta-oe/recipes-support/uim/uim_1.9.0.bb
index f78c82f18a..cb3aee3f0d 100644
--- a/meta-oe/recipes-support/uim/uim_1.8.9.bb
+++ b/meta-oe/recipes-support/uim/uim_1.9.0.bb
@@ -8,9 +8,10 @@ SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2"
8SRC_URI:append:class-target = "\ 8SRC_URI:append:class-target = "\
9 file://uim-module-manager.patch \ 9 file://uim-module-manager.patch \
10" 10"
11SRC_URI[sha256sum] = "dbbd983768bf748449551644f330dbebe859bfeb6f024fea6697ac75131c7aa4" 11SRC_URI[sha256sum] = "271f0ed5f455e5bffa859f01b2d0f7fb966554ebd4822657afb67a0431dd85a8"
12 12
13UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" 13UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
14UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
14 15
15DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool libedit" 16DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool libedit"
16DEPENDS:append:class-target = " intltool-native gtk+ gtk+3 uim-native" 17DEPENDS:append:class-target = " intltool-native gtk+ gtk+3 uim-native"
@@ -30,6 +31,8 @@ REQUIRED_DISTRO_FEATURES = "x11"
30 31
31GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3" 32GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3"
32 33
34CFLAGS += "-std=gnu17"
35
33EXTRA_OECONF += "--disable-emacs \ 36EXTRA_OECONF += "--disable-emacs \
34 --with-libedit=${STAGING_EXECPREFIXDIR} \ 37 --with-libedit=${STAGING_EXECPREFIXDIR} \
35 --without-scim \ 38 --without-scim \
diff --git a/meta-oe/recipes-support/unicode-ucd/unicode-ucd_14.0.0.bb b/meta-oe/recipes-support/unicode-ucd/unicode-ucd_14.0.0.bb
index 026d4ffe02..890568d727 100644
--- a/meta-oe/recipes-support/unicode-ucd/unicode-ucd_14.0.0.bb
+++ b/meta-oe/recipes-support/unicode-ucd/unicode-ucd_14.0.0.bb
@@ -1,19 +1,18 @@
1SUMMARY = "Unicode Character Database" 1SUMMARY = "Unicode Character Database"
2HOMEPAGE = "https://unicode.org/ucd/" 2HOMEPAGE = "https://unicode.org/ucd/"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${UNPACKDIR}/license.txt;md5=4b11b5cbb0a24df9f4e7db63db98f22f" 4LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ucd-license-v3.txt;md5=ea17640caddb659394df50e5db6efd69"
5 5
6SRC_URI = " \ 6SRC_URI = " \
7 https://www.unicode.org/Public/zipped/${PV}/UCD.zip;name=ucd;subdir=ucd;downloadfilename=unicode-ucd-${PV}.zip \ 7 https://www.unicode.org/Public/zipped/${PV}/UCD.zip;name=ucd;subdir=ucd;downloadfilename=unicode-ucd-${PV}.zip \
8 https://www.unicode.org/license.txt;name=ucd-license \ 8 https://www.unicode.org/license.txt;downloadfilename=ucd-license-v3.txt;name=ucd-license \
9" 9"
10SRC_URI[ucd.sha256sum] = "033a5276b5d7af8844589f8e3482f3977a8385e71d107d375055465178c23600" 10SRC_URI[ucd.sha256sum] = "033a5276b5d7af8844589f8e3482f3977a8385e71d107d375055465178c23600"
11SRC_URI[ucd-license.sha256sum] = "f7830d126f59d83842565d3dddedc79db4ca978ed52aee0ebcc040ea76a85519" 11SRC_URI[ucd-license.sha256sum] = "abf84f74dea2812799e1dbef7f0581adf7db244881e4febb8684f441568da0ad"
12 12
13inherit allarch 13inherit allarch
14 14
15S = "${WORKDIR}/sources" 15S = "${UNPACKDIR}"
16UNPACKDIR = "${S}"
17 16
18do_configure[noexec] = "1" 17do_configure[noexec] = "1"
19 18
diff --git a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
index dfad833e0a..389c3be903 100644
--- a/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
+++ b/meta-oe/recipes-support/unixodbc/unixodbc_2.3.12.bb
@@ -15,11 +15,12 @@ SRC_URI = "https://www.unixodbc.org/unixODBC-${PV}.tar.gz \
15" 15"
16SRC_URI[sha256sum] = "f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f01915ec" 16SRC_URI[sha256sum] = "f210501445ce21bf607ba51ef8c125e10e22dffdffec377646462df5f01915ec"
17 17
18UPSTREAM_CHECK_URI = "https://www.unixodbc.org/download.html"
18UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar" 19UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
19 20
20inherit autotools-brokensep multilib_header qemu 21inherit autotools-brokensep multilib_header qemu
21 22
22S = "${WORKDIR}/unixODBC-${PV}" 23S = "${UNPACKDIR}/unixODBC-${PV}"
23 24
24EXTRA_OEMAKE += "LIBS=-lltdl" 25EXTRA_OEMAKE += "LIBS=-lltdl"
25EXTRA_OECONF += "--enable-utf8ini" 26EXTRA_OECONF += "--enable-utf8ini"
diff --git a/meta-oe/recipes-support/upower/power-profiles-daemon_0.30.bb b/meta-oe/recipes-support/upower/power-profiles-daemon_0.30.bb
new file mode 100644
index 0000000000..f9f7e86990
--- /dev/null
+++ b/meta-oe/recipes-support/upower/power-profiles-daemon_0.30.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Makes power profiles handling available over D-Bus"
2HOMEPAGE = "https://gitlab.freedesktop.org/upower/power-profile-daemon"
3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5
6DEPENDS = " \
7 glib-2.0 \
8 polkit \
9 upower \
10 libgudev \
11"
12
13inherit meson pkgconfig systemd features_check
14
15REQUIRED_DISTRO_FEATURES = "polkit"
16
17EXTRA_OEMESON = "-Dtests=false"
18
19SRCREV = "5b4994c8a91290481bef87a5bae95391d0ec677f"
20SRC_URI = "git://gitlab.freedesktop.org/upower/power-profiles-daemon;branch=main;protocol=https"
21
22do_install:append() {
23 install -d ${D}${sysconfdir}/tmpfiles.d
24 echo "d ${localstatedir}/lib/power-profiles-daemon 700 root root - -" > ${D}${sysconfdir}/tmpfiles.d/power-profiles-daemon.conf
25 sed -i -e 's|After=multi-user.target |After=|g' ${D}${systemd_system_unitdir}/power-profiles-daemon.service
26}
27
28FILES:${PN} += "${sysconfdir}/tmpfiles.d ${datadir}/dbus-1 ${datadir}/polkit-1 ${systemd_system_unitdir}"
diff --git a/meta-oe/recipes-support/upower/upower_0.99.17.bb b/meta-oe/recipes-support/upower/upower_1.90.6.bb
index 0572cc801b..d2f58d5b22 100644
--- a/meta-oe/recipes-support/upower/upower_0.99.17.bb
+++ b/meta-oe/recipes-support/upower/upower_1.90.6.bb
@@ -11,11 +11,12 @@ DEPENDS = " \
11 dbus-glib \ 11 dbus-glib \
12" 12"
13 13
14SRC_URI = "git://gitlab.freedesktop.org/upower/upower.git;protocol=https;branch=master" 14SRC_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/archive/v${PV}/${BPN}-v${PV}.tar.bz2"
15SRCREV = "c889154ec8e3e2239db9260d48b2e198d72ba002" 15SRC_URI[sha256sum] = "aed4e42a21307512ad236ad58d7ee4e0196670c8524a168a0edccdc32964ea0c"
16S = "${WORKDIR}/git" 16S = "${UNPACKDIR}/${BPN}-v${PV}"
17 17
18UPSTREAM_CHECK_GITTAGREGEX = "UPOWER_(?P<pver>\d+(\_\d+)+)" 18UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/${BPN}/${BPN}/-/tags"
19UPSTREAM_CHECK_REGEX = "v(?P<pver>\d+(\.\d+)+)"
19 20
20GIR_MESON_ENABLE_FLAG = "enabled" 21GIR_MESON_ENABLE_FLAG = "enabled"
21GIR_MESON_DISABLE_FLAG = "disabled" 22GIR_MESON_DISABLE_FLAG = "disabled"
@@ -23,9 +24,10 @@ GTKDOC_MESON_OPTION = "gtk-doc"
23 24
24inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd 25inherit meson pkgconfig gtk-doc gettext gobject-introspection systemd
25 26
26PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}"
27PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist" 28PACKAGECONFIG[idevice] = "-Didevice=enabled,-Didevice=disabled,libimobiledevice libplist"
28PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd" 29PACKAGECONFIG[systemd] = "-Dsystemdsystemunitdir=${systemd_system_unitdir},-Dsystemdsystemunitdir=no -Dudevrulesdir=${base_libdir}/udev/rules.d,systemd"
30PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
29 31
30EXTRA_OEMESON = " \ 32EXTRA_OEMESON = " \
31 -Dos_backend=linux \ 33 -Dos_backend=linux \
@@ -36,9 +38,16 @@ SYSTEMD_SERVICE:${PN} = "upower.service"
36# don't start on boot by default - dbus does that on demand 38# don't start on boot by default - dbus does that on demand
37SYSTEMD_AUTO_ENABLE = "disable" 39SYSTEMD_AUTO_ENABLE = "disable"
38 40
39RDEPENDS:${PN} += "dbus" 41RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_dbus}"
40RRECOMMENDS:${PN} += "pm-utils" 42RRECOMMENDS:${PN} += "pm-utils"
41FILES:${PN} += " \ 43FILES:${PN} += " \
42 ${datadir}/dbus-1/ \ 44 ${datadir}/dbus-1/ \
45 ${datadir}/polkit-1/ \
43 ${base_libdir}/udev/* \ 46 ${base_libdir}/udev/* \
44" 47"
48
49do_install:append() {
50 # remove integration tests scripts
51 rm -rf ${D}${datadir}/installed-tests
52 rm -rf ${D}${libexecdir}/upower
53}
diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20191128.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20191128.bb
index 351fe44d70..2dfcd886ca 100644
--- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20191128.bb
+++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch-data_20191128.bb
@@ -7,7 +7,6 @@ inherit allarch
7DEPENDS += "tcl-native" 7DEPENDS += "tcl-native"
8 8
9SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" 9SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
10SRC_URI[md5sum] = "e8fce7eb949cbe16c61fb71bade4cc17"
11SRC_URI[sha256sum] = "3f039b60791c21c7cb15c7986cac89650f076dc274798fa242231b910785eaf9" 10SRC_URI[sha256sum] = "3f039b60791c21c7cb15c7986cac89650f076dc274798fa242231b910785eaf9"
12 11
13do_install() { 12do_install() {
diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch/0001-Fix-build-with-gcc-15.patch b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch/0001-Fix-build-with-gcc-15.patch
new file mode 100644
index 0000000000..eb65beb686
--- /dev/null
+++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch/0001-Fix-build-with-gcc-15.patch
@@ -0,0 +1,51 @@
1From f497eef1f38bd79a96a13269f251f1413c54b790 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <martin.jansa@gmail.com>
3Date: Tue, 25 Mar 2025 12:36:32 +0100
4Subject: [PATCH] Fix build with gcc-15
5
6* fixes:
7 http://errors.yoctoproject.org/Errors/Details/848747/
8
9usb_modeswitch.c: In function 'main':
10usb_modeswitch.c:573:28: error: too many arguments to function 'get_current_config_value'; expected 0, have 1
11 573 | currentConfigVal = get_current_config_value(dev);
12 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~
13In file included from usb_modeswitch.c:59:
14usb_modeswitch.h:55:5: note: declared here
15 55 | int get_current_config_value();
16 | ^~~~~~~~~~~~~~~~~~~~~~~~
17usb_modeswitch.c:775:52: error: too many arguments to function 'get_current_config_value'; expected 0, have 1
18 775 | currentConfigVal = get_current_config_value(dev);
19 | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~
20usb_modeswitch.h:55:5: note: declared here
21 55 | int get_current_config_value();
22 | ^~~~~~~~~~~~~~~~~~~~~~~~
23
24Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
25Upstream-Status: Submitted [https://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=3122]
26---
27 usb_modeswitch.c | 4 ++--
28 1 file changed, 2 insertions(+), 2 deletions(-)
29
30diff --git a/usb_modeswitch.c b/usb_modeswitch.c
31index 2d4c0aa..bfbcbfb 100644
32--- a/usb_modeswitch.c
33+++ b/usb_modeswitch.c
34@@ -570,7 +570,7 @@ int main(int argc, char **argv)
35 /* Get current configuration of default device, note value if Configuration
36 * parameter is set. Also sets active_config
37 */
38- currentConfigVal = get_current_config_value(dev);
39+ currentConfigVal = get_current_config_value();
40 if (Configuration > -1) {
41 SHOW_PROGRESS(output,"Current configuration number is %d\n", currentConfigVal);
42 } else
43@@ -772,7 +772,7 @@ int main(int argc, char **argv)
44 if (Configuration > 0) {
45 if (currentConfigVal != Configuration) {
46 if (switchConfiguration()) {
47- currentConfigVal = get_current_config_value(dev);
48+ currentConfigVal = get_current_config_value();
49 if (currentConfigVal == Configuration) {
50 SHOW_PROGRESS(output,"The configuration was set successfully\n");
51 } else {
diff --git a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.1.bb b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.1.bb
index cd3840feab..b6b720fe1e 100644
--- a/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.1.bb
+++ b/meta-oe/recipes-support/usb-modeswitch/usb-modeswitch_2.6.1.bb
@@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=091556bd6d0154cd4c2d17a1bfc7380a"
4 4
5DEPENDS = "libusb1" 5DEPENDS = "libusb1"
6 6
7SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" 7SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2 \
8 file://0001-Fix-build-with-gcc-15.patch \
9"
8SRC_URI[sha256sum] = "5195d9e136e52f658f19e9f93e4f982b1b67bffac197d0a455cd8c2cd245fa34" 10SRC_URI[sha256sum] = "5195d9e136e52f658f19e9f93e4f982b1b67bffac197d0a455cd8c2cd245fa34"
9 11
10inherit pkgconfig systemd 12inherit pkgconfig systemd
diff --git a/meta-oe/recipes-support/usbids/usbids_2023.01.16.bb b/meta-oe/recipes-support/usbids/usbids_2025.04.01.bb
index b0dd72fb25..aa884419f8 100644
--- a/meta-oe/recipes-support/usbids/usbids_2023.01.16.bb
+++ b/meta-oe/recipes-support/usbids/usbids_2025.04.01.bb
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
6 6
7SRC_URI = "git://github.com/usbids/usbids.git;branch=master;protocol=https" 7SRC_URI = "git://github.com/usbids/usbids.git;branch=master;protocol=https"
8 8
9SRCREV = "7963233faf69eb9c80ffca8dfc1f31940f75999f" 9# April 1, 2025
10SRCREV = "635738b64eb52d376c5d1756c265de67236c8934"
10 11
11S = "${WORKDIR}/git"
12 12
13do_install() { 13do_install() {
14 install -d ${D}${datadir} 14 install -d ${D}${datadir}
diff --git a/meta-oe/recipes-support/uthash/uthash_2.3.0.bb b/meta-oe/recipes-support/uthash/uthash_2.3.0.bb
index ef15613586..357ddfdbca 100644
--- a/meta-oe/recipes-support/uthash/uthash_2.3.0.bb
+++ b/meta-oe/recipes-support/uthash/uthash_2.3.0.bb
@@ -16,7 +16,6 @@ SRC_URI = "\
16 file://run-ptest \ 16 file://run-ptest \
17" 17"
18 18
19S = "${WORKDIR}/git"
20 19
21inherit ptest 20inherit ptest
22 21
diff --git a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
index bd69dbb11c..e42b19a8d0 100644
--- a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
@@ -14,6 +14,5 @@ SRCREV = "9752b50e922572e4cd214ac45ed95e4ee410fe24"
14 14
15PV = "1.0.6+git" 15PV = "1.0.6+git"
16 16
17S = "${WORKDIR}/git"
18 17
19PARALLEL_MAKE = "" 18PARALLEL_MAKE = ""
diff --git a/meta-oe/recipes-support/utouch/utouch-frame_git.bb b/meta-oe/recipes-support/utouch/utouch-frame_git.bb
index ddd27a7e30..44994cafe0 100644
--- a/meta-oe/recipes-support/utouch/utouch-frame_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-frame_git.bb
@@ -18,4 +18,3 @@ SRCREV = "95363d5a1f7394d71144bf3b408ef4e6db4350fc"
18 18
19PV = "1.1.2+git" 19PV = "1.1.2+git"
20 20
21S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-support/utouch/utouch-mtview_git.bb b/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
index d964d7f263..eccaa81d18 100644
--- a/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-mtview_git.bb
@@ -16,4 +16,3 @@ DEPENDS += "mtdev utouch-frame utouch-evemu libx11"
16 16
17PV = "1.1.7+git" 17PV = "1.1.7+git"
18 18
19S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-fix-bool-reserved-word-error-in-gcc-15.patch b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-fix-bool-reserved-word-error-in-gcc-15.patch
new file mode 100644
index 0000000000..ec75d5a423
--- /dev/null
+++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-fix-bool-reserved-word-error-in-gcc-15.patch
@@ -0,0 +1,28 @@
1From 76c443dfd209ddbed3ed4102596a568670d4c59f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 1 May 2025 20:16:11 -0700
4Subject: [PATCH] fix bool reserved word error in gcc 15
5
6gcc-15 switched to -std=c23 by default. https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
7
8Upstream-Status: Submitted [https://www.virtualbox.org/pipermail/vbox-dev/2025-May/010316.html]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 vboxsf/include/iprt/types.h | 4 +++-
12 1 file changed, 3 insertions(+), 1 deletion(-)
13
14diff --git a/vboxsf/include/iprt/types.h b/vboxsf/include/iprt/types.h
15index 3bcc4146..33b46ef6 100644
16--- a/vboxsf/include/iprt/types.h
17+++ b/vboxsf/include/iprt/types.h
18@@ -282,7 +282,9 @@ typedef _Bool bool;
19 # endif
20 # else
21 # undef bool /* see above netbsd explanation */
22-typedef _Bool bool;
23+# if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
24+ typedef _Bool bool;
25+# endif
26 # endif
27 # else
28 # if RT_MSC_PREREQ(RT_MSC_VER_VC120)
diff --git a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.18.bb b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.1.8.bb
index 47f616e990..dbfa454f13 100644
--- a/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.18.bb
+++ b/meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.1.8.bb
@@ -1,34 +1,36 @@
1SUMMARY = "VirtualBox Linux Guest Drivers" 1SUMMARY = "VirtualBox Linux Guest Drivers"
2SECTION = "core" 2SECTION = "core"
3LICENSE = "GPL-3.0-only" 3LICENSE = "GPL-3.0-only"
4LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${VBOX_NAME}/COPYING;md5=fff5fe1c81dd6dc3d522e7862e44881e" 4LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${VBOX_NAME}/COPYING;md5=217590d3a513571b94632edf5fa1169a"
5 5
6DEPENDS = "virtual/kernel" 6DEPENDS = "virtual/kernel"
7 7
8inherit module kernel-module-split 8inherit module kernel-module-split
9 9
10COMPATIBLE_MACHINE = "(qemux86|qemux86-64)" 10COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm64)"
11 11
12VBOX_NAME = "VirtualBox-${PV}" 12VBOX_NAME = "VirtualBox-${PV}"
13 13
14SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ 14SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \
15 file://Makefile.utils \ 15 file://Makefile.utils \
16 file://0001-fix-bool-reserved-word-error-in-gcc-15.patch \
16" 17"
17 18
18SRC_URI[sha256sum] = "d999513533631674a024762668de999411d8197060c51e68c5faf0a2c0eea1a5" 19SRC_URI[sha256sum] = "3f7132c55ac6c5f50585bfaa115d29e30b47ccf535cb0a12ff50214ddae2f63d"
19 20
20S ?= "${WORKDIR}/vbox_module" 21S ?= "${UNPACKDIR}/vbox_module"
21S:task-patch = "${WORKDIR}/${VBOX_NAME}" 22S:task-unpack = "${UNPACKDIR}/${VBOX_NAME}"
23S:task-patch = "${UNPACKDIR}/${BP}"
22 24
23export VBOX_KBUILD_TARGET_ARCH="${ARCH}" 25export VBOX_KBUILD_TARGET_ARCH = "${ARCH}"
24export VBOX_KBUILD_TARGET_ARCH:x86-64="amd64" 26export VBOX_KBUILD_TARGET_ARCH:x86-64 = "amd64"
25 27
26EXTRA_OEMAKE += "KERN_DIR='${WORKDIR}/${KERNEL_VERSION}/build' KBUILD_VERBOSE=1 CC='${CC} ${DEBUG_PREFIX_MAP} -fdebug-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -fdebug-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}'" 28EXTRA_OEMAKE += "KERN_DIR='${WORKDIR}/${KERNEL_VERSION}/build' KBUILD_VERBOSE=1 CC='${CC} ${DEBUG_PREFIX_MAP} -ffile-prefix-map=${STAGING_KERNEL_DIR}=${KERNEL_SRC_PATH} -ffile-prefix-map=${STAGING_KERNEL_BUILDDIR}=${KERNEL_SRC_PATH}'"
27 29
28# otherwise 5.2.22 builds just vboxguest 30# otherwise 5.2.22 builds just vboxguest
29MAKE_TARGETS = "all" 31MAKE_TARGETS = "all"
30 32
31addtask export_sources after do_patch before do_configure 33addtask export_sources before do_patch after do_unpack
32do_export_sources[depends] += "virtual/kernel:do_shared_workdir" 34do_export_sources[depends] += "virtual/kernel:do_shared_workdir"
33 35
34do_export_sources() { 36do_export_sources() {
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
new file mode 100644
index 0000000000..40a7133052
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch
@@ -0,0 +1,30 @@
1From 984538dcce7b184269efc1e1b0fb78e1cb932b5d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 21 Mar 2025 01:21:22 -0700
4Subject: [PATCH] Fix build errors on RISCV
5 https://bugs.webkit.org/show_bug.cgi?id=290163
6
7Reviewed by NOBODY (OOPS!).
8
9Include c++ header <system_error> for std::error_code.
10
11* Source/WebCore/contentextensions/ContentExtensionActions.h: Include system_error
12
13Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/42802]
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 Source/WebCore/contentextensions/ContentExtensionActions.h | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/Source/WebCore/contentextensions/ContentExtensionActions.h b/Source/WebCore/contentextensions/ContentExtensionActions.h
20index 0b75d2e1df78..61cb33c94ce8 100644
21--- a/Source/WebCore/contentextensions/ContentExtensionActions.h
22+++ b/Source/WebCore/contentextensions/ContentExtensionActions.h
23@@ -28,6 +28,7 @@
24 #if ENABLE(CONTENT_EXTENSIONS)
25
26 #include "ContentExtensionStringSerialization.h"
27+#include <system_error>
28 #include <wtf/JSONValues.h>
29 #include <wtf/Hasher.h>
30
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch
deleted file mode 100644
index e6a43c2fff..0000000000
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From fb81a5de7798eb7f68e0de1c281671553e1aa19d Mon Sep 17 00:00:00 2001
2From: Michael Catanzaro <mcatanzaro@redhat.com>
3Date: Mon, 5 Feb 2024 11:00:49 -0600
4Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?=
5 =?UTF-8?q?=E2=80=98t6=E2=80=99=20was=20not=20declared=20in=20this=20scope?=
6 =?UTF-8?q?=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid=3D268739?=
7MIME-Version: 1.0
8Content-Type: text/plain; charset=UTF-8
9Content-Transfer-Encoding: 8bit
10
11Unreviewed build fix. Seems a backport went badly, and we didn't notice
12because the code is architecture-specific.
13
14* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
15(JSC::CLoop::execute):
16
17Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/3d5373575695b293b8559155431d0079a6153aff]
18Signed-off-by: Khem Raj <raj.khem@gmail.com>
19---
20 Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 --
21 1 file changed, 2 deletions(-)
22
23diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
24index 75cecbbd..b1020ea4 100644
25--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
26+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
27@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
28 UNUSED_VARIABLE(t2);
29 UNUSED_VARIABLE(t3);
30 UNUSED_VARIABLE(t5);
31- UNUSED_VARIABLE(t6);
32- UNUSED_VARIABLE(t7);
33
34 struct StackPointerScope {
35 StackPointerScope(CLoopStack& stack)
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch
deleted file mode 100644
index b2e40a88c8..0000000000
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch
+++ /dev/null
@@ -1,65 +0,0 @@
1From 1523e00a2a76e285262c8aa3721b5d99f3f2d612 Mon Sep 17 00:00:00 2001
2From: Thomas Devoogdt <thomas.devoogdt@barco.com>
3Date: Mon, 16 Jan 2023 17:03:30 +0100
4Subject: [PATCH] REGRESSION(257865@main): B3Validate.cpp: fix
5
6 !ENABLE(WEBASSEMBLY_B3JIT)
7
8https://bugs.webkit.org/show_bug.cgi?id=250681
9
10Reviewed by NOBODY (OOPS!).
11
12WasmTypeDefinition.h isn't included if not ENABLE(WEBASSEMBLY_B3JIT).
13Also, toB3Type and simdScalarType are not defined if it is included.
14
15Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
16
17Upstream-Status: Inappropriate [https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2008798]
18---
19 Source/JavaScriptCore/b3/B3Validate.cpp | 12 +++++++++---
20 1 file changed, 9 insertions(+), 3 deletions(-)
21
22diff --git a/Source/JavaScriptCore/b3/B3Validate.cpp b/Source/JavaScriptCore/b3/B3Validate.cpp
23index eaaa3749..1d089783 100644
24--- a/Source/JavaScriptCore/b3/B3Validate.cpp
25+++ b/Source/JavaScriptCore/b3/B3Validate.cpp
26@@ -47,6 +47,12 @@
27 #include <wtf/StringPrintStream.h>
28 #include <wtf/text/CString.h>
29
30+#if ENABLE(WEBASSEMBLY) && ENABLE(WEBASSEMBLY_B3JIT)
31+#define simdScalarTypeToB3Type(type) toB3Type(Wasm::simdScalarType(type))
32+#else
33+#define simdScalarTypeToB3Type(type) B3::Type()
34+#endif
35+
36 namespace JSC { namespace B3 {
37
38 namespace {
39@@ -454,7 +460,7 @@ public:
40 case VectorExtractLane:
41 VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
42 VALIDATE(value->numChildren() == 1, ("At ", *value));
43- VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
44+ VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
45 VALIDATE(value->child(0)->type() == V128, ("At ", *value));
46 break;
47 case VectorReplaceLane:
48@@ -462,7 +468,7 @@ public:
49 VALIDATE(value->numChildren() == 2, ("At ", *value));
50 VALIDATE(value->type() == V128, ("At ", *value));
51 VALIDATE(value->child(0)->type() == V128, ("At ", *value));
52- VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
53+ VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
54 break;
55 case VectorDupElement:
56 VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
57@@ -484,7 +490,7 @@ public:
58 VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
59 VALIDATE(value->numChildren() == 1, ("At ", *value));
60 VALIDATE(value->type() == V128, ("At ", *value));
61- VALIDATE(value->child(0)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
62+ VALIDATE(value->child(0)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
63 break;
64
65 case VectorPopcnt:
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch
new file mode 100644
index 0000000000..00347ef3e1
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-ftbfs-riscv64.patch
@@ -0,0 +1,39 @@
1From: Alberto Garcia <berto@igalia.com>
2Description: Use WTF_CPU_UNKNOWN when building for riscv64
3 WebKitGTK doesn't build on riscv64 even with the JIT disabled.
4 Treating the CPU as unknown is perhaps a bit severe, but it allows us
5 to get the build done until someone steps up to maintain this
6 properly.
7Bug: https://bugs.webkit.org/show_bug.cgi?id=271371
8Forwarded: no
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12--- a/Source/WTF/wtf/PlatformCPU.h
13+++ b/Source/WTF/wtf/PlatformCPU.h
14@@ -286,14 +286,6 @@
15
16 #endif /* ARM */
17
18-/* CPU(RISCV64) - RISC-V 64-bit */
19-#if defined(__riscv) \
20- && defined(__riscv_xlen) \
21- && (__riscv_xlen == 64)
22-#define WTF_CPU_RISCV64 1
23-#define WTF_CPU_KNOWN 1
24-#endif
25-
26 #if !CPU(KNOWN)
27 #define WTF_CPU_UNKNOWN 1
28 #endif
29--- a/Source/cmake/WebKitCommon.cmake
30+++ b/Source/cmake/WebKitCommon.cmake
31@@ -125,8 +125,6 @@ if (NOT HAS_RUN_WEBKIT_COMMON)
32 set(WTF_CPU_PPC64 1)
33 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64le")
34 set(WTF_CPU_PPC64LE 1)
35- elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^riscv64")
36- set(WTF_CPU_RISCV64 1)
37 elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^loongarch64")
38 set(WTF_CPU_LOONGARCH64 1)
39 else ()
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-typo-denormaldisabler.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-typo-denormaldisabler.patch
new file mode 100644
index 0000000000..c3383fcd41
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/fix-typo-denormaldisabler.patch
@@ -0,0 +1,18 @@
1From: Alberto Garcia <berto@igalia.com>
2Subject: Fix build failure due to missing semicolon
3
4Source: https://sources.debian.org/data/main/w/webkit2gtk/2.48.1-2/debian/patches/fix-typo-denormaldisabler.patch
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8--- a/Source/WebCore/platform/audio/DenormalDisabler.cpp
9+++ b/Source/WebCore/platform/audio/DenormalDisabler.cpp
10@@ -91,7 +91,7 @@ DenormalDisabler::~DenormalDisabler()
11 }
12 }
13 #else
14-DenormalDisabler::DenormalDisabler() = default
15+DenormalDisabler::DenormalDisabler() = default;
16 DenormalDisabler::~DenormalDisabler() = default;
17 #endif
18
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch
index 37bc6538c3..367e6b8342 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/no-musttail-arm.patch
@@ -1,6 +1,6 @@
1From c50f2277509f2e6f087cda2eaf323eaf569aad8d Mon Sep 17 00:00:00 2001 1From 4602261fa44d6bbb4c3698c79e08a6a40a6edc5a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Sep 2023 12:42:06 -0700 3Date: Fri, 12 Jan 2024 09:21:39 -0800
4Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL 4Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL
5 5
6This causes clang-17 to crash see [1] 6This causes clang-17 to crash see [1]
@@ -9,22 +9,26 @@ this code is new in webkit 2.42[2] thats why we do not see the crash in older we
9[1] https://github.com/llvm/llvm-project/issues/67767 9[1] https://github.com/llvm/llvm-project/issues/67767
10[2] https://github.com/WebKit/WebKit/commit/4d816460b765acd8aef90ab474615850b91ecc35 10[2] https://github.com/WebKit/WebKit/commit/4d816460b765acd8aef90ab474615850b91ecc35
11 11
12Upstream-Status: Pending 12Upstream-Status: Inappropriate [work around to avoid clang compiler crash]
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15Update context for webkitgtk 2.48.0.
16
17Signed-off-by: Kai Kang <kai.kang@windriver.com>
14--- 18---
15 Source/WTF/wtf/Compiler.h | 2 +- 19 Source/WTF/wtf/Compiler.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 20 1 file changed, 1 insertion(+), 1 deletion(-)
17 21
18diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h 22diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
19index 449ca502..daac29d7 100644 23index 16e416d..68dd9a0 100644
20--- a/Source/WTF/wtf/Compiler.h 24--- a/Source/WTF/wtf/Compiler.h
21+++ b/Source/WTF/wtf/Compiler.h 25+++ b/Source/WTF/wtf/Compiler.h
22@@ -321,7 +321,7 @@ 26@@ -293,7 +293,7 @@
23 /* MUST_TAIL_CALL */ 27 #if COMPILER(CLANG)
24 28 #if __SIZEOF_POINTER__ == 8
25 #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute) 29 #if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute)
26-#if __has_cpp_attribute(clang::musttail) 30-#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32)
27+#if __has_cpp_attribute(clang::musttail) && !defined(__arm__) 31+#if __has_cpp_attribute(clang::musttail) && !defined(__powerpc__) && !defined(_WIN32) && !defined(__arm__)
28 #define MUST_TAIL_CALL [[clang::musttail]] 32 #define MUST_TAIL_CALL [[clang::musttail]]
29 #endif 33 #define HAVE_MUST_TAIL_CALL 1
30 #endif 34 #endif
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch
new file mode 100644
index 0000000000..19d18dea88
--- /dev/null
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3/sys_futex.patch
@@ -0,0 +1,16 @@
1Fix build on newer 32bit architectures with only 64bit time_t
2
3Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/angle/angle/+/6108397]
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5--- a/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
6+++ b/Source/ThirdParty/ANGLE/src/common/SimpleMutex.cpp
7@@ -17,6 +17,9 @@
8 # include <linux/futex.h>
9 # include <sys/syscall.h>
10 # include <unistd.h>
11+# if !defined(SYS_futex) && defined(SYS_futex_time64)
12+# define SYS_futex SYS_futex_time64
13+# endif
14 # endif // defined(ANGLE_PLATFORM_LINUX) || defined(ANGLE_PLATFORM_ANDROID)
15
16 # if defined(ANGLE_PLATFORM_WINDOWS)
diff --git a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.2.bb b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.1.bb
index 31480b8d8e..d11d4808fd 100644
--- a/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.44.2.bb
+++ b/meta-oe/recipes-support/webkitgtk/webkitgtk3_2.48.1.bb
@@ -1,4 +1,8 @@
1SUMMARY = "WebKit web rendering engine for the GTK+ platform" 1SUMMARY = "WebKit web rendering engine for the GTK+ platform"
2DESCRIPTION = "\
3 This recipe builds with Gtk3 (instead of Gtk4) which results in API version 4.1 \
4 (having javascriptcoregtk-4.1.pc instead of 6.0). \
5"
2HOMEPAGE = "https://www.webkitgtk.org/" 6HOMEPAGE = "https://www.webkitgtk.org/"
3BUGTRACKER = "https://bugs.webkit.org/" 7BUGTRACKER = "https://bugs.webkit.org/"
4 8
@@ -13,14 +17,16 @@ SRC_URI = "https://www.webkitgtk.org/releases/webkitgtk-${PV}.tar.xz \
13 file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \ 17 file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \
14 file://reproducibility.patch \ 18 file://reproducibility.patch \
15 file://no-musttail-arm.patch \ 19 file://no-musttail-arm.patch \
16 file://0001-LowLevelInterpreter.cpp-339-21-error-t6-was-not-decl.patch \ 20 file://sys_futex.patch \
17 file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ 21 file://0001-Fix-build-errors-on-RISCV-https-bugs.webkit.org-show.patch \
22 file://fix-typo-denormaldisabler.patch \
23 file://fix-ftbfs-riscv64.patch \
18 " 24 "
19SRC_URI[sha256sum] = "523f42c8ff24832add17631f6eaafe8f9303afe316ef1a7e1844b952a7f7521b" 25SRC_URI[sha256sum] = "98efdf21c4cdca0fe0b73ab5a8cb52093b5aa52d9b1b016a93f71dbfa1eb258f"
20 26
21inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen 27inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
22 28
23S = "${WORKDIR}/webkitgtk-${PV}" 29S = "${UNPACKDIR}/webkitgtk-${PV}"
24 30
25ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 31ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
26REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'opengl', '', d)}" 32REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'opengl', '', d)}"
@@ -46,6 +52,8 @@ DEPENDS += " \
46 gettext-native \ 52 gettext-native \
47 " 53 "
48 54
55# using soup2 builds (JavaScript) API version 4.0
56# using soup3 builds (JavaScript) API version 4.1
49PACKAGECONFIG_SOUP ?= "soup3" 57PACKAGECONFIG_SOUP ?= "soup3"
50PACKAGECONFIG ??= " \ 58PACKAGECONFIG ??= " \
51 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \ 59 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
@@ -83,6 +91,8 @@ PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette"
83PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF" 91PACKAGECONFIG[webrtc] = "-DENABLE_WEB_RTC=ON,-DENABLE_WEB_RTC=OFF"
84PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy" 92PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,,bubblewrap xdg-dbus-proxy"
85PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace" 93PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace"
94PACKAGECONFIG[sysprof-capture] = "-DUSE_SYSTEM_SYSPROF_CAPTURE=YES,-DUSE_SYSTEM_SYSPROF_CAPTURE=NO,sysprof"
95PACKAGECONFIG[speech] = "-DENABLE_SPEECH_SYNTHESIS=ON,-DENABLE_SPEECH_SYNTHESIS=OFF,flite"
86 96
87EXTRA_OECMAKE = " \ 97EXTRA_OECMAKE = " \
88 -DPORT=GTK \ 98 -DPORT=GTK \
@@ -92,9 +102,8 @@ EXTRA_OECMAKE = " \
92 -DENABLE_MINIBROWSER=ON \ 102 -DENABLE_MINIBROWSER=ON \
93 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \ 103 -DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \
94 " 104 "
95# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the 105# pass -g1 to massively reduce the size of the debug symbols (4.3GB to 700M at time of writing)
96# debug symbols (4.3GB to 700M at time of writing) 106DEBUG_LEVELFLAG = "-g1"
97DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}"
98 107
99# Javascript JIT is not supported on ARC 108# Javascript JIT is not supported on ARC
100EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF " 109EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "
@@ -127,12 +136,8 @@ EXTRA_OECMAKE:append:armv7a = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES
127EXTRA_OECMAKE:append:armv7r = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" 136EXTRA_OECMAKE:append:armv7r = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}"
128EXTRA_OECMAKE:append:armv7ve = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" 137EXTRA_OECMAKE:append:armv7ve = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}"
129 138
130EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " 139# JIT does not work on RISCV
131EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " 140EXTRA_OECMAKE:append:riscv32 = " -DENABLE_JIT=OFF"
132
133# JIT and gold linker does not work on RISCV
134EXTRA_OECMAKE:append:riscv32 = " -DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF"
135EXTRA_OECMAKE:append:riscv64 = " -DUSE_LD_GOLD=OFF"
136 141
137# JIT not supported on MIPS either 142# JIT not supported on MIPS either
138EXTRA_OECMAKE:append:mipsarch = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON " 143EXTRA_OECMAKE:append:mipsarch = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON "
diff --git a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb
index f437accc50..17b71411ca 100644
--- a/meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb
+++ b/meta-oe/recipes-support/websocketpp/websocketpp_0.8.2.bb
@@ -23,9 +23,8 @@ RDEPENDS:${PN}-dev = ""
23# TOOLCHAIN_TARGET_TASK:append = " websocketpp-dev" 23# TOOLCHAIN_TARGET_TASK:append = " websocketpp-dev"
24 24
25# tag 0.8.2 25# tag 0.8.2
26SRCREV= "56123c87598f8b1dd471be83ca841ceae07f95ba" 26SRCREV = "56123c87598f8b1dd471be83ca841ceae07f95ba"
27 27
28S = "${WORKDIR}/git"
29 28
30inherit cmake 29inherit cmake
31 30
@@ -37,3 +36,5 @@ do_install:append() {
37 install -d ${D}${docdir}/${BPN} 36 install -d ${D}${docdir}/${BPN}
38 cp -R ${S}/examples ${D}${docdir}/${BPN} 37 cp -R ${S}/examples ${D}${docdir}/${BPN}
39} 38}
39
40SKIP_RECIPE[websocketpp] ?= "Does not work with boost >= 1.87"
diff --git a/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb b/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb
index 6b35d71a55..93692af682 100644
--- a/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb
+++ b/meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
9 9
10SRC_URI = "git://github.com/jmacd/xdelta.git;branch=release3_1_apl;protocol=https" 10SRC_URI = "git://github.com/jmacd/xdelta.git;branch=release3_1_apl;protocol=https"
11SRCREV = "4b4aed71a959fe11852e45242bb6524be85d3709" 11SRCREV = "4b4aed71a959fe11852e45242bb6524be85d3709"
12S = "${WORKDIR}/git/xdelta3" 12S = "${UNPACKDIR}/${BP}/xdelta3"
13 13
14inherit autotools 14inherit autotools
15 15
diff --git a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.5.bb b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb
index e10ccd04ea..43536f5d7b 100644
--- a/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.5.bb
+++ b/meta-oe/recipes-support/xdg-dbus-proxy/xdg-dbus-proxy_0.1.6.bb
@@ -13,7 +13,6 @@ inherit meson pkgconfig
13 13
14SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main" 14SRC_URI = "git://github.com/flatpak/xdg-dbus-proxy.git;protocol=https;branch=main"
15 15
16S = "${WORKDIR}/git" 16SRCREV = "1c1989e56f94b9eb3b7567f8a6e8a0aa16cba496"
17SRCREV = "7466c8137fc06f863fde8486521984e43a26cd10"
18 17
19BBCLASSEXTEND = "native" 18BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.4.bb b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.0.bb
index 87e8f1f5e9..440d836874 100644
--- a/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.18.4.bb
+++ b/meta-oe/recipes-support/xdg-desktop-portal/xdg-desktop-portal_1.20.0.bb
@@ -27,18 +27,18 @@ RDEPENDS:${PN} = "bubblewrap rtkit ${PORTAL_BACKENDS} fuse3-utils"
27inherit meson pkgconfig python3native features_check 27inherit meson pkgconfig python3native features_check
28 28
29SRC_URI = " \ 29SRC_URI = " \
30 git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=xdg-desktop-portal-1.18 \ 30 git://github.com/flatpak/xdg-desktop-portal.git;protocol=https;branch=main \
31 file://0001-meson.build-add-a-hack-for-crosscompile.patch \ 31 file://0001-meson.build-add-a-hack-for-crosscompile.patch \
32" 32"
33 33
34S = "${WORKDIR}/git" 34SRCREV = "85df26fb1c53334969fea3f15c2a06a14831094b"
35SRCREV = "11c8a96b147aeae70e3f770313f93b367d53fedd"
36 35
37FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1" 36FILES:${PN} += "${libdir}/systemd ${datadir}/dbus-1"
38 37
39EXTRA_OEMESON += " \ 38EXTRA_OEMESON += " \
40 --cross-file=${WORKDIR}/meson-${PN}.cross \ 39 --cross-file=${WORKDIR}/meson-${PN}.cross \
41 -Ddbus-service-dir=${datadir}/dbus-1/services \ 40 -Ddbus-service-dir=${datadir}/dbus-1/services \
41 -Dtests=disabled \
42" 42"
43 43
44do_write_config:append() { 44do_write_config:append() {
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch
index f107f42dab..9bb017b63b 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/0001-nss-nspr-fix-for-multilib.patch
@@ -1,4 +1,4 @@
1From 4d73b85fb1b794c649359bc8a774b0111d36994a Mon Sep 17 00:00:00 2001 1From 1d7c01467e6f510b5636c73757f302a4bd277a3c Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com> 2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Tue, 4 Feb 2020 23:39:49 -0800 3Date: Tue, 4 Feb 2020 23:39:49 -0800
4Subject: [PATCH] nss/nspr: fix for multilib 4Subject: [PATCH] nss/nspr: fix for multilib
@@ -6,16 +6,15 @@ Subject: [PATCH] nss/nspr: fix for multilib
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
8Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 8Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9
10--- 9---
11 configure.ac | 16 ++++++++-------- 10 configure.ac | 16 ++++++++--------
12 1 file changed, 8 insertions(+), 8 deletions(-) 11 1 file changed, 8 insertions(+), 8 deletions(-)
13 12
14diff --git a/configure.ac b/configure.ac 13diff --git a/configure.ac b/configure.ac
15index 51621d6..3d23683 100644 14index 40e9c0d..8f42d4d 100644
16--- a/configure.ac 15--- a/configure.ac
17+++ b/configure.ac 16+++ b/configure.ac
18@@ -960,24 +960,24 @@ fi 17@@ -966,24 +966,24 @@ fi
19 dnl Priority 1: User specifies the path to installation 18 dnl Priority 1: User specifies the path to installation
20 if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then 19 if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then
21 AC_MSG_CHECKING(for nspr library installation in "$with_nspr" folder) 20 AC_MSG_CHECKING(for nspr library installation in "$with_nspr" folder)
@@ -28,8 +27,8 @@ index 51621d6..3d23683 100644
28 NSPR_FOUND="yes" 27 NSPR_FOUND="yes"
29 AC_MSG_RESULT([yes]) 28 AC_MSG_RESULT([yes])
30 else 29 else
31- AC_MSG_ERROR([not found: "$with_nspr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/lib/$NSPR_LIB_MARKER" files don't exist), typo?]) 30- AC_MSG_ERROR([not found: "$with_nspr/include/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/lib/$NSPR_LIB_MARKER"])
32+ AC_MSG_ERROR([not found: "$with_nspr/${includedir}/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/${libdir}/$NSPR_LIB_MARKER" files don't exist), typo?]) 31+ AC_MSG_ERROR([not found: "$with_nspr/${includedir}/$NSPR_INCLUDE_MARKER" and/or "$with_nspr/${libdir}/$NSPR_LIB_MARKER"])
33 fi 32 fi
34 fi 33 fi
35 if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then 34 if test "z$NSS_FOUND" = "zno" -a "z$with_nss" != "z" -a "z$with_nss" != "zyes" ; then
@@ -43,8 +42,11 @@ index 51621d6..3d23683 100644
43 NSS_FOUND="yes" 42 NSS_FOUND="yes"
44 AC_MSG_RESULT([yes]) 43 AC_MSG_RESULT([yes])
45 else 44 else
46- AC_MSG_ERROR([not found: "$with_nss/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/lib/$NSS_LIB_MARKER" files don't exist), typo?]) 45- AC_MSG_ERROR([not found: "$with_nss/include/$NSS_INCLUDE_MARKER" and/or "$with_nss/lib/$NSS_LIB_MARKER"])
47+ AC_MSG_ERROR([not found: "$with_nss/${includedir}/$NSS_INCLUDE_MARKER" and/or "$with_nss/${libdir}/$NSS_LIB_MARKER" files don't exist), typo?]) 46+ AC_MSG_ERROR([not found: "$with_nss/${includedir}/$NSS_INCLUDE_MARKER" and/or "$with_nss/${libdir}/$NSS_LIB_MARKER"])
48 fi 47 fi
49 fi 48 fi
50 49
50--
512.43.0
52
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
index 3a1531deb1..61c56ffc8b 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/change-finding-path-of-nss.patch
@@ -1,4 +1,4 @@
1From 9c861646e034b1c80fafd389279b0a7da90a8ba7 Mon Sep 17 00:00:00 2001 1From b43fa6bf612ee59db57573b39e357b6ca96d48b6 Mon Sep 17 00:00:00 2001
2From: Yulong Pei <Yulong.pei@windriver.com> 2From: Yulong Pei <Yulong.pei@windriver.com>
3Date: Wed, 21 Jul 2010 22:33:43 +0800 3Date: Wed, 21 Jul 2010 22:33:43 +0800
4Subject: [PATCH] change finding path of nss and nspr 4Subject: [PATCH] change finding path of nss and nspr
@@ -8,16 +8,15 @@ Upstream-Status: Pending
8Signed-off-by: Yulong Pei <Yulong.pei@windriver.com> 8Signed-off-by: Yulong Pei <Yulong.pei@windriver.com>
9Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> 9Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11
12--- 11---
13 configure.ac | 2 +- 12 configure.ac | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 13 1 file changed, 1 insertion(+), 1 deletion(-)
15 14
16diff --git a/configure.ac b/configure.ac 15diff --git a/configure.ac b/configure.ac
17index ce8a278..51621d6 100644 16index 8add879..7f137c0 100644
18--- a/configure.ac 17--- a/configure.ac
19+++ b/configure.ac 18+++ b/configure.ac
20@@ -935,7 +935,7 @@ NSS_PACKAGE=mozilla-nss 19@@ -933,7 +933,7 @@ NSS_PACKAGE=mozilla-nss
21 NSPR_INCLUDE_MARKER="nspr/nspr.h" 20 NSPR_INCLUDE_MARKER="nspr/nspr.h"
22 NSPR_LIB_MARKER="libnspr4$shrext" 21 NSPR_LIB_MARKER="libnspr4$shrext"
23 NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4" 22 NSPR_LIBS_LIST="-lnspr4 -lplds4 -lplc4"
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch
index 26ebce343d..55ae9887f2 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/makefile-ptest.patch
@@ -14,11 +14,11 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
14 1 file changed, 10 insertions(+), 2 deletions(-) 14 1 file changed, 10 insertions(+), 2 deletions(-)
15 15
16diff --git a/examples/Makefile b/examples/Makefile 16diff --git a/examples/Makefile b/examples/Makefile
17index 02480c2..cbc2661 100644 17index 0b352bc..de3c217 100644
18--- a/examples/Makefile 18--- a/examples/Makefile
19+++ b/examples/Makefile 19+++ b/examples/Makefile
20@@ -8,9 +8,17 @@ PROGRAMS = \ 20@@ -12,9 +12,17 @@ PROGRAMS = \
21 decrypt1 decrypt2 decrypt3 \ 21 $(PROGRAMS_DEC) \
22 xmldsigverify 22 xmldsigverify
23 23
24+ifndef CC 24+ifndef CC
@@ -38,5 +38,5 @@ index 02480c2..cbc2661 100644
38 all: $(PROGRAMS) 38 all: $(PROGRAMS)
39 39
40-- 40--
412.25.1 412.43.0
42 42
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch b/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
index 9e6a6a840f..50706793b2 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1/xmlsec1-examples-allow-build-in-separate-dir.patch
@@ -11,10 +11,10 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
11 1 file changed, 4 insertions(+), 2 deletions(-) 11 1 file changed, 4 insertions(+), 2 deletions(-)
12 12
13diff --git a/examples/Makefile b/examples/Makefile 13diff --git a/examples/Makefile b/examples/Makefile
14index cbc2661..e882b61 100644 14index de3c217..2e0ab6e 100644
15--- a/examples/Makefile 15--- a/examples/Makefile
16+++ b/examples/Makefile 16+++ b/examples/Makefile
17@@ -12,8 +12,10 @@ ifndef CC 17@@ -16,8 +16,10 @@ ifndef CC
18 CC = gcc 18 CC = gcc
19 endif 19 endif
20 20
@@ -28,5 +28,5 @@ index cbc2661..e882b61 100644
28 DESTDIR = /usr/share/xmlsec1 28 DESTDIR = /usr/share/xmlsec1
29 install-ptest: 29 install-ptest:
30-- 30--
312.25.1 312.43.0
32 32
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb
index 7639209e19..0f4ae205b1 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.4.bb
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
12 12
13SECTION = "libs" 13SECTION = "libs"
14 14
15SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \ 15SRC_URI = "https://github.com/lsh123/xmlsec/releases/download/${PV}/${BP}.tar.gz \
16 file://fix-ltmain.sh.patch \ 16 file://fix-ltmain.sh.patch \
17 file://change-finding-path-of-nss.patch \ 17 file://change-finding-path-of-nss.patch \
18 file://makefile-ptest.patch \ 18 file://makefile-ptest.patch \
@@ -22,7 +22,7 @@ SRC_URI = "http://www.aleksey.com/xmlsec/download/${BP}.tar.gz \
22 file://ensure-search-path-non-host.patch \ 22 file://ensure-search-path-non-host.patch \
23 " 23 "
24 24
25SRC_URI[sha256sum] = "45ad9078d41ae76844ad2f8651600ffeec0fdd128ead988a8d69e907c57aee75" 25SRC_URI[sha256sum] = "d82e93b69b8aa205a616b62917a269322bf63a3eaafb3775014e61752b2013ea"
26 26
27inherit autotools-brokensep ptest pkgconfig 27inherit autotools-brokensep ptest pkgconfig
28 28
@@ -54,8 +54,11 @@ do_compile_ptest () {
54} 54}
55 55
56do_install:append() { 56do_install:append() {
57 for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \ 57 for i in \
58 ${libdir}/pkgconfig/xmlsec1-openssl.pc; do 58 ${bindir}/xmlsec1-config \
59 ${libdir}/xmlsec1Conf.sh \
60 ${libdir}/pkgconfig/xmlsec1-openssl.pc \
61 ${libdir}/pkgconfig/xmlsec1-gnutls.pc; do
59 sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i 62 sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i
60 done 63 done
61} 64}
diff --git a/meta-oe/recipes-support/xmlstarlet/files/0001-Define-ATTRIBUTE_UNUSED-if-its-not-defined.patch b/meta-oe/recipes-support/xmlstarlet/files/0001-Define-ATTRIBUTE_UNUSED-if-its-not-defined.patch
new file mode 100644
index 0000000000..1468559e7f
--- /dev/null
+++ b/meta-oe/recipes-support/xmlstarlet/files/0001-Define-ATTRIBUTE_UNUSED-if-its-not-defined.patch
@@ -0,0 +1,37 @@
1From 4e94034e9231f5d8312497b7504f21b7a6062bf4 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 27 May 2025 16:12:01 -0700
4Subject: [PATCH] Define ATTRIBUTE_UNUSED if its not defined
5
6ATTRIBUTE_UNUSED is not defined in libxml2 2.14+, so check if the define is
7not there then define it.
8
9Fixes build errors e.g.
10../xmlstarlet-1.6.1/src/xml_pyx.c:203:36: error: expected ')'
11 203 | pyxExternalSubsetHandler(void *ctx ATTRIBUTE_UNUSED, const xmlChar *name,
12 | ^
13
14Upstream-Status: Pending
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 src/xml_pyx.c | 7 +++++++
18 1 file changed, 7 insertions(+)
19
20diff --git a/src/xml_pyx.c b/src/xml_pyx.c
21index ab295f1..f1a1884 100644
22--- a/src/xml_pyx.c
23+++ b/src/xml_pyx.c
24@@ -21,6 +21,13 @@
25
26 #include "xmlstar.h"
27
28+/**
29+ * Unbreak build with libxml2 2.14
30+ */
31+#ifndef ATTRIBUTE_UNUSED
32+#define ATTRIBUTE_UNUSED __attribute__((unused))
33+#endif
34+
35 /**
36 * Output newline and tab characters as escapes
37 * Required both for attribute values and character data (#PCDATA)
diff --git a/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb b/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb
index 61eeaaa095..c8cfd884e2 100644
--- a/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb
+++ b/meta-oe/recipes-support/xmlstarlet/xmlstarlet_1.6.1.bb
@@ -16,13 +16,14 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/xmlstar/${BP}.tar.gz \
16 file://configure.ac.patch \ 16 file://configure.ac.patch \
17 file://0001-usage2c.awk-fix-wrong-basename-regexp.patch \ 17 file://0001-usage2c.awk-fix-wrong-basename-regexp.patch \
18 file://0001-Make-xmlError-struct-constant.patch \ 18 file://0001-Make-xmlError-struct-constant.patch \
19 file://0001-Fix-hash_key_put-signature.patch" 19 file://0001-Fix-hash_key_put-signature.patch \
20 file://0001-Define-ATTRIBUTE_UNUSED-if-its-not-defined.patch"
20SRC_URI[sha256sum] = "15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca" 21SRC_URI[sha256sum] = "15d838c4f3375332fd95554619179b69e4ec91418a3a5296e7c631b7ed19e7ca"
21 22
22inherit autotools 23inherit autotools
23 24
24# doc build: requires (native) xstlproc, fop, pdf2ps 25# doc build: requires (native) xstlproc, fop, pdf2ps
25EXTRA_OECONF="--disable-build-docs \ 26EXTRA_OECONF = "--disable-build-docs \
26 --with-libxml-prefix=${STAGING_LIBDIR}/.. \ 27 --with-libxml-prefix=${STAGING_LIBDIR}/.. \
27 --with-libxslt-prefix=${STAGING_LIBDIR}/.." 28 --with-libxslt-prefix=${STAGING_LIBDIR}/.."
28 29
diff --git a/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb
index 9650d43695..533b0801cb 100644
--- a/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb
+++ b/meta-oe/recipes-support/xorg-xrdp/xorgxrdp_0.9.19.bb
@@ -16,8 +16,13 @@ SRCREV = "d463bad9639c910fadc2f30dac473c7688b11cfc"
16 16
17PV = "0.9.19" 17PV = "0.9.19"
18 18
19S = "${WORKDIR}/git"
20 19
21FILES:${PN} += "${libdir}/xorg/modules/*" 20FILES:${PN} += "${libdir}/xorg/modules/*"
22 21
23INSANE_SKIP:${PN} += "xorg-driver-abi" 22require recipes-graphics/xorg-xserver/xserver-abi.inc
23
24python add_xorg_abi_depends() {
25 _add_xorg_abi_depends(d, "xinput")
26 _add_xorg_abi_depends(d, "videodrv")
27}
28PACKAGEFUNCS =+ "add_xorg_abi_depends"
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
index 05803266cb..926ad93bbe 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-Added-req_distinguished_name-in-etc-xrdp-openssl.con.patch
@@ -1,7 +1,7 @@
1From d705b1d666cb8713d86ea6fb2fc45c424128285a Mon Sep 17 00:00:00 2001 1From abdfa0fddeceab843ab6eabe31c7763c8719642b Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com> 2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Fri, 1 Dec 2017 10:24:50 +0900 3Date: Fri, 1 Dec 2017 10:24:50 +0900
4Subject: [PATCH] Added req_distinguished_name in /etc/xrdp/openssl.conf, 4Subject: [PATCH] Added req_distinguished_name in /etc/xrdp/openssl.conf,
5 otherwise, cert.pem can't be created. 5 otherwise, cert.pem can't be created.
6 6
7Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> 7Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
@@ -30,6 +30,3 @@ index 09db6c2..f077d72 100644
30 30
31 [v3_ca] 31 [v3_ca]
32 # Extensions for a typical CA - PKIX recommendation. 32 # Extensions for a typical CA - PKIX recommendation.
33--
341.8.4.2
35
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
index e8b4ffa6bf..1bb84001f3 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-Fix-the-compile-error.patch
@@ -1,3 +1,6 @@
1From 2fa575c3171688ceb0dc867a52628046b3f60d91 Mon Sep 17 00:00:00 2001
2From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
3Date: Tue, 12 Dec 2017 22:36:50 +0800
1Subject: [PATCH] Fix the make error 4Subject: [PATCH] Fix the make error
2 5
3Fix the compile error: 6Fix the compile error:
@@ -11,10 +14,10 @@ Upstream-Status: Pending
11 1 file changed, 2 insertions(+), 2 deletions(-) 14 1 file changed, 2 insertions(+), 2 deletions(-)
12 15
13diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am 16diff --git a/xrdp/Makefile.am b/xrdp/Makefile.am
14index a259ef3..d5505b2 100644 17index 71d0f76..f41751b 100644
15--- a/xrdp/Makefile.am 18--- a/xrdp/Makefile.am
16+++ b/xrdp/Makefile.am 19+++ b/xrdp/Makefile.am
17@@ -23,7 +23,7 @@ endif 20@@ -21,7 +21,7 @@ XRDP_EXTRA_LIBS =
18 if XRDP_RFXCODEC 21 if XRDP_RFXCODEC
19 AM_CPPFLAGS += -DXRDP_RFXCODEC 22 AM_CPPFLAGS += -DXRDP_RFXCODEC
20 AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include 23 AM_CPPFLAGS += -I$(top_srcdir)/librfxcodec/include
@@ -23,7 +26,7 @@ index a259ef3..d5505b2 100644
23 endif 26 endif
24 27
25 if XRDP_PIXMAN 28 if XRDP_PIXMAN
26@@ -35,7 +35,7 @@ endif 29@@ -33,7 +33,7 @@ endif
27 if XRDP_PAINTER 30 if XRDP_PAINTER
28 AM_CPPFLAGS += -DXRDP_PAINTER 31 AM_CPPFLAGS += -DXRDP_PAINTER
29 AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include 32 AM_CPPFLAGS += -I$(top_srcdir)/libpainter/include
@@ -32,6 +35,3 @@ index a259ef3..d5505b2 100644
32 endif 35 endif
33 36
34 sbin_PROGRAMS = \ 37 sbin_PROGRAMS = \
35--
362.7.4
37
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
index ea3eb11f0a..01449e2a5f 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-arch-Define-NO_NEED_ALIGN-on-ppc64.patch
@@ -1,4 +1,4 @@
1From 5958db649855bfb2ada7c0ed22a00f839b9a1161 Mon Sep 17 00:00:00 2001 1From 71e8fd272a4609cf3b6a0802cee82e2861a1fa0c Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 12 Mar 2021 21:40:35 -0800 3Date: Fri, 12 Mar 2021 21:40:35 -0800
4Subject: [PATCH] arch: Define NO_NEED_ALIGN on ppc64 4Subject: [PATCH] arch: Define NO_NEED_ALIGN on ppc64
@@ -10,10 +10,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/common/arch.h b/common/arch.h 12diff --git a/common/arch.h b/common/arch.h
13index 617feb5e..6edb39db 100644 13index ec0aa05..f574656 100644
14--- a/common/arch.h 14--- a/common/arch.h
15+++ b/common/arch.h 15+++ b/common/arch.h
16@@ -85,7 +85,7 @@ typedef int bool_t; 16@@ -86,7 +86,7 @@ typedef int bool_t;
17 #define NEED_ALIGN 17 #define NEED_ALIGN
18 #elif defined(__x86__) || defined(__x86_64__) || \ 18 #elif defined(__x86__) || defined(__x86_64__) || \
19 defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \ 19 defined(__AMD64__) || defined(_M_IX86) || defined (_M_AMD64) || \
@@ -22,6 +22,3 @@ index 617feb5e..6edb39db 100644
22 defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \ 22 defined(__PPC__) || defined(__LITTLE_ENDIAN__) || \
23 defined(__s390__) || defined (__s390x__) || \ 23 defined(__s390__) || defined (__s390x__) || \
24 defined(__riscv) 24 defined(__riscv)
25--
262.31.1
27
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
index 77a394d556..2559ab7b31 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
@@ -1,4 +1,4 @@
1From 492f74dbea1d9a15fbc3e870e78ab52e7fc5583b Mon Sep 17 00:00:00 2001 1From 23638d0ec23c2658a4e98321c20a4a2ac9294fb2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Aug 2022 20:19:32 -0700 3Date: Wed, 31 Aug 2022 20:19:32 -0700
4Subject: [PATCH] mark count with unused attribute 4Subject: [PATCH] mark count with unused attribute
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c 16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
17index 4452d998..b818bff3 100644 17index d66310b..eeb5921 100644
18--- a/sesman/chansrv/chansrv.c 18--- a/sesman/chansrv/chansrv.c
19+++ b/sesman/chansrv/chansrv.c 19+++ b/sesman/chansrv/chansrv.c
20@@ -195,7 +195,7 @@ check_timeout(void) 20@@ -195,7 +195,7 @@ check_timeout(void)
@@ -24,8 +24,5 @@ index 4452d998..b818bff3 100644
24- int count; 24- int count;
25+ int count __attribute__((unused)); 25+ int count __attribute__((unused));
26 tui32 now; 26 tui32 now;
27 27 UNUSED_VAR(count);
28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:"); 28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:");
29--
302.37.3
31
diff --git a/meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb b/meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb
index c1b75e6138..a60c125d06 100644
--- a/meta-oe/recipes-support/xrdp/xrdp_0.9.19.bb
+++ b/meta-oe/recipes-support/xrdp/xrdp_0.9.20.bb
@@ -18,7 +18,10 @@ SRC_URI = "https://github.com/neutrinolabs/${BPN}/releases/download/v${PV}/${BPN
18 file://0001-mark-count-with-unused-attribute.patch \ 18 file://0001-mark-count-with-unused-attribute.patch \
19 " 19 "
20 20
21SRC_URI[sha256sum] = "94017d30e475c6d7a24f651e16791551862ae46f82d8de62385e63393f5f93d0" 21SRC_URI[sha256sum] = "db693401da95b71b4d4e4c99aeb569a546dbdbde343f6d3302b0c47653277abb"
22
23UPSTREAM_CHECK_URI = "https://github.com/neutrinolabs/xrdp/releases"
24UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
22 25
23CFLAGS += " -Wno-deprecated-declarations" 26CFLAGS += " -Wno-deprecated-declarations"
24 27
diff --git a/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb b/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb
deleted file mode 100644
index 76aea6f41a..0000000000
--- a/meta-oe/recipes-support/xserver-xorg-cvt/xserver-xorg-cvt-native_1.20.10.bb
+++ /dev/null
@@ -1,41 +0,0 @@
1SUMMARY = "X.Org X cvt"
2HOMEPAGE = "https://linux.die.net/man/1/cvt"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880"
5
6DEPENDS += "pixman-native xorgproto-native libxrandr-native"
7
8XORG_PN = "xorg-server"
9
10SRC_URI = "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${PV}.tar.bz2"
11SRC_URI[md5sum] = "8cf8bd1f33e3736bc8dd279b20a32399"
12SRC_URI[sha256sum] = "977420c082450dc808de301ef56af4856d653eea71519a973c3490a780cb7c99"
13
14S = "${WORKDIR}/${XORG_PN}-${PV}"
15B = "${WORKDIR}/build"
16
17inherit pkgconfig native
18
19do_configure[noexec] = "1"
20
21do_compile() {
22 cd ${S}
23 for header in `find -name '*.h'`; do
24 path=`dirname $header`
25 if ! echo "$incpaths" | grep -q "$path" ; then
26 incpaths="$incpaths -I$path"
27 fi
28 done
29 CFLAGS="${CFLAGS} -DXORG_VERSION_CURRENT=1 $incpaths `pkg-config --cflags pixman-1`"
30 LDFLAGS="${LDFLAGS} -lm `pkg-config --libs pixman-1`"
31 ${CC} $CFLAGS -o ${B}/cvt \
32 ${S}/hw/xfree86/utils/cvt/cvt.c \
33 ${S}/hw/xfree86/modes/xf86cvt.c \
34 ${S}/os/xprintf.c \
35 $LDFLAGS
36}
37
38do_install() {
39 install -d ${D}${bindir}
40 install -m 755 ${B}/cvt ${D}${bindir}
41}
diff --git a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb
index 44ac0687a7..09db5519ea 100644
--- a/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb
+++ b/meta-oe/recipes-support/yaml-cpp/yaml-cpp_0.8.0.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6a8aaf0595c2efc1a9c2e0913e9c1a2c"
8# yaml-cpp releases are stored as archive files in github. 8# yaml-cpp releases are stored as archive files in github.
9# download the exact revision of release 9# download the exact revision of release
10SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https" 10SRC_URI = "git://github.com/jbeder/yaml-cpp.git;branch=master;protocol=https"
11SRCREV = "f7320141120f720aecc4c32be25586e7da9eb978" 11SRCREV = "28f93bdec6387d42332220afa9558060c8016795"
12PV .= "+git"
12 13
13S = "${WORKDIR}/git"
14 14
15inherit cmake 15inherit cmake
16 16
diff --git a/meta-oe/recipes-support/yyjson/yyjson_0.11.1.bb b/meta-oe/recipes-support/yyjson/yyjson_0.11.1.bb
new file mode 100644
index 0000000000..0655f225b4
--- /dev/null
+++ b/meta-oe/recipes-support/yyjson/yyjson_0.11.1.bb
@@ -0,0 +1,33 @@
1DESCRIPTION = "A high performance JSON library written in ANSI C."
2HOMEPAGE = "https://github.com/ibireme/yyjson"
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=c8ae1b99922935413d4c596f50b59545"
6
7SRC_URI = "git://github.com/ibireme/yyjson.git;protocol=https;branch=master;tag=${PV}"
8SRCREV = "9e24d6bcead647231f81173cc5c6bb6c097c00e4"
9
10
11inherit cmake
12
13PACKAGECONFIG ??= "reader writer utils fast-fp-conv non-standard utf8-validation unaligned-memory-access"
14PACKAGECONFIG[reader] = "-DYYJSON_DISABLE_READER=OFF,-DYYJSON_DISABLE_READER=ON"
15PACKAGECONFIG[writer] = "-DYYJSON_DISABLE_WRITER=OFF,-DYYJSON_DISABLE_WRITER=ON"
16PACKAGECONFIG[utils] = "-DYYJSON_DISABLE_UTILS=OFF,-DYYJSON_DISABLE_UTILS=ON"
17PACKAGECONFIG[fast-fp-conv] = "-DYYJSON_DISABLE_FAST_FP_CONV=OFF,-DYYJSON_DISABLE_FAST_FP_CONV=ON"
18PACKAGECONFIG[non-standard] = "-DYYJSON_DISABLE_NON_STANDARD=OFF,-DYYJSON_DISABLE_NON_STANDARD=ON"
19PACKAGECONFIG[utf8-validation] = "-DYYJSON_DISABLE_UTF8_VALIDATION=OFF,-DYYJSON_DISABLE_UTF8_VALIDATION=ON"
20PACKAGECONFIG[unaligned-memory-access] = "-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=OFF,-DYYJSON_DISABLE_UNALIGNED_MEMORY_ACCESS=ON"
21
22EXTRA_OECMAKE:append = " \
23-DBUILD_SHARED_LIBS=ON \
24-DYYJSON_BUILD_TESTS=OFF \
25-DYYJSON_BUILD_FUZZER=OFF \
26-DYYJSON_BUILD_MISC=OFF \
27-DYYJSON_BUILD_DOC=OFF \
28-DYYJSON_ENABLE_COVERAGE=OFF \
29-DYYJSON_ENABLE_VALGRIND=OFF \
30-DYYJSON_ENABLE_SANITIZE=OFF \
31-DYYJSON_ENABLE_FASTMATH=OFF \
32-DYYJSON_FORCE_32_BIT=OFF \
33"
diff --git a/meta-oe/recipes-support/zbar/zbar_git.bb b/meta-oe/recipes-support/zbar/zbar_git.bb
index 975779cd18..053e0161d7 100644
--- a/meta-oe/recipes-support/zbar/zbar_git.bb
+++ b/meta-oe/recipes-support/zbar/zbar_git.bb
@@ -15,7 +15,6 @@ SRC_URI = "git://github.com/mchehab/zbar.git;branch=master;protocol=https \
15" 15"
16SRCREV = "89e7900d85dd54ef351a7ed582aec6a5a5d7fa37" 16SRCREV = "89e7900d85dd54ef351a7ed582aec6a5a5d7fa37"
17 17
18S = "${WORKDIR}/git"
19PV = "0.23.1+git" 18PV = "0.23.1+git"
20 19
21DEPENDS += "xmlto-native" 20DEPENDS += "xmlto-native"
diff --git a/meta-oe/recipes-support/zchunk/zchunk_1.4.0.bb b/meta-oe/recipes-support/zchunk/zchunk_1.5.1.bb
index 0c8a9c7a5f..9ef380005c 100644
--- a/meta-oe/recipes-support/zchunk/zchunk_1.4.0.bb
+++ b/meta-oe/recipes-support/zchunk/zchunk_1.5.1.bb
@@ -5,8 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=daf6e68539f564601a5a5869c31e5242"
5 5
6SRC_URI = "git://github.com/zchunk/zchunk.git;protocol=https;branch=main" 6SRC_URI = "git://github.com/zchunk/zchunk.git;protocol=https;branch=main"
7 7
8SRCREV = "4dd91d31157ede4a1b092721d944ae2fdd161cd9" 8SRCREV = "69dd7d6764e333413dd12848607d72cab310e406"
9S = "${WORKDIR}/git"
10 9
11DEPENDS = "zstd" 10DEPENDS = "zstd"
12DEPENDS:append:libc-musl = " argp-standalone" 11DEPENDS:append:libc-musl = " argp-standalone"
diff --git a/meta-oe/recipes-support/zile/zile_2.4.15.bb b/meta-oe/recipes-support/zile/zile_2.4.15.bb
index e86b3f82d2..d7973ab861 100644
--- a/meta-oe/recipes-support/zile/zile_2.4.15.bb
+++ b/meta-oe/recipes-support/zile/zile_2.4.15.bb
@@ -9,7 +9,6 @@ SRC_URI = "${GNU_MIRROR}/zile/${BP}.tar.gz \
9 file://remove-help2man.patch \ 9 file://remove-help2man.patch \
10" 10"
11 11
12SRC_URI[md5sum] = "05efa90dfee1821ca018b0b2ef8f50a8"
13SRC_URI[sha256sum] = "39c300a34f78c37ba67793cf74685935a15568e14237a3a66fda8fcf40e3035e" 12SRC_URI[sha256sum] = "39c300a34f78c37ba67793cf74685935a15568e14237a3a66fda8fcf40e3035e"
14 13
15inherit autotools pkgconfig 14inherit autotools pkgconfig
diff --git a/meta-oe/recipes-test/bats/bats_1.11.0.bb b/meta-oe/recipes-test/bats/bats_1.12.0.bb
index f0615f7b79..14a234c866 100644
--- a/meta-oe/recipes-test/bats/bats_1.11.0.bb
+++ b/meta-oe/recipes-test/bats/bats_1.12.0.bb
@@ -9,10 +9,9 @@ SRC_URI = "\
9 git://github.com/bats-core/bats-core.git;branch=master;protocol=https \ 9 git://github.com/bats-core/bats-core.git;branch=master;protocol=https \
10 " 10 "
11 11
12# v1.10.0 12# v1.12.0
13SRCREV = "7531b575bb81487553553aecb654c41b237ae96c" 13SRCREV = "713504bc0224a19b3d7c7958c18dc07f64f54b44"
14 14
15S = "${WORKDIR}/git"
16 15
17# Numerous scripts assume ${baselib} == lib, which is not true. 16# Numerous scripts assume ${baselib} == lib, which is not true.
18# 17#
diff --git a/meta-oe/recipes-test/catch2/catch2_3.6.0.bb b/meta-oe/recipes-test/catch2/catch2_3.8.1.bb
index c4541c4d52..6a7fc5ad47 100644
--- a/meta-oe/recipes-test/catch2/catch2_3.6.0.bb
+++ b/meta-oe/recipes-test/catch2/catch2_3.8.1.bb
@@ -5,9 +5,8 @@ LICENSE = "BSL-1.0"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6 6
7SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https" 7SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
8SRCREV = "4e8d92bf02f7d1c8006a0e7a5ecabd8e62d98502" 8SRCREV = "2b60af89e23d28eefc081bc930831ee9d45ea58b"
9 9
10S = "${WORKDIR}/git"
11 10
12inherit cmake python3native 11inherit cmake python3native
13 12
@@ -16,6 +15,7 @@ do_install:append() {
16 rm ${D}${datadir}/Catch2/gdbinit 15 rm ${D}${datadir}/Catch2/gdbinit
17 rmdir ${D}${datadir}/Catch2/ 16 rmdir ${D}${datadir}/Catch2/
18} 17}
18
19# Header-only library 19# Header-only library
20RDEPENDS:${PN}-dev = "" 20RDEPENDS:${PN}-dev = ""
21RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 21RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
diff --git a/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
index 6c94e9e275..09afe36666 100644
--- a/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
+++ b/meta-oe/recipes-test/cmocka/cmocka_1.1.7.bb
@@ -13,7 +13,6 @@ SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=st
13 file://run-ptest \ 13 file://run-ptest \
14 " 14 "
15 15
16S = "${WORKDIR}/git"
17 16
18inherit cmake ptest 17inherit cmake ptest
19 18
diff --git a/meta-oe/recipes-test/cppunit/cppunit_1.15.1.bb b/meta-oe/recipes-test/cppunit/cppunit_1.15.1.bb
index be81125652..193bfc000a 100644
--- a/meta-oe/recipes-test/cppunit/cppunit_1.15.1.bb
+++ b/meta-oe/recipes-test/cppunit/cppunit_1.15.1.bb
@@ -8,7 +8,6 @@ SRC_URI = " \
8 http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz \ 8 http://dev-www.libreoffice.org/src/cppunit-${PV}.tar.gz \
9 file://0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch \ 9 file://0001-doc-Makefile.am-do-not-preserve-file-flags-when-copy.patch \
10" 10"
11SRC_URI[md5sum] = "9dc669e6145cadd9674873e24943e6dd"
12SRC_URI[sha256sum] = "89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7" 11SRC_URI[sha256sum] = "89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7"
13 12
14inherit autotools 13inherit autotools
diff --git a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb
index 5536cf07b6..5710585b6c 100644
--- a/meta-oe/recipes-test/cpputest/cpputest_4.0.bb
+++ b/meta-oe/recipes-test/cpputest/cpputest_4.0.bb
@@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177"
8SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master" 8SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master"
9SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1" 9SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1"
10 10
11S = "${WORKDIR}/git"
12 11
13inherit cmake 12inherit cmake
14 13
diff --git a/meta-oe/recipes-test/cukinia/cukinia_0.7.0.bb b/meta-oe/recipes-test/cukinia/cukinia_0.7.0.bb
index e3424d019e..ad545e627b 100644
--- a/meta-oe/recipes-test/cukinia/cukinia_0.7.0.bb
+++ b/meta-oe/recipes-test/cukinia/cukinia_0.7.0.bb
@@ -10,7 +10,6 @@ SRC_URI = "git://github.com/savoirfairelinux/cukinia.git;protocol=https;branch=m
10 10
11SRCREV = "be56f653743cc0e68bef81ef35df7c50ff8919c4" 11SRCREV = "be56f653743cc0e68bef81ef35df7c50ff8919c4"
12 12
13S = "${WORKDIR}/git"
14 13
15RRECOMMENDS:${PN} = "libgpiod-tools" 14RRECOMMENDS:${PN} = "libgpiod-tools"
16 15
diff --git a/meta-oe/recipes-test/cunit/cunit_2.1-3.bb b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
index 252ef60def..9aab617487 100644
--- a/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
+++ b/meta-oe/recipes-test/cunit/cunit_2.1-3.bb
@@ -4,13 +4,12 @@ LICENSE = "LGPL-2.0-only"
4SECTION = "libs" 4SECTION = "libs"
5LIC_FILES_CHKSUM = "file://COPYING;md5=7734aa853b85d6f935466f081490ddbb" 5LIC_FILES_CHKSUM = "file://COPYING;md5=7734aa853b85d6f935466f081490ddbb"
6 6
7S = "${WORKDIR}/CUnit-${PV}" 7S = "${UNPACKDIR}/CUnit-${PV}"
8 8
9SRC_URI = "${SOURCEFORGE_MIRROR}/project/cunit/CUnit/${PV}/CUnit-${PV}.tar.bz2 \ 9SRC_URI = "${SOURCEFORGE_MIRROR}/project/cunit/CUnit/${PV}/CUnit-${PV}.tar.bz2 \
10 file://fixup-install-docdir.patch \ 10 file://fixup-install-docdir.patch \
11 file://run-ptest \ 11 file://run-ptest \
12 " 12 "
13SRC_URI[md5sum] = "b5f1a9f6093869c070c6e4a9450cc10c"
14SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214" 13SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214"
15 14
16UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cunit/files/releases" 15UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/cunit/files/releases"
diff --git a/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb b/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb
index c5dfff2259..4eb4e8ecbf 100644
--- a/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb
+++ b/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb
@@ -5,9 +5,10 @@ LICENSE = "LGPL-2.0-only"
5LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02" 5LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
6 6
7SRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/${BP}.tar.gz" 7SRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/${BP}.tar.gz"
8SRC_URI[md5sum] = "c3cc3355e2ac64e34c215f28e44cfcec"
9SRC_URI[sha256sum] = "1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8" 8SRC_URI[sha256sum] = "1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8"
10 9
10UPSTREAM_CHECK_URI = "https://sourceforge.net/p/cxxtest/activity/"
11
11inherit setuptools3 12inherit setuptools3
12 13
13SETUPTOOLS_SETUP_PATH = "${S}/python" 14SETUPTOOLS_SETUP_PATH = "${S}/python"
diff --git a/meta-oe/recipes-test/evtest/evtest_1.35.bb b/meta-oe/recipes-test/evtest/evtest_1.35.bb
index 52f684ce5f..9c42efcdab 100644
--- a/meta-oe/recipes-test/evtest/evtest_1.35.bb
+++ b/meta-oe/recipes-test/evtest/evtest_1.35.bb
@@ -11,6 +11,5 @@ SRC_URI = "git://gitlab.freedesktop.org/libevdev/evtest.git;protocol=https;branc
11 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ 11 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
12 " 12 "
13 13
14S = "${WORKDIR}/git"
15 14
16inherit autotools pkgconfig 15inherit autotools pkgconfig
diff --git a/meta-oe/recipes-test/fbtest/fb-test_1.1.0.bb b/meta-oe/recipes-test/fbtest/fb-test_1.1.0.bb
index 6082ea2574..98db76eda1 100644
--- a/meta-oe/recipes-test/fbtest/fb-test_1.1.0.bb
+++ b/meta-oe/recipes-test/fbtest/fb-test_1.1.0.bb
@@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
6SRCREV = "063ec650960c2d79ac51f5c5f026cb05343a33e2" 6SRCREV = "063ec650960c2d79ac51f5c5f026cb05343a33e2"
7SRC_URI = "git://github.com//ponty/fb-test-app.git;branch=master;protocol=https" 7SRC_URI = "git://github.com//ponty/fb-test-app.git;branch=master;protocol=https"
8 8
9S = "${WORKDIR}/git" 9# Upstream repo does not tag
10UPSTREAM_CHECK_COMMITS = "1"
11
10 12
11do_install() { 13do_install() {
12 install -d ${D}${bindir} 14 install -d ${D}${bindir}
diff --git a/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch b/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch
new file mode 100644
index 0000000000..814912650b
--- /dev/null
+++ b/meta-oe/recipes-test/googletest/googletest/gtest-ciso646.patch
@@ -0,0 +1,26 @@
1https://github.com/google/googletest/issues/4701
2
3taken from fedora:
4https://src.fedoraproject.org/rpms/gtest/c/b3fe6f803a1e554971f70e1c3f55aa5fcb377b1b?branch=rawhide
5
6Upstream-Status: Pending
7Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
8
9--- ./googletest/include/gtest/internal/gtest-port.h.orig 2025-01-27 03:39:18.963893931 +0000
10+++ ./googletest/include/gtest/internal/gtest-port.h 2025-01-28 13:57:51.381081952 +0000
11@@ -288,11 +288,11 @@
12
13 // Detect C++ feature test macros as gracefully as possible.
14 // MSVC >= 19.15, Clang >= 3.4.1, and GCC >= 4.1.2 support feature test macros.
15-#if GTEST_INTERNAL_CPLUSPLUS_LANG >= 202002L && \
16- (!defined(__has_include) || GTEST_INTERNAL_HAS_INCLUDE(<version>))
17+#if GTEST_INTERNAL_HAS_INCLUDE(<version>) || \
18+ (GTEST_INTERNAL_CPLUSPLUS_LANG >= 202002L && !defined(__has_include))
19 #include <version> // C++20 and later
20-#elif (!defined(__has_include) || GTEST_INTERNAL_HAS_INCLUDE(<ciso646>))
21-#include <ciso646> // Pre-C++20
22+#else
23+#include <cerrno> // Pre-C++20
24 #endif
25
26 #include <ctype.h> // for isspace, etc
diff --git a/meta-oe/recipes-test/googletest/googletest_1.14.0.bb b/meta-oe/recipes-test/googletest/googletest_1.16.0.bb
index 6546845715..55d670a428 100644
--- a/meta-oe/recipes-test/googletest/googletest_1.14.0.bb
+++ b/meta-oe/recipes-test/googletest/googletest_1.16.0.bb
@@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cbbd27594afd089daa160d3a16dd515a"
6 6
7PROVIDES += "gmock gtest" 7PROVIDES += "gmock gtest"
8 8
9S = "${WORKDIR}/git" 9SRCREV = "6910c9d9165801d8827d628cb72eb7ea9dd538c5"
10SRCREV = "f8d7d77c06936315286eb55f8de22cd23c188571" 10SRC_URI = "git://github.com/google/googletest.git;branch=v1.16.x;protocol=https \
11SRC_URI = "git://github.com/google/googletest.git;branch=main;protocol=https" 11 file://gtest-ciso646.patch \
12"
12 13
13inherit cmake pkgconfig 14inherit cmake pkgconfig
14 15
diff --git a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
index f13925ee18..3588e96847 100644
--- a/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
+++ b/meta-oe/recipes-test/libfaketime/libfaketime_0.9.10.bb
@@ -9,7 +9,6 @@ SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;protocol=https
9 file://0001-Makefile-Detect-compiler-in-makefile.patch \ 9 file://0001-Makefile-Detect-compiler-in-makefile.patch \
10 " 10 "
11 11
12S = "${WORKDIR}/git"
13 12
14CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" 13CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
15 14
diff --git a/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb b/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb
index e909676abc..c617cf09a3 100644
--- a/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb
+++ b/meta-oe/recipes-test/linux-serial-test/linux-serial-test_git.bb
@@ -8,6 +8,8 @@ SRC_URI = "git://github.com/cbrake/linux-serial-test.git;protocol=https;branch=m
8PV = "0+git" 8PV = "0+git"
9SRCREV = "2ee61484167eab846f7b7c565284d7c350d738d3" 9SRCREV = "2ee61484167eab846f7b7c565284d7c350d738d3"
10 10
11S = "${WORKDIR}/git" 11# Upstream repo does not tag
12UPSTREAM_CHECK_COMMITS = "1"
13
12 14
13inherit cmake 15inherit cmake
diff --git a/meta-oe/recipes-test/pm-qa/pm-qa/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch b/meta-oe/recipes-test/pm-qa/pm-qa/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch
new file mode 100644
index 0000000000..7efd8dd71a
--- /dev/null
+++ b/meta-oe/recipes-test/pm-qa/pm-qa/0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch
@@ -0,0 +1,69 @@
1From b6b968d1c8fbba79b33d63874b551225e663435e Mon Sep 17 00:00:00 2001
2From: "mark.yang" <mark.yang@lge.com>
3Date: Wed, 2 Apr 2025 16:59:00 +0900
4Subject: [PATCH] fix build with gcc-15 -Wincompatible-pointer-types error
5
6See more details: http://errors.yoctoproject.org/Errors/Details/850314
7utils/uevent_reader.c:33:24: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
8 33 | signal(SIGINT, exit_handler);
9 | ^~~~~~~~~~~~
10 | |
11 | void (*)(void)
12In file included from utils/uevent_reader.c:4:
13TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
14 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
15 | ~~~~~~~~~~~~~~~^~~~~~~~~
16utils/uevent_reader.c:15:6: note: 'exit_handler' declared here
17 15 | void exit_handler()
18 | ^~~~~~~~~~~~
19TOPDIR/tmp/work/core2-64-oe-linux/pm-qa/0.5.2/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
20 72 | typedef void (*__sighandler_t) (int);
21 | ^~~~~~~~~~~~~~
22
23* Set the parameter of exit_handler() to int.
24 Changed to use exit_handler(0).
25 The parameter is not used inside exit_handler() anyway.
26
27Upstream-Status: Inactive-Upstream [lastrelease: 6 years ago]
28Signed-off-by: mark.yang <mark.yang@lge.com>
29---
30 utils/uevent_reader.c | 8 ++++----
31 1 file changed, 4 insertions(+), 4 deletions(-)
32
33diff --git a/utils/uevent_reader.c b/utils/uevent_reader.c
34index afbb426..75d445c 100644
35--- a/utils/uevent_reader.c
36+++ b/utils/uevent_reader.c
37@@ -12,7 +12,7 @@
38
39 FILE *fp;
40
41-void exit_handler()
42+void exit_handler(int sig)
43 {
44 fprintf(stdout, "exiting from uevent reader...\n");
45 fclose(fp);
46@@ -42,20 +42,20 @@ int main(int argc, char *argv[])
47 pfd.fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT);
48 if (pfd.fd == -1) {
49 perror("error: socket()");
50- exit_handler();
51+ exit_handler(0);
52 }
53
54 if (bind(pfd.fd, (struct sockaddr *) &nls,
55 sizeof(struct sockaddr_nl))) {
56 perror("error : bind()");
57- exit_handler();
58+ exit_handler(0);
59 }
60
61 while (-1 != poll(&pfd, 1, -1)) {
62 int i, len = recv(pfd.fd, buf, sizeof(buf), MSG_DONTWAIT);
63 if (len == -1) {
64 perror("error : recv()");
65- exit_handler();
66+ exit_handler(0);
67 }
68
69 i = 0;
diff --git a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb
index fc21e6192e..d7e9618985 100644
--- a/meta-oe/recipes-test/pm-qa/pm-qa_git.bb
+++ b/meta-oe/recipes-test/pm-qa/pm-qa_git.bb
@@ -10,12 +10,16 @@ BRANCH ?= "master"
10 10
11SRCREV = "05710ec5032be4c8edafb4109d4d908d31243906" 11SRCREV = "05710ec5032be4c8edafb4109d4d908d31243906"
12 12
13SRC_URI = "git://git.linaro.org/power/pm-qa.git;protocol=git;branch=${BRANCH}" 13SRC_URI = " \
14 git://git.linaro.org/power/pm-qa.git;protocol=git;branch=${BRANCH} \
15 file://0001-fix-build-with-gcc-15-Wincompatible-pointer-types-er.patch \
16"
14 17
15S = "${WORKDIR}/git"
16 18
17CFLAGS += "-pthread" 19CFLAGS += "-pthread"
18 20
21PATCHTOOL = "git"
22
19do_compile () { 23do_compile () {
20 # Find all the .c files in this project and build them. 24 # Find all the .c files in this project and build them.
21 for x in `find . -name "*.c"` 25 for x in `find . -name "*.c"`
@@ -63,7 +67,7 @@ do_install () {
63 install -m 0755 $script ${D}${bindir}/${script_basename} 67 install -m 0755 $script ${D}${bindir}/${script_basename}
64 done 68 done
65} 69}
66RDEPENDS:${PN} +="bash" 70RDEPENDS:${PN} += "bash"
67 71
68# http://errors.yoctoproject.org/Errors/Details/186956/ 72# http://errors.yoctoproject.org/Errors/Details/186956/
69COMPATIBLE_HOST:libc-musl = 'null' 73COMPATIBLE_HOST:libc-musl = 'null'
diff --git a/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb b/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb
index 683600f712..8d298e3c1d 100644
--- a/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb
+++ b/meta-oe/recipes-test/shunit2/shunit2_2.1.8.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
6SRC_URI = " git://github.com/kward/shunit2.git;branch=master;protocol=https" 6SRC_URI = " git://github.com/kward/shunit2.git;branch=master;protocol=https"
7SRCREV = "080159b303537888c5d41910b4d47a5002638e30" 7SRCREV = "080159b303537888c5d41910b4d47a5002638e30"
8 8
9S = "${WORKDIR}/git"
10 9
11do_install() { 10do_install() {
12 install -D -m 0755 ${S}/shunit2 ${D}${bindir}/shunit2 11 install -D -m 0755 ${S}/shunit2 ${D}${bindir}/shunit2
diff --git a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
index 639f55de2f..b2b0f7ae9e 100644
--- a/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
+++ b/meta-oe/recipes-test/syzkaller/syzkaller_git.bb
@@ -13,11 +13,10 @@ SRC_URI = "git://${GO_IMPORT};protocol=https;destsuffix=${BPN}-${PV}/src/${GO_IM
13 " 13 "
14SRCREV = "25905f5d0a2a7883bd33491997556193582c6059" 14SRCREV = "25905f5d0a2a7883bd33491997556193582c6059"
15 15
16# Upstream repo does not tag
17UPSTREAM_CHECK_COMMITS = "1"
18
16export GOPROXY = "https://proxy.golang.org,direct" 19export GOPROXY = "https://proxy.golang.org,direct"
17# Workaround for network access issue during compile step.
18# This needs to be fixed in the recipes buildsystem so that
19# it can be accomplished during do_fetch task.
20do_compile[network] = "1"
21 20
22COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux" 21COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64).*-linux"
23 22
@@ -25,8 +24,8 @@ B = "${S}/src/${GO_IMPORT}/bin"
25 24
26GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}' 25GO_EXTRA_LDFLAGS += ' -X ${GO_IMPORT}/prog.GitRevision=${SRCREV}'
27 26
28export GOHOSTFLAGS="${GO_LINKSHARED} ${GOBUILDFLAGS}" 27export GOHOSTFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
29export GOTARGETFLAGS="${GO_LINKSHARED} ${GOBUILDFLAGS}" 28export GOTARGETFLAGS = "${GO_LINKSHARED} ${GOBUILDFLAGS}"
30export TARGETOS = '${GOOS}' 29export TARGETOS = '${GOOS}'
31export TARGETARCH = '${GOARCH}' 30export TARGETARCH = '${GOARCH}'
32export TARGETVMARCH = '${GOARCH}' 31export TARGETVMARCH = '${GOARCH}'
diff --git a/meta-oe/recipes-test/testfloat/testfloat_3e.bb b/meta-oe/recipes-test/testfloat/testfloat_3e.bb
index 071be2a200..5000c7d106 100644
--- a/meta-oe/recipes-test/testfloat/testfloat_3e.bb
+++ b/meta-oe/recipes-test/testfloat/testfloat_3e.bb
@@ -19,8 +19,9 @@ SRC_URI[TestFloat.sha256sum] = "6d4bdf0096b48a653aa59fc203a9e5fe18b5a58d7a1b7151
19SRC_URI[SoftFloat.md5sum] = "7dac954ea4aed0697cbfee800ba4f492" 19SRC_URI[SoftFloat.md5sum] = "7dac954ea4aed0697cbfee800ba4f492"
20SRC_URI[SoftFloat.sha256sum] = "21130ce885d35c1fe73fc1e1bf2244178167e05c6747cad5f450cc991714c746" 20SRC_URI[SoftFloat.sha256sum] = "21130ce885d35c1fe73fc1e1bf2244178167e05c6747cad5f450cc991714c746"
21 21
22S = "${WORKDIR}/sources" 22UPSTREAM_CHECK_URI = "http://www.jhauser.us/arithmetic/TestFloat.html"
23UNPACKDIR = "${S}" 23
24S = "${UNPACKDIR}"
24 25
25do_compile(){ 26do_compile(){
26 oe_runmake -C SoftFloat-${PV}/build/Linux-Cross-Compile/ 27 oe_runmake -C SoftFloat-${PV}/build/Linux-Cross-Compile/
diff --git a/meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb b/meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb
index 788a15dba2..3f2f07c28f 100644
--- a/meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb
+++ b/meta-oe/recipes-test/trompeloeil/trompeloeil_v47.bb
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
6SRC_URI = "git://github.com/rollbear/trompeloeil.git;branch=main;protocol=https" 6SRC_URI = "git://github.com/rollbear/trompeloeil.git;branch=main;protocol=https"
7SRCREV = "ad9bc41b1e01ae92802de59a12d19cf7c8683d6d" 7SRCREV = "ad9bc41b1e01ae92802de59a12d19cf7c8683d6d"
8 8
9S = "${WORKDIR}/git"
10 9
11inherit cmake 10inherit cmake
12 11