summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended')
-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.bb5
-rw-r--r--meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb8
-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_1.0.5.bb (renamed from meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb)13
-rw-r--r--meta-oe/recipes-extended/collectd/collectd_5.12.0.bb6
-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.bb12
-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/0001-cmake-fix-when-cross-compiling.patch68
-rw-r--r--meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch27
-rw-r--r--meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb (renamed from meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb)12
-rw-r--r--meta-oe/recipes-extended/etcd/etcd_3.5.7.bb20
-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/0001-meson.build-require-for-native-wayland-scanner.patch28
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-native-gtkdoc.patch33
-rw-r--r--meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb (renamed from meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb)32
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch70
-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.7.bb92
-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.bb14
-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.bb (renamed from meta-oe/recipes-extended/highway/highway_1.1.0.bb)7
-rw-r--r--meta-oe/recipes-extended/hiredis/hiredis/run-ptest17
-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/hwloc/hwloc_2.12.1.bb (renamed from meta-oe/recipes-extended/hwloc/hwloc_2.9.3.bb)6
-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.bb4
-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/files/CVE-2025-6019.patch31
-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)20
-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.bb12
-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/run-ptest27
-rw-r--r--meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb43
-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/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)102
-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.8.0.bb)26
-rw-r--r--meta-oe/recipes-extended/mraa/mraa_git.bb7
-rw-r--r--meta-oe/recipes-extended/nana/nana_git.bb7
-rw-r--r--meta-oe/recipes-extended/networking/mstpd_git.bb5
-rw-r--r--meta-oe/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch26
-rw-r--r--meta-oe/recipes-extended/newt/files/cross_ar.patch59
-rw-r--r--meta-oe/recipes-extended/newt/libnewt_0.52.25.bb55
-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.bb5
-rw-r--r--meta-oe/recipes-extended/ostree/ostree_2024.10.bb (renamed from meta-oe/recipes-extended/ostree/ostree_2024.5.bb)9
-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.0.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.bb7
-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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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)27
-rw-r--r--meta-oe/recipes-extended/redis/redis_7.2.8.bb (renamed from meta-oe/recipes-extended/redis/redis_7.2.4.bb)32
-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)22
-rw-r--r--meta-oe/recipes-extended/rsyslog/libfastjson_1.2304.0.bb3
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch37
-rw-r--r--meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb22
-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.patch32
-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.2402.0.bb)49
-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.2.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.bb11
-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.bb18
-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/smartmontools/smartmontools_7.4.bb6
-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/tipcutils.conf1
-rw-r--r--meta-oe/recipes-extended/tipcutils/tipcutils_git.bb12
-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.4/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.bb5
-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.bb16
-rw-r--r--meta-oe/recipes-extended/zsync/zsync-curl_git.bb10
288 files changed, 5040 insertions, 3181 deletions
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 5cd20c5b1c..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
@@ -27,6 +28,6 @@ inherit autotools ptest
27 28
28do_install_ptest() { 29do_install_ptest() {
29 install -d ${D}${PTEST_PATH} 30 install -d ${D}${PTEST_PATH}
30 install -m 0644 ${WORKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected 31 install -m 0644 ${UNPACKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected
31} 32}
32 33
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..3e626f32d9 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,13 @@ do_install:prepend() {
77 mkdir -p ${D}${sysconfdir}/default 76 mkdir -p ${D}${sysconfdir}/default
78} 77}
79 78
79do_install:append() {
80 # By default, the SVN_VERSION definition looks like:
81 #define SVN_VERSION "$SHA1 [https://github.com/BOINC/boinc] ($HOSTNAME:$S [client_release/7/7.20]) [Server-Release: server_release/1.1/1.1.0]"
82 # ... remove HOSTNAME and S to make it reproducible.
83 sed -i -e '/^#define SVN_VERSION /s#(\S*:\S* \[#([#g' ${D}${includedir}/boinc/svn_version.h
84}
85
80SYSTEMD_SERVICE:${PN} = "boinc-client.service" 86SYSTEMD_SERVICE:${PN} = "boinc-client.service"
81 87
82FILES:${PN} += "${libdir}/systemd" 88FILES:${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_1.0.4.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.5.bb
index 781dc83da9..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,21 +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 " 13 "
14 14
15SRCREV = "69077ee4d249816ed428155fc933dca424167e77" 15SRCREV = "49d6dcfc71ca421100fcf325e31625817c469fc9"
16S = "${WORKDIR}/git"
17 16
18inherit cmake python3targetconfig 17inherit cmake python3targetconfig
19 18
20EXTRA_OECMAKE = "-DLIB='${baselib}' \ 19EXTRA_OECMAKE = "-DLIB='${baselib}' \
21 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ 20 -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
22 -DPYTHON_ABI=${PYTHON_ABI} \ 21 -DPYTHON_ABI=${PYTHON_ABI} \
23 -DBUILD_PYTHON3=YES \ 22 -DBUILD_PYTHON3=NO \
24 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \ 23 -DPython3_SITE_DIR=${PYTHON_SITEPACKAGES_DIR} \
25 " 24 "
26 25
@@ -28,7 +27,11 @@ EXTRA_OECMAKE = "-DLIB='${baselib}' \
28# 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 $$)
29OECMAKE_GENERATOR = "Unix Makefiles" 28OECMAKE_GENERATOR = "Unix Makefiles"
30 29
31FILES:${PN} =+"${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*" 30FILES:${PN} =+ "${libdir}/cmpi/libpy3CmpiProvider.so ${PYTHON_SITEPACKAGES_DIR}/*"
32FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so" 31FILES:${PN}-dbg =+ "${libdir}/cmpi/.debug/libpyCmpiProvider.so"
33 32
34BBCLASSEXTEND = "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 02f1fcb420..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} \
@@ -63,7 +63,7 @@ EXTRA_OECONF = " \
63 63
64do_install:append() { 64do_install:append() {
65 install -d ${D}${sysconfdir}/init.d 65 install -d ${D}${sysconfdir}/init.d
66 install -m 0755 ${WORKDIR}/collectd.init ${D}${sysconfdir}/init.d/collectd 66 install -m 0755 ${UNPACKDIR}/collectd.init ${D}${sysconfdir}/init.d/collectd
67 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/collectd 67 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/collectd
68 sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/collectd 68 sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/collectd
69 sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/collectd 69 sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/collectd
@@ -77,7 +77,7 @@ do_install:append() {
77 77
78 # Install systemd unit files 78 # Install systemd unit files
79 install -d ${D}${systemd_unitdir}/system 79 install -d ${D}${systemd_unitdir}/system
80 install -m 0644 ${WORKDIR}/collectd.service ${D}${systemd_unitdir}/system 80 install -m 0644 ${UNPACKDIR}/collectd.service ${D}${systemd_unitdir}/system
81 sed -i -e 's,@SBINDIR@,${sbindir},g' \ 81 sed -i -e 's,@SBINDIR@,${sbindir},g' \
82 ${D}${systemd_unitdir}/system/collectd.service 82 ${D}${systemd_unitdir}/system/collectd.service
83} 83}
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 22b6c782a6..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 () {
@@ -30,11 +32,11 @@ do_install () {
30} 32}
31 33
32do_install_ptest() { 34do_install_ptest() {
33 install -m 0755 "${WORKDIR}/duktape-2.7.0/hello" "${D}${PTEST_PATH}" 35 install -m 0755 "${S}/hello" "${D}${PTEST_PATH}"
34 install -m 0755 "${WORKDIR}/duktape-2.7.0/eval" "${D}${PTEST_PATH}" 36 install -m 0755 "${S}/eval" "${D}${PTEST_PATH}"
35 install -m 0755 "${WORKDIR}/duktape-2.7.0/evloop" "${D}${PTEST_PATH}" 37 install -m 0755 "${S}/evloop" "${D}${PTEST_PATH}"
36 install -m 0755 "${WORKDIR}/duktape-2.7.0/examples/eventloop/timer-test.js" "${D}${PTEST_PATH}" 38 install -m 0755 "${S}/examples/eventloop/timer-test.js" "${D}${PTEST_PATH}"
37 install -m 0755 "${WORKDIR}/duktape-2.7.0/examples/eventloop/ecma_eventloop.js" "${D}${PTEST_PATH}" 39 install -m 0755 "${S}/examples/eventloop/ecma_eventloop.js" "${D}${PTEST_PATH}"
38} 40}
39 41
40RDEPENDS:${PN}-ptest += "make" 42RDEPENDS:${PN}-ptest += "make"
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/0001-cmake-fix-when-cross-compiling.patch b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-cmake-fix-when-cross-compiling.patch
deleted file mode 100644
index ce12d4270a..0000000000
--- a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-cmake-fix-when-cross-compiling.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From cb79329010d73e36ce64830914005f1c17f8f53c Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= <peron.clem@gmail.com>
3Date: Sat, 23 Sep 2023 11:32:18 +0200
4Subject: [PATCH] cmake: fix when cross compiling
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9In order to generate protobuf files CMake need to use the protoc
10and grpc-cpp-plugin compiled for the host architecture.
11
12Unfortunately, the protoc and grpc-cpp-plugin in the gRPC CMake
13configuration file are the one for the target architecture.
14
15Fix this by properly finding the correct executable when
16CMake is cross compiling.
17
18Signed-off-by: Clément Péron <peron.clem@gmail.com>
19---
20Upstream-Status: Pending
21
22 CMakeLists.txt | 28 ++++++++++++++++++++++++++--
23 1 file changed, 26 insertions(+), 2 deletions(-)
24
25diff --git a/CMakeLists.txt b/CMakeLists.txt
26index 5aa1310..80ebad2 100644
27--- a/CMakeLists.txt
28+++ b/CMakeLists.txt
29@@ -120,10 +120,34 @@ if(Protobuf_PROTOC_EXECUTABLE)
30 endif()
31 endif()
32
33+# When cross compiling we look for the native protoc compiler
34+# overwrite protobuf::protoc with the proper protoc
35+if(CMAKE_CROSSCOMPILING)
36+ find_program(Protobuf_PROTOC_EXECUTABLE REQUIRED NAMES protoc)
37+ if(NOT TARGET protobuf::protoc)
38+ add_executable(protobuf::protoc IMPORTED)
39+ endif()
40+ set_target_properties(protobuf::protoc PROPERTIES
41+ IMPORTED_LOCATION "${Protobuf_PROTOC_EXECUTABLE}")
42+endif()
43+
44 find_package(gRPC QUIET)
45-if(gRPC_FOUND AND TARGET gRPC::grpc AND TARGET gRPC::grpc_cpp_plugin)
46+if(gRPC_FOUND AND TARGET gRPC::grpc)
47+ # When cross compiling we look for the native grpc_cpp_plugin
48+ if(CMAKE_CROSSCOMPILING)
49+ find_program(GRPC_CPP_PLUGIN REQUIRED NAMES grpc_cpp_plugin)
50+ if(NOT TARGET gRPC::grpc_cpp_plugin)
51+ add_executable(gRPC::grpc_cpp_plugin IMPORTED)
52+ endif()
53+ set_target_properties(gRPC::grpc_cpp_plugin PROPERTIES
54+ IMPORTED_LOCATION "${GRPC_CPP_PLUGIN}")
55+ elseif(TARGET gRPC::grpc_cpp_plugin)
56+ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
57+ else()
58+ message(FATAL_ERROR "Found gRPC but no gRPC CPP plugin defined")
59+ endif()
60+
61 set(GRPC_LIBRARIES gRPC::gpr gRPC::grpc gRPC::grpc++)
62- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
63 get_target_property(GRPC_INCLUDE_DIR gRPC::grpc INTERFACE_INCLUDE_DIRECTORIES)
64 else()
65 include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/FindGRPC.cmake)
66--
672.39.3 (Apple Git-145)
68
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch
new file mode 100644
index 0000000000..373e146b98
--- /dev/null
+++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3/0001-include-stdint.h-for-int64_t-types.patch
@@ -0,0 +1,27 @@
1From 44f4254fe96c43437400f94a8a2800175ddf3279 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2024 21:00:48 -0700
4Subject: [PATCH] include stdint.h for int64_t types
5
6This is exposed when compiling for musl platforms where this
7header is not included indirectly.
8
9Upstream-Status: Submitted [https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/pull/270]
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 src/Value.cpp | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/Value.cpp b/src/Value.cpp
16index cbda697..d6f2c9c 100644
17--- a/src/Value.cpp
18+++ b/src/Value.cpp
19@@ -1,4 +1,5 @@
20 #include <iomanip>
21+#include <cstdint>
22
23 #include "etcd/Value.hpp"
24 #include "etcd/v3/KeyValue.hpp"
25--
262.45.1
27
diff --git a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
index 401d53c79c..c3a5a02a3f 100644
--- a/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.3.bb
+++ b/meta-oe/recipes-extended/etcd/etcd-cpp-apiv3_0.15.4.bb
@@ -6,18 +6,24 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=eae7da6a2cd1788a5cf8a9f838cf6450"
6 6
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-cmake-fix-when-cross-compiling.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 = "e31ac4d4caa55fa662e207150ba40f8151b7ad96" 13SRCREV = "ba6216385fc332b23d95683966824c2b86c2474e"
13 14
14inherit cmake 15inherit 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 0794158a52..dd30543a41 100644
--- a/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb
+++ b/meta-oe/recipes-extended/etcd/etcd_3.5.7.bb
@@ -2,12 +2,12 @@ DESCRIPTION = "etcd is a distributed key-value store for distributed systems"
2HOMEPAGE = "https://etcd.io/" 2HOMEPAGE = "https://etcd.io/"
3 3
4LICENSE = "Apache-2.0" 4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://${S}/${GO_INSTALL}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" 5LIC_FILES_CHKSUM = "file://${GO_INSTALL}/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6 6
7SRC_URI = " \ 7SRC_URI = " \
8 git://github.com/etcd-io/etcd;branch=release-3.5;protocol=https \ 8 git://github.com/etcd-io/etcd;branch=release-3.5;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
9 file://0001-xxhash-bump-to-v2.1.2.patch;patchdir=src/${GO_IMPORT} \ 9 file://0001-xxhash-bump-to-v2.1.2.patch;patchdir=${GO_INSTALL} \
10 file://0001-test_lib.sh-remove-gobin-requirement-during-build.patch;patchdir=src/${GO_IMPORT} \ 10 file://0001-test_lib.sh-remove-gobin-requirement-during-build.patch;patchdir=${GO_INSTALL} \
11 file://etcd.service \ 11 file://etcd.service \
12 file://etcd-existing.conf \ 12 file://etcd-existing.conf \
13 file://etcd-new.service \ 13 file://etcd-new.service \
@@ -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
@@ -62,12 +61,13 @@ do_install:append() {
62 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcd ${D}${bindir} 61 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcd ${D}${bindir}
63 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcdctl ${D}${bindir} 62 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcdctl ${D}${bindir}
64 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcdutl ${D}${bindir} 63 install -m 0755 ${D}${libdir}/go/src/go.etcd.io/etcd/v3/bin/etcdutl ${D}${bindir}
65 install -m 0644 ${WORKDIR}/etcd-existing.conf -D -t ${D}${sysconfdir}/etcd.d 64 install -m 0644 ${UNPACKDIR}/etcd-existing.conf -D -t ${D}${sysconfdir}/etcd.d
66 install -d ${D}${systemd_system_unitdir} 65 install -d ${D}${systemd_system_unitdir}
67 install -m 0644 ${WORKDIR}/etcd.service ${D}${systemd_system_unitdir}/ 66 install -m 0644 ${UNPACKDIR}/etcd.service ${D}${systemd_system_unitdir}/
68 install -m 0644 ${WORKDIR}/etcd-new.service ${D}${systemd_system_unitdir}/ 67 install -m 0644 ${UNPACKDIR}/etcd-new.service ${D}${systemd_system_unitdir}/
69 install -m 0644 ${WORKDIR}/etcd-new.path ${D}${systemd_system_unitdir}/ 68 install -m 0644 ${UNPACKDIR}/etcd-new.path ${D}${systemd_system_unitdir}/
70} 69}
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/0001-meson.build-require-for-native-wayland-scanner.patch b/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch
deleted file mode 100644
index b076a3fffd..0000000000
--- a/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From ced2e933cf647874da4baff002e0987b9bfe5fac Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Sat, 18 Nov 2023 15:07:49 +0100
4Subject: [PATCH] meson.build: require for native wayland-scanner
5
6Signed-off-by: Markus Volk <f_l_k@t-online.de>
7
8Upstream-Status: Submitted [https://github.com/flatpak/flatpak/pull/5596]
9---
10 meson.build | 4 ++--
11 1 file changed, 1 insertions(+), 1 deletions(-)
12
13diff --git a/meson.build b/meson.build
14index f4e5b3a3..5d2f9eba 100644
15--- a/meson.build
16+++ b/meson.build
17@@ -207,7 +207,7 @@ gtkdoc_dep = dependency('gtk-doc', required : get_option('gtkdoc'))
18 build_gtk_doc = gtkdoc_dep.found()
19
20 wayland_client = dependency('wayland-client', required : get_option('wayland_security_context'))
21-wayland_scanner = dependency('wayland-scanner', version : '>= 1.15', required : get_option('wayland_security_context'))
22+wayland_scanner = dependency('wayland-scanner', version : '>= 1.15', required : get_option('wayland_security_context'), native : true)
23 wayland_protocols = dependency('wayland-protocols', version : '>= 1.32', required : get_option('wayland_security_context'))
24 build_wayland_security_context = wayland_client.found() and wayland_scanner.found() and wayland_protocols.found()
25
26--
272.42.0
28
diff --git a/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-native-gtkdoc.patch b/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-native-gtkdoc.patch
deleted file mode 100644
index 77b60ec98c..0000000000
--- a/meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-native-gtkdoc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 49737b1e4a74c77a8cd7ae727974d68503da087f Mon Sep 17 00:00:00 2001
2From: Markus Volk <f_l_k@t-online.de>
3Date: Fri, 12 Jan 2024 13:52:08 +0100
4Subject: [PATCH] meson.build: require native gtkdoc
5
6this fixes:
7| Run-time dependency gtk-doc found: NO (tried pkgconfig)
8|
9| ../git/meson.build:206:13: ERROR: Dependency "gtk-doc" not found, tried pkgconfig
10
11Upstream-Status: Submitted [https://github.com/flatpak/flatpak/pull/5650/commits/e5de3e46b917f830d7f81e9db6ed2a9b7d7db942]
12
13Signed-off-by: Markus Volk <f_l_k@t-online.de>
14---
15 meson.build | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/meson.build b/meson.build
19index f7f9372d..dccc3eb4 100644
20--- a/meson.build
21+++ b/meson.build
22@@ -203,7 +203,7 @@ appstream_dep = dependency('appstream', version : '>=0.12.0')
23 gdk_pixbuf_dep = dependency('gdk-pixbuf-2.0')
24 libseccomp_dep = dependency('libseccomp', required : get_option('seccomp'))
25 gir_dep = dependency('gobject-introspection-1.0', version : '>=1.40.0', required : get_option('gir'))
26-gtkdoc_dep = dependency('gtk-doc', required : get_option('gtkdoc'))
27+gtkdoc_dep = dependency('gtk-doc', required : get_option('gtkdoc'), native : true)
28 build_gtk_doc = gtkdoc_dep.found()
29
30 wayland_client = dependency('wayland-client', required : get_option('wayland_security_context'))
31--
322.43.0
33
diff --git a/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
index 97e57c13d5..f99c8ac36a 100644
--- a/meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb
+++ b/meta-oe/recipes-extended/flatpak/flatpak_1.16.0.bb
@@ -4,24 +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 file://0001-meson.build-require-for-native-wayland-scanner.patch \
10 file://0001-meson.build-require-native-gtkdoc.patch \
11" 9"
12 10
13SRCREV = "27b11b93c2a80a91c9461bc6c7f5e9a201406041" 11SRCREV = "1440f4faa67ebf69c7559f31d2cab59e6ec6fe2b"
14 12
15S = "${WORKDIR}/git"
16 13
17inherit 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
18 15
19REQUIRED_DISTRO_FEATURES = "polkit" 16REQUIRED_DISTRO_FEATURES = "polkit"
20 17
21DEPENDS = " \ 18DEPENDS = " \
22 appstream \ 19 appstream \
23 bison-native \ 20 bison-native \
24 dconf \ 21 bubblewrap-native \
25 fuse3 \ 22 fuse3 \
26 gdk-pixbuf \ 23 gdk-pixbuf \
27 glib-2.0 \ 24 glib-2.0 \
@@ -33,13 +30,16 @@ DEPENDS = " \
33 ostree \ 30 ostree \
34 polkit \ 31 polkit \
35 python3-pyparsing-native \ 32 python3-pyparsing-native \
33 xdg-dbus-proxy-native \
36 zstd \ 34 zstd \
37" 35"
38 36
39RDEPENDS:${PN} = " \ 37RDEPENDS:${PN} = " \
40 ca-certificates \ 38 ca-certificates \
41 dconf \
42 flatpak-xdg-utils \ 39 flatpak-xdg-utils \
40 fuse3-utils \
41 bubblewrap \
42 xdg-dbus-proxy \
43" 43"
44 44
45GIR_MESON_OPTION = "gir" 45GIR_MESON_OPTION = "gir"
@@ -50,12 +50,14 @@ GTKDOC_MESON_ENABLE_FLAG = 'enabled'
50GTKDOC_MESON_DISABLE_FLAG = 'disabled' 50GTKDOC_MESON_DISABLE_FLAG = 'disabled'
51 51
52PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl" 52PACKAGECONFIG[curl] = "-Dhttp_backend=curl,,curl"
53PACKAGECONFIG[dconf] = "-Ddconf=enabled,-Ddconf=disabled,dconf"
53PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native" 54PACKAGECONFIG[docbook_docs] = "-Ddocbook_docs=enabled,-Ddocbook_docs=disabled,xmlto-native"
54PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native" 55PACKAGECONFIG[man] = "-Dman=enabled,-Dman=disabled,libxslt-native"
55PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4" 56PACKAGECONFIG[soup] = "-Dhttp_backend=soup,,libsoup-2.4"
56PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native" 57PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,xauth socat-native"
57PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth" 58PACKAGECONFIG[xauth] = "-Dxauth=enabled,-Dxauth=disabled,xauth"
58PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp" 59PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
60PACKAGECONFIG[malcontent] = "-Dmalcontent=enabled,-Dmalcontent=disabled,malcontent"
59PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux" 61PACKAGECONFIG[selinux] = "-Dselinux_module=enabled,-Dselinux_module=disabled,libselinux"
60PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols" 62PACKAGECONFIG[wayland-security-context] = "-Dwayland_security_context=enabled,-Dwayland_security_context=disabled,wayland wayland-native wayland-protocols"
61 63
@@ -66,13 +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
69FILES:${PN} += "${libdir} ${datadir}" 71EXTRA_OEMESON = " \
72 -Dsystem_fusermount=fusermount3 \
73 -Dsystem_bubblewrap=bwrap \
74 -Dsystem_dbus_proxy=xdg-dbus-proxy \
75"
70 76
71USERADD_PACKAGES = "${PN}" 77USERADD_PACKAGES = "${PN}"
72USERADD_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"
73 79
74do_install:append() { 80FILES:${PN} += "${libdir} ${datadir}"
75 chmod 0700 ${D}/${datadir}/polkit-1/rules.d
76 chown polkitd ${D}/${datadir}/polkit-1/rules.d
77 chgrp root ${D}/${datadir}/polkit-1/rules.d
78}
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 f5a1716c07..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit/0001-CMakeLists.txt-Do-not-use-private-makefile-target.patch
+++ /dev/null
@@ -1,70 +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
18diff --git a/CMakeLists.txt b/CMakeLists.txt
19index 3dba5a8..d94b988 100644
20--- a/CMakeLists.txt
21+++ b/CMakeLists.txt
22@@ -46,11 +46,7 @@ else()
23 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
24 endif()
25
26-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
27- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
28-else()
29- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
30-endif()
31+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
32
33 if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l")
34 set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -latomic")
35diff --git a/lib/chunkio/CMakeLists.txt b/lib/chunkio/CMakeLists.txt
36index bbe1f39..809ea93 100644
37--- a/lib/chunkio/CMakeLists.txt
38+++ b/lib/chunkio/CMakeLists.txt
39@@ -14,12 +14,7 @@ else()
40 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall ")
41 endif()
42
43-# Set __FILENAME__
44-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
45- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
46-else()
47- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
48-endif()
49+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
50
51 include(cmake/macros.cmake)
52
53diff --git a/lib/cmetrics/CMakeLists.txt b/lib/cmetrics/CMakeLists.txt
54index 60e8774..e3d6149 100644
55--- a/lib/cmetrics/CMakeLists.txt
56+++ b/lib/cmetrics/CMakeLists.txt
57@@ -34,12 +34,7 @@ set(CMT_VERSION_MINOR 3)
58 set(CMT_VERSION_PATCH 5)
59 set(CMT_VERSION_STR "${CMT_VERSION_MAJOR}.${CMT_VERSION_MINOR}.${CMT_VERSION_PATCH}")
60
61-# Define __FILENAME__ consistently across Operating Systems
62-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows")
63- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'")
64-else()
65- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
66-endif()
67+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D__FILENAME__=__FILE__")
68
69 # Configuration options
70 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.7.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb
deleted file mode 100644
index fc06095475..0000000000
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.9.7.bb
+++ /dev/null
@@ -1,92 +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] = "8ca2ac081d7eee717483c06608adcb5e3d5373e182ad87dba21a23f8278c6540"
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
87inherit cmake systemd pkgconfig
88
89SYSTEMD_SERVICE:${PN} = "td-agent-bit.service"
90
91EXTRA_OECMAKE += "-DCMAKE_DEBUG_SRCDIR=${TARGET_DBGSRC_DIR}/"
92TARGET_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 fe5e5c067d..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}/.. \
@@ -50,14 +50,14 @@ EXTRA_OECONF = " \
50" 50"
51 51
52do_compile:prepend() { 52do_compile:prepend() {
53 install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/ 53 install -m 0644 ${UNPACKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
54} 54}
55 55
56do_install:append:class-target() { 56do_install:append:class-target() {
57 install -d ${D}${datadir}/applications/ 57 install -d ${D}${datadir}/applications/
58 install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/ 58 install -m 0644 ${UNPACKDIR}/gnuplot.desktop ${D}${datadir}/applications/
59 install -d ${D}${datadir}/pixmaps/ 59 install -d ${D}${datadir}/pixmaps/
60 install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/ 60 install -m 0644 ${UNPACKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
61} 61}
62 62
63PACKAGES =+ "${PN}-x11" 63PACKAGES =+ "${PN}-x11"
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.1.0.bb b/meta-oe/recipes-extended/highway/highway_1.2.0.bb
index 11d9e7cddf..ea38310398 100644
--- a/meta-oe/recipes-extended/highway/highway_1.1.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 = "58b52a717469e62b2d9b8eaa2f5dddb44d4a4cbf" 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 59b747dbd8..8b352c3401 100644
--- a/meta-oe/recipes-extended/hiredis/hiredis/run-ptest
+++ b/meta-oe/recipes-extended/hiredis/hiredis/run-ptest
@@ -1,3 +1,18 @@
1#!/bin/sh 1#!/bin/sh
2 2
3TEST_SSL=0 TEST_ASYNC=0 ./test.sh 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{
5 gsub(/\x1B\[[0-9;]*m/, "")
6 if ($NF == "PASS" || $NF == "FAIL" || $NF == "SKIP") {
7 printf "%s: %s\n", $NF, $0
8 } else {
9 print
10 }
11}' | awk '{
12 if ($NF == "PASS" || $NF == "FAIL" || $NF == "SKIP") {
13 $NF = ""
14 print $0
15 } else {
16 print
17 }
18}' | awk '{gsub(/:/,"",$NF)}1'
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/hwloc/hwloc_2.9.3.bb b/meta-oe/recipes-extended/hwloc/hwloc_2.12.1.bb
index d72c5f2be5..f56142dffd 100644
--- a/meta-oe/recipes-extended/hwloc/hwloc_2.9.3.bb
+++ b/meta-oe/recipes-extended/hwloc/hwloc_2.12.1.bb
@@ -7,9 +7,9 @@ SECTION = "base"
7LICENSE = "BSD-3-Clause" 7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://COPYING;md5=79179bb373cd55cbd834463a514fb714" 8LIC_FILES_CHKSUM = "file://COPYING;md5=79179bb373cd55cbd834463a514fb714"
9 9
10SRC_URI = "https://www.open-mpi.org/software/${BPN}/v2.9/downloads/${BP}.tar.bz2" 10SRC_URI = "https://www.open-mpi.org/software/${BPN}/v2.12/downloads/${BP}.tar.bz2"
11SRC_URI[sha256sum] = "5c4062ce556f6d3451fc177ffb8673a2120f81df6835dea6a21a90fbdfff0dec" 11SRC_URI[sha256sum] = "38a90328bb86259f9bb2fe1dc57fd841e111d1e6358012bef23dfd95d21dc66b"
12UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v2.9/" 12UPSTREAM_CHECK_URI = "https://www.open-mpi.org/software/hwloc/v2.12/"
13 13
14inherit autotools bash-completion pkgconfig 14inherit autotools bash-completion pkgconfig
15 15
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 84ed3b052b..af9fbda9b8 100644
--- a/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
+++ b/meta-oe/recipes-extended/inputattach-config/inputattach-config.bb
@@ -4,9 +4,11 @@ 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 = "${UNPACKDIR}"
8
7do_configure[noexec] = "1" 9do_configure[noexec] = "1"
8do_compile[noexec] = "1" 10do_compile[noexec] = "1"
9 11
10do_install() { 12do_install() {
11 install -Dm 0644 ${WORKDIR}/inputattach.conf ${D}${sysconfdir}/inputattach.conf 13 install -Dm 0644 ${UNPACKDIR}/inputattach.conf ${D}${sysconfdir}/inputattach.conf
12} 14}
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/files/CVE-2025-6019.patch b/meta-oe/recipes-extended/libblockdev/files/CVE-2025-6019.patch
new file mode 100644
index 0000000000..2575578e77
--- /dev/null
+++ b/meta-oe/recipes-extended/libblockdev/files/CVE-2025-6019.patch
@@ -0,0 +1,31 @@
1From b2e9c16c726f62e500241617f8f3a03aa658fbe3 Mon Sep 17 00:00:00 2001
2From: Thomas Blume <Thomas.Blume@suse.com>
3Date: Fri, 16 May 2025 14:27:10 +0200
4Subject: [PATCH] Don't allow suid and dev set on fs resize
5
6Fixes: CVE-2025-6019
7
8CVE: CVE-2025-6019
9Upstream-Status: Backport [ https://github.com/storaged-project/libblockdev/commit/46b54414f66e965e3c37f8f51e621f96258ae22e ]
10
11Signed-off-by: Changqing Li <changqing.li@windriver.com>
12---
13 src/plugins/fs/generic.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/plugins/fs/generic.c b/src/plugins/fs/generic.c
17index 2b2180aa..60f7d75e 100644
18--- a/src/plugins/fs/generic.c
19+++ b/src/plugins/fs/generic.c
20@@ -661,7 +661,7 @@ static gchar* fs_mount (const gchar *device, gchar *fstype, gboolean read_only,
21 "Failed to create temporary directory for mounting '%s'.", device);
22 return NULL;
23 }
24- ret = bd_fs_mount (device, mountpoint, fstype, read_only ? "ro" : NULL, NULL, &l_error);
25+ ret = bd_fs_mount (device, mountpoint, fstype, read_only ? "nosuid,nodev,ro" : "nosuid,nodev", NULL, &l_error);
26 if (!ret) {
27 g_propagate_prefixed_error (error, l_error, "Failed to mount '%s': ", device);
28 g_rmdir (mountpoint);
29--
302.34.1
31
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 1ad8036d7b..48e6971d1a 100644
--- a/meta-oe/recipes-extended/libblockdev/libblockdev_3.1.1.bb
+++ b/meta-oe/recipes-extended/libblockdev/libblockdev_3.2.1.bb
@@ -12,28 +12,30 @@ 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 file://CVE-2025-6019.patch \
17 " 18 "
18SRCREV = "68aaff5556afe26be749c29a2b7cbd714dce3050" 19SRCREV = "b829b60d9ff049abb190f09a3b9a5fac648cd5a3"
19S = "${WORKDIR}/git"
20 20
21FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}" 21FILES:${PN} += "${PYTHON_SITEPACKAGES_DIR}"
22 22
23PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools" 23PACKAGECONFIG ??= "python3 lvm lvm-dbus dm parted fs escrow btrfs crypto mdraid mpath nvdimm tools smart smartmontools"
24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3" 24PACKAGECONFIG[python3] = "--with-python3, --without-python3,,python3"
25PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools, lvm2" 25PACKAGECONFIG[lvm] = "--with-lvm, --without-lvm, multipath-tools libyaml, lvm2"
26PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools, lvm2" 26PACKAGECONFIG[lvm-dbus] = "--with-lvm_dbus, --without-lvm_dbus, multipath-tools libyaml, lvm2"
27PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2" 27PACKAGECONFIG[dm] = "--with-dm, --without-dm, multipath-tools, lvm2"
28PACKAGECONFIG[parted] = "--with-part, --without-part, parted" 28PACKAGECONFIG[parted] = "--with-part, --without-part, parted"
29PACKAGECONFIG[fs] = "--with-fs, --without-fs, util-linux" 29PACKAGECONFIG[fs] = "--with-fs, --without-fs, e2fsprogs util-linux"
30PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native" 30PACKAGECONFIG[doc] = "--with-gtk-doc, --without-gtk-doc, gtk-doc-native"
31PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux" 31PACKAGECONFIG[nvdimm] = "--with-nvdimm, --without-nvdimm, ndctl util-linux"
32PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key" 32PACKAGECONFIG[escrow] = "--with-escrow, --without-escrow, nss volume-key"
33PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools" 33PACKAGECONFIG[btrfs] = "--with-btrfs,--without-btrfs,libbytesize btrfs-tools"
34PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup nss volume-key" 34PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,cryptsetup keyutils nss volume-key"
35PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize" 35PACKAGECONFIG[mdraid] = "--with-mdraid,--without-mdraid,libbytesize"
36PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2" 36PACKAGECONFIG[mpath] = "--with-mpath,--without-mpath, multipath-tools, lvm2"
37PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper" 37PACKAGECONFIG[tools] = "--with-tools,--without-tools,libbytesize libdevmapper"
38PACKAGECONFIG[smart] = "--with-smart,--without-smart,libatasmart"
39PACKAGECONFIG[smartmontools] = "--with-smartmontools,--without-smartmontools,json-glib,smartmontools"
38 40
39export GIR_EXTRA_LIBS_PATH="${B}/src/utils/.libs" 41export 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 5716817e95..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
@@ -50,11 +50,11 @@ do_compile() {
50do_install() { 50do_install() {
51 oe_runmake install 51 oe_runmake install
52 52
53 install -Dm 0644 ${WORKDIR}/51-these-are-not-joysticks-rm.rules ${D}${nonarch_base_libdir}/udev/rules.d/51-these-are-not-joysticks-rm.rules 53 install -Dm 0644 ${UNPACKDIR}/51-these-are-not-joysticks-rm.rules ${D}${nonarch_base_libdir}/udev/rules.d/51-these-are-not-joysticks-rm.rules
54 install -Dm 0644 ${WORKDIR}/60-joystick.rules ${D}${nonarch_base_libdir}/udev/rules.d/60-joystick.rules 54 install -Dm 0644 ${UNPACKDIR}/60-joystick.rules ${D}${nonarch_base_libdir}/udev/rules.d/60-joystick.rules
55 55
56 install -Dm 0644 ${WORKDIR}/inputattach.service ${D}${systemd_system_unitdir}/inputattach.service 56 install -Dm 0644 ${UNPACKDIR}/inputattach.service ${D}${systemd_system_unitdir}/inputattach.service
57 install -Dm 0755 ${WORKDIR}/inputattachctl ${D}${bindir}/inputattachctl 57 install -Dm 0755 ${UNPACKDIR}/inputattachctl ${D}${bindir}/inputattachctl
58} 58}
59 59
60PACKAGES += "inputattach joystick-jscal joystick" 60PACKAGES += "inputattach joystick-jscal joystick"
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/run-ptest b/meta-oe/recipes-extended/magic-enum/magic-enum/run-ptest
new file mode 100644
index 0000000000..865da9f69e
--- /dev/null
+++ b/meta-oe/recipes-extended/magic-enum/magic-enum/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-extended/magic-enum/magic-enum_0.9.7.bb b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb
new file mode 100644
index 0000000000..6d5399c8d0
--- /dev/null
+++ b/meta-oe/recipes-extended/magic-enum/magic-enum_0.9.7.bb
@@ -0,0 +1,43 @@
1# SPDX-FileCopyrightText: 2024 Bosch Sicherheitssysteme GmbH
2#
3# SPDX-License-Identifier: MIT
4
5SUMMARY = "Static reflection for enums"
6DESCRIPTION = "Header-only C++17 library provides static reflection for enums, works \
7with any enum type without any macro or boilerplate code."
8BUGTRACKER = "https://github.com/Neargye/magic_enum/issues"
9HOMEPAGE = "https://github.com/Neargye/magic_enum"
10
11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=7e7717cf723eb72f57e80fdb651cb318"
13
14SRC_URI = " \
15 git://github.com/Neargye/magic_enum.git;protocol=https;branch=master \
16 file://run-ptest \
17"
18
19SRCREV = "e046b69a3736d314fad813e159b1c192eaef92cd"
20
21inherit cmake ptest
22
23EXTRA_OECMAKE = "\
24 -DMAGIC_ENUM_OPT_BUILD_EXAMPLES=OFF \
25"
26
27do_install_ptest () {
28 install -d ${D}${PTEST_PATH}/tests
29 install -m 0755 ${B}/test/test_* ${D}${PTEST_PATH}/tests
30}
31
32# Add catkin and colcon (ROS build system) support
33FILES:${PN}-dev += "\
34 ${datadir}/magic_enum/package.xml \
35"
36
37# Header-only library
38# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
39RDEPENDS:${PN}-dev = ""
40RDEPENDS:${PN}-ptest = ""
41RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
42
43BBCLASSEXTEND = "native nativesdk"
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/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 beb247c254..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,63 +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://systemd-volatile.conf \ 29 file://systemd-volatile.conf \
31 file://sysvinit-volatile.conf \ 30 file://sysvinit-volatile.conf \
32 " 31 "
33 32
34SRCREV = "9b55dc0c0f17a190f3e9ade87070a28faf542c25" 33# minifi-cpp: 0.99.1
34SRCREV = "78d53ed154c71f1fabbaff0366d44ed3b32754e6"
35# expected-lite: 0.6.3
35SRCREV_expected-lite = "c8ffab649ba56e43c731b7017a69ddaebe2e1893" 36SRCREV_expected-lite = "c8ffab649ba56e43c731b7017a69ddaebe2e1893"
37# range-v3: 0.12.0
36SRCREV_range-v3 = "a81477931a8aa2ad025c6bda0609f38e09e4d7ec" 38SRCREV_range-v3 = "a81477931a8aa2ad025c6bda0609f38e09e4d7ec"
37SRCREV_magic-enum = "e1ea11a93d0bdf6aae415124ded6126220fa4f28" 39# magic-enum: 0.9.6
38SRCREV_cxxopts = "302302b30839505703d37fb82f536c53cf9172fa" 40SRCREV_magic-enum = "dd6a39d0ba1852cf06907e0f0573a2a10d23c2ad"
41# argparse: 3.0
42SRCREV_argparse = "af442b4da0cd7a07b56fa709bd16571889dc7fda"
43# gsl-lite: 0.41.0
39SRCREV_gsl-lite = "755ba124b54914e672737acace6a9314f59e8d6f" 44SRCREV_gsl-lite = "755ba124b54914e672737acace6a9314f59e8d6f"
40SRCREV_date = "6e921e1b1d21e84a5c82416ba7ecd98e33a436d0" 45# date: 3.0.3
46SRCREV_date = "5bdb7e6f31fac909c090a46dbd9fea27b6e609a4"
47# asio: 1.29.0
41SRCREV_asio = "814f67e730e154547aea3f4d99f709cbdf1ea4a0" 48SRCREV_asio = "814f67e730e154547aea3f4d99f709cbdf1ea4a0"
42SRCREV_spdlog = "7c02e204c92545f869e2f04edaab1f19fe8b19fd" 49# fmt: 11.1.4
43SRCREV_civetweb = "d7ba35bbb649209c66e582d5a0244ba988a15159" 50SRCREV_fmt = "123913715afeb8a437e6388b4473fcc4753e1c9a"
51# spdlog: 1.15.1
52SRCREV_spdlog = "f355b3d58f7067eee1706ff3c801c2361011f3d5"
44 53
45SRCREV_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"
46 55
56# ossp-uuid: 1.6.2
47SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0" 57SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0"
58# libsodium: 1.0.19
48SRC_URI[libsodium.sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea" 59SRC_URI[libsodium.sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea"
49 60
50S = "${WORKDIR}/git"
51 61
52inherit pkgconfig cmake systemd 62inherit pkgconfig cmake systemd
53 63
54DEPENDS = "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"
55 65
56OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH" 66OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
57 67
68CXXFLAGS:append:toolchain-clang = " -Wno-error=c++11-narrowing-const-reference"
69LDFLAGS:append:riscv32 = " -latomic"
70
58EXTRA_OECMAKE = " \ 71EXTRA_OECMAKE = " \
59 -DCMAKE_BUILD_TYPE=Release \ 72 -DCMAKE_BUILD_TYPE=Release \
60 -DHOST_SYS=${HOST_SYS} -DBUILD_SYS=${BUILD_SYS} \ 73 -DHOST_SYS=${HOST_SYS} -DBUILD_SYS=${BUILD_SYS} \
61 -DGCC_AR=${STAGING_BINDIR_TOOLCHAIN}/${AR} \
62 -DGCC_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${RANLIB} \
63 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \ 74 -DFLEX_TARGET_ARG_COMPILE_FLAGS='--noline' \
64 -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}' \
65 -DENABLE_ENCRYPT_CONFIG=ON \ 76 -DENABLE_ENCRYPT_CONFIG=ON \
66 -DENABLE_LUA_SCRIPTING=OFF \ 77 -DENABLE_LUA_SCRIPTING=OFF \
67 -DENABLE_PYTHON_SCRIPTING=OFF \ 78 -DENABLE_PYTHON_SCRIPTING=OFF \
@@ -70,35 +81,49 @@ EXTRA_OECMAKE = " \
70 -DENABLE_GCP=OFF \ 81 -DENABLE_GCP=OFF \
71 -DENABLE_KUBERNETES=OFF \ 82 -DENABLE_KUBERNETES=OFF \
72 -DENABLE_MQTT=OFF \ 83 -DENABLE_MQTT=OFF \
84 -DENABLE_GRAFANA_LOKI=OFF \
85 -DENABLE_GRPC_FOR_LOKI=OFF \
73 -DENABLE_ELASTICSEARCH=OFF \ 86 -DENABLE_ELASTICSEARCH=OFF \
74 -DENABLE_SQL=OFF \ 87 -DENABLE_SQL=OFF \
75 -DENABLE_PROMETHEUS=OFF \ 88 -DENABLE_PROMETHEUS=OFF \
76 -DENABLE_PROCFS=OFF \ 89 -DENABLE_PROCFS=OFF \
77 -DENABLE_SPLUNK=OFF \ 90 -DENABLE_SPLUNK=OFF \
78 -DENABLE_OPC=OFF \ 91 -DENABLE_OPC=OFF \
79 -DENABLE_LIBRDKAFKA=OFF \ 92 -DENABLE_KAFKA=OFF \
80 -DDISABLE_CURL=OFF \ 93 -DENABLE_BZIP2=ON \
81 -DDISABLE_BZIP2=OFF \ 94 -DENABLE_LZMA=ON \
82 -DDISABLE_LZMA=OFF \
83 -DDISABLE_JEMALLOC=ON \
84 -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 \
85 -DFETCHCONTENT_SOURCE_DIR_GSL-LITE=${S}/thirdparty/gsl-lite-src \ 105 -DFETCHCONTENT_SOURCE_DIR_GSL-LITE=${S}/thirdparty/gsl-lite-src \
86 -DFETCHCONTENT_SOURCE_DIR_DATE_SRC=${S}/thirdparty/date-src \ 106 -DFETCHCONTENT_SOURCE_DIR_DATE_SRC=${S}/thirdparty/date-src \
87 -DFETCHCONTENT_SOURCE_DIR_EXPECTED-LITE=${S}/thirdparty/expected-lite-src \ 107 -DFETCHCONTENT_SOURCE_DIR_EXPECTED-LITE=${S}/thirdparty/expected-lite-src \
88 -DFETCHCONTENT_SOURCE_DIR_RANGE-V3_SRC=${S}/thirdparty/range-v3-src \ 108 -DFETCHCONTENT_SOURCE_DIR_RANGE-V3_SRC=${S}/thirdparty/range-v3-src \
89 -DFETCHCONTENT_SOURCE_DIR_MAGIC_ENUM=${S}/thirdparty/magic-enum-src \ 109 -DFETCHCONTENT_SOURCE_DIR_MAGIC_ENUM=${S}/thirdparty/magic-enum-src \
90 -DFETCHCONTENT_SOURCE_DIR_ASIO=${S}/thirdparty/asio-src \ 110 -DFETCHCONTENT_SOURCE_DIR_ASIO=${S}/thirdparty/asio-src \
91 -DFETCHCONTENT_SOURCE_DIR_CXXOPTS_SRC=${S}/thirdparty/cxxopts-src \ 111 -DFETCHCONTENT_SOURCE_DIR_ARGPARSE=${S}/thirdparty/argparse-src \
92 -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 \
93 ${@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)} \
94 " 115 "
95 116
96PACKAGECONFIG ??= "civetweb libarchive rocksdb expression-language" 117PACKAGECONFIG ??= "libarchive expression-language"
97PACKAGECONFIG[civetweb] = "-DDISABLE_CIVET=OFF,-DDISABLE_CIVET=ON" 118
98PACKAGECONFIG[openwsman] = "-DENABLE_OPENWSMAN=ON,-DENABLE_OPENWSMAN=OFF,libxml2" 119# rocksdb is not compatible with libc-musl:powerpc & armv5
99PACKAGECONFIG[libarchive] = "-DDISABLE_LIBARCHIVE=OFF,-DDISABLE_LIBARCHIVE=ON,libarchive" 120PACKAGECONFIG:remove:libc-musl:powerpc = "rocksdb"
100PACKAGECONFIG[rocksdb] = "-DDISABLE_ROCKSDB=OFF -DBUILD_ROCKSDB=OFF,-DDISABLE_ROCKSDB=ON,rocksdb" 121PACKAGECONFIG:remove:armv5 = "rocksdb"
101PACKAGECONFIG[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"
102 127
103SYSTEMD_PACKAGES = "minifi-cpp" 128SYSTEMD_PACKAGES = "minifi-cpp"
104SYSTEMD_SERVICE:${PN} = "minifi.service" 129SYSTEMD_SERVICE:${PN} = "minifi.service"
@@ -138,9 +163,9 @@ do_install() {
138 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
139 164
140 install -m 755 -d ${D}${libexecdir}/minifi-python 165 install -m 755 -d ${D}${libexecdir}/minifi-python
141 for i in examples google h2o; do 166 install -m 755 -d ${D}${libexecdir}/minifi-python-examples
142 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/
143 done 168 cp -rf ${WORKDIR}/minifi-install/usr/minifi-python-examples/* ${D}${libexecdir}/minifi-python-examples/
144 169
145 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
146 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
@@ -162,7 +187,7 @@ do_install() {
162 187
163 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 188 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
164 install -m 755 -d ${D}${sysconfdir}/tmpfiles.d 189 install -m 755 -d ${D}${sysconfdir}/tmpfiles.d
165 install -m 644 ${WORKDIR}/systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/minifi.conf 190 install -m 644 ${UNPACKDIR}/systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/minifi.conf
166 sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/tmpfiles.d/minifi.conf 191 sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/tmpfiles.d/minifi.conf
167 192
168 install -m 755 -d ${D}${systemd_system_unitdir} 193 install -m 755 -d ${D}${systemd_system_unitdir}
@@ -174,7 +199,7 @@ do_install() {
174 199
175 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 200 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
176 install -d ${D}${sysconfdir}/default/volatiles 201 install -d ${D}${sysconfdir}/default/volatiles
177 install -m 0644 ${WORKDIR}/sysvinit-volatile.conf ${D}${sysconfdir}/default/volatiles/99_minifi 202 install -m 0644 ${UNPACKDIR}/sysvinit-volatile.conf ${D}${sysconfdir}/default/volatiles/99_minifi
178 203
179 sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/default/volatiles/99_minifi 204 sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/default/volatiles/99_minifi
180 fi 205 fi
@@ -194,6 +219,7 @@ FILES:${PN}-dev = ""
194FILES:${PN} += "${libdir}/libcore-minifi.so \ 219FILES:${PN} += "${libdir}/libcore-minifi.so \
195 ${libdir}/minifi-extensions \ 220 ${libdir}/minifi-extensions \
196 ${libexecdir}/minifi-python \ 221 ${libexecdir}/minifi-python \
222 ${libexecdir}/minifi-python-examples \
197 " 223 "
198 224
199INSANE_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.8.0.bb b/meta-oe/recipes-extended/mozjs/mozjs-128_128.5.2.bb
index 1269795d20..ceb81d07e5 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs-115_115.8.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] = "af8086f23efc8492d286671f6035b1a915de6f4ed5c7897e40be0e1cb6b895ea" 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 7c748bc49b..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
@@ -42,3 +41,9 @@ do_configure:prepend:class-nativesdk() {
42} 41}
43 42
44BBCLASSEXTEND = "native nativesdk" 43BBCLASSEXTEND = "native nativesdk"
44
45do_install:append() {
46 sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' ${D}${bindir}/nana-c++lg
47 sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' ${D}${bindir}/nana-clg
48 sed -i -e 's,--sysroot=${STAGING_DIR_TARGET},,g' ${D}${bindir}/nana
49}
diff --git a/meta-oe/recipes-extended/networking/mstpd_git.bb b/meta-oe/recipes-extended/networking/mstpd_git.bb
index b2043ef062..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
@@ -26,8 +25,8 @@ do_install:append() {
26 rmdir ${D}${libdir} || true 25 rmdir ${D}${libdir} || true
27 26
28 install -d -m 0755 ${D}${sbindir} 27 install -d -m 0755 ${D}${sbindir}
29 install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir} 28 install -m 0755 ${UNPACKDIR}/bridge-stp ${D}${sbindir}
30 29
31 install -d -m 0755 ${D}${systemd_system_unitdir} 30 install -d -m 0755 ${D}${systemd_system_unitdir}
32 install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir} 31 install -m 0644 ${UNPACKDIR}/mstpd.service ${D}${systemd_system_unitdir}
33} 32}
diff --git a/meta-oe/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch b/meta-oe/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch
new file mode 100644
index 0000000000..bc55582fd9
--- /dev/null
+++ b/meta-oe/recipes-extended/newt/files/Makefile.in-Add-tinfo-library-to-the-linking-librari.patch
@@ -0,0 +1,26 @@
1From fad40cfc18a42946a9a9e440c3434cd6b847ff9d Mon Sep 17 00:00:00 2001
2From: Otavio Salvador <otavio@ossystems.com.br>
3Date: Mon, 18 Jan 2016 17:05:19 +0000
4Subject: [PATCH] Makefile.in: Add tinfo library to the linking libraries
5Organization: O.S. Systems Software LTDA.
6
7Upstream-Status: Pending
8
9Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10---
11 Makefile.in | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/Makefile.in b/Makefile.in
15index a85d00f..98b85f9 100644
16--- a/Makefile.in
17+++ b/Makefile.in
18@@ -1,4 +1,4 @@
19-LIBS = -lslang @LIBS@
20+LIBS = -lslang -ltinfo @LIBS@
21 LIBTCL = @TCL_LIB_FLAG@
22
23 CC = @CC@
24--
252.1.4
26
diff --git a/meta-oe/recipes-extended/newt/files/cross_ar.patch b/meta-oe/recipes-extended/newt/files/cross_ar.patch
new file mode 100644
index 0000000000..eb8c4134b2
--- /dev/null
+++ b/meta-oe/recipes-extended/newt/files/cross_ar.patch
@@ -0,0 +1,59 @@
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
5
6If building on 32bit host and creating 64bit libraries, the target
7package builds should not invoke the 32bit hosts's ar. Specifically
8you will get an error message like:
9
10x86_64-linux-gcc -m64 --sysroot=/opt/qemux86-64/tmp/sysroots/qemux86-64 -g -o test test.o libnewt.a -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lslang
11libnewt.a: could not read symbols: Archive has no index; run ranlib to add one
12collect2: error: ld returned 1 exit status
13
14Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
15
16Upstream-Status: Pending
17
18Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
19---
20 Makefile.in | 3 ++-
21 configure.ac | 4 ++++
22 2 files changed, 6 insertions(+), 1 deletion(-)
23
24diff --git a/Makefile.in b/Makefile.in
25index f8fe290..8a44a56 100644
26--- a/Makefile.in
27+++ b/Makefile.in
28@@ -7,6 +7,7 @@ CFLAGS = @CFLAGS@
29 LDFLAGS = @LDFLAGS@
30 CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@
31 GNU_LD = @GNU_LD@
32+AR = @AR@
33
34 VERSION = @VERSION@
35 TAG = r$(subst .,-,$(VERSION))
36@@ -109,7 +110,7 @@ whiptcl.$(SOEXT): $(WHIPTCLOBJS) $(LIBNEWTSH)
37 $(CC) -shared $(SHCFLAGS) $(LDFLAGS) -o whiptcl.$(SOEXT) $(WHIPTCLOBJS) -L. -lnewt $(LIBTCL) -lpopt $(LIBS)
38
39 $(LIBNEWT): $(LIBOBJS)
40- ar rv $@ $^
41+ $(AR) rv $@ $^
42
43 newt.o $(SHAREDDIR)/newt.o: newt.c Makefile
44
45diff --git a/configure.ac b/configure.ac
46index 434121e..2cfffd6 100644
47--- a/configure.ac
48+++ b/configure.ac
49@@ -15,6 +15,10 @@ AC_PROG_CC
50 AC_PROG_LN_S
51 AC_PROG_GREP
52 AC_SYS_LARGEFILE
53+AN_MAKEVAR([AR], [AC_PROG_AR])
54+AN_PROGRAM([ar], [AC_PROG_AR])
55+AC_DEFUN([AC_PROG_AR], [AC_CHECK_TOOL(AR, ar, :)])
56+AC_PROG_AR
57
58 AC_CHECK_SIZEOF([long])
59 AC_CHECK_SIZEOF([long long])
diff --git a/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
new file mode 100644
index 0000000000..18a45a3342
--- /dev/null
+++ b/meta-oe/recipes-extended/newt/libnewt_0.52.25.bb
@@ -0,0 +1,55 @@
1SUMMARY = "A library for text mode user interfaces"
2
3DESCRIPTION = "Newt is a programming library for color text mode, widget based user \
4interfaces. Newt can be used to add stacked windows, entry widgets, \
5checkboxes, radio buttons, labels, plain text fields, scrollbars, \
6etc., to text mode user interfaces. This package also contains the \
7shared library needed by programs built with newt, as well as a \
8/usr/bin/dialog replacement called whiptail. Newt is based on the \
9slang library."
10
11HOMEPAGE = "https://releases.pagure.org/newt/"
12SECTION = "libs"
13
14LICENSE = "LGPL-2.0-only"
15LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
16
17# slang needs to be >= 2.2
18DEPENDS = "slang popt python3"
19
20SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz \
21 file://cross_ar.patch \
22 file://Makefile.in-Add-tinfo-library-to-the-linking-librari.patch \
23 "
24
25SRC_URI[sha256sum] = "ef0ca9ee27850d1a5c863bb7ff9aa08096c9ed312ece9087b30f3a426828de82"
26
27S = "${UNPACKDIR}/newt-${PV}"
28
29inherit autotools-brokensep python3native python3-dir python3targetconfig
30
31EXTRA_OECONF = "--without-tcl --with-python"
32
33EXTRA_OEMAKE += "PYTHONVERS=${PYTHON_DIR}"
34
35CLEANBROKEN = "1"
36
37export CPPFLAGS
38
39PACKAGES:prepend = "whiptail ${PN}-python "
40
41RDEPENDS:${PN}-python += "python3-core"
42FILES:${PN}-python = "${PYTHON_SITEPACKAGES_DIR}/*"
43
44do_configure:prepend() {
45 sh autogen.sh
46}
47
48do_compile:prepend() {
49 # Make sure the recompile is OK
50 rm -f ${B}/.depend
51}
52
53FILES:whiptail = "${bindir}/whiptail"
54
55BBCLASSEXTEND = "native nativesdk"
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 1c68b5f432..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 \
@@ -57,7 +54,7 @@ do_install:append() {
57 chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh 54 chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh
58 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 55 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
59 install -d ${D}/${systemd_unitdir}/system 56 install -d ${D}/${systemd_unitdir}/system
60 install -m 644 ${WORKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system 57 install -m 644 ${UNPACKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system
61 58
62 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/openwsmand.service 59 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/openwsmand.service
63 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/openwsmand.service 60 sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/openwsmand.service
diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.5.bb b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb
index 2ea92f190c..c33624987a 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2024.5.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2024.10.bb
@@ -22,13 +22,13 @@ 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] = "bc12d8493db64152093ee5be77cf62a29cc67a4a9e430dc987103e78aada4a6f" 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
31UNKNOWN_CONFIGURE_OPT_IGNORE = "--disable-introspection --enable-introspection" 31UNKNOWN_CONFIGURE_OPT_IGNORE += "--disable-introspection --enable-introspection"
32 32
33# Workaround compile failure: 33# Workaround compile failure:
34# |../git/src/libotutil/zbase32.c:37:1: error: function returns an aggregate [-Werror=aggregate-return] 34# |../git/src/libotutil/zbase32.c:37:1: error: function returns an aggregate [-Werror=aggregate-return]
@@ -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 \
@@ -69,6 +69,7 @@ PACKAGECONFIG:class-nativesdk ??= " \
69 69
70PACKAGECONFIG[avahi] = "--with-avahi, --without-avahi, avahi" 70PACKAGECONFIG[avahi] = "--with-avahi, --without-avahi, avahi"
71PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, --without-builtin-grub2-mkconfig" 71PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, --without-builtin-grub2-mkconfig"
72PACKAGECONFIG[composefs] = "--with-composefs, --without-composefs, composefs"
72PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl" 73PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl"
73PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut" 74PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut"
74PACKAGECONFIG[ed25519-libsodium] = "--with-ed25519-libsodium, --without-ed25519-libsodium, libsodium" 75PACKAGECONFIG[ed25519-libsodium] = "--with-ed25519-libsodium, --without-ed25519-libsodium, libsodium"
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.0.0.bb b/meta-oe/recipes-extended/pmdk/pmdk_2.1.1.bb
index aeda236901..5aba331acc 100644
--- a/meta-oe/recipes-extended/pmdk/pmdk_2.0.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 = "ba92d6b469d52d16f26279bebaf317bbdbb3822c" 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 8a14018a82..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 ${WORKDIR}/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 8266fa6396..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 ${WORKDIR}/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 db2ed015b4..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 ${WORKDIR}/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 7359c12544..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
@@ -36,10 +35,10 @@ do_install() {
36 install -m 755 rarpd.init ${D}${sysconfdir}/init.d/rarpd 35 install -m 755 rarpd.init ${D}${sysconfdir}/init.d/rarpd
37 install -m 755 rarpd ${D}${sbindir}/rarpd 36 install -m 755 rarpd ${D}${sbindir}/rarpd
38 install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8 37 install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8
39 install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers 38 install -m 644 ${UNPACKDIR}/ethers.sample ${D}${sysconfdir}/ethers
40 39
41 install -d ${D}${systemd_unitdir}/system 40 install -d ${D}${systemd_unitdir}/system
42 install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/ 41 install -m 0644 ${UNPACKDIR}/rarpd.service ${D}${systemd_unitdir}/system/
43} 42}
44 43
45inherit systemd 44inherit systemd
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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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.4/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 fa430ce402..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,21 +37,21 @@ 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() {
43 export PREFIX=${D}/${prefix} 44 export PREFIX=${D}/${prefix}
44 oe_runmake install 45 oe_runmake install
45 install -d ${D}/${sysconfdir}/redis 46 install -d ${D}/${sysconfdir}/redis
46 install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf 47 install -m 0644 ${UNPACKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
47 install -d ${D}/${sysconfdir}/init.d 48 install -d ${D}/${sysconfdir}/init.d
48 install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server 49 install -m 0755 ${UNPACKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
49 install -d ${D}/var/lib/redis/ 50 install -d ${D}/var/lib/redis/
50 chown redis.redis ${D}/var/lib/redis/ 51 chown redis.redis ${D}/var/lib/redis/
51 52
52 install -d ${D}${systemd_system_unitdir} 53 install -d ${D}${systemd_system_unitdir}
53 install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_system_unitdir} 54 install -m 0644 ${UNPACKDIR}/redis.service ${D}${systemd_system_unitdir}
54 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service 55 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service
55 56
56 if [ "${REDIS_ON_SYSTEMD}" = true ]; then 57 if [ "${REDIS_ON_SYSTEMD}" = true ]; then
diff --git a/meta-oe/recipes-extended/redis/redis_7.2.4.bb b/meta-oe/recipes-extended/redis/redis_7.2.8.bb
index 5d64e9ba78..3c4d84085b 100644
--- a/meta-oe/recipes-extended/redis/redis_7.2.4.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] = "8d104c26a154b29fd67d6568b4f375212212ad41e0c2caa3d66480e78dbd3b59"
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,21 +42,21 @@ 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() {
46 export PREFIX=${D}/${prefix} 49 export PREFIX=${D}/${prefix}
47 oe_runmake install 50 oe_runmake install
48 install -d ${D}/${sysconfdir}/redis 51 install -d ${D}/${sysconfdir}/redis
49 install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf 52 install -m 0644 ${UNPACKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
50 install -d ${D}/${sysconfdir}/init.d 53 install -d ${D}/${sysconfdir}/init.d
51 install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server 54 install -m 0755 ${UNPACKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
52 install -d ${D}/var/lib/redis/ 55 install -d ${D}/var/lib/redis/
53 chown redis.redis ${D}/var/lib/redis/ 56 chown redis.redis ${D}/var/lib/redis/
54 57
55 install -d ${D}${systemd_system_unitdir} 58 install -d ${D}${systemd_system_unitdir}
56 install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_system_unitdir} 59 install -m 0644 ${UNPACKDIR}/redis.service ${D}${systemd_system_unitdir}
57 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service 60 sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service
58 61
59 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 62 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
@@ -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_1.8.0.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb
index cbe1af2854..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,14 +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" 14"
15 15
16S = "${WORKDIR}/git"
17 16
18inherit cpan autotools-brokensep gettext pkgconfig python3native python3-dir systemd 17inherit cpan autotools-brokensep gettext pkgconfig python3native python3-dir systemd
19 18
@@ -22,6 +21,8 @@ BBCLASSEXTEND = "native"
22SYSTEMD_PACKAGES = "rrdcached" 21SYSTEMD_PACKAGES = "rrdcached"
23SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service" 22SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service"
24 23
24AUTOTOOLS_AUXDIR = "${S}/conftools"
25
25EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" 26EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
26 27
27PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 28PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@@ -59,9 +60,13 @@ export STAGING_LIBDIR
59export STAGING_INCDIR 60export STAGING_INCDIR
60 61
61# emulate cpan_do_configure 62# emulate cpan_do_configure
62EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' 63EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" '
63# Avoid do_configure error on some hosts 64# Avoid do_configure error on some hosts
64 65
66do_configure:prepend () {
67 mkdir -p ${AUTOTOOLS_AUXDIR}
68}
69
65do_configure() { 70do_configure() {
66 unset PERLHOSTLIB 71 unset PERLHOSTLIB
67 #fix the pkglib problem with newer automake 72 #fix the pkglib problem with newer automake
@@ -103,6 +108,11 @@ do_configure() {
103 ${B}/examples/*.pl 108 ${B}/examples/*.pl
104} 109}
105 110
111do_install:append:class-native() {
112 # Replace the shebang line in cgi-demo.cgi
113 sed -i '1s|^.*$|#!/usr/bin/env rrdcgi|' ${D}${datadir}/rrdtool/examples/cgi-demo.cgi
114}
115
106PACKAGES =+ "${PN}-perl ${PN}-python" 116PACKAGES =+ "${PN}-perl ${PN}-python"
107PACKAGES =+ "rrdcached" 117PACKAGES =+ "rrdcached"
108 118
@@ -129,3 +139,7 @@ RDEPENDS:${PN}-python = "python3"
129 139
130FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \ 140FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/RRDs/.debug \
131 ${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/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch b/meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch
new file mode 100644
index 0000000000..cf4f4080a6
--- /dev/null
+++ b/meta-oe/recipes-extended/rsyslog/librelp/0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch
@@ -0,0 +1,37 @@
1From baf992f82aa987c608731866876adb856847ea45 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 6 May 2024 18:03:40 -0700
4Subject: [PATCH] relp: fix build against upcoming `gcc-14`
5 (`-Werror=calloc-transposed-args`)
6
7`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It
8 detected minor infelicity in `calloc()` API usage
9
10Fixes
11../../git/src/relp.c: In function 'addToEpollSet':
12../../git/src/relp.c:101:39: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
13 101 | CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
14 | ^~~~~~~~
15
16Upstream-Status: Submitted [https://github.com/rsyslog/librelp/pull/264]
17Signed-off-by: Khem Raj <raj.khem@gmail.com>
18---
19 src/relp.c | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22diff --git a/src/relp.c b/src/relp.c
23index eadda36..6268f1d 100644
24--- a/src/relp.c
25+++ b/src/relp.c
26@@ -98,7 +98,7 @@ addToEpollSet(relpEngine_t *const pThis, epolld_type_t typ, void *ptr, int sock,
27 epolld_t *epd = NULL;
28 ENTER_RELPFUNC;
29
30- CHKmalloc(epd = calloc(sizeof(epolld_t), 1));
31+ CHKmalloc(epd = calloc(1, sizeof(epolld_t)));
32 epd->typ = typ;
33 epd->ptr = ptr;
34 epd->sock = sock;
35--
362.45.0
37
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 9d949c6303..3ccb87a9c5 100644
--- a/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/librelp_1.11.0.bb
@@ -11,12 +11,14 @@ SRC_URI = "git://github.com/rsyslog/librelp.git;protocol=https;branch=stable \
11 file://0001-tests-Fix-callback-prototype.patch \ 11 file://0001-tests-Fix-callback-prototype.patch \
12 file://0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch \ 12 file://0001-tcp-fix-some-compiler-warnings-with-enable-tls-opens.patch \
13 file://0001-tests-Include-missing-sys-time.h.patch \ 13 file://0001-tests-Include-missing-sys-time.h.patch \
14 file://0001-relp-fix-build-against-upcoming-gcc-14-Werror-calloc.patch \
14 file://run-ptest \ 15 file://run-ptest \
15" 16"
16 17
17SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396" 18SRCREV = "b421f56d9ee31a966058d23bd23c966221c91396"
18 19
19S = "${WORKDIR}/git" 20
21CVE_PRODUCT = "rsyslog:librelp"
20 22
21inherit autotools pkgconfig ptest 23inherit autotools pkgconfig ptest
22 24
@@ -58,14 +60,16 @@ do_install_ptest() {
58 # some tests need to write to this directory 60 # some tests need to write to this directory
59 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR} 61 chmod 777 -R ${D}${PTEST_PATH}/${TESTDIR}
60 62
61 # do NOT need to rebuild Makefile or $(check_PROGRAMS) 63 sed -e '# do NOT need to rebuild Makefile or $(check_PROGRAMS)' \
62 sed -i 's/^Makefile:.*$/Makefile:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 64 -e 's/^Makefile:.*$/Makefile:/' \
63 sed -i 's/^check-TESTS:.*$/check-TESTS:/' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 65 -e 's/^check-TESTS:.*$/check-TESTS:/' \
64 66 -e '# fix the srcdir, top_srcdir, abs_top_builddir' \
65 # fix the srcdir, top_srcdir, abs_top_builddir 67 -e 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
66 sed -i 's,^\(srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 68 -e 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' \
67 sed -i 's,^\(top_srcdir = \).*,\1${PTEST_PATH}/${TESTDIR},' ${D}${PTEST_PATH}/${TESTDIR}/Makefile 69 -e 's,^\(abs_top_builddir = \).*,\1${PTEST_PATH}/,' \
68 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
69 73
70 # install test-driver 74 # install test-driver
71 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
new file mode 100644
index 0000000000..884086bfc3
--- /dev/null
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog/0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch
@@ -0,0 +1,32 @@
1From 59753fe14e9eef4909a535b6e00967e546cc29ea Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 11 May 2024 23:31:46 -0700
4Subject: [PATCH] tests/tcpflood.c: Pass correct parameter type to sendto()
5
6Fixes build with GCC-14 and musl
7
8../../rsyslog-8.2404.0/tests/tcpflood.c:811:70: error: passing argument 5 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types]
9 811 | lenSend = sendto(udpsockout, buf, lenBuf, 0, &udpRcvr, sizeof(udpRcvr));
10 | ^~~~~~~~
11 | |
12 | struct sockaddr_in *
13
14Upstream-Status: Pending
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 tests/tcpflood.c | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/tests/tcpflood.c b/tests/tcpflood.c
21index 5e6f13a..09cedbb 100644
22--- a/tests/tcpflood.c
23+++ b/tests/tcpflood.c
24@@ -836,7 +836,7 @@ int sendMessages(struct instdata *inst)
25 }
26 lenSend = sendPlainTCP(socknum, buf, lenBuf, &error_number);
27 } else if(transport == TP_UDP) {
28- lenSend = sendto(udpsockout, buf, lenBuf, 0, &udpRcvr, sizeof(udpRcvr));
29+ lenSend = sendto(udpsockout, buf, lenBuf, 0, (const struct sockaddr *)&udpRcvr, sizeof(udpRcvr));
30 error_number = errno;
31 } else if(transport == TP_TLS) {
32 if(sockArray[socknum] == -1) {
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.2402.0.bb b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
index af46cc14d7..c4ddb72bcc 100644
--- a/meta-oe/recipes-extended/rsyslog/rsyslog_8.2402.0.bb
+++ b/meta-oe/recipes-extended/rsyslog/rsyslog_8.2504.0.bb
@@ -25,25 +25,28 @@ SRC_URI = "https://www.rsyslog.com/files/download/rsyslog/${BPN}-${PV}.tar.gz \
25 file://use-pkgconfig-to-check-libgcrypt.patch \ 25 file://use-pkgconfig-to-check-libgcrypt.patch \
26 file://run-ptest \ 26 file://run-ptest \
27 file://0001-tests-disable-the-check-for-inotify.patch \ 27 file://0001-tests-disable-the-check-for-inotify.patch \
28 file://0001-tests-tcpflood.c-Pass-correct-parameter-type-to-send.patch \
28" 29"
29 30
30SRC_URI:append:libc-musl = " \ 31SRC_URI:append:libc-musl = " \
31 file://0001-Include-sys-time-h.patch \ 32 file://0001-Include-sys-time-h.patch \
32 file://disable-omfile-outchannel.patch \ 33 file://disable-omfile-outchannel.patch \
33" 34"
35SRC_URI[sha256sum] = "5092a20ed40987c74cc604ebfcd6c749e47eb9fc34adc1c2637e6553e7f047ab"
34 36
35SRC_URI[sha256sum] = "acbdd8579489df36b4a383dc6909a61b7623807f0aff54c062115f2de7ea85ba" 37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/tags"
36
37UPSTREAM_CHECK_URI = "https://github.com/rsyslog/rsyslog/releases"
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}
@@ -137,9 +142,9 @@ do_install_ptest() {
137do_install:append() { 142do_install:append() {
138 install -d "${D}${sysconfdir}/init.d" 143 install -d "${D}${sysconfdir}/init.d"
139 install -d "${D}${sysconfdir}/logrotate.d" 144 install -d "${D}${sysconfdir}/logrotate.d"
140 install -m 755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/syslog 145 install -m 755 ${UNPACKDIR}/initscript ${D}${sysconfdir}/init.d/syslog
141 install -m 644 ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf 146 install -m 644 ${UNPACKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
142 install -m 644 ${WORKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog 147 install -m 644 ${UNPACKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
143 sed -i -e "s#@BINDIR@#${bindir}#g" ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog 148 sed -i -e "s#@BINDIR@#${bindir}#g" ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
144 149
145 if ${@bb.utils.contains('PACKAGECONFIG', 'imjournal', 'true', 'false', d)}; then 150 if ${@bb.utils.contains('PACKAGECONFIG', 'imjournal', 'true', 'false', d)}; then
@@ -152,7 +157,7 @@ do_install:append() {
152 fi 157 fi
153 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 158 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
154 install -d ${D}${systemd_system_unitdir} 159 install -d ${D}${systemd_system_unitdir}
155 install -m 644 ${WORKDIR}/rsyslog.service ${D}${systemd_system_unitdir} 160 install -m 644 ${UNPACKDIR}/rsyslog.service ${D}${systemd_system_unitdir}
156 sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service 161 sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service
157 fi 162 fi
158} 163}
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.2.bb b/meta-oe/recipes-extended/sanlock/sanlock_4.0.0.bb
index d369af1c6a..fe8592be39 100644
--- a/meta-oe/recipes-extended/sanlock/sanlock_3.9.2.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 = "e005fbec2324aa8de7e2f302e5a17483c525b1d1" 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 2a7cf2285e..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 \
@@ -64,7 +64,7 @@ do_install() {
64 oe_runmake DESTDIR=${D} install 64 oe_runmake DESTDIR=${D} install
65 65
66 install -d ${D}${systemd_unitdir}/system 66 install -d ${D}${systemd_unitdir}/system
67 install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service 67 install -m 0644 ${UNPACKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service
68 68
69 install -d ${D}${sysconfdir}/init.d 69 install -d ${D}${sysconfdir}/init.d
70 mv ${D}${sysconfdir}/init.d/sfcb ${D}${sysconfdir}/init.d/sblim-sfcb 70 mv ${D}${sysconfdir}/init.d/sfcb ${D}${sysconfdir}/init.d/sblim-sfcb
@@ -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 4fefd5169b..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
@@ -24,7 +23,7 @@ EXTRA_OEMAKE += "CC='${CC}' CFLAGS='${CFLAGS} -D_LARGEFILE64_SOURCE=1' sbindir=$
24 23
25do_configure:append() { 24do_configure:append() {
26 oe_runmake -C mdadm.d mdadm-1.3.0 25 oe_runmake -C mdadm.d mdadm-1.3.0
27 patch -p0 < ${WORKDIR}/mdadm.patch 26 patch -p0 < ${UNPACKDIR}/mdadm.patch
28} 27}
29INITSCRIPT_PACKAGES = "${PN}-diskmon ${PN}-raidmon" 28INITSCRIPT_PACKAGES = "${PN}-diskmon ${PN}-raidmon"
30INITSCRIPT_NAME:${PN}-diskmon = "sgdisk" 29INITSCRIPT_NAME:${PN}-diskmon = "sgdisk"
@@ -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/smartmontools/smartmontools_7.4.bb b/meta-oe/recipes-extended/smartmontools/smartmontools_7.4.bb
index f387147412..bd92b16299 100644
--- a/meta-oe/recipes-extended/smartmontools/smartmontools_7.4.bb
+++ b/meta-oe/recipes-extended/smartmontools/smartmontools_7.4.bb
@@ -33,13 +33,13 @@ SYSTEMD_AUTO_ENABLE = "disable"
33do_install:append () { 33do_install:append () {
34 #install the init.d/smartd 34 #install the init.d/smartd
35 install -d ${D}${sysconfdir}/init.d 35 install -d ${D}${sysconfdir}/init.d
36 install -p -m 0755 ${WORKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd 36 install -p -m 0755 ${UNPACKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd
37 install -d ${D}${sysconfdir}/default 37 install -d ${D}${sysconfdir}/default
38 install -p -m 0644 ${WORKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools 38 install -p -m 0644 ${UNPACKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools
39 39
40 #install systemd service file 40 #install systemd service file
41 install -d ${D}${systemd_unitdir}/system 41 install -d ${D}${systemd_unitdir}/system
42 install -m 0644 ${WORKDIR}/smartd.service ${D}${systemd_unitdir}/system 42 install -m 0644 ${UNPACKDIR}/smartd.service ${D}${systemd_unitdir}/system
43 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \ 43 sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
44 -e 's,@SYSCONFDIR@,${sysconfdir},g' \ 44 -e 's,@SYSCONFDIR@,${sysconfdir},g' \
45 -e 's,@SBINDIR@,${sbindir},g' \ 45 -e 's,@SBINDIR@,${sbindir},g' \
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/tipcutils.conf b/meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf
new file mode 100644
index 0000000000..39ed83d6af
--- /dev/null
+++ b/meta-oe/recipes-extended/tipcutils/tipcutils/tipcutils.conf
@@ -0,0 +1 @@
tipc
diff --git a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
index 596aa260e7..a4bf3eaaca 100644
--- a/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
+++ b/meta-oe/recipes-extended/tipcutils/tipcutils_git.bb
@@ -3,6 +3,7 @@ LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98" 3LIC_FILES_CHKSUM = "file://tipclog/tipc.h;endline=35;md5=985b6ea8735818511d276c1b466cce98"
4 4
5SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \ 5SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \
6 file://tipcutils.conf \
6 file://0001-include-sys-select.h-for-FD_-definitions.patch \ 7 file://0001-include-sys-select.h-for-FD_-definitions.patch \
7 file://0002-replace-non-standard-uint-with-unsigned-int.patch \ 8 file://0002-replace-non-standard-uint-with-unsigned-int.patch \
8 file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \ 9 file://0001-multicast_blast-tipcc-Fix-struct-type-for-TIPC_GROUP.patch \
@@ -11,13 +12,12 @@ SRC_URI = "git://git.code.sf.net/p/tipc/tipcutils;branch=master \
11SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a" 12SRCREV = "7ab2211b87414ba240b0b2e4af219c1057c9cf9a"
12PV = "2.2.0+git" 13PV = "2.2.0+git"
13 14
14inherit autotools pkgconfig 15inherit autotools pkgconfig systemd
15 16
16DEPENDS += "libdaemon" 17DEPENDS += "libdaemon"
17 18
18RDEPENDS:${PN} = "iproute2-tipc" 19RDEPENDS:${PN} = "iproute2-tipc"
19 20
20S = "${WORKDIR}/git"
21 21
22do_configure:prepend() { 22do_configure:prepend() {
23 ( cd ${S}; ${S}/bootstrap ) 23 ( cd ${S}; ${S}/bootstrap )
@@ -41,8 +41,16 @@ do_install:append() {
41 install -d ${D}${sysconfdir} 41 install -d ${D}${sysconfdir}
42 cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/ 42 cp -R --no-dereference --preserve=mode,links -v ${S}/scripts/etc/* ${D}${sysconfdir}/
43 chown -R root:root ${D}${sysconfdir} 43 chown -R root:root ${D}${sysconfdir}
44
45 # Install systemd related configuration file
46 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
47 install -d ${D}${sysconfdir}/modules-load.d
48 install -m 0644 ${UNPACKDIR}/tipcutils.conf ${D}${sysconfdir}/modules-load.d
49 fi
44} 50}
45 51
52SYSTEMD_SERVICE:${PN} = ""
53
46PACKAGES += "${PN}-demos" 54PACKAGES += "${PN}-demos"
47FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug" 55FILES:${PN}-dbg += "/opt/tipcutils/demos/*/.debug /opt/tipcutils/ptts/.debug"
48FILES:${PN}-demos = "/opt/tipcutils/*" 56FILES:${PN}-demos = "/opt/tipcutils/*"
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.4/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.4/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 455bda1d76..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
@@ -50,7 +49,7 @@ do_configure () {
50do_install:append () { 49do_install:append () {
51 if [ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', '', d)} = yes ]; then 50 if [ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', '', d)} = yes ]; then
52 install -d -m 0755 ${D}/${sysconfdir}/pam.d 51 install -d -m 0755 ${D}/${sysconfdir}/pam.d
53 install -m 0644 ${WORKDIR}/vlock_pam ${D}${sysconfdir}/pam.d/vlock 52 install -m 0644 ${UNPACKDIR}/vlock_pam ${D}${sysconfdir}/pam.d/vlock
54 fi 53 fi
55} 54}
56 55
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 b4b3a27b2b..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,21 +17,23 @@ SRC_URI = " \
17 file://dev-zram0.swap \ 17 file://dev-zram0.swap \
18" 18"
19 19
20S = "${UNPACKDIR}"
21
20do_install () { 22do_install () {
21 # Install systemd related configuration file 23 # Install systemd related configuration file
22 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 24 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
23 install -d ${D}${sysconfdir}/init.d 25 install -d ${D}${sysconfdir}/init.d
24 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/zram 26 install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/zram
25 fi 27 fi
26 28
27 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 29 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
28 install -d ${D}${libexecdir} 30 install -d ${D}${libexecdir}
29 install -m 0755 ${WORKDIR}/zram-swap-init ${D}${libexecdir} 31 install -m 0755 ${UNPACKDIR}/zram-swap-init ${D}${libexecdir}
30 install -m 0755 ${WORKDIR}/zram-swap-deinit ${D}${libexecdir} 32 install -m 0755 ${UNPACKDIR}/zram-swap-deinit ${D}${libexecdir}
31 install -d ${D}${systemd_unitdir}/system 33 install -d ${D}${systemd_unitdir}/system
32 install -m 0644 ${WORKDIR}/zram-swap.service ${D}${systemd_unitdir}/system/zram-swap.service 34 install -m 0644 ${UNPACKDIR}/zram-swap.service ${D}${systemd_unitdir}/system/zram-swap.service
33 sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/zram-swap.service 35 sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/zram-swap.service
34 install -m 0644 ${WORKDIR}/dev-zram0.swap ${D}${systemd_unitdir}/system/dev-zram0.swap 36 install -m 0644 ${UNPACKDIR}/dev-zram0.swap ${D}${systemd_unitdir}/system/dev-zram0.swap
35 fi 37 fi
36} 38}
37 39
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"